Re: Cloud server

2018-04-05 Thread Miika Turkia
On Thu, Apr 5, 2018 at 5:24 PM, Dirk Hohndel  wrote:

>
> > On Apr 4, 2018, at 11:37 PM, Miika Turkia 
> wrote:
> >
> > For some reason my log used to be 1,5GB before I cleared the history and
> force pushed it 2 years ago :D (Did we embed pics in the git repo at some
> point?)
>
> Yes we did. And you were one of the reasons we quickly realized what a
> spectacularly stupid idea that was :-)
>

:D


> > My backup bare repository on my own server seems to be 5,1MB but that is
> missing dives from the last trip. Apparently the average log size is
> somewhat smaller than mine. Just wondering if my log on Dirk's server uses
> roughly the same amount or if you guys did really manage to optimize it a
> lot.
>
> You seem to consume 5.3M on the server.
>

Same amount that in my backup repo now that I pushed the latest dives there.


> > The size of the checked out repository that Subsurface caches locally is
> 37MB if someone is wondering...
>
> try running "git gc" in that directory.
>

Still the same 37MB which is not surprising at all as the data is in
plaintext in the cloud cache.

miika
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-05 Thread Dirk Hohndel

> On Apr 4, 2018, at 11:37 PM, Miika Turkia  wrote:
> 
> For some reason my log used to be 1,5GB before I cleared the history and 
> force pushed it 2 years ago :D (Did we embed pics in the git repo at some 
> point?)

Yes we did. And you were one of the reasons we quickly realized what a 
spectacularly stupid idea that was :-)

> My backup bare repository on my own server seems to be 5,1MB but that is 
> missing dives from the last trip. Apparently the average log size is somewhat 
> smaller than mine. Just wondering if my log on Dirk's server uses roughly the 
> same amount or if you guys did really manage to optimize it a lot.

You seem to consume 5.3M on the server.

> The size of the checked out repository that Subsurface caches locally is 37MB 
> if someone is wondering...

try running "git gc" in that directory.

/D
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-05 Thread Dirk Hohndel

> On Apr 5, 2018, at 1:02 AM, Davide DB  wrote:
> 
> Out of curiosity,
> 
> How many dives are currently stored on the cloud?

I have no idea. As I keep saying, I don't look at the dive data people store
on the server. And given the git format I think I'd have to check out every
users dive log in order to then count the dives... not something I have any
interest in doing :-)

/D
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-05 Thread Davide DB
Out of curiosity,

How many dives are currently stored on the cloud?
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-05 Thread Anton Lundin
On 05 April, 2018 - Benjamin wrote:

> I'm heading down to the Red Sea today to work on that. It's been a dry 3
> weeks at work and I feel that I need a break.

Funny enough, both me an Jocke is doing the same.

We're heading down to Hurghada to head out on a live aboard for a week
of diving, so we might run into each other out there =)


//Anton


-- 
Anton Lundin+46702-161604
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-04 Thread Miika Turkia
On Thu, Apr 5, 2018 at 7:35 AM, Dirk Hohndel  wrote:

>
> > On Apr 4, 2018, at 9:20 PM, Benjamin  wrote:
> >
> > This is a hint that we're not generating enough log files because we are
> not diving enough? :)
>
> Definitely. I haven't been diving since last October. Ridiculous. I plan
> to fix this on Sunday.
>
> With Linus' help I was able to reduce the memory footprint of the git
> repos a bit. At this point we have cloud storage for over 5000 dive logs in
> about 5GB. And enough space for about another 40 thousand users.
>

For some reason my log used to be 1,5GB before I cleared the history and
force pushed it 2 years ago :D (Did we embed pics in the git repo at some
point?)

My backup bare repository on my own server seems to be 5,1MB but that is
missing dives from the last trip. Apparently the average log size is
somewhat smaller than mine. Just wondering if my log on Dirk's server uses
roughly the same amount or if you guys did really manage to optimize it a
lot.

The size of the checked out repository that Subsurface caches locally is
37MB if someone is wondering...

