HNHacker News
TopNewBestAskShowJobs

red_admiral

6,592 karma · joined April 30, 2015

submissionscomments
red_admiral··on HTML over WebSockets: real-time SPAs with barely any JavaScript
> the server sends the HTML already built and the client just places it where it belongs

Mind blown.

A much bigger pet peeve of mine is making a SPA when a bunch of HTML pages would do, and would give you sensible URLs and the ability to open more than one tab in the first place.

When you actually need a SPA, I'd only go websockets if I really need that low latency and your clients are close enough in the first place, if they're half the way around the world on a slow connection you have different design constraints. A chat application works just fine over SSE or similar. Client-initiated requests even work with plain old fetch().

red_admiral··on German advocacy group lodges criminal complaint over Meta AI glasses
There's news articles already about women realising they were recorded without their consent and are now on TikTok or something. Just waiting for the first lawsuit against Meta about that, hopefully it kills the idea.
red_admiral··on uBlock Origin Is Giving Up the Fight to Keep Ads Off Facebook
My setup: separate profile for Facebook. Targeted advertising turned off. FB domains blocked on main profile.

Not perfect, but it works.

red_admiral··on U of Michigan drops first-semester grades to ‘curb mental health crisis’
Better than lowering grading standards, I guess.
red_admiral··on London Underground begins scanning passengers' faces
They are owned by the Crown, I think. That doesn't contradict your point.
red_admiral··on London Underground begins scanning passengers' faces
Wastewater analysis shows cocaine is consumed massively ... in the financial district of London.
red_admiral··on London Underground begins scanning passengers' faces
Even after taking a higher percentage of shoplifting into account.
red_admiral··on London Underground begins scanning passengers' faces
> Supermarkets in the UK point cameras at your face at self-checkout.

I have some sympathy for this as shoplifting is getting worse. Also, an acquaintance of mine works as a security guard at a Tesco and was attacked and injured with a syringe earlier this year, luckily he's ok but they haven't caught the attacker. The cameras at the time did not have facial recognition, though I can't judge if that would have made a difference.

Thieves might ignore checkout completely, but there are also cameras capturing everyone entering and leaving the shop.

red_admiral··on LinkedIn CringeBot 3000
Employers do use it, among many other signals, in their hiring/shortlisting process. How much depends on state and sector.
red_admiral··on $580M undersea cable rerouted to avoid the grave of Dobby the House Elf
I'm trying the imagine the scenario where the government official reports that elves have been found. On what evidence?
red_admiral··on The UK's war on anonymity has come to America
It's the same principle as the age of consent. It'll always be arbitrary, but that's still better than not having a limit at all.
red_admiral··on The UK's war on anonymity has come to America
Politicians often have kids too, and what parent does not worry about their own kids? Is it that much worse if a politician genuinely cares about other people's kids too?
red_admiral··on The UK's war on anonymity has come to America
> Anyone who brings up kids is trying to manipulate you into giving up your freedom for security

That argument loses you most of the population in a vote, myself included. Parents may disagree, for a start; I reckon most women (especially outside of tech) read that and mark you down as "creepy man I don't want near kids".

It's also wrong, as there are lots of rules that are in fact designed to protect children. I recommend reading up on the history of child abuse in the Boy Scouts of America (now Scouts BSA), FBI agent Kenneth Lanning's investigation, and the safeguarding and leadership training that scout leaders must take today.

The UK has a system, I think it's called the DBS, which depending on the level of check ranges from "is this person a convicted sex offender?" to "non-crime hate incidents". One can argue a lot about what the correct level should be, no-one has yet convincingly explained to me why specifically "non-crime" actions should be in a secret police record. But I am on board with someone convicted by a court for child sex offences not being allowed to become a schoolteacher.

red_admiral··on Because It's Not Fun Enough: why languages fail
> You can write the application function by function ...

and then use JUnit or TestNG in Java, or similar features in other languages. Which you can automatically run, including showing code coverage, both with a button in your IDE and as part of the CI/CD process when you commit.

