throwaway889900
throwaway889900 on Hacker News
Re:A squeaky nail, or the wheel that sticks out
on Tuesday November 18, 2025 @02:21PM (#45970730)
The late bird gets the second mouse.
Re:Giving C a Superpower
on Monday November 17, 2025 @06:06PM (#45959477)
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.
Re:Giving C a Superpower
on Monday November 17, 2025 @11:36AM (#45955220)
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?
Re:Grok: Thousands LOC a day in C is a big deal even if the "coder" us...
on Monday August 25, 2025 @06:33PM (#45019960)
SLOC as a metric of productivity was always useless. AI only proves this more.
Re:Lab-Grown Salmon Hits the Menu at an Oregon Restaurant as the FDA G...
on Monday August 18, 2025 @07:19PM (#44946388)
Their advertising of it being like a sushi cut then makes this possibly dangerous marketing then, no?
Re:Ask HN: Have you ever regretted open-sourcing something?
on Tuesday August 05, 2025 @03:40PM (#44803220)
Nope.
Re:Ask HN: Have you ever regretted open-sourcing something?
on Tuesday August 05, 2025 @03:15PM (#44802850)
Got death threats because I wasn't prioritizing stuff people were requesting, said nah I'm done
Re:Show HN: A GitHub Action that quizzes you on a pull request
on Tuesday July 29, 2025 @03:54PM (#44727570)
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?
Re:Peacock feathers can be lasers
on Tuesday July 29, 2025 @02:23PM (#44726722)
Combine them with a phalarope to make a fully functioning CD player?
Re:Starlink is currently experiencing a service outage. Our team is in...
on Thursday July 24, 2025 @04:17PM (#44675522)
Sometimes you have to keep repeating a packet, they're very good at it.
Re:The ChompSaw: A Benchtop Power Tool That's Safe for Kids to Use
on Thursday July 10, 2025 @07:16PM (#44526775)
Maybe it's just me, but I'd rather teach how to use a knife safely? And a cut from a blade is a lesson to be learned, hopefully only once.
Edit: Oh and if anyone's looking for the tool name, it's called a nibbler. This one is just table-mounted, there are power tool and unpowered versions ofc.
Re:Phrase origin: Why do we "call" functions?
on Wednesday July 09, 2025 @05:59PM (#44515132)
A keyword exclusively used for network calls, in particular microservices ahaahaha
Re:Phrase origin: Why do we "call" functions?
on Wednesday July 09, 2025 @04:43PM (#44514545)
Shame we can't use `cast`, that's already being used for types. And `conjure` probably only works for object constructors.
Re:Ask HN: How are you making money on the side?
on Tuesday July 08, 2025 @11:09AM (#44500740)
I've thought about donating plasma. Might do it this Friday or something.
Re:Howdy – Windows Hello style facial authentication for Linux
on Monday June 30, 2025 @10:57AM (#44424148)
Bored at work lol
Re:Howdy – Windows Hello style facial authentication for Linux
on Thursday June 26, 2025 @12:40PM (#44389014)
Right, Windows Hello requires it for facial auth, Windows itself does not. Hello still works, just you have to authenticate with a different method if the hardware isn't present.
Re:Howdy – Windows Hello style facial authentication for Linux
on Thursday June 26, 2025 @12:23PM (#44388871)
Windows is an operating system and does not have dependence on specific hardware being present.
Re:Show HN: I built a tool that blocks social media until you scream "...
on Wednesday June 25, 2025 @12:57PM (#44379470)
Blade Runner 2049 style interrogation to prove you're not in a bad state of mind huh?
Re:How Microsoft Office Moved from Source Depot to Git
on Thursday June 12, 2025 @10:43AM (#44258408)
Thank goodness I don't have to use IBM's Rational Team Concert anymore. Even just thinking about it makes me shudder.
Re:Bypassing GitHub Actions policies in the dumbest way possible
on Wednesday June 11, 2025 @10:57AM (#44248350)
Not only can you yourself manually check out a specific repo, but if you have submodules and do a recursive checkout, it's also possible to pull in other security nightmares from places you never expected now. That would be one complicated attack to pull off though, chain of compromised workflows haha
Re:Ask HN: Has Apple lost its way?
on Tuesday June 10, 2025 @04:00PM (#44240817)
First iteration no, but after 5 or so iterations they'll get to it haha
Re:Ask HN: What cool skill or project interests you, but feels out of ...
on Tuesday June 10, 2025 @03:57PM (#44240790)
You don't need to do a monolithic design, and kludging things together is just fine. Start with local playback from the server or something equivalently small and work from there. If you need to background play a youtube video and forward the audio stream elsewhere, so be it haha
Re:Ask HN: What would you work on if you couldn't fail?
on Tuesday June 10, 2025 @03:02PM (#44240186)
It's time for human-animal hybrids to become a real thing!
Re:Ask HN: Has Apple lost its way?
on Monday June 09, 2025 @07:34PM (#44230818)
Gotta wait for Apple VR 2, next year? maybe?
Re:dotnet run app.cs
on Thursday May 29, 2025 @11:11AM (#44126860)
Having the thing is better than not having the thing, even if it's not the best version of the thing.
Re:What If Every Picture You've Ever Seen Already Exists?
on Tuesday May 20, 2025 @03:50PM (#44045214)
The core assumption here that the color depth is fixed or that the frame size cannot grow is flawed. We can always increase both, creating infinite possibilities.
Also you'd have to generate these images for them to exist and not merely be probability.
Re:Ask HN: Where to get used hardware cheap?
on Monday May 12, 2025 @04:09PM (#43966979)
Liquidation auction sites, estate sales, the like. Govdeals or equivalent.
Re:Ask HN: Why is uptalk intonation so prevalent in ChatGPT voices?
on Wednesday April 09, 2025 @04:15PM (#43637321)
Just gotta pipe it through a granular synth afterwards
Re:An Overwhelmingly Negative and Demoralizing Force
on Tuesday April 08, 2025 @12:55PM (#43623883)
Sometimes a lambda is more readable. "lambda x : x if x else 1" is pretty understandable and doesn't need to be it's own separately defined function.
I should also note that development style also depends on tools, so if your IDE makes inline functions more readable in it's display, it's fine to use concisely defined lambdas.
Readablity is a personal preference thing at some point after all.