It happened to me when I was configuring IP geoblocking: Only whitelist IP ranges are allowed. That was fetched from a trusted URL. If the DNS provider just happened to not be on that list, the whitelist would become empty, blocking all IPs. Literally 100% proof firewall; not even a ping gets a pass.
- 0 Posts
- 11 Comments
JATtho@sopuli.xyzto Programmer Humor@lemmy.ml•Bacteria share genes all the time. RMS would approve1·2 years agoTechnical debt means how much work it takes to update legacy solution to a modern solution. E.g. each time a new C++ standard is used, all code written with the old standard should be checked. The work time needed to do this is paying up the technical dept.
Now, if you are lazy, and didn’t clean up the code, used the easy and sloppy solution, next time you have twice the work to be done. So the dept gets worse, if you do nothing.
JATtho@sopuli.xyzto Programmer Humor@lemmy.ml•Bacteria share genes all the time. RMS would approve3·2 years agoI touched a piece code that was +10 years old, according to git. Should I be scared? Will my change it survive??
JATtho@sopuli.xyzto Linux@lemmy.ml•What's (are) the funniest/stupidest way(s) you've broken your linux setup?3·2 years agoI had a similar debacle, when I managed to corrupt a btrfs file system to point it wouldn’t mount again…
I was preparing it to have as my main system on bare hardware. I had accidentally mounted the same block device simultaneously in the host and guest: kablamo silent corruption and all 5 hours of progress lost.* :(
*shred the guest VM, host was ok.
JATtho@sopuli.xyzto Linux@lemmy.ml•What's (are) the funniest/stupidest way(s) you've broken your linux setup?3·2 years agoOn arch, UEFI boot vars are mounted at
/sys/firmware/efi/efivars
. It’s unwise torm -rf
them…
Me:
- Need to debug a program
- Debugger doesn’t work
- Need to debug the debugger
- …
- Look at a hardware bug in the CPU that breaks ptrace syscall /s
- Go find a bucket of sand.
JATtho@sopuli.xyzto Technology@lemmy.world•In 2017, I bought a 1TB 960 Evo for 466€. Now, in 2023 the 1TB 970 Evo Plus is 43€.English142·2 years agoUntil you would have to replace a HDD: +23 hours of nerve racking RAID repair time for 10TB drive at 120MB/s Even with some advanced (like ZFS etc.) system you can’t go around the fact the HDDs are slow.
And when the HDD fails, you can’t read it. It’s toast. Some cheap non-volatile memory devices are like this too, but good ones go into read-only mode and you can at least attempt data recovery from them if no better option is left.
I’m liking that it is possible get cheap+good 1TB NVMe devices for less than 100€. The consumer SATA market for large SSDs (capacity over 1TB) is unfortunately quite dry. I need replacement for HDDs and even if the speed is capped by SATA bus it would be an massive improvement.
It gets more cursed the more you look at it:
- you have to convert the coordinate axes (swap z,x,y)
- then you find out the right/left handed is flipped
- now your brain melts if you even try think how to solve this with transformation/rotation, what ever.
JATtho@sopuli.xyzto Android@lemmy.world•Opinion - What are your thoughts on password managers? Do you use one? Would you recommend it to others?English22·2 years ago<tinfoilhat>This post is literally an pwns-list of users admitting what they use as password manager that may be stolen.
I encrypted an file, I put it on a device and mostly forgot it exists. Now if service locks me out I have go hunting.</tinfoilhat>
JATtho@sopuli.xyzto Technology@lemmy.world•You cant even avoid irrelevant results with "site:" anymoreEnglish5·2 years agoI recently switched my default search from Google to DuckDuckGo: Google has begun refusing to find anything while exact same search on DuckDuckGo just works. Google is slower because I have to think+ignore first half of the page due to Ads/SEO crud.
And you have bootstrapped an B compiler on that?