AndrewStephens 2 days ago

This is cool. I am a total hypocrite; I say I blog for the love of it and being a slave to analytics is terrible but in reality I love the sense of immediate feedback when I see a bunch of hits on a project I spent hours on.

I did end up implementing a simple hit counter on my site just to satisfy my craven need for validation without resorting to full analytics. It doesn't beep at me, but maybe it should.

  • AndrewStephens 2 days ago

    Just to prove I am degenerate, I just threw a quick one-line shell script together that beeps when my hit counter triggers:

      tail -F -n 0 /var/log/visitlog | while read ; do printf '\a' ; done
    
    Now if only somebody would visit my site.
    • devrandoom 2 days ago
      • tbalsam 2 days ago

        I did my part and manually reloaded the page about once a second for 5 minutes so that Andrew could get their dev validation beep quota in for the day (unless it's not naive hits, and unique user based, in which case this has a been a fantastically hilarious waste of time).

      • butlike 2 days ago

        Ok, I played Voyage of the Marigold for a little bit now. Is it possible to get out of the shoals? Also can you beat the dreadnaught near the last two sectors with 1 torpedo and lasers, or do you need 2 torpedoes?

        Good stuff. Cheers.

        • AndrewStephens 2 days ago

          Thank you for playing my game. Yes, it is possible to make it to the top right sector and deliver your cargo. It is not easy - I recommend choosing the option to take extra fuel right at the start since running out of fuel is usually what kills most runs.

          The dreadnaught is tough but not impossible. Torpedoes will help but a few lucky hits with lasers will also do the job.

      • butlike 2 days ago

        I had fun with the game show quiz. Thanks.

      • eyelidlessness 2 days ago

        I clicked to satisfy the earnest request for attention. I even read some of the blog once I got there!

      • nemomarx 2 days ago

        oh a game that uses Ink? super cool!

        • AndrewStephens 2 days ago

          Ink is such a cool language. I worked really hard on that game and entered it into an interactive fiction competition last year. It didn't come close to winning (I didn't expect it to) but people seemed to like it, especially if they grew up watching Star Trek.

      • rietta 2 days ago

        Just visited!

    • cubefox 2 days ago

      I picture this like the classic Garfield comic where Jon just stares in increasing frustration at his rotary phone for multiple panels, to finally shout JUST RING ALREADY.

      (His cat adds some dry remark which I have forgotten)

      • yojo 2 days ago

        You probably already know this, but that comic is substantially improved without the cat.

        https://garfieldminusgarfield.net/

        • wholinator2 2 days ago

          Now see I'm curious, would it be better if we had no context on what the comic _is supposed_ to be? Or is this only hilarious in comparison to the typical "i hate mondays, how many pieces of flair", type schtick the original goes for. Honestly i think it's the latter, cause after 20 of these or so they kind loose the appeal except for the very occasional guffaw. Though, is that still a higher laugh count than the original? I'm not about to read Garfield to find out

          • wredcoll 2 days ago

            I think they mostly work as a derived work / commentary.

      • AndrewStephens 2 days ago

        Hey, it's not like that at all. I don't have a rotary phone or a cat.

    • DeathArrow 2 days ago

      It beeps when Googlebot visits, too?

      • AndrewStephens 2 days ago

        Actually no. My hit-counter uses javascript which filters out almost (but not quite) all of the bots. It probably misses some real users that have javascript turned off.

        • jofla_net 2 days ago

          cool, i just visited. Did you hear it!?

  • codazoda 2 days ago

    This is what I did as well. Not wanting to take away my users privacy I built my own simple counter in 2022. I wrote about The Raspberry Pi 400 in My Bedroom on my blog at the URL below.

    I just downloaded a click sound and I think I'm going to see if adding it drives me crazy.

    https://joeldare.com/private-analtyics-and-my-raspberry-pi-4...

    • AndrewStephens 2 days ago

      Your solution looks very similar to what I implemented; only logging the page and time with no identifying data. I don't even have a real database.

      I really hate that modern websites include multiple trackers - there is really no need for invasive analytics.

  • squigz 2 days ago

    Why is wanting validation on something you spent hours on a bad thing to you?

    • AndrewStephens 2 days ago

      Good question, it is not bad to enjoy attention for a project you worked on.

      But I feel that, if unchecked, that same impulse can lead to deliberately doing projects specifically for validation which leads to low quality click-bait and vapid self-promotion. I think a healthy indifference for the public at large is a good thing.

      That is one of the reasons I got rid of detailed, real-time analytics in favor of a simple hit counter (the other is privacy). If I really stuck to my principles I wouldn't even do that but I am a hypocrite.

  • indrora a day ago

    When I was hosting a site run on bespoke PHP pages, I had a hit counter that used straight text files under the hood. It was surprisingly effective and a fun experience.

