Better HN
topnewbestaskshowjobs
Log inSign up

luketheobscure

353 karma · joined Jul 15, 2014 (12y ago) · 42 submissions

Submissions

comment 1y ago · link · parent

I don't disagree with the sentiment, but Ballmer essentially made that money by simply not selling his Microsoft stock.

comment 1y ago · link · parent

It's interesting how quickly my brain developed an AI detector for written language (this blog post screams ChatGPT).

I wonder if it will stay effective, or if LLMs figure out a way around it? Or maybe it's just that this is the new way that technical blog posts are written, sort of how nearly all press releases feel univocal.

comment 1y ago · link · parent

Is there a term for this style of writing? It's like a longform linkedin post. I don't mean this as a criticism, it just seems like written language is evolving to better capture our diminishing attention spans.

comment 1y ago · link · parent

> Tech is a poor fit for agriculture.

Incorrect. I worked for an Ag tech company for almost a decade. Ten years ago, farmers were downloading high resolution satellite imagery of their fields directly to their GPS enabled precision sprayers so that the spray rate would adjust continuously based on the vegetative index of the land they were over. I don't know what state of the art is today, but I imagine it would surprise folks who aren't in the field.

comment 1y ago · link · parent

It is a batteries included _front end_ framework. You don't need to worry about compiling, routing, code splitting, etc. Most of the things you described should be handled by the back end service

comment 1y ago · link · parent

This is an unfortunate comparison. I actually chose Next.js because of its similarity to Rails - it's a batteries included, opinionated framework that favors convention over configuration (though it's not sold that way since these are not the currently trending buzzwords). There's absolutely nothing preventing you from using both tools. Rails works great as an API supporting a Next.js UI.

comment 1y ago · link · parent

Honest question - have you ever tried to use the actual web components API? It very much feels like a set of primitives to build a framework on top of. I can't imagine the amount of boiler plate you would need to write to just use web components.

comment 1y ago · link · parent

I'm surprised this wasn't on the front page. This caused quite a bit of trouble for me.

comment 2y ago · link · parent

An alternative interpretation of the Marshmallow Test is that it is a measurement of trust as much as it is of self control. If you don't believe that the researchers are going to give you the two marshmallows, then you're not going to wait.

comment 2y ago · link · parent

It's me... tried out cloudflare this morning. Bad timing.

comment 2y ago · link · parent

Thank you so much for letting me know. Tried out cloudflare this morning, rolling it back.

comment 2y ago · link · parent

We certainly do performance tests, and we also don't auto-update. The issue here was it was a slow leak, so it took time and significant load for the pattern of errors to present itself.

13.

The process that kept dying: A memory leak murder mystery(lukedeniston.com ↗)

28 points · by luketheobscure · 2y ago · 8 comments

comment 2y ago · link · parent

A rebuttal to a popular piece advising against using ESLint as a formatter.

15.

You Probably *Do* Need ESLint-Prettier(lukedeniston.com ↗)

1 points · by luketheobscure · 2y ago · 1 comment

comment 3y ago · link · parent

Reminds me of when filmmakers in the 90's rediscovered the Fisher-Price Pixelvision https://en.wikipedia.org/wiki/PXL2000

comment 3y ago · link · parent

There are a large number of very incorrect statements in this article.

> True to its de-facto tagline, change detection in React is “just JavaScript.”

Then in the example, the author updates a variable with `setCount(count - 1)`. That's not "just JavaScript". Just JavaScript would be `count = count + 1`.

comment 3y ago · link · parent

> Do people not merge master into their branch before pushing? All that seems like mostly problem caused by having too long living branches.

On projects with a high commit velocity and a large team, simply merging main and running the tests is not enough. The likelihood that a new commit lands on main before your tests finish is high, and restarting the process every time there's a new commit is time consuming. Merge queues are the only way to ensure that main does not break from conflicts that arise "in between" commits.

comment 3y ago · link · parent

I'm not sure why those sections were flagged for low contrast. Manually checking the contrast for those colors at https://webaim.org/resources/contrastchecker/ shows that they are all WCAG AAA compliant.

comment 4y ago · link · parent

I had a few tasks last month that https://nginx-playground.wizardzines.com/ really helped with.

comment 5y ago · link · parent

While we celebrate individuals, in my experience real work is done by teams of people, and there’s lots of research that shows heterogenous teams perform better than homogenous ones.

I’ve seen teams where a single toxic “rock star” destroys productivity, and I’ve been on teams of quiet, thoughtful individuals where we somehow become much more than the sum of our parts. And often excess self-confidence can become a barrier to accepting constructive criticism.

comment 5y ago · link · parent

The problem with this approach is that it pushes out a lot of people, especially women and minorities. When you are conditioned from birth to believe that you belong somewhere, a bit of criticism like this is easily brushed off. White men especially are used to seeing board rooms full of similar looking people, or equally homogenous computer engineering teams. We don't often stop to question if we belong in a STEM field. We assume it.

When you've had to fight for your seat at the table, having your idea called stupid by a high ranking faculty member might rattle you enough to leave. Not because you don't deserve to be there, or are somehow intrinsically less capable of receiving criticism, but because you don't have the misplaced confidence of some of your peers.

comment 6y ago · link · parent

I ported several large code bases off of CoffeeScript last year, mostly to JavaScript, but some to TypeScript. Simply being able to use ESLint is worth it (CoffeLint wasn't even close). I wrote CoffeeScript for years but I don't miss it one bit–especially now that TypeScript has optional chaining!

comment 6y ago · link · parent

What makes a talk memorable, or inspiring? Technical content aside, what makes some talks better than others?

Giving a talk is easy, giving an _excellent_ talk is difficult.

25.

Ask HN: What makes a great tech talk?

8 points · by luketheobscure · 6y ago · 5 comments

comment 6y ago · link · parent

Tailwind is fantastic. Everyone goes through the initial shock of complaining about the "ugly markup", the violation of separation of concerns, etc. But I've worked in enough large codebases to tell you that the ones that use Tailwind have a more consistent UI, with much less handwritten CSS. Bootstrap sites inevitably devolve into a soup of custom CSS and Bootstrap framework. You end up with lots of verbose class declarations like "btn btn-link btn-primary btn-xs danger", but you still need lots of little `margin-left: 3px` rules to push and pull things into place. Most other CSS libraries suffer the same fate.

On the other side of things, sites without a framework generally opt for a convention like "BEM" (block-element-modifier). BEM seems to be the worst of both worlds, both abandoning the "cascading" part of "Cascading Style Sheets" and still requiring verbose class names!

I've been working on a Tailwind project for the last six months with a team of around 8 people. We did a bunch of initial work getting the Tailwind config just right and some base styling in place, but since then we've barely written a line of CSS. Yes, the templates are verbose, but they are also incredibly readable and easy to reason about what classes are doing what. On-ramping new people has been easy as well, since they don't have to learn some custom system, instead they can just read the docs on the Tailwind site.

27.

Loudness war(en.wikipedia.org ↗)

272 points · by luketheobscure · 6y ago · 172 comments

comment 7y ago · link · parent

When emoji use follows a strict convention (something like https://gitmoji.carloscuesta.me/), it can make it easier to scan a list of commits and get a rough idea of where the development focus is (i.e., hardening vs. feature development).

29.

Margaret Atwood Discussing the Handmaid’s Tale in 1986(studsterkel.wfmt.com ↗)

4 points · by luketheobscure · 7y ago · 1 comment

12