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


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




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





  • Can someone explain to me how this is economical? (The article is pretty light on facts, and the few facts that it has are suspect anyway due to the article’s technical mistakes, like measuring capacity in “megawatts”.)

    The maximum price of electricity (that I could find) in California is $0.66/kWh . That means, if you charge at night, or at some theoretical time when electricity is free, and then sell at that maximum price every day, your round-trip profit is $0.66 for each kWh of battery capacity. Lithium-ion batteries, if I’m being generous, last up to 2000 charge cycles. Let’s say they don’t lose any capacity during that time, either. That means your profit $1320 per kWh, for the whole life of the battery.

    The cheapest grid-tie batteries I can find are about $3000 per kWh, so about twice as much as the total lifetime profit.

    Is there something I’m missing?


  • Sounds like what you’re looking for is an ATX12V plug. It’s a 2x2 connector that normally has two yellow and two black wires. It normally goes into the 2x2 receptacle on the motherboard to power the processor. In this case, the eGPU enclosure needs it for some reason, maybe for more power.

    The good news is that the 2x4 breakaway connector (called EPS12V I believe) that splits into two 2x2 connectors is probably compatible with this receptacle. One of the two 2x2 pieces of the connector should fit into the eGPU’s power receptacle, and the other won’t. If it fits, it is probably the right connector. If two of the wires going to that connector are yellow, and two are black, then it’s almost certainly the right connector.

    You may have multiple of these 2x4 breakaway connectors. If so, they should behave identically, and you can break up any of them and try to fit the pieces into the ATX12V receptacle.

    List of ATX power supply connectors: https://en.wikipedia.org/wiki/Power_supply_unit_(computer)#Connectors (without images, unfortunately.)

    Don’t forget about the big 20-pin or 24-pin main ATX motherboard power connector. Your second power supply, since it is non-modular, will need something to simulate the motherboard’s power button. That’s can be as simple as a switch between the PS-ON wire (green) and any ground wire (black). But hopefully your eGPU has a place to plug in the ATX motherboard power connector, and handles that on-off switching for you.





  • LimonenetoGaming@lemmy.worldThere are two types of gamesEnglish
    arrow-up
    30
    arrow-down
    5
    ·
    2 months ago
    link
    fedilink

    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.


  • No, it’s not dead. The number of players is irrelevant.

    A “dead game” is a game that needs work but is not under any development. It could be in Early Access, and incomplete. Or, it could be released, but still incomplete (looking at you, 7 Days to Die). Or, it could be an MMO that needs ongoing server maintenance, but they shut the servers down.

    A game that is being worked on and making good progress isn’t dead. A game that is complete and relatively bug-free, but not being worked on, is not dead. An MMO getting no new content, but just enough labor to keep the lights on and the servers up, is not dead.

    I guess an MMO or multiplayer game that has mandatory multiplayer aspects could be considered Dead if there aren’t enough players available to reasonably play the game. But Palworld is a single player game, or co-op with friends, not really an MMO.




  • Yeah, it’s definitely a problem, and genetic information could end up getting linked. Even if a person thinks they might not have DNA in any existing database, whether criminal, medical, or otherwise, there’s no telling what might happen in the future. I can think of a few different ways a person might involuntarily, through no fault of theirs, get their DNA forcibly taken with no legal recourse.

    Every path here will have some tradeoffs. But the odds of getting linked are probably much lower outside your home country.