Firebird News

Monday, August 30, 2010

3d renderfarm with blender

one good option is to use the new Network Render-er from blender 2.5
is recommended by the creators of sintel movie

"I would really recommend using the netrender script that is now in 2.5. We decided to use our own scripts because they were already working and easier to fit into svn and file management we had in place here, switching to a very different system was a bit risky at the time we got the renderfarm. If you want something that works out of the box, netrender works great, it also has a web interface to manage things. I’ve tested it on the render nodes here and it worked, so it would definitely be good to use that on future projects."

Also luxrenderer with smallluxgpu looks pretty impressive : the future seems to be Gpu+Cpu+Network





Sunday, August 29, 2010

Firebird: Mituri vs Adevăr

Check out this SlideShare Presentation: Firebird: Mituri vs Adevăr

De ce Firebird? Argumente pentru factorii decizionali

Check out this SlideShare Presentation: De ce Firebird?
Argumente pentru factorii decizionali

Firebird baza de date universală open source | Firebird General Ppt Ro | #MindTheBird

Check out this SlideShare Presentation:

Campania de lansare Firebird 2.5 Cum poți TU sprijini Firebird #MindTheBird: What Is Mind The Bird Ro

Check out this SlideShare Presentation: Campania de lansare Firebird 2.5 Cum poți TU sprijini Firebird www.MindTheBird.com

Saturday, August 28, 2010

The only database engine that is not Fucked is Firebird : with the rest you are really Fucked

and the question of the day "Having worked with Firebird, I must say it's indeed quite a good and reliable database.
However it has some weird defaults, like upper-casing all identifiers that are not quoted - takes some time to get used to."

and my answer


The SQL standard is doublefucked
The SQL:2008 and SQL-99 standards define databases to be case insensitive for identifiers unless they are quoted. Lower case characters may be used in identifiers and keywords, but are considered to be their upper case counterparts.
Another thing is the addition of two strings in any sane language not like php or sql the addition is + sign , in sql is ....|| and in php is . that is why they are pretty fucked languages I wonder who can change the standard ... Oracle ?

Installing #Firebird 2.5 #SuperClassic in #Debian #Sid

I needed to install the SuperClassic on my Debian netbook and it takes only two commands
# apt-get install firebird2.5-superclassic
# dpkg-reconfigure firebird2.5-superclassic


Next is to create a database in
/var/lib/firebird/2.5/data/test.fdb



with flamerobin
#apt-get install flamerobin
create table foobar
(
    foobar1 varchar (255),
    foobar2 varchar (255)
       
);

then you can select/insert from foobar

SELECT * 
FROM foobar

or press the + insert sign in the toolbar in the select window

dbus + xml sux : no player when i do have players in the background

mpris-remote
No MPRIS-compliant player found running while running the command over ssh -X
and from local machine it works without issues with qmmp

Howto Enable #mpris support in #qmmp | #debian #ubuntu #linux

Seems there is support for mpris mpris-remote - utility that controls an MPRIS-capable music player



I wanted http remote control but mpris should suffice for the moment over ssh 


I listen to the main borkstationX64 attached to the 5.1 system and i'm lazy moving all the time to change the songs 
so i need  a solution to change it from my netbook ...






git clone git://github.com/mackstann/mpris-remote.git

./mpris-remote 
[playing 5631/10835] @ 4:54/7:50 - #6
  artist: Metallica
  title: Am_I_Evil
  album: Garage_Inc_Disc_II
[repeat off] [random on] [loop on]
./mpris-remote next








cool stuff : there are amarok , foobar interfaces for qmmp in the works :P
why do i need ssh -X for mpris ? , maybe because of dbus ...
 mpris-remote
Traceback (most recent call last):
  File "/usr/bin/mpris-remote", line 104, in 
    bus = dbus.SessionBus()
  File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 219, in __new__
    mainloop=mainloop)
  File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 108, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

tip: cp mpris-remote /usr/bin/mpris

Friday, August 27, 2010

Movies for weekend : Rock me #sexy #Jesus with Alien 1-4


Hamlet 1-2 

Rock me Sexy Jesus Rocks 



Nick and Norahs infinte playlist
Alien 1-4 I rather watch this movie than all the crap from 2010 
Beauty and the Beast 1-3 

compiling lwkhttpd issues with kernel 2.6.3x

I have found this interesting project kernel project based on khttpd
but when i tried to compile it got

module.c:14:26: error: linux/config.h: No such file or directory
changed config.h to autoconf.h

