bugsmith
- 34 Posts
- 35 Comments
bugsmith@programming.devOPMto
Programming@programming.dev•Adding Live Reload to a Static Site Generator Written in GoEnglish
1·4 months agoI’d say fsnotify is the least interesting part
bugsmith@programming.devMto
Programming@programming.dev•Programming.dev instance: Sponsors needed
2·5 months agoIt’s Lemmy.
bugsmith@programming.devMto
Programming@programming.dev•Programming.dev instance: Sponsors needed
1·5 months agodeleted by creator
This should have been posted in programming.dev/c/meta. I’m leaving it up here as the question has been answered.
bugsmith@programming.devOPMto
Programming@programming.dev•Good software development habits
1·2 years agoTotally agree. Like most “rules”, it just needs treating with nuance and context.
I really like Nushell. I would not run it as a daily driver currently, as it mostly doesn’t win me over from Fish, feature-wise, but I love having it available for anything CLI date pipeline work I need to do.
Love this. Always interesting to see novel ways of querying data in the terminal, and I agree that jq’s syntax is difficult to remember.
I actually prefer nu(shell) for this though. On the lobste.rs thread for this blog, a user shared this:
| get license.key -i | uniq --count | rename license This outputs the following: ╭───┬──────────────┬───────╮ │ # │ license │ count │ ├───┼──────────────┼───────┤ │ 0 │ bsd-3-clause │ 23 │ │ 1 │ apache-2.0 │ 5 │ │ 2 │ │ 2 │ ╰───┴──────────────┴───────╯
bugsmith@programming.devto
Selfhosted@lemmy.world•Selfhosted twitter alternative, not mastodon if possibleEnglish
2·2 years agoYes, I don’t know how I forgot to mention that Iceshrimp and Sharkey both have Mastodon compatible APIs - so all the same apps work (mostly).
bugsmith@programming.devto
Selfhosted@lemmy.world•Selfhosted twitter alternative, not mastodon if possibleEnglish
8·2 years agoBased on your requirements, I would suggest looking at one of the Firefish / CalcKey forks. They are ideal for single user or small instances and they support s3 compatible object storage out of the box.
I would recommend looking at Sharkey or Iceshrimp. Both are under very active development and have very responsive developers if you need support.
If you would like to check out an example, Ruud (of mastodon.world and lemmy.world) set up an instance of Sharkey at (you guessed it) sharkey.world.
Honestly, for any large scale project in Python, Pydantic makes it bearable. We use Python heavily at work (and I’d argue we shouldn’t be for the projects we’re working on…), and Pydantic is the one library we’re using that I wouldn’t be without. Precisely because it allows us to inject some of these static typing concepts and keeps us honest, and our code understandable.
Yes! The concepts are intertwined. I think the key take away, for me, is to lean heavily into your type system and allow that to do some of the heavy lifting. Accept that something like a
usernameis not a string, but a subtype of a string (this has to be true if any validation is required, otherwise you’d just accept any valid string).
It’s one of my favourites. Something I revisit every couple of years.
bugsmith@programming.devOPMto
Programming@programming.dev•The Hacker News Top 40 books of 2023
1·2 years agoThat one has been on my list for a while. Are you finding yourself able to easily apply what is taught to your day-to-day?
bugsmith@programming.devto
Gaming@beehaw.org•Sonic X Shadow Generations - Announce Trailer
3·2 years agoDifferent strokes for different folks, I guess. I enjoyed Heroes for what it was.
I agree that Sonic Battle was one of, if not the best entries for character building. And SB is, in fact, my all-time favourite Sonic game. Breaks me that I may never see a sequel / reboot, and get to relive Emerl’s story.
bugsmith@programming.devto
Gaming@beehaw.org•Sonic X Shadow Generations - Announce Trailer
3·2 years agoI’d honestly be happier with no guns. Not sure if that was their greatest move, in their effort to make him ‘edgier’. He was perfect in SA2 and Sonic Heroes.
bugsmith@programming.devto
Gaming@beehaw.org•Sonic X Shadow Generations - Announce Trailer
4·2 years agoI am very excited for this. One part of my childhood that I’ve never been able to let go of is my total fanboy-ism of Shadow.
bugsmith@programming.devOPMto
Programming@programming.dev•The Hacker News Top 40 books of 2023
8·2 years agoI have read a few of these books. As for non-fiction:
Pragmatic Programmer Excellent book; should be compulsory reading for all software developers.
The Phoenix Project Enjoyable enough. It’s a fictional story and has some extremely role-cast, trope filled characters. But its purpose is not to be a great novel. Its purpose is to teach the history of and purpose of how dev-ops came about. I think it’s worth reading. I’m yet to try the Unicorn Project which I understand is actually more about software.
Eloquent JavaScript I am not a huge fan of working with JavaScript or front end, but I did read this when I got placed on a long term project where I would be using it for the duration. I found this book excellent, and my JavaScript certainly benefitted from it.
I also read a bunch of the fictional books. Bobiverse is one of my favourite series ever, despite the weirdness of the fourth book (it was still good). I’m just over halfway through Children of Time, and seriously regret not picking it up sooner. Well kind of, if I had I suppose I wouldn’t be enjoying it so much now!
bugsmith@programming.devMto
Programming@programming.dev•Do any of you program on non-US keyboard layouts?
4·2 years agoI believe the lower cable connects the two boards. The upper cable is for connecting to your device, so would only be connect to one of the boards when in use.
bugsmith@programming.devMto
Programming@programming.dev•Do any of you program on non-US keyboard layouts?
3·2 years agoI use UK standard layout, and Apple UK for work. It always takes me a few minutes to switch between them, but both are absolutely fine for programming. Just the odd placement of
#that bothers me a little, but I tend to use that only for Python comments - which I tend to do more commonly from a keyboard shortcut anyway.













I’m glad you enjoyed it. I appreciate the kind words.
Feel free to do so!