Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment Re:dear god (Score 1) 51

Claude has been generating pretty good Qt code for me. Most of it is boiler plate of course. I haven't personally had it litter my code with exception handling, but I have seen it do that to others.

You can always add to your CLAUDE.md file a note to tell it to avoid using exception handling. I'm pretty sure you could tell it to only catch exceptions that the code specifically is set to deal with, and let all others go on up.

Comment Re:TFA sounds like Co-pilot orchaestration (Score 3, Interesting) 51

Claude is very good at documentation and general text generation. I frequently have Claude write documentation in MD files describing the plan, detailed API docs, progress reports, etc. For the most part it's coherent and not as slop-sounding as I expected. Sometimes I have it write git commit messages which I have to say are often way better than the ones I write. More descriptive yet more concise than my own style. I just have to remind it to not use emojis in the messages (no icons basically). Claude loves to use emoji icons such as check marks.

Comment I use KDE wayland and use middle click paste daily (Score 1) 105

Gnome can do what it wants. I don't use any gnome applications anymore. The minimalist, hide-everything UI fad has been really bad for usability for me. No thanks. I once loved developing in GTK+ but now I just use Qt. Kind of sucks to be stuck with C++isms, but it is a very nice toolkit. Oh and it supports middle-click paste, even on Wayland so it can't be that hard. Besides that I prefer the KDE traditional way of doing things. I sincerely hope firefox does not follow down this road of removing useful features. I use middle click paste in firefox quite often. It's totally handy to have two clipboards essentially. Please keep it, firefox devs!

Comment Interesting to see divergence in pathes to fascism (Score 5, Insightful) 167

It's interesting that he chose not to co-opt public broadcasting for his own propaganda and instead chose to shut it down and rely on his good friends at Fox to do the propaganda for him. Had this been Russia, Putin would have put money into public broadcasting (and thumb screws of course), not cut it, and use it as a propaganda tool. Along the way of course Putin eliminated and co-opted private media companies until now there really only is the state-run media for news and political opinion, and dissenting voices are very effectively quelled and even disbelieved by most Russians. This is happening in the US now too under the threat of civil litigation by the president (so weird that people now think this is normal and acceptable). It's just a slightly different path is all.

Let's be clear. No one thing is a prelude to fascism. But it's certainly an interesting step and one of many. The GOP has wanted to end public broadcasting for decades. I think it's mainly about money and power. They want to control the narrative and make money off of it (Rush Limbaugh was one of their heroes). They used to be afraid to cut things like public broadcasting when they were in power just like how until recently all Conservatives in Canada would never have dared to try to eliminate the Canada Health Act. Trump has certainly emboldened right wingers' worst and most base instincts. Oh there I go with my TDS again. Need more meds. Oh wait, can't afford them now.

This whole thing sort of reminds me of a funny line from Yes Prime Minister where Humphries is explaining that even though most people don't (or can't) go to the National Theatre. they want it funded because it's nice to know that it's there, similar to the Church of England.

Comment Re:People falling into the classic trap (Score 2, Interesting) 106

That's true. In a western, democratic capitalist society, the sociopaths end up running for office and very successfully tricking the normal people into voting for them, probably because normal people want no part of the toxicity that surrounds the halls of power. The civil service seems to, at least until recently, attract fairly honest, altruistic people who want to serve their country and fellow citizens.

Comment Used to sysadmin hpux (Score 4, Interesting) 152

In fact HPUX was the first Unix I was introduced to as a CS student back in 1997. I remember the large monitors that were super high resolution and CDE looked great. You didn't need anti-aliasing because the fonts (well-designed bitmap fonts) looked crisp and readable on those enormous 19" 1600x1200 CRTs. When LCDs came out they were a real step backwards compared to those monitors. Has take a long time to finally exceed the quality of those 1600x1200 displays with modern 2k and 4k displays.

