HN user

going_north

91 karma
Posts7
Comments29
View on HN

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

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 :)
[dead] 1 year ago

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.

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.

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.

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.

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.

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?

I don't think modals are very usable for forms, especially if the form is big – it risks somebody spending a lot of time filling out the form and then closing the modal by accident. I would much prefer a `/resource/[new|edit]`

I can't speak for other companies or devs, but as a relatively junior developer I quite enjoy working in Elixir, and especially with Phoenix and the Ecto ORM.

The syntax reads and writes very well. When I now have to write other languages, mainly Typescript, I miss native pattern matching and the pipe operator.