Posts

New blog domain: kula.blog

It's still work in progress but new posts will be published on  https://kula.blog/ Thanks to 11ty base blog RSS is working from the start so it should be easy to add to your reader if you still use any :) If now then I hope you can sign up to the newsletter where I'll be publishing new posts and interesting articles to it from time to time. Please use  kula.blog  from now on.

Concurrency and Actors

Reading Thinking in Java chapter about Concurrency(I have my own reading order of chapters ;) I've found a paragraph about Actors - it reminded me abut Scala. Author (and I if anyone ask) think that actors are more user-programmer friendly. In Java there is no compiler support for Actors so there are not as useful as they can be. It makes me more and more interested in Scala. Scala must wait for my free time, but I think this is only a matter of time. Regards

Java - Basics

After a quite long time not writing in Java I decide to brush up my knowlede of Java. When I was learning Java about two years ago I read book: Java for C++ programmers. This time I think that I need something haavier and specifically about Java: Thinking in Java or Core Java books. From my friend i borrowed Thinking in Java (4th edition). When I look at this book it is a bit intimidating becouse it has 1200 pages and I can't predict speed of reading it. In my family house I have Core Java: Volume I, eight edition. Now I have to options: read TiJ and after that Core Java to consolidate my knowlede or switch to Core Java as fast as I get it from home. As for now I'm reading TiJ so at least for a couple of weeks it will be my favourite book :)

Spring 3.0 on Google App Engine

I have found nice post about it http://www.acrhodes.com/2010/02/spring-3-0-with-google-app-engine/ . There is only one little bug in dipstcher-servlet.xml it should have viewResolver look like: <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="prefix" value="/WEB-INF/views/" /> <property name="suffix" value=".jsp" /> <property name="viewClass" value="org.springframework.web.servlet.view.JstlView" /> </bean>

Eclipse

I have created list of Eclipse Plugins I think are most valuable for me, check it out and get me know about what to add/remove/replace :) List: Plugin List     Posted via web from krzychukula's posterous

Java Camp#3 oraz Żałoba Narodowa

Miał być wpis o Java Camp#3 o tym, że było ciekawie. Prezentacje ciekawe, i bardzo dobrze prowadzone ale jak wszyscy wiemy miało miejsce nieszczęście. Jest to bardzo smutne, współczuję rodzinom wszystkich którzy zginęli. Zwykle byłem przeciw Żałobie Narodowej, jednak dziś sam bym ją ogłosił.   This post was supposed to be about Java Camp#3 but due to big traggedy that happen today it's a day to think about the dead. If someone want to read about it simply write 'polish tragedy' to google.   It is really sad to all of us. Posted via web from krzychukula's posterous

Thoughts, languages, jobs...

Recently @hipertracker wrote that I do not know Java, with sadness I must write that he may be right... At university I staudied mostly C++ strictly academicaly, then I wrote some Java and C# projects and in last year I choose Java, particuary JavaFX for my B.Sc. With knowledge of C++ I was able to read one short book about JSE, and one about Servlets to start coding. By now I think that ther is no way to continue my journey without any *good* book about Java. Thats my conclusion. So what do you recommend? And I still think my tests were quite good, maybe except java, but I know that in first place becouse It was too fast for me. But for my simple test I have about 60% of confidence that: Java and Scala in speed are similar(linear problems), Groovy is slow. I was reading a book about Groovy: Pragmatic Groovy about 2 months, I was a good book. If anyone is interested in Groovy I can recommend it. But if you find something newer it will be even better ;) I will abort ...

Speed Test PHP

In previous post I examine Java, Scala and Groovy speed on my computer, as alternative see how it can be done in PHP: <?php time2(); function time2(){     $start = mktime();     for($i = 0; $i < 100; $i++){         for($j = 0; $j < 100; $j++){             for($k = 0; $k < 100; $k++){                 for($l = 0; $l < 100; $l++){                     $i+$j+$k+$l;                 }             }         }     }     echo (int)(mktime() - $start); } ?> Response: 32 s 34 37 36 ... ~33 seconds!!!! Groovy has half of it, Scala 1/5... Java: No Comment! Regards, Krzysiek Kula Posted via email from krzychukula's posterous