Search Results: "nijel"

12 January 2009

Michal Čihař: Cygwin in Wine?

As some people complained that Gammu does not build under Cygwin, I decided to setup a test environment. And of course I'm not going to use real Windows, that would not allow me to use it effectively, so let's do it in Wine. I currently have 1.1.12, which is in Debian packages (in experimental), so I blindly downloaded Cygwins installer, started it and (even if Wine complained quite loudly about not supported things) it installed without a single problem! So let's try to compile Gammu in it. First attempt fails, because Cygwin symlinks do not work in Wine. But there is an easy workaround - just copy as.exe and ld.exe instead of symlinks and now even the compiler works. Rest is surprisingly without any problems, so I can nicely get test results to Gammu dashboard. Kudos to all people who make this work.

11 January 2009

Michal Čihař: Say good bye to python-gammu

python-gammu has been here for more than five years and now it is gone! Well not really, I only integrated it into regular Gammu sources, what is anyway logical place where it belongs. Especially when looking on last releases, which were anyway bound together. The fact that several past releases have to happen together for both python-gammu and Gammu is not the only reason for merge. The other two major reasons are cross-compilation and testing. Besides this, with merged source, it will be easier for some distributions to deploy newer Gammu to released products. For testing I definitely could use some python based test framework, but I'd like to have all test results in a single place and I didn't find something what would easily integrate some python test framework with some dashboard and also would be capable of doing C testing. Also current CTest/CDash combo used in Gammu really fits my needs for good overview what is going on in daily tests, so I preferred to stay with current system. Cross-compilation support is really missing in distutils and I was using set of hacks to make it properly produce binaries for Windows on Linux. With current CMake based setup, all this is just matter of providing Python instance to use. On the downside, I can not really drop distutils usage, as they will still be needed for creating binary installer for Windows, unless I'll find some clever way how to do this in CMake (which I really doubt).

9 January 2009

Michal Čihař: Gammu test version 1.22.90

After lot of development, I finally decided to release new testing release of Gammu. The biggest changes are in SMS daemon, which got lot of improvements and is now in separate binary gammu-smsd. It can log better (support for syslog and Windows Event Log has been added), it can work as a proper daemon or Windows Service, it can be debugged easier (Gammu logs go to same log as other messages, SQL queries can be logged), can reload configuration on the fly. In libGammu, debugging has also improved (you can now use callback to process messages), some memory leaks were fixed and some minor bugs has been fixed. Command line interface now supports text for text messages to be entered through parameter and not only using standard input, it has a new command chekfirmware which obsoletes UsePhoneDB configuration option and other bug fixes has happened, for example messages sending is now again working on Windows. And last but not least, SMS daemon, all related things and gammu configuration files now have man pages, which boosts documentation level from none to almost perfect ;-). As a special bonus for Czech users, Gammu translation is now more complete and all new man pages are translated to Czech. Full list of changes: You can download from usual place: http://cihar.com/gammu/, Debian users will find packages in experimental as soon as they will go through NEW queue.

7 January 2009

Michal Čihař: rel-vcs microformat

Joey, I really like rel-vcs proposal. On the other side it misses few good things which were already found for Vcs-* fields (there is already no XS- prefix for quite a long time). First it misses information about branch. On git, you will automatically get a master, but for SVN, you need to point to some branch, otherwise you get really lot of stuff. And I think that practise should be same as for Vcs-Svn - to point the field to trunk URL. The second thing which this proposal misses is Vcs-Browser. It would not be useful for tools like webcheckout, but it would be great to have support for it in browsers or in plugins such as Operator. How about using type="browser" for this?

4 January 2009

Michal Čihař: Gammu SMSD changes

SMS daemon in Gammu is one of it's widely deployed applications. However I never really liked the way how it is integrated into Gammu. I did not know much the code, so I did not want to touch it. But recent posts on gammu-users mailing list convinced me to do something about it. So in next Gammu release, many things will change. The most important thing is that SMSD is no longer part of gammu binary, but has an own binary gammu-smsd. Among other reasons, this will allow to split binary packages in distributions and reducing dependencies of gammu package (database backends are used only is SMSD). The other changes are more platform specific and will allow better integration of a daemon into system. Linux users will benefit from proper daemon support and optional logging to syslog, while Windows users can now use SMSD as a Windows service. And as a bonus, SMSD and it's configuration file now filanny have man pages: gammu-smsd and gammu-smsdrc. All mentioned changes are already in SVN, but I want to do some polishing before making a testing release. The testing release will definitely happen in next week, however impatient users can download SVN snapshots and test them.