miika
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-04 Thread Benjamin
I'm heading down to the Red Sea today to work on that. It's been a dry 3
weeks at work and I feel that I need a break.

On 5 April 2018 at 07:35, Dirk Hohndel  wrote:

>
> > On Apr 4, 2018, at 9:20 PM, Benjamin  wrote:
> >
> > This is a hint that we're not generating enough log files because we are
> not diving enough? :)
>
> Definitely. I haven't been diving since last October. Ridiculous. I plan
> to fix this on Sunday.
>
> With Linus' help I was able to reduce the memory footprint of the git
> repos a bit. At this point we have cloud storage for over 5000 dive logs in
> about 5GB. And enough space for about another 40 thousand users.
> And best of all, this is on a VM that's new enough that the attached
> storage is elastic and can be expanded within reason, so even if we fill
> that space we can easily double or quadruple it.
>
> /D
>
>
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-04 Thread Dirk Hohndel

> On Apr 4, 2018, at 9:20 PM, Benjamin  wrote:
> 
> This is a hint that we're not generating enough log files because we are not 
> diving enough? :)

Definitely. I haven't been diving since last October. Ridiculous. I plan to fix 
this on Sunday.

With Linus' help I was able to reduce the memory footprint of the git repos a 
bit. At this point we have cloud storage for over 5000 dive logs in about 5GB. 
And enough space for about another 40 thousand users.
And best of all, this is on a VM that's new enough that the attached storage is 
elastic and can be expanded within reason, so even if we fill that space we can 
easily double or quadruple it.

/D

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-04 Thread Benjamin
This is a hint that we're not generating enough log files because we are
not diving enough? :)

On 5 April 2018 at 06:28, Thiago Macieira  wrote:

> On Sunday, 1 April 2018 11:55:34 PDT Dirk Hohndel wrote:
> > I know added another 30GB of storage, hopefully that will last for a
> while
>
> "30 GB will be enough for everyone" ?
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>Software Architect - Intel Open Source Technology Center
>
>
>
> ___
> subsurface mailing list
> subsurface@subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-04 Thread Thiago Macieira
On Sunday, 1 April 2018 11:55:34 PDT Dirk Hohndel wrote:
> I know added another 30GB of storage, hopefully that will last for a while 

"30 GB will be enough for everyone" ?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center



___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-02 Thread Dirk Hohndel

> On Apr 2, 2018, at 11:44 AM, Hartley Horwitz  wrote:
> This is a comment that always comes up when I talk about this.
> 
> The challenge is that with the Subsurface Cloud I can at least fix problems 
> on the backend. Which means if users get stuck, I can help.
> If we “support” random git repos, we will get loads of requests to help us 
> with the backend side, from authentication to repo creation to connectivity 
> to I don’t even know what else.
> And once that genie is out of the bottle, we won’t be able to put it back in. 
> Multiply this by GitHub, GitLab, BitBucket, “running my own git server”. And 
> by Linux, Windows, Mac, Android, iOS. And you may see why I am very, very 
> hesitant here.
> 
> 
> I think a modified version of your response should go into the FAQ list.  If 
> you're ok with that, I'll edit it on Github and do a pull request. =

Yes, please

/D

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-02 Thread Hartley Horwitz
>
>
> -- Forwarded message --
> From: Dirk Hohndel 
> To: Aaron Scheiner 
> Cc: Subsurface Mailing List 
> Bcc:
> Date: Mon, 2 Apr 2018 10:45:30 -0700
> Subject: Re: Cloud server
> This is a comment that always comes up when I talk about this.
>
> The challenge is that with the Subsurface Cloud I can at least fix
> problems on the backend. Which means if users get stuck, I can help.
> If we “support” random git repos, we will get loads of requests to help us
> with the backend side, from authentication to repo creation to connectivity
> to I don’t even know what else.
> And once that genie is out of the bottle, we won’t be able to put it back
> in. Multiply this by GitHub, GitLab, BitBucket, “running my own git
> server”. And by Linux, Windows, Mac, Android, iOS. And you may see why I am
> very, very hesitant here.
>
> /D
>
>
>
I think a modified version of your response should go into the FAQ list.
If you're ok with that, I'll edit it on Github and do a pull request.


