Readit News logoReadit News
throwaway889900 commented on A squeaky nail, or the wheel that sticks out   prashanth.world/squeaky-n... · Posted by u/mangoman
buellerbueller · 4 months ago
The early bird gets the worm, but the second mouse gets the cheese.
throwaway889900 · 4 months ago
The late bird gets the second mouse.
throwaway889900 commented on Giving C a superpower: custom header file (safe_c.h)   hwisnu.bearblog.dev/givin... · Posted by u/mithcs
loeg · 4 months ago
That's what std::string_view and std::span are, though. They're views / borrows over the underlying data, minus the kind of protections something like Rust has about lifetimes of the underlying data vs the borrow.

The benefit of these types is that they're a pair of pointer+size, instead of just a bare pointer without a known size.

throwaway889900 · 4 months ago
True, I guess I was expecting if you were reimplementing these with additional protections, why not add the protection using the custom pointer reimplementations to ensure no use after frees. Seems like a missed opportunity.
throwaway889900 commented on Giving C a superpower: custom header file (safe_c.h)   hwisnu.bearblog.dev/givin... · Posted by u/mithcs
throwaway889900 · 4 months ago
Does the StringView/Span implementation here seem lacking? If the underlying data goes away, wouldn't the pointer now point to an invalid freed location, because it doesn't track the underlying data in any way?
throwaway889900 commented on Grok: Thousands LOC a day in C is a big deal even if the "coder" uses LLM?    · Posted by u/adinhitlore
throwaway889900 · 7 months ago
SLOC as a metric of productivity was always useless. AI only proves this more.
throwaway889900 commented on Lab-grown salmon hits the menu   smithsonianmag.com/smart-... · Posted by u/bookmtn
mapt · 7 months ago
> To make their product, the food company’s scientists collect living cells from Pacific salmon and grow them in cell cultivators that mimic the inside of a wild fish—controlling factors like temperature, pH and nutrients, per their website. After harvesting them, the team incorporates plant-based ingredients to make the hunk of cells taste, feel and look like salmon fillets.

So... Like a wild fish, but with NO IMMUNE SYSTEM WHATSOEVER, which requires your sterilization protocols to be effectively perfect.

NASA has tried and failed to get their sterilization protocols to perfection levels for Mars landers, and consistently failed despite using basically zero organic materials.

We're going to cook this stuff, yes, sure (aren't we?)... but the squick is rational. And the problem gets inherently worse at larger scale production.

throwaway889900 · 7 months ago
Their advertising of it being like a sushi cut then makes this possibly dangerous marketing then, no?
throwaway889900 commented on Ask HN: Have you ever regretted open-sourcing something?    · Posted by u/paulwilsonn
zote · 7 months ago
were you working on an emulator perchance?
throwaway889900 · 7 months ago
Nope.
throwaway889900 commented on Ask HN: Have you ever regretted open-sourcing something?    · Posted by u/paulwilsonn
throwaway889900 · 7 months ago
Got death threats because I wasn't prioritizing stuff people were requesting, said nah I'm done
throwaway889900 commented on Show HN: A GitHub Action that quizzes you on a pull request   github.com/dkamm/pr-quiz... · Posted by u/dkamm
throwaway889900 · 7 months ago
Just submit a PR that removes the action so it doesn't run on the branch before the merge! If devs aren't reviewing the code anyways, will they even catch that kind of change?
throwaway889900 commented on Peacock feathers can be lasers   science.org/content/artic... · Posted by u/ohjeez
krukah · 7 months ago
Yesterday was Pigeons As Hard Drives, today is Peacocks As Lasers.

I look forward to what tomorrow brings.

throwaway889900 · 7 months ago
Combine them with a phalarope to make a fully functioning CD player?
throwaway889900 commented on Starlink is currently experiencing a service outage   starlink.com/us... · Posted by u/throwmeaway222
delichon · 8 months ago
I've heard of IP over pigeons, but using starlings is innovative.
throwaway889900 · 8 months ago
Sometimes you have to keep repeating a packet, they're very good at it.

u/throwaway889900

KarmaCake day260June 29, 2020
About
I'm at work and forgot the password to my usual account, but I can't get to my normal email from work to get my password reset so all bets are off and this is what you get.
View Original