tal

joined 2 years ago
[–] tal@lemmy.today 2 points 2 weeks ago (1 children)

Note that xdotool is specific to X11. Ydotool can do some similar things in Wayland.

[–] tal@lemmy.today 1 points 2 weeks ago (1 children)

Someone has to make the determination, and unless Congress specifies it legislatively, it's gonna be up to the Executive Branch.

[–] tal@lemmy.today 3 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

I haven't been following the case, but if someone went missing from their house at night, I assume that one of the things that you'd look for is flashlights. It sounds like they also checked for other things, like shoes, cell phone, etc, and found all of those that they knew about. You wouldn't need to notice it missing, just to look for it and not be able to find it.

[–] tal@lemmy.today 2 points 2 weeks ago* (last edited 2 weeks ago)

The US is unlikely to grow labor-intensive manufacturing to match China. However, I suspect that it could overcome the wage difference that makes it more-advantageous to manufacture many things in China.

  • Some kind of radical transformation in manufacturing that drastically reduces labor costs in manufacturing. Maybe advanced AI could wind up doing this.

  • Labor-intensive manufacturing shifting out of China for the same reasons that it once shifted into China


because there are lower-wage countries out there.

https://www.investopedia.com/manufacturing-already-moved-out-of-china-now-where-will-it-go-11711407

>Many U.S. companies have refocused supply chains to Vietnam, Thailand and other countries in the region, partly because labor costs have risen in China over the decades.

None of those result in a bunch of US unskilled manufacturing jobs that pay wages competitive with many other jobs, which is why some people in the US want the US to do more manufacturing, but it could result in the share of manufacturing in China relative to the US declining.

[–] tal@lemmy.today 10 points 2 weeks ago (1 children)

Historically, it was conventional to have a "you have unsaved work" in a typical GUI application if you chose to quit, since otherwise, quit was a destructive action without confirmation.

Unless video games save on exit, you typically always have "unsaved work" in a video game, so I sort of understand where many video game devs are coming from if they're trying to implement analogous behavior.

[–] tal@lemmy.today 2 points 2 weeks ago

Not if the pool is all of the colors. I haven't even had all of them before.

https://gatorade.fandom.com/wiki/List_of_Gatorade_Thirst_Quencher_Flavors

There are some that I could distinguish from the others.

[–] tal@lemmy.today 8 points 2 weeks ago (1 children)

More Like This

  • 10 Best Gummies for Sex (And More THC Products for Playtime)

  • Ride Off Into a Shroom Sunset With This Trippy Infused Chocolate Bar

  • Get Lit on the DL: The Most Discreet Weed Products for Surviving the Holidays

I can only imagine that maybe all the mentions of "brain" in this article is something in common with Vice's recreational drug articles.

[–] tal@lemmy.today 4 points 2 weeks ago (1 children)

Thanks for the added insights! I haven't used it myself, so appreciated.

Linux has a second, similar "compressed memory" feature called zswap. This guy has used both, and thinks that if someone is using a system with NVMe, that zswap is preferable.

https://linuxblog.io/zswap-better-than-zram/

Based on his take, zram is probably a better choice for that rotational-disk Celeron, but if you're running Cities: Skylines on newer hardware, I'm wondering if zswap might be more advantageous.

[–] tal@lemmy.today 6 points 2 weeks ago* (last edited 2 weeks ago)

https://en.wikipedia.org/wiki/Apple_II

The original retail price of the computer was US$1,298 (equivalent to $6,700 in 2024)[18][19] with 4 KB of RAM and US$2,638 (equivalent to $13,700 in 2024) with the maximum 48 KB of RAM.

Few people actually need a full 48KB of RAM, but if you have an extra $6k lying around, it can be awfully nice.

[–] tal@lemmy.today 3 points 2 weeks ago* (last edited 2 weeks ago)

TECO's kinda-sorta emacs's parent in sorta the same way that ed kinda-sorta is vi's parent.

I compiled and tried out a Linux port the other day due to a discussion on editors we were having on the Threadiverse, so was ready to mind. Similar interface to ed, also designed to run on teletypes.

[–] tal@lemmy.today 5 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

It's a compressed RAM drive being used as swap backing. The kernel's already got the functionality to have multiple tiers of priority for storage; this just leverages that. Like, you have uncompressed memory, it gets exhausted and you push some out to compressed memory, that gets exhausted and you push it out to swap on NVMe or something, etc.

Kinda like RAM Doubler of yesteryear, same sort of thing.

[–] tal@lemmy.today 6 points 2 weeks ago (5 children)

https://en.wikipedia.org/wiki/Zram

zram, formerly called compcache, is a Linux kernel module for creating a compressed block device in RAM, i.e. a RAM disk with on-the-fly disk compression. The block device created with zram can then be used for swap or as general-purpose RAM disk. The two most common uses for zram are for the storage of temporary files (/tmp) and as a swap device. Initially, zram had only the latter function, hence the original name "compcache" ("compressed cache"). Unlike swap, zram only uses 0.1% of the maximum size of the disk when not in use.[1]

Open-source RAM is better.

view more: ‹ prev next ›