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

> Ones a democracy one isn’t.

China characterizes itself as a democracy too, just not as a liberal democracy. There are democratic processes, although these are not free in the sense of liberalist ideology. The CCP justifies its control of the elections as a counterbalance to being corrupted by money, which starts to look like not an entirely unreasonable justification.

The CCP narrative also emphasizes "outcome orientation", i.e. that (democratic) legitimacy comes from people being happy about what the governance delivers, not about how it gets chosen. Which again starts to look not totally crazy, given western governments nowadays tend to have dismal approval ratings. And even after taking into account the likely biases in the polling, I do believe the majority of the Chinese truly approve of the CCP.

I'm not a fan of the Chinese system, but I think there are lessons we could take, and a binary "democratic or not" is not a very meaningful categorization.


Just a reminder that the DPRK is "Democratic People's Republic of Korea".

North Korea is a democratic republic!


This is utter nonsense.

Democracy is the idea that people should control their government. The CCP's (and Putin's) notion of "democracy" is something along the lines of "as long as the government controls the people, the people can decide".

Democracy may be a spectrum but China isn't on it, neither in practice nor in spirit. If you have to control the media and prevent free discussion, you aren't practicing democracy.


> Democracy is the idea that people should control their government.

who started the recent war with Iran and war in Vietnam? did those wars started by American people? did those wars got approved by the people of America or their elected representatives?


> their elected representatives

Yes? The US president is elected, and while you or I might the system would be better if presidents didn't have quite so much authority... we know the system works this way when we vote.


"The Congress shall have Power ... To declare War" -The Constitution of the United States, Article I, Section 8.

https://www.archives.gov/founding-docs/constitution-transcri...


Socialism with Chinese Characteristics had not been tried at that point :)

To be fair, Deng Xiaoping's reforms were based on the older New Economic Policy or NEP from the 1920s USSR, so it had been tried at that point. It was scrapped in the USSR for other reasons, not because it failed.

Ironically you can map China's progress over the last 30 years directly with their adoption of capitalistic policies.

The more capitalistic they become, the more growth they have seen.


Exactly, maybe we've got it all wrong :)

The word you're looking for is dictatorship, and it is not new.

In UK there is. :(

Nothing like america though, lots of people (maybe the majority) cruise through life with 1-2 credit cards and occasionally apply for a mortgage without ever really thinking about their credit rating.

Being obsessed or even thinking about your credit rating in the UK is a bit of a minority reddit pursuit not something normal people do.

(Of course if you default on stuff you will need to think about it)


> Very branchy. Very un-DRY.

I've found this can be vastly reduced with AGENTS.md instructions, at least with codex/gpt-5.4.


What sorts of instructions?

Usually I just put something like "Prefer DRY code". I like to keep my AGENTS.md DRY too :)

also add "no hallucinations" and "make it works this time pretty please" while also say Claude will go to jail if does not do it right should work all the time (so like 60%)

There are of course limits to what prompting can do, but it does steer the models.

In TFA they found that prompting mitigates over-editing up to about 10 percentage points.


Similar to the observation (by simonw) that they respond reasonably to "TDD: Red => Green"

I've used that ever since. Works most of the time, but other stuff is often failing and I've learned to become distrustful of an agent very quickly. One mistake where I point it out and the agent corrects itself is fine if it keeps working well after. A second mistake when it's trying to fix the first one or an inability to understand or a claim that it fixed it but it didn't is instant termination (after dumping context for the next agent).


> Sigh, why not just use named functions?

I.e. a Lisp?


> Inspired by: CoffeeScript, Lisp, Ruby | Powered by: Bun

I meant that most Lisps are named functions/macros only (with some named special forms), and you are calling for that kind of syntax?

I think those are mostly well justified and substantially add to ergonomics. Await and the reactive operations are used very heavily in many codebases, and especially the reactive code is quite verbose with useState et al. .new allows constructor chaining. Python has // too, and it makes many indexing operations a lot easier to read.

One missed opportunity here is using the bitwise operators for more common use cases. They are very rarely used in this high level languages, and are a bit weird C remnant in them.


Edit: This is incorrect, as pointed out below.

Pulseaudio still does the device juggling etc on most systems even when there's a pipewire backend.


Wrong. Pipewire is pulseaudio-compatible, and the device juggling is done by wireplumber

Are you sure? On every device I could quickly reach (Gentoo, NixOS, Pop OS, all with vanilla/default pipewire configs), `ps aux |grep -i pulse` only turns up pipewire-pulse.

> Having mainline Linux on a system with 24h+ battery life in a 13" case is pretty damn impressive.

Does it have such battery life on Linux? The benchmarks, apart from suspend battery life, are for Windows.


Can't attest to framework, but after switching to an arch based syttem on my Quite low level HP Envy 13'' I get about 130% - 170% of time out of the system.

Yes, I am running mostly in dark mode now. Yes, I am using the terminal significantly more often now (80% of the time). But also I have always a browser, always Slack, WhatsApp, Obsidian and more often than not a few other things running on virtual screens.

