Archiv der Kategorie programming

Linux kernel report

Jonathan Corbet presented a informative presentation about the recent linux kernel work. It was held at the 11′th realtime Linux workshop, and offers some insides and statements not always presented in the normal press, like from 2.6.27 -> 2.6.31++ rough timeframe (October 9, 2008 to September 18, 2009) 48,000 changesets was merged by 2,500 developers and 400 employers. This result is that the kernel grew by 2.5 million lines, or better 140 changesets merged per day and 7267 lines of code added every day. But he also depicts some major functionality added by each version and why it’s needed. paired with some funny pictures a nice walk through. The other papers from the conference are also a good read, take a look at them by yourself

mobileHacking.org

The people behind MobileHacking.org has put together a useful collection of variuos parts needed to craft together an application, or at least obtain an idea whats available. especially the mindmaps under application mapping offers you a glimpse about what combinations are possible, evem you have to figure out what works together. nevertheless thanks for he list

XMPP news

Cisco announced that they will aquire jabber Inc. Jabber which was the protocol name before it was adopted by the IETF as XMPP (extensible Messaging and Presence Protocol), is an open XML technology for real-time communication. Due to it’s open nature you find different (and many OSS) implementations for various clients and servers. I follow from time to time the progress of ejabberd, but it really depends what you have already in your environment established, so it worthwhile to take a look at metajacks article and the answers. the statement about being a memory hog seems to be much better with the recent versions. a worthwhile read about mcroblogging integration is again by Jack Moffit

graph/chart creation

It’s amazing how many charting/graphing solution popped up in the last 2 years. But I still have some I’m missing. Nevertheless I’m getting old and i find myself quite often digging for the URL i currently have in mind. due to this, I thought it’s worthwile to list some inhere.
Jacob Gude at Six Revisions shows some javascript solutions. jerome (and others, but I already knew this links) pointed to OECD Factblog, about how to publish charts in websites. One of my personal favorit is created by timepedia, take a look at chronoscope. Take also a look at Ray’s Google I/O session in his blog, it’s definitly worthwhile. Take also a look in the about page, it lists a lot of links to must know people/projects. What also comes very handy in my eyes is the ploticus project and of course AT&T’s graphviz package. Vida Hokstad combined graphviz with traceroute and a cool XSL stylesheet to present it more pleasant. A good collection of Information Architects resources was collected by the dynamic diagram people. If you’re looking for ideas on visualisation, one of the best sources is visualcomplexity. another source of how helpful visualization are in real world problems can be found at secviz. Flowingdata is also worth to mention. For network visualization, caida is always a good source to look at. en espagnol, pero puedes encontrar articulos de usabilidad aqui, (some articles are also in english). other impessing projects can be found at MIT’s simile site. When it comes to data mining, take a look at Rapid-I. ElderCare has assembled a list of visualization research to share .

enough for today, I’ll add some soon. visuale

programming language authors

30 programming language authors reference

hoard

Emery Berger has created the Hoard fast memory allocator. The whole site is a fantastic memory managment resource. Hoard is easily incorporated (drop in replacement), so if you’re using C/C++ and threading, take a look. I mentioned this lib so often, that I needed to mention it.

crowdsourced tablet PC

I’ll put this definitly on my watchlist. NOt familar with crowdsourcing? Here is a blog about it and here is a nice writeup about topcoders in the recent management lab issue which follows a similar idea

GWt extreme

seems I learned how to embed :-). I went through a couple of good presentations recorded at Google I/O recently. while I liked the Lombardi folks explaining how they switched from flash to dojo finally implementing GWT, as well as the one showing the recent advances in GWT 1.5 (Javascript and DOM programming in GWT) where its getting clear that they want to ease (or better shield you) from accessing low level DOM. But nevertheless the presentation embedded above gets into gwtquery, fast drawing and a very nice way to develop gadgets.

Hibernate examples

some small examples covering various hibernate issues.

tcp_echo

even the echo service is disabled on Linux machines, it’s nevertheless an easy way to figure out spurios network delays. TIn perl the basics are already written in the NET::PING module. I only added some timing to it. If you don’t have the perl modules installed, a workaround is creating a script containing the line

echo $2 | /usr/bin/netcat -v $1 7

which you could than invoke with time scriptname host.domain.dmn string_to_use
here ist the other way

#!/usr/bin/perl
# simple tcp echo programm
# sample usage (verbose mode)
# /xxx/bin/tcp_echo.pl -v 1 -h host.domain.dmn
# /xxx/bin/tcp_echo.pl: host.domain.dmn 2
# res = 1 host host.domain.dmn time: 0.012088
# sample usage (normal mode)
# /root/bin/tcp_echo.pl -h host.domain.dmn
# res = 1 host host.domain.dmn time: 0.010903
#
use strict;
use Getopt::Long;
use Net::Ping;
use Time::HiRes;
use Time::HiRes qw(gettimeofday tv_interval);

my $program_name = $0;
my $timeout = 2;
my $hostname = “localhost”;
my $debug = 0;

sub helpMessage()
{
print “$program_name [-h|-?] [-v #] [-t #] [-h FQDM] [\n”;
print “-help|? this message\n”;
print “-v[erbose] enables debug messages \n”;
print “-t[imeout] timeout (default: 2)\n”;
print “-h[ost] hostname FQDN (default: localhost) \n”;
exit 1;
}

sub run()
{
my $t0 = [gettimeofday];
my $res = pingecho( $hostname, $timeout );
my $t1 = [gettimeofday];
my $elapsed = tv_interval $t0, $t1;
print “res = $res host $hostname time: $elapsed\n”;
}

Getopt::Long::Configure (”bundling”);
my $l_result = GetOptions (
‘help|?’ => sub { helpMessage() },
‘verbose|v=n’ => \$debug,,
‘host|h=s’ => \$hostname,
‘timeout|t=n’ => \$timeout);

print “$program_name: $hostname $timeout \n” if $debug;

&run();