Interests: programming, video games, anime, music composition

I used to be on kbin as e0qdk@kbin.social before it broke down.

  • 0 Posts
  • 104 Comments
Joined 2 years ago
cake
Cake day: November 27th, 2023

help-circle



  • Here’s one of mine. I got annoyed at the complexity of other command line spellcheckers I tried and replaced them with this simple python script for when I just want to check if a single word is correct:

    #!/usr/bin/env python3
    
    import sys
    
    try:
      query = sys.argv[1].lower()
    except Exception:
      print("Usage: spellcheck <word>")
      exit(1)
    
    with open("/usr/share/dict/words") as f:
      words = f.readlines()
    
    words = [x.strip().lower() for x in words if len(x.strip()) > 0]
    
    if not query in words:
      print("Not in dictionary -- probably a typo")
      exit(1)
    else:
      print("OK")
      exit(0)
    


  • Ecclesiastes surprised me though - that one was interesting.

    Same. That’s one of a few parts I’m planning to go back and re-read eventually. I don’t know if I have a favorite part, but that definitely grabbed my attention.

    In general, I’d say the parts worth my time, in addition to Ecclesiastes, were the first 5 books of the Old Testament (Torah equivalent), some of the histories, and the Gospels. I didn’t really care for the seemingly endless letters of Paul et al, the Psalms, Proverbs, or the prophets generally. It’s possibly I didn’t have the right perspective/context to appreciate them. I did find the fact that there are words – like “selah” – which we don’t actually know the meaning of to be interesting though, and, of course, seeing names and the sources for references I’ve encountered in other media was also interesting. (e.g. the title “Malachi” of the last book of the Old Testament jumped out at me because of Futurama even though the book itself didn’t leave a strong impression when I read it.)



  • I thought I wanted to be a game developer back then and was making a bunch of hobby projects with Game Maker, had taught myself C++ (to a mediocre level), was writing (not very good) music, and generally burning myself the fuck out. -.-

    The programming turned into a career (not in gamedev though). Everything else turned into an anxiety disorder.