Tag: code

New one

Today i worked on the blog engine i plan to publicize. It’ll be based on PHP and MySQL, naturally, as i don’t really know anything else, and all output will be XML format. Some of it will be written using OOP, some will be just “normal” coding, with everything i know in it. It already has its entry parser function done. “Nice job, a whole day’s work and only that!” No, not only that, i’ve also written the error handling class and secured a method for others to translate the blog (not the content, but the script) into other languages (i write both hungarian and english language files for it, japanese and german will come later) and as i said, with that XML format i also give them huge freedom in designing templates using XSLT. All entries “can has” multiple categories and files attached to them, users will have the same features as in this blog (just with a working profile edit page), and on many more fields, it’ll be much like this blog. It already has more advanced text formatting features than this blog, such as automatically recognising and linkifying URLs and e-mail addresses. I want to write it well. kthxbye


Bloggie

Today i started working on the new version of the blog (yeah, once again), so please note this day in your calendars, so that you’ll know how long it takes for me to develop such a “simple” thing. I haven’t done much yet, just decided the basic methods to use and wrote some of the most interesting functions. I try to finish it quickly (remember this).


Silent minutes

This whole afternoon i’ve been learning – see the next post, what -, now i only keep a short break and go back to my “beloved books”. I’ve been thinking about what kind of project should i launch once i’m done with those i’m already in.


Kocka, megint

Ma az összes kockulás kimerült annyiban, hogy a PHP dokumentációban érdekes dolgokra vadásztam. Jackson mutatta az IMAP csomagot, de a DOM XML-t már magam találtam, és bár elsőre meglehetősen haszntalannak találtam, rövid gondolkodás után rájöttem, hogy lehet, pont ez kell majd nekem egy haldokló projectem felélesztéséhez. A Pascal mellé akkor találtam még valami fontosat.


iWiW

Abban amúgy mi a ráció, hogy az iWiW-en nem lehet 13 karakternél hosszabb jelszót megadni? Kíváncsi vagyok, milyen kódolással tárolják a jelszavakat, mert hogy nem MD5-el, na az fix (gyk annak nem számít a hossz).


LOLCODE

This LOLCODE thing is just great, i must say. So much fun coding it, though many of the methods i’m used to in php is missing. Still, just today i wrote a FizzBuzz script and one that finds perfect numbers. Both need the % php operator (modulus calculation), so i made up the MOD word. It’s not much lolspeak, but better than nothing.

I read about this at Shamalt.


Ooops.

You won’t believe what i’ve found: the backup of the previous blog. The last post is of 1st december 2006, but that’s still better than nothing, isn’t it? I’m thinking about how to install them back into this blog version… If i wanted to keep their old ids, then i’d have to change the ids of the new posts, which would be loads of updates in the categories table. There is a lot of posts in the backup, exactly 420, and (with this one) 53 in the blog… Any ideas on how to integrate them?


A jó, a rossz és a rosszabb

Én komolyan nem tudom, mi ütött belém mostanában. Meggyőződéses optimistává váltam volna? Ebben csak az a furcsa, hogy eddig egy furcsa, keserédes pesszimizmussal néztem inkább a világot. Lehet, hogy szerelmes vagyok? Na ne, arról azért csak tudnék én is, ez a világ nem a Battle Royale, hogy hatszáz oldal után jöjjek rá, hogy beleszerettem valakibe, észrevétlenül… Mondjuk az igaz, hogy megfigyeléseim alapján, amíg nem mondom ki, addig tényleg több öröm van benne. Úgy tűnik, a szavak valahogy elsorvasztják a szerelmet. Ha már rámondom, hogy igen, ez szerelem, akkor megfosztom önálló ideájától, amit addig tökéletesen ismertem, vagy legalább egy tökéletes részét ismertem, és ráhúzom ezt az elcsépelt, kopott, bár szép ideára mutató szót… Azt hiszem, valami ilyesmiről volt szó Böszörményi Gyula Gergő és a Táltosviadal című könyvében (439-441. o.), ahol az eltávozottak emlékéről vitatkoznak. De hogy is kötöttem ki itt? Ja igen, az optimizmusom: mostanában (szinte) minden napomat úgy zárom, hogy “na, még egy jó nap”. És ez fura. Hagyjuk.

Úgy tűnik, lesz melóm. Jó, webes állás, végre kihasználom majd úgy istenigazából a PHP-t, bár az igazi feladatok megérkezéséig szeretném már végre befejezni a KiltAntet. Egy küld-fogad metódus, és kész.

Jövő hét csütörtökön pedig meglesz első elméleti (közismertebb nevén kresz) órám, ami remélhetőleg azt jelenti, hogy még a nyáron lesz jogsim. Egy csepp szerencsével.

Most pedig… Olvasok, japánozok és olvasok egy kört, aztán visszatérek, írok valamit, pl néhány sor kódot. A folytatást meg majd meglássuk.


Die, PHP!

Also note that it is your responsibility to die() if necessary.

PHP documentation, set_error_handler

I couldn’t resist posting this. Found it while learning error handling functions for my reference work.


Downtime

Heute morgen war die Seite vorübergehend unten. Der Bediener hatte einige Probleme. Die bewirtenfirma erklärte mir in einer E-mail, dass sie jetzt alle Bediener überprüfen, die Probleme haben, so vermutlich es gibt nicht mehr Stillstandszeit.

Zuerst habe ich gedacht, dass mein Domain Name ablief. Aber dann betrachtete ich die Whois-Datenbankeintragung, und es erklärte mir, dass das Gebiet bis November 2007 aktiv ist.

Mit dem Bediener vorhanden noch einmal, Ich kann schliesslich arbeiten. Ich habe diese Woche nicht an allen bearbeitet, weil ich in Paris war, und solche kleine Sachen. =) Aber jetzt möchte ich so viele Sachen so schnell machen, wie ich kann. Ich habe ungefähr drei Sachen, zum schnell zu tun. Ich tue eins mindestens heute, und Teile von den anderen zwei auch.