<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: barosl</title><link>https://news.ycombinator.com/user?id=barosl</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 28 Apr 2026 08:22:51 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=barosl" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by barosl in "Windows Notepad App Remote Code Execution Vulnerability"]]></title><description><![CDATA[
<p>Oh wow, yes I remember now, I used to type `Alt+F` and then `S` immediately because Notepad didn't support `Ctrl+S` back then. Thanks for giving me nostalgia!</p>
]]></description><pubDate>Wed, 11 Feb 2026 10:23:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=46973246</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=46973246</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46973246</guid></item><item><title><![CDATA[New comment by barosl in "How did Windows 95 get permission to put Weezer video 'Buddy Holly' on the CD?"]]></title><description><![CDATA[
<p>> Some time ago, I noted that the Windows 95 CD contained a variety of multimedia extras<p>That "some time ago" is 20 years ago. It is crazy that Raymond has been able to consistently write historical yet fun blog posts for decades. What a dedication.</p>
]]></description><pubDate>Wed, 11 Feb 2026 03:05:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=46970258</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=46970258</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46970258</guid></item><item><title><![CDATA[New comment by barosl in "The first Media over QUIC CDN: Cloudflare"]]></title><description><![CDATA[
<p>I tested the demo at <a href="https://moq.dev/publish/" rel="nofollow">https://moq.dev/publish/</a> and it's buttery as hell. Very impressive. Thanks for the great technology!<p>Watching the Big Buck Bunny demo at <a href="https://moq.dev/watch/?name=bbb" rel="nofollow">https://moq.dev/watch/?name=bbb</a> on my mobile phone leaves a lot of horizontal black lines. (Strangely, it is OK on my PC despite using the same Wi-Fi network.) Is it due to buffer size? Can I increase it client-side, or should it be done server-side?<p>Also, thanks for not missing South Kora in your "global" CDN map!</p>
]]></description><pubDate>Fri, 22 Aug 2025 21:21:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=44989954</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=44989954</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44989954</guid></item><item><title><![CDATA[New comment by barosl in "StarDict sends X11 clipboard to remote servers"]]></title><description><![CDATA[
<p>Actually the default value of `APT::Install-Recommends` had been false, and it was changed to true in Debian 6.0 Squeeze (2011-02-06). I didn't like the change at the time because my Debian and Ubuntu systems suddenly installed more packages by default. However, now that I think of, the distinction of recommended packages and suggested packages was blurry before the change, because both were opt-in. Auto-installing recommended packages, while allowing the user to opt out is a better default I guess. But I still turn off auto-installation of recommended packages in the systems I manage.</p>
]]></description><pubDate>Tue, 12 Aug 2025 13:06:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=44875767</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=44875767</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44875767</guid></item><item><title><![CDATA[New comment by barosl in "Atuin – Magical Shell History"]]></title><description><![CDATA[
<p>fish doesn't use SQLite, but its own plaintext format. They've been trying to migrate to other formats.[1] Currently fish stores timestamps and directories in its history.<p>[1] <a href="https://github.com/fish-shell/fish-shell/issues/3341">https://github.com/fish-shell/fish-shell/issues/3341</a></p>
]]></description><pubDate>Tue, 24 Jun 2025 14:03:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=44366393</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=44366393</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44366393</guid></item><item><title><![CDATA[New comment by barosl in "Cloudflare service outage June 12, 2025"]]></title><description><![CDATA[
<p>There still seem to be some remaining issues. My Cloudflare Pages site is still giving me 500 errors. I looked up the response headers and realized that when requests are served by a certain data center, they fail, but if processed by another data center, they succeed. I suspected there to be some stale cache data, so I looked around the Cloudflare console but found no way to invalidate the cache in the Pages menu (the one in the domains menu didn't work). I also sent a ticket to their help center, only to be greeted by an AI. Probably waiting more will solve this problem automatically.</p>
]]></description><pubDate>Fri, 13 Jun 2025 04:39:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=44265739</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=44265739</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44265739</guid></item><item><title><![CDATA[New comment by barosl in "DWARF as a Shared Reverse Engineering Format"]]></title><description><![CDATA[
<p>Off topic, but it is good to see an article about the LIEF library on Hacker News. I recently had a need to modify the header of an ELF file and LIEF was a lifesaver. Thanks to all the authors and contributors!</p>
]]></description><pubDate>Wed, 28 May 2025 12:43:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=44115423</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=44115423</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44115423</guid></item><item><title><![CDATA[New comment by barosl in "Ash (Almquist Shell) Variants"]]></title><description><![CDATA[
<p>History classes are always fun! I didn't know dash had the command history feature. It is just disabled by default.</p>
]]></description><pubDate>Sat, 10 May 2025 11:15:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=43944769</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=43944769</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43944769</guid></item><item><title><![CDATA[New comment by barosl in "A year of uv: pros, cons, and should you migrate"]]></title><description><![CDATA[
<p>Yeah, I also used Docker (actually, Podman) as an alternative Python package manager and it worked well enough. Most of all, it felt somewhat <i>cleaner</i> and more reproducible than using plain virtualenv.<p>Of course, I migrated from it after I learned uv.</p>
]]></description><pubDate>Wed, 19 Feb 2025 00:41:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=43097099</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=43097099</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43097099</guid></item><item><title><![CDATA[New comment by barosl in "A year of uv: pros, cons, and should you migrate"]]></title><description><![CDATA[
<p>A very well written article! I admire the analysis done by the author regarding the difficulties of Python packaging.<p>With the advent of uv, I'm finally feeling like Python packaging is solved. As mentioned in the article, being able to have inline dependencies in a single-file Python script and running it naturally is just beautiful.<p><pre><code>  #!/usr/bin/env -S uv run
  # /// script
  # dependencies = ['requests', 'beautifulsoup4']
  # ///
  import requests
  from bs4 import BeautifulSoup
</code></pre>
After being used to this workflow, I have been thinking that a dedicated syntax for inline dependencies would be great, similar to JavaScript's `import ObjectName from 'module-name';` syntax. Python promoted type hints from comment-based to syntax-based, so a similar approach seems feasible.<p>> It used to be that either you avoided dependencies in small Python script, or you had some cumbersome workaround to make them work for you. Personally, I used to manage a gigantic venv just for my local scripts, which I had to kill and clean every year.<p>I had the same fear for adding dependencies, and did exactly the same thing.<p>> This is the kind of thing that changes completely how you work. I used to have one big test venv that I destroyed regularly. I used to avoid testing some stuff because it would be too cumbersome. I used to avoid some tooling or pay the price for using them because they were so big or not useful enough to justify the setup. And so on, and so on.<p>I 100% sympathize with this.</p>
]]></description><pubDate>Wed, 19 Feb 2025 00:30:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=43097006</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=43097006</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43097006</guid></item><item><title><![CDATA[New comment by barosl in "Developer wrote 25k lines of Neovim plugin code using phone and touchscreen"]]></title><description><![CDATA[
<p>Just the default one. I tried some alternative keyboards and they are better in some ways but in the end the default keyboard was enough. Termius provides input of some special keys (e.g. Ctrl, Alt, Esc, Tab, Home, End) so that's another reason why the default keyboard is enough.</p>
]]></description><pubDate>Tue, 10 Dec 2024 12:32:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=42376244</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=42376244</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42376244</guid></item><item><title><![CDATA[New comment by barosl in "Developer wrote 25k lines of Neovim plugin code using phone and touchscreen"]]></title><description><![CDATA[
<p>I tried Mosh but it didn't fit my taste. It tries to "predict" the state of the screen before being acknowledged by the server, but sometimes the prediction is wrong and Mosh reverts the cursor movement and redraws the affected area of the terminal. For example, when I'm using split windows in Vim or tmux, Mosh allows typed characters to overflow beyond the separator, briefly, until being told "no" by the server. Personally I find this behavior very disturbing. Enduring higher lags was more bearable to me.</p>
]]></description><pubDate>Tue, 10 Dec 2024 12:29:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=42376223</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=42376223</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42376223</guid></item><item><title><![CDATA[New comment by barosl in "Developer wrote 25k lines of Neovim plugin code using phone and touchscreen"]]></title><description><![CDATA[
<p>I also write code using my phone when I'm on a bus or the subway. It requires some patience but after getting used to it, the experience is surprisingly pleasant especially if you're familiar with terminal-based tools. My environment consists of:<p><pre><code>  - Galaxy S24 Ultra
  - Termius: I think it is the best terminal emulator and SSH client on Android. The sad thing is that the paid version is a bit too expensive. ($10 per month, no permanent option)
  - tmux: Mobile connections are brittle so it is a must.
  - Vim: Allows me to navigate the code freely without using arrow keys, which is really useful on the touch keyboard.
</code></pre>
Not that of a big deal, but the thing that I think is more pleasant on the phone than on the PC is that I can use my fingerprint to log in to the remote server. The fingerprint is stored in the TPM so it is safe. It feels magical!<p>Edit: The biggest pain point for me was the limited width of the smartphone screen. It is a bit hard to skim over the code quickly because most lines are severely cut. Text wrapping helps this but personally I hate text wrapping. Keeping landscape mode is not an option because the code area is completely hidden when the touch keyboard is displayed. That's why foldable phones are great for coding, as they have a wider screen. My previous phone was Galaxy Fold and it was a wonderful coding machine.</p>
]]></description><pubDate>Tue, 10 Dec 2024 11:12:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=42375765</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=42375765</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42375765</guid></item><item><title><![CDATA[New comment by barosl in "Tcl 9.0"]]></title><description><![CDATA[
<p>> if "rm -i" is the default the "rm" level gets disabled, because "rm -i -f" is the same as "rm -f"<p>You can use "\rm" to invoke the non-aliased version of the command. I made "rm -i" the default using an alias and occasionally use "\rm" to get the decreased safety level you described. I think it is more convenient that way.</p>
]]></description><pubDate>Thu, 26 Sep 2024 23:26:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=41664668</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=41664668</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41664668</guid></item><item><title><![CDATA[New comment by barosl in "C++ left arrow operator (2016)"]]></title><description><![CDATA[
<p>> to overload the bit shift operators for stream I/O<p>MFC extends this idea to network programming, allowing the use of shift operators to send and receive data.</p>
]]></description><pubDate>Sun, 24 Mar 2024 23:46:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=39811570</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=39811570</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39811570</guid></item><item><title><![CDATA[New comment by barosl in "Why I tend not to use content negotiation"]]></title><description><![CDATA[
<p>We have<p><pre><code>  github.com/[username].gpg
</code></pre>
to get their OpenPGP keys, too!</p>
]]></description><pubDate>Mon, 20 Nov 2023 08:01:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=38344250</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=38344250</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38344250</guid></item><item><title><![CDATA[New comment by barosl in "Interesting Bugs Caught by ESLint's no-constant-binary-expression (2022)"]]></title><description><![CDATA[
<p>> states.intersection({'VALID'} | {'IN_PROGRESS'})<p>Does this Python code count? Haha.</p>
]]></description><pubDate>Thu, 09 Nov 2023 03:38:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=38200866</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=38200866</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38200866</guid></item><item><title><![CDATA[New comment by barosl in "Cockpit: Web-based graphical interface for servers"]]></title><description><![CDATA[
<p>The cool thing about this project is that as it uses systemd's socket activation, it requires no server processes at all. There is no waste of resources when Cockpit is not being used. Accessing a page is literally the same as invoking a command-line tool (and quitting it). No more, no less. What a beautiful design.</p>
]]></description><pubDate>Mon, 16 Oct 2023 07:33:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=37896772</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=37896772</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37896772</guid></item><item><title><![CDATA[New comment by barosl in "Netscape and Sun announce JavaScript (1995)"]]></title><description><![CDATA[
<p>> A server-side JavaScript script might pull data out of a relational database and format it in HTML on the fly. A page might contain JavaScript scripts that run on both the client and the server.<p>This is exactly what we do with server-side rendering today, huh. So the originally intended uses of JavaScript included servers too.<p>> Java programs and JavaScript scripts are designed to run on both clients and servers, with JavaScript scripts used to modify the properties and behavior of Java objects<p>This, not quite so.</p>
]]></description><pubDate>Wed, 19 Jul 2023 07:11:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=36783014</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=36783014</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36783014</guid></item><item><title><![CDATA[New comment by barosl in "WeeChat 4"]]></title><description><![CDATA[
<p>The funny thing is, I do know about WeeChat (the IRC client) and did use it in the past, but still thought the article was about WeChat (the Chinese messaging service) for a moment. I'm embarrassed!</p>
]]></description><pubDate>Sun, 25 Jun 2023 02:25:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=36464636</link><dc:creator>barosl</dc:creator><comments>https://news.ycombinator.com/item?id=36464636</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36464636</guid></item></channel></rss>