frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Software Engineering Is Back

https://blog.alaindichiappari.dev/p/software-engineering-is-back
1•alainrk•40s ago•0 comments

Storyship: Turn Screen Recordings into Professional Demos

https://storyship.app/
1•JohnsonZou6523•1m ago•0 comments

Reputation Scores for GitHub Accounts

https://shkspr.mobi/blog/2026/02/reputation-scores-for-github-accounts/
1•edent•4m ago•0 comments

A BSOD for All Seasons – Send Bad News via a Kernel Panic

https://bsod-fas.pages.dev/
1•keepamovin•7m ago•0 comments

Show HN: I got tired of copy-pasting between Claude windows, so I built Orcha

https://orcha.nl
1•buildingwdavid•7m ago•0 comments

Omarchy First Impressions

https://brianlovin.com/writing/omarchy-first-impressions-CEEstJk
1•tosh•13m ago•0 comments

Reinforcement Learning from Human Feedback

https://arxiv.org/abs/2504.12501
2•onurkanbkrc•14m ago•0 comments

Show HN: Versor – The "Unbending" Paradigm for Geometric Deep Learning

https://github.com/Concode0/Versor
1•concode0•14m ago•1 comments

Show HN: HypothesisHub – An open API where AI agents collaborate on medical res

https://medresearch-ai.org/hypotheses-hub/
1•panossk•17m ago•0 comments

Big Tech vs. OpenClaw

https://www.jakequist.com/thoughts/big-tech-vs-openclaw/
1•headalgorithm•20m ago•0 comments

Anofox Forecast

https://anofox.com/docs/forecast/
1•marklit•20m ago•0 comments

Ask HN: How do you figure out where data lives across 100 microservices?

1•doodledood•20m ago•0 comments

Motus: A Unified Latent Action World Model

https://arxiv.org/abs/2512.13030
1•mnming•20m ago•0 comments

Rotten Tomatoes Desperately Claims 'Impossible' Rating for 'Melania' Is Real

https://www.thedailybeast.com/obsessed/rotten-tomatoes-desperately-claims-impossible-rating-for-m...
3•juujian•22m ago•2 comments

The protein denitrosylase SCoR2 regulates lipogenesis and fat storage [pdf]

https://www.science.org/doi/10.1126/scisignal.adv0660
1•thunderbong•24m ago•0 comments

Los Alamos Primer

https://blog.szczepan.org/blog/los-alamos-primer/
1•alkyon•26m ago•0 comments

NewASM Virtual Machine

https://github.com/bracesoftware/newasm
2•DEntisT_•28m ago•0 comments

Terminal-Bench 2.0 Leaderboard

https://www.tbench.ai/leaderboard/terminal-bench/2.0
2•tosh•29m ago•0 comments

I vibe coded a BBS bank with a real working ledger

https://mini-ledger.exe.xyz/
1•simonvc•29m ago•1 comments

The Path to Mojo 1.0

https://www.modular.com/blog/the-path-to-mojo-1-0
1•tosh•32m ago•0 comments

Show HN: I'm 75, building an OSS Virtual Protest Protocol for digital activism

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
5•sakanakana00•35m ago•1 comments

Show HN: I built Divvy to split restaurant bills from a photo

https://divvyai.app/
3•pieterdy•38m ago•0 comments

Hot Reloading in Rust? Subsecond and Dioxus to the Rescue

https://codethoughts.io/posts/2026-02-07-rust-hot-reloading/
3•Tehnix•38m ago•1 comments

Skim – vibe review your PRs

https://github.com/Haizzz/skim
2•haizzz•40m ago•1 comments

Show HN: Open-source AI assistant for interview reasoning

https://github.com/evinjohnn/natively-cluely-ai-assistant
4•Nive11•40m ago•6 comments

Tech Edge: A Living Playbook for America's Technology Long Game

https://csis-website-prod.s3.amazonaws.com/s3fs-public/2026-01/260120_EST_Tech_Edge_0.pdf?Version...
2•hunglee2•44m ago•0 comments

Golden Cross vs. Death Cross: Crypto Trading Guide

https://chartscout.io/golden-cross-vs-death-cross-crypto-trading-guide
3•chartscout•46m ago•1 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
3•AlexeyBrin•49m ago•0 comments

What the longevity experts don't tell you

https://machielreyneke.com/blog/longevity-lessons/
2•machielrey•50m ago•1 comments

Monzo wrongly denied refunds to fraud and scam victims

https://www.theguardian.com/money/2026/feb/07/monzo-natwest-hsbc-refunds-fraud-scam-fos-ombudsman
3•tablets•55m ago•1 comments
Open in hackernews

Why I Keep Business Logic Out of SQL

https://ewaldbenes.com/en/blog/why-i-keep-business-logic-out-of-sql
4•thunderbong•4mo ago

Comments

taylodl•4mo ago
There's nothing the article's author is saying that's wrong, it's just there are additional considerations.

For example, how many applications are using this database? If it’s more than one, replicating business logic across multiple tech stacks introduces risk. Each stack may implement logic differently, and maintaining consistency becomes a challenge. Plus, each team will have its own priorities, so now you’ve added the complexity of coordinating delivery across teams.

A common solution is to centralize the business logic in a web service, allowing all applications to consume it uniformly. This works well - unless one of those applications needs to process large volumes of data. In that case, the web service can become a bottleneck. There’s also the organizational overhead: Who owns the API? Who supports it? Often that lies with "enterprise" web service teams, and they often have a policy of not embedding business logic in their APIs, so you may face pushback if you try to place it there.

If a client requires high-volume data access, a materialized view can be a great option. It’s performant and allows you to embed the necessary logic. It’s also helpful for clients that struggle to consume web services - most of that’s behind us, but there are always stragglers in the app portfolio. The downside? Materialized views require clients to have a database connection and a managed application account. There are also network constraints around where the client and database server reside.

There’s also a hybrid option: embed the business logic in a materialized view and expose the data via a web service. This satisfies "enterprise" web service teams that don’t want business logic in their APIs, while still centralizing logic and supporting high-volume access.

Ultimately, business logic can live in several places:

- Application

- Web Service

- View

- Hybrid: Web Service utilizing a View

Each option has trade-offs. The right choice depends on your architecture, performance needs, organizational structure, and organizational policies.