NHacker Next
login
▲I wish my web server were in the corner of my room (2022)interconnected.org
65 points by jonassaid 3 days ago | 37 comments
Loading comments...
mawise 7 hours ago [-]
I met a guy a while ago who's passion was enabling self-hosting. His vision was to use an old android phone as a server--he ended up building a domain registrar[1] to facilitate OAuth-style flows for configuring DNS and an ngrok-style proxy[2] service that could configure DNS through said flow.

[1]: https://takingnames.io/ [2]: https://boringproxy.io/

bryanrasmussen 3 hours ago [-]
who's can also mean who has, which is where you've probably seen it used in ways that imply a possessive, but normally means who is, as https://news.ycombinator.com/item?id=45257167 indicated
efilife 5 hours ago [-]
Whose! Who's means who is
Agilesuitcase 9 hours ago [-]
Unrelated to the article, but a creative Canadian flag used the title to spell words out. They slowly circled characters in the title. I thought I was deciphering a cool message… but it was just "whore"
matthewaveryusa 4 hours ago [-]
The internet in its purest form. I grepped for all words containing the substring whore in the hopes of coming up with some witty explanation and shame you in assuming the worst from our Canadian bretheren. To my great chagrin they all refer to, well, whores.
hnuser123456 7 hours ago [-]
Yep, my website (very WIP) is hosted on an RPi 5 in the corner of my apartment, and every once in a while my IP changes and I have to update DNS and tell my friends to connect to the minecraft server by IP. I'm probably around 98% uptime, so github levels of assurance.
arcanemachiner 5 hours ago [-]
Spend 20 minutes setting up DuckDNS and you'll never have to worry about this again.

https://www.duckdns.org

pastorhudson 5 hours ago [-]
I solved this with a corn tab that runs a script that checks my ip and updates my cloudflare dns if it changes. https://github.com/pastorhudson/cloudflare_dns_updater
romaniitedomum 3 hours ago [-]
> with a corn tab that

A corn tab you say? I'm all ears!

jraph 3 minutes ago [-]
I wonder if that tastes good.

I assume they meant crontab (TIL that means "cron table", never wondered before)

https://en.wikipedia.org/wiki/Cron

mmaurizi 7 hours ago [-]
Why not use DDNS?
mysteria 7 hours ago [-]
Alternatively your domain provider likely has some API for you to programmatically update the DNS records.
7 hours ago [-]
rr808 5 hours ago [-]
Home internet is so fast now and hardware is so cheap and powerful its a good solution. It amazes me how expensive aws compared to having your own hardware.
cenamus 23 minutes ago [-]
I wish it was that fast. Somehow in the past 15 years prices for a 10/100/200Mbit have stayed exactly the same, only Gigabit came down a smidge to around 70 euro/month now. As if all the hardware and switches hadn't evolved at all.

And for some reason, nowadays over 5G you get pretty much the exact same speed/price combos as for DSL or cable, only with less guarantees.

LeoPanthera 3 hours ago [-]
Home internet is only fast downstream.

Upstream is usually awful.

(At least in the USA.)

winrid 2 hours ago [-]
Except for fiber, for all providers I'm aware.
acuozzo 2 hours ago [-]
Verizon FiOS has had symmetric gigabit service available for well over a decade for a reasonable price.

Where in the USA are you?

ptmcc 1 hours ago [-]
My home fiber is symmetric gigabit in Seattle, for $65/mo
cortesoft 6 hours ago [-]
I have a small cluster I use to run my personal server/nvr/etc on. Instead of Raspberry Pi, I just bought some small mini pcs, which are amazingly powerful and cheap for their size. I have them stashed in a few random places around the house near my switches. Works great!
andai 9 hours ago [-]
I enjoyed this article very much. It used 99% of my CPU though.
ptmcc 1 hours ago [-]
Yeah something is very CPU intensive on this otherwise plaintext site. The cutesy concurrent visitor cursors perhaps?
rossant 1 hours ago [-]
That's probably to show the massively distracting cursors of all current visitors.
empressplay 1 hours ago [-]
When I was a teenager, I ran a BBS out of my bedroom. People would call in at all hours to download (ahem) 'Public Domain' (wink) games off of my Atari 130XE and its array of half a dozen floppy drives. It was kind of noisy, but it always lifted my spirits when I'd hear the drives start grinding.
ChrisArchitect 3 days ago [-]
(2022) Some discussion then: https://news.ycombinator.com/item?id=33165836
bigwheels 8 hours ago [-]
Dear Mr. Architect, I've noticed you make this historical link effort frequently, so I hope it's okay to express my appreciation, and gently request you include a little more detail about what is behind it (age + comment count). Otherwise it's hard to know if a link is worth clicking or not.

