News for hackers. Stuff that matters.

going_north

Re:The Overcomplexity of the Shadcn Radio Button on Tuesday January 20, 2026 @03:42AM (#46689411)
You can get a lot closer with only small modifications:

    input[type="radio"] {
      appearance: none;
      margin: 0;
      width: 25px;
      height: 25px;
      background: white;
      border-radius: 50%;
      display: inline-grid;
      place-content: center;
      box-shadow: 0 2px 10px color(display-p3 0 0 0/0.5);

      &::before {
        content: "";
        width: 11px;
        height: 11px;
        border-radius: 50%;
      }

      &:checked::before {
        background: color(display-p3 0.383 0.317 0.702);
      }
    }
Here's a link to a codepen so you can see what it looks like without rendering it yourself: https://codepen.io/erikaja/pen/RNRVMyB
Re:Vercel CEO meets with Netanyahu to discuss AI education on Tuesday September 30, 2025 @06:38AM (#45423925)
I've been happy with both Render and fly.io
I clicked through all of the Chrome and Google warnings, but now even my national ISP has blocked the site.
Re:Fingerjigger on Wednesday August 13, 2025 @07:59AM (#44887371)
Typing speed tests are always fun. I enjoy https://monkeytype.com/
Re:Why Elixir? A Rebuttal to Common Misconceptions on Thursday July 24, 2025 @03:42AM (#44668047)
Chiming in to recommend it too! The policies are really good too, for instance this is one from our code base:

    policy action(:invite_user) do
      forbid_unless actor_attribute_equals(:role, :admin)
      authorize_if {App.Checks.OnlyAllowedRoles, roles: [:student, :parent]}
    end
And what's nice is that these policies apply for both the API and the frontend code without having to do anything extra :)
Re:Ash Framework – Model your domain, derive the rest on Wednesday May 14, 2025 @11:08AM (#43985455)
Nice, thanks for the writeup! A small heads up, Phoenix is listed twice in the tech stack section.
Re:Air Traffic Control on Tuesday May 13, 2025 @06:32PM (#43978487)
The RSS feed is another good option!
Re:Tariffs Killed Arduboy on Wednesday May 07, 2025 @01:38PM (#43918551)
It looks like a miniature gaming system (like a GameBoy) that also lets you make your own games and upload them to the device: https://www.arduboy.com/
Re:Everything Is Ghibli on Tuesday April 01, 2025 @08:53AM (#43546219)
Maybe torturing the metaphor, but building a road up the mountain often ruins the view.
This seems like a non-story to me. Once you post a code repo on the public internet, and especially on a site as prolific as GitHub, you should treat everything in there as public information.

> Dror said that Lasso reached out to all affected companies who were “severely affected” by the data exposure and advised them to rotate or revoke any compromised keys.

If the "companies affected" have any idea what they are doing all of the exposed tokens and the like would have been rotated a long time ago.

Re: on Friday November 22, 2024 @09:15AM (#42213982)
One of the replies captures my thoughts quite well:

> "Email apps tone policing people" is quite high on my dystopian tech nightmare list.

Re:Tailwind CSS v4.0 Beta 1 on Friday November 22, 2024 @04:33AM (#42212410)
CSS first configuration is a good change! It seems like it would makes it easier to combine tailwind with regular CSS files which still uses the same design tokens. This is useful e.g. when creating a site with a component architecture where the components are styled with CSS, but some of the content comes from CSS or markdown.
Re:OpenZFS deduplication is good now and you shouldn't use it on Thursday October 31, 2024 @03:09AM (#42004177)
It's because of this element in one of the final sections [1]:

    <code>kstat.zfs.<pool>.misc.ddt_stats_<checksum></code>
Typesetting code on a narrow screen is tricky!

[1] https://despairlabs.com/blog/posts/2024-10-27-openzfs-dedup-...

This kind of thinking is very dangerous.
Re:Homemade Pasta Now Is the Time (2021) on Friday February 02, 2024 @08:20AM (#39228208)
There is a big difference in texture. Homemade pasta is a lot chewier, which I really like.

Edit: I see other commenters say it is a lot of work and really messy. In my experience, it doesn't have to be. The first few times I tried I made a big mess, but after just a few times I got both faster and less messy.

I'm not convinced climbers ruin the grip strength metric that much. Yes, as a climber your grip strength will be proportionally stronger when compared to other metrics. However, this also means that you climb regularly, which involves a lot of other muscles, balance, and lots of hiking if you do it outdoors.
If you exercise more in order to get fit, sleep becomes more important.
Re:The rust project has a burnout problem on Wednesday January 17, 2024 @09:16AM (#39027941)
The fact that you are in pain every day is obviously a tragedy, and I hope your situation improves. Mocking your peers for taking care of themselves is still not acceptable, and does nothing to improve the situation for anyone.

I accept that this is a spectrum, and that some level of discomfort in life is unavoidable—people stay up late and skip exercise from time to time. The unpleasant consequences of these actions doesn't justify not contributing to society, and there are no doubt freeloaders in any reasonably sized company.

However, no workplace, including yours, should expect their employees to sacrifice their health.

Re:Ask HN: What side projects landed you a job? on Monday December 04, 2023 @07:32AM (#38516476)
> thus far

that's the spirit! :)

Re:What made Apollo a success? (1971) [pdf] on Monday December 04, 2023 @04:34AM (#38515341)
I came across this document in a talk Destin Sandlin gave to the American Astronautical Society [1]. The talk compares the architecture and process of the Apollo mission with the modern Artemis mission, and is very critical of the latter. I think both hold some great lessons, even for software engineers working on non-critical systems.

[1] https://www.youtube.com/watch?v=OoJsPvmFixU

Re:Why I Tend Not to Use Content Negotiation on Monday November 20, 2023 @01:35AM (#38343434)
Another good one for GitHub is that you can do

    github.com/[username].png
to get that username's profile picture.
Re:Show HN: I made a 30-day social anxiety challenge on Friday November 17, 2023 @07:47AM (#38302765)
Another important point is that exposure therapy needs to be tailored to your particular level of discomfort. If you do too little it clearly won't have any effect, but on the other hand, if you go too hard it can make your anxiety or phobias worse.
Re:Ask HN: Who is hiring? (November 2023) on Wednesday November 01, 2023 @11:34AM (#38099674)
In your application form the listed locations are London, Barcelona, Dublin and Berlin. Am I still eligible if I don't live in any of these cities, but somewhere else in Europe?

Older »