Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kd5bjo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
kd5bjo
5y ago
The problem is that each person's pinnae have a unique geometry, which makes the notches of the comb filter lie at different frequencies for everyone. As far as I know, there's no good way to determine this other than a direct me
122.
▲
by
kd5bjo
5y ago
It is entirely possible for this paper to contain a "C" quality argument even though its conclusion turned out to be true-- The purpose of an academic paper is to present a convincing argument rather than simply making a true asse
123.
▲
by
kd5bjo
5y ago
> But back around the 1700s, were most currencies pegged to precious metals? From 1792 to 1853, the US Dollar was pegged to a fixed amount of both gold and silver. It seems reasonable to extrapolate backwards in time using that fixed sta
124.
▲
by
kd5bjo
5y ago
> Only memorize those things where lookup adds too much latency/is impractical. One particularly useful form of this is keywords and jargon: If you memorize the formal names of nebulous concepts, you’ll be in a much better position
125.
▲
by
kd5bjo
5y ago
I think you mischaracterize Russell’s view; his “doing nothing” looks an awful lot like Graham’s “project of your own:” > In a world where no one is compelled to work more than four hours a day every person possessed of scientific curios
126.
▲
by
kd5bjo
5y ago
The sweet spot for me is an Idea -> CAD -> Manual Production -> Idea loop, which works for pretty much any hobby that results in a physical artifact. The computer work lets me spot enough problems that I can feel confident the end
127.
▲
by
kd5bjo
5y ago
6) Instead of having common fields, make A contain an instance of B. Then, implement `AsRef<B> for A`.
128.
▲
by
kd5bjo
5y ago
> A modern CPU has 200Gb/s of bandwidth. If the objects in your array are 200 Gb in size each, then swapping the position of two elements in a vector is going to take O(seconds) at memcpy speeds, Not necessarily. If those items are
129.
▲
by
kd5bjo
5y ago
The problem here is that you’re trying to iterate over `v` and modify it at the same time. The usual fix is to first decide the changes that should be made, and then apply them after the loop: https://play.rust-lang.org/?ve
130.
▲
by
kd5bjo
5y ago
> If you’re applying arbitrary invariants that aren’t codified in the type system, you may as well just use raw pointers. This isn’t really true, as the character of bug produced is quite different between the two cases. If you make a m
131.
▲
by
kd5bjo
5y ago
> I believe, though, it's only a matter of time before charging stations reach parity with gas stations. It's already possible to take a road trip by major highways with a Tesla. For a full transition to EVs, the charger networ
132.
▲
by
kd5bjo
5y ago
Depending on where you live, going on a long road trip can sometimes become a sudden necessity. If I still lived in a hurricane zone, for example, I wouldn’t go anywhere near an EV except as a second car.
133.
▲
by
kd5bjo
6y ago
> Lots of new languages come out that look like syntax level changes from an existing mainstream language. This is how lots of programming languages start, but they then diverge over time: C++ started as C with some syntax sugar around s
134.
▲
by
kd5bjo
6y ago
I haven't played with either of them much, but they seem to take two fundamentally different narrative approaches. Inform is primarily simulation driven: You describe a world model. Every user input translates into some action that af
135.
▲
by
kd5bjo
6y ago
> My programming experience is that that these "mathy" objects are about the only unambiguous use case for operator overloading. Rust's ability for smart pointers to overload the dereference operator works pretty well, tho
136.
▲
by
kd5bjo
6y ago
https://www.covid.is/sub-categories/visiting-iceland
137.
▲
by
kd5bjo
6y ago
It's not uncommon for coaches to put the second- or third-tier players in when it's going to be a blowout, though: It preserves the starters for the next match and gives the others in-game experience, both of which are good for th
138.
▲
by
kd5bjo
6y ago
In this regard, the most notable feature of tennis is that every match is a mini-tournament. It doesn't matter whether you lose the game 40-0 or after the 5th deuce point, you still just have to make up one game. Similarly, the score
139.
▲
by
kd5bjo
6y ago
Relational algebra isn’t that hard to implement if you’re willing to sequential-scan all of the time. The massive complexity comes in the query planner: The point of adding an index is to change the space-performance tradeoff of certain o
140.
▲
by
kd5bjo
6y ago
I’m working on a Rust library for this as my MS project. It calculates the queries inside the type system, so there’s minimal runtime cost.
141.
▲
by
kd5bjo
6y ago
This is almost exactly the motivational example that Codd used when originally describing relational algebra. He described 5 different data organization schemes for a single problem and designed relational algebra to work with all of them.
142.
▲
by
kd5bjo
6y ago
The issue is third-party libraries: They need to simultaneously support both versions of Python during the transition period. If you unilaterally migrate to v3, you break lots of existing projects. On the other hand, if you stay v2 only,
143.
▲
by
kd5bjo
6y ago
Giving? No. Receiving and not reporting? Maybe, depending on local laws and how zealous the tax enforcer is. This probably falls into the category of "Not allowed, but too small to worry about." That works fine, until they decid
144.
▲
by
kd5bjo
6y ago
There's always a time cost with financial things, at least. Some tax authority probably expects you to track and report that income, and will want their share.
145.
▲
by
kd5bjo
6y ago
This explanation works for US dimes, quarters, and half-dollars as well (plus the old, giant, dollar coins). At one point I worked out that they’re all $20/lb.
146.
▲
by
kd5bjo
6y ago
From what I can tell, the problem is that those first three paragraphs are a perfectly good introduction to a different article. Larson is obviously going to be a main character in this story, but there are strong signals that the article
147.
▲
by
kd5bjo
6y ago
There are some quite familiar terms that used to be trademarks, though: cellophane, dry ice, trampoline, escalator. As usual, Wikipedia has a list: https://en.wikipedia.org/wiki/List_of_generic_and_genericize...
148.
▲
by
kd5bjo
6y ago
No, it really is shadowing. The second `let` allocates a new memory location in the activation record; all future mentions of the variable name will refer to the new location. The old location still exists, and may have references to it a
149.
▲
by
kd5bjo
6y ago
First, the mechanics: I'm reviewing entire books that I haven't read before; I have a Python script that will split up a text file and produce a CSV file for Anki to import. New cards are set to come up in the original order, but
150.
▲
by
kd5bjo
6y ago
Edit: Though my examples below are all fiction, that's half or less of my current reading list. I also have philosophy, research papers, long-form academic books, popular science books, and the like. ----- For reference, here's t
More ›