Archive for November, 2008
Saturday, November 29th, 2008
While I'm not the biggest fan of Sudoku puzzles, I wanted to make a sudoku widget for the Opera x-widgets challenge. This required me to study the algorithms used for generating sudokus, which was actually a quite interesting challenge.
While there are some examples of generating sudokus online, such as this ...
Posted in Programming | No Comments »
Thursday, November 27th, 2008
Yesterday, I was talking on IRC with Tom Graham. He was looking for a way to protect GET requests against CSRF. I showed him my CSRF protection plugin, as it would be suitable for protecting GETs too with minor modifications.
This got me thinking what would be the best way to ...
Posted in Programming | 4 Comments »
Tuesday, November 25th, 2008
Someone on ##opera in freenode was asking how to recover their saved password from Wand, Opera's password manager.
While there is apparently no "official" way of getting to them, I thought that maybe you could simply hook into the form, and read the password when it's being submitted by Wand!
Easy enough, ...
Posted in Web | No Comments »
Monday, November 24th, 2008
Daniel Brown at Endlessly Curious wrote an interesting post on the current state of teaching programming.
He raises points such as the new generation of programmers getting taught mostly high-level languages such as C# and Java, and that they should be taught more assembly or C instead.
Posted in general | 5 Comments »
Saturday, November 22nd, 2008
After pimping from various sources, I have decided to try Twitter. You can find me here. Not sure if I'm going to keep updating it, but I am for now =)
Posted in general | 1 Comment »
Friday, November 21st, 2008
Dojo provides a useful component called dijit.Tree, which is basically a quite typical tree component. However, it doesn't do much out of the box, and I needed it to make some tree nodes selectable with checkboxes for the packageizer script.
Let's see how the tree was made to play nice with ...
Posted in Programming | 4 Comments »
Wednesday, November 19th, 2008
David Otton posted a short but thought-provoking post about stdClass, which many think is the "base class" all PHP classes automatically inherit from. I have to admit that I had this misconception as well.
On the other hand, "true" OOP languages such as C# and Java both have a base class ...
Posted in Programming | 5 Comments »
Monday, November 17th, 2008
As of late, I've been working on developing a widget that runs on both PCs and mobile phones, for Opera's X-Widgets Challenge.
The widgets for the challenge must work on a QVGA (320x240) screen, and that presents certain challenges. For example, as the size of the widget is so constrained, you ...
Posted in Programming | No Comments »
Friday, November 14th, 2008
Last month, I introduced the packageizer, which allowed you to choose a class from the Zend Framework and get it as a zip with its dependencies.
Now, based on some feedback from users, I've improved the user interface of the tool: You can now select multiple items for inclusion in the ...
Posted in Programming | 16 Comments »
Wednesday, November 12th, 2008
I've usually dismissed the Dojo Toolkit as a difficult, poorly documented JavaScript library.
However, Zend Framework recently decided to choose it as the default JS library to bundle with the framework. It can't be all bad if that happens, right?
This sparked my curiosity towards Dojo again - Maybe it was time ...
Posted in Programming | 4 Comments »