Readit News logoReadit News
leni536 commented on PlayStation 2 Recompilation Project Is Absolutely Incredible   redgamingtech.com/playsta... · Posted by u/croes
PetitPrince · 12 days ago
I join my voice in disgreeing with this. While some games can indeed be rose-tinted (I have fond memory of that Game Boy Spiderman game, and it's a terrible shoverware game), many of them are traiblazer (like, invented a genre) or are still standing on their own very well.
leni536 · 12 days ago
Some? There are tons of horrible old games, vastly outnumbering the good ones. It's just by now it's fairly established what the good games are and the bad ones are mostly forgotten my most.

We simply don't have the same luxury with new games, they can be hit and miss, and reviews are untrustworthy.

leni536 commented on JuiceSSH – Give me my pro features back   nproject.io/blog/juicessh... · Posted by u/jandeboevrie
graemep · 16 days ago
So no backups?
leni536 · 16 days ago
You can have backup private keys, they don't have to be copies of some other private keys.
leni536 commented on The Holy Grail of Linux Binary Compatibility: Musl and Dlopen   github.com/quaadgras/grap... · Posted by u/Splizard
Splizard · 16 days ago
You have to tell musl to use mmap instead of brk. You're right that it doesn't work in all cases but as long as you switch TLS on calls (and callbacks), at least with a project the size of Godot, you can approach a workable solution.
leni536 · 16 days ago
> You have to tell musl to use mmap instead of brk.

How do I do that? Is there a documented configuration of musl's allocator?

leni536 commented on The Holy Grail of Linux Binary Compatibility: Musl and Dlopen   github.com/quaadgras/grap... · Posted by u/Splizard
leni536 · 16 days ago
Do I get this right that this effectively dlopens glibc (indirectly) into an executable that is statically linked to musl? How can the two runtimes coexist? What about malloc/free? AFAIK both libc's allocators take ownership of brk, that can't be good. What about malloc/free across the dynamic library interface? There are certainly libraries that hand out allocated objects and expect the user to free them, but that's probably uncommon in graphics.
leni536 commented on Gathering Linux Syscall Numbers in a C Table   t-cadet.github.io/program... · Posted by u/phi-system
leni536 · 20 days ago
> In an ideal world, there would be a header-only C library provided by the Linux kernel; we would include that file and be done with it. As it turns out, there is no such file, and interfacing with syscalls is complicated.

Isn't that nolibc.h?

leni536 commented on What you need to know before touching a video file   gist.github.com/arch1t3ch... · Posted by u/qbow883
craftkiller · a month ago
Something I've never been able to find satisfactory information on (and unfortunately this article also declares it out of scope), is what is the actual hard on-the-wire and on-disk differences between SDR and HDR? Like yes, I know HDR = high dynamic range = bigger difference between light and dark, but what technical changes were needed to accomplish this?

The way I understand it, we've got the YCbCr that is being converted to an RGB value which directly corresponds to how bright we drive the R, G, and B subpixels. So wouldn't the entire range already be available? As in, post-conversion to RGB you've got 256 levels for each channel which can be anywhere from 0 to 255 or 0% to 100%? We could go to 10-bit color which would then give you finer control with 1024 levels per channel instead of 256, but you still have the same range of 0% to 100%. Does the YCbCr -> RGB conversion not use the full 0-255 range in RGB?

Naturally, we can stick brighter backlights in our monitors to make the difference between light and dark more significant, but that wouldn't change the on-disk or on-the-wire formats. Those formats have changed (video files are specifically HDR or SDR and operating systems need to support HDR to drive HDR monitors), so clearly I am missing something but all of my searches only find people comparing the final image without digging into the technical details behind the shift. Anyone care to explain or have links to a good source of information on the topic?

leni536 · a month ago
leni536 commented on C++ says “We have try... finally at home”   devblogs.microsoft.com/ol... · Posted by u/ibobev
sigwinch28 · a month ago
A writable file closing itself when it goes out of scope is usually not great, since errors can occur when closing the file, especially when using networked file systems.

https://github.com/isocpp/CppCoreGuidelines/issues/2203

leni536 · a month ago
Any fallible cleanup function is awkward, regardless of error handling mechanism.
leni536 commented on Log level 'error' should mean that something needs to be fixed   utcc.utoronto.ca/~cks/spa... · Posted by u/todsacerdoti
leni536 · 2 months ago
I make error logs fail happy path functional/integration tests for the backend applications I'm currently writing.
leni536 commented on Show HN: Pegma, an open-source version of the classic Peg solitaire   pegma.vercel.app... · Posted by u/GlebShalimov
leni536 · 3 months ago
Requires google play to run :/
leni536 commented on Show HN: Pegma, an open-source version of the classic Peg solitaire   pegma.vercel.app... · Posted by u/GlebShalimov
cdfuller · 3 months ago
How do you try it out in the web browser? There's no obvious link on the website
leni536 · 3 months ago
At the meantime (not mobile friendly): https://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/pegs...

It is part of Simon Tatham's puzzle collection, it also has an app on F-Droid:

https://f-droid.org/en/packages/name.boyle.chris.sgtpuzzles/

And the sgt-puzzles package on Debian/Ubuntu, possibly other distros package it too.

u/leni536

KarmaCake day4219March 11, 2014
About
Software Developer, PhD Physicist

hn at lenardszolnoki dot com

View Original