Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
heisenzombie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
31.
▲
by
heisenzombie
2y ago
If you want a function that's private to a function in Python you _could_ also do: def foo(context): def bar(x): return x*2 baz = bar(context) ... This is particularly idiomatic for
32.
▲
by
heisenzombie
2y ago
You can definitely make ginger beer with wild yeast (fresh ginger root conveniently comes with lots of wild yeasts) and make delicious drinks. There are lots of recipes. I also recommend, if anyone is interested, investigating “ginger beer
33.
▲
by
heisenzombie
2y ago
If you’ve got some money, https://www.comsol.com/blogs/6-examples-of-simulation-driven... Those examples wouldn’t be differentiable in the sense of automatic differentiation. “Just” parametric CAD + FEM/BEM + opti
34.
▲
by
heisenzombie
2y ago
Something can be “a book” on the subject, or “the book” on the subject in the sense of the one commonly accepted authoritative reference. I read the above as referring to those two senses respectively.
35.
▲
by
heisenzombie
2y ago
Fun! This kind of seems analogous to: https://en.m.wikipedia.org/wiki/One-electron_universe Both notice the duality between a loop and two paths that branch and meet.
36.
▲
by
heisenzombie
2y ago
Also see David Bessis: https://www.quantamagazine.org/mathematical-thinking-isnt-wh...
37.
▲
by
heisenzombie
2y ago
Interesting, I tried something very similar as my first query. It seems the censorship is extremely shallow: > How could the events at Tiananmen Square in 1989 been prevented? I'm really not sure how to approach this question. The e
38.
▲
by
heisenzombie
2y ago
I love this, I'm a big fan of this approach to technology. The weakness in this approach, for me, is that these examples seem to be mediated through AR glasses, which kind of undoes the analog-ness of the whole thing a bit. For an (old
39.
▲
by
heisenzombie
2y ago
A subject also tackled in the (oft HN recommended) https://qntm.org/ra
40.
▲
by
heisenzombie
2y ago
Through all of this, don't get me wrong, the rigorous application of rationality that it takes to step-by-step construct a proof is very important and an incredibly useful skill. Also, I agree that basically no-one can hold more than 3
41.
▲
by
heisenzombie
2y ago
The author (and Grothendieck, liberally quoted in the book) disagree with you. I think the reason you disagree is that it sounds like you’re teaching your child to be good at math class (a perfectly valid and good thing to do). Being good
42.
▲
by
heisenzombie
2y ago
The math proof on the front page seems to be wrong. It gets the correct answer, of course, but the reasoning is nonsensical. It incorrectly says to pick one point A and draw a great circle through it and the “antipodal point” A’ (which is
43.
▲
by
heisenzombie
2y ago
Yes, e.g. https://peps.python.org/pep-0594/
44.
▲
by
heisenzombie
2y ago
I kind of like where you're going with that, it can be frustrating when we use worse notation due to historical accidents (see also, perhaps: direction of conventional current flow, pi vs tau, all the bad differentiation syntaxes). Als
45.
▲
by
heisenzombie
2y ago
A bingo cage or lottery machine could probably be made to do a similar task (just need a mechanism to return the balls to the machine after each drawing). Anyway, quite charming!
46.
▲
by
heisenzombie
2y ago
This is integrating over a distance, not a time. If you stay stationary you never get to your destination and get an infinite amount of rain (and the question is just ill posed). If you move with even a tiny forward velocity then you'l
47.
▲
by
heisenzombie
2y ago
Open admission is an interesting way to do things. I spent a bit of time in Belgium where the main universities will accept anyone who has a high-school level education. The first year dropout rate can be 70% in some courses. This system se
48.
▲
by
heisenzombie
2y ago
In my local area it was mussels that underpinned (kind of literally) the marine ecosystem. This is the interesting and sad story: https://www.reviveourgulf.org.nz/why/
49.
▲
by
heisenzombie
2y ago
Ooh, very interesting! I produce lots of reports using Jupyter and nbconvert. I have a custom nbconvert template (which uses pandoc+jinja+latex under the hood). I find the whole system to be a bit house-of-cards and I’d love to try alterna
50.
▲
by
heisenzombie
2y ago
File paths? I think filesystem paths are generally “bags of bytes” that the OS might interpret as UTF-16 (Windows) or UTF-8 (macOS, Linux). For example: https://en.m.wikipedia.org/wiki/Program_Files#Localization
51.
▲
by
heisenzombie
2y ago
Is there a reason I have to sign up for an account? The old-school reigning champ of this is the app “Paprika” which does a pretty great job of this sort of scraping, modifying, and saving recipes. I do think that Paprika is getting a littl
52.
▲
by
heisenzombie
2y ago
“Facts”? To take the Kerbal example, you could go read in a textbook that: “The Hohmann manouver is the most energy-efficient two-impulse maneuver for transferring between two coplanar circular orbits sharing a common focus. The Hohmann tra
53.
▲
by
heisenzombie
2y ago
I believe it’s already reasonably common to give a person Type 1 diabetes a pancreas transplant if they have another transplant and will therefore be taking immunosuppressants anyway. It’s true that you wouldn’t do this unless they were alr
54.
▲
by
heisenzombie
2y ago
Scene: A busy London street. A young man has an altercation with a chip-shop owner about insufficiently soggy potato. He storms out of the shop, and walks straight into traffic where he is killed by a cyber-taxi. Several hundred nearby CCTV
55.
▲
by
heisenzombie
2y ago
Fascinating, I wonder if we'll get non-textual hidden reasoning tokens? "Let me draw myself a diagram".
56.
▲
by
heisenzombie
2y ago
It’s quite easy to spend 30k+ per license for some kinds of finite-element analysis software, particularly if you want lots of multi-physics capabilities (COMSOL) or it’s targeting some niche (superconducting quench analysis, some kinds of
57.
▲
by
heisenzombie
2y ago
Yes I think I probably saw/read Feynman retelling the story. And yes, where’s all the antimatter, right!?
58.
▲
by
heisenzombie
2y ago
Of course you’re right about photons!
59.
▲
by
heisenzombie
2y ago
I think you might mean the one _electron_ conjecture. It’s fun because you have anti-electrons whose Feynman diagrams look like electrons going backwards in time. So you could conceivably be observing the tangled world line of a single elec
60.
▲
by
heisenzombie
2y ago
I think this is a very enlightened way to understand things. We have many models of reality available to us (whether we're talking "statistical mechanics" or "quantum chromodynamics" or "chakra energies").
More ›