amiga386 2 days ago

Instead of ringing Susam's bell, you should be watching the Fish Doorbell, and let them know if you see a fish waiting to get through

https://visdeurbel.nl/en/

  • thesuitonym 2 days ago

    The Fish Doorbell would be a great use case for AI, but I'd rather live in a world where volunteers just watch the video and ring a bell whenever a fish wants to get through.

    • TonyTrapp 2 days ago

      The point of the fish doorbell is educating people about what lives in the water. There would be much less resource-intensive ways of "solving" the problem, if that was the goal.

    • munsonbh 2 days ago

      Nothing is stopping someone from rigging it up to continue the absurdity.

TonyTrapp 2 days ago

My obscure answer on an obscure comment buried in a regular HN thread made it into an article \o/

  • stronglikedan 2 days ago

    Just goes to show that even the most obscure comments can net thousands of views, considering only a small percent of people that have read the comment will actually engage, and that small percent was over 4k folks. Kind of puts things in perspective for me.

    • huijzer 2 days ago

      Yes I’ve had that too. Linked to a blog of mine and saw traffic spike in the Cloudflare dashboard.

      Talking about that, I have a great blog that…

      Just kidding

    • Gud 2 days ago

      Yet nobody visits my website! ;-(

smallpipe 2 days ago

Fun. You can tell it's receiving some love right now

    while true; do; sleep 5; curl http://susam.net:8000 ; done
    curl: (1) Received HTTP/0.9 when not allowed
    curl: (1) Received HTTP/0.9 when not allowed
    curl: (7) Failed to connect to susam.net port 8000 after 11 ms: Couldn't connect to server
    curl: (56) Recv failure: Connection reset by peer
    curl: (7) Failed to connect to susam.net port 8000 after 8 ms: Couldn't connect to server
    curl: (1) Received HTTP/0.9 when not allowed
    curl: (7) Failed to connect to susam.net port 8000 after 8 ms: Couldn't connect to server
    curl: (1) Received HTTP/0.9 when not allowed
    curl: (7) Failed to connect to susam.net port 8000 after 10 ms: Couldn't connect to server
    curl: (7) Failed to connect to susam.net port 8000 after 11 ms: Couldn't connect to server
    curl: (56) Recv failure: Connection reset by peer
    curl: (56) Recv failure: Connection reset by peer
    curl: (1) Received HTTP/0.9 when not allowed
  • zoky 2 days ago

    Well you're really helping the sitch here, ain'tcha…

    • drittich 2 days ago

      It's like when you are in a traffic jam. It's the other drivers fault, not you!

  • alexjm 2 days ago

    You might want to add the --http0.9 flag to curl, to tell it that getting a response of just "ok" (HTTP 0.9 style, body only without headers) isn't an error.

  • choult 2 days ago

    FYI, next time try `watch -n 5 <cmd>`

    • MisterTea 2 days ago

      What benefit does running another program offer when the program running the command (shell) already provides that functionality?

      • fc417fc802 2 days ago

        That logic seems to apply to quite a few basic utilities. For that matter, the shell is turing complete so ...

      • RunningDroid 2 days ago

        Watch also clears the terminal between runs

        • inanutshellus 2 days ago

          I guess that'd be a detractor, as he wouldn't've been able to make his post showing his results over time.

          I'd've said the benefit is that it's simply a concise single command instead of a "while true" loop and a "sleep 5" command.

b3lvedere 2 days ago

"At the end of the day, this was a fun experiment. Pointless, but fun!"

The best kind of experiments. And sometimes huge innovations/inventions/medicine/progress/more fun will arise from it.

the_third_wave 2 days ago

Here's a more advanced - and 'ancient' (2000) - version of this idea: Peep (The Network Auralizer): Monitoring Your Network With Sound [1].

I ran this for a number of months back in the day, it made my living room sound like a jungle. Running the same setup nowadays would probably make it sound like the gates of hell given the increase in network traffic.

You can still find it at Sourceforge but it will need some work or maybe a VM running an older Linux distribution:

https://sourceforge.net/projects/peep/

[1] https://www.usenix.org/legacy/publications/library/proceedin...

macintux 2 days ago

Sometime circa 1998 there was a group looking for new technical hires for startups they invested in. They posted somewhere, perhaps /., that they were accepting résumés via SMTP on a non-standard port, as a filter mechanism.

I never heard back, although I ended up working for one of their companies the next year anyway.

  • eszed 2 days ago

    Around the same time people sometimes posted job openings in the html source of their websites. I never answered any, 'cause I wasn't looking for technical jobs at the time, but it always seemed clever to me.

    Any, and only, nerds who were interested in web development incessantly "View Source"ed on every page that looked interesting. It was a major vector by which early-web frontend techniques spread themselves, and it was great: you could cut-and-paste the html, direct download the .css and other resources, and get an offline model of their site running for you to tinker with to learn their secrets. All the magic was out in the open (for those who cared to pull back the curtain), and the future seemed limitless.

  • dpcx 2 days ago

    I recall a similar company that advertised their jobs through DNS. I think they had a TXT record that suggested how to actually apply.

  • internetter 2 days ago

    Was the port documented, or did you need to do a scan?

    • macintux 2 days ago

      We needed to scan. If 30-year-old memories can be trusted, it was on port 666.

notpushkin 2 days ago

TIL: HTTP/0.9 responses (no headers, just text) still work in modern browsers. Neat!

  • ape4 2 days ago

    Hopefully forever. Its useful for small projects.

firefoxd 2 days ago

Slightly relevant, I made an animation of the HN traffic I got from a #1 post.

https://idiallo.com/blog/surviving-the-hug-of-death (sorry not mobile friendly)

There is a surprising number of bots. It will be fun to setup something like this whenever I get hn traffic.

  • aucisson_masque 2 days ago

    > At first, I fought back manually, feeding them fake data. But that got old fast. So I deployed my secret weapon: a zip bomb.

    > When their bot accessed my site, I served it a tiny compressed file. Their server eagerly downloaded and decompressed it, only to unleash several gigabytes of chaos. Boom. Game over.

    How did you know their bot would decompress it? I thought a bot would copy the HTML content of your article, maybe the images, and paste them on their own website. At no point does it involve editing or decompressing files?

    Impressive animation, by the way—the number of bots is staggering.

    • firefoxd 2 days ago

      As soon as bots reach a page with the compressed payload, they never make another request. That's how I know it worked. Also curl, wget, or most libraries automatically decompress gzip content.

      Of course, Some bots just post spam without ever reading the content back, which defeats my scheme.

pwagland 2 days ago

Given that http://susam.net:8000 has stopped responding, I suspect that there will be a lot more beeps today.

  • nom 2 days ago

    I got an ok!

    • zombot 2 days ago

      Did not get one. Somehow I'm relieved, I would have hated to torture the poor man with beeps :)

    • b3lvedere 2 days ago

      Same here. Did a bunch of F5's in a browser and always 'ok'

      • alluro2 2 days ago

        You do know each of those was 4 beeps? :D

  • dgacmu 2 days ago

    Got 2 ok's out of about 14 attempts. ;)

  • pekim 2 days ago

    It's not an http server. Try with something like nc or telnet, and you should get an 'ok' response before it disconnects.

        telnet -4 susam.net 8000
    • baxtr 2 days ago

      From the article:

      > The other party can use whatever client they have to connect to port 8000 of my system, e.g., a web browser, nc HOST 8000, curl HOST:8000, or even, ssh HOST -p 8000, irssi -c HOST -p 8000, etc.

      • pekim 2 days ago

        Oops, that'll teach me to read articles properly before commenting, rather than just skimming.

        • lukan 2 days ago

          Now I feel a bit like writing some tool to automatically follow your posts (easy with existing HN replies) do a semantic analysis on them to determine when you will make that misstake again and give some alert (the hard/expensive part).

          • thesuitonym 2 days ago

            Maybe the alert could be four beeps on your terminal

            • lukan 2 days ago

              And then I write a blog post about it. But maybe I find something more novel. (And I have, but maybe I can actually use it for the task above)

      • collinvandyck76 2 days ago

        To get an OK I had to force curl to use http 0.9

        > curl -v --http0.9 susam.net:8000

grantcarthew 2 days ago

I put an unsecured open FTP server on the internet about 20 years ago, just to see what would happen.

Within half a day I had some pirate "marking" his claim to my FTP server, then he/she started uploading a game. I deleted everything and left it open again.

It was a long time ago, so I don't remember all the details, but all the pirates would create directories inside directories, upload files, then mark it with their mark. All of this was scripted I gather.

After a while, I set up a file system watcher that deleted subdirectories. This gave me an FTP server I could use for anything. I shut it down a few months later.

Interesting though.

drummojg 2 days ago

TIL '\a' is bell on POSIX. That's neat to me all by itself.

  • extraduder_ire 2 days ago

    It's character 0x7 in ascii and has existed since before ascii was even standardised.

    You can type it in a terminal with ctrl-g. It won't be displayed in most cases and if you've configured your terminal like me won't make a sound.

urbandw311er 21 hours ago

When this gets popular, what does the author do at night? Sleep as far away as possible from the terminal so that the beeping doesn’t keep them awake? Or is the terminal at work? HN needs to know this vital information!

  • susam 20 hours ago

    The terminal is at home. I simply turn down the volume.

    • urbandw311er 11 hours ago

      Ah! For some reason my mind went back to the days when a terminal bell was an actual buzzer and had no volume control.

dirtybirdnj 2 days ago

I feel like this is really to the heart of "your vibe attracts your tribe".

It's kinda risky to but something like this in the comments, what if nobody ever sees it? What if it never beeps?

It's just weird enough people (like myself) would do it. I would have if I saw it, but I missed it.

crosser 2 days ago

It does not listen on IPv6 address!

Such a shame susam.net still has not adopted IPv6 in 2025 :-Q

iefbr14 2 days ago

I would like to see a followup on that graph in a few days :)

nottorp 2 days ago

Now it will be 5k connections from HNers and 45k connections from "AI" crawlers.

  • marginalia_nu 2 days ago

    This has been the way it is for a long time, even before the AI startups got going. Seems everyone and their mother has built some sort of HN-aggregator with builtin link scraping.

    • extraduder_ire 2 days ago

      Hitting common ports looking for poorly configured drupal/wordpress/django installs is a thing I've seen bots doing for as long as I can remember.

      • nottorp 2 days ago

        Malicious bots looking for security issues are actually a lot nicer to your bandwidth than "AI" scraper bots.

Sonnigeszeug 2 days ago

Probably also bots

  • rvnx 2 days ago

    Totally. Most websites where you show and vote for a product (HackerNews, ProductHunt, etc) are ridden with bots.

    For example, one person here offers: > Our AI generates relevant, useful replies to selected mentions, that aim to genuinely help the original poster, and that include a subtle mention of your product.

    and ProductHunt: https://wakatime.com/blog/67-bots-so-many-bots

    • Scoundreller 2 days ago

      Let’s test this. D0 n0t r3ply!!!

      Hi everyone, my VPN is running slow. Anyone have any tips?

      • inkcapmushroom a day ago

        Have you tried HeadOn? Simply apply it directly to the forehead!

jFriedensreich 2 days ago

But why 4 times? Is this something random to write about a higher number of total beeps or is there a reason?

  • susam 2 days ago

    > But why 4 times?

    When I originally shared this in 2022, it was just a comment here: https://news.ycombinator.com/item?id=30146019#30146451

    I didn't expect it to get much attention, so I went with four beeps. I felt that a set of four beeps spread over three seconds would be long enough to grab my attention, even if I was busy with something else.

    Also, as another commenter pointed out, a sequence of four beeps is distinctive enough that it doesn't get lost among the stray, ordinary beeps I might hear while working in a terminal or Emacs (like from hitting backspace or pressing ctrl+g, etc.).

    • jFriedensreich 20 hours ago

      thanks! that was my suspicion, but was not sure if i did not get a unix insider joke that has to do with 4.

  • edoceo 2 days ago

    There are four lig...beeps!

  • lcnPylGDnU4H9OF 2 days ago

    The cadence and consistency of it would differ from pressing backspace too many times.

gnfedhjmm2 2 days ago

He got less than 5,000 visits, it seems like far less than the number he logically would be getting.

  • itsme0000 2 days ago

    Read between the lines: OP did this prove HN is botted. Look how well they circumvented the mods.

mbfg 2 days ago

i clicked the link to see why it was the hug of "death", only to then realize after reading, it was hug of "deaf". i wonder what the unique user count was.

nickvec 2 days ago

What motivated choosing 4 as the number of beeps to occur?

ProllyInfamous 2 days ago

Is a `beep in terminal` just the system alert sound (4x)?

  • zombot 2 days ago

    If you read the article, you'll get the answer :P

    • Foxhuls 2 days ago

      I may just be blind but I don’t think I see it referred to as anything besides “terminal beeps” throughout the entire article.

      • zombot 2 days ago

        > Here is the exact command I ran on my server: ...

        Look at the quoted command, there it is.

        • marginalia_nu 2 days ago

          He's printing BEL (or \a), which could result in almost any sound depending on how the terminal is configured.

  • thesuitonym 2 days ago

    Try it out, open a terminal and type `for i in 1 2 3 4; do printf '\a'; sleep 1; done`

nasvay_factory 2 days ago

So it's indian timezone? right?

  • susam 2 days ago

    It's in UTC. The previous data from 2022 is available here: https://gist.github.com/susam/159c7d92659b3185eb0b0d683998a3...

    In the current graphs, the x-axis represents the hour of the day in UTC. For example, the first graph shows 43 connections between 10:00 UTC and 11:00 UTC, 407 connections between 11:00 UTC and 12:00 UTC, and so on.

    Previously, the first graph showed the number of hours elapsed since the experiment began (which started at 10:14 UTC). That's likely what you saw earlier today. After reading your question, I updated the graph to display the actual hour of the day (in UTC) instead of elapsed time, making the time of the day clearer. Thanks for the great question!

budmichstelk 2 days ago

Saw the title and immediately guessed it was something playing sounds when a local server is accessed which then exploded in popularity.