baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
mistermocha has quit [Ping timeout: 276 seconds]
Guest40 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest40 has joined #ruby
nankyokusei has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
Wizznt has joined #ruby
loincloth has quit [Ping timeout: 276 seconds]
Guest40 has quit [Client Quit]
Guest40 has joined #ruby
astrobunny has quit [Remote host closed the connection]
loincloth has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
allcentu1 has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
postmodern has quit [Quit: Leaving]
ap4y has quit [Read error: Connection reset by peer]
coolboy has joined #ruby
loincloth has quit [Ping timeout: 240 seconds]
eljimador has quit [Ping timeout: 244 seconds]
ap4y has joined #ruby
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Guest56791 has quit [Ping timeout: 248 seconds]
eljimador has joined #ruby
Wizznt has joined #ruby
nettoweb has joined #ruby
robfrawley has joined #ruby
robfrawley is now known as Guest34289
Guest40 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikeiniowa has quit [Remote host closed the connection]
mikeiniowa has joined #ruby
cdg has quit [Remote host closed the connection]
nullfxn has joined #ruby
Nahra has joined #ruby
chouhoulis has quit []
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
matled has quit [Ping timeout: 255 seconds]
ctcrnitv has joined #ruby
finisherr has quit [Quit: finisherr]
RedNifre_ has joined #ruby
chouhoulis has joined #ruby
Wizznt has joined #ruby
saneax is now known as saneax-_-|AFK
RedNifre has quit [Ping timeout: 265 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
_djbkd has quit [Quit: My people need me...]
tyang__ has joined #ruby
tectonic has joined #ruby
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tyang_ has quit [Ping timeout: 240 seconds]
replay has quit [Quit: Textual IRC Client: www.textualapp.com]
duncannz has quit [Remote host closed the connection]
SteenJobs has joined #ruby
tyang has joined #ruby
minimalism is now known as red
red is now known as Guest84934
Guest84934 has quit [Quit: Guest84934]
minimalism has joined #ruby
tyang__ has quit [Ping timeout: 240 seconds]
ctcrnitv has left #ruby ["Textual IRC Client: www.textualapp.com"]
Liothen has quit [Changing host]
Liothen has joined #ruby
Wizznt has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
jeffreylevesque has quit [Ping timeout: 264 seconds]
ule has quit [Ping timeout: 265 seconds]
allcentu1 has quit [Ping timeout: 255 seconds]
ule has joined #ruby
skweek has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nando293921 has quit [Ping timeout: 264 seconds]
CloCkWeRX has joined #ruby
petercooper has quit [Ping timeout: 265 seconds]
axisys has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
duderonomy has quit [Ping timeout: 272 seconds]
dminuoso has joined #ruby
SteenJobs has quit [Ping timeout: 250 seconds]
LoneHermit has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
LoneHermit has quit [Ping timeout: 240 seconds]
Bellthoven has joined #ruby
arnonhongklay has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
airstream66 has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
ule has quit [Ping timeout: 240 seconds]
Tempesta has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
yokel has quit [Ping timeout: 260 seconds]
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
solocshaw has joined #ruby
airstream66 has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 264 seconds]
ule has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
yokel has joined #ruby
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ur5us has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
ur5us has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Wizznt has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
dviola has quit [Quit: WeeChat 1.5]
ur5us_ has joined #ruby
redpants has joined #ruby
ramfjord_ has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 248 seconds]
ur5us has quit [Ping timeout: 264 seconds]
Vingador has joined #ruby
Bellthoven has quit []
Azure has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhon_ has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
haylon has joined #ruby
<haylon> Working with Savonrb, I keep getting errors for wsu:Create however, I'm not sure what I need to do to add that extra header.
pwnd_nsfw has joined #ruby
LuckyABA has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 255 seconds]
Hobogrammer has quit [Quit: WeeChat 0.4.2]
nettoweb has joined #ruby
mozzarella has quit [Ping timeout: 264 seconds]
matled has joined #ruby
petercooper has joined #ruby
PaulCapestany has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
JeanCarloMachado has quit [Ping timeout: 272 seconds]
solocshaw has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
<jphase> can I declare multiple variables in one line like foo = bar = 1 ? and is that syntactically awkward or frowned upon?
weemsledeux has joined #ruby
nettoweb has quit [Ping timeout: 264 seconds]
<tectonic> it's valid
<tectonic> a, b = 1, 2
arescorpio has joined #ruby
<tectonic> etc
<jphase> thank you, is there a name for that that I just never learned in school or?
<jphase> declaration chaining or?
* jphase guesses lol
<tectonic> multiple assignment maybe?
<jphase> ah, much obliged
<elomatreb> Destructuring is a closely related technique when using arrays
<tectonic> since everything is an expression, it's just the same as a = (b = 2)
<tectonic> true
<havenwood> jphase: parallel assignment
<jphase> oic
<tectonic> ah
<jphase> brilliant, thank you :)
theOneWho has quit [Ping timeout: 255 seconds]
theOneWho has joined #ruby
Bellthoven has joined #ruby
<havenwood> jphase: Some recommend against it: https://github.com/bbatsov/ruby-style-guide#parallel-assignment
<havenwood> jphase: It's nice for swapping variable assignment without using an intermediate variable.
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
<jphase> never even thought of doing that :o
nk121 has joined #ruby
skweek has quit [Ping timeout: 265 seconds]
pause_ has joined #ruby
<pause_> Hello everyone
<tectonic> hi
<havenwood> pause_: hi
<pause_> I'm looking for info on $@ !
ropeney has joined #ruby
<pause_> Seems it's supposed to contain the backtrace of the last exception
<havenwood> >> require 'English'; $ERROR_POSITION # same as: $@
<ruby[bot]> havenwood: # => nil (https://eval.in/645681)
<pause_> But is somehow nil in a rescue block !
AlexRussia has quit [Ping timeout: 264 seconds]
daffy_duck_2 has joined #ruby
mistermocha has joined #ruby
<pause_> havenwood: Is it possible to be nil ? Because it seems it is in my case =/
bmurt has joined #ruby
<pause_> In a rescue block, so some exception must have happened
<Nilium> It's not possible to be me because I'm me, but you're welcome to try.
<Nilium> Long as my skin stays attached to my body.
ur5us_ has quit [Remote host closed the connection]
ur5us has joined #ruby
Fernando-Basso has quit [Ping timeout: 272 seconds]
<havenwood> >> begin asdf; rescue; $@ end
<ruby[bot]> havenwood: # => ["/tmp/execpad-833e41aeabc0/source-833e41aeabc0:2:in `<main>'"] (https://eval.in/645693)
ya_ebu_sobak has quit [Ping timeout: 248 seconds]
optiz0r has quit [Ping timeout: 260 seconds]
<havenwood> pause_: It can be `nil` or an Array of Strings.
<pause_> havenwood: Do you know in which cases it can be nil ?
SteenJobs has joined #ruby
tdy has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
Vingador has quit [Remote host closed the connection]
<havenwood> pause_: When there hasn't been any exception thrown.
dminuoso has joined #ruby
Moosashi has joined #ruby
<pause_> havenwood: But i'm pretty sure some exception has been, since $@ is evaluated in a rescue block
Fernando-Basso has joined #ruby
arnonhon_ has quit [Ping timeout: 250 seconds]
<pause_> been thrown*
<pause_> or raised even :-)
<havenwood> pause_: What's the exception?
ur5us has quit [Ping timeout: 248 seconds]
<pause_> havenwood: SyntaxError
<pause_> Maybe that's why
Sammichmaker has joined #ruby
nankyokusei has joined #ruby
gnufied has quit [Quit: Leaving]
AlexRussia has joined #ruby
<havenwood> pause_: rescue SyntaxError
Moosashi has quit [Client Quit]
dminuoso has quit [Ping timeout: 264 seconds]
<havenwood> pause_: Only subclasses of StandardError are within the default. SytaxError is a ScriptError.
nankyokusei has quit [Ping timeout: 265 seconds]
<havenwood> >> SyntaxError < ScriptError
<ruby[bot]> havenwood: # => true (https://eval.in/645694)
safetypin has joined #ruby
<havenwood> >> SyntaxError < StandardError
<ruby[bot]> havenwood: # => nil (https://eval.in/645695)
loincloth has joined #ruby
arnonhongklay has joined #ruby
<pause_> havenwood: I know that, ::Exception is rescued, and the code inside the rescue block is executed
<pause_> Just $@ is nil
ap4y has quit [Ping timeout: 276 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
<havenwood> pause_: Is there a small example test case to duplicate the issue? Maybe if there's no backtrace for some reason?
ninja007 has quit [Quit: ninja007]
braincra- has joined #ruby
loincloth has quit [Ping timeout: 265 seconds]
Fernando-Basso has quit [Ping timeout: 244 seconds]
pwnd_nsfw has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has quit [Ping timeout: 276 seconds]
Fernando-Basso has joined #ruby
jcao219 has joined #ruby
<jcao219> Hi guys, I'm setting out to use Ruby for all my projects for a distributed computing class
<jcao219> First question, how does "loop do" work?
axisys has joined #ruby
<jazzonmym111nd> def loop; while true; yield; end; end.
AlexRussia has quit [Ping timeout: 248 seconds]
<jcao219> Thank you :D
<jcao219> Wow Ruby is marvelous
ur5us has joined #ruby
Exegor has joined #ruby
karmatr0n has joined #ruby
babblebre has joined #ruby
AndyBotwin has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
ur5us has quit [Ping timeout: 244 seconds]
redpants has quit [Ping timeout: 255 seconds]
SteenJobs has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhon_ has joined #ruby
SteenJobs has quit [Client Quit]
Mr_Pancake has quit [Ping timeout: 272 seconds]
SteenJobs has joined #ruby
AlexRussia has joined #ruby
Mr_Pancake has joined #ruby
hutch34 has joined #ruby
coolboy has quit [Ping timeout: 244 seconds]
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Guest29441 has quit [Changing host]
Guest29441 has joined #ruby
Guest29441 is now known as nuck
AndrewIsHere has quit [Remote host closed the connection]
Exegor has quit [Ping timeout: 265 seconds]
mozzarella has joined #ruby
akira616 has joined #ruby
cdg has joined #ruby
Wizznt has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
grill has quit [Ping timeout: 240 seconds]
Wizznt has quit [Client Quit]
grill has joined #ruby
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Wizznt has joined #ruby
tristanp has quit [Remote host closed the connection]
ur5us has joined #ruby
jshjsh has joined #ruby
safetypin has quit [Quit: ZZZzzz…]
JoshS has quit [Ping timeout: 265 seconds]
Bellthoven has quit []
tyang_ has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
AndrewIsHere has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
tyang has quit [Ping timeout: 240 seconds]
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cyphase has quit [Ping timeout: 272 seconds]
jazzonmym111nd has quit [Read error: Connection reset by peer]
jshjsh has quit [Quit: Leaving]
jazzonmym111nd has joined #ruby
arnonhon_ has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
ninja007 has joined #ruby
cyphase has joined #ruby
Hobogrammer has joined #ruby
arnonhon_ has joined #ruby
ichkv has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arashb has joined #ruby
NetSage has quit [Remote host closed the connection]
haylon has quit [Quit: Leaving]
nando293921 has joined #ruby
dminuoso has joined #ruby
Tempesta_ has joined #ruby
loincloth has joined #ruby
braincra- has quit [Quit: bye bye]
Moosashi has joined #ruby
Tempesta has quit [Ping timeout: 272 seconds]
dminuoso has quit [Ping timeout: 248 seconds]
Moosashi has quit [Client Quit]
ArielMT has quit [Ping timeout: 248 seconds]
mtkd has quit [Ping timeout: 244 seconds]
mtkd has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
loincloth has quit [Ping timeout: 265 seconds]
ArielMT has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
optiz0r has joined #ruby
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
arnonhon_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
ArielMT has quit [Ping timeout: 248 seconds]
harfangk has joined #ruby
arnonhongklay has joined #ruby
ArielMT has joined #ruby
ArielMT has quit [Client Quit]
jhooker has quit [Quit: Leaving]
braincrash has joined #ruby
braincrash is now known as braincras
blackgoat has joined #ruby
cdg has quit [Ping timeout: 244 seconds]
Guest34289 has quit [Remote host closed the connection]
ajsharma has joined #ruby
LuckyABA has joined #ruby
ajsharma has quit [Client Quit]
ajsharma has joined #ruby
hutch34 has quit [Ping timeout: 244 seconds]
jhooker has joined #ruby
sdothum has quit [Quit: ZNC 1.6.3 - http://znc.in]
hutch34 has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhon_ has joined #ruby
<Mrgoose> http://paste.ofcode.org/36paAdcTZwy2dU7G7KsZZta , is there a way to do this as a one liner in ruby?
tmtwd has joined #ruby
hutch34 has quit [Ping timeout: 265 seconds]
mim1k_ has joined #ruby
<pause_> havenwood: I'll try to reproduce the issue, i've simply fixed the syntax error for now :-)
mim1k has quit [Ping timeout: 240 seconds]
craigp has quit [Ping timeout: 250 seconds]
rsampaio_ has joined #ruby
AndrewIsHere has joined #ruby
jenrzzz has joined #ruby
arnonhon_ has quit [Ping timeout: 244 seconds]
astrobunny has joined #ruby
Moosashi has joined #ruby
arnonhongklay has joined #ruby
<Mrgoose> Hash[properties[:required].map {|name| [name, params[name] ]}]
<Mrgoose> this seems to work
<Mrgoose> dont understand why though
Moosashi has quit [Client Quit]
gix has quit [Ping timeout: 276 seconds]
tectonic has quit []
lifeai has joined #ruby
LoneHerm_ has joined #ruby
gix has joined #ruby
Moosashi has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
vqrs has quit [Ping timeout: 276 seconds]
AndrewIsHere has quit [Remote host closed the connection]
vqrs has joined #ruby
LoneHerm_ has joined #ruby
matp has quit [Quit: Textual IRC Client: www.textualapp.com]
AndrewIsHere has joined #ruby
tmtwd has quit [Ping timeout: 244 seconds]
dminuoso has joined #ruby
LoneHerm_ has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
karmatr0n has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 264 seconds]
akira616 has quit [Quit: Leaving]
sujith has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
arnonhongklay has quit [Ping timeout: 240 seconds]
ninja007 has quit [Quit: ninja007]
alfiemax has quit [Ping timeout: 265 seconds]
arnonhongklay has joined #ruby
ninja007 has joined #ruby
nedbat has quit [Ping timeout: 250 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 244 seconds]
jazzonmym111nd has quit [Quit: reboot]
Fernando-Basso has quit [Ping timeout: 265 seconds]
jazzonmym1nd has joined #ruby
Fire-Dragon-DoL has joined #ruby
nedbat has joined #ruby
Fernando-Basso has joined #ruby
tmtwd has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
finisherr has joined #ruby
finisherr has quit [Client Quit]
finisherr has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
finisherr has quit [Read error: Connection reset by peer]
eljimmy has quit [Quit: This computer has gone to sleep]
AntonStorm has joined #ruby
AntonStorm has quit [Client Quit]
sai_ has quit [Read error: Connection reset by peer]
sai__ has joined #ruby
Gadgetoid has quit [Ping timeout: 255 seconds]
jtzero1 has quit [Ping timeout: 265 seconds]
jshjsh has joined #ruby
jphase has quit [Read error: Connection reset by peer]
cj has quit [Ping timeout: 265 seconds]
jphase has joined #ruby
Cohedrin has joined #ruby
jshjsh is now known as JoshS
gizmore has joined #ruby
Gadgetoid has joined #ruby
arnonhongklay has quit [Ping timeout: 264 seconds]
arnonhongklay has joined #ruby
tristanp has joined #ruby
cj has joined #ruby
bocaneri has joined #ruby
blackwind_123 has joined #ruby
dminuoso has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
pwnd_nsfw` has joined #ruby
tmtwd has quit [Ping timeout: 264 seconds]
ichkv has quit [Remote host closed the connection]
the_drow has joined #ruby
FastJack has quit [Ping timeout: 244 seconds]
pwnd_nsfw has quit [Ping timeout: 248 seconds]
ARCADIVS has joined #ruby
pawnbox has joined #ruby
the_drow has quit [Client Quit]
vdl has quit [Ping timeout: 250 seconds]
alfiemax has joined #ruby
FastJack has joined #ruby
sai__ has quit [Read error: Connection reset by peer]
Vile` has quit [Ping timeout: 264 seconds]
sai_ has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
saneax-_-|AFK is now known as saneax
loincloth has joined #ruby
sai_ has joined #ruby
LoneHermit has quit [Remote host closed the connection]
LoneHermit has joined #ruby
loincloth has quit [Read error: Connection reset by peer]
vdl has joined #ruby
astrobunny has quit [Remote host closed the connection]
loincloth has joined #ruby
hakunin has quit [Ping timeout: 255 seconds]
karmatr0n has joined #ruby
miqlas-H has joined #ruby
astrobun_ has joined #ruby
BrianJ has quit [Ping timeout: 260 seconds]
icey has quit [Ping timeout: 260 seconds]
loincloth has quit [Ping timeout: 244 seconds]
craigp has joined #ruby
symm- has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhon_ has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
mistermocha has joined #ruby
destructure has quit [Changing host]
destructure has joined #ruby
icey has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
arescorpio has quit [Quit: Leaving.]
grh has joined #ruby
idiocrash has joined #ruby
LoneHermit has quit [Remote host closed the connection]
astrobun_ has quit [Remote host closed the connection]
sujith has quit [Ping timeout: 240 seconds]
sujith__ has joined #ruby
symm- has quit [Ping timeout: 255 seconds]
nofxx has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
symm- has joined #ruby
sai_ has quit [Remote host closed the connection]
raeoks has joined #ruby
zenguy_pc has quit [Ping timeout: 244 seconds]
zenguy_pc has joined #ruby
pawnbox has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
akira616 has joined #ruby
<akira616> does anyone have a good resource for learning algorithms in ruby?
pawnbox has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
lxsameer has joined #ruby
jcao219 has quit [Ping timeout: 244 seconds]
arnonhon_ has quit [Ping timeout: 264 seconds]
arnonhongklay has joined #ruby
ajsharma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arashb has quit [Ping timeout: 265 seconds]
tristanp has joined #ruby
symm- has quit [Quit: Leaving...]
amclain has quit [Quit: Leaving]
leea has joined #ruby
leea has quit [Client Quit]
leea has joined #ruby
grh has quit [Ping timeout: 260 seconds]
tristanp has quit [Ping timeout: 248 seconds]
BLuEGoD has joined #ruby
pwnd_nsfw has joined #ruby
ramfjord has joined #ruby
BLuEGoD is now known as Guest95205
astrobunny has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
nullfxn has quit [Ping timeout: 244 seconds]
rbr has quit [Ping timeout: 265 seconds]
jazzonmym1nd has quit [Ping timeout: 264 seconds]
rbr has joined #ruby
dminuoso has joined #ruby
sai_ has joined #ruby
_djbkd has joined #ruby
eljimmy has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
mistermocha has quit [Remote host closed the connection]
hakunin has joined #ruby
bronson has quit [Read error: Connection reset by peer]
sai_ has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
eljimmy has quit [Ping timeout: 244 seconds]
cyphase has joined #ruby
johnny56_ has quit [Ping timeout: 265 seconds]
ta_ has joined #ruby
karmatr0n has joined #ruby
sai_ has joined #ruby
_sfiguser has quit [Ping timeout: 248 seconds]
johnny56_ has joined #ruby
elifoster has quit [Quit: sleep]
sai_ has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 272 seconds]
nchambers is now known as god
devil_tux has quit [Quit: Lost terminal]
devil_tux has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 265 seconds]
anisha has joined #ruby
firstdayonthejob has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
_sfiguser has joined #ruby
LoneHerm_ has joined #ruby
dionysus69 has joined #ruby
_djbkd has quit [Quit: My people need me...]
nando293921 has quit [Ping timeout: 255 seconds]
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
miqlas-H has quit [Ping timeout: 250 seconds]
A124 has quit [Ping timeout: 276 seconds]
dminuoso has joined #ruby
arnonhongklay has quit [Ping timeout: 244 seconds]
miqlas-H has joined #ruby
stayfresh has joined #ruby
stayfresh has quit [Client Quit]
huggy has joined #ruby
leea has joined #ruby
vipaca has joined #ruby
djbkd_ has joined #ruby
blaxter has joined #ruby
chouhoulis has quit [Remote host closed the connection]
dhollinger has quit [Ping timeout: 244 seconds]
dhollinger has joined #ruby
A124 has joined #ruby
arnonhongklay has joined #ruby
gingray has joined #ruby
aganov has joined #ruby
vqrs has quit [Ping timeout: 265 seconds]
raeoks has quit [Ping timeout: 272 seconds]
jphase has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 265 seconds]
jphase has joined #ruby
cdown has joined #ruby
vuoto has joined #ruby
AndrewIsHere has joined #ruby
vqrs has joined #ruby
dhollinger has quit [Ping timeout: 265 seconds]
conta has joined #ruby
ninja007 has quit [Quit: ninja007]
miqlas-H has quit [Ping timeout: 244 seconds]
miqlas-H has joined #ruby
jphase has quit [Ping timeout: 250 seconds]
arnonhongklay has quit [Ping timeout: 244 seconds]
arnonhongklay has joined #ruby
grh has joined #ruby
last_staff has joined #ruby
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdown_ has joined #ruby
DoubleMalt has joined #ruby
firstdayonthejob has quit [Ping timeout: 265 seconds]
AndrewIsHere has quit [Ping timeout: 255 seconds]
cdown has quit [Ping timeout: 244 seconds]
cdown_ is now known as cdown
dminuoso has quit [Remote host closed the connection]
Burgestrand has joined #ruby
akira616 has quit [Quit: Leaving]
conta has quit [Ping timeout: 260 seconds]
Wizznt has joined #ruby
djbkd_ has quit [Remote host closed the connection]
conta has joined #ruby
LoneHerm_ has quit [Ping timeout: 265 seconds]
elenatanasoiu has joined #ruby
Pumukel has joined #ruby
sai_ has joined #ruby
loechel has joined #ruby
loechel has quit [Read error: Connection reset by peer]
loechel has joined #ruby
jaruga___ has joined #ruby
loechel has quit [Read error: Connection reset by peer]
elenatanasoiu has quit [Ping timeout: 250 seconds]
loechel has joined #ruby
Pumukel has quit [Ping timeout: 272 seconds]
loechel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
TomyWork has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
hightower2 has quit [Ping timeout: 248 seconds]
Pumukel has joined #ruby
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
slackbotgz has joined #ruby
Pumukel has joined #ruby
dminuoso has joined #ruby
phredus has quit [Remote host closed the connection]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
loincloth has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
dhollinger has joined #ruby
phredus has joined #ruby
Pumukel has joined #ruby
tomphp has joined #ruby
miqlas-H has quit [Ping timeout: 240 seconds]
loincloth has quit [Read error: Connection reset by peer]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
karmatr0n has joined #ruby
andikr has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhon_ has joined #ruby
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
polysics has joined #ruby
wethu has quit [Quit: This computer has gone to sleep]
karmatr0n has quit [Ping timeout: 244 seconds]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
biberu has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
submitnine has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
ramfjord has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
craigp has quit [Ping timeout: 250 seconds]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
claudiuinberlin has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Moosashi has quit [Quit: Moosashi]
dionysus69 has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
ta__ has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
mark_66 has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
ta_ has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
conta has quit [Quit: conta]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
Pumukel has joined #ruby
aryaching has quit [Quit: Bye]
Pumukel has quit [Read error: Connection reset by peer]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
bsrd has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
vqrs has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
dionysus69 has quit [Remote host closed the connection]
Pumukel has quit [Read error: Connection reset by peer]
sameerynho has joined #ruby
dionysus69 has joined #ruby
vqrs has joined #ruby
Pumukel has joined #ruby
antgel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
vuoto has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
gispka has joined #ruby
vuoto has quit [Remote host closed the connection]
Pumukel has joined #ruby
vuoto has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
vuoto has quit [Remote host closed the connection]
Pumukel has quit [Read error: Connection reset by peer]
vuoto has joined #ruby
sai_ has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
slackbotgz has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
Pumukel has quit [Read error: Connection reset by peer]
ta__ has quit [Quit: Leaving...]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
ta_ has joined #ruby
loechel has joined #ruby
pawnbox has quit [Read error: No route to host]
pawnbox has joined #ruby
loechel has quit [Read error: Connection reset by peer]
loechel has joined #ruby
loechel has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
loechel has joined #ruby
pawnbox has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 272 seconds]
the_drow has joined #ruby
SPark_ has joined #ruby
Macaveli has joined #ruby
SPark_ has quit [Quit: Page closed]
LoneHermit has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
tristanp has quit [Ping timeout: 265 seconds]
Pumukel has quit [Read error: Connection reset by peer]
leea has joined #ruby
Pumukel has joined #ruby
sandelius has joined #ruby
Pumukel has quit [Remote host closed the connection]
sai_ has joined #ruby
ziprar has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
Pumukel has quit [Remote host closed the connection]
jhooker has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
salut has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
Cohedrin has joined #ruby
Cohedrin has quit [Client Quit]
LoneHermit has quit [Ping timeout: 260 seconds]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Pumukel has quit [Read error: Connection reset by peer]
arnonhon_ has quit [Ping timeout: 255 seconds]
Pumukel has joined #ruby
elenatanasoiu has joined #ruby
GinoManWorks has quit [Read error: Connection reset by peer]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
leea has joined #ruby
loincloth has joined #ruby
conta has joined #ruby
craigp has joined #ruby
sonikspin has joined #ruby
loincloth has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
tr1g has joined #ruby
pandaant has joined #ruby
arnonhongklay has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
conta has quit [Client Quit]
loincloth has joined #ruby
elaptics has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
karmatr0n has joined #ruby
pandaant has quit [Ping timeout: 244 seconds]
theOneWho has quit []
pandaant has joined #ruby
arnonhon_ has joined #ruby
loincloth has quit [Ping timeout: 264 seconds]
arnonhongklay has quit [Read error: Connection reset by peer]
marr has joined #ruby
Guest95205 is now known as BLuEGoD
<tr1g> Yes hello! Im having a maddening issue wiht net-ssh that seems like it should be very easy to fix, but Im not super familiar iwth ruby. Error is '=~': invalid byte sequence in UTF-8 (ArgumentError) - I would think I could declare something like ISO 8859 but is there maybe an env variable that can take care of this?
tomphp has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
aufi has joined #ruby
conta has joined #ruby
pawnbox has quit [Remote host closed the connection]
tlaxkit has joined #ruby
wethu has joined #ruby
pawnbox has joined #ruby
f4cl3y has joined #ruby
<dminuoso> tr1g: Can you gist the offending code?
Dimik has quit [Ping timeout: 265 seconds]
<tr1g> meaning the tool i'm compiling? no
Madplatypus has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
<dminuoso> tr1g: You have Ruby code that throws an exception. We cannot help you without seeing the code.
<tr1g> its net-ssh
<tr1g> throwing the exception because of it's own ~
<tr1g> ll
RedNifre_ is now known as RedNifre
<dminuoso> tr1g: Do you want me to repeat my last statement?
<tr1g> thats the crazy part
<dminuoso> tr1g: net-ssh is a gem. Gems don't throw exceptions by just existing on your harddrive. They throw exceptions because you call code.
pawnbox has quit [Remote host closed the connection]
<dminuoso> tr1g: If you call code, it means you have Ruby code of your own.
<dminuoso> Or C code perhaps.
pawnbox has joined #ruby
<dminuoso> tr1g: So if you cannot share the code that uses net-ssh because you are under an NDA, then hire a consultant.
sameerynho has quit [Quit: WeeChat 1.5]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
ropeney has quit [Ping timeout: 255 seconds]
petercooper has quit [Ping timeout: 265 seconds]
matp has joined #ruby
RedNifre_ has joined #ruby
jsrn_ has joined #ruby
tomphp has joined #ruby
RedNifre has quit [Ping timeout: 244 seconds]
<tr1g> here you are
flying has joined #ruby
nullfxn has joined #ruby
<tr1g> also now on debian 4.3 / bundle 1.13.1 / ruby 2.3.1p112 / gem 2.5.1 / net-ssh 4.0.0.beta3
pawnbox has quit [Remote host closed the connection]
rsampaio_ has quit [Ping timeout: 272 seconds]
ferr has joined #ruby
<tr1g> its obviously the ssh keys getting wonked
<tr1g> not sure how to deal with that
vuoto has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
JeanCarloMachado has joined #ruby
nofxx has quit [Ping timeout: 265 seconds]
AndrewIsHere has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
arnonhongklay has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
arnonhon_ has quit [Ping timeout: 260 seconds]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
AndrewIsHere has quit [Ping timeout: 255 seconds]
Couch has joined #ruby
<dminuoso> tr1g: Im guessing that your ssh config file ( ~/ssh/config ) has invalid US-ASCII characters
<tr1g> No, but the keys likely do.
vuoto has quit [Remote host closed the connection]
<dminuoso> tr1g: That is also a possibility.
vuoto has joined #ruby
<tr1g> alrighty
<dminuoso> tr1g: Give me a moment.
<tr1g> so how do we handle rouwdy letters in this code?
<tr1g> rowdy*
nadir has quit [Quit: Connection closed for inactivity]
<dminuoso> You mean these smelly piyo characters?
vuoto has quit [Remote host closed the connection]
<tr1g> i tried forcing ISO188blah i forget offhand
vuoto has joined #ruby
<tr1g> heh
<dminuoso> tr1g: Well, the solution is transliteration obviously. I regularly have comments in my code such as: Watashi no hobākurafuto wa unagi de ippai desu.
Ipe_ has joined #ruby
Snowy has joined #ruby
<dminuoso> tr1g: Im thinking its your ssh config actually, I dug into the version of net-ssh that you are using.
<dminuoso> tr1g: %w(~/.ssh/config /etc/ssh_config /etc/ssh/ssh_config) these three files get loaded by default.
<tr1g> its not the config
<dminuoso> tr1g: Did you check all three I just mentioned?
<tr1g> yes
LoneHermit has joined #ruby
<dminuoso> tr1g: The stack trace strongly suggests its your config files.
Jamo has quit [Ping timeout: 240 seconds]
<tr1g> its starting the configuration for USERKEY
<tr1g> (bottom up)
mikecmpbll has joined #ruby
<dminuoso> tr1g: Mmm?
<tr1g> it really doesnt matter though, the data needs to be passed flawlessly instead of getting caught up on a charset issue
<manveru> tr1g: can you run `file ~/.ssh/config`?
<tr1g> im assuming theres no way to do this raw
Snowy has quit [Quit: ragequit]
<manveru> not exactly
<dminuoso> tr1g: Is there a reason you are running an unsupported version of Ruby? Or is this a Japenese thing?
<tr1g> Why am I doing things on files that do not even exist?
<dminuoso> Heh..
Snowy has joined #ruby
<manveru> :)
<tr1g> i already said i've migrated to a newer system
<tr1g> and tried there as well.
<manveru> ok, then your locale is wrong
astrobunny has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 260 seconds]
arnonhon_ has joined #ruby
Ishido has joined #ruby
<tr1g> LANG?
<manveru> if the locale is C, ruby expects external files to be in US-ASCII
<dminuoso> tr1g: Can you provide an correct stack trace for the issue with ruby 2.3?
<tr1g> set to en_US.UTF-8
<dminuoso> tr1g: (Because the exception I see there is different from the one you described)
<manveru> tr1g: LC_ALL
<tr1g> not sure if net-ssh is pulling from that env tho
<tr1g> ah ok thanks manveru lemme check
<manveru> LC_ALL=ja_JP.UTF-8 should work too
arnonhongklay has quit [Read error: Connection reset by peer]
<manveru> as long as it's utf8 :)
<tr1g> guys lol
<tr1g> they are ssh keys.
<tr1g> not language based
<tr1g> :)
cdown has quit [Ping timeout: 250 seconds]
<manveru> sorry, but this error is not from reading ssh keys, no way :P
<dminuoso> 10:14 < tr1g> Yes hello! Im having a maddening issue wiht net-ssh that seems like it should be very easy to fix, but Im not super familiar iwth ruby. Error is '=~': invalid byte sequence in UTF-8 (ArgumentError) [...]
<dminuoso> /Users/vkgtaro/.rvm/gems/ruby-1.9.3-p374/gems/net-ssh-2.6.5/lib/net/ssh/config.rb:68:in `block in load': invalid byte sequence in US-ASCII (ArgumentError)
<dminuoso> I think we are not getting the full picture here.
dhollinger has quit [Ping timeout: 250 seconds]
<tr1g> yeah, i will try to get the new box output up
dhollinger has joined #ruby
<tr1g> interesting, cannot change the localale
<dminuoso> manveru: We've been there already.
<dminuoso> tr1g: Afaik Ruby Encoding.default_external is controlled through LANG
<manveru> before the spam? didn't read that much
<dminuoso> tr1g: (And that is the setting used by IO)
<tr1g> hmmm
<manveru> LC_CTYPE=C ruby -e 'p Encoding.default_external' # => #<Encoding:US-ASCII>
<dminuoso> tr1g: Though if you get invalid byte sequences in UTF-8 the issue is different.
<manveru> LC_CTYPE=ja_JP.UTF-8 ruby -e 'p Encoding.default_external' # => #<Encoding:UTF-8>
<dminuoso> manveru: I stand corrected.
conta has quit [Quit: conta]
<manveru> neither will help if the file is in shift-jis iso-2022, or euc-j
<manveru> *euc-jp
<dminuoso> manveru: well his initial error was showing invalid utf 8 sequences
<tr1g> check via file ?
conta has joined #ruby
<dminuoso> which is self explanatory
<tr1g> yeah its utf problems for the moment
<dminuoso> tr1g: Id like to see the stack trace for that.
<manveru> ok
<manveru> otherwise i can only recommend using a supported version of ruby and a net-ssh version from this year
<tr1g> similar but not the same problems all over
kedare has joined #ruby
* dminuoso is waiting on a stack trace
pwnd_nsfw has quit [Read error: Connection reset by peer]
<tr1g> it'll be a little bit
<dminuoso> kk :)
<dminuoso> Ill check out the new vending machine
<dminuoso> supposedly there is cookies in there :o
pwnd_nsfw has joined #ruby
<manveru> oO
<tr1g> 08:35 < tr1g> also now on debian 4.3 / bundle 1.13.1 / ruby 2.3.1p112 / gem 2.5.1 / net-ssh 4.0.0.beta3n
<tr1g> btw
<tr1g> that is the current box
<tr1g> im working with
<manveru> ok
matp has quit [Quit: ZZzzzZz...]
<manveru> i only looked at the blog post ^^;
Pumukel has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
the_drow has quit [Quit: Leaving]
miqlas-H has joined #ruby
serard has joined #ruby
<serard> Hello
<serard> How can I load a .rb in current execution scope (like include in php) ?
<serard> (and get variables set in the included .rb file be defined in current scope -the one that includes the .rb file) ?
JeanCarl1Machado has joined #ruby
<manveru> eval(File.read('some.rb'))
<manveru> not that i recommend doing so
<serard> I guess so :)
<manveru> but it's natural you'd want to do what's familiar to you :)
<serard> not recommended way, ok, I guess I have to make my file a kind of module
<dminuoso> serard: That is the common way, yes.
karmatr0n has joined #ruby
pawnbox has joined #ruby
JeanCarloMachado has quit [Ping timeout: 248 seconds]
the_drow has joined #ruby
karmatr0n has quit [Ping timeout: 260 seconds]
<serard> so I created my file module, starting with "Module MyModule" for example. In my main (Vagrantfile) I "require File.join(..., "mymodule")"
<serard> now how do I call my def method within my module ?
<serard> I tried config_data = MyModule.my_method(vagrantfile_dir) but it says MyModule constant not defined
<ljarvis> serard: what did you try?
<ljarvis> hmm, then it can't be loaded
<manveru> serard: your file is in the same directory?
olspookishmagus has quit [Ping timeout: 265 seconds]
olspookishmagus has joined #ruby
<manveru> let's say you called it mymodule.rb, it's in the same directory as your Vagrantfile, you'd put `require_relative 'mymodule'` on the first line in your Vagrantfile
<ruby[bot]> serard: as I told you already, please use https://gist.github.com
blackmesa has joined #ruby
<serard> oops sorry for using pastebin :o
<manveru> meh, it doesn't like irccloud paste either :P
<manveru> silly bot
<serard> the error is "Message: NameError: uninitialized constant ConfigLoader"
<serard> but I bet it is talking about the required file (so it is requiring the expected file, but it doesnt like it)
ichkv has joined #ruby
<manveru> try this instead: require_relative '.vagrant_code/load_config_and_custom'
<manveru> also, the load_config_and_custom.rb is wrong, so you should get a syntax error instead :)
<manveru> it's `module ConfigLoader` instead of `Module ConfigLoader`
mim1k_ is now known as mim1k|work
<serard> hmm
<ichkv> sorrry, tell about profit using vagrant vs KVM/qemu?
<ichkv> i`m using kvm and so good
mim1k|work is now known as mim1k
<ichkv> only interesting
mim1k is now known as mim1k|work
<manveru> vagrant can also use qemu
<serard> manveru, ljarvis dminuoso thank you all
<ichkv> maybe "magic" feauters?
<manveru> it's mostly a DSL to provision a new VM
matp has joined #ruby
<serard> vagrant is an abstraction layer on top of any virtual machine provider
<manveru> if you have a choice, just use nixops :)
<serard> you can create your own machine provider
<manveru> or docker even
<ichkv> its analogiues lxc? right?
<serard> nop
<serard> it's on top of
<serard> on top of (virtualbox, vsphere, docker, lxc, name-it)
<serard> it can drive them all
<ichkv> ohhh, i`m listen about docker. me thing that docker its lazy and many cpies only at permamnent run
<serard> unless you have a driver for it (and you can code your own driver for your own tech)
<ichkv> *copies
hightower2 has joined #ruby
<serard> ichkv, I use docker a lot for dev envs + CI envs
<ichkv> okay
<ichkv> me used kvm + guestes image linux and dev :^D so aim listen you that tell about me. sorry my english
claudiuinberlin has quit [Remote host closed the connection]
<ichkv> guys, me find once problem wuth deploy nginx and unicorn. its normally?
<ichkv> unicorn normally run and nginx run. over upstream and proxypass. no working deploy. but working deplye unicorn and apache
<ichkv> 2.4
<ichkv> *apache 2.4
<manveru> what does "not working" mean?
<manveru> what error do you get, if any
<manveru> i used nginx and unicorn|puma without issues
<ichkv> run unicorn , good.... run nginx its working... and where deploy... onle *80 port nothing...
FINbit has joined #ruby
<FINbit> hi
f4cl3y has quit [Ping timeout: 272 seconds]
<FINbit> i keep getting ths error when trying to disable autolibs with rvm
<FINbit> unrecognized command line argument: 'autolibs' ( see: 'rvm usage' )
<ichkv> over unix socket and listen 127.0.0.1.... no working
<FINbit> but its documented
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
<manveru> ichkv: what's your upstream?
Ipe_ has quit [Quit: Konversation terminated!]
<manveru> ichkv: can you show the nginx config?
<FINbit> rvm 1.15.8 (1.15.8)
<FINbit> this is the version im using
<ichkv> aim used debian 8.05
<ichkv> *8.5 jessie
pawnbox has quit [Remote host closed the connection]
<manveru> ichkv: can you show _your_ configuration? not the one you copied from
<ichkv> 1:1 config nginx and unicorn.rb
<manveru> it seems like it's using sockets for communication with unicorn, so you need to make sure you have the right permissions
<ichkv> that instruction from configuries nginx and unicorn.
<ichkv> hmmm
pawnbox has joined #ruby
<manveru> do you have any errors in /var/log/nginx* ?
<ichkv> funny, its moment and stupid me. NOTHING!)
<manveru> FINbit: check #rvm maybe?
<ichkv> no erroe like 11: about permission socket
<ichkv> me change location socket to /tmp/unicorn.sock
<ichkv> and nothing
<manveru> well, i'd recommend not using a unix socket for starting out
<ichkv> everyone, me cursive problem. but me using oldies and goodies apache) problem solved, me only show its
<manveru> but without error, it's hard to say what is going on
<ichkv> no error in logs unicorn and apache
<manveru> and nginx?
<ichkv> also root to run me not that. its no right way
<manveru> true that, they want to run unicorn with sudo... yuck
<ichkv> standart versions in repositaries debian stable , e.q. 8.5 jessie
<ichkv> core... me to russian and hard way junior that studies on RoR in this
<manveru> just use apache then?
claudiuinberlin has joined #ruby
<ichkv> more communityies python/Django and PHP
<manveru> or don't use unix sockets
<ichkv> apache/proxypass + localhost
<manveru> if you use sockets, you need to worry about permissions, and run unicorn as root, which is bad
<ichkv> socket easy and perfomance
<manveru> did you benchmark them? :)
<manveru> also, it's not working, so it's not easy
<ichkv> mind, me not working deploy in and 127.0.0.1 + nginx
<ichkv> socket architect easy and its so preconfig perfomance
poikon has quit [Ping timeout: 248 seconds]
<manveru> anw, gotta get back to work, if you cannot provide even a single error message then i can't help you
<ichkv> thanks. and its possible me help you :)
bruce_lee has joined #ruby
zacstewart has joined #ruby
f4cl3y has joined #ruby
poikon has joined #ruby
arnonhon_ has quit [Ping timeout: 272 seconds]
claudiuinberlin has quit [Remote host closed the connection]
Wolland has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
CloCkWeRX has quit [Ping timeout: 265 seconds]
JeanCarl1Machado has quit [Ping timeout: 250 seconds]
JeanCarloMachado has joined #ruby
M-shine has quit [Remote host closed the connection]
M-manveru has quit [Remote host closed the connection]
M-mistake has quit [Remote host closed the connection]
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 244 seconds]
JeanCarl1Machado has joined #ruby
compro has joined #ruby
Silthias has joined #ruby
JeanCarloMachado has quit [Ping timeout: 276 seconds]
petercooper has joined #ruby
Silthias1 has quit [Ping timeout: 248 seconds]
CloCkWeRX has joined #ruby
<tr1g> wooo
<tr1g> this is like
<tr1g> i dunno how you guys do this all day every day
<tr1g> mad respect :)
<ichkv> sorry, what is it "dunno"?
nankyokusei has joined #ruby
<elomatreb> ichkv: "dunno" is how some people pronounce "don't know" ;)
<ichkv> ohh, me think too.
<ichkv> elomatreb: thanks
loincloth has joined #ruby
claudiuinberlin has joined #ruby
M-shine has joined #ruby
workmad3 has joined #ruby
CloCkWeRX has quit [Ping timeout: 244 seconds]
toretore has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
nankyokusei has quit [Ping timeout: 244 seconds]
loincloth has quit [Ping timeout: 240 seconds]
compro has left #ruby ["Leaving"]
claudiuinberlin has quit [Ping timeout: 240 seconds]
karmatr0n has joined #ruby
claudiuinberlin has joined #ruby
leea has joined #ruby
<tr1g> man
<tr1g> so if you wondered, there was more data getting piped from another stager that was causing issues
<tr1g> fun!
karmatr0n has quit [Ping timeout: 264 seconds]
CloCkWeRX has joined #ruby
stamina has joined #ruby
lifeai has quit [Quit: WeeChat 1.5]
wisn has joined #ruby
kies has quit [Ping timeout: 265 seconds]
blackgoat has quit [Ping timeout: 244 seconds]
f4cl3y has quit [Ping timeout: 272 seconds]
CloCkWeRX has quit [Ping timeout: 265 seconds]
shortCircuit__ has joined #ruby
<shortCircuit__> hi
blackmesa has quit [Ping timeout: 244 seconds]
<shortCircuit__> I have an array of dates from database like ["2016-09-21", "2016-09-20", "2016-09-18"] .. now can I generate the dates between the non-consecutive dates like the last two there will be a 2016-09-19
<shortCircuit__> I can do it in a verbose way
<shortCircuit__> with reduce probably
Monpt has joined #ruby
tlaxkit has quit [Read error: Connection reset by peer]
kies has joined #ruby
aryaching has joined #ruby
tlaxkit has joined #ruby
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
arup_r has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
Oclair_ has quit [Quit: Bye Bye]
f4cl3y has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
claudiuinberlin has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
koooge has quit [Quit: Leaving...]
jphase has joined #ruby
GodFather has joined #ruby
chouhoulis has joined #ruby
ur5us has joined #ruby
AndrewIsHere has joined #ruby
jphase has quit [Ping timeout: 272 seconds]
arnonhongklay has joined #ruby
chouhoulis has quit [Ping timeout: 265 seconds]
chwbacca has joined #ruby
AndrewIsHere has quit [Ping timeout: 255 seconds]
Monpt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
arnonhongklay has quit [Ping timeout: 264 seconds]
Immune has quit [Ping timeout: 260 seconds]
tlaxkit has quit [Quit: tlaxkit]
<shortCircuit__> ok had to reverse
LoneHermit has joined #ruby
genpaku has joined #ruby
<serard> How can I get the stdout when running a process ? FOr now I was using ``, but I want to prefix lines of output
ixti has quit [Quit: WeeChat 1.5]
aries_liuxueyang has joined #ruby
LoneHermit has quit [Ping timeout: 260 seconds]
arup_r has left #ruby [#ruby]
tyang_ has quit [Ping timeout: 264 seconds]
arnonhongklay has joined #ruby
<canton7> serard, you mean, get it line by line?
alfiemax has quit [Ping timeout: 248 seconds]
<canton7> if so https://ruby-doc.org/core-2.3.0/IO.html#method-c-popen, and read the io object given to the block line-by-line
sujith__ has quit [Ping timeout: 272 seconds]
<serard> canton7, like so, yes. Was looking popen3 doc
<canton7> popen3 will do it as well - popen doesn't separate stdout and stderr, but popen3 does
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<serard> how can I test if I can "require 'popen3'" before actually doing it ?
<canton7> why do you want to do that?
<serard> well, I do "require 'popen3'" and I get an error :)
<serard> it is core lib I guess
huggy has quit [Ping timeout: 272 seconds]
<canton7> what error?
sujith__ has joined #ruby
jmignault has joined #ruby
<serard> Declared popen3 in Gemfile, ran bundler install : "Could not find gem 'open3' in any of the gem sources listed in your Gemfile or available on this machine."
hanmac has quit [Ping timeout: 250 seconds]
<serard> same with open3
<canton7> uh, they're not gems
<canton7> popen's in core, popen3's in stdlib
loincloth has joined #ruby
<serard> when I require 'popen3' I get this : /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- popen3 (LoadError)
<serard> require 'stdlib' ?
<canton7> require 'open3'
gispka has quit [Read error: Connection reset by peer]
<canton7> and you don't need to require anything to use IO.open3
wisn has quit [Quit: Leaving]
<canton7> yep?
<serard> added comment with error
loincloth has quit [Ping timeout: 265 seconds]
<bsrd> Has anyone got anything like "--- !ruby/object:ClassName"?
<Zarthus> in yaml?
<canton7> serard, you're using 'wait_thr' outside of the scope of the block it's declared in
<serard> canton7, oops sorry for inattention :o
arnonhongklay has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
karmatr0n has joined #ruby
arnonhongklay has joined #ruby
maokomioko has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
karmatr0n has quit [Ping timeout: 272 seconds]
sameerynho has joined #ruby
Tempesta_ is now known as Tempesta
Tempesta has quit [Changing host]
Tempesta has joined #ruby
hanmac has joined #ruby
lxsameer has quit [Ping timeout: 272 seconds]
<serard> canton7, thank you very much ! :)
<canton7> working? cool!
solocshaw has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
workmad3 has quit [Remote host closed the connection]
sepp2k has joined #ruby
nuck has quit [Ping timeout: 244 seconds]
nuck has joined #ruby
nuck is now known as Guest63555
FINbit has left #ruby [#ruby]
ldnunes has joined #ruby
ur5us has quit [Remote host closed the connection]
rbr has quit [Disconnected by services]
rbr has joined #ruby
dionysus69 has joined #ruby
Burgestrand has joined #ruby
drptbl has joined #ruby
allcentu1 has joined #ruby
blackgoat has joined #ruby
zacstewart has quit [Ping timeout: 265 seconds]
SteenJobs has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackgoat has quit [Client Quit]
rodfersou has joined #ruby
ikbenhet has joined #ruby
<alfiemax> hi all
<alfiemax> got a quick question
LoneHermit has joined #ruby
<alfiemax> how do i convert a UNIX timestamp value to a date object
CamonZ has quit [Quit: Textual IRC Client: www.textualapp.com]
arnonhongklay has quit [Read error: Connection reset by peer]
<canton7> https://www.google.co.uk/search?q=ruby+unix+timestamp+to+date suggests `DateTime.strptime("1318996912",'%s')` or `Time.at(seconds_since_epoch_integer).to_datetime`
arnonhongklay has joined #ruby
PaulCapestany has quit [Quit: .]
<canton7> there's also a good discussion on taking timezones into account in that first SO post
drptbl has quit [Ping timeout: 255 seconds]
LoneHermit has quit [Ping timeout: 260 seconds]
brendan- has joined #ruby
PaulCapestany has joined #ruby
drptbl has joined #ruby
hutch34 has joined #ruby
nertzy2 has joined #ruby
nertzy has quit [Read error: No route to host]
ZeeNoodley has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
brendan- has quit [Ping timeout: 265 seconds]
sadhu89 has joined #ruby
PaulCapestany has quit [Quit: .]
nertzy2 has quit [Client Quit]
nankyokusei has joined #ruby
<tr1g> alfiemax:
<tr1g> you're not allowed to ask quetions
<tr1g> because reasons
<tr1g> :P
SteenJobs has quit [Quit: SteenJobs]
tr1g has quit [Quit: leaving]
anisha_ has joined #ruby
drptbl has quit [Quit: See you later!]
synthroid has joined #ruby
anisha has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
solocshaw has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 265 seconds]
bruce_lee has quit [Read error: Connection reset by peer]
gnufied has joined #ruby
nertzy has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
arnonhongklay has quit [Ping timeout: 250 seconds]
tyang_ has joined #ruby
tomphp has quit [Quit: Textual IRC Client: www.textualapp.com]
karmatr0n has joined #ruby
rodfersou has quit [Ping timeout: 255 seconds]
Alina-malina has quit [Ping timeout: 265 seconds]
tyang_ has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
arnonhongklay has joined #ruby
Vile` has joined #ruby
b3atr has joined #ruby
claudiuinberlin has joined #ruby
<b3atr> what's the best way to convert an array of values to a hash with a same key for each value?
alfiemax has quit [Ping timeout: 250 seconds]
<b3atr> Hash['documentable'.zip documentables]
karmatr0n has quit [Read error: No route to host]
Alina-malina has joined #ruby
johnmilton has quit [Remote host closed the connection]
<canton7> how would the hash have the same key multiple times?
nadir has joined #ruby
<dminuoso> canton7: You misunderstand. He means something like [1,2,3] => {1=>1, 2=>2, 3=>3}
redpants has joined #ruby
<canton7> if you say so - from his example, it looks like he wants the key 'documentable' (that exact raw string) for each item
<dminuoso> b3atr: But yeah, that would be the way.
<b3atr> canton7: no that's correct.
<dminuoso> Ah.
<canton7> b3atr, which is correct?
<dminuoso> b3atr: That's not how a hash works. Each key is unique.
<b3atr> canton7: i want a an array to be converted to an array of hash with same keys
<dminuoso> canton7: Think of it like a dictionary. Each word has only one entry.
<dminuoso> Err b3atr.
<canton7> wrong person :P
<dminuoso> :)
<b3atr> [{'1': 'a'}, {
<shortCircuit__> why do I need https://www.android.com/filetransfer/ to transfer from mac to android .. why can't I create a hotspot , connect to the hotspot from mac and ftp ?
<dminuoso> b3atr: What are you trying to do?
<b3atr> [{'1': 'a'}, {'1': b'}]
<b3atr> ^
<dminuoso> b3atr: Ah. Simple
arnonhongklay has quit [Ping timeout: 265 seconds]
<canton7> ah, so an array of hashes
<canton7> not a single hash
arnonhongklay has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
<dminuoso> b3atr: ary.map { |e| {'1' => e } }
<shortCircuit__> |e| looks like lol with an e
<shortCircuit__> :D
<dminuoso> b3atr: Don't try to be smart using zip or anything. This is way more expressive about your intend.
<dminuoso> shortCircuit__: e as in element.
fmcgeough has joined #ruby
<shortCircuit__> I know .. :P
sadhu89 has quit [Ping timeout: 265 seconds]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
csk has quit [Quit: Bye]
<shortCircuit__> yay marvels agent of shield is out ..
tectonic has joined #ruby
banisterfiend has joined #ruby
tectonic has quit [Client Quit]
<hanmac> shortCircuit__: i like the first episodes of it *g with Sky in a hot dress *hihi
<shortCircuit__> haha
<shortCircuit__> do you watch mr robot?
Snowy has quit [Remote host closed the connection]
<hanmac> hm not yet, but i will take a look later ... i recently watch "Legends of Tomorrow"
CloCkWeRX has quit [Ping timeout: 264 seconds]
toretore has quit [Ping timeout: 240 seconds]
csk has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
brendan- has joined #ruby
<shortCircuit__> legends of tomorrow was kindof boring in the begining .. but they do the crossovers .. so have to watch sometimes
chouhoulis has quit [Remote host closed the connection]
karmatr0n has joined #ruby
hogetaro has quit [Quit: Leaving...]
chouhoulis has joined #ruby
sdothum has joined #ruby
Snowy has joined #ruby
AndrewIsHere has joined #ruby
AndrewIsHere has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
shinnya has joined #ruby
Vile` has quit [Ping timeout: 260 seconds]
rodfersou has joined #ruby
johnmilton has joined #ruby
CloCkWeRX has joined #ruby
csk has quit [Ping timeout: 265 seconds]
pawnbox has quit [Remote host closed the connection]
hogetaro has joined #ruby
pawnbox has joined #ruby
csk has joined #ruby
last_staff has quit [Quit: last_staff]
johnmilton has quit [Ping timeout: 265 seconds]
jmignault has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 265 seconds]
johnmilton has joined #ruby
face has joined #ruby
arnonhon_ has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DroidBurgundy has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
griffindy has joined #ruby
DroidBur_ has joined #ruby
RavinduL has joined #ruby
shortCircuit__ has quit [Remote host closed the connection]
stamina has quit [Ping timeout: 244 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ChiefAlexander has joined #ruby
sai_ has quit [Remote host closed the connection]
coolboy has joined #ruby
DroidBurgundy has quit [Ping timeout: 255 seconds]
gingray has quit [Ping timeout: 264 seconds]
cdg has joined #ruby
<petercooper> just started mr robot a cpl days ago, was impressed :)
<hanmac> i recently found some new cartoon shows: like this one: https://www.youtube.com/watch?v=-q5VjbZ4r2I XD
pwnd_nsfw` has joined #ruby
RavinduL has left #ruby ["Leaving"]
blackmesa has joined #ruby
maokomioko has quit [Quit: Textual IRC Client: www.textualapp.com]
loincloth has joined #ruby
pwnd_nsfw has quit [Ping timeout: 248 seconds]
ta_ has quit [Remote host closed the connection]
emilkarl has joined #ruby
arnonhon_ has quit [Read error: Connection reset by peer]
Pumukel has quit [Remote host closed the connection]
sai_ has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
sujith__ has quit [Remote host closed the connection]
ramortegui has joined #ruby
Pumukel has joined #ruby
sameerynho has quit [Quit: WeeChat 1.5]
loincloth has quit [Ping timeout: 255 seconds]
arnonhongklay has joined #ruby
toretore has joined #ruby
zacstewart has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
Pumukel has quit [Ping timeout: 250 seconds]
SteenJobs has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
Ebok has joined #ruby
toretore has quit [Ping timeout: 244 seconds]
tildes has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
xemehc has joined #ruby
griffindy has quit [Max SendQ exceeded]
pkerchner_ has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
arnonhongklay has joined #ruby
andikr has quit [Remote host closed the connection]
malconis has joined #ruby
aegis3121 has joined #ruby
NTrash has joined #ruby
NTrash has quit [Client Quit]
NTrash has joined #ruby
sylario has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
jphase has joined #ruby
wethu has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
PaulCapestany has joined #ruby
ixti has joined #ruby
Vile` has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nando293921 has joined #ruby
blackmes1 has joined #ruby
DroidBur_ has quit []
LoneHerm_ has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
Pumukel has joined #ruby
PaulCapestany has quit [Read error: Connection reset by peer]
Pumukel has quit [Remote host closed the connection]
jgpawletko has joined #ruby
Pumukel has joined #ruby
PaulCapestany has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
tristanp has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
vipaca has joined #ruby
Pumukel has joined #ruby
M-manveru has joined #ruby
M-mistake has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
weemsledeux has joined #ruby
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PONG :hitchcock.freenode.net"]
banisterfiend has joined #ruby
zacstewart has quit [Ping timeout: 260 seconds]
redpants has quit [Ping timeout: 272 seconds]
Pumukel has quit [Ping timeout: 248 seconds]
arnonhongklay has quit [Ping timeout: 250 seconds]
araujo_ has quit [Quit: Leaving]
qguv has quit [Ping timeout: 265 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
jgpawletko has quit [Quit: jgpawletko]
qguv has joined #ruby
arnonhongklay has joined #ruby
loincloth has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
ule has quit [Changing host]
ule has joined #ruby
zacstewart has joined #ruby
blackmes1 has quit [Ping timeout: 265 seconds]
<baweaver> !spam SPark_
emilkarl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
loincloth has quit [Ping timeout: 244 seconds]
ekinmur has joined #ruby
bsrd has quit [Ping timeout: 265 seconds]
karmatr0n has joined #ruby
Trynemjoel has joined #ruby
craigp has quit [Ping timeout: 244 seconds]
rbr has quit [Ping timeout: 255 seconds]
loincloth has joined #ruby
nankyokusei has joined #ruby
shinnya has quit [Ping timeout: 272 seconds]
rbr has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
ichkv has quit [Remote host closed the connection]
_sfiguser has quit [Ping timeout: 240 seconds]
grh has quit [Ping timeout: 248 seconds]
rismoney1 has joined #ruby
loincloth has quit [Ping timeout: 244 seconds]
loincloth has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
bmurt has joined #ruby
loincloth has quit [Remote host closed the connection]
loincloth has joined #ruby
ocbtec has joined #ruby
anisha_ has quit [Quit: Leaving]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
nando293921 has quit [Ping timeout: 265 seconds]
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Vingador has joined #ruby
BubonicPestilenc has joined #ruby
vuoto has joined #ruby
Pumukel has joined #ruby
jegen03 has joined #ruby
b3atr has quit [Ping timeout: 240 seconds]
jegen03 has left #ruby [#ruby]
vuoto has quit [Remote host closed the connection]
Pumukel has quit [Remote host closed the connection]
emilkarl has joined #ruby
jrafanie has joined #ruby
allcentu1 has quit [Ping timeout: 272 seconds]
Pumukel has joined #ruby
chouhoul_ has joined #ruby
Pumukel has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 265 seconds]
_sfiguser has joined #ruby
Pumukel has joined #ruby
pkerchner_ has quit [Ping timeout: 240 seconds]
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
noodle has quit [Ping timeout: 255 seconds]
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
marciol has joined #ruby
hk238 has joined #ruby
weemsledeux has joined #ruby
Pumukel has quit [Remote host closed the connection]
marciol has quit [Client Quit]
LoneHerm_ has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
arnonhongklay has quit [Ping timeout: 248 seconds]
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
rbr has quit [Ping timeout: 272 seconds]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
emilkarl has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel has joined #ruby
toretore has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
Pumukel has joined #ruby
koovec has joined #ruby
Pumukel has quit [Remote host closed the connection]
noodle has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
agent_white has joined #ruby
Pumukel has joined #ruby
Trynemjoel has quit [Ping timeout: 244 seconds]
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
arnonhongklay has quit [Client Quit]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
ekinmur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
rbr has joined #ruby
Pumukel has quit [Remote host closed the connection]
ekinmur has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<agent_white> Mornin'
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Burgestrand has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
xemehc has quit [Quit: ZZZzzz…]
dminuoso has joined #ruby
Pumukel has joined #ruby
xemehc has joined #ruby
Pumukel has quit [Remote host closed the connection]
chwbacca` has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Burgestrand has quit [Ping timeout: 240 seconds]
Pumukel has quit [Remote host closed the connection]
chwbacca has quit [Ping timeout: 272 seconds]
xemehc has quit [Client Quit]
patarr has joined #ruby
Pumukel has joined #ruby
hutch34 has quit [Ping timeout: 265 seconds]
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coolboy has quit [Ping timeout: 276 seconds]
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
pokalyis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
vipaca has joined #ruby
aegis3121 has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
sandelius has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pumukel has quit [Remote host closed the connection]
claudiuinberlin has quit [Remote host closed the connection]
chelly has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
xemehc has joined #ruby
rippa has joined #ruby
sepp2k has quit [Quit: Leaving.]
Pumukel has joined #ruby
claudiuinberlin has joined #ruby
uniq has joined #ruby
Pumukel has quit [Remote host closed the connection]
<havenwood> !spam uniq
Pumukel has joined #ruby
submitnine has quit []
Pumukel has quit [Remote host closed the connection]
<Zarthus> havenwood: you have a leading space there
[k- has joined #ruby
Pumukel has joined #ruby
uniq has left #ruby [#ruby]
kspencer has joined #ruby
<havenwood> !spam uniq
<havenwood> Zarthus: Thanks :-)
<havenwood> g'mornin'
Pumukel has quit [Remote host closed the connection]
moneylotion has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
moneylotion has joined #ruby
jhooker has quit [Quit: Leaving]
<Zarthus> Not entirely morning here anymore hehe
Pumukel has quit [Remote host closed the connection]
<Zarthus> I've pretty much finished up doing the last thing this day had to offer (going to the dentist.)
Pumukel has joined #ruby
hutch34 has joined #ruby
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Zarthus> Unfortunately ruby code won't save me from bad teeth.
Xeago has quit [Ping timeout: 255 seconds]
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
<Zarthus> Pumukel: You're reconnecting a lot, can you fix your connection?
Xeago has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
eljimmy has joined #ruby
Pumukel has quit [Remote host closed the connection]
xcesariox has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
Pumukel has joined #ruby
<havenwood> !connection Pumukel
Pumukel was kicked from #ruby by ruby[bot] [repeated join/part detected]
blackmes1 has joined #ruby
hobodave has joined #ruby
aegis3121 has joined #ruby
SteenJobs has joined #ruby
nando293921 has joined #ruby
sai_ has quit [Remote host closed the connection]
dminuoso has quit [Remote host closed the connection]
SteenJobs has quit [Client Quit]
phredus has quit [Remote host closed the connection]
phredus has joined #ruby
claudiuinberlin has joined #ruby
SteenJobs has joined #ruby
shinnya has joined #ruby
loinclot_ has joined #ruby
loinclot_ has quit [Remote host closed the connection]
coolboy has joined #ruby
loinclot_ has joined #ruby
loincloth has quit [Ping timeout: 240 seconds]
failshell has joined #ruby
hutch34 has quit [Read error: Connection reset by peer]
wugy has quit [Read error: Connection reset by peer]
AndrewIsHere has joined #ruby
dminuoso has joined #ruby
blackmes1 has quit [Ping timeout: 265 seconds]
conta has quit [Ping timeout: 276 seconds]
hutch34 has joined #ruby
Vingador has quit [Ping timeout: 264 seconds]
Vingador_ has joined #ruby
alfiemax has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
harfangk has joined #ruby
ichkv has joined #ruby
LemonJuice has joined #ruby
karmatr0n has quit []
tdy has quit [Ping timeout: 260 seconds]
polishdub has joined #ruby
Wizznt has joined #ruby
aganov has quit [Remote host closed the connection]
rbr has quit [Ping timeout: 264 seconds]
rbr has joined #ruby
nando293921 has quit [Ping timeout: 265 seconds]
ropeney has joined #ruby
shinnya has quit [Ping timeout: 255 seconds]
ropeney has quit [Client Quit]
nando293921 has joined #ruby
coolboy has quit [Remote host closed the connection]
Devalo has joined #ruby
tdy has joined #ruby
krypton has joined #ruby
interki has joined #ruby
CloCkWeRX has quit [Ping timeout: 248 seconds]
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dminuoso has quit [Ping timeout: 260 seconds]
ferr has quit [Quit: WeeChat 1.5]
Snowy has quit [Quit: ragequit]
xemehc has quit [Quit: ZZZzzz…]
duderonomy has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
mtkd has quit [Ping timeout: 265 seconds]
ajsharma has joined #ruby
Asher has quit [Ping timeout: 265 seconds]
pawnbox has quit [Remote host closed the connection]
xemehc has joined #ruby
mtkd has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
krypton has left #ruby [#ruby]
ekinmur has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox has joined #ruby
SteenJobs has joined #ruby
duderono_ has quit [Ping timeout: 248 seconds]
koovec has quit [Remote host closed the connection]
[Butch] has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
amclain has joined #ruby
aufi has quit [Ping timeout: 265 seconds]
LuckyABA has joined #ruby
sai_ has joined #ruby
CloCkWeRX has joined #ruby
sdothum has quit [Quit: ZNC 1.6.3 - http://znc.in]
sai_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
sdothum has joined #ruby
sdothum has quit [Client Quit]
ikbenhet has quit [Quit: Textual IRC Client: www.textualapp.com]
sdothum has joined #ruby
platzhirsch has joined #ruby
saneax is now known as saneax-_-|AFK
jaruga___ has quit [Quit: jaruga___]
tyang has joined #ruby
CloCkWeRX has quit [Ping timeout: 244 seconds]
BubonicPestilenc has quit [Quit: BubonicPestilenc]
synthroid has quit [Remote host closed the connection]
dminuoso has joined #ruby
zekriad has joined #ruby
howdoi has joined #ruby
sdothum has quit [Quit: ZNC 1.6.3 - http://znc.in]
sdothum has joined #ruby
senayar has quit [Read error: Connection reset by peer]
BLuEGoD has quit [Quit: WeeChat 1.4]
senayar has joined #ruby
coolboy has joined #ruby
allcentu1 has joined #ruby
jsrn_ has quit [Quit: Leaving]
nankyokusei has joined #ruby
pandaant has quit [Remote host closed the connection]
Couch has quit [Ping timeout: 244 seconds]
sh1znc has quit [Quit: ZNC 1.6.1+deb1 - http://znc.in]
ramfjord has joined #ruby
AlexRussia has quit [Ping timeout: 264 seconds]
coolboy has quit [Ping timeout: 265 seconds]
allcentu1 has quit [Ping timeout: 260 seconds]
senayar has quit []
nankyokusei has quit [Ping timeout: 240 seconds]
nitric has joined #ruby
DoubleMalt has quit [Ping timeout: 248 seconds]
antgel has quit [Ping timeout: 244 seconds]
sdothum has quit [Quit: ZNC 1.6.3 - http://znc.in]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmes1 has joined #ruby
CloCkWeRX has joined #ruby
coolboy has joined #ruby
hutch34 has quit [Ping timeout: 244 seconds]
tyang has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
rodfersou is now known as rodfersou|lunch
blackwind_123 has quit [Ping timeout: 272 seconds]
nando293921 has quit [Ping timeout: 264 seconds]
blackmes1 has quit [Ping timeout: 272 seconds]
last_staff has joined #ruby
malcolmva has joined #ruby
blackwind_123 has joined #ruby
SeepingN has joined #ruby
gingray has joined #ruby
sdothum has joined #ruby
Zamyatin has joined #ruby
AlexRussia has joined #ruby
nando293921 has joined #ruby
webopsx has joined #ruby
pawnbox has quit [Remote host closed the connection]
jblack has quit [Ping timeout: 244 seconds]
brent__ has joined #ruby
inukshuk_ has joined #ruby
blackmes1 has joined #ruby
inukshuk_ has quit [Client Quit]
pkerchner has joined #ruby
chouhoulis has joined #ruby
<pkerchner> hi, anybody from Germany/Rhein-Main/e.g Darmstadt here ?
mikecmpbll has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
flying has quit []
ropeney has joined #ruby
dn5 has joined #ruby
imperator has joined #ruby
claudiuinberlin has quit []
RedNifre_ is now known as RedNifre
aesthetikx has joined #ruby
skweek has joined #ruby
kerframil has joined #ruby
synthroid has joined #ruby
platzhirsch has quit [Quit: WeeChat 1.4]
failshell has quit [Remote host closed the connection]
hopsoft has joined #ruby
Danishman has joined #ruby
tomphp has quit [Ping timeout: 265 seconds]
rismoney1 has quit [Ping timeout: 265 seconds]
SteenJobs has quit [Quit: SteenJobs]
serard_ has joined #ruby
<serard_> Hello
<ropeney> holla
blaxter has quit [Quit: foo]
synthroid has quit [Ping timeout: 244 seconds]
<serard_> I'm coding a script to be run via systemd (raspbian, multi-user.target). It plays omxplayer to play videos over hdmi. I used Signal.trap("INT") but it cannot catch ctrl+c ... What can I do if I want to end it ?
<ropeney> you'd use systemd to end it?
zipace has joined #ruby
synthroid has joined #ruby
SteenJobs has joined #ruby
Cohedrin has joined #ruby
ichkv has quit [Remote host closed the connection]
moos3 has joined #ruby
ruby_ has joined #ruby
conta has joined #ruby
dn5 has quit [Quit: leaving]
dionysus69 has joined #ruby
moos3 has quit [Client Quit]
<imperator> yet another uri encoding question: https://gist.github.com/djberg96/cc84a5ccb135ec1b59b696497319c558
<imperator> what am i not understanding?
dn5 has joined #ruby
nikivi has joined #ruby
sai_ has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
<imperator> (oops, updated)
<JackMc> hey all
<JackMc> Does Ruby have an equivalent of a Python "byte string"?
_sfiguser has quit [Ping timeout: 260 seconds]
<baweaver> &ri Array#pack
<baweaver> &ri String#chars
<baweaver> well, or cut the middle man
<baweaver> &ri String#bytes
<baweaver> Not sure if that's exactly what you meant though
SteenJobs has quit [Quit: SteenJobs]
<baweaver> I'd have to look up Python byte string
<JackMc> baweaver: I have a string given to me in the form of a URI encoded query string
<baweaver> unescape?
<JackMc> I decode it and get a sequence of bytes that seems to be encoded with ASCII
<baweaver> if it's an array you can use pack
<JackMc> Sorry just writing an example of what I'm trying to do
<baweaver> np np, might disappear here in about 5-10 minutes though, fair warning.
<JackMc> Ok :)
PocketKiller has joined #ruby
coolboy has quit [Ping timeout: 240 seconds]
<JackMc> So there's my string (it's a blowfish encrypted payload behind a couple layers of sadness to beat Rails)
<JackMc> And what I need to do is feed that into OpenSSL to decrypt it. OpenSSL seems to want only strings though (not arrays of bytes)
SeepingN has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
<apeiros> JackMc: strings in ruby are bytearrays
<apeiros> the encoding is only for representation and character based operations.
<JackMc> apeiros: Hm, ok. I guess my problem is deeper down the OpenSSL stack then?
<apeiros> and blowfish_encrypted.encoding will likely give you binary/ascii-8bit
<JackMc> It does yeah
<apeiros> I haven't seen you talk about a problem yet?
<apeiros> you have a string, openssl expects a string.
<apeiros> sounds like a fit?
<JackMc> I feed that into OpenSSL and it throws up at me with "bad decrypt"
<JackMc> when what I can only assume is the equivalent set of commands in Python working
<JackMc> So basically
<JackMc> Some asshole gave me this app that gives me encrypted strings with no docs about how it works
elifoster has joined #ruby
<JackMc> All I have is the key and the IV
<JackMc> And some encrypted payloads
tomphp has joined #ruby
<JackMc> I have reference code from someone who's done this before, but it's written in Python
shinnya has joined #ruby
SteenJobs has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
jmignault has joined #ruby
<eam> signal handling in shell D:
SeepingN has joined #ruby
loinclot_ has quit [Remote host closed the connection]
_sfiguser has joined #ruby
loincloth has joined #ruby
loincloth has quit [Remote host closed the connection]
marxarelli has joined #ruby
loincloth has joined #ruby
AndyBotwin has quit [Quit: Leaving]
grh has joined #ruby
whathappens has joined #ruby
pkerchner has quit [Ping timeout: 240 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CloCkWeRX has quit [Ping timeout: 264 seconds]
renderful has quit [Remote host closed the connection]
ichkv has joined #ruby
nertzy has quit [Ping timeout: 260 seconds]
<serard_> the thing is that omxplayer occupy the video but I can write to the prompt
<serard_> so I can "blind write" "systemctl service myservice stop" or such
<serard_> havenwood, thank you very much for looking
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
dionysus70 is now known as dionysus69
whathappens has quit [Read error: Connection reset by peer]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
renderful has joined #ruby
whathappens has joined #ruby
nando293921 has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Quit: WeeChat 1.5]
alexherbo2 has joined #ruby
alexherbo2 has quit [Client Quit]
failshell has joined #ruby
aegis3121 has joined #ruby
JeanCarl1Machado has quit [Ping timeout: 250 seconds]
elenatanasoiu has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
imperator has left #ruby ["Leaving"]
gizmore has quit [Ping timeout: 255 seconds]
gizless has joined #ruby
_djbkd has joined #ruby
salut has quit [Quit: salut]
allcentu1 has joined #ruby
cdg has quit [Remote host closed the connection]
ponga has quit [Quit: Connection closed for inactivity]
firstdayonthejob has joined #ruby
tomphp has joined #ruby
ajsharma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gasher has joined #ruby
CloCkWeRX has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
hutch34_ has joined #ruby
rodfersou|lunch is now known as rodfersou
workmad3 has joined #ruby
sai_ has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kerframil has quit [Quit: Leaving]
Azure|dc has joined #ruby
symm- has joined #ruby
moneylotion_ has joined #ruby
dviola has joined #ruby
kedare has quit [Quit: Leaving]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.2 Aria]
moneylotion has quit [Read error: Connection reset by peer]
Azure has quit [Ping timeout: 265 seconds]
duderonomy has joined #ruby
gp has joined #ruby
<gp> is anyone aware of any simple ruby http/https proxies that support proxy connect for https and ipv6 support? looking for something that could be wrapped in a vagrant plugin to autostart on vagrant up
jerematic has joined #ruby
jerematic has quit [Client Quit]
ramfjord has joined #ruby
elastix has joined #ruby
<serard_> havenwood, solution is adding KillSignal=SIGINT to unit service definition of my service
zipace has quit [Disconnected by services]
ziprar has joined #ruby
<dn5> for some reason, I get Invalid argument (Errno:EINVAL) when .write on a RAW socket
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Dimik has joined #ruby
kirun has joined #ruby
jmignault has quit [Remote host closed the connection]
tonini has quit [Quit: Connection closed for inactivity]
tyang has joined #ruby
symm- has quit [Quit: Leaving...]
chouhoul_ has joined #ruby
rcvalle has joined #ruby
sandelius has joined #ruby
replay has joined #ruby
Zamyatin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> dn5: what state is the socket in? what have you done to it leading up to the write?
marxarelli has joined #ruby
anisha has joined #ruby
coolboy has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
ropeney has quit [Quit: Leaving]
craigp has joined #ruby
<eam> (what do you expect a raw socket to do with a write request? There are so many things, depending on its state)
zeroDi has joined #ruby
claudiuinberlin has joined #ruby
ajsharma has joined #ruby
Vingador_ has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: inabit. zz.]
redpants has joined #ruby
pragmaticus has quit [Ping timeout: 244 seconds]
jmignault has joined #ruby
nankyokusei has joined #ruby
postmodern has joined #ruby
conta has quit [Ping timeout: 265 seconds]
craigp has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 265 seconds]
ruby-lang871 has joined #ruby
f4cl3y has quit [Ping timeout: 272 seconds]
cdg has joined #ruby
<ruby-lang871> hello everyone, i did the update to macOS sierra, and ruby 1.9.3 stopped working with a 'malloc: *** malloc_zone_unregister() failed for 0xaddress' error
<ruby-lang871> any guesses?
<eam> ruby-lang871: how did you install that ruby
<eam> in general, rebuild/reinstall all software you compiled under an older version of osx
<ruby-lang871> rbenv
<ruby-lang871> rvm
<ruby-lang871> doesn't matter
<ruby-lang871> same error
<ruby-lang871> i did that
<ruby-lang871> https://github.com/jemalloc/jemalloc/issues/420 there is an issue here with the same error
<ruby-lang871> and it appears to affect ruby
<eam> huh, does rvm use jemalloc on osx?
nk121 has quit [Quit: moo]
<dn5> eam: it's a CAN
<dn5> eam: no implementation for it in Ruby right now
jshjsh has joined #ruby
JoshS has quit [Disconnected by services]
<eam> ruby-lang871: sounds like that's your answer btw
jshjsh is now known as JoshS
<dn5> at least not with advanced functionalities
wrkrcoop has joined #ruby
<dn5> the one you'll find on the google - canlib.rb is probably mine :>
<wrkrcoop> so in slack i can get this emoji … but anyone know how to get the ascii or whatever for that?
bocaneri has quit [Remote host closed the connection]
malcolmva has quit [Ping timeout: 264 seconds]
<ruby-lang871> so there is no way to fix this?
<ruby-lang871> atm
nando293921 has joined #ruby
<ruby-lang871> i tried to compile it using master branch from jemalloc but couldn't make it work
<ruby-lang871> because it appears fixed
<eam> >> "…"
eam has quit [Changing host]
eam has joined #ruby
<eam> >> "…"
<ruby[bot]> eam: # => "…" (https://eval.in/646248)
<dn5> manpage for write: fd is attached to an object which is unsuitable for writing; or the file was opened with the O_DIRECT flag, and either the address specified in buf, the value specified in count, or the current file offset is not suitably aligned.
<eam> >> "…".inspect
<ruby[bot]> eam: # => "\"…\"" (https://eval.in/646249)
<havenwood> [226, 128, 166]
<eam> havenwood: aha
jshjsh has joined #ruby
LemonJuice has quit [Quit: Leaving]
<dn5> and I think why I got error thrown at socket.write()
JoshS has quit [Disconnected by services]
<eam> dn5: I mean, I assume if you're getting EINVAL the socket is in a state where write() can't happen?
jshjsh is now known as JoshS
<eam> that's why I ask how you're constructing it
<dn5> the above probably means that the structure of the data im sending is not in a good lenght or structure
<dn5> and since I'm sending bytes and not blob, the einval is returned
<eam> honestly, strace it and see what it's really doing
jackjackdripper has joined #ruby
<dn5> eam: socket is ioctled to SIOCGIFINDEX and binded to AF_CAN predefined from linux kernel
Zamyatin has joined #ruby
<dn5> eam: I will, hold on
<eam> strace will show you what exactly ruby is dispatching to linux, and what linux is saying in return
<eam> nice way to cut through all the higher level bs
mikecmpbll has joined #ruby
<dn5> heck.. i love low level stuff
<eam> Kernel.syscall is also a nice way to test stuff, if you're not sure ruby's socket layer is doing the right thing
ruby-lang871 has quit [Quit: Page closed]
bigkevmcd has quit [Quit: Outta here...]
<eam> sometimes ruby maps certain errors into other errors before exposing them
pwnd_nsfw has joined #ruby
synthroid has quit [Remote host closed the connection]
<dn5> eam: I see. Thanks.
<dn5> write(1, "\"\\xFF\\x00*\"\n", 12"\xFF\x00*"
<dn5> sendto(7, "\377\0", 2, 0, NULL, 0) = -1 EINVAL (Invalid argument)
<dn5> so write has underlying send() of course, and the send() actually has sendto() mapped as alias .. interesting :-) didn't know that
pwnd_nsfw` has quit [Ping timeout: 255 seconds]
<dn5> Ok, I think I found out where is the problem
<dn5> write detects the parameter and either pass through send() if we are sending non-binary, or sendto() with struct enumurated, if we send blob
malcolmva has joined #ruby
renderful has quit [Remote host closed the connection]
synthroid has joined #ruby
renderful has joined #ruby
vipaca has quit [Quit: Textual IRC Client: www.textualapp.com]
<dn5> wohoo, passing data reference actually sends the frame! cool.
mikecmpbll has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
Authenticator has quit [Quit: leaving]
sai_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
blackmes1 has quit [Ping timeout: 272 seconds]
brendan- has joined #ruby
<eam> dn5: :)
xemehc has quit [Remote host closed the connection]
xemehc has joined #ruby
stamina has joined #ruby
cdg has quit [Remote host closed the connection]
conta has joined #ruby
skweek has quit [Ping timeout: 272 seconds]
workmad3 has quit [Ping timeout: 244 seconds]
skweek has joined #ruby
skweek has quit [Max SendQ exceeded]
sai_ has quit [Read error: Connection reset by peer]
skweek has joined #ruby
sai_ has joined #ruby
Uranio has joined #ruby
pawnbox has quit [Remote host closed the connection]
nando293921 has quit [Remote host closed the connection]
chouhoul_ has quit [Remote host closed the connection]
connor_goodwolf has quit [Ping timeout: 264 seconds]
connor_goodwolf has joined #ruby
chouhoulis has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
moos3 has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
naftilos76 has joined #ruby
connor_goodwolf has quit [Ping timeout: 240 seconds]
Uranio has quit [Quit: while you read this, a kitty dies]
moos3 has quit [Client Quit]
moos3 has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
naftilos76 has quit [Read error: Connection reset by peer]
connor_goodwolf has joined #ruby
sai_ has joined #ruby
bjh13 has quit [Remote host closed the connection]
naftilos76 has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
TinkerTyper has quit [Ping timeout: 240 seconds]
A124 has quit [Quit: '']
loinclot_ has joined #ruby
tyang_ has joined #ruby
connor_goodwolf has quit [Ping timeout: 240 seconds]
loincloth has quit [Ping timeout: 265 seconds]
connor_goodwolf has joined #ruby
serard_ has quit [Read error: Connection reset by peer]
TinkerTyper has joined #ruby
tyang has quit [Ping timeout: 255 seconds]
conta has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
moos3 has quit [Quit: WeeChat 1.5]
connor_goodwolf has quit [Ping timeout: 265 seconds]
moos3 has joined #ruby
<ramfjord> Does anyone here run their own gemserver?
elenatanasoiu has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
connor_goodwolf has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
<ramfjord> I've got one set up with geminabox, which was pretty straightforward, but I'd love to host documentation on the same server that hosts the gems
sai_ has joined #ruby
jmignault has quit [Ping timeout: 248 seconds]
<ramfjord> Ideally without having to install all the gems on that server
snguyen has joined #ruby
connor_goodwolf has quit [Ping timeout: 265 seconds]
connor_goodwolf has joined #ruby
banisterfiend has joined #ruby
naftilos76 has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
chwbacca` has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
redpants has quit [Ping timeout: 244 seconds]
patrick99e99 has quit [Ping timeout: 244 seconds]
naftilos76 has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
naftilos76 has quit [Read error: Connection reset by peer]
skweek has quit [Ping timeout: 255 seconds]
naftilos76 has joined #ruby
Devalo has quit [Remote host closed the connection]
A124 has joined #ruby
Devalo has joined #ruby
johnmilton has quit [Remote host closed the connection]
stamina has quit [Ping timeout: 272 seconds]
gfvcastro has joined #ruby
NTrash has quit [Quit: Konversation terminated!]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
pkerchner has joined #ruby
Devalo has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 244 seconds]
kitikonti has joined #ruby
patarr has quit [Quit: patarr]
jmignault has joined #ruby
AnarchyAo has joined #ruby
RegulationD has quit [Remote host closed the connection]
patarr has joined #ruby
machinewar has joined #ruby
ajsharma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sai_ has quit [Read error: Connection reset by peer]
LuckyABA has joined #ruby
sai_ has joined #ruby
johnmilton has joined #ruby
jmignault has quit [Ping timeout: 240 seconds]
Trynemjoel has joined #ruby
jaequery has joined #ruby
bmurt has quit [Read error: Connection reset by peer]
allcentu1 has quit [Ping timeout: 244 seconds]
patarr has quit [Quit: patarr]
leea has joined #ruby
machinewar has quit []
CloCkWeRX has quit [Ping timeout: 276 seconds]
wrkrcoop has joined #ruby
elenatanasoiu has quit [Ping timeout: 244 seconds]
ahri has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit []
Oatssoulbro has joined #ruby
<Oatssoulbro> Hello!
Cohedrin has quit [Ping timeout: 265 seconds]
<Oatssoulbro> How are you all doing today?
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stamina has joined #ruby
<ramfjord> Doing well, how about you Oatssoulbro
<ramfjord> ?
<Oatssoulbro> I'm doing good.
_djbkd has quit [Remote host closed the connection]
<Oatssoulbro> I've come here because I have a ruby question that's stumped me.
<Oatssoulbro> I'll do my best to explain it.
_djbkd has joined #ruby
patarr has joined #ruby
<Oatssoulbro> I have a yaml file that has an array in it. I want to select a value based on the index of the item, instead of using .sample.
<Oatssoulbro> I've tried .at(n), and .fetch(n), but they both give me this error
<Oatssoulbro> Now the values for the array are strings.
patarr has quit [Client Quit]
<Oatssoulbro> H:/SolarSystem/Code/solar_system.rb:154:in `[]': no implicit conversion of String into Integer (TypeError)
<miah> paste the code you've got?
<miah> gist it i mean
<Oatssoulbro> The entire code?
<miah> well, the array handling bit
<havenwood> Oatssoulbro: Seems you're using a String for the index when an Integer is expected.
<miah> ya, wanted to check that ^
patarr has joined #ruby
<Oatssoulbro> Hmn.
<Oatssoulbro> I don't even know how I did that. A string is the value, but is the value also the index :V
<Oatssoulbro> I'll post the yalm
pokalyis has joined #ruby
Cohedrin has joined #ruby
redpants has joined #ruby
allcentu1 has joined #ruby
_djbkd has quit [Ping timeout: 265 seconds]
jmignault has joined #ruby
blackmes1 has joined #ruby
<Oatssoulbro> I think someone made a vevision
<Oatssoulbro> revision*
<ramfjord> Maybe just post the line that's throwing the error and a few lines around it?
ruby_ has quit []
Rufus has joined #ruby
<ramfjord> What they are saying is that when you do .at(n), n is a String, not a Fixnum/Integer
<Oatssoulbro> Well it's a case, so the're pretty much dentical.
<Oatssoulbro> m = moons[m.moontype]['Size'][].fetch(rand(0..7))
<Oatssoulbro> Crap
<miah> 'Size' is a string
patarr has quit [Quit: patarr]
<Oatssoulbro> Yeah, it's the name of the array in the yaml.
CloCkWeRX has joined #ruby
<miah> oh ya i see the yaml now
gizless has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
ajsharma has joined #ruby
<ramfjord> try just ['Size'][rand(0..7)]
<Oatssoulbro> I tried that, it gave me the same error
<Oatssoulbro> But I'll try it again
gizmore has joined #ruby
skweek has joined #ruby
cdg has joined #ruby
<Oatssoulbro> H:/SolarSystem/Code/solar_system.rb:160:in `[]': no implicit conversion of String into Integer (TypeError)
RegulationD has joined #ruby
<ramfjord> if that doesn't work, print out moons[m.moontype] - m.moontype could be a string as well, and moons could be an array
SteenJobs has joined #ruby
<ramfjord> or just print moons.inspect
<Oatssoulbro> M.moontype is a string as well
<Oatssoulbro> Moontype coensides with one of the 4 major breakups, in the yaml
<Oatssoulbro> "Inhavbital"
<Oatssoulbro> "Habitated"
<Oatssoulbro> ect
elenatanasoiu has joined #ruby
<Oatssoulbro> moons.inspect won't print anything cause I didn't write an inspect :3
<ramfjord> then I'd posit that moons is an array, not the Hash<Hash<Array>> you might be expecting
<Oatssoulbro> Hmn.
<ramfjord> >> nil.inspect
<ruby[bot]> ramfjord: # => "nil" (https://eval.in/646323)
<ramfjord> inspect is a method on object, everything has it
<Oatssoulbro> Ah
<Oatssoulbro> I thought I had to write that
<Oatssoulbro> disregard then
<Oatssoulbro> So how would I turn it into a hash?
<Oatssoulbro> Because the last thing I want to do si have to write each possible selection out.
<Oatssoulbro> :V
Gasher^ has joined #ruby
Gasher has quit [Ping timeout: 240 seconds]
kegster has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elenatanasoiu has quit [Ping timeout: 250 seconds]
<Oatssoulbro> HURP
<Oatssoulbro> I think I fixed it
LuckyABA has joined #ruby
<Oatssoulbro> sorry guys.
craigp has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sai_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
<Oatssoulbro> Thank you for your help!
replay has quit [Quit: Textual IRC Client: www.textualapp.com]
Oatssoulbro has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
nankyokusei has joined #ruby
nando293921 has joined #ruby
craigp has quit [Ping timeout: 250 seconds]
skweek has quit [Ping timeout: 265 seconds]
ichkv has quit [Remote host closed the connection]
tyang_ has quit [Ping timeout: 255 seconds]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
failshell has quit []
nankyokusei has quit [Ping timeout: 250 seconds]
aswen has joined #ruby
patarr has joined #ruby
guacamole has quit [Quit: leaving]
howdoi has quit [Quit: Connection closed for inactivity]
nofxx has quit [Ping timeout: 264 seconds]
pokalyis has quit [Quit: Textual IRC Client: www.textualapp.com]
sai_ has quit [Read error: Connection reset by peer]
guacamole has joined #ruby
sai_ has joined #ruby
gizmore has quit [Remote host closed the connection]
nando293921 has quit [Ping timeout: 244 seconds]
hopsoft has joined #ruby
Devalo has joined #ruby
Vivekananda has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
marxarelli has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
sai_ has quit [Read error: Connection reset by peer]
aegis3121 has quit [Ping timeout: 240 seconds]
sai_ has joined #ruby
sai_ has quit [Remote host closed the connection]
nando293921 has joined #ruby
cibs has joined #ruby
ur5us has joined #ruby
kirun has quit [Quit: Konversation terminated!]
<strongcode> is this a stupid way of doing configuration for a class? https://gist.github.com/anonymous/40ae511acdb0ac7e375452f352a9e386
JeanCarloMachado has joined #ruby
<strongcode> I like the key checking and possibility of adding other class types for `opts` arg like Hash, File, etc. but idk if this is stupid and against convention
<Nilium> Why not just do one thing and not add ambiguity?
<baweaver> keyword arguments
<Nilium> Could even define a class that just has all your stuff laid out so that there's attrs for everything
<baweaver> whitelisting and opts all in one
<Nilium> No question about what the keys are
<strongcode> what if i have a lot of keys?
<baweaver> Then you have too big of a class
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<Nilium> Consider undoing the damage you've done
<baweaver> hiding them in a hash doesn't solve the actual problem.
<strongcode> and what if i want to config from a file - add a helper method?
<Nilium> That's beyond the scope of this.
<strongcode> irrelevant, im asking a question
<Nilium> And if you want to load a configuration from a file, write code to do it.
<Nilium> Work?
<Nilium> I don't know what you're asking there.
blackgoat has joined #ruby
gfvcastro has joined #ruby
<strongcode> ok i think this is enough to go on for now. Reading config from file is not a strict requirement at this point
<strongcode> thank you both
<baweaver> It's more that you're describing your problem oddly.
<baweaver> ?xy
<ruby[bot]> it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
fmcgeough has quit [Quit: fmcgeough]
flopsec has quit [Remote host closed the connection]
alxgsv has quit [Remote host closed the connection]
Satyajit has quit [Remote host closed the connection]
Guest23033 has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
loinclot_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
replay has joined #ruby
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
loincloth has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_djbkd has joined #ruby
synthroid has quit []
blackmes1 has quit [Ping timeout: 276 seconds]
nikivi has quit [Quit: zzz]
tomphp has joined #ruby
allcentu1 has quit [Ping timeout: 265 seconds]
nikivi has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
hopsoft has joined #ruby
leea has joined #ruby
Coldblackice has joined #ruby
blackmes1 has joined #ruby
xemehc has quit [Quit: ZZZzzz…]
hopsoft has quit [Client Quit]
Gasher^ has quit [Quit: Leaving]
elastix has quit [Quit: elastix]
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nikivi has quit [Quit: zzz]
aegis3121 has joined #ruby
xemehc has joined #ruby
Tempesta_ has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
gfvcastro has joined #ruby
nb_bez___ has joined #ruby
Tempesta has quit [Ping timeout: 244 seconds]
despai has joined #ruby
hopsoft has joined #ruby
pkerchner has quit [Ping timeout: 240 seconds]
stamina has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
cdg has joined #ruby
marxarelli is now known as marxarelli|afk
ocbtec has quit [Quit: leaving]
flopsec has joined #ruby
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mozzarella has quit [Remote host closed the connection]
mozzarella has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
ldnunes has quit [Quit: Leaving]
workmad3 has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
pabs has quit [Quit: irssi upgrade]
lifted has quit [Remote host closed the connection]
pabs has joined #ruby
gfvcastro has joined #ruby
ur5us has quit []
gfvcastro has quit [Client Quit]
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
srgupta has joined #ruby
s2013 has joined #ruby
SteenJobs has joined #ruby
<s2013> okay so im iterating over a record and trying to do count on multiple attributes.. so for example book_count["book a"] = { count: 1, reviews: 3, purchases: 4 } but this willl increase as more of book a is found, hope that makes sense
<s2013> trying to figure out best way to do that
_djbkd has quit [Read error: Connection reset by peer]
JeanCarloMachado has quit [Quit: leaving]
_djbkd has joined #ruby
JeanCarloMachado has joined #ruby
<baweaver> &ri Hash.new
<baweaver> what would happen if the default value were to be a hash with 0 values?
<s2013> yes i know hash.new(0) etc but can i do book_count["book a"] = Hash.new (0)..
<baweaver> read it closer
<s2013> thing is i dont know if book a exists in the db..
<s2013> k
<baweaver> it takes a block
srgupta has quit [Client Quit]
<baweaver> wait, are you trying to do this on a database?
<s2013> im iterating over records from a db
hutch34_ has quit [Quit: WeeChat 1.5]
aswen has quit [Quit: WeeChat 1.5]
<baweaver> Is this Rails?
<s2013> yea
<baweaver> Hop over to #RubyOnRails, let's take it there.
<s2013> but this part is ruby since i already have the record
<s2013> k
blackmes1 has quit [Quit: WeeChat 1.5]
hobodave has quit [Ping timeout: 244 seconds]
ramortegui has quit [Quit: Ex-Chat]
blackmesa has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
ujjain has quit [Ping timeout: 276 seconds]
<zenspider> I'd like to PM with someone about _unit_ testing out rails helper methods that wrap devise. Since `sign_in` is mixed into ControllerTest, is there a way to do this via a helper or something, instead of mocking out our `current_user`? Anyone familiar with this area? I'd rather not go to #rails and wade through that mess
leea has joined #ruby
gfvcastro has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
ujjain has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
gfvcastro has quit [Client Quit]
Seventoes has joined #ruby
Seventoes has left #ruby [#ruby]
last_staff has quit [Quit: last_staff]
mtkd has quit [Ping timeout: 240 seconds]
grh has quit [Ping timeout: 248 seconds]
skweek has joined #ruby
ramfjord_ has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dunj3 has quit [Ping timeout: 240 seconds]
JoshS has quit [Ping timeout: 244 seconds]
Wolland has quit []
jenrzzz has quit [Ping timeout: 265 seconds]
mtkd has joined #ruby
dunj3 has joined #ruby
griffindy has joined #ruby
jaequery has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
rodfersou has quit [Quit: leaving]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackgoat has quit [Quit: WeeChat 1.5]
jrafanie has joined #ruby
marxarelli|afk is now known as marxarelli
jrafanie has quit [Client Quit]
SteenJobs has quit [Quit: SteenJobs]
JoshS has joined #ruby
xemehc has quit [Quit: ZZZzzz…]
agent_white has quit [Quit: backlater]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
xemehc has joined #ruby
tyang has joined #ruby
solocshaw has joined #ruby
finisherr has joined #ruby
amclain has quit [Read error: Connection reset by peer]
amclain has joined #ruby
ratatine has quit [Read error: Connection reset by peer]
ratatine has joined #ruby
jphase has quit [Read error: Connection reset by peer]
wrkrcoop has quit [Quit: wrkrcoop]
CuriousMind has joined #ruby
<CuriousMind> Hello
CuriousMind has quit [Client Quit]
elifoster has quit [Read error: Connection reset by peer]
jphase has joined #ruby
<zenspider> baweaver: Ruby Architects ($60k) ?!?!?!? what the fuck?
jenrzzz has quit [Ping timeout: 240 seconds]
mwlang has joined #ruby
elifoster has joined #ruby
allcentu1 has joined #ruby
CuriousMind has joined #ruby
<CuriousMind> Hello
<lupine> zenspider: that's about normal
<havenwood> CuriousMind: hi
<zenspider> lupine: no, no it's not. not in the US
<lupine> too low? too high?
jackjackdripper has quit [Read error: Connection reset by peer]
<havenwood> lupine: low
<lupine> greedy
<lupine> mind you, I'm on £66K these days
jackjackdripper has joined #ruby
<CuriousMind> I am on codecademy learning about ruby and it says "Ruby is an object-oriented programming language, which means it manipulates programming constructs called objects. " What is a "programming construct"?
herbmillerjr has quit [Remote host closed the connection]
<CuriousMind> Google definition: "an idea or theory containing various conceptual elements, typically one considered to be subjective and not based on empirical evidence.", I don't understand this
herbmillerjr has joined #ruby
__main__ has quit [Ping timeout: 272 seconds]
<zenspider> "programming construct" is fairly self-defining. you can replace "construct" with "thingy" or "concept" or "artifact"
<zenspider> lupine: is that salary at an architect level in the UK?
loincloth has quit [Remote host closed the connection]
<CuriousMind> zenspider: Thank you
__main__ has joined #ruby
<CuriousMind> Ok so objects are things that contain other things
<mikecmpbll> heh, wages discussion always amuses me. it depends highly on where you are
<mikecmpbll> and what sort of place you want to work i guess.
ramfjord_ has quit [Ping timeout: 265 seconds]
<zenspider> working for a US contracting company asking for architect level work at $30/hour? Seattle just standardized on $15/hour minimum wage.
loincloth has joined #ruby
toretore has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zenspider> The first line of the job desc is "Are you one of top Software Architects in the world?"
JeanCarloMachado has quit [Ping timeout: 265 seconds]
<zenspider> if you are, you expect more than $30/hr
<mikecmpbll> that's a very high minimum wage compared to here.
<baweaver> Top SAs around here tend to earn 200k base
<baweaver> then again that's the Bay Area, where the Juniors make 90-100k starting
flying has joined #ruby
nofxx has joined #ruby
mlehrer has quit [Ping timeout: 244 seconds]
<mikecmpbll> for context, i'm a lead dev in a smallish team but with a successful product and i make $50k atm :p
<baweaver> what area?
<mikecmpbll> north england
solocshaw has quit [Ping timeout: 250 seconds]
<baweaver> Is that USD or GBP?
<mikecmpbll> usd
loinclot_ has joined #ruby
<mikecmpbll> £38k
workmad3 has quit [Ping timeout: 240 seconds]
<baweaver> "The average salary for a Senior Software Engineer is £49,224"
mlehrer has joined #ruby
jphase has quit [Remote host closed the connection]
<baweaver> Around here I tend to see seniors at 140-160k
<mikecmpbll> what's the typical experience level of a senior dev
<mikecmpbll> in years?
zel has joined #ruby
<baweaver> depends heavily on the area
jphase has joined #ruby
<baweaver> normally for larger companies, 7+ years
zel is now known as Guest1469
<baweaver> Startups have serious inflation of titles.
<mikecmpbll> yeah, that's the difference, i've been here since i graduated about 4 years ago.
nankyokusei has joined #ruby
<baweaver> I'm about 5 years working with a base of 125k
loincloth has quit [Ping timeout: 255 seconds]
<mikecmpbll> fair enough. that would be atypical here for sure.
<mikecmpbll> unless you work in financial industry or something
<mikecmpbll> as a contractor
aegis3121 has quit [Ping timeout: 265 seconds]
<baweaver> Rent is also averaging around $2500/m
<mikecmpbll> ah okay, my rent for a 2 bedroom house up north of england is $650/m :p
jphase has quit [Ping timeout: 260 seconds]
vqrs has quit [Ping timeout: 260 seconds]
jaequery has joined #ruby
vqrs has joined #ruby
<baweaver> zenspider: What was Seattle at around for a Senior?
pygospa has joined #ruby
nankyokusei has quit [Ping timeout: 255 seconds]
<baweaver> ~120+?
ap4y has joined #ruby
xtsee has quit [Quit: WeeChat 1.5]
<strongcode> how do people generally unit test methods that use ARGV? Abstract them out into their own class?
<lupine> zenspider: relatively senior I guess
<zenspider> baweaver: something like that
<lupine> I've been a "software engineering lead" and a "senior developer" at that number
<strongcode> FWIW i'm using minitest
jackjackdripper has quit [Quit: Leaving.]
jwl has joined #ruby
snguyen has quit [Quit: Textual IRC Client: www.textualapp.com]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
biberu has quit []
<lupine> heh, yes, don't work work in london or san francisco
<lupine> mikecmpbll: northern england? I'm in york
skweek has quit [Ping timeout: 260 seconds]
<mikecmpbll> oh cool, north yorkshire also, but down in skipton ..
sonikspin has quit [Ping timeout: 260 seconds]
xemehc has quit [Quit: ZZZzzz…]
nando293921 has quit [Ping timeout: 255 seconds]
solocshaw has joined #ruby
xemehc has joined #ruby
wethu has joined #ruby
allcentu1 has quit [Quit: WeeChat 1.2]
dminuoso has joined #ruby
nettoweb has joined #ruby
<lupine> awesome. working on anything I'd recognise?
ajsharma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* lupine only recently moved to gitlab but likes to keep an eye on local prospects ;)
vqrs has quit [Ping timeout: 264 seconds]
jaequery has joined #ruby
ziprar is now known as zipace
ramfjord has joined #ruby
nando293921 has joined #ruby
<mikecmpbll> oh cool, you work remotely i assume?
patarr has quit [Quit: patarr]
vqrs has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
dminuoso has quit [Ping timeout: 240 seconds]
<mikecmpbll> we do a safeguarding product for schools/other institutions that work with vulnerable people.
RegulationD has quit [Remote host closed the connection]
<lupine> ah, worthy stuff
xemehc has quit [Quit: ZZZzzz…]
<lupine> yeah, gitlab's 100% remote. don't even have core hours
<lupine> they pay below market rate as a result, but it's well worth it
<lupine> (and market rate is insane anyway
polishdub has quit [Quit: Leaving]
<mikecmpbll> sounds cool. we use gitlab ce atm, only recently started with it :)
<lupine> ooh, awesome :D
<lupine> 8.12 is out tomorrow, full of my code. bit scary!
gfvcastro has joined #ruby
solocshaw has quit [Ping timeout: 272 seconds]
crabbb has joined #ruby
<crabbb> hi
blackgoat has joined #ruby
<baweaver> crabbb hi
<crabbb> hy
<crabbb> finally got someone alive !
<crabbb> huh
<mikecmpbll> woot!
<baweaver> there are several of us online at most odd hours.
<crabbb> yeah i can c status !
<crabbb> but i think others server do more better atleast active users !
<baweaver> have a ruby question?
<crabbb> no i found it somehow Active ! lol
claw has quit [Ping timeout: 272 seconds]
<mikecmpbll> intriguing.
Danishman has quit [Read error: Connection reset by peer]
Qommand0r has quit [Quit: Exiting...]
claw has joined #ruby
Danishman has joined #ruby
Zamyatin has quit [Quit: Knocking out. Peace y'all...]
[k- has quit [Quit: -a- IRC for Android 2.1.32]
tmtwd has joined #ruby
flying has quit []
jenrzzz has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb has quit [Ping timeout: 264 seconds]
serard has quit [Remote host closed the connection]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
sneakers has joined #ruby
polysics has quit [Remote host closed the connection]
jshjsh has joined #ruby
Qommand0r has joined #ruby
darix has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
darix has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darix has quit [Client Quit]
JoshS has quit [Ping timeout: 255 seconds]
gfvcastro has quit [Ping timeout: 265 seconds]
iamb has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
elenatanasoiu has joined #ruby
jphase has joined #ruby
firstdayonthejob has quit [Ping timeout: 255 seconds]
darix has joined #ruby
alxgsv has joined #ruby
hopsoft has joined #ruby
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diofeher has joined #ruby
<diofeher> is there any way to do that without syntax error in Ruby/Rails: raise "Test" && count += 1 if a.nil?
<lupine> if a.nil? ; count +=1 ; raise "test"; end
symm- has joined #ruby
Mintyl has joined #ruby
<baweaver> count +=1 and raise "test" unless a
<lupine> I hate that operator so much
gingray has quit [Ping timeout: 265 seconds]
<diofeher> unless? :)
<diofeher> when I started I got confused every time with it too
<diofeher> baweaver, lupine thanks a lot
<zenspider> strongcode: I usually design my code so that something will take an arg and default to ARGV, that way I can supply my own for test: def process_args args=ARGV
<zenspider> I heart `unless`. incredibly expressive
<strongcode> hmmm, ok. I'll work on that. Thanks
<strongcode> I think right now im doing something very, very silly
<zenspider> strongcode: what?
AnarchyAo has quit [Quit: ircN 8.00 for mIRC (20100904) - www.ircN.org]
<strongcode> you might hate me for this, let me paste some code
<lupine> no
<lupine> use a pastebin
<diofeher> thanks baweaver it worked with "and" but not with && :)
<baweaver> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<baweaver> precedence of operators
<baweaver> that being said a lot of people hate `and` and `or` for that reason
ledestin has joined #ruby
<zenspider> which is funny... because the above use of `and` is the "correct" (read: intended) use
<strongcode> i'll repent for m sins
<baweaver> Oh I know
<baweaver> people still get fussy over it though
<zenspider> strongcode: easy refactor. pull ARGV up to args=ARGV... but then throw out all your own option processing stuff and use stdlib
<baweaver> baweaver's rule: If they have time to whine about code style, they have time to take more stories into the sprint
<baweaver> problem fixes itself in about a month
<zenspider> haha
<strongcode> zenspider where `args` is an instance variable at object instantiation?
<zenspider> I might have to adopt that w/ my current client
<strongcode> s/instantiation/initialization
<zenspider> damn they talk a LOT
<zenspider> strongcode: no, I was thinking just an arg
<tax> does anyone here compile to javascript as opposed to learning js itself? and how does that work out for you?
<strongcode> I see
<strongcode> ok, thank you zenspider that makes sense to me
<strongcode> tax debugging will bite you in the ass with the former
<baweaver> tax: ##javascript
<zenspider> that way you still call parse_args normally, but in test you can do parse_args %w[-h] and the like
<strongcode> I like that solution
<baweaver> strongcode: source maps, not that big of an issue.
<zenspider> tax: I looked at coffeescript for about 5 minutes... that's about as long as it lasted
<lupine> well, tehre's opal
<zenspider> but it opened me up to moonscript (?) to wrap lua
<lupine> FWIW we recently converted all our coffeescript to javascript
<strongcode> baweaver significantly higher mental overhead than knowing the language source imo
<baweaver> ES6 needs it, and that is the language coming up
<baweaver> aaaaanyways, gotta run.
<baweaver> cheers
<strongcode> zenspider you said use stdlib for arg parsing - what exactly were you referring to>?
dhollinger has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 240 seconds]
Danishman has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
dhollinger has joined #ruby
Rodya_ has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
ptx0 has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
antogon has joined #ruby
lupine has quit [Remote host closed the connection]
saneax-_-|AFK is now known as saneax
antogon has quit [Client Quit]
lupine has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marxarelli has joined #ruby
Nanuq has quit [Quit: biaf]
leea has joined #ruby
dminuoso has joined #ruby
Nanuq has joined #ruby
redpants has quit [Ping timeout: 255 seconds]
ptx0 has joined #ruby
skweek has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
nikivi has joined #ruby
RegulationD has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
diofeher has quit [Quit: Leaving]
danst has quit [Ping timeout: 265 seconds]
weemsledeux has joined #ruby
danst has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
cdg has quit [Remote host closed the connection]
Rufus has quit [Quit: Textual IRC Client: www.textualapp.com]
ptx0 has quit [Ping timeout: 272 seconds]
tdy has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
lucast has quit [Ping timeout: 244 seconds]
nando293921 has quit [Ping timeout: 240 seconds]
nikivi has quit [Quit: irc]
elenatanasoiu has quit [Ping timeout: 255 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
lucast has joined #ruby
crabbb has left #ruby [#ruby]
CuriousMind has quit [Ping timeout: 240 seconds]
zipace has quit [Read error: Connection reset by peer]
kitikonti has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zipace has joined #ruby
polysics has joined #ruby
ptx0 has joined #ruby
polysics has quit [Read error: Connection reset by peer]
polysics has joined #ruby
RedNifre_ has joined #ruby
polysics has quit [Ping timeout: 248 seconds]
RedNifre has quit [Ping timeout: 248 seconds]
negatifze has joined #ruby
redpants has joined #ruby