Sunday, January 31, 2010

Teddy Bear Without Heart Storyline

I want to write a song and do the 3d grapics for it (yes is 5 AM in the morning , sleepless and with ideas) and music with the help of lmms.
It's about a teddy bear that loses his heart
He has a kitty as friend and one day  teddy takes his heart and gives it to the little kitten
And kitty plays and plays around witth his heart.
And the kitty enters in a virtual world with his heart and the bear can't find them both
and becames some kind of zombie.

And he enters the virtual world and he searches his little kitten and speaks to various animals.

:- Have you seen my heart and little kitten ?

In the end he finds her and they will be very happy i guess , but is only a story



Here are the first versions of the verses

http://gist.github.com/289835

work will be under CC license http://creativecommons.org/
and i might reuse the world and animals from bigbuckbunny.org
the evil stays the evil , and the rest are good as they are for the moment
I 'm imagining that you will know who will steal the heart of the teddy from the kitten

Saturday, January 30, 2010

A part of me died in 2008

Once with my grandmother's funerals , It was like a second mother to me
I growed there at the country side with real cows and real chickens and when i was a child
she took care of me before i went to school, parents had jobs and it was hard for them with 2 childrens and work.
I want to start some of the stories about what i remember from that time.
I have big pain in the chest when i think about my grandmother , when i go now to that house
i still wait to apear and to ask me how do i feel or anything and i cry rivers
I kept my pain inside too long and i should cry more and more to free my chest.
Maybe that is the reason that i'm not the same like before , i had so much to carry with me
When i saw it that they put her in the grave something died inside me . I can't describe the pain and
the feeling that world ends at that time . and when i saw my sister's eyes i think i understood
never again in this life we will see her.
Now i put candels to the grave , but is a part of me there too .
On the bright side in the day she died there was an beatifull rainbow after all day was rainy and cold and ugly .Maybe a sign that she is ok on the brighter side of death.

Monday, January 25, 2010

Andy's death part two

Andy died of cirrhosis and he entered in servraje because he didn't drinked for about two days , anyway he wanted to die because he was lonly and forgotten
This is what his son Anduta told to my sister.
After his death he gave her his last unfinished sculpture...
Maybe if he was treated 2 years ago he was alive today

And now comes the WTF part:
The orthdox ? priests , the most hated clique in Romania
he asked for 9 Millions (old LEI) for the ceremony (and this is for a poor man)
and yes just because he was burned in Bucharest they have asked more
you know only because it's shouldn't go like a dog on the road to Bucharest.
I hate them , Let them burn in Hell , I will not kiss their dirty hands.

Ahh and they asked to buy candles only from the church ~1 Mil

Sunday, January 24, 2010

Crappy new year

I think this year began with sorrow and not with happyness
First our family friend Andy died alone in his apartment in Burdujeni (Suceava)
He died alone like dog , with no friends or relatives around (my grandmother always said that we die alone with only the maker in front of us , and no relatives are just dust compared with the full dark and freedom)
I don't know more about his death , what happened but i know his son tried to convince the elders that Andy's last wish was to burn in fire and not to be eaten by worms and the ugly humus.
I have to ask my sisters more about it .
He always told us stories about his family and how they went on OLT river by boat with the full crew (family)
and how they saw bears i think in Harghita moving around his boat in the dark throwing tree roots arund, he went to a store and he asked for bread and it was  Ceausescu time when bread was scarce and only you could get only one per person so the people around gave him their pieces and for the all family
and how they went down the river and somwehere where only romanians exists in the south
they throwed stones to them just for fun
Another beautiful story he told us was about his trip with the bycicle (Pegas) from Suceava to Sighisoara
over the mountains to the Medieval Festival .How they had some strong drinks with them (Afinata) and once Anduta felt with the bycicle so strong that he was bleeding but with his father help and strong drinks they continued.In Sihisoara they stayed with some high school teenagers around and they asked for some grass/pot so Andy created the master pot with simple Carpati + Pepper + other things to put in the soup not in your nose and the funny thing people liked it and they wanted more.
only after a few days Andy told them that it was only the power of Carpati and nothing else :P
Rest him in heavens , we don't know that power of Chirst is with weak people and not in the stronger ones .

