The real pros don’t even link or connect them. You have to know the others exist.
Aka csm10495 on kbin.social
- 2 Posts
- 198 Comments
csm10495@sh.itjust.worksto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?English
14·29 days agoThere was something like
# sleep for about a second on modern processors math.factorial(10000)After it was found we left it in the code but commented out along with a
sleep(1)for posterity.
At least at my Costco we never had sauerkraut. We had the onion dispenser thing before COVID. Now if you ask, they give you onions.
Sauerkraut is one of the reasons I enjoy Sam’s dogs more.
csm10495@sh.itjust.worksto
Programmer Humor@programming.dev•Meanwhile at MicrosoftEnglish
1·2 months agoYeah I hate when I read through a unit test and realize it doesn’t actually test anything other than itself.
csm10495@sh.itjust.worksto
Programmer Humor@programming.dev•Ancient IBM wisdom (from 1979) that the bosses just straight up promptly forgotEnglish
2·2 months agoI’ve thought about this wrt to AI and work. Every time I sit in a post mortem it’s about human errors and process fixes.
The day a post mortem ends with “well the AI did it so nothing we can do” is the day I look towards… with dread.
csm10495@sh.itjust.worksto
Programmer Humor@programming.dev•Too lazy to code currentlyEnglish
11·2 months agoIf you buy every single combination of numbers for the lotto, you can’t lose.
csm10495@sh.itjust.worksto
Mildly Infuriating@lemmy.world•CAPTCHAs make me lowkey madEnglish
5·2 months agoIf you get annoyed at captchas, try this game: https://neal.fun/not-a-robot/
Special shout out to the person who committed a gigabyte memory dump a few years ago. Even with a shallow clone, it’s pretty darn slow now.
We can’t rewrite history to remove it since other things rely on the commit IDs not changing.
Oh well.
How do I insert myself in this triangle?
In a similar vein if you apply to a job, do you prefer being ghosted or a rejection email?
As a serious question: would you rather no email when no updates or an email saying no updates?
I guess I’d rather the email to not wonder if something got lost or some other issue.
Now the multiple in one day: I can’t really defend. That seems nutty. Maybe they should let you choose how often to get the given update.
csm10495@sh.itjust.worksto
Selfhosted@lemmy.world•Selfhosting Sunday! What's up?English
1·3 months agoWhat if it’s a network mount inside the container? Doesn’t the mount not happen till the container starts?
csm10495@sh.itjust.worksto
Selfhosted@lemmy.world•Selfhosting Sunday! What's up?English
4·3 months agoI have a couple pis that run docker containers including pihole. The containers have their storage on a centralized share drive.
I had a power outage and realized they can’t start if they happen to come up before the share drive PC is back up.
How do people normally do their docker binds? Optimally I guess they would be local but sync/backup to the share drive regularly.
Sort of related question: in docker compose I have restart always and yet if a container exits successfully or seemingly early in it’s process (like pihole) it doesn’t restart. Is there an easy way to still have them restart?
csm10495@sh.itjust.worksto
Selfhosted@lemmy.world•Alternative to github pages?English
182·4 months agoIn what way? Anything on the public internet is likely being used for AI training. I guess by using free GitHub you can’t object to training.
Then again anywhere you host you sort of run into the same problem. You can use robots.txt, but things don’t have to listen to it.
Something that may help:
Why doesn’t GitHub Pages fit your use case? It’s nice to get free static hosting from them.
csm10495@sh.itjust.worksto
Programmer Humor@programming.dev•I got to avoid memory management for quite some timeEnglish
5·4 months agoUpvoted. This is something I learned rather recently. Sometimes it’s more performant to slowly leak than it would be to free properly. Then take x amount of time to restart every n amount of time.
csm10495@sh.itjust.worksto
People Twitter@sh.itjust.works•Coming Soon to a Mall near youEnglish
3·4 months agoYeah we should celebrate the return of the Easter Bunny more than Santa.
csm10495@sh.itjust.worksto
Selfhosted@lemmy.world•Best way to get IPv4 connectivity to my self-hosted servicesEnglish
3·7 months agoAnother option if you need public access without something like tailscale would be to use ddns and a AAAA record. Something like https://github.com/ddclient/ddclient would help do that.
That way if the IP changes, you’d pick up on the change for your vanity url within a few minutes… and can get https certs for that url as well.
Edit: I reread the OP. This doesn’t help if clients need direct ipv4. Sorry about that.
csm10495@sh.itjust.worksto
Android@lemdro.id•Google announces Android 16’s Material 3 Expressive redesignEnglish
211·8 months agoThe UI goes in circles. I wish we stopped changing things when they aren’t broken.





This. I use pihole as just a DNS server with blocking off since it was too much to have to deal with the random broken pages.