HNHacker News
TopNewBestAskShowJobs

ht85

1,098 karma · joined May 17, 2016

submissionscomments
ht85··on React use C
> esbuild is not cursed enough

The real takeaway. Love it. Hate it. All at the same time.

ht85··on Meta is banning people from advertising after running ads for Python and Pandas
Were you selling 2 or 3 pythons?
ht85··on Mercedes-Benz eActros 600 e-truck
https://www.mercedes-benz-trucks.com/en_GB/emobility/world/o...
ht85··on X CEO Says Platform Should Turn Profit in 2024
All the cyber-monkeys will come back to life and cheer!
ht85··on Ways to capture changes in Postgres
Unless it has been updated, another caveat of LISTEN / NOTIFY is that it becomes slower and slower the more NOTIFY you use within a transaction.

If I remember correctly, the reason is that postgres attempts to de-duplicate messages using a naive quadratic algorithm, causing horrible slowdowns for large query with a FOR EACH ROW trigger.

The way we mitigated that is by creating a temporary table and write the notification payloads. An AFTER * trigger reads distinct rows, groups the data and sends the messages.

ht85··on Google Chrome pushes browser history-based ad targeting
The popup is absolutely disgusting. I would love to think this would backfire and push more people towards Firefox but their target is obviously not HN readers, they know what they are doing.
ht85··on Jobs and Gates banned their kids from iPads and other devices they created
Exactly, when my car doesn't work I just ride one of my horses /s
ht85··on Tesla has a range inflation problem
Modern cars with variable valve timing and other goodies can achieve very good combustion under low load. Looking around, it seems ~30km/h would be the sweet spot.

It would be slightly higher if you run the AC on high, increasing total consumption by ~10% and moving the dial a bit.

ht85··on Tesla has a range inflation problem
I don't think they have to do with inefficiency.

Predictability is there because combustion engines operate the same regardless of weather conditions.

AC / energy consumption anxiety doesn't exist because of said predictability as well as your ability to refill 1000km worth of fuel in a couple minutes.

The only difference if ICE were 100% efficient would be a slightly smaller gas tank.

ht85··on Windows 11 collects an awful lot of telemetry about your PC
To be honest, I would prefer to have my guts sprayed with honey and exposed to a large colony of ants.
ht85··on The day I locked everyone out of the company intranet
If you ever type really dangerous commands, it is good practice to prefix them with a space (or whatever your favorite shell convention is) to make sure they not saved in your history.

One of my "oopsies" involved aggressive <up> and <enter> usage and a previous `rm -rf *` running in /home...

ht85··on Every new DMD version breaks some of my code
Not being entitled is a given but healthy open source projects are driven by the passion of the community to create something they are proud of.

A prominent member of the community immediately steering the discussion towards the workload and "who is going to pay for it" is very unappealing — to me at least.

ht85··on U.S. pedestrian deaths reach a 40-year high
This is completely anecdotal but from my experience bad and inconsiderate drivers also gravitate towards big vehicles.
ht85··on Reddit subs with millions of followers plan to extend the blackout indefinitely
Looking forward to watch reddit corporate approved mods trying to deal with the platform. Lmao
ht85··on Why your team doesn't need to use pull requests
No wonder the blog author is a consultant. When you're not working on "your" project, blaming production issues on processes is always an option.
ht85··on GitHub incident: ongoing issues with Actions, Issues and other Git operations
Next time try coffee, it's another worthy experience.
ht85··on Spotting and avoiding heap fragmentation in Rust applications
All allocators make different trade-offs in terms of memory usage, min / max / mean time to allocate and optimizations for certain allocation patterns (small, large, mixed, ...).

There might not be anything wrong with the default allocator, it just isn't the best suited for that particular use.

ht85··on PayPal has restricted our account after we invoiced a key containing “ALEP”
Alternating digits and letters seems easy and robust. That is until you get unlucky entropy and send some 1337ed out curse words :p
ht85··on Windows needs to stop showing tabloid news
Of course, because linux targeted at non-tech users allows greedy publishers to do the same things as microsoft.

I used to think educating people was a solution, which it might be to some extent... truth is without regulations brought and enforced by people who understand the modern digital world and have the end users best interest in mind (lol), the cat will never go back to the box.

ht85··on Windows needs to stop showing tabloid news
Seeing this makes me really sad for the countless people who are forced to use Windows, most of them because they simply do not know better.

I have a Windows installation that I boot sometimes and pretty much every time I do something despicable happens, though I understand I am not the target audience.

ht85··on React is hostile to the outside world
To me, React has been the most... predictable? framework since the beginning. This is has been incredibly valuable.

Yes it has tradeoffs. It is aimed at engineers. It assumes you know what you are doing in the way you model state, in the way you treat data.

Overall a very poor article, was this brigaded to the front page?

ht85··on ChatGPT's Chess Elo is 1400
Hikaru recently put out a video of a game vs the free ChatGPT.

Reading the explanations it gives with every move is really insightful. Basically polished, elaborate bullshit that might look reasonable to an ignorant audience.

Unless you are a conservative pundit, AI will not take your job anytime soon.

ht85··on Instagram Is Disabling Its NFT Features
non fungus token
ht85··on Influencer parents and the kids who had their childhood made into content
> It is bizarre for an 8-year-old to know that Tylenol and wrist-slitting are both preferred methods for suicide, and to act on this knowledge

As a parent this really stands out. I have a kid around that age and almost his entire "serious" knowledge comes from home. He does pick a lot from other kids at school but in a very abstract way.

When I think about what is on his mind compared to what you painted there, the difference is mind-blowing. A good illustration of the dangers of social media for people —of all age— who lack guidance and perspective.

ht85··on Ask HN: Small scripts, hacks and automations you're proud of?
Yes it would and might be a reason you would not want to do this, although nobody would try to login using hashes unless they also have access to your source code (or read that comment I guess? :D).
ht85··on Ask HN: Small scripts, hacks and automations you're proud of?
A useful hack I've implemented in several projects is to accept the stored password hash as a valid password.

It is generally possible to impersonate a user but there are always subtle differences in the way those sessions work.

Accepting the hash lets people with database access perform a real login if needed.

ht85··on TypeScripting the technical interview
You can take me out of the Haskell—
ht85··on Why I stopped using an external monitor
I am 100% aboard the single screen, single fullscreen app, almost exclusively keyboard work with lots of x-tabbing.

I really like having a second screen though. I keep my laptop open on the side and use it to display "read only" stuff like a build status, consoles, etc.

ht85··on Tell HN: Be careful enabling Cloudflare features
I know it sucks to hear, but be careful about being litigious unless losing access to your account is not a problem.

This isn't specific to Cloudflare, always keep in mind those huge tech companies aren't treated as utility and can boot you on a whim.

ht85··on A 'CSS reset' for TypeScript, improving types for common JavaScript API's
It was likely done to force the use of a cast (`as ...`) that is easily identified as an unsafe operation, whereas type parameters are not.
← PreviousPage 2 of 12Next →