News for hackers. Stuff that matters.

willthefirst

Re:The Difference Between a Button and a Link on Wednesday July 29, 2026 @12:36AM (#49093458)
> Should “Cancel” be a link? No! Its job is to close the edit view. Not only does making this a link incorrectly communicate its purpose—visually and otherwise—but it saddles the form “control” with lots of features, like bookmarking and middle-clicking, that have incorrect behavior.

I don’t get this. Cancel takes you back to the read-only view of the form. So if /resource/edit is the form, cancel just takes you to /resource.

So is this “performing an action” or “navigating somewhere”? Hard to tell. I’m saying that if cancelling a form edit just means ditching the local state to go back to the normal view, that should be a navigation.

Someone straighten this out for me.

Re:I’ve banned query strings on Saturday May 09, 2026 @03:54PM (#48077700)
I mean…the site that broke should know what to do with arbitrary query strings. If your site breaks when someone puts in an invalid query string, that’s on you?
Great content. Give it me to me as a daily-dose newsletter :)
Re:Show HN: Create slide presentations with your voice on Tuesday September 28, 2021 @12:54PM (#28684891)
I recommend turning up your speakers and playing any keynote address in another window (eg. https://www.youtube.com/watch?v=KmDYXaaT9sA). Chaos.
Re:Show HN: Create your own Codecademy-style lessons on Monday March 15, 2021 @10:28AM (#26466459)
Working now! This is great. As somebody interviewing right now, something like this would be great for drilling React concepts.
Re:Ask HN: Do you create music? let's hear it on Monday March 08, 2021 @07:21PM (#26393577)
Coming back programming now, but was working on this EP for the last 2 years:

https://www.gratistheband.com/givemethegratis

Re:Ask HN: What's your quarantine side project? on Friday May 15, 2020 @02:06AM (#23189393)
A giant permanent wall of text for and by the internet. Anyone can write on it.

https://wordsoftheweb.web.app

Re:Are we too busy to enjoy life? on Thursday April 30, 2020 @04:38PM (#23035797)
Definitely. But it's the healthy kind of pain, "ripping off the bandaid".
Re:Are we too busy to enjoy life? on Thursday April 30, 2020 @12:12PM (#23032492)
I know right?! The language is simple and entertaining.

There's also a hilarious passage about a wealthy guy who gets carried everywhere, and becomes so numbed by luxury that he can't tell whether he's sitting down or not.

Re:Are we too busy to enjoy life? on Thursday April 30, 2020 @11:31AM (#23031944)
For some age-tested wisdom on this topic, read Seneca's On The Shortness Of Life:

https://www.globalgreyebooks.com/ebooks/seneca/on-the-shortn...

"But one man is possessed by an avarice that is insatiable, another by a toilsome devotion to tasks that are useless; one man is besotted with wine, another is paralyzed by sloth; one man is exhausted by an ambition that always hangs upon the decision of others, another, driven on by the greed of the trader, is led over all lands and all seas by the hope of gain; some are tormented by a passion for war and are always either bent upon inflicting danger upon others or concerned about their own; some there are who are worn out by voluntary servitude in a thankless attendance upon the great; many are kept busy either in the pursuit of other men's fortune or in complaining of their own; many, following no fixed aim, shifting and inconstant and dissatisfied, are plunged by their fickleness into plans that are ever new; some have no fixed principle by which to direct their course, but Fate takes them unawares while they loll and yawn—so surely does it happen that I cannot doubt the truth of that utterance which the greatest of poets delivered with all the seeming of an oracle: 'The part of life we really live is small.'"

thanks!
agreed. but do see a doctor if you are tasting sweaters, it might be due to a stroke.
Re:Ask HN: Why is there a black bar added on top? on Tuesday March 22, 2016 @10:17AM (#11336749)
.mourning { border-top: 5px solid rgb(0, 0, 0); }

Ask HN: How could comment sections be designed to foster good discussion?

I'm frustrated that comments sections are generally flooded and unorganized. For example, looking at this recent article on HN (https://news.ycombinator.com/item?id=11273301), there's good discussion, but it's too difficult to parse for the best arguments and debate. What could be done to make online discussion more engaged and intelligent?

( Read More... | no comments | on HN )
Re:Show HN: Wriber – Idea Generator on Thursday October 08, 2015 @01:38PM (#10354406)
i thought this was a joke, it is not.
Re:Show HN: Mimic – class-fied inline CSS on Tuesday September 08, 2015 @09:05AM (#10185410)
irony has reached the front end.
Re:LSD – Line Square Dot Game on Friday August 28, 2015 @10:22AM (#10135550)
really great. so simple but immediately entertaining.
Thanks, just subscribed.
Just saw you on front page, very timely, thanks.
AWESOME. exactly what I'm looking for.

Older »