The Register Home Page

* Posts by that one in the corner

5065 publicly visible posts • joined 9 Nov 2021

IBM's AI agent Bob easily duped to run malware, researchers show

that one in the corner Silver badge

If only there was a way to run a separate process...

> a prompt injection can be encountered if the user requests that Bob review a site containing untrusted content

Once again:

Why the #£&@£** is the same instance of the LLM (apparently) being used to perform the "review" of the site's contents as the one that was allowed to issue the command to load the site into a buffer? Or the results of that "review" being read by the command issuer instead of being isolated in another buffer?

If "reviewing" the site's contents can result in those contents being taken as commands[1] to an LLM then that task should be being run in a second instance that never had the ability to invoke any external commands, including reading any more data sources, in the first place. If your "agentic"(!) LLM needs to have some untrusted data passed into an LLM it should be spawning a separate process. You can call it a "sandbox" if you want. Or a "jail". Just the same way that any half-way sane use of a command to "draw a graph from the data in this spreadsheet" should be spawning a gnuplot child process (or graphviz or ...). But, no, let me guess, the expectation is that the graph drawing will be done inside the LLM as well, because it was trained on "multi-modal data" i.e. it will do that diffusion image generation thingie and give you back a graph that sort of resembles other graphs it has been trained on.

If the user is stupid enough to want to let untrustworthy input be executed then they should be being made to damn well copy and paste it themselves. There are reasons we tell people to switch off CD "autorun".

[1] not that this isn't a honking great hole in the LLMs - and the way they are used - in the first place and a bloody great red flag that they aren't sensible things to play with like this.

FAA signs radar deals to drag US air traffic control out of the 1980s

that one in the corner Silver badge

President Trump's drive to modernize our skies safely at record speed.

Well, we all know the Modern Way to achieve things at record speed don't we, boys and girls?

Yes, it will be Agile and "move fast, break things" all the way.

What do mean, "Minimum Viable Product" isn't supposed to be the final deliverable? The plane got off the ground safely, didn't it? Landing? Landing? Nope, not in our scope for this sprint, that is all responsibility of the destination airport.

Lenovo shows off new laptops that twist and roll

that one in the corner Silver badge

Re: Who cares about all these gimmicks?

All the Old Guard who grew up with "luggables" and saw them change into decent, robust, "laptop PCs" have moved on and the younglings don't have any actual experience to guide them. They barely comprehend why people want to type instead of using a 'phone (those designers "are Creatives", they don't need to bother with hours at the spreadsheet or any of that ridiculous side-by-side diff'ing).

Without the ability to judge for themselves whether an idea is any good to Real Users they foolishly finish off the engineering models and hold them all up for the public to see ("look, I done my potty").

There is nothing basically wrong in *having* daft ideas and discussing them in the right forum; good stuff can come when a bit from there is added to half of that whacky thought. But it just gets a bit sad when the synergy fails and they end up, well, here. And being talked about in public like this. You almost feel sorry for the poor wee darlings.

that one in the corner Silver badge

Published API to control the Tilt's motor?

So we can do sensible(?!) things, like make it shake its head reproachfully every time an incorrect password is given.

And we promise, Scout's Honour, not to do things like make it turn every time the mouse is moved sideways or refuse to let you be seen in the video call after it has been going for at least fifteen minutes and you start talking.

Lego crams an ASIC in a brick to keep kids interested

that one in the corner Silver badge

Re: So much for pure imagination...

> There were no blocks saying "'I only do a handful of things"

Ah, now there is that lack of imagination.

"The Thing" nowadays is to look for and give praise to the use of the supposedly "overly specific" and "only good for one thing" parts in creative ways: NPU or "nice part usage". The number of places that minifigure roller skates and iceblades turn up in "a galaxy far, far away" is legion. Or the infamous bonsai tree full of frogs.

Yes, there are parts, especially in the 4+ range, that are both quite large and glaringly single-use, such as the nose of an aircraft. But then any decent 4 year old is going to find a way to use it (could make a hat, or a brooch or a pterodactyl).

LEGO almost killed itself by going too far down the "parts specific to one set" route, but nowadays even the big flashy kits that are being complained about here do contain plenty of examples of NPU coming directly from the company's own designers.

