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 Lobotomizing Gnome (2018)
I believe the maintainer of the Fedora KDE spin actually commented on this on reddit some months back. Basically KDE unlike GNOME is a packaging nightmare. Too many packages with a few having lots of deps. On top of that the release schedule has zero alignment to any non rolling release (and multiple since all package can be grouped in 3 differents suites with their own schedule) which usually ends up have outdated KDE. Infact the best KDE experience is tumbleweed or arch which are both rolling releases. GNOME has no such issue. I belive KDE is adjusting the release schedule to try to solve this(I think they will switching to a 6 month schedule after plasma 6)
marcthe12··on Tell HN: "I don't care about cookies” extension bought by Avast, users jump ship
Technically that is what chrome MV3 is. The issue with that is they also heavily restricted any kind of content blocker by removing most APIs with a declarative api
marcthe12··on Response to “Developers are lazy, thus Flatpak”
I have 64 apps installed which takes 11GB. And I have Steam with proton and app that uses texlive which combined are more than a GB in size and to my knowledge same on distros. Since OP is a dev for front end for wine which is shipped as flatpak, likely a lot big apps.
marcthe12··on Calling time on DNSSEC: The costs exceed the benefits
Do you have a guide to do that?
marcthe12··on That people produce HTML with string templates is telling us something
One big issue is that this API is not available on sever side(node) or in workers.
marcthe12··on The Case for Bash (2021)
Arch does not do much spliting (except ruby where there is some kind of circular dependency)

Any way for: python - 75M perl - 59M ruby - 25M bash - 8M dash - 0.15M

