Andy's Blog

Code till you … drop

Follow me on TwitterRSS Feeds

  • Home
  • Games
    • PacMan
  • About

The type initializer for ‘Nested’ threw an exception

Mar 2nd

Posted by andyhot in code

No comments

If you get “The type initializer for ‘Nested’ threw an exception” when updating nhibernate,
then it might be related to Reference to Castle Proxy removed from NH-CORE.

Just add

<property name='proxyfactory.factory_class'>NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>
asp.mvc, c#, nhibernate

Tapestry gets a face lift

Nov 20th

Posted by andyhot in java

4 comments

Tapestry, the definite java component web framework, just got a nice face lift. The new website that was in the works for some months is now online.

In it, you will find the updated Tapestry Tutorial, the new and detailed FAQ, a quick reference to commonly used annotations within Tapestry 5 and much more documentation.

The Tapestry home page is also full of exciting new reasons of why you’d be interested in using Tapestry, so if this is the first time you’ve heard of this component based framework or if it’s been a while since you last reviewed it, then I gladly welcome you to take a look.

java, tapestry, web, website

Goal 4D

Sep 18th

Posted by andyhot in java

No comments

Goal4D was the name of a java 3d engine i created a long long (long) time ago [2001-2003].
The code was never open-sourced and even though most of its features are obsolete now i don’t think it’d hurt anyone if i post it on my github account (i’d have to find the source code first).
Anyway, here’s a presentation i once did about Goal4D… enjoy!

Goal4d
View more presentations from andyhot.
3d, java, presentation
seagate-hdd-failure-300x266

On losing my primary HDD

Jul 27th

Posted by andyhot in personnal

1 comment

On losing my primary HDD

Well, it just happened – i was aware of the ‘clicking’ sounds for the last few days but i didn’t bother to check what it was… it was the hard drive, stupid!
But why? And why now? Well, it turns out the power supply fan was not functioning and I guess the high temperature made matters deteriorate fast! BIOS isn’t recognizing the drive and there’s nothing i can do through software means – the HDD containing my home folder was history…
But anyway, my first thoughts were to quickly send the disk for recovery and here are some service i’ve found out (through web search) that can handle such a task here in Athens / Greece:

  • Greek Recovery
  • texnikoi.com
  • Anaktisis
  • FixDisk
  • Datalabs

I didn’t contact any of them but it looks like the price for the recovery can start from 300€ but will most likely end up to 1000-1500€. So, why didn’t i contact any of those? Well, after the first few hours had passed, i had calmed down and had booted to the second HDD’s – that one’s still alive – Windows Server 2003 for the first time in the last 2 years. Then, and while installing those 2 years’ worth of updates, I tried hard to think what i had lost.

So, i’m happy to say that i haven’t lost much! Passwords are recoverable + in laptop’s browser as well. Bookmarks in delicious and in laptop. Important documents & emails in gmail (and laptop). Pictures & videos in laptop & wife’s laptop & windows HDD (hmmm… perhaps that still says something about linux device support : P). Private keys were once copied to windows for use with putty. In fact, i’m currently aware of only the following loses: some uncommitted changes to a few projects and loss of a git repo for a week old project (chesstu.be) for which i at least got the latest code from the deployment server! And that’s all for now… perhaps i’ve lost more and perhaps i’ll find that out soon but still i think i was just lucky, esp. considering i had no “formal” backups
Update: Forgot to mention I’ve definitely lost thousands of 1 0 bullet chess games played on FICS … but those are either reproducible, or just crappy!
backup, failure, hdd

ESC 2010

May 29th

Posted by andyhot in personnal

No comments

ESC 2010

Rooting for Ukraine this year

eurovision
php

Partial review of last year – php comeback?

Jan 29th

Posted by andyhot in web

3 comments

Partial review of last year – php comeback?

In 2009 I did several php projects. The decision to use php was a pragmatic one – very cheap, available everywhere, easy to google for and I had a lot of experience with it in (its and … mine) early years. I even used to teach it at SPHY.
So anyway, up till last year, thinking of php would always bring back memories of spaghetti-code (though I hasten to add, the worst spaghetti-like project i’ve had to work on was in Java/jsp and that was back in 2001/2002 – copy/paste was the emperor and reuse was an unknown word). But all those memories have since changed – php 5 can do OOP and apart from a few gotchas, it’s not that much different to Java… and you do get instant productivity gains (due to save-reload workflow)
After doing a short review of the php web frameworks & libraries, I chose to use Kohana (ver.2) in my projects. Kohana has proven to be a very elegant and clean MVC implementation and its new version (ver.3) now implements HMVC (hierarchical MVC) which is awfully close to what component-based web frameworks are offering but with less magic and thus less complexity
( i’ll need another post -or posts- to explain this further)
Of course, when you’re back to the PHP land, it’s worthwhile to take a look at some of the best (and most used) apps that are written with that, namely wordpress, drupal and joomla (FlatPress is also great if you can’t afford a DB). I took a close look at the source code of wordpress and drupal and their architecture and found both straightforward – code is understandable, authoring plugins and extending default functionality is both easy and fun! And this makes you think… perhaps I can use any of those platforms as a base for my projects. Perhaps YOU should!
Anyway, i’ll expand my thoughts in the following days. I’ll close with screenshots of 3 greek blogs i was involved with this winter (onlybeauty.gr, ufoerotiseis.gr, grease.gr):
onlybeauty.gr
ufoerotiseis.gr
grease.gr
drupal, flatpress, hmvc, joomla, kohana, mvc, php, wordpress
tapestry

A new and wonderful Tapestry 5 blog

Jan 4th

Posted by andyhot in java

1 comment

Igor Drobiazko (a Tapestry committer) has recently started blogging on Tapestry 5 and his entries are very interesting and informative… Take a look:

  • Tapestry and JSR-303 Bean Validation API
  • Tapestry 5.0.19 released
  • Mapped Diagnostic Context with Tapestry Filters
  • HiveMind Still Alive
blog, tapestry, tapestry5

Having Fun. PS3′s here

Dec 23rd

Posted by andyhot in personnal

No comments

Having Fun. PS3′s here
Well, that’s just another kick-ass gift from Emi!

Here’s what i’m currently playing:

  • Uncharted – Drake’s Fortune Never heard of that, got it by accident, but GREAT!
  • Braid cool platform little indie game – had read the dev’s blog (or was it a Gamasutra srticle) some months ago and wanted to try it ever since
  • Ninja Gaiden Sigma 2
  • Killzone 2
  • GT5 Prologue
  • Anything else you’d suggest i should try?

fun, ps3
4541_MockupCover

Reading Apache Maven 2 Effective Implementation

Nov 21st

Posted by andyhot in java

No comments

Reading Apache Maven 2 Effective Implementation

Thanks to Amit Sharma (of Packt Publishing), I recently got a copy of Apache Maven 2 Effective Implementation authored by Brett Porter and Maria Odea Ching.

The book has proven to be an interesting read so far (even for an advanced maven user), covering a lot of important (and sometimes little known) plugins. Its best practices chapter along with the real-life advices/tips that are found throughout the book are a must read. On the other hand, I would really have liked to see a chapter or appendix covering maven support in IDEs + I must admit don’t have much of respect for Archiva (that’s based on a few weeks interaction i had with it 3 years ago – perhaps things have improved?) which is covered in detail in the book, along with Continuum.

Anyway, expect a complete review soon.

book, maven

Streaming Schedule of ApacheCon Hadoop, HTTP Server, and Lucene Track

Nov 4th

Posted by andyhot in tech

No comments

Streaming Schedule of ApacheCon Hadoop, HTTP Server, and Lucene Track
Starting in less than 24 hours and for the next 4 days there’s ApacheCon. Don’t miss the live streaming from http://streaming.linux-magazin.de/en/program-apachecon-us-2009.htm . Here’s the schedule (times in UTC):

Wednesday, 04 November 2009: Hadoop Track
  17:00 Opening Plenary & State of the Feather
       William A. Rowe, Jr. & Jim Jagielski

  17:30 Apache Pioneer's Panel
       Moderated by Brian Behlendorf

  19:00 Introduction to Apache Hadoop
       Owen O'Malley

  19:30 2009 State of the Elephant
       Christophe Bisciglia

  21:30 Becoming a Pig Developer
       Alan Gates

  22:30 Apache Hadoop in the Cloud
       Tom White

  00:00 Practical HBase
       Michael Stack

  01:00 Apache Hive: SQL and Data warehousing on Apache Hadoop
       Ashish Thusoo
 
Thursday, 05 November 2009: HTTP Track

  17:00 Munging URLs with mod_rewrite
       Rich Bowen

  18:00 Hardening Enterprise Apache Installations Against Attacks
       Sander Temme

  19:30 Keynote: Standing Out in the Crowd
       Kirrily Robert

  22:00 Scalable Internet Architectures
       Theo Schlossnagle

  00:30 Recent Developments in SSL and Browsers
       Rick Andrews

  01:30 Lightning Talks!
 
Friday, 06 November 2009: Lucene Track

  17:00 Implementing an Information Retrieval Framework for an
       Organizational Repository, Sithu D Sudarsan

  18:00 Apache Mahout - Going from raw data to information
       Isabel Drost

  19:15 MIME Magic with Apache Tika
       Jukka Zitting

  20:15 Keynote: How Open Source Developers Can (Still!) Save The World
       Brian Behlendorf

  22:00 Building Intelligent Search Applications with the Lucene
       Ecosystem, Ted Dunning

  23:00 Realtime Search
       Jason Rutherglen
 

So, Apache friends, enjoy!

