• 1 Post
  • 42 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle

  • Pretty fucked, but not as fucked as Ukraine, Palestine, Lebanon, or Taiwan.

    NATO will be fucked for a while if the US withdraws, but other NATO countries may ramp up military spending over time.

    This situation is a worldwide danger. The US is/was a world power, it has/had the largest national economy in the world, it has the largest military in the world.

    Previously, we could be concerned that democratic countries (including the US) weren’t putting enough pressure on authoritarian countries (like Russia, China, and North Korea) to improve. Now we have to worry that the US will actually become a fully authoritarian country, like Russia or China.








  • 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.


  • 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.


  • 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.




  • Sorry if this isn’t what you’re looking for, but my answer is basically “no”.

    I can take a 10mg Adderall 4 hours before bed, and fall right asleep. Sometimes, I can take a 10mg Adderall in the morning, and fall asleep at my desk at work, only 30 minutes later.

    Adderall makes me feel relaxed and totally unstressed. I’ve never had HRV stress measured, though. What is the experience like, to you, when you are having high HRV stress levels?

    Wellbutrin and most other SSRI’s and SNRI’s make me feel a little TOO relaxed. Some of them make me feel less conscious, and a little bit brain fogged. At the time, I described it as if my soul was detached from my body.

    To me, methylphenidate (Ritalin) gives the same effects as Adderall.





  • Limonene@lemmy.worldtoGaming@lemmy.worldThere are two types of games
    link
    fedilink
    English
    arrow-up
    30
    arrow-down
    5
    ·
    3 months ago

    Imagine a first person shooter with no menus. You just start up the game, and you’re suddenly in a death match with some other random people. There is no customization for the type of death match. The setting and the weapon selection are randomly generated for you. At the end, you are shown a victory/defeat screen with no buttons. After 10 seconds, you join another match.

    There is no pause button, no adjustment for mouse sensitivity, and no configuration for the screen resolution or graphics quality.

    No menus. Definitely not a menu game.

    The game also has no jump button, no stairs, and basically no Y axis at all. Definitely not a parkour game.