Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ninkendo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
601.
▲
by
ninkendo
2y ago
I must be an outlier but I find a lot of the things the veritasium guy does as being extremely annoying to the point that I mostly avoid his videos. And it’s a shame because I know he produces a lot of really high quality stuff. He’s talked
602.
▲
by
ninkendo
2y ago
There was some discussion awhile back about Intel potentially fabbing ARM chips (or any other custom non-x86 chip) as a viable business in the future. I don’t know how serious they were but it sounded plausible when you think about how impo
603.
▲
by
ninkendo
2y ago
The concept of a string’s primary storage being separate from a view/pointer to its contents, is a necessary distinction to draw if you want to minimize copies and still not require garbage collection. Any language that gives you contr
604.
▲
by
ninkendo
2y ago
> If the tokens are bit-for-bit-identical, where does the non-determinism come in? By design, most LLM’s have a randomization factor to their model. Some use the concept of “temperature” which makes them randomly choose the 2nd or 3rd hi
605.
▲
by
ninkendo
2y ago
But wouldn’t it be nice if they were stored in git notes? It’ll never happen for a commercial git hosting product, because they want it to be hard to leave their service (you lose your PR review comment history), and storing them in git mak
606.
▲
by
ninkendo
2y ago
People say frontend/backend parity, and that’s true, but I also remember there was a time in 2011 or so where single thread/async was this new hot thing. Nginx was starting to get popular and overtake Apache on installs, and peopl
607.
▲
by
ninkendo
2y ago
Nit: A &str doesn't mean it has to be static, a &'static str does (which are a subset of &str). A &str can easily point to a dynamic String's heap storage too.
608.
▲
by
ninkendo
2y ago
&str doesn’t mean stack-allocated. It’s just a pointer [0] (and a len) to a section of memory that’s (required to be) legal utf-8. A &str can point at stack memory or heap memory (usually the latter, since it’s common for them to po
609.
▲
by
ninkendo
2y ago
Every now and then I worry about the rust ecosystem growing too fast and there being too many JavaScript expats flooding cargo with useless code and poorly thought out abstractions, etc… Thank you for reminding me that most people don’t hav
610.
▲
by
ninkendo
2y ago
I’m pretty sure mine doesn’t engage the rollers unless it’s on carpet, so that’s something. Related, my second most hated aspect of it, is that it doesn’t empty its dust bin in mid-clean. Oh, it can empty its dust bin at the end , and it k
611.
▲
by
ninkendo
2y ago
Not GP, but I use a Roborock S8 MaxV Ultra, which was the top of the line model earlier this year. I also just set it to run at night when I’m not paying attention to it. It’s… fine, I guess. But if there is anything at all on your floor
612.
▲
by
ninkendo
2y ago
macOS’s built-in Terminal.app has a feature I love for this, which I haven’t seen anything else replicate, which is that pressing Cmd-Up just scrolls up to the last command prompt in your scroll buffer. Just press it as many times as you wa
613.
▲
by
ninkendo
2y ago
> Apple basically took NeXTSTEP and slapped their own window manager and app framework on it only Yup, that’s precisely it, and Apple made no secret of this. As early as the mid 90s, Apple knew their OS was a dead end and they needed to
614.
▲
by
ninkendo
2y ago
> And second, Spotify is in an unfair position as both the controller of the marketplace/platform, and as a participant on it GP asked how it was different from what Walmart or Amazon are doing, but what you describe is precisely th
615.
▲
by
ninkendo
2y ago
Same thing with e.g. docker for macOS… it’s the primary reason I opted for running Linux on my dev machine at work. Using a virtualization layer to get docker/k8s/etc gives such abysmal performance it’s really crazy that it’s such
616.
▲
by
ninkendo
2y ago
Using Linux with an MX Master 3S, I see noticeable lag sometimes when moving the mouse cursor around when using the bolt receiver. Using regular Bluetooth gives me no issues.
617.
▲
by
ninkendo
2y ago
Thanks for the recommendation! I’ll have to check it out. I got into Dawkins’ books initially from The God Delusion (as I suspect many laypeople), and heard about The Selfish Gene from there, so evolutionary biology is not my area. It makes
618.
▲
by
ninkendo
2y ago
What I read was from “The Selfish Gene”, I went and dug up the section: > A gene is defined as any portion of chromosomal material that potentially lasts for enough generations to serve as a unit of natural selection. In the words of the
619.
▲
by
ninkendo
2y ago
I read once (maybe in a Dawkins book) that large gaps also help preserve genes during sexual reproduction when chromosome crossover happens. Basically if the crossover point happens in the middle of a gene, that gene doesn’t survive the mei
620.
▲
by
ninkendo
2y ago
But that’s why we have Haskell, as a little holiday resort for type theorists to get their fix in while not affecting working programmers too much. Looks like they’re trying to escape again.
621.
▲
by
ninkendo
2y ago
I mean, I totally get the benefits of having the web have so many API’s that the browser is basically an entire OS. But the fact that a browser decides not to be an entire OS just because google’s doing it, I don’t think that means they’r
622.
▲
by
ninkendo
2y ago
Ah yes, the "Vibration API", I really wish Safari had that. And the Web MIDI API, and Web Bluetooth, Web Serial, etc etc. The vast majority of these are APIs that I explicitly do not want websites to use. Especially things like
623.
▲
by
ninkendo
2y ago
> with odd choices in the most recent version (that IIRC are not backwards compatible) This exact sentence could have been said about react router 8 years ago when I last looked at react, lol. And IIRC it was react router that turned me
624.
▲
by
ninkendo
2y ago
Maybe it’s time I learn it… Last time I looked at react was 2016 or so and every tutorial was referencing some different mutually incompatible version of some component (router, redux, flux, some other alphabet soup) and everyone had their
625.
▲
by
ninkendo
2y ago
FYI, `grep -l` will print just the matching filenames, no need for the sed/sort -u. `git grep` and `rg` also support this option. (I say this because I also used to overcomplicate this in my typical usage.)
626.
▲
by
ninkendo
2y ago
It certainly should be the most difficult engineering on the planet, yes… but IME the standards for quality are so low that it’s a pretty easy gig. You’re expected to slap together stuff that barely works and fix things later. That’s now ho
627.
▲
by
ninkendo
2y ago
It was quite a bit harder back then to set up CVS. You had to have a cvs server running, there was no way to just “git init” and commit as you go and worry about pushing later. (At least not that I knew about then, I was pretty green.) Publ
628.
▲
by
ninkendo
2y ago
In my senior design project in college, we were the only team that decided to use version control. I pushed for it, and set up a CVS server, mostly because I was the team lead and thought it was an easy way to feel like I was making a diffe
629.
▲
by
ninkendo
2y ago
Every time you consider copy pasting, you should be asking yourself “if the stuff I’m pasting needs to change, will I want both of these places to change?” It requires some guessing the future, but usually it’s not hard to answer the questi
630.
▲
by
ninkendo
2y ago
I was a swift developer for ~5 years before taking a rust job recently. The gap in tooling quality between swift and almost any other contemporary language is immense. Using Xcode taught me to keep my expectations low for my programming env
More ›