Archive for the ‘en’ Category

Ce avem la cină?

Acum că a trecut și penultima sesiune din ultimul an de facultate, iată sunt cele două proiecte la care am lucrat în timpul liber; care timp deși nu a fost mult, a existat (C3 nu e așa de crimă pe cât mă așteptam, myth busted).

Primul este unul personal, are legătură și cu lucrarea de licență, deocamdată nu public cod, spun doar că se prevede o aplicație măricică Python construită peste o bază de date SQLite, folosind sqlobject, GTK+, goocanvas, reportlab și mulți alți clopoței și fluierași. Am ajuns să fac – printre altele – widgets (prietenii știu de ce spun asta), și sper ca pe măsură ce o dezvolt să mă familiarizez cu aceste tehnologii. E o provocare să o construiesc și să o dezvolt și totodată o distracție.

Cel de al doilea proiect căruia i-am acordat mai mult timp în ultima perioadă, este portarea World of USO din PHP în Python – Django. Am luat alături de Vlad și Sergiu această decizie, deoarece nu eram mulțumiți de starea codului actual al WoUSO (prea multe contribuții de la persoane diferite, stiluri și abordări diferite); ca să rezum, era greu de dus mai departe, îmbunătățit. De ce Django? Pentru că Django e fun, prea multă lume l-a vorbit de bine ca să nu-l încercăm. L-am încercat și a dat roade: în două săptămâni am reușit să implementez o versiune de bază care acoperă aproape trei sferturi din funcționalitatea jocului. Tocmai am primit mail de la Vlad(um), este dispus să aloce timp, cred că vom face treabă bună în continuare :D .

WoUSO este unul dintre proiectele propuse pentru dezvoltare echipelor la Cursul de Dezvoltare Liberă. Mai multe detalii vor fi publicate pe site-ul cursului. Pot doar să lansez doar un zvon că s-ar putea să lucrăm la un modul WoUSO pe acel site care începe cu feis și se termină cu buc.

Dacă citești aici și te interesează unul dintre django, python sau wouso, nu fi timid, dă un mail. Ne-ar plăcea să te alături echipei :) .

Cam atât. Programming must be fun. Sunt limbaje precum chitonul care fac programarea frumoasă, părerea mea.

Links:

http://dev.rosedu.org/wouso/wiki/DjangoPort

http://wouso-django.rosedu.org/ (cont alex:alex)




Internet speed meme

I’m not aggregated on planet ubuntu, but I read it and I wanted to be part of a meme for some time.

So, this is my internet connection speed, in Bucharest, Romania:




Moving from Blogger to Wordpress

Because today I moved my blog from Blogger to a local Wordpress instalation, I was trying to move all my posts & comments here.

The Blogger Import function from Wordpress 2.6 (available in Admin -> Manage -> Import -> Blogger) didn’t work, maybe Google doesn’t want to authorize Wordpress to access my blog data.

Anyway, what I did was:

  • first, export my Blogger posts, using a function available only in the draft version (beta) of Blogger as stated in here. I’ve got a big XML file.
  • then, using the RSS import module in Wordpress (Admin -> Manage -> Import -> RSS), I imported all the posts. LE: for categories to work, use the modified module from below;
  • after that, I exported all the comments from Blogger, using <blog url>/feeds/comments/default?max-results=1000 -> Save As… -> comments.xml
  • finally, I modified the RSS module to accept also the comments file format; PHP file, rss.php, is available for download here, compressed; I moved it to <wordpress installation dir>/wp-admin/import/rss.php ; with this new one, I imported the comments.
  • That’s it!

Note: this solution only works as described before and is provided “as is” without warranty of any kind. It is just a workaround till one of Blogger authorization/Wordpress import plugin gets fixed.

It took me 5 hours of googling, browsing wp documentation, analysing xml, coding php, to get it to work, but I’m happy, and I’m blogging about it!




How to: S60 3rd ed phone memory + Ubuntu

Because recently I got a new smart phone (Nokia 6124c), I was struggling to get it working with my Ubuntu Linux. Googling around, I found this solution, based on obextool. It worked, but I found it rather complicated, and the tk interface of obextool – a really mess.

So, I found this simpler solution:

Step 0 – Requirements: pc, S60 Phone with mini-usb, mini-usb cable, ubuntu or other linux distro, internet connection.

Step 1: download latest ObexFTP, ObexFS source packages from: here. Note: it doesn’t work with repository packages of obexftp, obexfs.

Step 2: compile and install (usually ‘./configure && make && make install‘ but you might need some dev packages installed, including tcl-dev, libfuse-dev)

Step 3: create a mount point: `mkdir ~/Phone’

Step 4: connect the phone via usb cable, then mount it with: `obexfs -u 1 ~/Phone’

This is it, you may browse your phone memory in Nautilus or whatsoever file-manager you use.

There is also possible to use bluethoot as the connection between phone and PC, but I don’t have one, so I can’t tell how. Anyway, `obexfs –help’ will tell you what to do.

Further reading: Open Obex Trac.