Re: sqlite3 connection problem

2009-06-12 Thread Dave Everitt
Thanks Jonathan - that's done the trick. (BTW my previous fumble was an attempt to pinpoint my problem by connecting without Camping.) With the idea of using this as the simplest possible 'Camping with SQLite' example for beginners (or testing new setups), I've adjusted and pastied it:

Re: Release?

2009-06-12 Thread Dave Everitt
there based around 1.5 (well, nearly all of it is). - Dave Everitt Magnus Holm: Oh, sorry. I totally forgot about this. Are we absolutely sure that 1.5.180 is stable enough to be pushed out to Rubyforge? Julik Tarkhanov: I can, but people who might need my apps can't and won't look for non

Re: hi all! can't open github!!

2009-08-17 Thread Dave Everitt
ROFL! - DaveE If they weren't then, they are now: http://xkcd.com/624/ ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: What now?

2009-08-21 Thread Dave Everitt
I'm for this option: camping/camping - Create a new user. ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: What now?

2009-09-13 Thread Dave Everitt
are all available... Dave Everitt ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: free Camping cloud hosting??

2009-09-30 Thread Dave Everitt
2.0 on it. Let me know if you think it's handy (one for the wiki perhaps) and I can update when 2.0 is released. http://radiant-sunset-95.heroku.com/how-to-run-camping-2-apps-on- heroku Jon On Tue, Jul 28, 2009 at 9:23 AM, Dave Everitt dever...@innotts.co.uk wrote: I found this the other

Re: What now?

2009-10-15 Thread Dave Everitt
Nice alternative... all that's needed is a chosen domain, a friendly host and to share out the webmastering :-) With a little commitment from a couple of people, I'd provide the hosting and domain. or could they be elsewhere? And which of the many, many finds out there when you search

Re: What now?

2009-10-15 Thread Dave Everitt
Hi Matt - great, that's a start. One more person and we're there! - Dave I'm new to Camping (played around with some small apps, but nothing impressive), but I'd be more than happy to be webmaster. If I could get someone to work with, that'd be even better, of course. Nice alternative... all

Re: What now?

2009-10-18 Thread Dave Everitt
-frameworks deserve a fair hearing, and Camping isn't getting all the web presence it deserves - that's what motivates me! - Dave Everitt Awesome suggestion, but we let's not forget that camping.rubyforge.org has served us well :-) //Magnus Holm I second the whywentcamping.com domain. Dave

Re: What now?

2009-10-18 Thread Dave Everitt
if they are new to Ruby). I really like: rubycamping.com campingframework.com Here is an additional suggestion: rubyoncamping.com (like ROR). The new site could act as a portal for everything Camping, such as news, rotating features on sites using Camping, code snippets, etc. Philippe Dave Everitt

Re: What should the portal-site contain?

2009-10-18 Thread Dave Everitt
Magnus hope you don't mind but for now, I took the liberty of adding most of these links to the wiki. BTW I use the mail archive pages at mail- archive.com - easier to browse than the standard interface. Anything you don't want on the wiki right now, please just remove. But otherwise, it

Re: What now?

