<dingus_khan>
sorry, should've specified: the one in San Francisco? Ruby is a big deal here, so I figured I'd ask in here if anyone else was heading over there
vlad_starkov has quit [Read error: Connection reset by peer]
MaddinXx_ has joined #ruby-lang
omninonsense has joined #ruby-lang
[spoiler] has quit [Ping timeout: 272 seconds]
x0f has joined #ruby-lang
hhatch has joined #ruby-lang
x0f_ has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby-lang
lun__ has joined #ruby-lang
_ko10 has quit [Quit: Quit Nadoka 0.8.4+git(v0.8.3-5-g0ae819a-dt)]
DouweM has quit [Ping timeout: 268 seconds]
_ko1 has joined #ruby-lang
kek has joined #ruby-lang
madb055 has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby-lang
kek has quit [Ping timeout: 248 seconds]
madb055 has joined #ruby-lang
workmad3 has quit [Ping timeout: 272 seconds]
datanoise has quit [Ping timeout: 265 seconds]
tbuehlmann has joined #ruby-lang
coca_rails has joined #ruby-lang
coca_rails has left #ruby-lang [#ruby-lang]
coca_rails has joined #ruby-lang
<coca_rails>
Anyone here familiar with Blacklight?
coca_rails was kicked from #ruby-lang by apeiros [if you cross-post, at the very least announce in all channels where you post, that you cross-post. thanks. (this is only a kick, not a ban)]
coca_rails has joined #ruby-lang
<coca_rails>
.
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
vlad_starkov has joined #ruby-lang
relix has joined #ruby-lang
dingus_khan has quit [Ping timeout: 264 seconds]
bjh13 has quit [Quit: leaving]
jaimef has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Coincidental has quit [Remote host closed the connection]
mucker has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
datanoise has joined #ruby-lang
hackeron has quit [Read error: Connection reset by peer]
hackeron has joined #ruby-lang
jaimef has joined #ruby-lang
io_syl has quit []
<ljarvis>
morning apeiros
<ljarvis>
and everyone else of course
io_syl has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
<coca_rails>
morning ljarvis
<apeiros>
moin ljarvis
<apeiros>
it's saturday and I'm once again in the office. f*ck this project, srsly :(
* apeiros
mad
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
kek has joined #ruby-lang
hogeo has quit [Ping timeout: 272 seconds]
datanoise has quit [Ping timeout: 272 seconds]
<gnufied>
Morning guys
tkuchiki has quit [Remote host closed the connection]
<gnufied>
I am doing catch up on a project which was brought up from dead and must be demoed this Monday as well. :(
dingus_khan has joined #ruby-lang
tkuchiki has joined #ruby-lang
Kabaka has quit [Ping timeout: 240 seconds]
<gnufied>
original plan to read "The way of kings" has been suspended.
<apeiros>
original plan of video playing myself to madness has been suspended :(
mdedetrich has quit [Quit: Computer has gone to sleep.]
kek has quit [Ping timeout: 264 seconds]
<apeiros>
alternatively: original plan of moving my C implementation of my EPT format parser forward has been suspended
<apeiros>
If I'm right, even with taking the whole december off (which I do), I'll still end up with 40 vacation days in 2014…
tkuchiki has quit [Ping timeout: 244 seconds]
Kabaka has joined #ruby-lang
mdedetrich has joined #ruby-lang
lun___ has joined #ruby-lang
lun__ has quit [Read error: Connection reset by peer]
<ljarvis>
apeiros: :( @ office
lun___ has quit [Read error: Connection reset by peer]
lun__ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
Shellcat has quit [Quit: Later peeps]
thepumpkin has joined #ruby-lang
madb055 has quit [Ping timeout: 245 seconds]
Newbie0086 has quit [Quit: 离开]
kek has joined #ruby-lang
thepumpkin has quit [Ping timeout: 272 seconds]
RickHull has joined #ruby-lang
hhatch has quit [Ping timeout: 245 seconds]
<dingus_khan>
anyone here have strong thoughts/opinions on devise versus omniauth for a rails 4 app? (the rails channel isn't yielding anything)
adambeynon has joined #ruby-lang
<dingus_khan>
and by devise 'vs' omniauth, I mean omniauth by itself versus using it with devise
mdedetrich has quit [Quit: Computer has gone to sleep.]
<ljarvis>
why would you use both?
mdedetrich has joined #ruby-lang
chanhinkwan has quit [Read error: Connection reset by peer]
chanhinkwan has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
simoz has joined #ruby-lang
MrZYX|off is now known as MrZYX
vlad_starkov has joined #ruby-lang
io_syl has quit []
rickhull1 has quit [Quit: Leaving.]
coca_rails has joined #ruby-lang
datanoise has joined #ruby-lang
datanoise has quit [Ping timeout: 264 seconds]
simoz has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby-lang
<dingus_khan>
well I could use devise TO use omniauth strategies, but I think I sort of answered my question: general user auth and management is what devise does best, omniauth is more basic tool
sepp2k has joined #ruby-lang
hogeo has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
hhatch has joined #ruby-lang
tkuchiki has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
tkuchiki has quit [Ping timeout: 272 seconds]
cnivolle has quit [Remote host closed the connection]
flgr has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 252 seconds]
chanhinkwan has quit []
<ljarvis>
oh right omniauth i was thinking that other auth tool
<ljarvis>
I use them both
<ljarvis>
its early
bzb has joined #ruby-lang
coca_rails has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: Computer has gone to sleep.]
coca_rails has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
coca_rails has quit [Ping timeout: 245 seconds]
simoz has joined #ruby-lang
banisterfiend has joined #ruby-lang
dingus_khan has quit [Ping timeout: 272 seconds]
imperator2 has joined #ruby-lang
elia has joined #ruby-lang
bzb has quit [Quit: I hate to quit but my bladder's full. :-(]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Mon_Ouie has quit [Read error: Operation timed out]
amerine has quit [Quit: Computer has gone to sleep.]
tbuehlmann has quit [Remote host closed the connection]
CoreData has joined #ruby-lang
apeiros has joined #ruby-lang
CoreData has quit [Ping timeout: 240 seconds]
simoz2 has joined #ruby-lang
simoz has quit [Ping timeout: 248 seconds]
apeiros has quit [Ping timeout: 264 seconds]
lun__ has quit [Ping timeout: 252 seconds]
coca_rails has joined #ruby-lang
thepumpkin has joined #ruby-lang
CoreData has joined #ruby-lang
coca_rails has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
thepumpkin has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has joined #ruby-lang
simoz2 has quit [Read error: Connection timed out]
lun__ has joined #ruby-lang
dingus_khan has joined #ruby-lang
DEac- has quit [Ping timeout: 272 seconds]
DEac- has joined #ruby-lang
CoreData has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
CoreData has joined #ruby-lang
coca_rails has joined #ruby-lang
dingus_khan has quit [Ping timeout: 244 seconds]
jinesh has quit [Quit: Konversation terminated!]
coca_rails has quit [Ping timeout: 245 seconds]
simoz has joined #ruby-lang
imperator2 has quit [Ping timeout: 265 seconds]
elia has quit [Quit: Computer has gone to sleep.]
simoz has quit [Read error: Connection timed out]
datanoise has joined #ruby-lang
vlad_starkov has joined #ruby-lang
CoreData has quit [Quit: CoreData]
CoreData has joined #ruby-lang
coca_rails has joined #ruby-lang
datanoise has quit [Ping timeout: 264 seconds]
michael_mbp is now known as zz_michael_mbp
zz_michael_mbp is now known as michael_mbp
jiuweigui has joined #ruby-lang
CoreData has quit [Ping timeout: 240 seconds]
lele has left #ruby-lang ["Leaving"]
lele has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
elia has joined #ruby-lang
DouweM has joined #ruby-lang
Muz has quit [Ping timeout: 252 seconds]
hhatch has quit [Ping timeout: 272 seconds]
coca_rails has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
hhatch has joined #ruby-lang
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
heftig has quit [Ping timeout: 260 seconds]
heftig has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdedetrich has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
jiuweigui has quit [Quit: iQuit!]
bzalasky has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
rob_ has joined #ruby-lang
<rob_>
hi, if i have an xml document with this in: <![CDATA[ metadata = {} ]]> how can i get just the json part out? the value of metadata..
vlad_starkov has quit [Ping timeout: 245 seconds]
vlad_sta_ has quit [Remote host closed the connection]
<ljarvis>
rob_: that's the only thing in the document? or it's amongst other content?
<rob_>
ljarvis: i've managed to get that part out as a text object using nokogiri
<ljarvis>
rob_: so you just have "<![CDATA[ metadata = {} ]]>" as a string?
<rob_>
yeah
mucker has quit [Remote host closed the connection]
<Barrin6>
I mean it's easy for me to count to grab the first ten digits
where_am_i has quit [Client Quit]
<MrZYX>
you could convert it to a string and use String#[] or divide it by 10 until it's > 10**10
<MrZYX>
eh, <
earthquake has quit [Quit: earthquake]
JonahR has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<Barrin6>
I think converting it to string first would make it easier
<MrZYX>
but also slower, depending on the size of the number I guess
<Barrin6>
hm
<Barrin6>
I have to think of this more
<Barrin6>
I will brb later
havenwood has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
atmosx has joined #ruby-lang
<CaptainJet>
sprintf could be of help here as well
<CaptainJet>
>> sprintf("%.*s", 5, 123456789)
bruno- has joined #ruby-lang
<CaptainJet>
er, there's not bot here for that is there
apeiros has quit [Remote host closed the connection]
houndstooth has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
<CaptainJet>
nonetheless, that would output 12345
<CaptainJet>
So for your case it would be more like sprintf("%.*s", 10, @huge_number_variable)
vlad_starkov has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
<houndstooth>
Sorry to bust in here, but does anyone have much experience with net/http? Pulling out what hair I have left over SSL errors :)
apeiros has quit [Ping timeout: 264 seconds]
<CaptainJet>
Well, if you're using SSL, shouldn't you be using net/https ?
<Barrin6>
oh I messed t up
<Barrin6>
I did inject on a string
<Barrin6>
which only appends
datanoise has joined #ruby-lang
<CaptainJet>
Barrin6, does sprintf("%.*s", 10, @huge_number_variable) give the desired output?
<Barrin6>
I have to try it later
<houndstooth>
You can just set "use_ssl: true". I can actually get it to work for certain urls (facebook, github, etc) but the endpoint I'm using doesn't accept a port number as part of the url.
<Barrin6>
I'll be back in an hour or so
<houndstooth>
unfortunately, net/http automatically appends ":443" or ":80" to the request
thelorax123 has quit [Remote host closed the connection]
kek has quit [Remote host closed the connection]
rickhull1 has joined #ruby-lang
vpretzel has quit [Quit: Adios!]
thelorax123 has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
rickhull1 has quit [Ping timeout: 245 seconds]
bruno- has quit [Quit: leaving]
bruno- has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
havenwood has quit []
nertzy3 has quit [Quit: This computer has gone to sleep]
thelorax123 has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 272 seconds]
thelorax123 has joined #ruby-lang
Guest26917 has joined #ruby-lang
<spike|spiegel>
whut?
Guest26917 is now known as diegoviola
blowfly has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
DEac- has quit [Quit: leaving]
Anish has joined #ruby-lang
Anish is now known as Guest65874
Senjai`work has joined #ruby-lang
Senjai`work has quit [Changing host]
Senjai`work has joined #ruby-lang
DEac- has joined #ruby-lang
<yorickpeterse>
hai
thelorax123 has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
atmosx has quit [Quit: Lost in trance]
houndstooth has quit [Remote host closed the connection]
houndstooth has joined #ruby-lang
thelorax123 has joined #ruby-lang
thelorax123 has quit [Read error: Connection reset by peer]
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
thelorax123 has joined #ruby-lang
nofxx has joined #ruby-lang
madb055 has joined #ruby-lang
slyphon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dingus_khan has quit [Ping timeout: 244 seconds]
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
sol has joined #ruby-lang
sol is now known as Guest93795
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
apeiros has joined #ruby-lang
workmad3 has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
houndstooth has quit [Remote host closed the connection]
bruno- has quit [Quit: leaving]
thelorax123 has joined #ruby-lang
bruno- has joined #ruby-lang
bruno- has quit [Client Quit]
bruno- has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
bruno- has quit [Client Quit]
bruno- has joined #ruby-lang
bruno- has quit [Client Quit]
bruno- has joined #ruby-lang
thelorax123 has joined #ruby-lang
bruno- has quit [Client Quit]
simoz has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby-lang
earthquake has joined #ruby-lang
nertzy3 has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
bruno- has quit [Quit: leaving]
bruno- has joined #ruby-lang
Cakey has quit [Ping timeout: 248 seconds]
bruno- has quit [Quit: leaving]
bruno- has joined #ruby-lang
nertzy3 has quit [Quit: This computer has gone to sleep]
dingus_khan has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 264 seconds]
Johz has joined #ruby-lang
havenwood has joined #ruby-lang
<matti>
Hm. How does one vendor 3rd party library source code in a gem that uses C extention?
<darix>
matti: you dont?
<matti>
darix: Well, the problem is that I need to ship patched version.
<matti>
darix: Upstream is broken as fuck.
<darix>
matti: upstreaming that patch is not an option?
<matti>
darix: Author does not give a fuck.
thelorax123 has joined #ruby-lang
<darix>
fork it?
<darix>
depend on your fork
<matti>
darix: And how is that different than shipping vendored code? ;]
<darix>
1. other people who want a fixed version of the lib can use it too
slyphon has joined #ruby-lang
<yorickpeterse>
matti: eh? You build the Gem and install that
<darix>
2. you actually have an official fork
dingus_khan has quit [Ping timeout: 264 seconds]
bruno- has quit [Quit: leaving]
<darix>
and not some intree copy of the code.
<yorickpeterse>
If you use Bundler you can just load it as a Git repo or something
<yorickpeterse>
this is for GTK3 but you can do w/e you want
<yorickpeterse>
I've abused stuff like this to vendor Java, Perl and Python code :P
<darix>
matti: then let's hope your lib will never be used e.g. in passenger stuff ;)
thelorax123 has quit [Remote host closed the connection]
<matti>
darix: Why?
<yorickpeterse>
http://hastebin.com/gokecobeqo.rb this for example lives in ext/hack/Rakefile, which is then passed to the RubyGems C extension compiler
<yorickpeterse>
to install Python packages in the Gem!
* yorickpeterse
runs
<darix>
matti: passenger uses libev ;)
<matti>
darix: ?!
thelorax123 has joined #ruby-lang
<matti>
darix: I see no issue with local version against which they link.
thelorax123 has quit [Remote host closed the connection]
<matti>
Nevermind.
<matti>
yorickpeterse: Haha
<yorickpeterse>
We also bundled C this way but those libs were fucking shit so I think we got rid of that
thelorax123 has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
havenwood has quit []
thelorax123 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
bruno- has quit [Quit: leaving]
bruno- has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
tbuehlmann has quit [Remote host closed the connection]
thelorax123 has joined #ruby-lang
datanoise has joined #ruby-lang
thelorax123 has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
gianlucadv has quit [Ping timeout: 260 seconds]
datanoise has quit [Ping timeout: 264 seconds]
dingus_khan has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
bzalasky has joined #ruby-lang
Cakey has joined #ruby-lang
workmad3 has joined #ruby-lang
bruno- has quit [Quit: leaving]
mdedetrich has joined #ruby-lang
bruno- has joined #ruby-lang
Cakey has quit [Ping timeout: 272 seconds]
bruno- has quit [Client Quit]
bruno- has joined #ruby-lang
Thanatermesis has quit [Read error: Connection reset by peer]
dr_bob has quit [Quit: Tune in next week when you'll hear Dr. Bob say...]
vlad_starkov has joined #ruby-lang
vlad_sta_ has quit [Ping timeout: 265 seconds]
slyphon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]