error: expected declaration specifiers or ‘...’ before ‘socketcall’

http://kerneltrap.org/node/7373


Starting around kernel 2.6.18, the _syscall macros were removed from header files supplied to user space. Use syscall(2) instead. (Some architectures, notably ia64, never provided the _syscall macros; on those architectures, syscall(2) was always required.)

So i need to dig deeper in the syscalls world

New digg : EpicFail Web 2.0 Redesign

It's sure bill's fault and seems that now i can't see what my friends are doing
just a fuzzy warm web 2.0 useless bloatware and with email notifications reenabled

No wonder people forget about digg and they use only reddit

#God hates #ipod in the book of Eli , jesus was born in San Francisco

product placement sometimes is stupid : in book of eli the hero can't live without his car battery and the juice for ipod

"The next morning, Eli wakes up and finds that his iPod is nearly out of power. The car battery rig he uses to charge it is almost out of power as well."

"As he continues his journey, his iPod runs out of juice."

it would make more sense that Eli would go to Israel not San Francisco
You know i had all the time this song in my head "if you go to san francisco" for the duration of the movie
Also from the movie it seems Shakespeare is more popular than the Bible that is why you have many Shakespeare books and NO Bible ! wtf moment : that doesn't compute I mean common the army should had saved some bibles/playboy magazine you know just for an apocalyptic end of the world

our hero is kinda of religious kunfu master with his apocalyptic-pod in the ears and with a big afro american knife and he is eating cats

the story and the scenario is quite weak and is quite booring to see an almost empty post apocalyptic world, heck i almost want to watch MadMAx

Thursday, August 26, 2010

It turns out that #JavaScript language is the VM of the internet

That is the quote of the day and it shows why Java is dead :
Everybody thought that the Java VM was going to be the VM of the internet, but it turns out that JavaScript language is the VM of the internet. People are writing in Java, and Python, and lots of other languages, and then translating it into JavaScript because JavaScript, for all of its security problems, actually has a much better security model than everybody else. The CLR has a terrible security policy, Java has a terrible security policy — JavaScript is better than everybody else.

Douglas Crockford — The State and Future of JavaScript

http://developer.yahoo.com/yui/theater/video.php?v=crockford-yuiconf2009-state

Oracle case against Google :Winners real open source databases like FirebirdSQL and PostgreSQL

My response and commentary related to this article

I get now more and more questions for tools to migrate
mysql databases to Firebird sql
and the site traffic for firebirdsql.org is growing at a higher rate than before check the alexa stats

http://www.alexa.com/siteinfo/firebirdsql.org

So i guess the real opensource databases are now in right position now and the only thing that can gurantees that will stay this way is the fundations behind , it's community type process like the bazaar and not a cathedral type like in the mysql and solaris case

So replacements for oracle poisonous projects

 Oracle DB -> FirebirdSQL , PostgreSQL
 Mysql -> FirebirdSQL , Postgresql
 BerkleyDB -> FirebirdSQL, Sqlite

 Java -> php , qt , ruby , python ...

Systemd From they guy who fucked your audio system and still does with #pulse audio . Yah unix sux

He presents you the new init systems that it will be by default in fedora 14
http://0pointer.de/blog/projects/systemd.html

If you wonder why is not in #ubuntu sthink again (bugs and other crap that it will introduce and it will not solve nothing like in the pulseaudio case introducing new problems)

Unix philosophy is stupid for the desktop why do i need the cupsd , postfix , anacron , and all stupid deamons (7 tty consoles) and 60 threads of console-kit-daemons on my small netbook ? and i didn't forgot the 7 or more layers of X.org with networking and all but that is so slow like a dog when starting and moving my windows
That is one of the weaknesses of Linux : xorg system : I don't need so many layers i need something fast
that starts in one second and after that it will start the printing , mail daemons as needed
kernel should wake up the cron daemon once a day or never if i use the laptop only for 10 hours a day and in the night is closed also it should wake up cups only when i push the print button in openoffice
and gdm/kdm/slim should start first and then the deamons in the desktop/laptop mode profile
I don't care if the maildaemon starts after a hour when i boot my system , in fact i don't really needed it on my laptop also i don't need any password and ring key (security should be optional) and i don't want a password when i configure my wireless and when i configure my printer or update the system
In fact i don't want a a password at all on my borkstation64 @ home

Wednesday, August 25, 2010

Prius in a an alternate Romanian Universe

