Better HN
topnewbestaskshowjobs
Log inSign up

RetroTechie

2,407 karma · joined Jul 20, 2023 (3y ago) · 1,712 submissions

Submissions

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.

comment 4w ago · link · parent

Lacking modularity of the ISA, I can understand why many of those instructions were carried forward.

But all the legacy operating modes too? A modern x86 cpu should only have 2:

# Full-on 64 bit, legacy cruft cleared out as much as possible

# A compatibility mode to run application code written for 32-bit protected mode OSes like Win2k/XP etc

And even that last mode could be optional. Any other legacy support is just waste of transistors imho (however 'few').

Intel made a move in that direction years ago (X86S). Sadly that went nowhere.

comment 4w ago · link · parent

If compute:people were roughly equal spend, I'd agree with that thinking. But we all know AI's 100s of billions $$ spend is on datacenters+GPUs, not people.

In a way this suggests that MS doesn't aim to be a leader in AI <the core tech>. Only in its applications + related services (read: profit to be had there).

Nothing wrong with that btw. But understandable that fundamental researchers then pack up & leave.

comment 4w ago · link · parent

And 40+ years on, our modern supercomputers-in-pocket can't do what these early machines could:

Flick 'em on, wait 1 or 2 seconds, enter code & run it.

Pathetic.

comment 4w ago · link · parent

> and corporate labs pick it up once it reaches the point where the basics show commercial promise.

How does that work when the research team moved elsewhere? Re-hire talent? That takes time - the 1 thing you don't have in a fast-moving field like AI. Post sums it up nicely:

"Do the math—how much is it worth to halve training and inference cost given that the industry has investments approaching a trillion dollars?"

How much is these researchers' salaries, compared to what MSFT spends on compute? Chances are it's peanuts in comparison.

comment 4w ago · link · parent

https://github.com/fosslinux/live-bootstrap

May have what you're looking for. Steps & tools used are in the "parts.rst" file.

comment 4w ago · link · parent

Maybe their creators have more to learn than their creations...

comment 4w ago · link · parent

> Inputmon does have the enormous, un-auditable dependency of LLVM and Clang

You mean build-time dependency? Not a run-time one.

If that bothers you, there's simpler/smaller compilers out there (TinyCC and the Portable C Compiler come to mind, but there's others). Or drop down to assembly?

comment 4w ago · link · parent

> Is it real bare-metal if you're using UEFI, though?

If I'm not mistaken, the "bare metal" part refers to how directly you can touch it once control passes to your code. So definitely qualifies imho.

Not whether a 'glorified bootloader' burned some CPU cycles before that.

The "bare metal" qualifier goes away if underlying OS prevents your code from touching the hardware directly.

comment 4w ago · link · parent

> Some day, I'll see the last one go.

Equally likely: they'll see YOU go. Pape... uhm I mean floppies are patient.

comment 1mo ago · link · parent

"100% designed & produced in China" doesn't exclude the possibility of "using ASML machine to process the wafers".

That said: entirely possible it includes "home-grown wafer stepper machines". Article is light on the details here.

comment 1mo ago · link · parent

Related: OSes based on persistent memory. As in: main RAM persists across reboots, distinction RAM <-> storage goes away, saving files & the whole concept of memory-mapped files can be tossed, code of any executable is always ready to jump to, etc.

comment 1mo ago · link · parent

Add Forth to your list. There's 1 or 2 CPU's out there that came with a Forth engine in hardware (iirc). And there's some chips heavily optimized to run Forth systems (see eg. GreenArrays GA144. Sadly seems to be defunct these days?).

https://en.wikipedia.org/wiki/GA144

As for your original question: you might want to have a look at languages that overlap the border between 'traditional' PLs, and hardware description languages. Or hardware/software co-design, and tools used in that field. Edit: also see Oberon.

> The only example I know of is the one that runs Java bytecode

https://en.wikipedia.org/wiki/Jazelle

Probably implemented in billions of ARM cores out there. Unsure how much use it sees though.

comment 1mo ago · link · parent

Reconfigurable computing.

Read: have FPGA-like reconfigurable hardware as a core feature. With the reconfiguring being as easy as starting an executable or changing a setting.

NOT: "stick an FPGA onto a CPU, upload 'kernels' to accelerate some task". I mean the platform itself being dead-easy to reconfigure, like change the workings of a particular CPU instruction on-the-fly, or have a # of processing elements encode/decode/process a data stream, reroute traffic from output A to output B by reconfiguring some multiplexer, etc.

Transistors are cheap now. Configuring logic as if it were a simple RAM matrix should be toootally doable.

comment 1mo ago · link · parent

"To rule out any potential food safety risks, the shop owners disconnected the refrigeration systems from the mains"

The mains provide the avenue of attack. So disconnecting that secures things, while the internet connection provides power to the cooling systems.

comment 1mo ago · link · parent

Is there any research into other ways to 'get sound into the brain', generally speaking? If so: some pointers would be much appreciated.

After being hard-hearing since early childhood (bad living conditions -> tuberculosis -> ototoxic antibiotic, streptomycine iirc), my mum had a CI for a # of years. But due to infections, it got removed at some point. Since then I've always wondered if there's other routes to get sound into the brain. Say, using vibrations on the skin. Or an electrode-stuffed 'helmet' of sorts.

Even if temporary, it can be a life-changing experience for someone who's never experienced sound.

Any research in that direction?

comment 1mo ago · link · parent

Missed some mentions like crowdfunding, crowd-sourced journalism / investigative efforts & the like. But a good read.

Imho people (and even animals!) instinctively understand that most actions are not zero-sum. That other people's gain (whether individual or community) often exceeds the 'loss' of the person who puts in the effort. Doubly so if the latter enjoys doing it.

Classical economics ignores that. It assumes that parties nearly-always act rational (untrue), generally don't like 'work' so require compensation (YMMV), participants in a market are well-informed (untrue), transactions are zero-sum (rarely), money is THE only relevant 'currency' (it's just one of many), people are selfish (debatable, imho this is learned rather than intrinsic behaviour), markets are free (untrue), or that 'free' markets are the only way to efficiently allocate resources (again: debatable). That's a lot of questionable assumptions to base crucial socio-economic (and policing / military) systems on.

More likely it's mostly historic reasons. During some period, some approach worked better for some groups of people (probably helped by a lot of violence). And this carried forward to the present day in complex, poorly-understood ways. Never mind propaganda (include social networks' algorithms there), disinformation, or that status quo can be incredibly hard to disrupt.

Disclaimer: I'm not advocating to turn what exists upside down! But it's good to question underlying assumptions considered 'common knowledge'. Re-organise things, have a look at alternatives. And things change. What was valid yesteryear may not hold water today.

12345
58