KFC Cruelty
Make your own KFC sign at KentuckyFriedCruelty.com
random ramblings of a bearded man
...until something like this.
I'm not one of the ones trapped inside, but we can only leave out the back.
The first I new about it was some people crying loudly and someone on the floor outside next door.
I just hope the girl's alright.
at
17:09
1 comments
at
14:15
0
comments
I've just seen this page of south park people animating some philosophy by Alan Watts. The first one of the page seems to offer a solution about some the "what am I doing with my life questions" I've been having - that is, rather than worrying about the end result, we should be concerned with the process of getting there.
Obviously, this is not an endorsement of hedonism, but rather a reminder to myself that, rather than concentrating on the target, I need to be more concerned with what's going around it.
It's a bit like when you're driving through a beautiful part of the country, and you're concentrating so much on the driving that you miss the beautiful scenery. You just need to stop the car and look around to see how magnificent it is.
at
17:25
0
comments
That how many days I've worked in my new job. I getting a little tired of typing "new job", and I probably wouldn't have even looked at this one if Gary hadn't pushed me forward for it, and I got it simply by having a chat with someone who's not even my boss.
It's gone quite well, although I do feel a bit overwhelmed by it. I think Gary's been running the office, and so it may not have been the best idea to start when he was away.
Since he's been back in the office, I've kind of discovered I've been left to pick up one project whilst he goes off and rescues the other one. This is fine, but with a few exceptions.
Firstly, it would have been nice to be given time to get to grips with what the project is, what the technical constraints on it are, and some idea of deadlines before the day before a customer visit (and two days before an apparent payment deadline, which may in fact not be for another four days).
Secondly, the codebase was, and still is, in a mess.
The Data Access Layer is a mish-mash of some code generated stuff (which I have nothing against, just if you're going to code-gen stuff, make the code-gen part of the build), which is quite comprehensive but very difficult to change, some copy-and-pasted components, which to me seem buggy and, in some cases, wrong, and some hand-written stuff to try and hide the mess from the application.
The UI layer is a nasty mess - mostly prototype code which has been altered to use the Data Access. Lots of messing around with values in a datagrid, rather than using the business objects.
The "business layer" is the prototypical Anemic Domain Model.
Overall, there's quite a bit of duplicated code, long methods, and comments explain the what, not the why. Worst of all, this is all legacy code (no tests, and not factored for easy testing). I'm so glad I bought a license for Resharper.
In fact, as I think about it, I'm going to put together my library to take in tomorrow.
Goals for the rest of the week are:
at
19:56
0
comments
So, anyway, about the marbles...
Turns out that the parcel that they tried to deliver on my birthday was a tub (with a sack included) of marbles.
I've not been able to confirm that this was from the offender, but all the clues are there.
So, I retract my accusation, and my thanks go out to the purchaser of the marbles.
at
16:51
0
comments
I've started a separate blog for all my nerdy programming stuff. If you want to see it, it's over here: Beardy Box: Welcome To Beardy Box
at
12:44
0
comments
at
10:36
0
comments
I don't usually an umbrella, because I think they are a complete waste of time. Instead, I'll don my waterproof jacket and over-trousers and face the weather with impunity.
However, because my over trousers have got a bit muddy (the sign of genuine use), I've been using an umbrella for my commute.
There are a number of reasons why this isn't going to happen any more:
at
11:54
1 comments
No owning a credit card, I'm often disappointed when web stores accept neither debit cards nor on-line payments (such as PayPal).
I think it's a bloody disgrace, especially as you only usually get to find this out when you've been through the tortures of registering on a site, and you're just about to pay.
Most recently, this experience was with Expedia.co.uk. They say the take Switch/Maestro, but not for all purchases. So, when it came to buying flights to Thailand (these cost > £1k for Amy + I), I was disappointed when I got through their procedures, entered passport numbers, set up meal preferences, only to find they didn't want my money.
Anyway, we ended up buying them from someone else.
The point being that if your site doesn't serve your (potential) customers, they will go somewhere else. I know I did.
at
16:41
0
comments
Inspired by this post:
static Random random = new System.Random();
public static IList<T> Shuffle<T> ( IList<T> deck )
{
int N = deck.Count;
for ( int i = 0; i < N; ++i )
{
int r = i + (int) ( random.Next( N - i ) );
T t = deck[r];
deck[r] = deck[i];
deck[i] = t;
}
}
at
15:03
1 comments
I was looking at this news story on the BBC's Website (my brother lives in North Tawton). However, the last few lines of the story are some of the laziest reporting I have seen lately (probably because I don't read a local paper):
Another neighbour, who would only give her name as Jo, said: "It is always a tragedy when kids are involved."
- a very sad event or situation, especially one involving death or suffering, or a play or literature about death or suffering.
- a play about death or suffering with a sad end, or this type of play generally.
at
14:17
0
comments
I was thinking about how most of the system at work has objects that don't do anything (yes, this is the Anaemic Domain Model code smell).
Last week I broke up a control and refactored it into a Model-View-Presenter, as it allowed the right amount of code reuse for what I was trying to do. Also, I extracted some interfaces (including one for the presenter).
Today, I've been trying to explain this to a colleague. I think I missed the point about programming to interfaces rather than implementations, and also the colleague got rather confused about why he couldn't reuse the interface to do his different control. I think mentioning something about intent.
I need to remember that even when following established patterns I need think about what I'm coding.
at
13:41
0
comments
it's easy to forget that other people might be on your train for something other than work.
at
09:33
0
comments
On saturday, I saw the "Art Rock" episode of Seven Ages of Rock. Apart from the fact that some of it was progressive rock (which put me off entirely!), I wasn't that taken by it. Primarily, it seemed to praise Pink Floyd and David Bowie. Fair enough, I think Sid Barrett and the Bowster have some influence, but Bowie himself, on the program, admitted that he followed Barret very closely.
Then, at the end, after spending a sizeable chunk of the program on Floyd's Wall (the one they built during their shows), they bought on Genesis. Again, worthy of a mention, if only for Peter Gabrielle's outstanding contribution to music, but really.
The other problem I have with the series is that it completely ignores Post-rock. Imagine a one-hour show charting stuff like Slint, Godspeed You Black Emperor, and Mogwai. Now that would be worth watching, rather than all the Dad-rock chart tunes that the shows have so far covered.
at
15:17
0
comments
Well, that was a reasonably uneventful bank holiday weekend.
Highlights:
at
11:19
0
comments
Some days I can really focus and get lots done. Other days, like today, I find it really hard to focus, and I end up writing lots of blog posts and surfing lots.
at
12:25
0
comments
've got sushi for lunch. I made masses of it last night, so I've got 12 pieces. That should see me through 'til next week.
at
11:10
0
comments
I've been given the use of an extra monitor at work - so now I have one 19" and one 17" monitor on my desk. I've been given a bigger desk too, but that's by the by.
I have to admit that, mostly, I still use the 19" for the majority of my work, and, as I'm doing web work at the moment, use the 17" as a preview screen.
Windows XP works flawlessly with more than one monitor, and there are a few utilities you can use to add a few niceties. Of these, I've been trying UltraMon out, and it rocks. As well as giving each monitor it's own task bar, it allows you to do things like have one background across both monitors (making a massive panorama), have separate screen savers, and a host of things I've not even tried. I wouldn't say it's essential, but it's definitely worth the tiny cost.
I really like having two monitors - it allows things like having two versions of code next to each other, VS2003 + VS2005 visible simultaneously, and generally a lot less swearing when trying to find the right window - with more of them visible, I can find the one I want more easily.
Despite this, I think that if I were to buy a second monitor at home I'd try and make sure it was exactly the same model as the one I've currently got (or buy two new ones of a different model). At the moment, the 17" at work is just showing colours differently to the 19" and, although with the different pixel size (they're both 1280x1024), it's not easy to switch back and forth quickly.
That aside, I'd definitely recommend - I really didn't think it would make as much difference as it does.
at
14:47
0
comments