frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Flock's gunshot detection microphones will start listening for human voices

https://www.eff.org/deeplinks/2025/10/flocks-gunshot-detection-microphones-will-start-listening-h...
1•hhs•1m ago•0 comments

Why the hell does Android even exist anymore?

https://fireborn.mataroa.blog/blog/why-the-hell-does-android-even-exist-anymore/
1•microsoftedging•3m ago•0 comments

Building a ham radio data transceiver on the cheap

https://hackaday.com/2025/10/03/building-a-ham-radio-data-transceiver-on-the-cheap/
2•ikbdsk•6m ago•0 comments

Lazy text capitalization with low latency large language models

https://blog.florianschulz.info/2025/10/lazy-text-capitalization/
1•florians•11m ago•0 comments

Harvard Neurologist: 'Wanting to keep your brain young forever is foolishness'

https://english.elpais.com/science-tech/2025-09-30/alvaro-pascual-leone-neurologist-wanting-to-ke...
1•panarchy•12m ago•0 comments

Don't Tax Wealth

https://www.economist.com/finance-and-economics/2025/10/02/dont-tax-wealth
3•andsoitis•15m ago•0 comments

Treasure hunters discover $1M in silver and gold coins off Florida coast

https://www.theguardian.com/us-news/2025/oct/02/treasure-florida-spanish-coins
1•hentrep•16m ago•0 comments

Show HN: Got sick and tired of AI in search engines, so I made my own

https://glass.8ball.space
1•eightballsystem•17m ago•0 comments

Tell HN: Stripe seems to have suspended human customer support

4•almost•18m ago•0 comments

A Mac-like experience on Linux

https://pointieststick.com/2025/10/04/a-mac-like-experience-on-linux/
4•TangerineDream•18m ago•1 comments

Tom Swifty

https://en.wikipedia.org/wiki/Tom_Swifty
1•tdeck•21m ago•0 comments

Databranches: Using Git as a Database

https://joeyh.name/blog/entry/databranches/
1•edward•22m ago•0 comments

Game Development: History, Industry, and Engine Design

https://spiiin.github.io/blog/490626496/
1•todsacerdoti•24m ago•0 comments

86Box Now Supports the SafeDisc Copy Protection for Cue/Bin Image Files

https://fabulous.systems/posts/2025/09/86box-safedisc-copy-protection-for-cue-bin-images/
1•ingve•25m ago•0 comments

Home Tech – Smart Display for Healthier Work

https://www.hometechco.com/
1•tortilla•25m ago•0 comments

Explainer: Inodes and Inode Numbers

https://eclecticlight.co/2025/10/04/explainer-inodes-and-inode-numbers/
2•ingve•28m ago•0 comments

One Day at a Time

https://firstlight.bearblog.dev/one-day-at-a-time/
1•edelwiess•36m ago•0 comments

How fast can you taste code?

https://dayson.io/posts/taste-code/
1•dayson•36m ago•0 comments

Mira Murati, the 36-year-old tech prodigy who shot to fame at OpenAI

https://fortune.com/2025/10/03/mira-murati-career-ai-thinking-machines-goldman-sachs-tesla-leap-o...
2•fcpguru•37m ago•0 comments

PC cooler control with a $2 microcontroller, no development board

https://popovicu.com/posts/pc-cooler-control-with-2-dollar-microcontroller-no-development-board/
2•popovicu•38m ago•1 comments

ICE plans to scour Facebook, TikTok, X, and even defunct Google+

https://www.theregister.com/2025/10/03/ice_contractors_social_media_spy/
3•Bender•38m ago•0 comments

UK government says digital ID won't be compulsory – honest

https://www.theregister.com/2025/10/03/uk_digital_id_clarity/
4•Bender•39m ago•0 comments

'Retired' cybercrime group demands $989M not to leak 1B Salesforce records

https://www.theregister.com/2025/10/03/scattered_lapsus_hunters_latest_leak/
1•Bender•40m ago•0 comments

Show HN: LazyArchon – Terminal-Based Project Management TUI Built with Go

https://lazyarchon.yousfisaad.com/
1•ysaad•41m ago•0 comments

The "Phantom Author": AI-Generated Code as a Quality Time Bomb

https://medium.com/ai-advances/theres-a-phantom-author-in-your-codebase-and-it-s-a-problem-0c304d...
2•birdculture•42m ago•0 comments

Paged Out magazine #7 is out

https://pagedout.institute/
1•guiambros•42m ago•0 comments

Seniors lose access to telehealth services in wake of shutdown

https://www.pbs.org/newshour/show/millions-of-seniors-lose-access-to-telehealth-services-in-wake-...
2•bookofjoe•49m ago•0 comments

Empathy for Dummies

https://quarter--mile.com/empathy-for-dummies
1•surprisetalk•52m ago•0 comments

Welcome to Garfism

https://devilledgreggs.github.io/garfism/index.html
3•surprisetalk•52m ago•0 comments

Microformats – building blocks for data-rich web pages

https://microformats.org
1•surprisetalk•52m ago•0 comments
Open in hackernews

Functional Programming Shaped (and Twisted) Front End Development

https://alfy.blog/2025/10/04/how-functional-programming-shaped-modern-frontend.html
12•jicea•1h ago

