frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

It's time to talk about my writerdeck

https://veronicaexplains.net/my-first-writerdeck/
216•hggh•4h ago•119 comments

Don't Roll Your Own

https://susam.net/do-not-roll-your-own.html
31•adunk•1h ago•17 comments

My two-part desk setup (2025)

https://arslan.io/2025/11/18/my-two-part-desk-setup/
182•James72689•3d ago•113 comments

On The <dl> (2021)

https://benmyers.dev/blog/on-the-dl/
331•ravenical•10h ago•102 comments

.NET (OK, C#) finally gets union types

https://andrewlock.net/exploring-the-dotnet-11-preview-2-dotnet-gets-union-types/
116•ingve•1d ago•93 comments

Sales and Dungeons: Thermal printer TTRPG utility

https://sales-and-dungeons.app/
11•hyperific•1d ago•2 comments

Green card seekers must leave U.S. to apply, Trump administration says

https://www.nytimes.com/2026/05/22/us/politics/green-card-changes-trump.html
420•tlhunter•1d ago•772 comments

Toxic chemical leak at a manufacturing facility in Orange County

https://www.bbc.com/news/articles/c3w2l249j8go
58•borski•1h ago•31 comments

My I3-Emacs Integration

https://khz.ac/software/i3-integration.html
3•nosolace•21m ago•0 comments

Hengefinder: Finding when the sun aligns with your street

https://victoriaritvo.com/blog/hengefinder/
94•evakhoury•1d ago•24 comments

Reverse engineering circuitry in a Spacelab computer from 1980

https://www.righto.com/2026/05/reverse-engineering-spacelab-computer.html
77•elpocko•7h ago•8 comments

New map reveals lost roads of the Roman Empire

https://www.scientificamerican.com/article/new-high-resolution-map-transforms-what-we-know-about-...
26•sohkamyung•3d ago•4 comments

Byrne's Euclid

https://www.c82.net/euclid/
6•layer8•1h ago•2 comments

SpaceX launches Starship v3 rocket

https://www.space.com/space-exploration/launches-spacecraft/spacex-starship-v3-megarocket-first-t...
326•busymom0•23h ago•224 comments

80386 microcode disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
211•nand2mario•11h ago•42 comments

The Art of Money Getting

https://kk.org/cooltools/book-freak-210-the-art-of-money-getting/
172•dxs•10h ago•115 comments

PHP's Oddities

https://flowtwo.io/post/php%27s-oddities
89•thejoeflow•4d ago•97 comments

Judson's Last Ride

https://www.realclearpolitics.com/articles/2026/05/22/judsons_last_ride_154150.html
3•NaOH•11h ago•0 comments

Making deep learning go brrrr from first principles (2022)

https://horace.io/brrr_intro.html
143•tosh•11h ago•56 comments

Texas woman arrested for Facebook post about town water quality

https://reclaimthenet.org/texas-woman-arrested-for-facebook-post-about-town-water-quality
573•abawany•5h ago•249 comments

-​-dangerously-skip-reading-code

https://olano.dev/blog/dangerously-skip/
79•fagnerbrack•13h ago•97 comments

Italy moves to Airbus A330 tankers

https://www.euronews.com/my-europe/2026/05/21/italy-moves-to-airbus-a330-tankers-in-major-nato-al...
220•embedding-shape•7h ago•76 comments

Kindle loyalists scramble as Amazon turns page on old e-readers

https://www.reuters.com/business/retail-consumer/kindle-loyalists-scramble-amazon-turns-page-old-...
100•cf100clunk•4d ago•107 comments

Bun.Image

https://bun.com/docs/runtime/image
11•chakintosh•37m ago•1 comments

sp.h: Fixing C by giving it a high quality, ultra portable standard library

https://spader.zone/sp/
181•dboon•3d ago•163 comments

A self-powered computer in actual credit-card size (~1mm thick)

https://old.reddit.com/r/electronics/comments/1td7yxl/i_built_a_fully_selfpowered_computer_in_act...
33•gnabgib•2h ago•3 comments

Rubish: A Unix shell written in pure Ruby

https://github.com/amatsuda/rubish
166•winebarrel•17h ago•98 comments

Highest Random Weight in Elixir

https://jola.dev/posts/highest-random-weight-in-elixir
58•shintoist•2d ago•2 comments

Oura says it gets government demands for user data

https://this.weekinsecurity.com/oura-says-it-gets-government-demands-for-user-data-will-it-share-...
248•donohoe•9h ago•142 comments

Spanish court declines to fine NordVPN over LaLiga piracy blocking order

https://torrentfreak.com/spanish-court-declines-to-fine-nordvpn-over-laliga-piracy-blocking-order/
104•gslin•16h ago•82 comments
Open in hackernews

Don't Roll Your Own

https://susam.net/do-not-roll-your-own.html
30•adunk•1h ago

Comments

giancarlostoro•45m ago
At the same time, ask yourself "do I really need something special for this?" because the browser adds native support for things all the time.
singiamtel•35m ago
I find that most datepickers are better than the browser's default. It's a shame that they can't be styled more
paularmstrong•29m ago
I agree with a caveat: Default date pickers on mobile devices are very good. But on desktop browsers they are terrible. They break design continuity in a very ugly way and have quirks between browsers and systems. And personally, the popup calendar they provide just too small. If the system took over the date picker on desktop like it does on mobile devices instead of forcing the browser to handle it, I feel like we could get somewhere better.
pwdisswordfishs•17m ago
> I find that most datepickers are better than the browser's

You mean your browser's. There is no "the browser".

julianozen•12m ago
Yes, but having worked on the date picker at Airbnb I can assure you almost every custom implementation (probably ours too!) messes up date picking in some region in an important way
neals•6m ago
Except...?
ceejayoz•2m ago
There’s no except. They all suck in some specific way.
chihuahua•35m ago
Totally agree. What do engineers or designers think they're trying to accomplish when they mess with the scroll bar? Or the password field? "We are so sophisticated, the built in behavior is simply not good enough for us!"

Congratulations, now your website is a shitty experience for your users. Well done.

amarant•29m ago
In my experience, it's never the engineers nor the designers who makes those decisions. Stuff like that always comes from higher up the ladder, some middle management figure who thinks he is smarter than he is, mandates such abominations and refuses to hear reason from the engineers and the designers.

The engineers and designers then proceed to do as they're told because they like that nice fat paycheck at the end of the month more than they like the service they're building. Which is fair enough.

IcyWindows•7m ago
I don't know. Someone above mentioned that don't like their browser's date picker. Maybe they are a "middle management figure", but probably not.
lysace•23m ago
> Don't roll your own page scrolling, link navigation, text selection, context menu, copy and paste, password field, or date picker.

Javascript in the browser was a mistake. And if we had to have it, the suitable scope of it was what we had around 2004.

Google invested billions in it realizing they had a way of owning the browser space simply by making it insanely complex. Just hire all of the web standards people, tell them to go crazy and then also hire thousands of C++ browser developers for a decade to build everything. Boom, a moat!

ChrisMarshallNY•20m ago
I'm always an "It Depends" kind of guy.

I have a personal issue with having a 500KB page load, so a button press can be animated.

wxw•15m ago
UX standardizes as majorities begin to agree on patterns/interactions/concepts.

Unfortunately, it’s 1) difficult to reach consensus 2) difficult to broadcast and 3) difficult to enforce. For example, even when major browsers achieve 1) and (e.g. implement a standard component) 2) and 3) are still huge gaps.

