ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
QaDeS_ has joined #ruby-lang
dreieins has quit [Ping timeout: 272 seconds]
dreieins has joined #ruby-lang
QaDeS__ has quit [Ping timeout: 245 seconds]
perryh_away is now known as perryh
Asher has joined #ruby-lang
fgomez has joined #ruby-lang
Asher has quit [Quit: Leaving.]
havenn has quit [Remote host closed the connection]
cmaxw has quit [Quit: cmaxw]
postmodern has joined #ruby-lang
fgomez has quit [Quit: leaving]
Asher has joined #ruby-lang
slaytanic has quit [Read error: Connection reset by peer]
slaytanic has joined #ruby-lang
ConstantineXVI has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
qpingu has joined #ruby-lang
fgomez has joined #ruby-lang
wallerdev has joined #ruby-lang
jacobwg has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
QaDeS__ has joined #ruby-lang
dreieins has quit [Ping timeout: 272 seconds]
QaDeS_ has quit [Ping timeout: 245 seconds]
cantonic has quit [Remote host closed the connection]
cantonic has joined #ruby-lang
dreieins has joined #ruby-lang
WillMarshall has quit [Ping timeout: 272 seconds]
ConstantineXVI has joined #ruby-lang
jperry2 has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
gregf has quit [Quit: WeeChat 0.3.7]
WillMarshall has joined #ruby-lang
gregf has joined #ruby-lang
bassplayerdoug has joined #ruby-lang
jperry2 has quit [Quit: Leaving.]
robbyoconnor has quit [Remote host closed the connection]
Asher has joined #ruby-lang
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby-lang
Asher has quit [Client Quit]
fgomez has quit [Quit: leaving]
lsegal has joined #ruby-lang
elux has joined #ruby-lang
<mistym> The Twitter API is really acting weird for me. Maybe I'm doing something wrong. Why am I getting hour-old results when I search without "since_id"?
fayimora has quit [Quit: Be back in a gifii]
krz has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
newbold has joined #ruby-lang
wallerdev has joined #ruby-lang
dalekurt has quit [Quit: Zzz...]
dcorbin has quit [Quit: This computer has gone to sleep]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
dalekurt has joined #ruby-lang
pygmael has quit [Read error: Connection reset by peer]
pygmael has joined #ruby-lang
pygmael has quit [Read error: Connection reset by peer]
pygmael has joined #ruby-lang
naz has left #ruby-lang [#ruby-lang]
naz has joined #ruby-lang
naz has left #ruby-lang [#ruby-lang]
nazty has joined #ruby-lang
ConstantineXVI has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
tenderlove has quit [Client Quit]
newbold is now known as newbold_cloud
cdt has joined #ruby-lang
tombar1 has joined #ruby-lang
QaDeS__ has quit [Quit: Ex-Chat]
elux has quit [Read error: Connection reset by peer]
dalekurt has quit [Quit: Zzz...]
A124 has joined #ruby-lang
sei has joined #ruby-lang
indeterminate has quit [Ping timeout: 272 seconds]
tombar1 has quit [Ping timeout: 244 seconds]
sei has left #ruby-lang [#ruby-lang]
Watcher7 has quit [Remote host closed the connection]
ConstantineXVI has joined #ruby-lang
s3mi0 has joined #ruby-lang
dr0id has joined #ruby-lang
Radium has quit [Ping timeout: 255 seconds]
Radium has joined #ruby-lang
woollyams has joined #ruby-lang
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
<WillMarshall> How are foo.value= methods usually implemented in Ruby?
<WillMarshall> I'm trying to override a setter method, but I'm not clear on how it works under the hood
<mistym> Either you can use attr_writer(:foo), or manually def foo=(bar); ...; end
CodeBlock has quit [Changing host]
CodeBlock has joined #ruby-lang
slaytanic has quit [Remote host closed the connection]
tomb_ has quit [Quit: Computer has gone to sleep.]
slaytanic has joined #ruby-lang
ConstantineXVI has quit [Remote host closed the connection]
mistergibson has quit [Remote host closed the connection]
<ryanf> WillMarshall: yeah, it's just a method called "value="
<ryanf> that's defined normally on foo's class
macmartine has quit [Quit: macmartine]
pygmael has quit [Read error: Connection reset by peer]
savage- has quit [Remote host closed the connection]
pygmael has joined #ruby-lang
hahuang65 has joined #ruby-lang
ajalabs has joined #ruby-lang
rippa has joined #ruby-lang
ajalabs has left #ruby-lang [#ruby-lang]
savage- has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
savage- has quit [Remote host closed the connection]
tomzx has quit [Ping timeout: 272 seconds]
dzenan has joined #ruby-lang
tRAS has joined #ruby-lang
ando has quit [Quit: Leaving...]
petercooper has quit [Remote host closed the connection]
TheHunter_1039 has quit [Quit: TheHunter_1039]
mistym has quit [Remote host closed the connection]
nahhh has quit [Quit: nahhh]
gsav has quit [Read error: Connection reset by peer]
gsav has joined #ruby-lang
Joeysomo has joined #ruby-lang
apeiros_ has joined #ruby-lang
yxhuvud has joined #ruby-lang
vesan__ has quit [Ping timeout: 272 seconds]
lolmaus has joined #ruby-lang
brownies has left #ruby-lang [#ruby-lang]
|Vargas| has joined #ruby-lang
|Vargas| has quit [Changing host]
|Vargas| has joined #ruby-lang
vesan_ has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
tRAS has quit [Quit: Mother, did it need to be so high?]
AlHafoudh has joined #ruby-lang
<WillMarshall> How would I translate an array [1, 2, 3] into a method call foo.bar(1, 2, 3) ?
<whitequark> foo.bar(*[1,2,3])
<WillMarshall> whitequark: Cheers
<WillMarshall> Splat operator?
apeiros_ has quit [Remote host closed the connection]
<whitequark> yeah
tomb_ has joined #ruby-lang
Harzilein has joined #ruby-lang
<Harzilein> hi
jxie_ has joined #ruby-lang
<WillMarshall> Can I build a quick array in Ruby like Pythons array = [foo for foo in foos]?
jxie has quit [Ping timeout: 248 seconds]
Joeysomo has quit [Remote host closed the connection]
<postmodern> WillMarshall, you can do an Array of strings, %w[foo bar baz]
<Harzilein> i wanted to try making a DL/Fiddle function without defining my own class (maybe that is silly). The function is easy enough, but it returns a struct pointer. Now, in a class that mixes in DL::Importer that would be easily done with the struct method, but as i don't want that i think i need to use DL::CParser#parse_struct_signature but i can't seem to find
<Harzilein> postmodern: he is talking about python list comprehensions
<WillMarshall> postmodern: Yeah, there are ways to build arrays inline in Python and Coffeescript
<Harzilein> postmodern: that is not a list of words, for and in are keywords, foo and foos are identifiers
<postmodern> WillMarshall, ah, try mapping a Range
<WillMarshall> I swear Ruby had something similar, but I can't find it and I might be smoking crack ;)
<bnagy> WillMarshall: map transforms array elements, each operates on every element
<postmodern> WillMarshall, there's also a Generator class, which is a kind of Enumerable
<bnagy> WillMarshall: it would be easier if you had a specific use case / problem :)
<WillMarshall> bnagy: Sure, I was just hoping for something terser than map ;)
S1kx has joined #ruby-lang
S1kx has joined #ruby-lang
<WillMarshall> postmodern: Will check that out
<Harzilein> to finish my sentence from above: it, so maybe it is private?
<WillMarshall> Just building n-length arrays of mock()
<WillMarshall> As terse as possible
<bnagy> Array.new( n ) {|e| #code}
<postmodern> WillMarshall, oh also try Array.new(n) { |index| logic_here }
<postmodern> yeah
<WillMarshall> Hmm. Still a bit clunky, but it'll do :)
<bnagy> oh yeah you're right, it's i not e
<whitequark> hmm
<Harzilein> anyone?
<whitequark> ruby doesn't have list comprehensions, but it does have map
<WillMarshall> Map is gorgeous
<whitequark> [foo(v) for v in foos] ~ foos.map { |v| foo(v) }
Banistergalaxy has quit [Ping timeout: 244 seconds]
<whitequark> and if you need to call an instance method like foos.map { |v| v.foo }
<whitequark> then it can be shorted to foos.map(&:foo)
<Harzilein> also note that there is a terse form for avoiding the v if you want to be very terse
<WillMarshall> Ayup
<Harzilein> right, what whitequark said
<WillMarshall> Alright, nothing magical here I'm not aware of :)
<WillMarshall> Thanks guys
<WillMarshall> And curse you Python
<WillMarshall> Every time I leave Ruby for a few days my brain implodes
<erikh> you should get that looked at
<WillMarshall> It's a weakness
<WillMarshall> No anonymous functions, blocks or useable lambdas in Python :/
<WillMarshall> Tricky when I'm writing event-driven code
<Harzilein> well, which brings me to my question above
<whitequark> you can kinda soften that with decorators
<whitequark> but it's still bad
<WillMarshall> whitequark: Honestly, it's a problem that'd be best solved with Coffeescript or Ruby
<Harzilein> i want to start with wrapping a single function of liblwip (which does not exist in that form, but is an example in lwip-contrib)
<WillMarshall> whitequark: It's problem that's rather well-suited to functional programming, but hey
<WillMarshall> Such is life
<bnagy> Harzilein: I do all my wrapping with FFI, sry
<whitequark> yup, why fiddle with dl when you have ffi?
<Harzilein> heh, i wanted to try it with the stdlib first ;)
tRAS has joined #ruby-lang
<erikh> nothing wrong with DL
<Harzilein> popping in new gems in reminds me too much of paid work ;)
<Harzilein> -in
flowerpot has joined #ruby-lang
<Harzilein> so this function returns a huge tcp_pcb struct, and i wanted to try to recreate that peacemeal by looking at what DL::CParse#parse_struct_signature would return and assembling that by hand.
<Harzilein> maybe i have not understood some rdoc concept? should that method be available after require 'dl'?
apeiros_ has joined #ruby-lang
WillMarshall has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<Harzilein> hmm
TvL2386 has joined #ruby-lang
<Harzilein> what does the @@@ in https://github.com/ffi/ffi/wiki/Automatic-Struct-Layout mean?
Radium has quit [Ping timeout: 240 seconds]
<Harzilein> ah, nevermind, they are apparently used in a source filter
KU0N has joined #ruby-lang
Defusal has quit [Ping timeout: 240 seconds]
Defusal has joined #ruby-lang
<postmodern> Harzilein, good catch i can fix that typo
<postmodern> Harzilein, you might want to look at bin-struct or bit-struct
<postmodern> Harzilein, or rstruct
GSHN has joined #ruby-lang
<bnagy> bindata
<postmodern> that's right bindata
<postmodern> bindata and rstruct
<postmodern> i also recently wrote my own struct packer/unpacker
dc5ala has joined #ruby-lang
<bnagy> binstruct is my one from 6 years ago :)
<bnagy> bitstruct can't do dynamic fields properly, bindata can
<Harzilein> postmodern: what typo?
<postmodern> Harzilein, the @@@
<Harzilein> postmodern: i thought it is related to the rake task w/ the generator?
dzenan has quit [Remote host closed the connection]
<Harzilein> i think bindata would not help me much when i also want to execute c functions, not just read data
<bnagy> it would just be for if you wanted to get the data as a blob and parse it with ruby instead of getting a struct class working
<Harzilein> so, the tenderlove presentation on "hidden gems in the stdlib" said "ffi code is automatically fiddle/dl code". is that really true or was that just planned?
<postmodern> Harzilein, not really
<postmodern> Harzilein, i would just use the ffi gem, proper, it's well maintained
<postmodern> Harzilein, also i believe it supports bit-ordering, so you can do little/big endian fields
<Harzilein> so, can it be used without having classes to mixin stuff with? to support my bottom-up-approach?
<postmodern> Harzilein, no you have to extend FFI::Library into somewhere, and call ffi_lib
crekev has joined #ruby-lang
GSHN has quit [Read error: Connection reset by peer]
GSHN has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
gsav has quit [Read error: Connection reset by peer]
solars has joined #ruby-lang
AlHafoudh has quit [Quit: Computer has gone to sleep.]
GSHN has quit [Read error: Connection reset by peer]
gsav has joined #ruby-lang
GSHN has joined #ruby-lang
<Harzilein> hmm
rolfb has joined #ruby-lang
<Harzilein> first baby step and i already failed: http://paste.debian.net/168688
<Harzilein> s/step/& with FFI/
heftig has quit [Quit: leaving]
fgomez has joined #ruby-lang
<postmodern> Harzilein, you'll want to add '.' to your LD_LIBRARY_PATH
GSHN has quit [Read error: Connection reset by peer]
deobald_ has joined #ruby-lang
<postmodern> Harzilein, er wait you got it working
GSHN has joined #ruby-lang
<postmodern> Harzilein, now you'll want to define a FFI::Struct that you want to map back
<postmodern> Harzilein, and do MyStruct.new(Lwip.tcp_new)
<Harzilein> postmodern: no, i don't, it returns 0x0000 so it looks like the null pointer intended for when things go wrong :(
GSHN has quit [Read error: Connection reset by peer]
ryanf has quit [Quit: leaving]
GSHN has joined #ruby-lang
krz has quit [Quit: krz]
segy has quit [Ping timeout: 244 seconds]
segy has joined #ruby-lang
GSHN has quit [Quit: Leaving.]
GSHN has joined #ruby-lang
GSHN has quit [Client Quit]
igotnolegs has quit [Quit: Computer has gone to sleep.]
Banistergalaxy has joined #ruby-lang
fgomez has quit [Quit: leaving]
Hakon|mbp has joined #ruby-lang
cads has quit [Ping timeout: 245 seconds]
flowerpot has quit [Quit: Ex-Chat]
<postmodern> Harzilein, seems like you need to call tcp_init first
<postmodern> Harzilein, er lwip_init
<postmodern> Harzilein, http://lwip.wikia.com/wiki/Raw/TCP
Banistergalaxy has quit [Ping timeout: 265 seconds]
zmack has joined #ruby-lang
soahccc is now known as soahccc`
kitallis has joined #ruby-lang
crekev has quit [Ping timeout: 248 seconds]
<Harzilein> postmodern: oh, i assumed that is only necessary in the sequential api and starts the threads i want to avoid in favor of eventmachine
sepp2k has joined #ruby-lang
<postmodern> Harzilein, betting it initializes some global structures
<postmodern> Harzilein, might also want to attach_function any error handling functions from the lib
srbartlett has quit [Remote host closed the connection]
<Harzilein> postmodern: btw, all those functions with no arguments make me think if there's a way i can omit the empty array
<postmodern> Harzilein, not really since you have to specify the return type
<Harzilein> postmodern: void lwip_init(void) %-)
nine2five has joined #ruby-lang
behr has quit [Read error: Connection reset by peer]
nine2five has left #ruby-lang [#ruby-lang]
behr has joined #ruby-lang
QaDeS has joined #ruby-lang
vmoravec has joined #ruby-lang
pydave6357 has joined #ruby-lang
Radium has joined #ruby-lang
Hakon|mbp has quit [Quit: Leaving...]
futurechimp has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
Z33K|Lux has quit []
pydave6357 has left #ruby-lang [#ruby-lang]
gnufied has joined #ruby-lang
cdt has quit [Ping timeout: 272 seconds]
zz_chrismcg is now known as chrismcg
francisfish has joined #ruby-lang
soahccc` is now known as soahccc
behr has quit [Read error: Connection reset by peer]
behr has joined #ruby-lang
mlangenberg has quit [Quit: leaving]
Jrubies has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
jwbuurlage has joined #ruby-lang
ngw has joined #ruby-lang
A124 has quit [Quit: Leaving.]
Jrubies has quit [Ping timeout: 245 seconds]
jwbuurlage has quit [Quit: jwbuurlage]
tr-808 has quit [Quit: leaving]
d3vic3 has quit [Ping timeout: 248 seconds]
tr-808 has joined #ruby-lang
<Harzilein> postmodern: yeah, they _do_ have a long list of custom error results
d3vic3 has joined #ruby-lang
dankest has quit [Quit: Leaving...]
<Harzilein> postmodern: any example of a lib that has those (with symbolic names that would make nice constants) as well?
vesan_ has quit [Read error: Connection reset by peer]
vesan__ has joined #ruby-lang
d3vic3 has quit [Ping timeout: 252 seconds]
IPGlider has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
<Harzilein> postmodern: guess my use case is exotic as they are not constants, just macros
d3vic3 has joined #ruby-lang
grin has joined #ruby-lang
srbartlett has joined #ruby-lang
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
<postmodern> Harzilein, yeah you normally have to copy macros into Ruby
<postmodern> Harzilein, either as constants or lambdas
<postmodern> Harzilein, or functions
<postmodern> Harzilein, also ffi has a helper method for defining enums
<Harzilein> alas it is not an enum
<Harzilein> i think i'll start out with constants and i found a static *char[] with the error messages in the part that is conditional to wanting "lots of bloated error reporting" (my guess at the authors' thoughts here)
<Harzilein> just need to find out how i can import those :)
looksirdroids has quit [Read error: Connection reset by peer]
<Harzilein> postmodern: do i use your ffi-libc if i want ip_addr_t?
looksirdroids has joined #ruby-lang
<postmodern> Harzilein, you could use ffi-libc for that struct
<postmodern> Harzilein, or copy/paste it into your app
<postmodern> Harzilein, also for importing macros, just need to do some creative vim/emacs find/replacing to strip the #define
<Harzilein> Ctrl-V is made for that task ;)
<Harzilein> and q is made for decorating the remaining part with equal signs :)
deobald_ has quit [Ping timeout: 260 seconds]
Guedes_out is now known as Guedes
<Harzilein> ffi-libc would still require me to pack data into the struct by myself, right?
S1kx has quit [Quit: Leaving]
dcorbin has joined #ruby-lang
Radium has quit [Read error: Connection reset by peer]
tomzx has joined #ruby-lang
Radium has joined #ruby-lang
<postmodern> Harzilein, no you just need to copy the data from the pointer
<postmodern> Harzilein, or create a new Struct around the pointer/buffer
<postmodern> Harzilein, all the struct[:field]s should work
urbanmonk has joined #ruby-lang
Radium has quit []
<postmodern> Harzilein, time for me to sleep, best of luck with this library :)
postmodern has quit [Quit: Leaving]
bassplayerdoug has quit [Quit: bassplayerdoug]
batmanian has joined #ruby-lang
Radium has joined #ruby-lang
banister_ has joined #ruby-lang
naz has joined #ruby-lang
cdt has joined #ruby-lang
Codif has joined #ruby-lang
Codif has quit [Remote host closed the connection]
nazty has quit [Ping timeout: 272 seconds]
tomzx has quit [Ping timeout: 252 seconds]
KU0N has quit [Quit: Leaving...]
ConstantineXVI has joined #ruby-lang
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
ConstantineXVI has quit [Ping timeout: 272 seconds]
s3mi0 has quit [Remote host closed the connection]
jmeeuwen has quit [Read error: Connection reset by peer]
jmeeuwen has joined #ruby-lang
dRbiG has quit [Ping timeout: 245 seconds]
dRbiG has joined #ruby-lang
Fullmoon has joined #ruby-lang
carloslopes has joined #ruby-lang
behr has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
r0bby has joined #ruby-lang
dv310p3r has quit [Ping timeout: 272 seconds]
robbyoconnor has quit [Ping timeout: 260 seconds]
tbuehlmann has joined #ruby-lang
kain has quit [Ping timeout: 245 seconds]
kain has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
mark_locklear has joined #ruby-lang
lele|w has quit [Ping timeout: 264 seconds]
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
grin1 has joined #ruby-lang
bryancp has joined #ruby-lang
grin has quit [Ping timeout: 244 seconds]
shaman42 has quit [Ping timeout: 240 seconds]
shaman42 has joined #ruby-lang
perryh is now known as perryh_away
lele|w has joined #ruby-lang
jxie_ has quit [Quit: leaving]
kedare has joined #ruby-lang
tommyvyo has joined #ruby-lang
tommyvyo has quit [Client Quit]
jperry2 has joined #ruby-lang
TvL2386 has quit [Quit: Ex-Chat]
bglusman has joined #ruby-lang
lsegal has joined #ruby-lang
mistym has joined #ruby-lang
<countdigi> anyone have an idea how to cut this down to 1 statement for rspec?
<countdigi> @shell = double(:shell)
<countdigi> @shell.stub(:exec) {|arg| $output[arg] }
<countdigi> or is that as concise as it can be?
<countdigi> i tried double(:shell, :exec => lambda {|arg| $output[arg]}) but that didn't get me far :-)
<hrnt> (@shell = double(:shell)).stub(:exec) { |arg| $output[arg] } ;P
tommyvyo has joined #ruby-lang
<cout> countdigi: concise code isn't always good code
morozovm has joined #ruby-lang
mstratman has joined #ruby-lang
slyphon has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
gix has quit [Ping timeout: 244 seconds]
dalekurt has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
TheHunter_1039 has joined #ruby-lang
FluffyCode has joined #ruby-lang
<rue> That should probably be like 5 lines
<countdigi> i ges tryin to hard - just curious tx 4 input
gix has joined #ruby-lang
<countdigi> im basically mocking out some different shell commands return output and maybe its got me thinking a little awry
dcorbin has quit [Quit: This computer has gone to sleep]
adambeynon has joined #ruby-lang
tjadc has joined #ruby-lang
dv310p3r has joined #ruby-lang
banister_ has quit [Ping timeout: 245 seconds]
enebo has joined #ruby-lang
rippa has quit [Quit: derp herp]
hynkle has joined #ruby-lang
willdrew has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
beiter has joined #ruby-lang
zwerg has joined #ruby-lang
scampbell has joined #ruby-lang
lolmaus has quit []
headius has joined #ruby-lang
mistym_ has joined #ruby-lang
Swimming_Bird has joined #ruby-lang
JohnBat26 has quit [Remote host closed the connection]
arooni-mobile has joined #ruby-lang
adambeynon has quit [Quit: adambeynon]
krohrbaugh has joined #ruby-lang
Asher has joined #ruby-lang
outoftime has joined #ruby-lang
dalekurt has quit [Ping timeout: 240 seconds]
adambeynon has joined #ruby-lang
thone_ has joined #ruby-lang
jbwiv has quit [Read error: Connection reset by peer]
thone has quit [Ping timeout: 260 seconds]
FluffyCode has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 265 seconds]
Banistergalaxy has joined #ruby-lang
savage- has joined #ruby-lang
iamlacroix has quit [Remote host closed the connection]
krohrbaugh1 has joined #ruby-lang
dalekurt has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 252 seconds]
krohrbaugh has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
zwerg has quit [Read error: Connection reset by peer]
heftig has joined #ruby-lang
Tref has joined #ruby-lang
nahhh has joined #ruby-lang
saggymac has joined #ruby-lang
mistym has quit [Remote host closed the connection]
bfreeman has quit [Quit: bfreeman]
morozovm has quit [Quit: morozovm]
srbaker has joined #ruby-lang
mistym_ has quit []
mistym has joined #ruby-lang
kitallis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
|Vargas| has quit [Quit: ...]
tRAS has quit [Quit: Mother, did it need to be so high?]
tbuehlmann has quit []
ConstantineXVI has joined #ruby-lang
jbwiv has joined #ruby-lang
savage- has quit [Remote host closed the connection]
rippa has joined #ruby-lang
behr has joined #ruby-lang
adambeynon has quit [Quit: adambeynon]
imperator has joined #ruby-lang
S1kx has joined #ruby-lang
S1kx has joined #ruby-lang
imperator has quit [Quit: Leaving]
behr has quit [Ping timeout: 245 seconds]
behr has joined #ruby-lang
imperator has joined #ruby-lang
gsav has joined #ruby-lang
cads has joined #ruby-lang
Fullmoon has quit [Ping timeout: 272 seconds]
iamlacroix has joined #ruby-lang
solars has quit [Ping timeout: 260 seconds]
apeiros_ has quit [Remote host closed the connection]
romeroabelleira has joined #ruby-lang
scampbell has quit [Quit: Ex-Chat]
rmascarenhas has joined #ruby-lang
kain_ has joined #ruby-lang
macmartine has joined #ruby-lang
kain has quit [Disconnected by services]
kain_ is now known as kain
brianpWins has quit [Ping timeout: 245 seconds]
bryancp has joined #ruby-lang
rolfb has quit [Quit: Leaving...]
behr has quit [Remote host closed the connection]
chimkan_ has joined #ruby-lang
dr0id is now known as woozbly
headius has quit [Quit: headius]
woozbly is now known as dr0id
RORgasm has joined #ruby-lang
chrismcg is now known as zz_chrismcg
tRAS has joined #ruby-lang
futurechimp has quit [Ping timeout: 272 seconds]
hahuang65 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
tRAS has quit [Ping timeout: 244 seconds]
KU0N has joined #ruby-lang
tbuehlmann has joined #ruby-lang
srbaker has quit [Ping timeout: 256 seconds]
srbaker has joined #ruby-lang
vmoravec has quit [Quit: Leaving]
dejongge has joined #ruby-lang
heftig has quit [Quit: leaving]
Dreamer3 has joined #ruby-lang
roha has joined #ruby-lang
t has joined #ruby-lang
t is now known as Guest25836
scampbell has joined #ruby-lang
dreieins has quit [Ping timeout: 250 seconds]
tRAS has joined #ruby-lang
dreieins has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 272 seconds]
futurechimp has joined #ruby-lang
srbaker has quit [Ping timeout: 265 seconds]
r0bby is now known as robbyoconnor
srbaker has joined #ruby-lang
kain_ has joined #ruby-lang
kain has quit [Read error: Connection reset by peer]
tjadc has quit [Ping timeout: 272 seconds]
deryldoucette has joined #ruby-lang
bfreeman has joined #ruby-lang
JustinCampbell has joined #ruby-lang
romeroabelleira has quit [Remote host closed the connection]
kyrylo has joined #ruby-lang
dejongge has quit [Ping timeout: 245 seconds]
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
jordan`` has joined #ruby-lang
jordan` has quit [Read error: No route to host]
deryl has quit [Ping timeout: 256 seconds]
deryldoucette has quit [Quit: Leaving]
srbaker has quit [Quit: Computer has gone to sleep.]
bfreeman has quit [Ping timeout: 244 seconds]
chimkan_ has quit [Read error: Operation timed out]
felipe__ has joined #ruby-lang
solars has joined #ruby-lang
chimkan_ has joined #ruby-lang
<felipe__> Hello, I have a soap4r question. Once I have created a web service with soap4r and I have the server running, whats the url where the wsdl resides?
heftig has joined #ruby-lang
ViperMaul has joined #ruby-lang
slimfit has joined #ruby-lang
hynkle has quit [Read error: No route to host]
hynkle has joined #ruby-lang
dalekurt has quit [Read error: Connection reset by peer]
jwbuurlage has joined #ruby-lang
jwbuurlage has left #ruby-lang [#ruby-lang]
Chintan has joined #ruby-lang
jwbuurlage has joined #ruby-lang
Chintan has quit [Client Quit]
kedare has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
havenn has joined #ruby-lang
mssola has joined #ruby-lang
zmack has quit [Remote host closed the connection]
dr0id has left #ruby-lang [#ruby-lang]
imperator has quit [Ping timeout: 245 seconds]
florentg2 has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
robotmay has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
arooni-mobile has joined #ruby-lang
futurechimp has quit [Ping timeout: 250 seconds]
cdt has quit [Quit: Ex-Chat]
alexkane has joined #ruby-lang
ngw has quit [Quit: Bye!]
<rue> Must you create a SOAP service?
<erikh> how's he going to get a clean API?
bfreeman has joined #ruby-lang
srbaker has joined #ruby-lang
futurechimp has joined #ruby-lang
<amerine> ugh
deobald__ has joined #ruby-lang
<erikh> yeah. yeah. love it.
futurechimp has quit [Client Quit]
dankest has joined #ruby-lang
<felipe__> rue, yes I must :/
kain_ is now known as kain
zmack has joined #ruby-lang
<JustinCampbell> felipe__: no idea but try rake routes
GSHN has joined #ruby-lang
florentg2 has quit [Quit: florentg2]
dc5ala has quit [Quit: Ex-Chat]
GSHN has quit [Read error: Connection reset by peer]
felipe__ has quit []
GSHN has joined #ruby-lang
havenn has quit [Remote host closed the connection]
GSHN has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby-lang
GSHN has joined #ruby-lang
havenn has joined #ruby-lang
<rue> I don’t remember, and I really have no desire to relive the experience…I’m sure it’s mentioned in the docs
srbaker has quit [Quit: Computer has gone to sleep.]
GSHN has quit [Read error: Connection reset by peer]
GSHN has joined #ruby-lang
cads has quit [Ping timeout: 272 seconds]
cads has joined #ruby-lang
krz has joined #ruby-lang
krz has quit [Read error: Connection reset by peer]
tRAS has quit [Ping timeout: 244 seconds]
GSHN has quit [Read error: Connection reset by peer]
tRAS has joined #ruby-lang
GSHN has joined #ruby-lang
cads has quit [Read error: Connection reset by peer]
flak has joined #ruby-lang
flak is now known as Guest95912
cads has joined #ruby-lang
krz has joined #ruby-lang
rippa has quit [Ping timeout: 244 seconds]
Guest95912 has quit [Client Quit]
arooni-mobile has quit [Ping timeout: 252 seconds]
rippa has joined #ruby-lang
<TTilus> anyone care to remind me why Feature#foo does not see Base#foo (or #bar for that matter) on foo.new.bar http://codepad.org/hKnzbfyw
<rue> TTilus: Modules go above the class in hierarchy
cads has quit [Ping timeout: 272 seconds]
savage- has joined #ruby-lang
<rue> Er, maybe ESKIMMEDTOOQUICK
<TTilus> maybe
<rue> TTilus: Works for me though, I think?
<TTilus> define "works"
<rue> Both print module foo, base foo
<canton7> both work fine for me in 1.9.3
<rue> TTilus: EREDUCEDWRONG? I don’t think even 1.8 should have problems with that
<mistym> It works for me in 1.9.3, and has the "no superclass method" error in 1.8.7.
<TTilus> a-ha
GSHN has quit [Read error: Connection reset by peer]
GSHN has joined #ruby-lang
francisfish has joined #ruby-lang
<rue> That’s odd. It has been a while since 1.8.7, though…
dfr|mac has joined #ruby-lang
<TTilus> looks like i actually was on 1.8.7 and codepad seems to be too =D
<TTilus> note to self: watch your rbenv
deobald__ has quit [Ping timeout: 260 seconds]
<TTilus> still would be nice to know whats going on with 1.8.7 on that case
GSHN has left #ruby-lang [#ruby-lang]
ConstantineXVI has quit [Remote host closed the connection]
ConstantineXVI has joined #ruby-lang
postmodern has joined #ruby-lang
soahccc is now known as soahccc`
d3vic3 has quit [Quit: leaving]
d3vic3 has joined #ruby-lang
hagzag_ has joined #ruby-lang
iamlacroix has quit [Remote host closed the connection]
fgomez has joined #ruby-lang
iamlacroix has joined #ruby-lang
tbuehlmann has quit []
cads has joined #ruby-lang
iamlacroix has quit [Ping timeout: 272 seconds]
iamlacroix has joined #ruby-lang
apeiros_ has joined #ruby-lang
iamlacroix has quit [Remote host closed the connection]
robotmay has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
iamlacroix has joined #ruby-lang
jwbuurlage has quit [Quit: jwbuurlage]
benanne has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
arooni-mobile has joined #ruby-lang
iamlacroix has quit [Ping timeout: 245 seconds]
gsav has joined #ruby-lang
slimfit has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
grin1 has left #ruby-lang [#ruby-lang]
burgestrand1 has joined #ruby-lang
burgestrand has quit [Ping timeout: 245 seconds]
qpingu has quit [Quit: Leaving.]
qpingu has joined #ruby-lang
crekev has joined #ruby-lang
wvdschel has joined #ruby-lang
wvdschel has joined #ruby-lang
mistym has quit [Remote host closed the connection]
roha has quit [Ping timeout: 272 seconds]
_whitelogger has joined #ruby-lang
Natch| has quit [Remote host closed the connection]
<Harzilein> meh
<Harzilein> do bacon and rspec collide in rubygems based setups (as opposed to distribution packages) as well?
tRAS has quit [Quit: Mother, did it need to be so high?]
brianpWins has quit [Quit: brianpWins]
dv310p3r has quit [Ping timeout: 272 seconds]
rolfb has joined #ruby-lang
dv310p3r has joined #ruby-lang
qpingu has quit [Quit: Leaving.]
roha has joined #ruby-lang
Jake232 has joined #ruby-lang
Natch| has joined #ruby-lang
retro|cz has quit [Ping timeout: 265 seconds]
fukushim_ has quit [Quit: Leaving...]
soahccc` is now known as soahccc
fukushima has joined #ruby-lang
mike3 has joined #ruby-lang
Radium has quit [Ping timeout: 252 seconds]
Radium has joined #ruby-lang
duck_puncher has joined #ruby-lang
mistym has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
iamlacroix has joined #ruby-lang
roha has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby-lang
kiddorails has joined #ruby-lang
havenn has quit [Remote host closed the connection]
srbaker has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
anildigital_work has quit [Read error: Operation timed out]
mistym has quit [Remote host closed the connection]
L0rdShrek has quit [Read error: Operation timed out]
beawesomeinstead has quit [Excess Flood]
mike3 has quit [Quit: WeeChat 0.3.7]
pvh has quit [Read error: Operation timed out]
cldwalker has quit [Ping timeout: 250 seconds]
akahn has quit [Ping timeout: 240 seconds]
dcorbin has joined #ruby-lang
dcorbin has joined #ruby-lang
tubbo has quit [Max SendQ exceeded]
agib has quit [Ping timeout: 245 seconds]
mrchrisadams has quit [Max SendQ exceeded]
srbaker has quit [Quit: Computer has gone to sleep.]
agib has joined #ruby-lang
srbaker has joined #ruby-lang
cldwalker has joined #ruby-lang
dkannan has quit [Max SendQ exceeded]
<manveru> Harzilein: why would they?
roha has joined #ruby-lang
<manveru> i mean, as long as you only require one of them
cads has quit [Ping timeout: 245 seconds]
UNIXgod_away has joined #ruby-lang
bryancp has joined #ruby-lang
<Harzilein> manveru: they have file collisions because they put their autotest below lib/ and automatic packaging helpers seem to assume only installation targets below lib/
tubbo has joined #ruby-lang
<manveru> lol
<manveru> well, who needs rspec anyway :)
soahccc is now known as soahccc`
<Harzilein> manveru: both have autotest/discover.rb and list it in their metadata
<Harzilein> manveru: other packages do
deryl has joined #ruby-lang
UNIXgod_away is now known as UNIXgod
beawesomeinstead has joined #ruby-lang
<manveru> sorry for sounding serious, i thought using ":)" would make sure you know i'm joking :P
Tref has quit [Quit: Tref]
anildigital_work has joined #ruby-lang
frem has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
Watcher7 has joined #ruby-lang
Watcher7 has quit [Remote host closed the connection]
pvh has joined #ruby-lang
rolfb has quit [Quit: Linkinus - http://linkinus.com]
gasbakid has joined #ruby-lang
Watcher7 has joined #ruby-lang
achiu has joined #ruby-lang
francisfish has joined #ruby-lang
rolfb has joined #ruby-lang
L0rdShrek has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
mrchrisadams has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
chimkan_ has quit [Quit: chimkan_]
akahn has joined #ruby-lang
robotmay has joined #ruby-lang
yxhuvud has quit [Ping timeout: 250 seconds]
kiddorails has quit [Ping timeout: 245 seconds]
<rue> Is (: happier than :) ?
<carloslopes> :D is happier than (: and :) ;)
<drbrain> rue: I thought (: was a soldier peeking over a trench line
rolfb has quit [Quit: Linkinus - http://linkinus.com]
<ddfreyne> and Ü is a very large smile
<rue> ddfreyne: It means ‘billions of nommy potatoes’, right?
brianpWins has joined #ruby-lang
<ddfreyne> rue: I hate potatoes :(
<rue> Potatoes are the best
dkannan has joined #ruby-lang
FluffyCode has joined #ruby-lang
<rue> drbrain: -(: German soldier peeking over trench line
<drbrain> rue: : Soviet soldier peeking over trench line
<ddfreyne> -(:) happy german soldier peeking over the trench line a little too far
burgestrand1 is now known as burgestrand
Kero_ has joined #ruby-lang
workmad3 has quit [Ping timeout: 272 seconds]
andrewhl has joined #ruby-lang
<rue> drbrain: <*: is a soviet soldier
<drbrain> rue: is that a fur cap?
qpingu has joined #ruby-lang
<rue> I dunno what it’s called, we call it piippahattu
Kero has quit [Ping timeout: 260 seconds]
qpingu1 has joined #ruby-lang
qpingu has quit [Read error: Connection reset by peer]
Guedes is now known as Guedes_out
<whitequark> (: is a big-endian smiley
<whitequark> :) is a little-endian one
arooni-mobile has quit [Ping timeout: 250 seconds]
qpingu1 has quit [Read error: Connection reset by peer]
qpingu has joined #ruby-lang
<drbrain> rue: ah! probably wool
<rue> Wouldn’t (: be little-endian since the smile is the significant byte?
robotmay has quit [Remote host closed the connection]
mark_locklear has quit [Remote host closed the connection]
<Harzilein> manveru: fixed the bacon debian packaging now :)
<drbrain> rue: Google was all "I think you mean http://www.peltityo.net/kuvat/061101-piipunhattu-02.jpg"
<drbrain> which doesn't sound like a very good hat
<whitequark> rue: uhm. maybe
<erikh> MIND BLOWN
<postmodern> hello is this the world-war-I hat discussion channel?
<postmodern> am I in the right channel?
<erikh> yes
gregf has quit [Quit: WeeChat 0.3.7]
wvdschel_ has joined #ruby-lang
<whitequark> erikh: what's with your mind?
<rue> postmodern: No, this is WW2 hats
wvdschel has quit [Ping timeout: 272 seconds]
<rue> We just went offtopic a little
<drbrain> postmodern: I don't think there were any soviets in WWI
headius has joined #ruby-lang
<rue> Russia withdrew before the end of the war, so no
jordan`` has quit [Remote host closed the connection]
Modularizer has joined #ruby-lang
jordan` has joined #ruby-lang
hexreel has left #ruby-lang [#ruby-lang]
roha has quit [Ping timeout: 244 seconds]
vesan__ has quit [Quit: leaving]
vesan has joined #ruby-lang
FluffyCode has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
Modularizer has left #ruby-lang [#ruby-lang]
Testish has joined #ruby-lang
petercooper has joined #ruby-lang
rmascarenhas has quit [Quit: leaving]
francisfish has joined #ruby-lang
bryancp has quit [Read error: Connection reset by peer]
bryancp has joined #ruby-lang
chimkan_ has joined #ruby-lang
jperry2 has quit [Ping timeout: 252 seconds]
Jake232 has quit [Read error: Connection reset by peer]
mstratman has quit [Quit: mstratman]
bryancp has quit [Remote host closed the connection]
carloslopes has quit [Quit: Leaving]
willdrew has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
rubytux has joined #ruby-lang
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
hynkle has quit [Quit: hynkle]
elux has joined #ruby-lang
workmad3 has joined #ruby-lang
bryancp has joined #ruby-lang
cored has quit [Client Quit]
Kero_ has quit [Quit: brb]
cored has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 272 seconds]
brianpWins has quit [Quit: brianpWins]
zevarito has joined #ruby-lang
Constant_ has joined #ruby-lang
tomb_ has joined #ruby-lang
rubytux has left #ruby-lang [#ruby-lang]
vesan has quit [Ping timeout: 272 seconds]
saggymac has quit []
<Harzilein> can someone try ffi-libc?
<Harzilein> when i require 'ffi/libc' i cannot use FFI::LibC:IpAddr.new afterwards
vesan has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
hagzag_ has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 272 seconds]
grandy has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
<grandy> hello, i just wrote a small monkey patch for a gem... it doesn't seem to be getting called (the gem's code is instead). Is there a recommended way to force my monkey patch to be used?
<grandy> (it's getting defined after all gems have been loaded)
Kero has joined #ruby-lang
<drbrain> grandy: require 'the/gem'; require 'monkey/patch'
<drbrain> grandy: but better is to submit the monkeypatch as a real patch
<drbrain> also, beware autoload
<Harzilein> can anyone have a look at my ffi-libc problem?
<grandy> drbrain: hmm yeah autoload is being used by the gem to load it
<drbrain> grandy: require 'the/gem'; require 'the/gem/specific/file' may help
zevarito has quit [Remote host closed the connection]
<drbrain> Harzilein: "I cannot use … afterwards" is not very descriptive
elux has quit [Quit: Bye!]
<grandy> drbrain: ahh ok good idea (going to submit it as a real patch if it works :)
<grandy> drbrain: do you know how i'd do the require fo the specific file you suggest in the context of having loaded hte gem using bundler ?
<apeiros_> you can also use module_eval/class_eval to force loading of the constant
<grandy> apeiros_: ahh ok, so that'd come before the monkey patch ?
<drbrain> grandy: so long as you have the necessary requires at the top of your monkey patch bundler shouldn't matter
bglusman has quit [Remote host closed the connection]
<grandy> drbrain: would I reference it as a relative path?
<drbrain> grandy: instead of class Foo; def monkey_patch ...
<drbrain> Foo.class_eval do; def monkey_patch ...
<grandy> drbrain: ahh ok
<drbrain> grandy: ^^ is a better way
s0ber_ has joined #ruby-lang
mssola has quit [Quit: Konversation terminated!]
<grandy> drbrain: hmm, i tried ClassName.class_eval {} and oddlly the monkey patched definitino still isn't being used
Xzyx987X_ has quit [Quit: Leaving]
<drbrain> grandy: not sure then
s0ber has quit [Ping timeout: 255 seconds]
s0ber_ is now known as s0ber
<grandy> cool i think i just noticed another issue
sepp2k1 has quit [Remote host closed the connection]
crekev has quit [Quit: crekev]
headius has quit [Quit: headius]
headius has joined #ruby-lang
Watcher7 has quit [Read error: Connection reset by peer]
nahhh has quit [Quit: nahhh]
krohrbaugh1 has quit [Read error: Connection reset by peer]
<Harzilein> drbrain: http://paste.debian.net/168847
mistym has joined #ruby-lang
beiter has quit [Quit: beiter]
Xzyx987X has joined #ruby-lang
achiu has quit [Quit: WeeChat 0.3.7]
DRCALKIN has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
<drbrain> Harzilein: maybe you meant in_addr?
<Harzilein> drbrain: no
<drbrain> Harzilein: what is a struct ip_addr then?
<Harzilein> drbrain: a fancy 32 bit unsigned int
<drbrain> I don't have anything matching ip_addr in /usr/include that is part of libc
<drbrain> can you show me a man page that describes it?
<Harzilein> uh, yes, i meant in_addr
<Harzilein> but
<drbrain> you'll need to require 'ffi/libc/in_addr'
<Harzilein> irb(main):002:0> FFI::LibC::InAddr.new(2078964714)
<Harzilein> NameError: uninitialized constant FFI::LibC::InAddr
dv310p3r has quit [Ping timeout: 272 seconds]
<Harzilein> right
<Harzilein> thanks
<Harzilein> sorry for the noise
<drbrain> Harzilein: np!
cored has quit [Read error: Connection reset by peer]
mike has joined #ruby-lang
mike is now known as Guest13696
imperator has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
enebo has quit [Quit: enebo]
xcyclist has joined #ruby-lang
<imperator> i don't suppose there's a way to tell if a file descriptor is reserved from FFI is there?
<imperator> some equivalent of rb_reserved_fd_p ?
<postmodern> imperator, might want to ask wayne
<postmodern> imperator, we actually setup an irc channel, #ruby-ffi
<postmodern> imperator, although wayne is on AUS time
<imperator> postmodern, thanks
<imperator> in other news, here's a new one: dyld: lazy symbol binding failed: Symbol not found: _ruby_thread_has_gvl_p
andrewhl has quit [Quit: andrewhl]
<drbrain> imperator: not surprising, the prototype is not declared in include/
<postmodern> imperator, ah i ran into that as well
<postmodern> imperator, you might want to try setting ffi_lib_flags
<imperator> drbrain, sorry, what?
<drbrain> imperator: you can't depend on ruby_thread_has_gvl_p
<drbrain> imperator: while it is callable, it's not a supported function
<imperator> ah, this is actually coming from....ffi
<imperator> Referenced from: /opt/local/lib/ruby/gems/1.9.1/gems/ffi-1.0.11/lib/ffi_c.bundle
<drbrain> ffi is doing naughty things, then
Guest13696 has quit [Quit: WeeChat 0.3.7]
mike3 has joined #ruby-lang
<drbrain> I hope the ffi maintainers have submitted requests to the ruby bug tracker to mark such functions as supported ruby API
cored has quit [Ping timeout: 244 seconds]
<burgestrand> imperator: couldn’t you bind to FFI::CURRENT_PROCESS and attach rb_reserved_fd_p, which would make it usable from ruby-land through ffi? :)
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
<imperator> burgestrand, i don't know how to do that
<postmodern> imperator, see the wiki i linked you too
<Harzilein> postmodern: oh, nice, i'll join :)
<postmodern> imajes, shows how to use CURRENT_PROCESS
<postmodern> Harzilein, excellent :)
RORgasm has quit [Remote host closed the connection]
<imajes> ok.
havenn has joined #ruby-lang
zmack has quit [Remote host closed the connection]
<burgestrand> imperator: http://19pad.charlie.bz/1364
robotmay has joined #ruby-lang
<imperator> burgestrand, thank you!
<burgestrand> (would’ve attached it as reserved_fd? but FFI tried to create a @@reserved_fd? variable which Ruby did not like)
<imperator> that is very cool
ttilley has joined #ruby-lang
chimkan_ has quit [Quit: chimkan_]
chimkan_ has joined #ruby-lang
DRCALKIN has quit [Quit: Leaving]
solars has quit [Ping timeout: 256 seconds]
chimkan_ has quit [Remote host closed the connection]
chimkan_ has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
DRCALKIN has joined #ruby-lang
outoftime has quit [Quit: Leaving]
gsav has joined #ruby-lang
chimkan___ has joined #ruby-lang
chimkan___ has quit [Remote host closed the connection]
chimkan___ has joined #ruby-lang
chimkan_ has quit [Ping timeout: 245 seconds]
benanne has quit [Quit: kbai]
macmartine has quit [Quit: macmartine]
CoverSlide has quit [Read error: Connection reset by peer]
grandy has left #ruby-lang ["ERC Version 5.3 (IRC client for Emacs)"]
mistym has quit [Remote host closed the connection]
macmartine has joined #ruby-lang
chimkan___ has quit [Read error: Connection reset by peer]
chimkan__ has joined #ruby-lang
chimkan__ has quit [Remote host closed the connection]
chimkan_ has joined #ruby-lang
rmascarenhas has joined #ruby-lang
enebo has joined #ruby-lang
WillMarshall has joined #ruby-lang
tomzx has joined #ruby-lang
perryh_away is now known as perryh
avdi has joined #ruby-lang
dfr|mac has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
dfr|mac has joined #ruby-lang
headius has quit [Quit: headius]
mistym has quit [Remote host closed the connection]
dfr|mac has quit [Remote host closed the connection]
singpolyma has quit [Remote host closed the connection]
publicvoid_ has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
<erikh> drbrain: you around? I'm wondering what I should do to generate a HTTP compliant date
publicvoid__ has quit [Ping timeout: 245 seconds]
IPGlider has quit []
<drbrain> I think rfc2822 will be fine
<erikh> I was hoping I could coerce Net::HTTP to do it
<erikh> ok
<drbrain> Net::HTTP doesn't have any smarts like that
<erikh> gotcha
<drbrain> (for dates, anyhow)
<drbrain> you could teach it through a patch :D
<erikh> I just might, I've got something that uses the date as the salt for a hmac
<erikh> (for a http request)
<erikh> an api thingamabobber
<erikh> anyhow, I'll see what I can manage later tonight.
<drbrain> ah, not quite, since rfc2822 doesn't have the extra restriction of "GMT only"
<drbrain> but I imagine any server will understand the timezone
duck_puncher has left #ruby-lang [#ruby-lang]
<whitequark> erikh: which header do you want to use that date in?
headius has joined #ruby-lang
<erikh> an api x-* header
brianpWins has joined #ruby-lang
dv310p3r has joined #ruby-lang
<erikh> Time.now.utc.rfc2822.sub(/-0000/, 'GMT') should suffice; could strftime it but I'm feeling lazy.
skipper has joined #ruby-lang