When I got my first job as a sysadmin at a uni in the CS dept we had a whole bunch of HPUX workstations, and also a file server running HPUX. I've forgotten nearly everything I knew about HPUX but I vaguely remember the SAM utility. Around that time I was introduced to Linux. Eventually as Linux got better and better I managed to convince the department to let us roll out Linux in one computer lab as a test. It was so popular with the students compared to the Solaris and HPUX labs that by around 2000 we had replaced all of the open lab HP and Solaris workstations with Linux on x86 PCs (RedHat if I recall) and everyone from the faculty to the students were quite happy with them.

I feel somewhat bad at helping an entire CS department migrate away from HPUX machines as they really were high quality machines, but it was good move, for the department, the students, and for me professionally.

Comment Re:FFS Tell Us Drain Time With Full Cargo Weight (Score 1) 175

In Europe there are quite a few electric semis on the road, with gvw up to 48 tonnes. Real world range of about 500 km. So Tesla s numbers are realistic. In Europe the average seems to be about 1.2 km per kwh fully loaded. And as long as you come back down there other side with regenerative braking, you can get that same efficiency going up mountains.

It's nice that a big diesel can hold fuel for 2000 miles but no driver is going to or be allowed to drive that without stopping for breaks. In Europe charging during breaks and during the mandatory rest periods (including at night) works quite well. If you're interested watch videos from electric Trucker. He's a long haul ev truck driver. Some of his trips span 5000 km across Europe.

Comment Re:Electric semis are not viable (Score 2, Interesting) 175

Yes. In fact the company he works for, Nano Janssen runs a fleet of electric semis across Europe. He's driven across all of Europe, including a 5000 km trip to Central Turkey. Fascinating stuff. Shows that with a little bit of infrastructure, ev trucking is viable. And if you coordinate charging with mandatory breaks, it works out well even at just 300 kw charging.

Some people on slashdot think that Europe is smaller than the United States for driving distances. It's not. Europe is a vast place. The difference is the population density is much higher so there's more infrastructure for charging along the long routes.

Comment Re:Typically blinkered american article (Score 1) 31

If aircraft did have multi-constellation GNSS receivers, then the answer to that is, it depends. Already GPS runs on two frequency bands, L1 and L2, so jamming on one frequency might not affect the other frequency if the receiver was multi-band. Galileo also has a couple of different bands including E2 and E5 if I recall. But the problem is all of them are exceptionally weak signals and jamming across all of their different bands is not terribly difficult. Certainly it would reduce the accuracy of the fix if there was partial jamming of some of the constellations but not others.

But as others have said, I don't know of any commercial aircraft using multi-constellation GNSS yet.

Comment Re:US does not recognize Maduro's government (Score 1) 180

Thank you. Although I wish I shared your certainty. I'm not talking about Canada being the "51st" state here, I'm talking about the rhetoric of national security and using military means to achieve such ends. In my mine there is a definite non-zero probability that one of our largest, most imperialistic neighbors will invade at some point: Russia, China, or the US. I don't think it will be China since they don't need to invade to control the things they want to control. Now that you've removed all restraints from the president thanks to the supreme court, there's absolutely nothing stopping Trump or some other future, would-be dictator from coming in and taking what he wants. The way he's bragging about the Venezuelan invasion and stealing their oil proves he's doing exactly that. That is what is so shocking and what really makes us wonder up here when we're going to be next.

Comment Re:US does not recognize Maduro's government (Score 2, Informative) 180

How does that justify invading a country and kidnapping someone? Putin doesn't recognize the Ukrainian president as legitimate either (nor do his allies) which is his excuse for invading Ukraine. How is Trump's "limited military operation" any more acceptable than Putin's? I realize that this is nothing new; the US has intervened in morally questionable ways since WW II, the most famous and perhaps lowest point being the CIA overthrow of the Iranian democratic government in the 50s.

Slashdot Top Deals

Unix soit qui mal y pense [Unix to him who evil thinks?]

Working...