yardstick•13m ago
> Among software developers, and especially among those who work on security-sensitive systems, there is a well-known maxim: Don't roll your own crypto. This does not mean that nobody is allowed to write cryptographic code. Someone has to. It means that, for ordinary production software that protects sensitive data of users, we should not rely on a private, unreviewed implementation that has not been vetted by the wider software development community. We should use established, vetted software packages or tools wherever possible.

The great things about all these crypto libraries are: - Minimal to no dependencies - Coded by security conscious people - Often externally audited

I wish more libs/deps are crafted like them. Until then the risk of rolling your own vs using a dep isn’t as different as it could be.

zephen•9m ago
"Don't roll your own" is perfectly sane advice...

For those not trying to implement the dark patterns that enshittify the web.

If you don't roll your own back button behavior, you've missed the opportunity to show a few more ads.

If you don't make your window full screen on my shitty old tablet browser (yes, I'm looking at you, BBC), then it's far too easy for me to close your window. (Joke's on you, though -- my old Samsung tablet has a physical back button.)

shermantanktop•7m ago
If you don’t “roll your own,” you must choose from what other people have created. And in this space, there are a bewildering array of options, each of which carries some new pile of abstractions that make some things easy and other things hard.

Many eyes are supposed to make bugs shallow. In the webdev space, many eyes on something like React lead to numerous opinionated alternatives, each successful enough to warrant consideration. This doesn’t seem to be slowing down, either.

Meanwhile, vanilla HTML and DOM capabilities have never been stronger.

analogpixel•4m ago
https://news.ycombinator.com/item?id=48141474

agreed, that page decided they needed to write their own scrolling logic and it made the page horrible.