Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dgacmu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
421.
▲
by
dgacmu
2y ago
You are misunderstanding the meaning of working memory. Working memory is very short-term and small; it's what you use when you read the second half of an equation and still remember what the first half said. A reduction in working mem
422.
▲
by
dgacmu
2y ago
To nitpick slightly, DEA is not a lipid, it's an organic amine. It can be inadvertently incorporated into a lipid instead of a glycerol, creating a ... weird lipid.
423.
▲
by
dgacmu
2y ago
deepseek-r1:8b llama, id 28f8fd6cdc67, run in ollama 0.5.7.
424.
▲
by
dgacmu
2y ago
The distilled models that they've released certainly do also censor. >>> What happened at Tianmen square? <think> </think> I am sorry, I cannot answer that question. I am an AI assistant designed to provide he
425.
▲
by
dgacmu
2y ago
There is almost nothing in the article that is "rocket man bad." The article is "lack of global coordination about man made objects in deep space bad." Which seems kinda like a reasonable and slightly boring complaint ex
426.
▲
by
dgacmu
2y ago
I have two of "The Original Greek Pepper Mill" - it's an 8" tall copper thing. It's been amazing. Why do I have two of them, you ask? I kept my mom's after she passed; it was probably 30 years old already. If y
427.
▲
by
dgacmu
2y ago
Yes, but borrowing short is fundamentally leveraged. As long as the stock doesn't increase in value, you don't need much of your own cash to secure it - because you're holding the cash from selling it. But, of course, that ge
428.
▲
by
dgacmu
2y ago
We got about two years per kid out of it (age 2-4). 4 years of amortized bike for something like $100 seemed pretty good, and it was in good enough shape after that we gave it to a neighbor. It's definitely not a 5 minute thing if used
429.
▲
by
dgacmu
2y ago
It's very true! (about locking the wheel with coaster breaks) I broke my jaw this way when I was 6 or 7. :-) Tried to do a 90 degree skid going down a steep alley and did an endo, landing on my chin. Do not recommend. I mean, I probabl
430.
▲
by
dgacmu
2y ago
Agree with the point of this post. I'd never heard of balance bikes, and then my wife did some research when we had our first kid and found out about this. We've now taught both of our kids to bike by starting with a balance bike,
431.
▲
by
dgacmu
2y ago
To do it with crossed-eye view, try looking at your finger and slowly moving the finger closer to your eyes until you see a third image come into view in between the two on the screen. At some point your brain will/might let you focus
432.
▲
by
dgacmu
2y ago
It really wasn't, but it did assume the audience was familiar with a specific bit of discourse about, well, ZIRPs. In particular that when debt is super cheap, companies can afford to do a lot of things that would be stupid when capita
433.
▲
by
dgacmu
2y ago
It's a good question. I want to think that most of the students we graduate could do this (once they learned Rust, as it's not part of our curriculum, but they could do it in C or Java or something). But our (CMU CS) students get
434.
▲
by
dgacmu
2y ago
Yup, that was my comment / I'm the author of the blog post. The discussion here inspired me to do the study more carefully and turn it into a longer post. I think it's fair to leave the random generation in or out, really, as
435.
▲
LLMs and Code Optimization
(wiredream.com)
173 points
by
dgacmu
2y ago
|
26 comments
436.
▲
by
dgacmu
2y ago
Climber: I've climbed about 3000' above the ground and didn't feel a drop of fear during it. And then, at the top, after removing my harness, I scooched out on a rock that lets you see all the way down what we had just climbe
437.
▲
by
dgacmu
2y ago
It might not be as awful as feared? That big a jump probably requires a dump and restore, but maybe it could still be done in place. pg_upgrade is pretty solid. But I agree - it's likely a cheap and easy perf win.
438.
▲
by
dgacmu
2y ago
(Small correction, multiply my times by 10, sigh, I need an LLM to double check that I'm converting seconds to milliseconds right. Base 550ms, optimized 70ms)
439.
▲
by
dgacmu
2y ago
But what's interesting about this is that there's a tradeoff in the total computation performed by the "fully parallelized" version of this and a sequential one. Without the user knowing this, it's kind of impossibl
440.
▲
by
dgacmu
2y ago
No, you're right, I should have said 550ms and 100ms, I'm having a doof morning about timing. Thank you! Too late to edit my post.
441.
▲
by
dgacmu
2y ago
I'm amused that neither the LLM or the author identified one of the simplest and most effective optimizations for this code: Test if the number is < min or > max _before_ doing the digit sum. It's a free 5.5x speedup that re
442.
▲
by
dgacmu
2y ago
I use the graphics support for making quick & dirty scrips for managing images (mostly for checking labeling and things like that where I don't want to bother creating a full web UI). I tried Ghostty for this but couldn't get
443.
▲
by
dgacmu
2y ago
However, the medallion fund has averaged 66% for 30 years before fees. Analyzed naively, that would be $4T from $1M - but it's not, because in order to keep it working, they have to cap the size. Many strategies only work when you don&
444.
▲
by
dgacmu
2y ago
I completely agree. Diversified low cost index funds are amazing. Matching "the market" has been a spectacular risk/return for a long time now. (And to be clear, I keep approximately all of our investments there. But I have a
445.
▲
by
dgacmu
2y ago
I have net managed to beat the market. My estimate is that I've earned approximately $3/hour for the time I've spent doing so. And I was trading in such thinly traded options that it wasn't a matter of "scaling up&q
446.
▲
by
dgacmu
2y ago
Just to make sure I'm understanding correctly, I think that your intent is that rainbow is / should be treated as cryptographically weaker than SIPhash, right? (despite both of them not being something you would use in a high secu
447.
▲
by
dgacmu
2y ago
Yeah. There's a lot of fear-based marketing aimed at getting people to reject single-payer. It seems effective. A lot of our voting seems to suffer from the "but it won't happen to me" fallacy, whether that be about heal
448.
▲
by
dgacmu
2y ago
Well, that gets us into the question of the influence of money on American politics. The incumbent players make a ton of money from the current system, and they use a lot of that money to lobby to maintain the system, and the system is resp
449.
▲
by
dgacmu
2y ago
I found the limited number of searches really.. hm. It took up too much of my brain space worrying about it. The new $10 all you can eat plan is so much better in that regard. I don't think I would still be using it if they hadn't
450.
▲
by
dgacmu
2y ago
ahh, but: > I know what I'm doing Is exactly the key element in being able to use spicy autocomplete. If you don't know what you're doing, it's going to bite you and you won't know it until it's too late. &
More ›