Georgios Valotasios

March 20th, 2022
Parcel 2 as static site generator

Felt like doing an update to my outdated website and ended up changing the whole generation of the static pages.

More →
May 8th, 2017
Promise.sequence

Lately I came across a problem for which the standard Promise's api wasn't enough. I needed something like Promise.all but I had to make sure that the actions array will get executed in sequence

More →
June 8th, 2016
Improving CSS skills

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 →
March 19th, 2016
Testing RxJS

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 →
January 11th, 2016
Website revamp 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 →
November 29th, 2015
An overview of Devoxx 2015

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

More →
April 13th, 2015
Better $routeProvider for AngularJS

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 →
November 16th, 2014
An overview of Devoxx 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 →
October 11th, 2014
Object oriented html

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 →
September 13th, 2014
Unleash your creativity with Angular.JS

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 →
August 30th, 2014
Migrated to assemble.io

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 →
December 14th, 2013
Why do we need getters and setters ?

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 →
December 1st, 2013
Some thoughts on Dart language

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 →
November 21st, 2013
An overview of Devoxx 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 →
January 8th, 2013
Apache Tomcat advanced startup configurations

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 →
April 9th, 2012
Quicker JerseyTest

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 →
September 25th, 2011
Get the output of a jsp or servlet response as String

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 →
September 11th, 2011
Java Decorator pattern example

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

More →
August 27th, 2011
Scrap websites with nodejs!

I really wanted to experiment a little bit with nodejs.

More →
May 30th, 2011
Grizzly 2 with guice 3

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 →
May 14th, 2011
Tomcat init.d script

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 →
January 16th, 2011
Resteasy Form annotations for Jersey

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 →
July 8th, 2010
Hibernate, mssql and limit

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 →
June 30th, 2010
Java database connections management

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 →
May 1st, 2010
Mail Session on tomcat and jetty via jndi

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 →
February 24th, 2010
Eclipse on Linux, make it look good

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 →
December 13th, 2009
Grails, the first parts, a long introduction

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 →
November 20th, 2009
Grails fileupload without touching the scaffolding actions (kinda)

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 →
November 15th, 2009
GroovyServlet on the OSGI

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 →
November 8th, 2009
Dealing with Richmedia ad content

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

More →
October 24th, 2009
Groovy SQL to the resque

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 →
October 11th, 2009
Jetty DefaultServlet on the osgi

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 →
September 26th, 2009
Server side OSGI with Equinox

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 →
September 7th, 2009
Multiple tomcat 6 services on windows

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 →
August 26th, 2009
Cleaner javascript code - namespacing

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 →
valotas.com v3.13.1 © Georgios Valotasios - CSS inspired by Adam Wathan's blog