Better HN
topnewbestaskshowjobs
Log inSign up

malkia

4,764 karma · joined Apr 27, 2007 (19y ago) · 3,052 submissions

Submissions

comment 2d ago · link · parent

but are they power-efficient?

comment 1w ago · link · parent

+100 - sorry, my emotions got on more than my brain, but it really hurts when someone blurts out this as a "fact".

comment 1w ago · link · parent

A coworker, some 10 years ago at non-current company: "You need an asshole to flush the shit down" - I felt really bad, and left a year later. It deeply affected me. Not sure why. Purely illogical, but left a scar. Does not make sense, but hit me hard. It's so vague, and diabolical, and takes on so many meanings depending on the context, state of mind, etc., etc. Anyway... I still remember this bit, and that's what's troubling...

comment 1w ago · link · parent

Just stop talking about "school shootings" as another statistical tidbit. PLEASE!

comment 1w ago · link · parent

My take is on NUMA cache line contention. It's real.

comment 1w ago · link · parent

I believe this must be NUMA cache line contention. If CI testing involved a VM, the VM was most likely cordoned to run in single VM node, or at least not crossing (because it does not make sense otherwise), unless it was special VM to test this case.

I've seen NUMA cache line contention affecting us for real (on Windows, for our game tools). Limiting certain tools to run locked under one NUMA node helped a lot. It's real.

The updated CoreInfo https://learn.microsoft.com/en-us/sysinternals/downloads/cor... shows this well

comment 1w ago · link · parent

Lock contention, especially cache line contention in large NUMA systems. If hardware was upgraded to NUMA machines, or VM's were not cordoned each to sit in each it's own NUMA node (CPU, Caches & Memory) then something like this would happen.

We saw with our own tools back when an artist were given a low-core "server" like machine with many CPUs (good we thought), and 2 NUMA nodes, and suddely the level editor for our game was running much slower. We could blame std::shared_ptr<> all day long, or similar but it's there and it was real.

Tried the 4kb interleaved paging, but then everything was equally slow. At the end we simply blocked the App to run only on one NUMA node (still using memory from the other one), and things were back to "normal". "Normal", because promises were not kept - we could not use all CPUs.

comment 1w ago · link · parent

... or AI/LLMs?

comment 3w ago · link · parent

RSI = Rare Super Intelligence :) lol

comment 1mo ago · link · parent

Btw, there is HOMM Olden Era (google it) and it's great!

comment 1mo ago · link · parent

How would this work in wasm land? It's a bit badly put question, because this leaves out a lot of context - wasm - where, how, what implementation, but from my simple understanding most of the wasm is 32-bit running in a browser. For this to work, it'll need true virtual 64-bit (or 48-bit) address space. The host, being the browser, or something else, may provide it, but....

If the host needs to load several of these .wasm, compiled with goose, then it'll have to run them in separate (browser) instances too (or maybe that's how wasm works by default - not sure).

It just got me thinking - the languge is prepared to translate into javascript workers, because it's really single threaded by nature with communication between threads (or put in the dart languages term "isolates"), which makes them perfect for the browser, now the only question is the memory layout.

comment 1mo ago · link · parent

For Windows, these N data stacks would probably just RESERVE the address space, and as it grows COMMIT it, right?

I guess there would be some penalty to be paid here for smaller pages, but being mostly contigous might also help some.

That to be said, such language seems to require 64-bit virtual address space in order to function reasonably, right?

Also a .dll written in it might not be the best suited, for example if loaded in the middle of fragmented virtual address space it may need to find itself hard to allocate N contigious data stacks (do they absolutely have to be contiguous, what if they are simply ropes or deques or connected chunks ... obviously if some data structure requires to be contigous that would be a problem, but maybe this can be expressed somehow.... or maybe I'm overthinking here).

Super excited about this!

comment 1mo ago · link · parent

I was going to ask the same, but I guess it may also not be good fit for some kernel programming, given that the heap is shared along with other code.

But sounds great for 64-bit user space, with enough (48-bit, or more) virtual addressing available. Obviously one can hit some snags if for some reason quite large allocations has to be done, but maybe one has to rethink that too.

I'm starting to fall in love with this approach ;)

comment 1mo ago · link · parent

He is not "selling" anything. I don't see a price, quite the opposite - it's on the user to evaluate it's points, not on the "seller" (that he is not). Obviously if this becomes paid, or paid through support product this would be one of the first points of the table - "what are the limitations, what should we be aware of sorts".

comment 1mo ago · link · parent

Probably kernel code, or cases where allocation randomization is important. Seems like with goose you may end up executing more deterministically (but still it can randomize where these N data stacks start), but because it's single threaded workers (in essence), all data construction would follow the same pattern, hence an attacker (something snooping your memory) would know easier where things would be.

comment 1mo ago · link · parent

"Threads that share nothing. A worker is compiled as a separate program with its own memory, and flat values cross typed queues as a memcpy. Data races, locks, atomics and memory orderings do not exist in the language."

That reminds me of Dart Isolates - https://dart.dev/language/isolates

comment 1mo ago · link · parent

and what stops AI from "accidentally" writing code with such bugs?

comment 1mo ago · link · parent

I read the "imagination" as prelude to "Jevon's paradox" for AI. It might be that we simply don't know yet what using AI fully means, and where else it can be used and how. Electricity was initially just for lighting, but now it's everywhere...

comment 1mo ago · link · parent

NVIDIA and layoffs - Are you sure? I mean there are probably some, but from what I'm hearing from friends working there - it's not typical....

comment 1mo ago · link · parent

Reminds of what happened in Iceland and their bank/financial restruction since 2008 and how humans had to understand again how finance works.

comment 1mo ago · link · parent

There are several good algos used for diffing graphics for not so pixel-for-pixel rendering allowing thresholds (you are going to end up with differences between software and GPU rendering at least - it's inevitable):

https://github.com/NVlabs/flip

But also SSIM, perceptualdiff, and many others

For UI/web certain other methods are better, for video - I'm sure there are prefferences there too.

comment 1mo ago · link · parent

My son has developed this with Claude as lighter version of Spotify's own player. It requires paid spotify accounts and written in Rust + Tauri. Completely LLM coded.

It says for Windows only, but I think he works on supporting Linux / OSX too.

23.

Themeable Lightweitght Spotify Player(github.com ↗)

2 points · by malkia · 1mo ago · 1 comment

comment 1mo ago · link · parent

This is like piano makers being really bad at playing. I mean it does not relate directly.

comment 1mo ago · link · parent

Looks like Burning Man started as docker service running on my machine, it's been growing since then ... I'm also curious about this!

comment 2mo ago · link · parent

10% of my garrage... okay, exxagerating - but at least 0.1% is the big box of cables of who the fuck knows what ... including several firewire, and really old nintendo, and some that I forgot what it was about...

comment 2mo ago · link · parent

What about the stores where the TV is sold?

comment 2mo ago · link · parent

You can see one of the authors here in the mirror :) - https://restroomarchive.com/r/2024-12-02-the-mart-collective
12345
102