Not that I believe TLG is in any way perfect: as noted above, they have a pretty bad track record with adding in bits of tech (especially killing off Mindstorms, just after they'd totally separated the for-schools Spike range from Mindstorms, making it pointlessly hard and expensive to get a kit for home that matches the one at school, letting the youngster carry on with their ideas from class; made worse by the way the Spike kits are very much "here is an assortment of parts in odd colours, go for it" whilst the home kits were definitely styled for "make just these designs and once you have put the stickers on they will look stupid if you try going your own way" - yup, Bad Part Usage there).

As for these new parts - I'll reserve judgement until I've seen them in the wild, probably at the next LUG show at Shildon in November.

that one in the corner Silver badge

Re: Repeat after me...

LEGO is most definitely uncountable.

Every time you get the box out, there is a different number of pieces - look, see, I *said* there were more blue bricks! We could have finished making that waterfall last week. But where has that green cheese piece gone this time?

that one in the corner Silver badge

Clearly you have never stepped on a LEGO brick going downstairs in the morning:

Aaaaaaa-iiiiiiii yai-yai-yai

that one in the corner Silver badge

Re: Nah...

You are being a bit bleak.

True enough, there are a lot of different "makes one model" sets being released, and these do grab headlines. And the adult dollars. If you go into a LEGO store, those are the ones they want you to see (you being an adult and all that) and see them you will.

But the "Creator 3-in-1" sets are quite popular and get across the idea of "these bricks can be rearranged" whilst still having some good looking models.

And there are plenty of places online that encourage you to make different models.

> That time is gone

There are always good old-fashioned "Classic" sets around, a box/bucket/supersized-2x4 full of, well, classic parts and a book(let) with dozens or more of build ideas. Those never went away. And the Klutz books are all about reusing the parts.

I've bought random LEGO from charity shops more than once (too often, really) and the mishmash of parts from different sets* still left joined together as they were last used says that imaginative play is still alive. And what they do to minifigures is horrifying!

* it is all too obvious when you see the colourful shades from "Friends" sets mixed in with, yes, the greys and blacks of "Star Wars"! If the Empire had made their craft in pastels they might have fared better.

that one in the corner Silver badge

Long term support and/or SDKs

Are rarely, if ever, in LEGO Groups' vision.

They have a history of just forgetting all about products as soon as the new shiny comes along. Various generations of Mindstorms and motor systems are kept alive by hobbyists because the physical objects do actually last, unlike the support.

The current generations are dependent upon mobile phone apps (of course they are) with few, if any, signs to the average builder that they could use the bricks & motors in a new arrangement and still be able to control it. Great way to encourage rebuilding and imagination. Plus the obvious fear that those apps will quietly vanish. Hope you enjoyed your app-enhanced "Hidden Side" or "Vidiyo"; "Dimensions" isn't totally dead yet, as you got a physical DVD for your console.

On the positive side, if you happen to be a computing/electronics hobbyist, you will find some hardware that you can get working; if you can find someone who isn't insisting that theirvstuff is "collectable" and demanding a daft price for it! Probably better off getting "compatible" motors etc from Ali Express - and retailers if you avoid the souk - as they use the older, simpler, connectors and play well with all the normal microcontrollers. Connecting those to dumb plastic pieces gets the creative juices flowing.

Congress ctrl-Zs bulk of proposed cuts to NASA science

that one in the corner Silver badge

Why does this sound like a threat?

> One way or another, we're going to make sure the Johnson Space Center gets their historic spacecraft right where it belongs.

"Fresh from a Moon mission, a craft that took astronauts up then returned on autopilot, delivering rock samples, straight down from orbit and delivered to Johnson at Mach-you-wouldn't-believe-it"

Humongous 52-inch Dell monitor will make you feel like king of the internet with four screens in one

that one in the corner Silver badge

A more elegant solution than having three or four monitors on your desk

Pah!

How am I supposed to maintain any geek cred with the family if I only have one monitor, no matter how large? So it shows four different "virtual monitors" (or "windows" as we like to call them), that doesn"t impress them. Even if I am showing four IPMI consoles *and* the wife's laptop in VLC, it still just looks like any old computer display these days.

But: screwing VESA mounts onto every available bit of Ivar, having one monitor in a very obvious portrait orientation (and a second keyboard casually put to on side*) - now, *that* looks like a geek going the whole hog to them!

* Connected to the basic KVM switch, as sadly not all the motherboards provide IPMI; but the big bundle of thick cables into the back of the KVM just adds to the mystery. All I need now is to figure out how to make sparks come out of this lot, WITHOUT setting my office on fire, and the system will be complete.

Optimus Schmoptimus - Boston Dynamics' humanoid robot is already in mass production

that one in the corner Silver badge

From photo of prototype doing work

Lookie there, (at that point in time) it has two pincers instead of trying to waste effort on mimicking a complete human hand.

Curiously, *just* enough of a hand to tuck in one pincer (acting like a "thumb") whilst raising the other in Optimus's general direction.

(The animation demo real shows more fingers - which looks more like a salesman's idea than an engineer's; I hope. Daft thing, to use an effector that is more complicated than it needs to be, just ask any of the robots that already very effectively build cars)

Researchers poison stolen data to make AI systems return wrong results

that one in the corner Silver badge

Re: Dates and elapsed times

Yeah, typos be we today. Or bad editing, take your pick.

I was originally going to talk about the earlier representations that were discussed in the 1960s but then changed to the 80s 'cos that period was coming up more often in relation to the specific term "knowledge graph", as opposed to structures that do much the same job but weren't referred to as such. The 80s settled on the term because "knowledge engineering" was all the rage back then.

But then I forgot to adjust the other "60" down to "40": bad editing.

But on the bright side, I *do* how to tap on "Reply"...

that one in the corner Silver badge

The threat model here assumes that...

Any comparisons available between the likelihood of those assumptions being met and the cost/complexity of this method, given the admitted holes in it?

But on the bright side, assuming (!)* that these knowledge graphs are comparable to the knowledge graphs from the 1980s, nice to see that people are catching up after 60 years.

* and if that assumption is wrong, back to the classic issue of idiots redefining words simply so that they can no longer understand and learn from research that has already been done.

Techie turned the tables on office bullies with remote access rumble

that one in the corner Silver badge

Re: Neat trick

> Unless, of course, they were lying for some reason

Why admit, IRL, that you read BOFH? You are only alerting other people about where you get ideas from and that risks them becoming wary in your presence. No fun if they poke at the replacement mouse with a pencil...

Baby's got clack: HP pushes PC-in-a-keyboard for businesses with hot desks

that one in the corner Silver badge

Okay, I walked right into that one, didn't I.

All I can say is that I got carried away and relied solely in the evidence of my clearly limited purchases from WH Smiths. And old timey use of thousandths instead of decimal inches if one wanted to move away from decent binary divisions (at which point rulers gave way to those clampy things with the twiddly knobs).

Especially, as I do have have rulers clearly marked with "a little bit, a scosche, some, a bit, a tad"[1], I should be well aware that anything is possible. Even the use of non-traditional rulers for the measurement of traditional units.

[1] Miss? What exactly is "a tad?" In space terms, that's about half a million miles.

that one in the corner Silver badge

Or at least use the units properly: who has ever seen a 12 inch ruler marked off in tenths? Down to the eighth will suffice. And clear weights in pounds, ounces and drams, please.

that one in the corner Silver badge

Why bother carrying even a NUC? This thing isn't capable of working on the train and if you take it to a client site for a presentation they will have all the annoyance of providing you with the bulky peripherals anyway.

Dumb terminal/X workstation and log in to a session on the company server.

that one in the corner Silver badge

> However, you can't stop the keycaps wearing out

Double-shot keycaps FTW: lots of tiny sticks of rock, the letters go right through. Another innovation that was common in the Good Old Days. Just like decent ridges on the home keys that'll last, well, let's see, 2026 take away 1992, is, um, lots!

Unless you are literally worried by the smoothness, not the lack of visible markings.

Your smart TV is watching you and nobody's stopping it

that one in the corner Silver badge

Re: Look at the bigger picture

> I have permanently in my house in excess of 60 devices which regularly connect to the house network(s) one way or another

Doesn't that simple fact put you way, way at the end of the bell curve for domestic users?

Previously, you'd said

>> keeping tabs on what IP address your home devices are using can be a bit of a headache, and way beyond most people are prepared to learn about

but now the setup you are describing as "a bit of a headache" is itself way beyond what most people are even attempting to do, so it is irrelevant whether or not they'd be prepared to learn about it! It sounds like you are having fun, but not in a way that is particularly relevant to anyone else.

> But have you tried to edit the hosts file on a Sky box, or a printer, or a STB? Most connected devices not now look like computers.

No. Why on earth would I? Or anyone else. I described to you exactly when & why I use hosts files, as a defence against absolutely everything getting screwed when DHCP and DNS fail. End of. However, FWIW, every printer and STB I've had, to date, has been quite happy to accept a static address and name, as any server should, which is sufficient: those devices have absolutely no need to know the name/IP of any other device than themselves so their hosts files would only ever contain themselves and loopback anyway, rendering your question moot.

that one in the corner Silver badge

Re: Look at the bigger picture

> you have the DHCP system running on your firewall, and integrated with DNS

Isn't that the most usual case for J. Random User who just has one box plugged into the wall?

> I take the extreme option of tyring to lock down with permanent allocations of IP address for most devices in the network, maintained by the DHCP server...

Ha! You call that extreme! Some of us still add entries into the hosts file and set static addresses in the OS (so that when I inevitably break the R'Pi running DHCP & DNS I can still access the notes that tell me how to fix it again!).

> this really is a pain in the neck when new devices are brought into the house

If you bring a new device into our household, don't bother switching off your mobile data!

Ok, if you are more of a party person than me (which is a really low bar!) you may want to be more generous to your guests, but isn't that what you use a guest WiFi for? You then have the choice of balancing your own security against the effort you want to put in when your best buddy turns up with his overly snoopy gadget.

that one in the corner Silver badge

Re: Look at the bigger picture

> By this I mean having a robust firewall, that by default, blocks all outbound connections as well as the more normal inbound. Whilst painful to setup and high maintenance

Even a fairly standard home router from some like Fritz!Box* can be easily set to block outbound connections. Any pain in the setup is then down to identifying your own PCs and phones on the list of hosts and letting them through - the WebUI is ok for this.

There are more robust firewalls available, but encouraging people you know to investigate what their existing kit can do is a good start.

* yes, Fritz have problems themselves - I'll rely on others here to suggest more manufacturers for those who aren't insane enough to enjoy setting up Opnsense as well as the ISP's router

Claude is his copilot: Rust veteran designs new Rue programming language with help from AI bot

that one in the corner Silver badge

Re: ALGOL is GREAT

> There exist mainframe OSes written in ALGOL

ALGOL-58 and -60

> One of them you can still buy from Unisys

Unisys certainly still support the poor bastards who got stuck on their ALGOL-based products, the same as COBOL products sre still supported (for a price). Doesn't mean any sane person should consider starting anything new one either. Especially as the Unisys stuff is all very sole-supplier, using their own peculiar extensions to ALGOL instead of any standard version.

> has a Java-like garbage collector

You are getting confused with ALGOL-68 (or a proprietary extension, see above) rather than any ALGOL that was used by any notable percentage of people.

> C and Unix are so much better, because they dominate the market like McDonalds

Odd, isn't Windows the McDonalds of computing? With its history of weird relishes, like shoving Pascal calling conventions into C code...

> Who needs quiches, if you can get the same $hit burger all over the world ?

Well, precisely, that is why the Unix derivatives are so well loved, you can whatever flavour suits your tastes.

that one in the corner Silver badge

Re: We don't have a package manager

> Or do they just pull it from a URL somebody posted on stackoverflow

If you have someone around who is doing that then you have probably already lost (what other shortcuts have they been taking?).

Personally, I get libraries by looking for their home page (which may mean starting with a suggestion from SO but never just downloading without verifying) and cross-ref'ing that this is agreed to be *the* homepage. Looking at what Big Distros list as their sources for the sources is useful as well.

And, yes, if I can't find anything that looks trustworthy then I do without. What precisely "looks trustworthy" means is still a personal call, but an afternoon looking at the diff history from the last version one used is time well spent, IMO.

> I can just pull in using apt-get

That does, at least, have the advantage that it isn't "yet another language-specific package manager" and has plenty of tried and tested options for checking where you are getting packages from, usually someplace more controlled than the npm free-for-all (you are trusting the Devuan* team for everything you've installed so far, a bit more is reasonable).

* Other distros are available

that one in the corner Silver badge

Re: OK here we go . . .

> Hopefully Claude can do a better job than LRH

He didn't do too bad a job, from the p.o.v. that Scientology can still afford to use the Faraday Building[1] near Fleet St in London. Having a really absurd storyline, that only gets worse as you progress to the inner circle, helps to keep people around: admit you've been suckered so incredibly badly or stay in the religion (and enforce it on the others), which is easier to handle?

> Battlefield Earth

Mostly useful for hand-to-hand combat; you'd think it was suitable for hurling but the aerodynamics are dreadful.

[1] oh, the irony

that one in the corner Silver badge

We don't have a package manager

Good.

Keep it that way.

If you are really going for a systems programming language, don't open yourself up to all the problems and security holes that come about just because your users are unable to figure* out how to add a library into their build - and, more importantly, their version control.

* Sorry, but if you can't manage "download & unpack to new subdirectory, use provided makefile or add new build script (just crib from the one building your own code), add to INCLUDE PATH, commit into VCS" then the chances of writing any non-trivial system, with your own code in libraries (i.e. all the previous steps bar the download) that are invoked by the unit tests, are bugger all. And claiming that the "convenience" of the "package manager" specific to a programming language is worth any of the risks we've seen with package hijacking...

Users prompt Elon Musk's Grok AI chatbot to remove clothes in photos then 'apologize' for it

that one in the corner Silver badge

Asking the impossible

> Grok's human creators appear to have failed to prevent it from creating posts that remove the clothing from real people in real photos when asked to do so.

More to the point:

Grok's human creators have absolutely no idea how to ... prevent it from creating posts that remove the clothing from real people in real photos when asked to do so. Or any other unwanted outputs.

The underlying models are completely opaque. Nobody, but nobody, has any knowledge of what fiddling with any given nadan of the bejillions of so-called parameters will do (without just trying it and hoping it'll get involved in processing a test prompt). Let alone inverting that and calculating the *complete* set of changes that'll *reliably* ensure a *desired* change in the results[1]. And if they *do* luck upon an observable result[1, again] the next bit of training will jumble it all up again.

So they can't honestly claim to be modifying the contents of the LLM to remove the ability to do the Bad Thing[2].

Leaving them with trying to bolt on external filters - but made of what? What do they have that could possibly do that job? Something that can parse and comprehend the natural language prompt? But if they had that, why prat about with LLMs in the first place?

The whole "we are adding guardrails" spiel just sounds like wishful thinking (if not outright delusional thinking or, say it softly, simple fraud).

[1] there was an article on El Reg a while back (sorry, ref not hand) where one research group claimed to have found a nadan where "the concept of Paris" (IIRC) was stored and changed it so that the model inserted "London" instead (at least, for their test prompts), but that was no more than finding where one string token's id number had been stored and changing it for another, like getting the id wrong in a case-statement that prints a readable value for an enum. AND there wasn't anything presented there to definitively prove that their model didn't contain another activation path which led to another instance of that id, which hadn't been changed, so still got converted back to the string "Paris".

[2] even if they tried an approach like an ice-pick lobotomy (e.g. a less nonsensical version of "feed in a prompt and if it generated a Naughty Result, look for the 'parameters' that were involved and set them all to zero") they'd need to send in every single possible variation of that prompt; good luck with that.

Starlink to lower orbits of thousands of satellites over safety concerns

that one in the corner Silver badge

Baaaaa-aah

that one in the corner Silver badge

For safety's sake

Go the whole hog.

Get a couple of strong lads per satellite and have them carry the beast around to each subscriber's house in turn.

Ok, the solar panels may have to be enlarged to provide adequate power in such a low orbit, around such places as Manchester, and the water-proofing may need tweaking as well...

Tis the season when tech leaders rub their crystal balls

that one in the corner Silver badge

Brands won’t be defined by logos or slogans

Who the blazes has ever considered brands "defined" by logos or slogans?

Those are what *identify* a brand (as in, the "brand" - a lump of hot iron on a stick - literally imprints the logo!). The brand is *defined* by its products and/or services.

Clearly this idiot has been in marketing for so long that he has forgotten what the purpose of marketing is supposed to be and he sees it as an end in itself.

Although, come to think of it, the way some people react to talk about brands (worse, when otherwise using English, talking about "marques") I've probably got a horribly old-fashioned and naive view of the world, caring about what I get instead of what is printed all over it (was going to say "what is printed on the box" but...).

The most durable tech is boring, old, and everywhere

that one in the corner Silver badge

Re: "ATM networks"

> pain text

Plain!

Although...

that one in the corner Silver badge

Re: "ATM networks"

IPv4 will happily persist for as long as we want to connect together devices* restricted to a LAN and where we care about reducing the cost of the BOM - or otherwise just want to keep things simple. Ditto all the unencrypted versions of protocols running atop TCP/IP.

Well, at least in my household: those temperature probes in the compost aren't ever going to be given IPv6 addresses and - well, I guess one day I'll have to have a server tunnel the gloriously trivial HTTP and "call that HTML, it looks like pain text to me" WebUI because the damn browsers all refuse non-HTTPS connections even locally.

* trying very hard not to use "things" here.

Hong Kong’s newest anti-scam technology is over-the-counter banking

that one in the corner Silver badge

Extending this idea will only lead to madness

Just imagine, having to turn up in person and, shudder, interact with people all in name of security.

If this sort of thing catches on, we'll end up in some kind of mad dystopian society where we won't even trust that simple 'phone calls aren't AI scams. We'll have to meet face-to-face, maybe even be forced to conduct our business in coffee shops. There will be nice little street cafes popping up everywhere for our convenience, we'll be strolling around parks having conversations in the fresh air. Before you know it, we'll all become seasoned boulevardiers, channelling our inner Maurice Chevalier.

The horror.

New York’s incoming mayor bans Raspberry Pi at his inauguration party

that one in the corner Silver badge

Flipper Zero can't even do WiFi

Without an add-on (ESP32 etc) stuck precariously into the row of GPIO pins on top, let alone any form of telephony.

If you really are hellbent on cloning RFID cards, there are neater and cheaper devices (Flipper is pretty expensive, really).

To just piss everyone off, WiFi deauth'ing (teach the organisers to only trust cabled networks; if you get lucky they'll be using excessively "clever" tech like WiFi microphones!) is trivial (unless you have a Flipper - and forget the ban on the R'Pi, by the time you've added a box, battery HAT etc it is getting cumbersome again; go get an M5StickC).

But the simplest way to cause a panic these days is to just get too many 'phones into a small area, perhaps underground, and wipe out the bandwidth ("I can't update my FB to say I'm here: aaaaaarrrrgh") - oh, no need, that'll happen anyway.

that one in the corner Silver badge

Re: The Banned Item List

You are allowed snacks - maybe if you convince them it is a fruit bat?

No, hang on, they only allow "Snacks to share!" and you don't want to have to pass him/her around. Have you tried putting a disguise on her/him, as a moustached bat?

that one in the corner Silver badge

Re: Prohibited Items

Large bags, backpacks, chairs, coolers, bicycles, umbrellas, pets and "Large items that could obstruct views of spectators around you" - these are primarily banned because they take up a lot of space, get in peoples' way and are generally selfish and antisocial.

We will be cruising at 35,000 feet and failing to update our Apache HTTP Server

that one in the corner Silver badge

If it works, don't fix it

There is really no purpose served by taking a plane out of service just to update the IFE[1]. The borkage shown here boils down to misconfiguration, which happens no mater what vintage the executable happens to be.

[1] Especially as the bright young thing that comes in to handle the update will start by telling you that all the fashionable aircraft now have individual Android tablets in the seatbacks, so let's just rip out all these dreary old displays. What? No, no, passengers will love the new touchscreens, they won't ever stop responding after being steamed up the coffee and keeping yourself absolutely still so you don't accidentally touch it and restart the movie from the Pearl & Dean reel, again, is all part of the experience.

Zuck buys Chinese AI company Manus that claims it deals in actions, not words

that one in the corner Silver badge

Mark Zuckerberg wants to build a ...

What is he going to rename the company to this time?

Sam Altman is willing to pay somebody $555,000 a year to keep ChatGPT in line

that one in the corner Silver badge

Wanted: Helmsman for Titanic

Must have extensive post-iceberg steering experience, preferably horizontal.

Rope for lashing self to wheel supplied, 555 kilos. Escape artists should not apply.

Contact Sam, care of the Leaky Schooner Inn.

'PromptQuest' is the worst game of 2025. You play it when trying to make chatbots work

that one in the corner Silver badge

Re: No pseudo-thinkers here, mate

> Nor do I need to repeat the game when Ctrl-C > Ctrl-V is available

You are making the chatbot repeat the game!

Still, on the bright(!) side, by doing that you are probably only causing the mindless waste of energy increase geometrically, not exponentially, every time you use those keystrokes.

that one in the corner Silver badge

It's that working with this tech feels like groping through a cave in the dark

Not helped by the young[1], hip[2] guys and gals having been trained to accept this way of working by "mobile apps" and random "must always install the latest this week" updates that confuse "contains a vital security/bug patch" with "new bling".

Poke blindly at the display, watching to see if anything reacts - and hoping it isn't irreversible. Oh, no, the volume keys don't change the noise from this app, now we let those get passed to your ringtone volume. It is intuitive.

Random changes to functionality, random changes to the UI - but never the two shall be in sync.

Let every interaction with your device be a joyous journey of discovery.

The chatbots flighty behaviour slides in, accepted as "isn't that how everything works?"

[1] from my p.o.v. that is

[2] not the hip replacement set

Accused data thief threw MacBook into a river to destroy evidence

that one in the corner Silver badge

Salt water?

Use Brawndo (It's got electrolytes!)

SSL Santa greets London Victoria visitors with a borked update

that one in the corner Silver badge

Re: Happiness boost

The red light in her bedroom window isn't so bad. What is being complained about is the sodding great lighthouse she put up in the middle of the village green - in every village for a 40 mile radius*

* I mean, by the time the clients walk from one of those they'll be shagged out already!

that one in the corner Silver badge

Re: Happiness boost

> Does grassroots 'adfreecities.org' really think they are going to change modern society?

Yeah, no point in even trying to have a pleasant world live in. Sod the people, what did they ever do for you, eh?

Now, be a good Marty, roll over and play dead, maybe the nice advertising executive will tickle your tummy for you. NO. OFF the sofa!

that one in the corner Silver badge

Re: Roadside billboards

> concentrating on the ... vehicles around you

INCLUDES being aware of sudden flashing lights coming from any direction - the emergency vehicle up the side street, the flashing headlights as the out-of-control-on-an-ice-patch driver tries to warn you he is coming in sideways (he slid across onto the - thankfully - empty pavement an nothing worse happened, at least until I'd gone past, thankfully).

You are designed to pay attention to sudden movement, especially in high-risk situations (like driving). That is triggered by video ads and the ad makers know it: they *need* you to be distracted or the ad is a waste (from their pov).

Don't pat yourself on the back too hard for deliberately staring at the road hard enough to override the parts of your brain that are trying desperately to keep you alive; one day you may be too successful.

that one in the corner Silver badge

Re: Happiness boost

Thanks for that URL.

Loved the blog post about the bus stop Time Machine in Bristol. Weird place, enjoyed living there.

Microsoft wants to replace its entire C and C++ codebase, perhaps by 2030

that one in the corner Silver badge

Re: Microsoft should improve its recruting procedures...

Should let this go, but I re-read this thread and realised that I'd skated over this gem:

> Of course OO code is no longer OO when compiled

WHAT?

The compiled code is still OO after it has been compiled!

When - and how - could it suddenly lose its objects?

The ONLY difference between the same program's code in Assembler[1] and code in C++, or code in C versus C++ when considering cfront, is that the C++ has *supported* writing using objects: it has done some housekeeping for you, removing the need for you to manually write the boring bits. A bit of pseudo-C++

class L { ... }; class F { virtual DoStuff(class L *l) { ... } }; class Fred : F { virtual DoStuff(class L *l) { ... }}; class Lucy : L { ... }; class Jim : Doris, Lucy { ... }; Fred fred; Jim jim;

that leads to invoking a method

fred->DoStuff(jim);

is no more or less "object oriented" than the possible pseudo-C code that a pseudo-cfront may generate

fred->_FredVmt->Fred__DoStuffArity1classL(fred, Lucy__LucyAsaclassL(Jim__JimAsaclassLucy(jim)))

and neither are any more or less "object oriented" than the final assembler (no, I'm not going to write out the pseudo-Asm code here, that would far too long and boring - and prone to a ludicrous number of typos on this touchscreen!)

The C++ is just(!) a lot easier to get right - because the language is *supporting* the use of the OO idiom, whereas when all the support sugar is expanded out it becomes painful for a human to remember what the necessary fiddly bits are; much easier all around to let a program (i.e. pseudo-cfront) remember that jim used multiple inheritance so you *have* to call its "as a" converter (as it stands, you *could* get away without the call to the second "as a" converter, but removing that is an optimisation stage!). The pseudo-C form is able to do all the clever stuff the pseudo-C++ does, invoking the overridden virtual method etc; assuming, that is, you have remembered to manually declare and define the structs holding the VMTs. Whilst the pseudo-C++ coder just let the compiler support him by filling in those easy-but-tedious-to-fill blanks for him.

To argue against this continuance of objectness in the compiled form is as daft as arguing that assembler code can not be calling functions, just because it exposes the magic behind the C-style concept of a function call (namely, pushing arguments onto the stack, before doing the GOSUB and then carefully popping them off again).

[1] let's use the Assembler - not Macro Assembler, no cheating - code, rather than binary, simply 'cos we can accept that Assembler is human-readable and can still carry information in names and comments, aside from which it is 1:1 equivalent to the binary that is actually executed.

that one in the corner Silver badge

Re: My Calculator Says...

Loop unrolling FTW.

that one in the corner Silver badge

Re: Microsoft should improve its recruting procedures...

> A lot of time and and a lot of changes have been made from the first implentation of C++. Do you believe an old, simple implementation could still work?

(NOTE I have cut out "and any OO language" from that quote, and will say why soon)

Yes. For "modern" C++, yes, I definitely do believe "an old, simple implementation could still work" because, ta-da, it DOES! The VMT is still there. What do you believe has changed?

For "any OOPL" - yup; the other OOP mechanisms still work. Why would message-passing, the other Great OOP Way, have broken? Please provide some examples, 'cos I am *always* happy to learn about programming language internals (preferably not just more irritants caused by ambiguous syntax, 'cos that is important to let people write unambiguous code but isn't really novel, just overly complex sticking plaster over features that just growed).

> for the simple reason that writing an OO compiler is far more complex

No, it really isn't. Templates are *much* harder to get right than C++ style statically bound objects, and polymorphism is just syntactic sugar, not much harder than other sugar like the "for" loop. Injecting constructor/destructor calls needed a tweak to the linker, to handle initialisation of static instances (for early compilers).

Exception handling is a separate issue - it interacts with destructor invocations because it needs to have an unwind stack for the exception handler to walk. Getting the kinks out of the mechanisms took work for the C++ guys to get right *BUT* that has all been sorted out and the mechanisms published - including how it had problems interacting with iritants that arise from the fact C++ still supports C'isms that let you bypass the proper stuff.

> How do you handle C++ exceptions in Rust

Is there something especial in C++ exceptions, compared to other languages that provide exceptions? Ada, etc? Or do you feel that *any* exceptions mechanism is going to break Rust's memory ownership properties? If Rust *wanted* exceptions, it could have them. BUT would that be a good idea?

The choice to avoid exceptions in Rust was, to my understanding, that although languages like Ada provided them to "be good for critical military applications" experience with, bluntly, C++ code in the wild, demonstrates that that just ain't the case. The fact that any sane person could think that having a hash table trip an exception when it doesn't contain a key, instead of returning a null/false/nope entry makes it abundantly clear that milspec code must be kept exception-free.

Yes, obviously, translating C++ code that insists on using exceptions as a means of implementing the application logic into a language without exceptions is decidely non-trivial. As in, the only sensible way to do it is to clean up the C++ first. Which, if you want to use a machine to do the translation, means you need that as a clean-up first, before any attempt at translation. And that clean-up probably invilves getting in some really good human programmers. And probably means the translation, done well, is probably too expensive. But that won't stop idiots flinging LLMs at the problem, which will fail.

> I've seen many developers unable to graps OO

I'd put the lack of OOP being built directly into other languages onto that - people not wanting it, not grokkking it - more than fundamental difficulty of implementation. Assuming (yes, yes, big assumption) that, when you start your new language, you begin by learning *how* to implement a language, from lexers onwards, then statically-linked OOP is all well-defined, pros and cons. Just RTFM.

that one in the corner Silver badge

Re: Microsoft should improve its recruting procedures...

PS

Don't forget, if the LLM has been fed with everything they can scrape from the web, that includes the output from cfront *and* all the "how to implement OOP in plain C" (plain Fortran, plain Pascal - actually, no, plain Pascal can't and TurboPascal already had it): OOP goes back to the 1960's (and earlier, less codified) after all.

So if an LLM can produce *any* code, it is as likely to produce text based on (copying) proper "implement an object" code as it is to try to "invent" its own spaghettified method of doing it. Unless you think that there is a mass of home-grown "I tried to implement objects but totally messed it up - and put that onto Github" that will outweigh the older, decent, stuff and is therefore more likely to be spat out by the statistical "people who coded that also coded this" LLM generator.