[PATCH] HTML: export valid JSON.

2014-08-28 Thread Gehad Elrobey
I attached a patch that fixes the trailing commas problem, and make the file valid according to the specifications. as I described in the commit message that loading a pure json file from local drive is not allowed by most web-browsers, javascripts object are saved instead to be dynamically

Re: Planner: Multiple Deco calculations ?

2014-08-28 Thread Guillaume Gardet
Le 28/08/2014 16:01, Willem Ferguson a écrit : On 28/08/2014 15:51, Guillaume Gardet wrote: Hi, I just started to play with subsurface some days ago. It seems that the ceiling / deco calculation is done by a Bühlmann ZHL-16b model. I think it would be nice to have an interface to switch

Re: Planner: Multiple Deco calculations ?

2014-08-28 Thread Dirk Hohndel
On Thu, Aug 28, 2014 at 04:30:31PM +0200, Guillaume Gardet wrote: For Bühlmann there are multiple models : * number of tissue compartments (8, 12 or 16) * A/B/C variants (at least for ZHL-16): A is theoretical only, B is for tables generation and C is for dive computer (more conservative).

Re: Planner: Multiple Deco calculations ?

2014-08-28 Thread Guillaume Gardet
Le 28/08/2014 16:38, Dirk Hohndel a écrit : On Thu, Aug 28, 2014 at 04:30:31PM +0200, Guillaume Gardet wrote: For Bühlmann there are multiple models : * number of tissue compartments (8, 12 or 16) * A/B/C variants (at least for ZHL-16): A is theoretical only, B is for tables generation and C

Re: Planner: Multiple Deco calculations ?

2014-08-28 Thread JB2Cool
The website for the VPM algorithm is here http://www.decompression.org. There are a few resources there along with some open source implementations that could be looked at as a basis of the code. My belief is that if you wanted to compare a variety of different algorithms and all of their

VPM planning [was: Re: Planner: Multiple Deco calculations ?]

2014-08-28 Thread Henrik Brautaset Aronsen
On Thu, Aug 28, 2014 at 4:47 PM, Guillaume Gardet guillaume.gar...@free.fr wrote: I'd be more interested in a VPM implementation (that is reasonably well documented). We had a GSOC proposal to do just that and decided not to accept it but it's still something that we are open to if there's a

Re: VPM planning [was: Re: Planner: Multiple Deco calculations ?]

2014-08-28 Thread Dirk Hohndel
On Thu, Aug 28, 2014 at 05:13:45PM +0200, Henrik Brautaset Aronsen wrote: RGBM is totally proprietary, but VPM is not. There are several VPM implementations available, and there has been several long discussions (technical and not) on this list. Correct. I've added these mailing list

Re: Planner: Multiple Deco calculations ?

2014-08-28 Thread Robert C. Helling
Hi, Am 28.08.2014 um 15:51 schrieb Guillaume Gardet guillaume.gar...@free.fr: Ok, currently, there is only one model, but I think people would be interested to be able to switch with other models. One usage would be to have a deco planner matching (more or less) the dive computer used.