This one was: Oct 2022 - 440 comments.

Toby1VC 7 hours ago [-]
And to avoid technicalities, make it big enough so you can see and use it.
Defletter 5 hours ago [-]
This is one of the things that has me so hesitant towards upgrading my "server". I've been using an old Thinkpad for a while now and it has served me well, but lately I've been using it for more intensive things (like JetBrains remote development and a Jellyfin server). It's become a regular occurrence that, while I'm trying to sleep, its fans spin up and sound like it's trying to take off because someone downstairs is watching a movie from it. I don't begrudge them for it since I set it up for that exact purpose, but it can make it difficult to sleep soundly.

The most obvious solution would be make a small PC: more powerful and bigger fans means less noise. I've been considering something like this (https://www.youtube.com/watch?v=Jr5MjhgPz_c)... but then how am I supposed to use it? Yes, I can ssh into it, but what if it fails to start? Just last month my Thinkpad server failed to restart properly. This was a trivial fix but it being a laptop whose lid I can just open and use immediately made it an extremely easy fix, which would not be true for a PC.

Thing is, I know that dumb terminals exist, ie, a screen, keyboard, and trackpad that takes the form-factor of a laptop but has no actual internals, it's just a convenient interface when plugged into a server. I've seen them. I've tried searching for them but there doesn't seem to be an agreed-upon search category, and the ones I manage to find are more expensive than the PC itself and are usually designed as a server-rack drawer.

Genuinely, what do people do here? Do they just have their server setup somewhere like a desktop? Or are people keeping spare monitors, keyboards, and mice around that they then need to unpack, plug in, and use awkwardly before putting it all away again?

ranger207 2 hours ago [-]
SSH most of the time of course, and a management interface (iDRAC, iLO, etc) if you have an enterprise server; otherwise an old monitor and spare keyboard. Sometimes they'll support serial out that you can use over a cable to another computer instead of the whole monitor+keyboard combo. Or nowadays you can use a network KVM like a PiKVM, NanoKVM, or JetKVM
toast0 2 hours ago [-]
I just keep a cheap screen and a cheap keyboard near my servers. No need for a mouse. For my garage and basement servers, the KV stays in place always, and the MIL's condo, the KV goes away when not in use... and the keyboard got moved at some point, so I have to remember to bring it over when it needs adjusting.

Around me, most days I can stop at goodwill and get a monitor and keyboard for $30 or less.

duckfan77 3 hours ago [-]
My server sits next to my existing desktop, and I just move the keyboard cable from one to the other when I need to get at a local interface on the server. One of my monitors has two inputs, and so is always plugged into both, I can just change the input selected. Not the "cleanest" solution, but it works when I need to get at it, and the space it's in wasn't being used by anything else.
seszett 3 hours ago [-]
I have a keyboard and monitor somewhere in a closet. That's also what we do at work with our "real" servers.

I'd say it's needed about once a year at most though. Servers don't just fail to start, normally.

trillic 4 hours ago [-]
PiKVM

or really any cheap IP based KVM is what you’re looking for

rolph 3 days ago [-]
How to Create a Cache Server?

https://cyfuture.cloud/kb/howto/how-to-create-a-cache-server

neilv 4 hours ago [-]
I used to run a Web server (and email server) like this. The novelty wore off, and I currently structure it for static hosting via AWS S3 + CloudFront.

(No matter how personal a Web site, the occasional prospective employer will go look at it. If you're a techbro, you normally don't want this site sometimes acting like it's running on a potato and wet string. Even if you still keep your 2002 visual design, ahem.)

If that's not a concern, you can run a nonessential Web server from home, and it's fun and concrete, like the author suggests. You might want to forward/proxy the traffic through some external cloud server (even if you don't use CDN/caching features), to shield your home pipe a bit.

neilv 1 hours ago [-]
The joke about 2002 visual design was referring to my own said Web site.
3 days ago [-]
josefresco 3 days ago [-]
Claude-Code has turbo charged my (basement) RPi4 development.
chr15m 8 hours ago [-]
Same here! This is an underrated use of LLMs - actually being able to finish weird side projects.