• 1 Post
  • 64 Comments
Joined 3 years ago
cake
Cake day: July 29th, 2023

help-circle

  • IMALlama@lemmy.worldtoSelfhosted@lemmy.worldSelfhosted coding assistant?
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    3
    ·
    2 months ago

    Straight up vibe coding is a horrible idea, but I’ll happily take tools to reduce mundane tasks.

    The project I’m currently working on leans on Temporal for durable execution. We define the activities and workflows in protobufs and utilize codegen for all the boring boiler plate stuff. The project hasa number of http endpoints that are again defined in protos, along with their inputs and outputs. Again, lots of code gen. Is code gen making me less creative or degrading my skills? I don’t think so. It sure makes the output more consistent and reduces the opportunity for errors.

    If I engage gen AI during development, which isn’t very often, my prompts are very targeted and the scope is narrow. However, I’ve found that gen AI is great for writing and modifying tests and with a little prompting you can get pretty solid unit test coverage for a verity of different scenarios. In the case of the software I write at work the creativity is in the actual code and the unit tests are often pretty repetitive (happy path, bad input 1…n, no result, mock an error at this step, etc). Once you know how to do that there’s no reason not to offload it IMO.






  • I got curious and will attempt some math and duckduckgoing.

    A forest can remove between 4.5 and 40.7 tons of Carbon Dioxide per year per hectare during the first 20 years of tree growth. Sauce

    Humanity is currently generating around 40 billion tons of CO2 per year. Sauce

    So now some simple math: it would take between 1 billion and 10 billion hectares of forests, depending on their maturity, to keep up. 100 hectare = 1 km2 sauce, so this means 10 to 100 million km2 of forests.

    Earth’s total surface area is 510 million km2. sauce.

    Of that, here’s a quick breakdown:

    Sauce

    So 10ish percent of the 510 million km2 of land on earth, or around 5.1 million km2 is a good candidate for tree planting. That’s not enough if we want to sequester all the carbon produced by humanity. Without getting to net zero global warming will continue. The best we can do is slow it down. More disconcertingly, our appetite for energy is only increasing. The good news is that we’re really starting to see large scale wind and farm operations ramping up, but there are still a lot of power plants scheduled to come online in the next two decades.




  • Maintaining a changelog for very large app development organizations is also a pretty damn hard task, trying to coordinate whatever all teams are releasing in a particular build.

    I feel this in my bones. Our biggest device contains hundreds of apps and firmware. We generally update the apps and firmware together. It’s nearly impossible to summarize the changes in a meaningful way. What issues were fixed? Likely a few hundred. What new features were added or improved? Another big list. Management thought AI would magically solve this problem, but it turns out that it has no idea which things are worth mentioning vs which should be glossed over.

    It sucks both internally and externally.



  • Sounds like a fun trip!

    and used my 15 year old REI Chrysalis solo tent for the first time in a while. It continues to hold up

    A lot of our camping gear is seriously old. A Coleman fuel stove and lantern from the 70s, which still works although TBH propane is somewhat appealing.

    Our tent is the same tent I used as a kid - a “3 person” dome from Eastern Mountain Sports, which was basically a smaller scale REI store. The tent must be pushing 30 and is still going pretty strong. It’s held up really well to some pretty serious wind and rain on a few occasions too - much better than the newer tents of some of my friends. I low key dread having to eventually replace it.

    Our kids are old enough to start camping with us soon, so it’s about to see it’s third generation.





  • I suggest something where you get to work with a wide range of the populus. Opportunities are basically all service industry jobs: waiting tables in a restaurant, working retail, working in a hotel, etc. Learning how to interact with wide swaths of humans is an invaluable skill that will serve you well in your future professional career. I would focus on building social and emotional intelligence.