<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>24/7/dev&amp;amp;coffee : Programming</title><link>http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx</link><description>Tags: Programming</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Dissecting a web application - part I - requirements and plans</title><link>http://weblogs.asp.net/michu/archive/2005/04/28/404970.aspx</link><pubDate>Thu, 28 Apr 2005 21:23:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:404970</guid><dc:creator>michu</dc:creator><author>michu</author><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/michu/rsscomments.aspx?PostID=404970</wfw:commentRss><comments>http://weblogs.asp.net/michu/archive/2005/04/28/404970.aspx#comments</comments><description>&lt;p&gt;With this&amp;nbsp;entry I am&amp;nbsp;starting a series of articles describing&amp;nbsp;the process of creation of complete web application with additional tools, &lt;a href="http://theexpedition.info"&gt;http://theexpedition.info&lt;/a&gt;. This article is available also &lt;a href="http://dotnet.blog.pl/komentarze/index.php?nid=9516227"&gt;in Polish language on my other weblog&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;In my &lt;A href="http://weblogs.asp.net/michu/archive/2005/04/28/404833.aspx"&gt;previous entry&lt;/a&gt; I announced the launch of website about my planned expedition around the globe. As you can easily see, the &lt;a href="http://theexpedition.info"&gt;http://theexpedition.info&lt;/a&gt;&amp;nbsp;website uses ASP.NET, what you can't see but probably can guess, there is also a MS SQL Server database involved. Big thanks to my friend from &lt;a href="http://www.xenium.pl"&gt;Xenium&lt;/a&gt; for providing me with a free hosting.&lt;/p&gt; &lt;p&gt;My choice of technology was pretty obvious, as I am a .NET developer, probably more interesting are the requirements I had for the web application. These requirements weren't exactly typical, so I decided to create my own app. In this article I will try to describe main properties of the application that I wrote (and am still writing, as there are some more things to do).&lt;/p&gt; &lt;p&gt;First: The website should have structure of a weblog. Published entries should be displayed in reverse-chronological order, 10 on the main page of website, all other in the archive, in the form of headlines linked to full content.&lt;/p&gt; &lt;p&gt;Second: Besides blog-style entries, there should be a way to publish longer entries - articles. These articles can have aliases (for example "car" will be the alias of article descibing my (not existing yet) vehicle). I decided to identyfy entries by GUIDs (more on that later) and aliases will make creating URLs easier - they will act as shortcuts to chosen articles.&lt;/p&gt; &lt;p&gt;Third: Blog entires can be commented. It is nothing extraordinary, I just have to ensure that it is SQL-injection and Script-injection safe.&lt;/p&gt; &lt;p&gt;Fourth: There should be a RSS feed for convenient reading thru news aggregator.&lt;/p&gt; &lt;p&gt;OK, these were the typical things. Probably I should use Community Server and get all (or almost all) of that functionality for free. Why did I choose a custom solution? These are the reasons:&lt;/p&gt; &lt;p&gt;First: Website should be two-language. I want to promote it both in Poland and abroad (hoping a bit to create a buzz and interest some potential sponsors), so it was necessary that both UI and content were affected by choosing the language (EN/PL). What is more, I wanted to create a&amp;nbsp;language&amp;nbsp;autodetection mechanism based on HTTP headers sent by browser and preference-storing mechanism, remembering user choice (that can be different than autodetected setting) for following visits.&lt;/p&gt; &lt;p&gt;Second: Besides standard elements of blog / informational website, TheExpedition.info should contain structured data about visited places and GPS coordinates related to each entry&amp;nbsp;or&amp;nbsp;photo.&lt;/p&gt; &lt;p&gt;Third and the most important: I want to update the website straight from the field, using the laptop computer and different kinds of internet connection. Sometimes I will be able to go to internet caffee, sometimes I would be using a GPRS connection, and sometimes - if my budget allows (Sponsors, do you hear that? ;-) - a satellite uplink (slow and expensive). I need to be able to publish all elements desribed above without struggling with web administrative interface and with least possible bandwith use. So there goes...&lt;/p&gt; &lt;p&gt;Fourth: Together with web application I have to create a desktop client application,&amp;nbsp; allowing me to prepare content (entries, articles, photos, places and coordinates metadata) and send it compressed to web server thru FTP. There it should be automaticaly uncompressed and used to update a website. Additionally, there goes...&lt;/p&gt; &lt;p&gt;Fifth: Because I will need to use expensive and slow connections, the client application should allow publishing: texts alone, texts with image thumbnails, texts with thumbnails and full-resolution photos, only pending thumbnails (these already prepared but chosen to be not published until better connection conditions) or pending thumbnail together with hi-res photos.&lt;/p&gt; &lt;p&gt;Sixth: In my LandRover I will have a webcam installed. It will be making a photo of the road in front of the car every 5 minutes. It gives about 144 photos a day (assuming a 12-hour drive). This probably won't be published on the website during my expedition, but after I come back home. It will be a treat: full travel around the world using a slideshow of 50-100 thousands of photos. Would you consider buying a CD with such thing? Or downloading the CD image? Let me know, I want to know the possibilities. My client application should store these photos and annotate them with coordinates.&lt;/p&gt; &lt;p&gt;Seventh: Web application should gather basic statistics about page views and refferals, but without abusing the server I can use for free.&lt;/p&gt; &lt;p&gt;And that should be all. In next weeks I will walk through all modules of my web and client applications, describing their design and implementation using ASP.NET, Windows Forms, C#, XML and MS SQL Server. Do not hesistate to add a RSS of my weblog to your news aggregator and do the same with a feed from TheExpedition.info! I have planned a lot of interesting content. Spread news! Now I need all the publicity I can get, because soon I will start looking for sponsors. Thanks!&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=404970" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx">Programming</category><category domain="http://weblogs.asp.net/michu/archive/tags/Other+stuff/default.aspx">Other stuff</category></item><item><title>From the lists department... Open source applications in C#</title><link>http://weblogs.asp.net/michu/archive/2005/03/07/387965.aspx</link><pubDate>Mon, 07 Mar 2005 20:55:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:387965</guid><dc:creator>michu</dc:creator><author>michu</author><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/michu/rsscomments.aspx?PostID=387965</wfw:commentRss><comments>http://weblogs.asp.net/michu/archive/2005/03/07/387965.aspx#comments</comments><description>That is a nice site: &lt;a href="http://csharp-source.net/"&gt;http://csharp-source.net/&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; But where is a RSS feed?&lt;br /&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=387965" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx">Programming</category></item><item><title>A bit of self-boasting ;)</title><link>http://weblogs.asp.net/michu/archive/2004/11/23/268482.aspx</link><pubDate>Tue, 23 Nov 2004 14:56:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:268482</guid><dc:creator>michu</dc:creator><author>michu</author><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/michu/rsscomments.aspx?PostID=268482</wfw:commentRss><comments>http://weblogs.asp.net/michu/archive/2004/11/23/268482.aspx#comments</comments><description>I just received an email... I have got a second place in .NET Master (in Polish &lt;a href="http://www.mistrz.net.pl/" target="_blank"&gt;Mistrz.NET&lt;/a&gt;) competition held by Microsoft Poland. Wow! :) Thanks to all friends who wished me luck!&lt;br /&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=268482" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx">Programming</category></item><item><title>Injection attacks - spread it around!</title><link>http://weblogs.asp.net/michu/archive/2004/08/19/216979.aspx</link><pubDate>Thu, 19 Aug 2004 07:43:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:216979</guid><dc:creator>michu</dc:creator><author>michu</author><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/michu/rsscomments.aspx?PostID=216979</wfw:commentRss><comments>http://weblogs.asp.net/michu/archive/2004/08/19/216979.aspx#comments</comments><description>&lt;p&gt;It's very disturbing how few web application developers know anything about injection attacks. Like &lt;A href="http://weblogs.asp.net/bleroy/" target="_blank"&gt;Bertrand LeRoy&lt;/a&gt; noticed, web forums are full of questions accompanied with code showing that the person who wrote it was completly clueless in that matter. So here comes Bertrand's &lt;A href="http://weblogs.asp.net/bleroy/archive/2004/08/18/216861.aspx" target="_blank"&gt;article&lt;/a&gt; explaining those problems. It's very well written and should be easy to understand for everybody who knows anything about web applications and web programming.&lt;p&gt;Spread it around and make web a safer place!&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=216979" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx">Programming</category></item><item><title>Why is IE going down so much?</title><link>http://weblogs.asp.net/michu/archive/2004/07/09/178190.aspx</link><pubDate>Fri, 09 Jul 2004 11:38:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:178190</guid><dc:creator>michu</dc:creator><author>michu</author><slash:comments>17</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/michu/rsscomments.aspx?PostID=178190</wfw:commentRss><comments>http://weblogs.asp.net/michu/archive/2004/07/09/178190.aspx#comments</comments><description>&lt;P&gt;Having enough of problems with IE, I'm switching to &lt;A href="http://www.mozilla.org/products/firefox/"&gt;Mozilla Firefox &lt;/A&gt;today.&lt;/P&gt;
&lt;P&gt;Why?&lt;/P&gt;
&lt;P&gt;First, there are all those security problems. Last update to ADODB.Stream seems to be only a quick-fix for particular problem and it isn't even trying to address many other, *known* issues with ActiveX security - for example with much-discussed Shell.Application component (&lt;A href="http://www.securityfocus.com/archive/1/367875/2004-07-01/2004-07-07/0"&gt;more info here&lt;/A&gt;). There is even example exploit ready - opening harmless command prompt, but it is only a matter of time, when somebody find some more &amp;#8220;practical&amp;#8221; use of that technique. On abovementioned site you can find also an instruction how to patch registry to disable this component, just in case.&lt;/P&gt;
&lt;P&gt;Second, features. IE was for some time beautiful in its simplicity. Now it&amp;nbsp;looks only outdated. Popup filters and download manager? A praised features of upcoming version, while other browser have it for ages. Tabbed browsing? Nope. Mouse gestures? No way. Zoom? Are you kidding? Extensible support for search engines? No way, and probably it will never be included because MSN tries to build on search now. Etc.&lt;/P&gt;
&lt;P&gt;Third, web standards. Yeah, I know it is vague. But just try to make XHTML+CSS complaint site, which will look the same in all browsers. IE always goes in the way. Just look what&amp;nbsp;it means: IE, which was always feature-rich for developers, now is the most annoying browser for the same people. Statistics show that IE is losing users, but the loss of developers is the crack that will be most difficult to fill.&lt;/P&gt;
&lt;P&gt;To summarize: IE guys, you have to get out of year&amp;nbsp;1999 as soon as possible. When people say Microsoft, they think Windows and IE. This is the most common. Losing IE for Mozilla or Opera you are giving away a lot more than some small percent of users - you're giving away a lot of brand recognition. How can anybody forget about the first and most used application of&amp;nbsp;his clients? Is this arrogant or just overlooking? How can you say you want to provide the very best experience to users when the most important tool, an icon of our times, browser which is the very first computing experience of many people, is so broken?&lt;/P&gt;
&lt;P&gt;So, make me come back to IE. Or maybe nobody cares?&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=178190" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx">Programming</category></item><item><title>071-340 beta exam - strange results</title><link>http://weblogs.asp.net/michu/archive/2004/07/06/173530.aspx</link><pubDate>Tue, 06 Jul 2004 01:27:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:173530</guid><dc:creator>michu</dc:creator><author>michu</author><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/michu/rsscomments.aspx?PostID=173530</wfw:commentRss><comments>http://weblogs.asp.net/michu/archive/2004/07/06/173530.aspx#comments</comments><description>&lt;P&gt;I just received my score report for &lt;A href="http://www.microsoft.com/learning/exams/70-340.asp"&gt;071-340 beta exam (Implementing Security for Applications with Microsoft Visual C# .NET)&lt;/A&gt; I took on April, 21st. It was the first time I was participating in beta exam program. It was interesting experience, but waiting for results for 2.5 month is long. I wanted to prepare for that exam, but I couldn't find any time to do it - it was very stressful and crazy time in my life, so studying for beta exams wasn't a priority. I went to the exam without a minute of preparation and came home sure that I failed it. But, to my surprise, I passed. &lt;/P&gt;
&lt;P&gt;What is very strange (or maybe not, looking at my preparation technique&amp;nbsp;;-) ), the comments under each of exam sections say that I need to develop that skill:&lt;/P&gt;
&lt;P align=center&gt;&lt;IMG src="http://c3soft.com/michu/blog/71340.jpg"&gt;&lt;/P&gt;
&lt;P&gt;It is so even if I scored &amp;#8220;strong&amp;#8221; in that particular field. Is this a bug, or maybe 100% strong is normalized to my highest score of all subjects, or maybe they put that &amp;#8220;Needs Development&amp;#8221; label always, to&amp;nbsp;encourage people to develop their skills constantly? ;-)&lt;/P&gt;
&lt;P&gt;Does anybody know?&lt;/P&gt;
&lt;P&gt;Anyway, I'm very happy that I passed. It was a very pleasant surprise.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt; In fact, I'm using this stuff daily. So there probably was a bit of preparation, maybe only not so formal :-]&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;UPDATE 2: &lt;/STRONG&gt;Oh,my! This is how it goes when one sorts his mail at 3 AM. As some people said in comments, it is a label - opposite to &amp;#8220;Strong&amp;#8221;. Now I see it and&amp;nbsp;I'm embarassed :-/&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=173530" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx">Programming</category><category domain="http://weblogs.asp.net/michu/archive/tags/Other+stuff/default.aspx">Other stuff</category></item><item><title>Is that new or I missed it all the time?</title><link>http://weblogs.asp.net/michu/archive/2004/07/03/172160.aspx</link><pubDate>Fri, 02 Jul 2004 23:10:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:172160</guid><dc:creator>michu</dc:creator><author>michu</author><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/michu/rsscomments.aspx?PostID=172160</wfw:commentRss><comments>http://weblogs.asp.net/michu/archive/2004/07/03/172160.aspx#comments</comments><description>&lt;P&gt;I just installed .NET Framework 2.0 and some Express Tools and I noticed something (maybe) new.&lt;/P&gt;
&lt;P&gt;When I open IIS Manager, right-click my website and click properties I have a new tab:&lt;/P&gt;
&lt;P align=center&gt;&lt;IMG src="http://c3soft.com/michu/blog/aspnet.gif"&gt;&lt;/P&gt;
&lt;P&gt;Then there&amp;nbsp;I have&amp;nbsp;a GUI&amp;nbsp;tool for editing of my Machine.config and Web config - it looks interesting:&lt;/P&gt;
&lt;P align=center&gt;&lt;IMG src="http://c3soft.com/michu/blog/aspnetc.gif"&gt;&lt;/P&gt;
&lt;P align=left&gt;Or was it there all the time? Quick check... nope, on my .NET 1.1 machine there is no such tab. &lt;/P&gt;
&lt;P align=left&gt;So, I have something new&amp;amp;cool to play with :-)&lt;/P&gt;
&lt;P align=left&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt; So, this is definitely new :-) I'm used to manualy edyting web.config and machine.config, but it is anyway a&amp;nbsp;great tool. Increases discoverability of .config features a lot. Best way to start playing with those files in .NET 2.0 and see what's new.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=172160" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx">Programming</category></item><item><title>My contribution to The Daily WTF</title><link>http://weblogs.asp.net/michu/archive/2004/06/26/166887.aspx</link><pubDate>Sat, 26 Jun 2004 17:24:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:166887</guid><dc:creator>michu</dc:creator><author>michu</author><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/michu/rsscomments.aspx?PostID=166887</wfw:commentRss><comments>http://weblogs.asp.net/michu/archive/2004/06/26/166887.aspx#comments</comments><description>My &lt;A target=_blank href="http://thedailywtf.com/archive/2004/06/26/428.aspx"&gt;entry&lt;/A&gt; just got published on &lt;A target=_blank href="http://thedailywtf.com"&gt;The Daily WTF&lt;/A&gt;. That's cool :)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=166887" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx">Programming</category></item><item><title>Generating Excel files from web - line breaks in cells</title><link>http://weblogs.asp.net/michu/archive/2004/06/15/155851.aspx</link><pubDate>Tue, 15 Jun 2004 08:32:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:155851</guid><dc:creator>michu</dc:creator><author>michu</author><slash:comments>17</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/michu/rsscomments.aspx?PostID=155851</wfw:commentRss><comments>http://weblogs.asp.net/michu/archive/2004/06/15/155851.aspx#comments</comments><description>&lt;P&gt;As many of you probably know, you can output data (a report, for example) as an Excel file, simply by adding right content-type and content-disposition header:&lt;/P&gt;
&lt;P&gt;&lt;PRE&gt;Response.ContentType = &amp;#8220;application/vnd.ms-excel&amp;#8220;;
Response.AppendHeader(&amp;#8220;content-disposition&amp;#8220;, &amp;#8220;inline; filename=report.xls&amp;#8220;);&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;If client has MS Excel installed, your output HTML page will be opened in it instead of web browser. Excel will interpret all formating (borders, fonts etc.) and TABLE tags, which can&amp;nbsp;result a nice, formated worksheet, without using heavyweight server-side controls.&lt;/P&gt;
&lt;P&gt;The problem I was struggling for some time was with multi-line cells. I needed to wrap text in cell, but when I put &amp;lt;br&amp;gt; tag into HTML output, Excel interpreted it as a new row, not a line-break in existing cell.&lt;/P&gt;
&lt;P&gt;The solution I found is to add into a stylesheet:&lt;/P&gt;
&lt;P&gt;&lt;PRE&gt;    br {mso-data-placement:same-cell;}&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Then it works like a charm. I hope somebody will find it useful :)&lt;/P&gt;
&lt;P&gt;Tip: You can make ContentType and header conditional, providing alternate HTML/XLS reports with one file.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=155851" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx">Programming</category></item><item><title>Telecommuting is all wrong or is it something with me?</title><link>http://weblogs.asp.net/michu/archive/2004/06/14/155001.aspx</link><pubDate>Mon, 14 Jun 2004 09:45:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:155001</guid><dc:creator>michu</dc:creator><author>michu</author><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/michu/rsscomments.aspx?PostID=155001</wfw:commentRss><comments>http://weblogs.asp.net/michu/archive/2004/06/14/155001.aspx#comments</comments><description>&lt;P&gt;For last three years I was working as a programmer from home, using Internet, VPNs, Terminal Services etc. to connect to my company's network. I find it a very unpleasant experience. My employer wasn't a software vendor, it was a retail company, I was working on internal projects - intranet site, website, sales software, CRM etc - and for last year I was lent to&amp;nbsp;work on intranet &amp;amp; workflow projects for one of my employer's clients, who has seen and liked what I did before. But for me it was a very hard time.&lt;/P&gt;
&lt;P&gt;One problem is that we live 4 person in a small 2-room flat. It means that my workplace was in my bedroom and our small children were everywhere. Second, because I was a developer in a no-development shop, I was the only person who know anything about software development. It generated all wrong practices that are possible, for example introducing new features during development, lack of&amp;nbsp;documentation, unrealistic schedules (wonder if somebody consulted them with me? no way!)&amp;nbsp;etc. There was no chance to explain those things to management and make it proper. And of course it damaged all schedules, as you probably know.&lt;/P&gt;
&lt;P&gt;But what was really bad, was the way that my work started to slip into my life and 'overwrite' it. I was working more and more, catched in mutual feedback between growing expectations of my employer and my own efforts to do everything I had to do on time, struggling with what I described in above paragraph. At first, I was working 8 hours a day. Then, there was an urgent project and I increased that time to 10 hours (telling myself it was only temporarily), then to 12... For last year or so I was working about 16 hours a day, including saturdays. It was a nightmare. Then I quit.&lt;/P&gt;
&lt;P&gt;I wonder if it is a fault inherent to this way of working, a fault of my employer or myself? In any given short period of time I didn't feel that I was working more. It was a lot of small steps - &amp;#8220;I'll work an hour more to finish this&amp;#8221;, &amp;#8220;Michal, could you do it on Monday? It is very important&amp;#8221; etc. I was giving away a bit of my life more every week. Why I let it happen? I don't exactly know. One thing is that I'm passionate for what I do. Second - it was a quite good payd job, what is hard to find at this moment in Poland. Third - working at home&amp;nbsp;I felt a kind of ilusion of freedom, for a long time I haven't noticed that&amp;nbsp;I just switched a harness of office-work for the one in my mind.&lt;/P&gt;
&lt;P&gt;Two weeks ago I started a normal, regular, 40-hours-a-week job in office, in a big software company. And I already love it. I finally have time for my daughters and wife, time to read something, time to do many things I haven't done for a very long time. Time to work on my little project which I probably announce soon ;-) (and the money are better, too)&lt;/P&gt;
&lt;P&gt;If you&amp;nbsp;worked from home&amp;nbsp;or considered it, please share your experiences. I'd like to see if somebody went through something similar, or maybe it works for other people?&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=155001" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/michu/archive/tags/Programming/default.aspx">Programming</category><category domain="http://weblogs.asp.net/michu/archive/tags/Other+stuff/default.aspx">Other stuff</category></item></channel></rss>