HNHacker News
TopNewBestAskShowJobs

bno1

327 karma · joined November 19, 2017

submissionscomments
bno1··on Mesa3D Drivers for Windows
Just today I've used this in a Windows 11 QEMU VM to fix rekordbox (it failed to start about 4 out of 5 tries). rekordbox uses Unity with OpenGL for the UI and I guess the devs never tested it on a computer without GPU acceleration. Amazing stuff.
bno1··on Anubis: Proof-of-work proxy to prevent AI crawlers
What stops a scraper from detecting Anubis and just removing "Mozilla" from the user-agent string?
bno1··on Factorio – Statistics improvements, Linux adventures
I wonder how they deal with multi-threading. Forking a multi-threaded process is very error-prone (e.g. allocator locks can remain orphaned).
bno1··on Linux 6.10 to Merge Driver for Emulating Windows NT Synchronization Primitives
Proton uses esync or fsync which (from what I've read) are on-par with ntsync. However, esync and fsync can't be merged into upstream wine because they can't properly emulate some quirks of NT sync objects, hence the ntsync driver.
bno1··on Hidden dependencies in Linux binaries
A big issue with IPC is thread scheduling. Thread B needs to get scheduled to see the request from thread A and thread A needs to get scheduled to see the response from thread B. I think there are WIP solutions to deal with this [1] this but I'm not up to date.

[1] https://www.phoronix.com/news/Google-User-Thread-Futex-Swap

bno1··on Pack: A new container format for compressed files
I found squashfs to be a great archive format. It preserves Linux file ownership and permissions, you can extract individual files without parsing the entire archive like tar and it's mountable. It's also openable in 7zip.

I wonder how pack compares to it, but its home page and github don't tell much.

bno1··on House passes bill to force TikTok sale from Chinese owner or ban the app
Why doesn't USA pass a law that enforces data on US citizens to be stored in the US, like GDPR does in EU?
bno1··on Spec Ops: The Line permanently removed from Steam and other digital stores
Errant Signal's analysis is also really good: https://youtu.be/wlBrenhzMZI
bno1··on Khronos Releases AV1 Decode in Vulkan Video with SDK Support for H.264/H.265
No, the entire point of those vulkan extensions is to use the hardware-accelerated video processing units. You can use computer shaders for software decoding on the GPU, there is no need for special extensions to do that. AMD and Intel have specialized encoding/decoding hw too.
bno1··on An RNG that runs in your brain
Isn't inverse transform sampling even faster than ziggurat? Most languages have an approximate erf^-1 implementation, everything is straight forward from there. I needed to generate random numbers from a truncated normal distribution and found inverse transform sampling easier to implement than trying to understand and adapt the ziggurat algorithm.

A nice blog on this: https://stackedboxes.org/2017/05/01/acklams-normal-quantile-...

bno1··on ARM's "Blackhawk" CPU Is a Plan to Have the Best Smartphone CPU Core
I think the people who say the Pixel 8 slow are gamers. Even a cheap phone is fast enough for the vast majority of people unless they play 3D games on it.
bno1··on Elbrus-8S
Someone is trying to game on them, or at least run DirectX apps in Linux, based on this PR: https://github.com/doitsujin/dxvk/pull/3795
bno1··on The Internet Is Full of AI Dogshit
"The internet has been broken in a fundamental way. It is no longer a repository of people communicating with people"

But the examples given are... google search results and articles from big publishers, things made to cast a wide net. Those were never good ways to communicate with other people online imo. If you want to interact with real people look for smaller communities and individual creators.

bno1··on Newly discovered deep-sea enzyme breaks down PET plastic
I wonder what forests looked back then. Trees going through and on piles of dead trees?
bno1··on What's up with this new memory_order_consume memory order?
Thank you, makes sense now
bno1··on What's up with this new memory_order_consume memory order?
> Note that an acquire load of p would have prohibited this reordering, since acquire loads block all future memory access, even if unrelated to the value being acquired.

I don't really get this part. The docs for acquire say:

> memory_order_acquire A load operation with this memory order performs the acquire operation on the affected memory location: no reads or writes in the current thread can be reordered before this load. All writes in other threads that release the same atomic variable are visible in the current thread

The prefetch is already ordered before the load in the same thread.

bno1··on Faster LZ is not the answer to 150-250 GB video game downloads
Saving a few ms during decompression actually matters when the game streams data from the disk in real time. People also hate loading screens and objects popping-in because the streaming pipeline is slow.
bno1··on Deep Dive into ZGC: A Modern Garbage Collector in OpenJDK (2022) [pdf]
Well yes, because on Linux you use mmap to reserve virtual memory.

I wouldn't say that tooling is not aware of all that. For example, top and htop display virtual memory and resident memory and shared memory. You need to look at resident memory if you want to know physical memory usage.

bno1··on Deep Dive into ZGC: A Modern Garbage Collector in OpenJDK (2022) [pdf]
That's most likely reserved virtual memory. It's not committed, meaning it's not backed by physical memory.
bno1··on Android launches yet another way to spy on users with “Privacy Sandbox” beta
I don't really get the point of the article. You can opt out of the privacy sandbox and block interests you don't want apps to see. The biggest change seems to be that chrome cand feed data into this system through an Android API, but doesn't this already happen through telemetry, analytics scripts and fingerprinting? You can also just not use chrome.
bno1··on How Nvidia’s CUDA Monopoly in Machine Learning Is Breaking
https://rocmdocs.amd.com/en/latest/Programming_Guides/HIP-po...
bno1··on Carmack on star fields in VR
Sounds like you want font hinting but for vector graphics.
bno1··on Help seed Z-Library on IPFS
*piracy sorry
bno1··on Help seed Z-Library on IPFS
Copying is privacy and piracy is still an issue for the host.
bno1··on Introducing NVK
Just yesterday zmike held a presentation about Zink at XDC, it's very interesting to hear about all the issues they had to deal with (he's also a great person to listen to): https://youtu.be/0XSJG5xGZfU?t=6h49m36s
bno1··on Ubisoft will let you transfer your Stadia purchases to PC
Their "negative latency" thing really didn't sound practical at all for games where latency matters.
bno1··on GET3D: A Generative Model of High Quality 3D Textured Shapes Learned from Images
Generating an UV map from an untextured mesh. The UV map is stored in vertices as texture coordinates, and together with the topology of the mesh it defines how the texture (images) gets mapped to the mesh. A good UV maps preserve surface area (e.g. every region of the mesh map to regions of the texture proportionally, otherwise you get stretching), have few seams and have little empty space around the texture to reduce size.

There are ways to do this automatically but they're far from perfect. Artists usually take the mesh and literally unwrap it until it's planar, and convert this transformed mesh to the UV mapping. The advantage of this method is that it gives you very good control of seams and texture islands, but it's tricky to preserve surface area.

Those neural rendering methods are very cool because they use light/color fields, but they still have a lot of catching up to do compared to modern 3D graphics.

bno1··on GET3D: A Generative Model of High Quality 3D Textured Shapes Learned from Images
An AI that does good UV unwrapping would be much more interesting and useful.
bno1··on Pypi.org is running a survey on the state of Python packaging
I wish pip had some package deduplication implemented. Even some basic local environments have >100MB of dependencies. ML environments go into the gigabytes range from what I remember.
bno1··on Artificial synapses 10k times faster than real thing
They do transport you to the other side tho
Page 1 of 3Next →