Readit News logoReadit News
unsnap_biceps commented on Waitgroups: What they are, how to use them and what changed with Go 1.25   mfbmina.dev/en/posts/wait... · Posted by u/mfbmina
pests · 13 hours ago
Your math equation turned the asterisks into italics.
unsnap_biceps · 13 hours ago
Whoops, fixed. Thanks for the note
unsnap_biceps commented on Waitgroups: What they are, how to use them and what changed with Go 1.25   mfbmina.dev/en/posts/wait... · Posted by u/mfbmina
danenania · 14 hours ago
Ah, good point—should be using a buffered channel to avoid that:

  errCh := make(chan error, len(urls))

unsnap_biceps · 13 hours ago
buffered channels won't help here. That's just how many results can be buffered before the remaining results can be added to the channel. It doesn't wait until all of them are done before returning a result to the consumer.
unsnap_biceps commented on Waitgroups: What they are, how to use them and what changed with Go 1.25   mfbmina.dev/en/posts/wait... · Posted by u/mfbmina
fozdenn · 16 hours ago
doesn't this point to a bigger problem that there are two ways of doing the same thing?
unsnap_biceps · 13 hours ago
multiple ways of doing something isn't inherently bad.

For example, if you want to set a variable to the number of seconds in seven hours, you could just set the variable to 25200, or you could set it to 60 * 60 * 7. The expanded version might be clearer in the code context, but in the end they do exactly the same thing.

unsnap_biceps commented on I hacked Monster Energy   bobdahacker.com/blog/mons... · Posted by u/speckx
unsnap_biceps · 14 hours ago
Their bio says

> am nonbinary leaning fem and use she/they/he pronouns.

So while they prefer feminine, they explicitly list masculine as okay to use.

unsnap_biceps commented on How Not to Buy a SSD   andrei.xyz/post/how-not-t... · Posted by u/speckx
jchw · 2 days ago
In general I am afraid to buy storage devices except directly from the vendor at the moment. I've heard that there's also lots of fraudulent HDDs being sold with botched SMART data, even on Amazon, even marked as "New", even sold by Amazon. Scary proposition unless you're dying to test out your RAID array redundancy.
unsnap_biceps · 2 days ago
I've moved over to almost exclusively buying from B&H. They generally have similar prices to other vendors and they manage their own inventory directly with manufacturers, so no concerns about fraudulent hardware.
unsnap_biceps commented on Show HN: Anchor Relay – A faster, easier way to get Let's Encrypt certificates   anchor.dev/relay... · Posted by u/geemus
michaelt · 4 days ago
I believe the intent here is:

* If you want an SSL certificate for, say, your printer

* And you don’t want to expose your printer’s port 80 to the public internet because you’re not stupid

* And you don’t want to put your DNS credentials onto your printer either, because again, you’re not stupid

* And you don’t want to pay for a certificate with a longer validity, because it’s a home printer, so you’re stitch with monthly cert rotations

* And you’ve embraced the reality that one can delegate SSL not just to CAs, but also to other third parties. Usually the likes of AWS & cloudflare - but why stop there?

Then this product is what you need!

unsnap_biceps · 4 days ago
Are there any printers that actually run acme where this is even a consideration?
unsnap_biceps commented on Lab-grown salmon hits the menu   smithsonianmag.com/smart-... · Posted by u/bookmtn
cogman10 · 5 days ago
> CO2, food safety

I'm not 100% sure either of those has been proven out.

I could see CO2, but it sort of depends on how much power the bioreactor and sterilization consumes and how much methane is release. Granted, it'd be easier to capture those and easier to place these reactors in or near a grocery store, for example, for immediate delivery.

Food safety is almost certainly going to be a bigger problem. The big problem with bioreactors is they are cultivating the ideal substance for very nasty bacteria/fungus/etc to flourish in. Bioreactors do not have immune systems. That means keeping things absolutely sterile is of the utmost importance. I'm sure when the initial products are produced safety will be pristine. However, what happens when the CEOs of these companies decide to cut back? Heck, what happens when the new guy forgets to do a sterilization cycle or runs it short?

A major issue is these will be regulated by the FDA which has a history of doing a poor job of keeping food safe. I'd feel better if it were under the jurisdiction of the USDA.

unsnap_biceps · 5 days ago
Looking beyond just eating the output, encouraging research into bioreactors and effective sterilization is a great path towards lab grown organs for humans. Imagine a world where getting a heart transplant isn't a lottery anymore. This is a worthy path for research imho.
unsnap_biceps commented on Lab-grown salmon hits the menu   smithsonianmag.com/smart-... · Posted by u/bookmtn
alexose · 5 days ago
Hey, I just went to Kann to try it. It was very… smooth
unsnap_biceps · 5 days ago
in a good way or a bad way?

u/unsnap_biceps

KarmaCake day2503September 5, 2024View Original