Tag Archive for 'dev'

Take care of your images

You might have heard of the double post issue, which causes form data to be sent a second time to the server. This can be resolved by a HTTP redirect after the post has been processed. Today another problem occured to me, one that reminded me of that issue. Continue reading ‘Take care of your images’

Evaluation with untyped languages

When using JavaScript or PHP you need to keep in mind that these aren’t typed languages. Typed languages give us a lot of restrictions whilest keeping us from doing stupid things. Untyped languages do not have those restrictions so they leave us with a lot of freedom. Do we need this kind of freedom? Continue reading ‘Evaluation with untyped languages’

Optimised fotoalbum available

Today I played a bit with my fotoalbum. I learned that I made a whole lot of database queries which are not necessary at all. So I began making optimisations to improve performance. Continue reading ‘Optimised fotoalbum available’

HTTP Push Client in Posix C

Have you ever wanted to push a value to a HTTP page and don’t care about the result? Well, you can do it in pure C, but be prepared - it is not as trivial as you might think. Here is how to do it. Continue reading ‘HTTP Push Client in Posix C’

Metaprogramming in C++

Today I finished my work on a somehow special exam. Our grade of the course taught by Dr. Zoltán Porkoláb would be calculated by a C++-programme. We had one week to write a header file that is included in that programme. Continue reading ‘Metaprogramming in C++’