HNHacker News
TopNewBestAskShowJobs

marcthe12

586 karma · joined October 25, 2018

Likes to create programs. Loves to be updated on the latest news and in General Knowledge.
submissionscomments
marcthe12··on Simplifying Vulkan one subsystem at a time
Unfornately that is llvm which is not stable (abi break every 6 months).
marcthe12··on Lennart Poettering, Christian Brauner founded a new company
You can enroll your own and LP goal is basically based on the assumption that you can enroll your own
marcthe12··on Banned C++ features in Chromium
Well platforms with CHAR_BIT != 8. In c and c++ char and there for byte is atleast 8 bytes not 8 bytes. POSIX does force CHAR_BIT == 8. I think only place is in embeded and that to some DSPs or ASICs like device. So in practice most code will break on those platforms and they are very rare. But they are still technically supported by c and c++ std. Similarly how c still suported non 2's complement arch till 2023.
marcthe12··on IPv6 just turned 30 and still hasn't taken over the world
Since cgnat means NATing a huge number of legimate device to a single ip. So angry users is the answer. Also note mobile users are usually the cgnat.
marcthe12··on Loss32: Let's Build a Win32/Linux
Well flatpak was started pre oci. But its core is is just ostree + bwrap. Bwrap does the sandboxing and ostree handles the storage and mount. Now there still a few more stuff but these 2 are the equivalent to docker. Bwrap is also used for steam and some other sandboxing usecases. Ostree is the core of fedora silverblue. Runtimes are special distros in a way, but since the official one are pretty building everything from source so the repos tend to be messy with buildscripts for everything.
marcthe12··on How I protect my Forgejo instance from AI web crawlers
Basically the scrappers do not bother to cache your website or if they do, with an insanely low ttl. Also they do not specialize the content. So the worst hit sites are something like git hosting due the bfs style scrape (every link). The worst part is alot of this is done via tunneling so ip can be different each time or from residential ops. Which makes it annoying.
marcthe12··on Show HN: Autograd.c – A tiny ML framework built from scratch
We would need to mirror jax architecture more. Since the jax is sort of jit arch wise. Basically you somehow need a good way to convert computational graph to machine code while at compile time also perform a set of operations on the graph.
marcthe12··on Brave blocks Microsoft Recall by default
Yes and screen recoders
marcthe12··on A 14kb page can load much faster than a 15kb page (2022)
Well there is mathml but it has poor support in chrome til recently. That is the website native equations formatting.
marcthe12··on Linux and Secure Boot certificate expiration
The arch wiki has the best source https://wiki.archlinux.org/title/Unified_Extensible_Firmware...

Note sbctl is one of the easier tools to do this.

marcthe12··on How I use my terminal
I mean there is a middle ground. LSP is good for coding a project. But I do agree with your point. What I generally do (as nvim user) reduces plugins to the bare minimum and try as much as possible to do progressive enhancement (atleast I try). Maybe as nvim improves LSP, I hope the diff between LSP and native methods are close enough that they both work.
marcthe12··on Finland announces migration of its rail network to international gauge
India had a meter gauge to broad gauge but India was always a mix and India did a very slow transition to standardize on broad gauge which kinda smoothen stuff quiet a bit
marcthe12··on Landrun: Sandbox any Linux process using Landlock, no root or containers
Thats is xdg-portals and it works. It needs apps to support it though which slows adoption
marcthe12··on Switching from Pyenv to Uv
Do you need a wrapper script for scripts in the PATH or execve? I would usualy chmod+x the script but I am not sure here.
marcthe12··on Trust in Firefox and Mozilla Is Gone – Let's Talk Alternatives
Epiphany is a webkit browser for linux and due webkit architecture, gtkwebkit uses alot of gnome components such as libsoup and gstreamer. The biggest flaw is the webrtc support is missing so not online meetings.
marcthe12··on Microsoft begins turning off uBlock Origin and other extensions in Edge
I think the distinction is a soft fork or a hard fork. A soft fork is just a patchset over upstream and some people do not call it a fork. Hard fork mean that you are diverging from upstream, you do not longer follow upstream and you are fully separate from the upstream
marcthe12··on RGFW: Single-header C99 window abstraction library
Waylands problem is that to use it, you need code generation so the wayland backend kinda hard to design for a header only lib.
marcthe12··on Improving Steam Client Stability on Linux
Upstream Kde is now making an arch based immutable distro too. As steamOS is already using kde and arch, maybe once the kde distro is release, steam will rebase on that instead. Also Valve is now funding Archlinux so they are commited to arch.
marcthe12··on Australia/Lord_Howe is the weirdest timezone
Yep. And the logic can be made very easy. Outside polar regions or outer space, timezone could simply be the longitude/15 degrees rounded to a constant fraction. This is not perfect as cities maybe in 2 time zones but this basically a really good approximation.
marcthe12··on Porting systemd to musl Libc-powered Linux
Some Alpine linux derivatives are kinda want switch to systemd and hence the porting
marcthe12··on CrowdStrike Update: Windows Bluescreen and Boot Loops
I mean crowdstrike has a linux equivalent which broke rhel recently by triggering kernel panic
marcthe12··on Reclaiming IPv4 Class E's 240.0.0.0/4
USA is has to much legacy interim to do this. I think India has the best leverage having being one the highest IPv6 adoption and shear number of internet users, so it easier get all main blockers of IPv6 only internet usuable.
marcthe12··on Modern C for Fedora (and the World)
Well Clang also did this for clang 16 and tried to ship it with 16. Most of these were K&R C constructs that were deprecated in c89. c23 kinda removes and in one case even repurposes the code. So on GCC and Clang side, it was c23 compliance and on fedora and gentoo(which also helped) force by compiler defaults.
marcthe12··on The world nearly adopted a calendar with 13 months of 28 days
Alot of religions kinda use the week for weekly prayer (all Abrahamic religions) so you kinda stuck with it since you need to take that into account
marcthe12··on Doas – dedicated OpenBSD application subexecutor
The main thing missing is sudoedit equivalent. That replaces doas vi which is a security whole
marcthe12··on The Future of the Vim Project
Google groups I can't comment but Github is a relative new thing. They were also still accepting patches on the mailing list(I believe the github pull request were mirrored to the ml or something like that). Bram was often replying to issues and pull request via email so github adoption doesn't seem to what Bram wanted. So no migration away from github.
marcthe12··on The Future of the Vim Project
Neovim remove set compatible (hardcodes set nocompatible). Vim support the POSIX vi via that option.
marcthe12··on Mali Government takes back .ml domain, brings down one of largest Lemmy servers
ccTLD which this is the part is supposed to be under full control of the government of the owning country. It is supposed to be for local used. So such TLDs are equivalent of opening a shop in the country so they are free to do so.
marcthe12··on Web Environment Integrity API Proposal
It may not be that easy as now that stuff like banks and government services have embrance it. If they or your work/school apps need it, you are screwed
marcthe12··on Wayland on OpenBSD
Well I believe there is foot. GTK devs ae planning to drop X11 support in gtk5 and they will start work on that after gnome 45 release so in a couple of years, all gnome apps
Page 1 of 6Next →