havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.2, 2.3.5 & 2.2.8: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
jackjackdripper has joined #ruby
selim has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
selim has joined #ruby
harfangk has joined #ruby
jenrzzz has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
phenom has quit [Ping timeout: 268 seconds]
vee__ has quit [Ping timeout: 248 seconds]
phenom has joined #ruby
mcr1 has joined #ruby
goyox86 has quit [Ping timeout: 248 seconds]
jnyw has joined #ruby
houhoulis has quit [Remote host closed the connection]
csk157 has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
vee__ has joined #ruby
r00takaspin has quit [Ping timeout: 248 seconds]
xlegoman has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
guardianx has joined #ruby
csk157 has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
milardovich has quit [Ping timeout: 268 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
Technodrome has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guardianx has quit []
orbyt_ has joined #ruby
mfb2 has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 268 seconds]
jameser has joined #ruby
houhoulis has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rouge has joined #ruby
exhiled has joined #ruby
mfb2 has joined #ruby
char_var[buffer] has quit [Read error: Connection reset by peer]
astronavt has joined #ruby
marr has quit [Ping timeout: 268 seconds]
mfb2 has quit [Ping timeout: 240 seconds]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mfb2 has joined #ruby
char_var[buffer] has joined #ruby
exhiled has joined #ruby
astronavt has quit [Ping timeout: 255 seconds]
jxv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mfb2_ has joined #ruby
mfb2 has quit [Ping timeout: 260 seconds]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ogres has joined #ruby
troys is now known as troys_
mfb2_ has quit [Ping timeout: 268 seconds]
exhiled has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
b10s_ has joined #ruby
<b10s_> hi2all; is it ok to use instance variable inside mixin?
aintno_sunshine has joined #ruby
elphe has joined #ruby
<b10s_> i mean, i want to get values of instance variables inside mixin
mson has joined #ruby
muelleme has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
houhoulis has quit []
jxv has joined #ruby
muelleme has quit [Ping timeout: 240 seconds]
href has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
orbyt_ has joined #ruby
konsolebox has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
bmurt has joined #ruby
cdg_ has quit [Ping timeout: 258 seconds]
cdg has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 268 seconds]
zautomata has quit [Ping timeout: 240 seconds]
lizard2010 has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 276 seconds]
csk157 has joined #ruby
zautomata has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull> yes
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull> b10s_: mixins explicitly support accessing instance variables
Emmanuel_Chanel has joined #ruby
vee__ has quit [Ping timeout: 240 seconds]
csk157 has quit [Ping timeout: 240 seconds]
David_H__ has joined #ruby
guardianx has joined #ruby
Azure has quit [Read error: Connection reset by peer]
vee__ has joined #ruby
exhiled has joined #ruby
Azure has joined #ruby
duderonomy has joined #ruby
David_H_Smith has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
guardianx has quit [Client Quit]
chiggins has joined #ruby
oetjenj has joined #ruby
<chiggins> Getting an error trying to setup active record and a schema with it. Seems like an error internal to active record though? https://gist.github.com/Chiggins/dbf3aea1bada355f36298cd3d62d05b1
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
enterprisey has quit [Remote host closed the connection]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has quit [Client Quit]
bkxd has joined #ruby
mooe has quit [Quit: Connection closed for inactivity]
oetjenj has joined #ruby
houhoulis has joined #ruby
oetjenj has quit [Client Quit]
cdg has quit [Ping timeout: 248 seconds]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
<RickHull> chiggins: no idea, looks like a bug in AR -- you can try #rubyonrails too
<RickHull> ?rails
<ruby[bot1> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<chiggins> RickHull: Awesome, thanks
plexigras has joined #ruby
lizard2010 has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
mcr1 has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 264 seconds]
mcr1 has joined #ruby
mfb2 has joined #ruby
mfb2 has quit [Ping timeout: 248 seconds]
mcr1 has quit [Ping timeout: 250 seconds]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
astronavt has joined #ruby
duderonomy has joined #ruby
mfb2 has joined #ruby
duderonomy has quit [Client Quit]
duderonomy has joined #ruby
cdg has joined #ruby
astronavt has quit [Ping timeout: 240 seconds]
beakdoosan has joined #ruby
mfb2 has quit [Ping timeout: 240 seconds]
danieli has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 276 seconds]
mcr1 has joined #ruby
vee__ has quit [Ping timeout: 248 seconds]
raul782 has joined #ruby
juggler has joined #ruby
guacamole has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
bmurt has joined #ruby
Emmanuel_Chanel has joined #ruby
jnollette has quit [Quit: ZNC 1.6.5 - http://znc.in]
gnufied has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 240 seconds]
kanobt61 has quit [Remote host closed the connection]
rm8 has quit [Quit: i slep]
jnollette has joined #ruby
milardovich has joined #ruby
despai has quit [Quit: ...]
konsolebox has quit [Ping timeout: 240 seconds]
jnollette has quit [Remote host closed the connection]
konsolebox has joined #ruby
jnollette has joined #ruby
exhiled has joined #ruby
zautomata has quit [Ping timeout: 240 seconds]
vee__ has joined #ruby
bkxd has joined #ruby
segy_ has joined #ruby
FifthWall_ has joined #ruby
NightMonkey_ has joined #ruby
kyle has joined #ruby
zautomata has joined #ruby
wolfshappen_ has joined #ruby
kyle is now known as Guest20429
dminuoso_ has joined #ruby
mochiyoda_ has joined #ruby
duderono_ has joined #ruby
Jello_Raptor_ has joined #ruby
harmaahylje has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
houhoulis has quit [Remote host closed the connection]
raul782 has quit [Remote host closed the connection]
jnollette has quit [Ping timeout: 248 seconds]
axsuul- has joined #ruby
Gabemo_ has joined #ruby
m27frogy_ has joined #ruby
jnollette has joined #ruby
Roa_ has joined #ruby
MrSprinkle has joined #ruby
michael_mbp has quit [Ping timeout: 248 seconds]
wolfshappen has quit [Ping timeout: 248 seconds]
NightMonkey has quit [Ping timeout: 248 seconds]
NightMonkey_ is now known as NightMonkey
shady0wl_ has joined #ruby
raul782 has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
nunchuck has quit [Ping timeout: 248 seconds]
segy has quit [Ping timeout: 248 seconds]
MrSparkle has quit [Ping timeout: 248 seconds]
dminuoso has quit [Ping timeout: 248 seconds]
irick_ has joined #ruby
FifthWall has quit [Ping timeout: 248 seconds]
duderonomy has quit [Ping timeout: 248 seconds]
segy_ is now known as segy
FifthWall_ is now known as FifthWall
helpa has quit [Remote host closed the connection]
elphe_ has joined #ruby
kenichi_ has joined #ruby
michael_mbp has joined #ruby
Raboo_ has joined #ruby
z3uS| has joined #ruby
irick_ has quit [*.net *.split]
elphe has quit [*.net *.split]
char_var[buffer] has quit [*.net *.split]
Gabemo has quit [*.net *.split]
Raboo has quit [*.net *.split]
ged has quit [*.net *.split]
axsuul has quit [*.net *.split]
kyle__ has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
z3uS has quit [*.net *.split]
mochiyoda has quit [*.net *.split]
irick has quit [*.net *.split]
lxsameer has quit [*.net *.split]
mikeiniowa has quit [*.net *.split]
Guest29916 has quit [*.net *.split]
Roa has quit [*.net *.split]
marienz has quit [*.net *.split]
m27frogy has quit [*.net *.split]
kenichi has quit [*.net *.split]
cpallares has quit [*.net *.split]
harmaahy1je has quit [*.net *.split]
chiggins has quit [*.net *.split]
guardian has quit [*.net *.split]
Jello_Raptor_ is now known as Jello_Raptor
Raboo_ is now known as Raboo
z3uS| is now known as z3uS
friday has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
raul782 has quit [Ping timeout: 240 seconds]
bokayio has quit [Ping timeout: 240 seconds]
friday has joined #ruby
bokayio has joined #ruby
beakdoosan has left #ruby ["退出消息"]
helpa has joined #ruby
irick has joined #ruby
cpallares has joined #ruby
chiggins has joined #ruby
Guest29916 has joined #ruby
marienz has joined #ruby
ged has joined #ruby
guardian has joined #ruby
helpa has quit [Read error: Connection reset by peer]
<b10s_> RickHull, thanks
helpa has joined #ruby
milardovich has joined #ruby
<b10s_> is it possible to OOM killer kill Ruby's thread, not a process?
konsolebox has quit [Ping timeout: 240 seconds]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
John__ has quit [Read error: Connection reset by peer]
<RickHull> do you mean: is it possible that Linux's OOM killer would kill only a ruby thread and not the entire process?
<RickHull> it seems doubtful
uZiel has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
bkxd has joined #ruby
exhiled has joined #ruby
houhoulis has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
bkxd has quit [Ping timeout: 276 seconds]
armando has quit [Quit: ZNC 1.7.x-nightly-20171122-e1f821a7 - https://znc.in]
David_H__ has quit [Remote host closed the connection]
|ifei5g00d has joined #ruby
gizmore|2 has joined #ruby
|ifei5g00d has quit [Read error: Connection reset by peer]
|ifei5g00d has joined #ruby
astronavt has joined #ruby
gizmore has quit [Ping timeout: 255 seconds]
skweek has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
ResidentBiscuit has quit []
dstrunk has joined #ruby
juggler has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
dstrunk has quit [Client Quit]
astronavt has quit [Ping timeout: 258 seconds]
armando has joined #ruby
<RickHull> it looks like Linux OOM is process oriented https://www.kernel.org/doc/gorman/html/understand/understand016.html
DTZUZO has quit [Read error: No route to host]
David_H_Smith has joined #ruby
<b10s_> RickHull, thanks
David_H_Smith has quit [Remote host closed the connection]
David_H_Smith has joined #ruby
d^sh has quit [Ping timeout: 268 seconds]
d^sh has joined #ruby
skweek has quit [Ping timeout: 258 seconds]
Defenestrate has joined #ruby
kitsunenokenja has quit [Ping timeout: 264 seconds]
cadillac_ has joined #ruby
pilne has quit [Quit: Quitting!]
code_zombie has quit [Quit: Leaving]
cdg has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exhiled has joined #ruby
sspreitz has quit [Ping timeout: 240 seconds]
sspreitz has joined #ruby
elphe_ has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
cdg has quit [Ping timeout: 258 seconds]
mson has quit [Quit: Connection closed for inactivity]
bkxd has quit [Ping timeout: 255 seconds]
cdg has joined #ruby
elphe has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
cadillac_ has quit [Ping timeout: 248 seconds]
csk157 has joined #ruby
csk157 has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Defenestrate has quit [Quit: This computer has gone to sleep]
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
Defenestrate has joined #ruby
milardov_ has joined #ruby
raul782 has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
Defenestrate has quit [Client Quit]
raul782 has quit [Ping timeout: 240 seconds]
UserOO7 has quit [Remote host closed the connection]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dimik has quit [Ping timeout: 260 seconds]
mson has joined #ruby
astronavt has joined #ruby
houhoulis has quit [Remote host closed the connection]
astronavt has quit [Ping timeout: 276 seconds]
mjolnird has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skweek has joined #ruby
uZiel has joined #ruby
shady0wl_ has quit [Quit: brb]
char_var[buffer] has joined #ruby
jordanm has quit [Remote host closed the connection]
dviola has quit [Quit: WeeChat 1.9.1]
jordanm has joined #ruby
nunchuck has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
csk157 has joined #ruby
aupadhye has joined #ruby
csk157 has quit [Ping timeout: 248 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aupadhye has quit [Quit: Leaving]
notmyrealname has joined #ruby
<notmyrealname> Hi, anyone know some ways to read keyinput from a terminal that's not curses?
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
woodruffw has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 276 seconds]
raul782 has joined #ruby
<havenwood> notmyrealname: require 'io/console'; $stdin.getch
bkxd has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
<notmyrealname> havenwood: Thanks. Playing with it right now.
jackjackdripper1 has joined #ruby
raul782 has quit [Ping timeout: 268 seconds]
bkxd has quit [Ping timeout: 268 seconds]
kies has quit [Ping timeout: 268 seconds]
jackjackdripper has quit [Ping timeout: 248 seconds]
<notmyrealname> havenwood: I found this gist https://gist.github.com/acook/4190379 and this gem https://github.com/acook/remedy that look interesting.
gix- has joined #ruby
gix has quit [Disconnected by services]
astronavt has joined #ruby
bkxd has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spastorino has joined #ruby
astronavt has quit [Ping timeout: 246 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 240 seconds]
<havenwood> notmyrealname: if i recall correctly, io/console started as a gem but was adopted into the stdlib
MrSprinkle is now known as MrSparkle
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
armyriad has quit [Read error: Connection reset by peer]
anisha has joined #ruby
guacamole has joined #ruby
troys_ is now known as troys
csk157 has joined #ruby
<notmyrealname> havenwood: Thanks for the tip. I'm now going to dissappear into the mist. :)
notmyrealname has quit [Quit: Page closed]
csk157 has quit [Ping timeout: 248 seconds]
dstrunk has joined #ruby
armyriad has joined #ruby
ruby[bot1 has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
exhiled has joined #ruby
iamarun has joined #ruby
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
christiandsg has joined #ruby
raul782 has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raul782 has quit [Ping timeout: 248 seconds]
exhiled has joined #ruby
riceandb1ans has joined #ruby
<riceandb1ans> what is the recommended HTTP client gem for Ruby?
<riceandb1ans> Basically want to write a REST client
astronavt has joined #ruby
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exhiled has joined #ruby
<havenwood> riceandb1ans: HTTP.rb is among many nice gem options. Net::HTTP is of course in the stdlib.
<havenwood> riceandb1ans: https://github.com/httprb/http
mson has quit [Quit: Connection closed for inactivity]
astronavt has quit [Ping timeout: 246 seconds]
skweek has quit [Ping timeout: 255 seconds]
<riceandb1ans> So you can do GET/POST with stdlib?
<havenwood> riceandb1ans: yes
<riceandb1ans> I'll probably just go with that then
troys has quit [Quit: Bye]
<riceandb1ans> Also, does mechanize ever get any love or am I like the only weirdo left using it
<riceandb1ans> I swear I feel alone in the world using it
<riceandb1ans> if there's something better for what it does/did please let me know, nokogiri makes me cry
<havenwood> riceandb1ans: Mechanize uses Net::HTTP under the hood.
<havenwood> riceandb1ans: Oga is a Nokogiri alternative fwiw.
jenrzzz has joined #ruby
<riceandb1ans> Ok, but anything that does the xpath stuff with less pain would make me day
<havenwood> riceandb1ans: https://github.com/YorickPeterse/oga
oetjenj has quit [Ping timeout: 276 seconds]
mjolnird has joined #ruby
Technodrome has joined #ruby
konsolebox has quit [Ping timeout: 246 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 248 seconds]
skweek has joined #ruby
jameser has joined #ruby
DoubleMalt has joined #ruby
csk157 has joined #ruby
konsolebox has joined #ruby
csk157 has quit [Ping timeout: 248 seconds]
lytol has quit [Remote host closed the connection]
raul782 has joined #ruby
LocaMocha has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xlegoman has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raul782 has quit [Ping timeout: 248 seconds]
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rabajaj has joined #ruby
crayfishx has joined #ruby
Dimik has joined #ruby
jackjackdripper has joined #ruby
SeepingN has joined #ruby
jackjackdripper1 has quit [Ping timeout: 252 seconds]
raul782 has joined #ruby
rhebz916 has joined #ruby
oleo has quit [Quit: Leaving]
skweek has quit [Ping timeout: 260 seconds]
milardov_ has quit []
uZiel has quit [Remote host closed the connection]
bkxd has joined #ruby
astronavt has joined #ruby
doubleemms has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
astronavt has quit [Ping timeout: 252 seconds]
silvermine has joined #ruby
Technodrome has joined #ruby
uZiel has joined #ruby
doubleemms has left #ruby [#ruby]
muelleme has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
christiandsg has quit [Remote host closed the connection]
aufi has joined #ruby
reber has joined #ruby
swat2 has quit [Ping timeout: 260 seconds]
nadir has joined #ruby
muelleme has quit [Ping timeout: 248 seconds]
jgt has joined #ruby
DoubleMalt has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
apeiros has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
stoffus has joined #ruby
stoffus has quit [Client Quit]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 240 seconds]
aintno_sunshine has quit [Ping timeout: 240 seconds]
swat2 has joined #ruby
jamesaxl has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
KeyJoo has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
ana_ has joined #ruby
Technodrome has joined #ruby
ctrlaltdev has joined #ruby
slegr has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
<slegr> Who here?
bkxd has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
jameser has joined #ruby
<havenwood> slegr: see: /names #ruby
<slegr> Thank
<slegr> How to commit suicide?
iamarun has quit [Ping timeout: 240 seconds]
<havenwood> !kick slegr
slegr was kicked from #ruby by ruby[bot] [kickable offense, see http://ruby-community.com/pages/user_rules]
jgt has quit [Ping timeout: 248 seconds]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andikr has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
raul782 has quit [Remote host closed the connection]
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
astronavt has joined #ruby
ctrlaltdev has quit [Quit: leaving]
oetjenj has quit [Client Quit]
yeticry_ has joined #ruby
astronavt has quit [Ping timeout: 258 seconds]
yeticry has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
anisha has quit [Ping timeout: 240 seconds]
anisha has joined #ruby
raul782 has joined #ruby
ctrlaltdev has joined #ruby
Technodrome has joined #ruby
elphe has quit [Ping timeout: 276 seconds]
raul782 has quit [Ping timeout: 258 seconds]
bkxd has quit []
elphe has joined #ruby
ctrlaltdev has quit [Quit: leaving]
mfb2 has joined #ruby
Dimik has quit [Ping timeout: 248 seconds]
raul782 has joined #ruby
mfb2 has quit [Remote host closed the connection]
mfb2 has joined #ruby
raul782 has quit [Ping timeout: 250 seconds]
csk157 has joined #ruby
Tempesta has quit [Quit: AdiIRC is updating to v3.0 Beta Build (2017/11/30) 64 Bit]
Tempesta has joined #ruby
csk157 has quit [Ping timeout: 248 seconds]
kies has joined #ruby
TomyWork has joined #ruby
jxv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jxv has joined #ruby
aupadhye has joined #ruby
aupadhye is now known as aupadhye|afk
elphe has quit [Ping timeout: 250 seconds]
biberu has joined #ruby
deepredsky has joined #ruby
anisha has quit [Read error: Connection reset by peer]
sneep has quit [Ping timeout: 246 seconds]
minimalism has quit [Quit: minimalism]
anisha has joined #ruby
raul782 has joined #ruby
anisha_ has joined #ruby
tomphp has joined #ruby
raul782 has quit [Remote host closed the connection]
anisha has quit [Ping timeout: 248 seconds]
raul782 has joined #ruby
kapil___ has joined #ruby
eckhardt has joined #ruby
astronavt has joined #ruby
guille-moe has joined #ruby
nowhere_man has quit [Ping timeout: 255 seconds]
astronavt has quit [Ping timeout: 252 seconds]
kculpis has quit [Ping timeout: 240 seconds]
k3rn31 has quit [Ping timeout: 248 seconds]
k3rn31 has joined #ruby
aupadhye|afk is now known as aupadhye
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
deepredsky has quit [Ping timeout: 240 seconds]
deepredsky has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
marr has joined #ruby
miskatonic has joined #ruby
miskatonic has quit [Client Quit]
Bish has quit [Remote host closed the connection]
miskatonic has joined #ruby
elphe has joined #ruby
yasu has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
deepredsky has quit [Ping timeout: 255 seconds]
lunarkitty7 has quit [Ping timeout: 240 seconds]
csk157 has joined #ruby
konsolebox has joined #ruby
alex`` has joined #ruby
csk157 has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd_ has joined #ruby
harfangk has quit [Ping timeout: 250 seconds]
lucas has quit [Quit: leaving]
bkxd has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
href has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
nowhere_man has joined #ruby
guille-moe has quit [Ping timeout: 248 seconds]
raul782 has quit [Remote host closed the connection]
konsolebox has joined #ruby
guille-moe has joined #ruby
raul782 has joined #ruby
lucas has joined #ruby
raul782 has quit [Ping timeout: 246 seconds]
ShekharReddy has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TomyWork has quit [Quit: Leaving]
TomyWork has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
astronavt has joined #ruby
Beams has joined #ruby
astronavt has quit [Ping timeout: 255 seconds]
lunarkitty7 has joined #ruby
tvw has quit []
DoubleMalt has joined #ruby
vondruch has joined #ruby
<TvL2386> hey guys, I'm having a String returned from a HP switch that has: 'Serial Number: \xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF Core Dump: YES'
ur5us has joined #ruby
<TvL2386> The encoding of this String is Encoding:ASCII-8BIT (whereas all other commands executed have encoding Encoding:UTF-8)
ahrs has quit [Remote host closed the connection]
<TvL2386> when this string is dumped to json, I get an error: Encoding::UndefinedConversionError: "\xFF" from ASCII-8BIT to UTF-8
ahrs has joined #ruby
<TvL2386> it's probably due to newer firmware, I suspect a bug in the switch firmware, because an interactive ssh session also shows weird chars in that output
<TvL2386> however, for now I need to work around it and want to filter it out
SteenJobs has joined #ruby
<TvL2386> I thought I would do output.gsub('\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF','*************') but it seems those chars are not matched
lunarkitty7 has quit [Ping timeout: 255 seconds]
chmuri has quit [Excess Flood]
jamesaxl has quit [Read error: Connection reset by peer]
Serpent7776 has joined #ruby
jamesaxl has joined #ruby
bkxd has joined #ruby
<TvL2386> yeha!
bkxd has quit [Client Quit]
quobo has joined #ruby
nick1 has joined #ruby
bkxd_ has quit [Ping timeout: 252 seconds]
<nick1> hello!
<nick1> I first use IRC.
<nick1> very cool.
jokke has quit [Quit: WeeChat 1.9]
<nick1> nobody?
jokke has joined #ruby
<nick1> welcome jokke
<nick1> I come from China.
<nick1> 有人陪我聊天吗
jackjackdripper has quit [Quit: Leaving.]
lunarkitty7 has joined #ruby
<nick1> welcome lunarkitty7
<nick1> hello
<nick1> no fun
nick1 has quit [Quit: WeeChat 1.4]
chmurifree has joined #ruby
<TvL2386> hi nick1
<TvL2386> oh buy nick1
<TvL2386> *bye
<TvL2386> :S
jokke has quit [Quit: WeeChat 1.9]
despai has joined #ruby
<adaedra> Patience is rare nowadays
jokke has joined #ruby
<TvL2386> so it seems :)
hogetaro has quit [Quit: Leaving...]
<adaedra> ?encoding
<ruby[bot]> check https://gist.github.com/apeiros/39acc5b486f932403638 - it might contain useful informations to solve your encoding problems
<adaedra> Seems you solved your problem, but this can be helpful, TvL2386
lunarkitty7 has quit [Ping timeout: 264 seconds]
<TvL2386> I'm checking it out adaedra! thanks!
<adaedra> yw
deepredsky has joined #ruby
thinkpad has quit [Read error: Connection reset by peer]
despai has quit [Client Quit]
CrazyEddy has joined #ruby
<adaedra> uh, no apeiros?
<TvL2386> ?
<adaedra> He's one of the founders, he wrote the document above, and is usually always here
<TvL2386> ah
despai has joined #ruby
thinkpad has joined #ruby
despai has quit [Client Quit]
ammar_ has quit [Quit: Lost terminal]
despai has joined #ruby
chmurifree has quit [Ping timeout: 272 seconds]
elphe has quit [Ping timeout: 260 seconds]
ldnunes has joined #ruby
leitz has joined #ruby
thinkpad has quit [Read error: Connection reset by peer]
thinkpad has joined #ruby
lunarkitty7 has joined #ruby
jnyw has quit [Quit: WeeChat 1.9.1]
faces has quit [Read error: Connection reset by peer]
Puffball has quit [Remote host closed the connection]
DoubleMalt has quit [Ping timeout: 248 seconds]
ammar has joined #ruby
ur5us has quit [Remote host closed the connection]
elphe has joined #ruby
faces has joined #ruby
jottr has joined #ruby
Dark_Arc has quit [Ping timeout: 252 seconds]
<TvL2386> adaedra: interesting read!
<ammar> l
<TvL2386> will surely help me in the future :)
guille-moe has quit [Ping timeout: 252 seconds]
Dark_Arc has joined #ruby
<plexigras> how can i get time until in a human readable format?
<plexigras> so 1000 is `in 1 second` and -1000 is `1 second ago`
<plexigras> *not 1000 but .1 and -.1
<plexigras> no not .1 and -.1
<plexigras> 1 and -1
<plexigras> im retarded
<adaedra> There's probably a gem for that, but I don't know any
<adaedra> I think rails has something like that
<dminuoso_> Yeah it's called moment.js
<adaedra> ¡kick dminuoso_
lexruee has quit [Ping timeout: 240 seconds]
guille-moe has joined #ruby
<dminuoso_> =)
<dminuoso_> o/ adaedra
<adaedra> \o dminuoso_
dminuoso_ is now known as dminuoso
dminuoso has quit [Changing host]
dminuoso has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
<adaedra> SASL is a good thing to avoid blinking
faces has quit [Ping timeout: 258 seconds]
lexruee has joined #ruby
<dminuoso> adaedra: But yeah, Rails has helpers in ActionView (!), and they're of low quality.
<dminuoso> They're not properly grammatically inflected for different languages
<adaedra> It would surprise me that no one would have made a gem for this
astronavt has joined #ruby
<dminuoso> I know radar has a gem for this, but it has a focus on precision rather than this "humanized form" moment.js provideds
<dminuoso> (Which would do stuff like "about 4 months ago")
<adaedra> Americans should not be programming software, they always forget there are other countries
<dminuoso> Whereas Radars would rather provide you with "4 months, 3 days, 17 hours [...] ago"
faces has joined #ruby
<dminuoso> Heh yeah.
<plexigras> dminuoso: yeah where can i find something like that?
ur5us has quit [Ping timeout: 260 seconds]
jnollette has quit [Remote host closed the connection]
<dminuoso> plexigras: Would something like the last be good enough for you?
<plexigras> yes
<plexigras> that sounds perfect
<dminuoso> plexigras: https://github.com/radar/dotiw
jnollette has joined #ruby
<dminuoso> You can configure it slightly to the accuracy that you want, check out the documentation.
<adaedra> And dminuoso saves the day
<dminuoso> Radar does.
astronavt has quit [Ping timeout: 246 seconds]
mfb2 has quit [Remote host closed the connection]
<plexigras> thank you verry much
lxnr has joined #ruby
<plexigras> is it normal to take for ever to install a gem?
<adaedra> If it has native extensions, it can take some time
<plexigras> ok :)
<adaedra> Normally it tells you "Building native extensions"
elphe has quit [Ping timeout: 248 seconds]
<dminuoso> Well the thing is, this gem will pull actionpack behind it.
<dminuoso> So that could be quite a bit if you don't have a rails application already.
<plexigras> and i just put `require 'dotiw'` in the file?
<dminuoso> plexigras: That depends on whether you use Bundler or not.
<plexigras> i dont understand, im a total newbie
<plexigras> what do i need to do to get this to work?
<plexigras> this cant be to hard right?
<plexigras> this is frustrating
<plexigras> dminuoso: can you help me?
Beams_ has joined #ruby
Beams has quit [Ping timeout: 248 seconds]
deepredsky has quit [Ping timeout: 240 seconds]
<plexigras> ok i think im just gonna give up on this
lxnr has quit [Quit: WeeChat 1.9.1]
Beams_ has quit [Quit: .]
csk157 has joined #ruby
elphe has joined #ruby
csk157 has quit [Ping timeout: 268 seconds]
ptx0 has quit [Ping timeout: 248 seconds]
_aeris_ has quit [Ping timeout: 248 seconds]
xMopxShell has quit [Ping timeout: 260 seconds]
yahmds has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
_aeris_ has joined #ruby
muelleme has joined #ruby
cdg has joined #ruby
claudiuinberlin has joined #ruby
leitao has joined #ruby
muelleme has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 252 seconds]
tcopeland has quit [Quit: tcopeland]
bigkevmcd has quit [Quit: Outta here...]
jgt has joined #ruby
chmurifree has joined #ruby
SteenJobs has quit [Quit: peaceee]
apparition has joined #ruby
yahmds has quit [Ping timeout: 248 seconds]
Beams has joined #ruby
yahmds has joined #ruby
astronavt has joined #ruby
Beams has quit [Client Quit]
despai has quit [Quit: ...]
astronavt has quit [Ping timeout: 276 seconds]
xMopxShell has joined #ruby
fredx has quit [Remote host closed the connection]
ptx0 has joined #ruby
<AlHafoudh> is there any gem to do throttle method calls in ruby? something like javascript lodash _.throttle does. I just found rate limiting tied to rack. i need just to throttle method call
<AlHafoudh> or some block
Psybur has joined #ruby
Beams has joined #ruby
<dminuoso> AlHafoudh: If at all, this should be a modification of Proc
despai has joined #ruby
<AlHafoudh> dminuoso : thats ok
<dminuoso> And I think it could be easily done
<dminuoso> AlHafoudh: Interesting, I found something: https://github.com/hx/debouncer
<dminuoso> Oh wait, you wanted throttling!
<dminuoso> AlHafoudh: How do you want to handle backpressure?
leitz has quit [Quit: Nappy time]
<AlHafoudh> its only for logging progress percentage. i want to print the progress percent at least each 500ms lets say
<dminuoso> So you want lossy backpressure?
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<AlHafoudh> yes I guess
silvermine has quit [Ping timeout: 258 seconds]
<dminuoso> AlHafoudh: Do you need it in just one place, or do you want some abstraction to reuse in multiple places?
<AlHafoudh> I just came up with some implementation
csk157 has joined #ruby
<dminuoso> Ive done some digging into this particular library https://github.com/socketry/timers
nowhere_man has quit [Ping timeout: 258 seconds]
<dminuoso> It looks well written, and can easily be used to build some rate thottling around it
bronson has quit [Read error: Connection reset by peer]
despai has quit [Quit: ...]
bronson_ has joined #ruby
<plexigras> is there a interval function?
<dminuoso> &ri Range plexigras
csk157 has quit [Ping timeout: 240 seconds]
<dminuoso> AlHafoudh: Oh right. Lossy backpressure.
holden_d has joined #ruby
jameser has joined #ruby
miskatonic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
uZiel has quit [Ping timeout: 248 seconds]
despai has joined #ruby
tcopeland has joined #ruby
<plexigras> dminuoso: i mean a timer interval
apeiros_ has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
silvermine has joined #ruby
jgt has quit [Ping timeout: 248 seconds]
porfavordama has joined #ruby
holden_d has quit [Quit: Leaving]
porfavordama has quit [Client Quit]
despai has quit [Quit: ...]
porfavordama has joined #ruby
despai has joined #ruby
despai has quit [Client Quit]
jottr has quit [Ping timeout: 250 seconds]
porfavordama has quit [Ping timeout: 260 seconds]
despai has joined #ruby
cdg has joined #ruby
hightower2 has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
anisha_ has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 240 seconds]
anisha_ has joined #ruby
nadir has joined #ruby
guille-moe has quit [Ping timeout: 258 seconds]
Xano_ has joined #ruby
<Xano_> Hi! I have zero Ruby knowledge, but need to install a particular third-party Gem as part of a tool stack I am installing. The documentation recommends installing the Gems globally, causing all kinds of permission issues. What's a common approach to handle this? I assume there's another solution than running Gems with `sudo` :)
jottr has joined #ruby
astronavt has joined #ruby
RoneDreamer has joined #ruby
astronavt has quit [Ping timeout: 246 seconds]
despai has quit [Quit: ...]
RoneDreamer has quit [Read error: Connection reset by peer]
InfinityFye has joined #ruby
RoneDreamer has joined #ruby
despai has joined #ruby
jeffreylevesque has quit [Ping timeout: 268 seconds]
rfoust has joined #ruby
tvw has joined #ruby
Xano__ has joined #ruby
synthroid has joined #ruby
Xano_ has quit [Ping timeout: 260 seconds]
voldemar has joined #ruby
jgt has joined #ruby
psychicist__ has quit [Quit: Lost terminal]
rhebz916 has quit [Remote host closed the connection]
lxnr has joined #ruby
jgt has quit [Client Quit]
aintno_sunshine has joined #ruby
BTRE has quit [Remote host closed the connection]
csk157 has joined #ruby
csk157 has quit [Ping timeout: 264 seconds]
BTRE has joined #ruby
lxnr has quit [Quit: WeeChat 1.9.1]
jaruga has joined #ruby
RoneDreamer has quit []
yahmds has quit [Ping timeout: 240 seconds]
yahmds has joined #ruby
mikeiniowa has joined #ruby
mson has joined #ruby
jeffreylevesque has joined #ruby
anisha_ has quit [Ping timeout: 240 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo2 has joined #ruby
bmurt has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Mia has quit [Ping timeout: 276 seconds]
despai has quit [Quit: ...]
cdg has joined #ruby
caen23 has joined #ruby
bigkevmcd has joined #ruby
anisha_ has joined #ruby
<caen23> hi, i was wondering what are good resources to get started with ruby. is the pickaxe fine for 2.4? i have programming experience (coming from c and python), and i'm not currently interested in rails. thanks!
<dminuoso> caen23: The pickaxe while being a good book is relatively old.
<caen23> that's what i was afraid of
<dminuoso> caen23: If you have good experience, you could just get the book "Eloquent Ruby" or perhaps "The Well Grounded Rubyist" which are currently the two most recommended books in this channel
<dminuoso> caen23: Beyond that the topic has a good booklist
astronavt has joined #ruby
<dminuoso> (Which incidentally does list the pickaxe)
DoubleMalt has joined #ruby
<caen23> i did check out the list in the topic before asking, but it said twgr is for "introduction to programming in general" and that put me off as well
_aeris_ has quit [Ping timeout: 248 seconds]
<dminuoso> caen23: Hardly.
<dminuoso> caen23: I guess it can work for some, but its very steep.
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> caen23: Eloquent Ruby is probably the best fit for you.
_aeris_ has joined #ruby
<dminuoso> caen23: The "introduction to programming" is basically just the first 4 pages or so.
<caen23> i'll get eloquent then, thanks a lot ^^
astronavt has quit [Ping timeout: 255 seconds]
<dminuoso> Just checked my copy, its 10.
<dminuoso> ;)
caen23 has quit [Quit: leaving]
mim1k has joined #ruby
iamarun has joined #ruby
Rouge has quit [Ping timeout: 240 seconds]
despai has joined #ruby
aintno_sunshine has quit [Ping timeout: 248 seconds]
anisha_ has quit [Quit: This computer has gone to sleep]
mim1k has quit [Ping timeout: 268 seconds]
drowze has joined #ruby
Mia has joined #ruby
mim1k has joined #ruby
xlegoman has joined #ruby
jeffreylevesque_ has joined #ruby
xlegoman has quit [Client Quit]
csk157 has joined #ruby
jeffreylevesque has quit [Ping timeout: 246 seconds]
iamarun has quit [Ping timeout: 255 seconds]
Axy has quit [Ping timeout: 248 seconds]
csk157 has quit [Ping timeout: 248 seconds]
Mia has quit [Ping timeout: 248 seconds]
sysvalve has joined #ruby
srandon111 has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
<srandon111> hello all, where do i start with ruby ? can somebody advice me some good books about software design ?
shinnya has joined #ruby
<dminuoso> 14:53 dminuoso | caen23: If you have good experience, you could just get the book "Eloquent Ruby" or perhaps "The Well Grounded Rubyist" which are currently the two most recommended books in this channel
danieli has joined #ruby
danieli has joined #ruby
<srandon111> dminuoso: what about software design with classes... i mean do you generally use UML ?
<srandon111> or start by writing code directly ?
charliesome has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
iamarun has joined #ruby
<dminuoso> UML is terrible at most things.
mniip has quit [Ping timeout: 612 seconds]
<dminuoso> We start by collecting user stories.
Xano__ has quit [Remote host closed the connection]
Xano__ has joined #ruby
mim1k has joined #ruby
d10n-work has joined #ruby
iamarun has quit [Remote host closed the connection]
guille-moe has joined #ruby
krawchyk has joined #ruby
allcentury has joined #ruby
mikecmpbll has joined #ruby
duderonomy has joined #ruby
yahmds has quit [Ping timeout: 240 seconds]
mim1k has quit [Disconnected by services]
mim1k_ has joined #ruby
yahmds has joined #ruby
ogres has joined #ruby
rippa has joined #ruby
mim1k_ has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
astronavt has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
[spoiler] has quit [Ping timeout: 240 seconds]
astronavt has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby
polishdub has joined #ruby
yahmds has quit [Ping timeout: 260 seconds]
[spoiler] has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 240 seconds]
mniip has joined #ruby
KeyJoo has quit [Remote host closed the connection]
gnufied has joined #ruby
uZiel has joined #ruby
despai has quit [Quit: ...]
apparition has quit [Quit: Bye]
csk157 has joined #ruby
Rapture has joined #ruby
jottr has joined #ruby
cschneid_ has quit [Remote host closed the connection]
despai has joined #ruby
csk157 has quit [Ping timeout: 248 seconds]
TomyWork has quit [Quit: Leaving]
hightower2 has quit [Ping timeout: 268 seconds]
miskatonic has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
ana_ has quit [Quit: Leaving]
mim1k has joined #ruby
despai has quit [Quit: ...]
yahmds has joined #ruby
naftilos76 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Roa_ is now known as Roa
Roa has quit [Changing host]
Roa has joined #ruby
Rouge has joined #ruby
oleo2 has quit [Ping timeout: 255 seconds]
Psybur has quit [Remote host closed the connection]
Psybur has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
despai has joined #ruby
duderonomy has quit [Ping timeout: 248 seconds]
oleo has joined #ruby
despai has quit [Client Quit]
kculpis has joined #ruby
moei has quit [Quit: Leaving...]
selim has quit [Ping timeout: 250 seconds]
safetypin has joined #ruby
despai has joined #ruby
enterprisey has joined #ruby
selim has joined #ruby
yahmds has quit [Ping timeout: 260 seconds]
astronavt has joined #ruby
astronavt has quit [Ping timeout: 258 seconds]
enterprisey has quit [Ping timeout: 240 seconds]
Asher has quit [Quit: Leaving.]
andikr has quit [Remote host closed the connection]
mson has joined #ruby
drowze has quit [Ping timeout: 240 seconds]
mfb2 has joined #ruby
synthroid has quit [Remote host closed the connection]
DoubleMalt has quit [Ping timeout: 250 seconds]
yahmds has joined #ruby
cschneid_ has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
mfb2 has quit [Ping timeout: 248 seconds]
dviola has joined #ruby
apeiros has joined #ruby
Neptu has quit [Ping timeout: 248 seconds]
synthroid has joined #ruby
apeiros_ has quit [Ping timeout: 240 seconds]
dinfuehr has quit [Ping timeout: 248 seconds]
mfb2 has joined #ruby
dinfuehr has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
John__ has joined #ruby
despai has quit [Quit: ...]
mfb2 has quit [Ping timeout: 250 seconds]
enterprisey has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
drowze has joined #ruby
DTZUZU has quit [Quit: WeeChat 1.9]
troys has joined #ruby
InfinityFye has quit [Quit: Leaving]
exhiled has joined #ruby
cschneid has quit [Read error: Connection reset by peer]
cschneid- has joined #ruby
aufi has quit [Remote host closed the connection]
Neptu has joined #ruby
jackjackdripper has joined #ruby
[Butch] has joined #ruby
rahul_bajaj has joined #ruby
nowhere_man has joined #ruby
mfb2 has joined #ruby
rabajaj has quit [Ping timeout: 248 seconds]
allcentury has joined #ruby
cschneid_ has quit [Remote host closed the connection]
cschneid has joined #ruby
houhoulis has joined #ruby
astronavt has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yokel has quit [Remote host closed the connection]
astronavt has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
sysvalve has quit [Quit: Leaving]
lexruee has quit [Ping timeout: 268 seconds]
cdg has quit [Remote host closed the connection]
lexruee has joined #ruby
yahmds has quit [Read error: Connection reset by peer]
exhiled has joined #ruby
plexigras has quit [Ping timeout: 260 seconds]
Serpent7776 has quit [Quit: Leaving]
moei has joined #ruby
TomyLobo has joined #ruby
guille-moe has quit [Ping timeout: 248 seconds]
bigkevmcd has quit [Quit: Outta here...]
mfb2 has quit [Remote host closed the connection]
csk157 has joined #ruby
mfb2 has joined #ruby
Rouge has quit [Ping timeout: 248 seconds]
despai has joined #ruby
csk157 has quit [Ping timeout: 255 seconds]
eckhardt has joined #ruby
silvermine has quit [Quit: WeeChat 2.0-dev]
Rouge has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
ogres has quit [Quit: Connection closed for inactivity]
muelleme has joined #ruby
rfoust has quit [Quit: Textual IRC Client: www.textualapp.com]
kies has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 260 seconds]
srandon111 has quit [Quit: Page closed]
allcentury has quit [Ping timeout: 240 seconds]
muelleme has quit [Ping timeout: 248 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
oetjenj has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
jottr has joined #ruby
rahul_bajaj has quit [Remote host closed the connection]
cschneid_ has joined #ruby
cognoscente_ has joined #ruby
csk157 has joined #ruby
konsolebox_ has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has quit [Ping timeout: 268 seconds]
jnollette has quit [Quit: ZNC 1.6.5 - http://znc.in]
csk157 has quit [Ping timeout: 240 seconds]
jnollette has joined #ruby
despai has quit [Ping timeout: 268 seconds]
jottr has quit [Ping timeout: 276 seconds]
astronavt has joined #ruby
ur5us has joined #ruby
tvw has quit [Remote host closed the connection]
exhiled has joined #ruby
my123 has quit [Read error: Connection reset by peer]
wnd has quit [Excess Flood]
my123 has joined #ruby
my123 has joined #ruby
hockerfan11 has joined #ruby
Beams has quit [Quit: .]
<hockerfan11> Hello. I am trying to get the gem installation path in a users home directory programmatically. I seem to be able to get ALL the gem paths through 'gem env path', but can I get ONE of those paths without parsing this list?
wnd has joined #ruby
astronavt has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 248 seconds]
govg has joined #ruby
Xano__ has quit [Ping timeout: 240 seconds]
mwlang has joined #ruby
SeepingN has joined #ruby
naftilos76 has quit [Quit: Αποχώρησε]
Mia has quit [Read error: Connection reset by peer]
silvermine has joined #ruby
Mia has joined #ruby
hockerfan11 has quit [Quit: Page closed]
kies has joined #ruby
claudiuinberlin has joined #ruby
miskatonic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
cdg has joined #ruby
cdg_ has joined #ruby
csk157 has joined #ruby
cognoscente has joined #ruby
rando_rubyist has quit [Quit: WeeChat 1.9.1]
cognoscente_ has quit [Ping timeout: 255 seconds]
cdg has quit [Ping timeout: 255 seconds]
despai has joined #ruby
mfb2 has quit [Remote host closed the connection]
jnollette has quit [Quit: ZNC 1.6.5 - http://znc.in]
nowhere_man has quit [Ping timeout: 240 seconds]
mson has quit [Quit: Connection closed for inactivity]
mfb2 has joined #ruby
csk157 has quit [Ping timeout: 268 seconds]
despai has quit [Client Quit]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jnollette has joined #ruby
minimalism has joined #ruby
jordanm has quit [Ping timeout: 240 seconds]
jeffreylevesque_ has quit [Ping timeout: 240 seconds]
mfb2 has quit [Ping timeout: 260 seconds]
cognoscente_ has joined #ruby
alex`` has quit [Quit: WeeChat 1.9.1]
cognoscente has quit [Ping timeout: 240 seconds]
mfb2 has joined #ruby
csk157 has joined #ruby
mfb2 has quit [Remote host closed the connection]
mfb2 has joined #ruby
Rouge has quit [Ping timeout: 268 seconds]
damenez has joined #ruby
<damenez> hi
<dminuoso> hi.
<baweaver> hi..
<dminuoso> Whatever problem you have, baweaver is happy to help you.
<havenwood> hi
* dminuoso goes to the supermarket
<dminuoso> Again.. havenwood and baweaver appearing at the scene at the same time.
<dminuoso> Suspicious stuff.
aintno_sunshine has joined #ruby
PaulCapestany has quit [Quit: .]
ledestin has joined #ruby
despai has joined #ruby
PaulCapestany has joined #ruby
<RickHull> quick, what's some ruby code to discover the letters they have in common?
<RickHull> what words can we make with them?
<RickHull> "wave"
<dminuoso> >> "foobar".chars.uniq
<ruby[bot]> dminuoso: # => ["f", "o", "b", "a", "r"] (https://eval.in/911679)
<RickHull> we just want the intersection, not uniq
<dminuoso> ....
Rouge has joined #ruby
<dminuoso> Intersection with WHAT
<RickHull> >> "baweaver".chars.insersect "havenwood".chars
<ruby[bot]> RickHull: # => undefined method `insersect' for ["b", "a", "w", "e", "a", "v", "e", "r"]:Array ...check link for more (https://eval.in/911680)
cognoscente_ has quit [Ping timeout: 240 seconds]
<dminuoso> RickHull: Array#&
<RickHull> ops
rm8 has joined #ruby
<dminuoso> And what words we can make with them is easy
<RickHull> >> "baweaver".chars & "havenwood".chars
<dminuoso> >> ("baweaver".chars & "havenwood".chars).combination
<ruby[bot]> RickHull: # => ["a", "w", "e", "v"] (https://eval.in/911681)
<ruby[bot]> dminuoso: # => wrong number of arguments (given 0, expected 1) (ArgumentError) ...check link for more (https://eval.in/911682)
<dminuoso> diaf.
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* havenwood wave
<dminuoso> >> ("baweaver".chars & "havenwood".chars).permutation.to_a
<ruby[bot]> dminuoso: # => [["a", "w", "e", "v"], ["a", "w", "v", "e"], ["a", "e", "w", "v"], ["a", "e", "v", "w"], ["a", "v", ...check link for more (https://eval.in/911683)
oetjenj has joined #ruby
* baweaver wave
<RickHull> the evidence mounts
<dminuoso> Clearly.
<dminuoso> It is known.
oetjenj has quit [Client Quit]
astronavt has joined #ruby
ctrlaltdev has joined #ruby
<RickHull> khaleesi
oetjenj has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
oetjenj has quit [Client Quit]
<dminuoso> But this is not FP enough for me.
<RickHull> is it ever?
<dminuoso> Now I need to make strings behave like lists..
oetjenj has joined #ruby
<dminuoso> that way you just need to do: intersect "bawaver", "havenwood"
oetjenj has quit [Client Quit]
<RickHull> bawaver, heavenwood
oetjenj has joined #ruby
<dminuoso> Hey hey, dont hilight them!
<dminuoso> If you're using "bawaver" and "havenwood" you are just talking about ruby code, that's legit right?
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
camonz has joined #ruby
mfb2 has quit [Read error: Connection reset by peer]
mfb2 has joined #ruby
astronavt has quit [Ping timeout: 255 seconds]
brent__ has joined #ruby
nchambers is now known as god
mim1k has joined #ruby
god is now known as chambers
chambers is now known as nchambers
ur5us has joined #ruby
jordanm has joined #ruby
mwlang has quit [Quit: mwlang]
jnollette has quit [Ping timeout: 248 seconds]
mwlang has joined #ruby
* baweaver wanders back in
* baweaver chuckles
* baweaver wanders back out
jnollette has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
freeze_ is now known as freeze
mim1k has joined #ruby
cognoscente has joined #ruby
despai has quit [Quit: ...]
bkxd has joined #ruby
bkxd has quit [Client Quit]
Dimik has joined #ruby
cdg_ has quit [Remote host closed the connection]
mfb2 has quit [Remote host closed the connection]
<havenwood> I'm just happy that people stopped insisting that I'm a bot.
<baweaver> YOU'RE NOT!?
elphe has quit [Ping timeout: 240 seconds]
mfb2_ has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
drowze has quit [Ping timeout: 255 seconds]
csk157 has quit [Ping timeout: 240 seconds]
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
mfb2_ has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
mfb2 has joined #ruby
jxv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaruga has quit [Quit: jaruga]
jeffreylevesque has joined #ruby
<RickHull> does it walk like a bot?
csk157 has joined #ruby
mfb2 has quit [Remote host closed the connection]
cdg has joined #ruby
damenez has quit [Remote host closed the connection]
mfb2 has joined #ruby
cdg has quit [Remote host closed the connection]
cschneid_ has joined #ruby
duderonomy has joined #ruby
cognoscente has quit [Ping timeout: 260 seconds]
sepp2k has quit [Read error: Connection reset by peer]
mfb2 has quit [Ping timeout: 276 seconds]
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
cognoscente has joined #ruby
tomphp has joined #ruby
drowze has joined #ruby
yahmds has joined #ruby
astronavt has joined #ruby
sameerynho has joined #ruby
yahmds has quit [Client Quit]
<dminuoso> See, this is why duck typing sucks.
<dminuoso> havenwood agrees.
cdg has joined #ruby
Xano__ has joined #ruby
astronavt has quit [Ping timeout: 252 seconds]
exhiled has joined #ruby
drowze has quit [Ping timeout: 248 seconds]
sameerynho has quit [Quit: WeeChat 1.9.1]
muelleme has joined #ruby
troys is now known as troys_
[spoiler] has quit [Ping timeout: 240 seconds]
JStoker has quit [Ping timeout: 264 seconds]
cdg has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has joined #ruby
voker57 has quit [Remote host closed the connection]
Takumo has quit [Ping timeout: 264 seconds]
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
[spoiler] has joined #ruby
Takumo has joined #ruby
JStoker has joined #ruby
DLSteve has joined #ruby
cdg_ has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
<baweaver> dminuoso: yep
jeffreylevesque_ has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeffreylevesque has quit [Ping timeout: 268 seconds]
sameerynho has joined #ruby
jeffreylevesque has joined #ruby
jeffreylevesque_ has quit [Ping timeout: 240 seconds]
Xiti has quit [Quit: Xiti]
elphe has joined #ruby
tcopeland has quit [Quit: tcopeland]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
chiggins has left #ruby ["WeeChat 1.7.1"]
muelleme has quit [Ping timeout: 240 seconds]
<mikecmpbll> slightly strange question, but would it be possible to detect and log when a float is created that is NaN?
<mikecmpbll> i'm trying to trace where NaN is generated in some complex mathematical code.
<RickHull> >> 1.2.nan?
<ruby[bot]> RickHull: # => false (https://eval.in/911717)
<mikecmpbll> yes, i don't really wanna stick that after every operation
<mikecmpbll> or division
<mikecmpbll> trying to do some (dirty) hacking to make my life easier.
<dminuoso> mikecmpbll: Mmm. Yes.
<dminuoso> mikecmpbll: There's set_trace_func ..
mwlang has quit [Quit: mwlang]
<dminuoso> mikecmpbll: I would look into enabling #MF
<mikecmpbll> #MF ?
<dminuoso> Is this what you possibly want?
cdg has joined #ruby
<mikecmpbll> i have no idea what that means, unfortunately.
<mikecmpbll> so i couldn't tell ya
<baweaver> +1 set_trace_func
* mikecmpbll is currently googling set_trace_func, looks good so far
<RickHull> you could monkey-patch division with a nan check and maybe #caller
<dminuoso> RickHull: Not just division. It should be any operation
<baweaver> mikecmpbll: ^
<baweaver> That's the 2.4+ variant
despai has joined #ruby
<mikecmpbll> <3
Psybur has quit [Ping timeout: 250 seconds]
<dminuoso> RickHull: Bah Id just enable #MF and hope Ruby uses native FP arithmetic :P
<dminuoso> i.e. set CR0.NE
<RickHull> FP = floating point here, right?
<baweaver> Just throw a binding.pry in there whenever the condition is true or have it log out where it got hit
<dminuoso> That or fluffy puffy
<mikecmpbll> it's actually bigdecimal that i'm working with, not float. just realised my earlier misspeaking but don't think it makes any diff
<RickHull> I doubt what you get from the FPE thingie will map well to ruby code
cdg_ has quit [Ping timeout: 240 seconds]
<dminuoso> RickHull: If FP is done natively and CR0.NE is set, then a CPU exception is emitted on unmasked fp exceptions.
<dminuoso> Which means you get a bugsplat with a ruby backtrace.
<RickHull> ah cool
cdg has quit [Ping timeout: 264 seconds]
<RickHull> there should be a mode to raise on NaN
<RickHull> or maybe a way to monkeypatch that in
eckhardt has joined #ruby
jxv has joined #ruby
<RickHull> sorry for the 2.1.1, sue me :)
klaas_ has joined #ruby
despai has quit [Quit: ...]
mfb2 has joined #ruby
cdg has joined #ruby
<dminuoso> RickHull: There is.
<dminuoso> Its called CR0.NE :P
<dminuoso> It raises an exception..
mim1k has joined #ruby
<dminuoso> except you cant catch it :P
<mikecmpbll> RickHull : 😮
<mikecmpbll> wtf how didn't i stumble upon that myself. eugh
klaas_ is now known as klaas
<mikecmpbll> that'll do nicely.
<dminuoso> MMm.
<mikecmpbll> thanks all :D and i learned about TracePoint.
<dminuoso> RickHull: I think this actually uses this.
<RickHull> this.self === self.this
mfb2 has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 248 seconds]
mfb2 has joined #ruby
mfb2 has quit [Remote host closed the connection]
tcopeland has joined #ruby
leah2 has quit [Ping timeout: 246 seconds]
allcentury has joined #ruby
vondruch has quit [Quit: vondruch]
mfb2_ has joined #ruby
<RickHull> anyone play Traveller tabletop RPG? I have some questions for you in #ruby-offtopic please :)
nowhere_man has joined #ruby
mim1k has joined #ruby
astronavt has joined #ruby
tcopeland has quit [Quit: tcopeland]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
muelleme has joined #ruby
astronavt has quit [Ping timeout: 255 seconds]
leah2 has joined #ruby
Xiti has joined #ruby
mcr1 has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
cr3 has joined #ruby
Azure|dc has joined #ruby
<cr3> hi folks, I'm calling `sh "docker build ..."` in a Rakefile; the command returns an error message but copy/pasting the command on the shell runs fine. any ideas?
Azure has quit [Ping timeout: 255 seconds]
mcr has joined #ruby
elphe has quit [Ping timeout: 260 seconds]
<RickHull> paste the code and the error
<baweaver> !gist
<RickHull> and it's generally better to call shell processes like: `sh command_name, arg1, arg2, ...`
<baweaver> in a gist preferably :D
lexruee has quit [Ping timeout: 240 seconds]
<baweaver> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<baweaver> nuuuuuuuu bot
<baweaver> aha
voldemar has quit [Ping timeout: 258 seconds]
<RickHull> so: `sh 'docker', 'build', 'the_thing', 'to_do',, 'stuff'`
lexruee has joined #ruby
csk157 has quit [Ping timeout: 268 seconds]
<RickHull> except without extra commas
mim1k has quit [Ping timeout: 248 seconds]
mcr has quit [Ping timeout: 246 seconds]
mfb2_ has quit [Remote host closed the connection]
mwlang has joined #ruby
cdg has joined #ruby
mcr1 has joined #ruby
bkxd has joined #ruby
mfb2 has joined #ruby
tcopeland has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
reber has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 240 seconds]
<ule> correct if I'm wrong, but if I have two different object_ids, that means two different objects in memory right?
mfb2 has quit [Ping timeout: 260 seconds]
<dminuoso> ule: Yup
<dminuoso> ule: Object ids are actually memory addresses.
<havenwood> a bitshift away
<dminuoso> ^-
<ule> so if I use foo.keep_if instead of foo.select I'm gonna save memory since it mutates the object instead of creating a new one
<ule> correct?
mfb2 has joined #ruby
enterprisey has quit [Ping timeout: 276 seconds]
<dminuoso> havenwood: Im afraid to answer, because I dont want to support mutating objects.
<dminuoso> havenwood: Can you please?
<havenwood> ule: Check your presumptions about memory usage and speed with metrics and benchmarks. Things may not be as you'd expect.
<ule> mutating objects its ok if it mutates in the last statement of a method though.
<havenwood> ule: Sometimes memory and speed matter less than predictability and testability.
<ule> havenwood: I did a benchmark and keep_if looks to be faster than select
<havenwood> ule: Did you check it with realistic data?
<havenwood> Is it meaningfully faster?
<ule> Array(1..100_000_000)
<havenwood> ule: Is that the same data you'll be working with?
<ule> I'd say 10 vs 6
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ule> thats a good point
<havenwood> ule: I'd suggest trying metrics and benchmarks with as realistic data as possible. Then see if the differences are important enough to be worth mutating.
s778 has joined #ruby
<ule> havenwood: you think mutating is slower than creating a new object?
mwlang has quit [Quit: mwlang]
jenrzzz has joined #ruby
<havenwood> ule: Is it premature optimization?
Technodrome has joined #ruby
aintno_sunshine has quit [Ping timeout: 258 seconds]
<havenwood> "If a pure function mutates some local data in order to produce an immutable return value, is that ok?" ;-)
<dminuoso> ule: The way the code works, is that it scans the array, and moves items to the left if the match, resizing the array at the end.
<ule> if I mutate something that is the last statement from my method, knowing that Im gonna return that same data at the end, I'm actually saving 1 new object in memory and no risk of mutating since there is no more operations after that
<dminuoso> ule: It shouldn't be meaningfully more expensive to use #select over #select!
<ule> dminuoso: 1 method call is 1 object, how about 100.000 method calls? 100.000 objects in memory
<dminuoso> What do you mean with method calls?
<dminuoso> The percentage cost is still the same.
Xano__ has quit [Ping timeout: 260 seconds]
<dminuoso> ule: Let me ask differently. Did your profiler tell this is in a hotspot?
<ule> dminuoso: you mean, if we considerate that mutates is slower than creating a new object
<ule> but on a benchmark using numbers it shows to be faster
jenrzzz has quit [Ping timeout: 248 seconds]
<dminuoso> ule: Ignore benchmarks. Do you have code that suffers in performance, with the profiler telling you this is hot?
<dminuoso> If this is not a hot spot, we shouldn't be talking about this (i.e, use #select)
headius_ is now known as headius
tvw has joined #ruby
clemens3 has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
<ule> no. I just want to convince myself that if doesnt matter mutate or not since its the last statement in the method, 2 positive points on using keep_if instead of select is that it saves memory and its faster
mwlang has joined #ruby
<ule> but I agree that mutating something in the middle of something could mess things up
voldemar has joined #ruby
<dminuoso> And it mutates. Mutating objects means you cant use this trivially in concurrency situations, and it makes code error prone.
<ule> but if the variable Im mutating is isolated inside a method scope, and its not an instance variable, then there is no concurrency
enterprisey has joined #ruby
bkxd_ has joined #ruby
<ule> It was nice that my coleague bring this up review my code though. I got a chance to braindstorm better about all this
<ule> *brought
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
troys_ is now known as troys
<dminuoso> ule: So you have ruled out the first part. What about the second?
<ule> which second?
<dminuoso> "and it makes code error prone"
<ule> I don't know what that means actually
<dminuoso> ule: Is the array from an argument?
<dminuoso> Or is it created locally?
<ule> from argument
<dminuoso> So it is shared!
bkxd has quit [Ping timeout: 260 seconds]
<ule> foo(a) a.keep_if { something
voldemar has quit [Ping timeout: 264 seconds]
<dminuoso> And therein lies your problem. If you mutate arguments, this can trip anyone up in the entire callgraph above you that have access to the arra
<ule> thats all the method does. even if I use .select instead, the goal will be the same. Get rid of something and return it
<ule> I indeed want to change the data and return something else
<dminuoso> ule: Without seeing your code I can just assume that the array can come from multiple places. Lets assume I have some arr = [1,2,3], and I call some function writeToLog(arr), and that method happens to pass my array to yours, now my array has been mutated.
skweek has quit [Ping timeout: 240 seconds]
<dminuoso> If I use my arr any further, its different.
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<ule> I see
<ule> Thanks for sharing some thoughts with me guys
<ule> (:
voldemar has joined #ruby
muelleme has quit [Ping timeout: 248 seconds]
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
konsolebox_ has quit [Ping timeout: 240 seconds]
<clemens3> sometimes the caller explicitly wants the method to change the argument, sometimes it doesn't, use ! in the method name to indicate this.. if in doubt, create a new object and return that..
<dminuoso> clemens3: If you want it to change, feel free to do: arr = foo(arr)
<clemens3> dminuoso: exactly
<clemens3> is like sub and sub! etc.
<s778> Hello! I'm wondering if anybody here has any suggestions. I've sent in a feature request for Ruby on the issue tracker, completele with a patch to help implement said feature, but I haven't received any reply in 14 days. Am I going about this the wrong way?
synthroid has quit []
<dminuoso> That reminds me, my Q library needs to scan ObjectSpace for all classes, and undef_method any method ending in ! :D
voldemar has quit [Ping timeout: 264 seconds]
<dminuoso> s778: Link your issue please
<dminuoso> Oh heh.
s778 has quit [Quit: leaving]
konsolebox has joined #ruby
<dminuoso> Well that was funny.
s778 has joined #ruby
astronavt has joined #ruby
<dminuoso> s778: I think something that touches diagnostics in this fashion is very likely to take time and discussion.
<dminuoso> s778: You seem to have gotten nobu's attention, be patient now.
<dminuoso> But I like the idea.
alex`` has joined #ruby
<s778> I'm okay with that, I'm just not entirely sure what to expect or how to act
alex`` has quit [Client Quit]
<dminuoso> s778: What did nobu respond with?
bkxd_ has quit [Ping timeout: 268 seconds]
<RickHull> google translate does a good job, so far as I've read
<dminuoso> Oh wait, translate yeah
<RickHull> I would say: be patient and respond to questions
<RickHull> not much else to do
<s778> Oh, he just said "this seems like a decent idea" and gave some pointers on how it could be implemented
alex`` has joined #ruby
<s778> Alright, just sit tight then I suppose
<s778> Thanks!
<RickHull> also, you can maybe raise it on the appropriate mailing list
<dminuoso> s778: nobu is frequently the deciding factor in such matters, so if he thinks its a good idea that's also good :)
<RickHull> to get some more discussion / feedback / attention
bkxd has joined #ruby
<dminuoso> RickHull: So I have learned about semantic editor combinators today!
astronavt has quit [Ping timeout: 255 seconds]
<dminuoso> These will work in Q too (:
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mwlang has quit [Ping timeout: 240 seconds]
<RickHull> I need to take a break from Ruby to get back into FP mode :/
<dminuoso> s778: Translation question: sentry-ravenに頼ってはいけないでしょう
<dminuoso> What is that about?
<s778> I meant to say "it's probably not a good idea to rely on sentry-raven" (the gem)
<dminuoso> But I like what you are doing. Finally they get a taste of "them speaking badly in our language" of their own!
<s778> For the PoC implementation I grab the filename and parse it using some library from sentry-raven, then read the function prototype that's defined on that file
<RickHull> what does it do? any change to ruby core functionality would not rely on a gem
<s778> haha, might as well try, right?
<dminuoso> s778: How would this treat lambdas?
<s778> Oh good question, I haven't tested that
<RickHull> also, I will raise(ArgumentError, "don't do that") in my own methods sometimes
miskatonic has joined #ruby
<RickHull> would this work automagically?
<s778> No, it'd only work on argument errors instantiated by the Ruby. And even then only on methods called that exist in rubyland. For example, it wouldn't work on File.open().
ur5us has quit [Remote host closed the connection]
<dminuoso> s778: Also you might want to respect tabs/spaces in your patch
ta_ has quit [Read error: Connection reset by peer]
<dminuoso> The sudden shift when just looking at the diff is slightly annoying
cdg has joined #ruby
<s778> That's fair, thanks, I'll try to fix that.
Xano__ has joined #ruby
biberu has quit []
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
ta_ has joined #ruby
<dminuoso> s778: What revision is the patch against?
mfb2 has quit [Remote host closed the connection]
<s778> Just tested it on procs by the way, doesn't work. Interestingly, the "receiver" becomes an integer, rather than a class?
exhiled has joined #ruby
<dminuoso> s778: Is it possibly the object id or addr of the lambda?
<s778> dminuoso: the branch "trunk" as I found it on GitHub
<dminuoso> k
kitsunenokenja has joined #ruby
<dminuoso> s778: huh..
orbyt_ has joined #ruby
<dminuoso> foo.rb:3:in `block in <main>': wrong number of arguments (given 0, expected 1) (ArgumentError)
<dminuoso> Nevermind.
pdcawley has joined #ruby
safetypin has quit [Ping timeout: 248 seconds]
workmad3_ has quit [Ping timeout: 276 seconds]
csk157 has joined #ruby
exhiled has quit [Client Quit]
<dminuoso> s778: argument_kw_error should be patched just as well
<dminuoso> Perhaps even more importantly. :-)
<dminuoso> Or not sure, but it should be consistent
pdcawley has quit [Client Quit]
pdcawley has joined #ruby
cdg_ has joined #ruby
pdcawley has quit [Client Quit]
<s778> I should be able to test that with something like `def foo(a:); end; foo()`, right?
cdg_ has quit [Read error: Connection reset by peer]
pdcawley has joined #ruby
cdg has quit [Ping timeout: 248 seconds]
pdcawley has quit [Client Quit]
mfb2 has joined #ruby
pdcawley has joined #ruby
lupine has quit [Remote host closed the connection]
<dminuoso> yeah
voldemar has joined #ruby
pdcawley has quit [Client Quit]
pdcawley has joined #ruby
polishdub has quit [Quit: leaving]
lupine has joined #ruby
pdcawley has quit [Client Quit]
csk157 has quit [Ping timeout: 268 seconds]
pdcawley has joined #ruby
wilbert has joined #ruby
pdcawley has quit [Client Quit]
jamesaxl has quit [Quit: WeeChat 1.9.1]
pdcawley has joined #ruby
uZiel has joined #ruby
pdcawley has quit [Client Quit]
pdcawley has joined #ruby
<s778> Shoot, you're right, that doesn't work. Thanks!
pdcawley has quit [Client Quit]
pdcawley has joined #ruby
dstrunk has joined #ruby
wilbert_ has joined #ruby
allcentury has quit [Remote host closed the connection]
pdcawley has quit [Client Quit]
mfb2 has quit [Ping timeout: 248 seconds]
pdcawley has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
allcentury has joined #ruby
nowhere_man has quit [Ping timeout: 268 seconds]
pdcawley has quit [Client Quit]
nowhere_man has joined #ruby
wilbert has quit [Ping timeout: 248 seconds]
mfb2 has joined #ruby
jottr has joined #ruby
troys is now known as troys_
kapil___ has joined #ruby
cdg has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
mfb2 has quit [Remote host closed the connection]
mfb2 has joined #ruby
char_var[buffer] has quit [Ping timeout: 240 seconds]
safetypin has joined #ruby
tcopeland has quit [Quit: tcopeland]
cr3 has quit [Quit: leaving]
safetypin has quit [Quit: ZZZzzz…]
mtkd has quit [Read error: Connection reset by peer]
silvermine has quit [Quit: WeeChat 2.0-dev]
safetypin has joined #ruby
mtkd has joined #ruby
jottr_ has joined #ruby
despai has joined #ruby
safetypin has quit [Client Quit]
silvermine has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
cognoscente has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
Xano__ has quit [Ping timeout: 268 seconds]
jxv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mfb2 has quit [Remote host closed the connection]
troys_ is now known as troys
yokel has quit [Remote host closed the connection]
despai has quit [Quit: ...]
yokel has joined #ruby
voldemar has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
mfb2 has joined #ruby
mfb2 has quit [Remote host closed the connection]
astronavt has joined #ruby
mfb2 has joined #ruby
oetjenj has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pastorinni has joined #ruby
voldemar has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
astronavt has quit [Ping timeout: 240 seconds]
TomyLobo has joined #ruby
krawchyk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
despai has joined #ruby
cognoscente has joined #ruby
Azure|dc has quit [Read error: Connection reset by peer]
raatiniemi has quit [Ping timeout: 240 seconds]
cdg has quit [Remote host closed the connection]
oetjenj has quit [Ping timeout: 255 seconds]
cdg has joined #ruby
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
pastorinni has quit [Ping timeout: 240 seconds]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
DoubleMalt has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
<RickHull> dminuoso: haven't started it yet but going to https://www.youtube.com/watch?v=Fjv9GxPXtck RubyConf talk on static types in ruby
<dminuoso> Is it a HM type system?
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ctrlaltdev has quit [Quit: leaving]
sameerynho has quit [Ping timeout: 255 seconds]
<dminuoso> Oh it is@
<dminuoso> Hooray!
ur5us has joined #ruby
dstrunk has joined #ruby
Azure has joined #ruby
<dminuoso> This better be higher kinded.
<baweaver> Narrator: It wasn't
ur5us has quit [Remote host closed the connection]
<dminuoso> Huh?
brent__ has quit [Quit: Connection closed for inactivity]
<baweaver> meme game is weak
<RickHull> arms are heavy
<s778> there's vomit on my sweater already?
GodFather has joined #ruby
<dminuoso> that stuff kind of happens when you vomit when sitting on your chair.
<dminuoso> RickHull: oh boy this blows.
<dminuoso> Only local type inference?
pastorin_ has joined #ruby
<RickHull> dunno yet, still chewing through other stuff, but I don't think you could call it ruby with a powerful type system
<dminuoso> well HM is powerful.
<dminuoso> And complete
<RickHull> if you get all the type goodies you want, it would probably be something different from ruby
<dminuoso> Yes, it would look like Haskell.
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
miskatonic has quit [Remote host closed the connection]
Technodrome has joined #ruby
despai has quit [Quit: ...]
voldemar has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
mson has joined #ruby
jottr_ has quit [Quit: WeeChat 1.9.1]
skweek has joined #ruby
apeiros_ has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
tcopeland has joined #ruby
alex`` has quit [Quit: WeeChat 1.9.1]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TomyLobo has quit [Ping timeout: 255 seconds]
s778 has quit [Quit: leaving]
wilbert_ has quit [Ping timeout: 276 seconds]
wilbert has joined #ruby
xlegoman has joined #ruby
orbyt_ has joined #ruby
wilbert_ has joined #ruby
mjolnird has quit [Remote host closed the connection]
wilbert has quit [Ping timeout: 248 seconds]
DoubleMalt has quit [Ping timeout: 268 seconds]