<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: eliteraspberrie</title><link>https://news.ycombinator.com/user?id=eliteraspberrie</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 30 Apr 2026 20:59:29 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=eliteraspberrie" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by eliteraspberrie in "Ontario announces that it will begin a basic income trial in 2016"]]></title><description><![CDATA[
<p>For context, Ontario has no natural resources. We have always been an export economy. With globalization and automation, manufacturing is mostly gone, and it's creating social problems. We have a fundamentally different view of the role of government here, we believe government should promote quality of life and happiness. Yes it is socialism and we don't apologize.</p>
]]></description><pubDate>Sat, 12 Mar 2016 21:15:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=11274592</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=11274592</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11274592</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Docker and Security [pdf]"]]></title><description><![CDATA[
<p>Xen is worse than Linux in terms of quality, and therefore security. That Linux is much bigger doesn't make Xen any better.<p>What de Raadt means to say is, generally speaking, you can't build security on top of bad code. No amount of patching, sandboxing, or whatever will help. Security comes from quality and Xen (like Linux) is very lacking in quality.</p>
]]></description><pubDate>Fri, 11 Mar 2016 00:10:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=11263611</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=11263611</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11263611</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Coffee Drip Printer"]]></title><description><![CDATA[
<p>Beautiful! So the dot pattern here is "face centered cubic," right? Would you get a better density with a "hexagonal close-packed" pattern? It may make a difference visually. I would love to see a comparison.<p><a href="https://en.wikipedia.org/wiki/Close-packing_of_equal_spheres" rel="nofollow">https://en.wikipedia.org/wiki/Close-packing_of_equal_spheres</a> (We memorized this stuff in chemistry class and I never saw it again so I may be completely wrong.)</p>
]]></description><pubDate>Mon, 07 Mar 2016 23:00:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=11242434</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=11242434</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11242434</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Refugee Crisis Pushes Europe to the Brink"]]></title><description><![CDATA[
<p>This is such a self-inflicted problem.<p>Europe could decide to open their borders, and they would be fine. The US deals with much larger migrations every year. Or they could decide to close the borders, and they would be fine too.<p>Instead they do some schizophrenic dance in between. Some borders open, some closed. Broadcast to the world that people are welcome, and greet them with fences...<p>Decide and do. Stop talking about how it makes you feel.</p>
]]></description><pubDate>Sat, 05 Mar 2016 20:08:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=11230829</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=11230829</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11230829</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "System Bus Radio"]]></title><description><![CDATA[
<p>This is how we got sound to play on the TI graphing calculators. It sounded bad and drained the batteries but it was fun. Another fun thing was getting grayscale graphics on those screens. They had only black and white pixels but flipping them on and off at different frequencies made them gray.</p>
]]></description><pubDate>Tue, 01 Mar 2016 19:38:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=11205446</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=11205446</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11205446</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Loop Invariants"]]></title><description><![CDATA[
<p>Here's an example in a getline implementation: <a href="https://github.com/eliteraspberries/ttyprompt/blob/master/getline.c#L55" rel="nofollow">https://github.com/eliteraspberries/ttyprompt/blob/master/ge...</a><p><pre><code>        /*@ loop invariant i;
            loop invariant j >= 0;
            loop assigns j, eol;
         */
        for (j = 0; j < (size_t) i; j++) {
            if (read_buffer[j] == '\n') {
                eol = 1;
                j++;
                break;
            }
        }
</code></pre>
Loop invariants are part of the ACSL specification language, and they can be verified automatically with Frama-C. <a href="http://frama-c.com/acsl.html" rel="nofollow">http://frama-c.com/acsl.html</a></p>
]]></description><pubDate>Mon, 29 Feb 2016 16:20:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=11196318</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=11196318</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11196318</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "What This Medieval Wine Jug Can Tell Us About Islam"]]></title><description><![CDATA[
<p>That's an important difference. Christians believe good is from God and evil is from Satan. (Forgive me if I'm mistaken, I know that's a gross oversimplification.) Muslims believe good and evil are both creations of God. So most things have both good and evil in them, including alcohol:<p><i>They ask you about wine and gambling. Say, "In them is great sin and [yet, some] benefit for people. But their sin is greater than their benefit."</i><p>-- 2:219 <a href="http://quran.com/2/219" rel="nofollow">http://quran.com/2/219</a><p>Keep in mind that the Quran was revealed piece by piece over two decades. The later parts add to the earlier parts. That can be a source of ambiguity to Western readers (not to mention that the chapters are not in chronological order), which is why it's important to understand it as a whole rather than its individual verses or chapters.</p>
]]></description><pubDate>Sat, 27 Feb 2016 15:23:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=11187293</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=11187293</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11187293</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "VCs, don't compare me to your wife"]]></title><description><![CDATA[
<p>Venture capitalists are interested in a particular kind of person who can provide them with a quick profit: young people who are naive enough to prioritize business over their own life. If you are willing to spend a few years sleeping under a desk, drinking Soylent, then you are a good candidate for venture capital. If you have your head on your shoulders, you probably want to start a lifestyle business, and that is no good for venture capital.<p>People here defend VC because they think they too will get rich quick, but they won't, and in the meantime they will be very stressed and nasty on the Internet. Welcome to HN.</p>
]]></description><pubDate>Mon, 15 Feb 2016 22:52:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=11106664</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=11106664</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11106664</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Israeli Drone Feeds Hacked by British and American Intelligence"]]></title><description><![CDATA[
<p>Thank goodness. Knowing NSA spies on Iranian drones, my civil liberties have been restored.</p>
]]></description><pubDate>Sat, 30 Jan 2016 04:55:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=11000569</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=11000569</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11000569</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Things I learned from OpenSSH about reading very sensitive files"]]></title><description><![CDATA[
<p>The bug is in the compiler, not OpenSSH. The OpenSSH developers explicitly erased memory with memset. GCC decided to remove those lines without any warning. There's the bug. (Here come the language lawyers...)<p>What's the difference between GCC deleting parts of your code, and an attacker hacking into the source code repository and deleting those parts of the code?<p>The C standards committee addressed the problem in 2009 with memset_s. [0] The GNU developers reject patches and state they hope this feature is never implemented. [1]<p>The bug fix is to stop using GCC for sensitive code. Use CompCert instead. <a href="https://github.com/AbsInt/CompCert" rel="nofollow">https://github.com/AbsInt/CompCert</a><p>[0] <a href="http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1381.pdf" rel="nofollow">http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1381.pdf</a><p>[1] <a href="https://sourceware.org/ml/libc-alpha/2014-12/threads.html#00506" rel="nofollow">https://sourceware.org/ml/libc-alpha/2014-12/threads.html#00...</a></p>
]]></description><pubDate>Mon, 18 Jan 2016 21:30:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=10927114</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10927114</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10927114</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "OweFS – One-way encrypted file system"]]></title><description><![CDATA[
<p>It uses the PyCrypto package to generate random numbers. The Random class is a Fortuna generator seeded with 8 bytes from the system RNG, the PID, and time: <a href="https://github.com/dlitz/pycrypto/blob/master/lib/Crypto/Random/_UserFriendlyRNG.py#L81" rel="nofollow">https://github.com/dlitz/pycrypto/blob/master/lib/Crypto/Ran...</a><p>I doubt eight bytes is enough for cryptography...<p>If you need random bytes in Python, use os.urandom:<p><pre><code>    secret = os.urandom(32)
</code></pre>
<a href="https://docs.python.org/2/library/os.html#os.urandom" rel="nofollow">https://docs.python.org/2/library/os.html#os.urandom</a></p>
]]></description><pubDate>Sat, 16 Jan 2016 01:10:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=10913619</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10913619</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10913619</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Two months after FBI debacle, Tor Project still can’t get an answer from CMU"]]></title><description><![CDATA[
<p>I don't think they valued Tor specifically. They did value scientific research, which is what Tor was at the time. Like most research work, it got dropped once they had a working proof of concept. The State Department picked it up years later.</p>
]]></description><pubDate>Tue, 12 Jan 2016 00:06:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=10884640</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10884640</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10884640</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Canadian Company Netsweeper to Censor Bahrain’s Internet for $1.2M"]]></title><description><![CDATA[
<p>Keep an eye on this graph to see when it goes online: <a href="https://metrics.torproject.org/userstats-relay-country.html?graph=userstats-relay-country&start=2016-01-01&end=2016-12-01&country=bh&events=off" rel="nofollow">https://metrics.torproject.org/userstats-relay-country.html?...</a></p>
]]></description><pubDate>Mon, 11 Jan 2016 19:18:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=10882520</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10882520</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10882520</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Canadian Company Netsweeper to Censor Bahrain’s Internet for $1.2M"]]></title><description><![CDATA[
<p>Canadian companies doing business with foreign governments get help from the Canadian Commercial Corporation and probably consular personnel too. The Canadian government is very much involved.</p>
]]></description><pubDate>Mon, 11 Jan 2016 19:15:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=10882499</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10882499</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10882499</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Frama-C: Function Contracts and Static Analysis for the C Language"]]></title><description><![CDATA[
<p>I use Frama-C without the GUI. The annotations do take some effort, but once you get it, it's very intuitive. Start with adding assertions, for example checking that array indices don't go out of bound. Then start with simple function specifications, and improve on them over time.<p>I wouldn't use it everywhere, but in small, important functions, it's well worth it.<p>Here's the classic example of reading into a buffer: <a href="https://github.com/eliteraspberries/ttyprompt/blob/master/getline.c" rel="nofollow">https://github.com/eliteraspberries/ttyprompt/blob/master/ge...</a> From those few annotations, Frama-C is able to determine that there are no buffer overflows there.</p>
]]></description><pubDate>Mon, 11 Jan 2016 00:43:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=10878051</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10878051</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10878051</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Advanced Algebra textbooks"]]></title><description><![CDATA[
<p>I don't like the typical definition-theorem-proof approach of most textbook in mathematics, including these. It's great for a classroom, no good for self-study. As an alternative, I highly recommend <i>A Book of Abstract Algebra</i> by Pinter. If you work through that first, you may actually enjoy these two later.</p>
]]></description><pubDate>Sun, 10 Jan 2016 02:01:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=10873792</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10873792</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10873792</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "CEmu – TI-84 Plus/TI-83 Premium Calculator Emulator"]]></title><description><![CDATA[
<p>It can play NerdWars: <a href="http://www.ticalc.org/archives/files/fileinfo/220/22036.html" rel="nofollow">http://www.ticalc.org/archives/files/fileinfo/220/22036.html</a></p>
]]></description><pubDate>Wed, 06 Jan 2016 18:02:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=10852199</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10852199</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10852199</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "In Memoriam: Ian Murdock"]]></title><description><![CDATA[
<p>In Canada too. In Ontario, any death involving police automatically triggers an investigation by a police of police (Special Investigations Unit). Really shocking cases can lead to a public inquiry in parliament.</p>
]]></description><pubDate>Thu, 31 Dec 2015 00:33:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=10815390</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10815390</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10815390</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "In Memoriam: Ian Murdock"]]></title><description><![CDATA[
<p>He said on Twitter that police beat him up once, and then a second time after following him home. I hope there is a real investigation, this is enraging.</p>
]]></description><pubDate>Wed, 30 Dec 2015 19:40:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=10813863</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10813863</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10813863</guid></item><item><title><![CDATA[New comment by eliteraspberrie in "Introduction to the Math of Computer Graphics"]]></title><description><![CDATA[
<p><i>Matrices and Linear Transformations</i> by Cullen (Dover Books on Mathematics) will answer all your questions and more. It's written in plain English, doesn't require a mathematical background, and you really only need the first three chapters.</p>
]]></description><pubDate>Wed, 30 Dec 2015 17:47:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=10813215</link><dc:creator>eliteraspberrie</dc:creator><comments>https://news.ycombinator.com/item?id=10813215</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10813215</guid></item></channel></rss>