Better HN
topnewbestaskshowjobs
Log inSign up

hyperman1

7,615 karma · joined Jun 26, 2016 (10y ago) · 2,031 submissions

Submissions

comment 2d ago · link · parent

That's one of its biggest failings. At a core, as an interface, it should make clear to client and compositor what the responsibilities are. And in wayland you get things like gnome not providing a title bar so everyone needing to implement wayland+part of gnome. At the compositor side, there are 2 major implementations and a zillion minor, and each differs in the details. Clients have to test a lot more.

It's a clusterfuck that reset the linux gui progress a lot and will stay a huge drag.

comment 4d ago · link · parent

I've got both 2nd and 3th edition of Foley & Van Dam. The 3d was written when basic techniques were established, so I found the 2nd much more interesting as things seemed more experimental.

comment 5d ago · link · parent

While I think rust is one of the best languages today, this is a corner where it reminds me of C++: Here is a rule with lots of tiny special cases, it has painful consequences in the real world, and if everyone adds some 'best practice' magic to their code, we have 90% of a solution.

comment 6d ago · link · parent

It is our numeric system that is backward. 123 should be written 321. But, Arab is written right to left, and we took their convention when we took their numbers.

comment 6d ago · link · parent

If the author is listening:. How does the table based approach avoid paying the cost for out of bounds checks? Is there a way to prove to the compiler all indices are inside the table?

6.

Microsoft – more details on the root cause(twitter.com ↗)

14 points · by hyperman1 · 1w ago · discuss

comment 1w ago · link · parent

After 5 years of KDE, I now got Gnome on my office laptop since 3 days. I'm cursing quite a lot on it. All my hotkeys are failing, everything is in the wrong place, and the whole UI feels wrong and broken.

Now partially it is because Gnome is oversimplified, but a big thing is just that I have to unlearn a lot of habits. So I won't switch to KDE for at least a month, as I need to get out of my comfort zone.

comment 1w ago · link · parent

If it takes weeks to get some code into production, I understand how AI can enormously speed up things. Yes, AI can be fantastic but if people claim 100x increase, something else is majorly fubar.

comment 1w ago · link · parent

Nobody was thinking anything. A bunch of managers of a group of frenemy corporations was condemned by the governement to share date. Every company sent the data to a trusted third party. This party removed the source company, anonymangled things a bit, taped them all together, and sent the result back to everyone. Managers wanted CSV as it was easy to open in excel, and they were going to let their underlings process them manually. Then it turned out to be a few 10s of millions of records and excel couldn't yet deal with >64k rows, so IT got to deal with it.

comment 1w ago · link · parent

Can't agree more. I've dealt with a CSV where multiple CSVs were cat'ted together, but the originals were not in the same dialect and differed even in charset encoding. Wrote a statistics based parser that decided which part of the file had to be decoded which way. Interesting technical challenge, but my god the reasons for its existence were dumb.

comment 1w ago · link · parent

I've had a program where some R code stuffs some input in an URL, fires it at a server, then reads the returned CSV. No error handling or validation is attempted.

As it happens, basically anything is a valid CSV.

If the input is wrong, the server responds with an XML error. This got interpreted as a CSV. Every line became a record, but no column headers were found so every expected field is null/NA. All these nulls get nicely sorted and processed, which causes more string errors, etc ... Mayhem ensues when thst stuff ends up in a database.

comment 1w ago · link · parent

You jest, but ssh/git has a similar problem. The client tries every key it can if the config is naive enough. So, the server knows which cluster of public keys identify the same person. Github is said to do this kind of fingerprinting.

comment 2w ago · link · parent

I'm surprised how big pterry still is. I love his books, even today, but he's gone 10 years now, with no real new stuff.

I've always assumed to be non-mainstream, so I'm surprised but happy to see how he seems to move into the list of cultural eternals.

comment 2w ago · link · parent

I've always wondered what is going on with Ubuntu. Right now, after the ICC rug pull, Europe is interested in an OS not controlled by the USA. Canonical should go all-in on an opportunity like this.

But even basic company tooling like Landscape is not doing great (Oh, look, all your machines are not fully patched 5 minutes after we released a patch. Sound the alarms)

Meanwhile, they spend a lot of effort on things that ultimately not gain traction. Upstart or snap might be technically OK, but socially they are dead ends. Half baked Rust coreutils in an LTS? Who asked for that?

I've seen multiple major CVEs and showstopper bugs just sit there, while Debian and Red Hat move weeks faster than them, and other individuals and big companies providing ppas with workarounds.

I like the company, but some major bigwigs over there need to wake up.

comment 2w ago · link · parent

Did you ask it for wisdom? I once asked it for 20 quotes that (RIP Terry Pratchett) sound very meaningfull without meaning very much. ChatGPT obliged with 20 pieces of deep-sounding total nonsense.

comment 3w ago · link · parent

