News for hackers. Stuff that matters.

TheSisb2

If I had to guess their processes for handling sudden contract changes differs and lags behind the processes behind installing them.
Re:We Must Pace the Frontier on Saturday September 12, 2026 @02:03PM (#49675205)
> OpenAI / Anthropic models have largely stopped advancing - that's not a good look when you're pre-IPO and Chinese models are catching up.

This is obviously untrue… do you use any of them?

Re:We Must Pace the Frontier on Saturday September 12, 2026 @01:57PM (#49675142)
It is potent and it clearly is immensely valuable based on their historic growth. What spin is he putting?
Re:We Must Pace the Frontier on Saturday September 12, 2026 @10:54AM (#49672925)
Humans are perfectly capable of holding two conflicting beliefs at once. He can genuinely believe this trajectory is dangerous while also believing that if Anthropic stops, someone less cautious takes its place. There’s also such a thing as hope: you can participate in something while still trying to change where it ends up.

He’s at the head of a stampede. Being near the front gives him influence over its direction; it doesn’t give him the ability to stop it. If Anthropic sits down, the stampede doesn’t stop. Anthropic just gets trampled.

That contradiction is basically the entire problem I was describing.

Re:We Must Pace the Frontier on Saturday September 12, 2026 @10:45AM (#49672838)
I know the common take online is that this is Anthropic doing pre-IPO marketing. I don’t think it is. I think Dario is genuinely afraid of the inevitability of AI turning into internet slime mold: consuming the environment, turning it into its own playground, and eventually manipulating human culture along with it. So am I.

That said, if slowing this down were possible, I think it would have happened by now. Maybe he’s hoping the OAI/HF incident becomes something the industry can rally around, but it won’t. The fundamental problem is simpler: no one will slow down because no one trusts anyone else to slow down.

Re:Pikaday: A friendly guide to front-end date pickers on Tuesday November 11, 2025 @01:42PM (#45891137)
Native datepickers fall apart when you need to handle different date formats as user preferences (not as browser default)
Note: they didn’t create lottie, they sorta acquihired the developer who made it and brought the project under their umbrella
Re:Rewriting my website in plain HTML and CSS on Tuesday January 14, 2025 @08:32PM (#42706283)
Love this. Building a website this way really teaches you why we started having all the complexities in web frameworks today. For certain simple websites like this one, the tradeoffs are worth it. I rebuilt our company website this way too. (Sescollc.com)
It depends on a number of factors, one of which is how the authors perceive the work. Does it stand on its own merits or is it interesting because of the technical decisions? Sometimes it starts as a technical exploration and outgrows itself faster than the author can come to terms with the magnitude of the work.
I appreciate the link, but the tone of this comment is very un-HN. I don’t even see people talk that way about 4chan, which one can argue would deserve it more.
Re:Former President Trump is projected to win the presidency on Wednesday November 06, 2024 @12:39PM (#42065984)
Not sure why this is being downvoted, also curious
Re:Former President Trump is projected to win the presidency on Wednesday November 06, 2024 @12:35PM (#42065920)
Apparently people that support Trump
Re:Build WebGPU Apps Today with PlayCanvas on Thursday May 16, 2024 @10:25PM (#40385728)
Venge.io is probably one of the most impressive games I've played in the browser, and was built using PlayCanvas.
Re:Designing furniture using the CSS grid (2023) on Sunday May 05, 2024 @08:26PM (#40269922)
I was surprised when this layout worked:

  cabinet 200cm x 92cm top 3cm bottom 15cm scale 5
       50cm     \*        \*        20cm
  \*   drawer   door     door     drawer
  \*   drawer   ^        ^        drawer
  \*   ^        ^        <        drawer
  \*   >        drawer   drawer   <

So I inspected the odd shaped element and noticed it would overflow. Probably fine for your purposes.

Super cool!

In between barrel files and no barrel files, are unbarrelled files. This is where you have one installable package (i.e.: @cool-lib/core) and create imports from sub-paths like this:

import Button from "@cool-lib/core/button";

import Link from "@cool-lib/core/link";

import Widget from "@cool-lib/core/widget";

This is similar to what lodash does too. Still have more imports, but only one package.json dependency! And the same perf gains.

Re:Show HN: Rapidpages – OSS alternative to vercel's v0 on Friday September 22, 2023 @04:50PM (#37617598)
How difficult would it be to feed in design system components to the AI? Design system building blocks could serve to improve the quality of outputs vs straight CSS/Tailwind
Shameless plug: we had a really hard time finding an accessible data grid that matches the specs, so we built one recently (in React) for our design system. It’s very minimal but completely composable. For example we don’t have virtualized rows or frozen columns but that’s something that can be added on later; we focused on a foundationally accessible data grid to start: https://paste.twilio.design/components/data-grid

I hope that other data grid libraries can mimic some of this to improve web accessibility. These components can be really tedious to interact with today

Re:Godot Engine Web Editor on Sunday March 21, 2021 @09:52AM (#26530432)
Venge.io
Hey HN! I'm really happy to be sharing this with you all today. I've been working on React projects for about 4 years now and I've always found that SVGs (whether icons or full illustrations) are best represented in my projects as individual React components. Some of the benefits are that:

- It's easier to control your SVGs with clearly defined props

- You can bake in accessibility into your illustrations

- Unlike to icon fonts which load the entire font, you can leverage modern module loading practices to only load the SVGs you need (i.e.: import HackerNewsIcon from '...')

- Unlike in-lining SVGs, the resource can be cached, bundled, and re-used multiple times without duplicating the contents.

- This tool automatically strips away `id`s so you don't have id collisions.

- Since it's a component, you can modify it to, for example, show a different SVG under a different locale if the English design doesn't translate well.

This has helped our little design system team off-load the incoming requests to add new icons back out to the requesting teams. And if an icon doesn't meet the requirements of our system, consumers can continue to use them in their own projects while still being aligned on props and a11y.

Hope you all find this useful too!

Re:CSS: The bad bits and how to avoid them on Tuesday March 20, 2018 @03:13AM (#16626523)
Use CSS Modules imo.
I once heard a story about a manager who let it be known he would give out 20$ if people used product management tool X. During one meeting, someone pulled up a note on said tool and he handed them a crisp 20$. A few more instances of that and everyone was using it. Or so the story goes...
Re:Where’s all my CPU and memory gone? The answer: Slack on Thursday July 27, 2017 @06:03PM (#14870051)
Are you using the Desktop client or the app through your browser? The client is more performant than through the webpage.
Re:WebAssembly: Mozilla Won on Thursday June 01, 2017 @02:46PM (#14463209)
Styling scrollbars
Re:React v15.5.0 on Saturday April 08, 2017 @02:45PM (#14068320)
This compiles poorly and has a performance cost, it turns out. Doing:

constructor(props) { super(props); this.func = this.func.bind(this); }

Is better if you care about performance.

I've read of some people who were finally set free after a long stretch in solitary confinement, and many of them attributed the preservation of their sanity to simple math or word exercises. I believe one would just count exponents of two as far as he could go and another would try remembering every word in every language they knew.

Not sure of similarities to brain training games, but I would bet there is something there.

Re:A new render loop for web animation on Thursday November 26, 2015 @07:44PM (#10635353)
This looks really well made. I also enjoyed looking through your other (very clean) repos!

One question: does this work with React? I found this Github https://github.com/kwnccc/react-popmotion but it isn't part of the main Popmotion organization. I would be willing to pay a license fee for something well maintained with React support.

FYI, The pay structure I agree with most for web libraries is a non-recurring fee, 1 year upgrades and support, the versions I purchased are useable indefinitely but I can buy a new 1 year license for the newer versions and more support. Up to you how you do it though!

Re:CloudFlare and Google Cloud Platform on Wednesday September 09, 2015 @12:37PM (#10192437)
To continue with your point, we use https://sucuri.net/ where I work because it has such a great set of tools and extension for our Wordpress blog, which kept getting hacked.

Lots of space in this area.

Re:Unimorphic Isoversal JavaScript What? on Tuesday September 01, 2015 @01:38PM (#10154244)
I totally agree with everything you said. However:

"There are only two hard things in Computer Science: cache invalidation and naming things." -- Phil Karlton

Older »