<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: yshklarov</title><link>https://news.ycombinator.com/user?id=yshklarov</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 19 Apr 2026 02:22:40 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=yshklarov" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[You don't have to if you don't want to]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.scottsmitelli.com/articles/you-dont-have-to/">https://www.scottsmitelli.com/articles/you-dont-have-to/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47200641">https://news.ycombinator.com/item?id=47200641</a></p>
<p>Points: 9</p>
<p># Comments: 1</p>
]]></description><pubDate>Sat, 28 Feb 2026 21:48:57 +0000</pubDate><link>https://www.scottsmitelli.com/articles/you-dont-have-to/</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=47200641</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47200641</guid></item><item><title><![CDATA[New comment by yshklarov in "Ask HN: What are some good unintuitive statistics problems?"]]></title><description><![CDATA[
<p>It sounds like you're looking for problems in probability theory (rather than statistics). I don't have anything specific for you but you might have better luck searching for problems, puzzles, and examples in probability. For instance:<p><a href="https://math.stackexchange.com/questions/2140493/counterintuitive-examples-in-probability" rel="nofollow">https://math.stackexchange.com/questions/2140493/counterintu...</a></p>
]]></description><pubDate>Sun, 25 Jan 2026 00:00:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=46749086</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=46749086</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46749086</guid></item><item><title><![CDATA[New comment by yshklarov in "Why does a least squares fit appear to have a bias when applied to simple data?"]]></title><description><![CDATA[
<p>It has nothing to do with being easier to work with (at least, not in this day and age). The biggest reason is that minimizing sum of squares of residuals gives the maximum likelihood estimator if you assume that the error is iid normal.<p>If your model is different (y = Ax + b + e where the error e is <i>not</i> normal) then it could be that a different penalty function is more appropriate. In the real world, this is actually very often the case, because the error can be long-tailed. The power of 1 is sometimes used. Also common is the Huber loss function, which coincides with e^2 (residual squared) for small values of e but is linear for larger values. This has the effect of putting less weight on outliers: it is "robust".<p>In principle, if you knew the distribution of the noise/error, you could calculate the correct penalty function to give the maximum likelihood estimate. More on this (with explicit formulas) in Boyd and Vandenberghe's "Convex Optimization" (freely available on their website), pp. 352-353.<p>Edit: I remembered another reason. Least squares fits are also popular because they are what is required for ANOVA, a very old and still-popular methodology for breaking down variance into components (this is what people refer to when they say things like "75% of the variance is due to <predictor>"). ANOVA is fundamentally based on the pythagorean theorem, which lives in Euclidean geometry and requires squares. So as I understand it ANOVA demands that you do a least-squares fit, even if it's not really appropriate for the situation.</p>
]]></description><pubDate>Mon, 05 Jan 2026 03:35:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=46495085</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=46495085</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46495085</guid></item><item><title><![CDATA[New comment by yshklarov in "Ask HN: What is better to use lead-free/leaded solder?"]]></title><description><![CDATA[
<p>We have no evidence that the lead in solder makes its way into the body of the person doing the soldering (and we've been at this for quite some time!). The concerns about lead in solder are due to the environmental hazards of electronics waste, and the hazards associated with mining and smelting lead.</p>
]]></description><pubDate>Wed, 03 Dec 2025 18:52:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=46138401</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=46138401</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46138401</guid></item><item><title><![CDATA[Letter to a Young Person Worrying About AI]]></title><description><![CDATA[
<p>Article URL: <a href="https://commoncog.com/letter-to-a-young-person-worrying-about-ai/">https://commoncog.com/letter-to-a-young-person-worrying-about-ai/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=45646540">https://news.ycombinator.com/item?id=45646540</a></p>
<p>Points: 4</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 20 Oct 2025 17:23:16 +0000</pubDate><link>https://commoncog.com/letter-to-a-young-person-worrying-about-ai/</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=45646540</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45646540</guid></item><item><title><![CDATA[Etching silicon wafers to make colorful Rugate optical filters (2020) [video]]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.youtube.com/watch?v=iwj78pR46zM">https://www.youtube.com/watch?v=iwj78pR46zM</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=45135659">https://news.ycombinator.com/item?id=45135659</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 05 Sep 2025 06:50:00 +0000</pubDate><link>https://www.youtube.com/watch?v=iwj78pR46zM</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=45135659</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45135659</guid></item><item><title><![CDATA[New comment by yshklarov in "What Is the Fourier Transform?"]]></title><description><![CDATA[
<p>Really, do you think they've somehow fallen out of favor? If so, that's a surprise to me.<p>In any case, they are a bit more advanced, and out of scope for the undergraduate course I linked to.</p>
]]></description><pubDate>Fri, 05 Sep 2025 06:15:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=45135480</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=45135480</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45135480</guid></item><item><title><![CDATA[New comment by yshklarov in "What Is the Fourier Transform?"]]></title><description><![CDATA[
<p>As everyone in this thread is sharing links, I'm gonna pitch in, too.<p>This lecture by Dennis Freeman from MIT 6.003 "Signals and Systems" gives an intuitive explanation of the connections between the four popular Fourier transforms (the Fourier transform, the discrete Fourier transform, the Fourier series, and the discrete-time Fourier transform):<p><a href="https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/resources/lecture-19-relations-among-fourier-representations/" rel="nofollow">https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2...</a></p>
]]></description><pubDate>Fri, 05 Sep 2025 00:15:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=45133701</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=45133701</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45133701</guid></item><item><title><![CDATA[New comment by yshklarov in "What Is the Fourier Transform?"]]></title><description><![CDATA[
<p>I love the visualization! Thanks for sharing.<p>How do you compute the fractional FT? My guess is by interpolating the DFT matrix (via matrix logarithm & exponential) -- is that right, or do you use some other method?</p>
]]></description><pubDate>Thu, 04 Sep 2025 23:48:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=45133539</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=45133539</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45133539</guid></item><item><title><![CDATA[New comment by yshklarov in "Minesweeper thermodynamics"]]></title><description><![CDATA[
<p>That's pretty neat. I wonder how it works. It's not obvious to me at all how to build something like this, as the program doesn't know the sequence in which the player will reveal the tiles.<p>I also once made my own variant of this (just like  
gregfjohnson's idea): A "lucky minesweeper" where luck can be toggled on/off at any point during the game: <a href="https://github.com/yshklarov/minesweeper" rel="nofollow">https://github.com/yshklarov/minesweeper</a></p>
]]></description><pubDate>Thu, 04 Sep 2025 08:46:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=45125097</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=45125097</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45125097</guid></item><item><title><![CDATA[New comment by yshklarov in "The Qweremin"]]></title><description><![CDATA[
<p>For those who don't recognize the name: Linus Åkesson (lft) is the one who made "Nine", that C64 demo with the wizard and nine sprites that was popular a few months ago (<a href="https://news.ycombinator.com/item?id=42940553">https://news.ycombinator.com/item?id=42940553</a>).</p>
]]></description><pubDate>Mon, 01 Sep 2025 05:18:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=45089688</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=45089688</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45089688</guid></item><item><title><![CDATA[New comment by yshklarov in "Why Pascal is not my favorite programming language (1981) [pdf]"]]></title><description><![CDATA[
<p>Apparently, this is a game that two can play. Niklaus Wirth, the creator of Pascal, had this to say in turn:<p>"From the point of view of software engineering, the rapid spread of C represented a great leap backward. It revealed that the community at large had hardly grasped the true meaning of the term “high-level language” which became an ill-understood buzzword."<p>Source: Niklaus Wirth, <i>A Brief History of Software Engineering</i>, 2008 (<a href="https://people.inf.ethz.ch/wirth/Miscellaneous/IEEE-Annals.pdf" rel="nofollow">https://people.inf.ethz.ch/wirth/Miscellaneous/IEEE-Annals.p...</a>)</p>
]]></description><pubDate>Sun, 13 Apr 2025 23:37:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=43676681</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=43676681</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43676681</guid></item><item><title><![CDATA[New comment by yshklarov in "Most of the World Can't Code"]]></title><description><![CDATA[
<p>This is by no means unique to programming. Many areas of knowledge are less accessible to those who don't speak English, and much more so to those who don't speak any of the dozen major languages. Because of this, many people will simply learn (enough) English. It's not such a big deal.<p>In my view, having a single lingua franca is nice. It better facilitates knowledge transfer. I wouldn't want to see a fracturing where each area of knowledge (or, say, every specialization/application programming) is best treated in a distinct linguistic community. That would be bad for everyone.</p>
]]></description><pubDate>Mon, 17 Mar 2025 19:41:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=43392045</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=43392045</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43392045</guid></item><item><title><![CDATA[New comment by yshklarov in "Sky-scanning complete for Gaia"]]></title><description><![CDATA[
<p>To nitpick with the grammar in the quote: It's capable of measuring to the accuracy of 120 μm at 1000 km. So it cannot accurately measure the diameter of a human hair (which ranges from around 20 to 200 μm) at that distance, but only <i>to the accuracy</i> of a human hair.</p>
]]></description><pubDate>Wed, 15 Jan 2025 18:25:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=42714931</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=42714931</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42714931</guid></item><item><title><![CDATA[New comment by yshklarov in "The Missing Nvidia GPU Glossary"]]></title><description><![CDATA[
<p>Not at all -- the usability and design are fantastic! (On desktop, at least.)<p>What, specifially, do you find awful here?</p>
]]></description><pubDate>Tue, 14 Jan 2025 21:57:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=42704468</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=42704468</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42704468</guid></item><item><title><![CDATA[New comment by yshklarov in "The CAP theorem of Clustering: Why Every Algorithm Must Sacrifice Something"]]></title><description><![CDATA[
<p>If different components of the dataset have different units, I would argue that it is a prerequisite of clustering to first specify the relative importance of each particular unit (thereby putting all units on the same scale). Otherwise, there's no way the clustering algorithm could possibly know what to in certain cases (such as the ::: example).<p>It's true that there is no <i>intrinsic</i> meaning to the scale, but you must specify at least a relative scale -- how you want to compare (or weigh) different units -- before you can meaningfully cluster the data. Clustering can only work on dimensionless data.</p>
]]></description><pubDate>Fri, 27 Dec 2024 18:16:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=42524541</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=42524541</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42524541</guid></item><item><title><![CDATA[New comment by yshklarov in "The CAP theorem of Clustering: Why Every Algorithm Must Sacrifice Something"]]></title><description><![CDATA[
<p>Actually, scale-invariance only refers to scaling <i>all dimensions by the same scalar</i> (this is more clearly specificed in the paper linked by the article, page 3). For arbitrary scaling on <i>each</i> coordinate, of course you're correct, it's impossible to have a clustering algorithm that is invariant for such transformations (e.g., the 6-point group ::: may look like either 2 or 3 clusters, depending on whether it's stretched horizontally or vertically).<p>As for your last two points, I believe I agree! It seems that in the counterexample you give for consistency, some notion of scale-invariance is implicitly assumed -- perhaps this connection plays some role in the theorem's proof (which I haven't read).<p>This reminds me a bit of Arrow's impossibility theorem for voting, which similarly has questionable premises.</p>
]]></description><pubDate>Fri, 27 Dec 2024 00:38:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=42519025</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=42519025</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42519025</guid></item><item><title><![CDATA[New comment by yshklarov in "Discrete Mathematics – An Open Introduction, 4th edition"]]></title><description><![CDATA[
<p>> This tells me a lot about how a teacher thinks of students.<p>This is quite an uncharitable perspective!</p>
]]></description><pubDate>Tue, 20 Aug 2024 09:22:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=41298301</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=41298301</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41298301</guid></item><item><title><![CDATA[New comment by yshklarov in "Discrete Mathematics – An Open Introduction, 4th edition"]]></title><description><![CDATA[
<p>I wouldn't count on it -- LLMs make lots of errors in reasoning, and errors in solutions are very frustrating to most math students.</p>
]]></description><pubDate>Sat, 17 Aug 2024 03:40:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=41272076</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=41272076</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41272076</guid></item><item><title><![CDATA[New comment by yshklarov in "Discrete Mathematics – An Open Introduction, 4th edition"]]></title><description><![CDATA[
<p>Not providing solutions is quite common in math textbooks, in part because professors (including the author!) want to be able to assign problems from the textbook to their class, and in part because making solutions is a lot of work!<p>Outside of a classroom setting, the way you learn from a textbook without external feedback is by engaging more actively with the material.<p>Treat each statement in the main text as an informal exercise. Each time you come across a proposition -- whether it's a formal theorem statement or a claim in the body of the exposition -- try proving or otherwise justifying it to yourself before reading on.<p>Take a look at Theorems 2.3.1 and 2.3.2 -- they are very similar. Once you have absorbed the proof of 2.3.1, you can attempt 2.3.2 on your own. If you can't finish the proof, you can read a couple of sentences from the included proof for "hints"... or, if you do finish a proof, you can compare it to the proof in the text.<p>If you read actively enough, you can learn the material quite well without doing <i>any</i> problems. Many people will claim that you need to do formal problems in order to learn math, but this is untrue. Many math textbooks at the higher level don't include formal exercises or problems at all, and people learn from them just fine.<p>Admittedly, reading mathematics is a skill in its own right, and you shouldn't expect it to come easily right away. Of course, the best thing is to have a one-on-one teacher, but few of us are so lucky.</p>
]]></description><pubDate>Sat, 17 Aug 2024 03:37:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=41272069</link><dc:creator>yshklarov</dc:creator><comments>https://news.ycombinator.com/item?id=41272069</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41272069</guid></item></channel></rss>