Recent submissions

Comment · 3 years ago
I'm on a Zen3+ APU (Thinkpad Z13) and TLP has worked great for me. TLP has nice out-of-the-box defaults so you don't need to tweak anything if you'd like, but you may need to disable any existing power management systems, if you're using a full-fledged DE, as they could conflict.

Two cool things that TLP does is allow you to set battery charge thresholds for better battery longevity (I limit mine to 80%), the other being automatically changing the energy performance preference (EPP) in the amd-pstate driver, so if you're on battery you could get it to automatically switch to power saving or balanced powersaving etc. I get an 8-10 hr battery life even with the 80% cap capacity, with several MS webapps running in Edge (Wayland), including Teams and Outlook, VS codium and Firefox running in the background.

Comment · 3 years ago
Not OP, but I have an older generation Ryzen Thinkpad (Z13 with an AMD 6000 series APU). I also use Nobara Linux, which is based on Fedora, but has all the proprietary codecs etc out-of-the-box. I also use TLP (instead of my DE's power management tools), which is the de-facto recommended power management tool for Thinkpads (and other laptops too).

1. I no longer watch Netflix, but AFAIA, 1080p/4k is still a no go, as that requires proprietary DRM which isn't present in Linux/Linux browsers (Widevine L1 and PlayReady). But you can still watch Netflix in "SD", if you're okay with that. Not sure about fandom services, but if they don't use DRM it should be fine, for instance, YouTube 4K plays without any issues, and so do other sites like Piped/Invidious etc.

2. Sleep/wakeup works fine on AMD, MacBook style. I also use an M1 MBA, so when I say that the resume speeds are identical, I mean it. The default sleep mode btw is suspend-to-idle, which resumes instantly compared to the old method (S3/suspend-to-RAM).

3. By "sane" did you mean S3? If so, at least on AMD laptops and Linux, you can pass `mem_sleep_default=deep` to the kernel and it'll use S3 mode instead of s2idle. However, a couple of things: at least on my setup, s2idle drains very little battery and doesn't cause your backpack to heat up. But if you're still concerned about battery drain over longer periods of time, you could enable the suspend-then-hibernate option, which will cause your laptop to automatically hibernate after it's been in standby for a while (exact timeout period is configurable). So IMO, there's no need to use S3/deep standby.

Comment · 3 years ago
Why is it that we have so many fancy system monitors in Linux, but not a single one has a "network" column like in Windows's Task Manager?
Comment · 3 years ago
> This is an X11 application and, as such, will not function correctly when Wayland is in use
Comment · 3 years ago
AutoHotkey. It's a fairly comprehensive yet easy to use GUI automation, hotkeys and scripting tool, and unfortunately there's no decent replacement for it in Linux - especially under Wayland, which prevents some features working in an automated way (eg screen capture, extracting the RGB values of the pixel under the mouse cursor etc).
Comment · 3 years ago
> Performance is great, nearly "metal" SSD speeds.

But how does that compare exactly, performance wise, against Bitlocker and LUKS? (assuming similar strength encryption algorithms are selected)

Comment · 3 years ago
Comment · 3 years ago
No vanity email perk? :(
Comment · 3 years ago
The basic HTML frontend hasn't changed in years. I don't see what sort of special maintenance is needed for it, or why it would be a "lot" of work.
Comment · 3 years ago
Besides the Google brand meme, as someone who was bullish on the whole cloud gaming scene back then, Stadia was a DoA for me because I could neither bring my own games (like Shadow PC, or beta GFN), nor pay a flat fee and play a selection of titles (like OnLive allowed you to, many moons ago). No one was going to buy games exclusive to a platform that could Google could kill off at any time. And 'lo and behold, what we predicted came true.

Also, trying to convince devs to port games to Linux was never going to work - a more practical approach would've been to use/develop Wine instead. In fact, Valve had released Proton a whole year before Stadia went live, so if Google wanted to, they could've worked with Valve and combined their efforts to make Linux gaming better. Even if they chose not to approach Valve directly, they could've still used Wine and still benefited from Valve's upstream contributions (and vice versa). But instead they made the insane decision to try and convince devlopers to port their games to a niche platform Google which could kill off at any time... It's like they deliberately set the whole thing up to fail, then came up with excuses as to why it didn't work. Like Project Ara.

Comment · 3 years ago
But you still need to reboot for the new kernel to go live right? Or is the kernel switched via kexec or something?
Comment · 3 years ago
Noob here, but also a former web dev from the Web 1.0 days, looking to get back into the game.

Like you, I dislike much of the modern web frameworks and all the bloat and unnecessary complexities that come with it. I roughly tuned out of this stuff when JQuery became mainstream and everyone and everything started using it, and I couldn't be bothered to keep up any more, nor did I feel inclined to invest my time in such a bloated framework. I did come back to webdev every now and then for casual projects, but every time I did, the world moved from one fad framework to the other, which made me dislike this messy ecosystem even more.

In particular, one environment/toolset that I really disliked was Node.js. Every time I did anything with Node, it always turned into pulling down a gazillion dependencies, and eventually down the line, that led to stuff breaking because some random dependency of a dependency was no longer compatible a with newer version of node or something. It basically put me off modern webdev for good, to the extent that I web back to using plain ol' php for the backend, and since then I've been exploring using pure HTML5+CSS3 without any Javascript for the frontend, but I've been seeing limitations like not being able to do stuff like real-time form validation etc.

Which brings me to your example:

   # install dependencies   
   npm install
May I enquire why you're using npm here? Exactly what dependences are you pulling down? I thought the whole point of Nue was to avoid bloat like Node.js and dependency hell? Isn't Nue supposed to be a self-contained library/ecosystem?

Can I use Nue without touching any Node stuff at all?

Comment · 3 years ago
Hmm, looks like it doesn't support window decorations?
Comment · 3 years ago
Depends on the malware. Not all of them aim to steal, some may want to turn your PC into a botnet node, or a remote proxy for illegal activities.
Comment · 3 years ago
For those of you who've used this, is thee any real-world use case for this, beyond the nostalgia factor? Like, does it produces smaller executables, fewer dependencies, easier to make GUIs etc (compared to say Python)?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton