Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gugagore
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
301.
▲
by
gugagore
5y ago
Speeding up compilation itself is one approach to the latency issue. And there's also the idea of blending compilation and interpretation using e.g. https://github.com/JuliaDebug/JuliaInterpreter.jl .
302.
▲
by
gugagore
5y ago
It is amazing and frustrating to me how much latency affects my productivity. I wish I could more effortlessly switch between tasks, or just meditate and relax while I wait for something I just did on the REPL to finish. But I don't. M
303.
▲
by
gugagore
5y ago
> Not mentioning it does nothing. I don't understand how you assert this.
304.
▲
by
gugagore
5y ago
Powers of 2 certainly come up more often, e.g. memory sizes before everything had GBs of RAM.
305.
▲
by
gugagore
5y ago
> Also, there are not 2 workflows, one for rectangles and one for arbitrary shapes, which is a good thing. I think having a unified workflow is a good thing, and that that can exist along side important special cases. A tool like inkscap
306.
▲
by
gugagore
5y ago
One key insight of Shannon's is that to study information as he did, you need to remove "meaning". You could measure the information content of anything and it doesn't matter what the symbols mean. Paradoxically, a rando
307.
▲
by
gugagore
5y ago
Thanks, I'm sorry too! "basic respect for human life" and "unions" can have a lot in common, especially in such a country.
308.
▲
by
gugagore
5y ago
I have experienced some shocks from ground loops, where the shock was only perceptible when the current density was small enough. If I placed my whole palm on the conductor, I couldn't feel it, but if I placed just my finger tip on the
309.
▲
by
gugagore
5y ago
How about the electrolytic capacitor of a camera flash circuit? Knowing that they could deliver a nasty shock, I discharged one once by shorting the terminals with a screw driver. The sound of the spark, and the scorch mark left on the PCB
310.
▲
by
gugagore
5y ago
Or better yet, just unplug the computer while it's on /s.
311.
▲
by
gugagore
5y ago
Are you part of a union, and is this recommendation feasible because of "worker's compensation"? I imagine I might not go get checked out if I felt like the risk was low enough and I was worried enough about being able to pay
312.
▲
by
gugagore
5y ago
the value of [mathematical] language is not only communication, but also reasoning. It is remarkable, and sometimes unfortunate, how much mathematical reasoning you can do without knowing what you're doing, by pattern matching. Notatio
313.
▲
by
gugagore
5y ago
I don't think I understand the point you are making. Power = product of two quantities. You have these two quantities in various domains: I and V, F and v, T and O, P and Q, ... The analogizing comes from saying "I is like P and V
314.
▲
by
gugagore
5y ago
When you choose to call one spintronic component a capacitor and another a inductor, you've determined which of the two analogies is the correct one. You could swap the names for the components, and you would swap which analogy is corr
315.
▲
by
gugagore
5y ago
There are two possible mechanical analogies to electrical circuits ( https://en.wikipedia.org/wiki/Mechanical%E2%80%93electrical_... ). In domains (electrical, acoustic, thermal, mechanical, ...) there are two kinds of q
316.
▲
by
gugagore
5y ago
I am glad to see that they are using LEGO Technic chains ( https://www.bricklink.com/v2/catalog/catalogitem.page?P=3711 ) , and therefore the gear pitches are LEGO compatible (at least with the non-bevel gears, but
317.
▲
by
gugagore
5y ago
From Wikipedia: > In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. So M = (S, op, id) My go-to example of a monoid is (the set of strings, string conca
318.
▲
by
gugagore
5y ago
I think it's ridiculous to say "they, the media" here when media in the US is so often blatantly partisan. I don't believe it's difficult to find media that calls out Biden.
319.
▲
by
gugagore
5y ago
> the rollers are much larger than normal giving it a lot of torque Excuse the pedantry, but I think this is the incorrect physical explanation. Larger rollers mean that the linear speed at the rim is larger, and the roller impart in fac
320.
▲
by
gugagore
5y ago
The general concepts are described here: https://en.m.wikipedia.org/wiki/Psychoacoustics I'm not sure what you mean by converting the spectrogram to sound, but my guess is that the windowing done on the short-time
321.
▲
by
gugagore
5y ago
What difference does this make, though? Isn't VSCode an Electron app? All of its UI is based on web stuff, anyway!
322.
▲
by
gugagore
5y ago
The early convolution layers could implement a low-pass filter with the appropriate weights. Presumably the learning algorithm would do so if it were beneficial.
323.
▲
by
gugagore
6y ago
> In r2t2, I use a single-tone encoding, since the buzzer can emit just a single frequency. That's not wrong, but also not the whole truth. https://en.m.wikipedia.org/wiki/PC_speaker#Pulse-width_modul...
324.
▲
by
gugagore
6y ago
Thanks for the correction. I've wanted to see more examples of Clojure Spec in practice because I had really understood it as an interface description language.
325.
▲
by
gugagore
6y ago
To me Clojure Spec is more like IDL or a JSON Schema (or CBOR or Protobuf or etc), but with more "dynamic" stuff as opposed to just sum/product types. It doesn't occupy the same space as, say, TLA+.
326.
▲
by
gugagore
6y ago
Do you still get a dialog asking to save when you close a modified file when the title bar shows no asterisk?
327.
▲
by
gugagore
6y ago
Both machine code and interpreted scripts are executable, and so they have a formal meaning, at least for a given machine or interpreter. They both feel as "formal" as the other, and much more so than a spec written in e.g. Englis
328.
▲
by
gugagore
6y ago
I prefer to acknowledge that tradeoffs are inherent, and that there is some cost to e.g. replacing "man" with "person", and that the benefit (inclusivity) is worth the cost (breaking "backwards compatibility",
329.
▲
by
gugagore
6y ago
Suppose they had survived and killed someone else. I think the law would find at least one of them to be the driver. That's the notion of driver that is meant by "driver error". e.g. the person who started the car.
330.
▲
by
gugagore
6y ago
So batteries on cars is analogous to cars? I mean, could be. Maybe the EV battery is just like a gasoline tank, but something suggests that there are important differences.
More ›