Sunday September 20, 2009
I suspect he isn't a fan of "my Family"
I thought I'd outsource my opinions to this chap though - good column:
Not the first time he has found himself in a contraversal situtation though:
Tuesday September 15, 2009
Its now been a while since I took temporary possesion of me mates laptop.
Today I looked at ebay. It said "Hello lilsteveysmate ( Friend of Lilstevey ). Not you? sign in."
Maybe I'm being stupid but I can't see log out. That's not right? Is it?
Installing catalyst on MS platform
I've decided to have a play with catalyst...
So first I install active perl. I read a couple of blogs, then decide perhaps strawberry perl would be more appropriatte.
So I download 5.10.dot.dot.
I read a little more. Apparently it's not recommended.
So then I install perl number 3. 5.8.dot.dot...
And try to install catalyst. then I get a bug on Catalyst::Devel.
Tests succeeded but 2 dependencies missing (Win32::Process,Proc::Background)
[dependencies] -- NA
Running make install
make test had returned bad status, won't install without force
So I thought I'd try to install Win32::Process
but it didn't like that:
dmake.EXE: Error code 129, while making 'Process.o'
C:\strawberry\c\bin\dmake.EXE -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
But I found this on the perl,org faq:
cpan doesn't set compiler path in portable version
which suggest setting paths thusly:
P:\dev\aliasperl-b3\perl\bin> set PATH=%PATH%;p:\dev\aliasperl-b3\c\bin
P:\dev\aliasperl-b3\perl\bin> set PATH=%PATH%;p:\dev\aliasperl-b3\c\mingw32\bin
Meanwhile the other me who wasn't quite as determined to install 3 different perls to try to see what catalyst is like these days has gone down the pub for a beer and opted to use another framework.
Anyway - that didn't work, so I again resort to google and find another thread:
CPAN build fails in Strawberry Perl 184.108.40.206
This contains the following gem from DAGOLDEN:
I've released 2.20_04 to CPAN as 2.200401. That looks like it should
more stable than 2.20_05 and contains the const char * fix.
So next I install this version of extutils make::maker. I'm now starting to worry if I'm going to be able to make this work should I decide to try it on a real project.
Fortunately that does it, and it appears to be installed. Now to find a "hello world" howto showing me how to configure it with apache...
Friday April 18, 2008
Sun offering Perl training
Wednesday February 27, 2008
Another slashdot Gem
Generally I think of slashdot as over-opinionated noise. Occasionally something good comes up:
Clothes are just a communication protocol: Learn the spec and use it when appropriate.
Friday January 11, 2008
Change and Power
Regardless of your views on Global warming, energy is becoming a more expensive commodity - if you believe in the power of supply and demand, an expanding, more demanding global population should see to that.
I think therefore, that unless people have money to pass as liquid indirectly into a sewage processing system, energy conservation needs to be on everyones minds in the next few years.
The thing is, If I can make an observation, as a species we are lazy, easily distracted and quick to jump onto a bangwagon. Witness the sale of wind turbines in suburban areas, where chances are they are never going to provide a return on investment. Is it saving the planet, a way of dispersing guilt, or a status symbol?
Regardless of that, though, I think its fair to say that the argument that change is fairly inevitable. Personally, I'm dissapointed with the governments approach to nuclear power, as it seems pretty short sighted - and fails to address the true, inevitable issue of consumption. At the end of the day, these things seem to need to be both near the coast, and protected from erosion for many centuries. With predicted rising sea levels, building these extremely delicate devices this close to a known danger seems pretty reckless... Especially on an island where land changes hands at the level it does at the moment.
So rather than trying to subsidise supply with future income, why can't the other half of the equation be dealt with? A Solar panel may well not be able to power your refridgerator but it can charge your mobile phone - and lets not take cold maths to the economics of it in terms of power consumption to charge a phone - many, many people leave the chargers plugged in 24/7.
"Zero Carbon" sounds very cool, but it's more niche than mainstream, so whats wrong with aiming for low carbon? Look at the electrical devices in every room - how many are left on standby, and how many need to be - sure, your alarm clock, fridge, freezer, video recording are at least significantly more easy to be left on, but your TV, Hifi, Laptop? Why only one circuit per room ( /rooms ) - from a user perspective wouldn't it be easy to switch the green switch to send a room into power saving mode - that is leave the video on and turn the telly, chocolate fountain, and lava lamp off? And does a microwave need a clock - what on earth is that all about? - in some cases the damn things don't even work unless you set the effing time! Which idiot decided to try to make you keep a machine on for 24 hours that can cook your dinner in 3 minutes and 45 seconds?
I feel it worthwhile noting that it's not just some green crusade I'm on. As a "victim" of a prepayment meter the cost between standby and off is very very visible - going away for a week costs such a tiny fraction of being here - and I'm convinced a significant proportion of that is ate up by me not pulling the plug.
The point I'm trying to make is that we don't have to make a massive change in order to reduce our energy dependency. We just need to demand more thought, and sensible changes to legislation. Theres enough clever people out there to make a low power lifestyle convenient, after all, regardless of anyones beliefs on the future of our environment, using less should make sense to anyone?
Saturday January 05, 2008
jack daniels in home made burgers & hitchhikers
Over the last few days, mesin, n me fine missus have bin watchin the bbc 1981 hitchhikers guide to the galaxy. Its been a thoroughly enjoyable series. We tried to find series two. We couldn't. It felt a bit odd that it finished in episode 6. Is that just our faulty memory and imagination playing tricks with each other?
We are trying to watch the filmy cinemary version.
So Very Very Wrong.
Relation ship between Arthur and Trillian.
Wrong. Why does it drag on so?
What I really really can't get over is that I thought there was more than six episodes in the tv series - were the rest in my imaginanation?
Me missus is just asking where slarty bardfast is.
Help me. Tell me they filmed series two in the eighties... please...
Oh yes. The jack daniels bit. Just tried adding it to my burgers, which generally tasted just plenty fine as I had em. Turned out they weren't any better, maybe a tad worse. Next time I'll stick to how they were.
Unhealthy Hinge fixation in low cost laptops
I like portable computers. I like the convenience of being able to take a portable machine with me.
However, I have a small issue with the design. There doesn't seem to be a great deal of creativity applied to it, and they all seem to need this breakable hinge to connect the keyboard unit to the screen part.
Why? Wouldn't it be cheaper to have a screen with a thicker base so it would self support, with a socket for a keyboard and mouse - they are mass produced low cost components anyway.
And why am I saying this - because I had a hinge break on one of my laptops, and also because I view the complexity as a cost - the hinge may only be a small component, but when you add some of the other mechanical parts (keyboard and pointer for example ) there starts to be a lot of moving parts, which in my simple rule book means more bits to go wrong and hence more things to test.
And the simple all in one box form should lend its self to a kit form, potential reducing construction cost, increasing the ability to customise and making it simpler to fix things that go wrong.
There are downsides - the traditional laptop is quite portable - however I feel that a lot of Portability issues are easily met using the age old device called "A Bag".
Saturday December 08, 2007
Swearing in comments - what's the opinion now?
I've seen various articles on the web in the past expressing the opinion that placing swear words in comments should not be a reflection of the programmers profesionalism.
I haven't seen these sort of articles released recently, though have on occasion heard opinions stressed that its ok.
As a general case, I'm of the opinion that as a programmer you are responsible for quality of the entirity of your conribution, which you perform in exchange for your salary.
What the customer/employer decides to do with that code, unless expressed otherwise in the contract is totaly their business - not that of the employees.
Therefore, should the business decide to release the source code for the product, the comments become as public as the user interface.
This leads me to suspect that if I am right in suspecting that "cussing in comments" is passe, the commercialisation of open source could be a contributory factor - or perhaps its just a reflection of the maturity of the industry?
Or maybe I'm wrong, and there is still a belief that delivery of code is limtied to user experience.
Either way I'd be interested in the prevailing attitude towards what people percieve is a professional attide to software development. I'd also be interested if people have the same attitude to code released personally to that developed under contract?
Friday November 02, 2007
Coca Cola with Orange
I noticed this beverage at my local jacket potato stall, and decided to purchase and sample this interesting varient on a popular brand of fizzy drink.
I have to admit, at first It struck me that it had never occured to me to mix coca-cola and orange, then I realised I had a few muddy ducks in my time - I don't think I've ever considered it to be a marketable beverage however. After tasting the contents of said can, I came to the conclusion that who-ever concocted this varient probably did as good a job of combining coke and a hint of orange as could be done. I doubt I'll buy another.
Summary: Probably not a mistake to have tasted