News for hackers. Stuff that matters.

showdeddd

Damn those ageists specifically refusing to hire 50 year old black guys and 50 year old hispanic guys!!!
Does the field of AI safety apply here?
Re:Go 1.21 on Wednesday June 21, 2023 @04:45PM (#36424183)
I wonder if the new stdlib logger is featured enough to get rid of logrus/zerolog.
Re:Gopher Wrangling. Effective error handling in Go on Monday June 19, 2023 @09:43PM (#36398735)
Oh that's right. I imported it via golang.org/x/sync/errgroup
Re:Gopher Wrangling. Effective error handling in Go on Monday June 19, 2023 @07:39PM (#36397831)
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.

How can clicking an HTML element root my iPhone?
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!

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.
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.
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.
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.
Re:Cloud, Why So Difficult? on Friday May 26, 2023 @06:03PM (#36090035)
Cloud is not difficult, they just charge too much per API request.
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).
Hang on Tay, we're coming to get you too!
Oh no, any parasitic invertebrates in their body will die and they may or may not see an improvement in autism symptoms.
Re:4.5%, and the Demographics of American Murder on Tuesday March 14, 2023 @08:28AM (#35150384)
Absolutely not, the 2nd amendment prohibits it.
I'd prefer police gangs be empowered rather than criminal gangs. They at least have to conform to some oversight.
Re:Atlassian to shed 5 per cent of workers on Tuesday March 07, 2023 @08:18AM (#35054976)
<Comment reply too long to display. Please check out repository and view the reply file using "git clone $REPONAME">
Re:The Little Learner: A Straight Line to Deep Learning on Friday March 03, 2023 @09:43PM (#35017612)
Thanks for the suggestion, finally a ML book that isn't bound to python frameworks!
Re:Keep your AI claims in check on Monday February 27, 2023 @07:44PM (#34964236)
The FTC unilaterally deciding and punishing for 'bias' is far more terrifying than a biased AI model.
Yes, both the White and Asian bots have a 12 year-old boy hairstyle.
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.
Re:Higher ivermectin dose, longer duration still futile for Covid on Wednesday February 22, 2023 @03:00PM (#34901766)
It would be interesting to see a study that focused on prophylaxis rather than after hospitalization.
Re:Loyal to the Company on Monday February 13, 2023 @12:30PM (#34776848)
That breath has been "two weeks away" for about five years now.
Re:How the Chick-fil-A Cauliflower Sandwich was created on Friday February 10, 2023 @08:55AM (#34739605)
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.

Please stop normalizing daily amphetamine usage. This often prevents non-drug users from feeling as accomplished as their unnaturally enhanced peers.