<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: paulfharrison</title><link>https://news.ycombinator.com/user?id=paulfharrison</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 19 Aug 2026 13:09:28 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=paulfharrison" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by paulfharrison in "Python Polars Cheatsheet (based on our O'Reilly book)"]]></title><description><![CDATA[
<p>Nice. This is close enough to an R level of brevity, without any R dark magic.<p>Would be a great addition to the cheatsheet.</p>
]]></description><pubDate>Wed, 19 Aug 2026 02:06:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=49355664</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=49355664</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49355664</guid></item><item><title><![CDATA[New comment by paulfharrison in "Python Polars Cheatsheet (based on our O'Reilly book)"]]></title><description><![CDATA[
<p>I'm sure Polars is great, but I can't get over needing 10 characters of ceremony every time I want to refer to a column in a data frame.<p>pl.col("...")</p>
]]></description><pubDate>Tue, 18 Aug 2026 20:15:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=49352015</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=49352015</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49352015</guid></item><item><title><![CDATA[New comment by paulfharrison in "Most tech revolutions made work worse for employees"]]></title><description><![CDATA[
<p>A comment by Norbert Wiener on translation machines (published 1993 but written somewhat earlier in "Invention: The Care and Feeding of Ideas"):<p>"Thus the effect of the machine of this sort in intellectual work may be to decrease the number of first class brains needed but to increase, and greatly increase, the demands made on these brains."</p>
]]></description><pubDate>Tue, 04 Aug 2026 23:11:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=49176557</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=49176557</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49176557</guid></item><item><title><![CDATA[New comment by paulfharrison in "LLMs are not the black box you were promised"]]></title><description><![CDATA[
<p>It's nice to see sparse interpretable LLMs being made.<p>This is similar to factor rotation in factor analysis (or PCA). A varimax rotation, for example, can produce an equivalent factor analysis with sparse loadings, and which is generally more interpretable. Fortunately for us the world is not just a complete mess, and sparse loadings can often be found. There seem to be "natural" concepts that we have observed rather than invented.<p>(Many examples in other simple machine learning methods too, I am sure.)</p>
]]></description><pubDate>Wed, 03 Jun 2026 01:44:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=48378779</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=48378779</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48378779</guid></item><item><title><![CDATA[New comment by paulfharrison in "Commenting and approving pull requests"]]></title><description><![CDATA[
<p>This advice can also be applied to PhD thesis examinations and paper reviews.</p>
]]></description><pubDate>Sat, 25 Apr 2026 23:03:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=47905470</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=47905470</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47905470</guid></item><item><title><![CDATA[New comment by paulfharrison in "Ask HN: Easiest UX for Seniors"]]></title><description><![CDATA[
<p>My dad is in his 80s. He keeps careful notes on how to use devices like tablets and TVs. There might be a touch of engineer-brain at work here, but the struggle is very real. He generally wouldn't take in all of the text and symbols on a screen if there is a lot of going on, or might get hung up on the wrong parts of it. He generally wouldn't find a modern interface at all "intuitive".<p>Any change to an interface is going to disrupt this, so one thing would be to change the interface only very rarely and carefully.</p>
]]></description><pubDate>Wed, 15 Apr 2026 03:23:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=47774326</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=47774326</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47774326</guid></item><item><title><![CDATA[New comment by paulfharrison in "Why does a least squares fit appear to have a bias when applied to simple data?"]]></title><description><![CDATA[
<p>For linear models, least squares leads to the BLUE estimator: Best Linear Unbiassed Estimator. This acronym is doing a lot of work with each of the words having a specific technical meaning.<p>Fitting the model is also "nice" mathematically. It's a convex optimization problem, and in fact fairly straightforward linear algebra. The estimated coefficients are linear in y, and this also makes it easy to give standard errors and such for the coefficients!<p>Also, this is what you would do if you were doing Maximum Likelihood assuming Gaussian distributed noise in y, which is a sensible assumption (but not a strict assumption in order to use least squares).<p>Also, in a geometric sense, it means you are finding the model that puts its predictions closest to y in terms of Euclidean distance. So if you draw a diagram of what is going on, least squares seems like a reasonable choice. The geometry also helps you understand things like "degrees of freedom".<p>So, may overlapping reasons.</p>
]]></description><pubDate>Mon, 05 Jan 2026 03:29:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=46495050</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=46495050</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46495050</guid></item><item><title><![CDATA[New comment by paulfharrison in "Why does a least squares fit appear to have a bias when applied to simple data?"]]></title><description><![CDATA[
<p>A note mostly about terminology:<p>The least squares model will produce unbiassed predictions of y given x, i.e. predictions for which the average error is zero. This is the usual technical definition of unbiassed in statistics, but may not correspond to common usage.<p>Whether x is a noisy measurement or not is sort of irrelevant to this -- you make the prediction with the information you have.</p>
]]></description><pubDate>Sun, 04 Jan 2026 23:22:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=46493459</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=46493459</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46493459</guid></item><item><title><![CDATA[New comment by paulfharrison in "What's the deal with Euler's identity?"]]></title><description><![CDATA[
<p>535.491…^i = 1</p>
]]></description><pubDate>Fri, 05 Dec 2025 10:35:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=46159446</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=46159446</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46159446</guid></item><item><title><![CDATA[New comment by paulfharrison in "Python is not a great language for data science"]]></title><description><![CDATA[
<p>R is so good in part because of the efforts of people like Di Cook, Hadley Wickham, and Yihui Xie to create an software environment that they like working in.<p>It also helps that in R any function can completely change how its arguments are evaluated, allowing the tidyverse packages to do things like evaluate arguments in the context of a data frame or add a pipe operator as a new language feature. This is a very dangerous feature to put in the hands of statisticians, but it allows more syntactic innovation than is possible in Python.</p>
]]></description><pubDate>Tue, 25 Nov 2025 18:26:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=46048943</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=46048943</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46048943</guid></item><item><title><![CDATA[New comment by paulfharrison in "Show HN: Pyversity – Fast Result Diversification for Retrieval and RAG"]]></title><description><![CDATA[
<p>Producing a diverse list of results may still help in a couple of ways here.<p>* If there are a lot of lexical matches, real semantic matches may still be in the list but far down the list. A diverse set of, say, 20 results may have a better chance of including a semantic match than the top 20 results by some score.<p>* There might be a lot of semantic matches, but a vast majority of the semantic matches follow a particular viewpoint. A diverse set of results has a better chance of including the viewpoint that solves the problem.<p>Yes, semantic matching is important, but this is solving an orthogonal and complementary problem. Both are important.</p>
]]></description><pubDate>Sun, 19 Oct 2025 23:33:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=45638960</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=45638960</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45638960</guid></item><item><title><![CDATA[New comment by paulfharrison in "Microsoft Edit"]]></title><description><![CDATA[
<p>Here's a scenario. You're running a cluster, and your users are biologists producing large datasets. They need to run some very specific command line software to assemble genomes. They need to edit SLURM scripts over SSH. This is all far outside their comfort zone. You need to point them at a text editor, which one do you choose?<p>I've met biologists who enjoy the challenge of vim, but they are rare. nano does the job, but it's fugly. micro is a bit better, and my current recommendation. They are not perfect experiences out of the box. If Microsoft can make that out of the box experience better, something they are very good at, then more power to them. If you don't like Microsoft, make something similar.</p>
]]></description><pubDate>Wed, 25 Jun 2025 02:06:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=44373046</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=44373046</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44373046</guid></item><item><title><![CDATA[New comment by paulfharrison in "Virtual cells"]]></title><description><![CDATA[
<p>What a strange web page. Scrolling is thoroughly broken.<p>I recently went to a two day workshop on whole cell modelling. I'm still trying to work out how much of the exercise is fantasy. I get that some of the chemistry is well enough understood to simulate from the ground up, but there's so much more to it.<p>The oddest thing to me is the level of satisfaction in being able to run the model. I would think the model has to be very very fast, because of all the work that needs to be done with it to fit it to data and fully understand its behavior.</p>
]]></description><pubDate>Fri, 20 Jun 2025 09:54:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=44326165</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=44326165</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44326165</guid></item><item><title><![CDATA[New comment by paulfharrison in "Introduction to Stochastic Calculus"]]></title><description><![CDATA[
<p>Thanks for this. Despite the vintage this seems very clearly written, the introductory material on measure theory has already made it worthwhile for me.</p>
]]></description><pubDate>Tue, 25 Feb 2025 22:17:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=43178285</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=43178285</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43178285</guid></item><item><title><![CDATA[New comment by paulfharrison in "Introduction to Stochastic Calculus"]]></title><description><![CDATA[
<p>As others have said in various ways, start by fitting a survival model using glmnet.<p>That said, here are some folks trying to use SDEs to model cells, they even have a "dW" on their logo. This is a long way from predicting age of death, but it might eventually give insights into the exact mechanism. Also I think they're starting with bacteria and yeast, so mice might be a way off.<p><a href="https://macsys.org/" rel="nofollow">https://macsys.org/</a></p>
]]></description><pubDate>Tue, 25 Feb 2025 03:57:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=43168005</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=43168005</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43168005</guid></item><item><title><![CDATA[New comment by paulfharrison in "Introduction to Stochastic Calculus"]]></title><description><![CDATA[
<p>A further step is Langevin Dynamics, where the system has damped momentum, and the noise is inserted into the momentum. This can be used in molecular dynamics simulations, and it can also be used for Bayesian MCMC sampling.<p>Oddly, most mentions of Langevin Dynamics in relation to AI that I've seen omit the use of momentum, even though gradient descent with momentum is widely used in AI. To confuse matters further, "stochastic" is used to refer to approximating the gradient using a sub-sample of the data at each step. You can apply both forms of stochasticity at once if you want to!</p>
]]></description><pubDate>Mon, 24 Feb 2025 21:12:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=43164987</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=43164987</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43164987</guid></item><item><title><![CDATA[New comment by paulfharrison in "Fair Pricing"]]></title><description><![CDATA[
<p>It could also be that the aspect of personality that causes people to think Kagi is better also causes those people to buy it.</p>
]]></description><pubDate>Wed, 05 Feb 2025 19:25:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=42953761</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=42953761</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42953761</guid></item><item><title><![CDATA[New comment by paulfharrison in "Weierstrass's Monster"]]></title><description><![CDATA[
<p>Brownian motion mentioned at the end of the article and more generally Langevin Dynamics are incredibly useful. They're this weird interface between normal physics and statistical mechanics. When a big complex molecule is constantly jostled by smaller molecules, these nowhere-continuous motions are a good way to approximate what happens.<p>Plus, rather bizarrely, it helps to understand this area to do actual statistics, in software such as Stan.</p>
]]></description><pubDate>Fri, 24 Jan 2025 08:49:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=42811546</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=42811546</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42811546</guid></item><item><title><![CDATA[New comment by paulfharrison in "The XOR Texture (2004)"]]></title><description><![CDATA[
<p>If you plot x^y against x+y, you get a Sierpinski triangle.</p>
]]></description><pubDate>Wed, 18 Dec 2024 07:31:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=42448721</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=42448721</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42448721</guid></item><item><title><![CDATA[New comment by paulfharrison in "Alternatives to cosine similarity"]]></title><description><![CDATA[
<p>The article mentions equivalent ranking from cosine similarity and Euclidean distance. The derivation is very simple. For vectors A and B, the squared Euclidean distance is:<p>(A-B).(A-B) = A.A-2A.B+B.B<p>A and B only interact through a dot product, just like cosine similarity. If A and B are normalized, A.A=B.B=1.<p>For Pearson Correlation, we would just need to center and scale A and B as a pre-processing step.</p>
]]></description><pubDate>Thu, 10 Oct 2024 05:32:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=41795847</link><dc:creator>paulfharrison</dc:creator><comments>https://news.ycombinator.com/item?id=41795847</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41795847</guid></item></channel></rss>