Re: [CCR patch] Adapt pressure interpolation for CCR (2)[

2014-08-28 Thread Dirk Hohndel
Hi Willem Quite a few whitespace issues in the patch, trailing whitespace, if () { } else { } is not how we do it... but that's all easy to fix. I still need to stare at the code some more but it looks about right. I think it makes the algorithm overall much harder to read. The save_pressure and

Re: fixing json

2014-08-28 Thread Salvo Tomaselli
In data giovedì 28 agosto 2014 11:28:38, Gehad Elrobey ha scritto: I have already sent a patch that fixes the trailing commas problem, Please give it a try and feedback me. I tried it and it seems to be working, thanks! Please note that this is a javascript file with javascript object

4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Dirk Hohndel
Debian: I notice that we still have no package for 4.2 in sid or jessie - only in experimental. Also, we have no package at all in the main OpenSUSE - just a contributed package of 4.1-60 (random git version) from user collinm Is there anyone here running OpenSUSE who could help us get an

Website translations

2014-08-28 Thread Dirk Hohndel
I noticed that a few translations are rather out of date. Maybe the volunteers have moved on to other hobbies? Can I please get a show of hands (and new volunteers). Right now we try to offer - German (that's embarrassing... I need to work on that, but I'd LOVE to see

Re: Website translations

2014-08-28 Thread Joakim Bygdell
On 28 Aug 2014, at 19:17, Dirk Hohndel d...@hohndel.org wrote: I noticed that a few translations are rather out of date. Maybe the volunteers have moved on to other hobbies? Can I please get a show of hands (and new volunteers). Right now we try to offer - German (that's

Re: Website translations

2014-08-28 Thread Davide DB
Italian of course davide@mobile Il 28/ago/2014 19:49 Davide DB dbdav...@gmail.com ha scritto: Here I am if you are not in a hurry.between September and October I can start translating it. davide@mobile ___ subsurface mailing list

Re: Website translations

2014-08-28 Thread Davide DB
Here I am if you are not in a hurry.between September and October I can start translating it. davide@mobile ___ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Re: Website translations

2014-08-28 Thread Dirk Hohndel
On August 28, 2014 10:47:51 AM Joakim Bygdell j.bygd...@gmail.com wrote: Other languages / volunteers? Here's the breakdown from the ~10% of our users who have connected to our webservice: en: 102, de: 60, fr: 25, it: 17, sv: 17, es: 11, nl: 11, pl: 6, fi: 4, zh: 4, ru: 3, C: 1, de-CH: 1,

Re: Website translations

2014-08-28 Thread Salvo Tomaselli
I volounteer for the Italian one, if needed. Would it be made with transifex as well? At the moment I don't see it there. Which tells me that Italian and Swedish would be logical candidates as next website translations. -- Salvo Tomaselli Io non mi sento obbligato a credere che lo stesso

Re: Website translations

2014-08-28 Thread Dirk Hohndel
On August 28, 2014 10:49:30 AM Davide DB dbdav...@gmail.com wrote: Here I am if you are not in a hurry.between September and October I can start translating it. It isn't really a lot of text. What's most important to me is volunteers who keep things reasonably current when I make changes to

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Salvo Tomaselli
In data giovedì 28 agosto 2014 10:08:11, Dirk Hohndel ha scritto: Debian: I notice that we still have no package for 4.2 in sid or jessie - only in experimental. Question: is it easy to make the libgit2 dependency optional? It is in experimental because of that (it also for some reason isn't

Re: Website translations

2014-08-28 Thread Dirk Hohndel
On August 28, 2014 10:56:29 AM Salvo Tomaselli tipos...@tiscali.it wrote: I volounteer for the Italian one, if needed. Would it be made with transifex as well? At the moment I don't see it there. I found transifex challenging for translations of the website. There is no good WordPress

Re: Website translations

2014-08-28 Thread Pierre-Yves Chibon
On Thu, Aug 28, 2014 at 10:17:08AM -0700, Dirk Hohndel wrote: I noticed that a few translations are rather out of date. Maybe the volunteers have moved on to other hobbies? Can I please get a show of hands (and new volunteers). Right now we try to offer - German (that's

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Dirk Hohndel
On August 28, 2014 10:58:57 AM Salvo Tomaselli tipos...@tiscali.it wrote: In data giovedì 28 agosto 2014 10:08:11, Dirk Hohndel ha scritto: Debian: I notice that we still have no package for 4.2 in sid or jessie - only in experimental. Question: is it easy to make the libgit2 dependency

Re: Website translations

2014-08-28 Thread Dirk Hohndel
On August 28, 2014 11:03:00 AM Pierre-Yves Chibon pin...@pingoured.fr wrote: On Thu, Aug 28, 2014 at 10:17:08AM -0700, Dirk Hohndel wrote: I noticed that a few translations are rather out of date. Maybe the volunteers have moved on to other hobbies? Can I please get a show of hands (and

[PATCH] Fix water temperature on Suunto SDM import

2014-08-28 Thread Miika Turkia
Seems that Suunto stores temperature value of 0 when there is no temperature reading (I guess). Thus this patch ignores temperature samples that are zero. Otherwise, Subsurface looks into the samples and grabs the lowest number as water temperature. See #720 Signed-off-by: Miika Turkia

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Guillaume Gardet
Le 28/08/2014 19:08, Dirk Hohndel a écrit : Also, we have no package at all in the main OpenSUSE - just a contributed package of 4.1-60 (random git version) from user collinm Is there anyone here running OpenSUSE who could help us get an official package? I am involved in openSUSE and I

Re: Website translations

2014-08-28 Thread Guillaume Gardet
Le 28/08/2014 20:02, Pierre-Yves Chibon a écrit : On Thu, Aug 28, 2014 at 10:17:08AM -0700, Dirk Hohndel wrote: I noticed that a few translations are rather out of date. Maybe the volunteers have moved on to other hobbies? Can I please get a show of hands (and new volunteers). Right now we

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Martin Gysel
Am 28.08.2014 19:08, schrieb Dirk Hohndel: Gentoo - I know that Bearsh is a Gentoo person, but haven't seen him around much lately. Gentoo is still on 4.0.3. yes, unfortunately you're right but I maintain an overlay which I try to keep up to date [1]. I'll try to push 4.3 to the official tree

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Robert C. Helling
Hi, Am 28.08.2014 um 19:08 schrieb Dirk Hohndel d...@hohndel.org: Debian: I notice that we still have no package for 4.2 in sid or jessie - only in experimental. I have some vague memory that this is because the libgit2 version that we require is in experimental. Robert

Re: Website translations

2014-08-28 Thread Dirk Hohndel
On Thu, Aug 28, 2014 at 08:41:30PM +0200, Guillaume Gardet wrote: Le 28/08/2014 20:02, Pierre-Yves Chibon a écrit : On Thu, Aug 28, 2014 at 10:17:08AM -0700, Dirk Hohndel wrote: I noticed that a few translations are rather out of date. Maybe the volunteers have moved on to other hobbies?

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Linus Torvalds
On Aug 28, 2014 1:13 PM, Tim Wootton t...@tee-jay.demon.co.uk wrote: On 28/08/14 20:29, Robert C. H. I have some vague memory that this is because the libgit2 version that we require is in experimental. Indeed, and it looks like it's likely to stay there.

Re: bugs on connect to Dive Rite Nitek Q

2014-08-28 Thread Jef Driesen
On 2014-08-25 11:03, Jef Driesen wrote: On 2014-08-25 07:10, Sincere CHEN wrote: I have a computer Dive Rite Nitek Q. and I want to use surface to download its dive log. I run surface, and I use USB cable connect my Nitek Q to computer. And then I select Nitek Q to “PC” model, at that time,

Re: subgear xp-3g support

2014-08-28 Thread Jef Driesen
On 2014-08-26 20:33, Krzysztof Arentowicz wrote: W dniu 25.08.2014 o 00:03, Jef Driesen pisze: On 24-08-14 18:04, Krzysztof Arentowicz wrote: One of Subsurface users emailed me that he was able to successfully download data from subgear xp-3g using setting for subgear XP-10. you may want to

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Tim Wootton
On 28/08/14 21:25, Linus Torvalds wrote: On Aug 28, 2014 1:13 PM, Tim Wootton t...@tee-jay.demon.co.uk mailto:t...@tee-jay.demon.co.uk wrote: On 28/08/14 20:29, Robert C. H. I have some vague memory that this is because the libgit2 version that we require is in experimental.

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Linus Torvalds
On Aug 28, 2014 1:45 PM, Tim Wootton t...@tee-jay.demon.co.uk wrote: *libraries whose interfaces are in flux or under development (commonly the case when the library's major version number is zero, or where the ABI breaks across patchlevels) Hmm. This certainly also covers libdivecomputer,

Re: subgear xp-3g support

2014-08-28 Thread Dirk Hohndel
On Thu, Aug 28, 2014 at 10:32:31PM +0200, Jef Driesen wrote: Thanks. The new model name has been added now. If you build subsurface against the latest libdivecomputer master, it should show up. I just triggered a new build (-157) for Windows which is based on the latest master of

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Dirk Hohndel
On Thu, Aug 28, 2014 at 01:48:42PM -0700, Linus Torvalds wrote: On Aug 28, 2014 1:45 PM, Tim Wootton t...@tee-jay.demon.co.uk wrote: *libraries whose interfaces are in flux or under development (commonly the case when the library's major version number is zero, or where the ABI breaks

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Tim Wootton
On 28/08/14 21:52, Dirk Hohndel wrote: On Thu, Aug 28, 2014 at 01:48:42PM -0700, Linus Torvalds wrote: On Aug 28, 2014 1:45 PM, Tim Wootton t...@tee-jay.demon.co.uk wrote: *libraries whose interfaces are in flux or under development (commonly the case when the library's major version

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Salvo Tomaselli
In data giovedì 28 agosto 2014 13:25:00, Linus Torvalds ha scritto: On Aug 28, 2014 1:13 PM, Tim Wootton t...@tee-jay.demon.co.uk wrote: On 28/08/14 20:29, Robert C. H. I have some vague memory that this is because the libgit2 version that we require is in experimental. Indeed, and

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Tim Wootton
On 28/08/14 22:30, Salvo Tomaselli wrote: In data giovedì 28 agosto 2014 13:25:00, Linus Torvalds ha scritto: On Aug 28, 2014 1:13 PM, Tim Wootton t...@tee-jay.demon.co.uk wrote: On 28/08/14 20:29, Robert C. H. I have some vague memory that this is because the libgit2 version that we

Re: 4.2 in Debian, OpenSUSE, Mageia, Gentoo

2014-08-28 Thread Dirk Hohndel
On Thu, Aug 28, 2014 at 03:03:46PM -0700, Thiago Macieira wrote: On Thursday 28 August 2014 13:48:42 Linus Torvalds wrote: On Aug 28, 2014 1:45 PM, Tim Wootton t...@tee-jay.demon.co.uk wrote: *libraries whose interfaces are in flux or under development (commonly the case when the

OSTC3 setpoint configuration and firmware

2014-08-28 Thread Gaetan Bisson
Hi, First off, thanks a lot Jef and Josh for your work on configuring dive computers through subsurface; that's definitely an awesome feature! This morning I hooked up my OSTC3 and got the attached result. As you can see everything is fine except the setpoint ppO2 and depth values (down at the