I was talking with Dragos and Boti at lunch and i told them about this story on /. :
Toyota Adds External Speakers To Warn Pedestrians and we imagined some cool scenarios like adding the sound of Ferrari to your prius one day and then adding the voice that will tell you "Get away MoFo from my way" another concept would be to add augmented ireality recognition so if you see a biker then you can send him a message like "move on the left lane pls"
but in our romanian universe i think they would put Manele on the speakers or in the best case bmw engine sound on it.

Monday, August 23, 2010

Installing firebird python power console

If you want to install the Firebird power console here are some steps on Debian/Ubuntu machines
under ipython shell

ipython -p sh


1. Install setup
tools 

wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz
tar -zxvf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
run setup.py install

2.install the power console

wget http://ibphoenix.cz/pwc/download/PowerConsole-0.7.5.tar.gz
tar -zxvf  PowerConsole-0.7.5.tar.gz
cd PowerConsole-0.7.5
run setup.py install

3.install the firebird pack

wget http://ibphoenix.cz/pwc/download/pwcfb-0.9.1.tar.gz
tar -zxvf pwcfb-0.9.1.tar.gz

cd pwcfb-0.9.1/
run setup.py install

4. if you get that kinterbasedb is not installed just do an (This is on Debian sid and is quite recent 3.3.0)
apt-get install python-kinterbasdb

ipwc
PowerConsole v0.7.5 [CLI version]
Python 2.6.6rc2 (r266rc2:84114, Aug 18 2010, 07:33:44) 
[GCC 4.4.5 20100816 (prerelease)] on linux2

Installed packages: pwcfb(0.9.1)

Type "help" for more information.

>>> help
To get help about specific topic, PowerConsole command
or Python object/function/expression, type help .

Simple PowerConsole commands:
=============================
connect  disconnect  help  list  ready  run  set  show

Miscellaneous help topics:
==========================
firebird  python  sql  terminator

>>> help firebird
TODO: Help for topic Firebird.
    
>>> help sql
Firebird package for PowerConsole should support all valid DSQL statements and
many ISQL commands as well (see Firebird documentation for details).

However, there are some exceptions and additions:
- SET TRANSACTION does not support table reservation options (yet).
- CREATE DATABASE and CONNECT support addtional optional argument (must be last one):
AS  that makes the Database object accessible under specified name instead
default alias "db".

>>>

>>> help connect
Attach to the Firebird database.

usage: 
CONNECT 'dsn or db' [HOST host][USER 'user'][PASSWORD 'password']
  [CACHE int ][ROLE 'role'][AS var][;]

If connection is sucessfuly established, this database connection is set
as main working database. Database object is stored and accessible under
default alias "db" or as alias specified by optional AS argument. If
alias name is already used for other attached database, this database is
disconnected.



Some of the examples are here
help connect
connect 'employee' user 'sysdba' password 'masterkey'
select * from country;
xshow procedures
xshow tables
list name,owner_name in db.tables
list name in (t for t in db.triggers if 'POST_EVENT' in t.source)
list name in (i for i in db.indices if i.unique)

One cool thing leads to another replacing #bash with #ipython , and #vim with #pyroom

I always wanted to switch forever from a bash type console to a python/ruby based one

and Ipython seems the best replacement shell in my opinion for bash



but he journey brings me to another cool edior , yes i hate VIM but i kinda like it's power but i still hate it's stupid not friendly user interface and so many hidden things
You need to grow a beard or something to get used to it
And i found The GLPython package provides an OpenGL terminal that lets you run an IPython console inside OpenGL.

wow that is cool , want to embed the ipython in a opengl interface (xonotic hud) and that made a click in my head


until i found pyroom on that page



Pyroom is a fullscreen editor written in Python and GTK featuring full screen multidocument text editor, small set of shortcuts, simple help page for shortcuts and different styles / colorsets available. More recent versions are available at http://pyroom.org

and that is very nice editor , full screen with text on the center and without annoying notifications from the system , similar with my way of running the terminal


Saturday, August 21, 2010

Howto:Building #php 5.3.x Firebird driver (php_interbase.dll) with #VC9

I have finished my guide to build the Firebird (2.5) driver for php 5.3
I have spend two weekends but the results are great now anyone can build and compile
Firebird 2.5 from source on any windows machine and anyone can build a driver for php 5.3.x and greater after that.
Rebuilding of Firebird 2.5 is not normally necesarry for normal mortals but is necesarry so that firebird driver to be included in the main build scripts and testing machines for php.net



