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

Ah yes, Linux on a laptop: wifi, sleep, graphics - pick any two

I've never had any WiFi issues, and I think most people who started using Linux in the mid 2010s have the same experience.

Graphic though, yes (I had as much sleep issues on windows than on Linux). Especially the dual graphics intel/Nvidia. I still have to force environment variables to launch my games with the correct GC


Lol. Yes. I would like to say that's not true... and for quite a while my Dell XPS would do all three, but it wasn't a cheap device. I think their driver team isn't supporting my 8 year old XPS anymore as sleeping is... problematic. And power management on linux laptops has always been worse than windows.

But... I will gnaw my left arm off before I go back to Mach or WinNT. (Maybe I'll try using HaikuOS as my daily driver...)

Though... fwiw... I've been running a non-x version of leenucks and then booting into a X and experimental Wayland FreeBSD VM via KVM and it seems to work well. I can halt the machine and save state in about a minute and then turn off the hardware. I come back later and restore. It's not a seamless operation, but I'm happy to live with it. It's also pretty easy to checkpoint the virtual disk before installing the bazillion packages I sometimes have to install to test out various python extensions. So all I have to do is revert to a checkpoint and all that crap is gone. I don't have to worry about remembering which packages I have to manually uninstall.


It's not 2005 anymore, most distros work 100% on install

Maybe. And then what’s battery life like - half, one 3rd?

I have an x86 HP tablet that dual boots Windows 11 and Linux. I don't have specific numbers, but battery life is better on the Linux side.

It's better than Windows, but obviously worse than Mac (both hardware and software reasons).

My laptops don't kill themselves waking up in my bags so I could argue it's at least 5x better than windows.

Things moved on nicely in 20 years, you should try it for yourself.


What is the deal with waking up randomly with the lid closed on Windows?

I can't figure out why Windows has these crazy bugs that aren't addressed, aren't a huge company with almost infinite resources..?

Why can't they make Windows work properly, it's been 40 years... :-/


AFAIK, Microsoft and/or Intel pushed to remove the usual sleep S3 state and use a less sleepy state to be able to access network and display notifications. As if it was a tablet or a Macbook.

This is (of course) badly done, and tested as well the rest of Windows, so it results in laptops waking up in bags, choking thermally, and not going back to sleep.


Where did I say I haven’t?

You wouldn't be asking questions like this if you had, you'd know the same answers found in this thread.

Just like the other replier, people who put words into others mouths are extremely annoying. And in both of your cases, come off as fanatical. I'd love to run Linux on a laptop (and have tried many times) but have actual work to get done.

Seems like you're just being obtuse for fun, which I also find extremely annoying.

Mostly similar - sometimes better, sometimes worse. It's not 2005 anymore.

Hm i have all three

Dell XPS? They were pretty good there for modern-ish devices. Not so much for random Inspirons. Lenovo had fairly decent support for their midrange on up models. HP makes crap, so it's unlikely I'll every touch another HP laptop in my lifetime.

But... I think the poster above should have said something like "pick any two (for a depressingly large number of laptop models.)" Also see my post above about what seems to be XPS models falling out of support after eight years or so.


They enshittified/Dropboxified their core Docker Desktop app so much that OrbStack — I believe a single person initially — managed to build a better product. I love this outcome.

Assuming you're fine with keeping the queue in postgres, I've used Procrastinate and it's great:

https://procrastinate.readthedocs.io/en/stable/index.html

Core is not Django-specific, but it has an optional integration. Sync and async, retries/cancellation/etc., very extensible, and IMO super clean architecture and well tested.

IIRC think the codebase is like one-tenth that of Celery.


If you like Procastinate, you might like my Chancy, which is also built on postgres but with a goal of the most common bells and whistles being included.

Rate limiting, global uniqueness, timeouts, memory limits, mix asyncio/processes/threads/sub-interpreters in the same worker, workflows, cron jobs, dashboard, metrics, django integrations, repriotization, triggers, pruning, Windows support, queue tagging (ex: run this queue on all machines running windows with a GPU, run this one on workers with py3.14 and this one on workers with py3.11) etc etc...

https://tkte.ch/chancy/ & https://github.com/tktech/chancy

The pending v0.26 includes stabilizing of the HTTP API, dashboard improvements, workflow performance improvements for workflows with thousands of steps and django-tasks integration.


I also warmly recommend procrastinate !

We moved all our celery tasks to procrastinate at work for all our django backends since almost two years now and it has been great.

Having tasks deferred in the same transaction as the business logic stuff is something that helped us a lot to improve consistency and debugability. Moreover, it's so nice to able to inspect what's going on by just querying our database or just looking at the django admin.

For those wondering, procrastinate has no built-in alternative to django-celery-beat, but you can easily build your own in a day: no need for an extra dependency for this :)


Procrastinate does have scheduled tasks but maybe I’m missing some other part of beat you mean (never used celery)


The "Unix Domain Sockets breakthrough" sounds kinda suspect to me. I'd imagine you should be able to push at the same rate to stdout with a smart MPSC design.


I didn't mean to imply Google was covering anything up, but Gemini in this specific conversation clearly was.


imho the best you can say is that the "thinking" trace says it was. thinking tokens aren't infallible indications of what the model's doing


You have some weird definition of "root".


https://en.wikipedia.org/wiki/Alternative_DNS_root, so you could (and people have/are) run your own root server.


One obvious thing I still can’t believe pg doesn’t have is the ability to define triggers at the database or schema level. I must have written code to mass generate DROP/CREATE TRIGGER probably 5 times (yes I know you can reuse the trigger procedure itself). And then you need to remember to re-run whenever tables are added/removed.


I often suspect things in Settings, esp. account/iCloud section to be webviews, just based on how they load (icons appearing a short moment after the page opens for example).


Yes, those parts of the Settings app are built with web views that embed React Web:

https://news.ycombinator.com/item?id=30648424


Oh so that's why they're terrible and often break with no error messaging or recourse


Probably, but it’s not as if the native parts of Settings are much better.


When you tap some of the menu items in the “Saved to iCloud” section, they don’t have the normal grey item highlight that happens with the rest of the settings app.


HN comes through in 10 min :)

I didn't know about CA/Browser forum and the Baseline Requirements. Thanks, will check it out!

// Edit: Relevant section:

The Subscriber Agreement or Terms of Use MUST contain provisions imposing on the Applicant [..] the following obligations and warranties:

[...]

Protection of Private Key: An obligation and warranty by the Applicant to take all reasonable measures to assure control of, keep confidential, and properly protect at all times the Private Key [...]


:)

> Looking at digicert[1], if a revocation request is submitted, the owner must approve it. What happens if I just don't approve it?

So in this case, this is the happy-case where you as the owner wish to simply realize the cancellation a cert that you are no longer using.

A different workflow applies, such that you have the private key you instead send a POST to 'https://problemreport.digicert.com/api/keys/compromised' with the private key in the JSON body and it will be queued. It is mandatory Baseline Requirements wise to cancel the certificate within 24 hours in the compromised case - usually instant if the pk matches cert - with the expectation that of course the owner will not go this route.


Makes sense, thanks!


Love it!

I always liked Balsamiq, it really forces you not to obsess about the pixels too much, but it was so slow/bloated/buggy, like something from the Java on desktop era. This is much smoother!


Well, yes, it was from the Flash era. It started in Flash/Flex. I love it and used it for a very long time. Huge respect for Peldi (Balsamiq founder).


IIRC the desktop product was rewritten and is still being updated.


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

Search: