* Posts by Lipdorn

37 publicly visible posts • joined 17 Sep 2012

Canada orders Chinese CCTV biz Hikvision to quit the country ASAP

Lipdorn

Re: "Canada’s government will stop using any Hikvision products it finds"

"On top of which, it's CCTV. It's not supposed to communicate with anything but the computer of the security guard that is supposed to check it between coffee and donuts."

True. Though, since the cameras use Ethernet (PoE probably as well) the contractors installing it probably just hook it up to the existing LAN infrastructure. Perhaps the recording server is also connected to the internet and the the cameras not fire-walled appropriately. Bit of an overreaction since you want the "closed-circuit" part for your CCTV. Or have we learned nothing from the Mirai botnet?

Salesforce study finds LLM agents flunk CRM and confidentiality tests

Lipdorn

Re: "Understanding"

Reminds me of the following video... https://www.youtube.com/watch?v=NMS2VnDveP8

Techie solved supposed software problem by waving his arms in the air

Lipdorn

Re: CAN

FYI CAN the bit stuffing (to aid in clock recovery) can destroy the CRC characteristics such that what was supposed to be something that detects all 5 bit error can only detect all single bit errors. Slide 56 https://users.ece.cmu.edu/~koopman/pubs/koopman14_crc_faa_conference_presentation.pdf

So CAN is not a great example as it is arguably inferior to RS-485 with parity detection. CAN does have advantages in terms of acknowledgement and bus arbitration.

Intel's new CEO: Chip world veteran Lip-Bu Tan

Lipdorn

I believe that it isn't quite an apples to apples comparison comparing so-called nanometres to nanometres. Apparently has very little to do these days with feature widths. Seeing that TSMC is the leader, though, I'm inclined to believe that Intel's process will be a couple of TCMS nodes behind. Will be interesting to see.

Scotland now home to Europe's biggest battery as windy storage site fires up

Lipdorn

Re: Back of the envelope

"But the newer or cleaner ones will just go from running 24x7 to running less, to being on "standby" where they can be spun up if there's a really cloudy or still week..."

That is the issue. The standby station will only be used roughly 10% of the time. Thus, they will have a capacity factor of 10% making their energy costs very expensive. One will have to pay for all the maintenance and personnel costs for something that just idles 90% of the time. One will have to have as much of the idle capacity as there is demand in the country since the output of both both wind and solar can fall by a factor of a 100 for a the duration of a week.

Of course, if one is willing to suffer some form of blackout for 10% of the time (for up to week at a time) then one might not need the same dispatchable capacity and it wouldn't be as expensive. Perhaps only hospitals and other critical infrastructure (e.g. some minister's dog house /s) can be connected to the "reliable" sources.

'Maybe the problem is you' ... Linus Torvalds wades into Linux kernel Rust driver drama

Lipdorn

Re: Lilliput, Blefuscu & boiled eggs

In Rust, you would create page table entries and track them as objects, with each row being a structure of a given length; if your code is mathematically capable of writing past the end, it doesn't compile.

It seems that is the case for simple bounds calculations. Some would be run-time checks. The same static analysis that Rust uses to give a compile warning, and similar to what a compiler uses to eliminate run-time bound checks, can be used for C/C++. Linux already uses things like smatch. There is also the Linux Driver Validation process. So, most of the bound checks that Rust does at compile time can be done for C/C++ at compile time as well. I think an exception could be where arrays have decayed to pointers. Perhaps one of the reasons MISRA does not like arrays being decayed to pointers. Something akin to std::span from C++ might help. Void pointers might also complicate things.

Upgrading Linux with Rust looks like a new challenge. It's one of our oldest

Lipdorn

Re: Why a new language?

There is a C17 standard with C23 in the works yes. But as of now (2024/09/10) Linux itself uses GNU C11.

https://www.kernel.org/doc/html/latest/process/programming-language.html

Google says replacing C/C++ in firmware with Rust is easy

Lipdorn

If the choice is between Rust and C, by all means choose Rust. With C++ it is not so obvious. The whole overflow/underflow issue can be solved in C++ using a wrapper class for the std::intx_t types that does the overflow checking. The major issue Rust solves is the memory handling issue. Which is arguably a solved problem is C++. It doesn't solve any of the other resource handling issues. For handling any other resources, one will likely have to resort to similar approaches as used in C++ with classes.

So no. I don't see much of an advantage moving to Rust yet as a C++ programmer. Until there is an ISO Rust spec, I won't, personally, recommend anyone from C switch to Rust either.

EV sales hit speed bump as drivers unplug from the electric dream

Lipdorn

Re: the average journey

Wait until EVs have to pay something similar to the fuel levy. Think government is going to permanently forgo a tax?

Drowning in code: The ever-growing problem of ever-growing codebases

Lipdorn

Re: In the embedded world...

"My point is that most HALs are poorly written and inefficient."

On the ST side I find the reason is because they want, or need, to support as many of the various use case for the peripherals. They do often allow one to start an example project faster. Then if performance is an issue one simply implements the functionality one needs using the HAL as an example. It usually isn't difficult with most peripherals.

Though I'd agree that I'm not a fan of the C coding techniques typically used by hardware coders.

Raspberry Pi Pico cracks BitLocker in under a minute

Lipdorn

Re: A brilliant testament to analysis

Issues that have been mostly adequately addressed in most businesses. There will always be some way past, but at least it wouldn't be quite as trivial.

Lipdorn

Re: A brilliant testament to analysis

One could load the keys for encryption and authentication (pairing) on the CPU and the TPM during manufacturing or some other time occasion that is presumed secure. Obviously the private parts of the key pairs should not be readable by external devices (or leaked to them). So the private keys ought never to leave the CPU secure enclave (i.e. can't use a debugger to view the registers of the CPU to obtain the keys).

You don't need CAs since only devices with the private key can decrypt the data. If the CPU can't leak the private key, then only the CPU would be able to decrypt the data.

Changing the public key on the TPM ought to wipe all information on the module. Though a passphrase + key combination could be used to recover stored information or to enable key changes without wiping of stored information.

The crux of the problem is storing the private key of the CPU if the CPU does not have secure non-volatile memory. Though perhaps a hardwired unique private key could also suffice.

UK govt office admits ability to negotiate billions in cloud spending curbed by vendor lock-in

Lipdorn

Re: If there was....

Feels like you missed the entire point of the article.

If the Govt. set the specification such that there is no requirement for portability between providers and the chosen provider implements the specification using proprietary methods, then the renegotiation fees will include the cost of porting the proprietary bits to the new provider.

Thus, the current provider can charge the Govt. min(cloud competition) + porting costs. As long as the provider correctly judges what the Govt. considers to be the porting costs, then that is what they can charge. The cost of porting is likely to increase as a function of time as the Govt. becomes more ingrained.

If the Govt. required portability, then they'd basically only be paying min(cloud competition) since the porting costs ought to be negligible (at least in theory).

The article basically describes how Govt. has failed in keeping porting costs low and now has less negotiation headroom since rationally any vendor can logically increase their prices to the Govt. as long as the total price is still lower that the cost of porting to the lowest priced competitor.

Malicious SSH backdoor sneaks into xz, Linux world's data compression library

Lipdorn

Re: GitHub CoPoilot…

The attack was embedded in two binaries and a build script. The actual GitHub source was clean.

Lipdorn

Re: systemd is the metastasising cancer

"For instance, WTF does an init tool have to have any sort of dependency on any shared compression library?"

Compression of old logs?

Rust developers at Google are twice as productive as C++ teams

Lipdorn

I can wholeheartedly support moving from C to Rust or C++. Moving from C++ to Rust? Meh. Just stop doing C style C++ and learn how to use it properly. C is great compared to assembly.

Boeing paper trail goes cold over door plug blowout

Lipdorn

Re: The title was too long.

From experience I would say change will have to start at the top. Culture, to a large degree, trickles down. The top may not necessarily be the CEO.

Broadcom says VMware to grow revenue by double-digit percentages all year

Lipdorn

That is how the free-market works. Increase prices until profits starts to drop. Price discovery. Of course, the price may change at any moment depending on the the state of your competitor(s) or the client business.

Now one can argue that new businesses would rather go for something else more affordable. The new businesses might then stay with their choice and never migrate to VMWare. Old customers might decide that the long term savings justify switching from VMWare to something else. So VMWare might have significant short to medium term profit gains, but the long term outlook might be less rosy. Probably perfect for all the MBAs. I guess we'll find out.

Judge slaps down law firm using ChatGPT to justify six-figure trial fee

Lipdorn

I actually know a decent lawyer. Mostly worked pro-bono for 20 years. Living expenses was via charity donations. Not quite coining it now, but is now working at a fairly prestigious university.

Microsoft might have just pulled support for very old PCs in Windows 11 24H2

Lipdorn

Re: Linux's moment

I think the general portability of Linux would mean that there is a decent chance that older processors will be supported for quite a while. With compiled code one could support most of the various SSE, AVX CPUs at the cost of extra binary bloat. The hand rolled assembly would likely be the biggest obstacle.

Those wanting the most performant Linux have tended to compile their own kernel at least for quite some time. Not that I noticed a massive improvement when I last did it.

Oracle partner gets multimillion top-up after Edinburgh Uni disaster

Lipdorn

Re: Sometimes, you should listen to your supplier

Have the same issues with a SAP based system.

Amazon extends the life of its servers to six years, expects $900m benefit in 90 days

Lipdorn

Re: Alternate headline

Had a server at work. 7 years old. Still more than enough to run what was needed. New IT policy is no hardware servers. The yearly VM rental exceeds the cost of replacing the server.

Competition is decreasing in enterprise IT – and you’ll be poorer and dumber for it

Lipdorn

Re: Monies

...but by how hard they are to replace

Exactly! Supply and demand.

... [perceived] value they bring...

I wish more would understand this.

IT consultant fined for daring to expose shoddy security

Lipdorn

Bit different from walking into a building. I think one can reasonable expect the local community to adhere to the principle that they shouldn't enter unauthorized areas. One can also, obviously, apprehend and prosecute such people easier if they're in your jurisdiction.

With the internet you are exposed to all walks of life. Including those from enemy countries over whom you might have no jurisdiction. Not like anyone can do much about North Korean hackers. In this case, one should reward people that identify vulnerabilities in your systems (assuming they did not exploit those vulnerabilities).

In my opinion, this is how one can identify companies that actually care about security and those that just do the bare minimum required by law.

Microsoft issues deadline for end of Windows 10 support – it's pay to play for security

Lipdorn

Re: The impending win11 downgrade approaches...

I'm not moving to Windows 11 until I can move the taskbar (I like mine on the right). I've moved my father to Linux (Mint). I guess my mom and I are also moving sometime around early 2026. Maybe I'll get Win 11 for gaming...hopefully Linux gaming will make that unnecessary.

Enter Tinker: Asus pulls out RISC-V board it hopes trumps Raspberry PI

Lipdorn

Re: Yikes.

Shouldn't have much trouble running FreeRTOS. Just need to port it to the particular processor. Shouldn't take too long. There is a generic port for RISC-V already.

Eggheads show how network flaw could lead to NASA crew pod loss. Key word: Could

Lipdorn
Coat

No more BYOD?

The way I see it that you can not permit any random device onto the TTE network. I don't think this is quite applicable for space and aircraft applications. I imagine for industrial control applications where the control and generic LAN can be combined (marketing: "It's a feature!") is more of a plausible scenario. There will probably be some policy that prohibits unauthorised equipment from being connected, but given the way this attack functions I don't think it will stop the attack.

Aircraft and trains could potentially provide LAN ports for travellers and this would then be a cause for concern. Though I think WiFi will be more popular since all the ethernet ports are likely to be stuffed with used chewing gum. Space probably is likely better controlled and unlikely to have such a device installed since anyone with the required access likely has better attack opportunities.

Though I don't like the fact that one link can affect all three link. Seems that should be fixable with an update.

Calculating the big picture: Future HPC efforts will soon see off its von Neumann past

Lipdorn

Re: predicts increasing hybridisation between classic supercomputers and AI

Usually extending a regression model past the data used to fit the regression is a bad idea. Extrapolation vs interpolation. Can be done for things where the general model is known and rather simplistic...but that is usually not the case where ML is employed.

Microsoft's problem child, Windows 11, is here. Will you run it? Can you run it? Do you even WANT to run it?

Lipdorn

Deal breaker

"Can you move the taskbar to the side of the screen?

No."

Oh. That is a deal breaker for me.

Microsoft does and doesn't require VMs to meet hardware requirements for Windows 11

Lipdorn

One can hope.

Russian Arm SoC now shipping in Russian PCs running Russian Linux

Lipdorn

Re: ambition comes at a price on the desktop

Perhaps. But teams takes that to a ridiculous level of terribleness. Teams just seems to "ooze". The only thing as bad is windows search...

United, Mesa airlines order 200 electric 19-seater planes for short-hop flights

Lipdorn

Re: I wonder

The weight of the storage container for the aviation fuel on an airplane is, for all intents and purposes, negligible. Mostly just the sealant for the void spaces in the airframe. Maybe some structural members are heavier than if they would have been if the voids weren't filled with fuel. The fuel storage weight decreases significantly as the fuel is used.

This is not the same with batteries which have no change in weight. Nor with hydrogen. Currently 5Kg of hydrogen requires a container of around 80 Kg. Batteries, or compressed, hydrogen will reduce the payload capabilities of the airplane significantly.

Cryogenic hydrogen might be better, insulation is typically quite light, though does take up more space. Though I believe cryogenic hydrogen is volumetrically about a third as energy dense as kerosene...so you need three times as much space excluding thermal insulation.

Thus, I don't expect to see a battery or compressed hydrogen Airbus A320 equivalent plane in my life. Cessna equivalent yes. Though it will probably be inferior to a hydrocarbon burning aircraft in distance and payload weight. Might have other advantages that would make it worthwhile.

British owners of .eu domains given an extra three months to find a European address

Lipdorn

Re: Good read

"Covid's killed just about more people in the UK thant he whole of the EU combined. Who's fault is that?"

Not sure what your sources are. According to https://www.worldometers.info/coronavirus/#countries you have the following number of deaths:

UK: 117,166

Italy: 93,577

France: 81,814

Germany: 65,566

Spain: 64,747

Clearly your statements is "clownishly" false.

"I for one would rather have Brussels fucking it all up instead of Boris and his clown cabinet"

With, ironically Brussel (meaning Belgium) having the highest (of the populous nations) death rate in Europe. Granted it is only about 8% higher than the death rate of the UK, 1,864 vs 1,720.

"Well how about replacing one layer of grossly incompetent with another?" Well, you had two layers of incompetence. Now you only have the one. Not sure why you would want the extra one as well...

Torvalds asks 'Why do PC manufacturers even bother any more?'

Lipdorn

3:2 Aspect!!

YES!! A screen in between 4:3 and 16:9!!! YES!

Sorry I love my old 14" 4:3 SXGA (1440x1050) laptop screen and keyboard. I HATE the HD ready 1366x768 laptop screens. To get a similar space you need a much bigger screen on the 16:9 format, which translates into a far heavier laptop.

3:2 is in between the two. Seems like a decent compromise.

Yay! Now I wonder if the keyboards any good...

Boffins biff over ‘twisted radio’

Lipdorn

Most likely is that using more "spin" states will result in inter user interference. This will put a limit on the rate of information that can be reliably sent using the technology. There are ways of mitigating the effects such as those used currently in MIMO systems, though they're not perfect.

Mexican Zetas ENSLAVING engineers to run crimelords' radio net

Lipdorn
Facepalm

The Libertarian paradise

I'd like to point out that if the Mexican and USA government weren't fighting the drug cartels then the cartels would probably be fighting so much.

Besides, what happened during prohibition in the states? Almost the same thing.

Error found in climate modelling: Too many droughts predicted

Lipdorn

Re: Test Your Model

Backwards prediction is all fine and dandy, but what happens is that after a while you start tweaking your model to actually give good backwards prediction results. Or stated alternatively, you're effectively running a genetic algorithm where only models that do give good backward prediction survive. This is another form of "curve fitting". Thus by continuously using the same "validation" data, you're effectively using fitting the model to that data.

That still doesn't mean that they'll be any good with predicting was is going to happen. Interpolation is good, extrapolation is evil. Effectively fitting observed data to a model to obtain the "actual" forcing values becomes hazardous the more model parameters there are. The problem being that there may not be a unique solution and you can't determine beforehand whether the solution, "fitting", you've found is the correct one. (Most likely it isn't.)

Another thing to bear in mind is that many of the "constants" used in the model were obtained by fitting historic data to a model of some sort, the more data, the better the fit. Therefore models should be able to "predict" the past quite well since they are based on the historic data.

Unfortunately, only time will tell whether the models were/are correct/incorrect and by that time it may be too late.