<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: pfedak</title><link>https://news.ycombinator.com/user?id=pfedak</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 05 Sep 2026 10:42:15 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=pfedak" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by pfedak in "New type of dice guarantees no tie when deciding who goes first"]]></title><description><![CDATA[
<p>You're saying you knew the thing you wrote for n=3 specifically was wrong and just wanted someone else to confirm? I don't know man, I'm not really buying it. I think you did the classic dismissive nerd thing[1] and hedged it like this for plausible deniability.<p>I don't get the gotcha you're trying to do. Yes, the simple pattern you posted can be extended, but it has very little to do with the problem. If you had suggested [1,2,3] [4,5,6] [7,8,9] worked I would still have made my comment; I think the fact that you found a pattern that could be extended easily should have itself been a counter-indicator. Compare with something like the Fano plane[2].<p>I would want you to take away from this that posting the thing you came up with in "20 seconds" isn't as neutral a contribution to conversation as you thought. Things are often complicated and worth engaging with. It would have been cool if you kept going far enough to see there's a nice argument that it's actually impossible to solve it with n-sided dice for n people if n>2.<p>[1] <a href="https://xkcd.com/793/" rel="nofollow">https://xkcd.com/793/</a>
[2] <a href="https://en.wikipedia.org/wiki/Combinatorial_design" rel="nofollow">https://en.wikipedia.org/wiki/Combinatorial_design</a></p>
]]></description><pubDate>Fri, 04 Sep 2026 10:03:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=49562564</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=49562564</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49562564</guid></item><item><title><![CDATA[New comment by pfedak in "New type of dice guarantees no tie when deciding who goes first"]]></title><description><![CDATA[
<p>You might want to check that your proposed solution works at all before suggesting the problem is trivial. What's the probability that the first die goes first with your numbers?<p>You also can't generally "and so on" constrained combinatorial arrangements like this.</p>
]]></description><pubDate>Fri, 04 Sep 2026 01:26:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=49559397</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=49559397</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49559397</guid></item><item><title><![CDATA[New comment by pfedak in "Why the US Navy won't blast the Iranians and 'open' Strait of Hormuz"]]></title><description><![CDATA[
<p>I believe they are mixing it up with The Guns of August (published in 1962, also by Tuchman), which JFK was fond of and supposedly drew on during the Cuban missile crisis.</p>
]]></description><pubDate>Tue, 31 Mar 2026 22:44:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=47594454</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=47594454</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47594454</guid></item><item><title><![CDATA[New comment by pfedak in "I don't like curved displays"]]></title><description><![CDATA[
<p>This is nonsense, at least in part because it's mixing two different ideas. The notion that the image "looks exactly the same as how it originally appeared" is only true when one of your eyes is positioned exactly where the camera sensor would have been, which requires a specific distance away from the screen.<p>Lines in 3D remaining straight in a photo is unrelated and not actually demonstrated by the image. I'm having trouble imagining why this matters - you're trying to find the intersection of two lines in an image without drawing anything?</p>
]]></description><pubDate>Fri, 12 Sep 2025 16:55:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=45224129</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=45224129</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45224129</guid></item><item><title><![CDATA[New comment by pfedak in "The Ski Rental Problem"]]></title><description><![CDATA[
<p>Another aspect of the solution that makes it rather abstract is it effectively assumes we know nothing about the distribution of the number of days.<p>Paying at 1/2 will be optimal if it ends before you buy, very bad (3x optimal) if it ends right after you buy, and slightly better than the solution in the post if it lasts at least twice that long (1.5x optimal vs e/(e-1)).<p>The metric in the post is just the worst of those ratios. Assuming the unproven statement in the post (that the solution which is a constant factor worse than optimal is best), any solution of the form you suggest is going to have similar tradeoffs. If we had a distribution, we could choose.</p>
]]></description><pubDate>Sun, 03 Aug 2025 15:50:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=44777389</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=44777389</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44777389</guid></item><item><title><![CDATA[New comment by pfedak in "Derivation and Intuition behind Poisson distribution"]]></title><description><![CDATA[
<p>If it wasn't clear, their statements are all true when the events follow a poisson distribution/have exponentially distributed waiting times.</p>
]]></description><pubDate>Sat, 03 May 2025 04:11:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=43876808</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=43876808</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43876808</guid></item><item><title><![CDATA[New comment by pfedak in "108B Pixel Scan of Johannes Vermeer's Girl with a Pearl Earring"]]></title><description><![CDATA[
<p>The main image is all at the same 90x level, and those buttons just zoom in (more or less) all the way on the points, while the "140x" are separate scan patches at higher magnification (though the real point is they have 3D/height data, too).</p>
]]></description><pubDate>Thu, 01 May 2025 03:47:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=43853487</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=43853487</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43853487</guid></item><item><title><![CDATA[New comment by pfedak in "They Might Be Giants Flood EPK Promo (1990) [video]"]]></title><description><![CDATA[
<p><a href="https://tmbw.net/wiki/Shows/1992-07-23" rel="nofollow">https://tmbw.net/wiki/Shows/1992-07-23</a><p>sounds like the concert in question</p>
]]></description><pubDate>Thu, 27 Mar 2025 17:06:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=43495624</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=43495624</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43495624</guid></item><item><title><![CDATA[New comment by pfedak in "Studies correlating IQ to genius are mostly bad science"]]></title><description><![CDATA[
<p>That isn't at all what the central limit theorem says. The whole point is it holds independent of the actual shape of distribution of the population. You could use the same argument to say social security numbers are normally distributed.<p>One way to explain things like height being normally distributed is that there are a bunch of independent factors which contribute, and the central limit theorem applied to those factors would then suggest the observed variable looking normal-ish.</p>
]]></description><pubDate>Sun, 23 Feb 2025 04:49:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=43146650</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=43146650</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43146650</guid></item><item><title><![CDATA[New comment by pfedak in "Visualizing all books of the world in ISBN-Space"]]></title><description><![CDATA[
<p>The nice thing about deciding on a distance metric is that it gives you both a path (geodesics) and the speed, and if you trust your distance metric it should be perceptually constant velocity. I agree it's non-euclidean, I think the hyperbolic geometry description works pretty well (and has the advantage of well-studied geodesics).<p>I did finally find the duration logic when I was trying to recreate the path, I made this shader to try to compare:
<a href="https://www.shadertoy.com/view/l3KBRd" rel="nofollow">https://www.shadertoy.com/view/l3KBRd</a></p>
]]></description><pubDate>Sun, 02 Feb 2025 17:18:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=42910015</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=42910015</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42910015</guid></item><item><title><![CDATA[New comment by pfedak in "Visualizing all books of the world in ISBN-Space"]]></title><description><![CDATA[
<p>Actually playing around with it the behavior was very different from what I expected - there was much more zooming. Turns out I missed some parts of the zoom code:<p>Their zoom actually <i>is</i> my "y" rather than a scale factor, so the metric is ds^2 = dy^2 + (C-y)^2 dx^2 where C is a bit more than the maximal zoom level. There is some special handling for cases where their curve would want to zoom out further.<p>Normalizing to the same cost to pan all the way zoomed out (zoom=1), their cost for panning is basically flat once you are very zoomed in, and more than the hyperbolic model when relatively zoomed out. I think this contributes to short distances feeling like the viewport is moving very fast (very little advantage to zooming out) vs basically zooming out all the way over larger distances (intermediate zoom levels are penalized, so you might as well go almost all the way).</p>
]]></description><pubDate>Sun, 02 Feb 2025 01:07:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=42904465</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=42904465</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42904465</guid></item><item><title><![CDATA[New comment by pfedak in "Visualizing all books of the world in ISBN-Space"]]></title><description><![CDATA[
<p>I think you can reasonably think about the flight path by modeling the movement on the hyperbolic upper half plane (x would be the position along the linear path between endpoints, y the side length of the viewport).<p>I considered two metrics that ended up being equivalent. First, minimizing loaded tiles assuming a hierarchical tiled map. The cost of moving x horizontally is just x/y tiles, using y as the side length of the viewport. Zooming from y_0 to y_1 loads abs(log_2(y_1/y_0)) tiles, which is consistent with ds = dy/y. Together this is just ds^2 = (dx^2 + dy^2)/y^2, exactly the upper-half-plane metric.<p>Alternatively, you could think of minimizing the "optical flow" of the viewport in some sense. This actually works out to the same metric up to scaling - panning by x without zooming, everything is just displaced by x/y (i.e. the shift as a fraction of the viewport). Zooming by a factor k moves a pixel at (u,v) to (k*u,k*v), a displacement of (u,v)*(k-1). If we go from a side length of y to y+dy, this is (u,v)*dy/y, so depending how exactly we average the displacements this is some constant times dy/y.<p>Then the geodesics you want are just the horocycles, circles with centers at y=0, although you need to do a little work to compute the motion along the curve. Once you have the arc, from θ_0 to θ_1, the total time should come from integrating dtheta/y = dθ/sin(θ), so to be exact you'd have to invert t = ln(csc(θ)-cot(θ)), so it's probably better to approximate. edit: mathematica is telling me this works out to θ = atan2(1-2*e^(2t), 2*e^t) which is not so bad at all.<p>Comparing with the "blub space" logic, I think the effective metric there is ds^2 = dz^2 + (z+1)^2 dx^2, polar coordinates where z=1/y is the zoom level, which (using dz=dy/y^2) works out to ds^2 = dy^2/y^4 + dx^2*(1/y^2 + ...). I guess this means the existing implementation spends much more time panning at high zoom levels compared to the hyperbolic model, since zooming from 4x to 2x costs twice as much as 2x to 1x despite being visually the same.</p>
]]></description><pubDate>Sat, 01 Feb 2025 22:40:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=42903194</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=42903194</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42903194</guid></item><item><title><![CDATA[New comment by pfedak in "Two auto-braking systems can't see people in reflective garb: report"]]></title><description><![CDATA[
<p>the chart in the streetsblog article puts some values in the wrong boxes, too. pathetic</p>
]]></description><pubDate>Tue, 14 Jan 2025 22:32:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=42704869</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=42704869</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42704869</guid></item><item><title><![CDATA[New comment by pfedak in "Two auto-braking systems can't see people in reflective garb: report"]]></title><description><![CDATA[
<p>you're reading the table correctly but it's been reproduced incorrectly and had its title removed from the original source <a href="https://www.iihs.org/news/detail/high-visibility-clothing-may-thwart-pedestrian-crash-prevention-sensors" rel="nofollow">https://www.iihs.org/news/detail/high-visibility-clothing-ma...</a><p>i'm not clear from that how many trials were run for each test condition, but the percentage is average speed reduction, not a chance for binary hit/not hit. edit: the paper pdf says up to three trials each.</p>
]]></description><pubDate>Tue, 14 Jan 2025 22:24:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=42704784</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=42704784</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42704784</guid></item><item><title><![CDATA[New comment by pfedak in "30% drop in O1-preview accuracy when Putnam problems are slightly variated"]]></title><description><![CDATA[
<p>You're misreading the solution, the first part reads n=1, a trivial special case, not n congruent to 1 mod 4.<p>The statement doesn't hold for e.g. n=5. Taking m=2 gives the permutation (1 2 4 3), which is odd, and thus cannot have a square root.</p>
]]></description><pubDate>Wed, 01 Jan 2025 16:27:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=42567001</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=42567001</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42567001</guid></item><item><title><![CDATA[New comment by pfedak in "A Hamiltonian Circuit for Rubik's Cube"]]></title><description><![CDATA[
<p>Wikipedia (citing a book on archive.org but no page number) [1] claims the largest order of an element of the Rubik's cube group is only 1260, so the simple repetition strategy would have to have a repeated unit way too long to be practical. (It sounds like you could potentially get a longer sequence if you allow "rotating the cube" as a move vs just turning the sides, though probably not enough to matter)<p>The linked circuit does have a repeating pattern like this at its core, and visits entire cosets of a subgroup at a time (presumably the same way each time) so it seems like there's already a bit more structure than a random 200MB file.<p><a href="https://en.wikipedia.org/wiki/Rubik%27s_Cube_group#Group_structure" rel="nofollow">https://en.wikipedia.org/wiki/Rubik%27s_Cube_group#Group_str...</a></p>
]]></description><pubDate>Mon, 04 Nov 2024 18:03:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=42044286</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=42044286</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42044286</guid></item><item><title><![CDATA[New comment by pfedak in "What happens when you make a move in lichess.org?"]]></title><description><![CDATA[
<p>This looks like the relevant fix:
<a href="https://github.com/lichess-org/scalachess/pull/154">https://github.com/lichess-org/scalachess/pull/154</a><p>(the broken code checked that the only pieces on the king's path to its new position were kings and rooks of the appropriate color)</p>
]]></description><pubDate>Wed, 23 Oct 2024 20:28:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=41928998</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=41928998</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41928998</guid></item><item><title><![CDATA[New comment by pfedak in "Beating the L1 cache with value speculation (2021)"]]></title><description><![CDATA[
<p>The example is poorly chosen in terms of practicality for this reason, but otherwise, no, this is a poor summary that misses something interesting.<p>The memory layout isn't changing in the faster versions, and there are no additional cache misses. It's easy to convince yourself that the only difference between the naive linked list and assuming linear layout is the extra pointer load - but TFA shows this is false! The execution pipeline incurs extra costs, and you can influence it.</p>
]]></description><pubDate>Fri, 12 Jul 2024 18:45:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=40948278</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=40948278</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40948278</guid></item><item><title><![CDATA[New comment by pfedak in "Group actions and hashing unordered multisets (2021)"]]></title><description><![CDATA[
<p>The "neat result" article linked at the top has some of the missing math: <a href="https://kevinventullo.com/2018/12/24/hashing-unordered-sets-how-far-will-cleverness-take-you/" rel="nofollow">https://kevinventullo.com/2018/12/24/hashing-unordered-sets-...</a><p>Restated, if abelian G acts transitively on a set X, X and G have the same size. There's a tacit assumption, then, that you want as many possible states as possible, which the group action result immediately belies.<p>I'm not sure the author of TFA really thought through the implications of the "block" stuff, all of the conclusions feel pretty uninspiring. The elliptic curve solution is just taking G to be cyclic with prime order (smaller than 2^n). This avoids some pathological behavior that power-of-two abelian groups give you for the multi-set use case - collision probabilities are sort of bunched up around power-of-two multiples, with some unlucky hashes having extremely low order and e.g. adding two of an element <i>doubling</i> the number of potential collisions.</p>
]]></description><pubDate>Wed, 26 Jun 2024 23:06:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=40805574</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=40805574</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40805574</guid></item><item><title><![CDATA[New comment by pfedak in "Unending bubble wrap: a pointless activity to spend a few satisfying minutes"]]></title><description><![CDATA[
<p>reminiscent of <a href="http://www.koalastothemax.com/" rel="nofollow">http://www.koalastothemax.com/</a> (although more mobile friendly, as koalas is mouseover based)</p>
]]></description><pubDate>Sun, 24 Mar 2024 13:46:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=39807195</link><dc:creator>pfedak</dc:creator><comments>https://news.ycombinator.com/item?id=39807195</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39807195</guid></item></channel></rss>