Better HN
topnewbestaskshowjobs
Log inSign up

RetroTechie

2,348 karma · joined Jul 20, 2023 (3y ago) · 1,668 submissions

Submissions

comment 2w ago · link · parent

And a whole field like that is about to explode: robotics. Add self-driving vehicles too.

comment 2w ago · link · parent

Software development, build, QC & deploy processes are fragile. That is reflected in what comes out of those processes. Waaay too many examples of "garbage in, garbage out".

Probably won't change much until the cost/losses to society become unbearable.

comment 2w ago · link · parent

Management WILL find out:

https://xkcd.com/927/

Adding their chosen be-all-end-all solutions is the easy bit. Removing existing parts from the tech stack, is the hard part.

(and of course "new" may not improve on "old" even if stuff is migrated successfully)

The upside: all this changing / migrating / implementing / testing gives you a job.

comment 2w ago · link · parent

You can also turn this around:

Once you have proven an implementation matches the specification, you could have that implementation become the spec, potentially tossing the spec you started with.

That's not unlike binary translation: say you have program A that is proven to produce correct output for all possible inputs, and you convert/translate/port it to a program B which produces exact same output for all possible inputs, then you could say that program B is proven to work correctly.

The proof for B then consists of [A proven to behave correct] paired with [comparing output of B with output of A for all possible inputs].

Note this does NOT require the converter/translator/ porting process to be proven correct.

Generally the spec you started with is a more convenient format. Or conveys intent in a more concise way. But perhaps, sometimes, a known-good binary might serve as a more practical 'specification'.

Of course as the article notes: it's important to understand underlying assumptions, declare those explicitly, and have that be integral part of a proof, showing its limitations. Flaky hardware, CPU errata, flipped bits in RAM, and un-sound specifications are a thing.

comment 2w ago · link · parent

> I'm banking on building less, but building better

Same here. But as opposed to the "use AI" vs. "don't use AI" crowds, I'd prefer a more pragmatic approach:

Do whatever possible to maximize the quality of the software. And with quality I mean correctness, reliability.

AI is just another tool there. Where it helps produce more correct, reliable code, consider using it. Where it doesn't, don't.

Sadly it seems many companies have a different definition of "better" (featuritis, shortest time to market, developer productivity, etc).

comment 2w ago · link · parent

"Signetics announced its first product in 1962, a NAND gate that cost $125 (over $1000 in current dollars)"