ps: it's a tinny dll but it took some hours to make it work (~two weekends) and in that time i have created also the firebird 2.5 compilation movie on windows
How can you show me support ? you can donate for firebird fundation and that would make me happy (core developers will be happy and they will work to squish the bugs in the core and drivers but that doesn't meat that is the only contribution you can do: there are other ways : spread the word about firebird 2.5 release  , fix/triage some bugs , write some documentation  , blog about firebird ...)
also you can test and comment if there are any errors in the steps
ps: i will try to revive my mingw firebird compilation guide and i will add the php instructions too
I'm sorry that php core develpers are NOT using the very good mingw compiler and that they are using and persuading the usage of visual studio from ... Microsoft ...doh

Tuesday, August 17, 2010

New to #Ubuntu / #Linux ? start with the guides and the fine manuals

Start with ubuntu manual or the official ubuntu docs or debian docs

If the manual is not enough then there a nice shell guide where they learn you ancient unix commands in the terminal

What is next ? maybe some programming languages books like python or sql books if you are inclined to learn something new.

The next level would be drifting through the Linux manpages , this is what i did in my journey

At the end is nirvana learning the kernel internals and the source code (it's English slang and simple c) and can be tweaked at will and anyone can send patches upstream

ps: never ask why flash is slow on Windows , Linux , Mac : adobe bug she hates us "She's always hungry. She always needs to feed. She must eat."

Firebird 2.5 compliation with Visual Studio C++ 2008 (aka VC9.0) on Windows

Watch it here

http://vimeo.com/14190827



Firebird 2.5 compliation with Visual Studio C++ 2008 (aka VC9.0) on Windows from Marius Adrian Popa on Vimeo.


"Firebird 2.5 compliation with Visual Studio C++ 2008 (aka VC9.0) on Windows

1.Install the Visual Studio C++ 2008 Express .Skip the sql server install :)
http://www.microsoft.com/express/downloads/#Visual_Studio_2008_Express_Downloads


2.Download Firebird 2.5 source code RC3 Tar.bz2 .
http://firebirdsql.org/index.php?op=files&id=fb250_rc3
Open it and extract it with 7zip somewhere in C:\Firebird2.5_src

3.Download Sed from GnuWin I had to extract in c:\gnuwin32
http://gnuwin32.sourceforge.net/

4.Add gnuwin c:\gnuwin32\bin to the PATH envirnoment variable , test it from a new console if it works by typing sed it should show you something abut gnu sed help



5.Eliminate the fb2control from firebird2 solution if you are using Visual Studio EXpress (doesn't support MFC) and it's only the control pannel applet and try to build it , it should give you no errors when you build the solution.

6.From cmd in builds\src dir and run in order

make_icu

make_boot

make_all

If all is ok under output_Win32 you should have the bin folder include and lib

[HURRAY :) ]

ps: Video was done so that Firebird extension to be included into the next php release and it describe how to compile it on a windows machine
http://wiki.php.net/internals/windows/libs/firebird#building_php_interbase.dll_with_vc9

I have used the ie8 testing virtual machine for this video so the licence of the Windows machine is OK
psps: google sucks i couldn't upload there because is larger than 15 Minutes and i couldn't figure it out howto cut it with kdenlive , pitivi ...yet"

Sunday, August 15, 2010

Movies to watch , Dreams from last night

When Youre Strange A Film About The Doors 2010 (my favorite on to do list)
Vampires Suck (recommended)
and of course 
Twilight Eclipse (I saw that is at local cinema :Arta)


ps: last night i had a dream with Jim Morrison and he had something like 50 with wrinkles and all 
and he wanted to play an old song in the studio but the sound engineers put him someone with a voice on the tape and he was really angry because he really know how to sing his song 

anyway a strange dream , just because when i saw the movie 
The U.S. vs. John Lennon i was wandering how Jim would look at 40-50 years
and the John's fight with the state reminded me the Jim's fight with the state 
In both cases we know what happened 
The war is over , or it is ?




Why #ubuntu 64 bit not recommended for daily usage ? part two

if you think that 64 bit is not good for daily usage think again
some things like video decoding and encoding is faster even on atom based machines
and there is good reason because is so fast : the increased number of registers and
the registers are wider

http://x264dev.multimedia.cx/?p=499

As these benchmarks show, ffvp8 is clearly much faster than libvpx, particularly on 64-bit. It’s even faster by a large margin on Atom, despite the fact that we haven’t even begun optimizing for it. In many cases, ffvp8′s extra speed can make the difference between a video that plays and one that doesn’t, especially in modern browsers with software compositing engines taking up a lot of CPU time. Want to get faster playback of VP8 videos? The next versions of FFmpeg-based players, like VLC, will include ffvp8. Want to get faster playback of WebM in your browser? Lobby your browser developers to use ffvp8 instead of libvpx. I expect Chrome to switch first, as they already use libavcodec for most of their playback system.

Another thing is that all the apps are faster on 64bit than on 32bit and i can sense that speed
you know like when you overclock you cpu to gain something like 10% more in FPS
There is a feeling that system is faster on 64bit than on 32bit (more responsive)
Forget about flash , flash is slow on all systems be it quad or six core monsters
anyway is working without many issues on 64bit systems , So why the fark ubuntu is recomending
a slow operating system ?

http://tuxradar.com/content/ubuntu-904-32-bit-vs-64-bit-benchmarks

At this point, using a 64-bit distro is rather like enabling hyperthreading on your CPU - you get a free performance boost for your PC, and if that means you can put off upgrading it for another six months then it's an easy win. As we said earlier, it's a nice bonus. Sure, 5-10% isn't a lot, but when it's across your whole desktop and comes at no cost, why not?

Saturday, August 14, 2010

building #arora-browser stable + latest stable sdk for #qt on #windows

1.install qt sdk (latest stable)
2.install arora src and extract it
3.open it with qt creator 


arora build solution and it will give the  error mingwm10.dll not found 



i did a little googling and found the solution 




If you install QT on windows via 
the install executable  it creates a shortcut 
in the start menu that is called "QT 4.X.X Command Prompt" that is a 
call to your $ $COMSPEC (cmd.exe most likely) calling qtvars.bat which 
sets up you env for you. 


But it still crashed both the console and arora application

 i have openned the src.pro soulution and rebuilded
and  i write this from it :) 



