<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: yrc, a Unix IRC client: genesis</title>
	<atom:link href="http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/feed/" rel="self" type="application/rss+xml" />
	<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/</link>
	<description>The search for invariants</description>
	<pubDate>Wed, 08 Apr 2026 09:43:50 +0000</pubDate>
	<generator>http://polimedia.us</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: BusyBox microcom, the code review &#171; Fixpoint</title>
		<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/#comment-2213</link>
		<dc:creator>BusyBox microcom, the code review &#171; Fixpoint</dc:creator>
		<pubDate>Thu, 20 Oct 2022 05:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://fixpoint.welshcomputing.com/?p=51#comment-2213</guid>
		<description>[...] at the cost of an egregious conflict with popular Unix programs such as emacs and pico/nano, and others inspired by emacs input conventions. Finally, I submit that the design is broken just in its own [...]</description>
		<content:encoded><![CDATA[<p>[...] at the cost of an egregious conflict with popular Unix programs such as emacs and pico/nano, and others inspired by emacs input conventions. Finally, I submit that the design is broken just in its own [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yrc re-genesis and patch for smooth scrolling and other fixes &#171; Fixpoint</title>
		<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/#comment-279</link>
		<dc:creator>yrc re-genesis and patch for smooth scrolling and other fixes &#171; Fixpoint</dc:creator>
		<pubDate>Mon, 08 Jun 2020 06:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://fixpoint.welshcomputing.com/?p=51#comment-279</guid>
		<description>[...] revisit now my IRC client from the other side of seven months since initial public release and a full year since my last round of development on it. Its usage in this interval has been [...]</description>
		<content:encoded><![CDATA[<p>[...] revisit now my IRC client from the other side of seven months since initial public release and a full year since my last round of development on it. Its usage in this interval has been [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Welsh</title>
		<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/#comment-275</link>
		<dc:creator>Jacob Welsh</dc:creator>
		<pubDate>Thu, 28 May 2020 19:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://fixpoint.welshcomputing.com/?p=51#comment-275</guid>
		<description>http://ossasepia.com/2020/05/03/ossasepia-logs-for-may-2020/#1026459 :

&lt;strong&gt;yrctest&lt;/strong&gt;: jfw yrc looks pretty neat, once the bit_length trouble was sorted; the lack of tab-completion though sucks.
&lt;strong&gt;jfw&lt;/strong&gt;: diana_coman: hey thanks for testing
&lt;strong&gt;jfw&lt;/strong&gt;: the tab completion is one among several noted sucks. maybe I'll give the whole thing another pass soon
&lt;strong&gt;diana_coman&lt;/strong&gt;: jfw: no worries; now I realised I should give it another go on 2.16 after the fix to that bit_length, huh
&lt;strong&gt;jfw&lt;/strong&gt;: weird that you got that error on 2.7.16; I'm running on a Debian 2.7.3 and otherwise tested on 2.7.13
&lt;strong&gt;jfw&lt;/strong&gt;: and I woulda thought bit_length would be some efficient internal thing, not "convert to binary string and count digits" lol
&lt;strong&gt;diana_coman&lt;/strong&gt;: jfw: well, not that I *expected* it was that but ...such said the docs, why would I argue with them.
&lt;strong&gt;yrctest&lt;/strong&gt;: would you look at that, it works with python 2.6.6 too!
&lt;strong&gt;jfw&lt;/strong&gt;: oh I see, it's "equivalent to" that but the 2.7 implementation is indeed internal.
&lt;strong&gt;jfw&lt;/strong&gt;: nice!
&lt;strong&gt;diana_coman&lt;/strong&gt;: huh, I basically "backported an irc client, in one hour!!11"
&lt;strong&gt;diana_coman&lt;/strong&gt;: well, alternatively it may be called "messing about with python and irc for one hour" but anyways
&lt;strong&gt;jfw&lt;/strong&gt;: well seems to be messing about with a useful output at least.
&lt;strong&gt;diana_coman&lt;/strong&gt;: tsk
&lt;strong&gt;diana_coman&lt;/strong&gt;: jfw: ftr it was the neat layout of yrc that got me to look at that bit_length thing a bit more
&lt;strong&gt;jfw&lt;/strong&gt;: diana_coman: good to know. and no 'ncurses' involved either
&lt;strong&gt;jfw&lt;/strong&gt;: diana_coman: what was the 'tsk' to there - the devoicing?
&lt;strong&gt;diana_coman&lt;/strong&gt;: jfw: indeed, no (n)curses either; and yes, tsk was to deedbot
&lt;strong&gt;diana_coman&lt;/strong&gt;: I guess now I got yrc working even on 2.6.6, I'll just have to switch, huh

Re bit_length, I'm fine to go with the "stringifying" version, it's not any kind of hot spot here.</description>
		<content:encoded><![CDATA[<p><a href="http://ossasepia.com/2020/05/03/ossasepia-logs-for-may-2020/#1026459" rel="nofollow">http://ossasepia.com/2020/05/03/ossasepia-logs-for-may-2020/#1026459</a> :</p>
<p><strong>yrctest</strong>: jfw yrc looks pretty neat, once the bit_length trouble was sorted; the lack of tab-completion though sucks.<br />
<strong>jfw</strong>: diana_coman: hey thanks for testing<br />
<strong>jfw</strong>: the tab completion is one among several noted sucks. maybe I'll give the whole thing another pass soon<br />
<strong>diana_coman</strong>: jfw: no worries; now I realised I should give it another go on 2.16 after the fix to that bit_length, huh<br />
<strong>jfw</strong>: weird that you got that error on 2.7.16; I'm running on a Debian 2.7.3 and otherwise tested on 2.7.13<br />
<strong>jfw</strong>: and I woulda thought bit_length would be some efficient internal thing, not "convert to binary string and count digits" lol<br />
<strong>diana_coman</strong>: jfw: well, not that I *expected* it was that but ...such said the docs, why would I argue with them.<br />
<strong>yrctest</strong>: would you look at that, it works with python 2.6.6 too!<br />
<strong>jfw</strong>: oh I see, it's "equivalent to" that but the 2.7 implementation is indeed internal.<br />
<strong>jfw</strong>: nice!<br />
<strong>diana_coman</strong>: huh, I basically "backported an irc client, in one hour!!11"<br />
<strong>diana_coman</strong>: well, alternatively it may be called "messing about with python and irc for one hour" but anyways<br />
<strong>jfw</strong>: well seems to be messing about with a useful output at least.<br />
<strong>diana_coman</strong>: tsk<br />
<strong>diana_coman</strong>: jfw: ftr it was the neat layout of yrc that got me to look at that bit_length thing a bit more<br />
<strong>jfw</strong>: diana_coman: good to know. and no 'ncurses' involved either<br />
<strong>jfw</strong>: diana_coman: what was the 'tsk' to there - the devoicing?<br />
<strong>diana_coman</strong>: jfw: indeed, no (n)curses either; and yes, tsk was to deedbot<br />
<strong>diana_coman</strong>: I guess now I got yrc working even on 2.6.6, I'll just have to switch, huh</p>
<p>Re bit_length, I'm fine to go with the "stringifying" version, it's not any kind of hot spot here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diana Coman</title>
		<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/#comment-274</link>
		<dc:creator>Diana Coman</dc:creator>
		<pubDate>Thu, 28 May 2020 18:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://fixpoint.welshcomputing.com/?p=51#comment-274</guid>
		<description>Adding to it:
1. the weird: apparently the requirement is even &#62; python 2.7.16 since on said python 2.7.16, the above STILL fails quite the same. A dig through Python docs such as they are seem to list that bit_length() function as "new in version 2.7" indeed but experience adds "not in 2.7.16" (or at least not in 2.7.16 from centos repos...)
2. the use a bigger hammer solution: the bit_length function turns out to be a relatively short packaging of a few lines of code (possibly packaged in order to make sure one needs to update Python or something); one might but I don't so here's the content of that fabled bit_length, just use the code and be done with it:
&lt;blockquote&gt;
def bit_length(self):
    s = bin(self)       # binary representation:  bin(-37) --&#62; '-0b100101'
    s = s.lstrip('-0b') # remove leading zeros and minus sign
    return len(s)       # len('100101') --&#62; 6
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Adding to it:<br />
1. the weird: apparently the requirement is even &gt; python 2.7.16 since on said python 2.7.16, the above STILL fails quite the same. A dig through Python docs such as they are seem to list that bit_length() function as "new in version 2.7" indeed but experience adds "not in 2.7.16" (or at least not in 2.7.16 from centos repos...)<br />
2. the use a bigger hammer solution: the bit_length function turns out to be a relatively short packaging of a few lines of code (possibly packaged in order to make sure one needs to update Python or something); one might but I don't so here's the content of that fabled bit_length, just use the code and be done with it:</p>
<blockquote><p>
def bit_length(self):<br />
    s = bin(self)       # binary representation:  bin(-37) --&gt; '-0b100101'<br />
    s = s.lstrip('-0b') # remove leading zeros and minus sign<br />
    return len(s)       # len('100101') --&gt; 6
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diana Coman</title>
		<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/#comment-273</link>
		<dc:creator>Diana Coman</dc:creator>
		<pubDate>Thu, 28 May 2020 17:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://fixpoint.welshcomputing.com/?p=51#comment-273</guid>
		<description>My attempt to run this on Python 2.6.6 raised the hopes and then killed them promptly: initial screen is fine and neat but then it runs into compatibility trouble at /connect so I guess it's really Python 2.7, sadly. If it's any help, here's the error I got:
&lt;blockquote&gt;
File "yrc.py", line 371, in rand_int
    nbytes = (n.bit_length() + 7) / 8
AttributeError: 'int' object has no attribute 'bit_length'
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>My attempt to run this on Python 2.6.6 raised the hopes and then killed them promptly: initial screen is fine and neat but then it runs into compatibility trouble at /connect so I guess it's really Python 2.7, sadly. If it's any help, here's the error I got:</p>
<blockquote><p>
File "yrc.py", line 371, in rand_int<br />
    nbytes = (n.bit_length() + 7) / 8<br />
AttributeError: 'int' object has no attribute 'bit_length'
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Protect What Matters with JWRD &#171; Dorion Mode</title>
		<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/#comment-264</link>
		<dc:creator>Protect What Matters with JWRD &#171; Dorion Mode</dc:creator>
		<pubDate>Sat, 02 May 2020 02:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://fixpoint.welshcomputing.com/?p=51#comment-264</guid>
		<description>[...] yrc, the Unix Internet Relay Chat (IRC) client. Common modern chat services require the use of the providers' proprietary software clients and servers. IRC is an Internet Standard chat protocol which can be deployed to implement your own privately operated chat network. [...]</description>
		<content:encoded><![CDATA[<p>[...] yrc, the Unix Internet Relay Chat (IRC) client. Common modern chat services require the use of the providers' proprietary software clients and servers. IRC is an Internet Standard chat protocol which can be deployed to implement your own privately operated chat network. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Contribution Guidelines for TMSR OS &#171; Dorion Mode</title>
		<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/#comment-121</link>
		<dc:creator>Contribution Guidelines for TMSR OS &#171; Dorion Mode</dc:creator>
		<pubDate>Sat, 14 Dec 2019 06:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://fixpoint.welshcomputing.com/?p=51#comment-121</guid>
		<description>[...] Install an IRC client and register a nick with #freenode 5 ; Jacob Welsh (WoT: jfw) genesis'd his IRC client, yrc. [...]</description>
		<content:encoded><![CDATA[<p>[...] Install an IRC client and register a nick with #freenode 5 ; Jacob Welsh (WoT: jfw) genesis'd his IRC client, yrc. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Welsh</title>
		<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/#comment-116</link>
		<dc:creator>Jacob Welsh</dc:creator>
		<pubDate>Fri, 13 Dec 2019 06:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://fixpoint.welshcomputing.com/?p=51#comment-116</guid>
		<description>Updated for genesis naming.</description>
		<content:encoded><![CDATA[<p>Updated for genesis naming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Welsh</title>
		<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/#comment-29</link>
		<dc:creator>Jacob Welsh</dc:creator>
		<pubDate>Sun, 17 Nov 2019 19:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://fixpoint.welshcomputing.com/?p=51#comment-29</guid>
		<description>I did a Keccak implementation in C (your articles and collected references on the subject were helpful). It can plug into the perl/python/awk V implementations by pipe. I'm aware that phf's vtools are more robust though.</description>
		<content:encoded><![CDATA[<p>I did a Keccak implementation in C (your articles and collected references on the subject were helpful). It can plug into the perl/python/awk V implementations by pipe. I'm aware that phf's vtools are more robust though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JWRD Computing: The why, how, what and way forward. &#171; Dorion Mode</title>
		<link>http://jfxpt.com/2019/yrc-a-unix-irc-client-genesis/#comment-27</link>
		<dc:creator>JWRD Computing: The why, how, what and way forward. &#171; Dorion Mode</dc:creator>
		<pubDate>Sat, 16 Nov 2019 03:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://fixpoint.welshcomputing.com/?p=51#comment-27</guid>
		<description>[...] valued at $2,500. Software7: Bitcoin, GnuPG, Gales Linux, Gales Scheme, Gales Bitcoin Wallet, yrc IRC [...]</description>
		<content:encoded><![CDATA[<p>[...] valued at $2,500. Software7: Bitcoin, GnuPG, Gales Linux, Gales Scheme, Gales Bitcoin Wallet, yrc IRC [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
