Julien McArdle
My inane life… in glorious details!
My inane life… in glorious details!
Mar 7th
Today my boyfriend and I went out to Walmart so that he could refill a prescription. It was a pretty warm day as far as the weather in March goes, so my significant other wore shorts. He also brought some jeans in his backpack just in case the temperature dropped.
The Walmart we went to is about an hour away by bus. Sure enough, when we get there, the wind picks up. So my boyfriend goes into the washroom to change into his warmer clothes while I go get some supplies. On my way back to the store’s pharmacy, I see a girl in the main aisle with a shirt that says “Security.” She’s talking to a man in shirt and tie, presumably some manager, and I overhear her say “It’s the one with the belt and the backpack – but she didn’t see him do it.”
I follow the manager as he walks to the prescription counter, where sure enough my boyfriend – studded belt, backpack, and all – is standing. The manager approaches my boyfriend and asks him if he was filling a prescription, to which my mate replied that he was. The manager talks to the girl behind the More >
Mar 5th
I was talking to someone the other day on IRC, and they were talking about how he saw his math class as being a waste of time. Too theoretical, not practical. It’s usually hard to see the benefits, until you realize that it opens up opportunities on how to solve problems.
Take today: I wanted to calculate Pi to a certain number of digits. However, I didn’t know how much computer storage, say, a trillion-digit long number would require. Math to the rescue!
We know that with one bit of computer storage, we can store a one or a zero. With each additional bit of computer space, the biggest size that that stored number can be doubles. For instance, with three bits you can represent all the numbers from zero up to (but not including) eight, but with four, you can represent all the numbers from zero up to (but not including) sixteen. Thus you can use this formula: Where maxval is the biggest number you can store given a number of bits. That maximum value is a decimal number. Keep in mind that all decimal numbers can be represented in the scientific notation: Where b corresponds to the length in digits of More >
Feb 28th
Finding a significant other does have a way of reinvigorating yourself. (See previous post.)
Feb 9th
A while ago, I had this idea of creating an open-source GIS application. It’s safe to say now that the idea is dead.
My job title changed some months ago – I went from being a geophysicist to full-time programming. I work with a small R&D team, which can lead to really challenging and satisfying work. Today, for instance, I put the finishing touches on an interpreter for this scripting language I created.
However, with this transition to the new job, my desire to do creative work (programming included) outside of work hours has all but died. I spend so much time exercising my brain at the job that when I arrive home I just want to sit down and relax. This feeling is the exact opposite of what I had when I wrote Rice Tea, or worked on Docks and the Piracy doc.
I need to find a way to reinvigorate myself. Or at least not feel so damned drained after work.
In unrelated news: I now have a significant other.
Dec 23rd
The weight loss has been slowing down, but I’m still keeping it off (yay!) I’ve lost another 5 pounds since my last posting, for a total of 25 lost pounds. My main target is to shed off another 5 pounds, bringing me back to my 2008 level.
I know this blog is a me-me-me thing, and I apologize that there’s nothing interesting here. It’s just that I use this as a diary of sorts, and this is important to me.
Nov 14th
On my September 9th blog entry, I mentioned that I had lost 10 pounds since August 3rd. Well today marks the day that I lost another ten pounds. Yep – twenty pounds since August. My goal is to lose another 10.
At this point, I’d like to thank some very important people:
Nov 8th
This weekend I was at Hackfest in Quebec City. It’s a one day hacker con that’s much in the same vein as Defcon, HOPE, Phreaknic, Shmoocon, etc. I learned of it’s existence from the Montreal 2600 forums, and decided to take this as an opportunity to get Rice Tea out there. I sent off an email to the organizers, and lo-and-behold, they kindly allowed me to have a table to sell the book!
What a great time. The point of the exercise was not to make money, it was to get the stuff I’ve made known. Whenever people stopped by, I candidly told them they could download the book, in it’s entirety, from the official website for free.
I have a feeling that that might have cost me sales, but I didn’t care. Despite the book being available as a free download, some people still chose to buy it. That was awesome for me.
Oh, and I also printed off 25 copies of the On Piracy DVD, which I gave away for free. Those ran out in the first hour or so of the con. I’ll have to make more next time.
Funny story: I couldn’t locate the original ISO I had for the DVD, so I actually More >
Nov 5th
The GIS app now has a name. It’s called Flou. I like it, and it doesn’t seem to be taken.
Qt has wonderful documentation, but that doesn’t make up for a lack of community. I’ve been developing with Qt for the past few months now, and it is the framework of choice for the creation of this application. Qt is a great framework, with great documentation. Anything you need reference wise is found in that bulk of documentation included with their IDE. There’s also a solid set of demo code bundled. The problem is that it isn’t enough.
Equate trying to learn Qt as learning a new foreign language; say the fictitious Tjahiri. You’re trying to write a book in this language, Tjahiri, of which you know nothing. You have a great dictionary, and a phrase book – but that’s it. If you have questions that go beyond the scope of these tool’s ability to assist, you’re stuck.
In any case, I’ve been practicing. I built a podcasting application that downloads from not just RSS feeds, but also Twitter and any other page accessible through a web server. Previously, my experience with Qt consisted of building a series of one off applications: five or six widgets, More >
Oct 14th
So with Rice Tea now done, it’s time to start on my next project. It’s a piece of software this time; one which aims to bring GIS to the masses.
The idea is this: you’re a high school kid, or a university kid, or a worker in an office – and you need to produce a map. If you’re not in a field that’s familiar with geomatics software, what are you going to use? Photoshop. The Gimp. MS Paint. A screendump of Google Earth.
And your map will still look shitty. It won’t have a North Arrow, a legend, or a map border. You won’t be able to combine datasets, or plot on XY data. That’s where my software comes in: it gives an easy way to create maps, for non-GIS people.
The focus will be on making map-making easy and accessible to audiences, much in the same way that Excel has made tabulating data accessible to audiences. That’s where it differentiates itself from other free products such as the excellent MapMaker and GRASS.
The program will be both free as in speech, and free as in beer.
Oct 9th
In the last year, I’ve had the pleasure to program substantial amounts in C, C++, Python, Ruby, ASP (VBScript), and PHP. I’ve also used Microsoft Visual C++ and Qt as graphical frameworks.
By far, the most pleasant languages to work in have been Python. I love it for its utter simplicity and flexibility: it can make ordinarily large tasks two lines of code. Do you want to open a binary file and extract packets of little-endian unsigned four byte integers and character arrays? Two lines of code. I kid you not. Do you want to talk to a serial device? Use “import serial”.
XKCD Comic about Python
My initial gripe with the language was the use of whitespace to delimit what was meant to be inside a function/loop. Coming from C, which does not care about whitespace, it was a little offputting. But you get used to it, and frankly whitespace, which inherently enforces proper code indentation, makes more sense from a usability standpoint than concluding statements with a semi-colon.
My other gripe with Python proved to be unfounded: speed. Python implementations interprets code – you do not compile it. Not only that, but Python was much more abstracted from the hardware than C, More >
Recent Comments