• 1 Post
  • 1.25K Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle








  • It’s possible—I’ve used Perl scripts to pull data automatically out of email attachments stored in a maildir setup, and you should be able to pick commands out of a plain-text email body with a scripting language even more easily—but I will add my voice to the chorus that’s saying you should look into any other method you can find before settling on this. If it turns out you must proceed along these lines, think long and hard about security.


  • You should be able to set up the system to autologin on startup and then run commands from the auto-logged-in user’s .bash_profile, if you can reduce what you want to do to a script. You’d probably want to specially set up a user for this, to reduce security risks.

    (I just stood up a weird little Gentoo media PC that does approximately this—logs a user in on startup and then runs startx from .bash_profile to make it easier to use with no keyboard attached and no DM. You’d just want to put a different command in instead.)


  • Have you ever lived in any of the Northern Ontario ridings (or any other part of northern Canada, for that matter)? I have, and do, although I haven’t lived in Kap-Timmins-Mushkegowuk specifically since the 1990s. Still, I doubt it’s changed much.

    To put it bluntly, it’s an area that’s used to being ignored if not outright mistreated by government at both the provincial and federal levels. Small and shrinking population with a high percentage of Indigenous and Francophone individuals, large tracts of land with limited transport options, little industry, few jobs, and no influence. Our MPs normally have no influence either, unless they somehow make it into Cabinet. It almost doesn’t matter what party they belong to.

    Charlie, according to everything I’ve seen, heard, and read, tried. Dude worked his balls off for his constituents, and for Canada in general, with little in the way of result or recompense. I don’t know if he’s doing more for Canadians right now than he did when he was in Parliament, but his seat didn’t give him much more scope to accomplish anything than he has as a private citizen.




  • nyan@lemmy.cafetoTechnology@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    10
    ·
    13 days ago

    Animals, including humans, have sensors for pain (nerve endings), and a series of routines in our brains to process the sensory data and treat it as an unpleasant stimulus. These are not optional systems, but innate ones.

    Machines not only lack the required sensor systems and processing routines, they can’t even interpret a stimulus as unpleasant. They can’t feel pain. If you need proof of that, hit a computer with a sledgehammer. I guarantee it won’t complain, or even notice before you damage it beyond functioning.

    (They can, of course, make us feel pain. I just spent the last hour trying to get a udev rule to work . . .)


  • Furthermore, we’re talking about exports. Does anyone really believe that other countries that haven’t banned plastic straws won’t just source them elsewhere instead? China’s usually willing to manufacture any random plastic object someone is willing to pay for. If plastic straws really are the hill someone wants to die on, environmental activism in the countries that still allow them seems like it would be more effective than an export ban here.