Live data from Hacker News

Don't Roll Your Own

susam.net

111–120 of 128 posts

Re: Don't Roll Your Own

#111
post #101

Earlier quoted context omitted.

But they’re saying it feels like extortion. The problems of the web aren’t the fault of those extension developers, nor can they do anything about it besides trying to mitigate it. It’s in our best interest that they can do so sustainably, meaning charging for it. It’s not gall, they’re fighting it for themselves and making the solution available for all. That comment places a lot of blame where it doesn’t lie. It’s…

The definition of extortion is the coercion of money in "exchange for protection", where the threat to be protected against is typically perpetrated by the coercer. I'm not using the term in the literal sense, as if an antivirus software firm is producing computer viruses. Thus, this case "feels like extortion", not "we are being extorted". (It may as well be advertising firms selling ad blocking software because the…

> FWIW, I don't consider surgeons to be extortionists.

Of course, that’s the point of the comparison. If I thought you thought surgeons were extortionists I wouldn’t have used the example because it wouldn’t have served to illustrate the point.

> But this line of reasoning is off in the weeds, and I won't pursue it further.

Indeed, that strayed completely away from the point. This has nothing to do with healthcare.

> Many life-saving transplant patents are stuck in a wait list, for instance, and many die waiting.

I know. I’ve made that point in a sibling comment hours before your post.

https://news.ycombinator.com/item?id=48259154

> Perhaps what it comes down to is that you have a pro-capitalist outlook

Making assumptions about strangers on the internet tends to be embarrassing, and this is no exception.

https://news.ycombinator.com/item?id=38999857

https://news.ycombinator.com/item?id=46854217

https://news.ycombinator.com/item?id=46853865

https://news.ycombinator.com/item?id=46564646

> and I have They Live sunglasses.

https://xkcd.com/610/

Re: Don't Roll Your Own

#112
post #5

Earlier quoted context omitted.

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…

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.

the date picker is the one i really disagree with because it really is terrible on most browsers

Re: Don't Roll Your Own

#113
post #31

I'd like to add: * Don't roll your own standard controls Seriously. Don't. You want a single-select box? Use a combo box or radio button group. Want an edit box? Use an edit box. Want a list that finds things as you type? That's in the standard too. Don't roll your own. This "roll our own controls for everything" bothers me to no end as a screen reader user, because practically nobody properly follows ARIA best pract…

Things wouldn't have gone this way if browser vendors and the working groups were not so lagging on adopting better UX for controls and had more built-in ways of customizing the looks.

Take a look how long it took to be able to customize .

A hamburger menu or an accordion with proper viewport scrolling should be a couple of lines of html css...

Re: Don't Roll Your Own

#114

Earlier quoted context omitted.

I agree. The date range selector used in Google Flights is a near flawless control. The implementation can be done, it’s just hard.

From your perspective. Ask people using non-gregorian calendars.

Those people should set fire to all their digital devices, and be banned from everything digital.

Re: Don't Roll Your Own

#115
post #93

Earlier quoted context omitted.

And management asked nobody, and then did it anyway. Your preferences are unusual. Most people either don't care or prefer flashiness over consistency. It's something I've come to realise about the why the world is the way it is. Yes, to a certain extent it is because of locally maximal power structures and hierarchies propagating - but it is also because, taken as a whole, people are really just like that . A single…

A nerd podcast that I listen to was talking about shells and touched on Spaceship for zshell. One of the hosts talked about how having multi-line prompts became possible in the 90s, how it isn't new, but how packaging it up is new and now it's a trend for some people. I'd previously found it interesting enough to try out for half a day. I've been back to my regular boring prompt ever since. Humans are attracted to sh…

You need no forgiveness, because your opinion is not a slight against me, others or any God.

Re: Don't Roll Your Own

#116

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.

Ugh you triggered me. I hate how most "modern" websites have MEGABYTES of JavaScript. CSS? Pack it in a js bundle with JSX and object literals. Images? Throw them in too, just make it load on demand. Hell, just put a there and let js do the rest. It's not like we have browsers and networks and edge nodes optimized to render websites in other ways.

Honestly, your suggestions found just as awful.

Bloated sites need to go. Putting makeup on the pig and it’s still a pig.

Re: Don't Roll Your Own

#117
post #16

Earlier quoted context omitted.

Except...?

There’s no except. They all suck in some specific way.

Just let me type the date in the user's local format and put in the dashes/slashes with a regex (and remove them again before applying insert/Backspace/Delete). Almost always this is so messed up and broken. And slow.

Sigh. You anonymous code authors are always working to bring the user down, even when there is a 1000000:1 ratio between them and you.

Re: Don't Roll Your Own

#118
post #5

Earlier quoted context omitted.

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…

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.

Not liking it and having the conceit to replace it (and more importantly, shove your replacement into prod) are entirely different actions. The first is always legal. The second is more often questionable than not

Re: Don't Roll Your Own

#119
post #116

Earlier quoted context omitted.

Ugh you triggered me. I hate how most "modern" websites have MEGABYTES of JavaScript. CSS? Pack it in a js bundle with JSX and object literals. Images? Throw them in too, just make it load on demand. Hell, just put a there and let js do the rest. It's not like we have browsers and networks and edge nodes optimized to render websites in other ways.

Honestly, your suggestions found just as awful. Bloated sites need to go. Putting makeup on the pig and it’s still a pig.

I think the suggestions were a joke.

It looks like you guys are both in alignment.

CSS has advanced to a point, where you can add quite a bit of interactive “bling” to a site, with very little code.

Post reply on HN