havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.3; 2.2.6; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
emptyflask has joined #ruby
<bonhoeffer> yeah -- i just made up numbers -- the real key is 32 bytes
<dambles> does anyone know the ruby version of this python method? decoded = urllib.unquote(cookieValue).decode('utf8')
<sonOfRa> bonhoeffer: and how long is the "a0f0d3b96" string actually?
emptyflask has quit [Remote host closed the connection]
emptyflask has joined #ruby
DarthGandalf has quit [Read error: Connection reset by peer]
<sonOfRa> if it's 64 characters, and all of the characters are 0-9a-f, then it is very likely hex, and you can use something like [str].pack('H*').unpack('C*') to get a suitable array of bytes
<sonOfRa> if it's NOT 64 characters, and maybe ends with an = or ==, and it has a bunch of different characters, it's probably base64.
SeepingN has quit [Disconnected by services]
SeepingN_ has joined #ruby
DarthGandalf has joined #ruby
<dambles> sonOfra yes it is base64
<sonOfRa> dambles: sorry, that was for bonhoeffer. Not sure about your problem
<dambles> but since it's a cooke sometimes it's url encoded
<dambles> oh
<dambles> ha
<dambles> kk
bonhoeffer has quit [Ping timeout: 260 seconds]
<sonOfRa> dambles: you're looking for URI::Escape
<dambles> but this string isn't a URI will it still work?
<sonOfRa> Which is, like, the second hit on google for "ruby urldecode". At least in my little filterbubble
emptyflask has quit [Ping timeout: 256 seconds]
<dambles> the is a cookie that is base64 encoded
x77686d has quit [Quit: x77686d]
<dambles> for some reason sometimes the cookie has \x22
<dambles> which if IIRC is "
<sonOfRa> Oh, quote, not urldecode. Not sure in that case, really
moei has joined #ruby
<dambles> ya it's messing me up
<dambles> in python I can use urlib.unqutoe and it works great
<dambles> I can't seem to find the ruby method that does the same thing
railssmi_ has joined #ruby
bascht has quit [Remote host closed the connection]
M-mistake has quit [Remote host closed the connection]
kineticrootkit[m has quit [Remote host closed the connection]
Donalmartin[m] has quit [Remote host closed the connection]
M-shine has quit [Remote host closed the connection]
drorp24[m] has quit [Remote host closed the connection]
Luca[m] has quit [Remote host closed the connection]
Giphy[m] has quit [Remote host closed the connection]
guanjian[m] has quit [Remote host closed the connection]
serah[m] has quit [Remote host closed the connection]
tobyn[m] has quit [Remote host closed the connection]
vma[m] has quit [Remote host closed the connection]
kp666[m] has quit [Read error: Connection reset by peer]
meaggan[m] has quit [Read error: Connection reset by peer]
laithshadeed[m] has quit [Write error: Connection reset by peer]
M-manveru has quit [Write error: Connection reset by peer]
Xi[m] has quit [Remote host closed the connection]
riotgsmport[m] has quit [Read error: Network is unreachable]
eliotk[m] has quit [Write error: Connection reset by peer]
cpfeilschifter[m has quit [Write error: Connection reset by peer]
SeepingN has joined #ruby
daveyboi[m] has quit [Write error: Connection reset by peer]
multivac[m] has quit [Remote host closed the connection]
fjj[m] has quit [Remote host closed the connection]
fladson[m] has quit [Remote host closed the connection]
n[m] has quit [Remote host closed the connection]
coreyja[m] has quit [Remote host closed the connection]
h42r62[m] has quit [Remote host closed the connection]
davix[matrix] has quit [Read error: Connection reset by peer]
philidor[m] has quit [Read error: Connection reset by peer]
jomakasi[m] has quit [Write error: Connection reset by peer]
Michael5[m] has quit [Write error: Connection reset by peer]
velu_aon[m] has quit [Write error: Connection reset by peer]
railssmith has quit [Ping timeout: 258 seconds]
SeepingN_ has quit [Ping timeout: 264 seconds]
ghostlight has quit [Ping timeout: 260 seconds]
DarthGandalf has quit [Read error: Connection reset by peer]
SeepingN has quit [Client Quit]
DarthGandalf has joined #ruby
ramfjord has joined #ruby
Derderderd has joined #ruby
<manveru> dambles: what is your string?
<manveru> usually CGI.unescape should work
ghostlight has joined #ruby
anuxivm has joined #ruby
anuxivm has left #ruby [#ruby]
Derderderd has quit [Ping timeout: 258 seconds]
sepp2k has quit [Quit: Leaving.]
skweek has joined #ruby
DarthGandalf has quit [Ping timeout: 245 seconds]
gheegh_ has joined #ruby
DarthGandalf has joined #ruby
gheegh has quit [Ping timeout: 244 seconds]
enterprisey has joined #ruby
Anonymoose2 has joined #ruby
threh has quit [Ping timeout: 250 seconds]
<dambles> manveru: it's this \x22eyJvcmdrZXkiOiAiNGU3Mnd0MUl4azg0RWVvQTZFdCIsICJ0aW1lIjogMTQ4MTMxODU0My45NjQzMTcsICJ1c2VyaWQiOiAiTWFoZXNoLllhZGF2QGNvZ25pemFudC5jb20iLCAibnMtc2Vzc2lvbi1pZCI6IDE0ODEzMTg1NDM4MjY5Nn0=\x22
<manveru> >> require 'cgi'; CGI.unescape "\x22eyJvcmdrZXkiOiAiNGU3Mnd0MUl4azg0RWVvQTZFdCIsICJ0aW1lIjogMTQ4MTMxODU0My45NjQzMTcsICJ1c2VyaWQiOiAiTWFoZXNoLllhZGF2QGNvZ25pemFudC5jb20iLCAibnMtc2Vzc2lvbi1pZCI6IDE0ODEzMTg1NDM4MjY5Nn0=\x22"
<ruby[bot]> manveru: # => "\"eyJvcmdrZXkiOiAiNGU3Mnd0MUl4azg0RWVvQTZFdCIsICJ0aW1lIjogMTQ4MTMxODU0My45NjQzMTcsICJ1c2VyaWQiOiAiT ...check link for more (https://eval.in/694272)
<manveru> not sure why you have it double quoted
<dambles> me either
<dambles> I am not the web developer
<dambles> I am just parsing nginx logs with logstash
reverberations has quit [Ping timeout: 250 seconds]
<dambles> and I need to decode the cookies for trouble shooting
<manveru> >> CGI.unescape("\x22eyJvcmdrZXkiOiAiNGU3Mnd0MUl4azg0RWVvQTZFdCIsICJ0aW1lIjogMTQ4MTMxODU0My45NjQzMTcsICJ1c2VyaWQiOiAiTWFoZXNoLllhZGF2QGNvZ25pemFudC5jb20iLCAibnMtc2Vzc2lvbi1pZCI6IDE0ODEzMTg1NDM4MjY5Nn0=\x22")[1..-2].unpack('m*')
<ruby[bot]> manveru: # => uninitialized constant CGI (NameError) ...check link for more (https://eval.in/694273)
<dambles> I think some browser does that
<manveru> >> require 'cgi'; CGI.unescape("\x22eyJvcmdrZXkiOiAiNGU3Mnd0MUl4azg0RWVvQTZFdCIsICJ0aW1lIjogMTQ4MTMxODU0My45NjQzMTcsICJ1c2VyaWQiOiAiTWFoZXNoLllhZGF2QGNvZ25pemFudC5jb20iLCAibnMtc2Vzc2lvbi1pZCI6IDE0ODEzMTg1NDM4MjY5Nn0=\x22")[1..-2].unpack('m*')
<ruby[bot]> manveru: # => ["{\"orgkey\": \"4e72wt1Ixk84EeoA6Et\", \"time\": 1481318543.964317, \"userid\": \"Mahesh.Yadav@cogn ...check link for more (https://eval.in/694274)
<manveru> yay
<dambles> how do you start a ruby console like that?
<dambles> sweet
<manveru> it's actually JSON
JoshS has joined #ruby
<dambles> yes base64 encoded IIRC
emptyflask has joined #ruby
<manveru> >> require 'cgi'; require 'json'; JSON.parse(CGI.unescape("\x22eyJvcmdrZXkiOiAiNGU3Mnd0MUl4azg0RWVvQTZFdCIsICJ0aW1lIjogMTQ4MTMxODU0My45NjQzMTcsICJ1c2VyaWQiOiAiTWFoZXNoLllhZGF2QGNvZ25pemFudC5jb20iLCAibnMtc2Vzc2lvbi1pZCI6IDE0ODEzMTg1NDM4MjY5Nn0=\x22")[1..-2].unpack('m*')[0])
<ruby[bot]> manveru: # => {"orgkey"=>"4e72wt1Ixk84EeoA6Et", "time"=>1481318543.964317, "userid"=>"Mahesh.Yadav@cognizant.com", ...check link for more (https://eval.in/694275)
<manveru> voila
<dambles> that's cool thanks for that
<manveru> np
<manveru> ruby console is pry or irb
<dambles> werd
<dambles> thanks for the help
OS-18137 has joined #ruby
<apeiros> >> ["a0f0d3b96"].pack("H*") # @ sonOfRa (in case bonhoeffer returns, I'm off now)
<ruby[bot]> apeiros: # => "\xA0\xF0\xD3\xB9`" (https://eval.in/694276)
<OS-18137> i have an array of decimal integers from 0-255, and i am converting them to hexidecimal like this: decimalArray.each {|i| print '\x'; print i.to_s(16)} but the first sixteen values are not padded with zero (\x0,\x1... instead of \x00,\x01...) is there a better method to use, i want the actual byte representation
emptyflask has quit [Ping timeout: 252 seconds]
nikivi has quit [Remote host closed the connection]
<OS-18137> maybe unpack('H*') ?
millerti has joined #ruby
nikivi has joined #ruby
toretore has quit [Ping timeout: 260 seconds]
<apeiros> >> ary = [10,20,50]; ("\\x%02x"*ary.size) % ary
<ruby[bot]> apeiros: # => "\\x0a\\x14\\x32" (https://eval.in/694277)
<apeiros> OS-18137: ^
jottr has quit [Ping timeout: 246 seconds]
<apeiros> OS-18137: also note that there's no such thing as a "decimal" integer. integers are numbers. numbers don't have a base. only their string representation does.
chouhoulis has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
jottr has joined #ruby
marxarelli is now known as marxarelli|afk
millerti has quit [Client Quit]
millerti has joined #ruby
<OS-18137> apeiros: good point :) Thanks for the help above, and what is whatever it's doing with this '(...) % arrayName' contstruct, called
<OS-18137> so i can find it in the ruby docs
emptyflask has joined #ruby
<apeiros> &ri String#% OS-18137
<apeiros> it's a method on String
<apeiros> as is the *
<apeiros> >> "hi "*3
<ruby[bot]> apeiros: # => "hi hi hi " (https://eval.in/694280)
<apeiros> >> "%02x" % 255
<ruby[bot]> apeiros: # => "ff" (https://eval.in/694281)
<OS-18137> `derpy: apeiros: okay! thank you guys. ruby is the best!
<OS-18137> s/cont/con/
nickjj has quit [Read error: Connection reset by peer]
dambles has quit [Ping timeout: 260 seconds]
jcao219 has quit [Ping timeout: 244 seconds]
<OS-18137> (0..255).each {|i| print ("\\x%02x") % i}
<OS-18137> there
<OS-18137> :)
frozengeek has quit [Quit: frozengeek]
riskish has joined #ruby
frozengeek has joined #ruby
nickjj has joined #ruby
jcao219 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
h1fuelcell has joined #ruby
<OS-18137> does ruby have an analog to 'python -c '?
<manveru> ruby -c?
<OS-18137> python -c 'python staemens here'
<manveru> ruby -e
<OS-18137> * statements
<OS-18137> thanks manveru, websearch fail
<Zarthus> OS-18137: `man ruby` :-)
<Zarthus> or even just ruby --help
<havenwood> OS-18137: Check `ruby -h` for a quick ref for flags or `man ruby` for more.
<havenwood> Zarthus: Ah, you beat me to it.
<OS-18137> havenwood: Zarthus, thank you, i did --help but i skimmed it too fast it seems
<OS-18137> anyway i appreciate you guys, thank you again
<Zarthus> we appreciate your appreciation
<OS-18137> Zarthus: that could start a dangerous spiral ;)
<Zarthus> Dangerous is my middle second-to-last first last name.
_djbkd has quit [Remote host closed the connection]
eizua has joined #ruby
NeverTired has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 246 seconds]
xall has joined #ruby
marr has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
Derderderd has joined #ruby
sdwrage has joined #ruby
bturker has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
last_staff has quit [Quit: ZZZzzz*]
Derderderd has quit [Ping timeout: 256 seconds]
gitgud has joined #ruby
gitgud has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 260 seconds]
bturker has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
Coldblackice has joined #ruby
Anonymoose2 has quit [Read error: Connection reset by peer]
Coldblackice has quit [Max SendQ exceeded]
reverberations has joined #ruby
frozengeek has quit [Quit: frozengeek]
tim_ has joined #ruby
dopamean_ has quit [Ping timeout: 260 seconds]
anthony_ has joined #ruby
railssmi_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Anonymoose2 has joined #ruby
anthony_ has quit [Quit: Textual IRC Client: www.textualapp.com]
reverberations has quit [Ping timeout: 265 seconds]
anthony_ has joined #ruby
biberu has quit []
emptyflask has quit [Remote host closed the connection]
anthony_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Definity2 has quit [Ping timeout: 264 seconds]
gnufied has quit [Ping timeout: 258 seconds]
emptyflask has joined #ruby
enterprisey has quit [Remote host closed the connection]
jottr_ has joined #ruby
jottr_ has quit [Client Quit]
raul782 has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
reverberations has joined #ruby
splud has quit [Quit: splud]
Anonymoose2 has quit [Ping timeout: 265 seconds]
Channel6 has joined #ruby
Jameser has joined #ruby
Derderderd has joined #ruby
ixti has joined #ruby
sdwrage has joined #ruby
symm-- has quit [Ping timeout: 260 seconds]
jtdoncas_ has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
tim_ has quit [Ping timeout: 250 seconds]
tim_ has joined #ruby
jtdoncas_ has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arnonhongklay has joined #ruby
mahlon has quit [Quit: nine foot long outhouse ladle]
djbkd has quit [Quit: Leaving...]
djbkd has joined #ruby
jtdoncas has quit [Ping timeout: 264 seconds]
clarkk has joined #ruby
<clarkk> on linux, my non-admin user has a .rvm file in its home directory. When I log into the terminal as root and cd to that directory it gives the "you can switch to '.ruby-version' using 'rvm rvmrc to ruby-version'" message. Why would this happen for one but not the other user?
tomlynn[m] has joined #ruby
dnicole has quit [Remote host closed the connection]
dnicole has joined #ruby
Definity2 has joined #ruby
nankyokusei has joined #ruby
dnicole has quit [Ping timeout: 258 seconds]
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
h1fuelcell has quit [Remote host closed the connection]
DarthGandalf has quit [Read error: Connection reset by peer]
smtudor has joined #ruby
ledestin has quit [Ping timeout: 245 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
rwb has quit [Quit: rwb]
jtdoncas has joined #ruby
cdg_ has joined #ruby
NeverTired has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
ponga has joined #ruby
AlbertTing has joined #ruby
jtdoncas has quit [Ping timeout: 256 seconds]
jtdoncas_ has joined #ruby
libastral has quit [Ping timeout: 248 seconds]
Cra2yZer0 has joined #ruby
libastral has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
djellemah has quit [Ping timeout: 260 seconds]
enterprisey has joined #ruby
AlbertTing has left #ruby ["AndroIRC"]
Channel6 has quit [Quit: Leaving]
Azure has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 246 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
unreal_ is now known as unreal
Derderderd has quit [Ping timeout: 248 seconds]
sdothum has joined #ruby
Azure has joined #ruby
bturker has joined #ruby
enterprisey has quit [Ping timeout: 250 seconds]
agent_white has quit [Quit: bbl]
nettoweb has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
CloCkWeRX has joined #ruby
SteenJobs has joined #ruby
agent_white has joined #ruby
Sammichmaker has joined #ruby
x77686d has joined #ruby
montanonic has quit [Ping timeout: 250 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
threh has joined #ruby
aknagi has quit [Quit: Leaving]
arescorpio has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
h1fuelcell has joined #ruby
zukin has joined #ruby
x77686d has quit [Quit: x77686d]
vondruch_ has joined #ruby
segy has quit [Excess Flood]
ignarps has quit [Excess Flood]
tvsutton has quit [Excess Flood]
tvsutton has joined #ruby
cgfbee has quit [Excess Flood]
nchambers has quit [Excess Flood]
JStoker has quit [Excess Flood]
ignarps has joined #ruby
segy has joined #ruby
nchambers^ has joined #ruby
JStoker has joined #ruby
pookie_ has joined #ruby
ironcame1 has joined #ruby
sethette1 has joined #ruby
ihme-TTilus has joined #ruby
kaffepan1a has joined #ruby
julian has joined #ruby
sami_ has joined #ruby
awk_ has joined #ruby
hirvi_ has joined #ruby
volix_ has joined #ruby
rgs_ has joined #ruby
hinbody_ has joined #ruby
LambdaSi1 has joined #ruby
ule_ has joined #ruby
ltd_ has joined #ruby
julian is now known as Guest94433
sami_ is now known as Guest87279
tonytony1an has joined #ruby
cgfbee has joined #ruby
tonytonyjan has quit [Write error: Broken pipe]
ltd has quit [Write error: Broken pipe]
hinbody has quit [Write error: Broken pipe]
kaffepanna has quit [Write error: Broken pipe]
LambdaSix has quit [Write error: Broken pipe]
volix has quit [Write error: Broken pipe]
piotrj has quit [Write error: Broken pipe]
sami has quit [Write error: Broken pipe]
mc_fail has quit [Write error: Broken pipe]
sethetter has quit [Write error: Broken pipe]
dp has quit [Write error: Broken pipe]
ironcamel has quit [Write error: Broken pipe]
rgs has quit [Write error: Broken pipe]
vondruch has quit [Write error: Broken pipe]
ule has quit [Remote host closed the connection]
olspookishmagus has quit [Remote host closed the connection]
alamar has quit [Remote host closed the connection]
hirvi has quit [Remote host closed the connection]
gse_ has quit [Remote host closed the connection]
gse has joined #ruby
enterprisey has joined #ruby
enterprisey has quit [Remote host closed the connection]
truenito has joined #ruby
enterprisey has joined #ruby
bonhoeffer has joined #ruby
hanmac has quit [Ping timeout: 245 seconds]
piotrj has joined #ruby
ghostlight has quit [Ping timeout: 256 seconds]
jcao219 has joined #ruby
TTilus has quit [Ping timeout: 260 seconds]
awk has quit [Ping timeout: 260 seconds]
mc_fail has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
Cra2yZer0 has quit [Ping timeout: 240 seconds]
Cra2yZer0 has joined #ruby
ghostlight has joined #ruby
nikivi has quit [Quit: irc]
ascarter has joined #ruby
bruce_lee has quit [Ping timeout: 240 seconds]
bruce_lee has joined #ruby
hanmac has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
arnonhongklay has joined #ruby
tim_ has quit [Ping timeout: 240 seconds]
tim_ has joined #ruby
sdothum has joined #ruby
jshjsh has joined #ruby
bonhoeffer has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
solocshaw has joined #ruby
hinbody_ is now known as hinbody
perniciouscaffei has joined #ruby
tim_ is now known as tim1874
JoshS has quit [Ping timeout: 268 seconds]
zukin has quit [Quit: leaving]
gnufied has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
sneakerhax has joined #ruby
Derderderd has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
truenito has quit [Ping timeout: 268 seconds]
Derderderd has quit [Ping timeout: 260 seconds]
tau has quit [Remote host closed the connection]
al2o3-cr has quit [Quit: WeeChat 1.6]
h1fuelcell has joined #ruby
al2o3-cr has joined #ruby
raul782 has quit [Remote host closed the connection]
nankyokusei has joined #ruby
tim1874 has quit [Ping timeout: 250 seconds]
dopamean_ has joined #ruby
solocshaw has quit [Ping timeout: 258 seconds]
CloCkWeRX has quit [Ping timeout: 250 seconds]
tim1874 has joined #ruby
bocaneri has joined #ruby
sdwrage has quit [Quit: Leaving]
nankyokusei has quit [Ping timeout: 264 seconds]
Asher has quit [Ping timeout: 245 seconds]
Asher has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
cibs has quit [Ping timeout: 268 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uxp has joined #ruby
ascarter has joined #ruby
ascarter has quit [Client Quit]
SteenJobs has quit [Quit: SteenJobs]
cibs has joined #ruby
smtudor has quit [Quit: WeeChat 1.5]
ascarter has joined #ruby
SteenJobs has joined #ruby
raul782 has joined #ruby
beilabs has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JoshS has joined #ruby
pilne has left #ruby ["Leaving!"]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
jshjsh has quit [Ping timeout: 260 seconds]
x77686d has joined #ruby
skweek has quit [Ping timeout: 264 seconds]
kuSuSE has quit [Read error: Connection reset by peer]
biox has quit [Quit: brb servers are ded]
ascarter has joined #ruby
xlegoman has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x77686d has quit [Client Quit]
TheMoonMaster has quit [Ping timeout: 256 seconds]
gix has quit [Ping timeout: 244 seconds]
h1fuelcell has quit [Remote host closed the connection]
sinaeftekhari has joined #ruby
Jameser has joined #ruby
TheMoonMaster has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
raul782 has quit [Remote host closed the connection]
biox has joined #ruby
arescorpio has quit [Quit: Leaving.]
Cra2yZer0 has quit [Ping timeout: 258 seconds]
biox has quit [Client Quit]
biox has joined #ruby
raul782 has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
_djbkd has joined #ruby
Derderderd has joined #ruby
jenrzzz has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Derderderd has quit [Ping timeout: 260 seconds]
enterprisey has quit [Remote host closed the connection]
bturker has joined #ruby
cdg_ has quit [Remote host closed the connection]
Cra2yZer0 has joined #ruby
raul782 has quit [Remote host closed the connection]
TheMoonMaster has quit [Ping timeout: 256 seconds]
sinaeftekhari has quit [Remote host closed the connection]
bturker has quit [Ping timeout: 256 seconds]
TheMoonMaster has joined #ruby
arnonhongklay has joined #ruby
enterprisey has joined #ruby
b0nn has quit [Ping timeout: 260 seconds]
raul782 has joined #ruby
balazs has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
harfangk has joined #ruby
djellemah has joined #ruby
freedrull has quit [Remote host closed the connection]
h1fuelcell has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
xall has quit [Quit: WeeChat 1.5]
awc has joined #ruby
awc_ has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
tau has joined #ruby
awc has quit [Ping timeout: 250 seconds]
clarkk has quit [Ping timeout: 250 seconds]
raul782 has quit [Remote host closed the connection]
arnonhongklay has quit [Remote host closed the connection]
montanonic has joined #ruby
nchambers^ has quit [Changing host]
nchambers^ has joined #ruby
nchambers^ is now known as nchambers
awc_ has quit [Quit: Mutter: www.mutterirc.com]
bustizz has joined #ruby
nankyokusei has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
djellemah_ has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
arnonhongklay has joined #ruby
clarkk has joined #ruby
inerkick has joined #ruby
inerkick has quit [Max SendQ exceeded]
inerkick has joined #ruby
nofxxx has joined #ruby
ledestin has joined #ruby
Derderderd has joined #ruby
<nchambers> I have a file called foo.rb, which defines the module Foo, which contains the function foo. Is there anyway I can do: require 'foo'\nFoo.foo? Currently I also have to do include Foo then Foo.foo
arnonhongklay has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 256 seconds]
Derderderd has quit [Ping timeout: 240 seconds]
<nchambers> ah nmd. figured it out
saneax-_-|AFK is now known as saneax
enterprisey has quit [Ping timeout: 245 seconds]
jcao219 has quit [Ping timeout: 246 seconds]
bastilian has joined #ruby
antoniobeyah has joined #ruby
yaewa has joined #ruby
moei has quit [Ping timeout: 244 seconds]
inerkick has quit [Quit: Leaving]
arnonhongklay has joined #ruby
arnonhongklay has quit [Ping timeout: 265 seconds]
bustizz has quit [Ping timeout: 252 seconds]
raul782 has joined #ruby
amclain has quit [Quit: Leaving]
benlieb has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
bastilian_ has joined #ruby
raul782 has quit [Ping timeout: 245 seconds]
uxp has quit [Read error: Connection reset by peer]
djellemah_ has quit [Ping timeout: 258 seconds]
threh has quit [Ping timeout: 248 seconds]
saneax is now known as saneax-_-|AFK
troys has joined #ruby
saneax-_-|AFK is now known as saneax
uxp has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
KnownSyntax has quit [Ping timeout: 245 seconds]
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
awc has joined #ruby
h1fuelcell has joined #ruby
bastilian_ has quit [Quit: WeeChat 1.5]
Derderderd has joined #ruby
_djbkd has quit [Quit: My people need me...]
h1fuelcell has quit [Ping timeout: 260 seconds]
nadir has quit [Quit: Connection closed for inactivity]
troys has quit [Quit: Bye]
bturker has joined #ruby
awc has quit [Quit: Mutter: www.mutterirc.com]
tau has quit [Remote host closed the connection]
Derderderd has quit [Ping timeout: 264 seconds]
s2013 has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
KnownSyntax has joined #ruby
AustinMatherne has quit [Ping timeout: 244 seconds]
AustinMatherne has joined #ruby
h1fuelcell has joined #ruby
ReK2 has quit [Remote host closed the connection]
perniciouscaffei has joined #ruby
nankyokusei has joined #ruby
ReK2 has joined #ruby
h1fuelcell has quit [Ping timeout: 248 seconds]
tim1874 has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 258 seconds]
tim1874 has joined #ruby
djbkd_ has joined #ruby
AlexRussia_ has quit [Quit: WeeChat 1.6]
awc has joined #ruby
lxsameer has joined #ruby
dopamean_ has quit [Ping timeout: 244 seconds]
h1fuelcell has joined #ruby
bastilian_ has joined #ruby
bastilian_ has quit [Client Quit]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
h1fuelcell has quit [Ping timeout: 265 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eizua has quit [Ping timeout: 252 seconds]
awc has quit [Quit: Mutter: www.mutterirc.com]
threh has joined #ruby
dopamean_ has joined #ruby
vuoto has joined #ruby
uxp_ has joined #ruby
uxp has quit [Ping timeout: 264 seconds]
dopamean_ has quit [Ping timeout: 245 seconds]
benlieb has quit [Quit: benlieb]
vuoto has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
threh has quit [Ping timeout: 256 seconds]
arnonhongklay has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
dn` has quit [Quit: dn`]
dn` has joined #ruby
maattdd has joined #ruby
h1fuelcell has quit [Ping timeout: 258 seconds]
Derderderd has joined #ruby
cibs has joined #ruby
awc has joined #ruby
awc has quit [Client Quit]
nighthwk1 has joined #ruby
djbkd__ has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
p0p0pr37_ has joined #ruby
ta__ has joined #ruby
bronson_ has joined #ruby
dionysus69 has joined #ruby
millerti has quit [Read error: Connection reset by peer]
p0p0pr37 has quit [Read error: Connection reset by peer]
ta_ has quit [Read error: Connection reset by peer]
arnonhongklay has quit [Read error: Connection reset by peer]
p0p0pr37_ is now known as p0p0pr37
awc has joined #ruby
Omni_ has quit [Ping timeout: 260 seconds]
chridal has quit [Ping timeout: 260 seconds]
dmarr has quit [Ping timeout: 250 seconds]
noodle has quit [Quit: /quit]
arnonhongklay has joined #ruby
omphe has joined #ruby
ragesoss has quit [Quit: No Ping reply in 180 seconds.]
emptyflask has quit [Read error: Connection reset by peer]
djbkd has quit [Ping timeout: 260 seconds]
sneakerhax has quit [Ping timeout: 260 seconds]
epitron has quit [Ping timeout: 260 seconds]
noodle has joined #ruby
bronson has quit [Read error: Connection reset by peer]
croberts has quit [Ping timeout: 260 seconds]
ragesoss has joined #ruby
epitron has joined #ruby
chridal has joined #ruby
awc has quit [Client Quit]
Toledo has joined #ruby
Guest50980 has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
dmarr has joined #ruby
omphe has quit [Quit: Textual IRC Client: www.textualapp.com]
awc has joined #ruby
vuoto has joined #ruby
KnownSyntax has quit [Read error: Connection reset by peer]
KnownSyntax has joined #ruby
SpiffTR has joined #ruby
arnonhongklay has joined #ruby
nankyokusei has joined #ruby
hutch34 has joined #ruby
ianconnolly has quit [Ping timeout: 260 seconds]
ianconnolly has joined #ruby
awc has quit [Quit: Mutter: www.mutterirc.com]
arnonhongklay has quit [Client Quit]
SpiffTR has quit [Quit: Leaving.]
cibs has quit [Ping timeout: 268 seconds]
cibs has joined #ruby
nankyokusei has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 240 seconds]
conta has joined #ruby
jgnagy_ has joined #ruby
muelleme has joined #ruby
ryotarai has quit [Ping timeout: 260 seconds]
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
marsjaninzmarsa has joined #ruby
ryotarai has joined #ruby
djbkd_ has quit [Remote host closed the connection]
djbkd has joined #ruby
jgnagy has quit [Ping timeout: 265 seconds]
jgnagy_ has quit [Client Quit]
saneax is now known as saneax-_-|AFK
djbkd has quit [Ping timeout: 260 seconds]
awc has joined #ruby
Guest87279 has quit [Ping timeout: 260 seconds]
Fernando-Basso has joined #ruby
swills has quit [Ping timeout: 260 seconds]
PlasmaStar has quit [Remote host closed the connection]
sami has joined #ruby
Fraeon has joined #ruby
maattdd has quit [Ping timeout: 245 seconds]
awc has quit [Client Quit]
montanonic has quit [Ping timeout: 268 seconds]
foxxx0_ has joined #ruby
cibs has quit [*.net *.split]
gry has quit [*.net *.split]
voxxit has quit [*.net *.split]
swills has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
marsjaninzmarsa has quit [*.net *.split]
epitron has quit [*.net *.split]
mg^ has quit [*.net *.split]
edwardly has quit [*.net *.split]
foxxx0 has quit [*.net *.split]
MrBusiness2 has quit [*.net *.split]
eclm has quit [*.net *.split]
seggy has quit [*.net *.split]
existensil has quit [*.net *.split]
Koshian____ has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
brainslug has quit [*.net *.split]
alnewkirk has quit [*.net *.split]
isomorphismes has quit [*.net *.split]
jericon_ has quit [*.net *.split]
Freijo has quit [*.net *.split]
tmtwd has joined #ruby
epitron has joined #ruby
jtdoncas_ has quit [Ping timeout: 258 seconds]
mg^ has joined #ruby
nofxxx has quit [Ping timeout: 264 seconds]
gry has joined #ruby
cibs has joined #ruby
seggy has joined #ruby
existensil has joined #ruby
Koshian____ has joined #ruby
eclm has joined #ruby
yorickpeterse has joined #ruby
MrBusiness2 has joined #ruby
edwardly has joined #ruby
marsjaninzmarsa has joined #ruby
brainslug has joined #ruby
isomorphismes has joined #ruby
jericon_ has joined #ruby
alnewkirk has joined #ruby
lxsameer has joined #ruby
h1fuelcell has joined #ruby
inerkick has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
<inerkick> Hi.. Anyone using Ruby on vim, and got configuration. Please help. New in here, learning Ruby.
<atmosx> inerkick: I use ruby on vim, what is the question?
<atmosx> many people use vim for everything tbh
voxxit has joined #ruby
<inerkick> I need the configuration for ruby , and later may be use it for Rails.
cibs has joined #ruby
<atmosx> inerkick: did you check out https://github.com/vim-ruby/vim-ruby ?
<inerkick> yeah. I'm new to coding, but somehow Ide's I tried, I kind of started hating it.. I do like Geany. But else, Vim seems good for me. I wanted .vimrc config if anyone who got. Tried to search many but still getting hang of it
<atmosx> inerkick: I see
h1fuelcell has quit [Ping timeout: 260 seconds]
<inerkick> I haven't seen that, I checked one which is by Tim Pope <http://tpo.pe/>
<inerkick> he gave a complete package I guess for rails. So tried to get it inside, Vim folder, but didn't work I guess. Or worked, but not sure how were the shortcuts..
<atmosx> inerkick: this is mine, with pathogen support: https://gist.github.com/atmosx/e07315fece224b0a68d44c5dd834cbd6
<atmosx> shortcuts are defined using UltiSnips. I also use Ctrl+P and Syntastic
<inerkick> thank for the tip, i will use the one you gave right now, and later probably check for rails I guess
<inerkick> ok
<inerkick> thank god. You shared your VIMRc. I was like so not sure if I was doing anything wrong
skweek has joined #ruby
<atmosx> inerkick: also check this out: https://valloric.github.io/YouCompleteMe/ it's awesome
<zenspider> inerkick: you mean besides not using emacs? :P
beilabs_ has joined #ruby
bturker has joined #ruby
<inerkick> I tried emacs, something I felt like held back. I wasn't sure what were buffers and lot of key maps. And vim seemed so easy since beginning.. zenspider
<zenspider> sa sad... :P
<zenspider> so... ugh.
<inerkick> thanks for the auto completion plugin atmosx
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<inerkick> zenspider, I actually tried to start with emacs, but it's so much going on and for me at this moment vim is fine. Later someday can check emacs
beilabs has quit [Ping timeout: 240 seconds]
muelleme has quit [Ping timeout: 264 seconds]
<atmosx> inerkick: you're welcome! :-)
claudiuinberlin has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
<inerkick> atmosx, How long you been learning ruby?
beilabs has joined #ruby
<zenspider> odd question... or oddly worded
muelleme has joined #ruby
beilabs_ has quit [Ping timeout: 244 seconds]
<atmosx> inerkick: I don't know feel like I know ruby - I'm here because I like IRC and can bother them with questions. I've been using ruby for a long time though, 4 years maybe more
<inerkick> Yeah. zenspider ..
voxxit has quit [Read error: Connection timed out]
marsjaninzmarsa has quit [*.net *.split]
edwardly has quit [*.net *.split]
MrBusiness2 has quit [*.net *.split]
eclm has quit [*.net *.split]
seggy has quit [*.net *.split]
existensil has quit [*.net *.split]
Koshian____ has quit [*.net *.split]
yorickpeterse has quit [*.net *.split]
brainslug has quit [*.net *.split]
alnewkirk has quit [*.net *.split]
isomorphismes has quit [*.net *.split]
jericon_ has quit [*.net *.split]
<inerkick> Awesome atmosx ..Thank you for sharing your knowledge
voxxit has joined #ruby
existensil has joined #ruby
Koshian____ has joined #ruby
yorickpeterse has joined #ruby
brainslug has joined #ruby
eclm has joined #ruby
seggy has joined #ruby
jericon_ has joined #ruby
edwardly has joined #ruby
marsjaninzmarsa has joined #ruby
alnewkirk has joined #ruby
isomorphismes has joined #ruby
MrBusiness2 has joined #ruby
beilabs_ has joined #ruby
beilabs has quit [Ping timeout: 258 seconds]
muelleme has quit [Ping timeout: 250 seconds]
foxxx0_ is now known as foxxx0
Hyuk has joined #ruby
h1fuelcell has joined #ruby
beilabs has joined #ruby
codfection has joined #ruby
beilabs_ has quit [Ping timeout: 245 seconds]
sinaeftekhari has joined #ruby
h1fuelcell has quit [Ping timeout: 260 seconds]
tmtwd has quit [Ping timeout: 260 seconds]
teclator_ has joined #ruby
teclator has quit [Ping timeout: 265 seconds]
tvw has joined #ruby
voxxit has quit [*.net *.split]
cibs has quit [*.net *.split]
gry has quit [*.net *.split]
beilabs_ has joined #ruby
beilabs has quit [Ping timeout: 246 seconds]
grh has joined #ruby
voxxit has joined #ruby
gry has joined #ruby
cibs has joined #ruby
h1fuelcell has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
minimalism has quit [Quit: minimalism]
eizua has joined #ruby
inerkick has quit [Quit: Leaving]
tdy1 has quit [Ping timeout: 256 seconds]
h1fuelcell has quit [Ping timeout: 248 seconds]
nankyokusei has joined #ruby
grh has quit [Ping timeout: 265 seconds]
teclator_ has quit [Ping timeout: 265 seconds]
teclator has joined #ruby
aufi has joined #ruby
h1fuelcell has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
h1fuelcell has quit [Remote host closed the connection]
aufi has quit [Client Quit]
h1fuelcell has joined #ruby
pandaant has joined #ruby
drale2k has quit [Quit: ZNC - http://znc.in]
tvw has quit [Remote host closed the connection]
drale2k has joined #ruby
awc has joined #ruby
vuoto has quit [Remote host closed the connection]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
Cra2yZer0 has quit [Ping timeout: 256 seconds]
sinaeftekhari has quit [Remote host closed the connection]
lele has quit [Excess Flood]
lele has joined #ruby
aaronwed1 has joined #ruby
toretore has joined #ruby
Jackneill_ has joined #ruby
awc has quit [Quit: Mutter: www.mutterirc.com]
hutch34 has joined #ruby
Snickers has joined #ruby
lubekpl has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
lenwood has joined #ruby
futilegames has joined #ruby
Hyuk has joined #ruby
codfection has quit [Remote host closed the connection]
h1fuelcell has quit [Remote host closed the connection]
Guest94433 is now known as julian
symm- has joined #ruby
awc has joined #ruby
hays has quit [Ping timeout: 260 seconds]
awc has quit [Client Quit]
bturker has joined #ruby
JeanCarloMachado has joined #ruby
gloscombe has joined #ruby
teclator has quit [Ping timeout: 258 seconds]
teclator has joined #ruby
marxarelli|afk is now known as marxarelli
muelleme has joined #ruby
gloscombe has quit [Quit: gloscombe]
Snickers has quit [Quit: Snickers]
muelleme has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
nankyokusei has joined #ruby
f4 has quit [Quit: Ухожу я от вас]
nankyokusei has quit [Ping timeout: 260 seconds]
skydiver has quit [Quit: WeeChat 1.6]
gloscombe has joined #ruby
hutch34 has joined #ruby
grh has joined #ruby
hutch34 has quit [Ping timeout: 265 seconds]
bturker has quit [Ping timeout: 256 seconds]
aaronwed1 has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
h1fuelcell has joined #ruby
matp has quit [Remote host closed the connection]
h1fuelcell has quit [Ping timeout: 260 seconds]
matp has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Client Quit]
symm-- has joined #ruby
jtdoncas_ has joined #ruby
symm- has quit [Ping timeout: 264 seconds]
grh has quit [Ping timeout: 258 seconds]
jtdoncas_ has quit [Ping timeout: 264 seconds]
bonhoeffer has joined #ruby
<bonhoeffer> what do you call this string in ruby: "J\xB5\xF3\x85\xFA\xFE\a\xB7!t\x93\x0E"
<bonhoeffer> hexstring?
marxarelli is now known as marxarelli|afk
|RicharD| has joined #ruby
grh has joined #ruby
<bonhoeffer> i'm trying to convert "SrXzhfr+B7chdJMO\n" to "J\xB5\xF3\x85\xFA\xFE\a\xB7!t\x93\x0E"
mikecmpbll has quit [Quit: inabit. zz.]
nadir has joined #ruby
<hanmac> bonhoeffer: i think you want base64
<hanmac> >> require "base64"; Base64.decode64("SrXzhfr+B7chdJMO\n")
<ruby[bot]> hanmac: # => "J\xB5\xF3\x85\xFA\xFE\a\xB7!t\x93\x0E" (https://eval.in/694592)
<bonhoeffer> ahh
<apeiros> bonhoeffer: it's an inspect
<apeiros> the string is just a string. and .encoding will tell you its encoding
<apeiros> the \xB5 is an escape sequence for a single byte, represented in hex.
<bonhoeffer> options[:iv].encoding => #<Encoding:ASCII-8BIT>
<apeiros> ascii-8bit = binary
<apeiros> it's called ascii-8bit because it shows you 0x00-0x7f as ascii characters
<bonhoeffer> got it-- so options[:iv] => "J\xB5\xF3\x85\xFA\xFE\a\xB7!t\x93\x0E" so what really is options[:iv]?
<apeiros> (binary would NOT have any characters at all)
yaewa has quit [Quit: Leaving...]
<apeiros> a string
<bonhoeffer> ok -- and a string is a set of binary numbers -- but this is actually a string, encoded in ascii-8bit
<apeiros> a string is an array of bytes
<bonhoeffer> sure, but it is assigned a datatype
<apeiros> and depending on the encoding, those bytes are interpreted as characters. either individually (e.g. in windows-latin1), or a sequence (utf-8)
<apeiros> the datatype is string
<apeiros> options[:iv].class => String
<bonhoeffer> got it
<bonhoeffer> when you say individually or a sequence, what is the difference there in the data structures?
<apeiros> none
<bonhoeffer> they both are stored as raw bytes
<apeiros> it's still an array of bytes. it's still a string.
<apeiros> again, encoding is only needed to figure out which bytes in that array map to which characters.
<bonhoeffer> so "SrXzhfr+B7chdJMO\n".unpack("C*") => [83, 114, 88, 122, 104, 102, 114, 43, 66, 55, 99, 104, 100, 74, 77, 79, 10]
<apeiros> tells you that S maps to a byte with value 83
<apeiros> "S"
<bonhoeffer> those are the 8-bit unsigned integers (in decimal, then in that array)
Cra2yZer0 has joined #ruby
<bonhoeffer> now that mapping from S to 83 what governs that
<bonhoeffer> ascii tables?
<apeiros> "unsigned integers" - no.
moei has joined #ruby
nettoweb has joined #ruby
<apeiros> you can decide to interpret those bytes as unsigned ints. that's when you get 83 instead of "S"
<bonhoeffer> C | Integer | 8-bit unsigned (unsigned char) -- is what i specified
<apeiros> yes. might want to reread carefully what I just wrote :-p
<bonhoeffer> so if i inspected memory -- i could find the binary representation of 83 there
<apeiros> yes
<apeiros> you'd find 01010011
<bonhoeffer> and how is that 83 interpreted as S -- because that memory space is known to be part of an ascii string
<apeiros> and that sequence of bits can be interpreted in quite a couple of ways. one of them being "unsigned int" in C nomenclature. which would mean it's 83.
<apeiros> correct
<bonhoeffer> ok -- so i'm trying to convert an iv to load cipher.iv = options[:iv] which on inspection is "J\xB5\xF3\x85\xFA\xFE\a\xB7!t\x93\x0E"
<bonhoeffer> first, i'm not sure if i'm seeing the real value in options[:iv] since in the console i'm not seeing that but the result of .inspect on that
<bonhoeffer> second, i call the function with "SrXzhfr+B7chdJMO\n" as the iv
<apeiros> the value inspect shows you is quite real
<apeiros> don't know why you doubt on that :)
<bonhoeffer> so it is literally a string (with some encoding)
<apeiros> iirc IVs have a specific length. are you sure 17 bytes is correct?
<bonhoeffer> options[:iv].encoding; options[:iv].bytesize => 12
<apeiros> >> "SrXzhfr+B7chdJMO\n".bytesize
<ruby[bot]> apeiros: # => 17 (https://eval.in/694599)
<apeiros> you're off somewhere…
<bonhoeffer> options[:iv].encoding => #<Encoding:ASCII-8BIT>, options[:iv].bytesize => 12, options[:iv] => "J\xB5\xF3\x85\xFA\xFE\a\xB7!t\x93\x0E"
Mon_Ouie has joined #ruby
<bonhoeffer> yes -- in manually looking at the string -- i don't count 17
<apeiros> ok, so what you say looks contradictory to me. you say 'i call the function with "SrXzhfr+B7chdJMO\n" as the iv' and then show an IV being "J\xB5\xF3\x85\xFA\xFE\a\xB7!t\x93\x0E"
<bonhoeffer> J = one byte, correct as does \xB5
<bonhoeffer> yeah -- that latter being what i'm inspecting via a debugger
<apeiros> ok. show code please.
<bonhoeffer> i'm unsure how to count \xB7!t
<apeiros> that's 3 bytes
<apeiros> \xB7 is one. ! is one. t is one.
<apeiros> it's always \xHH
c355e3b has quit [Quit: Connection closed for inactivity]
<bonhoeffer> apeiros: ah -- got you
<herwin> bonhoeffer: maybe it's a bit easier to reason about if you realise "\xB7!t" is the same as "\xB7\x21\x74"
<herwin> just formatted differently
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Snickers has joined #ruby
<herwin> now every group of \xHH is 1 byte
<bonhoeffer> herwin: got it
<bonhoeffer> apeiros: it makes sense that ! is one byte in base64
<apeiros> bonhoeffer: hm, not quite sure how to explain that one… base64 maps a 6bit encoding to 8 bits
<bonhoeffer> more basic: "ab6821d55fd209af538c4c6407366c79d87cddd481f5970b".bytesize => 48
<bonhoeffer> but that looks like hex encoding -- so isn't that 24 bytes
<apeiros> a byte from binary translated to base64 will therefore never be 1 byte. it'll be ~10.66 bits, i.e. a bit more than a byte.
<nyuszika7h> yes, but you're just passing it a string there
<nyuszika7h> it can't guess it's hex
<apeiros> >> ["ab6821d55fd209af538c4c6407366c79d87cddd481f5970b"].pack("H*")
<ruby[bot]> apeiros: # => "\xABh!\xD5_\xD2\t\xAFS\x8CLd\a6ly\xD8|\xDD\xD4\x81\xF5\x97\v" (https://eval.in/694601)
<apeiros> and yes, that looks like a hex representation of binary data. meaning you have 24 bytes.
<bonhoeffer> >> ["ab6821d55fd209af538c4c6407366c79d87cddd481f5970b"].pack("H*").bytesize
<apeiros> you still need to be registered ;-)
<bonhoeffer> :)
<bonhoeffer> >> ["ab6821d55fd209af538c4c6407366c79d87cddd481f5970b"].pack("H*").bytesize
<ruby[bot]> bonhoeffer: # => 24 (https://eval.in/694603)
<apeiros> you need 2 hex digits to represent 1 byte
Ishido has joined #ruby
<bonhoeffer> yeah -- makes sense
<bonhoeffer> but here is a big confusion -- encryptor checks options[:key].bytesize < cipher.key_len (cipher.len_len is 32 (for 256 bit aes), and bytesize is big enough 48, but there are really only 24 bytes there
nankyokusei has joined #ruby
<bonhoeffer> because the encoding is hex
<bonhoeffer> it is, in fact, the result of SecureRandom.random_bytes(24)
<bonhoeffer> so why does that pass?
<apeiros> that doesn't give you a hex string
<apeiros> SecureRandom.hex(24) would
<bonhoeffer> nope -- SecureRandom.random_bytes(24).unpack('H*').first does
<apeiros> uh. yeah. just use .hex :-p
<bonhoeffer> sure -- if i had apeiros skill . . .
<apeiros> well, the string's encoding isn't hex
<apeiros> you, a human, know that there's hex in there
<apeiros> to the computer, it's still a binary string consisting of 48 bytes.
<apeiros> unless that's what cipher.iv= expects and converts to binary…
<bonhoeffer> so, maybe i'm messing up the encryption -- i'm sending it a string that has less entropy that it should
<bonhoeffer> because nothing in that string is > f
futilegames has quit [Quit: futilegames]
nankyokusei has quit [Ping timeout: 245 seconds]
toretore has quit [*.net *.split]
djbkd__ has quit [*.net *.split]
nighthwk1 has quit [*.net *.split]
uxp_ has quit [*.net *.split]
Asher has quit [*.net *.split]
volix_ has quit [*.net *.split]
kaffepan1a has quit [*.net *.split]
nchambers has quit [*.net *.split]
ignarps has quit [*.net *.split]
__main__ has quit [*.net *.split]
herbmillerjr has quit [*.net *.split]
face has quit [*.net *.split]
weaksauce has quit [*.net *.split]
jrafanie has quit [*.net *.split]
theRoUS has quit [*.net *.split]
inoperable has quit [*.net *.split]
uranellus has quit [*.net *.split]
GinoManWorks has quit [*.net *.split]
jesk has quit [*.net *.split]
_br__ has quit [*.net *.split]
fatbob has quit [*.net *.split]
mikeiniowa has quit [*.net *.split]
destructure has quit [*.net *.split]
AnoHito has quit [*.net *.split]
papercod1 has quit [*.net *.split]
Guest46272 has quit [*.net *.split]
aibot has quit [*.net *.split]
fumk has quit [*.net *.split]
olblak has quit [*.net *.split]
P1ro has quit [*.net *.split]
freeze has quit [*.net *.split]
pabs has quit [*.net *.split]
<apeiros> maybe. I'm sorry, I'll be afk for a bit.
volix_ has joined #ruby
__main__ has joined #ruby
herbmillerjr has joined #ruby
ignarps has joined #ruby
kaffepan1a has joined #ruby
nchambers has joined #ruby
Asher has joined #ruby
uxp_ has joined #ruby
face has joined #ruby
nighthwk1 has joined #ruby
weaksauce has joined #ruby
djbkd__ has joined #ruby
GinoManWorks has joined #ruby
toretore has joined #ruby
_br__ has joined #ruby
jesk has joined #ruby
jrafanie has joined #ruby
destructure has joined #ruby
mikeiniowa has joined #ruby
fatbob has joined #ruby
uranellus has joined #ruby
inoperable has joined #ruby
theRoUS has joined #ruby
P1ro has joined #ruby
olblak has joined #ruby
freeze has joined #ruby
pabs has joined #ruby
fumk has joined #ruby
aibot has joined #ruby
Guest46272 has joined #ruby
papercod1 has joined #ruby
AnoHito has joined #ruby
GinoManWorks has quit [Max SendQ exceeded]
GinoManWorks has joined #ruby
raul782 has joined #ruby
ghostlight has quit [Ping timeout: 245 seconds]
StoBrendo has quit [Ping timeout: 260 seconds]
x77686d has joined #ruby
<bonhoeffer> apeiros: thank you very much -- i think i got it
<bonhoeffer> and learned a lot
lenwood has quit [Ping timeout: 260 seconds]
QualityAddict has quit [Ping timeout: 245 seconds]
DoubleMalt has joined #ruby
ghostlight has joined #ruby
futilegames has joined #ruby
fmcgeough has joined #ruby
sdothum has joined #ruby
madgen has joined #ruby
muelleme has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
nowz has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
fmcgeough has joined #ruby
lenwood has joined #ruby
sdothum has joined #ruby
raul782 has quit [Remote host closed the connection]
d0nn1e has quit [Ping timeout: 268 seconds]
Definity2 has quit [Ping timeout: 256 seconds]
d0nn1e has joined #ruby
ace_33 has joined #ruby
muelleme has quit [Ping timeout: 264 seconds]
JeanCarloMachado has quit [Ping timeout: 248 seconds]
nowz has quit [Quit: Leaving]
DoubleMalt has quit [Ping timeout: 250 seconds]
beanHolez has joined #ruby
bturker has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
nikivi has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
futilegames has quit [Quit: futilegames]
lxsameer has quit [Quit: WeeChat 1.6]
shinnya has joined #ruby
grh has quit [Ping timeout: 252 seconds]
conta has quit [Read error: Connection reset by peer]
madgen has quit [Quit: Lost terminal]
c355e3b has joined #ruby
chwbacca has joined #ruby
nikivi has quit [Quit: irc]
symm-- has quit [Ping timeout: 256 seconds]
XV8 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
symm- has joined #ruby
GodFather has quit [Remote host closed the connection]
naprimer_2 has joined #ruby
GodFather has joined #ruby
byte512 has joined #ruby
<bonhoeffer> how do i reference &block inside a method
<bonhoeffer> to see what i'm sending yield
last_staff has joined #ruby
nankyokusei has joined #ruby
naprimer_3 has quit [Ping timeout: 246 seconds]
jooni has joined #ruby
mikecmpbll has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
hightower2 has quit [Ping timeout: 252 seconds]
hightower2 has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
<Papierkorb> >> def foo(&block) block.call(1,2,3) end; foo{|x,y,z| p x,y,z}
<Papierkorb> >> def foo(&block) block.call(1,2,3) end; foo{|x,y,z| p x,y,z}
<ruby[bot]> Papierkorb: # => 1 ...check link for more (https://eval.in/694623)
<Papierkorb> bonhoeffer: it ends up as argument, the & is just a marker in the prototype of the function. You can mix yield and calling that block, but I would advise against it
<bonhoeffer> ah, thanks
fmcgeough has quit [Quit: fmcgeough]
agent_white has quit [Quit: nightmylovlies]
beilabs_ has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
raul782 has joined #ruby
beanHolez has quit [Remote host closed the connection]
beanHolez has joined #ruby
pandaant has quit [Remote host closed the connection]
beanHolez has quit [Remote host closed the connection]
beanHolez has joined #ruby
beanHolez has quit [Remote host closed the connection]
beanHolez has joined #ruby
beanHolez has quit [Remote host closed the connection]
ta__ has quit [Remote host closed the connection]
beanHolez has joined #ruby
beanHolez has quit [Remote host closed the connection]
beanHolez has joined #ruby
raul782 has quit [Ping timeout: 268 seconds]
beanHolez has quit [Remote host closed the connection]
millerti has joined #ruby
eizua has quit [Remote host closed the connection]
futilegames has joined #ruby
codfection has joined #ruby
frozengeek has joined #ruby
<bonhoeffer> any thoughts on what i'm doing wrong: https://gist.github.com/tbbooher/005da15fe5137dfe1c4c8445cc1bdd16
<bonhoeffer> stuck with `auth_tag=': unable to set GCM tag (OpenSSL::Cipher::CipherError)
<bonhoeffer> got it -- sorry cipher.auth_data
lenwood has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
Hyuk has joined #ruby
futilegames has left #ruby [#ruby]
miqlas-H has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
f4 has joined #ruby
psychicist__ has joined #ruby
h1fuelcell has joined #ruby
threh has joined #ruby
johnmilton has joined #ruby
futilegames has joined #ruby
h1fuelcell has quit [Ping timeout: 240 seconds]
psychicist__ has quit [Ping timeout: 258 seconds]
Cra2yZer0 has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
ace_33 has quit [Remote host closed the connection]
hutch34 has joined #ruby
emilkarl has joined #ruby
h1fuelcell has joined #ruby
frozengeek has quit [Quit: frozengeek]
h1fuelce_ has joined #ruby
JeanCarloMachado has joined #ruby
johnmilton has quit [Remote host closed the connection]
h1fuelcell has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
frozengeek has joined #ruby
beilabs has joined #ruby
emilkarl has quit [Quit: emilkarl]
beilabs has quit [Read error: Connection reset by peer]
hutch34 has quit [Ping timeout: 256 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Quit: Easy as 3.14159265358979323846...]
futilegames has quit [Quit: futilegames]
lenwood has joined #ruby
jcao219 has joined #ruby
hutch34 has joined #ruby
beilabs has joined #ruby
KnownSyntax has quit [Ping timeout: 250 seconds]
KnownSyntax has joined #ruby
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
jtdoncas_ has joined #ruby
lenwood has quit [Ping timeout: 264 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
jtdoncas_ has quit [Ping timeout: 245 seconds]
JeanCarloMachado has quit [Ping timeout: 265 seconds]
lenwood has joined #ruby
bturker has joined #ruby
futilegames has joined #ruby
blackwind_123 has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
SteenJobs has joined #ruby
Guest20907 has quit [Read error: Connection reset by peer]
h1fuelce_ has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
bonhoeffer has quit [Ping timeout: 260 seconds]
Bish has quit [Ping timeout: 258 seconds]
h1fuelcell has quit [Ping timeout: 246 seconds]
Mia has quit [Ping timeout: 248 seconds]
codfection has quit [Ping timeout: 260 seconds]
threh has quit [Ping timeout: 250 seconds]
zapata has quit [Quit: WeeChat 1.6]
zapata has joined #ruby
lenwood has quit [Ping timeout: 246 seconds]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
frozengeek has quit [Quit: frozengeek]
antoniobeyah has quit [Quit: antoniobeyah]
nadir has quit []
gnufied has quit [Quit: Leaving]
antoniobeyah has joined #ruby
dopamean1 has joined #ruby
nankyokusei has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
chwbacca has quit [Ping timeout: 268 seconds]
nankyokusei has quit [Ping timeout: 258 seconds]
SteenJobs has quit [Quit: SteenJobs]
Fernando-Basso has quit [Quit: WeeChat 1.6]
threh has joined #ruby
futilegames has quit [Quit: futilegames]
Ishido has quit [Remote host closed the connection]
adam_ has joined #ruby
volix_ is now known as volix
volix has quit [Changing host]
volix has joined #ruby
JeanCarloMachado has joined #ruby
aryaching has joined #ruby
Ishido has joined #ruby
function has joined #ruby
emilkarl has joined #ruby
emilkarl has quit [Client Quit]
zeroDi has quit [Quit: WeeChat 1.6]
frozengeek has joined #ruby
Salih has joined #ruby
Salih has quit [Changing host]
Salih has joined #ruby
jtdoncas_ has joined #ruby
x77686d has quit [Quit: x77686d]
djbkd has joined #ruby
<clarkk> on linux, my non-admin user has a .rvm file in its home directory. When I log into the terminal as that user and cd in and out of that home directory, it doesn't give any messages. However, when I do the same when logged in as root, it reports "you can switch to '.ruby-version' using 'rvm rvmrc to ruby-version'" message. Why would this happen for one but not the other user?
<Zarthus> the easiest explanation could be 'different versions of rvm installed'
Definity has joined #ruby
drale2k has quit [Quit: ZNC - http://znc.in]
drale2k has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
xlegoman has joined #ruby
brent__ has joined #ruby
<clarkk> Zarthus: if I run rvm --version for each terminal session, I get the same rvm version (1.27)
hutch34 has joined #ruby
h1fuelcell has joined #ruby
<clarkk> Zarthus: yes, and also one about trusting .rvm
<Zarthus> that's in the warning itself
<Zarthus> rvm_warn "You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers,
<Zarthus> see L142
<clarkk> Zarthus: yes
<clarkk> one moment
hogetaro has joined #ruby
<Zarthus> it's from __rvm_load_project_config, and it honestly sounds like it's a zsh/bash plugin or something
GodFather has quit [Ping timeout: 250 seconds]
h1fuelcell has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
drale2k has quit [Ping timeout: 268 seconds]
muelleme has joined #ruby
drale2k has joined #ruby
codfection has joined #ruby
gheegh_ has quit [Quit: Textual IRC Client: www.textualapp.com]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
x77686d has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
MrBusiness2 has quit [Ping timeout: 260 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
agarciava has joined #ruby
brendan- has joined #ruby
<agarciava> Is there a way to run ruby tests in a single file, eg: array (test) without external dependencies? thank you
rippa has joined #ruby
brendan- has quit [Read error: Connection reset by peer]
b0nn has joined #ruby
Guest62340 has joined #ruby
muelleme has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
<clarkk> Zarthus: does this indicate something wrong with my config? What can I do to troubleshoot it?
function has quit [Quit: found 1 in /dev/zero]
<Zarthus> clarkk: No idea, I tried looking through the source but rvm is gigantic and bash sucks to read.
<Zarthus> for what it's worth, #rvm exists, but it's a small channel
<clarkk> yeah, I tried there but there's no activity
Anonymoose2 has joined #ruby
JeanCarloMachado has joined #ruby
reverberations has quit [Ping timeout: 265 seconds]
<clarkk> are there any variables that get set that would tell me anything Zarthus?
bturker has joined #ruby
nankyokusei has quit [Ping timeout: 268 seconds]
bturker has quit [Ping timeout: 256 seconds]
<agarciava> any help?
djbkd has quit [Remote host closed the connection]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
djbkd has joined #ruby
beilabs_ has joined #ruby
ascarter has joined #ruby
agarciava has quit [Quit: Page closed]
beilabs has quit [Ping timeout: 258 seconds]
JeanCarloMachado has quit [Ping timeout: 258 seconds]
nighthwk1 has quit []
djbkd has quit [Ping timeout: 260 seconds]
function has joined #ruby
ramfjord has joined #ruby
Channel6 has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest62340 has quit [Ping timeout: 260 seconds]
ascarter has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
rodfersou has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
function has quit [Quit: /dev/null is full]
cibs has joined #ruby
clarkk has quit [Ping timeout: 246 seconds]
function has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beilabs_ has quit [Remote host closed the connection]
beilabs has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
function is now known as trout
beilabs has quit [Ping timeout: 250 seconds]
reverberations has joined #ruby
jcao219 has quit [Ping timeout: 252 seconds]
h1fuelcell has joined #ruby
Anonymoose2 has quit [Ping timeout: 258 seconds]
LoneHerm_ has joined #ruby
trout has quit [Quit: found 1 in /dev/zero]
sepp2k has joined #ruby
h1fuelcell has quit [Ping timeout: 260 seconds]
govg has joined #ruby
Anonymoose2 has joined #ruby
s2013 has joined #ruby
s2013 has quit [Client Quit]
tdy has joined #ruby
reverberations has quit [Ping timeout: 258 seconds]
reverberations has joined #ruby
tau has joined #ruby
Anonymoose2 has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
QualityAddict has joined #ruby
byte512 has quit [Ping timeout: 250 seconds]
heftig has quit [Read error: Connection reset by peer]
heftig has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
<Kero> wow. none of the examples I found on "How to run webrick with an https certificate from rack" worked properly. They all run webrick, effectively. Got something better now. Probably worthy of a blogpost...
QualityAddict has quit [Quit: Leaving]
clarkk has joined #ruby
nankyokusei has joined #ruby
<tau> hi, what do you guys use for auto completion in ruby? it seems rsense is not that good.
<clarkk> when you "trust" an .rvmrc file, where does rvm store that you have? http://pix.toile-libre.org/upload/original/1481390497.png
kith has joined #ruby
<b0g> tau: i wonder if it isn't so good because ruby is so open-ended and hard to parse
Derderderd has quit [Ping timeout: 258 seconds]
FreshDumbledore has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
<FreshDumbledore> hi. noob question: having a string like 'country_code=233, country_code2="VN", country_code3="VNM", country_name="Vietnam"', wanting the value of country_name (Vietnam) - best way to get it? :)
aphprentice has joined #ruby
hustada has joined #ruby
<FreshDumbledore> probably best to match a regex on it and re-use the match for a new string?
zeroDi has joined #ruby
<clarkk> when I answer that I trust an .rvmrc file, where is it stored? http://pix.toile-libre.org/upload/original/1481390497.png
QualityAddict has joined #ruby
heftig has quit [Read error: Connection reset by peer]
Anonymoose2 has joined #ruby
heftig has joined #ruby
Derderderd has joined #ruby
reverberations has quit [Ping timeout: 258 seconds]
<tau> b0g hmm i have thought of that too.
<tau> b0g probably that is due to ruby syntax being hard to parse, indeed.
jordila has joined #ruby
<elomatreb> Since it is always possible to (programmatically) add methods to objects in Ruby, it's probably impossible to get an accurate list of methods for an object statically
beanHolez has joined #ruby
<jordila> I installed single-user rvm ... How can i go from there to a multi-user rvm scenario ?
<jordila> alternatively to ^^... how can i make that 'sudo user-with-rvm rvm -v' brings a positive answer ?
chouhoulis has quit [Remote host closed the connection]
hustada has quit [Ping timeout: 260 seconds]
symm- has quit [Quit: Leaving...]
h1fuelcell has joined #ruby
_sfiguser has joined #ruby
h1fuelcell has quit [Ping timeout: 264 seconds]
Dimik has joined #ruby
govg has quit [Ping timeout: 250 seconds]
jcao219 has joined #ruby
x77686d has quit [Quit: x77686d]
kobain has joined #ruby
MrBusiness2 has joined #ruby
sonOfRa has quit [Quit: Bye!]
sonOfRa has joined #ruby
aknagi has joined #ruby
<FreshDumbledore> worked fine using a regexp btw. thx for no replies :P
FreshDumbledore has quit [Quit: Leaving]
dviola has joined #ruby
jcao219 has quit [Ping timeout: 268 seconds]
LoneHerm_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
SpiffTR has joined #ruby
conta has joined #ruby
beanHolez has quit [Ping timeout: 248 seconds]
djellemah_ has joined #ruby
nikivi has joined #ruby
bturker has joined #ruby
x77686d has joined #ruby
Salih has quit [Quit: Leaving]
AlexRussia has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
xrlk has quit [Quit: HEIL HITLER]
xrlk has joined #ruby
nankyokusei has joined #ruby
nofxxx has joined #ruby
futilegames has joined #ruby
s2013 has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
nikivi has quit [Quit: irc]
jeyraof has joined #ruby
nikivi has joined #ruby
DLSteve has joined #ruby
conta has quit [Ping timeout: 246 seconds]
jcao219 has joined #ruby
jeyraof has quit [Ping timeout: 265 seconds]
jeyraof has joined #ruby
nikivi has quit [Quit: irc]
jordila has left #ruby [#ruby]
x77686d has quit [Quit: x77686d]
h1fuelcell has joined #ruby
heftig has quit [Quit: heftig]
ncthom91 has joined #ruby
Anonymoose2 has quit [Read error: Connection reset by peer]
reverberations has joined #ruby
h1fuelcell has quit [Ping timeout: 268 seconds]
JeanCarloMachado has joined #ruby
hardest has quit [Changing host]
hardest has joined #ruby
troulouliou_div2 has joined #ruby
parus__ has joined #ruby
parus_ has joined #ruby
muelleme has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
heftig has joined #ruby
maattdd has joined #ruby
parus__ has left #ruby [#ruby]
parus_ has left #ruby [#ruby]
beanHolez has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
muelleme has quit [Ping timeout: 250 seconds]
djellemah_ has quit [Ping timeout: 268 seconds]
jtdoncas_ has quit [Ping timeout: 258 seconds]
beanHolez has quit [Ping timeout: 248 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHermit has joined #ruby
heftig has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 260 seconds]
heftig has joined #ruby
lenwood has joined #ruby
aryaching has joined #ruby
nankyokusei has joined #ruby
cdg has joined #ruby
maattdd has quit [Ping timeout: 256 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
darix has joined #ruby
aidalgol has joined #ruby
lenwood has quit [Ping timeout: 246 seconds]
muelleme has joined #ruby
futilegames has quit [Quit: futilegames]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
zeroDi has quit [Quit: WeeChat 1.6]
marxarelli|afk has quit [Ping timeout: 248 seconds]
ncthom91 has quit [Quit: Textual IRC Client: www.textualapp.com]
heftig has quit [Read error: Connection reset by peer]
heftig has joined #ruby
z64 has joined #ruby
tildes has joined #ruby
pabloh has joined #ruby
brendan- has joined #ruby
nettoweb has joined #ruby
Yzguy has joined #ruby
h1fuelcell has joined #ruby
clarkk has left #ruby [#ruby]
tildes has quit [Ping timeout: 256 seconds]
x77686d has joined #ruby
h1fuelcell has quit [Ping timeout: 258 seconds]
jtd has quit [Ping timeout: 250 seconds]
emerson has joined #ruby
Yzguy has quit [Quit: Zzz...]
jtd has joined #ruby
heftig has quit [Read error: Connection reset by peer]
JeanCarloMachado has quit [Ping timeout: 265 seconds]
heftig has joined #ruby
montanonic has joined #ruby
s2013 has joined #ruby
bturker has joined #ruby
exchgr has quit [Quit: ZNC - http://znc.in]
dionysus69 has quit [Ping timeout: 256 seconds]
bturker has quit [Ping timeout: 256 seconds]
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rakm has joined #ruby
OTORelic2 has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
cdg has quit [Remote host closed the connection]
Yzguy has joined #ruby
Yzguy has quit [Client Quit]
JeanCarloMachado has joined #ruby
codfection has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
sepp2k has quit [Quit: Leaving.]
rodfersou has quit [Remote host closed the connection]
Coldblackice has joined #ruby
h1fuelcell has quit [Ping timeout: 245 seconds]
exchgr has joined #ruby
nikivi has joined #ruby
matp has quit [Remote host closed the connection]
Redfoxmoon has joined #ruby
xrlk has quit [Ping timeout: 258 seconds]
matp has joined #ruby
hays has joined #ruby
<Redfoxmoon> in ./ext/* makefiles are generated with an one liner ruby script, but where does it get the original makefile from?
sepp2k has joined #ruby
Yzguy has joined #ruby
jtdoncas_ has joined #ruby
symm- has joined #ruby
<Redfoxmoon> can't seem to find it anywhere...
SpiffTR has quit [Quit: Leaving.]
<matthewd> "original makefile"?
<Redfoxmoon> well original makefile / extension makefile template
xrlk has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewd> mkmf is the library that makes the makefile, if that's what you mean?
<Redfoxmoon> o. I see lib/mkmf.rb makes them
<Redfoxmoon> yes :-)
SpiffTR has joined #ruby
baweaver is now known as baweaver_away
<Redfoxmoon> heh, this isn't gonna be easy... trying to port ruby to a new posix platform on windows, and the compiler errors out with '-f can't be used without -shared'
futilegames has joined #ruby
nettoweb has joined #ruby
ofkors has joined #ruby
Immune has joined #ruby
Immune has quit [Remote host closed the connection]
Immune has joined #ruby
Dimik has quit [Ping timeout: 265 seconds]
<matthewd> Redfoxmoon: You have the VM compiling, and are just now running into that with extensions? :/
<Redfoxmoon> yes
<Redfoxmoon> I could modify every single makefile but that gets really old, really quick
nikivi has quit [Quit: irc]
<matthewd> Interesting.. I thought mkmf mostly used the same flags the VM itself was compiled with
<matthewd> (notable mostly because that can cause its own issues)
<Redfoxmoon> the VM didn't need any changes
<Redfoxmoon> other then outdated config.sub...
SpiffTR has quit [Quit: Leaving.]
_sfiguser has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
Jackneill_ has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 246 seconds]
futilegames has quit [Quit: futilegames]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tau has quit [Remote host closed the connection]
s2013 has joined #ruby
tau has joined #ruby
<Redfoxmoon> nailed it with LDFLAGS="-shared" :-)
<Redfoxmoon> oh great, linking errors now
_sfiguser has joined #ruby
muelleme has quit [Ping timeout: 248 seconds]
frozengeek has quit [Quit: frozengeek]
frozengeek has joined #ruby
bruce_lee has quit [Read error: Connection reset by peer]
XV8 has joined #ruby
h1fuelcell has joined #ruby
h1fuelcell has quit [Ping timeout: 252 seconds]
SpiffTR has joined #ruby
SpiffTR has quit [Read error: Connection reset by peer]
SpiffTR1 has joined #ruby
Yzguy has quit [Quit: Zzz...]
|RicharD| has quit [Quit: Sto andando via]
lxsameer has quit [Quit: WeeChat 1.6]
whathappens has joined #ruby
SteenJobs has joined #ruby
SpiffTR1 has quit [Ping timeout: 258 seconds]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
nankyokusei has joined #ruby
ascarter has joined #ruby
OTORelic3 has joined #ruby