What is next : building as static exe and eliminate the cmd.exe
console from mingw


Life is good after #Oracle , see you in 10 years

OpenSolaris is dead kudos to Linux type fundations like debian , fedora ...(see the distrowatch to see the enemies of Solaris)
MySQL is dead kudos to the Firebird and Postgresql real open source fundations. No one that sane will ever touch mysql source code that will come from oracle . See the java patent patern from bellow.
Java is dead and replaced by native and scripting languages , I see google opening the native code floodgates
and maybe entering meego fundation and this way who knows in the future we will see a QT based  android
There is is already a port of QT to android called android lighthouse
http://code.google.com/p/android-lighthouse/
and read the Qt on Android - the Bogdan Vatra interview

And you can watch some really interesting demos for qt on android , it really works well
http://taipan.blip.tv/

LightHouse is a project to make porting Qt easy. Essentially, you just need to create a plugin which moves your content to the screen of the device. In my case, I did that and ported the shared memory concept and semaphore model -> done.


with better speed :C++ is always faster than any interpreted code (You read this with an C++ browser and NOT with a java based one). And already i see they push the scripting languages like python and ruby and php and javascript . You can build a real apk now with full power of scripting languges inside. May the lua force be with you .Mono is nice but there is another enemy at the gates: Microsoft and they do have a lot of patents on their war chest

Also community reacts and people leave the oracle's open source projects

I can't continue to contribute to a project sponsored by a company that use an Open Source language to monetize the patents portfolio they got from the acquisition of another company. I will feel like I'm paying money to SCO to have the right to use Linux... Yeah, I'll feel that bad.
So, I choose to leave the team instead of going against my convictions.


Take a look at the map yes Firebird and Postgres is fighting a strong war against Microsoft and Oracle (there are Billions there in the middle )

Map should be updated with mysql code split inside of the oracle and some of it outside somewhere in the ubuntu's launchpad



Interesting that the browser war is a lost cause for microsoft , you can't do anything against webkit period
and to add salt to the injury you can't do anything against firefox
The same with open source databases you can't do anything against them it's lost war
Ahh and by the way SCO is dead , nginx is getting web market share and the army of IPhones and Androids
killed everything microsoft had put on the table in the mobile area : Do you want a Kin anyone
I'm wet after Android and nokia but i will never use a Windows based mobile phone .

http://www.theinquirer.net/inquirer/news/1602970/microsoft-won-t-dominating-os


