Stargate SG-1

May 7th, 2007 by prozz

Season 1 finished.
Season 2, finished.
Season 3 in progress (4 episode). Finished! I’m curious how the team can defeat the ugly Replicators now :)
Season 4 in progress.
.
.
.
I did not make update for long, but I’m in the middle of the 7th season, tdi should be proud :P (added 2007.09.16)

Guice tips

March 30th, 2007 by prozz

Startups

March 27th, 2007 by prozz

Darts League

March 26th, 2007 by prozz

My RoR first project goes beta. Darts league is up and running under:
http://boss.cognifide.com:3000/public.

I’m waiting for user stories: what I need to implement? Please give a feedback here :)

Perl snippets

March 19th, 2007 by prozz

Sort numeric table:
my @tab = sort { $a <=> $b } @{ $results->{$transaction} };

Create classes:
sub new {
my $class = shift;
my $self = { %OPTIONS, @_ };
return bless $self, ref $class || $class;
}

Useful one-liner:
my $sum = eval(join "+", @tab);

Ruby & Rails

March 19th, 2007 by prozz

After getting familiar with Guice and abandoning Stripes (I definitely enjoy Spring MVC) I was trying Ruby and Rails. I’m really impressed. It’s worth getting into. Hope there will be a project to write in Rails (maybe darts league :) or something more commercial?)

Needs evaluation

March 14th, 2007 by prozz

PS. I’ve been reading recently that “Guice + Stripes = no XML hell”. I do not think there is XML hell at all in webdevelopment (”if you know what you’re doing, you win anyway”), but making a new approach can be just fun :)

Eclipse Plugins

March 12th, 2007 by prozz

JMeter and Webservices

March 9th, 2007 by prozz

Here is a useful patch for handling DIME responses for v2_2 tag. Remember to put javax.activation and javax.mail jars in lib directory.

Index: WebServiceSampler.java

===================================================================

--- WebServiceSampler.java	(revision 516411)

+++ WebServiceSampler.java	(working copy)

@@ -517,6 +517,11 @@

 				result.setSuccessful(true);
 				result.setResponseCodeOK();
 				result.setResponseHeaders(this.convertSoapHeaders(st.getHeaders()));
+			} else if ("application/dime".equals(st.getResponseSOAPContext().getContentType())) {
+				result.setSuccessful(true);
+				result.setResponseCodeOK();
+				result.setResponseData("DIME message".getBytes());
+				result.setResponseHeaders(this.convertSoapHeaders(st.getHeaders()));
 			} else {
 				result.sampleEnd();
				result.setSuccessful(false);

Survival Kit

March 5th, 2007 by prozz
  • C:\cygwin\bin\rxvt.exe --loginShell -sr -geometry "130x50" -title "konsole" -fg gray -bg black -fn "Fixedsys" -fb "Fixedsys" +sb