Crap Nullpointer Exceptions

This is the blog of John Dulaney, a hacker of Fedora, SCAdian, player of Music, blacksmith, sailor, and consumer of Bacon.

First Day of FUDCon

First day of FUDCon is pretty close to over.   Today started out rather slow; I didn’t get down to breakfast until around 8:30.  I sat with Christoph Wickert, Adam Williamson, Peter Robinson, Tim Flink, and someone else who’s escaping me at the moment.

I kicked things off with the Infrastructure hackfest.  After two hours of that, it was time for lunch, although I didn’t eat anything.  This afternoon, I went to Paul Frield’s Drupal workshop, followed by figuring out where to start working on AutoQA self testing.  After that, I failed a test.  Since then I’ve been sitting in front of the fire place drinking Tatica’s wonderful rum, talking, and hacking AutoQA.

I’m looking forward to tomorrow, for sure.

FUDCon Blacksburg 2012 is nearly here!

Attention, people of Earth.  This is Prostetnic Vogon Jeltz …

Oh, wait.

Anyhow, in a couple of days I’ll start my great Fedora quest.  Hopefully I’ll roll a natural twenty and won’t have any issues in travel.  I will be riding with the amazing Andy Grimm and the great Will Cohen.

I plan to attend Paul Frield’s Drupal talk Friday as well as hosting an AutoQA hackfest.  The rest of Friday I plan to attend various hackfests and maybe do something to cloud things up.

Saturday will probably be very cloudy, as I can use all the knowledge I can get in that area.  It looks like there will be a bit of a QA barcamp at some point, and I may show up to that to mommick Sandro some.  Sunday will be largely taken by more QA stuff, especially the hackfest where we’ll be mucking about figuring out the best way to test the new Anaconda.

Well, that’s it.  I’ll let every go back to their visit from the Vogons.

John.

Fedora 17 Test Days

Greetings, y’all!

This release cycle I am the Test Day Coordinator.  That means it is my job to help you, my fellow Fedorians, to set up test days for your packages/projects.  We have about two and a half months until Alpha release (1).  The sooner I receive test day proposals, the easier my life will be, and we all know that making my life easier is a Good Thing.  The test day schedule can be found here.

Proposing a test day is very easy.  There is a guide for proposing test days, as well as one for helping with creating the associated Wiki page and actually running the test day.

If you need any help, feel free to email me at jdulaney (AT) fedoraproject.org.

Thanks much
John Dulaney

(1) Fedora 17 Schedule

Fedora Internationalization and Localization testing

Hey, all.

Please support Fedora’s Internationalization/Localization teams by helping to test translations.

Live images may be found here:  http://dl.fedoraproject.org/pub/alt/stage/f16-translation/

There are three days to choose from:  30 and 31 August, and 1st September.

Instructions are included on the test day Wiki pages:

https://fedoraproject.org/wiki/Test_Day:2011-08-30_L10n_Desktop
https://fedoraproject.org/wiki/Test_Day:2011-08-31_L10n_I18n_Installation
https://fedoraproject.org/wiki/Test_Day:2011-09-01_I18n_Desktop

I personally will be testing French (the question is whether or not it will be a test of my French).

Thanks much for your help!

Insomnia

So, I have not been sleeping well for the past couple of months.  In fact, two to three hours of sleep is the norm, and only one hour is not uncommon.  This is not a new phenomenon; I go through basically the same thing every summer.  As it happens, I am sitting here at 2 AM, writing this and listening to Neil Young.

So, I wind up being rather productive.

There is something substantially different about this year, though.  I am no longer living where I grew up, but rather in what was my Grandfather’s house prior to his passing.  So, this means no more sitting on a lifeguard stand at the beach and pondering Life, the Universe, and Everything.

Anyway, my big project of late is testing AutoQA.

What is AutoQA, you ask?  It is the software suite in development by Fedora’s Quality Assurance team that is designed to test Fedora.  You can read about it here: https://fedoraproject.org/wiki/AutoQA

Any way, in order to test the test software, several things are needed.  Firstly is a mock-up of the Fedora build system (Koji and Bodhi), although the entire thing is not needed; just the back-ends that actually do the work.  I am using the actual back-ends and interfacing with them as necessary.  Secondly, one needs an instance of AutoQA running to be tested.  This is pointed to our mock-up of the build system as if it was the build system.  No new code needs to be integrated into AutoQA itself to handle this.  And third, test cases with predictable output are needed.

So, how does this mock-up work precisely?