Gartner's study shows Android to be the fastest growing mobile smartphone operating system (OS) in the second quarter .Android overtook Apple’s iPhone OS to become the third-most-popular OS in the world  As has been confirmed by several other reports, the Linux-based Android overtook RIM’s BlackBerry OS to become the top selling smartphone OS in the U.S.,

http://www.linuxfordevices.com/c/a/News/Gartner-2Q-report-and-AndroidLinux-fork/

Friday, August 13, 2010

network driver issues with #ie8 testing #windowsxp machine in #virtualbox

I compile both the firebird 2.5 and the php5.3.x snapshots for windows , no i don't use it at all but i needed to make the driver for firebird on windows machines for lazy people who don't know how to use virtualbox or install ubuntu on a separate partition

I couldn't find the amd driver on amd.com site , i really tried so instead i had to install
and choose the intel driver pro 1000 mt for my virtual box setup


Download the driver for intel board and windows xp in my case prowin32.exe

create the iso

genisoimage -o intel.iso ../../Desktop/PROWin32.exe
I: -input-charset not specified, using utf-8 (detected in locale settings)
37.41% done, estimate finish Fri Aug 13 21:35:53 2010
74.88% done, estimate finish Fri Aug 13 21:35:53 2010
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
13365 extents written (26 MB)

then mount it inside the virtualbox and then run the setup from there
after that the nework is up and i can continue to download the sdk from windows and from qt

Counting ip addresses with #lua #mod_security and #Firebird

I will use lua and mod_security to log some ip or content activity to firebird database
also we can show them in real time if we want to (selecting the last 10 visits for example)

The basic architecture is depicted in the following diagram



I count the ip addresses for one url and if it reaches certain threshold then i will trigger
an action (iptables) or deny access directly from lua (mod_sec rule)

I have a basic simple select example for lua and firebird database just to get a idea how it will look and how easy is to write one, also is good to test if lua + firebird installation is ok



First i have created a Security Rule Script in lua

java script won the war ? or java/c++ sux

that is quote of the day

At the USENIX annual conference last month, Gmail engineer Adam de Boor surprised the audience by noting that the company's Gmail service was written entirely in JavaScript, and that all of its code, around 443,000 lines worth, was written by hand.

http://www.infoworld.com/d/developer-world/google-executive-frustrated-java-c-complexity-375

i think it doesn't matter in what you write , scaling is not a mater of language design but a architecture problem the way you make the application scale to thousands of servers

languages designed only for that task don't work , in fact any general purpose languge can scale be it c++ or freepascal or if you really want nodejs or gluescript combination
all it takes is doing the design with on a clean sheet

here is one cool demo with nodejs http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/

Wednesday, August 11, 2010

generating visitors stats with visitors and uzing gzip-ed logs

tip of the day using visitors stats

zcat /var/log/apache2/firebirdsqlro_access.log.*.gz | visitors - >stats.html
--
50345 lines processed in 2 seconds
0 invalid lines, 0 blacklisted referers


http://firebirdsql.ro/images/stats.html


I like the piwik stats interface and seems that is using html canvas instead of flash

http://piwik.org/

Friday, August 06, 2010

Movies for weekend

The Rocker



The Condemned



Mallrats

http://www.youtube.com/watch?v=_eVo7aBze1w


Clerks II

Wednesday, August 04, 2010

PHP 5.3 tests and why mysqlnd is useless

seems that mysql "new driver" for php is slower than the old one

http://brian.moonspot.net/php-5-3-mysqlnd

and is stupid that ORM people they overuse the fetch_all method they should filter the pages from views and stored procedures and not to fetch all the millions of records in objects and then to do the sorting and filtering

Tuesday, August 03, 2010

I am going to FLOSSCamp 2010

I will quote Marius Voila


I can’t miss FLOSSCamp, it has become a tradition and everybody will be there. It will happen at Poiana Secuilor, near Predeal.
If you don’t know what is a FLOSSCamp for us, here is a description: an offline meeting for FLOSS contributors from all Romania, no matter their project affiliation, where we spend a week-end in the middle of the nature, with talks, distro-wars, camp fire, beer, grilled food, fun time and so on (a flamewar is so much better face to have with a beer in hand…).

FLOSSCamp 2010

Monday, August 02, 2010

On #debian : shortcutting circular dependencies in apt or forcing them

I wonder if is possible to detect and shortcut the circular dependencies in apt tree , the kind of shortcut we have in sql for some joins (i don't remember the post exactly)

http://people.skolelinux.org/pere/blog/Circular_package_dependencies_harms_apt_recovery.html