1938 - Adolf Hitler
1939 - Joseph Vissarionovich Stalin
1979 - Ayatullah Khomeini
2007 - Vladimir Putin
Links
Home Page
Picasa - Lide.cz - Google - Facebook - LinkedIn - Orkut - Twitter - IMDB Movies - FriendFeed - WikiLoc - EveryTrail - GPSies - ArtGallery
Picasa - Lide.cz - Google - Facebook - LinkedIn - Orkut - Twitter - IMDB Movies - FriendFeed - WikiLoc - EveryTrail - GPSies - ArtGallery
Thursday, December 20, 2007
Analysis with Groovy and AIDA
Groovy with AIDA makes very good environment for analysis of data in SQL database. User can easily access all data, perform analysis code and plot histograms. What is needed:
|
// create AIDA histogram from SQL
// ==============================
// This is pure AIDA code
// ----------------------
// Create all needed factories
af = IAnalysisFactory.create()
tree = af.createTreeFactory().create()
hf = af.createHistogramFactory(tree)
// Create your histogram here
histo = hf.createHistogram1D("histo", 50, 0, 1)
// This is pure Groovy code
// ------------------------
// Get driver to your SQL database
sqlDriver = Sql.newInstance("jdbc:mysql://localhost/Tuples",
"test",
"test",
"org.gjt.mm.mysql.Driver")
// Loop over table rows and accumulate histogram
sqlDriver.eachRow("select mycolumn from mytuple") {
histo.fill(it.mycolumn)
}
// This is pure AIDA code
// ----------------------
// Show your histogram in new window
plotter = af.createPlotterFactory().create("SQL Plot")
plotter.createRegions(1, 1, 0)
plotter.region(0).plot(histo)
plotter.show()
Note that you can use any Java library from your Groovy code (you can use ant Groovy library from your Java code too).
Monday, December 3, 2007
USSR ver 2.0 beta
| Since the Second World War, Russia has never been attacked by any foreign state. Russia itself has attacked and occupied almost all its neighbors. Half of Europe has been colonized for almost a half of 20 century. Countries closer to Russia have still problems to defend their independence.Does really anyone seriously think that there is any thread to Russia today (except for possible terrorist attacks) ? In recent years, Russia has quadrupled its military expenses. Yes, they still spend much less on army then USA, but prices are very different in both countries. Russian army can buy more soldiers for the same money then American one.Russia has reactivated its strategic bomber Tu-160, it is the only such plane in service today, all other countries have abandoned similar programs. Russia has developed and successfully tested the strongest conventional bomb ever constructed (Vacuum Bomb). (Note that the biggest nuclear bomb - Tsar Bomba - has been made by USSR.)Russian leaders have changed their rhetorics, they don't talk about communism any more. The imperialistic character of their politics stays the same as before. The same people are in power, only the most stupid and oldests have left. What would be the reaction if a former SS or Gestapo leader becomes German president 15 years after the end of the War ? Exactly that has happened in Russia.Russia is again building its Camp of the Peace and Socialism (just the name has changed) and creates coalitions with worst regimes in Earth. The new division of the world has started - who will fall into its neosovietic trap ? |
Saturday, November 17, 2007
Jak sel Rudoch od valu, a nemuze-li se vratit
Wednesday, November 7, 2007
Pripominame si slavne vyroci Velke Rijnove Socialisticke Revoluce
Tuesday, September 18, 2007
Putin ?
| Voici mon commentaire à l'article concernant Putin dans l'AgoraVox/FR: > L’Europe a urgemment besoin d’une Russie forte et prospère qui contrebalance le pouvoir néfaste des Etats-Unis. Je pense que les citoyens de la moitié de l’Europe (qui a été occupée par la cette Russie forte) ne seront pas d’accord. Putin appartient en cette Russie - il était un dirigeant de KGB (= version russe de Gestapo). Et il n’a pas changé - il est simplement plus intelligent qui les vieux chefs communistes russes. La Russie de Putin est un vrai danger pour l’Europe (au moins pour sa partie centrale). Le fil est ici. |
Saturday, September 15, 2007
Vzpominka na 51.vyroci umrti TGM
Tuesday, September 11, 2007
Tajici ledovce
Vratil jsem se z nadherneho putovani po kanadskych Skalistych horach. Stovky kilometru hor, lesu, jezer a ledovcu.
Wednesday, August 1, 2007
Tuesday, May 1, 2007
May - K.H.Macha
| Late evening, on the first of May— The twilit May—the time of love. Meltingly called the turtle-dove, Where rich and sweet pinewoods lay. Whispered of love the mosses frail, The flowering tree as sweetly lied, The rose's fragrant sigh replied To love-songs of the nightingale. In shadowy woods the burnished lake Darkly complained a secret pain, By circling shores embraced again; And heaven's clear sun leaned down to take A road astray in azure deeps, Like burning tears the lover weeps. english translation C'était la fin d'un soir de Mai, Le premier Mai, le temps d'aimer. Le tendre appel des tourterelles Montait dans la senteur des pins. La mousse chuchotait de secrètes tendresses. L'arbre en fleur lamentait un amoureux mensonge. Le rossignol chantait son amour à la rose, Et la rose amoureuse en parfums s'exhalait. Le lac uni, dans l'ombre des charmilles, Murmurait la douceur d'une peine secrète A ses rivages, dont la courbe l'embrassait. Les étoiles, soleils de mondes inconnus, Erraient parmi l'azur strié de bandelettes, Et brillaient comme autant de larmes amoureuses traduction française |
Subscribe to:
Posts (Atom)