1. Read test case from file (plain text) that describes location of packages to be run through the AutoQA process and the predicted output of AutoQA if those packages were put through the actual build system.  It should be noted that for some tests, almost the entirety of (default) Fedora may be required.  From here, it is not difficult to simulate the hooks that AutoQA uses, although different ones are required for different tests.  Some of them need to be updated after AutoQA is running, which triggers certain tests.

2. Start up an AutoQA instance and pass as options the test we want to test and point it to our packages in our mock build system.

3. Wait for output to be generated and then parse it.  Compare it to expected results.

So, none of this is really difficult.  The hard part is in creating test cases that thoroughly check AutoQA.  We need tests that will pass AutoQA tests, tests that fail them, tests that fail because of one dependency error, tests that test to see what happens if there is a failure in the build system.

Want to help?  We could use it with test creation, and Quality Assurance in general.  It’s a fairly easy way to contribute to a Good Thing (Okay, maybe not so easy with test creation, but testing software in general is not that difficult).  Go to https://fedoraproject.org/wiki/QA to get started.

John

P.S.  Since I wrote this this morning, I’ve checked my email.  Tim Flink has also been working on this project and has got some of the back end stuff I hadn’t done yet up on Git Hub:
https://github.com/tflink/mock_fedorainfra

Why I use AutoCAD instead of QCAD

A couple of reasons, really.  Number one on the list, though, is that QCAD is useless with my drafting style.  Let me preach on it.

In AutoCAD, one can simply hit ‘l’ (or ‘L’, but the extra keystroke is not necessary) on the keyboard to draw a line.  No clicking in the text box at the bottom is necessary.  This makes drawing lines very fast.  In QCAD, one has to click on the text box at the bottom, which is very frustrating.  The alternative is, like in AutoCAD, to click on the little icon in the toolbar.  But wait, rather than then being able to immediately draw a line, one is presented with choices for a bunch of different lines.  When it comes down to it, AutoCAD has the same choices, but they all get their own separate icons.  It’s just one click, and boom, lines can be drawn.

But wait, it doesn’t end there!  When one is done drawing the line(s), one cannot simply hit <Enter> a couple of times and get out of line drawing.  It has to be manually done by the little icons on the left hand side.

Then, we get to splines.  I use splines probably more than lines when drawing ships.  I’ll trace out the stations of a ship with splines, arrange them three dimensionally along the profile, draw in the water lines (which are also splines) and fair everything out to get a nice, smooth hull.  Well, since in QCAD all the points in the splines must snap to existing entities, it makes it difficult to trace things out.

Looking around in QCAD, it isn’t bad feature-wise for a 2D drafting program, and has come a long way since the last time I mucked about with it.  However, the user interface does not present itself very well for a professional draftsman (which definition I fit, even if in the current economy that’s not how I make my living).  For non-professional home/hobby use, it can be made to work, but I wouldn’t even think about doing some of the the things that I do with AutoCAD with it, even 2D (and considering I do the majority of my drafting three dimensionally…).

You know, it’s odd that a Free Software supporter such as myself would choose the proprietary software over the open source.  However, in this instance, the open source program just doesn’t cut it.  QCAD is probably about twelve years or so behind AutoCAD in terms of development.  Sounds like I’ve just given myself a new project…

John Dulaney

Why to not buy a Mac

So, I know that there are a lot of people out there that have love affairs with their Macs.  This made sense back when Mac had different hardware.  However, this is no longer the case.  The following specs are for comprable Dell and Apple models:

Macbook Pro 13 Inch (1)

  • 4 GB 1333 MHz DDR2 Ram
  • 320 GB SATA drive, 5400 RPM
  • 5.3 GHz I5 processor
  • Intel HD Graphics 3000
  • 7 Hour battery life
  • 13 Inch display
  • $1199

Dell Inspiron 14R (2)

  • 4 GB 1333 MHz DDR2 Ram
  • 500 GB SATA drive, 7200 RPM
  • 5.3 GHz I5 processor
  • Intel HD Graphics 3000
  • Could not find estimated battery life, but it should be comparable.
  • 14 Inch Display
  • $649.99

As you can see, the Macbook is slightly inferior in terms of hardware, and yet is twice as much in cost.  Now, some can say that the extra cost is for the operating system, but that is quite odd, since that can be freely downloaded from Apple’s website (3).  So, if you buy an Mac, you’re either overpaying for hardware by quite a lot, or you’re paying for free software.  Would it not be cheaper to buy the Dell and drop the Apple software on it?  Of course, the issue here is that much of the software that Apple sells is not Free, which warrant’s another discussion in and of itself.

