Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gugagore
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
gugagore
3y ago
One thing that I have seen in the Julia ecosystem, where multiple dispatch is pervasive, is that function names can get away with only being verbs. Without dispatch, you often see an approximation by baking in (Hungarian notation) the name
122.
▲
by
gugagore
3y ago
In case your point is that using "less" instead of "fewer" for countable nouns is an example of unclear communication, let me disagree with the point.
123.
▲
by
gugagore
3y ago
Julia is unique in using multiple dispatch pervasively. It did not invent multiple dispatch, but it certainly popularized it.
124.
▲
by
gugagore
3y ago
They use both.
125.
▲
by
gugagore
3y ago
http://people.csail.mit.edu/mrub/VisualMic/ uses the rolling shutter to get audio from regular-framerate video of a bag of chips.
126.
▲
by
gugagore
3y ago
You did not have to do it every single time. There are many changes you can make that are handled correctly by Revise.jl
127.
▲
by
gugagore
3y ago
The factory pattern in Java exists because a type / a class is not a "first-class" concept. You can't pass around a class so that it gets constructed at some other point. Python (which I believe inherits from Smalltalk)
128.
▲
Anyone not honor the “email+who_is_spamming_me[at]gmail.com” strategy?
8 points
by
gugagore
4y ago
|
8 comments
129.
▲
by
gugagore
4y ago
I believe this is where the "Ambiguity Function" comes in. For a given waveform, it tells you the ambiguity between Doppler shift and time delay.
130.
▲
by
gugagore
4y ago
I think you underestimate the scale of data these models are trained on by many orders of magnitude.
131.
▲
by
gugagore
4y ago
There is no good syntax to specify what part of an arbitrary image should be highlighted.
132.
▲
by
gugagore
4y ago
I agree. Graphical animations (even to highlight text, tables, figures) is such an essential part of communicating in a slide show, and I have not found a tool that achieves both separation of content and style while allowing convenient des
133.
▲
by
gugagore
4y ago
IIRC, forward error: the error between the given answer and the right answer to the given question. Backward error: the error between the given question, and the question whose right answer is the given answer. Easier to parse like this: a
134.
▲
by
gugagore
4y ago
If x is the interval [-1, 1], the typical implementation of IA will evaluate x-x to [-2, 2] (instead of [0, 0], and evaluate x*x [-1, 1] instead of [0, 1]. Therefore the intervals become too conservative to be useful.
135.
▲
by
gugagore
4y ago
I really wish the Spintronics chain was compatible with Lego Technic chain and gears.
136.
▲
by
gugagore
4y ago
> For a twice larger "spin resistor", then, the equilibrium torque would be twice as large, and intuitively, the chain speed would be half as fast. For the twice-larger resistor, the torque is the same, and the speed is half as
137.
▲
by
gugagore
4y ago
The only reason, in my eyes, to use CSV is to have easy interoperability with spreadsheet software. If you want streaming: https://jsonlines.org/
138.
▲
by
gugagore
4y ago
https://jsonlines.org/
139.
▲
by
gugagore
4y ago
Yes that is what I meant, thanks!
140.
▲
by
gugagore
4y ago
No, it can't be. This function has compact support, the Gaussian clearly does not. You get a Gaussian by repeated convolution of the same function (and normalizing the width). The equivalent question to what I asked is what's the
141.
▲
by
gugagore
4y ago
I'd like to know what function this converges to: rect(x) • rect(x/2) • rect(x/4) • ... Where • is the convolution operator. Unlike the series in the video, 1 + 1/2 + 1/4 + ... converges. So this function has compac
142.
▲
by
gugagore
4y ago
What important property of DFS is missing if you just replace a stack with a queue?
143.
▲
by
gugagore
4y ago
What I don't understand is how much technique assumes of the local oscillators on the recording device, which also vary.
144.
▲
by
gugagore
4y ago
I don't see how radians come into the discussion of torque and energy, both of which are N*m in SI. That discussion has to do with the failure of SI to notate the directions of vectors. When it's torque, the N and the m are at a r
145.
▲
by
gugagore
4y ago
Because I didn't see it mentioned yet, this is the same feature that makes the small-angle approximation of sin elegant: sin(x) ≈ x .
146.
▲
by
gugagore
4y ago
"to" is often reduced to something like "tuh", whereas "two" never is. Except in deliberate word-by-word pronunciation, "one two three" and "one to three" sound different in native US Englis
147.
▲
by
gugagore
4y ago
Here is an example: https://wesmckinney.com/blog/avoid-unsigned-integers/
148.
▲
by
gugagore
4y ago
Everyone should have fun all the time is not really a realistic goal, period. I don't think playing games is universally fun either. Games can be quite boring. Games do often promote the concept of winning and losing, however.
149.
▲
by
gugagore
4y ago
GCC is less opaque (less of a black box) than these language models.
150.
▲
by
gugagore
4y ago
If I remember correctly, pressing the turbo button actually slowed down the CPU clock.
More ›