Hacker News new | past | comments | ask | show | jobs | submit | alin23's favorites login

To the person who had a comment removed:

The reason we don't talk like that is because it turned out to encourage wholesale murder. It's not that you're "wrong", it's that you're not singling out the responsible individuals when you could just do that. It comes across as intentionally painting with too broad a brush.


You can do the same thing on Mac with built-in tools

``` # Setup pipe sudo dnctl pipe 1 config bw 1Kbit/s delay 800

# Setup matching pf rule echo "dummynet out proto tcp from any to 127.0.0.1 port 11211 pipe 1" | sudo pfctl -f -

# Turn on firewall sudo pfctl -e

# Test time nc -vz 127.0.0.1 11211 Connection to 127.0.0.1 port 11211 [tcp/*] succeeded! nc -vz 127.0.0.1 11211 0.01s user 0.00s system 0% cpu 1.333 total ```


I do this too, I write scripts, and one-file apps that solve issues that only I think I have. Like I've been running an InternetReachable.swift [1] manually at the CLI for months to have a nice visualization of when my internet connection is not actually working. I travel a lot by train, and some regions have spotty 3G. I got tired of looking at `ping 1.1.1.1` output lines until the connection came back.

But for whatever reason I get the urge to polish the thing, make a pretty icon for it and publish it in the hope that others might also have the same weird specific need as me. That script above just turned into an app called IsThereNet : https://lowtechguys.com/istherenet

I'm not sure why, but I get a little dopamine hit when I see people learning a thing or two from my experiments. I guess that's why we still do the kind of open source that doesn't ask for money.

[1] https://gist.github.com/alin23/e15b6ffc62a85790096f0228c54fd...


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: