frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Morphisms All the Way Down: API Design as Arrow-First Thinking

https://ibrahimcesar.cloud/blog/categorical-solutions-architect-part-2/
3•ibrahimcesar•2h ago

Comments

znort_•39m ago
> They focus on objects when we should focus on morphisms.

if you're building real systems you should focus on both.

> Coupling as Hom-Set Size ... The second interface is easier to implement, test, mock, and evolve.

i would doubt that. this just hides the complexity of multiple interfaces inside single, more general interfaces. if those "arrows" actually exist you will have to test and evolve them anyway, and adding some extra classification level does little apart from adding complexity.

> Pipelines ... Why This Matters ... Testability: Each morphism can be tested independently

i agree ... and this just contradicts the previous point about hom-set size.

> The arrows are what matter.

everything matters. i'm aware of the benefits and appeal of category theory, but i don't see the need to shoehorn it into everything, this just seems an example of evangelization of extremes. iow: if your only tool is a hammer everything looks like a nail, and that's not conducing to good design.

Y_Y•16m ago
My category theory is pretty rusty, but I'm not following the section on hom-sets. In particular:

  Hom(OrderService, InventoryService) = {
    checkAvailability: Order → Availability,
    reserveItems: Order → Reservation,
    releaseReservation: ReservationId → Unit,
    decrementStock: Order → Unit
  }
doesn't make sense to me as a hom-set between objects in our category of services, nor as a hom-functor considering one of {OrderService,InventoryService} to be a category and the other and object or morphism within the category.

In the first case all the morphisms in the hom-set should have the same type, and the second doesn't make sense semantically.

Hence it should be the hom-bifunctor considering both as categories, but then we should get natural tranformations in the answer.

I assume there's some notational abuse going on that I'm not picking up on. Either way it would be nice if someone more adept could clarify.

LLM from scratch, part 28 – training a base model from scratch on an RTX 3090

https://www.gilesthomas.com/2025/12/llm-from-scratch-28-training-a-base-model-from-scratch
165•gpjt•6d ago•27 comments

Show HN: AlgoDrill – Interactive drills to stop forgetting LeetCode patterns

https://algodrill.io
42•henwfan•2h ago•29 comments

The Joy of Playing Grandia, on Sega Saturn

https://www.segasaturnshiro.com/2025/11/27/the-joy-of-playing-grandia-on-sega-saturn/
78•tosh•3h ago•34 comments

Transformers know more than they can tell: Learning the Collatz sequence

https://www.arxiv.org/pdf/2511.10811
14•Xcelerate•5d ago•0 comments

Why frozen test fixtures are a problem on large projects and how to avoid them

https://radanskoric.com/articles/frozen-test-fixtures
9•amalinovic•1h ago•3 comments

ZX Spectrum Next on the Internet: Xberry Pi ESP01 and Pi Zero Upgrades

https://retrogamecoders.com/zx-spectrum-next-on-the-internet-xberry-pi-esp01-and-pi-zero-upgrades/
17•ibobev•2h ago•0 comments

Icons in Menus Everywhere – Send Help

https://blog.jim-nielsen.com/2025/icons-in-menus/
625•ArmageddonIt•17h ago•253 comments

Epsilon: A WASM virtual machine written in Go

https://github.com/ziggy42/epsilon
69•ziggy42•1w ago•22 comments

No ARIA is better than bad ARIA

https://www.w3.org/WAI/ARIA/apg/practices/read-me-first/
87•robin_reala•6d ago•49 comments

A deep dive into QEMU: The Tiny Code Generator (TCG), part 1

https://airbus-seclab.github.io/qemu_blog/tcg_p1.html
24•costco•6d ago•1 comments

The universal weight subspace hypothesis

https://arxiv.org/abs/2512.05117
307•lukeplato•13h ago•106 comments

Kroger acknowledges that its bet on robotics went too far

https://www.grocerydive.com/news/kroger-ocado-close-automated-fulfillment-centers-robotics-grocer...
194•JumpCrisscross•13h ago•183 comments

Brent's Encapsulated C Programming Rules (2020)

https://retroscience.net/brents-c-programming-rules.html
11•p2detar•2h ago•5 comments

Manual: Spaces

https://type.today/en/journal/spaces
77•doener•13h ago•8 comments

Jepsen: NATS 2.12.1

https://jepsen.io/analyses/nats-2.12.1
385•aphyr•18h ago•143 comments

Strong earthquake hits northern Japan, tsunami warning issued

https://www3.nhk.or.jp/nhkworld/en/news/20251209_02/
329•lattis•22h ago•151 comments

Microsoft increases Office 365 and Microsoft 365 license prices

https://office365itpros.com/2025/12/08/microsoft-365-pricing-increase/
407•taubek•23h ago•476 comments

Has the cost of building software dropped 90%?

https://martinalderson.com/posts/has-the-cost-of-software-just-dropped-90-percent/
316•martinald•18h ago•481 comments

AMD GPU Debugger

https://thegeeko.me/blog/amd-gpu-debugging/
261•ibobev•21h ago•49 comments

Let's put Tailscale on a jailbroken Kindle

https://tailscale.com/blog/tailscale-jailbroken-kindle
298•Quizzical4230•20h ago•73 comments

Launch HN: Nia (YC S25) – Give better context to coding agents

https://www.trynia.ai/
121•jellyotsiro•20h ago•76 comments

Trials avoid high risk patients and underestimate drug harms

https://www.nber.org/papers/w34534
137•bikenaga•18h ago•45 comments

IBM to acquire Confluent

https://www.confluent.io/blog/ibm-to-acquire-confluent/
410•abd12•23h ago•330 comments

Horses: AI progress is steady. Human equivalence is sudden

https://andyljones.com/posts/horses.html
460•pbui•13h ago•373 comments

Paramount launches hostile bid for Warner Bros

https://www.cnbc.com/2025/12/08/paramount-skydance-hostile-bid-wbd-netflix.html
339•gniting•23h ago•359 comments

Hunting for North Korean Fiber Optic Cables

https://nkinternet.com/2025/12/08/hunting-for-north-korean-fiber-optic-cables/
264•Bezod•20h ago•103 comments

Cassette tapes are making a comeback?

https://theconversation.com/cassette-tapes-are-making-a-comeback-yes-really-268108
112•devonnull•5d ago•195 comments

A thousand-year-long composition turns 25 (2024)

https://longplayer.org/news/2024/12/31/a-thousand-year-long-composition-turns-25/
28•1659447091•6h ago•5 comments

The Lost Machine Automats and Self-Service Cafeterias of NYC (2023)

https://www.untappedcities.com/automats-cafeterias-nyc/
80•walterbell•12h ago•27 comments

Show HN: Fanfa – Interactive and animated Mermaid diagrams

https://fanfa.dev/
125•bairess•5d ago•28 comments