<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Coding Relic - Latest Comments</title><link>http://codingrelic.disqus.com/</link><description>Random Musings about Software in an Embedded World</description><atom:link href="https://codingrelic.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 27 Aug 2017 16:17:59 -0000</lastBuildDate><item><title>Re: The Control Plane is not an Aircraft</title><link>http://codingrelic.geekhold.com/2008/07/control-plane-is-not-aircraft.html#comment-3489703897</link><description>&lt;p&gt;Now I know something about CompactPCI cards, that MicroSwitch is very useful!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ks7000</dc:creator><pubDate>Sun, 27 Aug 2017 16:17:59 -0000</pubDate></item><item><title>Re: Code Snippet: SO_BINDTODEVICE</title><link>http://codingrelic.geekhold.com/2009/10/code-snippet-sobindtodevice.html#comment-3485591230</link><description>&lt;p&gt;I am studying "fping" and SO_BINDTODEVICE is necessary with "-I" option; thanks for this note!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ks7000</dc:creator><pubDate>Thu, 24 Aug 2017 20:41:09 -0000</pubDate></item><item><title>Re: Coding Relic: Software Engineering Maxim #8: Money is not the only motivator</title><link>http://codingrelic.geekhold.com/2017/07/software-engineering-maxim-8-money-is.html#comment-3414646012</link><description>&lt;p&gt;Doubtful.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DGentry</dc:creator><pubDate>Thu, 13 Jul 2017 09:40:54 -0000</pubDate></item><item><title>Re: Coding Relic: Software Engineering Maxim #8: Money is not the only motivator</title><link>http://codingrelic.geekhold.com/2017/07/software-engineering-maxim-8-money-is.html#comment-3414341190</link><description>&lt;p&gt;Will we ever learn which maxims may be true?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark Essel</dc:creator><pubDate>Thu, 13 Jul 2017 04:44:39 -0000</pubDate></item><item><title>Re: Coding Relic: Software Engineering Maxim #1: Small teams are bigger than large teams</title><link>http://codingrelic.geekhold.com/2017/06/software-engineering-maxim-1-small.html#comment-3385507597</link><description>&lt;p&gt;Whereas dwarves+Gandalf+Hobbit clearly were too many, and the when going together they always ended up in a pickle.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleg Mihailik</dc:creator><pubDate>Sun, 25 Jun 2017 18:22:18 -0000</pubDate></item><item><title>Re: Coding Relic: Software Engineering Maxim #1: Small teams are bigger than large teams</title><link>http://codingrelic.geekhold.com/2017/06/software-engineering-maxim-1-small.html#comment-3385502389</link><description>&lt;p&gt;That is why Friends always had guest stars: 4 is not enough.&lt;br&gt;And The Big Bang Theory could go on without Kripke or Prof. Proton for arbitrary time.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleg Mihailik</dc:creator><pubDate>Sun, 25 Jun 2017 18:17:23 -0000</pubDate></item><item><title>Re: Stackoverflow Maintenance Page</title><link>http://codingrelic.geekhold.com/2010/06/stackoverflow-maintenance-page.html#comment-2394614710</link><description>&lt;p&gt;Is there any way, we can access stackoverflow during maintenncae?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mujahed Akas</dc:creator><pubDate>Sat, 05 Dec 2015 08:56:45 -0000</pubDate></item><item><title>Re: gdb lies to you</title><link>http://codingrelic.geekhold.com/2008/07/gdb-lies-to-you.html#comment-2321941833</link><description>&lt;p&gt;I just ran into the same issue. Unfortunately the part of code I need to debug is where the call stack gets mixed up parameters. Took me awhile to notice a scalar parameter was shown as the value of an address, some huge number. I'm running on a Ubuntu vm with X86_64. The same program built on a x86_64 Fedora works like a charm. BT shows the arguments are consistent. My application is to produce HMAC SHA-1 values and compare with expected values. The test on one blob of data works and fails on the other bob. I used gdb to dump the binary just to be sure it was not corrupted. It wasn't. I'm thinking of an alternative. It's not a huge problem but I like all mysteries solved.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">why bother</dc:creator><pubDate>Thu, 22 Oct 2015 20:36:36 -0000</pubDate></item><item><title>Re: Ode to Enum</title><link>http://codingrelic.geekhold.com/2008/10/ode-to-enum.html#comment-2221169245</link><description>&lt;p&gt;"I've put it on my list of things to research and write about" Did you progress on this?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Janus Troelsen</dc:creator><pubDate>Thu, 27 Aug 2015 11:13:56 -0000</pubDate></item><item><title>Re: The Six Million Dollar LibC</title><link>http://codingrelic.geekhold.com/2008/11/six-million-dollar-libc.html#comment-2112401081</link><description>&lt;p&gt;According to the Wikipedia page on the LGPL, if you link to an LGPL library dynamically, you are fine. If you link statically you must provide all of your object files (or source code). I would think you would also have to provide your Makefile or equivalent as well, but that isn't mentioned.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">LafayetteCoboll</dc:creator><pubDate>Thu, 02 Jul 2015 08:48:25 -0000</pubDate></item><item><title>Re: Coding Relic: certdata.txt</title><link>http://codingrelic.geekhold.com/2012/01/certdatatxt.html#comment-2062878044</link><description>&lt;p&gt;It looks like that CA bundle hasn't been updated since 2012. The current latest one from their Mercurial repo is here: &lt;a href="https://hg.mozilla.org/projects/nss/raw-file/2d066157b71c/lib/ckfw/builtins/certdata.txt" rel="nofollow noopener" target="_blank" title="https://hg.mozilla.org/projects/nss/raw-file/2d066157b71c/lib/ckfw/builtins/certdata.txt"&gt;https://hg.mozilla.org/proj...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fazal Majid</dc:creator><pubDate>Thu, 04 Jun 2015 21:59:50 -0000</pubDate></item><item><title>Re: Privacy vs Voyeurism</title><link>http://codingrelic.geekhold.com/2010/05/privacy-vs-voyeurism.html#comment-2049410558</link><description>&lt;p&gt;Ranging over a rich variety of material from film and film literature, &lt;br&gt;and encompassing a critical interrogation of traditional realist &lt;br&gt;ethnographic and cinematic texts, this book highlights the extent to &lt;br&gt;which the cinema has contributed to the rise of voyeurism throughout &lt;br&gt;society. The cinema not only turns its audience into voyeurs, eagerly &lt;br&gt;following the lives of its screen characters, but casts its key players &lt;br&gt;as onlookers, spying on other's lives. The nature of the cinematic &lt;br&gt;voyeur is examined in depth, as are its implications for contemporary &lt;br&gt;society. Norman K Denzin analyzes &lt;a href="http://www.licensekey.org/2015/05/mcafee-total-protection-2015-serial/" rel="nofollow noopener" target="_blank" title="http://www.licensekey.org/2015/05/mcafee-total-protection-2015-serial/"&gt;Hollywood's manipulations&lt;/a&gt; of gender, &lt;br&gt;race and class, and, drawing on the work of Foucault, argues that the &lt;br&gt;cinematic gaze must be understood as part of the machinery of &lt;br&gt;surveillance and power which regulates social behaviour in the late &lt;br&gt;twentieth century.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joseph</dc:creator><pubDate>Thu, 28 May 2015 06:56:00 -0000</pubDate></item><item><title>Re: Coding Relic: Code Snippet: libarchive</title><link>http://codingrelic.geekhold.com/2010/12/code-snippet-libarchive.html#comment-1872469889</link><description>&lt;p&gt;Hi, dude. Very good article, but I haven't seen anything about sets passwords to archives. I'm use this code, but nothing works:&lt;/p&gt;&lt;p&gt;ArchiveWrite &amp;amp;archWrite; - input argument&lt;br&gt;archWrite.Arch = ArchiveWriteUnique(archive_write_new());&lt;br&gt;ret = archive_write_set_passphrase(archWrite.Arch.get(), "123456");&lt;/p&gt;&lt;p&gt;Password isn't created. What I'm doing wrong?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vladislav Koshyl</dc:creator><pubDate>Tue, 24 Feb 2015 06:48:20 -0000</pubDate></item><item><title>Re: Coding Relic: ATA Commands in Python</title><link>http://codingrelic.geekhold.com/2012/02/ata-commands-in-python.html#comment-1835208134</link><description>&lt;p&gt;DGentry I have tried your example code and it works fine on internal HDDs (connected through a SATA cable), but I was unsuccessful running it on a USB connected HDD via a SATA-to-USB adapter. It seems that the operation code is invalid. Any thoughts on this ? Anyway, thanks for the code :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dragosmc</dc:creator><pubDate>Wed, 04 Feb 2015 15:30:33 -0000</pubDate></item><item><title>Re: Coding Relic: Listing Processes with libproc</title><link>http://codingrelic.geekhold.com/2011/02/listing-processes-with-libproc.html#comment-1772343875</link><description>&lt;p&gt;good, this is one place, where I could see a full working example! thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vyom</dc:creator><pubDate>Mon, 05 Jan 2015 04:27:42 -0000</pubDate></item><item><title>Re: gdb lies to you</title><link>http://codingrelic.geekhold.com/2008/07/gdb-lies-to-you.html#comment-1716309986</link><description>&lt;p&gt;Thanks a lot for the info! Although you wrote this post more than 6 years ago it has been really interesting to read it and confirm what I was suspecting about gdb: he is a liar!! :P&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alb3rtobrr</dc:creator><pubDate>Fri, 28 Nov 2014 05:25:41 -0000</pubDate></item><item><title>Re: Code Snippet: SO_BINDTODEVICE</title><link>http://codingrelic.geekhold.com/2009/10/code-snippet-sobindtodevice.html#comment-1704325480</link><description>&lt;p&gt;After bind and issuing the setsockopt ,What happens if the interface is deleted and recreated wit the same name?? (In case of dynamic interfaces like IPIP interfaces )&lt;br&gt;Can I read and write data from/to the socket fd ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">krishna</dc:creator><pubDate>Thu, 20 Nov 2014 20:16:22 -0000</pubDate></item><item><title>Re: Coding Relic: Listing Processes with libproc</title><link>http://codingrelic.geekhold.com/2011/02/listing-processes-with-libproc.html#comment-1699463913</link><description>&lt;p&gt;thanks for the info on pcpu&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jared</dc:creator><pubDate>Tue, 18 Nov 2014 09:48:50 -0000</pubDate></item><item><title>Re: The Six Million Dollar LibC</title><link>http://codingrelic.geekhold.com/2008/11/six-million-dollar-libc.html#comment-1683661776</link><description>&lt;p&gt;How can I use Bionic's OpenSSL to create a SHA256. There is no #include &amp;lt;openssl sha.h=""&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jujodi</dc:creator><pubDate>Sat, 08 Nov 2014 21:50:38 -0000</pubDate></item><item><title>Re: Ode to Enum</title><link>http://codingrelic.geekhold.com/2008/10/ode-to-enum.html#comment-1633176171</link><description>&lt;p&gt;I also like enums because they are easy maintainable.&lt;/p&gt;&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;Before inserting a new operation:&lt;/p&gt;&lt;p&gt;typedef enum {&lt;br&gt;    OP_FOO,&lt;br&gt;    OP_BAR,&lt;br&gt;    OP_MAX,  // gives the no. of operations&lt;br&gt;} operation_t;&lt;/p&gt;&lt;p&gt;After t inserting the new operation:&lt;/p&gt;&lt;p&gt;typedef enum {&lt;br&gt;    OP_FOO,&lt;br&gt;    OP_NEW,  // new operation inserted&lt;br&gt;    OP_BAR,&lt;br&gt;    OP_MAX,  // no. of operations is automatically adjusted&lt;br&gt;} operation_t;&lt;/p&gt;&lt;p&gt;If OP_MAX is used e.g. to define the size of an array, its is automatically updated, too.&lt;br&gt;If you do this with #defines, you always have to modify the file in different places:&lt;/p&gt;&lt;p&gt;- adding the new define&lt;br&gt;- adjusting all the following defines&lt;br&gt;- adjusting the no. of defines&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">frank</dc:creator><pubDate>Mon, 13 Oct 2014 08:33:54 -0000</pubDate></item><item><title>Re: Soft Errors Are Hard Problems</title><link>http://codingrelic.geekhold.com/2009/09/soft-errors-are-hard-problems.html#comment-1626162254</link><description>&lt;p&gt;Hi Baruch&lt;/p&gt;&lt;p&gt;The first step to take to understand the source of errors is try to get a physical bitmap of errors location in your DIMM and plot them on a relative map centered on the nearby bump (I'm assuming here that you are using flip chip package). This map of errors might tell you a lot about the origin of the errors. Keep in mind that alpha particles from natural radioisotopes won't travel beyond 100 microns. So you are correct, if alpha particles is the problem, they have to come from within the packaging. Check out the materials in the vicinity of the die. These materials can be tested individually in an alpha counter, that's usually how it's done.You'll have to talk to your package house and ask if they change material from one chip lot to the other since you're seeing chips with several errors and others that are error free. Try to track manufacturing lots as another clue. It is correct to state that testing the whole package for alpha particles emission won't help.&lt;br&gt;Cosmic ray (high energy neutrons) and thermal neutrons (only if there's abundance of Boron 10 in the die and packaging) are particles external to the chip. Don't worry about betas.&lt;/p&gt;&lt;p&gt;Olivier&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olivier</dc:creator><pubDate>Wed, 08 Oct 2014 19:29:28 -0000</pubDate></item><item><title>Re: Soft Errors Are Hard Problems</title><link>http://codingrelic.geekhold.com/2009/09/soft-errors-are-hard-problems.html#comment-1623456823</link><description>&lt;p&gt;Alpha particles are so large that they tend not to penetrate well, so the packages of nearby chips will protect them from alpha particles emitted elsewhere within the room.&lt;/p&gt;&lt;p&gt;Beta particles (electrons) and cosmic rays can penetrate the package of chips, but those are from the solar wind not radioactive decay of anything local.&lt;/p&gt;&lt;p&gt;I'm not sure that a radiation counter will detect alpha particles from the packaging materials. The situation I've seen is with the bonding agent emitting alpha particles, which is a "goo" inside the package which cushions the die and the wires between the silicon die and the pins on the package. The particles which hit the silicon die can cause errors, while the plastic of the package surrounding the goo would tend to absorb the rest.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DGentry</dc:creator><pubDate>Tue, 07 Oct 2014 09:49:09 -0000</pubDate></item><item><title>Re: Soft Errors Are Hard Problems</title><link>http://codingrelic.geekhold.com/2009/09/soft-errors-are-hard-problems.html#comment-1623025060</link><description>&lt;p&gt;I see plenty of soft errors in DIMMs and PCIe devices. The distribution is such that some components see no soft errors and others are seeing plenty. I believe that the external forces (various particles) are not even remotely relevant and it points me more to faulty devices.&lt;/p&gt;&lt;p&gt;The theory of radioactive components is super interesting in that regard and I'm wondering if there is a way to check for it. What sort of options do I have to monitor for radioactive emissions in devices? Will they mean much if I can only test outside the cases, besides the racks? Are the failures expected to happen in the device with the problematic compound or will it affect (more weakly) nearby devices as well?&lt;/p&gt;&lt;p&gt;Just noticed the article is 5 years old... doh. I still wonder about my above questions if you care to think about that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Baruch Even</dc:creator><pubDate>Tue, 07 Oct 2014 04:24:23 -0000</pubDate></item><item><title>Re: Coding Relic: ATA Commands in Python</title><link>http://codingrelic.geekhold.com/2012/02/ata-commands-in-python.html#comment-1554611797</link><description>&lt;p&gt;If you abandoned this approach what was the later approach? Considering I want to use Python and not to run as root.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ibad Khan</dc:creator><pubDate>Fri, 22 Aug 2014 12:33:20 -0000</pubDate></item><item><title>Re: Coding Relic: Code Snippet: libarchive</title><link>http://codingrelic.geekhold.com/2010/12/code-snippet-libarchive.html#comment-1439064378</link><description>&lt;p&gt;Using above code for Reading File Contents I could read contents of files within rar and tar archives into a buffer but not zip i.e it gives negative number of bytes read.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SITA J</dc:creator><pubDate>Tue, 17 Jun 2014 06:25:15 -0000</pubDate></item></channel></rss>