23 December 2008

Emilio Pozuelo Monfort: Collaborative maintenance

The Debian Python Modules Team is discussing which DVCS to switch to from SVN. Ondrej Certik asked how to generate a list of commiters to the team s repository, so I looked at it and got this:
emilio@saturno:~/deb/python-modules$ svn log egrep "^r[0-9]+ cut -f2 -d sed s/-guest// sort uniq -c sort -n -r
865 piotr
609 morph
598 kov
532 bzed
388 pox
302 arnau
253 certik
216 shlomme
212 malex
175 hertzog
140 nslater
130 kobold
123 nijel
121 kitterma
106 bernat
99 kibi
87 varun
83 stratus
81 nobse
81 netzwurm
78 azatoth
76 mca
73 dottedmag
70 jluebbe
68 zack
68 cgalisteo
61 speijnik
61 odd_bloke
60 rganesan
55 kumanna
52 werner
50 haas
48 mejo
45 ucko
43 pabs
42 stew
42 luciano
41 mithrandi
40 wardi
36 gudjon
35 jandd
34 smcv
34 brettp
32 jenner
31 davidvilla
31 aurel32
30 rousseau
30 mtaylor
28 thomasbl
26 lool
25 gaspa
25 ffm
24 adn
22 jmalonzo
21 santiago
21 appaji
18 goedson
17 toadstool
17 sto
17 awen
16 mlizaur
16 akumar
15 nacho
14 smr
14 hanska
13 tviehmann
13 norsetto
13 mbaldessari
12 stone
12 sharky
11 rainct
11 fabrizio
10 lash
9 rodrigogc
9 pcc
9 miriam
9 madduck
9 ftlerror
8 pere
8 crschmidt
7 ncommander
7 myon
7 abuss
6 jwilk
6 bdrung
6 atehwa
5 kcoyner
5 catlee
5 andyp
4 vt
4 ross
4 osrevolution
4 lamby
4 baby
3 sez
3 joss
3 geole
2 rustybear
2 edmonds
2 astraw
2 ana
1 twerner
1 tincho
1 pochu
1 danderson
As it s likely that the Python Applications Packaging Team will switch too to the same DVCS at the same time, here are the numbers for its repo:

emilio@saturno:~/deb/python-apps$ svn log egrep "^r[0-9]+ cut -f2 -d sed s/-guest// sort uniq -c sort -n -r
401 nijel
288 piotr
235 gothicx
159 pochu
76 nslater
69 kumanna
68 rainct
66 gilir
63 certik
52 vdanjean
52 bzed
46 dottedmag
41 stani
39 varun
37 kitterma
36 morph
35 odd_bloke
29 pcc
29 gudjon
28 appaji
25 thomasbl
24 arnau
20 sc
20 andyp
18 jalet
15 gerardo
14 eike
14 ana
13 dfiloni
11 tklauser
10 ryanakca
10 nxvl
10 akumar
8 sez
8 baby
6 catlee
4 osrevolution
4 cody-somerville
2 mithrandi
2 cjsmo
1 nenolod
1 ffm
Here I m the 4th most committer :D And while I was on it, I thought I could do the same for the GNOME and GStreamer teams:
emilio@saturno:~/deb/pkg-gnome$ svn log egrep "^r[0-9]+ cut -f2 -d sed s/-guest// sort uniq -c sort -n -r
5357 lool
2701 joss
1633 slomo
1164 kov
825 seb128
622 jordi
621 jdassen
574 manphiz
335 sjoerd
298 mlang
296 netsnipe
291 grm
255 ross
236 ari
203 pochu
198 ondrej
190 he
180 kilian
176 alanbach
170 ftlerror
148 nobse
112 marco
87 jak
84 samm
78 rfrancoise
75 oysteigi
73 jsogo
65 svena
65 otavio
55 duck
54 jcurbo
53 zorglub
53 rtp
49 wasabi
49 giskard
42 tagoh
42 kartikm
40 gpastore
34 brad
32 robtaylor
31 xaiki
30 stratus
30 daf
26 johannes
24 sander-m
21 kk
19 bubulle
16 arnau
15 dodji
12 mbanck
11 ruoso
11 fpeters
11 dedu
11 christine
10 cpm
7 ember
7 drew
7 debotux
6 tico
6 emil
6 bradsmith
5 robster
5 carlosliu
4 rotty
4 diegoe
3 biebl
2 thibaut
2 ejad
1 naoliv
1 huats
1 gilir

