Skip Navigation
As a young American, how do I motivate myself to work? It feels like the entire system is a scam and it's pointless to even try.
  • I mean, work is always a shit deal, trading life for money but you need money for life also including retirement which is a lot less guaranteed for millenials and younger.

    I'd recommend learning a trade like electrician or plumbing. You get fat stacks and control your own time. It takes a bit of time to learn but the work you do will never be a scam since it's you working for an average person and yourself.

  • TIFU by not using objects in my object-oriented programming coursework
  • To expand on that you can never instantiate an object of type answer07 since it's a static class.

    (For the students here the "static" modifier means "it's on the class, not the object". Non-static will only be accessible as a "obj.whatever" but static is accessible by "Class.whatever")

  • I'd like to think they're all just Russian trolls but increasingly, I think some people are just selfish or dumb.
  • Demecrats should also focus on rural issues more. The city voters are all already democrat and the biggest gains come from appealing to issues of rural voters that increasingly feel as an afterthought of the democrat party.

    Agricultural subsidies for owner operated farms is for example is a good policy. Solar panel loans where you use the savings on them to pay them back is another.

    That reduces food and power prices then you also need a housing policy.

  • I'd like to think they're all just Russian trolls but increasingly, I think some people are just selfish or dumb.
  • I don't agree with your sentiment of "both bad". The democrat voters sympathise a lot more with Palestinians than Republican voters. If Trump gets into the white house he has a lot more political breathing space to continue and support the genocide.

    Do you remember the Muslim ban he tried to make back when he was president? Biden is an asshole and he lacks the balls to stand up to israel and cut the military aid but Trump can do a lot worse like support an offensive against Iran, Israel's ultimate goal.

  • Survey says half of developers consider VR market on decline or stagnation
  • I mean the hype has died down but I think it's rather that VR is too expensive right now. I want VR but I don't want it $500 much to get a novelty item.

    I think using it as a big ass screen would be nice and I really want to Serious Sam and Subnautica on VR. The immersion is really good for VR and I've liked it a lot every time I've played it.

    Still, you need a decent space in the living room. A good graphics card for the frame rate and the expensive headset and motion trackers to get the full experience. That's a lot to ask for with the current economy.

  • Self-documenting Code
  • More or less the same but the user gets passed as a method parameter each time. Validators would be in my opinion a long function inside the service also with named variables like this because it's just easy to read and there are no surprises. I'd probably refactor it at around 5 conditions or 30 lines of validation logic.

    I recommend trying out using the constructor in services for tools such as a database and methods for data such as user. It will be very easy to use everywhere and for many users and whatever

    const passwordIsValid = ...
    if (!passwordIsValid){
      return whatever
    }
    
  • Sleeping tricks

    I'm looking for sleeping tricks and thought some other people here might have similar issues or good tricks. Can be anything from getting the motivation to go to sleep to actually tricks to falling asleep.

    My current trickbook is basically this:

    Podcasts, but it has to be in some goldilocks zone of interesting to enough to keep attention but not too good so it gets exciting.

    I've also done meditation in bed when falling asleep that tends to work.

    Consistent routine is good. Shower, brush teeth, lights off, episode, sleep.

    I'm curious to see what other autistic people are working with here.

    17
    Chrono Trigger (SNES 1995)

    I'm born in 1992 so this game is a bit before my time. I started playing it and got completely hooked. It's an absolutely fantastic game that would still hold up as a quality indie game today.

    Music is amazing. Characters and character development is amazing. Story is very good. Combat is genuinely fun instead of feeling like a chore that cuts you off from the game. Art style is amazing.

    I was surprised how much quality they could fit onto the SNES back it the day, it's a really good game and everyone with a potato can ploy it.

    Pro tip: Remasters have some UI unpleasantness so it's best to stick to SNES emu version. I tried the Android and they used some native android font that ruined the immersion a bit. There's also a tight running section that's particularly unsuited for the mobile version. SNES is best, as originally intended.

    25
    Help wanted: Girlfriend said she was feeling Khorne-y

    So I of course screamed BLOOD FOR THE BLOOD GOD and SKULLS FOR THE SKULL THRONE like any reasonable human being. Then maimed some people with a knife, drank their blood etc.

    She won't talk to me now and I don't understand why. Do you guys think the knife was to small?

    Any help very much appreciated.

    1
    Activities destroyed when swapping apps HyperOS

    Does anybody else experience that Android activities get destroyed and rebuilt all the time when switching between apps?

    Browser page gets reloaded and form values disappear.

    Authorising a payment in different app can make the payment fail.

    General bad experience when multitasking 3 apps and swapping between.

    (I'm on Redmi Note 12 with HyperOS)

    0
    Who of you guys are on an "Unknown" OS?
    gs.statcounter.com Useragent Detect | StatCounter Global Stats

    Test the StatCounter Global Stats useragent detection

    Useragent Detect | StatCounter Global Stats

    I've been wondering how many Linux users are being listed as unknown by statcounter out of curiosity. There has been a big global bump "Unknown".

    Obvious ones are UserAgent spoofers Vpn users but I feel like that's pretty niche. I'm wondering if SteamOS, Endeavour and BSD show up as Unknown. Furthermore, will just all non-Ubuntu based OS?

    9
    Distro for a local "cloud gaming" no monitor desktop

    I'm looking for a specific distro to handle some tasks.

    I got a second hand rig with Nvidia GTX 1050 that I want to use as a home server. I wanted to use HoloISO but it doesn't support nvidia. If someone says "do it anyway, it's fine" I'll install it though.

    The idea is to support a Jellyfin server and Steam Link gaming but steam is not big on Nvidia so it's hard to narrow down "black screen" issues etc. I'm also planning to manage it via VNC and SSH.

    I'm familiar with Ubuntu based systems since I develop software on Ubuntu based KDE distro but never had a graphics card.

    So it boils down to:

    • Ease of setup including nvidia drivers
    • Ease of update via command line (I'm not going to download nvidia drivers from their website to update proprietary drivers)
    • Graphics performance
    • Prefer Ubuntu based

    I'm up for Gnome, Xface, Cinnamon, KDE or whatever DE.

    Edit: Changed title to better reflect requirements and not have misleading "headless" and "server" in it

    44
    Shoutout to this guy on github
    github.com GitHub - navilg/media-stack: A stack of self-hosted tools to manage and stream media. Sonarr + Radarr + qBitTorrent + Prowlarr + Jellyfin + VPN

    A stack of self-hosted tools to manage and stream media. Sonarr + Radarr + qBitTorrent + Prowlarr + Jellyfin + VPN - GitHub - navilg/media-stack: A stack of self-hosted tools to manage and stream m...

    GitHub - navilg/media-stack: A stack of self-hosted tools to manage and stream media. Sonarr + Radarr + qBitTorrent + Prowlarr + Jellyfin + VPN

    The setup and instructions helped a lot with setting up. My library is small and local now but the future is bright. Thank you all for writing info answers and docs.

    Special thanks for all the devs of Sonarr, Radarr, Prowlarr, Torrent clients and nzb360.

    Extra special thanks to the devs at Jellyfin. Honestly this whole set blew my mind.

    30
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)OL
    Caveman @lemmy.world
    Posts 10
    Comments 808