tag:blogger.com,1999:blog-89789655439269145722024-03-20T08:04:10.886+00:00absolute cobblersgregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.comBlogger68125tag:blogger.com,1999:blog-8978965543926914572.post-53798205773535804392010-02-16T21:30:00.000+00:002010-02-16T21:33:07.997+00:00Napalm Squid launches it's first game: the Daily Slide PuzzleIt is coming to the end of the financial year at work and having not taken much time off from my day job as an ASP.NET developer in the last twelve months I had a bunch of holiday to use up before February 28th. I had the last five days off last week and I used them to finish up a little side project I've had running for a while now.<br /><br /><span style="font-size:130%;">Napalm Squid</span><br /><br />A few months ago myself and a friend, Damien, decided to have a go at making some casual games and see if we couldn't make a few quid along the way. We originally talked about this back in October 2009, Damien had a domain name that he's been sitting on for a while and logo to go with it, <a href="http://www.napalmsquid.co.uk/">Napalm Squid Games</a> was born.<br /><br /><span style="font-size:130%;">The Idea</span><br /><br />Back in October I had been messing around writing some collision detection in ActionScript and I had a little tech demo of some arbitrary shapes that slid against each other but never overlapped. Playing around with this demo reminded me of the <a href="http://en.wikipedia.org/wiki/Sliding_puzzle">slide puzzles</a> I used to have as a kid and I started thinking that a slide puzzle might be a good 1st attempt at a game for us as they are pretty simple, the rules are basic and well known so there wasn't much for us to think about. In the interest of getting to version 1 and actually launch something we decided to go with this concept for our first game.<br /><br />Now, I'm not fooling myself. This is in no way the sexiest game ever made, nor will it make us our millions, but you have to start somewhere and keeping it fairly simple has allowed us to produce something to a reasonable quality in a fairly short time frame and <a href="http://www.codinghorror.com/blog/2009/12/version-1-sucks-but-ship-it-anyway.html">it's important to get something out of the door</a>.<br /><br /><span style="font-size:130%;">Building The Game</span><br /><br />These days there are a hundred and one platforms you could go with for developing casual games all with their pros and cons. The iPhone is the obvious one, everyone has heard at least one incredibly success story of how a guy spends an afternoon locked up in his room and emerges with some game on the App Store making ridiculous amounts of money. Then there's old faithful Flash. Flash has been around since the dawn of time and folks like Shockwave.com have been using it since the then-Macromedia (and now Adobe) set the site up in 1999. The original Shockwave platform is a bit to old and dormant for my liking to be considered a serious contender. Plus, I've grown to loath Lingo even though eight years ago it was the best thing in the world and really got me started in programming.<br /><br />There's also a bunch of other new(ish) web based platforms that I'm keeping in mind like <a href="http://unity3d.com/webplayer/">Unity</a>, which looks really nice as it can publish to the Web, iPhone and to the Wii, and would allow me to develop in my beloved C#, as would Microsoft's <a href="http://www.xna.com/">XNA</a>, which can be used to publish to <a href="http://zone.msn.com/en/microsoftcasualgames">Windows</a> and the <a href="http://marketplace.xbox.com/en-GB/games/default.htm">XBox Live Arcade</a>.<br /><br />Most of these would involve some learning on my part as the developer (Damien is a game designer), even the ones which use C# naively as there are whole new class libraries(XML) or programming paradigms to learn (Unity) . Having been a big fan of Flash and ActionScript for years and being well versed in the MovieClip I chose to go with what I know.<br /><br /><span style="font-size:130%;">Other Stuff</span><br /><br />In getting this 1st game released there has been so much other stuff that's taken a bunch of time too.<br /><br />Making Money<br /><br />Ahh money, we love it! and if this is ever going to be a viable concern there has to be a way to make money from it. After a little bit of research I found <a href="https://www.mochimedia.com/r/6c554b56d721eab7">Mochi Ads from Mochi Media</a>.<br /><br />Getting this up and running was possibly the easiest thing I've ever done. Sign up, create a profile for the game, download some ActionScript and add one line of code to the game. Monetization sorted...<br /><br /><span style="font-size:130%;">Websites</span><br /><br />We obviously needed a website or two. It's no good having a web game if you don't have a website to host it on.<br /><br />Being a web developer in my 9-to-5 meant this wasn't such an issue. I got some <a href="http://www.dreamhost.com/r.cgi?566070">cheap but good quality hosting from Dreamhost</a> which I've been really impressed with to date, you get full <a href="http://en.wikipedia.org/wiki/Shell_(computing)">Shell</a> access to your account which is always a bonus and you can host as many domains as you want, use as much disk space as you want and thrash as much bandwidth as you need.<br /><br />In office hours I'm an ASP.NET developer and I love it, years ago I was all about PHP but I've grown to realise there are better ways to spend your life. That being said, the cheap hosting is Linux hosting and so in the interest of getting to version 1, I went with the PHP based <a href="http://framework.zend.com/">Zend Framework</a>. I'd had a look at the Zend Framework about 6 months ago when I first me our current student placement, <a href="http://www.ben-waine.co.uk/blog">Ben Waine</a>, who was singing it's praises. I like ZF, it works as nice as any other MVC library I've seen, however; at the end of the day, you still have to write your logic in PHP which makes me feel ill.<br /><br /><span style="font-size:130%;">What Next</span><br /><br />Getting our first game released has given us a real buzz! Since I put the site live last Wednesday (7 days ago) I've fixed a bunch of bugs and made a few tweaks to the game. Nothing gives you the impetus to fix an issue more than having the bug out in the wild and visible to your users.<br /><br />Damien is working on up the idea for our next game while I do some R&D on the programming side. We'll also be doing a few updates to Daily Slide Puzzle, largest of which will be the ability to play previous puzzles.<br /><br />It's exciting times and we've certainly got our work cut out for us.gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com8tag:blogger.com,1999:blog-8978965543926914572.post-72395473670210776922010-01-10T18:37:00.006+00:002010-01-10T18:46:06.264+00:00Error when Running or Debugging an Android app from Eclipse with your Phone plugged in<p>As you can <span id="SPELLING_ERROR_0" class="blsp-spelling-corrected">probably</span> guess from this post, I've got my self a new phone. It's a T-Mobile G2, otherwise known as an <span id="SPELLING_ERROR_1" class="blsp-spelling-error">HTC</span> Hero.</p><p>I've been <span id="SPELLING_ERROR_2" class="blsp-spelling-error">dicking</span> around with the <span id="SPELLING_ERROR_3" class="blsp-spelling-error">SDK</span> and the <span id="SPELLING_ERROR_4" class="blsp-spelling-error">Eclipse</span> <span id="SPELLING_ERROR_5" class="blsp-spelling-error">ADT</span> <span id="SPELLING_ERROR_6" class="blsp-spelling-error">plugin</span> since I got it on Friday.</p><p>Today, I've started running into an error where Eclipse says an error <span id="SPELLING_ERROR_7" class="blsp-spelling-corrected">occurred</span> when I try to Run or Debug the application on my hardware (not an <span id="SPELLING_ERROR_8" class="blsp-spelling-error">AVD</span>).</p><p>Here is the full error from the Eclipse error log.</p><pre>null<br />Error<br />Sun Jan 10 18:27:37 GMT 2010<br />An internal error occurred during: "Launching <span id="SPELLING_ERROR_9" class="blsp-spelling-error">Notepadv</span>2".<br /><br />java.lang.NullPointerException<br />at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch(Unknown Source)<br />at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.doLaunch(Unknown Source)<br />at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(Unknown Source)<br />at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)<br />at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)<br />at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)<br />at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)<br />at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<br /></pre><br /><span style="CLEAR: both"></span><br /><p>So, I started Googling and didn't really find much but I do seem to have sorted it.All I did was close Eclipse, unplug my phone from the <span id="SPELLING_ERROR_10" class="blsp-spelling-error">USB</span> lead. Reconnect my phone, and fire Eclipse up again.</p><p>That seems to do the trick.</p>gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com29tag:blogger.com,1999:blog-8978965543926914572.post-35459635550023875972009-11-09T08:44:00.003+00:002009-11-09T08:56:44.194+00:00Passing a User Generated Image From Adobe Flash to ASP.NETA few months ago I was browsing <span id="SPELLING_ERROR_0" class="blsp-spelling-error">StackOverflow</span> while waiting for a question I had asked to be answered (typical SO user behaviour or am I a bit of a freeloader?) when I came <span id="SPELLING_ERROR_1" class="blsp-spelling-corrected">across</span> a question asking <a href="http://stackoverflow.com/questions/928508/pass-image-from-flash-to-asp-net/1688492#1688492">how to pass an image from Flash to ASP.NET</a> and I thought "this is definitely one for me".<br /><br />I have four years experience with ASP.NET from my day job at a <a href="http://www.twentysixdigital.com/">Leading UK Marketing Agency</a> and about a million years experience with Flash from being a student at <a href="http://www.artdesignhull.ac.uk/">the Hull School of art and Design</a>, teaching Interactive Multimedia at <a href="http://www.lincoln.ac.uk/home/">the University of Lincoln</a> and using it in personal and professional projects.<br /><br />I'm a massive fan of <span id="SPELLING_ERROR_2" class="blsp-spelling-error">StackOverflow</span> and find it an invaluable resource, so in the interest of giving a little bit back to the community, I placed a bookmark on my desktop with the intention of writing a solid answer to the question.<br /><br />Four months go by and finally, I get round to doing it. And so, you can now read about<a href="http://stackoverflow.com/questions/928508/pass-image-from-flash-to-asp-net/1688492#1688492"> how to send a generated image from Adobe Flash (using <span id="SPELLING_ERROR_3" class="blsp-spelling-error">ActionScript</span> 3) to an ASP.NET <span id="SPELLING_ERROR_4" class="blsp-spelling-error">backend</span></a> and hopefully my karmic <span id="SPELLING_ERROR_5" class="blsp-spelling-corrected">daemons</span> will leave me alone for another week.gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-52575999903881132042009-10-20T21:00:00.000+01:002009-10-20T20:42:11.092+01:00RSS Readers - I'm not sure I like them...I recently had to format my laptop (again) after having successfully <em><a href="http://absolutecobblers.blogspot.com/2009/10/gregged.html">gregged</a> it</em>™ and it was shortly after this point, when I fired up Internet Explorer and realised that I didn't have any bookmarks, that I started to think about using an online RSS reader, to remember them all for me.<br /><br />After exactly _zero_ seconds looking around I opted to go with <a href="http://www.google.com/reader">Google Reader</a>, mainly because "Google" is synonymous with "Homepage" these days, and so I've spent the last few days remembering which blogs I read, which one's I only read because they were in my Favourites Bar (I might bookmark something, but the number of times I actually use a bookmark that isn't on my favourites bar is few and far between) and which ones I really didn't give a toss about any more.<br /><br />So now I've got 16 blogs wired into Reader and I've been using it for a few days and I'm first reaction is one of discontent! This discontent is spawned of a few symptoms of using RSS and an RSS reader, so not Googles fault.<br /><br />Firstly, it doesn't feel right. To me, part of the reading experience is visiting the authors site to see if they have written anything new. Seeing the page layout, the fonts and colours help me find the <em>mental voice</em> I associate with the author. It helps me read the post as if they were speaking or lecturing to me.<br /><br />My second issue with the RSS reader is how some sites choose only to publish a snippet of the article on the feed, so you have to click through to their site to read the full story. This breaks the spell for me, before I used an RSS reader I was going to visit these sites regardless. Now that I do use a reader, and don't always get the full story, it feels like I've just added an extra step to the process of reading these articles. Granted I can see which blogs have new articles and which don't, you could argue this saves me time, but combined with the experience of reading feeling different, it compounds the dissatisfaction with the experience.<br /><br />All that said, I've only been using it for just under a week now, so I might be flying off the handle.<br />I'm going to stick it out for a couple of weeks and see if it improves my quality of life. It will also give me something to write about too.gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-47752061747332174092009-10-20T20:22:00.002+01:002009-10-20T20:25:59.756+01:00Gregged<em>-adjective</em><br /><br /><ol><li>Make a computer Operating System nigh-on unusable within a relatively short period of time, usually in the region of 6 months after re-installing the operating system and all required software.<br /><br />See also <em><a href="http://dictionary.reference.com/browse/broken">broken</a></em>.</li></ol>gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-39457885354495549882009-10-14T14:35:00.003+01:002009-10-14T15:05:47.434+01:00Thoughts on EPiServer Customer and Partner Day 2009Yesterday I was at <a href="http://www.cumberlandhotel-london.co.uk/">The Cumberland Hotel in London</a> for this years EPiServer Customer and Partner day. It was the first time I've been to the event so I wasn't sure what to expect but over all I enjoyed the day.<br /><br />Of the <a href="http://www.episerver.com/en/Events/Upcoming_Events/EPiServer-Customer-and-Partner-Day-2009/Agenda/">items on the itinerary</a> the highlights for me were:<br /><ul><li><a href="http://www.episerver.com/en/Events/Upcoming_Events/EPiServer-Customer-and-Partner-Day-2009/Registration-London-2009/Breakout-session-22/">EPiServer B2B Adapt and EPiServer B2B Prospect</a><br />These two new products (although based on existing technolgies) offer fantiastic insight and extreamely easy integration with your EPiServer sites. </li><li><a href="http://www.episerver.com/en/Events/Upcoming_Events/EPiServer-Customer-and-Partner-Day-2009/Registration-London-2009/Breakout-session-41/">EPiServer CMS 6 for Developers</a> (and <a href="http://www.episerver.com/en/Events/Upcoming_Events/EPiServer-Customer-and-Partner-Day-2009/Registration-London-2009/EPiServer-CMO-from-a-technical-point-of-view/">part 2</a>)<br />In these two talks we were shown how some of the new features of CMS 6 work which look like they're going to bring a lot of power and flexibility to the system.<br /><br />The Dynamic Data Store is built on a <a href="http://en.wikipedia.org/wiki/BigTable">BigTable</a>-esque schema and allows you (through the use of a few simple <a href="http://msdn.microsoft.com/en-us/library/z0w1kczw.aspx">Class and Member attributes</a>) to store and retieve any <a href="http://stackoverflow.com/questions/250001/define-poco">POCO</a> or other class with ease.<br /><br />CMS 6 has a new user dashboard and we were also shown how to use ASP.NET MVC to build new dashboard widgets.</li></ul><p>There wasn't really much <em>bad</em> stuff throughout the day, it was the usual mix of marketing babble and product releases, with the exception of one event. There was a presentation from the marketing director for <a href="http://www.slh.com/">SLH</a> and the MD of their digital agency, Fortune Cookie. </p><p>I felt this talk lacked a real purpose as it meandered on for 40 minutes. Don't get me wrong, the guys doing the presentation seemed lively enough, but the thousands of bulleted slides didn't hold anything for the two audiences. To me, the Customers (of the Customers and Partners day) would have likes to be shown how SLH used specific features of EPiServer to achieve their business goals, and I don't mean shown like a "demonstration", just saying "XXX helped us achieve YYY", and as a Partner, I would have liked to have seen similar things.</p><p>Overall a good day, but I hope they pick a better closing act next time.</p>gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-34084155859472914742009-07-04T19:07:00.001+01:002009-07-04T19:07:30.749+01:00Blogging and advertising. Pt.2<p>Back in May I posted that <a href="http://absolutecobblers.blogspot.com/2009/05/blogging-and-advertising.html">I was going to give AdWords a go on this blog</a> and see what came of it. Well after two months, 722 visits and 856 page views the results are in... It didn't work, I'm still not a millionaire. But I think I have learned a few things over the last couple of months.</p> <h5>My "audience" just isn't ready to make me a millionaire.</h5> <p>To me this means a few things:</p> <ol> <li>I just don’t pull enough traffic. <br />As I’m sure most small-time bloggers think to themselves  every so often, why would anyone want to read anything I’ve got to say. Well, I often think this but then I check my analytics and notice that I’ve been getting around 320 visitors a month and to someone as small-time™ as I am, this is incredibly encouraging and impressive. </li> <li>The traffic I do pull isn’t the right type . <br />My biggest hitters (in terms of traffic per post) are <a href="http://absolutecobblers.blogspot.com/2008/02/aspnet-image-upload-and-resize-in-c-net.html">my article from 18 months ago about uploading and resizing images</a>, accounting for roughly 50% of my hits per month, <a href="http://absolutecobblers.blogspot.com/2008/02/sql-multiple-order-bys.html">my post about multiple order-by’s in SQL</a> (aprox 19%) and since I posted it on the 14th June, my post about <a href="http://absolutecobblers.blogspot.com/2009/06/outputting-subversion-revision-into.html">getting the Subversion revision number into your project output</a> has been responsible for 17% of my traffic. What does this have to do with the point I’m making? Well these articles are technical “how-to” kind of articles, and being a programmer myself, I know how people read these things. <ol> <li>You do a Google search for what you need to do. </li> <li>You start clicking links. </li> <li>You read the first sentence or two to see if it sounds like you’ve landed on the right page. <ol> <li>You either bail out because it’s not the right page or… </li> <li>You start scrolling up and down the article to see if there is a nice concise chunk of code you can copy. </li> <li>You bail out because you’ve got what you came for. </li> </ol> </li> </ol> <br />What this means is that the visitors aren’t here to read what I have to say, they aren’t going to browse around the site, they definitely aren’t going to be bothered to click on advertising.</li> <li>My visitors are the wrong type of person. <br />As I commented in <a href="http://absolutecobblers.blogspot.com/2008/02/aspnet-image-upload-and-resize-in-c-net.html">my original post</a>. I don’t click on advertising. I get this funny feeling inside that it’s a lie, that if I search for something, then <em><a href="http://infolab.stanford.edu/pub/voy/museum/pictures/display/0-4-Google.htm">The Google</a></em> is good enough on it’s own to find the right thing, and that anything that has been surreptitiously crammed in at the top, with a different colour background to draw my eye, is just bad.</li> </ol> <h5>I don’t like the idea of advertising on my blog.</h5> <p>Well not this blog anyway! I’ve recently been listening to the Stack Overflow Podcast, a couple of times recently <a href="http://www.codinghorror.com/blog/">Jeff</a> and <a href="http://www.joelonsoftware.com/">Joel</a> have mentioned <a href="http://en.wikipedia.org/wiki/Cognitive_dissonance">Cognitive Dissonance</a>. I’ll let you read the the first sentence of that page rather than me try and paraphrase it… </p> <p>Any way, my point being, since I put the AdWords on here I’ve been checking <a href="http://google.com/analytics">Analytics</a> with vague regularity to see how much I haven’t made. I’ve been trying to think of all-star topics to write about in order to earn me a million. I applied extra pressure to something I was trying to do for personal improvement reasons. </p> <p>This, it turns out,  is beyond useless, as I can barely write anyway (although I’m doing OK today!), having this extra pressure made me super-illiterate. (Let’s not even mention spelling!)</p> <p>The upshot of all this is, after a little over two months, I’ve removed AdWords in an attempt to lower the pressure and enable me to write a bit more freely. </p> gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-36379876137268817642009-06-14T20:40:00.002+01:002009-06-14T20:44:11.748+01:00Outputting the Subversion revision into your web page<p>A few months ago when I stared using <a href="http://stackoverflow.com/" target="_blank">stackoverflow</a> I noticed that they output the current Subversion revision number into their html source.</p><p align="center"><img title="Stackoverflow revision number" alt="Stackoverflow revision number" src="http://farm3.static.flickr.com/2444/3626361686_3562068f91.jpg?v=0" /> </p><p>This is both cool and useful and as I’m about to become a SVN Nazi and make sure that all new projects at work are placed under source control (only a few are at present) I wanted to know how to do it. </p><h4>Getting the tools</h4><p>Most of our projects are built using ASP.NET so I wanted to know how to get this working from within Visual Studio. Thankfully this didn’t take long, a few Google’s turned up <a href="http://msbuildtasks.tigris.org/" target="_blank">MSBuild Community Tasks Project</a> hosted over at <a href="http://www.tigris.org/" target="_blank">Tigris.org</a> who are the good folks behind Subversion and many many Subversion tools. I had a quick look over the list of tasks and spotted the “SvnVersion” task and thought that sounds about right. I downloaded and installed the Community Tasks.</p><p>I also downloaded the Visual Studio Web Deployment projects after having read <a href="http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx" target="_blank">ScottGu’s blog post regarding them</a>. You can <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&displaylang=en" target="_blank">get the VS2008 version here</a> or <a href="http://msdn.microsoft.com/en-us/asp.net/aa336619.aspx" target="_blank">the VS2005 version here</a> if you need it.</p><h4>Getting the revision into your HTML</h4><p>To get the revision number into my HTML I chose to add a Web Deployment project (right click on your website/web app in the solution explorer and “Add web deployment project” then right click on this new project and “Open project file”. What you’ll see now is the XML of the MSBuild file and towards the bottom of this file should be a comment with four target tags in it like this.</p><pre><code><!-- To modify your build process, add your task inside one of the targets below and uncomment it.<br /> Other similar extension points exist, see Microsoft.WebDeployment.targets.<br /> <Target Name="BeforeBuild"><br /> </Target><br /> <Target Name="BeforeMerge"><br /> </Target><br /> <Target Name="AfterMerge"><br /> </Target><br /> <Target Name="AfterBuild"><br /> </Target><br />--></code></pre><br /><br /><p>We’re going to use the AfterBuild target so to place the revision number in a little bit of HTML that’s going to live in a master page, so let’s set up the master page first.</p><br /><br /><p>My site is a .NET MVC application and I’m going to add the revision number to the Site.Master. To do this I added the following HTML to the footer of the master page.</p><br /><br /><p><span id=”rev”>revision REVISION</span></p><br /><br /><p>The SvnRevision task will get the revision number from our working copy and store it in a property name that we define.</p><br /><br /><p>We can then use another Community Task, FileUpdate, to update the master page after the build.</p><br /><br /><p>Here is the XML of the AfterBuild target looks, note also that before the target I have imported the Community Tasks that we downloaded and installed earlier.</p><br /><br /><p><code><!-- Import the community build tasks--><br /> <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" /><br /> <target name="AfterBuild"><br /> <! -- Add the SvnVersion build task --><br /> <svnversion toolpath="$(ProgramFiles)\VisualSVN\bin" localpath="$(MSBuildProjectDirectory)"><br /> <output propertyname="Revision" taskparameter="Revision" /><br /> </svnversion><br /> <fileupdate replacementtext="revision $(Revision)" regex="revision REVISION" files="$(Configuration)\Views\Shared\Site.Master" /><br /> </target></code></p><br /><br /><p>The FileUpdate finds the string defined in the regex attribute and replaces it with the string in the replacementText attribute. <em>$(Revision)</em> is MSBuild syntax for a property (like a variable in other languages) where “Revision” is the property name. The files attribute tells the fileUpdate action which file to work with when doing this replacemnet. In this example $(Configuration) is a property that the build engine creates which contains the name of the current build configuration (Debug or Release are the defaults).</p><br /><br /><p>So to see this in action, right click on the Web Deployment Project and click Build. Then navigate to the solution folder. Inside that folder should be another folder named the same as your Web Deployment Project and in there, a folder for what ever configuration you had selected in Visual Studio (Debug is the default). Open this folder then browse to the folder containing the master page and open the master page in your favourite text editor. Find the span from the earlier step and you should see that the uppercase “REVISION” has been replaced with the current revision of your working copy.</p>gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com4tag:blogger.com,1999:blog-8978965543926914572.post-66752552981779138962009-06-05T16:01:00.000+01:002009-06-05T16:05:02.790+01:00Installing EPiServer and VMWare ESXi<p>Wednesday this week our group IT manager Gordon brought us some new hardware to play with in the form of 3 HP DL308's (<a href="http://h18000.www1.hp.com/products/quickspecs/12028_div/12028_div.html">two G4's</a> and <a href="http://h18000.www1.hp.com/products/quickspecs/11473_div/11473_div.HTML">one G3</a>) which I think and hope we're going to consolidate our jumble sale of a server room onto for the most part with the use of VMWare's wonderful ESXi (version 3.5 because version 4 requires 64bit hardware and the VMWare compatibility list says the G3 and G4 are only compatible with 3.5).</p><p>I caught <a href="http://www.26point1.com/">Matt</a> just in time as he was about to install Windows 2003 on one of the G4's and got him to let me install <a href="http://www.vmware.com/products/esxi/">ESXi</a> on it. Which I did without hitch (except for when I couldn't get the networking to work, then I realised the Ethernet cable wasn't plugged in). Then it was a cinch to download the Infrastructure Client from the box and spin up a new VM and get Windows 2003 installed. Within an hour I'd got a new virtual development server up and running. Happy man. </p><p>Next up I downloaded and installed SQL Server 2005 Express, which didn't go quite to plan as the installer kept complaining that the SQL Native client installer package was missing. This was fixed by going into add/remove programs and uninstalling the (failed) Native Client install and starting the whole thing again. </p><p>Then came installing EPiServer CMS which was a completely painless task comprised of logging into <a href="http://world.episerver.com/">EPiServer World</a> and downloading the latest stable release (CMS 5 R2) and installing it, I then used the Deployment Centre utility to install the demo site for the team here to have a play with. </p><p>Job done! </p><p>Over the coming weeks I'm going to be posting a bunch more articles about my trials and tribulations with EPiServer which I'm looking forward to and hope will provide a nice chage from building brochure ware sites for purfume brands.</p>gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-59809184537433299442009-06-04T13:45:00.000+01:002009-06-04T13:46:06.270+01:00More CMS's, this time for PHPI recently had a requirement for a CMS to run on a Linux server. For 99% of my day-job I use ASP.NET but I am an old hand at PHP and I'm not overly familiar with the syntax of Ruby or Python so PHP was my language of choice.<br /><br />I was after a small, easy to set up, flexible solution which wasn't going to take ages to install and configure and that also didn't require me to use a massive framework.<br /><br /><br />I friend recomended <a href="http://getpixie.co.uk/">Pixie</a> which is a free, open source offering from <a href="http://www.toggle.uk.com/">toggle</a> and I've got to say that I was pleasantly supprised. Admittedly it's a million miles away from the object oriented nature of .NET that I'm so used to but it does have a plugin architecture and is easily skinnable.<br /><br />I recomend giving it a try!gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-86658383017987338802009-05-09T11:16:00.002+01:002009-05-09T11:25:04.996+01:00Someone else I know and likeFollowing on from my post the other day, I'd like to link you up to <a href="http://oliverdore.tumblr.com/">the musings of Oliver Dore</a>.<br /><br />I’ve known Oli for about 6 years now, since we met while I was teaching at the University of Lincoln.<br /><br />He has worked at a few top class agencies here in the UK including <a href="http://mnatwork.com/#/?state=0">mN</a> and now works for <a href="http://www.hugeinc.com/">HUGE, Brooklyn</a> in New York.<br /><br />Oli is a fantastic developer with a very strong eye for design and he’s possibly one of the most thoughtful people I’ve ever met! Go check him out on <a href="http://oliverdore.tumblr.com/">his tumblelog</a>.gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-58848004216344579052009-05-02T17:13:00.003+01:002009-05-02T17:31:43.216+01:00Blogging and AdvertisingI've been blogging on and off for just over a year now and I'm consistently getting around 300 hits per month which I'm really impressed with. Most of my traffic (about 50%) comes through a single post about resizing images which leads me to believe that 90% of the folks that read this blog are developers like my self. And I guess this was alway my intention as I doubt anyone really wants to read about how I just mowed the lawn after playing 9 holes of golf, but I had reason to believe (and now have proof) that a few of my ramblings would hold some interest for a few people out there.<br /><br />As a web developer I don't really like banner ads and rarely ever click on them (I think I've clicked on maybe 2 in my 10+ years of internetting) and a never click the sponsored links that show up at the top of Google, they're only at the top because someone paid for them, and to me that spells a false positive. The non-sponsored links below stand a very strong chance of being more relevant.<br /><br />So, anyway, as a bit of an experiment and a completely transparent attempt to make a quick buck I've taken advantage of the quick and easy method blogger now provides to "Monetise your blog" and lobbed AdWords on here.<br /><br />Obviously I hope I make my millions from it but I'd like to see if I actually make anything from it at all. I'd like to see if all developers are like me and see right through online advertising. Or if it's just me that thinks I can do a better job of finding what I'm after than Google can.<br /><br />Here's hoping!gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-56359495933622620632009-04-22T10:38:00.007+01:002009-04-22T15:38:21.528+01:00People I know and Like(?)Quite a lot has happened in and around my little blogosphere in the last few months.<br /><br />Back in February I <a href="http://absolutecobblers.blogspot.com/2009/02/final-frontier.html">mentioned</a> the <a href="http://www.frontier.lincoln.ac.uk/devblog">development blog of my friend</a>, ex-colleague and ex-house-mate, James (Jay) Field's work for his <a href="http://www.frontier.lincoln.ac.uk/">Interactive Media MA project "Frontier"</a>.<br />Frontier is a massively multiplayer online game that Jay is building in Flash. The blog has gone a bit quite at the moment since he was made senior lecturer at the <a href="http://www.artdesignhull.ac.uk/">Hull School of Art and Design</a>.<br /><br /><br /><span style="font-size:130%;">iheartspaceships</span><br />Nearly a year and a half ago, <a href="http://twitter.com/thisisryan">Ryan</a> and <a href="http://twitter.com/AJinthe80s">Andy</a> bought a domain name and said they were going to produce a blog. Yesterday they <a href="http://twitter.com/heartspaceships/statuses/1576816071">launched "a day early"</a>.<br /><br />Ryan is a Flash Developer here at twentysix Leeds and works across many large brands on both web and <a href="http://www.adobe.com/products/air">AIR</a> based Flashieness.<br /><br />Andy is our UI Developer working on many of the same clients and projects but does miraculous things with JavaScript and CSS.<br /><br />Hopefully they'll have some interesting thoughts soon over at <a href="http://iheartspaceships.com/">iheartspaceships.com</a><br /><br /><br /><span style="font-size:130%;">niid.to</span><br />About a month ago <a href="http://twitter.com/jameswykes">James</a> and <a href="http://twitter.com/tomcavill">Tom C</a> left twentysix Leeds to persue a life of love and freedom as freelance developer and designer respectively. Amongst various freelance work that they won't tell us about they also founded <a href="http://www.niid.to/"><em>niid.to</em>, a social to do list</a> and they have an accompanying blog over at <a href="http://niidto.blogspot.com/">http://niidto.blogspot.com/</a><br /><br /><span style="font-size:130%;">26point1</span><br />Our Technical Director, Matt, used to run two blogs for the different types of nonsense he likes to spout off about. "matts 2 minute reviews" and "matts random days". Not that long ago, he merged them into <a href="http://26point1.com/">one central repository of nonsense over at 26point1</a>. Hop on over there to read about all kinds of rubbish, both technology-based and not...gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-50056423199780691462009-02-24T10:43:00.002+00:002009-02-24T10:52:47.413+00:00MetallicaI'm off to see Metallica at Nottingham Arena tomorrow night. Can't wait!<br /><br />As you'll be able to see from <a href="http://www.last.fm/user/gregbrant">my Last.fm</a>, I've been listening to a lot of it today and yesterday to get in the mood :)gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-5546868667755951472009-02-14T11:21:00.001+00:002009-02-14T11:23:04.928+00:00Final FrontierMy old friend James only just showed me the devblog for the project he's basing his masters work around. Swing on over to <a href="http://www.frontier.lincoln.ac.uk/devblog/">http://www.frontier.lincoln.ac.uk/devblog/</a> and check out the crazy work he's doing.gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-31100615416745573232009-02-07T08:11:00.002+00:002009-02-07T08:13:49.266+00:00Tidy UpI just deleted all my old half started posts in an attempt to get some more writing done, I figured I would never finish these posts now or in the future as the moment really has passed and would seem even less applicable as time crawles on.<br /><br />Well, what else am I going to do at 8am on a Saturday :(gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-50327390376412090422009-01-28T20:50:00.003+00:002009-01-31T11:31:02.249+00:00Getting to grips with EPiServerA week ago I was in London for a 3 day training course for <a href="http://www.episerver.com/">EPiServer CMS</a>.<br /><br />I really enjoyed the course and learning about the CMS, it looks like EPiServer could be one of the best commercial CMS's out there.<br /><br />It comes with integration packages for Visual Studio which make using the features a doddle and I'm looking forward to using it on some projects in the future.<br /><br />Watch this space for any tips and tricks I pick up along my way.gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-73771546915423373952008-11-17T17:08:00.003+00:002008-11-17T17:13:27.083+00:00The Pixel ChickenI just found out that my mate Liz has buggered off back to Australia without somuch as a good bye! The cow!<br /><br />So anyway, I thought I'd link her up... If you're reading this, you're based in Sydney and you're looking for a top class interactive designer / developer then give <a href="http://www.linkedin.com/in/pixelchicken">Liz</a> a shout and check out her <a href="http://www.pixelchicken.com/">blog</a> over at <a href="http://www.pixelchicken.com/">www.pixelchicken.com</a>.<br /><br />Liz, next time try saying good bye ;)gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com1tag:blogger.com,1999:blog-8978965543926914572.post-83200321296699176762008-11-12T09:00:00.001+00:002008-11-12T09:03:15.706+00:00Book Review : ASP.NET 2.0 Step by StepJust over a month ago I moved in with Smithy, during the expected packing and unpacking I came across a book that I bought close to 3 years ago when I started working at <a href="http://www.twentysixleeds.com/">twentysix Leeds</a> and was <em>forced</em> to learn .NET.<br /><br />The book is "<a href="http://www.amazon.co.uk/Microsoft-ASP-NET-2-0-Step/dp/0735622019">ASP.NET 2.0 Step by Step</a>" from the Microsoft Press which and I've got to say, my initial opinion was not a good one, after getting just over half way through, I became disenchanted with and put to one side. I have since spent the last 8 months looking high and low for it, and even accusing my co-workers of losing it for me :S (sorry guys) as I found a desire to finish it.<br /><br />My first attempt at reading the book was not a good one. I was coming from a solid 5 years of scripting things like Lingo, ActionScript, JavaScript and most importantly PHP; I was struggling with the structured and strict way that ASP.NET works when compared to (loose and, dare I say, sloppy) PHP pages. It also seemed a bit wordy for my liking. Some of my favourite programming books are the O'Reilly cookbook series which give you examples based around short, concise scenarios.<br /><br />So, armed with my now solid 2 years of experience with C# and the .NET Framework I picked up the book again, found my old bookmark still stuck in at the end of chapter 13 and decided to have a little flick.<br /><br />It just so happened that the next couple of chapters concerned subjects that have been on the agenda quite a bit recently, namely the caching of data and output within a web application.<br /><br />These two chapters give a good introduction and now, with just over two years experience with C# and the .NET framework I find these chapters to be just enough to get me going on a subject. I now know how and where to look for further information on a subject from my time searching the usual places.<br /><br />Having re-read the first 13 chapters I take back most of what I thought about it in the first place and can see that my original lack of enthusiasm for the book was not down to the book, but due to my inexperience with ASP.NET and all its in's and outs. I actually love this book now as it gives you insights into many of the key tools that you might use day to day in a ASP.NET web app.<br /><br />Good book, get it read!gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-86647999144508688202008-11-11T20:00:00.001+00:002009-01-28T21:01:54.817+00:00The ASP.NET Singleton, Singleton classes for ASP.NETThis is a little trick I learned recently. I had a situation where I needed to use a static class in one of my ASP.NET web apps. I wanted it to provide functionality on a per-user basis, but when I put this in to practice I got some funny results and then I realised the obvious. Static classes are shared throughout any single instance of a .NET application, and each website runs within it's own w3wp.exe process, as a self contained application. This explained the funny behaviour.<br /><br /><br /><p>So I did a little digging around and found the following code, which adapts the singleton pattern to store the instance in a per-user manner.</p><p>Each user is assigned an HttpContext for thier time visiting an ASP.NET web application. This Context object allows you to store objects.</p><p>So a classic Singleton might look something like this</p><br /><style type="text/css"><br />.csharpcode, .csharpcode pre<br />{<br /> font-size: small;<br /> color: black;<br /> font-family: Consolas, "Courier New", Courier, Monospace;<br /> background-color: #ffffff;<br /> /*white-space: pre;*/<br />}<br /><br />.csharpcode pre { margin: 0em; }<br /><br />.csharpcode .rem { color: #008000; }<br /><br />.csharpcode .kwrd { color: #0000ff; }<br /><br />.csharpcode .str { color: #006080; }<br /><br />.csharpcode .op { color: #0000c0; }<br /><br />.csharpcode .preproc { color: #cc6633; }<br /><br />.csharpcode .asp { background-color: #ffff00; }<br /><br />.csharpcode .html { color: #800000; }<br /><br />.csharpcode .attr { color: #ff0000; }<br /><br />.csharpcode .alt<br />{<br /> background-color: #f4f4f4;<br /> width: 100%;<br /> margin: 0em;<br />}<br /><br />.csharpcode .lnum { color: #606060; }<br /></style><br /><pre class="csharpcode"><br /><span class="kwrd">class</span> Singleton {<br /> <br /> <span class="rem">// private instance field</span><br /> <span class="kwrd">private</span> <span class="kwrd">static</span> Singleton _instance;<br /> <br /> <span class="rem">// public read-only instance property</span><br /> <span class="kwrd">public</span> <span class="kwrd">static</span> Singleton Instance {<br /> get{<br /> <span class="kwrd">if</span>(_instance == <span class="kwrd">null</span>){<br /> _instance = <span class="kwrd">new</span> Singleton();<br /> }<br /> <br /> <span class="kwrd">return</span> _instance;<br /> }<br /> }<br /><br /> <span class="rem">// private constructor</span><br /> <span class="kwrd">private</span> Singleton() {<br /> <span class="rem">// constructor logic here</span><br /> }<br />}</pre><p><br />All we have to do is to replace the private field for an Item in the HttpContect object, like so...</p><br /><br /><style type="text/css"><br />.csharpcode, .csharpcode pre<br />{<br /> font-size: small;<br /> color: black;<br /> font-family: Consolas, "Courier New", Courier, Monospace;<br /> background-color: #ffffff;<br /> /*white-space: pre;*/<br />}<br /><br />.csharpcode pre { margin: 0em; }<br /><br />.csharpcode .rem { color: #008000; }<br /><br />.csharpcode .kwrd { color: #0000ff; }<br /><br />.csharpcode .str { color: #006080; }<br /><br />.csharpcode .op { color: #0000c0; }<br /><br />.csharpcode .preproc { color: #cc6633; }<br /><br />.csharpcode .asp { background-color: #ffff00; }<br /><br />.csharpcode .html { color: #800000; }<br /><br />.csharpcode .attr { color: #ff0000; }<br /><br />.csharpcode .alt<br />{<br /> background-color: #f4f4f4;<br /> width: 100%;<br /> margin: 0em;<br />}<br /><br />.csharpcode .lnum { color: #606060; }<br /></style><br /><pre class="csharpcode"><br /><span class="kwrd">class</span> Singleton {<br /> <br /> <span class="rem">// public read-only instance property</span><br /> <span class="kwrd">public</span> <span class="kwrd">static</span> Singleton Instance {<br /> get{<br /> <span class="kwrd">if</span>(HttpContext.Current.Items[<span class="str">"SingltonInstance"</span>] == <span class="kwrd">null</span>){<br /> HttpContext.Current.Items.Add(<span class="str">"SingltonInstance"</span>, <span class="kwrd">new</span><br /><br />Singleton());<br /> }<br /> <br /> <span class="rem">// cast the item to a singleton because it is stored as a generic object</span><br /> <span class="kwrd">return</span> (Singleton)HttpContext.Current.Items[<span class="str">"SingltonInstance"</span>];<br /> }<br /> }<br /><br /> <span class="rem">// private constructor</span><br /> <span class="kwrd">private</span> Singleton() {<br /> <span class="rem">// constructor logic here</span><br /> }<br />}</pre>gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com3tag:blogger.com,1999:blog-8978965543926914572.post-47174753195156668432008-09-30T15:09:00.004+01:002008-09-30T15:18:22.452+01:00Working from homeSo this Sunday I ran in the Horsforth 10Km race and finished in 46mins, not my personal best but it was a hilly course so it was always going to be difficult achieving that, and to boot I had pulled my left knee a little bit in training the Tuesday before.<br /><br />This little pull has turned into a full blown injury which sees me working from home today and tomorrow and with a physio appointment 1st thing on Thursday.<br /><br />Working from home has for a long time been a nightmare of mine. Simply because I do not (or did not) possess enough self dicipline to put in a full and productive days work. Until now!<br /><br />I used to work part time at <a href="http://www.lincoln.ac.uk/home/">a University</a> and then, in my "spare" time work on a few freelance bits and pieces, which seemed like a chore and I would always have to work late into the night to get to a point where I had achieved enough *work* for the day.<br /><br />But I'm setting the record straight today. I was up at 7am with Smithy (mainely because I had a doctors appointment to get to) and then when I got back I was straight to the laptop and into the working. Had 40 mins for lunch and then more working. It feels good, this home working lark...<br /><br />Luck I've got another day of it tomorrow then!...gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-44492773914409902782008-09-22T10:54:00.002+01:002008-09-22T11:09:44.862+01:00Racing Time<p>Next Sunday sees <a href="http://www.horsforthharriers.co.uk/content/horsforth10k.php">the 24th Horsforth 10Km race</a> which I will be running in.</p><p>I’ll be racing against some of my workmates, James, Tom, Jen and Sarah. So there should be some good fun and I’m looking to beat my most recent time at the <a href="http://nikeplus.nike.com/nikeplus/emea/v1/race/index.html?datapath=/nikeplus/emea/v1/race/race_run/en/great_yorkshire_run/&lang=en#/graph?user=1412">Great Yorkshire run</a> last month in Sheffield where I posted a time of 45:45 for 10Km.</p>gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-27227608164832421462008-09-11T17:17:00.003+01:002008-09-11T17:19:28.444+01:00How to uninstall Adobe AIR on WindowsHere's some linkage for how to uninstall Adobe AIR on windows.<br /><br />Download the latest installer and then from the dcommand line give it some of this<br /><br /><span style="font-family:courier new;">AdobeAIRInstaller.exe -uninstall</span><br /><br />Thanks to flashmech for the <a href="http://blog.flashmech.net/2008/05/this-is-how-you-uninstall-adobe-air/">original post (http://blog.flashmech.net/2008/05/this-is-how-you-uninstall-adobe-air/)</a>gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-70976086803091526082008-08-27T16:42:00.007+01:002008-08-28T08:58:34.275+01:00How to de-dupe a record set using a temporary table (MSSQL)<p>Following on from the SQL Fire we witnessed a while ago I've just wrote this rather snazzy little query that does something similar. </p><p><span style="font-size:130%;">The Problem:<br /></span>The original problem is we have a little game with a scoreboard and one very dedicated player. Well, not only one player, many players but one is more determined to win than the rest. So to keep the small scoreboard looking inviting we decided to only show each player once, and to only show that players highest score. </p><p>I really wanted to do this in SQL as I figured it’s sorting and ordering abilities would be far easier than writing something in C#.</p><p><span style="font-size:130%;">The Solutions:<br /></span>Select the data into a temporary table which has a unique index on the user ID. The order of the select will ensure that only the highest score for each user will make it into the temporary table. Then select everything out of said temptable. </p><p><span style="font-size:130%;">The Practical:<br /></span></p><br /><pre><code>-- CREATE THE TEMPORARY TABLE<br />CREATE TABLE #tmpTable (<br /> strFirstName NVARCHAR(255),<br /> strLastName NVARCHAR(255),<br /> intScore INT,<br /> intUserID_PK INT<br />)<br /><br />-- ADD THE UNIQUE INDEX<br />CREATE UNIQUE INDEX ix0 ON #tmpTable (intUserID_PK) WITH (ignore_dup_key = ON)<br /><br />-- INSERT THE DATA<br />INSERT INTO #tmpTable SELECT strFirstName,strLastName,strValue, intUserID_FK<br /> FROM tblScores<br /><br />-- THE ORDER IS THE WRONG WAY TO WHAT YOU THINK<br />-- IT SHOULD BE, ASC NOT DESC...<br />-- TRY IT THE OTHER WAY AND YOU SHOULD GET THE LOWEST SCORES<br /> ORDER BY intScore ASC<br />-- SELECT THE DATA<br />SELECT * FROM #tmpTable<br />-- WITH THE CORRECT ORDER BY<br />ORDER BY intScore DESC<br />GO -- CALL GO SO THIS BATCH GETS EXECUTED AND THE TABLE IS NOLONGER USED<br />DROP TABLE #tmpTable<br />GO -- DROP THE TABLE SO IT IS NOLONGER IN MEMORY<br /></code></pre><br /><br />Update: If you use this within a stored procedure you will need to remove the <span style="font-family:courier new;">GO</span> statements or the SP won't compilegregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0tag:blogger.com,1999:blog-8978965543926914572.post-8080263459808629752008-08-26T08:52:00.004+01:002008-08-26T08:59:05.967+01:00Code updated, Blog not-so-updatedAfter a comment that an anonymous reader made I have revised and updated the <a href="http://absolutecobblers.blogspot.com/2008/02/aspnet-image-upload-and-resize-in-c-net.html">ASP.NET Image Upload and Resize article</a>. So BIG thanks to Anonymous for that one!<br /><br />I''m struggling to finish the couple of posts i've started about recent activities so in absence of any real new content why not check out some of my other <a href="http://absolutecobblers.blogspot.com/search/label/C%23">C# posts</a>.gregliohttp://www.blogger.com/profile/10108970643733679224noreply@blogger.com0