Tadeusz Andrzej Kadłubowski's home page

QUndoStack is quite cool.

QUndoStack sounds simple enough. It is a Qt class that is used to implement ,,Undo'' functionality in your programs. A stack of objects that implement QUndoCommand subclass. QUndoCommand interface is made of two methods: undo() and redo(). What can be simpler?

I've tried to use QUndoStack in the magazynier, a sokoban game for KDE4 I'm writing. I must say it proved to be way more useful than I thought.

Wouldn't abolishing borders be simpler?

Paul Graham, a well known entrepreneur, writer, and venture capitalist, recently wrote an essay titled „The Founder Visa”. He honestly admits that public policy lies outside his usual field of expertise. That's a necessary disclaimer, as the essay is filled with fallacies.

Graham, who has been a businessman for the past 15-or-so years, clearly sees multiple government hindrances to entrepreneurship. For some reason he believes that the government intervention is a solution to problems that were created by the government interventions in the first place. The essay proposes additional state privileges to start-up founders and investors to counter-act immigration laws.

Generating primes with clojure; a lazy exercise

Recently I've been playing with programming in Clojure. It's the first time I've played with lazy evaluation. Example: calculating prime numbers with the sieve of Eratosthenes algorithm.

Zabawa półprzezroczystymi kółkami i algorytmem genetycznym

Cała zabawa została zaproponowana na serwisie stackoverflow.com. Napisałem program, który układa obrazki z półprzezroczystych kół. Teraz jestem w stanie pokazać pierwsze przyzwoite rezultaty.

Syndicate content