Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smj-edison
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
smj-edison
5mo ago
Moore's law or Dennard scaling?
62.
▲
by
smj-edison
5mo ago
Question for you, since I also use Zig 0.16: how do you get it to use Zig idioms? I use Kimi 2.6, and I feel like whenever I try to get my agent to write modern Zig based on a C reference it decides to start writing everything in a C style
63.
▲
by
smj-edison
5mo ago
Oh my gosh, the guard code drives me crazy. In try so hard to get Kimi to put in asserts instead of silently swallowing corrupt values, but it keeps handling bad values poorly instead of crashing. I've even explicitly put in CLAUDE.md
64.
▲
by
smj-edison
5mo ago
Yeah. LLMs are fundamentally a batch-based system, and we smear a veneer of liveness and autonomy on top.
65.
▲
by
smj-edison
5mo ago
And not only do you need to read the output of the code, but you need to write code, at least in my experience. I've had a quirky architecture pattern that I've been using for about 2 months now, and every time I use it I've
66.
▲
by
smj-edison
5mo ago
Steelmanning a rust programmer's argument: memory issues have a very large blast radius, as the bugs tend to show up in completely unrelated. Because of this, dependencies on languages not written in Rust can easily corrupt areas that
67.
▲
by
smj-edison
5mo ago
Side note, but Rust's long compile times aren't due to lifetime analysis, it's more about type resolution, monomorphisim, and LLVM codegen. Zig has fast compile times because they've been willing to remove features that
68.
▲
by
smj-edison
5mo ago
Did you read their migration post? They are thinking about it as COW, so they're using both issue trackers right now, but as soon as the update an issue it jumps straight to the Codeberg issue tracker. It's an unconventional way o
69.
▲
by
smj-edison
5mo ago
And more importantly, you can choose what destructor to call. This is perhaps what's most underrated about defer, because defer can select among many different destructors possible, at multiple different levels (group free with arena
70.
▲
by
smj-edison
5mo ago
You might want to check their Codeberg then, because they've moved all their development over there...
71.
▲
by
smj-edison
5mo ago
Honestly I think, at least to the Zig community, But isn't the biggest name we'd think of. There's been some philosophical friction between the Zig project and Bun (Zig is pretty anti-AI and favor methodical thinking through
72.
▲
by
smj-edison
6mo ago
That's been my experience with tricks. I'll think of some clever trick to work around my ADHD, and it'll work great for about two weeks. Then after that I'll start anticipating it and working around it. The self-defeatin
73.
▲
by
smj-edison
6mo ago
I actually have no clue how I'd check, do you know how?
74.
▲
by
smj-edison
6mo ago
Hmm, I do this this is a point worth considering, but it needs nuance. ADHD is overdiagnosed in young boys, by about 3% iirc. But the thing is overdiagnosis doesn't mean that it doesn't exist at all. It's certainly underdia
75.
▲
by
smj-edison
6mo ago
I think the article was honing in on emotional dysregulation which iirc isn't a big component of the DSM-IV definition.
76.
▲
by
smj-edison
6mo ago
It reminds me that ADHD is really not that useful of a name, executive function disorder would be a more accurate name from when I was looking into ADHD in the past. It's not about attention deficit per se, as that's downstream of
77.
▲
by
smj-edison
6mo ago
Wait, the article mentions that Shor's algorithm is factoring (which is what I understood), but then it's talking about elliptic curve cryptography? I thought ECC didn't use the same mathematical foundations of RSA, and RSA h
78.
▲
by
smj-edison
6mo ago
At least in my experience switching from Claude Pro ($20/month) to Kimi 2.6 through ollama (also $20/month), I was almost always hitting my usage limit with Sonnet 4.6, but with ollama I haven't hit my usage a single time.
79.
▲
by
smj-edison
6mo ago
On the topic of local models, is there a good equivalent to something like Claude's chat interface? I've recently started transitioning to open models after getting fed up with Claude's usage limits (I'm not in a positio
80.
▲
Ask HN: Are there any good open-source chat apps?
2 points
by
smj-edison
6mo ago
|
0 comments
81.
▲
by
smj-edison
6mo ago
I think I've had mine for three years now, and it's been great! I had the same issue with the touchpad button going bad, but I just replaced it and it's been great since.
82.
▲
by
smj-edison
6mo ago
Yeah, I suppose I was playing fast and loose with the terminology to make it more approachable. iirc, the definition of proof by contradiction is you assume the negation, show that the negation has something that is both true and not true,
83.
▲
by
smj-edison
6mo ago
I think they called it intuitive, because I called it intuitive in my original post, so that's on me :)
84.
▲
by
smj-edison
6mo ago
I think the most surprising thing I've learned taking formal math in college is just how much mathematicians are pragmatists (at least for my teacher with sample size n=1). They're much more interested in new ways to think about i
85.
▲
by
smj-edison
6mo ago
Would it be fair to say then that classical mathematics does not require computability, so it requires a lot more bookkeeping, while intuitionistic logic requires constructivism, so it's the air you live and breathe in, which is much m
86.
▲
by
smj-edison
6mo ago
Ah, so if you had ¬p, and you negated it, you could technically construct ¬¬p in intuitionist logic, but only in classical logic could you reduce that to p? Since truth in classical logic means what you said here, where you didn't actu
87.
▲
by
smj-edison
6mo ago
As far as I understand it, classical mathematics is non-constructive. This means there are quite a few proofs that show that some value exists, but not what that value is. And in mathematics, a proof often depends on the existence of some v
88.
▲
by
smj-edison
6mo ago
So proof by contradiction proves ¬p, but it requires the law of excluded middle to prove p (in the case of ¬p -> F)? I didn't realize that was constructive in the first case.
89.
▲
by
smj-edison
6mo ago
Oops, just edited. I'm still fairly new to this area, so I keep mixing up my terms :)
90.
▲
by
smj-edison
6mo ago
I think what's interesting about Lean is that Lean is a language, and what most people are talking about is a library called Mathlib. From what I've read about Mathlib, the creators are very pragmatic, which is why they encode cla
More ›