<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: ziotom78</title><link>https://news.ycombinator.com/user?id=ziotom78</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 17 Apr 2026 22:15:31 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=ziotom78" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by ziotom78 in "Forget Flags and Scripts: Just Rename the File"]]></title><description><![CDATA[
<p>True, but what if you need to re-run that command several months later and you can no longer find the message?</p>
]]></description><pubDate>Thu, 19 Mar 2026 06:15:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=47435589</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=47435589</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47435589</guid></item><item><title><![CDATA[New comment by ziotom78 in "Forget Flags and Scripts: Just Rename the File"]]></title><description><![CDATA[
<p>I too was perplexed, but the main use case seems to be when you want to <i>share</i> a particular configuration or need to be sure that you always use the same set of flags:<p>> Flags are <i>ephemeral</i> – you have to share the command line or wrap it in a script. Scripts depend on environment, which can break portability. Filenames solve both: the program describes itself, requires zero setup, and <i>any configuration can be shared</i> by simply renaming the file.<p>[Emphasis added] Although I find a script that wraps the command and calls it more versatile, there might be some value in this idea for some very simple cases, like example #4.</p>
]]></description><pubDate>Wed, 18 Mar 2026 05:31:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=47421877</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=47421877</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47421877</guid></item><item><title><![CDATA[New comment by ziotom78 in "Separating the Wayland compositor and window manager"]]></title><description><![CDATA[
<p>Not the OP, but a few weeks ago I posted a comment about <i>my</i> problems with Wayland, which forced me to go back to X11. (I am still using it.)<p><a href="https://news.ycombinator.com/item?id=46001622">https://news.ycombinator.com/item?id=46001622</a></p>
]]></description><pubDate>Mon, 16 Mar 2026 16:44:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=47401370</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=47401370</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47401370</guid></item><item><title><![CDATA[New comment by ziotom78 in "Show HN: I ported Manim to TypeScript (run 3b1B math animations in the browser)"]]></title><description><![CDATA[
<p>Thank you! I regularly use Reveal.js to create interactive slide decks for my classes, and your project will be a great tool to have!</p>
]]></description><pubDate>Sat, 28 Feb 2026 05:34:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=47190877</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=47190877</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47190877</guid></item><item><title><![CDATA[New comment by ziotom78 in "Julia: Performance Tips"]]></title><description><![CDATA[
<p>Correct, but I would add: Julia is better than Python+NumPy/SciPy when you need extreme speed in custom logic that can’t be easily vectorized. As Julia is JIT-compiled, if your code calls most of the functions just once it won’t provide a big advantage, as the time spent compiling functions can be significant (e.g., if you use some library heavily based on macros).<p>To produce plots out of data files, Python and R are probably the best solutions.</p>
]]></description><pubDate>Fri, 27 Feb 2026 07:30:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=47177637</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=47177637</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47177637</guid></item><item><title><![CDATA[New comment by ziotom78 in "France dumps Zoom and Teams as Europe seeks digital autonomy from the US"]]></title><description><![CDATA[
<p>It will surely be worse, at least at the beginning. But there is a significant chance that with time they will improve it, and one can hope that one year after the first release the product will actually be better than Teams, given that the developers will improve it based on their own experience.</p>
]]></description><pubDate>Tue, 03 Feb 2026 19:30:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=46876027</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=46876027</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46876027</guid></item><item><title><![CDATA[New comment by ziotom78 in "Xmake: A cross-platform build utility based on Lua"]]></title><description><![CDATA[
<p>A few weeks ago I decided to test C++ modules, but I had a hard time to figure out how to make them accepted by CMake. After a few days of struggle with `set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "d0edc3af-4c50-42ea-a356-e2862fe7a444")` (it was so hard to find the right UUID that worked with my version) and errors on `import std;`, I decided to give XMake a chance.<p>It took just a couple of minutes to have a working example that fully supported C++ modules <i>and</i> `import std`:<p><pre><code>    set_languages("c++23")

    add_rules("mode.debug", "mode.release")

    target("mytest")
        set_kind("static")
        add_files("src/*.cpp")
        add_files("src/*.cppm", {public = true})
        set_policy("build.c++.modules", true)</code></pre></p>
]]></description><pubDate>Thu, 29 Jan 2026 14:39:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=46810778</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=46810778</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46810778</guid></item><item><title><![CDATA[New comment by ziotom78 in "Libpng 1.6.51: Four buffer overflow vulnerabilities fixed"]]></title><description><![CDATA[
<p>It’s fantastic they were able to find these issues!<p>That four new CVEs (two high-severity!) were found in a mature and well-tested library like png reminds me how non-trivial and unforgiving software engineering can be.<p>Security flaws are often just waiting behind the corner: this should be humbling lesson for all of us.</p>
]]></description><pubDate>Sat, 22 Nov 2025 13:04:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=46014471</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=46014471</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46014471</guid></item><item><title><![CDATA[New comment by ziotom78 in "Exploring the Fragmentation of Wayland, an xdotool adventure"]]></title><description><![CDATA[
<p>A few months have passed and I might not remember everything correctly, but there was a series of problems:<p>- I use several symbols as Greek letters (α, β, γ…) and mathematical operators (×, −, ·, ∂…), and after much digging I found that the only way I could make keyd work with them was to choose a US keyboard layout. So, I had to write a configuration file for keyd to remap not only the special characters listed above, but <i>every</i> character of the Italian keyboard (è, é, ò, à, ù…). This extensive remapping required then an exception for Espanso to prevent `keyd` from intercepting its virtual keyboard output.<p>- However, this forced US-layout setup created a conflict with VirtualBox that I was unable to solve. When I installed Windows and selected the Italian layout inside the VM, the guest OS received the raw key codes corresponding to a US physical keyboard (due to the keyd remapping layer). Since the guest OS expected Italian key codes, all the standard Italian keys (like è, à, ò) stopped working correctly. Without keyd enabled, the standard Italian layout worked perfectly in the VM.<p>- The attempts to create application-specific exceptions (e.g., to disable keyd for the VM window) using tools like keyd-application-mapper did not function correctly in my KDE environment because of known issues in these tools.<p>- Finally, introducing new hardware like my Corsair keyboard added another layer of complexity, as its Linux driver (ckb-next) was incompatible with the active keyd remapping layer. This was the point when I decided to revert to X11.<p>I should definitely collect all these details and write a blog post about it…</p>
]]></description><pubDate>Fri, 21 Nov 2025 08:35:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=46002502</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=46002502</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46002502</guid></item><item><title><![CDATA[New comment by ziotom78 in "Exploring the Fragmentation of Wayland, an xdotool adventure"]]></title><description><![CDATA[
<p>Xdotool and Xmodmap are the two main reasons why, after a few months running Wayland+keyd+dotool I went back to X11. I found really hard to have the following things working at once:<p>- Italian layout for my keyboard with heavily-customized AltGr keys for mathematical notation (in X11 it's just a matter of having a Xmodmap file)<p>- Using Espanso for many common shortcuts like :date: (current YYYY-MM-DD date) and :pidigits:<p>- A reasonable way to run Windows in a VM while using an Italian layout for my keyboard<p>- The possibility to use automation scripts using something as close as possible to xdotool<p>- Sometimes I use my home keyboard, sometimes I use my work keyboard, and sometimes I use my laptop keyboard. I expect the system to work in the same way regardless of my input device<p>It's not that Wayland prevents one from doing all this stuff, but the available solutions were fragile and complicated and took me so long before figuring solutions that only worked partially... For instance, to make keyd work as expected, I was forced to set up my Italian keyboard as an English keyboard and then remap all the keys manually... And every time I plugged a new keyboard, I had to tell keyd to enable my customizations on it, because telling it to use the layout with any keyboard conflicted with VirtualBox.<p>I understand that X11 is too complicated to be maintained, but from an user's perspective, so far I am far more efficient in X11.</p>
]]></description><pubDate>Fri, 21 Nov 2025 05:51:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=46001622</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=46001622</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46001622</guid></item><item><title><![CDATA[New comment by ziotom78 in "Reproducible C++ builds by logging Git hashes"]]></title><description><![CDATA[
<p>As others have commented, this trick alone cannot ensure truly "reproducible" builds.<p>We used the same trick (git hash + git diff to monitor uncommitted changes) in a Python simulation framework we are developing for the JAXA/EU space mission "LiteBIRD." [1]<p>[1] <a href="https://iopscience.iop.org/article/10.1088/1475-7516/2025/11/040" rel="nofollow">https://iopscience.iop.org/article/10.1088/1475-7516/2025/11...</a></p>
]]></description><pubDate>Thu, 20 Nov 2025 05:34:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=45989292</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=45989292</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45989292</guid></item><item><title><![CDATA[New comment by ziotom78 in "GCC 16 considering changing default to C++20"]]></title><description><![CDATA[
<p>I believe they are really referring to the default mode used by GCC when no standard is explicitly stated.<p>The email mentions that the last time they changed it was 5 years ago in GCC 11, and the link <<a href="https://gcc.gnu.org/projects/cxx-status.html#cxx17" rel="nofollow">https://gcc.gnu.org/projects/cxx-status.html#cxx17</a>> indeed says<p>> C++17 mode is the default since GCC 11; it can be explicitly selected with the -std=c++17 command-line flag, or -std=gnu++17 to enable GNU extensions as well.<p>which does not imply a change in an obscure feature (bootstrapping) that would only affect a few users.</p>
]]></description><pubDate>Mon, 17 Nov 2025 15:28:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=45954406</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=45954406</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45954406</guid></item><item><title><![CDATA[New comment by ziotom78 in "Python Software Foundation gets a donor surge after rejecting federal grant"]]></title><description><![CDATA[
<p>Thanks for the link, I was not aware of this story.</p>
]]></description><pubDate>Mon, 10 Nov 2025 08:05:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=45873596</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=45873596</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45873596</guid></item><item><title><![CDATA[New comment by ziotom78 in "Customize Nano Text Editor (2022)"]]></title><description><![CDATA[
<p>Absolutely, the shortcut help is so useful!<p>I believe that Nano and Pico copied it from Wordstar.</p>
]]></description><pubDate>Tue, 04 Nov 2025 14:30:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=45811439</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=45811439</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45811439</guid></item><item><title><![CDATA[New comment by ziotom78 in "State of Terminal Emulators in 2025: The Errant Champions"]]></title><description><![CDATA[
<p>I run Kitty and use this feature regularly. Most of the time, I rely on it within Yazi [1], a TUI file manager, but I can also display plots within the Julia REPL, thanks to the KittyTerminalImages.jl package [2]. It's even more crucial when I'm navigating a remote directory and need to check an image file, as I usually have timg [3] installed on those servers. Once you discover how valuable this is, it becomes a permanent part of your workflow.<p>[1] <a href="https://yazi-rs.github.io/" rel="nofollow">https://yazi-rs.github.io/</a><p>[2] <a href="https://github.com/simonschoelly/KittyTerminalImages.jl" rel="nofollow">https://github.com/simonschoelly/KittyTerminalImages.jl</a><p>[3] <a href="https://github.com/hzeller/timg" rel="nofollow">https://github.com/hzeller/timg</a></p>
]]></description><pubDate>Mon, 03 Nov 2025 18:28:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=45802470</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=45802470</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45802470</guid></item><item><title><![CDATA[New comment by ziotom78 in "California invests in battery energy storage, leaving rolling blackouts behind"]]></title><description><![CDATA[
<p>I was going to reply, but kakacik already said what I wanted.</p>
]]></description><pubDate>Sun, 26 Oct 2025 10:10:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=45710531</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=45710531</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45710531</guid></item><item><title><![CDATA[New comment by ziotom78 in "California invests in battery energy storage, leaving rolling blackouts behind"]]></title><description><![CDATA[
<p>What strikes me is the fact that nuclear power has received an incredible amount of backslash after the Chernobyl incident (a few thousands deaths) and the Fukushima incident (one disputed death), but hydroelectric power is considered a "good" source of energy despite a few incredibly deadly incidents:<p>- Banquiao (China, 1975): between 26.000 and 240.000 [1]<p>- Derna (Lybia, 2023): between 6000 and 20.000 deaths [2]<p>- Machchu (India, 1979): 5000 deaths [3]<p>- Vajont (Italy, 1963): 2000 deaths [4]<p>- Möhne dam (Germany, 1943): 1500 deaths [5]<p>[1] <a href="https://en.wikipedia.org/wiki/1975_Banqiao_Dam_failure" rel="nofollow">https://en.wikipedia.org/wiki/1975_Banqiao_Dam_failure</a><p>[2] <a href="https://en.wikipedia.org/wiki/2023_Derna_dam_collapse" rel="nofollow">https://en.wikipedia.org/wiki/2023_Derna_dam_collapse</a><p>[3] <a href="https://en.wikipedia.org/wiki/Morvi_dam_failure" rel="nofollow">https://en.wikipedia.org/wiki/Morvi_dam_failure</a><p>[4] <a href="https://en.wikipedia.org/wiki/Vajont_Dam" rel="nofollow">https://en.wikipedia.org/wiki/Vajont_Dam</a><p>[5] <a href="https://en.wikipedia.org/wiki/M%C3%B6hne_Reservoir" rel="nofollow">https://en.wikipedia.org/wiki/M%C3%B6hne_Reservoir</a></p>
]]></description><pubDate>Sun, 26 Oct 2025 06:27:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=45709563</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=45709563</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45709563</guid></item><item><title><![CDATA[New comment by ziotom78 in "Scripts I wrote that I use all the time"]]></title><description><![CDATA[
<p>That's a fair point. I think the author intended the post to be a treasure trove of ideas for your own scripts, not as something to blindly include in your daily workflow.</p>
]]></description><pubDate>Thu, 23 Oct 2025 07:44:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=45679292</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=45679292</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45679292</guid></item><item><title><![CDATA[New comment by ziotom78 in "You did no fact checking, and I must scream"]]></title><description><![CDATA[
<p>It has been said that Italy is extremely vulnerable to fake news. I am not sure that we are more vulnerable than others, but it is a fact that local media provide news that is sloppy at best if not even willfully deceitful.<p>A couple of examples found in a book I read recently about the Fukushima incident:<p>- “Tokyo, a capital in agony. «We will never live here again.»”, from La Repubblica (March 20th, 2011) [1] The lead paragraph of the article reads, “Fear and nightmare of radiations: four million have already fled what was perceived as a model city”. At the time, Tokyo had 13 million people; a loss of 4 million would have meant a catastrophic collapse of the city and would have been recorded by the local media. None of this happened.<p>- “Fukushima, ten years after the tsunami and nuclear disaster. A return to normalcy amid abandoned lands and fears of radiation”, from Il Fatto Quotidiano (March 11th, 2021, ten years later) [2]. The lead paragraph says, “It was the worst nuclear disaster since the Chernobyl accident in 1986. Twenty thousand people died.” The number 20,000 refers to the victims of the tsunami, but there is only one (disputed) victim caused by the nuclear accident.<p>[1] <a href="https://www.repubblica.it/esteri/2011/03/20/news/tokyo_capitale_in_agonia-13852633/" rel="nofollow">https://www.repubblica.it/esteri/2011/03/20/news/tokyo_capit...</a><p>[2] <a href="https://www.ilfattoquotidiano.it/2021/03/11/fukushima-dieci-anni-dopo-lo-tsunami-e-il-disastro-nucleare-il-ritorno-alla-normalita-tra-terre-abbandonate-e-paura-per-le-radiazioni/6128785/" rel="nofollow">https://www.ilfattoquotidiano.it/2021/03/11/fukushima-dieci-...</a></p>
]]></description><pubDate>Sat, 18 Oct 2025 13:46:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=45627355</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=45627355</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45627355</guid></item><item><title><![CDATA[New comment by ziotom78 in "Why Is SQLite Coded In C"]]></title><description><![CDATA[
<p>Right, but I believe nobody can claim that Human error bugs go to zero for Rust code.</p>
]]></description><pubDate>Wed, 15 Oct 2025 06:00:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=45588556</link><dc:creator>ziotom78</dc:creator><comments>https://news.ycombinator.com/item?id=45588556</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45588556</guid></item></channel></rss>