Archive for March, 2007
Startups
Tuesday, March 27th, 2007Darts League
Monday, March 26th, 2007My 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
Monday, March 19th, 2007Sort 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
Monday, March 19th, 2007After 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
Wednesday, March 14th, 2007PS. 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
Monday, March 12th, 2007JMeter and Webservices
Friday, March 9th, 2007Here 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
Monday, March 5th, 2007-
C:\cygwin\bin\rxvt.exe --loginShell -sr -geometry "130x50" -title "konsole" -fg gray -bg black -fn "Fixedsys" -fb "Fixedsys" +sb