HNHacker News
TopNewBestAskShowJobs

maxk42

3,261 karma · joined January 18, 2012

I like to lurk. Interview me at https://interviewme.now/@max
submissionscomments
maxk42··on Proposal to Ban Ghost Jobs
How, exactly, would that convince an investor such as myself that your company is suddenly worth more?

Generally when I'm looking at a company's financials more employees means less profitable.

maxk42··on Proposal to Ban Ghost Jobs
The problem is most "ghost jobs" aren't: They're real jobs with a real intention to hire, but the hiring team can't come to a decision. I've seen it time and time again: A role gets reposted 2, 3, 4 times until the one curmudgeon on the team finally relents and somebody gets hired. It's a tremendous waste of time but it isn't a "ghost job". I predict this legislation will have approximately zero impact on people posting roles that don't actually get filled.
maxk42··on 4chan will refuse to pay daily online safety fines, lawyer tells BBC
"Allowing" UK residents to access the site? The UK is not the police of the Internet. 4chan is not a UK site and does not have to be aware of UK law. If the UK doesn't like it then it's their responsibility to stop their residents from accessing it. 4chan is complying with all the laws that apply to them.
maxk42··on Perplexity Comet – interested in your feedback
In Comet I can type "Click on each of the numbered links on the Hacker News front page and summarize them in 3 - 5 sentences each then email me a summary."

This absolutely elevates the speed and simplicity with which I can accomplish certain complex multi-step workflows. The biggest obstacle right now is to expand my thinking to see what else I can do to make use of this power.

maxk42··on LLMs tell bad jokes because they avoid surprises
There is an AI technique that maximizes surprise: Genetic algorithms.
maxk42··on Basically Everyone Should Be Avoiding Docker
Containerization is great. Docker != containerization. Most people don't even know it runs qemu under the hood.
maxk42··on JavaScript Trademark Update
Oracle, to my knowledge, does not profit at all off of the JavaScript name or brand. I don't see the purpose of defending this lawsuit. They have an opportunity to create some goodwill here, hold a press release, and say "We're gifting the JavaScript trademark to the developer community!" But instead they're defending something that they literally do not profit off of. It's absurd.
maxk42··on Why is the Rust compiler so slow?
Rust is doing a lot more under the hood. C doesn't track variable lifetimes, ownership, types, generics, handle dependency management, or handle compile-time execution (beyond the limited language that is the pre-compiler). The rust compiler also makes intelligent (scary intelligent!) suggestions when you've made a mistake: it needs a lot of context to be able to do that.

The rust compiler is actually pretty fast for all the work it's doing. It's just an absolutely insane amount of additional work. You shouldn't expect it to compile as fast as C.

maxk42··on Tell HN: Cloudflare is blocking Pale Moon and other non-mainstream browsers
+1 for Firefox on Linux. Several other services (like Instagram) now also accuse me of being a bot every time I legitimately log in with Firefox on Linux.
maxk42··on Matt Mullenweg deactivates WordPress accounts of contributors planning a fork
He's now actively hostile to the principles of open source.
maxk42··on Online Behavioral Ads Fuel the Surveillance Industry
Even if you were to outlaw the selling of all this sort of data, you're not preventing major players like Google and Microsoft from collecting that data and using it internally. Not sure what the solution is here, but I think most people would like stronger privacy protections.
maxk42··on Ask HN: Politics Blog Cloudflare Subpoena
Hello. I was in practically the same situation: I hosted a political site via cloudflare that some people took exception to. In my case they took the example of clearly satirical cartoons (that were uploaded by users - not my own content)and claimed they promoted violence. Cloudflare immediately terminated my account without warning and refused to refund me for the remainder of the month. The harasser then went on to contact my host and after a campaign of reporting every cartoon over the course of several months the host decided it wasn't worth the headache anymore and dropped me also. This experience really soured me on the lack of defense of free speech in the US. I'm afraid I have nothing to offer but my sympathies. If you're reading this and hosting political content on Cloudflare please act accordingly.
maxk42··on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?
I memorize everything I work with. Knowing my tools makes me a better developer.
maxk42··on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?
Your typing speed is not the limiting factor in productivity. You have to think carefully, plan a solution, then put out code without errors. Not using LSPs helps you accurately model the code in your head ahead of time and increases your accuracy. It's slower at first but much faster in the end. Because your typing speed was never the limiting factor in your productivity.
maxk42··on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?
That's exactly the problem: You don't know the code. You're relying on autocomplete to tell you what the signature of the function you're looking for is.

I rely less on documentation because I've got it all memorized due to not relying on autocomplete.

maxk42··on Error Stacking in Rust
This is an example of the non-determinism (in pseudocode):

  try {
    calculation1 = num1 / x;
    calculation2 = num2 / y;
    calculation3 = num3 / z;
  } catch (DivideByZeroError) {
    error("Which line failed?");
  }
If calculation2 was previously initialized to a default value, then how would we know if the calculation was completed before the exception was thrown without adding another 8 lines of boilerplate? This is compounded by other functions being able to throw their own exceptions. Consider:

  func error(msg) {
    display(msg);
    log("Error encountered: ", msg);
    shutdown_program();
  }
If both the display() and log() functions might throw IO exceptions, then how would we know whether or not the error was logged, even if the exceptions were checked, unless we create custom exception types for every possible error?

In conclusion, we don't know with certainty which path was taken through the code's execution, and this is tantamount to non-deterministic behavior.

maxk42··on Error Stacking in Rust
That was the third example I gave.
maxk42··on Error Stacking in Rust
There's a critical difference between exceptions and what's happening in this article: exceptions create de facto nondeterministic behavior in programs. They cause every line in a function to potentially result in a return from the function with an unexpected type. Rust's error handling requires explicit return statements and explicit return types. This critical difference results in code that is far easier to document, reason about, and slightly better performance as well.
maxk42··on Amazon workers to strike at multiple US warehouses during busy holiday season
I do not know the rationale, but this is the flip side of collective bargaining: if someone makes a bad deal on my behalf I can no longer deal directly with my employer.
maxk42··on Error Stacking in Rust
The only single-character sigils I can think of are '&', '*', '\'', and maybe '?'. Am I missing any?
maxk42··on 1/0 = 0 (2018)
0 / 0 = Any number

non-zero / 0 = No number

maxk42··on Steve Ballmer was an underrated CEO
I'm not going to give it up for him.
maxk42··on Saturated fat: the making and unmaking of a scientific consensus (2022)
The Inuit. The Kazakh people. The Sami. (In fact most Northern Europeans had nothing to eat but meat and maybe fermented vegetables for two thirds of the year.) The Masai. The Metis.

Conversely, there has never been a vegan society. Even the handful of vegetarian cultures that have evolved such as those found in India rely heavily on dairy. Humans simply aren't adapted to be vegetarian.

maxk42··on Saturated fat: the making and unmaking of a scientific consensus (2022)
It's true. I ran into a friend of my wife's yesterday who is a nurse. The topic of food came up and I mentioned I haven't eaten any plants in over two years. She snidely remarked "How's that constipation going for you?" She's 150 lbs overweight and looks 15 years older than her age. Meanwhile, I lost 20 lbs and cleared up a bunch of medical problems. (Including constipation.) People love to sit on their high horses and make snide remarks while evidence is staring them right in the face. It's wild.
maxk42··on Unsafe Rust is harder than C
Safe rust is harder than C.
maxk42··on Why does everyone run ancient Postgres versions?
Not in around 15 years. You're thinking of when MyISAM was the default storage engine for MySQL. It has been InnoDB for over a decade. InnoDB is very reliable - I've never had a single data loss incident in all that time, and I've managed some very large (PB-scale) and active databases.

Postgres is definitely more difficult to administer.

maxk42··on Ask HN: If you were rewriting Emacs from scratch, what would you do differently?
Prefer Tauri to Electron. It is 2024, after all.
maxk42··on The ACF plugin on the WordPress directory has been taken over by WordPress.org
Abandon WordPress now. Fork it or switch technologies.
maxk42··on Eliminating Memory Safety Vulnerabilities at the Source
Only because they're not used. If you're not going to implement the spec then is it really a spec?
maxk42··on Eliminating Memory Safety Vulnerabilities at the Source
I would like to point out also that C++ is not yet compatible with itself. Even GCC has dozens of C++ features it doesn't implement and it was the first compiler to implement 100% of C++11: https://gcc.gnu.org/projects/cxx-status.html
← PreviousPage 2 of 32Next →