havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
anjen has quit [Quit: anjen]
<havenwood> Eiam_: I recall it worked last I tried it. I'd suggest pinging the good folk in the #jruby channel.
<havenwood> Eiam_: What version of JRuby?
<Eiam_> oh its a different community? =/
<Eiam_> latest, 9.2.0.0
<havenwood> Eiam_: It's just a more specific subset of the community. The core devs hangout there.
<havenwood> They're often here too!
shinnya has joined #ruby
<Eiam_> im just ttrying to explore migrating from ruby to jruby
dogweather has joined #ruby
<havenwood> Eiam_: ah, neat
OneNeptune has joined #ruby
<havenwood> Eiam_: In my experience, if you say "JRuby" three times in any channel, headius will appear. :-D
<Eiam_> lol
<Eiam_> ill wait to9 gwt back to my desk
<Eiam_> brb
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
<havenwood> JRuby with invoke dynamic and graal seems really promising. The speed...
nowhere_man has quit [Remote host closed the connection]
knight33 has quit [Ping timeout: 240 seconds]
cb_ has joined #ruby
nowhere_man has joined #ruby
cb__ has quit [Ping timeout: 240 seconds]
<Eiam> okay, back
dogweather has quit [Ping timeout: 240 seconds]
ElFerna has quit [Ping timeout: 256 seconds]
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapety_ has quit [Remote host closed the connection]
<Eiam> jruby jruby jruby!
r29v has quit [Quit: r29v]
<Eiam> havenwood: I'm just being selfish and trying to produce a product that fits through some of my pipelines easier (.jars)
<Eiam> there was nothing wrong with the MRI ruby I've used for a decade =p
moei has joined #ruby
dendazen has quit [Ping timeout: 264 seconds]
Guest58336 has joined #ruby
cyberg has quit [Remote host closed the connection]
OneNeptune has joined #ruby
cagomez has quit [Remote host closed the connection]
starseed0000 has joined #ruby
cagomez has joined #ruby
wontruefree has quit [Ping timeout: 248 seconds]
<havenwood> Eiam: I forget sometimes that Clojure is just a jar. Neat you can just use it from JRuby: https://gist.github.com/havenwood/5654484
cagomez has quit [Ping timeout: 268 seconds]
Guest58336 has quit [Ping timeout: 260 seconds]
Guest58336 has joined #ruby
dogweather has joined #ruby
zachk has quit [Quit: Leaving]
dogweather has quit [Ping timeout: 268 seconds]
Guest28040 has quit [Remote host closed the connection]
tpendragon has quit [Remote host closed the connection]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inside has quit [Disconnected by services]
Guest58336 has quit [Ping timeout: 264 seconds]
dar123 has joined #ruby
SeepingN has joined #ruby
nythalcrow has quit [Ping timeout: 264 seconds]
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Eiam> havenwood: so some of my peers were uhm, convincing me that step 1 was to get me to use JRuby, step 2 was to get me to stop using Ruby and instead use Scala/Clojure or something else that just targets the JVM
nythalcrow has joined #ruby
<Eiam> I don't think I'm big data/enterprise-y enough to follow them onto that path, but ruby to jruby I think I'm alright with =p
giraffe has joined #ruby
giraffe is now known as Guest33711
tpendragon has joined #ruby
jenrzzz_ has joined #ruby
workmad3 has joined #ruby
erlend has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz_ has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 268 seconds]
Guest58336 has joined #ruby
cloaked1 has quit [Quit: Leaving]
orbyt_ has joined #ruby
bmurt has joined #ruby
jrafanie has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
Guest58336 has quit [Ping timeout: 260 seconds]
Guest58336 has joined #ruby
starseed0000 has quit [Ping timeout: 260 seconds]
grilix has joined #ruby
Vingador has joined #ruby
bmurt has quit [Remote host closed the connection]
bmurt has joined #ruby
Guest58336 has quit [Ping timeout: 240 seconds]
dar123 has quit [Quit: Textual IRC Client: www.textualapp.com]
sameerynho has quit [Ping timeout: 245 seconds]
white_lilies has joined #ruby
ElFerna has joined #ruby
gizmore|2 has joined #ruby
shinnya has quit [Ping timeout: 264 seconds]
gizmore has quit [Ping timeout: 240 seconds]
dogweather has joined #ruby
cschneid has joined #ruby
cschneid has quit [Remote host closed the connection]
dogweather has quit [Ping timeout: 240 seconds]
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
cschneid has joined #ruby
cb_ has quit [Quit: This computer has gone to sleep]
KeyJoo has quit [Ping timeout: 240 seconds]
akaiiro has quit [Ping timeout: 248 seconds]
erlend has joined #ruby
chamar has joined #ruby
ElFerna has quit [Ping timeout: 248 seconds]
RougeR has quit [Ping timeout: 264 seconds]
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
akaiiro has joined #ruby
herbmillerjr has joined #ruby
cadillac_ has quit [Quit: I quit]
cschneid has quit [Remote host closed the connection]
cadillac_ has joined #ruby
dogweather has joined #ruby
cschneid has joined #ruby
braincrash has quit [Quit: bye bye]
dogweather has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
cschneid has quit [Remote host closed the connection]
braincrash has joined #ruby
workmad3 has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
Guest58336 has quit [Ping timeout: 240 seconds]
<zenspider> rescue Support::AllExceptionsExceptOnesWeMustNotRescue => e
* zenspider weeps
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kapil___ has joined #ruby
sauvin has joined #ruby
shinnya has joined #ruby
MRd1 has joined #ruby
akaiiro has quit [Ping timeout: 248 seconds]
Guest31275 has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
<MRd1> Wellcome
Nicmavr has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nicmavr is now known as Guest87650
cadillac_ has quit [Ping timeout: 256 seconds]
dogweather has joined #ruby
foamz has quit [Ping timeout: 256 seconds]
armando has quit [Quit: ZNC 1.8.x-nightly-20180515-4f3ed095 - https://znc.in]
ams__ has quit [Ping timeout: 256 seconds]
machty has quit [Ping timeout: 256 seconds]
hsiktas has quit [Ping timeout: 255 seconds]
wontruefree has joined #ruby
jzhu has quit [Ping timeout: 265 seconds]
dreamthese has quit [Remote host closed the connection]
cadillac_ has joined #ruby
bove has quit [Ping timeout: 255 seconds]
dreamthese has joined #ruby
yo61 has quit [Ping timeout: 240 seconds]
caw________ has quit [Ping timeout: 256 seconds]
surminus has quit [Ping timeout: 256 seconds]
Meow-J___ has quit [Ping timeout: 256 seconds]
kapil___ has quit [Ping timeout: 245 seconds]
mrsolo has quit [Ping timeout: 245 seconds]
JackMc has quit [Ping timeout: 265 seconds]
jwheare has quit [Ping timeout: 255 seconds]
jetpack_joe has quit [Ping timeout: 255 seconds]
aarongodin has quit [Ping timeout: 255 seconds]
kevinburke has quit [Ping timeout: 256 seconds]
rann has quit [Ping timeout: 256 seconds]
justache has quit [Ping timeout: 256 seconds]
pmarreck has quit [Ping timeout: 256 seconds]
DarkUnicorn has quit [Ping timeout: 255 seconds]
Lloyd has quit [Ping timeout: 276 seconds]
epochwolf has quit [Ping timeout: 256 seconds]
t0xik has quit []
mrsolo has joined #ruby
machty has joined #ruby
bove has joined #ruby
hsiktas has joined #ruby
ams__ has joined #ruby
foamz has joined #ruby
<zenspider> mmmm split
yo61 has joined #ruby
orbyt_ has joined #ruby
surminus has joined #ruby
Lloyd has joined #ruby
epochwolf has joined #ruby
rann has joined #ruby
aarongodin has joined #ruby
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
DarkUnicorn has joined #ruby
jetpack_joe has joined #ruby
caw________ has joined #ruby
kevinburke has joined #ruby
pmarreck has joined #ruby
JackMc has joined #ruby
kapil___ has joined #ruby
justache has joined #ruby
wontruefree has quit [Ping timeout: 265 seconds]
jnollette has quit [Remote host closed the connection]
Guest58336 has joined #ruby
Brak____________ has quit [Ping timeout: 240 seconds]
knowtheory_ has quit [Ping timeout: 256 seconds]
err_ok has quit [Ping timeout: 256 seconds]
jhill__ has quit [Ping timeout: 255 seconds]
sparc has quit [Ping timeout: 240 seconds]
mitsuhiko has quit [Ping timeout: 256 seconds]
Guest74533_ has quit [Ping timeout: 256 seconds]
kaia has quit [Ping timeout: 256 seconds]
HalcyonicStorm__ has quit [Ping timeout: 256 seconds]
maciuszek has quit [Ping timeout: 256 seconds]
[diecast] has quit [Ping timeout: 256 seconds]
jnollette has joined #ruby
stephenh has quit [Ping timeout: 240 seconds]
jnix has quit [Ping timeout: 240 seconds]
ckrailo has quit [Ping timeout: 256 seconds]
ELLIOTTCABLE has quit [Ping timeout: 260 seconds]
daxroc_ has quit [Ping timeout: 256 seconds]
lesce has quit [Ping timeout: 256 seconds]
Guest21194 has quit [Ping timeout: 256 seconds]
fury has quit [Ping timeout: 256 seconds]
rflot has quit [Ping timeout: 276 seconds]
afisher has quit [Ping timeout: 276 seconds]
incomprehensibly has quit [Ping timeout: 276 seconds]
jmhmccr has quit [Ping timeout: 276 seconds]
untitaker has quit [Ping timeout: 240 seconds]
umesh has quit [Ping timeout: 245 seconds]
Flashynuff has quit [Ping timeout: 245 seconds]
Chew has quit [Ping timeout: 245 seconds]
Zinder has quit [Ping timeout: 256 seconds]
Iambchop has quit [Ping timeout: 256 seconds]
mr-robert has quit [Ping timeout: 256 seconds]
arcturiaen has quit [Ping timeout: 256 seconds]
mroth has quit [Ping timeout: 256 seconds]
unsymbol has quit [Ping timeout: 260 seconds]
ReinH has quit [Ping timeout: 260 seconds]
koenrh has quit [Ping timeout: 260 seconds]
Fenhl has quit [Ping timeout: 255 seconds]
cschneid has joined #ruby
thi has quit [Ping timeout: 276 seconds]
dukedave has quit [Ping timeout: 276 seconds]
cstrahan_ has quit [Ping timeout: 240 seconds]
mostlybadfly has quit [Ping timeout: 256 seconds]
Majost has quit [Ping timeout: 256 seconds]
kapowaz has quit [Ping timeout: 256 seconds]
KnownSyntax has quit [Ping timeout: 260 seconds]
eising has quit [Ping timeout: 256 seconds]
drakan has quit [Ping timeout: 256 seconds]
Yonk__ has quit [Ping timeout: 276 seconds]
kspencer has quit [Ping timeout: 276 seconds]
cttttt has quit [Ping timeout: 276 seconds]
jabreity has quit [Ping timeout: 276 seconds]
craysiii has quit [Ping timeout: 276 seconds]
podman has quit [Ping timeout: 276 seconds]
nebben has quit [Ping timeout: 276 seconds]
codepete has quit [Ping timeout: 276 seconds]
Guest53256 has quit [Ping timeout: 276 seconds]
tycoon177 has quit [Ping timeout: 276 seconds]
rjungemann has quit [Ping timeout: 276 seconds]
rfv has quit [Ping timeout: 256 seconds]
andersh has quit [Ping timeout: 256 seconds]
cjs226 has quit [Ping timeout: 256 seconds]
BuildTheRobots has quit [Ping timeout: 256 seconds]
iamdevnul has quit [Ping timeout: 260 seconds]
devlaf has quit [Ping timeout: 255 seconds]
seanh has quit [Ping timeout: 255 seconds]
graingert has quit [Ping timeout: 276 seconds]
skmp has quit [Ping timeout: 276 seconds]
oblak has quit [Ping timeout: 276 seconds]
HashNuke has quit [Ping timeout: 276 seconds]
mrsolo has quit [Ping timeout: 245 seconds]
mattwc has quit [Ping timeout: 256 seconds]
pwillard has quit [Ping timeout: 240 seconds]
WA9ACE has quit [Ping timeout: 255 seconds]
jxf has quit [Ping timeout: 256 seconds]
doesntbyte has quit [Ping timeout: 256 seconds]
JackMc has quit [Ping timeout: 245 seconds]
kapil___ has quit [Ping timeout: 245 seconds]
jetpack_joe has quit [Ping timeout: 245 seconds]
caw________ has quit [Ping timeout: 245 seconds]
justache has quit [Ping timeout: 245 seconds]
yo61 has quit [Ping timeout: 245 seconds]
bove has quit [Ping timeout: 245 seconds]
kireevco_ has quit [Ping timeout: 276 seconds]
peteretep has quit [Ping timeout: 276 seconds]
solidsnack has quit [Ping timeout: 276 seconds]
pizzaops has quit [Ping timeout: 276 seconds]
justinweiss has quit [Ping timeout: 256 seconds]
Mutsuhito has quit [Ping timeout: 276 seconds]
pmarreck has quit [Ping timeout: 260 seconds]
DarkUnicorn has quit [Ping timeout: 260 seconds]
aarongodin has quit [Ping timeout: 260 seconds]
epochwolf has quit [Ping timeout: 260 seconds]
Lloyd has quit [Ping timeout: 260 seconds]
rann has quit [Ping timeout: 260 seconds]
surminus has quit [Ping timeout: 260 seconds]
adambeynon has quit [Ping timeout: 260 seconds]
olivierjanss has quit [Ping timeout: 260 seconds]
kevinburke has quit [Ping timeout: 260 seconds]
hsiktas has quit [Ping timeout: 260 seconds]
machty has quit [Ping timeout: 260 seconds]
foamz has quit [Ping timeout: 260 seconds]
ams__ has quit [Ping timeout: 260 seconds]
dmnd has quit [Ping timeout: 255 seconds]
colstrom has quit [Ping timeout: 255 seconds]
boxrick has quit [Ping timeout: 276 seconds]
michaelmeep__ has quit [Ping timeout: 276 seconds]
justizin has quit [Ping timeout: 276 seconds]
Travis-42 has quit [Ping timeout: 276 seconds]
charles81_ has quit [Ping timeout: 276 seconds]
darthThorik has quit [Ping timeout: 240 seconds]
ircmaxell has quit [Ping timeout: 256 seconds]
deimos has quit [Ping timeout: 256 seconds]
avdi has quit [Ping timeout: 256 seconds]
ewilliam_ has quit [Ping timeout: 276 seconds]
bcavileer has quit [Ping timeout: 276 seconds]
gmcintire has quit [Ping timeout: 276 seconds]
micalexander has quit [Ping timeout: 255 seconds]
zipkid has quit [Ping timeout: 255 seconds]
amitchellbullard has quit [Ping timeout: 255 seconds]
schaary has quit [Ping timeout: 260 seconds]
Tony-St4rk has quit [Ping timeout: 256 seconds]
raggi has quit [Ping timeout: 256 seconds]
Flabbergazta_ has quit [Ping timeout: 256 seconds]
jimeh has quit [Ping timeout: 240 seconds]
AndyWojo has quit [Ping timeout: 276 seconds]
Diabolik has quit [Ping timeout: 276 seconds]
JJonah has quit [Ping timeout: 276 seconds]
danzilio has quit [Ping timeout: 276 seconds]
barq has quit [Ping timeout: 276 seconds]
manveru has quit [Ping timeout: 276 seconds]
thinkpad has quit [Ping timeout: 240 seconds]
tekk has quit [Ping timeout: 240 seconds]
gizmore|2 has quit [Remote host closed the connection]
thinkpad has joined #ruby
tekk has joined #ruby
<zenspider> the hoops I'm jumping through... even the code is roughly 1:10
Guest58336 has quit [Ping timeout: 248 seconds]
grilix has quit [Ping timeout: 255 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
__goodnight__ has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
white_lilies has quit [Ping timeout: 245 seconds]
__goodnight__ has quit [Read error: Connection reset by peer]
cass_j has left #ruby [#ruby]
tdy has joined #ruby
wontruefree has joined #ruby
MRd1 has quit [Ping timeout: 240 seconds]
dogweather has quit [Remote host closed the connection]
akaiiro has joined #ruby
ciscam has quit [Ping timeout: 276 seconds]
ciscam has joined #ruby
cschneid has quit [Remote host closed the connection]
Guest58336 has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
ltd has quit [Ping timeout: 256 seconds]
ltd has joined #ruby
Guest58336 has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
RougeR has quit [Ping timeout: 276 seconds]
cschneid has joined #ruby
darkhanb has joined #ruby
akaiiro has quit [Remote host closed the connection]
the_f0ster has quit [Ping timeout: 256 seconds]
Eiam has quit [Ping timeout: 245 seconds]
dogweather has joined #ruby
DTZUZO has quit [Ping timeout: 248 seconds]
Guest58336 has quit [Ping timeout: 276 seconds]
r29v has joined #ruby
dogweather has quit [Ping timeout: 256 seconds]
r29v has quit [Client Quit]
r29v has joined #ruby
dogweather has joined #ruby
dogweather has quit [Read error: Connection reset by peer]
dogweather has joined #ruby
r29v has quit [Client Quit]
DTZUZO has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZO has quit [Ping timeout: 256 seconds]
aceruser has quit [Remote host closed the connection]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
workmad3 has joined #ruby
cschneid has quit [Remote host closed the connection]
apeiros has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
Guest58336 has joined #ruby
wontruefree has quit [Quit: bye]
podman has joined #ruby
andersh has joined #ruby
schleppel has joined #ruby
Lloyd has joined #ruby
DarkUnicorn has joined #ruby
darthThorik has joined #ruby
Flabbergazta_ has joined #ruby
[diecast] has joined #ruby
koenrh has joined #ruby
AndyWojo has joined #ruby
HashNuke has joined #ruby
jxf has joined #ruby
lesce has joined #ruby
eising has joined #ruby
colstrom has joined #ruby
craysiii has joined #ruby
Guest21194 has joined #ruby
Mutsuhito has joined #ruby
Chew has joined #ruby
ircmaxell has joined #ruby
gmcintire has joined #ruby
maciuszek has joined #ruby
fury has joined #ruby
codepete has joined #ruby
umesh has joined #ruby
rjungemann has joined #ruby
justizin has joined #ruby
Fenhl has joined #ruby
KnownSyntax has joined #ruby
ur5us has quit [Remote host closed the connection]
dogweather has quit [Remote host closed the connection]
justache has joined #ruby
Guest74533_ has joined #ruby
daxroc_ has joined #ruby
unsymbol has joined #ruby
Guest58336 has quit [Ping timeout: 256 seconds]
jmhmccr has joined #ruby
solidsnack has joined #ruby
kireevco_ has joined #ruby
Guest58336 has joined #ruby
afisher has joined #ruby
aufi has joined #ruby
WA9ACE has joined #ruby
Travis-42 has joined #ruby
untitaker has joined #ruby
JJonah has joined #ruby
nebben has joined #ruby
schaary has joined #ruby
anisha has joined #ruby
dukedave has joined #ruby
t0xik has joined #ruby
Tony-St4rk has joined #ruby
rflot has joined #ruby
BuildTheRobots has joined #ruby
oblak has joined #ruby
cstrahan_ has joined #ruby
mitsuhiko has joined #ruby
err_ok has joined #ruby
charles81_ has joined #ruby
kaia has joined #ruby
justinweiss has joined #ruby
devlaf has joined #ruby
Iambchop_ has joined #ruby
deimos has joined #ruby
surminus has joined #ruby
sparc has joined #ruby
seanh has joined #ruby
aarongodin has joined #ruby
adambeynon has joined #ruby
drakan has joined #ruby
mroth has joined #ruby
mr-robert has joined #ruby
mattwc has joined #ruby
kapil___ has joined #ruby
manveru has joined #ruby
zipkid has joined #ruby
Flashynuff has joined #ruby
Yonk__ has joined #ruby
dmnd has joined #ruby
danzilio has joined #ruby
rfv has joined #ruby
avdi has joined #ruby
raggi has joined #ruby
michaelmeep__ has joined #ruby
Diabolik has joined #ruby
skmp has joined #ruby
Vingador_ has joined #ruby
barq has joined #ruby
Vingador has quit [Ping timeout: 240 seconds]
conta has joined #ruby
Guest58336 has quit [Ping timeout: 260 seconds]
pmarreck has joined #ruby
hsiktas has joined #ruby
kevinburke has joined #ruby
foamz has joined #ruby
rann has joined #ruby
surminus has quit [Ping timeout: 276 seconds]
KnownSyntax has quit [Ping timeout: 256 seconds]
conta has quit [Read error: Connection reset by peer]
justache has quit [Ping timeout: 256 seconds]
jetpack_joe has joined #ruby
JackMc has joined #ruby
surminus has joined #ruby
Inline has quit [Quit: Leaving]
SeepingN has joined #ruby
howdoi has joined #ruby
hsiktas has quit [Ping timeout: 256 seconds]
kapil___ has quit [Ping timeout: 256 seconds]
conta has joined #ruby
Vingador_ has quit [Remote host closed the connection]
aarongodin has quit [Ping timeout: 276 seconds]
cjs226 has joined #ruby
boxrick has joined #ruby
foamz has quit [Ping timeout: 276 seconds]
dogweather has joined #ruby
HalcyonicStorm__ has joined #ruby
jnix has joined #ruby
surminus has quit [Ping timeout: 245 seconds]
t0xik has quit [Ping timeout: 260 seconds]
rann has quit [Ping timeout: 260 seconds]
nebben has quit [Ping timeout: 276 seconds]
craysiii has quit [Ping timeout: 276 seconds]
Lloyd has quit [Ping timeout: 276 seconds]
jetpack_joe has quit [Ping timeout: 245 seconds]
aufi has quit [Ping timeout: 256 seconds]
kevinburke has quit [Ping timeout: 256 seconds]
JackMc has quit [Ping timeout: 240 seconds]
DarkUnicorn has quit [Ping timeout: 256 seconds]
howdoi has quit [Ping timeout: 245 seconds]
umesh has quit [Ping timeout: 256 seconds]
rjungemann has quit [Ping timeout: 256 seconds]
pmarreck has quit [Ping timeout: 256 seconds]
Flashynuff has quit [Ping timeout: 256 seconds]
rflot has quit [Ping timeout: 256 seconds]
jmhmccr has quit [Ping timeout: 256 seconds]
Guest21194 has quit [Ping timeout: 256 seconds]
adambeynon has quit [Ping timeout: 265 seconds]
raggi has quit [Ping timeout: 256 seconds]
mattwc has quit [Ping timeout: 256 seconds]
cjs226 has quit [Ping timeout: 255 seconds]
podman has quit [Ping timeout: 256 seconds]
Tony-St4rk has quit [Ping timeout: 276 seconds]
kireevco_ has quit [Ping timeout: 276 seconds]
Fenhl has quit [Ping timeout: 276 seconds]
AndyWojo has quit [Ping timeout: 276 seconds]
aupadhye has joined #ruby
barq has quit [Ping timeout: 276 seconds]
avdi has quit [Ping timeout: 276 seconds]
deimos has quit [Ping timeout: 265 seconds]
WA9ACE has quit [Ping timeout: 256 seconds]
lesce has quit [Ping timeout: 256 seconds]
zipkid has quit [Ping timeout: 256 seconds]
schaary has quit [Ping timeout: 256 seconds]
afisher has quit [Ping timeout: 256 seconds]
unsymbol has quit [Ping timeout: 256 seconds]
justizin has quit [Ping timeout: 256 seconds]
fury has quit [Ping timeout: 256 seconds]
JJonah has quit [Ping timeout: 276 seconds]
michaelmeep__ has quit [Ping timeout: 265 seconds]
mr-robert has quit [Ping timeout: 265 seconds]
justinweiss has quit [Ping timeout: 276 seconds]
mitsuhiko has quit [Ping timeout: 276 seconds]
Travis-42 has quit [Ping timeout: 256 seconds]
ircmaxell has quit [Ping timeout: 256 seconds]
jxf has quit [Ping timeout: 256 seconds]
darthThorik has quit [Ping timeout: 256 seconds]
dukedave has quit [Ping timeout: 256 seconds]
eising has quit [Ping timeout: 256 seconds]
HashNuke has quit [Ping timeout: 256 seconds]
[diecast] has quit [Ping timeout: 256 seconds]
danzilio has quit [Ping timeout: 265 seconds]
kaia has quit [Ping timeout: 265 seconds]
err_ok has quit [Ping timeout: 265 seconds]
oblak has quit [Ping timeout: 265 seconds]
solidsnack has quit [Ping timeout: 276 seconds]
daxroc_ has quit [Ping timeout: 276 seconds]
Mutsuhito has quit [Ping timeout: 276 seconds]
BuildTheRobots has quit [Ping timeout: 256 seconds]
untitaker has quit [Ping timeout: 256 seconds]
Guest74533_ has quit [Ping timeout: 256 seconds]
HalcyonicStorm__ has quit [Ping timeout: 245 seconds]
Iambchop_ has quit [Ping timeout: 276 seconds]
skmp has quit [Ping timeout: 256 seconds]
Diabolik has quit [Ping timeout: 256 seconds]
rfv has quit [Ping timeout: 256 seconds]
Yonk__ has quit [Ping timeout: 256 seconds]
mroth has quit [Ping timeout: 256 seconds]
seanh has quit [Ping timeout: 256 seconds]
sparc has quit [Ping timeout: 256 seconds]
drakan has quit [Ping timeout: 256 seconds]
cstrahan_ has quit [Ping timeout: 256 seconds]
codepete has quit [Ping timeout: 256 seconds]
gmcintire has quit [Ping timeout: 256 seconds]
colstrom has quit [Ping timeout: 256 seconds]
jnix has quit [Ping timeout: 260 seconds]
boxrick has quit [Ping timeout: 260 seconds]
manveru has quit [Ping timeout: 265 seconds]
devlaf has quit [Ping timeout: 265 seconds]
charles81_ has quit [Ping timeout: 265 seconds]
maciuszek has quit [Ping timeout: 276 seconds]
Chew has quit [Ping timeout: 276 seconds]
koenrh has quit [Ping timeout: 276 seconds]
Flabbergazta_ has quit [Ping timeout: 276 seconds]
andersh has quit [Ping timeout: 276 seconds]
dmnd has quit [Ping timeout: 276 seconds]
konsolebox has quit [Ping timeout: 240 seconds]
dogweather has quit [Ping timeout: 240 seconds]
Mike11 has joined #ruby
KnownSyntax has joined #ruby
howdoi has joined #ruby
kspencer has joined #ruby
kevinburke has joined #ruby
machty has joined #ruby
justache has joined #ruby
hsiktas has joined #ruby
kapil___ has joined #ruby
foamz has joined #ruby
rjungemann has joined #ruby
Lloyd has joined #ruby
Guest58336 has joined #ruby
Flashynuff has joined #ruby
surminus has joined #ruby
t0xik has joined #ruby
conta has quit [Read error: Connection reset by peer]
pmarreck has joined #ruby
JackMc has joined #ruby
umesh has joined #ruby
caw________ has joined #ruby
iamdevnul has joined #ruby
epochwolf has joined #ruby
conta has joined #ruby
aarongodin has joined #ruby
nebben has joined #ruby
jwheare has joined #ruby
jetpack_joe has joined #ruby
ams__ has joined #ruby
kapowaz has joined #ruby
tycoon177 has joined #ruby
Mutsuhito has joined #ruby
eising has joined #ruby
Flabbergazta_ has joined #ruby
WA9ACE has joined #ruby
daxroc_ has joined #ruby
oblak has joined #ruby
amitchellbullard has joined #ruby
JJonah has joined #ruby
[diecast] has joined #ruby
seanh has joined #ruby
BuildTheRobots has joined #ruby
devlaf has joined #ruby
afisher has joined #ruby
knowtheory_ has joined #ruby
Majost has joined #ruby
jimeh has joined #ruby
Hobbyboy has quit [Ping timeout: 276 seconds]
mrsolo has joined #ruby
jnix has joined #ruby
bove has joined #ruby
micalexander has joined #ruby
skryking_ has joined #ruby
Meow-J___ has joined #ruby
yo61 has joined #ruby
justizin has joined #ruby
kspencer has quit [Ping timeout: 256 seconds]
AndyWojo has joined #ruby
jabreity has joined #ruby
zipkid has joined #ruby
gmcintire has joined #ruby
Tony-St4rk has joined #ruby
solidsnack has joined #ruby
cjs226 has joined #ruby
Guest53256 has joined #ruby
boxrick has joined #ruby
adambeynon has joined #ruby
ckrailo has joined #ruby
colstrom has joined #ruby
maciuszek has joined #ruby
Brak____________ has joined #ruby
codepete has joined #ruby
drakan has joined #ruby
fury has joined #ruby
mattwc has joined #ruby
thi has joined #ruby
mitsuhiko has joined #ruby
rflot has joined #ruby
HalcyonicStorm__ has joined #ruby
bcavileer has joined #ruby
jmhmccr has joined #ruby
eising has joined #ruby
[diecast] has joined #ruby
Flabbergazta_ has joined #ruby
manveru has joined #ruby
oblak has joined #ruby
devlaf has joined #ruby
BuildTheRobots has joined #ruby
ewilliam_ has joined #ruby
pizzaops has joined #ruby
daxroc_ has joined #ruby
justinweiss has joined #ruby
ELLIOTTCABLE has joined #ruby
WA9ACE has joined #ruby
daxroc_ has quit [Changing host]
eising has quit [Changing host]
Flabbergazta_ has quit [Changing host]
[diecast] has quit [Changing host]
BuildTheRobots has quit [Changing host]
devlaf has quit [Changing host]
WA9ACE has quit [Changing host]
oblak has quit [Changing host]
JJonah has quit [Changing host]
BuildTheRobots has joined #ruby
JJonah has joined #ruby
seanh has joined #ruby
[diecast] has joined #ruby
amitchellbullard has joined #ruby
[diecast] has quit [Changing host]
amitchellbullard has quit [Changing host]
seanh has quit [Changing host]
afisher has joined #ruby
devlaf has joined #ruby
devlaf has quit [Changing host]
afisher has quit [Changing host]
Majost has joined #ruby
Majost has quit [Changing host]
knowtheory_ has joined #ruby
knowtheory_ has quit [Changing host]
jimeh has joined #ruby
jimeh has quit [Changing host]
Guest58336 has quit [Ping timeout: 256 seconds]
barq has joined #ruby
nickjj_ has joined #ruby
kspencer_ has joined #ruby
kspencer_ has quit [Excess Flood]
barq has quit [Max SendQ exceeded]
[diecast] has quit [Max SendQ exceeded]
fury has quit [Max SendQ exceeded]
kaia has joined #ruby
Guest74533_ has joined #ruby
pizzaops has quit [Max SendQ exceeded]
rfv has joined #ruby
danzilio has joined #ruby
ams__ has quit [Max SendQ exceeded]
dmnd has joined #ruby
rflot has quit [Max SendQ exceeded]
Travis-42 has joined #ruby
BuildTheRobots has quit [Max SendQ exceeded]
charles81_ has joined #ruby
michaelmeep__ has joined #ruby
ReinH has joined #ruby
jxf has joined #ruby
cstrahan_ has joined #ruby
peteretep has joined #ruby
kireevco_ has joined #ruby
kspencer_ has joined #ruby
Meow-J___ has quit [Max SendQ exceeded]
schaary has joined #ruby
mroth has joined #ruby
yo61 has quit [Max SendQ exceeded]
skryking has quit [Ping timeout: 240 seconds]
fury has joined #ruby
dukedave has joined #ruby
err_ok has joined #ruby
sparc has joined #ruby
rflot has joined #ruby
pizzaops has joined #ruby
[diecast] has joined #ruby
Guest74533_ has quit [Max SendQ exceeded]
kevinburke has quit []
Diabolik has joined #ruby
rfv has quit [Max SendQ exceeded]
Travis-42 has quit [Max SendQ exceeded]
avdi has joined #ruby
daxroc_ has joined #ruby
skmp has joined #ruby
Yonk__ has joined #ruby
ELLIOTTCABLE has quit [Max SendQ exceeded]
raggi has joined #ruby
Meow-J___ has joined #ruby
deimos has joined #ruby
yo61 has joined #ruby
BuildTheRobots has joined #ruby
pizzaops has quit [Max SendQ exceeded]
koenrh has joined #ruby
ams__ has joined #ruby
barq has joined #ruby
rflot has quit [Max SendQ exceeded]
Travis-42 has joined #ruby
[diecast] has quit [Max SendQ exceeded]
rfv has joined #ruby
dukedave has quit [Max SendQ exceeded]
Guest74533_ has joined #ruby
cstrahan_ has quit [Max SendQ exceeded]
nickjj has quit [Ping timeout: 264 seconds]
rflot has joined #ruby
lesce has joined #ruby
ELLIOTTCABLE has joined #ruby
rann has joined #ruby
deimos has quit [Max SendQ exceeded]
dukedave has joined #ruby
podman has joined #ruby
[diecast] has joined #ruby
pizzaops has joined #ruby
Travis-42 has quit [Max SendQ exceeded]
BuildTheRobots has quit [Max SendQ exceeded]
craysiii has joined #ruby
deimos has joined #ruby
cstrahan_ has joined #ruby
HashNuke has joined #ruby
darthThorik has joined #ruby
rfv has quit [Max SendQ exceeded]
DarkUnicorn has joined #ruby
pizzaops has quit [Max SendQ exceeded]
Chew has joined #ruby
andersh has joined #ruby
BuildTheRobots has joined #ruby
mr-robert has joined #ruby
Hobbyboy has joined #ruby
unsymbol has joined #ruby
rfv has joined #ruby
HashNuke has quit [Max SendQ exceeded]
pizzaops has joined #ruby
dogweather has joined #ruby
Fenhl has joined #ruby
Guest21194 has joined #ruby
Travis-42 has joined #ruby
Iambchop_ has joined #ruby
HashNuke has joined #ruby
untitaker has joined #ruby
pizzaops has quit [Max SendQ exceeded]
pizzaops has joined #ruby
ircmaxell has joined #ruby
andikr has joined #ruby
dogweather has quit [Ping timeout: 276 seconds]
haxx0r has joined #ruby
<haxx0r> is there a hash-merge that adds values to each other?
<haxx0r> {a: 0} + {a: 20} + {a: 11}
apeiros has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 256 seconds]
conta has quit [Ping timeout: 256 seconds]
kevinburke has joined #ruby
<Radar> haxx0r: each_with_object.
<baweaver> Radar / haxx0r: merge :)
<Radar> baweaver: does that take a block?
<Radar> Ah yeah it does :D
<baweaver> yep
<baweaver> really danged handy too
<Radar> >> a = { a: 1 }; b = { a: 2 }; c = a.merge(b) { |_k, old, new| old + new }
<ruby[bot]> Radar: # => {:a=>3} (https://eval.in/1024837)
<baweaver> >> [{a: 0}, {a: 20}, {a: 11}].reduce { |a, h| a.merge(h) { |key, old_val, new_val| old_val + new_val } }
<ruby[bot]> baweaver: # => {:a=>31} (https://eval.in/1024838)
<baweaver> Reduce is the swiss army knife of Enumerable :D
suukim has joined #ruby
<baweaver> Though if we're feeling frolicky tonight
reber has joined #ruby
<baweaver> >> hs = [{a: 0}, {a: 20}, {a: 11}]; adds_values = -> *, o, n { o + n }; merges_with = -> fn { -> a,b { a.merge(b, &fn) } }; hs.reduce(&merges_with[adds_values])
<ruby[bot]> baweaver: # => {:a=>31} (https://eval.in/1024839)
<baweaver> I almost prefer * to _ now.
<baweaver> because it truly ignores arguments instead of blitzing underscore
ciscam has quit [Ping timeout: 276 seconds]
ciscam has joined #ruby
pwillard has joined #ruby
Guest58336 has joined #ruby
chamar has quit [Ping timeout: 248 seconds]
jhill__ has joined #ruby
graingert has joined #ruby
stephenh has joined #ruby
arcturiaen_ has joined #ruby
cttttt has joined #ruby
mostlybadfly has joined #ruby
olivierjanss has joined #ruby
doesntbyte has joined #ruby
Guest58336 has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
clemens3 has joined #ruby
TomyWork has joined #ruby
workmad3 has joined #ruby
bobdobbs` has joined #ruby
bobdobbs has quit [Ping timeout: 265 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
incomprehensibly has joined #ruby
claudiuinberlin has joined #ruby
Zinder has joined #ruby
konsolebox has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
Guest58336 has quit [Ping timeout: 256 seconds]
Guest58336 has joined #ruby
Xiti` has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Mike11 has quit [Quit: Leaving.]
biberu has joined #ruby
Xiti has quit [Ping timeout: 264 seconds]
yohji has joined #ruby
ellcs has joined #ruby
saTchymoto has joined #ruby
sysvalve has joined #ruby
Xiti` has quit [Quit: Xiti`]
Guest58336 has quit [Ping timeout: 276 seconds]
Guest58336 has joined #ruby
Xiti has joined #ruby
Puffball has quit [Quit: Puffball]
dr3w_ has joined #ruby
DTZUZO has joined #ruby
ignujee[m] has joined #ruby
Guest58336 has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
Mike11 has joined #ruby
Beams has joined #ruby
nowhere_man has joined #ruby
Burgestrand has joined #ruby
p4p0l0 has joined #ruby
venmx has joined #ruby
conta has joined #ruby
aufi has joined #ruby
Burgestrand has quit [Quit: Closing time!]
duderonomy has joined #ruby
gil_ has quit [Ping timeout: 245 seconds]
Mike11 has quit [Ping timeout: 256 seconds]
Mike11 has joined #ruby
Mike11 has quit [Changing host]
Mike11 has joined #ruby
<ignujee[m]> Need help in fixing the following error
nowhere_man has quit [Ping timeout: 255 seconds]
darkhanb has quit [Ping timeout: 256 seconds]
Burgestrand has joined #ruby
dr3w_ has quit [Read error: Connection reset by peer]
sphenxes has joined #ruby
sphenxes has quit [Max SendQ exceeded]
dr3w_ has joined #ruby
ur5us has joined #ruby
<ignujee[m]> command used is
<ignujee[m]> `./bin/rake db:migrate db:seed db:test:prepare`
workmad3 has joined #ruby
dogweather has joined #ruby
soc42 has joined #ruby
yo61 has quit []
yo61 has joined #ruby
dr3w_ has joined #ruby
krandi has joined #ruby
andikr has quit [Ping timeout: 276 seconds]
dogweather has quit [Ping timeout: 268 seconds]
ishe has joined #ruby
ishe has quit [Quit: rcirc on GNU Emacs 25.3.1]
krandi has quit [Ping timeout: 240 seconds]
ishe has joined #ruby
dogweather has joined #ruby
conta1 has joined #ruby
conta has quit [Read error: Connection reset by peer]
anisha has quit [Ping timeout: 264 seconds]
ishe has left #ruby ["Killed buffer"]
conta1 has quit [Ping timeout: 256 seconds]
ishe has joined #ruby
andikr has joined #ruby
dogweather has quit [Read error: Connection timed out]
ishe` has joined #ruby
dogweather has joined #ruby
andikr has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit [Ping timeout: 265 seconds]
AJA4350 has joined #ruby
<arne> how do i get the name of the module i am in
ur5us has quit [Remote host closed the connection]
conta has joined #ruby
<arne> oh.
<arne> will i get problems if i overload .name of a module/class
dogweather has quit [Ping timeout: 256 seconds]
<arne> haha that is odd
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
megamos has joined #ruby
dogweather has joined #ruby
ur5us has joined #ruby
dogweather has quit [Ping timeout: 264 seconds]
Puffball has joined #ruby
herbmillerjr has joined #ruby
soniya29 has joined #ruby
tty has quit [Quit: tty]
ur5us has quit [Remote host closed the connection]
amar_ has joined #ruby
anisha has joined #ruby
amar_ has quit [Remote host closed the connection]
conta has quit [Quit: conta]
ur5us has joined #ruby
soniya29 has quit [Remote host closed the connection]
soniya29 has joined #ruby
cyberg has joined #ruby
conta has joined #ruby
nickjj_ is now known as nickjj
dr3w_ has joined #ruby
ur5us has quit [Remote host closed the connection]
Burgestrand has quit [Quit: Closing time!]
karapetyan has joined #ruby
conta has quit [Quit: conta]
soniya29 has quit [Ping timeout: 260 seconds]
amar_ has joined #ruby
andikr has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
amar_ has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
Burgestrand has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
ElFerna has joined #ruby
ElFerna has quit [Client Quit]
Mike11 has quit [Quit: Leaving.]
DTZUZO has quit [Ping timeout: 240 seconds]
Mike11 has joined #ruby
Mike11 has joined #ruby
ellcs has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
jrafanie has joined #ruby
jnollette has quit [Ping timeout: 250 seconds]
jamesaxl has joined #ruby
soc42 has quit [Remote host closed the connection]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jnollette has joined #ruby
chamar has joined #ruby
apparition47 has joined #ruby
biberu\ has joined #ruby
biberu has quit [Ping timeout: 245 seconds]
Mike11 has quit [Quit: Leaving.]
konsolebox has joined #ruby
cthomas has joined #ruby
<cthomas> Please help me how, can i define a button size in pixel with ruby tk/tcl
synthroid has joined #ruby
Guest58336 has quit [Ping timeout: 256 seconds]
conta has joined #ruby
Guest58336 has joined #ruby
conta has quit [Client Quit]
karapetyan has joined #ruby
Guest58336 has quit [Ping timeout: 265 seconds]
Guest58336 has joined #ruby
maxirater has joined #ruby
Guest58336 has quit [Ping timeout: 276 seconds]
cagomez has joined #ruby
cthomas has quit [Quit: Leaving]
Guest58336 has joined #ruby
cagomez has quit [Ping timeout: 268 seconds]
hightower2 has joined #ruby
Guest58336 has quit [Ping timeout: 256 seconds]
Guest58336 has joined #ruby
Sembei has joined #ruby
Pisuke has quit [Ping timeout: 264 seconds]
bmurt has joined #ruby
maxirater has quit [Quit: Konversation terminated!]
chat has joined #ruby
chat_ has quit [Ping timeout: 264 seconds]
hightower2 has quit [Ping timeout: 245 seconds]
k0mpa has joined #ruby
<arne> how would one cut a 16 byte string into 4 4 pieces?
<arne> i can't come up with something better than each_cons and join
<arne> oh and thats even wrong
<arne> im stupid, nvm
<dminuoso> arne: unpack('a4a4a4a4')?
<arne> "Cr24\x02\x00\x00\x00&\x01\x00\x00\x00\x01\x00\x00"
<arne> s[0...16].each_char.each_slice(4).to_a.map(&:join)[3].unpack("V")
<arne> this what i was searching
<dminuoso> uhh
andikr has quit [Remote host closed the connection]
<dminuoso> arne: you know that s[0..16] wont give you 16 bytes unless the encoding is in binary right?
<dminuoso> arne: why not simply go the unpack route?
<arne> dminuoso: yes
<arne> dminuoso: because i am stupid
<arne> forgot unpack works block-wise, too
Asher has quit [Ping timeout: 260 seconds]
dr3w_ has joined #ruby
<arne> why doesnt every language has something like (un)pack
<arne> as an internal feature, jesus
<arne> who wants to a[0] == x && a[1] == y...
dr3w_ has quit [Client Quit]
dr3w_ has joined #ruby
dr3w_ has quit [Read error: Connection reset by peer]
t0xik has quit [Quit: Connection closed for inactivity]
dr3w_ has joined #ruby
OneNeptune has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
jzhu has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
vonfry has joined #ruby
roamingdog has quit [Remote host closed the connection]
cadillac_ has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
vonfry_ has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
vonfry has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
gizmore has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
lbracher has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
dr3w_ has joined #ruby
roamingdog has joined #ruby
cadillac_ has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
dendazen has joined #ruby
fluxAeon_ has joined #ruby
<fluxAeon_> if i need to do a check to see if a var is nil or not before displaying it in an .erb do i do that in the .erb or in the controller?
synthroid has quit [Read error: Connection reset by peer]
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elomatreb> Depends on what you want to do "instead" I'd say
synthroid has joined #ruby
<fluxAeon_> display a 0
<fluxAeon_> <td class="number"><%= @member_demographics.find{|x| x['gender'] == 'F'}['Pct']%>%</td>. that's coming back nil sometimes because it doesn't exist in the data so i need to display a 0 instead
<elomatreb> If your variable doesn't have to be able to contain false (the boolean value) you can just to `your_variable || 0` in the view
<havenwood> >> nil.to_i
<ruby[bot]> havenwood: # => 0 (https://eval.in/1025098)
bmurt has quit [Ping timeout: 260 seconds]
<elomatreb> But e.g. if you wanted to load another model instead that would not belong in the controller
<elomatreb> *in the view
howdoi has quit [Quit: Connection closed for inactivity]
OneNeptune has joined #ruby
PsionTheory has joined #ruby
vonfry has joined #ruby
Inline has joined #ruby
vonfry_ has quit [Remote host closed the connection]
houhoulis has joined #ruby
shinnya has joined #ruby
ldnunes has joined #ruby
umesh has quit [Quit: Connection closed for inactivity]
ishe` has quit [Remote host closed the connection]
ishe` has joined #ruby
<fluxAeon_> i don't want to load anything else just say 0 otherwise
Rapture has joined #ruby
<fluxAeon_> so nil.to_i will return 0?
<ishe`> yes
jottr has joined #ruby
Asher has joined #ruby
<fluxAeon_> thanks ::)
saTchymoto has quit []
Asher has quit [Ping timeout: 248 seconds]
wald0 has joined #ruby
desperek has joined #ruby
Guest87650 has quit [Read error: Connection reset by peer]
vonfry has quit [Remote host closed the connection]
Nicmavr has joined #ruby
Nicmavr is now known as Guest47756
henoc has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
grilix has joined #ruby
jrafanie has joined #ruby
karthik__ has joined #ruby
houhouli_ has joined #ruby
<karthik__> Hi all
<havenwood> karthik__: hi
<karthik__> can anyone help me with cross compiling a ruby gem using rakefile
<karthik__> ?
<havenwood> karthik__: what's going wrong?
<karthik__> to start with i am using Rakefile for the first time.
<karthik__> I have my cross compiler varibales exported to my linux environment
karapetyan has joined #ruby
<karthik__> but the same is not getting reflected in the build
nicht has joined #ruby
nicht_ has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
<karthik__> @havenwood did i answer your question ?
houhoulis has quit [Ping timeout: 264 seconds]
dogweather has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
biberu\ has quit []
karthik__ has quit [Quit: Page closed]
quobo has joined #ruby
ishe` has quit [Remote host closed the connection]
ishe` has joined #ruby
dogweather has quit [Ping timeout: 255 seconds]
<havenwood> kar, oh, they left
<gizmore> i rejoined
<gizmore> rake is killing me
<arne> i need a name for a ruby project, the software should DO EVERYTHING a developer does besides writing lines of codes
<arne> so it's a eierlegende wollmilchsau, how would i name ith
<gizmore> CommonDevTasks
<gizmore> CDT
<arne> well make it less german
<arne> i mean the name can be funny
<arne> like, rails.
<gizmore> Frommage de quatre
<arne> ..
<gizmore> vierkäse
<bhaak> EverythingAndTheKitchenSinkWithBells
Asher has joined #ruby
<arne> no for real
<arne> and it has to be short
<arne> one guess i had was "shed" as in toolshed
<arne> and that i thought it would be funny if it was named "chad"
<arne> like it's your mate, doing your work with you
<havenwood> gizmore: yeah, that helps show what's going wrong, but from what you've said I have no idea what the issue is
<arne> no, anyone? :(
<gizmore> mh?
<bhaak> shed could also derive from "bikeshed"
<gizmore> class Object; include ::Bikeshed; extend ::Bikeshed end;
<arne> well, yeh it can
<arne> im open for ideas, pliz help
amar_ has joined #ruby
<bhaak> Dings
<bhaak> easily verbed, in English and German
<havenwood> arne: I'd call it "impossible"
<bhaak> "dings that"
<bhaak> dings this, dings it all around
<konsolebox> "like it's your mate, doing your work with you" ProgMate, or maybe, ProgSlave
<gizmore> call it "MEH"
<bhaak> yeah, that would have been my next suggestion. use a slightly derogative term for "being that is called to fetch stuff"
akaiiro has joined #ruby
jrich523 has joined #ruby
Burgestrand has quit [Quit: Closing time!]
fluxAeon has joined #ruby
<jrich523> hey guys, im using dotenv to load some vars up, what would be the prefered way to check for no value? .nil?
aupadhye has quit [Ping timeout: 240 seconds]
<havenwood> jrich523: If I'm expecting an env var to definitely be set, I use #fetch
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jrich523> well, as much as i full expect it to be there, it is in a config file... so... could get lost
<havenwood> jrich523: if it gets lost, do you want an error to be raised?
<jrich523> nope, want it to default
<jrich523> actually this was more so for the default check
<jrich523> @timeout = timeout.empty? ? 120 : timeout.to_i
<jrich523> also i think empty is horrible in this case right?
<havenwood> jrich523: ENV.fetch('MAYBE', 120).to_i
<jrich523> oh cool
dogweather has joined #ruby
<jrich523> that seems... to easy
<jrich523> lol
OneNeptune has joined #ruby
synthroid has quit [Remote host closed the connection]
apparition47 has quit [Quit: Bye]
dhollinger has joined #ruby
cschneid has joined #ruby
gregf_ has quit [Ping timeout: 260 seconds]
flips has joined #ruby
dogweather has quit [Ping timeout: 248 seconds]
guille-moe has joined #ruby
shinnya has quit [Ping timeout: 256 seconds]
<fluxAeon> oh boy. so i don't know ruby at all but i'm trying to update someone elses rails site. they're building a page off of an object that has json data in it. in all but one of the cases there are F and M dictionaries in the json. in the one case there's only an M
<Zarthus> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<Zarthus> perhaps
<fluxAeon> well it's a regular ruby q. not rails specific
<Zarthus> fair enough
<fluxAeon> there's the one outlier json object... there's no F dictionary in it
<Zarthus> why can't you just use a pastebin like normal people :P
<fluxAeon> because it's easier to see if the json is parsed right
<fluxAeon> lol
<Zarthus> disagreed :P
<Zarthus> gender sounds rather non-mandatory anywho
dogweather has joined #ruby
<fluxAeon> how do i check to see if gender F exists, and if it doesn't append the dictionary to include it
<fluxAeon> along with all the other vars that M has
<fluxAeon> and just set them all to 0.
cagomez has joined #ruby
<Zarthus> an easy way is to loop over the objects you have and check obj.values.include? 'f'
<Zarthus> though i don't know at all what your code looks like..
<Zarthus> This shouldn't really be that challenging.
<fluxAeon> i don't know ruby
<havenwood> >> [{m: 1, f: 2}, {m: 2}].map { |h| h[:f] ||= 0; h[:m] ||= 0; h }
<ruby[bot]> havenwood: # => [{:m=>1, :f=>2}, {:m=>2, :f=>0}] (https://eval.in/1025129)
<fluxAeon> but am trying to make my way through it
<havenwood> fluxAeon: Are you familiar with `map`, from another language?
<havenwood> fluxAeon: In Ruby we call the basic dictionary class a Hash. Its literal is: {}
<fluxAeon> alright
<fluxAeon> gotcha
<havenwood> >> [{}, {}].each { |h| h[:ribbit] = true }
<ruby[bot]> havenwood: # => [{:ribbit=>true}, {:ribbit=>true}] (https://eval.in/1025132)
<havenwood> >> [{}, {}].map { |h| h[:ribbit] = true; h }
<ruby[bot]> havenwood: # => [{:ribbit=>true}, {:ribbit=>true}] (https://eval.in/1025133)
<havenwood> fluxAeon: Note in the first example above, it's mutating the instance of Array that is the receiver to the #each method.
<fluxAeon> ok
<havenwood> fluxAeon: The second example creates a new Array.
<havenwood> fluxAeon: If you don't know filter and map from other languages, they're worth learning!
<havenwood> filter/map/reduce
<havenwood> We don't actually get the #filter alias for #select until Christmas. ;-)
synthroid has joined #ruby
PsionTheory has quit [Remote host closed the connection]
<havenwood> fluxAeon: If you have trouble mapping, show us a gist of what you're trying.
<havenwood> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<fluxAeon> okay let me spend some time on this
<fluxAeon> thanks for being so helpful!
synthroi_ has joined #ruby
dogweather has quit [Ping timeout: 255 seconds]
houhouli_ has quit [Remote host closed the connection]
cagomez has quit [Remote host closed the connection]
houhoulis has joined #ruby
cagomez has joined #ruby
synthroid has quit [Ping timeout: 268 seconds]
cagomez has quit [Remote host closed the connection]
dogweather has joined #ruby
amar__ has joined #ruby
houhoulis has quit [Remote host closed the connection]
cadillac_ has quit [Ping timeout: 260 seconds]
amar_ has quit [Ping timeout: 256 seconds]
orbyt_ has joined #ruby
dogweather has quit [Ping timeout: 256 seconds]
<icy`> looks like array of two hashes where the female one comes first. Just prepend it if doesn't exist
<havenwood> icy`: good point - i didn't look closely enough at the image
<havenwood> fluxAeon: i misread your example, icy`'s right that you have a separate Hash for M and F inside the Array
dogweather has joined #ruby
megamos has quit [Quit: Leaving]
cadillac_ has joined #ruby
wald0_ has joined #ruby
<havenwood> fluxAeon: [[{a: 1}, {b: 1}], [{a: 1}]].map { |a| a.prepend({a: 1}) if a.none? { |h| h.key? :a }; a.append({b: 1}) if a.none? { |h| h.key? :b }; a }
guille-moe has quit [Ping timeout: 248 seconds]
<havenwood> you could do it based on position if those are regular
DTZUZO has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has quit [Ping timeout: 255 seconds]
jzhu has quit [Quit: Connection closed for inactivity]
Beams has quit [Quit: .]
Asher has quit [Ping timeout: 245 seconds]
roamingdog has joined #ruby
dogweather has joined #ruby
starseed0000 has joined #ruby
orbyt_ has joined #ruby
amar__ has quit [Remote host closed the connection]
rippa has joined #ruby
dogweather has quit [Ping timeout: 265 seconds]
vikaton has joined #ruby
<starseed0000> /join #devops
amar_ has joined #ruby
cagomez has joined #ruby
amar_ has quit [Ping timeout: 268 seconds]
twobitsprite has joined #ruby
wontruefree has joined #ruby
<twobitsprite> I've read a couple of posts about this on stackexchange, but I figured I'd ask here to see if there's a better ruby-specific solution: anyone know of a good way to do something like "#!/usr/bin/env ruby -ni" on linux?
Asher has joined #ruby
ha has joined #ruby
dreamthese has quit [Remote host closed the connection]
<twobitsprite> nm, just found a post demonstrating the -x trick :)
dreamthese has joined #ruby
yohji has quit [Remote host closed the connection]
jcarl43 has joined #ruby
Asher has quit [Ping timeout: 245 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Remote host closed the connection]
<konsolebox> twobitsprite: that would still require 3 arguments, no?
dionysus69 has joined #ruby
orbyt_ has joined #ruby
ha has quit [Quit: Leaving]
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dhollinger has quit [Remote host closed the connection]
biberu has joined #ruby
synthroid has joined #ruby
sysvalve has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
megamos has joined #ruby
synthroi_ has quit [Ping timeout: 264 seconds]
cagomez has joined #ruby
shinnya has joined #ruby
brandon has joined #ruby
orbyt_ has joined #ruby
claudiuinberlin has joined #ruby
dr3w_ has joined #ruby
dogweather has joined #ruby
za1b1tsu has joined #ruby
troulouliou_div2 has joined #ruby
p4p0l0 has quit [Remote host closed the connection]
dogweather has quit [Ping timeout: 256 seconds]
eckhardt_ has joined #ruby
sysvalve has joined #ruby
jjman has joined #ruby
cthulchu_ has quit [Read error: Connection reset by peer]
amar_ has joined #ruby
cthulchu has joined #ruby
shinnya has quit [Ping timeout: 256 seconds]
OneNeptune has joined #ruby
nicht has quit [Quit: Leaving]
wontruefree has quit [Quit: bye]
wontruefree has joined #ruby
wontruefree has quit [Client Quit]
mjolnird has quit [Read error: No route to host]
mjolnird has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wontruefree has joined #ruby
amar_ has quit [Ping timeout: 240 seconds]
ldepandis has joined #ruby
amar_ has joined #ruby
codymj has joined #ruby
soniya29 has joined #ruby
Guest58336 has quit [Ping timeout: 245 seconds]
bmurt has joined #ruby
Guest58336 has joined #ruby
aufi has quit [Quit: Leaving]
Guest58336 has quit [Ping timeout: 256 seconds]
TomyWork has quit [Remote host closed the connection]
Asher has joined #ruby
lbracher has quit [Remote host closed the connection]
hahuang65 has joined #ruby
Guest58336 has joined #ruby
apeiros_ has joined #ruby
hahuang65_ has quit [Ping timeout: 256 seconds]
Guest58336 has quit [Ping timeout: 260 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest58336 has joined #ruby
havenwood has quit [Quit: ZNC 1.7.0 - https://znc.in]
havenwood has joined #ruby
havenwood has joined #ruby
psychicist__ has joined #ruby
Guest58336 has quit [Ping timeout: 276 seconds]
twobitsprite has quit [Ping timeout: 245 seconds]
<baweaver> havenwood: keyword params work in arguments
twobitsprite has joined #ruby
<baweaver> either that or have a defaults hash to merge from.
Guest58336 has joined #ruby
<havenwood> well, looky there: warning: flip-flop is deprecated
<havenwood> >> 1.upto(30).select { |n| n if n % 5 == 0 .. n % 10 == 0 }
<ruby[bot]> havenwood: # => [5, 6, 7, 8, 9, 10, 15, 16, 17, 18, 19, 20, 25, 26, 27, 28, 29, 30] (https://eval.in/1025184)
<baweaver> They've been flip flopping on that for a long time
<baweaver> Do you have the announcement / bug for it?
<hanmac> only hipster try to code with flip-flop ;P
RougeT430 has joined #ruby
<havenwood> How would you rewrite the above without flipflop?
* havenwood waxes his mustache
RougeT430 has quit [Max SendQ exceeded]
Guest58336 has quit [Ping timeout: 240 seconds]
RougeT430 has joined #ruby
r29v has joined #ruby
<baweaver> havenwood: why modulo?
<havenwood> just a contrived example
suukim has quit [Quit: Konversation terminated!]
rouget430__ has joined #ruby
rouget430__ has quit [Max SendQ exceeded]
<baweaver> Well I'm being overly dramatic in work channels with it XD
<havenwood> haha
rouget430__ has joined #ruby
<baweaver> Rickroll works fine by the way.
* havenwood goes back to using the sandals operator
bmurt has quit [Ping timeout: 268 seconds]
RougeR has quit [Read error: Connection reset by peer]
Zaab1t has quit [Quit: Zaab1t]
RougeT430 has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
Eiam has joined #ruby
tdy has quit [Ping timeout: 256 seconds]
mjolnird has quit [Remote host closed the connection]
nowhere_man has joined #ruby
nicht_ has quit [Ping timeout: 245 seconds]
mjolnird has joined #ruby
ishe has quit [Ping timeout: 260 seconds]
Guest58336 has quit [Ping timeout: 240 seconds]
ishe` has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
dr3w_ has joined #ruby
Guest58336 has joined #ruby
<jrich523> female coming first?
<jrich523> man, scrolling up can be scary :)
za1b1tsu has quit [Quit: WeeChat 2.1]
<baweaver> ???
nicht_ has joined #ruby
nicht_ has quit [Max SendQ exceeded]
nicht_ has joined #ruby
<jrich523> mostly im an idiot, i had the window way scrolled up
Guest58336 has quit [Ping timeout: 255 seconds]
<jrich523> some a nutty comment about a hash, a female and coming first
<jrich523> lol
KeyJoo has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
dionysus70 is now known as dionysus69
brandon is now known as dbrandon
Guest58336 has joined #ruby
<theRoUS> working with rails 5 (after a long absence). i want to implement an import method that will loop through the array of item hashes in its params, and do #create or #update as appropriate before moving on to the next item in the import array.
<theRoUS> is this something easily done, or do i need to replicate the create/update logic in my #import method? i'm having trouble figuring out how to reset the params structure appropriate for each iteration..
amar has joined #ruby
<starseed0000> theRoUS, are you worried about validations preventing any object to save?
<theRoUS> i have separate validators for the #import and the #update/#create methods, so i don't think so
Guest58336 has quit [Ping timeout: 245 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
<theRoUS> which is why i'd prefer to work within the #create/#update methods rather than try to recreate them
JamJam_kid has joined #ruby
nowhere_man has joined #ruby
amar_ has quit [Ping timeout: 248 seconds]
pastorinni has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
tvw has quit [Read error: Connection reset by peer]
venmx has quit [Ping timeout: 276 seconds]
eckhardt_ has joined #ruby
cagomez has joined #ruby
claudiuinberlin has joined #ruby
<apeiros_> theRoUS: as long as it's limited to what you've described, then that's rather trivial
sauvin has quit [Read error: Connection reset by peer]
dogweather has joined #ruby
pastorinni has quit [Remote host closed the connection]
rouget430__ has quit [Ping timeout: 240 seconds]
<theRoUS> apeiros_: that's what i hoped. any pointers to howtos?
dhollinger has joined #ruby
<apeiros_> theRoUS: what more than .each and .create do you think you need?
apeiros_ is now known as apeiros
<theRoUS> well, resetting params between each call, since #create depends upon it
cagomez has quit [Remote host closed the connection]
<apeiros> params? as in Rails' ApplicationController#params ?
dogweather has quit [Ping timeout: 256 seconds]
grilix_ has joined #ruby
grilix has quit [Read error: Connection reset by peer]
<apeiros> dumm di dumm…
postmodern has joined #ruby
skryking_ has quit [Quit: Leaving]
skryking_ has joined #ruby
skryking_ has quit [Client Quit]
<cthulchu> I have a quick question
<cthulchu> I think I can ask the console here
<cthulchu> >>puts(puts "123" if 1=1)
<ruby[bot]> cthulchu: # => /tmp/execpad-c1f3d2c4f952/source-c1f3d2c4f952:2: syntax error, unexpected modifier_if, expecting ')' ...check link for more (https://eval.in/1025227)
<theRoUS> apeiros: yes
<apeiros> ?experiments
<ruby[bot]> Please use your local irb or pry (see ?pry) to experiment, ruby[bot]'s eval functionality is for demonstration purposes only.
<cthulchu> I know, I know
<cthulchu> It was my question
<cthulchu> whether this will work: events = data_layer.select { |object| puts object.to_json if object.has_key?(data_layer_var_name) }
unknown2 has joined #ruby
<cthulchu> and I want that object that it puts in my events
<unknown2> ?
<apeiros> "work" depends on what you expect. but puts returns nil. always. so probably no.
<cthulchu> so I expect puts to return true
<cthulchu> I think it should, right?
<apeiros> also select is not map. your to_json is rather pointless there.
<apeiros> you think wrong. and I just said so :)
<cthulchu> my to_json has no relation to the funciton outside
<cthulchu> it's about puts
<apeiros> "work" depends on what you expect. but *****puts returns nil*****. always. so probably no. (emphasis added)
kevinburke has quit [Quit: Connection closed for inactivity]
<cthulchu> ir doesn't mutate the object
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
<cthulchu> I wrote above what I expected
<apeiros> yeah, then your to_json is indeed more pointless.
<apeiros> -more
<cthulchu> why
<apeiros> the result of it is not used anywhere.
dendazen has quit [Ping timeout: 240 seconds]
<cthulchu> weird
<cthulchu> puts won't output it?
<apeiros> not at all.
<cthulchu> why?
<apeiros> *so*
<apeiros> *sob*
<apeiros> stupid keyboard.
<cthulchu> I treat blocks as functions
<apeiros> yes, puts will output it.
<cthulchu> errr...
<cthulchu> does puts have embeded .to_json?
<cthulchu> it doesn't
<cthulchu> I tested it
<cthulchu> so why are you saying it does nothing?
zachk has joined #ruby
zachk has joined #ruby
<cthulchu> it does exactly wht I want
<cthulchu> flattens my hash to a string
<cthulchu> so I could print it
<cthulchu> I don't need a string in events and I don't expect to_json to mutate my object
<cthulchu> I would be very surprised if it did
<apeiros> no. but puts always returns nil. so that puts there is wrong. if you indeed want to print your object, ok, then that to_json isn't pointless. but your code makes little sense.
<cthulchu> aha
<cthulchu> now I see
unknown2 has quit [Read error: Connection reset by peer]
<cthulchu> I didn't know puts returned nil
<cthulchu> I thought it returned 1 if it worked
<cthulchu> just like assignment does
<apeiros> it's only the third time I say that :-p
<cthulchu> supposedly
<apeiros> also, docs. really.
<cthulchu> yeah
<apeiros> assignment does not return 1.
<cthulchu> hm
<apeiros> (or rather, evaluate to)
<cthulchu> if x=1+1
<cthulchu> true then
<apeiros> neither.
<cthulchu> I meant true
<cthulchu> hell
soniya29 has quit [Quit: Leaving]
<apeiros> >> result = (x = "hi dude"); result
<cthulchu> I read about it yesterday
<ruby[bot]> apeiros: # => "hi dude" (https://eval.in/1025239)
<apeiros> assignment always returns rhs.
<apeiros> *evaluates to
<cthulchu> maybe it casts into truthy
<apeiros> no.
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<cthulchu> what's rhs?
<apeiros> ?rhs
<ruby[bot]> apeiros: I don't know anything about rhs
<cthulchu> high five, bot!
<apeiros> !fact add rhs RHS is short for "right hand side", the expression to the right of an assignment
<ruby[bot]> apeiros: I will remember that rhs is RHS is short for "right hand side", the expression to the right of an assignment
<apeiros> ?rhs
<ruby[bot]> RHS is short for "right hand side", the expression to the right of an assignment
<cthulchu> beautiful!
<cthulchu> omg this is good
<apeiros> !fact add lhs LHS is short for "left hand side", the expression to the left of an assignment
<ruby[bot]> apeiros: I will remember that lhs is LHS is short for "left hand side", the expression to the left of an assignment
<cthulchu> thanks, apeiros, you're very helpful.
<apeiros> you can use any expression in an if. and everything except false and nil is truthy.
<apeiros> hence `if x = nil` will not evaluate the branch.
<cthulchu> oh very good
<cthulchu> (I will never use assingment in if though)
<apeiros> that's a good decision.
RougeR has quit [Ping timeout: 240 seconds]
<cthulchu> so I'm gonna use each then. I just need to iterate through all the folks and print those who satisfy a condition.
<apeiros> events = blah.select { |x| yourcond(x) }; puts events.map(&:to_json)
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
<cthulchu> you closed the block
synthroid has quit [Remote host closed the connection]
<apeiros> and?
<cthulchu> ah, that's select
<cthulchu> nah, looks like redundant work
<cthulchu> I think each is more elegant and faster
<cthulchu> in this case
<cthulchu> also eats less memory
<cthulchu> blah.each{ |x| p x if condition}
<cthulchu> I'm getting used to not using parenthesis and spaces
<cthulchu> also it says each returns `ary` when a block is given
<cthulchu> ?ary
<ruby[bot]> cthulchu: I don't know anything about ary
<cthulchu> :(
<apeiros> each returns the receiver
<apeiros> foo.each { … } # => foo
<cthulchu> why does it say ary?
<apeiros> dunno
dhollinger has quit [Ping timeout: 264 seconds]
<apeiros> probably the code example was supposed to read `ary.each …`
raynold has joined #ruby
<cthulchu> no, it calls arrays ary, I think
<cthulchu> it's the documentation
<cthulchu> weird
clemens3 has quit [Ping timeout: 256 seconds]
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
dhollinger has joined #ruby
r29v has quit [Quit: r29v]
samosaphile has joined #ruby
dr3w_ has joined #ruby
r29v has joined #ruby
p4p0l0 has joined #ruby
<arne> havenwood: i will show you
starseed0000 has quit [Ping timeout: 265 seconds]
wald0_ has quit [Quit: Lost terminal]
synthroid has joined #ruby
nicht_ has quit [Ping timeout: 256 seconds]
tdy has joined #ruby
ElFerna has joined #ruby
nythalcrow has quit [Ping timeout: 264 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ams__ has quit [Quit: Connection closed for inactivity]
dendazen has joined #ruby
sameerynho has joined #ruby
lytol has joined #ruby
dogweather has joined #ruby
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has joined #ruby
ElFerna has quit [Ping timeout: 248 seconds]
_aeris_ has quit [Remote host closed the connection]
ElFerna has joined #ruby
dogweather has quit [Ping timeout: 240 seconds]
_aeris_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
biberu has quit []
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 240 seconds]
r29v has quit [Quit: r29v]
sysvalve has quit [Quit: Leaving]
camonz has joined #ruby
ElFerna has quit [Ping timeout: 240 seconds]
KeyJoo has quit [Ping timeout: 260 seconds]
cagomez has joined #ruby
ElFerna has joined #ruby
cagomez has quit [Remote host closed the connection]
Guest58336 has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
k0mpa has quit [Ping timeout: 250 seconds]
t0xik has joined #ruby
Guest58336 has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Guest58336 has joined #ruby
p4p0l0 has quit [Remote host closed the connection]
eckhardt_ has joined #ruby
Guest58336 has quit [Ping timeout: 248 seconds]
cagomez has joined #ruby
twobitsp1ite has joined #ruby
cagomez has quit [Client Quit]
Guest58336 has joined #ruby
megamos has quit [Quit: Leaving]
clemens3 has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
twobitsprite has quit [Ping timeout: 240 seconds]
p4p0l0 has joined #ruby
Sembei has quit [Quit: WeeChat 2.2-dev]
dendazen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RougeR has quit [Ping timeout: 264 seconds]
Guest58336 has quit [Ping timeout: 256 seconds]
dogweather has joined #ruby
<samosaphile> that book by chris pine is good
zleap has joined #ruby
Guest58336 has joined #ruby
<eam> uh ok, UNIXSocket.new() - how do I set the socktype to DGRAM?
<eam> I'm reading ext/socket/unixsocket.c and still not seeing it
claudiuinberlin has joined #ruby
dogweather has quit [Ping timeout: 255 seconds]
<elomatreb> There is an extra UDPSocket, UNIXSocket is only for Unix Domain Sockets I think?
drona6 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
venmx has joined #ruby
<samosaphile> not too sure what this rubykoans stuff is about but do you really need to ruby installed locally for this, or would repl.it be fine?
<samosaphile> would using*
Guest58336 has quit [Ping timeout: 256 seconds]
r29v has joined #ruby
schleppel has quit [Quit: Konversation terminated!]
<havenwood> eam: do you maybe have to construct it from socket to get that combo?: Socket.new :UNIX, :DGRAM, 0
<havenwood> eam: Socket.new Socket::AF_UNIX, Socket::SOCK_DGRAM, 0
<havenwood> I dunno.
Guest58336 has joined #ruby
pastorinni has joined #ruby
pastorinni has quit [Remote host closed the connection]
pastorinni has joined #ruby
ElFerna has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
cthulchu_ has joined #ruby
fartymcfly has joined #ruby
<fartymcfly> hey all. is it okay to add folders to a mac root directory? will i break anything?
Guest58336 has quit [Ping timeout: 260 seconds]
synthroid has quit []
<twobitsp1ite> Anyone have any idea why this matches? " # service: name=unseal-vault enabled=true" =~ /([\s-]*)(\S+?:)( [^"']\S+?=.*)$/
fartymcfly has left #ruby [#ruby]
<tobiasvl> fartymcfly: it won't break anything as far as I'm aware. can't imagine it does. but: why?
fartymcfly has joined #ruby
<twobitsp1ite> ohh, nm... guess I should put a ^ at the beginning :P
cthulchu has quit [Ping timeout: 256 seconds]
<elomatreb> fartymcfly: You probably don't have the permissions to do that unless you're running scripts as root, which usually indicates deeper problems
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest58336 has joined #ruby
<havenwood> fartymcfly: but no, it won't break anything
<havenwood> oh, tobiasvl already said
<apeiros> twobitsp1ite: you probabbly want \A, not ^
<havenwood> twobitsp1ite: ^ is beginning of *line*
dionysus69 has quit [Ping timeout: 240 seconds]
<apeiros> and *any* line at that
<havenwood> "\n\noops".match? /^oops/ #=> true
<havenwood> twobitsp1ite: \A and \z ftw
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fartymcfly> i need to put a file in the Vamp directory of `Library/Audio/Plugins/Vamp` but i don't have a Vamp directory on my machine yet. following these directions: https://vamp-plugins.org/download.html#install
Serpent7776 has joined #ruby
Serpent7776 has quit [Remote host closed the connection]
Guest58336 has quit [Ping timeout: 240 seconds]
\void has joined #ruby
drona6 has quit [Quit: Page closed]
vagrant5 has joined #ruby
OneNeptune has joined #ruby
dogweather has joined #ruby
<vagrant5> fartymcfly: it looks like you can put it in the home directory instead?
Guest58336 has joined #ruby
hph^ has joined #ruby
samosaphile has quit [Quit: Page closed]
<fartymcfly> vagrant5: yeah. i'll probably do that. just wondering what the implications were of using root directory. it feels weird to add anything to it, but no one can put into words why exacly
dionysus69 has joined #ruby
dogweather has quit [Ping timeout: 276 seconds]
subroot has joined #ruby
subr has joined #ruby
Guest58336 has quit [Ping timeout: 240 seconds]
subr has quit [Remote host closed the connection]
p4p0l0 has quit [Remote host closed the connection]
p4p0l0 has joined #ruby
grilix_ has quit [Ping timeout: 245 seconds]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
ldnunes has quit [Quit: Leaving]
p4p0l0 has quit [Ping timeout: 276 seconds]
zleap has quit [Quit: WeeChat 2.1]
jjman has left #ruby ["WeeChat 1.6"]
ElFerna has joined #ruby
amar_ has joined #ruby
vagrant5 has quit [Quit: Page closed]
amar has quit [Ping timeout: 256 seconds]
psychicist__ has quit [Ping timeout: 276 seconds]
sameerynho has quit [Ping timeout: 255 seconds]
dionysus69 has quit [Ping timeout: 256 seconds]
jenrzzz_ has joined #ruby
pastorinni has quit [Remote host closed the connection]
JamJam_kid has quit [Ping timeout: 256 seconds]
fluxAeon has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 255 seconds]
ur5us has joined #ruby
twobitsp1ite has quit [Ping timeout: 260 seconds]
RougeR has joined #ruby
pastorinni has joined #ruby
reber has quit [Remote host closed the connection]
dgaff has joined #ruby
dogweather has joined #ruby
<dgaff> is rbenv preferred over rvm these days?
pastorinni has quit [Ping timeout: 256 seconds]
Guest58336 has joined #ruby
__goodnight__ has joined #ruby
dhollinger has quit [Remote host closed the connection]
vikaton has quit [Quit: Connection closed for inactivity]
<Eiam> chruby
<Eiam> I think is preferred over either
<Eiam> (I still use rbenv tho)
Guest58336 has quit [Ping timeout: 260 seconds]
<Eiam> I never had problems with rvm fwiw and have no issues with rbenv, I just moved to it when setting up a new machine cause everyone said i was weird for using rvm and I figured I'd try out something new to see what the dealio was
jenrzzz_ has quit [Ping timeout: 264 seconds]
nicht_ has joined #ruby
fartymcfly has quit [Quit: Page closed]
<dgaff> Am I that old now
workmad3 has joined #ruby
<dgaff> where RVM is the weird one
<dgaff> It's been a while but back in the day wasn't rvm the go-to?
Guest58336 has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
<eam> havenwood: I think you're right
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eam> elomatreb: DGRAM/STREAM distinguishes between tcp/udp for an IP socket, but they apply to unix sockets too
<eam> with similar semantic differences
<Eiam> dgaff: it was the original, yes
Mike11 has joined #ruby
<Eiam> I think it was falling out of favor because it was mucking with paths and impacting other products
<Eiam> and chruby was more self contained to just ruby
<Eiam> there are many blogs on this, google away.
__goodnight__ has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has quit [Ping timeout: 264 seconds]
Guest58336 has quit [Ping timeout: 260 seconds]
shinnya has joined #ruby
jenrzzz has joined #ruby
Guest58336 has joined #ruby
matled has quit [Ping timeout: 245 seconds]
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest58336 has quit [Ping timeout: 264 seconds]
donnie has quit [Ping timeout: 276 seconds]
matled has joined #ruby
donnie_2 has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
Guest58336 has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
dgaff has quit [Quit: Lost terminal]
Guest58336 has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
dogweather has quit [Ping timeout: 264 seconds]
desperek has quit [Quit: xoxo]
lytol has quit [Remote host closed the connection]
ElFerna has quit [Ping timeout: 248 seconds]
Guest58336 has quit [Ping timeout: 256 seconds]
dogweather has joined #ruby
Mike11 has quit [Quit: Leaving.]
Guest47756 has quit [Changing host]
Guest47756 has joined #ruby
Guest47756 is now known as Nicmavr
Guest58336 has joined #ruby
Guest58336 has quit [Ping timeout: 264 seconds]
amar_ has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 256 seconds]
amar has joined #ruby
Guest58336 has joined #ruby
cschneid has quit [Remote host closed the connection]
amar has quit [Ping timeout: 276 seconds]
cschnei__ has joined #ruby
dogweather has quit [Read error: Connection timed out]
Guest58336 has quit [Ping timeout: 240 seconds]
dogweather has joined #ruby
cschnei__ has quit [Ping timeout: 260 seconds]
ElFerna has joined #ruby
Guest58336 has joined #ruby
wontruefree has quit [Ping timeout: 256 seconds]
whathappens has joined #ruby
nythalcrow has joined #ruby
Guest58336 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
icarus has quit [Ping timeout: 240 seconds]
nythalcrow has quit [Ping timeout: 240 seconds]
Guest58336 has joined #ruby
white_lilies has joined #ruby
DTZUZO has quit [Ping timeout: 256 seconds]
ElFerna has quit [Ping timeout: 240 seconds]
Guest58336 has quit [Ping timeout: 268 seconds]
cschneid has joined #ruby
AJA4350 has quit [Remote host closed the connection]
dogweather has quit [Ping timeout: 264 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
Guest58336 has joined #ruby
cschneid has quit [Ping timeout: 268 seconds]
dogweather has joined #ruby
wald0 has quit [Ping timeout: 240 seconds]
clemens3 has quit [Ping timeout: 260 seconds]
Guest58336 has quit [Ping timeout: 265 seconds]
subroot has quit [Read error: Connection reset by peer]
codymj has quit [Quit: Leaving]
Guest58336 has joined #ruby
Guest58336 has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
matcouto has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
solocshaw has joined #ruby
roamingdog has joined #ruby
solocshaw has quit [Client Quit]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
Guest58336 has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
jzhu has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
Guest58336 has quit [Ping timeout: 255 seconds]
<zenspider> mmmm... rspec's describe seems to have a feature where additional args CAN(?) be used as a shared context thingy.... but I can't find that described anywhere in the "relish" doco thingy at all. Can someone clue me ins?
<zenspider> ins -> in
Guest58336 has joined #ruby
dogweather has quit [Ping timeout: 264 seconds]
venmx has joined #ruby
Guest58336 has quit [Ping timeout: 256 seconds]
camonz has quit [Quit: Linkinus - http://linkinus.com]
weaksauce has joined #ruby
workmad3 has joined #ruby
Guest58336 has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby