Limonene

joined 1 year ago
[–] Limonene@lemmy.world 3 points 1 day ago (1 children)

The easiest way to disable unnecessary services is to uninstall them with aptitude, or whichever package manager you like. Try terminating services one by one, and see if anything bad happens. If nothing bad happens, you can probably uninstall it. On the other hand, if the system does get wonky a reboot should fix it. Or, you can research the services by name and decide whether to uninstall them. (avahi-daemon for example is a good idea to uninstall.)

To make the GUI not run, uninstall your display manager (gdm, xdm, nodm, or whatever) and uninstall your xorg server or wayland server. There may be GUI programs remaining after that, but they will only be consuming disk space, not RAM or CPU.

If the battery is old and holds little charge, you may save a few watts by removing it and throwing it away, instead of letting the system keep it topped off.

Get a power meter, such as a Kill-a-watt device. Then, experiment with different settings. If it's consuming less than 30 watts, you're probably fine. If you live in the US, one watt-year is about one US dollar (or a little more), so for every watt it consumes, that's about how much you will pay per year for its electricity.

[–] Limonene@lemmy.world 7 points 1 day ago (1 children)

Looks like this program is really old. It appears to be designed for a 32-bit system, the way it casts between unsigned int and pointers.

unsigned int is probably 32-bit even on your 64-bit system, so you're only printing half the pointer with the printf, and only scanning half the pointer with the scanf. The correct data type to be using for this is uintptr_t , which is the same as uint32_t on a 32-bit system, and the same as uint64_t on a 64-bit system.

Try changing the type of addr to uintptr_t , and change lines 14-17 to this:

	printf("Address of main function: %p\n", (void *) &main);
	printf("Address of addr variable: %p\n", (void *) &addr);
	printf("\nEnter a (hex) address: ");
	scanf("%p", &addr);

You may have to include <stdint.h> . These changes should make the code portable to any 32-bit or 64-bit architecture.

[–] Limonene@lemmy.world 31 points 2 weeks ago (7 children)

NTFS is considered pretty stable on Linux now. It should be safe to use indefinitely.

If you're worried about the lack of Unix-style permissions and attributes in NTFS, then getting BTRFS or ext4 on Windows may be a good choice. Note that BTRFS is much more complicated than ext4, so ext4 may have better compatibility and lower risk of corruption. I used ext3 on Windows in 2007 and it was very reliable; ext4 today is very similar to ext3 from those days.

The absolute best compatibility would come from using a filesystem natively supported by both operating systems, developed without reverse engineering. That leaves only vfat (aka FAT32) and exfat. Both lack Unix-style permissions and attributes.

[–] Limonene@lemmy.world 89 points 2 weeks ago (23 children)

You are arguing in bad faith.

My support for Palestine means wanting Israel to stop killing Palestinian civilians. This does not indicate my support for Hamas.

You have multiple unbelievable claims that are not cited.

[–] Limonene@lemmy.world 19 points 2 weeks ago (1 children)

It seems in Texas, if you cannot afford to pay a funeral home to claim your loved one's corpse, then the corpse will be sold for parts, to raise the necessary money to dispose of it. And you won't get a funeral.

[–] Limonene@lemmy.world 12 points 3 weeks ago (1 children)

This is why there are so many libertarians who are not Libertarians.

[–] Limonene@lemmy.world 32 points 3 weeks ago

Palestine has a right to exist.

[–] Limonene@lemmy.world 4 points 3 weeks ago

This is the attitude of a lot of non-vegetarian catering chefs when they are catering vegetarian meals. You absolutely do get protein deficiency, because they just take meat-oriented recipes and replace the meat with eggplant. Or they just put lettuce salad, and like nothing else.

(I do occasional volunteer work for a pretty progressive organization that probably has some vegetarians in it. They feed us, but sometimes they are forced to use cheap crappy convention center catering that doesn't know how to cook vegetarian food.)

[–] Limonene@lemmy.world 10 points 3 weeks ago

That first part is eerily similar to what I was about to post.

In 2011, I was a lonely introvert. I spent my time binging TV shows and reading.

In 2012, on an IRL meetup thread on the 4chan x (paranormal stories) board, I met a new friend. I think deciding to meet them was the critical moment. They introduced me to a local arts and crafts club, a certain sci-fi fandom, and Minecraft.

The arts and crafts club became the basis of a friend group that is still my main friend group today. They brought me to a local convention in 2013 where I discovered I was trans.

In that sci-fi fandom, at a 2016 convention, I met my current partner, and a bunch of new friends.

I played a lot of Minecraft from 2012 to 2016, but then my partner in 2016 introduced me to Factorio.

[–] Limonene@lemmy.world 37 points 4 weeks ago

We fire the whole bullet. That's 65% more bullet per bullet!

https://youtu.be/GGPIQ72-2Vg?t=12

[–] Limonene@lemmy.world 49 points 4 weeks ago* (last edited 4 weeks ago) (5 children)

Beta testers should get a discount, or even get paid, in exchange for writing good bug reports. These people are fools for paying extra for earlier access to a bug fest.

I would never pre-order a game. That just makes it harder to refund it if it sucks.

 

cross-posted from: https://feddit.org/post/2595239

Major Russian banks have called on the central bank to take action to counter a yuan liquidity deficit, which has led to the rouble tumbling to its lowest level since April against the Chinese currency and driven yuan swap rates into triple digits.

The rouble fell by almost 5% against the yuan on Sept. 4 on the Moscow Stock Exchange (MOEX) after the finance ministry's plans for forex interventions implied that the central bank's daily yuan sales would plunge in the coming month to the equivalent of $200 million.

The central bank had been selling $7.3 billion worth of yuan per day during the past month. The plunge coincided with oil giant Rosneft's 15 billion yuan bond placement, which also sapped liquidity from the market.

"We cannot lend in yuan because we have nothing to cover our foreign currency positions with," said Sberbank CEO German Gref, stressing that the central bank needed to participate more actively in the market. The yuan has become the most traded foreign currency on MOEX after Western sanctions halted exchange trade in dollars and euros, with many banks developing yuan-denominated products for their clients. Yuan liquidity is mainly provided by the central bank through daily sales and one-day yuan swaps, as well as through currency sales by exporting companies.

Chinese banks in Russia, meanwhile, are avoiding currency trading for fear of secondary Western sanctions.

[–] Limonene@lemmy.world -2 points 1 month ago* (last edited 1 month ago) (1 children)

draw .io is closed source.

 

2024 is the Year of Linux on the Desktop, at least for my boyfriend. He's running Windows 7 right now, so I'll be switching him to Ubuntu in a few days. Ubuntu was chosen because Proton is officially supported in Ubuntu.

view more: next ›