Deceptichum ( @Deceptichum@kbin.social ) 71•5 months agoAnd the worst part is when it actually does and you have no fucking idea what went wrong before.
MrCookieRespect ( @MrCookieRespect@reddthat.com ) 18•5 months agoThe pc had the hiccups and now it’s fine. Problem solved!
Pantrygheist ( @Pantrygheist@programming.dev ) 64•5 months agoThat’s step zero: rule out black magic
embed_me ( @embed_me@programming.dev ) 39•5 months agoThose damn cosmic rays flipping my bits
CanadaPlus ( @CanadaPlus@futurology.today ) English2•5 months agoI wonder if there’s an available OS that parity checks every operation, analogous to what’s planned for Quantum computers.
Danitos ( @Danitos@reddthat.com ) 3•5 months agoUnrelated, but the other day I read that the main computer for core calculation in Fukushima’s nuclear plant used to run a very old CPU with 4 cores. All calculations are done in each core, and the result must be exactly the same. If one of them was different, they knew there was a bit flip, and can discard that one calculation for that one core.
CanadaPlus ( @CanadaPlus@futurology.today ) English1•5 months agoInteresting. I wonder why they didn’t just move it to somewhere with less radiation? And clearly, they have another more trustworthy machine doing the checking somehow. A self-correcting OS would have to parity check it’s parity checks somehow, which I’m sure is possible, but would be kind of novel.
In a really ugly environment, you might have to abandon semiconductors entirely, and go back to vacuum as the magical medium, since it’s radiation proof (false vacuum apocalypse aside). You could make a nuvistor integrated “chip” which could do the same stuff; the biggest challenge would be maintaining enough emissions from the tiny and quickly-cooling cathodes.
DragonTypeWyvern ( @DragonTypeWyvern@literature.cafe ) 11•5 months agoThat feeling when it is, in fact, computer ghosts.
Blackmist ( @Blackmist@feddit.uk ) English27•5 months agoYeah, but sometimes it works.
noddy ( @noddy@beehaw.org ) 9•5 months agoGood luck figuring out why it sometimes doesn’t work 🙃
CanadaPlus ( @CanadaPlus@futurology.today ) English5•5 months agoMmm, race conditions, just like mama used to make.
Octopus1348 ( @Octopus1348@lemy.lol ) 5•5 months agoThere was that kind of bug in Linux and a person restarted it idk how much (iirc around 2k times) just to debug it.
KairuByte ( @KairuByte@lemmy.dbzer0.com ) 1•5 months agoLegit happens without a race condition if you’ve improperly linked libraries that need to be built in a specific order. I’ve seen more than one solution that needed to be run multiple times, or built project by project, in order to work.
Peafield ( @Peafield@programming.dev ) 27•5 months agoThe first is a surprise; the second is testing.
xor ( @xor@infosec.pub ) 22•5 months agocould be a race condition
vamputer ( @vamputer@infosec.pub ) 50•5 months agoHmm…you may be right. I’ll get my Hispanic friend to run it and see if he gets the same result.
aiden ( @aiden@lemm.ee ) 18•5 months agoIt works on my machine
gaston1592 ( @gaston1592@feddit.de ) 19•5 months agook, then we ship your machine.
nieceandtows ( @nieceandtows@programming.dev ) 16•5 months agoJust had that happen to me today. Setup logging statements and reran the job, and it ran successfully.
TurtleTourParty ( @TurtleTourParty@midwest.social ) English15•5 months agoI’ve had that happen, the logging statements stopped a race condition. After I removed them it came back…
Hupf ( @Hupf@feddit.de ) 9•5 months agoThank you for playing Wing Commander!
quantenzitrone ( @quantenzitrone@feddit.de ) 16•5 months agoi sometimes do that so i can inspect the error messages on a cleared terminal
PoolloverNathan ( @PoolloverNathan@programming.dev ) 12•5 months agoOne of my old programs produces a broken build unless you then compile it again.
Buttons ( @Buttons@programming.dev ) English11•5 months agoIf that doesn’t work, sometimes your computer just needs a rest. Take the rest of the day off and try it again tomorrow.
Alien Nathan Edward ( @reverendsteveii@lemm.ee ) English6•5 months agoit’s only dumb til it works
Fixbeat ( @Fixbeat@lemmy.ml ) 5•5 months agoGot to make sure it’s not one of those phantom failures.
attero ( @attero@feddit.de ) 4•5 months agoThe definition of insanity is doing the same thing over and over and expecting different results.
drsensor ( @drsensor@programming.dev ) 3•5 months agoMy way: wrap it in a shell script and put a condition if exit status is not 0 then say “try clear the cache and run it again”
tengkuizdihar ( @tengkuizdihar@programming.dev ) 2•5 months agoEinstein did say…
Jimmycrackcrack ( @Jimmycrackcrack@lemmy.ml ) 2•5 months agoEver work?
puttputt ( @puttputt@beehaw.org ) 11•5 months agoDisturbingly, yes
gandalf_der_12te ( @gandalf_der_12te@feddit.de ) 1•5 months agoEvery sufficiently complicated system is indistinguishable from being alive, and living beings need some warm-up time.
CodeMonkey ( @CodeMonkey@programming.dev ) 6•5 months agoAll the time. Causes include:
- Test depends on an external system (database, package manager)
- Race conditions
- Failing the test cleared bad state (test expects test data not to be in the system and clears it when it exits)
- Failing test set up unknown prerequisite (Build 2 tests depends on changes in Build 1 but build system built them out of order)
- External forces messing with the test runner (test machine going to sleep or running out of resources)
We call those “flaky tests” and only fail a build if a given test cannot pass after 2 retries. (We also flag the test runs for manual review)