frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Algebraic Effects: Another mistake carried through to perfection?

https://kjosib.github.io/Counterpoint/effects.html
29•todsacerdoti•1y ago

Comments

smitty1e•1y ago
> sweet careers are made of this, so who am I to disagree? Compile the world; Java Python C. Everybody’s looking for some bug. Some of them want to maintain you. Some of them want to be maintained.

For those missing the reference:

https://youtu.be/qeMFqkcPYcg?si=at-YtggekbPdv7sN

voxl•1y ago
The desire of the HN community to pull a random person's uninformed opinion about a topic that they, justifiably, wrote for their own interests and amusement and then pontificate about how either stupid or amazing it is will never ceise to confuse me.

Effects on their own are a very active area of research and I would laugh behind a PL researchers back if they claimed it was a solved issue. Between Monads, call-by-push-value, and algebraic effects there is really no clear "how do people actually use this" answer.

But that's not the job of a PL researcher anyway, or a random software engineer for that matter. Sorry to say, the software engineer knows next to nothing about "the right way" to design language features that people want to use or enjoy using. If anything this should be an HCI person with a penchant for PL or vice versa.

eli_gottlieb•1y ago
>Effects on their own are a very active area of research and I would laugh behind a PL researchers back if they claimed it was a solved issue. Between Monads, call-by-push-value, and algebraic effects there is really no clear "how do people actually use this" answer.

I can actually say that I used algebraic effects in my thesis for the section on semantics of a basic probabilistic programming language. It avoided talking about monads for my committee member who cared and honestly made for an easier implementation.

rednafi•1y ago
> Sorry to say, the software engineer knows next to nothing about "the right way" to design language features that people want to use or enjoy using.

Sorry to say that many PL researchers live in their ivory tower and know next to nothing about things that people care about. One could say that it's not their job, their job is to write papers and get tenure. The number of FP enthusiasts versus the number of large, useful systems written in those languages is all the proof you need.

My statement is a vast generalization and is equally incorrect as the original one.

voxl•1y ago
Anyone who uses words like "ivory tower" I know suffers more from jealousy and anti-intellectualiam than anything else. There is a reason Rust is the most loved programming language of modern times and it's not because they ignored the "ivory tower"
chownie•1y ago
I had to stop and re-read this comment chain because I was sure this was satire
agentultra•1y ago
There’s a certain amount of hubris to say, “I don’t know anything about this and you’re making a mistake.” It’s off putting and kills the whole rant.

I’ve heard opinions from smart people with lots of experience who say algebraic effects are not worth the squeeze. I’ve also heard some say that we should all be pushing the boundaries: they are the future.

So the matter doesn’t seem to be decided. Now isn’t the time for maxims.

gitroom•1y ago
Every time I read stuff like this it just makes me laugh, I honestly never know who to listen to in these debates.
rednafi•1y ago
Research doesn't work like that. I like the idea of separating contract and implementation in algebraic effects. It might pave the way to bring back some sanity to imperative languages and help us write better code, since it's pretty clear that the "real world" doesn't care much about pure functional languages no matter what they bring to the table. Or algebraic effects could be like monads, many like to talk about them while people building real stuff have no clue about it, nor do they care. But we'll never know unless we explore.
lambdas•1y ago
To which implementation is the author referring, I wonder?

I can’t say I recognise any of these issues from freer, polysemy, nor bluefin.

chriswarbo•1y ago
The author says the approach they advocate (just using function parameters) is similar to "dependency injection". It looks like in FP/objects-are-a-poor-man's-closures terminology they're talking about Continuation Passing Style (CPS).

Spite: A Dignified Music Player

https://www.jamesreeves.co/spite/
1•schu•34s ago•0 comments

Samsung Lawyer Fails to Differentiate iPad and Galaxy Tab in Court (2011)

https://apple.slashdot.org/story/11/10/14/2051219/samsung-lawyer-fails-to-differentiate-ipad-and-...
1•Caarticles•58s ago•0 comments

Arbitrage

https://grokipedia.com/page/Arbitrage
2•BruceEel•2m ago•0 comments

Brazilian Internet Forum (FIB16) in Belém, Pará: A Visual Tour

https://manualdousuario.net/en/brazilian-internet-forum-fib16-belem-pictures/
1•rpgbr•3m ago•1 comments

Claude Talk Small. Code Still Big

https://spatie.be/blog/claude-talk-small-code-still-big
1•speckx•3m ago•0 comments

The MQ-28 Ghost Bat Is Now Flying in the U.S.

