<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: pratyahava</title><link>https://news.ycombinator.com/user?id=pratyahava</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 30 Sep 2026 03:42:26 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=pratyahava" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by pratyahava in "Turn off and restrict access to Apple Intelligence features on Mac"]]></title><description><![CDATA[
<p>yes, please, and also via cli so we can automate it.</p>
]]></description><pubDate>Tue, 22 Sep 2026 05:53:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=49797254</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=49797254</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49797254</guid></item><item><title><![CDATA[New comment by pratyahava in "Internet centralization and the original sin of NAT"]]></title><description><![CDATA[
<p>Sorry, i am not very much into kernel/netstack development, but a question. So does it mean that even if an alternative NAT system will be available in Linux (kernel module with a switch or whatever) - it will not be adopted by industry because everyone (and every device) is used to how it works now?</p>
]]></description><pubDate>Tue, 01 Sep 2026 02:37:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=49517358</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=49517358</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49517358</guid></item><item><title><![CDATA[New comment by pratyahava in "Stop Making TUIs"]]></title><description><![CDATA[
<p>thanks to the author of the article, it inspired me to try making a small gui app i wanted for long time - it simply reads and shows the contents of the system clipboard in a window. and it was really super easy, i didn't need xcode, only `swiftc` from command line. honestly i didn't know i can make an app without opening xcode, now i want to make more :) so i made the app with approx 500 lines of Swift, with keyboard hotkeys for navigation and style change (fonts, colors, window size), just the way i love it.<p><pre><code>  cmd+U scroll to beginning 
  cmd+I scroll to end
  cmd+u page up
  cmd+i page down
  cmd+j one line up
  cmd+k one line down
  cmd+- font size decrease
  cmd+= font size increase
  cmd+0 font size reset to default
  cmd+3 default font
  cmd+4 alternative monospace font
  cmd+[ grow left window border
  cmd+] grow right window border
  cmd+{ shrink right window border
  cmd+} shrink left window border
  cmd+9 switch background and foreground color
</code></pre>
all this in one day, with huge help of duck.ai which is completely free. the app size is approx 300kb. using it feels great because i can do the whole cycle with keyboard only:<p><pre><code>  - cmd+space to open spotlight search
  - type the name of the app, enter, it opens a new window with clipboard contents, i inspect it with keyboard hotkeys only
  - cmd+q to exit or cmd+tab to switch back to the prev app
</code></pre>
for me personally the standard gui apps are annoying because of the standard kb shortcuts - they are hard to remember and even hard to reach. i prefer "sort of vi navigation" because i can keep my hands for navigation at the same position as for typing.</p>
]]></description><pubDate>Sun, 30 Aug 2026 10:40:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=49497471</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=49497471</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49497471</guid></item><item><title><![CDATA[New comment by pratyahava in "Tracking down a Zsh history data loss bug"]]></title><description><![CDATA[
<p>for viewing all the history files at once this is one of the simplest options<p><pre><code>  cat $HOME/zsh/*
</code></pre>
should be easy to copy-paste or pipe it to an editor.<p>i mean, the problem of viewing all history files at once is much easier than writing to the same one file from multiple sessions.</p>
]]></description><pubDate>Sun, 16 Aug 2026 08:55:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=49318210</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=49318210</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49318210</guid></item><item><title><![CDATA[New comment by pratyahava in "Tracking down a Zsh history data loss bug"]]></title><description><![CDATA[
<p>zshrc for saving history:<p><pre><code>  mkdir -p $HOME/zsh
  HISTFILE="$HOME/zsh/$(date '+%y:%m%d:%H%M')-$$"
  echo "HISTFILE $HISTFILE"
</code></pre>
for easily accessing the history without running grep... will figure it out later :)))</p>
]]></description><pubDate>Sun, 16 Aug 2026 06:43:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=49317502</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=49317502</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49317502</guid></item><item><title><![CDATA[New comment by pratyahava in "Tracking down a Zsh history data loss bug"]]></title><description><![CDATA[
<p>this is an example of overcomplicated solutions that could be avoided with the tool we already have for years - file system - why do this "heroic" effort of "cleverly" putting everything in one file from many sessions if we could just write command history of every session into a new separate file in a directory and read all history files from the dir instead of reading one file.</p>
]]></description><pubDate>Sun, 16 Aug 2026 06:26:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=49317406</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=49317406</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49317406</guid></item><item><title><![CDATA[New comment by pratyahava in "I close SSH port 22 (and what I use instead)"]]></title><description><![CDATA[
<p>i cannot trust tech advices from a guy who puts three ad banners (left, right and bottom, taking approx quarter of my screen space) on his personal blog.</p>
]]></description><pubDate>Sat, 15 Aug 2026 06:57:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=49308381</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=49308381</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49308381</guid></item><item><title><![CDATA[New comment by pratyahava in "TSON – A JSON superset with immutable, hash-pinned schemas"]]></title><description><![CDATA[
<p>cue? what is that? i remember only cue which holds audio tracks metadata.</p>
]]></description><pubDate>Wed, 05 Aug 2026 15:59:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=49184684</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=49184684</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49184684</guid></item><item><title><![CDATA[New comment by pratyahava in "Mosh in a Lift (2012)"]]></title><description><![CDATA[
<p>what are those modern quic-based terminal emulators? i never heard about the concept before.</p>
]]></description><pubDate>Tue, 04 Aug 2026 16:06:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=49170851</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=49170851</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49170851</guid></item><item><title><![CDATA[New comment by pratyahava in "Let's Encrypt bans certificate usage in any US sanctioned territory [pdf]"]]></title><description><![CDATA[
<p>any details on that? links to people reporting it?</p>
]]></description><pubDate>Tue, 09 Jun 2026 19:15:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=48466168</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=48466168</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48466168</guid></item><item><title><![CDATA[New comment by pratyahava in "Let's Encrypt bans certificate usage in any US sanctioned territory [pdf]"]]></title><description><![CDATA[
<p>can you please suggest any alternatives to switch to? i hardly can find any alternative which provides free service and is a non-profit org at the same time.</p>
]]></description><pubDate>Tue, 09 Jun 2026 19:00:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=48465912</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=48465912</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48465912</guid></item><item><title><![CDATA[New comment by pratyahava in "The Boring Internet"]]></title><description><![CDATA[
<p>even this "ascii" (i expected raw text but still got html+css) was hardly readable for me, had to reach to the reader view, finally readable, ohh... looks much like ai-generated, why did i spend so much time jumping over obstacles...</p>
]]></description><pubDate>Wed, 06 May 2026 10:41:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=48034683</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=48034683</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48034683</guid></item><item><title><![CDATA[New comment by pratyahava in "I Got Sick of Remembering Port Numbers"]]></title><description><![CDATA[
<p>afaik tcp and udp are the same on top of ipv6 as they are on top of ipv4, there are no tcp6 and udp6, the "6" suffix just hints they are comminucated on top of ipv6, but the packets are the same as before, no new standards.</p>
]]></description><pubDate>Sun, 03 May 2026 11:25:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=47995860</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=47995860</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47995860</guid></item><item><title><![CDATA[New comment by pratyahava in "I Got Sick of Remembering Port Numbers"]]></title><description><![CDATA[
<p>can you please demonstrate the workflow you are suggesting? asking because i tried what you suggest, and it does not work.</p>
]]></description><pubDate>Sat, 02 May 2026 08:55:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=47984682</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=47984682</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47984682</guid></item><item><title><![CDATA[New comment by pratyahava in "I Got Sick of Remembering Port Numbers"]]></title><description><![CDATA[
<p>can you please explain what you mean by this? because technically i do not see any similarity in this "analogy".</p>
]]></description><pubDate>Sat, 02 May 2026 08:49:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=47984646</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=47984646</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47984646</guid></item><item><title><![CDATA[New comment by pratyahava in "I Got Sick of Remembering Port Numbers"]]></title><description><![CDATA[
<p>the question was "can we use port names from /etc/services instead of port numbers?"<p>how about "ssh://git@ssh.github.com:https/golang/go.git" instead of "ssh://git@ssh.github.com:443/golang/go.git"? does not work, hmm.</p>
]]></description><pubDate>Sat, 02 May 2026 08:46:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47984631</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=47984631</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47984631</guid></item><item><title><![CDATA[New comment by pratyahava in "I Got Sick of Remembering Port Numbers"]]></title><description><![CDATA[
<p>URI contains ":port" tho, but practically it is only digital number.<p>the OP made a tool which helps them to avoid using port numbers. people commented in a way that looked like laughing at him, like he reinvented the wheel, and talking about /etc/services. well ok, i decided to try using /etc/services for the purpose of using names instead of port numbers.<p>would it be possible to add "myapp 60001/tcp" to /etc/services and then work with "http://localhost:myapp"? NO! browsers do not translate these names into port numbers. netcat does. curl does not.<p>so probably the OP's solution is not that questionable and really solved their need? and "good old friend /etc/services" is not useful for this? i dont know what it is useful for as running services on non-standard ports actually helps with hiding from security/vuln scanners and is practiced widely.</p>
]]></description><pubDate>Sat, 02 May 2026 08:32:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=47984562</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=47984562</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47984562</guid></item><item><title><![CDATA[New comment by pratyahava in "I Got Sick of Remembering Port Numbers"]]></title><description><![CDATA[
<p>if you configure sshd to listen on port 443, does it become an https server? i was just trying to demondtrate: pick any port from /etc/services and try to use the name instead of port number. no, it does not work well when trying to use for local-hosting http(s) services. so to address the irony and sarcasm of the messages i was replying to:<p><pre><code>  zdw: It's like someone should make a file... maybe in /etc ... and put short names for services in it... maybe it could be called /etc/services...

  tolciho: And then they might code up some sort of service lookup tool thingy to use on the train wreck that is the modern web.
  $ getent services gopher
  gopher               70/tcp</code></pre></p>
]]></description><pubDate>Sat, 02 May 2026 05:27:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=47983577</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=47983577</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47983577</guid></item><item><title><![CDATA[New comment by pratyahava in "I Got Sick of Remembering Port Numbers"]]></title><description><![CDATA[
<p>ipv6 packet does not have any port field. ports are on the level of tcp and udp, and you don't have to use tcp or udp on top of ipv6. ipv4 packet does not have any port information as well.</p>
]]></description><pubDate>Fri, 01 May 2026 06:37:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=47971843</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=47971843</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47971843</guid></item><item><title><![CDATA[New comment by pratyahava in "I Got Sick of Remembering Port Numbers"]]></title><description><![CDATA[
<p>i know, but the OP's goal was to host/access http(s) services with names and avoid port numbers, and gopher service name was chosen by me as an example. my point was that /etc/services cannot be used for the OP's need.<p>if you host an http(s) service on port 11111 you can reach it with url <a href="http://127.1:11111" rel="nofollow">http://127.1:11111</a>, but url <a href="http://127.1:vce/" rel="nofollow">http://127.1:vce/</a> would not work in most software.<p><pre><code>  $ grep 11111 /etc/services
  vce  11111/udp   # Viral Computing Environment (VCE)
  vce  11111/tcp   # Viral Computing Environment (VCE)</code></pre></p>
]]></description><pubDate>Fri, 01 May 2026 06:14:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=47971743</link><dc:creator>pratyahava</dc:creator><comments>https://news.ycombinator.com/item?id=47971743</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47971743</guid></item></channel></rss>