HNHacker News
TopNewBestAskShowJobs

lsbehe

67 karma · joined March 3, 2022

submissionscomments
lsbehe··on GitLost: We Tricked GitHub's AI Agent into Leaking Private Repos
I have tried a few self-hosted forges but I resorted to only ssh and `git init -bare` folders. Zero processing if I'm not currently pushing or pulling changes.
lsbehe··on The first early human eggs from stem cells
What exactly is the good idea? It's ignoring my accessibility options. I'm getting motion sickness.
lsbehe··on Python 3.15: features that didn't make the headlines
The tons of python code would be great training data if there was any consistency across the ecosystem. Yet every project I've touched required me to learn it's unique style. Then I'd imagine they practically poisoned half the training set because python2 is subtly different.
lsbehe··on All phones sold in the EU to have replaceable batteries from 2027
While standardization would be nice, I can still order batteries for the Samsung phones I've used 15 years ago. Availability might not be that much of an issue with larger brands.
lsbehe··on ATMs didn’t kill bank teller jobs, but the iPhone did
Everyone I knew working as a bank teller quit because the actual job is screwing over old people with bad performing and long lasting investments. My bank calls me at least once a year to tell me my personal bank teller changed again.
lsbehe··on The war against PDFs is heating up
I'll miss getting documentation as a pile of pictures in a PDF.
lsbehe··on Libbbf: Bound Book Format, A high-performance container for comics and manga
Why are the metadata blocks the way they are? I see you used pack directives but there already are plenty of padding and reserved bits. A 19 byte header just seems wrong. https://github.com/ef1500/libbbf/blob/b3ff5cb83d5ef1d841eca1...
lsbehe··on Understanding the Worst .NET Vulnerability
archlinux doesn't offer the new version yet. https://archlinux.org/packages/extra/x86_64/aspnet-runtime/ Only exposing stuff behind caddy so it doesn't seem to be an issue.
lsbehe··on Understanding the Worst .NET Vulnerability
M$ offers system wide installations. Those don't seem to be updated automatically either but at least I don't have to deploy 6 servers now.
lsbehe··on Lessons learned from a successful Rust rewrite
He mentioned FFI into and out of his code, which has been my main encounter with unsafe rust too. Often enough I could limit the use to the entry/exit code but that's not always possible.
lsbehe··on Intel is using DXVK for their Windows Arc GPU DX9 drivers
Intel doesn't ship "native" DX9 drivers for Arc. It's either Microsofts D3D9On12 or DXVK.
lsbehe··on Museum of Failure
I have to reload every page multiple times until it loads. Can we please stop having static websites rely on 65 (???) scripts.
lsbehe··on The number of comparisons needed to sort a shuffled array: qsort vs. std:sort
Worth noting that the author, Daniel Lemire, wrote the great and incredible fast libraries simdjson and simdutf.
lsbehe··on Performance reviews don’t assess performance
I hate this kind of article where something constantly moves. I can't scroll away one funny GIF without the next one appearing.

What kind of person does this appeal to?

lsbehe··on Show HN: Minimal, no-JS web forum software
It's not caching the stylesheet. If you plan on updating it a lot you should still enable caching and e.g. increment a url parameter every time you change it (like style.css?v=3).
lsbehe··on Show HN: Minimal, no-JS web forum software
Very nice work.
lsbehe··on AI converts between hundreds of programming languages
Tried CHIP-8 and so far I got

// TODO: Translate the above Rust into CHIP-8

### TODO

and now it got stuck on emitting some assembly. I don't exactly know what because CHIP-8 doesn't have an assembly representation.

It printed this 16 times

  @0000
    LD V0, [I]
    LD V1, [I + 1]
    LD V2, [I + 2]
    ADD I, 3
    LD V3, [I]
    LD V4, [I + 1]
    LD V5, [I + 2]
    ADD I, 3
    LD V6, [I]
    LD V7, [I + 1]
    LD V8, [I + 2]
    ADD I, 3
    LD V9, [I]
    LD VA, [I + 1]
    LD VB, [I + 2]
    ADD I, 3
    LD VC, [I]
    LD VD, [I + 1]
    LD VE, [I + 2]
    ADD I, 3
    LD VF, [I]
    LD I, V0
    LD V0, [I]
lsbehe··on IPv6 support for cloning Git repositories?
IPv6 isn't 6 bytes It's 16 bytes. With your example it would be 10.20.30.40.50.60.70.80.90.100.110.120.130.140.150.160

Also we don't live in a world where you type IP addresses into your browser. DNS is an unfortunate case but generally you don't have to do it constantly at least.

lsbehe··on Tool beeps every time data is sent to Google
Installed obs studio on my wayland+pipewire machine and it just worked. Full screen capture with multiple audio sources simultaneously.
lsbehe··on What's TypeScript compiling? Use a treemap to find out
That treemap looks neat. Knowing which dependencies pull in a lot of code is very useful.

What confuses me though is how much space these libraries take.

321kb for a router? 3.4mb for material ui? 1mb for jquery?

lsbehe··on Nutanix Objects violates MinIO’s open source license
libvirt uses LGPL and the KVM/linux kernel uses GPL. Both are fine to keep to yourself if you run it on your own machine and only expose it over the network.

MinIO uses AGPL which explicitly includes network usage so Nutanix is forced to provide all patches and associated code.

lsbehe··on Slack Price Increase beginning Sep 2022
>`<meta http-equiv="refresh" content="0; URL=">`

Blocking javascript causes every page on slack.com to continuously refresh. Why?

lsbehe··on SearchHut
This one is actually hilarious because google cites the site wrong for me. >Apache HTTP Server >It is one of the most popular web servers around the world. As of May 2022, Apache holds 31.5% of the market according to W3Techs and 22.99% according to Netcraft. It's quoting that from https://www.stackscale.com/blog/top-web-servers/ which clearly states Nginx as the top one. >As of May 2022, Nginx holds 33.5% of the market according to W3Techs and 30.71% according to Netcraft.
lsbehe··on Retbleed: New speculative execution attack sends Intel and AMD scrambling
Consider disabling javascript on websites by default and only allowing it on those that you trust. e.g. uBlock origin has that built in. You'd be surprised how much still works perfectly fine and of cause, which sites break for no good reason.
lsbehe··on [matrix] Conduit Beta at Ungleich
Neat. I tried conduit a few months ago and didn't find it to be stable enough for my personal usage. I'll give ungleich's home server a try and set it up again if it works well enough.
lsbehe··on Ask HN: CS grad who barely knows any CS
Did that quiz too now. Not having any knowledge of Javascript or SQL I still got a 18/30. Fishy that they won't let you look at what you got wrong/right.
lsbehe··on Web Development for Beginners – A Curriculum
hello sir, how do I create webapp without html/css, thank you
lsbehe··on CSS's !important was added because of laws about font size for some text
One of the reasons I installed an add-on to redirect twitter links to https://nitter.net/
lsbehe··on Malicious NPM dependency injection in Unity Hub 3.1.0 targetting Russians
node-ipc https://github.com/RIAEvangelist/node-ipc

They removed the code of the public repo by now but you can still find references in the issue threads

lsbehe··on Lapce – Fast open-source code editor
The gigantic executable size is a rust issue I'm very dissatisfied with.

There are a few factors that contribute more or less to this. In no particular order:

- many dependencies badly handle additional, potentially unwanted features (many aren't optional at all and take runtime checked branches)

- lto is disabled by default on release builds

- release builds still bundle a lot of debug info (should only affects binary, not memory size)

- backtracing on panic pulls in a big backtracing library, formating code and string literals

Enabling lto shaved off 10mb of my build just now