Showing posts with label timeloss. Show all posts
Showing posts with label timeloss. Show all posts

Friday, February 25, 2011

getting svn and git svn to work long paths on windows

It appears that no latest stable SVN client (1.6.15 latest today) work well when working with projects with long paths (i.e. > ~ 250 characters). Noone on the team had problems as they used TortoiseSVN, but I insist on checkout out from the command line, and I also want to use git svn.

Now there's a work-around, but it seems relatively unknown. Yes you read well: use absolute paths instead of relative paths. That's it. Basically do:


$ svn co http://server/project/trunk c:\Projects\project.git


For git svn, from the git batch command line:

$ git svn clone [options] http://server/project/trunk /c/Projects/project.git


It also appears that svn client 1.7, out Q1 2011, will also fix that. But I couldn't confirm it from the roadmap.

Thursday, January 20, 2011

Trafikanten & open data update - things are happening!

I am just back from a meeting with Trafikanten (where I met the Advisor for realtime data and the QA responsible). The meeting has been from my point of view pretty constructive. We've then spent a bit of time to better understand our needs. We've exchanged thoughts around their current data offering, the licensing, etc and came up with ideas that I think will make many people happy. I won't say much more for the moment, as I am waiting for them to actually implement the ideas we talked about, but as soon as I know more, you'll be posted. I would like again to thank Trafikanten for their time and I really wish them good luck with their changes. Exiting times!

Friday, November 5, 2010

Open Trafikanten data, update

A little update after my latest encouraging post:

trafikanten

It doesn't seem that Trafikanten is ready to open some of its data. They are on the defensive now... I have 3 weeks to answer what I can answer to that mail.

Too bad. I think we could have worked towards an open and better service for Norway.

Thursday, September 16, 2010

Open Trafikanten data, a better future ?

Bjørn started a Facebook group to push for open communications from Trafikanten and NSB. I am all for it.

Last year I tried to get access to similar information from Trafikanten and Ruter. I didn't manage to get anything.

Here's a few extract from communications I had with them.

Wednesday, February 3, 2010

Groovy/java/maven: ultra short coding cycles, not

The whole Java (maven, groovy, gradle, ...) experience starts pissing me off more and more. I want to write code with ultra short compile/test cycles.

Monday, January 11, 2010

To wean

the unix way

2. To detach from that to which one is strongly habituated or devoted

$ grep 127.0.0.1 /etc/hosts
127.0.0.1 localhost
127.0.0.1 lemonde.fr liberation.fr rue89.com lequipe.fr alterslash.org aftenposten.no
127.0.0.1 www.lemonde.fr www.liberation.fr www.rue89.com www.lequipe.fr www.alterslash.org www.aftenposten.no

Saturday, January 9, 2010

Deleting large amount of emails from gmail make your account unaccessible for several minutes.

My Gmail account has been too slow lately. As it approached 90% size, I tried to reduce its size, by deleting old mailing list emails.

I deleted 3 times more than ~50 k emails, and each time, my account became unavailable for several minutes (about 30), including through IMAP! Got several errors on the web page (16 or 17 and 67 if I recall properly).

You've been warned. Plan ahead if you try to do the same thing :)

Final words: I am now down to 57% gmail usage. Need to find or write a tool to be able to identify the culprits. Maybe some kind of FUSE IMAP file system to reuse something like baobab (aka http://windirstat.info/ for Gnome) ?

Wednesday, November 25, 2009

Efficiency of a one time debugging session.

Value stream mapping of a debugging session of a fast moving open source project.


  • svn update: 3 min
  • mvn install (downloads the world) [FAILURE]: 3 min
  • mvn clean install (downloads the world) [FAILURE]: 3 min
  • manualy clean the workspace (remove deleted files): 1 min
  • mvn install (finishes downloading the world): 5 min
  • mvn -DdownloadSources=true idea:idea (downloads the world II, the source return): 10 min
  • start idea: 3 min
  • open project inside idea: 5 min
  • configure a newer JDK in idea: 3 min
  • start the program in debugging mode: 30 sec
  • add a breakpoint: 15 sec
  • reproduce the problem: 15 sec
  • find the bug: 15 sec
  • mail the user: 1 min



Total time: 48 min 15 sec
Time effectively spent on the issue: 2 min 15 sec
Efficiency: 4.66%


YMMV. Done on an almost 3 years old laptop running Ubuntu (1.83GHz Dual core, 2G RAM, 320G disk).

(those timings are from memory, but they seem consistent with the time I used between my mails.

Potential conclusions:

  • don't do random development on semi-complex open source projects ?
  • use less complex toolkits/development environments. I usually just read the code in less, nano or gedit. Hint: if someone gives me a simple editor that allows me to navigate between classes, that fires up very quickly, by just reading a maven pom, that would be pretty cool. If that editor had a terminal, even better. Maybe it is time for me to revisit emacs and its ecb...


There was a time when firing IDEA was a joy. Is my machine too old ? Did I lose something?

Tuesday, November 24, 2009

xhtml, html and file extensions

I lost 30 min trying to understand why my proposal for handling String timezones in maven POM files (a la 'Europe/Oslo' instead of '+1' that doesn't take into account summer time) wasn't working in firefox 3.5.5 but was working in chrome 4.0.250.0 and opera 10.01:

If I understood well, files served as .html are loaded as HTML files not as XHTML files in firefox, even if the doctype is XHTML transitional. So >script ... /> are turned into >script< and thus mess up the next element... w3c validation doesn't say anything.

I am still unsure this is how it should work, but using <script ...></script> solves it.

thanks to #firefox on moznet for help.