2009-10-19 Thread Dave Everitt
nice idea with the .ru = Ruby, although still doubtful that 'why' and 'went' are good for SEO (BTW you did mean 'camping', not 'caping' didn't you :-). I reckon: 2 domains, one obviously SEO-optimised (containing 'ruby, camping, framework'), forwarding to another memorable one we all like

Re: What now?

2009-10-20 Thread Dave Everitt
okay - which of the proposed domains works best for you? - Dave Or better, get good search engine results without gaming the system, and just get people to link to it -- go talk it up, blog it up, and write some awesome stuff and post it! I'll certainly be linking to it from my blog.

Re: What now?

2009-10-20 Thread Dave Everitt
we have this wonderful tight knit little community at the moment which would be utterly obliterated by fame. See rubyonrails for details about why fame sucks. LOL! Good point! Magnus - great cartoon! More!! Okay, we don't need SEO :-) What motivation is there to be widely popular? In

Re: What now?

2009-10-20 Thread Dave Everitt
Okay, we don't need SEO :-) Regardless, it's not my impression that the domain name plays much role at all in Google's algorithm. After all, domain squatters nearly never show up on the first page of results, despite that most of the squatted domains are seen as valuable keyword wise. To

Re: What now?

2009-10-20 Thread Dave Everitt
My partnership has VPS Dallas (Ubuntu) and London (Debian) servers from Rimuhosting. We're about to replace the former with a more updated system, so that could be an option, depending on where the most visitors are likely to come from. The London server has faster access for UK/European

Re: What should the portal-site contain?

2009-10-21 Thread Dave Everitt
Magnus for quick fixing (since these links are on the wiki), thought you'd like to know where the bad links are in your current README 'Camping, the Reference' at: http://stuff.judofyr.net/camping-docs/api.html 'code' (top right menu): - http://github.com/why/camping +

Re: Using #rubycamping in Twitter posts

2009-11-02 Thread Dave Everitt
true, but I think Philippe is using 'rubycamping.com' as a generic term for 'the Camping website' - DaveE I thought we settled on whywentcamping? ___ Camping-list mailing list Camping-list@rubyforge.org

Re: Camping book

2009-11-02 Thread Dave Everitt
Very silly me. Forgot about 'Index': - class Pages R '/' + class Index have corrected the Pastie: http://pastie.org/679826 Dave Everitt Only one (in my setup) - on 'Wrapping it up', in the Controllers: class Pages needs the explicit class Pages R

Re: Camping book

2009-11-02 Thread Dave Everitt
, but I'll try to fix it as soon as possible. //Magnus Holm On Mon, Nov 2, 2009 at 01:22, Dave Everitt dever...@innotts.co.uk wrote: I added some basic material to the GitHub Camping Wiki (new pages): http://wiki.github.com/camping/camping [SNIP] Thinking about existing stuff, some time ago

Re: is there a way to configure line breaks in markaby output?

2009-11-02 Thread Dave Everitt
Yes, it can be a bugbear. It's a bit 'non-lazy' but I just tend to add newlines with Markaby's 'text': def index h1 'My Site' text(\n\n) p 'Welcome to my site!' end - DaveE Is there anyway that I can configure Markaby to add line breaks between block elements so I'd get something

Camping on Wikipedia

2009-11-03 Thread Dave Everitt
other links that point to your server/gem repo. Dave Everitt ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Camping on the Ruby Application Archive

2009-11-03 Thread Dave Everitt
Camping on the RAA is frozen at 1.4: http://raa.ruby-lang.org/project/ camping/ If no-one has access I could contact raa-ad...@ruby-lang.org and send updated info, but (at present for the 'To install' part) that could mean sending out source http://gems.judofyr.net; (Magnus?) - Dave

Re: Camping on the Ruby Application Archive

2009-11-07 Thread Dave Everitt
any parts of the documentation that need cleaning up? - Dave Everitt Let's wait until 2.0 is released. If we clean up the documentation we have now, I'm totally in for releasing 2.0 as soon as possible [SNIP] //Magnus Holm Camping on the RAA is frozen at 1.4: http://raa.ruby-lang.org

gems.judofyr.net 404

2010-01-23 Thread Dave Everitt
I noticed today that this: gem install camping --source http://gems.judofyr.net has broken, so wanted to update the wiki at Github so visitors can get the latest version via gem? Dave Everitt ___ Camping-list mailing list Camping-list

Re: I want to use camping 2.0

2010-02-05 Thread Dave Everitt
Hi - take a look here: http://stuff.judofyr.net/camping-docs/book/51_upgrading.html#from-15- to-20 DaveE what is the difference between the two version ( 1.5.180 and 2.0) ? ___ Camping-list mailing list Camping-list@rubyforge.org

Re: Are there existing sitemap generators for Camping?

2010-03-21 Thread Dave Everitt
For now, added to the wiki under 'Miscellaneous Camping links'. Be good to find a few more 'made with Camping' sites/apps to add to the list - anyone want to put up their app? - Dave Everitt Magnus Holm wrote: Cool. We'll have to find a place on the wiki for these things :-) Philippe

Re: What now?

2010-03-21 Thread Dave Everitt
Hi Philippe I am one of those Camping friends (although I've been too busy with clients just lately to do much). Although I just posted links to your Camping 'add-ons' to the wiki :-) I agree about Sinatra - from curiosity I've even dabbled with it myself (shame!), although it is nice

Re: Should we incorporate a filtering mechanism in controllers?

2010-04-19 Thread Dave Everitt
Philippe - dead simple for me. I was put off Rails a long time ago, which is how I landed on Camping - Dave Everitt Do people prefer something simple dead easy like filtering_camping? Or would people prefer something more like filters in Rails

Re: First time and first error

2010-06-08 Thread Dave Everitt
fix: add 72.4.120.124 rubygems.org to your /etc/hosts Otherwise, get the bleeding edge version: sudo gem install camping --source http://gems.judofyr.net/ Dave Everitt I want to add that I'm not behind any proxy or firewall, and that I could successfully download/and install some other gems

Re: First time and first error

2010-06-08 Thread Dave Everitt
Hi Raimon I did mean that, but the rubygems site is back up... and it looks like they're making progress as the error messages are changing. So maybe try again tomorrow? Dave Hi David, On 8jun, 2010, at 15:38 , Dave Everitt wrote: Hi Raimon Github is no longer maintaining

Re: First time and first error

2010-06-08 Thread Dave Everitt
Hi Raimon - welcome, glad we got around the rubygems.org fail :-) - Dave Everitt sudo gem install rack --source http://chneukirchen.org/releases/gems/ ok, installed and running, now I'm a Camper!!! :-) Sure I'll come back here with more questions about Camping

Re: First time and first error

2010-06-08 Thread Dave Everitt
Hi Raimon don't know if I can just clone the git repository of restr and install it using ruby setup.rb that seems the best way, as David Susco suggested: I don't believe the gem has been updated to include Matt's or Philippe's latest changes. You could clone it from GitHub though and

Re: First time on Camping

2010-06-18 Thread Dave Everitt
Rubygems.org was playing up recently (gems.rubyforge.org forwards to it - see previous posts), and this looks like the same issue... Dave E. Something's not right with your rubygems install maybe try `gem update --system` first? ___

Re: First time on Camping

2010-06-18 Thread Dave Everitt
Raimon a few things you probably already know but... just in case! 1. because of the preceding '.' in '.camping.db' you'll need to use ls - al to see the file listed (in the ~ home dir) in your file system. 2. In Magnus' example settings (database = list) you can also add a path to your

Re: First time on Camping

2010-06-18 Thread Dave Everitt
Hmm - quickly: in similar setups this usually requires UTF-8 to be specified throughout Camping(?), the database, within your files (and any markup files they generate), and (sometimes) also on the server. Then you can just use/store/retrieve the characters as they are - Dave E The main

Re: Updated version of RESTstop and RESTr plus bonus blog post

2010-06-23 Thread Dave Everitt
Added to the Github Camping wiki (with your growing number of links...) - guides these are really useful! - Dave Everitt I also ended up writing a blog post on how to implement REST services with RESTstop. See http://bit.ly/tareststop ___ Camping

Re: Camping 2.1 and whywentcamping.com

2010-07-01 Thread Dave Everitt
On 30 Jun 2010, at 13:57, Philippe Monnet wrote: Who would be interested in working together on the site? [briefly] I would. Busy today, will process latest emails and respond later :-) A great new step for Camping all round, though! Dave E ___

Re: Camping 2.1 and whywentcamping.com

2010-07-05 Thread Dave Everitt
. View Issue: http://github.com/camping/whywentcamping.com/issues#issue/3 The reference show/hide JQuery fails on my latest Firefox, but this should be simple to fix. Dave Everitt Just for fun and to keep creative juives flowing I mocked up one idea of layout including a resizable look

Re: Wiki vs homepage

2010-07-23 Thread Dave Everitt
Hi Steve - I really like that idea. Of course, someone (us) is going to have to actually purchase the domain at some point :-) - Dave E I don't know if it's available or not, but why not campingrb.com rather than ruby-camping.com? Many of the other small web frameworks follow this url

Re: Wiki vs homepage

2010-07-23 Thread Dave Everitt
Anyone know who did this: http://camping.tumblr.com/ ? Dave E Jenna: I suggest a tumblr, because it doesn't cost anything, can have group committers, all the features we need, and it too is connected to the rich heritage of _why :) ___

Re: Wiki vs homepage

2010-07-23 Thread Dave Everitt
May not be attractive, but if it's already a ruby-related meme, worth considering - Dave E On 23 Jul 2010, at 17:38, Philippe Monnet wrote: My preference would be to have Ruby explicitly mentioned in the name and a clear easy-to-read url. This makes it a bit more SEO friendly too which is

Re: Camping on StackOverflow

2010-07-25 Thread Dave Everitt
There aren't enough Camping questions on SO to cherry pick :-) but getting them to use the mailing list would be good, although we'd also want to answer directly on SO - Dave E. On 25 Jul 2010, at 14:11, Philippe Monnet wrote: I think we probably need to also keep an eye on StackOverflow

Re: Camping on StackOverflow

2010-07-25 Thread Dave Everitt
Librelist looks great. Can it take the existing archives? How can inboard links to the existing list be forwarded? Are the killer questions - Dave E. Speaking of the mailing list: rubyforge sucks! Couldn't we have something nice, like librelist? Those hackety hack guys with their fancy

Re: Need input on proposed tweaks to www.ruby-camping.com

2010-08-13 Thread Dave Everitt
Okay - we might be all running before we can walk, what with no real improvement to existing content yet. Everything I do professionally in this field starts with a solid content plan/list and a kind of strategy - there are some pretty good content suggestions in older posts. Before go

Re: Don't understand one part of the book

2010-08-21 Thread Dave Everitt
: http://github.com/camping/camping/wiki/WhyWentCamping-Homepage The text simply explains in plain language what the code above actually does, that's all :-) Dave Everitt Hi Guys/Gals. I am new to the world of Camping. It looks very simple. I have two issues: What types of applications

Re: Wiki Writing Requests!

2010-08-22 Thread Dave Everitt
Hi Jenna - done (Markdown). Others can add to it now - Dave E. Heya! So I'm trying to get this new website all tied up in a nice little bunch. I'm a bit silly when it comes to git-fu though. Could one of you create a page on the camping/camping wiki called 'Contributing', and put stuff in

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-23 Thread Dave Everitt
This needs to stop - now! I've sent you another reply, so please respond to that instead and leave off the personal exchanges - Dave E. i've been reading what you've been writing and you obviously haven't got a clue what you are talking about. and rather than accusing me of not knowing

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-23 Thread Dave Everitt
I apologise if my reply seemed pompous - your background wasn't obvious. If you're developing a new framework, great, let us know about it. No need for the insults, I just help out here in my free time, that's all - Dave E. appreciate your attempt to explain. you assume far to much. you

Camping on Wikipedia

2010-08-24 Thread Dave Everitt
) : http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks Dave Everitt ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Philosophy

2010-08-24 Thread Dave Everitt
Fine with me. I'd like the idea of collating and condensing our statements about it, and putting them somewhere too. I might do that - Dave http://github.com/camping/camping/wiki/Philosophy Whatcha guys think? ___ Camping-list mailing list

Junebug Wiki

2010-08-24 Thread Dave Everitt
contact him via Github. Dave Everitt ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Rubyconf

2010-11-11 Thread Dave Everitt
Anyone going to http://rubyconf.org/ wearing a 'Camping' t-shirt? ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: [ANN] ABingo (A/B Testing framework) plugin for Camping

2011-01-24 Thread Dave Everitt
Hi Jenna - just checking email backlog, was going to pop something up on Phillippe's behalf, but Rack is down on whywentcamping.com :-( - Dave Everitt Hey you know it would be totally awesome if you did some posts on the camping blog at http://log.whywentcamping.com/submit about

update breaks hello clock?

2011-05-18 Thread Dave Everitt
Just did a quick gem update, including Camping 2.1, and ran 'Hello Clock' (http://camping.rubyforge.org/book/02_getting_started.html) as a quick test: deveritt$ camping nuts.rb /usr/local/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/utils.rb:138:in `union': can't convert Array into String

Re: update breaks hello clock?

2011-05-18 Thread Dave Everitt
: https://github.com/rack/rack/pull/145 You can downgrade to 1.2.0 for now. // Magnus Holm On Wed, May 18, 2011 at 12:44, Dave Everitt dever...@innotts.co.uk wrote: Just did a quick gem update, including Camping 2.1, and ran 'Hello Clock' (http://camping.rubyforge.org/book

Re: update breaks hello clock?

2011-05-18 Thread Dave Everitt
/camping/ if anyone knows who to contact to get this changed? - Dave A better solution is to actually upgrade to 1.8.7 (which is actively maintained) // Magnus Holm On Wed, May 18, 2011 at 18:15, Dave Everitt dever...@innotts.co.uk wrote: Thanks Magnus - downgraded Rack to 1.2.0 after trying

Re: Feature: Inline templates?

2011-08-26 Thread Dave Everitt
Since no-one has replied, for what it's worth (as a very amateur camper), I've always been happy with simple regular Markaby views and the v2.1 options for external templates. Also, my modest one-file apps have their CSS after __END__. In any sizeable app, you'd probably want to have

Re: Teaching

2011-08-31 Thread Dave Everitt
I think there's nothing more fun than finding noobs and teaching them how to make awesome hacks! I know some of you guys think like I do, and I want to know which ones of you that is? I'm one of those. I've a project in mind, and it's going to take some doing. I could do it myself, but

Re: Teaching

2011-08-31 Thread Dave Everitt
Everyday is WhyDay. You should know this! :D oh yeh - I forgot :-) I'll email you directly with infos later. k ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Feature: Inline templates?

2011-10-07 Thread Dave Everitt
On Fri, Aug 26, 2011 at 16:14, Dave Everitt dever...@innotts.co.uk wrote: Since no-one has replied, for what it's worth (as a very amateur camper), I've always been happy with simple regular Markaby views and the v2.1 options for external templates. Also, my modest one-file apps have

Passenger, Rack and __END__ error

2011-10-13 Thread Dave Everitt
I might be missing something stupid.. but Passenger doesn't like __END__ http://pastie.org/2689517 Same code (omitting requires) fine in Camping server, not with Passenger/Rack: compile error config.ru:33: syntax error, unexpected $end, expecting ')' __END__ ^ Works fine under Passenger

Re: Markaby + HTML5

2011-11-05 Thread Dave Everitt
Hi Nokan for current efforts in this direction, see here: https://github.com/markaby/markaby/issues/18 and here: https://github.com/markaby/markaby/pull/26 and note: https://github.com/igravious/markaby/commit/8be76d138228a32500f96140afca79bf95751e40 Or even: https://github.com/zimbatm/miniby

Re: setting controllers etc

2011-12-19 Thread Dave Everitt
One of Camping's major selling points is that it's just straight forward ruby classes and modules. No magic. Magic is anything where you don't immediately fully grasp how it works. set :controllers is that type of thing. -1 for magic, and +1 for questions like this: Is it filename based?

Re: Markaby license issue

2011-12-30 Thread Dave Everitt
I don't think there are any 'shoulds', but people writing code (including markup) which other people might one day need to understand would be wise to make it comprehensible, and probably therefore in a recognisable, readable syntax... which I think is the essence of Markaby and its legacy

Re: camping paid examples + screencasts ?

2012-03-26 Thread Dave Everitt
another thread has just come alive about showing the alive-ness of Camping (Re: +1 shorter domain name), so you might want to take a look there too. It's a generous offer and I'm sure someone(s) will take it up. I actually enjoy doing tutorial stuff like this, but we're a diverse bunch

Re: camping paid examples + screencasts ?

2012-03-27 Thread Dave Everitt
Great! The first thing is to decide *what* to screencast... the 'blog in 10 minutes' idea is a bit old (although an updated version would be good because there's an old Camping one out there somewhere)... Any suggestions for a useful, current and easy topic for a Camping screencast? -

Re: camping paid examples + screencasts ?

2012-03-27 Thread Dave Everitt
Hi David seriously do a normal, new user have to dig till stackoverflow to find this out ? I think that db connection, especially MySQL (because I don't think the small average web app would need mongo/ couch but that's just me) should be fairly straightforward. it is, it's just not

Re: camping paid examples + screencasts ?

2012-03-29 Thread Dave Everitt
My only fear was - am I doing something that people might want or is really useless ? it's useful :-) So bottom line: will go ahead with the 6-7 screencasts (Isak is doing it) and we take it from there. ...tutorials for specific things such as: adding cookies, sessions, using different

Re: camping paid examples + screencasts ?

2012-03-30 Thread Dave Everitt
On 30 Mar 2012, at 14:51, david costa wrote: Vimeo is great (I use it for a lot of professional videos) but perhaps we should have them on youtube too because google ranks video from youtube higher on their searches. YouTube: loads of trolls (-2) but lots of eyeballs (+1) = total: -1

Re: camping paid examples + screencasts ?

2012-03-30 Thread Dave Everitt
ah - was just stripping out the excess and responding to multiple parts of multiple messages in email-style. Will revert to adding at the top - DaveE :-) Wow. We should really enforce some sort of top or bottom posting policy on this mailing list. Preferably top because That's the

Re: camping paid examples + screencasts ?

2012-03-30 Thread Dave Everitt
to configure anything and/or something where you simply drop your nuts.rb in the folder you want in apache/anything and it runs automagically or in a very simple way. But I am also very happy with how it works now :) just thinking loud! David On Fri, Mar 30, 2012 at 4:59 PM, Dave Everitt dever

Re: dead easy deployment / Camping on the fly

2012-03-30 Thread Dave Everitt
oops - should have put my last reply here... - DaveE Hello all, I am opening a separate topic just to brainstorm the idea of a free, simple camping deployment/hosting option. Now this is not about re-inventing the wheel as heroku already supports camping apps too. So this would be the

Re: dead easy deployment / Camping on the fly

2012-04-01 Thread Dave Everitt
A bit late in the day, but (quick and probably uninformed thought, given the volume of messages I just skimmed) might rvm help manage Ruby installs/updates/gems safely? - DaveE Hello again ! :) well in theory we can chrot jail users but the best way is to install the gems that people need

Re: dead easy deployment / Camping on the fly

2012-04-03 Thread Dave Everitt
Been trying the setup (okay, this is not going to win any awards, but...): http://dave.camping.sh/ It's an old app rewritten (except - as yet - for the content :-) DaveE ___ Camping-list mailing list Camping-list@rubyforge.org

Re: sites powered by Camping

2012-04-11 Thread Dave Everitt
BTW the site's repo is here so you can fork and add if you like... https://github.com/DaveEveritt/Camping-links DaveE Hi, The tab Sites using Camping is empty :) I mean no more than 0 links are there. On Wed, Apr 11, 2012 at 2:13 PM, Dave Everitt dever...@innotts.co.uk wrote: I've been

Re: sites powered by Camping

2012-04-11 Thread Dave Everitt
I know. That's why it says Look. I haven't done this yet, okay? Give me a break. :-) I spent most of the afternoon checking and tidying up the other links and the app. But they will come! I have quite a few links I haven't put up yet. Meanwhile, if you know of any, please reply to this

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 started a new thread. DaveE

Re: sites powered by Camping

2012-04-12 Thread Dave Everitt
Hi Nokan - it's up there :-) BTW slow == good. Anyone else have a site to put up? I have been working on this in the last ~2.5 weeks: http://rapiddatingmalta.com (Yes, I know I'm slow... :- ) ___ Camping-list mailing list

Re: Camping's URL mapping system

2012-04-13 Thread Dave Everitt
with things that might be kind of annoying at times. And grow it with a steady pace. If we'd fork camping I think we should still stay as minimalistic as possible. Only adding the best things. And work on making it easy to extend. Cheers! Isak Andersson Dave Everitt dever...@innotts.co.uk skrev

Re: http_referrer

2012-04-14 Thread Dave Everitt
Haha! How did you get Spock on board... :-) I must admit I'm a little confused about the sytnax for environmental variables, because as well as @env[HTTP_REFERER] this also works: ENV['SCRIPT_NAME'] For a test I just used it like this: ENV['SCRIPT_NAME'].scan(/\w+\.\w+$/) to get the

Re: http_referrer

2012-04-14 Thread Dave Everitt
About environment variables - I've just used this in my Camping helpers to print them all out, but the Rack variables seem to have multiple values or values with no name: def envars(theenv) if theenv == ENV ul do theenv.each_pair do |name,value| li { name + + value }

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

Re: http_referrer

2012-04-15 Thread Dave Everitt
Understood about compatible - this is David's Camping server, and I'm experimenting with QUERY_STRING in the URL and various other env vars - DaveE On Sat, Apr 14, 2012 at 10:38, Dave Everitt dever...@innotts.co.uk wrote: Haha! How did you get Spock on board... :-) I must admit I'm

Re: framework size, forking etc.

2012-04-16 Thread Dave Everitt
as minimalistic as possible. Only adding the best things. And work on making it easy to extend. Cheers! Isak Andersson Dave Everitt dever...@innotts.co.uk skrev: 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

Re: framework size, forking etc.

2012-04-17 Thread Dave Everitt
If you want to use something like SASS for CSS, there are gems for that (or use LESS), but I'd never expect such functionality to be built into in Camping - that's one of the things I *like* about it: a small functional default set that works, with options for other ways left to me. BTW

Re: framework size, forking etc.

2012-04-17 Thread Dave Everitt
+1 to all that David Costa wrote in response. Magnus *has and does* kept things solid and on track in a way that suits Camping. We're never going to go head-to-head in the framework competition stakes (bit late for that anyway, with frameworks swerving all over client- side dev). As for

Re: http_referrer

2012-04-17 Thread Dave Everitt
Just to be clear (obviously env vars are going to differ according to setup, but): when env is used inside Camping, it's equivalent to @env and get Rack env vars when ENV is used, it will get any other environment variables, not just from Passenger etc. but also any set by the system.

Re: http_referrer

2012-04-17 Thread Dave Everitt
Hi cdr - thanks for this, but I've not been able to do key value on the Rack envs as some seem to have a different format - see the other post I added to this thread - DaveE how Rack env vars are stored, and how to get a nice printout? i defined #to_html on everything. on Array thats

Re: framework size, forking etc.

2012-04-18 Thread Dave Everitt
Daniel - that's a great reply and echoes much of my own experience (although my Camping is much more on the tinkering side). The point about Camping being an educational tool is a good one, which I've even tried to apply to students (unsuccessfully - but that's my problem), and it would be

Re: framework size, forking etc.

2012-04-18 Thread Dave Everitt
Not to forget Perl (who would have thought that?) which currently has the best web framework I've ever seen: http://mojolicio.us/ I would have thought it - my sometimes co-developer opened my eyes to Titanium: http://mark.stosberg.com/blog/2008/12/titanium-a-new-release-and-more.html and

Re: Camping + Couch DB

2012-04-26 Thread Dave Everitt
Hi Nokan I'm a professional newbie (simply because I use and teach a wide range of stuff and only go deep when I have to :-) As I'm sure you're aware, as an embedded lightweight database SQLite makes an easily-managed default setup (as in Camping... and Django, and even within OS X and,

definitive markaby

2012-05-02 Thread Dave Everitt
I'm compiling Camping links... please can someone refresh my memory: how does this: https://github.com/igravious/markaby relate to this: https://github.com/camping/mab ? DaveE ___ Camping-list mailing list Camping-list@rubyforge.org

Re: definitive markaby

2012-05-02 Thread Dave Everitt
becoming incompatible with an update to it's dependancy Builder. — Jenna On Wednesday, 2 May 2012 at 10:15 PM, Dave Everitt wrote: I'm compiling Camping links... please can someone refresh my memory: how does this: https://github.com/igravious/markaby relate to this: https://github.com/camping

Re: ChillDB License

2012-05-02 Thread Dave Everitt
You could read Stallman's CopyLeft idea http://www.gnu.org/copyleft/ to prevent unscrupulous individual from turning your code into a profitable product (I think) - DaveE This is very helpful! I don't really mind though. Maybe public domain is best. I'm not a big believer in copyright. —

Re: ChillDB License

2012-05-02 Thread Dave Everitt
LOL if you don't, that's okay! Just in case you did... - DE Why would I care if they did that? — Jenna On Wednesday, 2 May 2012 at 11:19 PM, Dave Everitt wrote: You could read Stallman's CopyLeft idea http://www.gnu.org/ copyleft/ to prevent unscrupulous individual from turning your code

Re: ChillDB License

2012-05-02 Thread Dave Everitt
thanks Magnus, Anthony - that's all going in my quickref 'solutions log'... DE Public domain is people can do whatever they want with it. BSD is people can do whatever they want with it, but I retain copyright and they must credit me. (so the copyright part isn't that important there). GPL

Re: ChillDB License

2012-05-02 Thread Dave Everitt
This is all interesting stuff - never knew the Camping community had a licensing information stream. I gave a talk that included the basics (A tiny history of Stallman, FOSS and the Open Source 'split') to students a few years back. If I ever do it again, this'll make me revisit the

Re: ChillDB License

2012-05-03 Thread Dave Everitt
Perhaps this rich seam of knowledge could be captured in a little Camping app: 'a guide to software licenses' :-) On Wed, May 02, 2012 at 10:35:45AM -0700, Trevor Johns wrote: MIT is marginally simpler to read and is unambiguous, since there's only one version. For this reason, it's my

Re: ChillDB License

2012-05-03 Thread Dave Everitt
I'll second that. I remember Ballmer's Linux is a cancer... and gave an overview of the origins and rationale to students in a (shame - the only Powerpoint) presentation I still use: http://www.slideshare.net/cubexplorer/opensource-5479951 - DaveE thank you Mr. Stallman. Thank you Mr.

  1   2   >