HNHacker News
TopNewBestAskShowJobs

_d3Xt3r_

28 karma · joined August 29, 2023

submissionscomments
_d3Xt3r_··on Lenovo ThinkPad T14s G4 review: Business laptop is better with AMD Zen4
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.

_d3Xt3r_··on Lenovo ThinkPad T14s G4 review: Business laptop is better with AMD Zen4
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.

_d3Xt3r_··on btm: a customizable system monitor for the Linux, macOS, and Windows terminal
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?
_d3Xt3r_··on Ask HN: What is that one program in Windows that umatched in Linux?
> This is an X11 application and, as such, will not function correctly when Wayland is in use
_d3Xt3r_··on Ask HN: What is that one program in Windows that umatched in Linux?
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).
_d3Xt3r_··on VeraCrypt: Free open-source disk encryption for Windows, Mac OS X, Linux
> 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)

_d3Xt3r_··on x86 windows emulator using wine and box86
How does this compare with Termux-Box? https://github.com/olegos2/termux-box
_d3Xt3r_··on The KDE Plasma 6 supporting membership drive
No vanity email perk? :(
_d3Xt3r_··on Google ending Basic HTML support for Gmail in 2024
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.
_d3Xt3r_··on Google Stadia: Leaked Documents Explain Its Failure (Porting to Linux a Factor)
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.

_d3Xt3r_··on Introduction to Immutable Linux Systems
But you still need to reboot for the new kernel to go live right? Or is the kernel switched via kexec or something?
_d3Xt3r_··on Show HN: Nue – A React/Vue/Vite/Astro Alternative
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?

_d3Xt3r_··on Hikari is a stacking Wayland compositor for FreeBSD but also supports Linux
Hmm, looks like it doesn't support window decorations?
_d3Xt3r_··on Free Download Manager backdoored – a possible supply chain attack on Linux
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.
_d3Xt3r_··on Gambas Basic – A Linux Basic Flavor in the Spirit of VB
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)?
_d3Xt3r_··on Creating “Reverse WSL” for Running Windows Application on Linux Host
Isn't this basically a manual version of WinApps?

https://github.com/winapps-org/winapps

_d3Xt3r_··on All-AMD Ryzen Notebooks for Linux Gamers: USB4, AMD GPU? and PCIe-Gen-4.0
There's also the upcoming Thinkpad Z13 Gen 2, which is rumored to come out either this month or next month. I have the Gen 1 with a Zen 3+ CPU and it's been fantastic under Nobara (a gaming-optimized Fedora derivative) - everything works out-of-the-box including suspend/resume, and I get playable framerates even on recent games (40-45 FPS on Diablo 4) under Wine/Proton-GE.

Another option is getting a Framework laptop. The Zen 4 Frameworks are expected to start shipping from next month onwards.

_d3Xt3r_··on Tell HN: Reminder that your LinkedIn profile is fully visible to site members
I'm surprised people still use LinkedIn, in spite of knowing how scummy they are. I deleted my account long ago, just prior to the time they got sued for spamming people (and even deleting my account didn't stop the invite spam, so I had to block the domain). But every now and then I stumble upon a LinkedIn profile (when I'm looking up people via a Google search or something) and it's always shocking to see how much info people are sharing willingly - from their profile picture, to their entire work history, all the connections they have - all visible without even needing to login. It's basically Facebook-level of personal detail, minus the drunk and embarrassing photos.

I can understand "normies" using LinkedIn because they don't know any better, but it shocks me that even the so-called privacy conscious and techy people like the ones here on HN are actively supporting such a shitty organization - the same people who wouldn't hesitate to criticize Meta for their privacy violations.

_d3Xt3r_··on I chose the ThinkPad Z13 Gen1 as my Linux laptop
Not OP, but both suspend and hibernate works fine on my Z13 (on Fedora).
_d3Xt3r_··on I chose the ThinkPad Z13 Gen1 as my Linux laptop
Yep, just tested this and disabling suspend works. I'm on KDE btw, disabled it via the GUI.
_d3Xt3r_··on I chose the ThinkPad Z13 Gen1 as my Linux laptop
Like the other person, I too have a Z13 and don't have any suspend/resume issues on Nobara (a Fedora spin). I can't speak about fan control though, haven't tried messing around with it but the fan seems to work just fine as intended - spins up when needed, quiet otherwise.
_d3Xt3r_··on I chose the ThinkPad Z13 Gen1 as my Linux laptop
- I trust AMD more than Intel, and the PSP doesn't rank high on my threat model. It is a concern, but not enough for me to avoid it. Perfectly understandable if it's a big concern for you though.

- Also, Intel iGPUs are still pretty bad at gaming, at least compared to AMD's equivalents.

- System76 did not (and still does not) offer a compact AMD laptop, they only offer a 15" one. I needed 14" or smaller for better portability and weight (I'm one of those people who actually uses a laptop on their lap).

_d3Xt3r_··on I chose the ThinkPad Z13 Gen1 as my Linux laptop
I have the same laptop (with a slightly faster CPU though), bought it for similar reasons to OOP - I needed something light compact, 32GB+ RAM, Ryzen 6000+ APU for some decent light gaming, and excellent Linux support of course.

Like OOP, I would've preferred a Framework, but since they didn't have an AMD option at the time, I chose this. In fact, it was the ONLY laptop in the entire market at the time which met my criteria.

I've been using it for over 10 months now and it's held up pretty well. Running Nobara (Fedora-based gaming distro) and it runs incredibly well, everything worked out-of-the-box, including all the Fn keys and suspend/resume.

I used to get around 40-45 FPS playing Diablo 4 under Proton-GE, and it was more than playable (I don't play it anymore btw). The games that I do play currently are a bit more old-school, like Project Diablo 2, Age of Empires 2, Skyrim etc and some retro gaming on emulators, all of which it handles like a champ.

I'm glad this is getting some attention now. We need more AMD-based and Linux-friendly laptops and end Intel's monopoly in this space.