mistym has quit [Remote host closed the connection]
lele|w has quit [Ping timeout: 240 seconds]
tbuehlmann has quit [Ping timeout: 272 seconds]
ta has joined #ruby-lang
futilegames has joined #ruby-lang
fusillicode has joined #ruby-lang
solars has joined #ruby-lang
adphillips has joined #ruby-lang
pixelhandler has joined #ruby-lang
fusillicode has quit [Ping timeout: 250 seconds]
adphillips has quit [Remote host closed the connection]
GaelanAintAround has quit [Ping timeout: 255 seconds]
lele|w has joined #ruby-lang
zz_dlu has quit [Ping timeout: 250 seconds]
devgiant has joined #ruby-lang
pixelhandler has quit [Quit: pixelhandler]
matp_ has joined #ruby-lang
matp has quit [Ping timeout: 255 seconds]
matp_ has quit [Client Quit]
matp has joined #ruby-lang
iliketurtles has joined #ruby-lang
devgiant has quit [Quit: Leaving]
toastynerd has joined #ruby-lang
zz_dlu has joined #ruby-lang
fusillicode has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
GaelanAintAround has joined #ruby-lang
tectonic has quit []
ari-_-e has quit [Ping timeout: 245 seconds]
|jemc| has quit [Ping timeout: 260 seconds]
Atttwww has quit []
yfeldblum has joined #ruby-lang
AKASkip has joined #ruby-lang
tbuehlmann has joined #ruby-lang
banister has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
TvL2386 has joined #ruby-lang
jhass|off is now known as jhass
mikecmpbll has joined #ruby-lang
elia has joined #ruby-lang
rolfb has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
realDAB has joined #ruby-lang
skade has joined #ruby-lang
<yorickpeterse>
morning
<maloik>
o/
postmodern has quit [Quit: Leaving]
jhass is now known as jhass|off
frank_o has joined #ruby-lang
jhass|off is now known as jhass
ponch_ has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
ponch_ has quit [Ping timeout: 272 seconds]
mjboselowitz has quit [Remote host closed the connection]
sMecKs has quit [Read error: Connection reset by peer]
<yorickpeterse>
def logger; request.logger; end
<yorickpeterse>
ugh
wallerdev has quit [Quit: wallerdev]
<yorickpeterse>
Fukit, time to create a new "WTF.md" document about this project
<yorickpeterse>
There's a lot that needs to be cleaned up
<maloik>
please post it, sounds like comedy :D
taiansu has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zenspider>
I just upgraded git on my server and now my homebrew dir is saying it isn't a git directory. Am I supposed to migrate the .git dir or something?
<zenspider>
fuck it. downgrading git
<maloik>
what about re-initializing? might fix everything... I say might, so take a backup before you try it
<maloik>
the same way rails new (I think it was) fixes an existing project when you update it
<jhass>
I think git init inside a .git will just create a .git/.git
<jhass>
especially if it thinks you're outside a repo
<maloik>
not inside the .git of course :-)
<yorickpeterse>
zenspider: Perhaps Homebrew is still using Git 1.x and your server Git 2.x
<yorickpeterse>
Not sure if the two are compatible
<frank_o>
jhass: Greetings! Regarding our API setup - if the API becomes unresponsive, the whole app will time out. Is there a way to prevent that? I'd hate to think we should have gone with jQuery from the getgo.
<yorickpeterse>
or perhaps Homebrew does some weird shit where it thinks it's not compatible
<maloik>
my git is 2.0.0 and I use homebrew as well
<jhass>
frank_o: what do you want to happen if that happens?
<frank_o>
jhass: Ideally it should load regardless of whether or not that controller method succeeds. But that's probably not how things work, huh.
michd is now known as MichD
<jhass>
it should load _what_
<yorickpeterse>
maloik: it's annoying at times, I feel like I have to constantly run after people acting like I'm their mother
<frank_o>
I'm thinking some jQuery thingie with deferred objects might be better suited for loading these products. But then what about all that beautiful JSON key manipulation we did.
<zenspider>
yorickpeterse: it's just the git client on my server. version _shouldn't_ matter, should it?
<yorickpeterse>
Yes, I'm quite pedantic, but seriously there's no need to use bloody activesupport just to get a constant from a string
<zenspider>
I didn't hear about any catastrophic stuff for git 2.0
<yorickpeterse>
zenspider: as far as I know it should work, yes
<yorickpeterse>
I'm on Git 2.x as well and haven't noticed any similar problems so far
<jhass>
frank_o: you can still make a route to convert that stuff back to json and query that
<zenspider>
I wonder if I just corrupted it somehow
<jhass>
frank_o: but I guess all you really want is a shorter timeout
<whitequark>
zenspider: afaik 1.x and 2.x have fully compatible repo formats
ari-_-e has joined #ruby-lang
<whitequark>
in fact it is THE same repo format
<zenspider>
This is fucking odd:
<zenspider>
1733 % cd /usr/local/
<zenspider>
1734 % git sta
<zenspider>
fatal: Not a git repository (or any of the parent directories): .git
<whitequark>
cat .git/config ?
skade has quit [Quit: Computer has gone to sleep.]
<zenspider>
huh. yup. it's missing. I have no idea what happened. easy enough to fix tho.
<zenspider>
thanks. I'm tired and missing stuff
<whitequark>
zenspider: what is left of that repository anyway?
ItSANgo has joined #ruby-lang
<frank_o>
jhass: jhass: So there's a way to skip `ThirdPartyProducts.fetch` if it doesn't respond within a certain timeframe?
<zenspider>
seems like everything else is fine
<frank_o>
jhass: I'm thinking that especially for mobile where even milliseconds count - we shouldn't have to sit around and wait for the API. If we were to use jQuery, we could insert the products into the page as they appear, if they appear.
<zenspider>
huh. or not. I'm just gonna rsync my local .git dir over it
<jhass>
frank_o: You can probably pass a timeout to RestClient
hellangel7 has joined #ruby-lang
<frank_o>
that'd be awesome man
<yorickpeterse>
frank_o: when time matters, offload heavy duty stuff to the background
<yorickpeterse>
It's the only solution that will scale. Increasing timeouts is just a game of cat and mouse, except you'll always lose
ssam2 has joined #ruby-lang
pabs has quit [Ping timeout: 264 seconds]
<yorickpeterse>
In fact, configuring timeouts is so badly done that often people seem to just resort to `my_client.timeout = 10_000`
elia has quit [Quit: Computer has gone to sleep.]
<zenspider>
cool. now it is acting like a repo again, sorta
pabs has joined #ruby-lang
<zenspider>
I'm back to the original problem which created this mess, which was:
<yorickpeterse>
I'm not sure if I just got rustled
<frank_o>
Rustled?
<yorickpeterse>
This is Ruby, what does jQuery have to do with this?
<yorickpeterse>
What are you building?
<yorickpeterse>
Also
<yorickpeterse>
there's an API token in there
<yorickpeterse>
You might want to remove that
<frank_o>
Anyway we're fetching products from a JSON API into a Rails app. I'm curious if it's better to let a jQuery-based REST client do this loading independently in the background.
<frank_o>
That token is dead, no worries :)
ssam2_ has joined #ruby-lang
<yorickpeterse>
jQuery doesn't solve the problem of slow services, it just moves the problem to the client
<yorickpeterse>
So while the initial page will load, the data still won't show up until the service responds
<yorickpeterse>
Is this data supposed to be real-time?
<jhass>
zenspider: need to set http.sslCAInfo and/or http.sslCAPath maybe
workmad3 has joined #ruby-lang
<zenspider>
jhass: what I don't understand is why things are working on my lappy but not on my server.
<zenspider>
they have the same ~/.gitconfig now
<frank_o>
But at least then the app won't crash if it doesn't load? Also the app won't have to wait for a certain timeout which would make it seem unresponsive to demanding mobile users.
apeiros has quit [Remote host closed the connection]
ssam2 has quit [Ping timeout: 240 seconds]
<jhass>
I recall OS X doesn't really provide a CA bundle, maybe you set that up once on your lap but never on your server
<frank_o>
yorickpeterse: Perhaps real-time would be better, yeah.
<frank_o>
It's real sad though. That Ruby code was so damn sweet.
<jhass>
frank_o: you don't want to deliver your API token to the users
<yorickpeterse>
frank_o: For one, your app wont crash
<frank_o>
jhass: I never thought of that
<yorickpeterse>
If you catch the timeout error you can just continue rolling
<jhass>
frank_o: so you want to fetch it through a separate route through your app anyway
<jhass>
can as well do the preprocessing on the server then
elia has joined #ruby-lang
<yorickpeterse>
Also considering you're calling an external API you have to, apparently, use semi real-time, there's no way around
<yorickpeterse>
Set the timeout on a reasonable time (e.g. 300ms) and you should be fine initially
<zenspider>
jhass: maybe? I don't recall it... but I would think it'd show in my config, no?
<yorickpeterse>
If you notice it's slow, then do it in the background somehow
<yorickpeterse>
For that you'll need some Ajax stuff though
ssam2 has joined #ruby-lang
marr has joined #ruby-lang
<frank_o>
Thanks a lot y'all
<frank_o>
Comforting to know !
ssam2 has quit [Read error: Connection reset by peer]
<jhass>
zenspider: never used OS X, so maybe there's still a standard location you could put a bundle and git would find it on its own
<jhass>
zenspider: on *nix it's typically /etc/ssl/certs/ca-certificates.txt/ca-bundle.txt or something like that
ssam2_ has quit [Ping timeout: 264 seconds]
Boohbah has quit [Remote host closed the connection]
lun_ has joined #ruby-lang
Boohbah has joined #ruby-lang
<maloik>
I vaguely remember having to do weird shit with some haxx.se CA after setting up a mac
<frank_o>
maloik: Me too :)
<frank_o>
OpenBSD though
<jhass>
everybody implement DANE already! let's get rid of that useless CA stuff :P
taiansu has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
<zenspider>
hrm... I think a more systemic problem is happening. curl is also failing, and that's the system curl.
<zenspider>
yeah. something is pissy. I prolly need to restore something from backups or something. not something I can/will do from PDX at 2AM
futilegames has left #ruby-lang [#ruby-lang]
taiansu has joined #ruby-lang
<yorickpeterse>
hmpf, this project has a Less/ and less/ directory
<jhass>
hopefully no windows devs :D
<yorickpeterse>
different files in them too
<yorickpeterse>
No, designers
<yorickpeterse>
on OS X
<yorickpeterse>
So I think for them it's even the same directory?
<yorickpeterse>
Since HFS isn't case sensitive by default
<yorickpeterse>
Plus they use Adobe, so it can't be as Photoshop still doesn't work on case sensitive HFS I believe
<jhass>
huh, but then doesn't error out if you create the directory twice?
<jhass>
odd
elia has quit [Quit: Computer has gone to sleep.]
<yorickpeterse>
nfi
Exlee has joined #ruby-lang
<yorickpeterse>
I don't use OS X
lun_ has quit [Remote host closed the connection]
Therp has joined #ruby-lang
<zenspider>
yorickpeterse: hfs is case aware, but case insensitive, so it actually HARDER to make that scenario.
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<zenspider>
unless you're me, and immediately wipe your macbook and reformat it case sensitive
<DefV>
I did that once
<DefV>
then 20% of the apps I used stopped working
<DefV>
that was not a good week
<yorickpeterse>
zenspider: well, they use Adobe software so they can't
<zenspider>
the only problem I have are shitty games (read: anything from EA)
<yorickpeterse>
also wtf, why do .css files need to be executable?
<DefV>
and Civ
<DefV>
4 & 5
futilegames has joined #ruby-lang
<zenspider>
given that I don't play games on my mac, this isn't really a problem for me
<zenspider>
yorickpeterse: "this project"... meaning, what you check out from SCM?
davispuh has joined #ruby-lang
<yorickpeterse>
zenspider: yes
Therp has quit [Client Quit]
<zenspider>
in that case, one person could have checked in "less" and another "Less"
<zenspider>
it'd be fine on the mac side
<yorickpeterse>
The CSS files appear to be generated from Less files, so I guess whatever shitty compiler they used changed stuff to 750
<yorickpeterse>
hmmmm
arBmind has joined #ruby-lang
<zenspider>
and would fuck up when committed, assuming case sensitive file system on the SCM server side,
<yorickpeterse>
I asked on of the designers, but he's in a meeting
<yorickpeterse>
so soon I'll know, hopefully
<zenspider>
going to bed...
<jhass>
zenspider: depends on the scm, git for once doesn't unpack on the server
lun_ has joined #ruby-lang
<jhass>
it's just always case sensitive and would break when cloned to a case insensitive FS
thomasxie has quit [Remote host closed the connection]
chouhoul_ has joined #ruby-lang
Cakey has quit [Ping timeout: 260 seconds]
<yorickpeterse>
oh great
<yorickpeterse>
._.
<yorickpeterse>
Vim just nuked my project directory
<yorickpeterse>
(╯°□°)╯︵ ┻━┻
apeiros has joined #ruby-lang
chouhoulis has quit [Read error: Connection reset by peer]
<rolfb>
yorickpeterse: what?
<rolfb>
how?
yorickpeterse1 has joined #ruby-lang
yorickpeterse has quit [Quit: The NSA took my baby]
yorickpeterse1 has quit [Changing host]
yorickpeterse1 has joined #ruby-lang
yorickpeterse1 is now known as yorickpeterse
elia has joined #ruby-lang
mjboselowitz has joined #ruby-lang
shortCircuit has joined #ruby-lang
<shortCircuit>
can i ask a rails migration based question? this singular plural thing is extremely confusing
arBmind1 has joined #ruby-lang
<jhass>
shortCircuit: try #rubyonrails
<shortCircuit>
ok
mjboselowitz has quit [Ping timeout: 244 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arBmind has quit [Ping timeout: 245 seconds]
stamina has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
elia has joined #ruby-lang
priodev has quit [Ping timeout: 245 seconds]
stamina has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
ssam2 has joined #ruby-lang
workmad3 has quit [Ping timeout: 255 seconds]
vieq has joined #ruby-lang
ari-_-e has quit [*.net *.split]
hagabaka has quit [*.net *.split]
Benny1992 has quit [*.net *.split]
_rgn has quit [*.net *.split]
jasiek has quit [*.net *.split]
nofxx has quit [Remote host closed the connection]
havenwood has quit []
Miphix has quit [Quit: Leaving]
banister has joined #ruby-lang
frank_o has quit [Quit: leaving]
realDAB has quit [Quit: realDAB]
priodev has joined #ruby-lang
_rgn has joined #ruby-lang
jasiek has joined #ruby-lang
Benny1992 has joined #ruby-lang
hagabaka has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
ur5us has joined #ruby-lang
ari-_-e has joined #ruby-lang
sepp2k has joined #ruby-lang
ur5us has quit [Ping timeout: 255 seconds]
yatish27 has joined #ruby-lang
stef_204 has joined #ruby-lang
priodev has quit [*.net *.split]
hagabaka has quit [*.net *.split]
Benny1992 has quit [*.net *.split]
_rgn has quit [*.net *.split]
jasiek has quit [*.net *.split]
shortCircuit has quit [Ping timeout: 246 seconds]
ponch_ has joined #ruby-lang
ponch_ has quit [Ping timeout: 245 seconds]
priodev has joined #ruby-lang
_rgn has joined #ruby-lang
hagabaka has joined #ruby-lang
jasiek has joined #ruby-lang
Benny1992 has joined #ruby-lang
InfraRuby has joined #ruby-lang
mjboselowitz has joined #ruby-lang
mjboselowitz has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby-lang
workmad3 has joined #ruby-lang
dm78_ has quit [Read error: Connection reset by peer]
dm78 has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
abhi_rsd has joined #ruby-lang
abhi_rsd has quit [Remote host closed the connection]
InfraRuby has left #ruby-lang [#ruby-lang]
banister has joined #ruby-lang
abhi_rsd_ has joined #ruby-lang
abhi_rsd_ has quit [Read error: Connection reset by peer]
kyb3r_ has quit [Quit: Leaving]
taiansu has quit [Remote host closed the connection]
kek has joined #ruby-lang
kek has quit [Ping timeout: 264 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ssam2_ has joined #ruby-lang
ssam2 has quit [Ping timeout: 240 seconds]
miqui has joined #ruby-lang
thang has quit [Ping timeout: 264 seconds]
thang has joined #ruby-lang
banister has joined #ruby-lang
TvL2386 has quit [Remote host closed the connection]
apt-get_ has joined #ruby-lang
koderok has quit [Quit: koderok]
apt-get_ has quit [Client Quit]
sarkyniin has joined #ruby-lang
bin7me has joined #ruby-lang
Miphix has joined #ruby-lang
hellangel7 has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
taiansu has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
koderok has joined #ruby-lang
abhi_rsd has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
mjboselowitz has joined #ruby-lang
Miphix has quit [Ping timeout: 250 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
mjboselowitz has quit [Ping timeout: 240 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
lcdhoffman has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
ldnunes has joined #ruby-lang
Miphix has joined #ruby-lang
kek has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
gianlucadv has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby-lang
yatish27 has quit []
kek has quit [Ping timeout: 246 seconds]
lcdhoffman has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
lcdhoffman has quit [Client Quit]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
abhi_rsd has quit [Ping timeout: 272 seconds]
Sgeo has quit [Read error: Connection reset by peer]
lcdhoffman has joined #ruby-lang
abhi_rsd has joined #ruby-lang
bartleby has joined #ruby-lang
bartleby has quit [Client Quit]
bartleby has joined #ruby-lang
taiansu has quit [Remote host closed the connection]
gianlucadv has joined #ruby-lang
alexju has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
alexju has quit [Remote host closed the connection]
alexju has joined #ruby-lang
ponch_ has joined #ruby-lang
alexju has quit [Ping timeout: 260 seconds]
gianlucadv has quit [Ping timeout: 260 seconds]
skade has joined #ruby-lang
ponch_ has quit [Ping timeout: 244 seconds]
koderok has left #ruby-lang [#ruby-lang]
[spoiler] has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
AKASkip has quit [Ping timeout: 240 seconds]
AKASkip has joined #ruby-lang
lcdhoffman has joined #ruby-lang
ur5us has joined #ruby-lang
bartleby has quit [Quit: leaving]
bartleby has joined #ruby-lang
mjboselowitz has joined #ruby-lang
lcdhoffman has quit [Client Quit]
lcdhoffman has joined #ruby-lang
ur5us has quit [Ping timeout: 240 seconds]
elia has joined #ruby-lang
bartleby has quit [Quit: leaving]
mjboselowitz has quit [Ping timeout: 244 seconds]
bartleby has joined #ruby-lang
abhi_rsd has quit [Read error: Connection reset by peer]
bartleby has quit [Client Quit]
kek has joined #ruby-lang
hellangel7 has joined #ruby-lang
DivineEntity has quit [Quit: Lost terminal]
enkristoffer has joined #ruby-lang
tkuchiki has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
king313 has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
alexju has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
hellangel7 has quit [Remote host closed the connection]
hellangel7 has joined #ruby-lang
banister has joined #ruby-lang
spuk has quit [Ping timeout: 272 seconds]
malconis has joined #ruby-lang
workmad3 has joined #ruby-lang
taiansu has joined #ruby-lang
t4nk695 has joined #ruby-lang
jgpawletko has joined #ruby-lang
nertzy has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<t4nk695>
Amateur question: Is there any difference between " and ' ? Both mostly work, but I've seen codes including both.
skade has joined #ruby-lang
<jhass>
the biggest difference is that " allows for string interpolation while ' doesn't
<t4nk695>
Should I use some kind of special text editor for programming, or just stick to Notepad?
<jhass>
syntax highlighting helps a lot
abhi_rsd has joined #ruby-lang
<apeiros>
NO-tepad
<jhass>
I've no overview over the windows market but I think notepad++ is quite widely used as a general purpose editor
<jhass>
for something advanced check sublime text
<apeiros>
well, I guess windows users' expectancies aren't that high to begin with
taiansu has joined #ruby-lang
lun_ has quit [Ping timeout: 245 seconds]
<ddv>
try opening a 800 mb log file in notepad++
<ddv>
it will hang/crash whatever
<ddv>
vim or sublime have no problem with large files
<t4nk695>
Is Notepad++ suited for a newbie like me?
<ddv>
any editor will do
gianlucadv has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby-lang
<t4nk695>
I thought I'd try to ask experienced people here. The guides kind of drop you of at installation.
heftig has quit [Ping timeout: 260 seconds]
<jhass>
editor is a very personal and religious choice
<jhass>
try a few and stick with one
<jhass>
reevaluate as you progress as a programmer
<apeiros>
^+1
<apeiros>
try not to make it a dogmatic choice, though
* apeiros
is often surprised how easily even intelligent people get caught in dogma
<t4nk695>
Hehe
realDAB has joined #ruby-lang
<t4nk695>
Well, I'll try Notepad++. If anyone has a problem with that, speak now, or remain forever silent.
heftig has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
mjboselowitz has joined #ruby-lang
<maloik>
I think sublime would be better suited at continuing to learn as you go along?
<maloik>
notepad++ is fine but it's pretty basic, not much possibilities to extend it... at least as far as I can remember, I've been on mac for a couple years now
skade has quit [Quit: Computer has gone to sleep.]
taiansu has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
skade has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
vikasyaligar has joined #ruby-lang
mjboselowitz has quit [Ping timeout: 244 seconds]
lun__ has quit [Remote host closed the connection]
<DefV>
apeiros: how do you mean dogma
ta has quit [Remote host closed the connection]
hellangel7 has quit [Read error: Connection reset by peer]
spuk has joined #ruby-lang
<workmad3>
DefV: normally it means something akin to cargo-culting and rationalising a choice you've already made with faulty, almost religious, 'logic' and community-truths
davispuh has quit [Read error: Connection reset by peer]
<apeiros>
the first sentence already expresses it quite nicely: "Dogma is a principle or set of principles laid down by an authority as incontrovertibly true."
<apeiros>
dogma can't be argued with. it's just true.
lcdhoffman has quit [Quit: lcdhoffman]
<DefV>
yeah, but how do you make a dogmatic choice :-)
davispuh has joined #ruby-lang
<DefV>
dogma <--> choice
<apeiros>
"Leader X said Y is best, therefore it is. Therefore I use it."
<apeiros>
all dogmas are accepted by choice
<apeiros>
you have free will after all
<apeiros>
or at least something which seems like free will :)
enebo has joined #ruby-lang
JohnFord has joined #ruby-lang
<workmad3>
DefV: basically, a dogmatic choice would be me choosing to use vim and never re-evaluating because The One True God told me it was the Best Editor... as opposed to reality where it just is the best editor and could never be improved
mjboselowitz has joined #ruby-lang
<apeiros>
^^
<workmad3>
apeiros: are you sure you want to agree with that last statement? ;)
mistym has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym has joined #ruby-lang
amerine has joined #ruby-lang
vbatts has joined #ruby-lang
thomasxie has quit [Ping timeout: 240 seconds]
vbatts has left #ruby-lang ["WeeChat 0.3.6"]
jbardin has joined #ruby-lang
mikecmpbll has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
splud has joined #ruby-lang
lcdhoffman has joined #ruby-lang
Cakey has joined #ruby-lang
ta has joined #ruby-lang
wallerdev has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has joined #ruby-lang
wallerdev has quit [Client Quit]
arBmind1 has quit [Quit: Leaving.]
vintik has joined #ruby-lang
saarinen has joined #ruby-lang
wallerdev has joined #ruby-lang
momomomomo has joined #ruby-lang
Cakey has quit [Ping timeout: 246 seconds]
hahuang65 has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has quit [Quit: Computer has gone to sleep.]
leandrosnunes has quit [Quit: WeeChat 0.4.3]
michaeldeol has joined #ruby-lang
wallerdev has quit [Ping timeout: 260 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
Asher has quit [Quit: Leaving.]
alekst has joined #ruby-lang
karamazov has joined #ruby-lang
JohnFord has joined #ruby-lang
chouhoulis has joined #ruby-lang
lcdhoffman has joined #ruby-lang
alexju has quit [Remote host closed the connection]
alexju has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoul_ has quit [Ping timeout: 240 seconds]
lcdhoffman has quit [Client Quit]
spastorino has joined #ruby-lang
alexju has quit [Ping timeout: 272 seconds]
pixelhandler has joined #ruby-lang
djbkd has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
postmodern has joined #ruby-lang
seamon has joined #ruby-lang
alexju has joined #ruby-lang
lcdhoffman has joined #ruby-lang
loincloth has joined #ruby-lang
elia has joined #ruby-lang
hellangel7 has quit [Read error: Connection reset by peer]
djbkd has joined #ruby-lang
arBmind has quit [Ping timeout: 260 seconds]
ponch_ has quit [Ping timeout: 260 seconds]
arBmind has joined #ruby-lang
lcdhoffman has quit [Client Quit]
lcdhoffman has joined #ruby-lang
mistym has quit [Quit: Leaving...]
amystephen has joined #ruby-lang
eddiezane has joined #ruby-lang
lcdhoffman has quit [Client Quit]
lcdhoffman has joined #ruby-lang
tectonic has joined #ruby-lang
tectonic has quit [Max SendQ exceeded]
mistym has joined #ruby-lang
lcdhoffman has quit [Client Quit]
tectonic has joined #ruby-lang
tectonic has quit [Client Quit]
tectonic has joined #ruby-lang
saarinen has quit [Quit: saarinen]
omosoj has quit [Ping timeout: 245 seconds]
omosoj has joined #ruby-lang
saarinen has joined #ruby-lang
yfeldblum has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lun_ has joined #ruby-lang
solars has joined #ruby-lang
michaeldeol has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
saarinen has quit [Client Quit]
InfraRuby has left #ruby-lang [#ruby-lang]
Asher has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby-lang
gss has quit [Remote host closed the connection]
tbuehlmann has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
saarinen has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
rramphal has joined #ruby-lang
rramphal has quit [Client Quit]
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo_ has joined #ruby-lang
Mopman has quit [Ping timeout: 255 seconds]
momomomomo has quit [Ping timeout: 260 seconds]
momomomomo_ is now known as momomomomo
rramphal has joined #ruby-lang
rramphal has quit [Client Quit]
Mopman has joined #ruby-lang
rramphal has joined #ruby-lang
rramphal has quit [Client Quit]
rramphal has joined #ruby-lang
rramphal has quit [Client Quit]
sharpmachine has quit [Ping timeout: 245 seconds]
stef1a has joined #ruby-lang
<stef1a>
i'm trying to set up ldap authentication with devise. i followed the instructions on the github page, but when i log in with my credentials, i just get a "401 Unauthorized access" error in my logs, which isn't very helpful. Here are the relevant ldap changes: https://github.com/uchicago-cs/practicum-webapp/commit/58585cbd048af621fbe5d82c0b775464b7ddf814. i have confirmed that i can authenticate myself with ldapsearch.
InfraRuby has joined #ruby-lang
JohnFord has joined #ruby-lang
Mopman has quit [Ping timeout: 244 seconds]
sharpmachine has joined #ruby-lang
seamon has quit [Quit: Zzzzzzz]
rramphal has joined #ruby-lang
rramphal has quit [Client Quit]
itsraining has joined #ruby-lang
itsraining has quit [Client Quit]
wallerdev has joined #ruby-lang
taiansu has quit [Remote host closed the connection]
kith_ has joined #ruby-lang
Fushi has quit [Quit: Connection closed for inactivity]
ItSANg___ has joined #ruby-lang
taiansu has joined #ruby-lang
karamazo_ has joined #ruby-lang
vintik_ has joined #ruby-lang
pglombar_ has joined #ruby-lang
pglombar_ is now known as pglombardo_
ItSANg___ has quit [Read error: Connection reset by peer]
ItSANgo__ has joined #ruby-lang
torrieri_ has joined #ruby-lang
antonishen_ has joined #ruby-lang
nibbo__ has joined #ruby-lang
miqui_ has joined #ruby-lang
weems|mac_ has joined #ruby-lang
sepp2k_ has joined #ruby-lang
kith has quit [Disconnected by services]
kith_ is now known as kith
r0bby_ has joined #ruby-lang
nathanst_ has joined #ruby-lang
davispuhh has joined #ruby-lang
ledestin_ has joined #ruby-lang
Gaelane has joined #ruby-lang
dacamp_ has joined #ruby-lang
Mopman has joined #ruby-lang
banister has joined #ruby-lang
NemesisD has joined #ruby-lang
<NemesisD>
any enh-ruby-mode users here? was curious if theres a way to newline in a comment block and have it continue with my comment
vintik has quit [*.net *.split]
pglombardo has quit [*.net *.split]
torrieri has quit [*.net *.split]
dorei has quit [*.net *.split]
davispuh has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
zastern has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
nibbo_ has quit [*.net *.split]
dacamp has quit [*.net *.split]
nathanstitt has quit [*.net *.split]
karamazov has quit [*.net *.split]
weems|mac has quit [*.net *.split]
miqui has quit [*.net *.split]
sepp2k has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
GaelanAintAround has quit [*.net *.split]
matp has quit [*.net *.split]
nothingisreal has quit [*.net *.split]
ledestin has quit [*.net *.split]
antonishen has quit [*.net *.split]
surrounder has quit [*.net *.split]
weems|mac_ is now known as weems|mac
ledestin_ is now known as ledestin
banister has quit [Client Quit]
<NemesisD>
oh wait that's already an emacs thing, M-j
djbkd has quit [Remote host closed the connection]
nertzy has quit [Quit: This computer has gone to sleep]
taiansu has joined #ruby-lang
sMecKs has joined #ruby-lang
djbkd has joined #ruby-lang
<frank_o>
`{ products: [] }.to_json` I guess will work too but there's gotta be a prettier way
futilegames has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
<godd2>
drbrain: apeiros claims you once said not to use spec.date in a gemspec. Can you corroborate this? Also, if it's true, perhaps you should consider taking out spec.date = '2010-04-28' from the "Make your own gem" example: http://guides.rubygems.org/make-your-own-gem/
pixelhandler has quit [Quit: pixelhandler]
<jhass>
frank_o: 1) don't rescue everything, rescue the exceptions you expect. 2) why did you revert to the old code 3) rescue in away that you replace the parse result, not the input to the parsing process
dm78 has quit [Read error: Connection reset by peer]
djbkd has joined #ruby-lang
dm78 has joined #ruby-lang
taiansu has quit [Ping timeout: 250 seconds]
<frank_o>
jhass: Hi there
* frank_o
thinks real hard
<frank_o>
Didn't revert, dunno why I used the old example
snsei has joined #ruby-lang
<apeiros>
godd2: I guess I'll have to check the logs tomorrow, gotta go sleep :) curious about what he'll say.
<apeiros>
n8
snsei has quit [Client Quit]
<frank_o>
jhass: 1) how do I tell ruby that im looking for a timeout exception? 3) you mean something like.. `rescue Whatever; ready_to_go = true; end` and then wrap all the rest of the code inside `if ready_to_go?; ...; end`?
<jhass>
no no
mjboselowitz has quit []
<jhass>
wrap all the other inside begin resuce
<jhass>
and yes, do rescue ExceptionClass => e
<jhass>
whatever ExceptionClass for your timeout exception is
<jhass>
and wrapping all the code inside a begin rescue won't look so bad if you user proper abstraction like I've shown you
dm78_ has joined #ruby-lang
chouhoulis has quit [Ping timeout: 244 seconds]
dm78 has quit [Ping timeout: 264 seconds]
Lingo__ has joined #ruby-lang
<Lingo__>
if I have an array of integers how would I take out every other integer?