Just the added battery life made this my daily driver. Yes - I so, so want to buy a framework. Still waiting for the multicolored international keyboards - and also the prices for memory just kill it for me right now. The system I would love to have is about 2k more than a few months ago. I just can't splurge that much right now.


unless you screen is OLED, dark-mode has no or zero impact on battery usage, maybe even non-significant impact on OLEDs

HP Envy does have OLED screen options. I'd assume it's what they have, if they thought dark mode was relevant.

Don't most LCD screens have localised dimming of the backlight these days?

Not laptops. Local dimming zones look awful when you have a white cursor moving around, so it's mostly still just a TV-feature

Looking awful has not prevented local dimming from becoming quite common on laptops. Apple has been doing an okay job of it in the MacBook Pro for several years. Lots of Windows laptops have been very hit-or-miss about it, but at least with those you often have an OLED option. I've seen multiple Windows laptops from more than one OEM where opening a terminal window with light text on a dark background means you can easily spot a single line of text getting much dimmer toward the center of the dark window, and lighter near the perimeter where it's close to other light content. And that's for static content; as you mentioned motion can bring more problems as the backlight lags behind the LCD.

I'm using CachyOS on my framework and after switching from windows gained about 30%-50% battery life depending on exactly what I'm doing.

Wow. For as long as I can remember it was usually the opposite for me. Even after configuring TLP and looking for things to tune manually with powertop, I usually didn't get battery usage quite as low as I wanted. I thought it was still typical for Windows to be better.

Are you running a DE or just a lightweight WM?


I’m running a Hyprland-based setup, so more WM/compositor than full DE, with a small bit of tuning in Arch’s power settings.

I'd be surprised. Granted, not quite apples-to-apples, but I have the original Framework 13 chassis, 13th-gen Intel mainboard, original battery, and I've never gotten more than 5 hours or so, 6, maybe, at most, on Linux. Yes, the new 13 Pro comes with a larger batter, and maybe the new mainboard is more power-efficient, but 24h+ sounds way too optimistic.

Panther lake is substantially more efficient than your 13th gen and they increased the battery capacity by 35%. They claim 20h, not 24h, and that 20h is for video watching, not general use.

Don't see why it wouldn't - as long as pstate etc. works it should be the same. I'd argue it's probably better given that modern desktops use far less resources in the background compared to Windows

I bet they don't publish Linux numbers because it depends on which desktop you use etc.


A lot of office workers these days spend a lot of time in video calls.

So to get the best battery life you need, for example, your browser to use GPU-accelerated video encoding and decoding.

Linux is something of a second-class citizen for both GPU vendors and browser vendors. So for example if you're using Firefox and an nvidia GPU on Linux? No video encode/decode acceleration for you. The browser will silently switch to CPU decoding.

This translates into worse battery life.


HW video decoding is now available and by default on in Chrome on at least Ubuntu with my Intel iGPU. I was also surprised when they turned it on under the radar. I saw this the other day debugging a problem and saw others see it too: https://www.reddit.com/r/Ubuntu/comments/1ojydv9/comment/nm8...

Firefox has had GPU video decoding in Linux on by default since 2023 for Intel and 2025 for AMD from what I've read

HW decoding works fine. But some distros (looking at you Fedora) have legal issues around providing it out of the box.

Call me crazy, but most people working typically leave their laptops wired in to either a charger or a hub so they can have more monitors. I know some people will go through the effort of charging and pulling the cord, and charging later, but most people don't want to micromanage something they can forget about while working. If you're living on battery life for a work call, it would not matter if you're on Windows, changes are high your batterly life will self-terminate quicker than you realize.

Among Linux users, long battery life is for in-office workers (who leave their desk to attend meetings) in hybrid companies (where no meetings are laptop-free) in roles that sometimes involve back-to-back meetings.

But these people would already have a company-provisioned laptop.

I thought the idea was the Framework is the company-provisioned one. Or are they letting people do corp work on personal laptops?

I don't want to maintain state on two laptops

With the right tooling, the state is minimal and gets synchronized between laptops.

CPU decoding/encoding for video means warm chassis + spinning fans. Fan noise is very annoying with video calls.

I don't understand why. From what I can tell, some of this is remedied just by changing feature flags in Firefox, which (if correct) would mean it ships with the capability, but decides not to.

There's other software that can do GPU acceleration in the repos, and there are plenty of distros that enable closed-source software. It's shocking to me how difficult it seems to be to get GPU acceleration working in Linux.


> I bet they don't publish Linux numbers because it depends on which desktop you use etc.

They ship with Ubuntu on it, which would be quite natural choice for such benchmark. Also they do do the standby test on Ubuntu for some reason.

Can't help but suspect there's a reason why Linux numbers are not given. :(


There have been fairly recent changes to the linux kernel to better support panther lake in terms of power performance. I'd suspect a major reason for holding back is because ubuntu 26.04 has not been released yet and it is using kernel 7.0 which includes these power improvements. 24.04 does not.

By the time these laptops start shipping, 26.04 should be released and testing should be easy. I suspect no major differences from it vs windows.

7.1 includes even more performance improvements for panther lake. [1]

[1] https://www.phoronix.com/news/Linux-7.1-Enabled-Intel-FRED


If I was releasing a laptop with Linux support as a key selling point, and the battery life was bad on Ubuntu 24.04 but good on the pre-release 26.04, then I'd advertise the good figures and write "tested on Ubuntu 26.04 beta, requires Linux 7.0 or later" in the footnotes.

I definitely /wouldn't/ rely on just Windows figures for a machine that's otherwise advertised as "Linux first". If the battery life was the same on both, I'd prominently mention that.


I'm a long-time Linux user who might actually be in the market for a just-works upgradeable laptop[1] that comes with Ubuntu.

I already know that combinations of hardware and software can be stretched and tweaked to do really interesting things in really excellent ways. I don't need them to tell me that computer systems are flexible. That's just noise.

And I don't want them to tell me how their (unreleased) hardware might work in the future with some unreleased/beta software. That tends to be interpreted as speculation, or as lies and deceit.

I'd prefer to see benchmarks of how it works if it shipped today.

If those benchmarks are unsavory (as they may presently be) and thus omitted, then that's not ideal but it's okay.

I definitely don't want to feel as if I'm being lied to, in place of an omission.

[1]: I just want a 15" version. I'm not a fan of little screens. My eyes aren't getting any better.


They have a 16" version btw.

Keep in mind the Ultra 300 chips also only have recent support in the kernel. The battery life likely isn't great for now (as with previous gen Intels right after release). It makes sense to me that for now the benchmarks would be Windows specific.

Ubuntu 26.04 hasn't been released yet and that's likely what they'll test on. It includes kernel 7.0 which has a bunch of the panther lake support.

DHH has been posting specific support for Framework, so maybe Omarchy/Arch is one of the main options.

As a community we shouldn't give Omarchy or DHH any publicity. For both technical [1] and ethical reasons.

[1] https://xn--gckvb8fzb.com/a-word-on-omarchy/


Genuine question, what is it about DHH that makes you think he can move the needle on battery life for Linux?

My understanding is that he's a giant in the enterprise software space, I don't see how that would give him any clout in the hardware space.


battery life for Linux is not some grand project, it's just support and setup of existing kernel drivers, typically at the distro level - which is why it's already there for some setups

https://xcancel.com/dhh/status/2046677012878708834

he mentioned good numbers before, but of course you may want to wait for reviews


This is essentially why I'm confused. All he's doing is setting up pre-existing drivers, any chimp with access to ChatGPT can do that.

I don't see that he's bringing anything noteworthy to the table, but I've repeatedly heard people talk as though he's going to bring better battery life to Linux through omarchy.


merit doesn't matter

people want to get laptops that work well and have good battery life, whether this was easy or hard to achieve means naught


Whilst that is technically a sentence, I don't think you've actually said anything

sounds like a you problem


I don't see why it wouldn't? I have a 16" MSI laptop with an 11th gen Intel processor (known for horrible battery life), I use Arch/Hyprland and it gets 5-6 hours with a battery degraded to 68%. Which is still in the ballpark of what most users said they got on Windows when this model was new.

Linux battery life is fine and on par with (or possibly better than) Windows these days if you don't do anything silly (I'm sure some distro and DE consume silly amounts of power just because, but it doesn't have to be that way).

Based on reports about Panther Lake, the new process, plus a 13" screen and large-ish battery, I believe the battery life claims.


They have a battery live stream from 100% to 0 linked on their product page which is broken. Hopefully they'll fix it and add both linux and windows version of the test.

DHH has been using omarchy with pantherlake getting 16+ hours

Finns don't do it that long. It's typically 5-15 minutes per sitting, with 2-4 sittings per session.

My answer was sarcastic back, fwiw, I follow the 'proper' finnish ritual or similar...

95 is high for Finnish saunas in Finland at least. Public saunas are very rarely so hot here, and few like it that hot.

Edit: to put it into some numbers, per one study[1] Finnish sauna sessions were on average at 75.9°C with SD 9.9°C. If we assume normal distribution, that means that more than 97 % of sauna sessions are at < 95°C.

[1] https://pmc.ncbi.nlm.nih.gov/articles/PMC6262976/


I actually like them that hot. I look for 90+ saunas, and once was in one that claimed to be over 100. Although I have no idea how accurate that is. They're very bearable to me. But if they're not bearable, of course you should look for a sauna that's not quite as hot. Or at least stay low; the higher you sit, the hotter it is.

You can have over 100°C. The amount of steam is a crucial factor. Even over 100°C doesn't feel that hot if it's dry, but at higher temperatures the "löyly profile" often becomes quite harsh.

In my case 95°C was without any steam; it caused me burning skin sensation and I almost collapsed after just 5 minutes, whereas pre-covid I could do 3-4 rounds of steam with towels pushing steam at me at the topmost place and last up to 20 minutes before I needed to leave.

Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: