*blog... kind of... *rss
Inspire08 demo log, day 23
Right... End of the 3 day weekend. Things are not looking too promising in order to have something releasable for the deadline... I'm doing some progress here and there, but I still need a lot of practice with Java.
Still having problems loading assets... but well, I'm too old to lose sleep time for reaching the deadline :P My invtro for D/// will have to be released somewhere else... Maybe at Euskal??? I'll take my time, maybe I'll just do a teaser, or something else for the party. We'll see.
EDIT: Funny that, after saying I wasn't going to lose sleep time I ended up going to sleep at 4.30 :P Not doing demo stuff tho, mainly reading stuff like this. Anyway, while trying to sleep I was thinking that a quick way to have some synch in place would be just adding start/duration parameter to the effects... avoiding any kind of XML script+resource manager. Something like this:
And then, the effect instance would be checking itself if it needs to be rendered or not (per frame). It's very crappy way of doing it, as I may end up with 50 effects asking if they need to be rendered... but well, I'll fix that on the next one. At least it gives some hope to the prod.
no comments
Status:
3 days left until Inspire08
Base code, file handlingRight... End of the 3 day weekend. Things are not looking too promising in order to have something releasable for the deadline... I'm doing some progress here and there, but I still need a lot of practice with Java.
Still having problems loading assets... but well, I'm too old to lose sleep time for reaching the deadline :P My invtro for D/// will have to be released somewhere else... Maybe at Euskal??? I'll take my time, maybe I'll just do a teaser, or something else for the party. We'll see.
EDIT: Funny that, after saying I wasn't going to lose sleep time I ended up going to sleep at 4.30 :P Not doing demo stuff tho, mainly reading stuff like this. Anyway, while trying to sleep I was thinking that a quick way to have some synch in place would be just adding start/duration parameter to the effects... avoiding any kind of XML script+resource manager. Something like this:
effects.add(new EffectFlash(gl,19207,1000);
And then, the effect instance would be checking itself if it needs to be rendered or not (per frame). It's very crappy way of doing it, as I may end up with 50 effects asking if they need to be rendered... but well, I'll fix that on the next one. At least it gives some hope to the prod.
no comments
Virtual Hosts with Apache2 on Ubuntu 8.04
no comments
I have googled a bit in order to do this, but all the info I was finding was a bit obsolete, so use this info if you want, but the main purpose of writting this down is so I can remember it next time (hopefully without being obsolete):
After installing Apache2 from synaptic...
Add line...
then...
with this kind of content...
save the file, and then...
chose ricardocabello (this will mainly create a link on sites-enabled). And then, to complete the task:
After installing Apache2 from synaptic...
sudo gedit /etc/hosts
Add line...
127.0.0.1 ricardocabello.local
then...
sudo gedit /etc/apache2/sites-available/ricardocabello
with this kind of content...
<VirtualHost *> ServerName ricardocabello.local DocumentRoot /home/mrdoob/Desktop/www/ricardocabello.com/ </VirtualHost>
save the file, and then...
sudo a2ensite
chose ricardocabello (this will mainly create a link on sites-enabled). And then, to complete the task:
sudo /etc/init.d/apache2 reload
no comments
Inspire08 demo log, day 22
Well, I haven't progressed much visually, but I've refactored everything quite a bit. The base is almost done.
/projects/inspire08/05/
As you can see, I have a Logger, Timer, FPS counter, MS... That's enough for debugging/testing the effects on-the-fly. Also, I have a base for the Scene Managing, I still have to load a XML with the times of start/end and all this but by now it's simple enough and looks like this:
Just 4 days to go and I still don't know how the visual content will be... Oh well... Tomorrow more.
no comments
Status:
4 days left until Inspire08
Base code (still!)Well, I haven't progressed much visually, but I've refactored everything quite a bit. The base is almost done.
/projects/inspire08/05/
As you can see, I have a Logger, Timer, FPS counter, MS... That's enough for debugging/testing the effects on-the-fly. Also, I have a base for the Scene Managing, I still have to load a XML with the times of start/end and all this but by now it's simple enough and looks like this:
import javax.media.opengl.GL;
import java.util.ArrayList;
import com.xplsv.utils.Logger;
import scenes.*;
public class SceneManager
{
private ArrayList scenes;
public SceneManager(GL gl)
{
scenes = new ArrayList();
scenes.add(new SceneRandomPolys(gl));
scenes.add(new SceneInfo(gl));
scenes.add(new SceneLogger(gl));
}
public void init()
{
Logger.init();
Logger.log("SceneManager.init");
for (int i = 0; i < scenes.size(); i++)
((Scene)scenes.get(i)).init();
}
public void render()
{
for (int i = 0; i < scenes.size(); i++)
((Scene)scenes.get(i)).render();
}
}Just 4 days to go and I still don't know how the visual content will be... Oh well... Tomorrow more.
no comments
Inspire08 demo log, day 21
Although my mind was trying to avoid working on the thing today, I managed to concentrate a bit. As getting the milliseconds elapsed in the tune seemed to be something I couldn't achieve at the moment, I decided to look for a workaround which I could fix in the future. Found out the AS3 getTimer() equivalent in Java (System.currentTimeMillis()), so by now, I would depend of the music not being delayed and keeping the same timer as Java has (crossing fingers). So I did a simple class like to get going.
So, tomorrow I should be doing a quick SceneManager and also some Scenes/Effects finally :P
I hope I also find out soon how to jump to a defined part of the tune too :S
no comments
Status:
5 days left until Inspire08
Base codeAlthough my mind was trying to avoid working on the thing today, I managed to concentrate a bit. As getting the milliseconds elapsed in the tune seemed to be something I couldn't achieve at the moment, I decided to look for a workaround which I could fix in the future. Found out the AS3 getTimer() equivalent in Java (System.currentTimeMillis()), so by now, I would depend of the music not being delayed and keeping the same timer as Java has (crossing fingers). So I did a simple class like to get going.
So, tomorrow I should be doing a quick SceneManager and also some Scenes/Effects finally :P
I hope I also find out soon how to jump to a defined part of the tune too :S
no comments
Inspire08 demo log, day 19
Neither I had any real progress yesterday :( And I only have one more week. I hope this 3-day weekend ends up like one of those super productive ones. Still have to sort out the timer I'm afraid. I could do without it, maybe, but that won't go well with the tune.
On top of that, I also remembered that as we used to have with bcnparty, this year D/// is also supposed to follow a theme. Will be hard to include that on the demo/tune too.
Uhmm....
no comments
Status:
7 days left until Inspire08
Base code and Uh!!Neither I had any real progress yesterday :( And I only have one more week. I hope this 3-day weekend ends up like one of those super productive ones. Still have to sort out the timer I'm afraid. I could do without it, maybe, but that won't go well with the tune.
On top of that, I also remembered that as we used to have with bcnparty, this year D/// is also supposed to follow a theme. Will be hard to include that on the demo/tune too.
Uhmm....
no comments
Bots are the new Crons
no comments
We implemented a bit of a automation over xplsv.tv some weeks ago. Until then I was daily picking the video of the day. Now I "map" the month with a selection (still handpicked) of the videos, and then our php system does all the mailings at 00:00 every day. You wouldn't believe what a relief it was after doing the hand picking of a video every day during 4 years :S!
When we were thinking about how to implement the feature we considered setting up a Cron on the hosting, however, we quickly guessed that if the site had about 207,045 hits per day (207,045/24/60/60 = 2.39), so 2 hits per second, these are enough visits as to make the user launch these actions indirectly when visiting the site I would say ;)
The funny thing is that after checking the logs, most of the times the user agent of who launched the action happens to be a bot. So, who needs a Cron when we have Google bot? ;)
When we were thinking about how to implement the feature we considered setting up a Cron on the hosting, however, we quickly guessed that if the site had about 207,045 hits per day (207,045/24/60/60 = 2.39), so 2 hits per second, these are enough visits as to make the user launch these actions indirectly when visiting the site I would say ;)
The funny thing is that after checking the logs, most of the times the user agent of who launched the action happens to be a bot. So, who needs a Cron when we have Google bot? ;)
no comments
Inspire08 demo log, day 18
Still no progress. Is not looking very well... I'm stuck with the sync/timer code. I'm trying to find the proper way to get the elapsed time of the tune in milliseconds with jorbis.
By now I'm reading the basics of Ogg so I know a bit more of what's going on, and also following some tutorials for introduction. I'm starting to get used to reading Java, so maybe I'll sort this bit soon and start having fun coding some effects :S
no comments
Status:
8 days left until Inspire08
Base codeStill no progress. Is not looking very well... I'm stuck with the sync/timer code. I'm trying to find the proper way to get the elapsed time of the tune in milliseconds with jorbis.
By now I'm reading the basics of Ogg so I know a bit more of what's going on, and also following some tutorials for introduction. I'm starting to get used to reading Java, so maybe I'll sort this bit soon and start having fun coding some effects :S
no comments
Inspire08 demo log, day 15, 16 and 17
So, Bath was good, too good that I did nothing apart from walk and relax :P I managed to reach to an acceptable level with the tune today tho.
inspire08_03_07.ogg
The end is pretty dull, but sounds good enough to me. So I'll leave that part for now and concentrate on coding. I still haven't find the way for getting a timer from the music :/
no comments
Status:
9 days left until Inspire08
Music "done", time to code nowSo, Bath was good, too good that I did nothing apart from walk and relax :P I managed to reach to an acceptable level with the tune today tho.
inspire08_03_07.ogg
The end is pretty dull, but sounds good enough to me. So I'll leave that part for now and concentrate on coding. I still haven't find the way for getting a timer from the music :/
no comments
Inspire08 demo log, day 14
Well, the music is really consuming a lot of time already. But I think I'm getting somewhere near to satisfaction.
inspire08_03_05.ogg
Gargaj suggested some drum tweaks that I gotta try, but overall the music seems to be well received.
I'm going to be away for 3 days tho, I'll try to work a bit on the coding side with the iBook, I hope I can make it compile there without much trouble. A shame that I would be using MacOS during these days, but I'm not really up for installing Ubuntu on a PPC, neither on the MacBookPro right now.
no comments
Status:
12 days left until Inspire08
Still with the musicWell, the music is really consuming a lot of time already. But I think I'm getting somewhere near to satisfaction.
inspire08_03_05.ogg
Gargaj suggested some drum tweaks that I gotta try, but overall the music seems to be well received.
I'm going to be away for 3 days tho, I'll try to work a bit on the coding side with the iBook, I hope I can make it compile there without much trouble. A shame that I would be using MacOS during these days, but I'm not really up for installing Ubuntu on a PPC, neither on the MacBookPro right now.
no comments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
*profile

