<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: pjtr</title><link>https://news.ycombinator.com/user?id=pjtr</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 13 Jun 2026 12:21:09 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=pjtr" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by pjtr in "Why is F# code robust and reliable?"]]></title><description><![CDATA[
<p>Is "let-over-lambda" (variable capture / closure) not possible in F#? Is that not a form of implicit dependency injection?</p>
]]></description><pubDate>Tue, 24 Sep 2024 06:02:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=41633501</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=41633501</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41633501</guid></item><item><title><![CDATA[New comment by pjtr in "Why is F# code robust and reliable?"]]></title><description><![CDATA[
<p>This seems fine within a file, but isn't this problematic across files?
Now the file order is significant, so not only is the Visual Studio XML project file is an essential part of the language semantics, you also can't organize your files in subdirectories freely? Or did they fix that at some point? How does that scale to larger projects?</p>
]]></description><pubDate>Tue, 24 Sep 2024 06:00:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=41633494</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=41633494</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41633494</guid></item><item><title><![CDATA[New comment by pjtr in "JAX – NumPy on the CPU, GPU, and TPU"]]></title><description><![CDATA[
<p>Is there a specific reason why Windows is not supported?</p>
]]></description><pubDate>Fri, 29 Sep 2023 05:31:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=37699635</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=37699635</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37699635</guid></item><item><title><![CDATA[New comment by pjtr in "Why did InterlockedIncrement/Decrement only return result’s sign? (2004)"]]></title><description><![CDATA[
<p>I don't think Microsoft invented it:<p>> On the CDC CYBER, an interlock register is available ... Operation of this interlock register is similar to TEST AND SET<p>Concurrency in Operating Systems, October 1976
<a href="https://www.computer.org/csdl/magazine/co/1976/10/01647182/13rRUwwslyQ" rel="nofollow">https://www.computer.org/csdl/magazine/co/1976/10/01647182/1...</a></p>
]]></description><pubDate>Mon, 13 Jun 2022 06:29:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=31721948</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=31721948</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31721948</guid></item><item><title><![CDATA[New comment by pjtr in "OBS Studio: Open-source software for video recording and live streaming"]]></title><description><![CDATA[
<p>OBS is very good software, thanks for working on it!<p>Recording the screen works much better than any other screen recording software I tried. For this use case the preview can be a bit confusing. If the resolution does not match (because of OS 200% scaling for example) going to the settings each time to adjust it is a bit cumbersome; the interactive resizing handles in the preview somehow never helped me. Sometimes one of the reset zoom context menus helps.<p>Also the "Window source" would be awesome, but is a bit cumbersome to set up every time, and doesn't capture things like menus unfortunately.<p>It's probably really difficult to improve these things, so they work automagically for dummies like me that know very little about OBS and use only a tiny feature set, without taking making things worse for power users, which are probably happy with things as they are.</p>
]]></description><pubDate>Thu, 02 Apr 2020 17:06:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=22761141</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=22761141</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22761141</guid></item><item><title><![CDATA[New comment by pjtr in "Terrain rendering algorithm in less than 20 lines of code"]]></title><description><![CDATA[
<p>A short article titled "Voxel Landscapes 2D and 3D By Scout/C-Lous" described most of the tricks, but I can't find the text anywhere. A similar article by the same author on another topic I found here <a href="https://github.com/ggnkua/Atari_ST_Sources/blob/master/Docs/2BUMP.TXT" rel="nofollow">https://github.com/ggnkua/Atari_ST_Sources/blob/master/Docs/...</a></p>
]]></description><pubDate>Fri, 03 Jan 2020 18:16:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=21948666</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21948666</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21948666</guid></item><item><title><![CDATA[New comment by pjtr in "Terrain rendering algorithm in less than 20 lines of code"]]></title><description><![CDATA[
<p>The one I remember was "voxel.pas by Steven H Don". A Delphi port survived here: <a href="http://tothpaul.free.fr/sources.php?dprgrp.voxel" rel="nofollow">http://tothpaul.free.fr/sources.php?dprgrp.voxel</a><p>Searching for "voxel" in <a href="https://github.com/nickelsworth/swag/" rel="nofollow">https://github.com/nickelsworth/swag/</a> also finds some very similar tiny Turbo Pascal programs.</p>
]]></description><pubDate>Fri, 03 Jan 2020 17:58:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=21948447</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21948447</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21948447</guid></item><item><title><![CDATA[New comment by pjtr in "Terrain rendering algorithm in less than 20 lines of code"]]></title><description><![CDATA[
<p>Even drawing front-to-back you don't need the y-buffer, if you switch the loops: for x ... for y ...<p>Another trick I now remember was to interpolate the color values on such a y-segment, to reduce the pixelated look.</p>
]]></description><pubDate>Fri, 03 Jan 2020 17:50:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=21948352</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21948352</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21948352</guid></item><item><title><![CDATA[New comment by pjtr in "Terrain rendering algorithm in less than 20 lines of code"]]></title><description><![CDATA[
<p>Same with leaning. Add one more line of code and tweak the draw call:<p><pre><code>    var ylean = (input.leftright*(i/screenwidth-0.5) + 0.5) * screendata.canvas.height / 4;
    DrawVerticalLine(i, heightonscreen+ylean, hiddeny[i]+ylean, map.color[mapoffset]);
</code></pre>
It adds a lot to the "feeling" IMO :)</p>
]]></description><pubDate>Fri, 03 Jan 2020 13:29:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=21945633</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21945633</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21945633</guid></item><item><title><![CDATA[New comment by pjtr in "Terrain rendering algorithm in less than 20 lines of code"]]></title><description><![CDATA[
<p>There were also tricks to extend this simple rendering algorithm to allow limited rotations around the other two axes, to look up / down slightly (just move everything up / down; also implemented in the demo here) and to "lean" when steering left / right (just move everything up / down proportional to the distance from the center of the screen; not implemented in the demo here, but visible in the 1992 NovaLogic Comanche example GIF).<p>There were Turbo Pascal versions of this on websites in the 90s I think, but it seems they were lost.</p>
]]></description><pubDate>Fri, 03 Jan 2020 12:27:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=21945318</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21945318</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21945318</guid></item><item><title><![CDATA[New comment by pjtr in "How to undo almost anything with Git (2015)"]]></title><description><![CDATA[
<p>You are correct, thanks.</p>
]]></description><pubDate>Tue, 24 Dec 2019 07:55:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=21870596</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21870596</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21870596</guid></item><item><title><![CDATA[New comment by pjtr in "How to undo almost anything with Git (2015)"]]></title><description><![CDATA[
<p>purge is a third-party extension; it removes untracked files as you wrote.<p>But ~purge~ prune is also a command of the evolve extension, that is conceptually similar to strip, as GP wrote.</p>
]]></description><pubDate>Tue, 24 Dec 2019 07:16:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=21870459</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21870459</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21870459</guid></item><item><title><![CDATA[New comment by pjtr in "How to undo almost anything with Git (2015)"]]></title><description><![CDATA[
<p>Fortunately "transplant" is just an old extension, so you can just forget entirely about it.<p>"Graft" copies; "Rebase" moves.<p>Alternatively just forget about graft also, and use "rebase --keep" to copy.<p>"Rebase with evolve" is conceptually still rebase.<p>Mercurial has strip (removes changesets from repository, by default stores a backup).
Mercurial does not have purge.<p>Evolve has ~purge~ prune (marks changesets as obsolete).<p>Evolve is similar to a git reflog.<p>Evolve stores more contextual information than the reflog, so Mercurial+Evolve it is safer and easier to undo things than in Git+reflog. Mercurial also pushes some of this contextual information, so even collaborative history rewriting is possible in a safe and easy way, unlike git.</p>
]]></description><pubDate>Tue, 24 Dec 2019 07:11:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=21870432</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21870432</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21870432</guid></item><item><title><![CDATA[New comment by pjtr in "ECMAScript proposal: String.prototype.replaceAll"]]></title><description><![CDATA[
<p>I don't understand the reasons. What is the actual problem in this "even-odd problem"?<p>How do all the other languages that have an equivalent function (Perl quotemeta, PHP preg_quote, Python re.escape, Ruby: Regexp.escape, Java Pattern.quote, C# Regex.Escape, Go QuoteMeta, Rust regex::escape) avoid or deal with this problem?</p>
]]></description><pubDate>Sun, 22 Dec 2019 10:34:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=21856360</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21856360</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21856360</guid></item><item><title><![CDATA[New comment by pjtr in "Unicode Is Awesome"]]></title><description><![CDATA[
<p>And WORD 16 bits: <a href="https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-dtyp/f8573df3-a44a-4a50-b070-ac4c3aa78e3c" rel="nofollow">https://docs.microsoft.com/en-us/openspecs/windows_protocols...</a><p>(QWORD 64 bits)</p>
]]></description><pubDate>Tue, 03 Dec 2019 06:58:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=21690508</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21690508</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21690508</guid></item><item><title><![CDATA[New comment by pjtr in "More MS-DOS Games Playable at the Internet Archive"]]></title><description><![CDATA[
<p>Targhan maybe?<p><a href="https://archive.org/details/msdos_Targhan_1989" rel="nofollow">https://archive.org/details/msdos_Targhan_1989</a></p>
]]></description><pubDate>Mon, 14 Oct 2019 06:01:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=21245603</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21245603</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21245603</guid></item><item><title><![CDATA[New comment by pjtr in ".NET Core gRPC"]]></title><description><![CDATA[
<p>Are there options for machine local IPC over pipes in .NET Core?</p>
]]></description><pubDate>Tue, 24 Sep 2019 06:32:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=21057144</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=21057144</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21057144</guid></item><item><title><![CDATA[New comment by pjtr in "String Lengths in Unicode"]]></title><description><![CDATA[
<p>"Python 3’s approach is unambiguously the worst one"<p>No rationale for this seems to be included in the article.</p>
]]></description><pubDate>Mon, 09 Sep 2019 06:00:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=20915552</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=20915552</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20915552</guid></item><item><title><![CDATA[New comment by pjtr in "A Beginner’s Introduction to Python Web Frameworks (2018)"]]></title><description><![CDATA[
<p>TurboGears 2 <a href="https://turbogears.org/" rel="nofollow">https://turbogears.org/</a></p>
]]></description><pubDate>Wed, 21 Aug 2019 05:06:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=20754701</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=20754701</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20754701</guid></item><item><title><![CDATA[New comment by pjtr in "Fork: A fast and friendly Git client for Mac and Windows"]]></title><description><![CDATA[
<p>I did see the screenshots. That's what triggered my comment. I did not see any branch names. Now I see "nh-scroll-fix" and "origin/fix-simulate-na..." in the conflict dialog, but not in the merge dialog. Branch names seem insufficient anyway though, but it would be a slight improvement I guess.</p>
]]></description><pubDate>Wed, 24 Jul 2019 07:44:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=20513086</link><dc:creator>pjtr</dc:creator><comments>https://news.ycombinator.com/item?id=20513086</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20513086</guid></item></channel></rss>