Comments

davedx•37m ago
Think some of that (the dialog and friends) is the wrong way around: we wouldn’t have gotten all those nice DOM native components if libraries and frameworks hadn’t popularised them and driven adoption into the standards.

I am not sure I agree “the state of front end development” is due to “functional purism” either. React just provided a good abstraction that worked well for many people. It’s a meritocracy. If the abstraction that worked best (however we measure that) had been something more OOP then that would have been adopted.

madeofpalk•36m ago
Not sure I agree with the tone of the article, but I do find that Javascript developers have a weird relationship with "functional programming". I see so much convoluted code with arr.reduce() or many chained arr.map().filter().filter().map(), that would just be so much simpler and easier to read if it was a classic for-loop. I suggest this to people and they scoff at the thought of using a for-loop in Javascript.

> Consider the humble modal dialog. The web has <dialog>, a native element with built-in functionality. [...] Now observe what gets taught in tutorials, bootcamps, and popular React courses: build a modal with <div> elements

The dialog element is new! Only broadly supported since 2022. I find it hard to fault existing material not using it. Things like dialog, or a better select, are notable because they were lacking for so long.

madeofpalk•10m ago
On the other hand, from my experience, large development teams cannot write CSS at scale. "Writing clean CSS code" doesn't seem to be a skill that most (frontend) developers seem to value, so abstractions like CSS Modules (which is barely an abstraction - it's just compile-time BEM) and CSS-in-JS came up to manage complexity of both a large codebase and large team.
nucleogenesis•8m ago
I’m fond of chained array methods, especially if the callbacks I pass are named functions - it can make for code that I find way more legible than for loops. But even with anonymous callbacks I’d rather do that ~90% of the time than use a for loop anyway.
ninetyninenine•28m ago
I believe functional is the better (and best) paradigm we have right now. But the problem of why FE development still feels overcomplicated is because of a different reason.

There's a mismatch between how components are organized and how data flows through the front end application.

HTML is hierarchical. You have elements wrapping each other

   A
   └─ B
       ├─ C
       │   ├─ C1
       │   ├─ C2
       │   │   ├─ C2a
       │   │   └─ C2b
       │   └─ C3
       └─ D
           ├─ D1
           ├─ D2
           │   ├─ D2a
           │   └─ D2b
           └─ D3
The issue here is that you can have something like D3 changing the state of an element like C3. So data must be artificially grafted on the above hierarchy to make it work.

D3 wants to send data to C3? Well then that means B must be the owner of the data. So data that feels like it must live on D3 well now you got to make it live on B which has nothing to do really with D3.

This has one primary problem.

It destroys modularity and much of the benefits of functional programming making it sort of useless in react. If you did prop drilling most things that have a path from B to C3 and B to D3 now are no longer modular and can ONLY be used in context of data related to D3. If you didn't use prop drilling and used some contextual way to pass the data the problem is still there because now components on that path have access to contextual data that's irrelevant. Some developer may have a component access that context and modularity is broken... that component can now never be moved outside of the context.

Really how data flows through your program is actually a separate graph structure, and how HTML elements are organized in your program is another separate graph structure we try to graft into the first one and that creates a mess.

I think the best way to do this, hasn't been done yet. But really side effects like clicks and button presses should NOT live on components. Components don't know about these things. That keeps the hierarchy and modularity of these html elements pure. A framework that's well designed needs to enforce this separation. I even think this can be done in a way that is STILL functional, but not react.

HTML and jquery were sort of going in this direction, but the problem was HTML lacked modularization because you couldn't group tags into a component. You also have timing issues and complexity with state that jquery didn't handle.

Overall I think the old style was actually better. It was a better overall direction that had tons of problems and I think those problems could have been solved if we continued in that direction.

Imagine something similar to jquery but this jquery can only directly reference components on your component hierarchy and pass data directly to components (aka manipulate them). Context and state will also live on this jquery like framework and it will be handled in a similar way to how react handles it. While components themselves can wrap other components, and parameters that go into components can ONLY have default values. The components can never dynamically "call" other components with data and actually have anything truly dynamic going on.... only the jquery like framework can do this.

ianthehenry•3m ago
Bonsai is a frontend framework that models data as an explicit graph, separate from any “component hierarchy” or DOM structure. State can live anywhere in the application graph, whether or not it’s associated with DOM nodes, and you eliminate all of the “move this state to the parent to share it” ceremony by just having “components” return their views and “outputs” at the same time (if they want).

It’s pretty great and hard to imagine going back to a React-like component hierarchy.

gedy•20m ago
I don't disagree with the idea that people can be a little kooky about FP, but the idea that webapps are perfectly fine without modern front end approaches is a bit exaggerated. Managing UI state is much easier in the client - sure, if you don't have a stateful UI to begin with don't go build some JS SPA. But I've have been there done that with teams and companies that dislike JS then try to fake UI state back and forth from server to client, and it really sucks, overcomplicates stuff that should be simple.
AstroBen•18m ago
A lot of these are implementation details and not necessary for the abstraction to work. Preact doesn't use a synthetic event system for example
ludicrousdispla•11m ago
Something about web development really does seem to break a person's ability to design/architect a proper event-driven, data-oriented UI.