traditional id: Ricardo Cabello Miguel
based in: London, UK
more: twitter, twitpic and soundcloud.
*affiliations
60fps, escena.org, xplsv.tv and xplsv.com.
*input
friends
aaron koblin
abscondorium
blackpawn
campbell imray
cardboard robot ninja pirate monkey
carlos ulloa
david o'reilly
diego f. goberna
iñigo quilez
jare
jesse kanda
jorge fuentes
kile
mike tucker
nanika
nuende
soledad penadés
tnghm
unit zero one
vadik marmeladov
zafio
zeh fernando
art
8bit today
build
cocos' island
flight404
hairy teeth
hi-res!
neave
nulla dies sine linea
patecreme
postspectacular
quel solaar
siggi eggertsson
tha.ltd
today and tomorrow
united visual artists
vvork
yugop
dev
andre michelle
alternativa
antti kupila
away3d
boostworthy
broken blog
bytearray
den ivanov
der schmale
drawlogic
fladdict
flash video
general relativity
gskinner
hidiho!
joa ebert
john grden
kaourantin
keitap
less rain
li
michael battle
nulldesign
papervision3d
pengin.swf
photon storm
pixelero
polygonal
quasimondo
sandy
saqoosha
sephiroth
simppa
tom.drastic.net
uve producers team
zero point nince
zupko
music
hunz
ochre
ronny pries
humour
wulffmorgenthaler
xkcd