apache, hadoop, httpd, lucene
12345»...Last »
  • My latest tweets

    Loading tweets...
    Follow me on Twitter!
  • Client Websites

    • alarmsecuritysystem.gr
    • grease.gr
    • michalakis-driving-school.gr
    • onlybeauty.gr
    • paixnidiara.gr
    • psychografimata.com
    • ufoerotiseis.gr
  • Me ... elsewhere

    • @ Flickr
    • @ github
    • @ LinkedIn
  • My OS Projects

    • flatpress-plugins
    • freemarkerjs
    • maven-jawr-plugin
    • nbtapestrysupport
    • Tacos
    • Tapestry
    • TapFX
    • yaat-kohana
  • My Projects

    • Amplafi – Your Web Assistant
    • chesstu.be
    • Java Applets ( Games, 3D, AI )
    • Pgn Viewer ( chess )
  • Websites I'Ve Programmed

    • chessfed.gr
    • game24.gr
    • moneyonline.gr
    • news247.gr
    • psichogios.gr
    • Recent comments
    • Popular posts
    • Archives
    • Tags
    • Categories
    • chess (3)
    • code (1)
    • hibernate (1)
    • java (42)
    • javascript (3)
    • life (2)
    • linux (3)
    • personnal (12)
    • sports (1)
    • tapfx (4)
    • tech (5)
    • tv (1)
    • web (11)
    3d ajax anand babis blog book cache chess css dojo dzone eurovision fun gentoo googledocs greece greek groovy ivanchuk java javascript jboss jhug jug kramnik leko linux live maven mocks netbeans presentation presentations samsung tacos tapestry tapestry4 tapestry5 tapfx tdd tool topalov tutorial tv web
    • March 2011 (1)
    • November 2010 (1)
    • September 2010 (1)
    • July 2010 (1)
    • May 2010 (1)
    • January 2010 (2)
    • December 2009 (1)
    • November 2009 (2)
    • October 2009 (1)
    • March 2009 (1)
    • February 2009 (2)
    • January 2009 (1)
    • November 2008 (1)
    • October 2008 (4)
    • July 2008 (1)
    • June 2008 (2)
    • May 2008 (1)
    • April 2008 (2)
    • March 2008 (2)
    • February 2008 (1)
    • January 2008 (2)
    • October 2007 (5)
    • September 2007 (4)
    • July 2007 (1)
    • June 2007 (1)
    • May 2007 (1)
    • April 2007 (2)
    • January 2007 (5)
    • December 2006 (1)
    • November 2006 (2)
    • October 2006 (3)
    • September 2006 (3)
    • August 2006 (3)
    • July 2006 (1)
    • June 2006 (1)
    • May 2006 (2)
    • April 2006 (2)
    • March 2006 (18)
    • August 2005 (2)
    • April 2005 (1)
    • Maven and slow dependencies report (6)
    • Use ${variable} instead of Insert component in Tapestry 4 (6)
    • Thank you Tapestry (5)
    • On LG FLATRON L1915S problems (4)
    • Tapestry gets a face lift (4)
    • Thoughts on Hibernate and JDO (3)
    • Controlling Jetty port in Maven 2 (3)
    • Java Hellenic User Group (3)
    • Quick maven tip for deploying to remote FTP repository (3)
    • Tacos 4.0.1 and Tapestry Support for Netbeans 5.5 (3)
    • andyhot: It's amazing ... i still use that monitor - and it's been 4 years now ! If i remember correctly,...
    • Atanaz: I may be a bit late but if you still have the monitor unfixed I have the solution.
    • andyhot: Φρουτάκια? Μαζί τα φάγαμε!
    • iv: βάλε και κάνα φρουτάκι
    • Ondřej Světlík: After a few failures I managed to have this configuration working. It has to be in the...
    • Ondřej Světlík: Awesome! Thank you a lot! Ondřej
    • andyhot: True, i've read about yii and it looks nice - but i'm still happy with kohana, so... :)
    • Toby: You should have a go at the YiiFramework - similiar to CakePHP just a bit more professional.
  • Flickr Gallery

    • My Delicious

      • The Maturation of Mark Zuckerberg -- New York Magazine 2012/05/13
      • The Smurfs (2011) - IMDb 2012/05/12
      • Pie Menu (like Path Menu) using jquery and CSS3 by Nikesh Hayaran 2012/05/10
      • The Expendables (2010) - IMDb 2012/05/08
      • Last Night (2010) - IMDb 2012/05/06
      • 28 Days (2000) - IMDb 2012/05/05
      • London Boulevard (2010) - IMDb 2012/05/05
      • A Far Off Place (1993) - IMDb 2012/05/01
      • The Burma Conspiracy (2011) - IMDb 2012/04/13
      • Hanna (2011) - IMDb 2012/04/08
    • Meta

      • Log in
      • Entries RSS
      • Comments RSS
      • WordPress.org
    • Categories

      • chess
      • code
      • hibernate
      • java
      • javascript
      • life
      • linux
      • personnal
      • sports
      • tapfx
      • tech
      • tv
      • web
Mystique theme by digitalnature | Powered by WordPress
RSS Feeds XHTML 1.1 Top