red_admiral··on Tom Stanton's supersonic trebuchet breaks sound barrier with gravity alone
> deal with avalanche conditions

Swiss solution: chuck some explosives out of a helicopter https://www.youtube.com/watch?v=H519qhLnRtM (start at 1:20)

(In the image at https://swisshelicopter.ch/de/aktuelles/721-lawinensprengen-... the explosive pack says "do not eat". I'm not reassured that we need this warning for people allowed to handle that.

red_admiral··on Tom Stanton's supersonic trebuchet breaks sound barrier with gravity alone
Is that the "nuclear potato cannon" one?
red_admiral··on TIME Is Serving AI Bots a Different Website, with Ads Built In
That's actually really neat, even without advertising I can serve humans my full page and AI bots a version with some parts removed. Or added.
red_admiral··on Go 1.27 Interactive Tour
Just because we can, doesn't mean we have to. I'd prefer to have some more brain-cache free to concentrate on the problem I'm trying to debug rather than doing type resolution in my head.
red_admiral··on Go 1.27 Interactive Tour
Indeed, we're now one step away from monads. I know https://go.dev/doc/effective_go hasn't been updated for while, but it also seems to have been forgotten. "Go is an open-source programming language that focuses on simplicity ..." the page begins.
red_admiral··on GCC steering committee announces AI policy
This sounds a bit too metaphysical to me. I can see why bot chess is not the same thing as human chess and we carry on with human tournaments, but why does anyone care if the compiler they're using is _not the same thing_? Like, clang is not the same as gcc, sure. Depending on the situation one may be better than the other.

Both the gcc and linux kernel have decades (centuries?) of knowledge between them, Mythos still finds buffer overflows and root exploits and much more.

red_admiral··on GCC steering committee announces AI policy
2028: AI can generate a compiler suite to rival GCC overnight, but faster and with fewer bugs. That'll be fun.

(Extra fun if the AI generated compiler is under BSD licence.)

red_admiral··on How the God of Israel Was Born
For more on this topic, the book Fields of Blood (https://en.wikipedia.org/wiki/Fields_of_Blood) has a couple of chapters on this. It's a fascinating history.
red_admiral··on How proprietary formats have become Microsoft’s main tool for lock-in
I mean that's a feature of running your community as a bazaar.

The one thing Linus himself sensibly enforces though is kernel backwards compatibility - "we do not break userspace".

red_admiral··on How proprietary formats have become Microsoft’s main tool for lock-in
> macOS desktop software

Which runs on a FOSS kernel, just that it's BSD instead of Linux.

> Games, no studio cares about Linux native games

Steam deck?

red_admiral··on How proprietary formats have become Microsoft’s main tool for lock-in
Microsoft managed to build office online, which saves to DOCX etc. - the online version may have reduced functionality, but you can edit the same document with the full office at work and the browser version at home and it won't mess things up. So building a new office on top of the MS formats seems possible. You could probably even use AI for the things the other (open/libre/...)Office developers can't or don't want to do.
red_admiral··on How proprietary formats have become Microsoft’s main tool for lock-in
Which the only sensible decision to make a transition away from MS Office!
red_admiral··on Goodbye, and Thanks for All the Bikesheds
Proof: not built with react :) Long may it stay that way.
red_admiral··on Goodbye, and Thanks for All the Bikesheds
I have a feeling it splits by gender. I know a couple of professional programmers in that corner of the alignment chart, but they're not "bros".
red_admiral··on Goodbye, and Thanks for All the Bikesheds
The whole age verification thing is being pushed by one "techbro", because he wants others to deal with cleaning up his mess.
red_admiral··on What AI did to stackoverflow in a graph
I had the same experience as the next 100 or so commenters here. Asked about how to do something in Win11, got the question closed as a duplicate because there was already a Win 8 version with an answer that no longer applied. But apparently I could "leave a comment" on the old answer.
← PreviousPage 4 of 34Next →