<    March 2010    >
Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
00:04 flexd joined
00:10 jpld joined
00:14 benschwarz joined
00:22 flexd joined
00:27 hipe joined
00:36 RichGuk joined
00:39 bradgonesurfing joined
00:41 mitkok joined
00:45 crohr joined
00:53 ph^ joined
01:03 khaase joined
01:06 womble joined
01:09 JonathanT joined
01:12 anatoo joined
01:17 RichGuk joined
01:29 karmi joined
01:41 rtomayko joined
01:42 flexd joined
01:48 qwerxy joined
01:54 RichGuk joined
01:57 flexd joined
02:37 shilin joined
02:38 <shilin> hi, how do I make use of authenticate_or_request_with_http_basic in sinatra? Or what else really simpe I can use instead of it?
02:39 benschwarz joined
02:40 <cypher23> shilin, you don't. There's a Rack middleware for that
02:41 <shilin> Rack::Auth::Basic - that one?
02:41 <cypher23> Yup.
02:41 <harryv> use Rack::Auth::Basic do |login,pwd| login == "foo" && pwd == "bar" end
02:42 khaase joined
02:47 <erthad> or you can use Rack::Warden -- it is a more complex to use than Rack::Auth but allows to authenticate virtually anywhere
02:58 <shilin> thanks, guys
03:07 qwerxy joined
03:07 futurechimp joined
03:17 jeremyevans joined
03:18 fbru02 joined
03:34 SkramX joined
03:38 postmodern joined
03:38 hassox joined
03:52 alexmchale joined
04:03 khaase joined
04:20 futurechimp joined
04:30 rtomayko joined
04:58 khaase joined
05:09 pdelgallego joined
05:16 gma joined
05:16 futurechimp joined
05:22 soveran joined
05:45 bolson joined
05:56 erthad joined
06:06 hipertracker joined
06:17 tbuehlmann joined
06:39 djanowski joined
06:56 bolson joined
07:14 qrush joined
07:25 soveran joined
07:27 loincloth joined
07:43 stepheneb joined
07:55 coderdad joined
07:56 pdelgallego joined
07:58 [james] joined
07:59 ylluminate joined
07:59 soveran joined
08:02 mitkok joined
08:04 mjw2 joined
08:11 qwerxy joined
08:22 coderdad joined
08:22 kristopher joined
08:25 millionmonkey joined
08:43 lala joined
09:02 stepheneb joined
09:06 neonski joined
09:06 chimp joined
09:07 futurechimp joined
09:08 arnaudsj joined
09:09 arnaudsj left
09:11 coderdad_ joined
09:18 r11t joined
09:19 codeswing joined
09:24 santiago joined
09:34 BrianTheCoder joined
09:34 drev1 joined
09:41 tpiep joined
09:58 djanowski joined
10:07 eddanger joined
10:12 hadees joined
10:19 hipe joined
10:23 candeller joined
10:35 hipe joined
10:43 tpiep_ joined
11:09 victori joined
11:10 stepheneb joined
11:10 greg8si joined
11:11 RichGuk joined
11:29 mitkok joined
11:30 stepheneb joined
11:32 djanowski joined
11:32 dancroak joined
11:34 soveran joined
11:42 zodiak joined
11:47 joeconyers joined
11:59 cpg joined
12:00 qrush joined
12:00 zoo-zed joined
12:08 stouset joined
12:22 bradgonesurfing joined
12:25 flegelleicht joined
12:29 pjammer joined
12:29 <pjammer> highfives eladmeidar
12:33 defunkt joined
12:35 <pjammer> request.params may very well be what i need.
12:46 loincloth joined
13:13 pdelgallego joined
13:16 mattly joined
13:16 benlovell joined
13:34 benschwarz joined
13:41 demet8 joined
13:57 pedrobelo joined
13:57 robgleeson joined
13:58 qrush joined
13:58 hipe joined
14:05 stepheneb joined
14:23 <stahnma> is there a method to destroy a session? right now I am just nilling out value, which seems hackish
14:35 <sr> rtomayko, ping
14:36 <rtomayko> sr: pong
14:36 <rtomayko> you down at the cafe?
14:36 <rtomayko> are we gonna do this thing or what?
14:38 mattly joined
14:40 fbru02_ joined
14:49 <sr> rtomayko, we definitely are
14:50 <sr> rtomayko, dont have the address, though. also i gotta go to the bank and get my clothes washed before leaving so i am gonna be there around 3:30pm
14:50 <rtomayko> cool
14:54 flegelleicht joined
14:59 <sr> rtomayko, whats the address?
15:00 <rtomayko> sr: cavelli cafe. corner of stockton, columbus, and green
15:01 <rtomayko> try columbus and green if you're putting it into a map app
15:01 multigrain joined
15:02 <robgleeson> stahnma: kind of, you could do response.delete_cookie('rack.session') but that pretty does the same thing as you're doing
15:03 <robgleeson> pretty much*
15:03 <stahnma> robgleeson: thanks, I'll try that out
15:16 postmodern joined
15:18 jacius joined
15:24 <rtomayko> sr: I'm jumping in the shower real quick. be down in 15.
15:26 kristopher joined
15:47 bmizerany joined
15:49 mjw2 joined
15:53 qrush joined
15:55 johnny left
16:02 <sr> rtomayko, still doing laundry shit. will call a cab in about 10
16:02 <rtomayko> ahh okay. I'm just now heading down. so perfect.
16:02 <sr> great, see ya
16:03 bmizeran_ joined
16:13 coderdad joined
16:16 ecin joined
16:20 greg8si joined
16:23 johnny joined
16:28 russm joined
16:35 hadees joined
16:36 nitsujw joined
16:45 stouset joined
16:48 rtomayko joined
16:52 charlenopires joined
16:54 coderdad_ joined
16:58 GitHub3 joined
16:58 <GitHub3> sinatra.github.com: 07master 03Simon Rozet * a5dd65a (1 files in 1 dirs): better navigations links - http://bit.ly/aPkG25
16:58 GitHub3 left
16:59 GitHub150 joined
16:59 <GitHub150> sinatra.github.com: 07master 03Simon Rozet * 50cd149 (1 files in 1 dirs): same for the homepage - http://bit.ly/aPa1N5
16:59 GitHub150 left
17:00 mitkok joined
17:01 stepheneb joined
17:07 rtomayko_ joined
17:07 bmizeran_ joined
17:16 loincloth joined
17:18 bdimcheff joined
17:18 kohei joined
17:21 <bmizeran_> rtomayko_: http://www.rubyinside.com/sinatra-29-links-and-resources-for-a-quicker-easier-way-to-build-webapps-1371.html
17:25 GitHub198 joined
17:25 <GitHub198> sinatra: 07master 03Simon Rozet * ccb66b0 (2 files in 2 dirs): get rid of backtrace cleaning - http://bit.ly/d6u8q4
17:25 GitHub198 left
17:34 locks joined
17:40 ecin joined
17:51 robgleeson joined
17:56 tindus left
18:00 eladmeidar joined
18:01 alexmchale joined
18:01 abcde joined
18:08 loinclot_ joined
18:14 qrush joined
18:15 rtomayko joined
18:18 <bmizeran_> rtomayko: http://github.com/bmizerany/sinatra/commit/a0737570953e87a64ef345180a684e056ee4b02f
18:22 TomV-415 joined
18:23 <bmizeran_> rtomayko: http://github.com/bmizerany/sinatra/commit/8a7dd92e1c1b94ac1beeafda5af8898384a02f00
18:25 GitHub142 joined
18:25 <GitHub142> sinatra: 07master 03Blake Mizerany * 8a7dd92 (1 files in 1 dirs): mention pass blocks in CHANGES - http://bit.ly/bH95as
18:25 GitHub142 left
18:27 <TomV-415> has anyone had any luck recently getting the hoptoad_notifier to work with Sinatra? (The sample here doesn't work for me: http://github.com/thoughtbot/hoptoad_notifier )
18:27 <halorgium> TomV-415: use rack_hoptoad
18:46 TomV-415 joined
18:52 <TomV-415> halorgium: Here's my rack_hoptoad version - http://gist.github.com/328707 also not working, but I do see hoptoad.notified is set to true looking at Rack.env
18:52 <TomV-415> any ideas? Am I missing something obvious here?
18:53 bmizerany joined
18:54 ecin joined
18:59 jbrennan joined
19:05 <TomV-415> I may try getExceptional -- anyone used that in sinatra?
19:05 <TomV-415> Here's a post from about a year ago that looks encouraging http://adamblog.heroku.com/past/2009/1/21/get_exceptional_sinatra/
19:06 <TomV-415> but getExceptional is $108/year...
19:08 lala joined
19:10 greg8si joined
19:11 <chuck> Does Sinatra have the ability to filter parameters from log files?
19:13 alexmchale joined
19:16 greg8si joined
19:17 <TomV-415> FYI update - looks like Exceptionall is now purely a rails gem..
19:19 alexmchale joined
19:19 <TomV-415> (getExceptional.com) bummer.
19:45 soveran joined
19:53 bolson joined
19:57 joeconyers joined
20:03 joeconyers joined
20:04 defunkt joined
20:05 alexmchale joined
20:12 postmodern joined
20:14 abcde joined
20:14 alexmchale joined
20:21 joeconyers joined
20:22 victori joined
20:26 hassox joined
20:26 joeconyers joined
20:38 TomV-415 joined
20:53 joeconyers joined
20:54 johnny left
20:58 levifig joined
20:59 stepheneb joined
21:10 devin_ joined
21:16 bdimcheff joined
21:17 anatoo joined
21:23 johnny joined
21:28 JeffryG joined
21:36 joeconyers joined
21:48 ibacchus joined
22:04 bdimcheff joined
22:11 atmos joined
22:12 <mouse-_> hey there. i'm wondering, does the hash part of a GET request get sent to the server, and if so, where would it be in sinatra variables?
22:12 <mouse-_> (ie http://domain.com/path/to/file#the/quantity/i/want)
22:13 <mouse-_> 127.0.0.1 - - [10/Mar/2010 23:44:31] "GET /server HTTP/1.1" 200 3112 0.0450
22:13 <johnny> ah.. the fragment
22:13 <mouse-_> that was http://localhost/server#whereareyou
22:13 <defunkt> mouse-_: server doesn't see it
22:13 <johnny> i don't think o
22:13 <defunkt> unfortunately
22:13 <mouse-_> someone told me it did, and i really don't believe them
22:13 <johnny> yeah.. it's always meant page fragment to the browser
22:13 zodiak joined
22:13 <johnny> not at all on the server
22:13 <mouse-_> Right. OK, so that's the way ajax is supposed to be handled
22:13 <mouse-_> maybe someone has an idea of how I can grab that with javascript for a redirect? heh
22:14 <defunkt> window.location.hash
22:14 <defunkt> in js
22:14 <mouse-_> hmm, OK, so check that on a page load then
22:17 <mouse-_> too bad, that means that it will not work for js-enabled browsers
22:17 <mouse-_> ugh
22:17 <mouse-_> now i remember why i never bothered with web design
22:17 <johnny> mouse-_, most people have js on now tho
22:18 <johnny> so you'll probably be ok
22:18 <mouse-_> yeah, heh
22:18 <johnny> mouse-_, i know why i did'nt really bother wieht web design
22:18 <johnny> it wasn't lack of js..
22:18 <johnny> 3 characters.. one is a number less than 7
22:19 <mouse-_> my site is progressive enhancement anyway
22:19 <johnny> can you guess? :)
22:19 <mouse-_> so those who don't have it enabled will never get to the hash. I guess it only matters when a js-enabled client sends a link to a non-js enabled one
22:20 <mouse-_> lol
22:20 <mouse-_> let me think, johnny....
22:20 <mouse-_> Sex?
22:20 <mouse-_> =D
22:20 <johnny> that doesn't have a number in it..
22:20 <mouse-_> it's almost a number if you -e+i
22:21 <johnny> ie6 is the devil :(
22:21 <johnny> so glad google is forcing it to die
22:21 <mouse-_> ahhhhh hehehehe
22:21 <mouse-_> i think everyone on the planet is forcing ie6 to die
22:21 <johnny> sure.. but until something big like youtube doesn'twork
22:21 <mouse-_> poor freaking intranets
22:21 <johnny> it won't matter
22:21 <johnny> still tho.. i'll be happy with i can only support ie9..
22:21 <johnny> ie8 is much better than 7 tho.
22:24 hadeees joined
22:25 <mouse-_> lol, i have absolutely no experience with any ie
22:26 <mouse-_> why anyone would use ie is beyond me
22:26 <johnny> it's a big E and it says internet
22:27 <johnny> :)
22:28 <russm> mouse-_: because they work in a company that has IE6 as the SOE browser?
22:28 <russm> those clients are the bane of my life...
22:29 <johnny> well.. at least ms backtracked and allowed ie7 in XP
22:29 <johnny> i remember when they were'nt going to do that
22:29 <johnny> now you can even get ie8 in xp
22:58 warthurton joined
22:58 warthurton joined
23:26 syd_ joined
23:39 bmizerany joined
23:56 ecin_ joined