HNHacker News
TopNewBestAskShowJobs

b_e_n_t_o_n

483 karma · joined February 12, 2025

submissionscomments
b_e_n_t_o_n··on Hyperion: Minecraft game engine for custom events
It depends on if the ECS needs to sync its data with external (non-ecs) systems.
b_e_n_t_o_n··on Are top CEOs underpaid? (2019)
Cost cutting like that is purely performative, so buying the pizzas yourself just makes them look bad.
b_e_n_t_o_n··on Ask HN: Has anyone else been unemployed for over two years?
Did he try any other approaches? If the approach I took gave me a 0.1% interview rate I'd probably do something different.
b_e_n_t_o_n··on Trump to impose $100k fee for H-1B worker visas, White House says
> H-1B visas are already costly to obtain, ranging from about $1,700 to $4,500

oof, that's a big price increase.

b_e_n_t_o_n··on When the job search becomes impossible
Would you have found it reasonable for interested candidates to have reached out directly instead of just submitting a resume to the ATS? With the AI spam etc. it feels like the usefulness of these automated systems is quickly diminishing. Hiring feels broken right now.
b_e_n_t_o_n··on React is winning by default and slowing innovation
Preact is basically a clone of React, you could replace those imports with React and you'd have the same app.

Preact's compatibility layer is good but not perfect - some UI libraries rely on React's internal implementation which breaks with Preact. I think people can and should chose Preact for when they know what third party dependencies they will rely on, and for situations like this where it's a fairly trivial single page app.

b_e_n_t_o_n··on React is winning by default and slowing innovation
The third example is missing the data binding that you get automatically with React. It should look more like this:

   function increment() {
     count += 1;
     dispatchEvent(new CustomEvent(
       "count-incremented", 
       { detail: { count } }
     ));
   }
I think I prefer not having to manage events all over the place.
b_e_n_t_o_n··on React is winning by default and slowing innovation
I'm a fan of this lib [0] (with some personal modifications). It's prefer it over JSX, but I use JSX because it's usually simpler.

0: https://github.com/sultan99/react-on-lambda

b_e_n_t_o_n··on Why do we keep gravitating toward complexity?
Maybe they do it because they like React? :)
b_e_n_t_o_n··on Why do we keep gravitating toward complexity?
Thank you for the lore :)

I thought I could recall some post/article where Rich Hickey said something positive about React but I can't find it. Maybe I made it up in my head idk.

b_e_n_t_o_n··on Why do we keep gravitating toward complexity?
I wasn't trying to pick the analogy apart, I thought it was quite a good one and was running with it. I think it breaks apart though when you start talking about minor differences in wrenches though - it's not like the difference between Vue and Solid will make a significant difference when building an app. But between a screwdriver (jQuery) and a power drill (js framework), that can be very significant.
b_e_n_t_o_n··on Imba – The friendly full-stack language
I wish Imba took off, it looks excellent and with full NPM support there wouldn't be an issue with the ecosystem.
b_e_n_t_o_n··on Why do we keep gravitating toward complexity?
Heh, I'm pretty sure Rich Hickey is a fan of React and the Clojure community uses it heavily with Clojurescript.
b_e_n_t_o_n··on React is winning by default and slowing innovation
Well they aren't plain functions, they're like lifecycle methods for the component with an implicit `this`. Perhaps that's how they should be described.
b_e_n_t_o_n··on Why do we keep gravitating toward complexity?
Yeah for sure. Sometimes my drill is not charged and it's easier to grab a screwdriver and give it a few quick turns (https://benton.codes/blackberry), or maybe I can't fit the drill in some space.

But normally I'll use the drill even though it's overkill, because I got other stuff to do :P

b_e_n_t_o_n··on Why do we keep gravitating toward complexity?
> The simple alternative is just around the corner: sprinkle vanilla JavaScript where it’s needed

Is it simple though? From my experience, apps written with "sprinkles" tend to become very complex very quickly. Unless the author means something else by "complexity".

b_e_n_t_o_n··on Why do we keep gravitating toward complexity?
But why would I want to use a screwdriver when I could use my power drill? Like sure, the screwdriver works, but it's more effort and slower...
b_e_n_t_o_n··on React is winning by default and slowing innovation
Many "regular" functions are context dependent.
b_e_n_t_o_n··on React is winning by default and slowing innovation
Many functions can only be called in a certain context. Calling them "not functions" is misleading imo because it implies those functions are compiled out or something, like `$state()` in Svelte.
b_e_n_t_o_n··on React is winning by default and slowing innovation
Oh yeah I agree it would be useful.
b_e_n_t_o_n··on React is winning by default and slowing innovation
Js has decorators for class fields so you wouldn't even need a macro for that. `@state accessor value = "hello world"` works.

I do like the idea of macros in general though.

b_e_n_t_o_n··on React is winning by default and slowing innovation
Hooks are also just JavaScript functions...?
b_e_n_t_o_n··on React is winning by default and slowing innovation
Yeah that's a pretty good way of putting it. In Vue et al, the script tag is a constructor and the template is a render function. In react, you just write a render function and use hooks to define stuff that otherwise would have been in the constructor.
b_e_n_t_o_n··on Meta bypassed Apple privacy protections, claims former employee
Apple > Google == Meta imo
b_e_n_t_o_n··on Microsoft to force install the Microsoft 365 Copilot app in October
Life is too short to use Windows...
b_e_n_t_o_n··on Death to type classes

   if err !== nil {
      return err
   }
b_e_n_t_o_n··on You’re a slow thinker. Now what?
Yeah this article kind of feels like an NBA benchwarmer complaining how unathletic they are, despite being more athletic than 99.99% of the population.
b_e_n_t_o_n··on You’re a slow thinker. Now what?
I feel like a simpler explanation is that the author is roughly average in most traits, and comparing themselves to others who are above average in certain traits.

I doubt it's about thinking speed. At times I've thought I was fundamentally deficient in some way, only to realize later that I was catastrophising about a poor performance in something and generalizing that across my entire life.

There is also a lot of variation in our abilities, mostly due to practice. When I've holed myself up in my room working for weeks I lose the ability to socialize in general, let alone make witty comebacks. But once I'm in a social environment for a while I can banter with anybody.

b_e_n_t_o_n··on Why We Spiral
In general it seems like you should assume the outcome you want, so you behave in a way that's conducive to that outcome manifesting itself. If you always assume the worst, then you might protect yourself from rejection but you end up pushing people away.

So assuming someone is friendly even if they aren't is a better strategy than assuming everyone dislikes you.

b_e_n_t_o_n··on Perceived Age (2024)
Yep routine is the opposite of novelty. I'm curious what it would be like to work while travelling, if time would continue to feel stretched. I'd love to try the digital nomad lifestyle for a bit.
← PreviousPage 6 of 13Next →