Better HN
topnewbestaskshowjobs
Log inSign up

lsbehe

67 karma · joined Mar 3, 2022 (4y ago) · 35 submissions

Submissions

comment 4mo ago · link · parent

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.

comment 4mo ago · link · parent

What exactly is the good idea? It's ignoring my accessibility options. I'm getting motion sickness.

comment 6mo ago · link · parent

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.

comment 7mo ago · link · parent

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.

comment 8mo ago · link · parent

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.

comment 8mo ago · link · parent

I'll miss getting documentation as a pile of pictures in a PDF.

comment 10mo ago · link · parent

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...

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 3y ago · link · parent

Intel doesn't ship "native" DX9 drivers for Arc. It's either Microsofts D3D9On12 or DXVK.

comment 4y ago · link · parent

I have to reload every page multiple times until it loads. Can we please stop having static websites rely on 65 (???) scripts.

13.

UDON: A post mortem on VRChat's horrible scripting language(boxcat.site ↗)

1 points · by lsbehe · 4y ago · discuss

comment 4y ago · link · parent

Worth noting that the author, Daniel Lemire, wrote the great and incredible fast libraries simdjson and simdutf.

comment 4y ago · link · parent

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?

comment 4y ago · link · parent

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).

comment 4y ago · link · parent

Very nice work.

comment 4y ago · link · parent

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]

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Installed obs studio on my wayland+pipewire machine and it just worked. Full screen capture with multiple audio sources simultaneously.

comment 4y ago · link · parent

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?

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

>`<meta http-equiv="refresh" content="0; URL=">`

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

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

hello sir, how do I create webapp without html/css, thank you
12