HN user

sbergot

1,072 karma
Posts1
Comments291
View on HN
A definition of AGI 9 months ago

There is no way to measure awareness. We can only know we are aware ourselves. For all we know trees or rocks might have awareness. Or I could be the only being aware of itself in the universe. We have no way to prove anything about it. Therefore it is not a useful descriptor of intelligence (be it human, animal or artificial).

I work on the SSO stack in a b2b company with about 200k monthly active users. One blind spot in our monitoring is when an error occurs on the client's identity provider because of a problem on our side. The service is unusable and we don't have any error logs to raise an alert. We tried to setup an alert based on expected vs actual traffic but we concluded that it would create more problems for the reason you provided.

Except it is biased in its conclusion:

However, unlike our OOP example, existing code that uses the Logger type and log function cannot work with this new type. There needs to be some refactoring, and how the user code will need to be refactored depends on how we want to expose this new type to the users.

It is super simple to create a Logger from a FileLogger an pass that to old code. In OOP you also need to refactor code when you are changing base types, and you need to think about what to expose to client code.

To me option 1 is the correct simple approach, but the author dissmisses it for unclear reasons.

Llms.txt 2 years ago

I agree. There are enough standard places to put metadata in a website.

CSS Grid Areas 2 years ago

Grid has a lot of features but flex is simple enough and still very powerful

A simple example is the Result<T> which could have either Ok(T value) or Error(string message). In order to get the value you need to switch over both cases, forcing you to handle the error case locally.

*meta* For some reason this thread cannot be found on the front page. It is a bit surprising given how recent it is and how many points it got.

For reference I discovered it a few minutes ago on the front page. It currently has 75 upvotes and was posted 1 hour ago. Another topic currently on the front page called "the scully effect" is 8 hours old and has 55 votes.

While you are right that there is a cost, the real question is to know whether this cost is significant. 10 Mb is still very small in many contexts. If that is the price to pay for a better dev ex and more products then I don't see the issue.

This is something that I see mentioned by a lot of people but I really cannot relate. If a video is shorter than 10 minutes I usually don't bother clicking. There is something that I find unappealing about short videos. That said I am 100% victim of reddit doom scrolling. But just seeing a short video makes me close the app or scroll faster.