2,407 karma · joined Jul 20, 2023 (3y ago) · 1,712 submissions
comment 3w ago · link · parent
UNfortunately, "other countries" includes many that hardly contributed to the problem, but suffer the effects anyway.
comment 3w ago · link · parent
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
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
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
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
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
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
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
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
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
May have what you're looking for. Steps & tools used are in the "parts.rst" file.
comment 4w ago · link · parent
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
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 1mo ago · link · parent
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
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
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
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.