• 3 Posts
  • 39 Comments
Joined 1 year ago
cake
Cake day: June 1st, 2023

help-circle

  • The Test part of TDD isn’t meant to encompass your whole need before developing the application. It’s function-by function based. It also forces you to not have giant functions. Let’s say you’re making a compiler. First you need to parse text. Idk what language structure we are doing yet but first we need to tokenize our steam. You write a test that inputs hello world into your tokenizer then expects two tokens back. You start implementing your tokenizer. Repeat for parser. Then you realize you need to tokenize numbers too. So you go back and make a token test for numbers.

    So you don’t need to make all the tests ahead of time. You just expand at the smallest test possible.





  • 8 years ago I posted on facebook that whoever is interested in keeping in touch should text me and I deleted my account a week later. 4 people texted - all 4 were my high school friend. I’m very good friends with them still. We have a tiny discord server for communication. Since then I had maybe 4 more people who I thought “huh, I wonder what are they up to now” over the years, but my curiosity wasn’t big enough to start facebook again. For the rest I didn’t really care.




  • I think a lot of American privacy/security folks start with realizing the US government isn’t about privacy, so they want smaller government, but the only party pushing for smaller government pushes bigoted views to so the privacy folks get sucked into that mental space… not condoning them at all but I think this situation is the result of two-party government. I’m in security sector, but I do research and so there are a lot more left-leaning people around me. Sorry I don’t know any podcasts to recommend though.








  • What the article fails to address and what I’ve been struggling with personally is… We all need food. Yeah it’s great working on GPL code and ensuring it’s all open. But when companies consider your gpl library vs someone else’s mit library they will naturally go with mit. And then they’ll say “well we’re using this free library already might as well donate/fund it”. So suddenly this MIT dev is able to put way more time into the mit library than your gpl library because it becomes their job. Something that feeds them. Their library gets better faster… And more and more companies use it and fund it. GPL is great if absolutely everyone is on board and everyone is fed. But that’s not the world we live in.





  • I agree with the commenters who said people miss certain things but forget about convenience of the connected world. I wanted to add that people likely misattribute their nostalgia to unconnected world because they were kids. It felt great being a kid not because we were pre-internet, but because we were kids. We had no bills to worry about. We’d always have food. And that was the only food we ever knew about so we loved it. Our worries were to just have enough time in the day to play all the cool things with friends and explore the world. We didn’t feel guilty for just playing video games the whole day or hanging out with friends the whole day. Our bodies could fall from a tree and our bruises would heal in a week. We’d find a motherfucking ant and be fascinated by it for hours! Have you tried staring at ants now? It’s mindnumbingly boring. Of course we miss the way we felt when we were kids. Technology ha nothing to do with it. Every generation misses being a kid.


  • Look at installing Gentoo, or Arch, or Alpine vs Ubuntu. There’s no technical reason we can’t make Gentoo installation GUI. It’s just going to be very very tedious. Orders of magnitude more tedious.

    At the same time Gentoo allows you to customize WAAAAY more things during its install than Ubuntu.

    So specifically for lemmy - yeah we can probably make some sort of default AWS image where you just select it when spinning up new VM and you’re up and running. But what if you want something slightly different? Maybe you prefer MySQL instead of Postgres. Or Apache instead of nginx, or maybe you want images hosted on a different machine. Suddenly it’s the install GUI author’s responsibility to support install of 10 different databases, or load-balancers, or something else, and each one has their own GUI options. Then someone else wants 11th database added and it has 10 more custom options…. Oh and now someone else is asking for a DigitalOcean image instead… or and now someone’s asking for Docker image… You see where this is going.