Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
penteract
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
penteract
2y ago
You might live in a world where the host doesn't want to give you the car, and only opens a door and offers you the option of switching if your first choice was the door with the car behind it. In that world, you shouldn't switch.
62.
▲
by
penteract
2y ago
> And in this particular instance, it makes sense to switch. Are you are accepting that the host might be someone who only opens a door with a goat when your first choice was the door with a car behind it, and still arguing that you shou
63.
▲
by
penteract
2y ago
Diagonal player movement isn't allowed (from the looks of the article), but wall connections can be diagonal. There's a duality here - if players and enemies could move diagonally, the algorithm could be adapted by only considerin
64.
▲
by
penteract
2y ago
Unless I'm missing something, this can be done in O(n) time by tracking the connected components of wall (diagonally touching walls are connected). Placing a new wall creates an enclosed region if and only if it touches 2 separated sec
65.
▲
by
penteract
2y ago
Your conclusion is right, but in bees, sex is determined by Haplodiploidy ( https://en.wikipedia.org/wiki/Haplodiploidy ), not X0. Also, the daughters have the same number of chromosomes as the mother so they share 50%
66.
▲
by
penteract
2y ago
Here's how to formulate the question in continuous space/time: Random walks can be defined on continuous space and time as a probability distribution on functions R -> R^n (Brownian motion in n dimensions). We can then ask whet
67.
▲
by
penteract
2y ago
Each element of the input array is at least 4 bytes, bringing it to 8GiB.
68.
▲
by
penteract
2y ago
Having made my own forays into making a structural editor, I'd like to sing the praises of plain text: storing something that has been created by pressing buttons at a keyboard as something very close to the sequence of buttons that ha
69.
▲
by
penteract
2y ago
With 2 clean buttons, there are 4x2 ways for only 1 to repeat, giving 14 combinations in total.
70.
▲
by
penteract
2y ago
I've encountered a Matrix server/Element client that doesn't always present the same options for providers, making it very difficult to log in on a second machine.
71.
▲
by
penteract
2y ago
I believe it's not that collisions (and gravitational interactions) don't happen when it's in a disk, but the galaxy as a whole has an overall rotational momentum about some axis, and collisions within the galaxy can't c
72.
▲
by
penteract
2y ago
The relevant part being near the bottom: > These images are a composite of separate exposures acquired by the James Webb Space Telescope using the MIRI instrument. Several filters were used to sample wide wavelength ranges. The color
73.
▲
by
penteract
2y ago
I think that was intended to be read as "how all wars must end" rather than "because all wars must end".
74.
▲
by
penteract
2y ago
Such a waste of faces :). Give a tetrahedron's faces 0,1,2, and 4 pips and throw it into a v-shaped groove so that it lands on an edge. (This is also a solution to numbering the corners of a cube).
75.
▲
by
penteract
2y ago
I'd add that "waters" doesn't need to mean more than one body of water. It can be used somewhat poetically to refer to water in a single body. First example I could find: https://biblehub.com/joshua/
76.
▲
by
penteract
2y ago
Doesn't most geothermal heat come from radioactive decay and gravitational potential energy of the planet as it formed, rather than reactions involving multiple particles? I'd have agreed if you'd said "radioactive subst
77.
▲
by
penteract
2y ago
Some earlier blog posts by the same author give more detail. https://www.sligocki.com/2021/07/17/bb-collatz.html is one that covers the analysis of a particular machine in great detail, including explaining w
78.
▲
by
penteract
2y ago
> Human morality has no meaning if humans aren't special. What part of this argument would fail if you identified as a belonging to a particular religion, culture or race, or as an intelligent being more than you identified as human
79.
▲
by
penteract
2y ago
I think you've got the first claim wrong - for a church numeral N, (N b g f) appears to give the composition of g and f with f taking N arguments. 2 b = (λf x.f (f x)) b ~> λx.b(b x) = λx.(λgfy.(g (f y))) (λab
80.
▲
by
penteract
2y ago
Does "remits" mean reduces here, along the lines of https://en.wikipedia.org/wiki/Remittitur ? It was an unfamiliar term to me and I'm not sure I've found the right meaning.
81.
▲
by
penteract
2y ago
> what about the billions of uneducated rural people today that get along fine without treated water and don't drink wine or beer? Less than 1 billion now without reliable nearby access to clean water[0], and "get along fine&qu
82.
▲
by
penteract
2y ago
Germ theory wasn't widespread throughout the time period we're talking about, so they wouldn't have been able to give the reasoning that we would about why clean water is important or how alcohol acts as a disinfectant. Howev
83.
▲
by
penteract
2y ago
That's something that's different between X11 and Wayland - in Wayland, windows are responsible for their own decoration (I presume Xwayland handles decoration for X11 windows running through Wayland). This makes it quite a bit ha
84.
▲
by
penteract
2y ago
Nice find, I think it would.
85.
▲
by
penteract
2y ago
For that example, I think you could do s n a' k e -> ā s n ā k e' -> NULL although that would also change "snāke" to "snāk", which is not quite what you asked for. I don't think there&#x
86.
▲
by
penteract
2y ago
Here's a tested version that, given text containing only lower case letters, backslash and double quote, capitalizes the letters between quotes and handles escaping reasonably. (works with NotoSans-Regular.ttf) @Char = [a-z quote
87.
▲
by
penteract
2y ago
I'm not the person you're replying to, but it looks like it's possible to carry around a finite state machine, hence get the power of regular expressions (with caveats). I made an example that should highlight quoted text: h
88.
▲
by
penteract
2y ago
I think the author has underestimated the power of the substitution rules - it looks like it should be possible to drag a state machine along, hence recognise any regular language. Something like the following should handle quoted strings (
89.
▲
by
penteract
2y ago
> It feels like an arbitrary social more. I wouldn't say it's arbitrary - the person in the center needs more support and probably has other things demanding their attention. Speaking from personal experience, it can be a relie
90.
▲
by
penteract
2y ago
They discuss trying to separate period effects (which would include improvements in detection) from cohort effects. Here's what they say about it: > To evaluate birth cohort trends in cancer rates, adjusted for age and period effect
More ›