HNHacker News
TopNewBestAskShowJobs

Areading314

2,201 karma · joined July 5, 2017

Investor, founder, software engineer
submissionscomments
Areading314··on Stack Overflow questions are being flooded with answers from ChatGPT
Here is a potential rephrased version of the original post, written in a witty and informal style:

"Yo, AI-generated answers on Stack Overflow sound like a real bummer. First of all, the quality might suck compared to human-written answers. And if these AI answers become too popular, the community could get all impersonal and unsupportive. Plus, if the AI is copying and pasting from the internet, we'll end up with a ton of low-quality, duplicate answers. In short, using AI on Stack Overflow could really suck."

Areading314··on Proof of work is temporarily illegal in New York
OK I'm genuinely curious now.. wouldn't the fact that a computation has taken place mean that energy has been used to do work (non-heat)? My intuition tells me that it would not be possible to simultaneously use energy 100% to generate heat and do something else at the same time. For example if you used an electric motor to move a weight against massive friction, it could be that 99% of energy is lost to heat due to resistance in wires and friction, but if the weight moved, it would mean that not all energy was lost to heat.
Areading314··on Proof of work is temporarily illegal in New York
If you think of a computer as a heat engine.. some energy goes to heat, and some goes into doing "work". For analyzing the efficiency of a computer as a heater you have to subtract out the "work" which would be the hashing computations, making it less efficient than a pure heating coil (assuming the crypto hashing is 100% worthless)
Areading314··on Proof of work is temporarily illegal in New York
Its less efficient than a heater because some energy is wasted computing hashes
Areading314··on Ask HN: How much does the environment you're in contribute to performance?
Startups are for learning, bigcos are for earning
Areading314··on We need a replacement for TCP in the datacenter [pdf]
Doesn't QUIC still run over TCP? I thought it was a replacement for HTTP not TCP (Edit: looks like it replaces TCP and HTTP)
Areading314··on We need a replacement for TCP in the datacenter [pdf]
Heres an example of an improvement to sending large files over long distances -- Tsunami protocol. It tries to get a best of both worlds to limit the detrimental effect of synchronous roundtrips in the TCP protocol for file transfers:

https://tsunami-udp.sourceforge.net/

Areading314··on We need a replacement for TCP in the datacenter [pdf]
It needs something like -- has anyone told a TCP joke in this vicinity in the last 10 seconds? If so I will tell the joke at a slower rate
Areading314··on Tesla engineers were on-site to evaluate the Twitter staff’s code, workers said
If the bugs are all your doing, I agree. But many times the developers working on a project are maintaining code that was written years ago before they even joined the company, by other devs that had totally different incentives.
Areading314··on Tesla engineers were on-site to evaluate the Twitter staff’s code, workers said
It's especially dumb _after_ buying a company to be acting like the developers are so incompetent across the board that they could be judged on this criteria. Elon just bought all this IP -- now he's going to make extremely rash decisions about who is contributing and who is not based on this very flawed methodology?
Areading314··on Tesla engineers were on-site to evaluate the Twitter staff’s code, workers said
CSS variables, test frameworks, are good tools for catching bugs -- but at the end of the day the goal is that the code should work and be easily maintainable. Best practices help you do that, but theres many instances of a code base full of bugs that has to be maintained and improved over time. Developers who turn up their nose at "fixing bugs" are of no use to a business. These ideas are great when starting a new codebase but thats not the situation a developer is going to be in most of the time in practice. And if you follow every best practice there will still be bugs that need to get fixed.
Areading314··on Tesla engineers were on-site to evaluate the Twitter staff’s code, workers said
fixing bugs is more important than trivial stuff like swagger, css variables, or adding new test frameworks. Function over form
Areading314··on Tesla engineers were on-site to evaluate the Twitter staff’s code, workers said
Fixing bugs is part of the job. If you care about the product you work on, you have to fix the bugs and not whine about who originally wrote the code.
Areading314··on Engineers should do customer support and success
I think theres a middle ground. There is clearly a lot of benefit for having the people building the app experiencing the pain of users using the app. I also think that exposure is a great learning opportunity for engineers. But for certain types of businesses/apps its not scalable to have engineers handle every support call.
Areading314··on AWS doesn't make sense for scientific computing
AWS is one tool but its a lot like the proprietary computing ecosystems that have existed for a long time (remember the Micro$oft days?). It offers convenience in return for lock in and very high margins. Theres no clear answer but its definitely not a clear cut decision where AWS is guaranteed to save money.

There are 2 major costs that are overlooked by the in-house crowd, which are operational maintenance cost (an increasingly rare and expensive skillset), and also the cost of downtime -- how much does it cost you when your team of data scientists are blocked because of a failed OS update etc. That being said, hiring competent people to maintain AWS properly isn't cheap either -- and it is quite easy to start running up very wasteful AWS bills on things you don't need.

As always there's a tradeoff -- the key is to choose a path and to execute it well.

Areading314··on The Majority of PostgreSQL Servers on the Internet Are Insecure
Not really. Most of the time setting up a segregated network architecture is actually easier than dealing with encrypted database connections -- certificate management is by nature dynamic vs. the static nature of a secure network
Areading314··on The Majority of PostgreSQL Servers on the Internet Are Insecure
I would expect most databases that are listening to public internet connections are doing so by accident
Areading314··on Downturn career decisions
You are both unprofessional and violating the law by discriminating against people based on legally protected parameters, like having children or not. Furthermore you're posting this on HN like an absolute fool. This is great evidence for people that claim discrimination is real in the tech industry.
Areading314··on Can I use a system call?
one of the most cringe things I'll see in "high performance" code is ad hoc syscalls in the middle of loops and such. it should be much more obvious imo in environments like python notebooks that these less scalable operations are happening
Areading314··on The layoffs at Klarna
Klarna generated $1.42 billion revenue in 2021, a 32 percent year-on-year increase. A majority of Klarna’s income comes from interchange, processing and merchant fees.

As Klarna has expanded its BNPL offering, its losses have increased. It reported a net loss of $730 million in 2021, a 337 percent increase on its 2020 loss.

I would say its surprising that this company is still in business at all with numbers like this.

Areading314··on Ask HN: Is my software stack choice sound?
Do not use C++ for a rest API. I would recommend using common boring tech, and ignore the "magic bullet" promises of languages like elixir.

I find in my personal projects using python backend (flask or django), with a postgres database almost always leads to the most useful work getting done quickly. There are a lot of ways to make python fast if you know C++ when you need it.

I'm not familiar with Flutter, no opinion there.

Areading314··on Performance comparison: counting words in Python, C/C++, Awk, Rust, and more
Doesn't malloc return a pointer? Sounds unsafe
Areading314··on Ask HN: What is the job market like for niche languages (Nim, Crystal)?
poor
Areading314··on Perl is still relevant
Ironic since I always thought one of the coolest features in perl was taint analysis, which allows keeping track of all unparsed user input:

https://www.geeksforgeeks.org/perl-taint-method/#:~:text=Tai....

Areading314··on Perl is still relevant
This is a classic SQL injection bug/security flaw
Areading314··on Absurd Trolley Problems
Enjoyable and thought provoking. Thanks Neal!
Areading314··on Zuckerberg warns staff will be ‘turning up the heat’ to weed out underperformers
From the quotes here it seems like Mark's leadership is well aligned with the values of his business.
Areading314··on The first thing that ever sold online was pizza (2018)
Pizza was also one of the first "real" purchases made with crypto/bitcoin: https://www.coindesk.com/learn/what-is-bitcoin-pizza-day/
Areading314··on California Joins Bid to Save Nuclear Power
Renewables are not a viable solution to energy needs on their own. It is not possible to heat houses or power a grid during low-wind periods in winter or at northern latitudes for sustained periods (weeks to months) with wind and solar. Nuclear can act as a zero carbon base load power. And we need to be making those investments now, or we'll be stuck with fossil for a lot longer than 10 years.

I'll also add that renewables were made possible by massive government subsidies while they developed enough economies of scale to compete with other power sources. High carbon tax with subsidies for ALL zero carbon energy, including nuclear, are the way forward.

Areading314··on Programming with Nothing
I've been coding professionally for about 10 years but I'm absolutely humbled every time I stumble on Justine's blog
← PreviousPage 2 of 15Next →