Readit News logoReadit News
sp1rit commented on The .a file is a relic: Why static archives were a bad idea all along   medium.com/@eyal.itkin/th... · Posted by u/eyalitki
benreesman · 2 months ago
It is unclear to me what the author's point is. Its seems to center on the example of DPDK being difficult to link (and it is a bear, I've done it recently).

But its full of strawmen and falsehoods, the most notable being the claims about the deficienies of pkg-config. pkg-config works great, it is just very rarely produced correctly by CMake.

I have tooling and a growing set of libraries that I'll probably open source at some point for producing correct pkg-config from packages that only do lazy CMake. It's glorious. Want abseil? -labsl.

Static libraries have lots of game-changing advantages, but performance, security, and portability are the biggest ones.

People with the will and/or resources (FAANGs, HFT) would laugh in your face if you proposed DLL hell as standard operating procedure. That shit is for the plebs.

It's like symbol stripping: do you think maintainers trip an assert and see a wall of inscrutable hex? They do not.

Vendors like things good for vendors. They market these things as being good for users.

sp1rit · 2 months ago
> Static libraries have lots of game-changing advantages, but performance, security, and portability are the biggest ones.

No idea how you come to that conclusion, as they are definitively no more secure than shared libraries. Rather the opposite is true, given that you (as end user) are usually able to replace a shared library with a newer version, in order to fix security issues. Better portability is also questionable, but I guess it depends on your definition of portable.

sp1rit commented on My bank keeps on undermining anti-phishing education   moritz-mander.de/blog/my_... · Posted by u/cheesepaint
seb1204 · 2 months ago
I know this from sport events but often the lottery or prize draw are organised by external marketing companies. So likely this is one reason for not making it a subdomain.

The other is that Germans seem very bad at this kind of stuff. Why the heck would the application for the German passport or Ausweis be published by some random GmbH and not Bundesregierung.gov?

sp1rit · 2 months ago
> Why the heck would the application for the German passport or Ausweis be published by some random GmbH and not Bundesregierung.gov?

This way the government doesn't have to release information to the public (think FOIA) about it. Moving central part of government operation into a private GmbH wholly owned by the government has (sadly IMHO) become a somewhat common strategy for the government. Not just Governikus (the one with the passport) but also the Telematik (Health system) and probably some more.

sp1rit commented on Closing the Chapter on OpenH264   bbhtt.space/posts/closing... · Posted by u/todsacerdoti
i80and · 5 months ago
Does AV1 need a successor right now? At least as of some years ago SVT-AV1 was stronger than x265 on both software encoding speed and quality/bitrate[1], and a successor would reset the timer on getting hardware decoders rolled out.

[1] https://medium.com/@ewoutterhoeven/av1-is-ready-for-prime-ti...

sp1rit · 5 months ago
It looks like VVC (H.266) will be significantly better compared to HVEC and AV1. But due to the patent issues it'll bound to have, I suspect common usage will practically be nonexistent, just like HVEC.
sp1rit commented on The C23 edition of Modern C   gustedt.wordpress.com/202... · Posted by u/bwidlar
renox · a year ago
-fwrapv is for signed integer overflow not unsigned.
sp1rit · a year ago
Yes, as unsigned overflow is fine by default. AFAIK the issue was originally that there were still machines that used ones complement for describing negative integers instead of the now customary twos complement.
sp1rit commented on Git Bash is my preferred Windows shell   ii.com/git-bash-is-my-pre... · Posted by u/indigodaddy
pathartl · a year ago
Also worth noting that PowerShell is completely independent from Windows now. Not only can you install it in almost every other platform, since it's .NET you can embed the runtime in any .NET application. It's incredibly powerful.
sp1rit · a year ago
> since it's .NET you can embed the runtime in any .NET application

not actually "embedded", more like a bit of shim code that extracts the runtime into some temporary directory that then runs the actual code.

sp1rit commented on Microui+fenster=Small GUI   bernsteinbear.com/blog/fe... · Posted by u/surprisetalk
freeCandy · a year ago
the pixman link isn't working
sp1rit commented on ReMarkable Paper Pro   remarkable.com/... · Posted by u/buro9
boomskats · a year ago
I've owned a rm2 since xmas 2020 and really used to love it. I even brought an old obsidian plugin for it back from the dead. But the power button gave up 13 months in and they were dicks about it, and then when the pen nib holder disintegrated and they insisted it wasn't a known defect, I just gave up and it's been sat on my shelf ever since.

For anyone still into them though, a Lamy EMR pen coupled with the Wacom felt pen nibs (pn ACK22213) is an incredible upgrade which makes it feel like a real fineliner. Similarly, I found the various titanium nibs that you can get off amazon made it feel like a real ballpoint [0].

[0]: https://reddit.com/r/RemarkableTablet/comments/1545mn9/excel...

sp1rit · a year ago
They absolutely know about this, given that the seemingly reworked markers for this tablet have a redesigned nib holder that doesn't look like it breaks as easily as the old ones. This is a common enough issue that there are people on ebay selling caps to replace the broken nib holder, but they seem to expensive for what amounts to a piece of 3D-printed plastic; I might just look into your solution with the lamy pen. It's just a shame that reMarkable is handling those issues so badly. They force you to buy a new pen for $130 because a little piece of broken plastic.
sp1rit commented on Orphaning bcachefs-tools in Debian   jonathancarter.org/2024/0... · Posted by u/pabs3
frankjr · a year ago
The list of dependencies doesn't really seem crazy. Logging, parsing command line arguments, band-aiding error traits, working with uuids, reading binary data, "memset_s". All of those should be a part of the standard library as in any other programming language. The fact that you simply cannot build anything but trivial examples without taking a dependency on a third party library is just plain ridiculous and hinders Rust's adoption (as seen in this case). It's especially ridiculous considering Rust positions itself to be used in mission critical systems and yet essentially requires you to implicitly trust hundreds of maintainers for any non trivial project to not be malicious.

https://github.com/koverstreet/bcachefs-tools/blob/b422b19f6...

sp1rit · a year ago
Still, if you include transitive dependencies you end up with a total of 90 dependencies[0] which is unheard of in systems programming. This for some reason includes stuff like "winapi-i686-pc-windows-gnu" which really has no place for a set of linux software tools.

[0]:https://github.com/gentoo/gentoo/blob/master/sys-fs/bcachefs...

Dead Comment

sp1rit commented on Parsing protobuf at 2+GB/s: how I learned to love tail calls in C (2021)   blog.reverberate.org/2021... · Posted by u/fanf2
sp1rit · a year ago
I wonder how this behaves in combination with __attribute__((cleanup(...))). Especially if the to be cleaned variable is passed into the tail function as parameter.

u/sp1rit

KarmaCake day278December 7, 2020
About
This is an OpenPGP proof that connects my OpenPGP key to this Hackernews account. For details check out https://keyoxide.org/guides/openpgp-proofs

[Verifying my OpenPGP key: openpgp4fpr:BBDE032EAAFBFC627FB7E635B1F4055D8460CE34]

View Original