By 'coincidence', a quad NAND gate is also the 1st entry in the famous 7400 series of logic ICs (where I'm using 7400 to refer to any of LS, HC(T) etc with compatible pinouts).

One reason will be that a NAND function takes relatively few transistors to implement. Another being that combine-and-invert functions can double as inverters. And those in turn find use in oscillator circuits. So this made for a versatile part in a designer's inventory.

"One of the most popular is the plastic DIP (Dual In-line Package)"

WAS, Ken, was... lol. Unless you're talking surface-mount. Edit - those have their own name: Small Outline Integrated Circuit (SOIC).

Fwiw: I always liked their use to route a signal from one side of a board to the other side, without drilling an extra hole. Most pcb traces rougly North-South on 1 side, roughly East-West on the other side. Maaany early computers were layed out that way on 2-layer boards (or even 1-layer with lots of wire bridges).

comment 2w ago · link · parent

I'd like to think that Darwin will do its job there.

Over time (multiple generations), people making smart choices will survive more often than people making dumb choices.

But that's an optimistic take - reality is fuzzy.

comment 2w ago · link · parent

In that dmesg log

  [    2.920022] i915 0000:00:02.0: firmware: failed to load i915/kbl_dmc_ver1_04.bin (-2)

  ...

  [    3.818174] r8169 0000:02:00.0: firmware: failed to load rtl_nic/rtl8168h-2.fw (-2)
And a few more, just search for "fail". If NIC doesn't come up that explains why machine unreachable over ssh etc, right?

Might be a filesystem hiccup, and some firmware blobs went missing, or something? Just speculating here. EDIT: links in the article mention some ext4 issues (and maybe ntfs too?).

Might also be handy to save dmesg output from the kernel version that works fine, and lay output side-by-side.

comment 2w ago · link · parent

"I found"

How?

comment 2w ago · link · parent

Most o/t time they're just annoying. But if I'm in a building & hear one, I will ALWAYS check where it comes from, and whether further action (like evacuation) is needed.

It's easy & the 1 time you don't, can cost liveS.

comment 2w ago · link · parent

"To make things fair across all jurisdictions"

PLEASE stop right there. Nations are sovereign, they decide for themselves if/how far copyrights are enforced. Let's keep it that way. There's enough [800lb gorilla meddling in other's affairs] as it is.

comment 2w ago · link · parent

Maybe it's a matter of scale, as researchers have argued. Bigger, and new behaviour may emerge.

Maybe some piece(s) of the puzzle are still missing. Good chance they'll be found at some point.

But there's a simpler possibility, and I suspect that many people won't like it: that intelligence, self-awareness, emotions etc etc, things we perceive as 'being human', are ultimately nothing more than a mechanism (+memory) that responds to stimuli. That there's nothing special to it fundamentally, no secret sauce. Just sensors, pattern recognition, filtering/processing, output.

IF so, that would certainly put a different perspective on what it means to be alive. Along the lines of "any sufficiently advanced robot is indistinguishable from a living creature". Just different levels of complexity, implementation (biological vs machinery), and capabilities. No 'magic'.

Tbh: that works for me! As long as they come with on/off switch & a reset button.

comment 2w ago · link · parent

> But what I’m hearing is that one company “L3Harris” could take down the airfristructure anytime it wanted to. That’s not great.

Foreign cyber-adversaries (the usual suspects ;) are taking notes.

comment 2w ago · link · parent

Affordable smartphones have been around for decades already.

comment 3w ago · link · parent

There's the "is this human or AI-generated?" question (suspicion) that now hovers over every piece of writing, images, etc.

Definitely wasn't there before. Definitely AI that did that.

comment 3w ago · link · parent

Fortunately, consequences of China's coal burning on other countries' behalf (in manufacturing products for them), is exported right back for those other countries to experience (climate change). So at least there's some justice there.

UNfortunately, "other countries" includes many that hardly contributed to the problem, but suffer the effects anyway.

comment 3w ago · link · parent

WHY you want to build stuff?

Figure out answer(s) to that question, and chances are the how, what paths / projects to pursue, will follow from that.

comment 3w ago · link · parent

More general: what remains / becomes valuable as "thinking power" (+creativity) becomes cheaper & cheaper?

comment 3w ago · link · parent

Later half reads much like the general problem of dependency solving. A depends on presence of B + C, C depends on D and (E or F), where you need E or F but not both at the same time, etc.

See for example: https://en.wikipedia.org/wiki/SAT_solver

Which seems fitting because technology builds on other tech that needs to be available before proceeding. Can't calculate 10^9 digits of Pi without computers. Can't produce steel without a high-intensity heat source like fire or electric furnace. Can't do large-scale mechanized farming without tractors/harvesters, etc.

So technological progress can be seen as discovering+building a dependency graph of various technologies, which in turn enable the discovery & addition of new entries. With discovery ranging from "accidental" to "informed, highly focussed search" (aka R&D).

I share author's interest in the historical context - it's a fascinating subject. For example ~1850s industrialization seems to have been a very lucky shot. Which was impossible elsewhere, or would have quickly gone sideways if some factor (eg. existing coal supply chain) had been absent.

Makes you think about just how (un)likely a high-tech civilization is. Once you get to a baselevel (telecom, mass production, cheap energy) progress seems inevitable. But getting to that baselevel? Looots of luck involved.

comment 3w ago · link · parent

https://xkcd.com/435/

comment 3w ago · link · parent

"frees us all"

Nonsense. Impact comes with numbers.

At $1600 this will only cater to a tiny club of enthousiasts. And thus have negligable impact on the overall ecosystem.

Want impact? Make it cheap.

comment 3w ago · link · parent

Pay for entertainment as much as reasonable within your budget. If you're poor then ok pirate stuff. If you have a 6-figure salary, pay up.

Put that money into what you want to see more of. Suggestions: indie studios, crowdfunded projects, open hardware/open source platforms, places like Good Old Games, relatively open platforms like Steam, game studios that play nice with their fan community, etc.

Nintendo is waaayy down on that list. Go ahead buy their stuff after you've given above options a spin, and still have time or money left.

comment 3w ago · link · parent

1) Reasonable copyright duration. Long enough to give creators a chance to recoup their investment. Short enough to not get in the way of enriching the public domain. For games, something like 5..10 years should do. Books? Maybe a bit longer.

2) For creators: offer your products at a price & in a way such that for the vast majority of (potential) customers, your product is the most attractive. Jack up prices, add draconic DRM, and customers decide that pirates offer the better product. That's on you, not those pirates fault.

