• 0 Posts
  • 6 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
  • I switched to using Moonlight to stream rather than Steam’s built-in RemotelyPlay months ago. It was just absolutely unusable; not a bandwidth issue, had that in spades. The problem was that it would either not connect, connect to a blank/green screen or the audio/video would randomly cut out. It would work maybe a fifth of the time, and if I had to reconnect for whatever reason, it would absolutely always fail.

    Moonlight? It worked out of the gate, and has never failed despite running on some beefy encoding settings since I have very good WiFi with next to no interference from neighbors.

    I desperately want Steam’s own offering to be better though. Not having to install a second tool, and to just connect from Steam directly would be a much more polished experience.


  • Oth@lemmy.ziptoProgrammer Humor@lemmy.mlPHP Moment
    link
    fedilink
    English
    arrow-up
    96
    arrow-down
    2
    ·
    edit-2
    4 months ago

    Tell me you’ve never used PHP without telling me you’ve never used PHP.

    It’s known for giving a complete stack trace, it’s nearest neighbours and their god damn grandkids the moment it so much as coughs up a warning. For the longest time it was notorious for doing this as the default error logging level.

    I’m aware it’s cool to hate on PHP, but it has plenty of things to dislike without straight-up inventing nonsense.


  • Everyone else is just telling you to do things in a way that is different, and while they are correct (you should use a unit.d/systems script for this depending on your distro), I’m going to actually answer your question since I know sometimes you just need a quick and simple way.

    Depending on your version of cron, it may support special statements instead of the * * * * * notation for time.

    The one you want is @reboot. Replace all entries of the schedule syntax with that, including the @, and the command will be executed only once when the system boots up.

    Use that to start a script that checks for network connectivity on a loop with a sleep statement. Break the loop when you have connectivity, then execute your command, and exit the script.

    Don’t ignore the correct way though. You’re better off executing this as a systemd (or equivalent) script. It’s barely more effort, and has the benefit of some nice built in logging and integrations.




  • Well, I suspect they will get their chance. The remake was incredible, and if they can pull it off a second time with DS2, I suspect 3 will follow too.

    The third game had some decent ideas. The weapon crafting was conceptually interesting and thematically appropriate with Isaac being an engineer. The co-op could have been done better, but I had a blast with it.

    Nuke the MTX shit from orbit and redo large swathes of the story though. What they did to Ellie was a disgrace.