• 11 Posts
  • 173 Comments
Joined 6 months ago
cake
Cake day: June 11th, 2024

help-circle





  • I think you (or I) misunderstand something. You have a test for a small well defined unit like a C function. und let the AI generate code until the test passes. The unit test is binary, either it passes or not. The unit test only looks at the result after running the unit with different inputs, it does not “go through millions of lines of code”.

    And you keep doing that for every unit.

    The writing of the code is a fairly mechanical thing at this point because the design has been done in detail before by the human.



  • Jeena@piefed.jeena.nettoTechnology@lemmy.worldThe GPT Era Is Already Ending
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    4
    ·
    3 days ago

    We already have to do that as humans in many industries like automobile, aviation, medicine, etc.

    We have several layers of tests:

    1. Unit test
    2. Component test
    3. Integration / API test
    4. Subsystem test
    5. System test

    On each level we test the code against the requirements and architecture documentation. It’s a huge amount of work.

    In automotive we have several standard processes which need to be followed during development like ASPICE and ISO26262:



    • Born in Poland to polish parents but German grandparents
    • at 11 fled to Germany one month before the Berlin wall fell
    • at 23 a girl in Sweden on ICQ uses its random function, we marry and I move to Sweden
    • we divorce I stay in Sweden go to University at 30, everyone else is 22
    • I graduate and work in automobile industry
    • during covid I go on a 3 month business trip to korea and install tinder, because why not?
    • I meet someone there, she is the CFO of a mid size company so I move to Korea
    • at 45 I become a father and we marry

    In between there are many more random thing, I play in a ska band and in a metal band, I brew beer, I make sausages, I help creating a free and open source conference, totally drunk I try cocaine which only makes me sober, I program a small game, I go to Hebron in Palestine and record a podcast, etc.





  • My wife bought me a very expensive mechanical watch as a gift, which I myself would never even think of looking at in a shop. First I was like, what the hell am I supposed to do with that? I already have a smart watch!

    But god damn it’s growing on me.

    1. Because it’s such high quality it doesn’t scratch and looks absolutely stunning even after wearing it constantly for month. Normally I put scratch resistant stickers on it and stuff but they scratch everywhere they touch anything. This one nothing at all.
    2. And this is so huge to me and I never realized it, I never have to charge it, it just always works. It glows in the dark a bit because of the fluorescent clock hands too.

    I kid you not, this is so amazing, every time I want to know the time it just works for months without charging and it looks beautiful.

    Yeah, that’s my luxury.



  • I just bought a random UPS at MediaMarkt back in the day in Poland and calculated that it would be able to power all the CCTV cams, the CCTV recorder, a raspberry pi and the modem which is connected to a long range WiFi antenna for at least half an hour. This worked very well for a couple of years until the battery gave up. The one I had had a ethernet port but I never bothered to set it up to send the signal.

    Mine was running at my parents summer house in Poland while my parents live in Germany and I in Sweden and now in Korea, so if something breaks down it’s down for up to a year until someone goes there to fix it.

    Right now everything is down, my dad was there a couple of month ago and said that a marten chew up the Ethernet cables. Sadly my dad couldn’t fix it so now I hope I will be able to get there during Christmas.







  • I did it for a year or so, exactly the same thing, I have a bunch of websites and other services like matrix, mastodon, peertube running on that server.

    I found out the hard way that Lemmy is really not optimized for single user instances on a small VPS. In the beginning it was OK but the more they optimized for big instances like Lemmy.world and .ml the word it ran with few resources.

    In the end it was so bad that it would Hogg all the servers resources and bring the whole server down every couple of hour so that I had to hard reboot it.

    The worst part was that this impacted alł my other services and websites which went down with it every couple of hours. I tried to get a beefier server but that only helped until the next update.

    In the end I switched to Piefed and couldn’t be happier. It uses a lot less resources as a single user instance so I could downgrade the server again and it’s written in python so I can much easier help working on it, no need to compile anything, etc. And it has a cool template engine which let’s you easily modify how it looks and feels.