Cartezian coordinate system in HTML 5 canvas
Normally canvas 2D context is using custom coordinate transform where Y coordinates are flipped vertically. Here is image with example (taken from http://diveintohtml5.info/canvas.html; it is great book and you should read it 🙂 )
It is a bit inconvenient to use if you are drawing some shapes with points given in classic Cartezian coordinate system. Continue reading “Cartezian coordinate system in HTML 5 canvas”
Simple 2D graphs
While writing application for my Masters Degree diploma I was required to came up with simple library for creating simple 2D graphs in the browser. Today I decided to share it with the rest of the world 🙂 Continue reading “Simple 2D graphs”
Curious Case of Visual Studio project compatibility.
Recently I was asked at work for quick review of small project. It was created (or updated) in newest version of Visual Studio – 2012. I don’t have installed VS 2012.
I could install it, yes, but it would be just waste of time since browsing through code in that project took me only few hours.
So I decided to try to open that in VS 2010. Continue reading “Curious Case of Visual Studio project compatibility.”
Why I don’t like Python anymore.
It was few years back on my first year of studies, when my friend told me about Python. Then it was great for me. One-liners could read ftp folders, web pages, interact with operation system, list comprehension, injecting code into life programs, nested functions, procedural as object oriented programming styles etc. etc. All of this in builtin libraries with simple but yet quite functional editor, supported with great documentation. I wrote my first studies project in Python and I was proud with it a little 😉 During next years I was using Python for writing simple scripts to automate my professional work as PHP programmer. Python was and I still think is better language then PHP. After that I started to work as .NET/C# developer. It has different syntax but C similarities let me to learn it quite quick. Framework .NET is powerful tool also so I didn’t touch Python for 2 or 3 years at least for anything longer then few lines. Continue reading “Why I don’t like Python anymore.”