HNHacker News
TopNewBestAskShowJobs

smw

1,021 karma · joined August 9, 2010

https://twitter.com/smw/
submissionscomments
smw··on The web server deployment model breaks at hobby scale
Here's the entirety of the Caddy config to reverse proxy something with managed tls certs. I feel like it's not that big a deal?

  photos.example.com {
          reverse_proxy 127.0.0.1:8080 {
                  header_up X-Real-IP {remote_host}
          }
  }
smw··on The web server deployment model breaks at hobby scale
I don't know what you're on about. Just run Caddy and it does it all for you.
smw··on Four simple rules behind Japan's most liveable cities
I don't think there really _is_ an equivalent at Walmart?
smw··on On non-rooted Android 17, ADB uninstall of system apps fails
You can install Linux on modern macs? That doesn't mean that driver info is available, but there's nothing stopping you from installing another os.
smw··on Citizen of the Galaxy (full text) by Robert Heinlein
This is a copyrighted work, why are you publishing it on your website?
smw··on Apple Is the King of AI and Nobody Knows It
Because bandwidth between those sticks and the GPU isn't fast enough for fast inference.
smw··on Show HN: Mindwalk – Replay coding-agent sessions on a 3D map of your codebase
Many thanks!
smw··on Show HN: Mindwalk – Replay coding-agent sessions on a 3D map of your codebase
Any license for it? I think technically we can't even run it legally at the moment?
smw··on Tell HN: Who wants to be hired" posts outpace "Who's hiring" 2 to 1
Why would it go to Meta?
smw··on What ORMs have taught me: just learn SQL (2014)
Even the 'worst' of the ORMs (according to the people in these threads) makes this very easy:

  users = User.find_by_sql(<<~SQL)
    SELECT users.*,
           COUNT(posts.id) AS posts_count
    FROM users
    LEFT JOIN posts ON posts.user_id = users.id
    GROUP BY users.id
    HAVING COUNT(posts.id) > 10
  SQL

  users.first.posts_count
  # => 17
smw··on What ORMs have taught me: just learn SQL (2014)
I'm firmly on the ORM side of things, despite knowing SQL very well -- but your IDE/editor can fix this with bare sql. Try using Jetbrains Datagrip or the DB integration in Idea or one of the other language-specific IDEs.
smw··on Functional Programming in hica
Any concurrency / parallelism?
smw··on Weave Robotics launches Isaac 1, a $7,999 home robot with Fall 2026 deliveries
I'm not defending anything about this, but it does have a telescoping torso so it can get to 'human height' when needed.
smw··on Xsnow "protestware" in Debian
The maintainer and upstream are the same person
smw··on Cloudflare launched self-managed OAuth for all
Sure they do. All the time! For example, if you want to use a script in Google Docs these days, you have to go through an oauth flow to give that script's app permission to do certain actions in your Docs.
smw··on A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding
Need to mention sshuttle [0] here, as it magically solves a bunch of these problems without constant reconfiguration

[0] https://github.com/sshuttle/sshuttle

smw··on In praise of memcached
Can do fantastically weird stuff with Lua scripts in Redis/Valkey
smw··on AI Built a Nuke and Still Lost
> The reason pvp doesn't work in a persistent world like an MMORPG is because there are no stakes.

See Eve Online

smw··on SpaceX Drops 14% in One Day, Price Now Below IPO Launch
A lot of them are heavily invested in index funds that added SpaceX at IPO due to market cap.
smw··on .gitignore Isn't the only way to ignore files in Git
Why would you expect something in your home directory to affect other users?
smw··on A 10 year old Xeon is all you need
The article talks about using --mlock
smw··on Lombardy increases charges for the construction of data centres in green areas
I think we need a citation about the libertarian / capitalism thing? I know a lot of leftist engineers. Look how blue the bay area votes?
smw··on Italy region: +200% tax on datacenters built in green/agricultural areas
I think the idea that they raise outdoor temps over a wide area is a myth spread on facebook. The physics doesn't work out.
smw··on Get your passwords out of Bitwarden while you still can
USB sticks are infamously unreliable, not a great backup plan
smw··on Two computers, one monitor, zero fiddling (2025)
It's mentioned elsewhere, but check out DeskFlow (oss) https://github.com/deskflow/deskflow
smw··on Codex is now in the ChatGPT mobile app
Or just ask if you might want to do something productive while you wait for a train or sit in a taxi? Better than doom scrolling. Maybe you're working on a fun side project.
smw··on RTX 5090 and M4 MacBook Air: Can It Game?
docker on macos runs in a linux vm
smw··on If AI writes your code, why use Python?
goroutines make building scalable network (web) servers trivial and fast. I'm not a big fan of the language, but the runtime is fantastic.
smw··on Claude Opus 4.7
Unfortunately, the subscription pricing is so much cheaper than usage pricing that it's probably worth using one of the official harnesses.
smw··on Hungary's Orban concedes landmark defeat to centre-right opposition
How's the weather in St. Petersburg?
← PreviousPage 2 of 13Next →