Skip Navigation
Do you honestly see yourself ever retiring and how?
  • If there were a steady growing economy and no crazy events for the next 20 years, and no major health issues, my Roth 401k would probably be enough for a modest retirement.

    I was just wondering what the penalty would be to withdraw everything before 59, so I could figure out if it would be enough to immigrate somewhere with reasonable healthcare and a social safety net that would take those worries out of the equation. I think since it's Roth it would just be 10% of gains + one-time capital gains tax?

    It might be enough. Simply having a lump of $ makes so many more countries welcome to immigrants.

  • 2FA Apps for Linux Desktop?
  • Assuming you had the secrets stored in a secrets.json file in your home directory in this format:

    {
      "github": "github2FAsecretKey",
      "some_other_account": "2FAsecretKeyForSomeOtherAccount"
    }
    

    You could make a simple otp.py script and basic TOTP library to generate them in a script & copy them to clipboard:

    #!/usr/bin/env python3
    
    import json
    from pyotp import TOTP
    import os
    from sys import argv
    
    try:
      file = json.load(open(os.path.join('/home','username','secrets.json')))
      if len(argv) > 1:
        totp = TOTP(file[str(argv[1])])
        code = totp.now()
        cmd = 'cb cp $(echo %s | tr -d "\n")' % code
        os.system(cmd)
      else:
        print(f"Available args:\n  {'\n  '.join(list(file.keys()))}")
    except Exception as e:
      print(f'Error in OTP: {e}')
    

    Then you just alias otp='f() { $HOME/otp.py $1 };f' in your shell profile/rc and call it with e.g. otp some_other_account or just otp if you forget what key names you gave them to get a reminder list. Obviously you'd want to replace the JSON plaintext file load with an actual secret store if you're not a lazy madman. I am a lazy madman.

    Edit: when I stop being lazy I will probably switch to that davel@lemmy.ml suggestion below (pass + pass-otp extension).

  • What is the weirdest thing you’ve ever seen at a thrift store?
  • This got a chuckle out of me. Now, I would like to give you one half of a best friends forever charm, with no promise or expectation that I will wear or retain the other half.

    Fuck it, let's get tattoos.

  • Young Black and Latino men say they chose Trump because of the economy and jobs.
  • I expected this after watching Khalid Attaf videos of talking to customers in his family's gas station/convenience store. It was depressing to see the reasons people were planning to vote this way. If you watch this, save at least a thread of sanity and don't read the comments.

    https://youtu.be/E-Il-hLjKGY

  • Office dwellers, what software/website or system do you use to keep track of tasks you need to do?
  • Logseq. Free, cross-platform (I just sync my journals through github), more convenient than any other notes or tasks app I've ever used since it auto-organizes everything you tag with graph db relationships. Organizing and constantly reorganizing my notes and tasks has always taken the longest amount of time, and now I can just stream of consciousness everything and let the app do the work. I hear Obsidian is good too, and it was next on my list to try if Logseq didn't work out. But I do love Logseq.

  • Autism is spiking in young adults, study finds
  • He's lucky, it sounds like he found out at the right time. I didn't find out until much later and while my coping and masking skills work for a few hours, they're exhausting to do, they make me feel like I'm lying about who I am, and I can never be relaxed around people.

  • Elon Musk doesn't show at Philadelphia hearing over super PAC's $1 million lottery for voters
  • That sounds scary and dangerous, good work with the sobriety! I have had addictions that I cannot go near again because I know I don't have the ability to control them "in moderation," and it's a lot of effort to stay away but worth it.

  • Elon Musk doesn't show at Philadelphia hearing over super PAC's $1 million lottery for voters
  • Did it help? Was there any lasting effect that you noticed, good or bad? MDMA is the only thing I've tried that helped me break through some significant barriers and had positive effects after sobering up that have continued for over a decade. In the right setting I would be up for taking it again.

  • For four hours, Christians in Georgia gathered to worship Trump. I was there.
  • They didn't read that far. Most of them who even start don't even get to the "begat" sections, Genesis 5 if you start in the Old Testament and Matthew 1 if you start in the New Testament. So, the very first books of each testament.

  • Man survives monthlong ordeal in US park on a mushroom, berries and water
  • Only if the wall is connected to the outside. If the wall is completely internal and unconnected to the outside wall, you will never get out. That's why you should always carry bread in your pockets when you leave the house, to leave a trail of crumbs so you have something to eat when you come back to your starting point in the maze.

  • John Deere lays off hundreds of employees, after a $10B profit year
    franknez.com An Unexpected Company Is Now Laying Off Hundreds in Illinois

    An unexpected company is now laying off hundreds in Illinois by the end of summer due to a decline in market demand for its products.

    An Unexpected Company Is Now Laying Off Hundreds in Illinois
    112
    Do you organize the order of your groceries in the checkout line?

    I'm just wondering what the title asks: do you organize your groceries in the order you will check them out, if doing self-checkout, or arrange them on the belt/counter in a standard checkout line, in the hope that they'll be bagged in a specific way?

    I didn't know there was any other way people do it, but just learned some people prefer to checkout/bag without pre-arranging things. I'm kind of curious to see what's more common, or if there's some other options I haven't considered?

    92
    C++ creator rebuts White House warning
    www.infoworld.com C++ creator rebuts White House warning

    Biden administration seems oblivious of the strengths of contemporary C++ and the efforts to provide strong safety guarantees, Bjarne Stroustrup said.

    C++ creator rebuts White House warning

    Python is memory safe? Can't you access/address memory with C bindings?

    103
    Aaron Rodgers and Jesse Ventura on RFK Jr vice-presidential shortlist
    www.bbc.com Aaron Rodgers and Jesse Ventura on RFK Jr vice-presidential shortlist

    The independent candidate's campaign says Aaron Rodgers and Jesse Ventura are on the shortlist for the role.

    Aaron Rodgers and Jesse Ventura on RFK Jr vice-presidential shortlist

    Celebrity conspiracy theorists and pseudoscience promoters with ties to Russian state-run media outlets. In case there weren't already enough of those candidates.

    13
    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/)SE
    seth @lemmy.world
    Posts 5
    Comments 99