Hacker Newsnew | past | comments | ask | show | jobs | submit | alyandon's commentslogin

It's the web browser and electron based apps that are the primary consumers of ram on my desktops with the DE and OS ram usage being minimal by comparison.

I have an ancient laptop from 2008 with 4GB of ram that runs a modern KDE desktop and related applications just fine that I use for troubleshooting stuff. However, the moment I open a web browser it basically falls to pieces.

I hate everything about this. :-/


> I have an ancient laptop from 2008 with 4GB of ram that runs a modern KDE desktop

Try Alpine Linux, with Xfce which can do most of the same things. Then enable swap compression -- add this to the end of the kernel line in your bootloader:

zswap.enabled=1

This compresses everything going to swap, and decompresses it coming back: less disk reads and writes, and less space used.

Everything gets quicker.


That's easy to fix:

    Step 1:

    sudo tee /etc/tmpfiles.d/mglru.conf <<EOF
    w-      /sys/kernel/mm/lru_gen/enabled          -       -       -       -       y
    w-      /sys/kernel/mm/lru_gen/min_ttl_ms       -       -       -       -       300
    EOF
    
    Step 2:
    
    
    apt install zram-tools
    sed -i 's/#PERCENT=.*/PERCENT=130/' /etc/default/zramswap

I'm on an older LTS kernel so no support for lru_gen but I will definitely check out zramswap - thanks.

Then also do this:

    echo vm.page-cluster=0 >> /etc/sysctl.d/85-swappiness.conf

People are saying that 8GB for Android phone is too small. All of those applications are not electron either.

There is bloat everywhere.


4GB still seems excessive, by at least one and probably several orders of magnitude, for what vanilla KDE actually does: browse files, manage windows, and edit text. And KDE is one of the best modern options.

KDE doesn't need 4 GB of ram - that's just what my laptop happens to have which is more than ample to run the OS + KDE + native applications.

  https://antonz.org/go-1-26/#httptest-example
> To fix this issue, the HTTP client returned by httptest.Server.Client now redirects requests for example.com and its subdomains to the test server

I'm really conflicted about the idea that the https client should silently hijack requests to example.com in order to make a dummy certificate work... or am I just really misunderstanding?


Yeah, it's one of the reasons I use a Microsoft account to collect the PC entitlements and then create a local user account that has a sane profile name and never touch the online account again.


I'm a bit of a curmudgeon about this.

Until service providers are no longer allowed to:

  1) force the type of passkey stores used (e.g. hardware vs software) when I am providing the passkey store
  2) force me to MFA (e.g. forcing touch ID, entering pin or unlock password, etc) when attempting to use a passkey
I'll continue to stick to plain old boring password + TOTP. I fully understand the security trade-offs like phishing resistance but password + TOTP is secure enough for me.


Many/all? also need to have some form of manual input as a backup, so you're not forced to sync all your passwords to e.g. a library's computer just to log in, if your house burns down or something.

Which probably looks a lot like a password.


(1) is already true today. There is no way for services to enforce whether a passkey is stored in software or hardware.

(2) I understand you don't like the user experience. But to make a technical clarification: requiring a user action to prove there's a human involved in the login action (e.g. by clicking a button in UI or requiring Touch ID) does not necessarily mean there's another factor involved at all (MFA). What you are describing is more of a "liveness check" than a separate factor/separate credential.


  (1) is already true today. There is no way for services to enforce whether a passkey is stored in software or hardware.
Challenge: Go and try to register a non-blessed passkey type with PayPal and come back and share your experience.

  (2) I understand you don't like the user experience
Pretty much my complaint. Passkeys allow for service providers to do dumb things that result in terrible UX. With Password + TOTP, I don't get asked to touch a sensor, enter a PIN, enter an unlock password, etc.


I actually kinda like the enter-a-pin flow, it makes me feel a lot safer about letting someone hold my phone. I just hate the lock-in it adds


Liveness check is fine, but I’ve always seen it as requiring Microsoft Hello or equivalent explicitly, and not whatever check I would prefer to use


I can't take anyone that views regulation as universally evil seriously when history is full of stuff like https://en.wikipedia.org/wiki/Radithor


Evidently HN doesn't like this particular history...


<https://news.ycombinator.com/item?id=9176267>

<https://news.ycombinator.com/item?id=44508062>

The Radithor reference is of course quite apropos, and I'm a fan of effective and principled regulation to avoid that and numerous other market failures.


I had put it off for several years because everyone kept telling me how awful the prep was. My doctor kept pestering me to agree to do it so I eventually relented.

Turns out, I needed to go to the bathroom frequently during the day which was an annoyance but I never had anything close to an "accident" nor did I feel any strong urge to evacuate at night. So the whole experience turned out to be a huge nothing-burger and I had a few polyps that got sniped that weren't cancerous - so now I have peace of mind that I didn't have before.


  They say there’s no Emacs — only your Emacs.
This hit home for me. I spent about 6 months working exclusively with emacs to get past the "this is weird/hard because it is unfamiliar to me" stage. At the end of the experiment, I went back to using vim and IDEs.

My take personal takeaways from the experience:

1) capslock/ctrl switching is helpful in so many other areas - so I kept that

2) emacs is something you want to "live in" (e.g. learning to rely on eshell) if you want to really become proficient with it

3) emacs is something you have to be willing to tweak/adjust via elisp to suite your personal preferences if you want to really really really be proficient with it

I didn't hate emacs but it also wasn't for me.


2) I have eshell bound to a keybind, but I've never use it. I prefer shell-mode and shell-command. They make it easy to use cli utilities. TUI is something that I find myself no longer needing. And I've become so accustomed with the cli that the only two I'm using in a terminal is `less` and `top`.

3) I think the best way is to find some vanilla base config that will smooth out the rough parts, then, once you understand the internal concepts, tweak them to your liking. It's certainly a long term plan, but the pro is not having to wait on "features" from another company or group.


> I have eshell bound to a keybind, but I've never use it

For years, I had a similar feeling about it. And then I learned that in eshell you can pipe in and out of buffers. So you can for example grep the content of one buffer and pipe results into another. Or pipe the output of a command to a buffer, and you even can chain them pipes. That often comes extremely handy.


> e.g. learning to rely on eshell

Or vterm if you don't want to be proficient with eshell.


Same for my parents - one of their desktops that they were going to leave on Windows 10 needed to have tpm and secure boot turned on in bios and suddenly it was Windows 11 compliant.


I use powerline ethernet adapters to hook up the media center in the living room. They aren't super fast (~100 mbps) but they are so much more consistent than wifi.


  What purpose outside abetting in avoiding a DUI is there for publishing a live map of DUI checkpoints?
That is easy to answer - letting law abiding citizens going about their personal business know that if they go through an area they are likely to be stopped and subjected to being searched by police without cause.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: