tag:blogger.com,1999:blog-94235942024-03-07T00:26:50.515-08:00Michał's blogger blogPerfection through lazinessMichał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.comBlogger69125tag:blogger.com,1999:blog-9423594.post-12976431743797927662010-02-08T23:43:00.000-08:002010-02-08T23:45:03.104-08:00End of this blog (for now?)Blogger <a href="http://buzz.blogger.com/2010/01/important-note-to-ftp-users.html">will stop supporting ftp upload soon</a>, so I won't be able to continue this blog unless I put some effort rewriting it. In the future you may be able to find my current blog in the links section of <a href="http://www.google.com/profiles/cierniak">my Google Profile</a>. You can also check out <a href="http://friendfeed.com/cierniak">my friendfeed</a> and <a href="http://twitter.com/cierniak">my Twitter</a> accounts.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com2tag:blogger.com,1999:blog-9423594.post-77725356273138911732009-09-27T20:31:00.000-07:002009-09-27T20:31:32.864-07:00Google Sidewiki<a href="http://www.google.com/sidewiki">Google Sidewiki</a>, a project I've been working on <a href="http://googleblog.blogspot.com/2009/09/help-and-learn-from-others-as-you.html">launched last week</a>. Sidewiki is a <a href="http://en.wikipedia.org/wiki/Web_annotation">web annotation</a> system currently available in Google Toolbar. If you're interested in this project, follow <a href="http://twitter.com/googlesidewiki">@googlesidewiki</a> on Twitter and <a href="http://productideas.appspot.com/#16/e=219a8">submit product ideas</a>!Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-51039754179979731742009-02-24T21:58:00.000-08:002009-02-24T21:58:27.883-08:00Trouble installing a new hard driveI was running of of space and I recently decided to upgrade to a bigger hard drive. I have done such upgrades in the past, including one on the same computer and I've never had any problems, so I thought that this one will be equally easy. Little did I know what ordeal I was in for...<br />
<br />
I have a <a href="http://www.dell.com/content/products/productdetails.aspx/dimen_e521?c=us&cs=22&l=en&s=dfh">Dell E521</a> with Windows Vista and I wanted to buy a SATA drive for it. I went to Fry's and decided to buy the <a href="http://shop3.frys.com/product/5803213?site=sa:Homepage%20Pod:Pod4">Seagate 1.5 TB</a> drive since they had a sale and this drive was the same price as 1 TB drives.<br />
<br />
I got home, replaced the old drive with the new one, rebooted, installed Seagate software (<a href="http://www.seagate.com/www/en-us/support/downloads/discwizard">DiscWizard</a>) and started to format the drive. Almost immediately, I got an error: "Failed to read from the sector -1,644,227,123 on the hard disc 2".<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://blog.cierniak.org/uploaded_images/seagate-error-739265.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="66" src="http://blog.cierniak.org/uploaded_images/seagate-error-739260.png" width="200" /></a></div><br />
This is not good I thought. But it was very suspicious that the number was negative and that I got the error so quickly, so I decided to use the built-in format feature of Windows. Since I got this error, I decided to go for the full format rather than quick format. As you can expect, it took many hours. After about 4 hours, the format was stuck at 75% and I decided to go to bed. When I got up in the morning, it was still at 75%. At this point, I decided to give the quick format a try and like Seagate's DiscWizard, it reported an error almost immediately. OK, the drive is bad then.<br />
<br />
I went to Fry's and exchanged the drive for a new one. I inserted it, tried DiscWizard and got the same error (although for a slightly different negative number). Quick format also got me an error. The fact that the full format failed previously at 75%, made me decide to format the disc for only 1 TB. This took many hours and eventually worked! I now had a 1 TB drive for a price of 1 TB drive (since it was on sale).<br />
<br />
Great, I marked the partition as "Active, Primary Partition" and assigned it letter D.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://blog.cierniak.org/uploaded_images/disk-management-715568.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="117" src="http://blog.cierniak.org/uploaded_images/disk-management-715466.png" width="200" /></a></div><br />
Now I rebooted the computer to make sure that everything worked. No disc D. Well, perhaps I forgot something. I look in the disk management tool and I see that the partition is there. It's still Healthy, still Active and still Primary but the letter assignment is gone. I assign the letter again and reboot. No dice. OK, let me check the system log. Sure enough, the event viewer shows an error: "The Vstor2 WS60 Virtual Storage Driver service failed to start due to the following error: The system cannot find the path specified".<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://blog.cierniak.org/uploaded_images/event-viewer-783011.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="144" src="http://blog.cierniak.org/uploaded_images/event-viewer-782710.png" width="200" /></a></div><br />
What do I do now? After some time searching on the web, I decided to use <a href="http://support.microsoft.com/kb/300415">diskpart</a>: the low-level, command line Windows utility. It turns out that the partition was marked as "Hidden" and I had to undo this using the arcane syntax of diskpart. See the screenshot below what it looked like:<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://blog.cierniak.org/uploaded_images/diskpart-2-768285.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://blog.cierniak.org/uploaded_images/diskpart-2-768280.png" width="139" /></a></div><br />
So, I wasted probably 10 hours of my life because of buggy software. And why doesn't the <a href="http://windowshelp.microsoft.com/Windows/en-us/help/d9a4d35e-efdf-406c-a049-0860180129a71033.mspx">default disk management tool</a> even tell me of the existence of the Hidden attribute. What if this happened to someone who knows even less about computers? After all, I may not be the biggest expert and perhaps there exist people who would immediately know what was wrong and the using diskpart was the fix but I mentioned this to a few friends who like me have been using computers for years and everyone was amazed how bad this experience was. Maybe this blog past will help others who run into this problem. I'm guessing this this problem is confined to Vista but there must be other Vista users who want to install this drive.<br />
<br />
And if anyone knows how to use all 1.5 TB on Vista, let me know!Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com7tag:blogger.com,1999:blog-9423594.post-1063472469868827502008-12-30T09:35:00.000-08:002008-12-31T11:36:27.549-08:00ABBA madness in PolandMajor Polish cities will have an outdoor New Year party. Two of the biggest parties will feature <a href="http://en.wikipedia.org/wiki/ABBA">ABBA</a> -impersonators:<br />
<ul><li>The <a href="http://sylwester2008.waw.pl/">party in Warsaw</a> is organized by <a href="http://en.wikipedia.org/wiki/Polsat">Polsat</a> (a Polish TV station). The stars there include <a href="http://www.abbacapella.com/">Abbacapella</a> (apparently a German band).</li>
<li>The <a href="http://www.tvp.pl/tvp2/aktualnosci/najlepszy-sylwester-z-dwojka">party in Wroclaw</a> is organized by <a href="http://www.tvp.pl/tvp2">TVP 2</a> (another TV station). ABBA music will be performed there by a Swedish group <a href="http://www.arrival.se/">Arrival</a>. An it seems that <a href="http://en.wikipedia.org/wiki/Modern_Talking">Modern Talking</a> is the biggest star there.</li>
</ul>ABBA tribute bands <a href="http://www.abba-world.net/links/category/tributes.htm">are listed here</a> (Arrival is there but not Abbacapella). The list is longer than I expected although I know that I shouldn't be surprised.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-78366783489466734062008-10-07T22:57:00.000-07:002008-10-07T23:01:31.244-07:00Trouble with ComcastI have had pretty bad experiences with Comcast. I first got their service and very soon I started to be very unhappy with the service. I then tried to cancel the service but I have been unsuccessful in canceling the service. The situation is very bizarre and I got really tired after spending hours with their customer service, so I asked for advice and I ended up doing what my friends suggested: I made my story public by creating a blog that describes in details what happened. <a href="http://consumer-complaint.blogspot.com/">Check it out!</a> And if you have any advice, let me know!Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-73062207128803918702008-10-04T23:35:00.000-07:002008-10-05T09:59:08.656-07:00Tell No OneI just watched <a href="http://en.wikipedia.org/wiki/Tell_No_One">Tell No One</a> at the <a href="http://www.landmarktheatres.com/market/SanFranciscoPeninsula/AquariusTheatre.htm">Aquarius</a> . I haven't watched such a good film for a while. A few things were not very believable and some viewers may not like that fact that this neither a pure action flick, nor a pure romantic film, nor a pure drama. It has a little of each and I'm not sure how to categorize it.<br />
<br />
<a href="http://www.tellno-one.com"><img src="http://upload.wikimedia.org/wikipedia/en/9/93/Tell_No_One_%282006%29.jpg"/ ></a>Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-64613860691986713692008-08-23T21:40:00.000-07:002008-08-23T21:43:31.622-07:00Children-related postsOccasionally I want to share information with my friends on children-related topics. I decided to create a <a href="http://kidzthings.blogspot.com/">separate blog</a> for this purpose.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-6500297333239109542008-03-15T18:30:00.000-07:002008-03-15T18:35:24.329-07:00Polish flashcardsI have recently created flash cards for the teaching Polish alphabet. The flash cards are designed for toddlers, so they have simple, colorful pictures and simple words containing each letter. I've created a <a href="http://cierniak.eu/learnpolish/">separate web page</a> for "resources for teaching Polish to kids" but chances are that those flash cards are the only thing I will ever put on the site.<br /><br />It was surprisingly easy to find images that I could use. I downloaded most of them from the public domain clip art repository (<a href="http://www.wpclipart.com/">http://www.wpclipart.com</a>). One exception is the picture for "ź" which is from <a href="http://commons.wikimedia.org/">http://commons.wikimedia.org</a>. Letter "ź" is by the way the one that was most difficult to find a good word for. Some Polish words can never be at a start of a word, so I could easily give up for them but in general, I wanted for each letter a word that starts with this letter. For "ź", I considered following words: "źdźbło", "źrebię/źrebak", "źródło" i "źrenica". I liked most "źródło" but couldn't find a good image for it (if you have one you can suggest, please let me know). I didn't want to use "źrebię" because my daughter (she was 2 when I started working on the cards) would easily confuse it with the word "koń" or "kucyk". Similarly I didn't want to have to explain the difference between "źrenica" and "oko". So, I ended up using "źdźbło" but this word has four consonants in a row which doesn't really make it the best choice for one of the first words you learn in Polish.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com3tag:blogger.com,1999:blog-9423594.post-51327685236508200992007-12-04T13:09:00.000-08:002008-02-04T11:42:04.154-08:00Partial hAtom support in my blogI don't have right now enough time to go all the way but I have just converted my blog's template to partially support <a href="http://microformats.org/wiki/hatom">hAtom</a>. I think that hAtom is great and some time ago <a href="http://kevinmarks.com" rel="co-worker colleague met">Kevin Marks</a> and I <a href="http://epeus.blogspot.com/2007/08/microformats-in-blogger-hatom-support.html">implemented support for hAtom in Blogger templates</a>. Our work means that all new blogs that are created on Blogger and hosted on Blogspot have hAtom enabled by default. But my blog uses an old template that does not benefit from this new code.<br /><br />It is hard or perhaps even impossible to support hAtom completely with the old templating system but I did as much as I easily could. Here are template elements I modified in my blog (the template used by me is called "Herbert"). In my quick-and-dirty notation below I use <b>bold font</b> combined with <u>underline</u> to show new things added to the template. <br /><ul><br /><li><Blogger><b><u><span class="hentry"></u></b><br /><br /><li><b><u><span class="entry-content"></u></b><$BlogItemBody$><b><u></span></u></b><br /><br /><br /><li><BlogItemTitle><h2 <b><u>class="entry-title"</u></b>><BlogItemURL><a href=">$BlogItemURL$>"></BlogItemURL><br /><$BlogItemTitle$><BlogItemURL></a></BlogItemURL></h2></BlogItemTitle><br /><br /><li><a href="<$BlogItemPermalinkURL$>" title="permanent link" <b><u>rel="bookmark"</u></b>>permalink</a><br /><br /><li><i>I replaced</i> <$I18NPostedByAuthorNickname$><br /><i>with</i> <b><u><span class="vcard">Posted by <span class="fn"><$BlogOwnerFullName$></span></span></u></b><br /><br /><li><b><u></span></u></b></Blogger><br /><br /></ul>This gets me most of the way to supporting hAtom but those pesky timestamps are more tricky and I will live without them until I completely change my blog's templating system.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com3tag:blogger.com,1999:blog-9423594.post-38550592399672633512007-05-18T20:05:00.000-07:002007-05-19T15:22:47.065-07:00Bike ride to workI already <a href="http://blog.cierniak.org/2005/09/biking-to-work.html">had a similar post</a> but now I want to write about since this has been the first week in two years that I biked every day. Usually there's at least one day a week that I need a car or have to go somewhere else, so I have never achieved this until now. To celebrate, I took a camera with me and took a few pictures. I am also testing the new Picasa Web feature and including a slide show from the ride.<br /><br /><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" flashvars="host=picasaweb.google.com&captions=1&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fcierniak%2Falbumid%2F5066130097293493249%3Fkind%3Dphoto%26alt%3Drss%26authkey%3D_89PetlKwPQ" pluginspage="http://www.macromedia.com/go/getflashplayer" height="267" width="400"></embed><br /><br /><embed style="width: 400px; height: 326px;" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=1893110082546174506&hl=en" id="VideoPlayback" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL" flashvars="playerMode=embedded" align="middle"></embed>Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com1tag:blogger.com,1999:blog-9423594.post-40524965370339430842007-05-01T22:37:00.000-07:002007-05-01T22:44:58.872-07:00JavaOne 2007I will be again at <a href="http://java.sun.com/javaone/sf/index.jsp">JavaOne</a> this year. I am co-presenting <a href="http://www28.cplan.com/cc158/session_details.jsp?isid=285318&ilocation_id=158-1&ilanguage=english">JSR 277: Java Module System</a>. I should be around at JavaOne all of Thursday because I also plan to attend the JSR-294 session (<a href="http://www28.cplan.com/cc158/session_details.jsp?isid=285401&ilocation_id=158-1&ilanguage=english">Java Language Modularity with Superpackages</a>) and on Tuesday night to attend the BOF that will talk about both JSRs (<a href="http://www28.cplan.com/cc158/session_details.jsp?isid=285400&ilocation_id=158-1&ilanguage=english">Modularity in the Next-Generation Java Platform, Standard Edition (Java SE): JSR 277 and JSR 294</a>).<br /><br />If you are interested in chatting about Java modularity and will be at JavaOne, drop me a line.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-40606628329284023742006-12-09T22:56:00.000-08:002006-12-09T22:58:08.399-08:00Publishing videos using FlashI wanted to publish some videos on my web site in a way that is embeddable in a web page. An additional constraint was that I didn't want to spend much time to learn how to do it. It turns out that quite quickly I found the right tools using Google search.<br />The first step is a conversion to the <a href="http://en.wikipedia.org/wiki/FLV">FLV</a> (Flash Video) format. For Windows there is a free encoder called <a href="http://www.rivavx.com/?encoder">Riva VX</a>. I downloaded it and in a few minutes I converted one of my videos to the FLV format.<br />Next I found the <a href="http://jeroenwijering.com/?item=Flash_Video_Player">Flash Video Player</a> that makes it possible to embed a video without Flash authoring tools. The player consists of one .swf file, one Javascript file. Those two files and the video are connected together with a little of HTML. I played with it for a few minutes and in my attempts, all four files (.swf, .js, .flv and .html) had to be in the same directory. Since I wanted to embed the video in a file whose location I didn't know and I couldn't assume that it was in the same directory as the other files, I ended up using an iframe that let me embed the video in places like blog posts. Here's the result of my experiment:<br /><br /><iframe src="http://www.cierniak.org/video/kungfu-corner.html" width=340 height=290></iframe>Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-1147208880474899882006-05-09T14:04:00.000-07:002006-05-09T14:08:00.486-07:00JavaOne 2006After many years, I will be coming to <a href="http://java.sun.com/javaone/sf/">JavaOne</a> again this year. The main reason is to co-present some early information about the <span style="font-style: italic;">Java Module System</span> (<a href="http://www.jcp.org/en/jsr/detail?id=277">JSR-277</a>) at a <a href="https://www28.cplan.com/javaone06_cv_124_1/session_details.jsp?isid=277684&ilocation_id=124-1&ilanguage=english">BOF on Tuesday night</a>. You can see a bit more details in <a href="http://weblogs.java.net/blog/stanleyh/archive/2006/05/jsr277_java_mod.html">Stanley Ho's blog</a>.<br /><br /><a href="http://www.jcp.org/en/jsr/detail?id=294">JSR 294</a>: <span style="font-style: italic;">Improved Modularity Support in the Java Programming Language</span> is closely related and if modularity in Java interests you, you should also consider going to a presentation by Gilad Bracha at JavaOne about that JSR.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-1144261242062801102006-04-05T11:17:00.000-07:002006-04-05T11:20:42.080-07:00CGO 2007I am in charge of the <a href="http://www.cgo.org/cgo2007">web site</a> for next year's CGO (International Symposium on Code Generation and Optimization). This year's conference just took place in NYC and next year we are moving back to San Jose.<br /><br />The submission deadline is Friday Sept. 8, 2006 and here is a list of areas suggested in the call for papers:<br /><ul><li>Compilers, back-end code generators, translators, binary optimization tools and runtime environments; static, dynamic, adaptive, or continuous techniques<br /></li><li>Innovative analysis, transformation, and optimization techniques<br /></li><li>Profiling and feedback-directed methodologies<br /></li><li>Memory management, including data distribution, synchronization and GC<br /></li><li>Thread extraction and thread-level speculation, especially for multi-core systems<br /></li><li>Vertical integration of language features, representations, optimizations, and runtime support for parallelism (including support for transactional semantics, efficient message passing, and dynamic thread creation)<br /></li><li>Phase detection and analysis techniques<br /></li><li>Mechanisms and optimization techniques supporting the efficient implementation of security protection models, reliability and energy efficiency<br /></li><li>Traditional compiler optimizations<br /></li><li>Intermediate representations that enable more powerful or efficient optimization<br /></li><li>Hardware mechanisms and systems that implement or assist in any of the above<br /></li><li>Experiences with real dynamic optimization and compilation systems, particularly with large, complex applications<br /></li><li>Explorations of trade-offs concerning when (static/dynamic) and where (software/hardware) to optimize<br /></li><li>Particularly novel ideas of interest to this community<br /></li></ul>Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-1140586472164062502006-02-21T21:18:00.000-08:002006-02-21T21:34:32.196-08:00PPPJ '06<p>PPPJ'06 (the <a href="http://www.wifo.uni-mannheim.de/pppj2006/">2006 International Conference on Principles and Practices of Programming in Java</a>) will take place in September in Mannheim, Germany. Abstracts of papers for the conference are due on 8 May 2006. The conference range is quite interesting:</p><ul><li>Optimization</li><li>VM Design</li><li>Java Verification </li><li>Aspect-Orientation </li><li>Java-specific metrics </li><li>Software Engineering with Java </li><li>Program Design and Implementation </li><li>Design Patterns through Java </li><li>Testing of Java Programs </li><li>Performance of Java Programs </li><li>Tools for Java Programming </li><li>Java-based MDD/MDA </li><li>Applications in science, engineering, and business </li><li>Novel Applications of Java </li><li>Domain-specific Frameworks </li><li>Java-based Tools </li><li>Java-based Enterprise Computing </li><li>Mobile Java </li><li>Practice and experience </li><li>Java and Financial Services </li><li>Java and the Manufacturing Industry </li><li>Teaching Java Programming </li><li>Teleteaching Applications </li><li>Teaching Methods</li></ul>See the <a href="http://www.wifo.uni-mannheim.de/pppj2006/call4papers.html">CFP</a> for more details.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-1131344403921343352005-11-06T22:17:00.000-08:002005-11-06T22:20:03.923-08:00Onboard gambling may lead to free flights on RyanairThis is pretty amazing: the European airline Ryanair <a href="http://news.independent.co.uk/uk/transport/article324294.ece">made claims</a> that it might offer gambling on its flights and that gambling would generate enough revenues to make flights themselves free. It's hard to say if this is just a publicity stunt or the future of cheap flights.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-1131343848707837412005-11-06T22:04:00.000-08:002005-11-06T22:10:48.706-08:00W Szczebrzeszynie chrząszcz brzmi w trzcinieI have discovered by accident that Wikipedia has an entry about the Polish poem <a href="http://en.wikipedia.org/wiki/ChrzÄ szcz">Chrząszcz</a> which contains the most famous Polish <a href="http://en.wikipedia.org/wiki/Tongue-twister">tongue-twister</a>. They even have an <a href="http://upload.wikimedia.org/wikipedia/en/5/5e/Chrzaszcz.ogg">audio recording</a>. Even more amazingly they have a whole <a href="http://en.wikipedia.org/wiki/List_of_tongue-twisters">list of tongue twisters</a> in many languages including <a href="http://en.wikipedia.org/wiki/List_of_tongue-twisters#Polish">quite a few in Polish</a>. I keep being amazed by the breadth of Wikipedia.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com8tag:blogger.com,1999:blog-9423594.post-1131343407564903022005-11-06T21:47:00.000-08:002005-11-06T22:03:27.593-08:00529529 is a name of a <a href="http://en.wikipedia.org/wiki/529_College_Savings_Plan">college-savings plan</a> in the US. I don't really know much about them but I've just happened to read an <a href="http://www.msnbc.msn.com/id/9865075/site/newsweek/">article about them</a> in the Newsweek.<br />The whole point of using 529 is the fact that you do not pay taxes on investment gains of the money you put in a 529 funds (some states let you even deduct the contributions). This is a little complicated because while you always are free from the federal tax, you have to use your state's 529 plan to avoid the state income tax. The Newsweek article points out that if your state's 529 plan has high fees, it may be better to forgo the state income tax advantage and get a fund with lower fees. Here's a quote from that article on the fees that are common today:<br /><blockquote><em>Each state levies a program fee for maintaining the plan. (Under 0.3 percent of<br />the assets in your account is good. Over 0.5 percent is bad. These fees are<br />dropping fast.) The mutual-fund companies charge management fees. (Under 0.5<br />percent is good. Over 0.8 percent is bad.) If you buy from a broker or planner,<br />you also pay sales commissions (sales costs may be hidden; generally, they're<br />going up).</em></blockquote><br />California's 529 plan is the <a href="http://www.scholarshare.com/program_info.html">Golden State ScholarShare College Savings Trust</a>. So do <a href="http://www.scholarshare.com/fees.html">this plan's fees</a> compare with the Newsweek guidelines on fees? The combined two fees should be under 0.8% and for the ScholarShare they are exactly 0.8% which probably means that if you pay the California state income tax and you plan to invest in a 529, you should choose the ScholarShare.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com2tag:blogger.com,1999:blog-9423594.post-1129425612950476882005-10-15T18:13:00.000-07:002005-10-15T18:35:53.670-07:00A-Code: code generation for AdaDuring my last trip to Poland, I have been going through my old papers. One of the things I found was a copy of my MSc thesis from the <a href="http://www.polsl.pl/alma.mater/generalinfo.html">Silesian University of Technology</a>. Unfortunately, I couldn't find the electronic copy of the dissertation but I scanned parts of it and created a <a href="http://www.cierniak.org/research/publications/a-code-1990.pdf">pdf file</a>. The thesis is entirely in Polish but I have just created a <a href="http://www.cierniak.org/research/publications/a-code-1990.html">short abstract in English</a>. The title can be translated into English as <em>Code Generation in the IIPS/Ada Compiler</em> (original Polish title is: <em>Opracowanie i wykonanie modułu kompilatora języka Ada systemu IIPS/Ada generującego kod wynikowy w postaci P-kodu</em>). Unfortunately, as far as I know the IIPS/Ada system was never finished. I guess there were not enough graduating students who wanted to write parts of an Ada compiler system. For the curious, IIPS stands for <a href="http://www.iinf.polsl.gliwice.pl/iinf/">Instytut Informatyki Politechniki Śląskiej</a> (which means the Computer Science Institute of the Silesian University of Technology). I haven't really stayed in touch with anyone from my alma mater but I can see that my advisor, <a href="http://www-zo.iinf.polsl.gliwice.pl/pracownicya.php?file=pszmal.xml">dr inż. Przemysław Szmal</a> is still there and apparently he is still teaching compilers.<br />Here is the text of the English abstract of my thesis I just wrote:<br /><br />This dissertation describes one module of a larger system that was supposed to be a complete set of development tools for <a href="http://en.wikipedia.org/wiki/Ada_programming_language">Ada</a>. The code generation module described here took the output of earlier compiler phases in the form of the <a href="http://portal.acm.org/citation.cfm?id=69574">DIANA</a> intermediate language and generated low-level code for an abstract Ada machine. A major part of the works was the design of a language for a virtual machine for interpreting Ada programs. We took the <a href="http://en.wikipedia.org/wiki/P-Code_machine">P-Code</a> designed with a similar purpose for <a href="http://en.wikipedia.org/wiki/Pascal_programming_language">Pascal</a> (it was used in the <a href="http://en.wikipedia.org/wiki/UCSD_p-System">UCSD p-System</a>) and extended it into a language we called A-code.<br />The dissertation consists of 7 chapters. Chapter 1 presents motivation and describes the overall IIPS/Ada compiler system. Chapter 2 describes the <a href="http://portal.acm.org/citation.cfm?id=69574">DIANA</a> intermediate language. The bulk of the text is in Chapter 3 that describes the A-Code language. The <a href="http://en.wikipedia.org/wiki/Turbo_Pascal">Turbo Pascal</a> implementation of the code generator is described in Chapter 4. Chapter 5 is the user manual for the code generator and Chapter 6 describes which features of Ada have been implemented and which have been omitted. Conclusions are presented in Chapter 7. Appendix 1 contains the grammar of DIANA. Appendix 2 describes all new A-Code instructions (i.e. those that are not part of the P-Code language). Appendix 3 defines a compiler runtime library that is given in the form of A-Code procedures that can be called from the generated code. Appendix 4 gives the DIANA encoding of (parts of) the STANDARD package. Appendix 5 shows examples of test runs. The tests consist of small Ada procedures or packages manually translated into DIANA. These DIANA representations of the Ada source code were translated by the code generator and the generated A-Code representation is included in the text.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-1129421597602993812005-10-04T18:06:00.000-07:002005-10-15T17:13:17.603-07:00VEE Call For PapersI forgot to write about this earlier but the <a href="http://www.veeconference.org/vee06">Call For Papers</a> for next year's <a href="http://www.veeconference.org">Conference on Virtual Execution Environments</a> has been posted. The submission deadline this year is on 15 December 2005. VEE 2006 will bo co-located with <a href="http://research.microsoft.com/conferences/pldi06/">PLDI</a>.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-1129420946458480592005-09-30T19:59:00.000-07:002005-10-15T17:02:26.463-07:00Biking to work<a href="http://blog.cierniak.org/uploaded_images/geese-2005-09-30-798114.jpg"><img style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://blog.cierniak.org/uploaded_images/geese-2005-09-30-788982.jpg" border="0" /></a>Sometimes when I ride my bike to work, I pass right next to birds that do not seem to mind people that much. For instance this flock of geese is pretty nice.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-1125901604540388802005-09-04T22:42:00.000-07:002005-09-04T23:32:36.650-07:00Reading booksI have been reading books for a while with a group of friends in our small "book club". Today I decided to look back at the books we have read in the last few years. I went through the email sent to our mailing list and created the following table. <table border="1"><tbody><tr><th>Book</th><th>Who</th><th>Selected on</th><th>Discussed on</th></tr><tr><td><a href="http://en.wikipedia.org/wiki/The_Wind-Up_Bird_Chronicle">The Wind-Up Bird Chronicle</a></td><td>mjc</td><td>2002-06-12</td><td>2002-07-20</td></tr><tr><td><a href="http://en.wikipedia.org/wiki/The_Name_of_the_Rose">Name of the Rose</a></td><td>jms</td><td>2002-07-25</td><td>2002-09-20</td></tr><tr><td><a href="http://en.wikipedia.org/wiki/Disgrace">Disgrace</a></td><td>jls</td><td>2002-10-04</td><td>2002-11-08</td></tr><tr><td><a href="http://www.amazon.com/exec/obidos/tg/detail/-/1573229881">The Russian Debutante's Handbook</a></td><td>dt</td><td>2002-11-25</td><td>2003-01-24</td></tr><tr><td><a href="http://en.wikipedia.org/wiki/Life_of_Pi">Life of Pi</a></td><td>km</td><td>2003-01-29</td><td>2003-03-21</td></tr><tr><td><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0142001422">The Pickup</a></td><td>an</td><td>2003-03-30</td><td>2003-05-21</td></tr><tr><td><a href="http://en.wikipedia.org/wiki/Guns,_Germs,_and_Steel">Guns, Germs, and Steel</a></td><td>jls</td><td>2003-05-27</td><td>2003-07-31</td></tr><tr><td><a href="http://en.wikipedia.org/wiki/The_Lover">The Lover</a></td><td>mjc</td><td>2003-08-10</td><td>2003-09-25</td></tr><tr><td><a href="http://en.wikipedia.org/wiki/Perfume_%28book%29">Perfume</a></td><td>ts</td><td>2003-09-30</td><td>2003-11-01</td></tr><tr><td><a href="http://en.wikipedia.org/wiki/Hyperion_%28book%29">Hyperion</a></td><td>jms</td><td>2003-11-02</td><td>2003-12-21</td></tr><tr><td><a href="http://www.amazon.com/exec/obidos/tg/detail/-/1585673269">The Radetzky March</a></td><td>dt</td><td>2004-01-05</td><td>2004-03-20</td></tr><tr><td><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0060557559">The Known World</a></td><td>mw</td><td>2004-04-13</td><td>2004-07-31</td></tr><tr><td><a href="http://www.amazon.com/exec/obidos/tg/detail/-/096623460X">I Spit on Your Graves</a></td><td>mjc</td><td>2004-08-04</td><td>2004-10-02</td></tr><tr><td><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0060932236">Essays of E.B. White</a></td><td>me</td><td>2004-10-04</td><td>2005-02-26</td></tr><tr><td><a href="http://www.amazon.com/exec/obidos/tg/detail/-/1852426675">White Raven</a></td><td>rg</td><td>2005-03-14</td><td>2005-05-20</td></tr><tr><td><a href="http://www.amazon.com/exec/obidos/tg/detail/-/0142004871">Her Husband</a></td><td>kl</td><td>2005-06-02</td><td>2005-07-16</td></tr><tr><td><a href="http://en.wikipedia.org/wiki/Saturday_%28novel%29">Saturday</a></td><td>km</td><td>2005-07-20</td><td>2005-09-03</td></tr></tbody></table>Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-1125866512079264652005-09-04T13:36:00.000-07:002005-09-04T13:45:06.103-07:00A morning pictureAs I was having breakfast, I noticed that sprinklers created pools of water in various places including our shoes. I experimented a little with reflections in these water pools and I managed to get a picture that I liked although I really wished I could set focus manually in my camera.<br /><a href="../../media/2005/2005-09/pool-in-shoe-2005-09-04.jpg"><img src="../../media/2005/2005-09/pool-in-shoe-2005-09-04-thumb.jpg" /></a>Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0tag:blogger.com,1999:blog-9423594.post-1123004684643763182005-08-02T10:35:00.000-07:002005-09-04T13:45:29.926-07:00MPOOL proceedingsYou can now <a href="http://www.fz-juelich.de/nic-series/volume27/volume27.html">download proceedings</a> from the <a href="http://oopsla.acm.org/oopsla2003/files/ws-15.html">MPOOL'03 workshop</a>. One of our <a href="http://blog.cierniak.org/2005/03/other-lils.html">LIL</a> papers (<i>Object-Model Independence via Code Implants</i>) has been published there.<br /><a href="http://www.fz-juelich.de/nic-series/volume27/volume27.html"><img src="../../media/2005/2005-08/NIC-Series27.jpg" /></a>Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com1tag:blogger.com,1999:blog-9423594.post-1121235424178573072005-07-12T23:12:00.000-07:002005-07-12T23:17:04.180-07:00Saving FaceLast weekend I watched <a href="http://www.sonyclassics.com/savingface">Saving Face</a>. This movie was quite interesting to me since interactions of cultures have always fascinated me. The Chinese concept of <a href="http://en.wikipedia.org/wiki/Saving_face">face that has to protected</a> at any price is quite powerful and if you understand it, you will be less surprised by the reaction of Chinese people in some situations.Michał Cierniakhttp://www.blogger.com/profile/07033413288156316137noreply@blogger.com0