marcthe12··on Linux kernel use-after-free in Netfilter, local privilege escalation
Most, I think Debian has patch to be disabled at runtime via sysctl. The reason is that most containers or sandboxing techniques are root only unless you mix it with user namescapes. So most container or sandbox software use suid(firejail) , root daemon(docker) or user namescapes (podman and flatpak). Looking at the cves, user namespaces is probably the safer option
marcthe12··on Fedora 38 LLVM vs. Team Fortress 2
There are a few dependencies that can not be easily vendored (At least not recommended). Mesa is probably the biggest example (An this case was caused by a mesa dependency). You can vendor them technically or even static link them but then you might end up with limited hardware support. The only alternative is to setup a mini opengl distro.
marcthe12··on All 1,400 Google Chrome CLI flags
They could done what bwrap does where there is a special CMD flag that tell program to read the flags from FD. So in flatpak which generally has to give a few kbs of flag to bwrap just pass this via FD. Now whether this works on all supported platform is an another question in it self
marcthe12··on All 1,400 Google Chrome CLI flags
Yep. Web browsers are new Xorg(In more way then most people realize. I wonder at this point, we could make web browsers some X Wayland style daemon.
marcthe12··on Fears of ‘dead pool’ on Colorado River as drought threatens Hoover Dam water
for plants, the issue is transpiration where water escape as steam through the leaves.

The cleanup part though has used for domestic application sucessfully in several places like Singapore and Las Vegas. What the do is that the cities domestic waste water is cleaned up to the point it is safe to be used a gain (quality become equal or better that the source). This can be now recycled back. I wonder if this can be implemented for industrial waste water.

marcthe12··on Unix's technical history is mostly old now
Systemd started as a launchd clone actually.
marcthe12··on Mildly interesting quirks of C
C quirks. This is interesting. I have used some of the tricks myself, #1,#2,#4,#5.

#2 and #5 can be combined to make and interesting hack. When combinded with memcpy you can do

    int *a = memcpy(&(int){0}, b, sizeof *b);
C23 typeof makes this even more interesting

If you what an challenge here is a standard compliant c code. Try to undestand it. If can understand you are a master of c's type system

    static int* (*const *(*restrict x)[5])(volatile union {struct{int a;int b;};}[static const restrict 5], register enum{HELLO,WORLD} a) = {0};
marcthe12··on Why does zsh start so slowly?
Which ksh flavour? Also any good tutorial?
marcthe12··on Ask HN: Can you recommend me a fast, light text editor for Windows?
I usually use vim on windows but if that is a hassle, there is KDE Kate. That is a very good editor. Definitely one of the best editors if you do not care about plugins that much.
marcthe12··on Feel the power of the Manifest v3
Basically xpcom and XUL can be treated in same way as gnome-shell.

XPCOM was a object model from the 90s and had several legacy issues. On top of that was XUL and XBL were obselete by improvements to web api and was badly mainatined. Like Gnome-shell, xul extentsion were monkey patching firefox internals. So firefox was limited on certain security and performance improvement. By removing old addons, firefox could start replacing the mess of the old subsystems. XBL was removed for example and xul I think still exist but a fraction of the former self. I don't think the can remove xpcom until they can port a 50% of firefox to rust though

marcthe12··on Vim 9.0
It's X11 only. So Wayland or remote users can not use it.
marcthe12··on Rejecting data demands, ExpressVPN removes VPN servers in India
The law includes data request for owner and IP of VPSes too. So maybe no logs but the IP address and the VPS will be tied to your real identity anyway so no improvement
marcthe12··on The balance has shifted away from SPAs
I do agree alot with the article. One of the major use case SPAs was optimization hack that service worker can do easily. Service worker are like proxy middleware and are capable of some nifty tricks. Since I am not in web dev that much so I never actually managed to develop a project using it, but I felt that the templating could done fully in service worker. It will be faster as long the templating/transcompiling is not a bottleneck as the on wire format will be smaller. The main issue will be bootstrapping as you need to load a page first to install the service worker. I wonder if there is a good solution to that? (One idea is a service worker middleware on node so you can the service worker in the server side on first time use).
marcthe12··on Pipewire to replace Pulseaudion on Ubuntu 22.10
Arch never switched since doesn't enforce the default sound server. You can choose any unless dependencies force use to use one. The official arch installer even prompts the user to chose between pipewire and pulse on install.
marcthe12··on Discussions: Real human answers in search results
Shilling and shameless plugs.
marcthe12··on Firefox 96
I know there is quirks file for webkit which is used to be safari and webkit was forked to blink which runs chromium so it depend if its still there.
marcthe12··on The V Programming Language Simple, fast, safe, compiled
under development actually. The language devs are planing to use the c backend for bootstraping the self compling zig compiler which is in works
marcthe12··on Fedora 35
Its not gnome specific but the daemon used is new and gnome and kde have only got integration recently.
marcthe12··on Turning stem cells into human eggs
> I suppose you can get mad at God, but we have yet to figure out how to sue them.

That is actually a plot of a Bollywood film "OMG: Oh my God" where after an earthquake demolished the protagonist's shop and denied insurance payment due an "Act of God" clause, he sues God in court.

marcthe12··on Enabling IPv6 support for GitHub Pages
Easy, India vs USA stats show that. India had an internet boom after exhaustion so its adoption is new hardware. USA's boom predates IPv6 so its mostly replaced.
marcthe12··on You either die an MVP or live long enough to build content moderation
Well this sound very similar to PKI and domain registar so the issues with them are pretty same.

But like PKI, if we can have id providers delegated by high authorities, the roots could be governments which could delete to smaller entites and so on. Not to much diff from pasports or liscence

marcthe12··on You either die an MVP or live long enough to build content moderation
Privacy issues? That come up alot here on HN
marcthe12··on Engineers are developing new ways to convert greenhouse gases to fuel
Depends on the cause of emissions. A few are not for purely energy but involved in some kind of chemical reaction. Concrete and Metal extraction are 2 examples. Having a way to offset is important in a cheap manner. Metal extraction esp is a prob as carbon reacts with several metal oxides and reduces it releasing heat. Since it generates heat and creates the final product, it prob more efficient then the alternative electrolysis route.

But yes offsetting CO2 produced due to energy is a waste.

marcthe12··on PipeWire: A server for Linux audio and video streams
Yes as long it does not use some kind of modules. But 99% of programs can already use pipewire via the shim.
← PreviousPage 2 of 6Next →