Second death was by Calin's father , i don't know reea is cursed or something? because we have so many deaths in such a short time inside our company.I can't take it anymore.
I can't cry anymore just to be shoked and i can't react anymore.At the funerals i couldn't cry but only now , the shock is to heavy and too soon and sometimes the brains can't react to so many
wrong happenings.
And the big shock of today i'm almost single or more single than less single, and i swear i had a dream about it , Don't ask it's very complicated.
Between xmass and new year i had very strong flu , so strong that a few days i had only dreams , you know the shamanic ones , on the brick of life and death theritory, and death is so cold.
At the Calin's father funerals i had a revelation: with each one we loose we die ourselves piece by piece and in the end nothing is left and we fly high into one thousands suns.
There is no sense in this world if you look with mortal eyes , but maybe there is something interesting where the saints are resting and playing/singing.
ps: I can haz catz , so you know that always there someone to surpress our pain in the back (yes we do have a cat in the house)
Dear god gravitation and worms sux, we need heaven on earth soon



Tuesday, January 19, 2010

#Ubuntu #NaCL #qt compiling errors fcntl.h:99:conflicts with new declaration with ‘C’ linkage

I followed the readme http://qt.gitorious.org/qt-labs/nacl/blobs/nacl-labs/readme-nacl
git clone git://gitorious.org/qt-labs/nacl.git
cd nacl
export PATH=$PATH:/home/mariuz/Downloads/build/native_client/src/third_party/nacl_sdk/linux/sdk/nacl-sdk/bin/
export PATH=$PATH:/home/mariuz/Downloads/build/native_client/scons-out/opt-linux-x86-32/staging/
./configure -nacl /home/mariuz/Downloads/build/
cd src/tools; make
cd ../..
make sub-src

In file included from /home/mariuz/Downloads/build/native_client/src/third_party/nacl_sdk/linux/sdk/nacl-sdk/bin/../lib/gcc/nacl/4.2.2/../../../../nacl/include/fcntl.h:1,
from ../../mkspecs/qws/linux-nacl-g++/qplatformdefs.h:40,
from arch/generic/qatomic_generic_unix.cpp:44:
../../include/QtCore/../../src/corelib/nacl/qnaclunimplemented.h:32: error: previous declaration of ‘int open(const char*, int, ...)’ with ‘C++’ linkage
/home/mariuz/Downloads/build/native_client/src/third_party/nacl_sdk/linux/sdk/nacl-sdk/bin/../lib/gcc/nacl/4.2.2/../../../../nacl/include/sys/fcntl.h:99: error: conflicts with new declaration with ‘C’ linkage

Sunday, January 17, 2010

How to disable ipv6 on #ubuntu #karmic without messing with grub

sudo kate /etc/sysctl.conf
add this line
net.ipv6.conf.all.disable_ipv6=1

reboot or disable without rebooting
sudo su 
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6


you can enable back
echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6
Dear kernel devels and ubuntu motu masters , for me there is no ipv6 internet in the world and i don't have any ipv6 routers
But i need fast internet in arora browser and you know that glibc sux and doesn't
work well in resolving hosts fast in an ipv4 world where i live

https://launchpad.net/bugs/417757

Friday, January 15, 2010

Howto kill and solve spawn-fcgi

I have tested spawn-fcgi and php fast cgi under heavy load

and sometimes nginx reports that is dead "Connection refused while connecting to upstream"
ab -c 200 -n 5000 http://localhost:8080/posts/

so i modified the /usr/bin/php-fastcgi startup script

PHP_FCGI_CHILDREN=10
PHP_FCGI_MAX_REQUESTS=1000
/usr/bin/spawn-fcgi  -C 10 -F 10 -a 127.0.0.1 -p 9000 -u www-data -f /usr/bin/php5-cgi

Thursday, January 14, 2010

about #mplayer #vdpau #ubuntu #pulseaudio

I found a way to disable mplayer warning about pulseaudio that is erased from my computer
sudo vi /etc/mplayer/mplayer.conf
search for the line with pulse and remove it
it should look like this

ao=alsa,sdl:aalib

I found that vdpau video output option works
mplayer -vo vdpau http://fd.fabiensanglard.net/dEngine/doomRotated.mov

but i didn't notice any lower cpu usage

maybe i need to install vdpau packages for nvidia from ubuntu repository ?

ps: I have founded that link on reddit related to Doom classic code review

Wednesday, January 13, 2010

easy way to upgrade to #kde 4.4 rc in #kubuntu , #ubuntu #karmic

Kde 4.4 rc1 is released and here is a easy way to upgrade to it
http://www.kubuntu.org/news/kde-sc-4.4-rc-1

