KickNews now in beta

by withakay 16. February 2009 15:19

A project I have been working on for a while has now gone live, albeit in a slightly rough round the edges beta form.

KickNews.co.uk is football (soccer not American Football) aggregation site with some social aspects in a similar way to digg or reddit. In KickNews' case it is not stories that are submitted but news sources (RSS or Atom feeds basically). The feeds are moderated before we add them and once they are added the stories will then be pulled from the blog or news site. Stories can be "kicked", basically a voting system designed to help the good stories get more of an audience. Currently we are pulling mostly stories about the Barclays Premiere League and associated teams, but we are planning to add all 4 leagues and also european leagues once we have everything working nice.

As well as the web site we have also made really cool iPhone App that is now available on the iTunes app store (there is also a feature reduced "lite" version if you want to try before you buy).

It has been really fun working on this project and there is lots more to do, some of the things on the list are to integrate Facebook Connect and openID so it is quick and easy for people login to kick stories and comment on them. We also want to get some live scores and fixtures in there too, in particular for the iPhone App.

 

 

If you have any ideas or features you might like to see hit me up in the comments and I will see what can be done :)

Tags: ,

.net | Mac | Projects

'Action' is not a member of 'System.Web.UI.HtmlControls.HtmlForm'.

by withakay 6. February 2009 16:42

I got this error recently when I deployed a beta version of an asp.net 3.5 site to one of my dev servers

 

'Action' is not a member of 'System.Web.UI.HtmlControls.HtmlForm'.

 

After some head scatching it turned out that the dev server had not got .Net 3.5 SP1 installed, a quick download and it was soon sorted

Tags: ,

.net | Windows

MacBook Pro UK keyboard layout for Windows

by withakay 25. November 2008 12:17

I use Windows via Parallels a lot. I like to have the all the keys in windows mapped the same keys as the Mac (shift+2 should get me an @ sign etc.). When I set up my XP vm sometime ago I did find a Keyboard map that mostly worked and that was OK, but after hunting around I couldn't find it any more (or a different one that was decent and mapped all the keys I want to use), so I decided to make my own.

This actually turned out to be pretty easy using the The Microsoft Keyboard Layout Creator from within windows and Full Key Codes on the Mac.

The only slightly anoying thing is the hash key (#). In OS X alt+3 gets you there (on a UK Keyboard at least), in Windows I can't map the alt key so I have to use ctrl+alt+3. I can live with that. I have also tested this layout with a USB Apple Keyboad and it works 99% (the = key on the numeric keypad is not mapped, I honestly don't think I have ever used it, so again, I will live with that...).

Anyway this works in XP and Vista for sure, I would expect it to work in Windows Server 2003 and 2008 also. Windows 2000? MS say it will, suck it and see I guess.

 

If you think you might find it useful help yourself...

 

Download

MacBook Pro UK Keyboard layout for windows.zip (252.62 kb)

 

 

Tags: , , ,

Mac | Windows

Howto - allow multiple simultaneous downloads using iPlayer Grabber

by withakay 22. November 2008 14:44

This post is a little Howto guide to allow you to download serveral programs at once and also allow you to us a different proxy for each download therefore hopefully allowing you to better utilise your internet connection.

I have reader Peter Register to thank for giving me the inspiration to dream up this hack after reading his helpful comments on the main post for iPlayer Grabber. Peter then went and proved this method actually works (from a non UK country using proxies) and then was kind enough to give me the screen grabs and other info to do this post. So a big thank you to Peter!

Firstly, I am assuming you have 'Grabber if you not head over here and download it and come back.

Right lets get started.

1) Extract the iPlayer Grabber zip archive on to your desktop (or where ever)

 

2) Make a copy of the iPlayer Grabber application bundle that you just extracted (cmd+c then cmd+v)

 

3) Rename the copy you just made, to do this single click on the iPlayer Grabber icon and then press the return key and type a new name, lets use 'iPlayer Grabber 1'

 

NOTE: If you just want to download multiple programs at once using the same preferences for each copy of iPlayer Grabber you can stop here (Probably the case if you are in the UK). If you want to use different preferences (i.e. proxies) for each copy then read on...

 

4) ctrl+click on the iPlayer Grabber 1 icon, you should see a menu similar to the image below (click on the image to enlage), select 'Show Package Contents' 

 

 

5) A finder window will open, click the folder called 'Contents' (see image below)

 

6) In the Contents folder locate Info.plist and double click it (see image below)



7) your Info..plist file should look like the one on the left in the image below. Replace any occurance of 'iPlayer_Grabber' with 'iPlayer_Grabber_1' (without quotes) so the file looks like the one on the right.


 

8) Save Info.plist

 

9) Repeat this as many times as you like replacing 'iPlayer_Grabber_1' with 2,3,4 etc. (you can use whatever you like as long as each one is unique)

You can now run each copy you have made individually and each will store their own preferences. All you need now are some working proxies... Good luck and thanks once more to Peter for the help in creating this post!

Tags: , ,

Mac

Fixing "case-folding collision" errors in mercurial

by withakay 5. November 2008 13:33

UPDATE: see this post for a much simpler solution.

 

I recently came up against this one on a repository that I do a lot of work on. It is a .net project so my local repository was on Windows XP.

abort: case-folding collision between Feeds/web.config and Feeds/Web.config

I think it came about from creating a file, adding it to mercurial, pushing to a central repo, then at some point deleting the file and recreating it with a different case. I then commited the file which works ok locally because Windows doesn't care about case but once it is pushed to the remote repository which is a Linux box things change. Now trying to do a fetch results in the above error. At least I think that is what happened :-/

Anyway, after some hunting around the interweb I found a solution on the mercurial mailing list wiki, http://www.selenic.com/mercurial/wiki/index.cgi/FixingCaseCollisions. I include it here for my own benefit as much as yours

 

 

- make a repo with 'a' and 'A' on Linux- hg clone -U to Windows (actually Wine in my case)- cd - hg debugsetparents <bad_revision>- hg debugrebuildstate- hg rm -A A # mark missing file as deleted- hg ci -m"fix case collision"- hg manifest tip # confirm that the collision is gone- hg co -C tip # get a clean checkout

 

"The trick is to use debugsetparents and debugrebuildstate to get aworking directory that thinks its at the revision we can't check out.Then we record a deletion for the unwanted file. When we commit, commitwill only record the deletion we made via hg rm."

 

Tags: , ,