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.
Aka csm10495 on kbin.social
- 3 posts
- 72 comments
- 6 months
The real pros don’t even link or connect them. You have to know the others exist.
csm10495@sh.itjust.worksto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?English
7 monthsThere 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.
Yeah 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
8 monthsI’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.
- 8 months
If you buy every single combination of numbers for the lotto, you can’t lose.
- 9 months
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.
What if it’s a network mount inside the container? Doesn’t the mount not happen till the container starts?
I 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?
- 10 months
In 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.
- 10 months
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
10 monthsUpvoted. 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
Sync for Lemmy@lemmy.world•He has abandoned sync development but not the businessEnglish
10 monthsFolks you don’t have to use or pay for the app. If you don’t like it: cancel and move on with your lives.
csm10495@sh.itjust.worksto
Selfhosted@lemmy.world•Best way to get IPv4 connectivity to my self-hosted servicesEnglish
1 yearAnother 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
Programmer Humor@programming.dev•Hope y'all are having a very NULL QA dayEnglish
1 yearFor something end-user facing: I could understand this argument.
In this case they were more or less just calling a C function that had an unsigned long long as the parameter they were setting negative.
The whole ‘bug’ was that the other side of the function call was seeing a positive number no matter what.
The real situation was a bit more complicated, but that’s the gist.
csm10495@sh.itjust.worksto
Programmer Humor@programming.dev•Hope y'all are having a very NULL QA dayEnglish
1 yearI once had a QA engineer file a bug saying they couldn’t do negative testing since negative numbers were converted to positive.
The function took an unsigned integer. Took a lot of explaining to get them to understand that negative testing isn’t necessarily negative numbers.
- 1 year
Badeh security advice: use an alternative ssh port. Lots of actors try port 22 and other common alternatives. Much fewer will do a full port scan looking for an ssh server then try brute forcing.
Bottom left made me miss Kmart
I have both but just use pihole as a local DNS server/forwarder. I bump into too many random times where sites or redirects don’t work properly since they get blocked.




Hit the nail on the head. Download the file, inspect, then run that local copy.