Nice things qt 4.6 , that will work better with arora browser (upgraded webkit engine)
and many other improvements

here is how to do it from command prompt
sudo add-apt-repository ppa:kubuntu-ppa/beta
sudo apt-get update
sudo apt-get dist-upgrade

sudo /etc/init.d/kdm restart

Sunday, January 10, 2010

compiling #sdl #quake on #ubuntu

project url is here http://www.libsdl.org/projects/quake

download the code and data
wget http://www.libsdl.org/projects/quake/src/sdlquake-1.0.9.tar.gz
wget http://www.libsdl.org/projects/quake/data/quakesw-1.0.6.tar.gz

install sdl dev files
sudo apt-get install libsdl1.2-dev

tar -x --strip-components=1 -f sdlquake-1.0.9.tar.gz
tar -x -f quakesw-1.0.6.tar.gz

I had an error when i ran make after ./configure

add `AM_PROG_AS' Makefile.am: to `configure.in'

i modified the configure.in this way added AM_PROG_AS
also removed gcc flag -mpentiumpro

touch INSTALL NEWS README AUTHORS ChangeLog
automake --add-missing

autoreconf
and then
./configure
make

you will get an linking error related to d_copy.S
grep d_copy *
search for it and remove all references from Makefile and Makefile.in , Makefile.linuxi386, Makefile.am

then do again ./configure
make
./sdlquake



or full screen

./sdlquake -fullscreen

or without sound

./sdlquake -nosound




for a better engine try something based on ioquake

i like the video of elite force raytraced

Friday, January 08, 2010

google nacl + quake demo

I started the quake demo from nacl: here are 9 ! instances of quake running in the same time in browser

http://www.youtube.com/watch?v=8_zbFuaB2wc



what to watch more about nacl?
Qt's elastic nodes example running on Google Native Client
http://www.youtube.com/watch?v=U6xZsqcA-Sk

Original article is here

I'm waiting for FreePascal compiler for nacl , qt is already there and with lazarus
it would be a great IDE for google NaCL




This version of Google Native Client has expired.

/home/mariuz/.mozilla/plugins/sel_ldr
Warning: Running non-sandboxed sel_ldr
This version of Native Client has expired.


vi src/trusted/service_runtime/expiration.h

EXPIRATION_YEAR 2009 ???


seems that i need to download a correct snapshot , latest snapshot
http://code.google.com/p/nativeclient/wiki/Downloads

http://build.chromium.org/buildbot/snapshots/nacl_tarballs/latest/nacl_linux_latest.tgz



expiration date is now set to 2010 , is better :)

Monday, January 04, 2010

Dear Oracle please Kill the Dolphin (#mysql)

Monty is the new Mysql "saviour" and i got new spam about his issue.
Monty Widenius wants another billion dollars, should we help him?
I say no and neither should you

http://standardsandfreedom.net/index.php/2010/01/05/monty-widenius-wants-another-billion-dollars-should-we-help-him/

here are some interesting responses around the web:

http://nathan.crause.name/entries/science-tech/mysql-being-saved

Monty's call to arms just seems bizarre and under-handed. MySQL was
never really free (unlike Postgres or Firebird or Sqlite). He sold
MySQL to Sun and became very rich. Now he wants to claim that Oracle
is a threat to free software, when MySQL was the least free of the
free databases. There are several equally good or better alternatives
to MySQL. There are several equally good or better commercial
alternatives to MySQL. Microsoft got away with it's 90+% dominance of
desktop computers and office software for the best part of twenty
years, and it wasn't the Competition Commission that reduced
Microsoft's market share.

http://article.gmane.org/gmane.comp.ide.revolution.user/132380/match=firebird+database

I certainly wouldn't consider developing a project now that was
dependent on future versions of MySQL being available with the current
(pseudo-)free licensing. Even if you are happy distributing the
current version of MySQL with your app (and on the server), and paying
the licenses costs, there is no saying what those costs might be in
the future. That is what was so underhand about the way in which
MySQL was marketed as free-in-some-circumstances.



another response from
From: Jon 'maddog' Hal

Yes, Oracle is a dominant database company, but there are other
databases out there that are FOSS which people could use:

o PostgreSQL
o Firebird

I just think that forcing Oracle to "sell off" something that Sun was
willing to pay 1 Billion dollars for just a year earlier on the premise
that Oracle would not manage it well is probably something that will not
fly.