Archive for the 'p.d.o' Category

svk shortcuts

Jörg, you can significantly reduce the number of commands to type by using some of the useful svk shortcuts.

First, you can create the mirror and check it out with a simple one liner:

svk cp svn+ssh://joerg@svn.debian.org/svn/debconf-data/ /chekout/directory

It will ask you the base URI to mirror (in case you'd actually want to mirror svn+ssh://joerg@svn.debian.org/svn/, for example), and then the depot path for the mirror and the local svk copy. The checkout will then be available in /checkout/directory.

Then, to get updates from svn:

svk up -sm

And you can also push your changes into svn with

svk push

2007-04-21 08:55:18+0900

miscellaneous, p.d.o | Comments Off on svk shortcuts

Init policy

There has been quite some talk about init systems on the planet, recently, but I saw noone talk about the policy stuff we have.

It annoys me that, while we have an existing policy-based system to enable or disable services, yet all rc scripts I know of that disable themselves do it through a pref in /etc/default/service_name. It also annoys me there is near to zero documentation on how you are supposed to write your policy script, and that there is no bundled policy that would help getting rid of the NO_START or whatever variables in /etc/default/*.

2007-04-14 09:32:11+0900

debian | 4 Comments »

Browser detection

Erich, the Gecko version number is pretty meaningless.

With mozilla releases, the date reflects when the build was done. Which means if you build Firefox 1.5 today, it will get a Gecko/20070410 string.

With Debian releases (except icedove), the date reflects the date for the client.mk in the source tarball, which is one of the last file upstream touches before a release. This helps having the same date for all 11 architectures (even after a binNMU) and is somehow more significant, but still not that much.

There are, at the moment, 3 main branches for Gecko-based code: MOZILLA_1_8_0_BRANCH, MOZILLA_1_8_BRANCH and HEAD. The latter currently contains Gecko 1.9 alpha, Firefox 3.0 alpha, etc., and will eventually be branched to a MOZILLA_1_9_BRANCH or something similar when going in beta. The other branches are respectively for Gecko 1.8.0.x (Firefox 1.5.0.x, Thunderbird 1.5.0.x, Seamonkey 1.0.y, Xulrunner 1.8.0.x) and Gecko 1.8.1.x (Firefox 2.0.0.x, Thunderbird 2.0.0.x (not yet released), Xulrunner 1.8.1.x).

[ In Debian Etch, we have Iceweasel 2.0.0.3 (Gecko 1.8.1.3), Iceape 1.0.8 (originally Gecko 1.8.0.10 but patched at version 1.8.0.11), Icedove 1.5.0.10 (Gecko 1.8.0.10 ; changes from version 1.8.0.11 didn't make it, but they don't affect the mailer code), and Xulrunner 1.8.0.11 (Gecko 1.8.0.11). The latter is used by kazehakase, galeon and epiphany. ]

Whenever a new security release for Firefox 1.5.0.x and other products from the Gecko 1.8.0.x branch are done, the Gecko date obviously changes, and doesn't reflect the fact that it's an older Gecko than that of Firefox 2.0.0.x...

Now if you take a closer look to the user agent string, you'll see something that is actually more significant than the Gecko date, i.e. the Gecko revision, such as "rv:1.8.0.11" in "Mozilla/5.0 (X11; U; Linux i686; ja_JP; rv:1.8.0.11) Gecko/20070324"

2007-04-10 08:12:46+0900

firefox, iceape, xulrunner | 4 Comments »

Debian’s Easter

Easter this year is huge :

  • Sam is elected DPL,
  • Sarge r6 is released,
  • and more importantly Etch is released.

Happy Easter !

PS: If FTP masters could push the number of packages in NEW down, that would be even greater.

2007-04-08 08:53:44+0900

debian | Comments Off on Debian’s Easter

Google Keywords – Mar 2007

"google keywords" - being the top search !
"ca passe" - ça passe pas
"i've got married" - congratulations
"blitzer blog" - not here
"how to gzip vmdk files without powering off vm" - wow, that's courageous
"cat and mice codes" - is it related to spaghetti code ?
"php script rm *.*" - what are you expecting to do ?
"should i use ubuntu or debian" - debian !
"why sucks is not scientifically correct" - yes, why ?
"drop laptop crash" - try and tell me what happens
"ext3rminator" - work in progress

2007-04-02 19:30:53+0900

p.d.o, website | Comments Off on Google Keywords – Mar 2007

Recycled LISPers ?

Who else could do things such as solving Sudoku puzzles... in XSLT ?

2007-03-30 08:54:40+0900

miscellaneous, p.d.o | Comments Off on Recycled LISPers ?

Close-up

I just saw that on TV. The guy is amazing. He's this year's close-up world champion.

2007-03-17 23:57:55+0900

miscellaneous, p.d.o | Comments Off on Close-up

diffing

I always assumed the diff algorithm to be quite standard and used anywhere there is a diff function, well it seems it is not, and it also seems that human readability is very dependent on the tool you use:

Here is what diff -u, git diff and tla diff give:

@@ -42,10 +42,9 @@
 
 include $(DEPTH)/config/autoconf.mk
 
-include $(topsrcdir)/config/rules.mk
+EXTRA_COMPONENTS = nsKillAll.js
 
-libs::
-       $(INSTALL) $(srcdir)/nsKillAll.js $(DIST)/bin/components
+include $(topsrcdir)/config/rules.mk
 
 clean::
        rm -f $(DIST)/bin/components/nsKillAll.js

This is the least human readable output. In comparison, svn diff, svk diff and bzr diff do output:

@@ -42,11 +42,10 @@
 
 include $(DEPTH)/config/autoconf.mk
 
+EXTRA_COMPONENTS = nsKillAll.js
+
 include $(topsrcdir)/config/rules.mk
 
-libs::
-       $(INSTALL) $(srcdir)/nsKillAll.js $(DIST)/bin/components
-
 clean::
        rm -f $(DIST)/bin/components/nsKillAll.js
 

Mercurial outputs:

@@ -42,10 +42,9 @@
 
 include $(DEPTH)/config/autoconf.mk
 
+EXTRA_COMPONENTS = nsKillAll.js
+
 include $(topsrcdir)/config/rules.mk
-
-libs::
-       $(INSTALL) $(srcdir)/nsKillAll.js $(DIST)/bin/components
 
 clean::
        rm -f $(DIST)/bin/components/nsKillAll.js

which is pretty similar.

I got too fed up with tla and baz to try more (and didn't even go up to committing a file in baz, so there's no diff result for it)

2007-03-16 21:55:44+0900

miscellaneous, p.d.o | 3 Comments »

DPL platforms summaries

Enrico, you forgot your own advanced ways of wasting time (and have some fun). ;)

Here are the summaries of the candidate DPL platforms, in one sentence each:

93sam

Once we don't Select a friendly community where the packages towards a lot of software, community are most noticeable use to show their packages towards a problem good job.

aigarius

While I were elected DPL, I have to time leave Debian Developers Corner Site, map Search about it should not have not be Even if he has, the NM; process is before.

ajt

Ideally, I'd expect that we ought to make It work together in Linux and a DPL review of the community and October firmware resolutions recall vote maybe That's been some of stuff I've been a server near you United States.

hertzog

The sponsorship, principle.

sho

I believe admit volunteers to scratch our bug tracking system I do what I would like LowThresholdNmu to happen again; Admit it has rhymes with a few of it Debian; is to be really like to automatically see them.

sjr

To the web site, map Search Not Published Yet Back to the Debian Project Select a server near you United States; the web Site, map Search Not Published Yet Back to the debian For other contact information, See the Debian Project Select a server near you United States.

stratus

It is today in the web team, the users: and waited supergroups i will that any Debian support: this change our major Desktop, with Lenny development website, we've now almost our official status and how a statistics page.

svenl

To the ban.

wouter

I am of a native Dutch is not an area where possible.

These summaries have been generated by the following script:

for i in 93sam aigarius ajt hertzog sho sjr stratus svenl wouter; do
  echo $i
  lynx -dump -nolist http://www.debian.org/vote/2007/platforms/$i | dadadodo -c 1 - 2> /dev/null
done

It is somehow subobtimal, as aigarius and sjr's summaries show: the headers and footers of the page have some influence, but well... it was fun anyways.

2007-03-02 14:09:56+0900

debian | Comments Off on DPL platforms summaries

Google Keywords – Feb 2007

I think I'm going to make a tradition of this google keywords list that I reinitiated last month. Anyways, here's the list for February 2007:

"google keywords" - waw, already on the first page for this
"i am a dumb ass" - me too
"blackout in europe" - that happened
"firefox 2 debian package" - you're looking for iceweasel
"mozilla firefox japanese symbols" - it's called characters, not symbols
"rebrand firefox as iceweasel" - not even done yet :(
"debian iceweasel replaces firefox" - surprised ?
"fucked up resizing partition" - welcome to the club
"hobbit debian" - I'm not a hobbit !
"how can i change firefox to iceweasel on kubuntu" - waw, I'm impressed
"web 2.0 vs. web 1.0" - not here
"bugzilla bts (hate or sucks)" - bts sucks less
"cmd to download firefox on ubuntu" - apt-get install ?
"i need firefox with debian" - not happening
"what is a esx flat file" - basically, a raw disk image
"linux ext3 noload option" - does not work as expected
"fact about a horse" - persistant...

2007-03-01 08:51:11+0900

p.d.o, website | 1 Comment »