Better HN
topnewbestaskshowjobs
Log inSign up

showdeddd

13 karma · joined Dec 27, 2022 (3y ago) · 29 submissions

Submissions

comment 3y ago · link · parent

Damn those ageists specifically refusing to hire 50 year old black guys and 50 year old hispanic guys!!!

comment 3y ago · link · parent

Does the field of AI safety apply here?

Here is a legitimate case of people using artificial intelligence to facilitate murder... and people are mad it didn't comply?

comment 3y ago · link · parent

I wonder if the new stdlib logger is featured enough to get rid of logrus/zerolog.

comment 3y ago · link · parent

Oh that's right. I imported it via golang.org/x/sync/errgroup

comment 3y ago · link · parent

For #3 you can also use errgroup from sync/errgroup. It's a nice recent addition to the stdlib.

For #4 wrapping your errors creates pretty and logical error messages for free. It should be done in most cases.

comment 3y ago · link · parent

How can clicking an HTML element root my iPhone?

comment 3y ago · link · parent

1. No it would not be expensive. Writing metrics is literally free: https://cloud.google.com/stackdriver/pricing . If metrics didn't exist yet then log 1/1000 requests to control the log volume and find the pattern from the averages.

2. It isn't up to google to tell you if you are querying against the cache or the DB. It's your code. You should know. Just tick something when you use the Redis/BQ/GCS/SQL client.

This task is so easy I would assign it to a junior engineer and expect code changes done in one day!

comment 3y ago · link · parent

I think it's negligible. The only metrics you lose are on rare scaledowns and they are averaged out anyways. GCP likes to keep instances idle for a long time.

comment 3y ago · link · parent

You have to implement that with your own code but it isn't much more than a dict/map and a timestamp for last update.

comment 3y ago · link · parent

This medium article seems silly, just add custom metrics to your app for what was fetched from cache vs DB. And label the metric by route/query/pattern. To control costs, don't tick the metric for every single request, instead accumulate locally and post to metrics API every X minutes.

comment 3y ago · link · parent

This article seems silly, just add custom metrics to your app for what was fetched from cache vs DB. And label the metric by route/query/pattern. To control costs, don't tick the metric for every single request, instead accumulate locally and post to metrics API every X minutes.

comment 3y ago · link · parent

Cloud is not difficult, they just charge too much per API request.

comment 3y ago · link · parent

Because Adderall is 100% pure speed. A handful of Adderalls is more fun than a bag of cocaine (which is going to be more like 5% purity and adulterated with god knows what).

comment 3y ago · link · parent

Hang on Tay, we're coming to get you too!

comment 3y ago · link · parent

Oh no, any parasitic invertebrates in their body will die and they may or may not see an improvement in autism symptoms.

comment 3y ago · link · parent

Absolutely not, the 2nd amendment prohibits it.

comment 3y ago · link · parent

<Comment reply too long to display. Please check out repository and view the reply file using "git clone $REPONAME">

comment 3y ago · link · parent

Thanks for the suggestion, finally a ML book that isn't bound to python frameworks!

comment 3y ago · link · parent

The FTC unilaterally deciding and punishing for 'bias' is far more terrifying than a biased AI model.

comment 3y ago · link · parent

Yes, both the White and Asian bots have a 12 year-old boy hairstyle.

comment 3y ago · link · parent

Fond memories of playing this map with surround sound headphones and knowing the exact location of each player. Could even get some kills with my eyes closed.

comment 3y ago · link · parent

It would be interesting to see a study that focused on prophylaxis rather than after hospitalization.

comment 3y ago · link · parent

That breath has been "two weeks away" for about five years now.

comment 3y ago · link · parent

Without needing to resort to racist slander like you did, I can tell you why chick-fil-a rules:

- employees are friendly and work quickly

- the food tastes great and costs no more than other fast food

- the food is healthier than other fast food

When I go to a place like Mcdonalds or Burger King, the employees are typically angry, mean, rude, and work slowly. And I get a pile of slop that obviously reduces my lifespan.