Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pflanze
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
pflanze
4y ago
> Effectively the if statement was inverted. If this wording means to convey that the complete test in the wrong code version is always giving the inverse of the correct version, then that statement is wrong. The truth tables, using 0 an
62.
▲
by
pflanze
4y ago
How? You don't have a publicly visible address or company reference in your profile. Edit: you have answered that in https://news.ycombinator.com/item?id=34612364
63.
▲
by
pflanze
4y ago
Do you have tips on how to approach coworkers about "odd" topics via private messages? The "hallway" principle as I understand it is that it is low-key, low-risk, you can immediately read the others' reactions, and
64.
▲
by
pflanze
4y ago
I'd say that's more describing "without (library) dependencies". I'm not in the construction business, but I guess if you build a house from the ground up, that means you're not building on top of some existing
65.
▲
by
pflanze
4y ago
I thought that the implication was that the budget grew by a factor of ~20, not 2. As in, the first 95% finished in 95% of the original budget, the rest finished in 95% of the final budget, so the first 95% took 5% of the final budget. Hmm,
66.
▲
by
pflanze
4y ago
I might actually go and track down and use the math on some example, and actually go through it myself for the first time--if I had the time. But I'm just barely non-busy enough to read HN at all right now. Maybe wavelength of light an
67.
▲
by
pflanze
4y ago
I think OP is misunderstanding what "impedance" means? Impedance, at least in the context of electronics is describing resistance depending on frequency of the signal; if the incoming signal "vibrates" with a frequency t
68.
▲
by
pflanze
4y ago
Just in case you're not aware of them, there are screwdrivers with voltage detectors[1] that you can (should?) use to check that there's no power on the thing you're working on. [1] e.g. https://www.amazon.com/
69.
▲
by
pflanze
4y ago
I'd expect blood to conduct electricity much better than house hold water, due to higher salt content. Thus once the resistance of the skin has dropped because of the water on the skin, the path of least resistance should be through th
70.
▲
by
pflanze
4y ago
Why are you saying that this is a "PG essay"? The page states that it is written by Aaron Harris.
71.
▲
by
pflanze
4y ago
I just use a Git repository with plain text (and some custom marking up) files, as my knowledge repository, that also includes copy-pastes of the important information that I found in the articles in question, thoughts etc. My custom markup
72.
▲
by
pflanze
4y ago
> Per 1gb of RAM The Google study you linked says "25,000 to 70,000 errors per billion device hours per Mbit". Assuming bits, {25000 to 70000}/1e9 * 30 16 1000 = 12 to 33.6 bit errors per month. Assuming bytes, it's
73.
▲
by
pflanze
4y ago
That's a good point, thanks!
74.
▲
by
pflanze
4y ago
> Stick a barebones haproxy on it. Run it in tcp mode pointing at a wireguard client ip for the backend. If you have just one backend server instance, you could also use a DNAT iptables rule instead, which would have the advantage of not
75.
▲
by
pflanze
4y ago
A drawback of the Pi 4 is that if you want to do RAID with USB hard drives, I found that you need a separate powered USB hub for each disk. That's (A) to give them enough power (although I used spinning disks, it may or may not be nece
76.
▲
by
pflanze
4y ago
FWIW, I've wondered whether your use of the past tense meant that he died (maybe it's just me thinking that way), so I've verified that this doesn't appear to be the case, his CV [1] has been updated this year. [1] on h
77.
▲
by
pflanze
4y ago
> which means it doesn't prohibit them OK. I want to dig down into this. Let's say I have a router `R`, which I'm running NAT and optionally other iptables rules on. I've got a client machine `C` sitting in a private
78.
▲
by
pflanze
4y ago
> > NAT punching does require cooperation of programs on the protected machines > As does listening to a port. Listening on a port is for incoming connections, exactly the kind that we're blocking with either a (stateful) fire
79.
▲
by
pflanze
4y ago
I found (no hard evidence though) that zswap behaves even more nicely, at least on a Raspberry Pi (and on top of that is easier to configure, it's just an on/off setting that can be done via procfs or boot argument, zswap.enabled=
80.
▲
by
pflanze
4y ago
- NAT punching does require cooperation of programs on the protected machines, though, no? How is it different from them inviting traffic in any other way (like, requesting a page via https from an infected server could hijack the client on
81.
▲
by
pflanze
4y ago
Speaking from my observations: You can't make typical Python programs two orders of magnitude faster by rewriting them in C, but that's because those use many bits that are already implemented in C (data structure implementations,
82.
▲
by
pflanze
4y ago
I found it interesting behavior and it might be important in the larger picture, thus I'm not sure it's superficial, that's why I put the question mark there. Of course I don't mean that this should take away from the
83.
▲
by
pflanze
4y ago
Super superficial (?), but the "press and hold" example on https://hyperscript.org/ has a bug (feature? :) in that if you move away the pointer while pressing, then let go, it keeps cycling, and won't stop ev
84.
▲
by
pflanze
4y ago
Magnesium supplements might be helpful, too. They helped me be calmer and to think more clearly again in a bad time in my life.
85.
▲
by
pflanze
4y ago
At 120 V that's 0.36 W (if using both halves of the AC wave), if you use that 10 years non-stop you'll burn 31 KWh, a value of 5-20$ or so, thus if you were to produce many of these devices it would be worthwhile to lower :). But
86.
▲
by
pflanze
4y ago
The title of the paper at your link is "Acute toxic effects of polyethylene microplastic on adult zebrafish". Polyethylene[1] is not the same thing as Polyurethane[2]. [1] https://en.wikipedia.org/wiki/Polye
87.
▲
by
pflanze
4y ago
PS. I'll compare versions if you publish your full Rust code. If you'd like to compare yourself, change `depth` in main.c to 1000, `w` and `h` in `renderScene` to your image size, and change `xcenter`, `ycenter`, and `size` to val
88.
▲
by
pflanze
4y ago
FWIW, I implemented[1] the exact same algorithm (except only using 2-way SIMD instead of 4-way as that's what my computer at the time supported, and relying on OpenMP's dynamic scheduling for multi-core, and doing grayscale render
89.
▲
by
pflanze
4y ago
I know (although I still haven't actually read Church's work). So I know some mathematicians approached things that way. I'm just a bit puzzled that it's not the default for formalizing proofs, too. But I'll stop
90.
▲
by
pflanze
4y ago
I see, so maybe the "disdain" about "program source code" might be more about disdain for imperative programming? It sounds a bit funny or at least interesting to me if mathematicians pick up functional programming no ea
More ›