You see the same thing with e.g. cron jobs, where everyone schedules on xx:00 or xx:30. No communication needed, it's just natural. More senior people recognize this and add randomness to their start times or skew a bit.

comment 3w ago · link · parent

I wonder if you've built it faster than I wrote that post.

comment 3w ago · link · parent

I don't know if this is in there, but I wonder if books have a kind of 'eb and flood', where books raise to the top, stay there a while, then go away again. Could you plot some graphs? I'd expect some alrounders to stay around in the background forever, and other books come and go according to the average HN trending mood

comment 3w ago · link · parent

I've known about a student, long ago in the '90s, who got to speed up a batch codebase in some bigcorp, as a summer job. The original did basically everything wrong, up to bubblesort. So student diligently cleaned up the mess and got a speedup from multiple hours to a few minutes.

Then he could not get an interview anywhere. After some backchannel communication it turned out he had to remove that experience from his CV, as all employers assumed he was just lying.

comment 3w ago · link · parent

AI isn't the only cause of deskilling. I've seen a few people go from coder to architect roles. Architects, being the decision makers, talk to vendors, CxOs, consultants,... and mainly spend their lives in powerpoints and visions.

When an engineer stops coding, managing servers, ... it takes about 6 months to transform even a really smart person into a buzzword factory. It is scary. People like Oracle or Microsoft sales are really good in decoupling all of us from the relevant day to day concerns. It is reversible too, with former architects getting really angry if they have to deal with the software they themselves procured or envisioned.

My take is that you need non stop contact with reality, both the computers and the customers, or you start to drift. I fear AI is causing this in all of us.

comment 1mo ago · link · parent

In the 1970’s the Belgian deficit ran from 66 to 100+ percent of the BNP. Every governement since had serious trouble getting the deficit manageable. We never really got it unde control, and the intrest is hurting us. Afaik we got to 104% because we had to when joining the euro, which was our best. We are now at 109% again, and even that is hurting us hard.

comment 1mo ago · link · parent

Dave Duncan, A handfull of men.

It is the second series in the same world, and all the people have grown up. The kids became parents and think like responsible adults. It talks in an adult way about quite a few horrific events, without overdoing it. It gave child me an idea about what the difference actually was.

Apart from that, it had an interesting magic system.

comment 1mo ago · link · parent

In Europe, there is this stereotype about how southern countries produce more extrovert reactions, and northern countries create silent, calm people. Untill you piss them off, then you get exactly the kind of reaction Linus produces. I think the world got used to the USA corporate blandness, and gets surprised when people just don't fit in that culture.

I expect the participants in this discussion to grumble for a few days, then continue working amically together.

comment 1mo ago · link · parent

I wonder why you don't add 9-11 to your list of multi year persistent events. Covid and 2008 are repeats of older crises. Meanwhile, 9-11 caused the political course of the main world power to completely change direction. Even if the event itself only caused about 3000 victim's, I'd still rate it on the same scale as Napoleon or the world wars. Trump is just the latest continuation of it.

comment 1mo ago · link · parent

Link to release notes/changes: https://www.postgresql.org/docs/19/release-19.html#RELEASE-1...

comment 1mo ago · link · parent

My work laptop, an Ubuntu, runs MS Defender since a few days. I can say that it seems to work. It takes 400Mb RAM. I haven't seen a big slowdown yet but didn't do anything too heavy on it. It manages to clean up the eicar test virus.

This is a pleasant surprise, as an older job had McAfee on windows, and it was basically unusable. We lost most monday mornings on a weekly security scan, and everything touching a zip file forced you to take a 15 minute break. I learned to hate virus scanners.

I don't know about any other linux virus scanners, but I must admit it a pleasant surprise (even if a working laptop should just be table stakes).

comment 1mo ago · link · parent

Mathematically correct is not enough.

Java's byte code verification algorithm had a proof. This was important for running untrusted java in the browser. If it said the byte code was ok, it was.

Turns out, nobody made a proof for the verifier actually finishing. So it could return true, or false, or run longer than the universe has time. So around Java 6(?), someone wrote some bytecode that basically took forever to validate, DOSing the validator. Sun had to change the file format and add extra information to get the guarantees back.

comment 1mo ago · link · parent

It made me wonder, however: SI instead of AI brands you a follower of Trump. Does Grokking/Drinking instead of Understanding mark you as a follower of Heinlein?

I'd much rather follow Heinlein's free thinking instead of Trump's dictatorialism, and Heinlein never requested followers, but there is a similar mechanism going on nevertheless.

comment 1mo ago · link · parent

This sounds like a human trying to reason about quantum mechanics. We als simplify to newtonian for day to day tasks.

comment 1mo ago · link · parent

If Wero grandfathers in the existing iDeal flow, no cellphone is required. Just a bank card and a small gadget provided by your bank. Belgian Bancontact already works like that since the '80s. I never use my cellphone for payments.
12345
68