New week, new toy

I’ve just found this cool app that allows you to post to blogs, including our own one.

http://windowslivewriter.spaces.live.com/

go ahead and try it! I’m writing this article in it! As cool as WordPress is, it’s writing editor sucks. I don’t tend to write often, but when I start, my articles usually take more than a page and if in the process I accidentally press the shortcut for the browser go-back… I’m crying! I also wonder if you’ve ran into the 1000 miles long line bug in the WordPress editor? It seems to sometimes make all spaces in the line non breakable, there is a solution to this, which is to press enter and then go back to the line again and delete and re-insert all the spaces again… which makes me cry some more! I am also just not a big fan of Web interfaces for something so interactive as creating documents or calculations (hint, hint Google). I think Web is more suited for presentation whereas desktop is for creation.

It has a spell checker and all the cool stuff the app that I’m writing has, and it’s free. It’s in beta but seems to work pretty well so far.

As a side note… It’s written in .Net, which is soooo… expected (but nice).

ok so if you want to use it in our blog use this:

http://blogs.cognifide.com/adam/xmlrpc.php

as your blog URL, naturally, replace adam with your blog name, fill in the user name and password and enjoy!

Last final test – let’s see how does it deal with images from disk…


(c) Mother Goose and Grimm by MIKE PETERS

Posted in Blogging, Lifestyle, Software, Web applications
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
| 123 Comments »

ClickOnce

The new project is really exciting. Not that we didn’t expect that, the number of new technologies we get to explore is incredible.

I’ve just finished setting up an automatic build and deployment (of a desktop application) environment consisting of SVN+Nant+CruiseControl+ClickOnce. The system is centered around CruiseControl which detects any commit in the trunk in the SVN repository and every time it’s changed, it calls Nant to pull source code from our SVN, at which point it compiles the source into binary artifacts and put them up on our release server. This means that every time you change anything and commit it to the repository – a minute or two later – any tester can get a working copy of your build to look at, without any intervention on your part, but there’s more…

The app can check on every start whether there is a new build available, so you can basically be pretty sure the tester has the latest copy of your app rather than wondering if they failed to update it. This alone takes a lot of pain off of the testing. It should also help out customers in the deployment of the highly distributed system that we’re working on.

It even installs a shortcut on the user’s Start Menu.

One caveat, which should not be much of a problem once we have the release page properly implemented is that even though you may get an initial feeling that it should work in your preferred browser, unless the preferred browser is Interned Explorer or derivative (or one of multiple of wrappers around IBrowser). The biggest problem as I see it now is that the bootstrap setup app looks like it should work but is broken on the server, while this is not the case.

You may also need to alleviate security restrictions on the site that you’re pulling the app form since it looks like it has a problem even with IE for one of our co-developers.

Some links I’ve gathered while implementing it:

Posted in .Net Framework, C#, Software Development
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
| 3 Comments »

Learning C#

I?m about to help a few guys here with their transition from Java to .Net, namely to C#. 

I thought it may actually be a good idea to gather a few helpful links together for you. Stuff I found useful while I was phasing into the joys of the .Net framework a while ago.

The official stuff

First and foremost C# is an ECMA regulated standard. And as such is pretty well documented. ECMA allows you to download PDF e-books regarding the standardized part of the language:

The books are a free download, you could theoretically request the books in printed form (for free) which I did back in my time when I was learning C# but it looks like they have a strict publications ordering form with a combo box of publications which? surprisingly do not list entries 334, 335 or 372. I suppose there was a big number of those smart guys who smelled free books? and the trees were crying.

There is also a good explanation (although highly redundant) on MSDN pages.

Hint: I highly suggest that you read the Garbage collection part of that. It REALLY helps in your day-to-day problems.

I have to say I?m really impressed by the official documentation. I was initially trying to shop around for some C# books back in my days of learning but since there seemed to be none that were both accessible here without waiting for a month or so for delivery and worthwhile I reverted to official docs. And I can tell you, THEY ROCK.

For all your ASP.NET need visit? surprise, surprise? ASP.NET official page.

You may also want to read up on the IIS official page for getting accustomed with IIS. For what it?s worth, there are some articles here.

I would say? don?t buy any books for it, it?s all there and it?s written really well.

All in all, I?m really impressed at how well this stuff is documented, Microsoft really did a great job here. Makes me feel taken care of. But after all? when in doubt – throw money at it.

The good stuff

It looks like for almost every problem you may have there is a simple, clean and not-quite-accurate solution out there.

For those I usually look at CodeProject. Amazing how many of those unique problems you may have, are not so unique. Just put up a proper filter (C#, .Net, ASP.NET) and fill in a few words. Amazing stuff there.

.Net framework does not fully cover all the old stuff of the WinAPI. I do not suspect we will need much of it here, but if you ever needed to use some legacy windows DLL access for stuff not directly supported by the platform (like e.g. speedy reading INI files, or manipulation of Windows handles to get a per-pixel translucent windows ) there is a cool site that helps, which is called exactly like the gears that are used to do it – Pinvoke. There are other marginally useful sites like CodeGuru, DevX or C#Corner but I don?t use them nearly as much as CodeProject or Google.

Hint: when on Google try to use Google Groups rather than just the Google Web search engine.

Posted in .Net Framework, ASP.NET, C#, Software Development
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
| 18 Comments »

Is everything going to web based?

Yeah… Mr. Obvious, am I not?

Check out this web Word processor. Neat toy… not sure why would I use it but still…

http://www.writely.com/

One of the gazillion Google web apps.

Let me remain sceptic – editing belongs to desktop if you asked me.

Posted in Blogging, Software, Web applications
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
| 6 Comments »

It?s the era of XBOX 360. Is Playstation 3 stillborn?

Those that met me more than once know what a geek I am, my eyes basically glow on a sight of a cool new gadget. My wife on the other hand, couldn’t care less, she is as far from a geek as it gets. An email? Something needs to be found on The Web? Why learn anything when you have a guy next to you doing it all for you when you need it, and being hapy about it too!

That’s probably the essence of the presence of an Xbox in our house. This little toy (ok it’s not quite little, in fact it’s huge when you compare it to any other console on the market) is basically a fully featured computer connected to a TV. But you won’t see us gaming on it, nor enjoying any Xbox live action. With a little help of google and some creative hacking you can turn your Xbox into a fully fledged media center for the family. Why should I juggle the DVD’s when I can have them conveniently stored on the Xbox (it’s got its tine 8GB hard disk replaced with a 120GB one) when you can conveniently lay on a couch with a remote in your hand and enjoy your whole DVD and music collection being just a remote control click away?

Check out the cool things they’ve done with the old Xbox.
And a review on Tom’s Hardware.
It’s got my music, it stores all my digital photos and I even ripped a few movies to it. And the most important thing that was actually the key for the purchase of it is – it’s completely maintainable by all of my girls! Heck even the youngest (2.5 year) play cartoons on it.

The key was to make the XBMC the dashboard (meaning it’s the app that’s shown when you start your Xbox).

And although the original Xbox was protected against using third party code by means of only running an MS signed code, this protection was quickly removed and there seems to be a galore of semi-legal apps being available for it.

Now it’s essential to mention that MS really seemed to have little incentive to let us do it. The Xbox division has been a total money sink for them since day 1. They literally lost billions on the deal. The model was to make money on licensing the platform to game developers and take a cut out of any game that’s being sold for it. Obviously it didn’t work. The division had only a single quarter profitable (when they shipped the highly succesful Halo2).

Now it turns out that they no longer intend to go with that model (at least for the moment) as reported in those articles:
XNA game development platform will be free for Windows, $99 for Xbox (Tom’s Hardware)
Microsoft Opens Up Xbox 360 Game Development to Everyone (Paul Thurot)
Play your own Xbox game (ZDNet)

Tom’s hardware says:

Microsoft developers report the first beta of XNA Game Studio Express will be made available on 30 August, with a final edition released – still for free download – before the holidays. The product requires Visual C# Express, but that’s also free.

Now how cool is THAT!?

Microsoft is no longer going to limit the development of the games to the few chosen but rather will open it to anyone. Is is bad for giants like EA or Vivendi? Not likely, the indies don’t really have the capital to give them any serious competition in the supper production games like halo2 or NBA stuff. It is however great for the wide range of developers that used to make PC games. The PC games marked has been on decline for quite a while. While console games sell in hundrets of copies, a PC game is lucky to sell a few thousand. If Microsoft will not charge them a hefty price for distribution, this may be a great move for XboX 360 since they can still make a lot by the volume of sales for the platform and it’s good for the platform since it will make lots of new titles made available for it.

Let’s see whom else does it benefit… how about the other most succesful to date gaming platform from Microsoft? Yes – Windows. I think one of the not so many true platform locks for Windows users are games. while people buy computers for their home to work and browse and send emails they definitely want to be able for their kids to be able to play on them, or actually, since the target audience for the majority of games seems to actually be people in their 30’s, they buy them to game themselves. Let’s see… how many big game titles got released for linux last year? Anyone? If any you would probably be able to count them on the fingers of one hand. That definitely locks quite a few people in the Windows platform. And if that’s going to be a platform majority owns at home, they will actually demand them at work, so the circle closes.

But whom is it targeted against? I would say the whole push has been engineered to hurt Playstation 3.

There is no way Sony can pull a stunt like this. They have absolutely nothing to gain from opening their APIS and even if they did… Xbox OS is basically a fork off of Windows 2000, while PS3 is a totally different infrastructure, if it was even possible, it surely would not be fun. Add to that the stupid things Sony does with their DRM and the patent they filed on tieing a game you bought to a specific console and you’ve got the picture. The Playstation series is dead. DEAD!

So, up till today it was hard (and not-quite-legal) to make any unauthorized software for the Xbox, and as far as I know impossible to make it on Xbox 360. This is going to change, and soon enough we will have things like XBMS available for the x360

I guess what I wanted to say in the end is – I cannot wait to replace the old and clunky Xbox with a new shiny 360 one… and there are rumours that for only an additional $200 I can get a HD-DVD for it soon enough!

Posted in .Net Framework, C#, Lifestyle, Software Development
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
| 17 Comments »

It?s the era of XBOX 360. Is Playstation 3 stillborn?

Those that met me more than once know what a geek I am, my eyes basically glow on a sight of a cool new gadget. My wife on the other hand, couldn’t care less, she is as far from a geek as it gets. An email? Something needs to be found on The Web? Why learn anything when you have a guy next to you doing it all for you when you need it, and being hapy about it too!

That’s probably the essence of the presence of an Xbox in our house. This little toy (ok it’s not quite little, in fact it’s huge when you compare it to any other console on the market) is basically a fully featured computer connected to a TV. But you won’t see us gaming on it, nor enjoying any Xbox live action. With a little help of google and some creative hacking you can turn your Xbox into a fully fledged media center for the family. Why should I juggle the DVD’s when I can have them conveniently stored on the Xbox (it’s got its tine 8GB hard disk replaced with a 120GB one) when you can conveniently lay on a couch with a remote in your hand and enjoy your whole DVD and music collection being just a remote control click away?

Check out the cool things they’ve done with the old Xbox.
And a review on Tom’s Hardware.
It’s got my music, it stores all my digital photos and I even ripped a few movies to it. And the most important thing that was actually the key for the purchase of it is – it’s completely maintainable by all of my girls! Heck even the youngest (2.5 year) play cartoons on it.

The key was to make the XBMC the dashboard (meaning it’s the app that’s shown when you start your Xbox).

And although the original Xbox was protected against using third party code by means of only running an MS signed code, this protection was quickly removed and there seems to be a galore of semi-legal apps being available for it.

Now it’s essential to mention that MS really seemed to have little incentive to let us do it. The Xbox division has been a total money sink for them since day 1. They literally lost billions on the deal. The model was to make money on licensing the platform to game developers and take a cut out of any game that’s being sold for it. Obviously it didn’t work. The division had only a single quarter profitable (when they shipped the highly succesful Halo2).

Now it turns out that they no longer intend to go with that model (at least for the moment) as reported in those articles:
XNA game development platform will be free for Windows, $99 for Xbox (Tom’s Hardware)
Microsoft Opens Up Xbox 360 Game Development to Everyone (Paul Thurot)
Play your own Xbox game (ZDNet)

Tom’s hardware says:

Microsoft developers report the first beta of XNA Game Studio Express will be made available on 30 August, with a final edition released – still for free download – before the holidays. The product requires Visual C# Express, but that’s also free.

Now how cool is THAT!?

Microsoft is no longer going to limit the development of the games to the few chosen but rather will open it to anyone. Is is bad for giants like EA or Vivendi? Not likely, the indies don’t really have the capital to give them any serious competition in the supper production games like halo2 or NBA stuff. It is however great for the wide range of developers that used to make PC games. The PC games marked has been on decline for quite a while. While console games sell in hundrets of copies, a PC game is lucky to sell a few thousand. If Microsoft will not charge them a hefty price for distribution, this may be a great move for XboX 360 since they can still make a lot by the volume of sales for the platform and it’s good for the platform since it will make lots of new titles made available for it.

Let’s see whom else does it benefit… how about the other most succesful to date gaming platform from Microsoft? Yes – Windows. I think one of the not so many true platform locks for Windows users are games. while people buy computers for their home to work and browse and send emails they definitely want to be able for their kids to be able to play on them, or actually, since the target audience for the majority of games seems to actually be people in their 30’s, they buy them to game themselves. Let’s see… how many big game titles got released for linux last year? Anyone? If any you would probably be able to count them on the fingers of one hand. That definitely locks quite a few people in the Windows platform. And if that’s going to be a platform majority owns at home, they will actually demand them at work, so the circle closes.

But whom is it targeted against? I would say the whole push has been engineered to hurt Playstation 3.

There is no way Sony can pull a stunt like this. They have absolutely nothing to gain from opening their APIS and even if they did… Xbox OS is basically a fork off of Windows 2000, while PS3 is a totally different infrastructure, if it was even possible, it surely would not be fun. Add to that the stupid things Sony does with their DRM and the patent they filed on tieing a game you bought to a specific console and you’ve got the picture. The Playstation series is dead. DEAD!

So, up till today it was hard (and not-quite-legal) to make any unauthorized software for the Xbox, and as far as I know impossible to make it on Xbox 360. This is going to change, and soon enough we will have things like XBMS available for the x360

I guess what I wanted to say in the end is – I cannot wait to replace the old and clunky Xbox with a new shiny 360 one… and there are rumours that for only an additional $200 I can get a HD-DVD for it soon enough!

Posted in .Net Framework, C#, Lifestyle, Software Development
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
| 17 Comments »

Those that met me more than once know what a geek I am, my eyes basically glow on a sight of a cool new gadget. My wife on the other hand, couldn’t care less, she is as far from a geek as it gets. An email? Something needs to be found on The Web? Why learn anything when you have a guy next to you doing it all for you when you need it, and being hapy about it too!

That’s probably the essence of the presence of an Xbox in our house. This little toy (ok it’s not quite little, in fact it’s huge when you compare it to any other console on the market) is basically a fully featured computer connected to a TV. But you won’t see us gaming on it, nor enjoying any Xbox live action. With a little help of google and some creative hacking you can turn your Xbox into a fully fledged media center for the family. Why should I juggle the DVD’s when I can have them conveniently stored on the Xbox (it’s got its tine 8GB hard disk replaced with a 120GB one) when you can conveniently lay on a couch with a remote in your hand and enjoy your whole DVD and music collection being just a remote control click away?

Check out the cool things they’ve done with the old Xbox.
And a review on Tom’s Hardware.
It’s got my music, it stores all my digital photos and I even ripped a few movies to it. And the most important thing that was actually the key for the purchase of it is – it’s completely maintainable by all of my girls! Heck even the youngest (2.5 year) play cartoons on it.

The key was to make the XBMC the dashboard (meaning it’s the app that’s shown when you start your Xbox).

And although the original Xbox was protected against using third party code by means of only running an MS signed code, this protection was quickly removed and there seems to be a galore of semi-legal apps being available for it.

Now it’s essential to mention that MS really seemed to have little incentive to let us do it. The Xbox division has been a total money sink for them since day 1. They literally lost billions on the deal. The model was to make money on licensing the platform to game developers and take a cut out of any game that’s being sold for it. Obviously it didn’t work. The division had only a single quarter profitable (when they shipped the highly succesful Halo2).

Now it turns out that they no longer intend to go with that model (at least for the moment) as reported in those articles:
XNA game development platform will be free for Windows, $99 for Xbox (Tom’s Hardware)
Microsoft Opens Up Xbox 360 Game Development to Everyone (Paul Thurot)
Play your own Xbox game (ZDNet)

Tom’s hardware says:

Microsoft developers report the first beta of XNA Game Studio Express will be made available on 30 August, with a final edition released – still for free download – before the holidays. The product requires Visual C# Express, but that’s also free.

Now how cool is THAT!?

Microsoft is no longer going to limit the development of the games to the few chosen but rather will open it to anyone. Is is bad for giants like EA or Vivendi? Not likely, the indies don’t really have the capital to give them any serious competition in the supper production games like halo2 or NBA stuff. It is however great for the wide range of developers that used to make PC games. The PC games marked has been on decline for quite a while. While console games sell in hundrets of copies, a PC game is lucky to sell a few thousand. If Microsoft will not charge them a hefty price for distribution, this may be a great move for XboX 360 since they can still make a lot by the volume of sales for the platform and it’s good for the platform since it will make lots of new titles made available for it.

Let’s see whom else does it benefit… how about the other most succesful to date gaming platform from Microsoft? Yes – Windows. I think one of the not so many true platform locks for Windows users are games. while people buy computers for their home to work and browse and send emails they definitely want to be able for their kids to be able to play on them, or actually, since the target audience for the majority of games seems to actually be people in their 30’s, they buy them to game themselves. Let’s see… how many big game titles got released for linux last year? Anyone? If any you would probably be able to count them on the fingers of one hand. That definitely locks quite a few people in the Windows platform. And if that’s going to be a platform majority owns at home, they will actually demand them at work, so the circle closes.

But whom is it targeted against? I would say the whole push has been engineered to hurt Playstation 3.

There is no way Sony can pull a stunt like this. They have absolutely nothing to gain from opening their APIS and even if they did… Xbox OS is basically a fork off of Windows 2000, while PS3 is a totally different infrastructure, if it was even possible, it surely would not be fun. Add to that the stupid things Sony does with their DRM and the patent they filed on tieing a game you bought to a specific console and you’ve got the picture. The Playstation series is dead. DEAD!

So, up till today it was hard (and not-quite-legal) to make any unauthorized software for the Xbox, and as far as I know impossible to make it on Xbox 360. This is going to change, and soon enough we will have things like XBMS available for the x360

I guess what I wanted to say in the end is – I cannot wait to replace the old and clunky Xbox with a new shiny 360 one… and there are rumours that for only an additional $200 I can get a HD-DVD for it soon enough!

Posted in .Net Framework, C#, Lifestyle, Software Development
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
| Leave a Comment »

Spying upon myself

I?ve not been to the site for a while, so I figured I?ll check if I have not written anything new in the mean time?

Nope, it does not look like I did.

Nothing to see here? Move along?

Posted in Lifestyle
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
| Leave a Comment »

Let me start by digressing… I’ve got this Desktop Sidebar installed (wich by the way seems to be one of those viral softwares since a lot of people in the team started using it upon looking at my screen) and on the daily comic roll I’ve got the Mother Goose & Grim displayed in it among others. And looking at todays comic made me roll on the floor laughing (not that it does not usually do it anyway) since I realized that I can totally relate to it in the sense how I feel when I log on to my computer at home.

Let me elaborate. I am someone that you could generally put in a drawer with a sticker “early adopter” attached to it. Being one and wanting to be able to write software for it and test my old wares, I signed up as a beta tester for the upcoming Microsoft Windows Vista uperating system. Overall it’s been a really good experience with an examption of a few bugs that are inevitable for a beta, but as one of my friends say “Nothing on earth forces you to run beta software, for it may end up on the bleeding edge” so I’ll just ignore those.

The things that really is annoying there is not what is there by mistake, it’s what has been put there intentionally.

So this is basically how you will feel on Vista after the first 15 minutes…

Vista security?

The system goes out of its way to make your life miserable whenever you actually try to do anything other than write a mail or browse web a bit.

Whenever you run any installer, whenever you want to delete anything from desktop, or even purge your recycle bin, the screen goes dark and it pops up an administrative allert from User Account Protection allerting that there might be a problem. Riiiight… Fortunately you can disable that in msconfig.

Similarly if you want to enter “Documents and Files” folder, you will hit a wall on anything but the lowest level. Fortunately you can take ownership and take the control back.

“Program Files” folder virtualization is particularly interesting stuff. Aparently there is action going behind the scenes whenever a program wants to save anything to its folder in “Program Files” after it’s been installed. If you installed a 2P2 app that downloads to its folder, good luck finding the files after you’ve downloaded anything… the folder is buried within a new structure of folders. Aparently there is a new fiolder called “UserData” or something similar in the main folder on your %SystemDrive% (usually C:\), deep within the belly of that monster there is a Virtual folder that contains your precious new mp3 files you’ve just downloaded.

Registry Virtualization was particularly annoying to me since some of my apps set registry Associations for some file types, and guess what? No love for me. The app can save it, sure, but it will get fed its own little chunk of registry that only it will see whenever it wants to read it back, but no data that saves to HKLM or HKCR seems to be be handed to other apps. Now I realize that there probably are ways of circuimventing it although I’ve been told that this is not to be done in anything but the installer… oh well…

So Vista may be the best thing in security since the private firewalls (which I don’t really use any longer since I’m behind a NAT anyway and I tend to be careful about what sites I visit, not opening mail attachments and so on&#823 ;) for the general users like my dad which indeed need to be driven-by-wire, but power users will really generaly feel like Grim on this strip, till… they go and disable it wholesale, which I am pretty sure will be a standard practice after you install the system.

It’s just like in the above mentioned firewalls, you will always finally check the the “OK STOP BOTHERING ME ALREADY!” checkbox and be done with it.

Posted in Rants, Software
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
| 33 Comments »

Windowblinds went translucency crazy!

WindowBlinds “PerPixel” 5 – new features explanatory series – part two.

Originally posted on Wincustomize.com

If Stardock gave WindowBlinds version names like Microsoft did with XP and its successor, WindowBlinds 5 would probably be called “WindowBlinds Translucent” or “WindowBlinds See-Through” or… oh no… it can’t be… or can it (?) “WindowBlinds Vista”!

In the first part I’ve explained the most noticeable changes you will see in a new WindowBlinds 5 skin but to be honest it went all crazy about translucent parts. We’ve got used to the translucent start panel since 4.6 which I’ve described how to create in this article. But in WindowBlinds 5 you can make the whole taskbar translucent as well as the drop down menus, and the “Please Wait” dialog!

Read the rest of this article »

Posted in Skinning, SkinStudio, WindowBlinds
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
| 24 Comments »