tag:blogger.com,1999:blog-16045216685299557192009-07-03T21:44:34.159+12:00Kosmokaryote .planRichardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.comBlogger99125tag:blogger.com,1999:blog-1604521668529955719.post-84782065035611318662009-07-03T21:44:00.000+12:002009-07-03T21:44:29.290+12:00A Quick Break PointDue to issues with the remote work situation and the limitations of my contract, I've left my job which I've had for the last year on positive terms.&nbsp;&nbsp; Now that I'm in New Zealand and with a lot of free time, what will I do?&nbsp; I'm contemplating school.&nbsp; Once upon a time, up until June 9th, 2009, German citizens (yay, me?) qualified for domestic tuition rates for Masters here.&nbsp; That was until June 9th.&nbsp; The government decided that the additional students that might draw were not worth the reduced tuition income, and have opted to cancel.&nbsp;&nbsp; So, I am now contemplating school a little less.&nbsp; Too many options now :)<br /> <br /> While working, there's been a lot of fun and important work postponed due to time constraints, so I've started tackling that now.&nbsp; There's a bunch of new bugs in Redhat and GNOME's bugzilla now filed.&nbsp; I've cleared out some reading queues and cleaned up my inbox.&nbsp; A large foreboding mountain of papers to my right has been re-organised and some of it dealt with.&nbsp; Progress!<br /> <br /> <b>DJAqua</b><br /> <br /> My Rhythmbox plugin, <a href="http://gitorious.org/djaqua">DJAqua</a>, that announces a track's artist and title before and after play has had an annoying bug for a while: it froze Rhythmbox.&nbsp; I've now narrowed down the cause to Speech Dispatcher's involvement.&nbsp; It's only when functions passed to Speech Dispatcher as callbacks try to adjust Rhythmbox's volume that Rhythmbox freezes.&nbsp; Python threading issues?&nbsp; I'm not quite sure.&nbsp; I've come up with a slightly less ideal solution, though.&nbsp; I still want Rhythmbox's volume to lower when Speech Dispatcher is reading out the text for the track's artist and title, and for it to be restored afterwards.&nbsp; Unable to rely on Speech Dispatcher's callbacks when speech begins (to lower) and ends (to restore the volume), I now lower it when I send the command to speak, and schedule the restoration with an estimate of how long the announcement will take.&nbsp;<br /> <br /> Here's part of the neat part.&nbsp; Originally, I was just going to guess it would take 6 or 7 seconds (based on informal timings) to read it out, but that really won't work when the title and artist are longer than usual or shorter than usual.&nbsp; So, I did the intelligent thing.&nbsp; I collected some sample data on how long it took for 11 random samples to be spoken, and how many characters were in those samples.&nbsp; I then analysed the number of characters per second and found that the average was consistently around 15 with a few outliers.&nbsp; So, now it expects the speech to take (<i># of characters to be spoken</i> / 15) seconds, and it works very well.&nbsp; Yay.&nbsp; This lets me ignore Speech Dispatcher's other race condition which sometimes prevents the callback from being called when speech begins.<br /> <br /> I've filed a bug with Redhat for the issue of Begin not being emitted, and a bug with GNOME for Rhythmbox's UI freezing due to the plugin:<br /> <ul> <li><a href="https://bugzilla.redhat.com/show_bug.cgi?id=494298"><span class="bz_default_hidden" id="summary_alias_container" style="display: inline;"><span id="short_desc_nonedit_display">Speech Dispatcher Python module has race preventing BEGIN callback</span></span></a></li> <li><span class="bz_default_hidden" id="summary_alias_container" style="display: inline;"><span id="short_desc_nonedit_display"><a href="http://bugzilla.gnome.org/show_bug.cgi?id=587285">Rhythmbox UI freezes when speechd adjusts volume</a></span></span></li> </ul> <span class="bz_default_hidden" id="summary_alias_container" style="display: inline;"><span id="short_desc_nonedit_display">I know I need to pursue this better with Speech Dispatcher.&nbsp; I wrote them about the first bug and they are vaguely aware of the problem but didn't have a solution at the time.&nbsp; Then I disappeared due to work business.</span></span><br /> <br /> So, yah, now DJAqua doesn't freeze.&nbsp; If you want to hear what track is playing and its artist, and you have a working installation of Speech Dispatcher (in Fedora 10, I had a bunch of other issues that don't seem to be problems in Fedora 11, regarding Pulse Audio and stuff), please try it out.&nbsp; I actually have to move the new code to its gitorious repository, ah well.<br /> <br /> <br /> <b>Phone Number Portability</b><br /> <b> </b><br /> Having grown up with super-portable e-mail addresses, the fragile connection between a mailing address and a phone number to a person seems utterly ridiculous to me.&nbsp; Clearly, people should specify that mail should go to <i>me</i> and not some building, and that a phone call should to <i>me</i> and not some randomly assigned phone number.&nbsp;<br /> <br /> Consequently, I use my father's mailing address all the time.&nbsp; It adds almost a week or two of latency for a lot of mail, but it ensures it will get to me now and in the future.&nbsp; As a co-op student, I moved way too much to keep track of who has what address and to try to update them all.&nbsp; Regarding phone numbers, I've been grateful to have my Vonage phone number for so long.&nbsp; Of course, it fails in being regional to Guelph, but that's alright for me.&nbsp; I end up getting a local number wherever I go, but that's often split with others, so the cost isn't doubled.&nbsp;<br /> <br /> The future will be better.<br /> <br /> For example, people in the future won't, when moving into a new home, end up with a recycled phone number that once belonged to an automotive shop, who continues to receive daily calls to the number.&nbsp; Internet listings are in part to blame, particularly ones to which you cannot contact to request the now residential number be removed :(&nbsp; Hehe.&nbsp;<br /> <br /> <b>Celebration of Freedom</b><br /> <br /> While my work was not slave labour (though the remote work environment, given the time difference, left me feeling isolated as though I lived in a closet), it is always pleasant to celebrate change and free time.&nbsp;&nbsp; Of course, with unemployment comes economy, so homemade cupcakes and half-price arcade fun it was!&nbsp; I have my girlfriend to thank for both.&nbsp; Hurrah for her!<br /> <br /> The influx of self-directed time has led me to review all my pending goals and tasks, to reorganise them and to start milling through them.&nbsp; Some are as common as "Clean this room!"&nbsp; or "Pad the doorway to prevent the slamming noise".&nbsp; Others are "save the world" and "figure out what I want to do for the next year, the next three years, where I want to be, the value of people and time with them, etc.&nbsp; I sometimes wish I had a wise sensei like Splinter from Teenage Mutant Ninja Turtles or Enho from The Twelve Kingdoms to offer some advice.&nbsp;<br /> <br /> <b>Debugging, problem solving, and mail notification</b><br /> <br /> <a href="http://www.nongnu.org/mailnotify/">Mail Notification</a> by Jean-Yves Lefort has a bug.&nbsp; I reported it a couple years ago, but it remains.&nbsp; The CPU seemingly random takes 100% while it continually claims it cannot connect to the IMAP server, which is true, but I don't know why.&nbsp; It is probably triggered when I resume from suspend, or when I am disconnected and reconnect, or when the hour turns.&nbsp; I don't know.&nbsp;<br /> <br /> I don't really know how to debug the 100% CPU activity.&nbsp; I'm going between ltrace, sysprof, and gdb and learning a bit about each.&nbsp; I think I'd really like to use Linux Trace Toolkit, but it's not as trivial to setup, it seems, requiring a kernel patch.&nbsp; Or maybe I'm just confused.&nbsp; Anyway, whenever it comes out, I quickly quit what I'm doing and think about how I can figure out what's going on.&nbsp; I am sure victory is within my grasp. <br /> <br /> <br /><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-8478206503561131866?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-16565390483391691172009-06-23T20:54:00.000+12:002009-06-23T20:54:14.318+12:00How to remove the close button from your tabs in FirefoxDo you use Mozilla Firefox?<br /> <br /> Do you hate the presence of the close buttons on tabs?<br /> <br /> Do you want to hide the close buttons on tabs?&nbsp;<br /> <br /> I really do.&nbsp; I use Tree-style view and they waste a bunch of space.&nbsp; Stupid close buttons!&nbsp; So, go to about:config, filter for the property browser.tabs.closeButtons, and change its integer value from 1 to 0.&nbsp; This way, it will only display the close X button on the tab you are on.<br /> <br /> Yay!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-1656539048339169117?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-49309712052647756202009-06-16T21:54:00.000+12:002009-06-16T21:54:50.280+12:00XephyrRunning Fedora 11?&nbsp; Running into an X11 crasher bug that you can reliably reproduce but don't have the hard iron to run all of X in gdb?&nbsp; Perhaps like this one when you click on the Gimp's canvas and see X flash before your eyes?<br /> <blockquote> <pre>Backtrace: 0: /usr/bin/Xorg(xorg_backtrace+0x3b) [0x812d07b] 1: /usr/bin/Xorg(xf86SigHandler+0x9e) [0x80c061e] 2: [0xdf0400] Fatal server error: Caught signal 11. Server aborting </pre> </blockquote> Perhaps the bug is equally represented in Xorg and Xephyr.&nbsp; In which case, you can probably run Xephyr from your desktop<blockquote> Xephyr :1</blockquote> with :1 to denote which display it should take (:0 should be in use by your session already).<br /> <br /> Then, run which apps you need to inside Xephyr to reproduce the bug.&nbsp; (e.g. <a href="https://bugzilla.redhat.com/show_bug.cgi?id=505823">the Gimp</a>).&nbsp;<br /> <br /> You can tell them which X server to appear in by setting the DISPLAY variable like so<br /> <blockquote> DISPLAY=:1 gimp</blockquote> Now, right before you cause the Xephyr X server to crash,&nbsp; run gdb on it<br /> <blockquote> gdb --pid=`pidof Xephyr`</blockquote> You might not have the debuginfo files installed, which you'll want to be able to trace through the human-readable source code.&nbsp; gdb should prompt you with a command for any relevant, missing debuginfo.&nbsp; Note that, on Fedora 11, you'll also need librpm.so available for it to do this (provided by rpm-devel). <br /> <br /> Once you have the symbols loaded and gdb connected to your Xephyr process, tell gdb to "continue", and now reproduce your crasher.&nbsp; gdb should catch the segfault (or signal SIGSEV or something).&nbsp; Then you can get a backtrace ("bt") from gdb and start finding out where you are.<br /> <br /> After that, I tend to restart Xephyr, reconnect gdb, and "break" at the names of functions where the crash happens, and then start "step"ing and "next"ing through, "print"ing the variables whose values I want to see until I find out why I'm crashing.&nbsp;<br /> <br /> <a href="https://bugzilla.redhat.com/show_bug.cgi?id=505823">RH bug 505823</a> will let me know if this was at all useful.<br /> <br /><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-4930971205264775620?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-40369762882144969472009-06-16T21:11:00.000+12:002009-06-16T21:11:19.891+12:00Unable to open "librpm.so"? Perhaps rpm-devel is missing.In Fedora 11, are you getting something like this when using gdb when you're missing some debug info files?&nbsp; <br /> <blockquote> Unable to open "librpm.so" (librpm.so: cannot open shared object file: No such file or directory), missing debuginfos notifications will not be displayed. </blockquote> I was, and it meant that gdb couldn't suggest which package I had to debuginfo-install to get the<br /> misisng debug information and symbols. <br /> <br /> I did a locate for librpm.so and found librpm.so.0 and friends in /usr/lib. &nbsp; Guessing that's where librpm.so was supposed to be, I did "yum whatprovides /usr/lib/librpm.so" and that told me rpm-devel-4.7.0, which I then installed.<br /> <br /> After that, I ran gdb on the process I wanted to inspect again, and ta-da, I am finally told the name of the package which I need to install to get my debugging symbols.&nbsp; Copy, paste, yay.&nbsp; <br /> <br /> <br /> <br /> <br /><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-4036976288214496947?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-9636047627146375302009-06-03T20:21:00.002+12:002009-06-03T20:21:52.745+12:00<a href="http://gitorious.org/djaqua">DJ Aqua</a> <p>A plugin for Rhythmbox to have Speech Dispatcher announce a track's artist and title before and after play. The code, finally available.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-963604762714637530?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-80570108663810944732009-05-31T00:39:00.002+12:002009-05-31T01:14:49.400+12:00<h4>Blogging Theory</h4> <p>I suppose one reason why I don't blog more often is because I'm not too fond of Blogger's post creation interface. I'm not sure why. My complaint used to be its size, but now the text entry box is resizeable. It used to be how often I'd lose work if I didn't manually save drafts, but now it autosaves. It's rather quite nice. I suppose I long for some sort of ideal, common desktop applet like GNOME Blog. Sadly, it's gone unmaintained for a while. It needs to be updated to use Blogger's Atom API. I wrote a patch doing just that once and submitted it, but the product is neglected. Sigh. I'll note that the interface surely isn't the dominant factor in my blogging frequency though.</p> <p>I think I'm given to making large multi-part posts, and that this is probably bad. I should probably instead make multiple, more focussed posts. Then, people would be less daunted to read any individual post. Hopefully, their amazing frequency helps keep people sufficiently riveted that they'll gladly afford the time and disinterest for particular topics to trudge through the tired terminology.</p> <h4>Evolution</h4> <p>I used to think more and less about it. I once lived with a good friend with whom it and alternatives could be discussed and debated. I didn't know much about it then, and I don't now, though I know more. Its propositions seem less controversial or questionable now. I don't really wonder about it's plausibility any more: I've had to code simulations of the principles of natural selection, genetic mutation and crossover. I've encountered case studies documenting smaller changes over more visible periods of time. The only thing that I don't expect I'll ever be certain of is whether it's how it all happened. My friend had pointed out at the time an event relayed by a fellow who even came to speak at our University, about a student asking for advice, and the details are gone now, but essentially, while the student thought that perhaps they could avoid explicitly making a decision, they in fact would effectively implicitly make a decision that would be reflected in their daily decisions that require assumptions of how things are. It might have been a story to question agnosticism, but I don't really remember. I still think that not committing to something important but uncertain, even if you have to act as though that something was certain sometimes. Some things are too important to get wrong.</p> <p>I used to read some popular blogs about evolution and not-evolution and it's really silly. It's as ridiculous as modern politics. Non-physical battles are so ridiculous, I cannot believe we tolerate them. How can we respect people who behave as badly as those who engage in these most ridiculous arguments in government and in science/religion. Presently, though, I am reading a textbook, <em>Evolutionary Analysis</em> by Freeman and Herron. It's quite nice, but they make an effort to defend evolution against alternative theories and this defense feels misplaced. They don't dedicate enough time to properly introduce the alternatives or fully address them. That's alright, because that's certainly not the purpose of the text, but they probably shouldn't try to address controversy that they won't allow themselves enough time for. More importantly, they do spend lots of time on specific case studies, like Grant and Grant's study of medium ground finches on Daphne Major, on HIV, and on bees and flowers. I've only read their first three chapters so far, one of which discusses HIV as a primer, and one of which discusses the theory of evolution, explains it, and occasionally makes mild attempts to justify it.</p> <p>I don't have a good mind for casual details anymore, it seems. I think I'm just too distracted by "important" things from work and previously school. I don't have time like I did with video games to be as observed. However, information from this textbook seems to be sticking better. So does information from the lectures I attend on campus. I'm quite pleased. I hope that my endeavours to sleep more (enough to wake up naturally on some non-weekend days, even!) are to credit. Anyway, perhaps the next time I get to constructively debate evolution with someone, I'll be better informed and better able to contribute.</p> <h4>Work</h4> <p>I've worked since last May for a company whose product is largely database driven. I left it for a brief time before returning on a contract which will be ending early soon.</p> <p>One of two reasons include feeling handicapped by the lack of availability of coworkers for work-related tasks (e.g. sometimes I need access to a peer for information on a system, or a business analyst to understand what needs to be done given some development) for which, for half of my day, I have to wait until the next day to do. That's because, while I start at 7-7:30AM NZST, that's in the middle of lunch in Vancouver. There's usually about 3-3<sup>1</sup>/<sub>2</sub> hours of overlap when people are back from lunch before they leave in which I can interact, and it often finds me rushing to send of e-mails with questions before my lunch, hoping to catch people before they head out before waiting for tomorrow again. While I almost always have enough work to ensure I can still be busy and productive in the meantime, it means some tasks end up dragging on for far longer than they should (particularly investigation work where I end up with more time-sensitive questions).</p> <p>It's also stressful a bit trying to ensure that I'm up at 7AM due to the winter season out here and relatively awful climate control in my NZ residence. The story goes that houses were built all over the north island where the climate is tropical, and then the same builders came to the south island and built all the houses the same, despite the fact that it's temperate here. So, sure, it doesn't get as cold as Ontario outside of the house, but it does get as cold inside as it does outside, which is still 3 degrees right now! While I have a portable oil heater in my room, that doesn't help heat the other parts of the house (kitchen, washroom, etc.) I enjoy waking up early in the day, but all the prep work for the day is an early shock to the body, and I've grown use to ... warmth! See my earlier blog entry on it!</p> <p>The second of the two reasons I'm describing is feeling disconnected and isolated. There's one coworker who's online later than the rest often and who converses with me regularly. He's great and it's fun, but it doesn't prevent me from feeling like a boy who's stuck in a closet and given school work all day to do. I <em>do not think</em> that this is due to the nature of remote work, but that remote work enables it when you don't have a very good culture of interactivity electronically. I feel like if I could be more involved with my coworkers and team on-line, this wouldn't be as much of a problem. If we had effective forums where the administrator actually approved me, if we were all available via instant messenger, or actually used a common chatroom. I don't mean to goof off, either. Sure, there should be some of that, but more liquid communication could help productivity and involvement a lot.</p> <p>I do hope that my employer doesn't go away from this contract with a negative impression of remote work arrangements. I think they understand some of the issues with the current one well enough not leave with that wrong impression. I hope.</p> <h4>The Brain</h4> <p>So what is a boy to do with his time? Find another job? Nay! say I. Who would hire a visitor for just a year? Someone, perhaps, but that would be such a gamble; I've had a few bad job experiences during my co-ops and I'd like not to repeat them in New Zealand. Instead, a Masters is the object of my eye!</p> <p>Yes, I had considered getting a masters a while ago, but while in Canada, there wasn't anything that ended up being so compelling, and I was very burnt out of school after my last semester and wanted to escape. However, due to uncertainty of my contract originally, I did investigate options and found a professor here whose work is interesting. I've been attending his lectures, and it appears that he'd be willing to supervise me if I enrol. So, that's what I'm looking forward to now. A single-year research/thesis masters of computer science. It will involve the brain, you see!</p> <p>I've read a lot of stuff related to the course and the potential Masters topic recently to understand it and whether it's something that I'd like to do. I think it is. The domain itself is exciting and fascinating to me. It's something I felt as though I took some of the wrong courses during my undergraduate to be able to study later on, but I appear to have been mistaken. Give me your basal ganglia now, please.</p> <h4>Employment and Employers</h4> <p>At some point, I want to write about challenges faced at the place where I am most recently working and some facets of employment that I think are important. I'll briefly mention one now though: attention to the development infrastructure and tools internally. It sometimes feels as though the existing infrastructure and the tools are not growing apace with the challenges of a larger code base or with what's available. I think it's useful to have someone specifically tasked (or at least part-time) with identifying all the resistance developers face daily and work to remove or minimise it. Like, improving the product is important, but improving the situation of the developers helps that goal, too.</p> <h4>Clarity, age, and crystals</h4> <p>It's strange, but some ideas have become clearer in my mind over time. I notice a lot of gaps in my memory, but new things are easier to generalise, categorise, manage, understand. Old ideas that were obtuse and always vague in my mind see to crystalise more easily. I'm sure a lot of it has to do with increased experience and a better conceptual framework in which to understand these old and new things. Sadly, there appear to be downsides.</p> <p>With improved crystalisation and the growth of my interdependent conceptual framework (knowledge), my mind appears to be less malleable, even now, at 25. I wonder whether that puts me at risk for being able to contribute anything particularly novel to the Masters research I now hope to do. I hope that awareness and wariness of this will help me to not fall into traps of stale, stubborn knowledge.</p> <p>The other downside is the removal of magic from my environment. Natural things in particular are now much easier to understand. I wonder whether someone my age who had avoided science and explanations would still feel a better sense of mystery, or whether it just degrades naturally over time. I've been expending effort recently, looking harder at beautiful scenes to feel their beauty like I feel I once would have. I am heartened that the professor I've mentioned before paused to remark on the glory of a magnolia tree in a courtyard we approached the other day. But then again, the CN Tower wasn't very impressive to me when I was younger, as I had seen greater things in video games, and it wasn't until mid-university that I came to appreciate the sight of it.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-8057010866381094473?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-38275695175686991292009-04-21T23:20:00.000+12:002009-04-21T23:20:29.766+12:00Warmth and Humanity<p>Warmth is a comfort that is by no means guaranteed or natural to always enjoy. I suppose a relatively small fraction of the Earth's total population can rely on a warm home. For some reason, it seems like something I've taken for granted. I'm not sure why, as the home I have grown up in was generally frigid throughout the winter months, often leading me to Do Nothing except huddle in blankets in front of a computer. I assume it was an influence in me doing very little homework at home, or playing so many video games. Yes, activity will help warm you, but moving leads to contact with the cold air, and staying more or less stationary while insulated in blankets helps create a nice pocket of trapped bodily warmth. Delightful!</p> <p>However, while at university, I was generally blessed with Very Well insulated or heated accommodations (where the utilities were included), or a room so small my computer would leave things toasty. I suppose I became somewhat used to heated comfort. Visiting home, I would start to remark on the cold. My father is well insulated bodily, but I am scrawny and was not. I am sure all my friends have remarked upon it during the winter season. "It's warmer in the snow," some might say. I should have moved into an igloo.</p> <p>In 2008, I found the cold to be debilitating while living in a basement. The cold, among other dreary basement factors, infringed upon my happiness and comfort in a way not before recognised. Yikes. Now, though, I'm in a room relatively poorly insulated. On a good note, we have an oil heater that we rely on in our room to allow our digits to move. (A few days spent hiding from the world and with fingers that were growing numb quickly eroded my inhibitions against power consumption.) We have yet to see an electricity bill, and it probably will be ugly. However, half of it is covered by the landlord, and the remaining half is split 4 ways. So, 1/8th of the total usage of the house will hopefully be not very bad. Hopefully we're also won't be the greatest contributor to it. At least there's two of us sharing the heat from one heater in here :)</p> <p>I wonder whether it would be a worthwhile goal to try and establish comfortable conditions for all, as far as warmth goes, and what that would entail. The alternative, adapt to what's natural, makes sense. But if we can all be comfortable and warm, why not?</p> <p>I'm not sure that we can. Consistent warmth for everyone who is suffers from the cold will probably require a lot of energy. Enough energy to counter the natural elements plaguing people. In severe winters, all the more energy is required. Sure, we can probably generate enough electricity, but will that affect climate? If carbon and other green house gases are produced while generating all that electricity, it would probably put us in a situation worse than we might now be in. Regardless of climate change, there's regular pollution. China apparently has severe issues with pollution resulting from their coal plants. Besides heat from electricity, we can also popularly get it from natural gas and oil. Allegedly, those will eventually be in short supply. At the very least, the price isn't the most stable, and can become very expensive. Finally, how do we get the heat to many people? What about areas where electricity isn't reliable? Will they be reliant on oil or natural gas? </p> <p>So, here are some considerations to make it more viable:</p> <ul> <li>Improve structures' insulation to ensure that they can retain as much of the heat they have. </li> <li>Try to use cleaner forms of energy to prevent pollution and excess carbon.</li> <li>Have smarter systems to help prevent waste. Like, a house that could detect windows left open and close them or notify someone to close them, would be good.</li> <li>Try to provide efficient heating systems that don't rely on power mains, oil, or gas. (Try magic.)</li> </ul> <p>So, be more efficient, minimising waste and by-products while maximising availability. Will this require massive production of new heaters to improve coverage or to replace inefficient systems or improve insulation? Production and the requisite consumption of resources might also be undesirable depending on the availability and renewability of the resources, and the by-products of the production.</p> <p>I suppose this would be helped by some advances in technology. But, I suppose it doesn't really matter. Climate change and oil availability not withstanding, another key requirement that I think is probably lacking is interest. I don't think there's sufficient interest to try to ensure warmth for everyone who wants it. Right now, it seems like it's mostly up to the individual to try to secure warmth for themselves. Yes, there are government programmes to help the disadvantaged improve their homes insulation and organisations that try to ensure the availability of basic necessities. But until it becomes an almost trivial task, or until someone finally decides that the cost no longer outweights the glory of the achievement, I think general availability of heat, providing it for all people who could otherwise not afford it, will remain a dream, and I'll have to take it less for granted.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-3827569517568699129?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-36817853711331508552009-03-29T12:06:00.001+13:002009-03-29T12:07:52.820+13:00Peter And Paul Killed the Dragon And He Did It With His Bare Hands<p>I disagree with how vampires live but I like vampires. At least, I prefer them to werewolves. There are more explicit properties about them that I could find appealing, like immortality, romance, the night, their elegance, fair skin, Victorian associations, etc. <p>I'm not a huge fan of drinking blood, but the focus on blood as being fundamental to life is nice. Immortality is somewhat nice, but I generally see vampire immortality as a form of "easy" perverted Christian immortality. You should be a good Christian and receive immortality, but those who are greedy, exploitive, afraid seek something more certain and palpable, more Earthly powerful, something you know (Earthly "life") over the afterlife. A perversion in near-enough direct contradiction to the immortality you're supposed to seek. It leaves you addicted to blood, firmly bound and dependent upon the Earth for survival.</p> <p>By opposing, by rejecting, the Christian immortality, it seems like you generally surrender it for all time. You're isolated into a world where anything Godly is anathema to even your health. Life-fueling sun, the Holy Cross, Real Life (you hide in a coffin during the day, where only your Earthly remains should have remained, not your mind), Holy Water, garlic (Jesus loved that stuff!), and even Truth (the mirror betrays you).</p> <p>To compensate, vampires make the most out of what they do have. They exercise their power, they seduce, they refine and manicure themselves. They enjoy their lot. And they pull others into the darkness with them. Of course, not all vampires are like this, but the best are. Some become savage animals, mindlessly feeding. A different species to be sure. Sometimes a story will focus on one, the other, or a mixture (as in Buffy). </p> <p>For those who see the bastardisation of vampirism and its perversion, their greatest salvation is by running full-tilt into the Hands of God. Often, it's not quite enough. He rarely intervenes directly. Perhaps he rescues your soul right then. Perhaps the soul is only damned if you willingly embrace the darkness. I'm not clear on this point.</p> <p>Anyway, the aspect of vampires that attracts me is the degree of order. It is weaved into their refinement and elegance. Though immortal, they are not invulnerable, and must take care if they wish to survive. They need to be able to feed without drawing attention to themselves. They need rules and security, security from the day and those who would hunt them. They need order. Power helps them. Many vampires either ascend to a powerful place in the larger world or flock to one who has. Participating in a leveraged position among the humans helps them control their situation. Yes, they expose themselves to some suspicion, but less than were they totally removed yet known of. Wealth and power enables their necessarily eccentric lifestyles.</p> <p>This degree of order is contrasted in the Underworld series of films against werewolves. Vampires can be feral, easily. They lust for blood as a werewolf does. Many times, a vampire is seen to transform a little when angered, hungry, or intimidated. They cease to inhibit their more feral tendencies and exhibit the extent of their ungodly power. However, like many humans, they spend a great deal of time denying their wilder nature and establish a lifestyle of control and responsibility. Werewolves on the other hand, when turned under the light of the full moon, are reckless walking slaughter houses. They feed on whatever they can, they scrap more madly than any natural beast known to man, endangering their own existence and those of the people around them. Vampires apply their intelligence to their survival, while werewolves apply their teeth. Werewolves are free of constraint, it would seem, a freedom dangerous to themselves as much as others. Savages.</p> <p>But of course, who wants eternal damnation and the curse of the vampire, to never walk again in the light of the sun, to eat garlic, to love without death? So, three cheers to the vampire hunters, the vampire slayers, to those who dedicate their lives to researching and exterminating the vampire menace, to those who resist the seduction of a promise so sweet in short-sighted eyes. Here's to the Van Helsings, Buffys, and Glenn the frogs of the world!</p> <p>Oh, the title is a line from a song by <a href="http://www.joshritter.com/music.shtml">Josh Ritter</a></p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-3681785371133150855?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-65791452015157750782009-03-29T11:28:00.000+13:002009-03-29T11:28:56.150+13:00Food's War On The Mind<p>Once upon a time, I would have seen non-sweet peanut better as superior and de factoly enjoyed it. It would have seemed rustic and, more importantly, counter my intuition of what should be popular. I would distinguish between what pure peanut butter really was and what how sweetened peanut butter constituted a fraud. But now, I don't care. I want sweet things. I can no longer resist the call of chocolate. I eat a fruit and I go "I wish I had ice cream on the side."</p> <p>It seems my experience with food, my reactions to it, are less determined by my philosophy and more by my palette now. Hmm.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-6579145201515775078?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-32529434278820407242009-03-24T17:24:00.000+13:002009-03-24T17:24:10.656+13:00Testing. Ah.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-3252943427882040724?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-34639097349086600902009-03-23T19:38:00.002+13:002009-03-23T20:52:45.447+13:00<p>Google has <a href="http://www.google.com/webmasters/">web master tools</a>. I'm using them to detect broken links here. There were four that are now fixed.</p> <p>There's also a new Code Poem up:<a href="/codepoems/djaqua/">DJ Aqua</a>. It's a plugin for Rhythmbox that uses Speech Dispatcher to speak aloud a track's name and title at its start and its end. <a href="/codepoems/djaqua/djaqua-0.1.tar.gz">0.1 release</a>.</p> <p>It still has some issues and isn't the best packaged. But ah well. There's other stuff to do, too.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-3463909734908660090?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-18903058110107043282009-03-21T19:49:00.000+13:002009-03-21T19:49:41.609+13:00Lack of Updates<p>There is no lack of updates. This is not a "Lack of updates" post. You only post those to audiences. You don't post them to yourself and two friends. "Lack of updates" posts are obliged to claim that there was a special reason for the interruption but that All Good Things Do Not End and things will resume shortly. Then after another half-hearted month, they die. The guilt filling the posters' souls from lying like a parent about dogs' heaven (dogs don't go there, only old dead conservative people do) paralyses them. The wrath liars caught in the act face (and isn't it always severe and spectacular?) ensures that All Good Things Turn Bad And Whimper.</p> <p>I have microwaveable cake mix. It's a delightful theory. Experimental trials will be conducted this evening.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-1890305811010704328?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com1tag:blogger.com,1999:blog-1604521668529955719.post-25152167388513050132009-03-13T22:48:00.002+13:002009-03-23T19:34:06.640+13:00Migratory Season<p>Hello. I've migrated across the world to New Zealand in the last month. I've seen quite a few sites and sights.</p> <span style="text-align: center;"><img src="http://lh6.ggpht.com/_gHs8w8pvnv4/SbjwKlMfBzI/AAAAAAAAIW0/YbotbAr3cuo/s640/100_1598.jpg" /></span> <p>I'm now well situated and will hopefully resume employment shortly. Unemployment is nice in that I finally have time to accomplish the myriad goals that accumulate throughout my days. It's bad in that money only goes out and it has a finite supply.</p> <span style="text-align: center;"><img src="http://lh4.ggpht.com/_gHs8w8pvnv4/Sbjy71EA_gI/AAAAAAAAIeM/mP4-AoGrNis/s640/100_1734.jpg" /></span> <p>For instance, I now have a workable version of Icarus, a command-line PicasaWeb uploader that I used to upload photos quickly from Nautilus (using <a href="http://www.grumz.net/?q=taxonomy/term/2/9">Nautilus actions</a>). It's been an important exercise in programming in <a href="http://live.gnome.org/Vala">Vala</a>. I really hope that its bindings get well documented at some point.</p> <p>I also have improved the oft rewritten GenderGuesser. The current incarnation is written in C with GLib and GTK+. It now also makes good use of GIO and LibXML. I originally disliked the LibXML API. At least, the help files that ship with it are a mess and not easy to follow. I suppose Vala and LibXML both make me miss the wonderful documentation the Java API has.</p> <span style="text-align: center;"><img src="http://lh3.ggpht.com/_gHs8w8pvnv4/SbjsycpR8wI/AAAAAAAAIPg/bpWw5HcLmOo/s640/100_1252.jpg" /></span> <p>I've been walking up quite a few hills out here with my girlfriend. There's lots of good exercise to be had. I've also found an ideal electronics store nearby. I was afraid one didn't exist. I'm trying to make a better effort at letting technology make me more, rather than less, productive. I've reorganised my Google Reading habits. I've also removed from the list one of the most prolific feeds: TreeHugger. Its propaganda quotient was also getting a bit high. Slashdot's sensationalist rating is as high as ever, but I'm a pretty good filter, and I'm not aware of an adequate substitute for my needs.</p> <p>I'm also using an application called Almanah Diary on GNOME for logging my thoughts and activities. I do too much to post it all here on my public blog. I also like keeping data local.</p> <span style="text-align: center;"><img src="http://lh3.ggpht.com/_gHs8w8pvnv4/SbjyHMz-kxI/AAAAAAAAIb4/t4fZ-yWKhIQ/s640/100_1649.jpg" /></span> <p>I've been paying Google for additional web space in PicasaWeb for a while now. However, I hadn't gotten around to uploading much because <ul> <li>there isn't an uploading solution that I'm aware of that fits my needs (surprisingly)</li> <li>there isn't per image privacy settings</li> </ul> Icarus solves the first problem, but the second requires Google. Often, I will have a set of photos, and 90% of them I feel comfortable making public. Sadly, it's all or nothing with PicasaWeb it seems. Temporary solutions that I've explored include: <ul> <li>Making two separate albums, one with both the public and private photos, which I keep private, and a second with just the public photos, which I make public. This sucks, because I end up duplicating that 90% of public photos.</li> <li>Make two separate albums, one with just the private photos and one with just the public photos. This sucks, because then the private photos are out of context from the public ones. </ul> That reminds me, sometimes context can be difficult to retain because I've had issues trying to sort by both name and date, where date didn't seem to use the EXIF date but rather the files modified date, or something weird. The names were an issue because they weren't named in any particular order. </p> <span style="text-align: center;"><img src="http://lh5.ggpht.com/_gHs8w8pvnv4/Sbjy3goq9HI/AAAAAAAAIeA/7LxlDUuY8E4/s640/100_1822.jpg" /></span> <p>I like PicasaWeb so much, but there are all these "small" things that prevent me from really embracing it. At least it's much more compatible with my needs than, say, Flickr or facebook.</p> <p>For now, Cthulhu Arborus:</p> <span style="text-align: center;"><img src="http://lh6.ggpht.com/_gHs8w8pvnv4/Sbjy0R1Q15I/AAAAAAAAId0/avt1uuRgFQA/s400/100_1810.jpg" /></span><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-2515216738851305013?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-63741891692307324172009-02-07T21:40:00.003+13:002009-02-07T21:42:27.698+13:00Simulants<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/9BDG5ax_eTo&color1=0xb1b1b1&color2=0xcfcfcf&hl=en&feature=player_embedded&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/9BDG5ax_eTo&color1=0xb1b1b1&color2=0xcfcfcf&hl=en&feature=player_embedded&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object> <p>I suppose we're getting quite close to replacing nature!</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-6374189169230732417?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com149.27721276406079 -123.13407897949219tag:blogger.com,1999:blog-1604521668529955719.post-83702259156428832432009-01-26T01:13:00.003+13:002009-01-26T01:17:29.799+13:00<div class="separator" style="clear: both; text-align: center;"> <a href="http://www.gnome.org" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.kosmokaryote.org/blog/uploaded_images/gnome-lover-724134.png" /></a></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-8370225915642883243?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-85343492720941950932009-01-26T00:07:00.001+13:002009-01-26T00:10:55.450+13:00Comfortable Nests<p>I often find situations that my father would balk at as being inconvenient and uncomfortable to be quite desirable regardless. Clearly, he and I are valuing different factors for these. A very typical one is going for a walk in the winter. He suggests that it is too cold for such an expedition, but I think it is too beautiful not to adventure out.</p> <p>I miss <!--Flesherton--> snow already.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-8534349272094195093?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com149.28015246278183 -123.1333065032959tag:blogger.com,1999:blog-1604521668529955719.post-40950284222644903282009-01-25T23:39:00.001+13:002009-01-26T00:04:53.037+13:00A Recipe for Reading Success<p>I am having a nice weekend. I feel like I am being personally productive.</p> <p>I've worked extra hours for most days of the last two weeks. I'm on a custom team and we have our core product, and I was asked whether I could complete a couple development items for the core product's quarterly release. I've done it before and I did it again gladly. However, the work should only be done in over time, because custom team already has their hours dedicated to a client. I also have taken on two side projects. One which I think I might have to defer, and one that I'm really excited and happy about, and makes my day job easier and more fulfilling. It is nice the initiatives I feel I can tackle once I'm confident in what I'm doing.</p> <p>I like to read a lot about current events. I don't usually mean the news, though I have followed that thing that just happened quite a bit. Mostly I enjoy reading interesting or informative posts at a variety of blogs or news blogs. To prevent myself from nickle and diming my time away through the week, I now concentrate my great consumption of textual media to the weekend. The earlier in the weekend, the better, before I drag it out like a weekend-long birthday party where the only reason people don't leave is because I swallow the only key that would let them out of the basement. There are usually about 600 items, most of them a paragraph long, but quite a few a couple pages. Some people go to the trouble of writing full-blown essay length posts, and I usually go to the trouble of ignoring them and hoping I'm not greatly deprived by abstaining from their thought candies. And that's a problem.</p> <p>I read things under the misguided hope that I will get to rot my brain on these thought candies. That they'll leave impressions like gaping cavities in my once confident understanding of what is and show me what actually is. However, with about 600 items, and many of them very brief and shallow, I end up getting easily saturated by simple, light treats and end up unable to digest or even attempt the large, worthwhile, rich and large bon bons which promise the best experiences. I spoil my appetite. So, I defer. I defer these delicacies until Later, where Later is a mythical time oft spoken of by We Who Lack Time (but we know we'll find it again some day). Of course, that's a crock. What ends up happening is that it ends up at the bottom of the food pile and stagnates and rots there for weeks and, like sweet food-ons that you might delay on eating for a more convenient moment, it gets thrown out after a month.</p> <p>However, I have revolutionised the way I do my reading now, As Seen On TV. When I read this string of candied beads, I have been doing it in LIFO when I <em>should</em> have been doing it in FIFO! And, there's a real difference as to why. (LIFO is Last In-First Out, where you read the newest stuff first; FIFO is First In-First Out, where you read the oldest stuff first; it's fundamental queuing theory!) When I read the newest things first, I will effectively always have spoiled my appetite by the time I get to the cake from weeks gone by, and I will probably have added additional cakes from this week as my sweet tooth became overwhelmed and my senses dulled, my brain numbed, my mind wandering. So, now my articles are sorted by Oldest First. This way, last weeks cake is still fresh in front of me <em>when I am hungriest!</em> A lot more cake assuredly gets devoured now (unlike before, where I left it all to go stale). After after the cakes, I still have room for all the light, fluffy icing that constitute the majority of the 600 articles. I am full of win and winful mind pastries. Yum!</p> <p>Now that I'm actually reading more of the French desserts, I ended up spending a bit more time today reading than in previous weekends. About 6 hours. I accredit that in part to having a backup of stale cake to read under my new method; something which should be avoided in future weekends by at least an hour. I'll always leave something over for next week; a lot of the creamily-filled chocolate surprise-thoughts won't appear until I've gorged on quite a few wafers first, and I won't be able to fit it all. But at least they'll be the first ones I'll encounter when my appetite is built back up. Yum!</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-4095028422264490328?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com149.28040442880476 -123.13343524932861tag:blogger.com,1999:blog-1604521668529955719.post-49162360737833218512009-01-04T13:37:00.003+13:002009-01-04T14:08:28.839+13:00So much<p>There is so much to think, so much to say. I've wanted to write about a lot of things, but I take a lot of time to go about and I lose interest in the words. Hmm.</p> <p>One issue was that Flesherton this year feels like an echo of my youth. My father's house wasn't decorated for Christmas and dinner wasn't planned. I went about setting up the tree myself and ordering Christmas pizza. The meal went well, there was a lot of food (salad, garlic bread, wings for the omnivores). My brother, his fiancee, and their recently-born daughter made it. Christmas Eve church service and Cliff and Vera were absent. For the first time, really, Christmas celebrations depended in large part on my active participation. I will try to be more prepared for next year.</p> <p>A lot of my friends have left their homes in search of life, freedom, careers, and school. However, they almost all managed to make it back to Grey County for a Wahoo! I haven't seen Danielle or Emily yet, but Ashley made it over for breakfast, snowballs and Dutch Blitz. Shane visited his family, and I visited them all. They're a good family that is very welcoming. I persuaded them to play Dutch Blitz as well, though Shane's brother's girlfriend had protested. Frank and his first sister came to Flesherton for a few days around New Year's Eve. We visited them twice and had Frank over for a supper once. We got in a lot of conversation, tea, an episode of Get Smart, and a viewing of the anime Origin which I gifted to him. Also, popcorn, chocolate turtles, ice cream, and ice cream bars. Also, two sessions with the twins, with movies, driving, pizza, East Side Marios, and board games.</p> <p>The case of Frank emphasised the feeling of this Christmas holiday being a faint echo of those that came before. Only he and his first sister were present in a house that hasn't been properly lived in for months, and which has been cleaned largely bare of its former life and activity. It seems somewhat like social states can be establish where annual deviation is relatively small, but only for a certain period, after which breaks need to be made. Over the course of Schwarting-family Christmases starring my father as Dad, there has been a rather great deviation from the first to the last, but between any two Christmases the deviation has seemed smaller. The actual deviation between this one and the previous one doesn't seem great, but it feels great. I'm very grateful that Frank was able to visit Grey County and that we could enjoy New Years with him. I'm glad that Shane was pleasant and Shane-as-usual. I'm glad to be able to toss a snowball in Ash's face. I'm glad that my father, despite having a great deal of complaints recently about pain, has seemed to be as Ox-strong as ever during my visit, willing to drive several times for the same egg-breakfasts in Markdale.</p> <p>The twins, oddly, seem like they'll never change. Things seem to be improving, rather than deteriorating, as well. They seem to be investing a little more in their home, which makes it all the more pleasant to visit in. At its worst, it's been cold and uncomfortable, but nothing that could really deter me from visiting them. Their media collection seems slightly more organised and consequently more impressive. Their family bond seems a bit tighter than in recent years. We got to play Scattergories with them, and Settles of Catan. Liv won a game of each and I won a game of the former. Liv's quite good :) We also saw with them Yes Man, National Treasure, and the new The Hulk. They have a tradition of funding my entertainment during excursions some times, given their workingness and my education-induced poverty. I am not sure whether that was appropriate this time, given my recent period of payed work :)</p> <p>So, that about sums up a report on How Life Has Changed. It seems shallow. I'm concerned anew with shallowness, since Liv introduced me to the Daria movie. Sigh :)</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-4916236073783321851?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com1tag:blogger.com,1999:blog-1604521668529955719.post-37123305225180855102009-01-04T10:55:00.002+13:002009-01-04T13:37:46.268+13:00Computers<p>Liv is now the proud owner of a tablet. An IBM Thinkpad X41, used. General piece of advice for the future: do not acquire 3rd party batteries. Yes, they are less expensive. And they may be equally safe. However, both replacement batteries that I have tried to acquire for this have had their capacities over-advertised and are notably less than Lenovo's replacement. (Though, it more or less matches the price.) Almost more alarming is that they do not fit well. The first replacement battery was Very Difficult and needed to be forced against its will into the laptop. The second didn't enter smoothly but was better. Neither fit in the laptop when using the dock. Which will prove a great inconvenience. The laptop will always have to be hibernated or shutdown to be transferred to the dock which contains the DVD/CD-RW. Sigh. However, the stylus works nicely.</p> <p>Her acquisition of a tablet got me working on improving the tablet experience for myself as well. I've installed software that does some handwriting recognition (hurrah!). The updated version of the Silicon Motion graphics driver for my tablet is the first that has enabled me to rotate my screen. I've learned a bit about the xsetwacom application that lets me reconfigure what the buttons are for the stylus (I now have a right-click instead of a middle click!) and rotate the stylus for when I've rotated the screen. (Which unfortunately introduces an offset over time, and should be done automatically and correctly anyway.)</p> <p>I am still waiting to acquire an updated laptop myself at some point. My RAM is at its maximum of 256MB(!), the processor is a PIII at 800MHz. It has no USB 2.0 ports (so any USB devices like external hard drives are 10x slower or worse). It supports 802.11b at best (802.11g is about 5x faster, 802.11n is faster still). Except by ethernet, data moves at about 1MB/s off my computer at best. I'm often better off connecting a USB device to one of Liv's computers and transferring data there via ethernet. It's rather amusing :D It's case is deteriorating somewhat rapidly now. I'm not particulary harsh with it, either, I think.</p> <p>I suppose I should start creating a list of candidates for Skedge's replacement.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-3712330522518085510?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com1tag:blogger.com,1999:blog-1604521668529955719.post-35031315281523737432008-12-31T05:31:00.001+13:002008-12-31T06:16:31.187+13:00Acer TravelMate C100 in Fedora: Stylus and Tablet, more<p>I'm going to document a bit more my trials in getting the Acer TravelMate C100 working tablet working in Fedora. I'll break it up by sections and update just this One post.</p> <h4>X</h4> <p>X changed how they handle PCI and now the Silicon Motion driver is broken for this tablet's Lynx 3DM SM712 card. For this you will need an updated Silicon Motion driver! Here is the source for <a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-siliconmotion/snapshot/xf86-video-siliconmotion-1.7.0.tar.gz">1.7.0</a> which fixes whether to use the BIOS, some initialisation, and acceleration issues. Yay 1.7.0. Francisco Jerez was wonderfully helpful. Bug documenting the issue is on Freedesktop bug <a href="https://bugs.freedesktop.org/attachment.cgi?bugid=18816">18816</a>.</p> <p>If you do not feel comfortable building the new driver and its few dependencies, you might want to wait until Fedora releases an updated one! Or, you can bug me and I will package it.</p> <h4>Tablet</h4> <p>The new X tries to use HAL to autoconfigure your devices. It tries to make do without an /etc/X11/xorg.conf configuration file. It did not autoconfigure my tablet. So, as root I let it create a base xorg.conf (once I had X working at all from the step above) using</p> <pre># X -configure</pre> <p>which created a new xorg.conf in /root/ which I copied to /etc/X11/xorg.conf and added: <pre> Section "InputDevice" Driver "wacom" Identifier "Stylus0" Option "Device" "/dev/ttyS0" Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Option "Button2" "3" # makes side-button right click instead of middle EndSection Section "InputDevice" Driver "wacom" Identifier "Eraser0" Option "Device" "/dev/ttyS0" Option "Type" "eraser" Option "ForceDevice" "ISDV4" EndSection Section "InputDevice" Driver "wacom" Identifier "Cursor0" Option "Device" "/dev/ttyS0" Option "Type" "cursor" Option "ForceDevice" "ISDV4" EndSection </pre> <p>I also made this changed the X Server layout section to this:</p> <pre> Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Stylus0" "SendCoreEvents" InputDevice "Cursor0" "SendCoreEvents" InputDevice "Eraser0" "SendCoreEvents" InputDevice "Keyboard0" "CoreKeyboard" EndSection </pre> <p>The next time I started X, the stylus worked :)</p> <h4>Suspend and Sleep</h4> <p>Hibernate worked automatically for me. However, the Acer TravelMate C100 would not come out of suspend to RAM for me. Well, it came out, the video would just be blank and slowly bleed across the screen :( To fix this for me, I have to enable the vbe_post quirk for HAL. To do this for the system, I made two changes to <pre>/usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi </pre> which defines the quirks for Acer's video.</p> <p>First, I changed the 4th line (vendor) from this: <pre> &lt;match key="system.hardware.vendor" prefix="Acer"></pre> to this <pre> &lt;match key="system.hardware.vendor" prefix_ncase="Acer"></pre> because this Acer model is reported is lshal as being ACER instead of Acer, and the change lets it match case insensitively.</p> <p>The second change I made was to enable the vbe_post quirk for the C100 as well as the 6460. So, I changed line 24 (the one that matches 6460) from this: <pre> &lt;match key="system.hardware.product" contains="6460"></pre> to this <pre> &lt;match key="system.hardware.product" contains_outof="C100;6460"></pre> </p> <p>This issue with patch is at Redhat bug <a href="https://bugzilla.redhat.com/show_bug.cgi?id=478369">478369</a></p> <h4>Audio</h4> <p>I have to use the <pre>$ alsaunmute</pre> command from the command-line to get the audio correctly initialised often. I haven't really pursued this much as I think my soundcard is having hardware issues anyway.</p> <h4>Wireless</h4> <p>The built-in wireless works out of the box for me. The sad part is, though, the button to switch between the wireless card and the wired ethernet seems to only work at boot (like, when GRUB is up). So, I have to reboot if I want to switch modes.</p> <p>I'll note that the <a href="http://cakey.de/acerhk/">Acer Hotkeys system</a> (acerhk) mentions code for enabling the wlan_button from Christian Roessner but their link appears to be dead. </p> <h4>Hotkeys</h4> <p>Building and compiling <a href="http://cakey.de/acerhk/">Acer Hotkeys</a> (acerhk) still works for me for enabling volume and suspend Fn keys :)</p> <h4>Other</h4> <p>There are other things that I may have forgotten or not bothered about if they weren't important to me. If you want me to try something or have any questions, please comment or e-mail me. My e-mail address is on the <a href="http://kosmokaryote.org/">front page</a>.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-3503131528152373743?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-9163490155644088202008-12-29T16:07:00.001+13:002008-12-29T17:30:30.252+13:00Acer TravelMate C100, a sleeping beauty<p>I own an Acer TravelMate C100 tablet PC. I recently installed Fedora 10 on it. While resuming from suspend worked under Ubuntu, it did not under Fedora 10. Following <a href="http://people.freedesktop.org/~hughsient/quirk/quirk-suspend-index.html">Richard Hughes' quirks</a>, I discovered that I could resume from suspend when suspending with the vbe_post quirk.</p> <p>So, from the command-line:</p> <pre>$ pm-suspend --quirk-vbe-post</pre> <p>And from HAL:</p> <pre>hal-set-property --udi /org/freedesktop/Hal/devices/computer --key power_management.quirk.vbe_post --bool true</pre> <p>While I <em>should</em> be able to add an entry to /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi to make this quirk permanent for HAL, that does not appear to be working. Hmm.</p> <strong><em>Update</em></strong> <p>So, the casing was wrong. My laptop claims its vendor to be ACER while the section in the HAL file was matching on "Acer". I changed it to match case insensitively, as well as adding the entry for C100 on vbe_post.</p> <p>I'll mention that I didn't discover this by suddenly clueing in, but by running:</p> <pre>$ pm-suspend --quirk-vbe-post --store-quirks-as-fdi</pre> <p>And viewing the output at /etc/hal/fdi/information/99local-pm-utils-quirks.fdi.</p> <p>Now HAL reads the quirk entry from the fdi. Yay.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-916349015564408820?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com2tag:blogger.com,1999:blog-1604521668529955719.post-69241632338510437732008-12-09T21:18:00.003+13:002008-12-09T21:41:20.547+13:00Fedora and Masochism<p>So I installed Fedora 10 on my laptop the other day and: what a mess! My first issue was that X wasn't working. I actually helped resolve that the other day with an X developer in Ubuntu, so I applied the same fix, and voila.</p> <p>Second, I couldn't log in! I would go to GDM, login, and then it would wait interminably. I eventually tried reinstalling GDM and rebooting. That ended up working, somewhat. However, all I got was a blank panel and a few icons. I have now populated that panel. Did something fail to copy over the items? Did they fail to load? This was caused by one of two issues:</p> <ul> <li>dbus-1.2.6. What utter fail. Yes, it is a security risk, but the solution is not to update a fundamental package that will break the desktops of all your users who bother to diligently install security fixes. Yikes. It's still not totally resolved. A relevant Fedora/Redhat bug: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=475068">475068</a>; freedesktop bug: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=18229">18229</a></li> <li>A gstreamer issue. My new user account had ~/.gstreamer-0.10 with permissions that prevented the creation of the file registry.i386.bin, without which gstreamer segfaults. Yikes!</li> </ul> <p>I'll note that the gstreamer issue also took away:</p> <ul> <li>my sound, and <li>my power management! I don't really understand how that worked, but I didn't have suspend or hibernate, or the battery applet while that gstreamer file couldn't be made. Relevant bug: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=475125">475125</a></li> </ul> <p>The errors I received due to the gstreamer (as reported in /var/log/messages and ~/.xsession-errors) include:</p> <ul> <li>gnome-settings-[8894]: segfault at 4 ip 00fef0f5 sp bffb8020 error 4 in libgstreamer-0.10.so.0.18.0[f6b000+bc000]</li> <li>gnome-power-man[8893]: segfault at 4 ip 06e320f5 sp bfe37190 error 4 in libgstreamer-0.10.so.0.18.0[6dae000+bc000]</li> <li>mixer-applet2[9015]: segfault at 4 ip 06e320f5 sp bfd86bd0 error in 4 in libgstreamer-0.10.so.0.18.0[6dae000+bc000]</li> </ul> <p>Finally, my stylus does not work. My configuration expects /dev/input/wacom which is apparently wrong on Fedora. I need to find out which device file it becomes associated with, and then all will be well once more...</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-6924163233851043773?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-24722679707767614462008-11-30T15:18:00.001+13:002008-12-03T19:37:29.985+13:00If it ain't broke, no one has tried to fix it yet!<p>I own an Acer Travelmate C100 tablet PC with the Silicon Motion SM720 Lynx3DM card that came with it. It is currently running Ubuntu 8.10. Or trying to, at least. I had once tried to run Fedora 9 on it, but it experienced issues with its X server. I didn't have time at the moment to sort that out, so I tried Ubuntu 8.04 again and things worked. </p> <p>Now I've upgraded to Ubuntu 8.10 and I am experiencing the same issues. A laptop that used to work just fine now encounters the following error, and X refuses to start.</p> <blockquote>AddScreen/ScreenInit failed for driver 0</blockquote> <p>I initially tried a variety of difference changes to my Xorg.conf file which did not help my situation. So, I did some investigation, some toying with source code, filed <a href="https://bugs.freedesktop.org/show_bug.cgi?id=18816">bug 18816</a> at FreeDesktop.org and wrote to the Xorg mailing list. Franscisco Jerez took interest, indicating that the issue with my driver in Ubuntu 8.10 was probably fixed in git. It seems to have been, but other issues continued to exist. I also have to add the following to my /etc/X11/xorg.conf file:</p> <pre>Option "UseBIOS" "off"</pre> <p>After this, my screen displayed, but was out of centre and flickered. He provided another patch for that. Afterward, I could start X after a fresh power cycle or resume and have a fully functional X server again. Yay!</p> <p>However, now that I'm using 8.10, I notice a bunch of lag. It seems that when some dialogues open, the screen freezes for 3 or 4 seconds and the content of the dialogue frequently remains just white. I tried disabling acceleration in my xorg.conf (using 'Option "NoAccel"') and in a brief session after this, I didn't get the pauses any more (but acceleration was missing in obvious situations, such as moving a translucent terminal window). I'll try to better test whether XAA acceleration is causing the slownes. Hopefully Francisco or another developer might take an interest in that problem too, if XAA seems the likely culprit :D</p> <p>So, my upgrade to Ubuntu 8.10 has been fairly painful. My tablet's portable CD-ROM isn't very reliable for reading CDs for installation, and the tablet doesn't boot from USB, so I usually install Linux on it over the network. This makes it difficult to try a different distro. Oh, and my wireless doesn't work anymore. I historically use a Netgear prism2 USB wireless adapter. Try to figure that one out to. So, the moral of the story? Don't upgrade ;)</p> <p>Francisco Jerez is awesome and I (and others) should totally buy him as much non-alcoholic beverage of his choice as he ever wants.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-2472267970776761446?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-17727030755298777812008-11-24T09:27:00.000+13:002008-11-24T09:51:15.816+13:00Reading the Internet<p><em>Disclaimer: What I read and my comments on them (as well as my posts on this blog) are not particularly interesting.</em></p> <p>There are a number of websites that I like to read. Thanks to the advent of RSS and Atom feeds, I can subscribe to a feed of their latest posts and read them in a single location: an RSS Aggregator of some sort, like <a href="http://reader.google.com">Google Reader</a>. You may be reading my blog via such a medium yourself.</p> <p>A very sad thing about such aggregators is that they usually do not preserve the pretty theme of the page from which the posts are coming from. I really enjoy the aesthetic I've designed for Kosmokaryote, but if you read it from Google Reader, your concept of Kosmokaryote is probably somewhat dissociated from the simple design I've laboured for so long on.</p> <p>ANYWAY, the point of this post is to note that, for efficiency reasons, I now do all my Internet reading on Friday night/Saturday morning/Saturday afternoon. I usually have accumulated about 600 items to read and it takes several hours to go through them all. At the top of my blog (which you would not see via an RSS Reader!), there is a list of the last 6 items that I have read. At the bottom of the 6-item list is a Read More link which takes you to <a href="http://www.google.com/reader/shared/user/00387245947453485092/state/com.google/broadcast">my actual Shared Items page</a> of mine from Google Reader. It has the actual value, as it features the comments I sometimes put on the things I read. While the things I read might be insignificant to you, sometimes the comments might be :) I generally read technical and open source blogs, a linguistic and a psychology blog, webcomics, a professor at a small Christian college's blog, and some Green propaganda.</p> <p>In the future, I think I will try to rig up something that takes the shared items and converts the comments into blog posts with a link to their original item. Since my comments are usually short, I'll probably aggregate them into single Weekend Reading entries that have a list of comments with their links. Mwahaha.</p> <p>So, if you're interested in what I read or my comments on them; go forth. You may also <em>subscribe</em> to a feed of my shared items, and then avoid seeing the pretty theme I selected for the Shared Items page, boo hoo hoo</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-1772703075529877781?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com0tag:blogger.com,1999:blog-1604521668529955719.post-6820357022453130182008-11-24T09:19:00.000+13:002008-11-24T09:26:27.541+13:00Self-sufficient Me<p>Here is a cut video from the Ministry of Agriculture, Forestries and Fisheries of Japan advocating self-sufficiency in their food industry to increase their food security. Apparently, about 60% of the food they consume is imported, with the oils and meat that has been introduced into their diet increasing in price because of the increased demand on feeds like corn by the biofuel industry. The economics of resources is interesting. Anyway, it looks like the Sims and Sim City a little.</p> <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/ok3ykR2GHCc&hl=de&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ok3ykR2GHCc&hl=de&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> <p>Ultimately, I think I expect higher efficiency food production through genetic engineering of plant crops :) I am also hoping <a href="http://en.wikipedia.org/wiki/In_vitro_meat">in vitro meat</a> largely displaces meat from live animals. I was linked to the video via a page that I think would take it as advocating buying local as being more environmentally friendly. I think I enjoy exotic, non-local foods too much to practise that all the time, though. Also, I think it's generally believed becoming a vegetarian who doesn't eat local has a much more significant impact than eating local :D, so I'm ahead of the curve.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1604521668529955719-682035702245313018?l=www.kosmokaryote.org%2Fblog'/></div>Richardhttp://www.blogger.com/profile/05999356523405056706aquarichy@gmail.com1