Live data from Hacker News

This Blog is now hosted on a GPS/LTE modem

nns.ee

191–200 of 212 posts

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

#191
post #171
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!

Yes it can survive the HN hug of death. I speak as a software engineer whose blog has hit the HN frontpage multiple times, and who has optimized my blog to be static & lightweight, just like the author. In my experience, a front-page HN post (in the top 3) leads to 30-40 page hits per second. The page at https://nns.ee/blog/2021/04/01/modem-blog.html weights 44.4 kB transferred (HTML, CSS, images, fonts, etc, all com…

My website also got multiple times in the HN frontpage and there was never any lags even on a very cheap VPS. The websites that get the HN hug of death are often the one requiring database access (e.g. wordpress).

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

#192

Earlier quoted context omitted.

I recently migrated a personal blog running on a hugo static site to digital ocean with automated github deployment, SSL certificates, CDN, and a custom domain. It took all of 15 minutes including updating the DNS on my custom domain registrar.

The same but with AWS S3 instead of a VPS is even simpler and avoids any maintenance / software updates. The bandwidth is more expensive but for a small personal site it shouldn't make much of a difference because you also save the price of the VPS.

I'm using DO's free tier. The static site hosting may be a new feature. There is no VPS needed for it.

My AWS S3 skills weren't good enough to figure out the CDN + https. S3 static hosting without those was super simple though.

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

#193

Earlier quoted context omitted.

HN traffic isn't all that demanding[1]. Websites falling under the load are a testament to the poor quality of the software stack used to host them. [1]: https://xyrillian.de/thoughts/posts/latency-matters-aftermat... >

Hey look, it's my blog. It's a small world. :) Since we're here, I did a quick grep through today's access log. It appears that your link got me 573 visitors to that article and 56 people clicking through to the other article linked therein.

What can I say. That's a good blog. :)

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

#194
post #126

> While developing software on the PinePhone, I came across this peculiar message in dmesg: Beautiful seeing this on top of HN. :) That message is from me. Nice to see someone using the access for something cool. One of the reasons I decided to add it there was to give some visibility to this "feature" of EG-25G FW to people interested enough to look at dmesg.

Can you think of a more efficient protocol between the modem and main cpu then the AT-based ril with constant status checks? Is there anyway to make the modem more efficient, since its cpu is just consuming power and not adding much to the functionality of the phone? Can it be a smarter gateway that only triggers a main cpu wakeup when there's something important to notify the user of, like an incoming call or sms?

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

#195
post #149

Earlier quoted context omitted.

Looks like darkhttpd's website: https://unix4lyfe.org/darkhttpd/ is NOT hosted on a GPS/LTE modem and has been hugged to death.

Oh my. Sorry to who hosts that site! (FWIW, I think the darkhttpd's website uses... Apache)

And if it turns out that Apache's website uses lighttpd?

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

#196
post #141

Earlier quoted context omitted.

I’m not aware of any desktop CPUs (now or before) that had hardware MP3 decoding. Do you mind enlightening me?

In my interpretation, "dedicated hardware for things like MP3s" doesn't necessarily mean "hardware MP3 decoding." Intel MMX (multimedia extensions) introduced dedicated hardware to accelerate things like MP3 decoding.

Ah, I understood that as dedicated hardware (blocks) for decoding media such as mp3 (in the same vein as h264 hardware decoders).

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

#197
post #74

Earlier quoted context omitted.

A Pentium II was more than enough to decode MP3's in parallel.

What's interesting is, I used to have this old 486 laptop. With Linux on it, I could run XMMS playing my MP3s and do other things and you could barely tell it was there. In Windows, playing an MP3 file with WinAmp took up so much CPU, you were stuck running only WinAmp.

With mpg123 or mp3blaster (or mocp even) it would run much better.

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

#198
> It turns out the modem runs its own OS totally separate from the rest of the PinePhone OS. With the latest updates, it runs Linux 3.18.44.

Is this common? The cellular modem inside a cellphone runs its own separate Linux? Mind blowing if true. We are truly in an amazing time.

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

#199
post #20

Earlier quoted context omitted.

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 :-))

When I was a kid my school got a Sinclair ZX81 with 1k of memory. One 1k computer for the whole school! Once in a blue moon we would get class time on the computer - Our class got to program a 'turtle' to draw shapes on a big piece of paper. I was so excited about it, and my mom had done some punch-card programming in university and so knew that this was going to be the future. The Sinclair Spectrum 48k had just come…

We must be nearly the same age. I remember entering pages of poke codes from a magazine for a game on my Commodore 64. Those really were great (if tedious) times :)
Post reply on HN