Failing that, Nintendo & co loose the moral high ground, and have no right to complain when people break DRM, distribute illegal copies to run on emulators etc.

Or maybe conclude that copyright laws don't serve the public, so maybe it's better to abandon / ignore the concept entirely.

comment 3w ago · link · parent

Silly typos shouldn't be subject to moderation imho. Let submitter fix it themselves, or live with the embarrasement.

comment 3w ago · link · parent

"What's more worrying, is that multiple Danfoss business units (including Climate Solutions & Electronic Controllers) received IEC 62443-4-1 certification for Secure Product Development Lifecycle and this is prominently advertised as such"

While it's known that certifications are often just paperwork (eg. European CE mark means almost nothing imho), it does raise the question: what exact does it mean when .org/product line receives this certification?

You'd expect this to be about best practices, certain aspects of processes etc. With the idea that good processes produce good results.

That is in direct conflict with:

"It turns out that stack canaries and Position Independent Executable (PIE) are not enabled. These mechanisms have been staples of memory corruption defenses for decades and enabling these features on a modern Linux distribution running on a modern ARM application processor requires no engineering work at all. It is simply a matter of setting the right compiler flag."

If such basic / low-hanging fruit is not covered by above certification, then what on Earth is?

Also:

"controllers remain exposed to the public internet. While this is for understandable reasons (supermarket chains sometimes risk SLA or insurance condition violations by taking away remote maintenance"

Anyone have some context as to why service and/or insurance would require remote access? Sounds beyond stupid.

All in all a VERY juicy & informative read. Curious to see how Danfoss will handle this swiss cheese affair.

comment 3w ago · link · parent

"Effortless action": https://en.wikipedia.org/wiki/Wu_wei

I've seen this mentioned in the context of leadership. Someone said the best leaders get people to do things they wanted to do anyway. They just act as a kind of meeting point (or 'lightning rod', take your pick) that senses the general mood, and figures out a way forward that most of the group can agree with. Repeated (sometimes continuous) back-and-forth is important here.

In politics it's often the other way around: many people are unhappy, politician comes up with a plan to do something, and tries to push that through. Such action often fails as it -mostly- ignores feedback from the people the changes are imposed upon.

Acknowledging a problem is important. But more important is understanding the problem through the eyes of those affected by it, understanding how an action would change things from that point of view, and adjusting control knobs as you go. Few leaders are good at ALL those things.

comment 3w ago · link · parent

> leaving out byte and halfword memory access instructions

Huh? LB(U) / LH(U)

comment 3w ago · link · parent

A ZX81 works like one of those pre-framebuffer machines:

At some point, the Z80 cpu jumps into an array that holds character info for each line on the screen. Its ULA chip intercepts that instruction fetch, and feeds the Z80 a NOP instruction.

Character itself is read by the ULA, and output onto the address bus. The ROM then outputs the corresponding bit pattern. ULA reads that, and clocks it into a shift register: 8 bits parallel in, serial out produces the pixels on screen.

But here's the nifty bit: that ULA stuff is timed to take exactly 8 cycles of a 6.5 MHz pixel clock. The Z80 runs on 1/2 that, so it takes the exact same time to execute the NOP (4 cycles). Done -> next instruction fetch, ULA ready to grab bit pattern for the next 8 pixels.

That's how screen lines are built on a ZX81. 50/60 Hz screen refresh is done by varying the # of lines displayed. Downside is that the (already 'slow') CPU is executing NOPs ~3/4th of the time, making for an effective CPU speed of ~0.8 MHz.

But the scheme was somewhat flexible, and programmers found ways to produce high-resolution graphics by (ab)using ROM data for non-text graphics. And with a RAM pack you could enjoy full hi-res graphics. All of this in b&w only.

The follow-up ZX Spectrum added a regular framebuffer with color (and even hardware flashing!) in 8x8 pixel blocks. This required a much more complex ULA chip though.

12345
56