Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
robmccoll
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
robmccoll
1y ago
Because they each result in round-trips and individual queries to the database rather than a more efficient single round-trip with a join. Note: I don't know the details of GraphQL, but I'm assuming it does the smarter thing. In t
62.
▲
by
robmccoll
1y ago
I wonder about the categories of apps for which offline first with potentially infinitely delayed sync provides a better experience and how large those really are. It seems like most of those are apps where I'm creating or working on s
63.
▲
by
robmccoll
1y ago
Could just change the input len to an int instead of size_t. Not technically the correct type, but it would make it clear to the user that the input can't be greater than 2^31 in length.
64.
▲
by
robmccoll
1y ago
What do you mean by the Java direction? It's a virtual machine with GC support, so I guess in that regard it's similar to the JVM, CLR, BEAM, et al. If anything, those VMs show performance improvement and better GC over time and a
65.
▲
by
robmccoll
1y ago
Non-GCed languages will continue to manage memory themselves. Previously, GCed languages that wanted to run on WASM had to have an implementation of their runtime including GC compiled to WASM. The idea or hope here is that those languages
66.
▲
by
robmccoll
1y ago
I think a lot of it is the people using it and certain parts of the culture. There are a lot of Enterprise TM programmers that seem to believe as many layers of abstraction and as much verbosity as possible with little tiny methods that do
67.
▲
by
robmccoll
1y ago
I'd argue it's because the web is the dominant platform for many applications and no other languages can offer a first class experience. if WASM had direct access to the DOM and web APIs and maybe a little more runtime support to
68.
▲
by
robmccoll
1y ago
Python as a language will likely never have a "fast" implementation and still be Python. It is way too dynamic to be predictable from the code alone or even an execution stream in a way that allows you to simplify the actual code
69.
▲
by
robmccoll
1y ago
Yeah I was a little surprised that this didn't go beyond the simplest xref table and get into streams and compression. Things don't seem that bad until you realize the object you want is inside a stream that's using a weird r
70.
▲
by
robmccoll
1y ago
Disclaimer: I don't know the details of how this works. Time-to-solution and quality would be my guess. In my experience, adding high level important details about the way information is organized to the beginning of the context and th
71.
▲
by
robmccoll
1y ago
What are we doing when we think?
72.
▲
by
robmccoll
1y ago
If I can look at the code, decide I trust the implementations of the primitives being used, how they're being used, how identity is established, and how initial key exchange works, I don't need to know what's running on the s
73.
▲
by
robmccoll
1y ago
False dichotomy. They're both perfectly capable of doing things that are potentially detrimental to consumers but good for bottom line.
74.
▲
by
robmccoll
1y ago
Generally, you would want to do one of: a) Keep any code that you've pulled in from another project in its own directory structure with a license file indicating where it came from and its licensing terms. b) If you intend to modify th
75.
▲
by
robmccoll
1y ago
You are mistaken. The license explicitly allows it subject to the terms of the license: > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Microsoft didn'
76.
▲
by
robmccoll
2y ago
This sounds like a fundamental disagreement with using ORM. Are you advocating for always writing queries (not excluding the possibility of a query builder) over treating database rows as application-side entities that can have CRUD operati
77.
▲
by
robmccoll
2y ago
I'd play the 2021 UE remake unless you are specifically a fan of retro gaming / have fond memories of playing games in the 90s. If you are new to the series, it hews close enough to the original that you aren't missing anythi
78.
▲
by
robmccoll
2y ago
I view this as further evidence that we less different from "stochastic parrots" than we would like to believe.
79.
▲
by
robmccoll
2y ago
Typedeffing away pointers means I don't know when copying or passing something if it's by value or by reference.
80.
▲
by
robmccoll
2y ago
Looking at Microsoft's C code makes my eyes hurt. I don't know if it's the style (bracket placement, no new lines), naming conventions, typedeffing away pointers, or what, but it just doesn't read easily to me.
81.
▲
by
robmccoll
2y ago
Don't use SAML, mostly because it uses XMLDSig. Don't use XMLDSig because it's hard to get usefully right and easy to get dangerously wrong.
82.
▲
by
robmccoll
2y ago
Zig is at least better impedance matched to C. Procedural and relatively small conceptually. Simple interop. Rust feels closer to C++ than C.
83.
▲
by
robmccoll
2y ago
Progressivism and the idea of being "progressive" or "a progressive" are defined ideologies. Within the political spectrum they have their own meaning. Arguing semantics in this way is not particularly different than say
84.
▲
by
robmccoll
2y ago
> The whole "war on hate" thing was a bad idea; you can't forbid hatred. It predictably didn't work, and it's good that we're turning away from it. This is a myopic view. You are obviously correct that you c
85.
▲
by
robmccoll
2y ago
Yes! James Spann was and is an excellent source of meteorological information. I remember him coming to our school and talking to kids about his job and encouraging us to take an interest in science and the world around us. Alabama needs mo
86.
▲
by
robmccoll
2y ago
Cassandra is essentially an append-mostly distributed fault-tolerant hash table. If you need specifically that with high write throughput, it's a good choice. I don't understand why people use it as a database. You run into it
87.
▲
by
robmccoll
2y ago
Even better: XML signatures, which are very easy to get wrong in both signing and verification.
88.
▲
by
robmccoll
2y ago
How to do that on initial account creation: - locally create a recovery key and use it to wrap any other essential keys - Split that or wrap that with two or more keys. - N - 1 goes to the cloud to be used as MFA tokens on recovery. - For t
89.
▲
by
robmccoll
2y ago
Tree and graph structures can be queried using SQL (with more or less difficulty depending on how you have chosen to encode and index them), but it's not a particularly simple and straightforward language to use for such a task.
90.
▲
by
robmccoll
2y ago
References have one important property over pointers. They cannot be null.
More ›