Show HN: Subth.ink – write something and see how many others wrote the same
By
sonnig
Hey HN, this is a small Haskell learning project that I wanted to share. It's just a website where you can see how many people write the exact same text as you (thought it was a fun idea).
It's built using Scotty, SQLite, Redis and Caddy. Currently it's running in a small DigitalOcean droplet (1 Gb RAM).
Using Haskell for web development (specifically with Scotty) was slightly easier than I thought, but still a relatively hard task compared to other languages. One of my main friction points was Haskell's multiple string-like types: String, Text (& lazy), ByteString (& lazy), and each library choosing to consume a different one amongst these. There is also a soft requirement to learn monad transformers (e.g. to understand what liftIO is doing) which made the initial development more difficult.
Comments URL: https://news.ycombinator.com/item?id=46682732
Points: 9
# Comments: 4
You might also wanna read
Exploring the Butlerian Jihad: Why Dune's world has no AI and what it means for our future
An opinion piece exploring the absence of AI in Frank Herbert's Dune universe through the concept of the Butlerian Jihad, connecting it to c
Malaysia enforces social media ban for children under 16, requiring age verification from platforms
Malaysia has begun enforcing a ban on social media accounts for children under 16, requiring platforms like Facebook, Instagram, TikTok, and
Running Gemma 4 on a 2016 Xeon Server with No GPU: A Technical Walkthrough
The article describes running Gemma 4 (a 25B-parameter Mixture-of-Experts model) on a severely outdated server with a 2016 Intel Xeon E5-262
NVIDIA RTX Spark — Slim Laptops & Small Desktops
Microsoft and NVIDIA announce new Windows PCs accelerated by RTX Spark at GTC
Microsoft and NVIDIA announced a collaboration at NVIDIA GTC to create the world's most powerful and efficient thin-and-light Windows PCs, a
Microsoft unveils Surface Laptop Ultra with NVIDIA RTX Spark for creators and developers
Microsoft announces the Surface Laptop Ultra, a high-end laptop co-engineered with NVIDIA and optimized for RTX Spark. The device is positio