Since the vast majority of Apple’s user base seems to believe in Creative Commons licensing, Freedom, etc., then why are they going with something that is (a) proprietary and (b) restrictive (compared to Free and Open Source Software)?  Seriously, what a load of fail.

(1) apple.com

(2) dell.com

(3) http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/

 

PS, I might play around with creating my own binary-compatible spin to demonstrate to the Worshippers of Jobs.

I am returned

So, I got back into town in time for poetry night, and, for once, I am not impressed. Glen was, as usual, good, and after him went this dude that was going up for the fist time, thusly deserving some slack.  Now, however, there is a ‘guest’ that is ‘rapping’, and I must admit that I am not at all enjoying it.  Normally, I’m not a huge rap fan, anyway (with several very notable exceptions).  This time, it’s some girl that isn’t even in time, much less putting out anything really original or even marginally inspired.

<Rant>If you don’t like/want systemd (and I think most distros will wind up with it eventually) then don’t use Fedora 15.  Don’t go shouting on the Devel list about how it shouldn’t be installed by default.</rant>

Now that my anoyances are out of the way, on to SELF.  I reckon I’ll break it down to what I liked:

  1. All the cloud stuff.  That will be useful for QAing F16, and that alone is enough for me to have gone.
  2. Networking.  I met up with a couple of KDE devs (one of whom also does embedded and alternative architectures, in which I also have interest) that has gotten me to install KDE.  There’s some cool stuff there since the last time I messed with it.  I’ll admit, it’s been a while.  That said, I still prefer Fluxbox in terms of workflow.
  3. The Genetics talk was supremely interesting.  I would very much like to learn more on the subject, and may at some point dabble in the code some.
  4. I missed Spot’s talk because I was networking, but that was cool (see 2 above; I also talked about real estate (random)).
  5. Helping folks understand how Fedora works was decidedly win.
  6. Speevan back was fracking awesome, except for the hangover.

There really wasn’t too much I disliked except the aforementioned hangover, but since that was self-inflicted, I can’t complain, can I?  I also managed to bomb my kernel on Friday morning, but it wasn’t difficult to fix (those that were there know what I did).

I tried to introduce Ryan Rix to grits, but he was supremely uninterested.  I consider that the fail of the weekend.

j_dulaney

Southeast Linux Fest So Far

Sitting here at the Fedora booth, explaining Harker’s Island English, installing KDE (/me is interested in what it looks like these days) and generally having an awesome time.  Earlier today and some of yesterday I attended some cloud sessions in anticipation of all the cloud stuff that will be coming out in Fedora 16.  I figure QA will be easier if I know a little bit about what all is going on.  Later on I intend to go to a talk on Advanced Regular Expression.

Hanging out with Sparks, Spot, Southern_Gentleman, jsmith, etc. has been tres interesting.  Last night’s burn party was pretty cool, too, especially the goings-on whilst DVD’s were burning.  Hanging with these folks and the exchange of knowledge that has resulted has been very, very good.

I plan to attend Spot’s talk on how we fail later on, and then afterwards party.

More later.

New kernel, New instrument

So, what do flutes and the Linux kernel have in common?  Me.  Specifically, once I start a big compile (such as the kernel), I’ll practice playing whilst my computer is bogged down.  Since I am now learning the flute, and since I’ve just recompiled the new kernel (3.0-rc1) due to leaving out a driver during my first round, I was playing whilst my computer was compiling.

Anyway, on to the kernel.  It’s running nicely, I haven’t had any issues other than leaving out the FAT driver (as I found out when I tried to use my USB flash drive, oops).  Since I left out the vast majority of the drivers available, the kernel as I’m running it is very small and seems to be a bit faster than the generic F15 kernel.  Of course, I’m not sure how much I’ll wind up using it in practice since for testing purposes I have to use whatever kernel is in the testing repository.

In other news, looks like my friend Larry is going to have a shindig tomorrow, so I’m going to be playing (sadly, not mandolin since that’s in the shop).  I’ll also be recording, so look out for that.  Expect to hear a bunch of folk, blues, some country, etc.  I imagine it will be pretty heavy on the Old Crow Medicine Show.

On the flute, I can sort of bang out something that with some (quite a bit, actually) imagination can be recognized as Yankee Doodle.  I’ll probably bring it and see what I can do about jamming with it.  I’m not quite sure how much I’ll be able to play, since all the notes I know are in the key of G.  Ah, well, I’ll get there, eventually.