Γιώργος Βαλοτάσιος

Things to remember | Programming stuff :)

Improving CSS skills

08/06/2016

This website is for me a continuous effort of skills improvement. It started with a ready static website generator to end up to something completelly custom made. One thing I did not touch though was the css stuff.

more 

Testing RxJS

19/03/2016

When you hear for a new technology, all you want to do is just to use it. This is how my experience with RxJS started a while ago. It is for sure cool, but also a new way of thinking. Just like anything else new, you are going sooner or later to hit a wall. After grasping myself to find which sequence of operators whould do the trick, I tried to just test the thing.

more 

Website revamp 2016

11/01/2016

A mixed combination of react exploration, creativity and assemble‘s inactivity, forced me to pop the hood of this blog and make some serious changes that I am happy to share with you (not that you care that much, but anyway)

more 

An overview of Devoxx 2015

29/11/2015

This year’s devoxx was once again an excuse to write a new blogpost.

more 

Better $routeProvider for AngularJS

13/04/2015

So, you just did your first angularjs webapp and are ready for production. And then comes the requirement that before initilization you have to do an ajax request. There should be an easy way to do that right?

more 

An overview of Devoxx 2014

16/11/2014

This year I was lucky enough to attend yet another time the devoxx conference. Here are what I saw/felt especially in regards to the my previous visit.

more 

Object oriented html

11/10/2014

There is quite a buzz nowadays (2014) for functional programming and so we all try to move our thinking in a more functional way. Still, the object oriented approach seems to be the easiest way to understand and so to program at the end. The object oriented programming can be applied to any structural schematic. One of that structures though that we tend to forget is html. So, let’s try to visualize it.

more 

Unleash your creativity with Angular.JS

13/09/2014

On 9th of September Gion Kunz and me ran a workshop for ch/open. The idea was to introduce the basics of angular js so that someone could start experiment with it. During the workshop we did some excersizes with jsbin and hacked together a chat application.

more 

Migrated to assemble.io

30/08/2014

It was about time to get rid of the blogger platform. It serves well up to the point that you feel like your page is overbloated with stuff that you do not need.

more 

Why do we need getters and setters ?

14/12/2013

Recently I had a look at the Dart programming language and that reminded me of the getters and setters mechanism that someone has with C#. So let’s have a look at them.

more 

Some thoughts on Dart language

01/12/2013

So google choose to announce the release of the production ready dart lang at this year’s devoxx. That was though mostly a rebrand of the 0.8 version that was available some weeks earlier but that is marketing.

more 

An overview of Devoxx 2013

21/11/2013

So, devoxx 2013 is over. My first java community (or not) conference is over. The thing is that devoxx is not about java. It is more a technology/programming conference which I personal find it even better as you have a better overview of what is going on and what the future will be.

more 

Apache Tomcat advanced startup configurations

08/01/2013

I am always searching for the last tomcat configuration every time I need to deploy a new one, so, here is what I use.

more 

Quicker JerseyTest

09/04/2012

That is a quick one. These days I was playing around with Jersey in order to create a rest web service. The thing is that I would like to test what I create. The good thing is that Jersey provides a testing framework. But…

more 

Get the output of a jsp or servlet response as String

25/09/2011

Well, at the first glance the answer to this problem would be to just make an http request to the jsp file and get the output!

more 

Java Decorator pattern example

11/09/2011

Ok what the hell is the decorator pattern? Why do I need it?

more 

Scrap websites with nodejs!

27/08/2011

I really wanted to experiment a little bit with nodejs.

more 

Grizzly 2 with guice 3

30/05/2011

Playing with grizzly and guice. Considering that you already have a ServletModule and and a GuiceServletContextListener defined the above code should do the job.

more 

Tomcat init.d script

14/05/2011

For some reason allmost all the init.d scripts for starting and stoping tomcat just calls tomcat’s startup.sh and shutdown.sh scripts. I am ok with that as far as they work. The startup script works just fine but when I want to restart or stop a tomcat instance, in most cases I have to just kill the process.

more 

Resteasy Form annotations for Jersey

16/01/2011

Lately I was developing a jax-rs application. What I really like with jaxrs is the way you can handle any kind of parameter values of a request using annotations. So when I need a query parameter I just annotate a field or an argument of a Resource class with @QueryParam("paramName") and the parameter value will get injected for me.

more 

Hibernate, mssql and limit

08/07/2010

This is a strange combination. Not the hibernate with mssql (and any kind of sql) but the mssql server and limit clause. Yes Sql Server never supported the limit clause (and will probably never will). Of course there is workarounds for this until the 2005 version came out witch provide as the ROW_NUMBER() function. This can give solution to our problem witch again isn’t as elegant as the limit clause used by MySql for example.

more 

Java database connections management

30/06/2010

A month ago, I had to do some work on a legacy application. As there is no definition of the “legacy application” expression I refer to an old one where no actual framework has been used for its creation. So there is no any ORM technology here. In that case you have to deal with plain old JDBC.

more 

Mail Session on tomcat and jetty via jndi

01/05/2010

It’s been a while since I last bloged but here I am again with something that took me a little bit in order to figure out how exactly should someone define a mail Session at the config files of jetty and tomcat. So the problem here is to define a mail session with name mail/Session using the host my.mail.server.com as mail server with username mailserver_username and password mypassword.

more 

Eclipse on Linux, make it look good

24/02/2010

I really do not know why such an issue hasn’t been fixed. I do not care who is responsible for the uglyness of Eclipse on Linux but unfortunately this is a fact. After some search I found a solution.

more 

Grails, the first parts, a long introduction

13/12/2009

Inspired by the title of Douglas Crockford book, “Javascript, the good parts” and having to write an introduction on grails as a course for some colleagues, I thought it would be good to just blog about grails and the first steps some one should take.

more 

Grails fileupload without touching the scaffolding actions (kinda)

20/11/2009

Well, when I’m prototyping and generally developing with grails I do not want to use generate-all and just edit the generated controllers and gsps. I try to find my way overwriting maybe some actions but not edit them and some or more changes to the scaffold templates.

more 

GroovyServlet on the OSGI

15/11/2009

After having static resources get served right with Jetty within an OSGI enviroment you may want to be able to use groovy and more specific some groovlets

More or less the problem is the one that has been described at a previous post.Once again all we have to do is give some more “space” to the groovy.servlet.GroovyServlet to look for our groovlets

more 

Dealing with Richmedia ad content

08/11/2009

Long story short: Always put your javascript at the bottom of the html. But why?

more 

Groovy SQL to the resque

24/10/2009

The case is an sql table with about 30 columns that I have to query and export some (or all) data. In this case plain csv format should be just fine!

more 

Jetty DefaultServlet on the osgi

11/10/2009

Basically when you work on the osgi and want to use a resource, things are not that easy. What I wanted to do is use Jetty embedded on an Osgi container and use it with a simple servlet and a resource.

more 

Server side OSGI with Equinox

26/09/2009

Well this is not about OSGi itself but using it at the server side. So assuming that you have some osgi bundle you want to run them on a server. There is many osgi frameworks that you can use but here we are about to use Equinox.

more 

Multiple tomcat 6 services on windows

07/09/2009

Not that there isn’t any documentation out there, but just for helping myself, I need a place where to put all the steps needed for an installation of multiple instances of tomcats on a windows machine. Lets start…

more 

Cleaner javascript code - namespacing

26/08/2009

Having read the Clean Code book by Robert C. Martin I always try to follow most of the rules he gives. In my opinion the best rule I’ve seen and helped me a lot in order to make more readable code is to try to make classes as small as possible.

more