Recent submissions

Comment · 1 year ago
If you think you have the flu, it's a cold. If you think you're dying, it's the flu.
Comment · 1 year ago
Comment · 2 years ago
The sensory medium is separate from one's capacity to learn and use language. Sign languages have grammar, vocabulary, "accents" etc just like spoken languages.
Comment · 3 years ago
I went through a similar thing where I had some trouble sleeping due to external stressors and then started to get freaked out that I was having trouble sleeping, having always been a great sleeper. I developed a lot of anxiety around it and it was pretty awful, though I'm mostly over it now. To me, the key was accepting that I might sleep poorly and being okay with that. That true acceptance allowed me to relax. (The larger context for me fwiw is trying to overcome my perfectionism.)
Comment · 3 years ago
Keep in mind that just because you're good at management doesn't mean you have to do it professionally. Stay purely technical if that's what you enjoy!
Comment · 3 years ago
As a perfectionist in recovery, this book was extremely illuminating: https://www.newharbinger.com/9781684038459/the-anxious-perfe...

I often felt like they were describing me to myself as I was reading... Highly recommend if you deal with perpetual dissatisfaction with your performance or achievements and would like to learn how to accept yourself for who you are and live a "lighter" existence.

Comment · 4 years ago
Bugs are inevitable but we should strive to have as few as possible. Your program not working right is obviously bad UX (as we've all experienced using buggy software).

The reason we have type checking is same reason we have other tooling in our editors to do static analysis like highlighting syntax errors and linting: catching bugs during development is better than finding them in production.

Comment · 4 years ago
Yeah, the proximate cause is eating too much but the ultimate cause has to be systemic if we're getting more and more obese all the time.
Comment · 4 years ago
I think it depends on population density as well. I grew up in a rural area in the US and now live in Philadelphia on a tiny side street barely two cars wide. Every single car on our street has scratches/small dents on the bumper and fender from others parallel parking. If you live here you have to accept that "bumpers are for bumping"!
Comment · 4 years ago
Yeah, there's definitely a separate cultural/inexperience problem at play as well.
Comment · 4 years ago
I agree and am very pro vanilla JS FWIW. I just find myself reaching for something like lodash's `intersection`/`difference` functions when working with sets, `sortBy` to get more normal (and not in-place) sorting behavior, and `groupBy` to do group by.
Comment · 4 years ago
I hear what you're saying, but it still seems pretty bonkers to me that if you try to sort an array of numbers it will cast them to strings and sort alphabetically (!):

  > [1, 2, 10, 3].sort()
  [ 1, 10, 2, 3 ]
> And yes, I agree that throwing an error here for no argument would be better here (a linter WILL enforce this), but this is hardly a critical shortcoming of JS's standard library

I suppose "critical" is debatable but this seems very fundamental and very unexpected to me.

> you DEFINITELY do not need a utility library just to use the language (especially for your examples)

I hadn't actually considered using a linter to avoid these types of standard library footguns... that's actually a pretty great idea!

Comment · 4 years ago
Comment · 4 years ago
I had the same issue with the Reddit app so now I just use the neutered web app and consider the frustration stemming from its brokenness to be feature that keeps me from spending too much time on it.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton