New ask Hacker News story: If every OS was open source, you could run vista

If every OS was open source, you could run vista
2 by ms_menardi | 0 comments on Hacker News.
and it'd be fine

New ask Hacker News story: Ask HN: When and why did you start believing in God?

Ask HN: When and why did you start believing in God?
7 by dvrp | 33 comments on Hacker News.
I presume many here are not believers. So, for those who believe—and in the spirit of open and genuine curiosity—I’d love to know what made them change their minds.

New ask Hacker News story: Ask HN: How do you model temporarily invalid data structures

Ask HN: How do you model temporarily invalid data structures
2 by escot | 0 comments on Hacker News.
Say you’re making a chess game. A valid board only has one piece per square, or zero. But, you have an algo that generates boards by moving pieces around and during that algo you may move a piece on top of another and then later decide to move one of them to get back to valid. Do you try to use some existing Board type and just avoid in your algo those invalid states (like by using a stack or some data structure to avoid iteratively moving pieces one at a time). Do you have a separate InvalidBoard type that allows multiple pieces per square? I think it’s context dependent but I’m curious how you’ve seen this handled in different ways.

New Show Hacker News story: Show HN: DDoS detection in 500 lines of Python (MIT, no cloud, no account)

Show HN: DDoS detection in 500 lines of Python (MIT, no cloud, no account)
2 by jacob_masse | 3 comments on Hacker News.


New ask Hacker News story: Sqlit – A lazygit-style TUI for SQL databases

Sqlit – A lazygit-style TUI for SQL databases
2 by MaxTeabag | 0 comments on Hacker News.
sqlit is a lazygit-style TUI for SQL. Connect and query your database from the terminal in seconds, no config files or documentation to read first. It supports all the major databases: SQL Server, PostgreSQL, MySQL, SQLite, MariaDB, FirebirdSQL, Oracle, DuckDB, CockroachDB, ClickHouse, Snowflake, Databricks, Supabase, Cloudflare D1, Turso, Athena, BigQuery, Spanner, Redshift, IBM Db2, SAP HANA, Teradata, Trino, Presto, Apache Flight SQL, Apache Impala, SurrealDB, and osquery. A few things that come built in: - Keyboard focus: Context aware keybindings always visible - Docker integration: auto-detects and connect to running database containers - Vim-style query editor with customizable keybindings. - Fuzzy filter in results window. - SSH tunnels, OS-keyring credential storage, password manager integration. - Autocomplete for tables, columns, and procedures. - Cloud CLI integration (browse external DBs via Azure / AWS / GCP CLIs). - Themes (Rose Pine, Tokyo Night, Nord, Gruvbox). Install: `pipx install sqlit-tui` (also works with `uv tool install` and `pip`). Built with Python and Textual. First shared here in December (https://ift.tt/RgK29Cj) - a lot has shipped since. Repo: https://ift.tt/GY0Ihog Feedback welcome, especially on what's still missing for daily-driver use. My goal is to make an aesthetic tool that makes it easy and enjoyable to connect and query data, and do that one thing only, really well.

New Show Hacker News story: Show HN: Write your BPF programs in Go, not C

Show HN: Write your BPF programs in Go, not C
8 by boratanrikulu | 0 comments on Hacker News.


New ask Hacker News story: S there room for a VPN with zero Five Eyes servers and RAM-only infrastructure?

S there room for a VPN with zero Five Eyes servers and RAM-only infrastructure?
3 by yanbinette | 2 comments on Hacker News.
I've been building on AWS for years and got deep into privacy/networking recently. The more I learned, the more I realized most VPN providers are theatre. The problem I see: "no-logs" is meaningless if your servers are physically in the US, UK, Canada or Australia. A warrant is a warrant. Even providers I respect like Mullvad and Proton have servers in Five Eyes countries. What I'm thinking: - Servers only in Iceland, Switzerland, Luxembourg, Romania, Japan - RAM-only — no disk, no logs possible by design, reboot wipes everything - WireGuard - Open source, annual Cure53 audit - BTC/Monero, no account required Break even is around 200-300 customers. Infrastructure to start is maybe $500-1000/month. Honest question: does Mullvad already own this positioning well enough that there's no room? Or is "zero Five Eyes + provably no logs" a real differentiator for a specific segment? Also curious if anyone has experience running infrastructure businesses in Iceland or Luxembourg specifically.