emilio@saturno:~/deb/pkg-gstreamer$ svn log egrep "^r[0-9]+ cut -f2 -d sed s/-guest// sort uniq -c sort -n -r
891 lool
840 slomo
99 pnormand
69 sjoerd
27 seb128
21 manphiz
8 he
7 aquette
4 elmarco
1 fabian
Conclusions:
- Why do I have the full python-modules and pkg-gstreamer trees, if I have just one commit to DPMT, and don t even have commit access to the GStreamer team?
- If you don t want to seem like you have done less commits than you have actually done, don t change your alioth name when you become a DD ;) (hint: pox-guest and piotr in python-modules are the same person)
- If the switch to a new VCS was based on a vote where you have one vote per commit, the top 3 commiters in pkg-gnome could win the vote if they chosed the same! For python-apps it s the 4 top commiters, and the 7 ones for python-modules. pkg-gstreamer is a bit special :)

19 December 2008

Michal Čihař: Gammu stable version 1.22.1

It looks like I messed up few things in yesterday Gammu release so here is hot fix version. Changelog is quite small and fixes all regressions found so far: You can download from usual place: http://cihar.com/gammu/, Binary packages will be available soon on all usual places (Debian Unstable, OpenSuse build service, Ubuntu PPA repository).

18 December 2008

Michal Čihař: python-gammu 0.28

New version of python-gammu has been just released. It fixes possible crashes, brings compatibility with Gammu 1.22.0 and adds support for converting to and from vCard/vCalendar/iCalendar formats. Full list of changes: Download from usual place: http://cihar.com/gammu/python/

Michal Čihař: Gammu stable version 1.22.0

After two and half months of development, new Gammu stable release is out. Since last testing version there are only minor changes in vCard export, but full changelog since 1.21.0 is quite long: You can download from usual place: http://cihar.com/gammu/, Binary packages will be available soon in all usual places (Debian Unstable, OpenSuse build service, Ubuntu PPA repository).

16 December 2008

Michal Čihař: My patience is not unlimited

Just seen on #gammu:
<nijel> do you have some usb-serial convertor?
<fenix> yes,
<fenix> i use a usb-serial convertor
<nijel> that might be a problem because cables which do not have manual switch [...]
<fenix> you mean ? i don't use usb-serial convertor
<nijel> what? sentence ago you wrote that you use it....
<fenix> i see . i don't use usb-serial convertor  do it .
<nijel> so how exactly is the phone connected? usb cable? serial cable? serial cable + usb-serial convertor?
<fenix> i use  a serial cable + usb-serial convertor
<nijel> fine, so the problem is most likely in the convertor - [...]
<fenix> my pc have a serial port , i will use it . thank you nijel
Why the hell do you use usb-serial convertor, which is usually piece of crap, instead of native serial port?

14 December 2008

Michal &#268;iha&#345;: Lenny Release General Resolution

Hmm, again another general resolution. Yes, but this one seems to be really tricky. During discussion, several almost unrelated options have been merged into single vote, what really does not make it easy to understand and choose preferred option. Yes they are related in the way that they will affect time of Lenny release, but I think splitting it into several votes would make more sense. On the other side, Lenny release is getting delayed more and more and boycotting this vote also does not seem as a good choice to me. Such choice will practically delay Lenny release after another decision will be made or all firmware issues will be solved. And neither of these choices seems to be possible to happen in a timely manner...

12 December 2008

Michal &#268;iha&#345;: Kozlovna - great beer and food

