sirk390

Joined 18 years ago

Karma
146
Submissions
47
Member since
Jan 6
To contact me: base64.b64decode("c2lyazM5MEBnbWFpbC5jb20=")
View on Hacker News

Recent submissions

Comment · 8 months ago
I would use this as a human. That npm output is crazy. Maybe a better variable would be "CONCISE=1". For LLMs, there are a few easier solutions, like outputing in a file (and then tail)., or running a subagent
Comment · 1 year ago
All that complexity when you could simply do:

  <td class="<%= @teacher.available_places> 0 ? 'bg-colour-green' : 'bg-colour-red' %>">
Comment · 2 years ago
> France ("consistently invested in nuclear for the past half-century" ).

Not really and this is currenctly causing a big problem. France stopped building new reactors after 2002. They only built 1 new generation EPR, which was very late and 6x the cost. Many of the reactors are very old and need to be replaced, but it's difficult to do because of the bad experiences of Flamanville's reactor.

Comment · 2 years ago
Ruby is an excellent language/platform and you can do a lot more than using Rails. But yes I don't know for NLP.
Comment · 3 years ago
I you hang them at 45 degree the depth will be reducted by sqrt(2). (about 0.7 x hanger length), and you will lose space on each side. And the more you increase the angle, the more you will lose space on the sides. With this technique, you will reduce the depth to 0.5 x hanger length and not lose space on the side.
Comment · 3 years ago
Better, but irrational numbers can have a predictable pattern like "0.110100100010000" ( E.g "0.1 10 100 1000 10000" )
Comment · 3 years ago
For example you could set cookies before visiting another website. This is currently impossible in an iframe but possible in a browser. I've wanted to do this to automatically login users on some external websites.
Comment · 3 years ago
I really though you were going to say "Chat-GPT detected" when quoting that message.
Comment · 3 years ago
With compositions A uses B but B can never use A. With inheritance Child can use the Parent, but Parent will also call the Child (virtual methods) which in turn can call the Parent again etc.., so the code can become difficult to follow. It can become very complicated with multiple inheritance and multiple levels.
Comment · 3 years ago
Humans are pretty bad at these questions. Even with the simplest questions like "Sally (a girl) has 3 brothers. Each brother has 2 sisters. How many sisters does Sally have?" I think that a lot of people will give an incorrect answer. And for questions like "Argue for and against the use of kubernetes in the style of a haiku", 99.99% will not be able to do it.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton