No, both work for both but tee will yap back at you.
opfar.v30
- 0 Posts
- 18 Comments
opfar.v30@lemmy.mlto
Linux@lemmy.ml•Running a command only when resuming from the hibernation part of suspend-then-hibernate?
6·1 个月前Look into
man 8 systemd-suspend.serviceImmediately before entering system suspend and/or hibernation systemd-suspend.service (and the other mentioned units, respectively) will run all executables in /usr/lib/systemd/system-sleep/ and pass two arguments to them. The first argument will be “pre”, the second either “suspend”, “hibernate”, “hybrid-sleep”, or “suspend-then-hibernate” depending on the chosen action.
t. fellow
suspend-then-hibernateuser.
Njalla, hands down.
Co-founded by Peter Sunde of The Pirate Bay fame. Run by a great little crew that cares about privacy. They do VPN, domains, and hosting.
Wireguard and OpenVPN. Your external IP periodically rotates through the pool, but at least all ports are forwarded.
Too bad almost nobody knows about them. They even have a Wiki page, ffs!
opfar.v30@lemmy.mlto
Privacy@lemmy.ml•‘AI is reliant on mass surveillance’ and we should be cautious, warns head of messaging app
2·1 年前You know how to tell that it wasn’t?
It’s using careful hedging language — “could be used to attempt”, “have the potential to”, “more effective”.
AI would just plow through that shit, hallucinating facts like there is no tomorrow.
opfar.v30@lemmy.mlto
Privacy@lemmy.ml•‘AI is reliant on mass surveillance’ and we should be cautious, warns head of messaging app
2·1 年前This is nonsense. Passwords might have an interesting distribution, key space is flat. There is nothing to learn.
And I hope you didn’t mean letting an LLM loose on, say, the AES circuit, and expecting it will figure something out.
opfar.v30@lemmy.mlto
Privacy@lemmy.ml•‘AI is reliant on mass surveillance’ and we should be cautious, warns head of messaging app
3·1 年前You can train AI to crack encryption
Oh do provide details.
opfar.v30@lemmy.mlto
Technology@lemmy.ml•EU attempt to sneak through new encryption-eroding law slammed by Signal, politicians
7·1 年前You silly goose. Sweden, a major arms exporter and one of the world’s top 3 arms exporters per capita is, in fact, the western military-industrial complex.
It’s bluca, yo.
As a random example, here is bluca breaking
suspend-then-hibernate, then being a complete asshole about it, while other systemd devs are trying to put the fire out. Do read his code reviews on the latter. yuwata and keszybz have nerves of steel.The current behaviour is fully expected and documented
bluca is cancer.
opfar.v30@lemmy.mlto
Programmer Humor@lemmy.ml•If AI can now speak Italian, it can certainly replace us...
3·1 年前Is it some kind of historical elective course
No, there was a poster showing correspondence with Latin on the wall, somewhere. The symbols are almost 1-1 with modern orthography, so it takes only about a week of practice. And I was really bored.
never seen Glagolic in the wild
It’s about as distant from modern use as runes are for germanic speakers, but maybe with different connotations. Decorative nonsense.
But I did submit essays written with that when I wanted to fail with style. :)
I also met a guy in college who used it to keep notes. That guy was also bored.
opfar.v30@lemmy.mlto
Programmer Humor@lemmy.ml•If AI can now speak Italian, it can certainly replace us...
3·1 年前It was widespread in Croatia until the late middle ages, about XIV-XV century.
Noone knows how to read it, apart from some linguists and overzealous Witcher fans.
I could fluently read and write it in high school. Was bored.
It doesn’t. See: master tapes and the mastering process.
Sorry, the maining process.
Yo, setup hibernation and use hybrid sleep as your default sleep.
ln -s /etc/systemd/system/suspend.target ../../../usr/lib/systemd/system/suspend-then-hibernate.targetNow any sleep is hybrid. The machine suspends, then wakes up after a timeout, and enters hibernation. The timeout is configurable in
systemd-sleep.conf(5).With this combo I find that I prefer S0 to S3. S0 drains the battery about twice as fast, sure, but it resumes instantaneously, while S3 takes about 30 seconds (!) to resume on this machine. And the thing hibernates and powers off if I leave it for an hour anyway.
opfar.v30@lemmy.mlto
Technology@lemmy.ml•Framework Laptop 13 gets Intel Core Ultra with a 120 Hz display, and cheaper AMD models
22·1 年前I have a fist-gen Framework 13 (Intel 11). If I want to upgrade to fully match the new gear, what needs upgrading…?
Off the top of my head:
- display,
- mobo,
- my 64GB of DDR4 must be swapped for DDR5 IIUC,
- camera,
- the new 61Wh battery, and
- there were these new speakers, I think.
I should probably get a new keyboard as well, as I’m one of the people with the DEL key randomly going dead.
I already replaced:
- hinges, and
- the top cover.
I can hold on to the £10 wireless card, the PCIe3 SSD that I bought after WD just died one day, and the compressed alufoil that is the main body.
Well fuck me.
Yall understand that what actually changed is a symlink? That
systemd-runis now linked fromrun0, and that’s enough to make a SUID-less sudo?

If outputting separate programs to separate outputs: install Pavucontrol (yes, for Pipewire); change outputs per-program in the first tab.
If trying to output the same stream(s) to both: install Helvum; drag lines around to connect to additional outputs.