Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gavinray
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
841.
▲
by
gavinray
4y ago
I like this analogy, and I'd never seen this before, thanks for sharing. (My experience with Copilot and ML-assisted programming has been extremely positive, I would not choose to go without it at this point)
842.
▲
by
gavinray
4y ago
Know of anything like this that can do EDM/House music?
843.
▲
Hacking Postgres Core: Waklkthrough of modifying B-Tree code, from source to CI
(youtube.com)
5 points
by
gavinray
4y ago
|
0 comments
844.
▲
Implementing the PostgreSQL server protocol for fun and profit
(gavinray97.github.io)
1 points
by
gavinray
4y ago
|
0 comments
845.
▲
by
gavinray
4y ago
This is sort of the principle of the "bpt" build tool I think from "vector-of-bool" https://bpt.pizza/
846.
▲
by
gavinray
4y ago
I made almost this EXACT comment a few days ago, nice to see I'm not crazy https://news.ycombinator.com/item?id=34386997 For 98% of tasks Rust is incredible. But modeling those 2% of problems that don't fit neatly
847.
▲
by
gavinray
4y ago
For other folks who don't write D: D has GC, no GC ("@nogc" mode), or Ref-Counting (experimentally) with "@safe" and "@live" modes.
848.
▲
by
gavinray
4y ago
Flatbuffers is used in Arrow, which is a ringing endorsement
849.
▲
Building a PostgreSQL Wire Protocol Server Using Vanilla, Modern Java 21
(gavinray97.github.io)
4 points
by
gavinray
4y ago
|
0 comments
850.
▲
by
gavinray
4y ago
I've found that a lot of folks writing Rust don't seem to grok lifetimes, especially the rules around elided lifetimes. I see a lot of manually-written elided lifetimes.
851.
▲
by
gavinray
4y ago
CLion is quite good you're right. I think it's the best of any Jetbrains IDE Visual Studio is also impressive, though I have a bit of bias against it from when it was so slow. (I know it's not the case now. It has a great deb
852.
▲
by
gavinray
4y ago
Bookmarked, this has a fantastic overview of both the RCU library's design and API, and how you apply it in a practical setting. The former is easy to find, the latter, not so much. Great resource, thanks for the share!
853.
▲
by
gavinray
4y ago
I will openly say I think Rust is an all-around better language. If you are building general-purpose systems software, or just want to write fast software, use Rust. If you are fiddling with bits, doing low-level concurrency, writing a GC&#
854.
▲
by
gavinray
4y ago
For a really unpopular opinion: I prefer modern C++20/23 to Rust. For 98% of tasks Rust is incredible. But modeling those 2% of problems that don't fit neatly into Rusts domain, the level of "unsafe", "PhantomData&q
855.
▲
by
gavinray
4y ago
Aren't you guys saying the same thing? The parent says, "There's too many people on earth already", you reply "Steve Jobs said Death is great and necessary", these seem like sympathetic points to points.
856.
▲
by
gavinray
4y ago
Lol I came here to post this but you beat me.
857.
▲
by
gavinray
4y ago
Curious what others would pay/if anyone else signed the form? I'd pay like $10/mo I think. Possibly more if there were no censorship/limitations (it had access to internet browsing, and I could direct it to URL's fo
858.
▲
by
gavinray
4y ago
So, it's like a Lisp version of JSX with less IDE support? https://www.npmjs.com/package/jsx-latex https://github.com/schibsted/jsx-pdf
859.
▲
by
gavinray
4y ago
I've been all over the US, and I recently visited SF for the first time on a work trip. Never seen such a desolate place, and I say this as someone who has been homeless before and slept in homeless shelters. Homeless shelters in Bould
860.
▲
by
gavinray
4y ago
Yeah, Adderall is "Mixed-isomer amphetamine salt", it's a "proprietary" blend of 80/20 dextro/levo.
861.
▲
by
gavinray
4y ago
Ah it's just the inhalers then, my mistake Another interesting one found in inhalers is Propylhexedrine, from Benzedrex inhalers
862.
▲
by
gavinray
4y ago
Oh wow, now this is interesting. To ELI5 this, what the commenter is saying is that you can take the "useless" L-Meth, and convert it to racemic, mixed D/L Meth. Which you can then perform a second resolution step on, to conv
863.
▲
by
gavinray
4y ago
This
864.
▲
by
gavinray
4y ago
The L-enantiomer is actually readily available for purchase over-the-counter. Vicks Vapor rub/inhalers and other decongestants use L-methamphetamine. The D-enantiomer causes CNS stimulation. The L-enantiomer causes only PNS (Peripheral
865.
▲
by
gavinray
4y ago
The optical resolution of racemic amphetamine/methamphetamine has been known for years. https://erowid.org/archive/rhodium/chemistry/amphetamine.res... What has surprised me is how infrequently it seems
866.
▲
by
gavinray
4y ago
> I think anyone who's done anything beyond beginner JavaScript is going to understand the difference between pass by value and pass by reference, even if they don't call them that? Pass-by-reference is a concept that i
867.
▲
by
gavinray
4y ago
I'm curious how folks in Rust implement striped-locking? Striped locking is where you chunk sections of data behind the same lock to improve scalability. So, 1 lock might protect 1,000 items in an array, for example.
868.
▲
by
gavinray
4y ago
Well, for one, you can't accurately grep for all uses of a symbol, or at the very least it becomes much more difficult Want to know every library on GitHub that uses "mySpecialNimConst" in it's code? Enjoy the hunt
869.
▲
by
gavinray
4y ago
Why not use VS Code C# plugin? I'm not a .NET dev by trade by I do dabble to keep up and I swap between Rider and VS Code fluidly I find VSC nearly as capable for most things, but much faster.
870.
▲
by
gavinray
4y ago
Seems identical to me =) Though yours also has the benefit of typed errors I've always liked Swift, but never written it. It seems like Kotlin and Swift are the most two similar languages.
More ›