10,237 karma · joined May 11, 2013 (13y ago) · 1,755 submissions
comment 6mo ago · link · parent
https://salsa.debian.org/glibc-team/glibc/-/blob/sid/debian/...
https://src.fedoraproject.org/rpms/glibc/blob/rawhide/f/glib...
2.
Reverse Engineering Crazy Taxi, Part 1(wretched.computer ↗)
6 points · by Jasper_ · 8mo ago · 1 comment
comment 1y ago · link · parent
The Wayland keylogger acts like an application; all Wayland compositors will only send key events to the focused surface, so the user has to focus an active surface in order to get key events. Even in the scenario where you've LD_PRELOAD-hooked all applications, you still will never get the lock screen password, as the compositor never sends it out across the wire.
LD_PRELOAD is problematic from a security perspective, but it's not Wayland-specific: the same issue is true for CLI applications and X11 applications, and any attacker with the ability to write files could also just replace your binaries with malicious ones (stuff them somewhere into ~/.hidden, and then add a $PATH entry to the start).
comment 1y ago · link · parent
DRM/KMS using dumb buffers are the preferred API if you want to do software rendering and modesetting. You can find several examples of this online if you search for drm_mode_create_dumb.
[0] https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds...
comment 1y ago · link · parent
Sun popularized the term "virtual machine" when marketing Java instead of using "interpreter" or "P-code", both for marketing reasons (VMware had just come on the scene and was making tech headlines), but also to get away from the perception of classic interpreters being slower than native code since Java had a JIT compiler. Just-in-time compilers that compiled to the host's machine code at runtime were well-known in research domains at the time, but were much less popular than the more dominant execution models of "AST interpreter" and "bytecode interpreter".
There might be some gatekeepers that suggest that "interpreter" means AST interpreter (not true for the Python interpreter, for instance), or VM always means JIT compiled (not true for Ruby, which calls its bytecode-based MRI "RubyVM" in a few places), but you can ignore them.
comment 1y ago · link · parent
https://dev.epicgames.com/documentation/en-us/unreal-engine/...
comment 1y ago · link · parent
Last year it was their "Thunder" architecture being the world's fastest GPU, now it's Zeus. Neither one actually exists. https://bolt.graphics/bolt-graphics-unveils-thunder-the-worl...
All their blog posts and marketing material are just generic hype about the concept of raytracing. I don't think these guys have an actual product.
comment 1y ago · link · parent
The best anyone can figure out is that it's reversing the left and right branches, which seems like it's ten lines of code, at most?
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
The classic usage is a single source shader which is specialized using #define's and compiled down to hundreds of shaders. This is what Christer uses in that blog post above (and Aras does as well in his ubershader blog post)
Dolphin used it to mean a single source shader that used runtime branches to cover all the bases as a fallback while a specialized shader was compiled behind the scenes.
The even more modern usage now is a single source shader that only uses runtime branches to cover all the features, without any specialization behind the scenes, and that's what Dario means here.
comment 1y ago · link · parent
Driver caches mean that after everything gets "prewarmed", it won't happen again.
comment 1y ago · link · parent
https://cstools.asme.org/csconnect/CommitteePages.cfm?Commit...
comment 1y ago · link · parent
If that's not in your threat model, and you want encryption for another purpose, then I could understand that, but currently, protecting the endpoints against malicious attackers in the middle is the big value of TLS.
comment 1y ago · link · parent
The only way to standardize ~all companies would be to have them all run the same exact ledger system, and if it was easy enough to make them do that, it would be easy enough to have them standardize a different reporting system for the same purpose.
comment 1y ago · link · parent
comment 1y ago · link · parent
If Company A and B already trust each other not to put bad data on the chain, then they also trust each other to just send emails back and forth, and you don't need a cryptographically verified blockchain. It secures the least important part of the process.
23.
The Ultimate Guide to Matrix Multiplication and Ordering(blog.mecheye.net ↗)
2 points · by Jasper_ · 2y ago · discuss
comment 2y ago · link · parent
While it does construct a DAG to perform the graph cut, the final data set on disk is just a flat list of clusters for consideration, along with their cutoffs for inclusion/rejection. There seems to be a considerable misunderstanding of what the DAG is used for, and how it's constructed. It's constructed dynamically based on the vertex data, and doesn't have anything to do with how the artist constructed submeshes and things, nor does "repetition become a link".
> The scene needs a lot of instancing for this to pay off. Unreal Engine demos show such things as a hall of identical statues. If each statue was different, Nanite would help far less.
What makes you say this? The graph cut is different for each instance of the object, so they can't use traditional instancing, and I don't even see how it could help.
comment 2y ago · link · parent
Nintendo could have sued them into oblivion at any time (as the court documents show, they had been stepping over the line for a long time), but chose not to. If it wasn't for the Tears of the Kingdom thing, Yuzu would probably still be around today.