<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: kpgiskpg</title><link>https://news.ycombinator.com/user?id=kpgiskpg</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 16 Apr 2026 01:55:26 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=kpgiskpg" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by kpgiskpg in "Graphics livecoding in Common Lisp"]]></title><description><![CDATA[
<p>I think a recent update (March 3rd, version 2.5.3) to SBCL added this sorta breakpoint debugging functionality. Hopefully we'll see it integrated with SLIME soon.<p>> enhancement: breakpoint debugger commands have been added. Included is a stepper based on breakpoints requiring no extra instrumentation. However, it still has less functionality than the existing single stepper. See the new debugger manual section titled "Breakpoint Commands" for more information on the new commands.</p>
]]></description><pubDate>Fri, 25 Apr 2025 09:09:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=43791709</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=43791709</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43791709</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Not Growing a Language"]]></title><description><![CDATA[
<p>Oh wait, Hackernews seems to have removed one of the astericks symbols. It should be Python's exponentiation operator (2 astericks symbols), ya. (edit: fixed now).<p>That's cool too! How do you define the variables?</p>
]]></description><pubDate>Sat, 03 Apr 2021 19:25:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=26683941</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=26683941</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26683941</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Not Growing a Language"]]></title><description><![CDATA[
<p>That's a question of interface design. You can also create ugly, ambiguous interfaces with functions (10 arguments, it mutates some of them, etc), or any other language feature. If a library designer uses operator overloading well, then it should be obvious what "a+b" is doing if you know the types involved.<p>On one hand it's a question of philosophy -- do you provide the user with tools to better express themselves, if they might possibly shoot themselves in the foot and create a crappy interface?<p>On the other hand, it could be an engineering issue. Maybe it's not worth the technical challenge or the increase in complexity for the language designers. I'd be more sympathetic to this reason. Then again, Python and C++ manage it.</p>
]]></description><pubDate>Sat, 03 Apr 2021 18:25:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=26683408</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=26683408</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26683408</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Not Growing a Language"]]></title><description><![CDATA[
<p>(Author here).<p>Here's a not-so-mathy application that I had recently. I was implementing a units system in Python. Operator overloading allowed me to define joules like so: `J = KG * M**-1 * S**-2`. Then I could define grays (a radiation-related unit) like `Gy = J/KG`. Repeat for hundreds of units. If I had to do it in Java, I'd be frustrated by the verbosity and it would be easier to make mistakes.<p>My point -- Guy's point, actually -- is that if you don't give people the ability to grow a language, then their expressive power will be limited. And you can't anticipate ahead of time all the ways they'll want to express themselves.<p>Admittedly, my application is kinda mathy under the hood, because the units exist in a vector space. I guess that's to be expected when the operators come from maths.</p>
]]></description><pubDate>Sat, 03 Apr 2021 18:15:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=26683303</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=26683303</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26683303</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Management by metrics leads us astray"]]></title><description><![CDATA[
<p>My favourite illustration of this is in The Wire. The city wants to crack down on crime and increases the target number of arrests. The police chief sends out the word and police officers begin making a bunch of spurious arrests. Do you blame the politicians for picking crappy metrics and for their poor understanding of human nature? Or do you blame the individuals who choose to exploit the metric out of self-interest? Plenty of blame to go around.</p>
]]></description><pubDate>Thu, 21 Jan 2021 11:20:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=25857751</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=25857751</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25857751</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Show HN: Beeper – All Your Chats in One App"]]></title><description><![CDATA[
<p>This looks awesome! I wonder why I haven't heard about it before.</p>
]]></description><pubDate>Thu, 21 Jan 2021 10:34:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=25857481</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=25857481</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25857481</guid></item><item><title><![CDATA[New comment by kpgiskpg in "The values of Emacs, the Neovim revolution, and the VSCode gorilla"]]></title><description><![CDATA[
<p>The previous user said that you can do "literally anything" in VSCode that you can do in Emacs, I think these examples were chosen to prove that statement wrong. It doesn't mean that Emacs is better for everyone.</p>
]]></description><pubDate>Sun, 17 Jan 2021 20:15:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=25814485</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=25814485</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25814485</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Most Execrable and Abominable or Irreligious: When Pope Clement Tested Poisons"]]></title><description><![CDATA[
<p>I didn't realise that popes getting poisoned was a common occurrence at any time in history.</p>
]]></description><pubDate>Sat, 16 Jan 2021 01:47:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=25799111</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=25799111</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25799111</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Show HN: NoteCalc"]]></title><description><![CDATA[
<p>I actually started working on a CLI calculator a few days ago that sounds exactly like what you're looking for: <a href="https://github.com/Kevinpgalligan/ka" rel="nofollow">https://github.com/Kevinpgalligan/ka</a><p>So far it just has variables and basic arithmetic. Other features on my roadmap: rational numbers, a type hierarchy, units, and lazy/smart combinatorics.<p>What do you imagine the timezone DB would look like? I'd love to hear your ideas!</p>
]]></description><pubDate>Tue, 22 Dec 2020 02:38:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=25502271</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=25502271</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25502271</guid></item><item><title><![CDATA[Obese websites and planet-sized metronomes]]></title><description><![CDATA[
<p>Article URL: <a href="https://kevingal.com/blog/metronome.html">https://kevingal.com/blog/metronome.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=23449609">https://news.ycombinator.com/item?id=23449609</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 07 Jun 2020 18:50:12 +0000</pubDate><link>https://kevingal.com/blog/metronome.html</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=23449609</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23449609</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Altair – A declarative statistical visualization library for Python"]]></title><description><![CDATA[
<p>Beauty is in the eye of the beholder, I guess. I wouldn't put matplotlib graphs in a paper without tweaking the style, and it gets frustrating when you have to do this for every single plotting script you write. And the defaults certainly aren't colourblind-friendly.</p>
]]></description><pubDate>Thu, 04 Jun 2020 16:33:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=23418729</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=23418729</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23418729</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Altair – A declarative statistical visualization library for Python"]]></title><description><![CDATA[
<p>Getting the job done is the main point, of course, but I think a visualisation library should also handle common cases gracefully and have defaults that don't make me want to gouge my eyes out.<p>Every time I use matplotlib, I have to look up how to remove the border on my graph, make things slightly transparent, etc. The default colour palette isn't colourblind friendly, so the other day I spent half an hour trying to set up a more accessible one. I had to create / fetch 3 objects, their names being something like ScalarMap, Normalize and cmap. Why do I need to understand the relationship between these 3 objects when all I want to do is switch from one palette to another?<p>Meanwhile, it's so flexible as to be annoying for a non-expert. I often encounter matplotlib answers on StackOverflow about things that I would expect to "just work", but that actually require 20 lines of code to solve, written by someone who appears to be deeply familiar with the internals of the library.<p>Note: I'm not saying that a declarative approach solves these things.</p>
]]></description><pubDate>Thu, 04 Jun 2020 16:26:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=23418633</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=23418633</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23418633</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Altair – A declarative statistical visualization library for Python"]]></title><description><![CDATA[
<p>I've always hated matplotlib, even though it gets the job done. The graphs are ugly by default, and the API would be unusable if it weren't for StackOverflow. Maybe I just need to sit down and learn it really well.<p>Anyway, this seems cool.</p>
]]></description><pubDate>Thu, 04 Jun 2020 10:33:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=23414841</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=23414841</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23414841</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Calculus Made Easy (1914) [pdf]"]]></title><description><![CDATA[
<p>Calculus Made Easy has a heap of exercises at the end of each chapter, it's not bad in that respect.</p>
]]></description><pubDate>Fri, 22 May 2020 08:10:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=23269734</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=23269734</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23269734</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Calculus Made Easy (1914) [pdf]"]]></title><description><![CDATA[
<p>Funnily enough, I'm working through this book right now. The writing amuses me to no end, from the anachronism of calling it "the calculus" to the chain rule being referred to as a "dodge".<p>It goes well with 3blue1brown's calculus series on YouTube, which gives more of a visual intuition for the concepts.</p>
]]></description><pubDate>Thu, 21 May 2020 23:41:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=23266970</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=23266970</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23266970</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Boids"]]></title><description><![CDATA[
<p>That's fun, thanks!</p>
]]></description><pubDate>Sat, 28 Mar 2020 19:51:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=22713841</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=22713841</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22713841</guid></item><item><title><![CDATA[Finding Mona Lisa in the Game of Life]]></title><description><![CDATA[
<p>Article URL: <a href="https://kevingal.com/blog/mona-lisa-gol.html">https://kevingal.com/blog/mona-lisa-gol.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=22169191">https://news.ycombinator.com/item?id=22169191</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 28 Jan 2020 13:36:17 +0000</pubDate><link>https://kevingal.com/blog/mona-lisa-gol.html</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=22169191</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22169191</guid></item><item><title><![CDATA[New comment by kpgiskpg in "Random RGB values that average to N; or, Pointlessness and Probability"]]></title><description><![CDATA[
<p>Cool! I love projects involving colour, because they always have nice visualisations. Would you mind explaining your project in more detail? I'm intrigued by your site! Not sure if it's supposed to be interactive because I'm on mobile.<p>I haven't looked too much into the general case. You could consider a tuple (R1, R2, ..., Rn) and compute the probability distributions one at a time for R1, R2, etc. I don't want to get sucked into the exact details of how to do that, but I think it would involve some head-wrecking combinatorics in a loop. Then you could do the same for G and B.<p>Like you implied, this would be slow if you did it 1000s of times. That's why I pre-computed the R probability distribution in my code, which unfortunately would not be applicable to the general case because there would be too many possible distributions (exponential) to pre-compute. To generate 1 set of RGBs, however, I think it would be fine.<p>Alternatively, you could try a non-combinatorics interpretation. The folks on Reddit (thread linked in the article) suggested a geometric interpretation of the problem, which might work better.<p>There's also the approach I suggested at the end of my article: compute the number of possible tuples that average to A (one-off combinatorics), generate an index k between 1 and this number, then pass k to a magic function f that spits out the kth tuple. I'm just not sure what f would look like, hehe. It could be a recursive function. Not sure how to write f without having to do the same probability / combinatorics as before. Or looping through all possible tuples (yikes).</p>
]]></description><pubDate>Sat, 23 Nov 2019 11:20:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=21613573</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=21613573</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21613573</guid></item><item><title><![CDATA[Random RGB values that average to N; or, Pointlessness and Probability]]></title><description><![CDATA[
<p>Article URL: <a href="https://kevingal.com/blog/rgb-average.html">https://kevingal.com/blog/rgb-average.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=21607401">https://news.ycombinator.com/item?id=21607401</a></p>
<p>Points: 3</p>
<p># Comments: 3</p>
]]></description><pubDate>Fri, 22 Nov 2019 16:57:52 +0000</pubDate><link>https://kevingal.com/blog/rgb-average.html</link><dc:creator>kpgiskpg</dc:creator><comments>https://news.ycombinator.com/item?id=21607401</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21607401</guid></item></channel></rss>