Skip to main content

Ralsina.Me — Roberto Alsina's website

PHP is for lucre. Filthy, filthy lucre.

Got comis­sioned a small job for a cus­tomer:

  • Take a form done in an­­cient HTML us­ing dreamweaver.

  • Re­­do it in PH­P+MySQL

  • Make it work.

  • Add val­i­­da­­tion.

  • Make it look the same.

Ok, it's not ter­ri­bly hard, but it's not ter­ri­bly sim­ple, ei­ther, spe­cial­ly if you are not all that up­-­to-­date on PH­P.

But hey, us­ing HTM­L_Quick­Forms and Ren­der­er_Table­less, it's kin­da done.

But boy, do I now re­mem­ber how I don't like PH­P!

What I am plotting...

...noth­ing.

Ok, here's what I have been do­ing:

  • Dad­dy work. Lots of it. Fun!

  • Ac­­tu­al work. Lots of it. Fun, but not so much!

  • Worked a lit­­tle more in RA-Flip. Play/Stop/­­Pause is done. The ed­it­ing mode and open­ing/sav­ing files is pret­­ty much done, so it will be ful­­ly func­­tion­al as soon as I can spend an af­ter­noon in it.

  • To­bo­­gan (My slideshow soft­­ware). It works nice­­ly. There are many rough spots and it needs a few fea­­tures:

    • Some way to ed­it the CSS for in­­­di­vid­u­al slides in a nice man­n­er. Like set­t­ing back­­­­­grounds and colours (and not much else)

    • A nice way to save the slideshow so it ends all in a sin­­­gle fold­er.

    • Many UI de­­­tails

    • Docs

    • A site

  • Bartle­Blog: it has worked well for me for a long while, since I have been post­ing this blog us­ing it. And re­al­­ly, it's a nice blog, is­n't it? ;-) But of course, there is stuff to be done:

    • Many UI de­­­tails

    • De­­­cent flickr and openo­my up­­­load­­­er­s/­­­man­agers

    • Some ex­­­tra gad­gets I have in mind

    • Docs

    • A site

And that's all I have in mind right now. Ex­cept maybe a graph­i­cal Be­funge in­ter­preter, but that's not re­al­ly im­por­tant ;-)

BOP: Ball Oriented programming

Some of you may be fa­mil­iar with weird pro­gram­ming lan­guages. Some of you may even know about bidi­men­sion­al lan­guages. Some of you may have seen Flip, where com­pu­ta­tion is per­formed by balls bounc­ing off things.

Now you can see Flip us­ing Qt. My Ra-Flip in­ter­preter. I wrote it in a lark af­ter find­ing out about Flip in Good Math, Bad Math and shares no code with the orig­i­nal, but it's a sim­ple lan­guage ;-)

It's al­most fea­ture-­com­plete. Miss­ing are:

  • Lev­­els (to make it three­­d­i­­men­­sion­al)

  • In­­put

  • Start-stop-­­pause-de­lay con­trols

Here is the manda­to­ry screen­shot:

flip.png

But that re­al­ly does­n't do it jus­tice, so here's a video:

The fun starts around 35 sec­onds in. The pro­gram prints an in­fi­nite se­ries of even num­bers and stores odd num­bers in a ... I am not sure how to call that. A cir­cuit?

I may think about writ­ing a some­thing-­to-Flip com­pil­er, so you can write your pro­grams in some sort of sim­plis­tic im­per­a­tive lan­guage and then see them as a pin­ball ma­chine.

It may be cute if an artist could spend a few hours mak­ing nicer gad­get­s, be­fore I do it (it won't be pret­ty ;-)

And yes, this is prob­a­bly the most use­less pro­gram writ­ten us­ing Qt, right there with kyes.

Juan Francisco en casa

An­oth­er bilin­gual post / Otro post bil­ingüe

p1000296.jpg

Last post about JF for a while at least

He had to spend a cou­ple of days un­der a lamp to de­crease his bilir­ru­bin but he's at home breast­feed­ing well, and do­ing just fine.

The moth­er is in some pain be­cause of the surgery, but get­ting bet­ter.

And I don't even mind chang­ing di­a­per­s. Even heavy ones. Which was some­thing I was not re­al­ly sure about ;-)

More pic­tures here.

Ul­ti­mo post so­bre JF por un tiem­po.

Tu­vo que pasar un par de días ba­jo una lám­para para ba­jar la bilir­ru­bi­na pero ya es­tá en casa ma­man­do bi­en, y es­tá bár­baro.

La madre es­tá un poco do­lori­da por la cirugía, pero mejo­ran­do.

Y no me mo­les­ta cam­biar pañales, ni siquiera los car­ga­dos. Que no es­ta­ba de­masi­a­do se­guro ;-)

Mas fo­tos aquí.


Contents © 2000-2023 Roberto Alsina