After more than one year, I decided it's time to resurrect pub reviews category on my blog. The delay was partly caused by my half year trip to Japan meanwhile and lack of motivation to blog, but I think now I'm ready to push some more reviews. This time I'll recommend Kozlovna (sorry no web pages exists, address is Lidick 20, 150 00 Praha 5). I randomly found it when walking in the city centre and I was really positively surprised by quality of beer (Velkopopovick Kozel 11 Medium), food and service. On my first visit I had great ribs, on second deer fillets and both were just delicious. The interior perfectly matches name of the restaurant and the brewery which ships the beer (Kozel = billy-goat) and you can find horns or goat shapes all around. Another plus is that half of the restaurant is non smoking, so you don't have to smell that ugly smoke.

11 December 2008

MJ Ray: Smart Tricks with ssh

  1. Host *
    ControlPath ~/.ssh/sock/%r@%h:%p
    ControlMaster auto

    from Nijel’s weblog: Speed up SSH logins - is there any disadvantage to this? Also, “completition” is a great typo along the lines of my frequent “abou tit” one.
  2. ServerAliveInterval 3600 for reasons explained in the comments here.
  3. Anything you like on the Standalone Sysadmin SSH series (ok, I cheated to get a list of three…)

Michal &#268;iha&#345;: Icecream weirdness

Can somebody tell me, why ICECC_VERSION variable is used as path to file with used toolchain? Why does help say "see create-env" when there is no such thing I could see? Why does not it properly tell, that I have to use icecc --build-native and then use absolute path to resulting tarball as ICECC_VERSION and then it will start to work? Quick notes for future:
icecc --build-native
export ICECC_VERSION= pwd /b98eeead34edf15d2edf2383c2c4e317.tar.gz

10 December 2008

Michal &#268;iha&#345;: Gammu test version 1.21.94

New Gammu testing release has just born. The largest changes are in vCard handler. It now supports photos in vCard and should properly handle error states which previously would lead to crash. This also leads to changed API for encoding/decoding vCard/vCalendar/vNote entries. Rest of changes is usual amount of bug fixes. Full list of changes: You can download from usual place: http://cihar.com/gammu/, Debian users will find packages in experimental soon.

9 December 2008

Michal &#268;iha&#345;: Speed up SSH logins

I just discovered (not new) feature of OpenSSH, which allows to have several sessions over a single network connection. If you are once connected to the server, all other sessions can use existing connections and this makes much faster things like working with remote SVN or shell completion of remote filenames. All you need in config file to make it work is something like this:
Host *
    ControlPath ~/.ssh/sock/%r@%h:%p
    ControlMaster auto

3 December 2008

Michal &#268;iha&#345;: Semantic phpmyadmin.net

Today I published set of changes to phpMyAdmin website, which add microformats attributes where applicable. Currently hCard and hAtom were added. The first one enables you to grab contacts directly from web page (if your browser supports it, currently you need some extension such as Operator). I also added some rel attributes to links, so application browsing the website can know relevance of some links.

2 December 2008

Michal &#268;iha&#345;: Gammu test version 1.21.93

After few weeks of debugging build system, new Gammu version is out. This time most fixes are in build system area, especially now it is possible to compile Gammu using Borland C++ 5.5. Also my hacks for crosscompilation to Windows on Linux have been dropped in favour of crosscompilation features in CMake 2.6. Full list of changes: You can download from usual place: http://cihar.com/gammu/, Debian users will find packages in experimental soon.

1 December 2008

Michal &#268;iha&#345;: So simple patch...

Today again somebody commented on probably simplest patch I ever attempted contribute to some free software. And it memorized me the funny fact that this simple change lies for five years in bugtracker without single comment from developers. Only occasionally some random hacker founds it and ask why such simple issue has not yet been solved. Latest change in bug adds flag, that this is still broken in all recent Python versions including 3.0 :-).

24 November 2008

Michal &#268;iha&#345;: I'm not a robot!

Dear Google, can you please tell me, why I have to retype f**king captcha, every time I want to use searching? Guess what I'm even logged in using Google account and I've already retyped several captchas, so I would have been really clever robot, if I would be able to do this. Thanks PS: I've tried different set of parameters to search, but it does not matter what I type. The only thing which does matter is that I'm connected through local provider which does NAT of hundredths computers to single IP address and some of these computers probably did something evil to Google.

Next.

Previous.