Thursday, 26 February 2009
Updates
Last Friday, while still in a dreamlike state, I went on a quick drive to see Coberley Mill. It is WAAAAAAAY out of my league but its only a 5 minute drive from work so I thought I would go and see what I would buy should the numbers come up on Friday. See it here
Also played QuakeLive online for the first time yesterday. Still in BETA stage at the mo and still very busy so it takes time to get on but once playing it is solid.
Scored 60 the other day in skittles... not bad, not good enough to boost my average....
Tuesday, 24 February 2009
Poker. What if.....?
----Situation----
Blinds are £1/£2.
You get dealt a marginal hand e.g. Q,8 suited. You are sat in early position and move to call the big blind.
Questions to ask pre-flop:
Why are you calling?
Will you fold if somebody raises you £4,£5,£6,£7? etc...
How much are the cards in your hand really worth to you?
Chances are, if your hand is worth a call pre-flop it is probably worth a small raise pre-flop (especially in early position IMO) as this will get rid of other marginal hands and may even win the pot without seeing a card. If you think a Q,8 suited is worth £4 in a "I will call this up to £4 or I'm folding" kind of way then surely the better move is to put the £4 raise in yourself rather than calling for £2 and possibly facing off against more people post flop. Also, chances are that somebody else in later position will raise pre-flop if you don't where they may only call your raise. This gives you the appearance of strength whether it exists or not but probably puts you in an advantage mentally post-flop should a king or ace come out...
The same questions and mentality can be taken into account post-flop too. Obviously, you have already invested in the hand and before too many cards come out, you want to work out where you stand. You can now see 5 cards and you can pretty much work out your pot odds of getting a winning hand. Is your hand still marginal? Is your hand still worth anything. Are you still thinking of calling to a certain amount..?
Repeat on turn. Repeat on river. Questioning what you are going to do later in the hand should help you work out how you act now.
Think on.....
Thursday, 19 February 2009
SEO Stuff
http://www.sitemaps.org/protocol.php
http://www.robotstxt.org/faq/bestlisting.html
http://www.google.com/support/webmasters/bin/answer.py?answer=40318&cbid=1wk284xnuk2c5&src=cb&lev=answer
http://www.seoconsultants.com/meta-tags/
http://www.seocompany.ca/seo/seo-techniques.html
So. Time to have some fun, put some work in and try to get grillymonk baby geek t-shirts towards the top of the searches!
I will report back soon....
Stunted by meetings
p.s. Some people wonder why jeans are a good thing....
Tuesday, 17 February 2009
Pictures that make me want to kill
Monday, 16 February 2009
Good weekend
Which brings me to why I enjoyed my valentines day so much. Legs is a bit like me. Cynical to the last about over hyped annual guilt fests like valentines day. Soph got me a card which was nice and she got a card in return which she very much liked. We cooked a meal together in the evening and set the table in the dining room. The nice thing was taking 2 hours over dinner and a couple of glasses of wine.
I still can't get over the silly bint on the radio. I hope her husband went out and got mercilessly drunk that night.
Sunday was pretty cool too. Chris, Sarah and the kids came over and we had a Sunday roast followed by a nice constitutional down to Gloucester docks. Good times indeed. In the evening, I watched 'Hitman' which is pretty cool albeit a little predictable. In fact my weekend included several films. On Saturday morning I watched American Pie - Beta house while is essentially (very) soft porn. In the afternoon I started watching 'AdultHood' too so I might finish that some time later this week....
Wednesday, 11 February 2009
Keeping my powder dry!
Monday, 9 February 2009
cracking youtube HD
With this in mind I went in search of the answers... there is always more than one. To start with, there is always a high-quality version of the video you upload but to see it you need to be a little deft and add '&fmt=18' to the end of the URL in the address bar. You will notice that this now makes it almost legible at full screen...
But there is always the crystal clear way and this is it. To start with I must record my videos at 1290x720. This is no biggie. I just set camtasia accordingly. The trick comes in the export. The below movie was exported to a MOV file using MPEG4 encoding, automatic bitrate and exported at 1290x720 HD. The resulting movie file is at least 10 times the size of the 2 shows above but I think you will agree that it is blatently worth it as the result are lovely and clear.
The trick to embedding it, by the way, is to add '&ap=%2526fmt%3D22' to the end of the embedded video source URL...
Saturday, 7 February 2009
Friday, 6 February 2009
The mighty hath fallen - 55 scored...
The Snow
Of course, I could have driven to work, it is only a couple of miles away, but with broadband on tap and mobile phones and blackberries in hand there is no need to risk it. Anyway, I would have to find the car first....
p.s. The answer to yesterdays blog is that reading a textfilestream line by line is far far quicker than reading the whole text file into a string and then goiing through that line by line. Who knew...? Either way, I now have my websites interacting with live logs faster than the perl script that it was replacing. Awesome.
Thursday, 5 February 2009
asp.net grep?
Current example:
If I have a text file with 3000 lines in it and I want to pick out every line with the word HELP in it I can use a System.io.streamreader to read the text file into a string, use the split function to break it into an array and the loop through the array looking for the HELP string....
This, as you can imagine, is slow. Not tragic, but slow enough. I am trying to get somewhere near the performance of the PHP Perl page I am replacing which seems unfeasably good at reading text files and grepping them for pattern matches.
Any ideas of how to get some better performance from asp.net here?
View my developerfusion forum post here
Wednesday, 4 February 2009
Monotony and the old school
Things are looking good for some poker action around my house in a couple of weeks time. Just awaiting final confirmation of numbers from Oxford way and the local invite will go out. Should be awesome.
As for the old-school part of the title. This is referring to the music I find myself listening to today. I have Kruder and Dorfmeister in my ears right now. This morning I was listening to Insane Clown Posse - my mind flies back to a cracking gig night with Ash - and in a minute I will be switching to listen to the Cranberries. All very nice.
Monday, 2 February 2009
so very tired...
In my other stress relief game, poker, I am not doing too bad. I am sitting on 36000 chips which is fair. Sitting 3rd out of my mates, just got to catch Q bar and Dave.
I can't believe it is only Monday. Bad times indeed!
lifehacker birthday post - great links.
Lifehacker is a great blog and it has been going around for years. Here is a link to its birthday post which lists its best posts from it's time on the web. My favourites include How to set up a web server at home and the top 10 geek pranks...
http://feeds.gawker.com/~r/lifehacker/full/~3/ozVvbAxcac8/happy-birthday-lifehacker-our-best-posts-from-2005-to-2009
In personal news. Little Alfie is not so well today. He was up most of the night coughing and spluttering which means, of course, so were me and Soph. Now all I need is a nice calm day at work...
Sunday, 1 February 2009
A few last things to do...
There are a couple of last things I need to do before I am happy with the new page - http://ajax.kruelintent.com/ - I need to finish tweaking the blogfeed.aspx page so that the rss feed doesn't get affected to much by all this. I still want to use my own rss as my code behind cuts out the email footers from my work and hotmail email which just makes it better to read. Once that is done I can rest for a while and let the blog settle for a bit, sort out any teething issues etc and then I can embelish the facebook and twitter integration to be a bit more proactive rather than just showing a few links.
In other news from this week. To follow on from the 82 last week I got a 69 in skittles on Friday (Not like that) and so my average continues to go up. As things stand it is 64.28.
Beginning a new blog
I can do all sorts too, posting images and embedding videos the same way as before but now it is all done remotely. It is a pleasure to bring you the new ajax.kruelintent.com. The rounded corner layout has been tested against IE7, Firefox and Chrome. There is javascript in place too so it even looks acceptable in shitty IE6! It is all done using css so there is no AJAX on there to confuse non Microsoft browsers.
The nice thing about being able to email posts in is that I can create an email over the course of a fair amount of time so each post will be a good read rather than just a sentance. At least, that is what I am saying now but then I am writing this on a nice calm Sunday morning...
Anyway, intorductions to the blog over. I watched 'The break up' last night which was a god awful film but it did have Jennifer Aniston in it and she is a babe so here is a picture.