flak rss random

a programming interview question

Technical interviews are always hard to get right, for the interviewer no less than the interviewee. Too simple and the question fails to weed out the people you don’t want. Too hard and you end up selecting for people that lucked out and heard the question or a variant before. There’s no solution, thankfully, or we couldn’t endlessly debate the problem.

more...

Posted 22 Dec 2011 20:41 by tedu Updated: 10 Feb 2015 23:29
Tagged: c programming thoughts

unable to view this email

Every couple days I get an email from some group because I found my way onto their mailing list. The message body: “Our system has detected that your e-mail reader does not support HTML and you are therefore unable to view the content of this e-mail.” Thanks for trying, maybe? Really, the message just infuriates me far more than typical content free text emails because I know your system hasn’t detected shit. Maybe you should upgrade to a system that detects I don’t want your email.

Posted 17 Dec 2011 00:10 by tedu Updated: 31 Aug 2012 17:33
Tagged: mailfail

latest Google retardery

We have gmail at school and sometimes I forget to sign out when I’m done reading email. I usually get a reminder pretty quickly though because it doesn’t take long at all for something to break. Like news search. I search for something and click on the top news link. Then google tells me “Oh hi, your account doesn’t have news turned on so this page is unavailable.” Gee, thanks, maybe you could have figured that all out before providing said unavailable page as the top search result?

Anyway, the fix is as retarded as the problem. Logout and do the search as nobody at all. Then news is turned back on. Apparently we pay more for less.

Posted 11 Dec 2011 00:26 by tedu Updated: 11 Dec 2011 00:26
Tagged: rants

database schema upgrades

Sooner or later, every database is going to need a schema change, usually to coincide with a software upgrade. Sometimes it’s simple, just adding a little more data. Sometimes it’s not so simple and things go wrong and you need to make them right. Here’s my current best idea how to go about minimizing pain, assuming we have some software version X that we’re upgrading to version X+1, and that the installer or upgrade tool will need to upgrade the database from schema Y to schema Y+1. I’ve used plans like this pretty successfully, but came back to the idea after thinking about the statistical component of the problem more recently.

more...

Posted 14 Oct 2011 19:36 by tedu Updated: 14 Mar 2014 15:22
Tagged: programming software thoughts

OpenBSD integer types

As allowed and/or required by the C standard, OpenBSD provides integer types in a variety of sizes. Usually you don’t need to know the exact size of a type, but it’s helpful to know. Portable code, of course, should not rely on these assumptions. There is also endianness, but that’s different.

more...

Posted 29 Sep 2011 18:59 by tedu Updated: 17 Apr 2013 22:05
Tagged: c openbsd programming software

the deep end

Here’s an analogy I’ve been contemplating for explaining the unknown unknowns concept. In particular, the assumption that one’s own experience is complete. They’re like a kid who thinks he’s a deep sea diver because his ears popped when he swam to the bottom of the deep end. The analogy is particularly suited to How bad can it be? types of conversations.

more...

Posted 09 Sep 2011 02:21 by tedu Updated: 09 Sep 2011 02:21
Tagged: thoughts

another laptop - HP Pavilion g4 review

I leave the give away Acer at home, figuring I would have no need for it and a week later find myself at the store buying another laptop. I had originally figured the T60 would be a good machine for doing all my classwork, but slowly lost interest in that idea after thinking about carrying it to class. It’s a little heavy and cumbersome, true, but I think the real deterrent is that I like it too much and didn’t want to force it out onto the mean streets.

more...

Posted 02 Sep 2011 04:21 by tedu Updated: 10 Oct 2014 00:39
Tagged: computers review

virtual moving

Finishing up the aftermath of moving again reminded me of the virtual moving idea. You find someone leaving wherever you’re going to who, in turn, is moving to wherever you’re leaving. (Possibly of a chain of such people, but it gets complicated fast.) The two parties pick a date and swap apartments, contents included. My TV is your TV, your TV is mine. Maybe a little cash changes hands to balance out gross inequality. But it saves both parties a lot of time, labor, and expense.

The idea originated when I realized it would cost more to ship my belongings across the country than they were worth. Selling everything, moving a wad of cash, then buying equivalent stuff worked out well, but there’s a lot of friction because you end up selling low and buying high. If you could just get matched up with someone going the other way, you could agree on much more equitable prices and not even bother with craigslist.

Posted 22 Aug 2011 20:57 by tedu Updated: 22 Aug 2011 20:57
Tagged: moving thoughts

Ubuntu 11.04

Installed Ubuntu on an HP Mini 110 I had lying around, figuring it’d be a good cheap system to take on the road I wouldn’t mind losing. The short version is that everything mostly works, except the stuff that doesn’t. I’m more used to OpenBSD, but I’m trying to separate difficulties that come from familiarity issues and real problems.

more...

Posted 18 Aug 2011 01:39 by tedu Updated: 23 Oct 2011 23:03
Tagged: review software

OS installers

I just installed Ubuntu recently and it gave me the opportunity to reflect on what makes a good vs bad operating system installer. The short version is I don’t really like the way Ubuntu’s installer is designed because the task it is performing isn’t really installing an operating system.

more...

Posted 12 Aug 2011 22:45 by tedu Updated: 12 Aug 2011 22:45
Tagged: software thoughts