Every Build You Break
A song by programmers for programmers.
But who the hack is Naggi ?
And the new version:
A song by programmers for programmers.
But who the hack is Naggi ?
And the new version:
One of the most productive IDE applications, Delphi RAD Studio 2010, from Borland Embarcadero, had reached version 2010:). Here is a video demonstrating why Delphi is still the best player in area.
The introduction explains about multitier development, multiple databases code quality tools, touch and gesture inmput.
via Embarcadero
Apache Maven is a software project management based on concept of a project object model (POM).
Get Maven from http://maven.apache.org/download.html, unarchive it and add maven binary path to system path.
$ cd /usr/local
$ tar -xzf maven-2.2.1.tar.gz
$ ln -s maven-2.2.1 maven
$export PATH=/usr/local/maven/bin:${PATH}
Now you are ready to run maven commands like
$ mvn assembly:assembly
$ mvn site assembly:assembly
$ mvn install
I’m using Debian Lenny 5.0 and java 1.6.0_16, but should work on every Linux disitribution.
InnoDB version 1.0.3 was a historical one because integrates several patches what boost the InnoDB with more than 100% speed in some cases. Now version 1.0.4 is out and it comes also with some improvements. Some of the new features:
1. Multiple Background Threads
2. Master Thread I/O Capacity Tuning
3. Group commit now allows InnoDB to scale better from 16 to 64 users
4. Adaptive flushing dramatically eliminates throughput dips during checkpoints
For more detailed features please read: http://www.innodb.com/wp/products/innodb_plugin/license/third-party-contributions-in-innodb-plugin-1-0-4/
If you want to see some tests just look here: http://www.innodb.com/wp/products/innodb_plugin/plugin-performance/innodb-plugin-1-0-4-performance-tests-and-results/
Also with this version some bugs was fixed.
Is Sunday, is raining, my wife is reading some psychological shit and I’m bored. I knew from the morning I need to do something very very important today, so I start to count the “fuck” word in Linux Kernel.
This command is faster
find . -name *.[hcS] -not -regex ‘\./\.git.*’ | xargs cat | grep ” fuck” | wc -l
than this command:
egrep -ir “( fuck)” * | wc -l
Memcpy is the fastest way to copy one chunk of memory to another. But right now Microsoft is banning memcpy function from their products. memcpy over the years was responsable for a lot of security problems in Microsoft products, but the main problem of this function was the programmer. The approach of this function was to provide us a very fast way to copy a chunk of memory to another and it succeed over the years, but passing bad variables to it is the programmer fault not the function itself.
I was just curious how many times memcpy appears in linux kernel source (2.6.29.4) code and I just run following command to find out
find . -name *.[hcS] -not -regex ‘\./\.git.*’ | xargs cat | grep memcpy | wc -l
And the result was
12092
A lot of possible bugs … then why Linus doesn’t ban this function from the Linux kernel?
Beside that Microsoft also ban : RtlCopyMemory, CopyMemory.
From msdn site: http://blogs.msdn.com/sdl/archive/2009/05/14/please-join-me-in-welcoming-memcpy-to-the-sdl-rogues-gallery.aspx
Now developers who want to be SDL compliant will should replace memcpy() functions with memcpy_s, that takes an additional parameter defining the size of the destination buffer. But my Question is: what if happens if all parametres are wrong ? You can only check the consistency of 2 arguments … and memcpy_s it seems is 3 times slower.
In the article from msdn site posted by sdl we have some hints how to write our code SDL compliant.
Add
#pragma deprecated (memcpy, RtlCopyMemory, CopyMemory)
in your header files and at compile time you should see something like
warning C4995: ‘memcpy’: name was marked as #pragma deprecated
Also you can ban this on GCC compilers in this way:
#pragma GCC poison memcpy RtlCopyMemory CopyMemory
Happy Coding !
I just found this article: 30+ Reasons Why All Programmers Are Schizophrenics. Is very funny.
Symptoms of Schizophrenia:
Deterioration of personal hygiene
Check
Irrational statements
“IE’s ActiveX control ‘XMLHTTP’ and XMLHTTPRequest(W3C Standard) can be used for Ajax Programming“
I don’t think it is irrational – but schizophrenics rarely think their own statements are irrationalExcessive writing without meaning
What do you think programming is?Indifference
Once I am on the computer I really don’t care about anything else
This are just few funny reasons … read more on http://blog.binnyva.com/2007/11/30-reasons-why-all-programmers-are-schizophrenics/