https://theaviationist.com/2026/05/28/the-mq-28-ghost-bat-is-now-flying-in-the-u-s/
1•big_toast•5m ago•0 comments

// The hope is that Claude Code will be unusable on this repository

https://codeberg.org/forgejo-contrib/forgejo-cli/src/branch/main/src/main.rs#L88-L91
1•themgt•7m ago•0 comments

Teaching tmux to babysit my Claude Code agents

https://blog.angeloff.name/post/2026/05/29/teaching-tmux-to-babysit-my-claude-code-agents/
1•StanAngeloff•7m ago•0 comments

The mechanism behind how capsaicin tolerance develops

https://old.reddit.com/r/askscience/comments/hqiut/comment/c1xlzlb/
1•abr0ahm•7m ago•0 comments

Kalshi launches perpetual futures in America

https://news.kalshi.com/p/kalshi-launches-perpetual-futures-america
1•durron•8m ago•0 comments

European startup and scaleup scoreboard: Country reports

https://research-and-innovation.ec.europa.eu/knowledge-publications-tools-and-data/publications/a...
1•jruohonen•8m ago•0 comments

MIT EECS/CSAIL Agentic Coding in Practice Seminar Series

https://people.csail.mit.edu/saman/acpss/
1•matt_d•9m ago•0 comments

The Load-Balance Problem Behind Hybrid Parallelism

https://hecate0821.github.io/blogs/hybrid-parallel-post-training/
1•matt_d•10m ago•0 comments

Deadly fungal storms are sweeping US and spreading disease few doctors recognize

https://www.sciencefocus.com/planet-earth/dust-storms-us-blood-rain
2•ck2•13m ago•1 comments

"I somehow managed to import 1.8M books to calibre"

https://old.reddit.com/r/DataHoarder/comments/1tr37eb/i_somehow_managed_to_import_18m_books_to_ca...
2•r721•14m ago•0 comments

Show HN: I launched a micro-gig marketplace and used it to buy my own GTM plan

1•alanhalley•17m ago•0 comments

Auto-review mode is now available in Cursor

https://cursor.com/changelog/auto-review
2•davidgomes•18m ago•0 comments

Delayed Tensor Parallelism for Faster Transformer Inference

https://blog.kog.ai/delayed-tensor-parallelism-for-faster-transformer-inference/
1•matt_d•18m ago•0 comments

Aliens.gov

https://www.whitehouse.gov/aliens/
3•saikatsg•19m ago•2 comments

The Compose Key and –/.XCompose

https://blog.gavide.dev/blog/compose-key-linux
2•gavide•19m ago•0 comments

The Machine God Wants to Talk to You

https://twitter.com/olvrgln/status/2060419489351754049
1•OliverGilan•21m ago•0 comments

SQLite is all you need for durable workflows

https://obeli.sk/blog/sqlite-is-all-you-need-for-durable-workflows/
16•tomasol•22m ago•5 comments

A call for secure coding standards across the Canada government

https://bsky.app/profile/shehackspurple.bsky.social/post/3mmz25aplk52a
1•mooreds•22m ago•0 comments

Nvidia Twitter Post Teasing: A New Era of PC

https://twitter.com/nvidia/status/2060390710797328574
1•HeyMeco•24m ago•2 comments

Multiplayer Harness for Agents and Humans

https://thruwire.ai
1•noashavit•24m ago•0 comments

The Greatest Show on Earth: The Evidence for Evolution

https://en.wikipedia.org/wiki/The_Greatest_Show_on_Earth:_The_Evidence_for_Evolution
2•chistev•25m ago•0 comments

Tesla's AI trainers don't trust its self-driving tech – or its safety stats

https://www.reuters.com/investigations/why-teslas-ai-trainers-dont-trust-its-self-driving-tech-or...
5•grassfedgeek•26m ago•2 comments

What if remote working, not AI, is to blame for weak junior hiring?

https://www.ft.com/content/2205e2d0-50dc-4e80-9bf7-78d0272276c0
3•uxhacker•27m ago•1 comments

Google DeepMind's AlphaProof Nexus solves decades-old math problems

https://the-decoder.com/google-deepminds-alphaproof-nexus-solves-decades-old-math-problems-for-a-...
1•gmays•30m ago•0 comments

Robinhood now lets your AI agents trade stocks

https://techcrunch.com/2026/05/27/robinhood-now-lets-your-ai-agents-trade-stocks/
33•wapasta•30m ago•35 comments