Re: Camping's URL mapping system

2012-04-18 Thread Jenna Fox
Woah. Okay! I'm convinced! Lets make Rails 4.0! — Jenna On Wednesday, 18 April 2012 at 11:45 PM, Matthias Wächter wrote: > Am 13.04.2012 17:40, schrieb Jenna Fox: > > An A4 piece of paper has a little over 9kb of data storage if storing in > > binary at 300dpi > > > > > A4 is about 2

Re: Camping's URL mapping system

2012-04-18 Thread Matthias Wächter
Am 13.04.2012 17:40, schrieb Jenna Fox: An A4 piece of paper has a little over 9kb of data storage if storing in binary at 300dpi A4 is about 21*30 cm², i.e. 630 cm² or 97.65 sqin. 300 dpi means 90,000 dpsqin or about 8.788 MdpA4. Without accounting for encoding, redundancy, synchronization e

Re: Camping's URL mapping system

2012-04-14 Thread cdr
rack has a minimal file-server [0] 0. https://github.com/rack/rack/blob/6496241b25daa20fd9dd736119dc39bdac54869d/lib/rack/file.rb#L70 ive been usin it on my phone to do the basics, it kind of chokes on 128M podcasts as a mediaplayer http://repo.or.cz/w/element.git/blob_plain/HEAD:/doc/find.ht

Re: Camping's URL mapping system

2012-04-14 Thread Dave Everitt
LOL! Good to know, if I ever need to do those things :-) An A4 piece of paper has a little over 9kb of data storage if storing in binary at 300dpi On the other hand, Camping is already far too big to fit entirely in a QR code. It would take as many as TWO QR codes to store camping in it

Re: Camping's URL mapping system

2012-04-13 Thread Jenna Fox
On static files: Sure, there are ways to have a server do your static files for you, but those ways are inconsistent and require strong knowledge of servers - further, they limit Camping's ability to do smart things with cache control. As a framework which tries to be friendly to beginners, depl

Re: Camping's URL mapping system

2012-04-13 Thread Magnus Holm
On Thu, Apr 12, 2012 at 16:54, Jenna Fox wrote: > bin/camping is great but it's not usually a good way to deploy an app on a > server - it tends to be more for development. Yes, and when you're deploying there are better ways to serve static files. > Putting functionality in to > bin/camping whi

Re: Camping's URL mapping system

2012-04-13 Thread Isak Andersson
Yeah of course! Cheers! Isak Andersson Dave Everitt skrev: For me, this also depends on what Magnus - as the main Camper ninja - thinks - DaveE I agree, I'd like to see the way Camping works to grow in to something much more usable. Perhaps a fork is a good idea because the legacy would re

Re: Camping's URL mapping system

2012-04-13 Thread Dave Everitt
For me, this also depends on what Magnus - as the main Camper ninja - thinks - DaveE I agree, I'd like to see the way Camping works to grow in to something much more usable. Perhaps a fork is a good idea because the legacy would remain and all. But then in the fork we could deal with thin

Re: Camping's URL mapping system

2012-04-13 Thread Jenna Fox
On the other hand, Camping is already far too big to fit entirely in a QR code. It would take as many as TWO QR codes to store camping in it's entirety. — Jenna On Saturday, 14 April 2012 at 1:40 AM, Jenna Fox wrote: > An A4 piece of paper has a little over 9kb of data storage if storing in

Re: Camping's URL mapping system

2012-04-13 Thread Isak Andersson
I agree, I'd like to see the way Camping works to grow in to something much more usable. Perhaps a fork is a good idea because the legacy would remain and all. But then in the fork we could deal with things that might be kind of annoying at times. And grow it with a steady pace. If we'd fork ca

Re: Camping's URL mapping system

2012-04-13 Thread Jenna Fox
An A4 piece of paper has a little over 9kb of data storage if storing in binary at 300dpi — Jenna On Saturday, 14 April 2012 at 1:09 AM, Dave Everitt wrote: > There's a crucial point here... if 3k (the old 4k) is a 'proof of concept' > and a great exercise in programming skill, it isn't som

Re: Camping's URL mapping system

2012-04-13 Thread Dave Everitt
There's a crucial point here... if 3k (the old 4k) is a 'proof of concept' and a great exercise in programming skill, it isn't something that most users will really worry about. If the 3k limit has to be broken back up to 4 or even 5k to get some added/altered/optional functionality that wo

Re: Camping's URL mapping system

2012-04-13 Thread Dave Everitt
Do you mean this kind of issue: http://stackoverflow.com/questions/3755898/campings-url-doesnt-give-me-site-root-as-expected ? DaveE One more thought - on file serving, I think it'd be nice if the default was that local files are served out of /files/ url rather than just being at the app's

Re: Camping's URL mapping system

2012-04-12 Thread Jenna Fox
bin/camping is great but it's not usually a good way to deploy an app on a server - it tends to be more for development. Putting functionality in to bin/camping which belongs in camping core is like wearing a backpack filled with hydrogen while having your weight checked. 3kb is great and all, b

Re: Camping's URL mapping system

2012-04-12 Thread Magnus Holm
On Thu, Apr 12, 2012 at 15:59, Jenna Fox wrote: > The problem is basically this: > > Sometimes you want to reference static files, and other components of your > site. I have a Gallery app mounted at http://creativepony.com/gallery/ and > it causes me all sorts of trouble. Often times to reference

Re: Camping's URL mapping system

2012-04-12 Thread Jenna Fox
#x27;s no clear solution! — Jenna On Thursday, 12 April 2012 at 11:35 PM, Dave Everitt wrote: > In another post, Jenna said: "I have some trouble with Camping's URL > mapping system - so much so I'm considering sinatra for my next ruby > web project" > > I j

Camping's URL mapping system

2012-04-12 Thread Dave Everitt
In another post, Jenna said: "I have some trouble with Camping's URL mapping system - so much so I'm considering sinatra for my next ruby web project" I just wanted to know what the trouble was, and if/how it might/could/ can't be addressed, so star