Live data from Hacker News

This Blog is now hosted on a GPS/LTE modem

nns.ee

91–100 of 212 posts

Re: This Blog is now hosted on a GPS/LTE modem

#91
post #80

So a modem on a pine phone can survive the HN hug of death (and the number one post no less)? Am I missing something here? Because there's no way I believe that!

Currently can’t load the site.

But also, serving static content is more or less a matter of network connection speed. You can cache everything in RAM and write data to a socket very quickly. HTTPS makes things a little wonky because you can’t just sendfile() files directly into a socket but the overhead is still pretty minimal.

Re: This Blog is now hosted on a GPS/LTE modem

#92
post #83
post #80

So a modem on a pine phone can survive the HN hug of death (and the number one post no less)? Am I missing something here? Because there's no way I believe that!

A static site is really easy to host and HN's hug of death isn't actually that intense; the site itself only gets like six million views a day, a fraction of those click on every link, and no syndicated page has much reach.

People badly overestimate what it takes to serve a website nowadays. I don't know whether it's just because we're all used to 10+ second website loads as our browser groans under the weight of all the trackers, or if we all have too much experience with web pages that run multiple 10ms+ unoptimized queries against databases that pull way too much data back, etc. and so we all think web pages are some sort of challenge, but webpages themselves really aren't that hard. It's all the stuff you're trying to put in to them that is the challenge.

I hit SHIFT-CTRL-r to watch the page reload under the network debugger so I could get a snapshot of the total size, which looks to be about 100KB, just eyeballing the sums, so at 10MB/s it should be able to serve around 100 requests/second, which is enough for most websites, even ones getting hugged.

Re: This Blog is now hosted on a GPS/LTE modem

#93
post #20
post #18

Earlier quoted context omitted.

Wow, that's probably about the same ram & cpu as my desktop 16 years ago.

I started with a Pentium I, 166Mhz, 16MB, 1GB HDD, and I'm not even that old. I imagine we have folks here that started on a PDP :-) My P1 would stutter while playing MP3s :-))

[deleted]

Re: This Blog is now hosted on a GPS/LTE modem

#94
post #20
post #18

Earlier quoted context omitted.

Wow, that's probably about the same ram & cpu as my desktop 16 years ago.

I started with a Pentium I, 166Mhz, 16MB, 1GB HDD, and I'm not even that old. I imagine we have folks here that started on a PDP :-) My P1 would stutter while playing MP3s :-))

8088 with EGA monitor was my first PC. Before that a Tandy CoCo (model 1) 64K. I still have a CoCo.

Re: This Blog is now hosted on a GPS/LTE modem

#95
post #70

Now it just needs to charge / run from solar and it can be dropped anywhere with signal. I wonder what sort of wattage this thing draws.

For a while I've really liked the thought of small little cheap hardened devices that could be surreptitiously dropped to act like wifi extenders as a "guerilla mesh". Of course there'd probably need to be some thought put into making them safe and look harmless enough not to trigger any kind of severe response if found. But imagine taking a bag around town and dropping "disposable" devices with low enough power use…

Displacing the heat in continuous usage will also probably be a challenge, not to mention figuring out how to deploy updates, having nodes be compromised, impostor nodes, latency, etc.

I mean it's an idea I've thrown around a lot in my head since college, but in all my scenarios, I never opened it up to the public, it was just going to be used for me. If that's the case, then yeah it's doable.

Re: This Blog is now hosted on a GPS/LTE modem

#96
post #20
post #18

Earlier quoted context omitted.

Wow, that's probably about the same ram & cpu as my desktop 16 years ago.

I started with a Pentium I, 166Mhz, 16MB, 1GB HDD, and I'm not even that old. I imagine we have folks here that started on a PDP :-) My P1 would stutter while playing MP3s :-))

I was able to play mp3s on my 486 DX4-100Mhz if I remember correctly.

Re: This Blog is now hosted on a GPS/LTE modem

#97
post #80

So a modem on a pine phone can survive the HN hug of death (and the number one post no less)? Am I missing something here? Because there's no way I believe that!

Something in front of it, maybe? It reports nginx.

  $ curl --head 'https://nns.ee/blog/2021/04/01/modem-blog.html'
  HTTP/2 200 
  server: nginx
  date: Fri, 02 Apr 2021 13:28:26 GMT
  content-type: text/html
  content-length: 12937
  last-modified: Fri, 02 Apr 2021 09:40:40 GMT
  etag: "6066e698-3289"
  accept-ranges: bytes

Re: This Blog is now hosted on a GPS/LTE modem

#98
post #70

Now it just needs to charge / run from solar and it can be dropped anywhere with signal. I wonder what sort of wattage this thing draws.

For a while I've really liked the thought of small little cheap hardened devices that could be surreptitiously dropped to act like wifi extenders as a "guerilla mesh". Of course there'd probably need to be some thought put into making them safe and look harmless enough not to trigger any kind of severe response if found. But imagine taking a bag around town and dropping "disposable" devices with low enough power use…

Something I used to daydream about was a self-deploying mesh using drones to drop off solar powered nodes on roofs around a city. It could be a sort of emergency deployment system. The drones could go back and pick up nodes that stopped working for some reason and bring them back to base.

Re: This Blog is now hosted on a GPS/LTE modem

#99
Slightly misleading title. This blog post is not hosted over LTE. Instead, the web server just happens to run inside the Pinephone modem.

Internet --> USB --> Pinephone CPU --> (ADB forwarding) --> Pinephone modem with webserver.

That's cool, but I am slightly disappointed. I was hoping to find out that some ISPs allowed to forward ports over LTE.

Here, I don't really see the advantage over doing it on the main CPU, since it will have to forward packets anyway. And you can use the same reasoning with whatever the pinephone is connected to.

Post reply on HN