Hacker News
Dha Best
Article URL: http://kitchencooking.42web.io/
Comments URL: https://news.ycombinator.com/item?id=50128417
Points: 1
# Comments: 0
Ask HN: What is the most useful thing AI has done for you?
I had a deep conversation with a friend about what is the most useful thing AI has created/done for either of us.
For my private life, AI helped me to diagnose and root caused a running toilet, and avoided the high cost of a plumber. It even help to select the replacement parts and how to replace them.
Of course, on the tech side, AI is helping me build a healthcare company.
What was yours?
Comments URL: https://news.ycombinator.com/item?id=50128412
Points: 3
# Comments: 1
Show HN: Cwist; a hobby-grade C17 web framework that keeps your app simple
First of all, I'm not claiming that my framework will save industrial C/C++ development. It's just a hobby project.
Industrial code needs safer code, not easier code. But when you're developing a blog at 8 PM, long template errors are annoying.
You need CRUD and RDBMS. It's simple.
CWIST is for that kind of work.
It sacrifices memory safety, smart pointers, and modern C++ abstractions. In return, compile errors are more predictable.
#include #include #include #include static cwist_db_pool_t *g_db_pool; static void send_error(cwist_http_response *res, const char *msg) { res->status_code = CWIST_HTTP_INTERNAL_ERROR; cwist_http_header_add(&res->headers, "Content-Type", "text/plain"); cwist_sstring_assign(res->body, msg); } static void render(cwist_http_response *res, const char *path, cJSON *ctx) { cwist_sstring *html = cwist_template_render_file(path, ctx); if (html) { cwist_http_header_add(&res->headers, "Content-Type", "text/html"); cwist_sstring_assign(res->body, html->data); cwist_sstring_destroy(html); } cJSON_Delete(ctx); } static void handle_index(cwist_http_request *req, cwist_http_response *res) { (void)req; cJSON *ctx = cJSON_CreateObject(); cJSON_AddStringToObject(ctx, "title", "CWIST Example"); cJSON_AddStringToObject(ctx, "greeting", "Hello from CWIST"); render(res, "templates/index.html", ctx); } static void handle_users(cwist_http_request *req, cwist_http_response *res) { (void)req; if (!g_db_pool) return send_error(res, "database pool unavailable"); cwist_db_pool_exec(g_db_pool, "CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, name TEXT);" "INSERT INTO users (name) SELECT 'Alice' WHERE NOT EXISTS " "(SELECT 1 FROM users WHERE name = 'Alice');" "INSERT INTO users (name) SELECT 'Bob' WHERE NOT EXISTS " "(SELECT 1 FROM users WHERE name = 'Bob');"); cJSON *rows = NULL; if (cwist_db_pool_query(g_db_pool, "SELECT id, name FROM users ORDER BY id;", &rows).error.err_i16) return send_error(res, "failed to query database"); cJSON *ctx = cJSON_CreateObject(); cJSON_AddItemToObject(ctx, "users", rows ? rows : cJSON_CreateArray()); render(res, "templates/users.html", ctx); } static void handle_health(cwist_http_request *req, cwist_http_response *res) { (void)req; cwist_http_header_add(&res->headers, "Content-Type", "text/plain"); cwist_sstring_assign(res->body, "ok"); } int main(void) { g_db_pool = cwist_db_pool_create("./app.db", 1); if (!g_db_pool) return 1; cwist_app *app = cwist_app_create(); cwist_app_get(app, "/", handle_index); cwist_app_get(app, "/users", handle_users); cwist_app_get(app, "/health", handle_health); cwist_app_use_https(app, "cert.pem", "key.pem"); cwist_app_listen(app, 8082); cwist_app_destroy(app); cwist_db_pool_destroy(g_db_pool); return 0; } Code style is old and still small. The code is simple and stupid.
CWIST functions use the same `cwist_xx_xx` naming format. It's consistent. It's harder to make a slop in CWIST.
Features
- CWIST GC for fast prototyping. It's closer to a garbage sweeper than a traditional GC, and lighter. - Dev blog engine - HTML Template Engine - WASM
External benchmark: https://web-frameworks-benchmark.netlify.app/compare?f=cwist...
Latest results may be masked: https://github.com/the-benchmarker/web-frameworks/issues/977...
Unofficial results (not reliable): https://github.com/c4punks/CWIST/actions/runs/39000473564/jo...
Dev blog: https://oborona.zip Org: https://c4punks.github.io
It doesn't help my portfolio, but please star the project if you enjoyed it.
Special thanks to https://github.com/thegoodengineer for inviting organization members.
Comments URL: https://news.ycombinator.com/item?id=50128408
Points: 1
# Comments: 0
Letters with 'suspicious substances' sent to US senators and election offices
Article URL: https://www.bbc.com/news/articles/cmq8n513x523o
Comments URL: https://news.ycombinator.com/item?id=50128402
Points: 1
# Comments: 0
Veda: An Operating System with Soul
Article URL: https://github.com/vahmoh25/Veda/blob/main/documentation/images/paint.png
Comments URL: https://news.ycombinator.com/item?id=50128398
Points: 1
# Comments: 0
Wernelo – Discover Communities, Creators and Projects
Article URL: https://www.wernelo.com
Comments URL: https://news.ycombinator.com/item?id=50128389
Points: 1
# Comments: 0
Ukraine's data centre strikes have thrown Russia into turmoil
Article URL: https://www.ft.com/content/dc21da0b-25b7-402e-8dbe-e7d9f7431b93
Comments URL: https://news.ycombinator.com/item?id=50128380
Points: 1
# Comments: 0
How an agentic chat interface can break
Article URL: https://astralbeam.ai/blog/ten-agentic-chat-interface-failures
Comments URL: https://news.ycombinator.com/item?id=50128373
Points: 2
# Comments: 0
Dependently Sorted Syntax and its Semantics – Carlo Angiuli [video]
Article URL: https://www.youtube.com/watch?v=tTZFKkyJEtw
Comments URL: https://news.ycombinator.com/item?id=50128371
Points: 1
# Comments: 0
Existential Risk from AI: An Exposition for Mathematicians
Article URL: https://alkjash.github.io/ai-risk/
Comments URL: https://news.ycombinator.com/item?id=50128351
Points: 1
# Comments: 0
The 39 pictures that changed the way we see men (for good and for bad)
Article URL: https://www.theguardian.com/society/2026/oct/17/39-pictures-that-changed-the-way-we-see-men-for-good-and-for-bad
Comments URL: https://news.ycombinator.com/item?id=50128340
Points: 1
# Comments: 0
El Niño: Chief Minister 'prays' to farmers to save drinking water
Claude CRISPR-like sequence may be a parallel discovery of unpublished research
Article URL: https://recul.ai/news/claude-viral-dna-pattern-priority-dispute/
Comments URL: https://news.ycombinator.com/item?id=50128328
Points: 2
# Comments: 1
I made a New tab page to give you NASA's Image of the day everytime you newtab
Article URL: https://avycado13.github.io/newpage/
Comments URL: https://news.ycombinator.com/item?id=50127991
Points: 1
# Comments: 0
Show HN: Llmspeed – feel how fast a local LLM runs before you buy the hardware
Article URL: https://llmspeed.dev/
Comments URL: https://news.ycombinator.com/item?id=50127979
Points: 1
# Comments: 0
Tiered caching: the checkbox that cuts origin load and almost nobody checks
Article URL: https://plimie.com/blog/tiered-caching-origin-load/
Comments URL: https://news.ycombinator.com/item?id=50127976
Points: 1
# Comments: 0
CDN cache hit ratio is lying to you
Article URL: https://plimie.com/blog/cdn-cache-hit-ratio-lying/
Comments URL: https://news.ycombinator.com/item?id=50127975
Points: 1
# Comments: 0
Tort Law at the Frontier of Artificial Intelligence
Article URL: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6979919
Comments URL: https://news.ycombinator.com/item?id=50127957
Points: 1
# Comments: 0
German police launch investigation after robot allegedly gropes teenage girl
Article URL: https://www.cnn.com/2026/10/14/europe/germany-investigation-robot-groping-intl
Comments URL: https://news.ycombinator.com/item?id=50127941
Points: 3
# Comments: 0
Doom: The Gallery Experience
Article URL: https://www.newgrounds.com/portal/view/960452
Comments URL: https://news.ycombinator.com/item?id=50127940
Points: 1
# Comments: 0
