Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gavinray
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
271.
▲
by
gavinray
8mo ago
I genuinely do not understand what the benefit of this tool is, over having Claude Code/Codex running on a VPS or your home machine and accessible over Tailscale. If you want to be able to interact with the CLI via common messaging pla
272.
▲
by
gavinray
8mo ago
I signed the OCA in 2021 as part of some contributions to GraalVM. The process was much more involved than anything I'd previously signed, and it was slow, but in my case eventually got approved. It mostly involved some emails with an
273.
▲
by
gavinray
9mo ago
I think it's difficult to have a serious discussion about consciousness online because it's such a mushy thing to define. If you follow the line of thinking that consciousness is an emergent phenomenon, arising out of complexity,
274.
▲
by
gavinray
9mo ago
https://en.wikipedia.org/wiki/Carbon_chauvinism
275.
▲
by
gavinray
9mo ago
I've been taking 20,000iu of Vit D daily for years, split into 10k AM/PM Regularly have my Vit D levels checked and they are always within the upper bounds of healthy reference range
276.
▲
by
gavinray
9mo ago
Emerging research clearly refutes this: > "The anabolic response to protein ingestion during recovery from exercise has no upper limit in magnitude and duration in vivo in humans" https://www.sciencedirect.com
277.
▲
by
gavinray
9mo ago
Unfortunately, none of these data are usable because (in the US, at least) there is no oversight on labeling accuracy for nutritional supplements. That means I can dump woodchips into capsules and sell them as Multivitamins with 12 vitamins
278.
▲
by
gavinray
9mo ago
Tangential question: I've never owned a home and would like to try to buy one in the next year or two. There doesn't seem to be much in the way of API's/software tools that let you analyze historical data and prices of l
279.
▲
by
gavinray
10mo ago
> I can't wait to be downvoted for sharing something useful, which pretty much is par for the course on this site, i.e. altogether shallow people voting only on the basis of what they already believe in. I think you're
280.
▲
by
gavinray
10mo ago
"Patient-Specific In Vivo Gene Editing to Treat a Rare Genetic Disease" https://www.nejm.org/doi/full/10.1056/NEJMoa2504747
281.
▲
by
gavinray
10mo ago
The "htop" utility has a "Tree View" if you press F5 that is pretty handy for this, too.
282.
▲
by
gavinray
10mo ago
You are not the target audience if "how" was not apparent to you
283.
▲
by
gavinray
10mo ago
Outdated, modern solution is baked in now https://en.cppreference.com/w/c/preprocessor/embed
284.
▲
by
gavinray
10mo ago
> Eh, DB branching is mostly only necessary for testing - locally For local DB's, when I break them, I stop the Docker image and wipe the volume mounts, then restart + apply the "migrations" folder (minus whatever
285.
▲
by
gavinray
10mo ago
You can use "psql" to dump subsets of data from tables and then later import them. Something like: psql <db_url> -c "\copy (SELECT * FROM event_data ORDER BY created_at DESC LIMIT 100) TO 'event-data-sample.csv
286.
▲
by
gavinray
10mo ago
I'm fairly sure I can speed the JVM implementations up a significant amount by MMAP'ing the file into memory and ensuring it's aligned.
287.
▲
by
gavinray
10mo ago
Hmmmm llvm::Value* JitDirectiveNode::CodeGen(Compiler& compiler) { // TODO: Implement the @jit shell-to-native translation engine. // 1. Read the content of the shell script at FilePath. //
288.
▲
by
gavinray
10mo ago
Alright, I chuckled.
289.
▲
by
gavinray
10mo ago
I just read a story about a 13-year-old awarded a Ph. D at a prestigious university. Human intelligence/aptitude has such extreme distributions it's almost unthinkable.
290.
▲
by
gavinray
10mo ago
I'm probably about as qualified to talk about GraphQL as anyone on the internet: I started using it in late 2016, back when Apollo was just an alternate client-side state/store library. The internet at large seems to have a fundam
291.
▲
by
gavinray
10mo ago
Fixed YT link: https://www.youtube.com/watch?v=At7KdrGfTTg OP, this is a neat tech demo, but I'm curious what the practical use would be?
292.
▲
by
gavinray
10mo ago
That's not true, Spark's entire query engine relies on use of runtime codegen via macros/quasi quotes Look up the architecture of Catalyst + Tungsten https://www.databricks.com/glossary/catalyst-optimizer
293.
▲
by
gavinray
10mo ago
Kotlins "ecosystem" is all of Java, and then all of Kotlin. Put another way: Java only has access to a subset of the ecosystem Almost all of the backend libraries I use are Java libs. Some of them have additional Kotlin extension
294.
▲
by
gavinray
10mo ago
There are Kotlin compiler flags to default to "indy" optimization, and which may be enabled by default for some time now? Also not all Kotlin inlines are lambdas or even include method calls
295.
▲
by
gavinray
10mo ago
May as well throw the Native Image C API for FFM-like capabilities out there too https://www.graalvm.org/latest/reference-manual/native-image... One of the neatest things I've been able to do is compile a .dl
296.
▲
by
gavinray
10mo ago
The return type of a Java main is the JVM platform return type Sending system signals is external to the JVM platform
297.
▲
by
gavinray
10mo ago
This article specifically discusses calling external C ABI libraries via the FFM API. GraalVM is for compiling JVM bytecode to native, architecture-specific binaries. FFM is like "[DllImport]" in .NET, or "extern" defini
298.
▲
by
gavinray
10mo ago
My org had to write a pivotal backend service on the JVM, due to JDBC having the largest number of data source adapters. The choice was Kotlin. Scala is too "powerful" and can be written in a style that is difficult for others, an
299.
▲
by
gavinray
10mo ago
async-profiler
300.
▲
by
gavinray
10mo ago
The killer is specifically the inlining of macros -- which Kotlin lacks. And not all macros, but just the ones which expand to massive expressions Think template expressions in C++ or proc macros in Rust
More ›