...Hartley
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-02 Thread Aaron Scheiner
Not a problem, I understand :) .

Thank you

Aaron

On Mon, Apr 2, 2018 at 7:45 PM, Dirk Hohndel  wrote:

> This is a comment that always comes up when I talk about this.
>
> The challenge is that with the Subsurface Cloud I can at least fix
> problems on the backend. Which means if users get stuck, I can help.
> If we “support” random git repos, we will get loads of requests to help us
> with the backend side, from authentication to repo creation to connectivity
> to I don’t even know what else.
> And once that genie is out of the bottle, we won’t be able to put it back
> in. Multiply this by GitHub, GitLab, BitBucket, “running my own git
> server”. And by Linux, Windows, Mac, Android, iOS. And you may see why I am
> very, very hesitant here.
>
> /D
>
>
> On Apr 2, 2018, at 10:23 AM, Aaron Scheiner  wrote:
>
> Hi Dirk
>
> Thank you for providing the free cloud hosting service.
>
> Perhaps a future alternative could be to provide the ability within
> Subsurface applications to configure a third-party repository for syncing ?
> like a Bitbucket repository or something on a personal server ?
>
> Regardless, thank you again, it's a much-appreciated service :)
>
> Aaron
>
> On Apr 1, 2018 20:55, "Dirk Hohndel"  wrote:
>
>
> Hi there,
>
> No good deed goes unpunished.
>
> The free cloud storage that I'm providing for our users ended up
> overflowing (well, I guess it completely filled the file system and then
> started giving odd errors).
> I know added another 30GB of storage, hopefully that will last for a while
> :-)
>
>
> /D
> ___
> subsurface mailing list
> subsurface@subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
>
>
>
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-02 Thread Dirk Hohndel
This is a comment that always comes up when I talk about this.

The challenge is that with the Subsurface Cloud I can at least fix problems on 
the backend. Which means if users get stuck, I can help.
If we “support” random git repos, we will get loads of requests to help us with 
the backend side, from authentication to repo creation to connectivity to I 
don’t even know what else.
And once that genie is out of the bottle, we won’t be able to put it back in. 
Multiply this by GitHub, GitLab, BitBucket, “running my own git server”. And by 
Linux, Windows, Mac, Android, iOS. And you may see why I am very, very hesitant 
here.

/D


> On Apr 2, 2018, at 10:23 AM, Aaron Scheiner  wrote:
> 
> Hi Dirk
> 
> Thank you for providing the free cloud hosting service.
> 
> Perhaps a future alternative could be to provide the ability within 
> Subsurface applications to configure a third-party repository for syncing ? 
> like a Bitbucket repository or something on a personal server ?
> 
> Regardless, thank you again, it's a much-appreciated service :)
> 
> Aaron
> 
> On Apr 1, 2018 20:55, "Dirk Hohndel"  > wrote:
> 
> Hi there,
> 
> No good deed goes unpunished.
> 
> The free cloud storage that I'm providing for our users ended up overflowing 
> (well, I guess it completely filled the file system and then started giving 
> odd errors).
> I know added another 30GB of storage, hopefully that will last for a while :-)
> 
> 
> /D
> ___
> subsurface mailing list
> subsurface@subsurface-divelog.org 
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface 
> 
> 

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Cloud server

2018-04-02 Thread Aaron Scheiner
Hi Dirk

Thank you for providing the free cloud hosting service.

Perhaps a future alternative could be to provide the ability within
Subsurface applications to configure a third-party repository for syncing ?
like a Bitbucket repository or something on a personal server ?

Regardless, thank you again, it's a much-appreciated service :)

Aaron

On Apr 1, 2018 20:55, "Dirk Hohndel"  wrote:


Hi there,

No good deed goes unpunished.

The free cloud storage that I'm providing for our users ended up
overflowing (well, I guess it completely filled the file system and then
started giving odd errors).
I know added another 30GB of storage, hopefully that will last for a while
:-)


/D
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface