havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.7.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
matheusmoreira has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 272 seconds]
AJA4351 is now known as AJA4350
skryking has quit [Ping timeout: 258 seconds]
skryking has joined #ruby
mnathani has joined #ruby
greypack has quit [Quit: All your IRC are belong to ZNC]
<mnathani> I have some experience with PHP, trying to get into Ruby. Is there a guide / set of tutorials I can use to get me up to speed?
henninb has joined #ruby
lepepe has joined #ruby
Technodrome has quit [Quit: Textual IRC Client: www.textualapp.com]
Exuma has joined #ruby
lepepe_ has joined #ruby
lepepe has quit [Read error: Connection reset by peer]
lepepe_ has quit [Client Quit]
involans has joined #ruby
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
henninb has quit [Quit: leaving]
greypack has joined #ruby
WA9ACE has joined #ruby
DaRock has joined #ruby
Dr_MDMA_MD has joined #ruby
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Client Quit]
Guest69247 has joined #ruby
Azure has joined #ruby
<Guest69247> guys i am having issues withe selenium and entering text in textarea.
<Guest69247> ahyone else experience this?
<Guest69247> anyone
<Guest69247> I have tried different variations of this :
<Guest69247> @browser.input(:xpath =>"//input[@name='message']").set "This is a test message"
<Guest69247> @browser.textarea(:xpath =>"//input[@name='message']").set "This is a test message"
<Guest69247> none of these work.
involans has quit [Quit: involans]
tdy has joined #ruby
ElFerna has joined #ruby
ElFerna has quit [Client Quit]
fernando has joined #ruby
fernando is now known as Guest39834
Thenekofell has quit [Ping timeout: 244 seconds]
fphilipe_ has joined #ruby
<Guest69247> Does anyone use selenium?
comet23 has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
BloopMonster has joined #ruby
jenrzzz has joined #ruby
Thenekofell has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
code_zombie has joined #ruby
henninb has joined #ruby
henninb has quit [Client Quit]
kristofers has joined #ruby
akem-lnvo has quit [Ping timeout: 246 seconds]
Guest39834 has quit [Quit: Guest39834]
dionysus69 has joined #ruby
dviola has quit [Quit: WeeChat 2.5]
ghostlines has quit [Quit: Textual IRC Client: www.textualapp.com]
Esa_ has quit []
akem-lnvo has joined #ruby
jenrzzz has joined #ruby
TvL2386 has quit [Ping timeout: 245 seconds]
TvL2386 has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
greypack has quit [Ping timeout: 245 seconds]
TvL2386 has quit [Ping timeout: 245 seconds]
TvL2386 has joined #ruby
greypack has joined #ruby
iNs has quit [Quit: bubye]
iNs has joined #ruby
tpanarch1st has quit [Ping timeout: 272 seconds]
Guest69247 has quit [Remote host closed the connection]
AJA4350 has quit [Quit: AJA4350]
chalkmonster has joined #ruby
ascarter_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe_ has joined #ruby
mint has joined #ruby
fphilipe_ has quit [Ping timeout: 250 seconds]
jangid has joined #ruby
mint has quit [Quit: Leaving]
chalkmonster has quit [Quit: WeeChat 2.5]
chalkmonster has joined #ruby
tdy has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
bga57 has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
DTZUZU has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
DTZUZO has joined #ruby
donofrio_ has quit [Remote host closed the connection]
chalkmonster has quit [Quit: WeeChat 2.5]
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
chalkmonster has joined #ruby
cammellos has joined #ruby
queip has quit [Ping timeout: 248 seconds]
chalkmonster has quit [Client Quit]
jangid has quit [Quit: This computer has gone to sleep]
comet23 has quit [Quit: Connection closed for inactivity]
chalkmonster has joined #ruby
queip has joined #ruby
za1b1tsu has joined #ruby
ascarter has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
za1b1tsu has joined #ruby
tdy has joined #ruby
Necro^Byte has joined #ruby
bitwinery has joined #ruby
Fusl has quit [Quit: K-Lined]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
agrecascino has joined #ruby
Fusl has joined #ruby
garyserj has quit [Ping timeout: 258 seconds]
esrse has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
chalkmonster has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
jenrzzz has quit [Ping timeout: 244 seconds]
tdy has quit [Ping timeout: 244 seconds]
s2013 has joined #ruby
conta has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Remote host closed the connection]
conta has joined #ruby
fphilipe_ has joined #ruby
chalkmonster has joined #ruby
za1b1tsu has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
podlech has joined #ruby
podlech has quit [Client Quit]
jenrzzz has joined #ruby
Dr_MDMA_MD has quit []
Thenekofell has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
absolutejam4 has joined #ruby
conta has quit [Ping timeout: 246 seconds]
conta has joined #ruby
code_zombie has quit [Quit: Leaving]
chalkmonster has quit [Quit: WeeChat 2.5]
Swyper has quit [Remote host closed the connection]
_whitelogger has joined #ruby
reber has joined #ruby
schneider has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
fphilipe_ has joined #ruby
tdy has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
chalkmonster has joined #ruby
queip has quit [Ping timeout: 268 seconds]
chalkmonster has quit [Client Quit]
Inline has quit [Quit: Leaving]
jenrzzz has joined #ruby
miskatonic has joined #ruby
queip has joined #ruby
schneider has quit [Ping timeout: 246 seconds]
Thenekofell has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
absolutejam4 has quit [Ping timeout: 246 seconds]
andikr has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
chalkmonster has joined #ruby
tdy has joined #ruby
DTZUZO has quit [Ping timeout: 248 seconds]
Nicmavr has joined #ruby
aphprentice__ has quit [*.net *.split]
sezuan has quit [*.net *.split]
zacts has quit [*.net *.split]
solars has quit [*.net *.split]
Yxhuvud has quit [*.net *.split]
spectra_ has quit [*.net *.split]
szulak has quit [*.net *.split]
quarters has quit [*.net *.split]
Nightmare has quit [*.net *.split]
infernix has quit [*.net *.split]
lol768 has quit [*.net *.split]
marahin has quit [*.net *.split]
Pillus has quit [*.net *.split]
mnemon has quit [*.net *.split]
shansen has quit [*.net *.split]
lupine has quit [*.net *.split]
miskatonic has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
_ikke_ has quit [*.net *.split]
xfbs has quit [*.net *.split]
jtperreault has quit [*.net *.split]
gbristol has quit [*.net *.split]
Fenhl has quit [*.net *.split]
Seance[m] has quit [*.net *.split]
aecepoglu[m] has quit [*.net *.split]
G has quit [*.net *.split]
voker57 has quit [*.net *.split]
keden has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
goez has quit [*.net *.split]
Furai has quit [*.net *.split]
vircung has quit [*.net *.split]
znz_jp has quit [*.net *.split]
bathtub_shark has quit [*.net *.split]
haylon has quit [*.net *.split]
Net has quit [*.net *.split]
KindOne has quit [*.net *.split]
Bish has quit [*.net *.split]
jangid has joined #ruby
_ikke_ has joined #ruby
jangid has quit [Client Quit]
TomyWork has joined #ruby
irdr has quit [Remote host closed the connection]
irdr has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
conta has quit [Ping timeout: 268 seconds]
Dr_MDMA_MD has joined #ruby
DTZUZO has joined #ruby
reber has quit [Remote host closed the connection]
DTZUZO has quit [Ping timeout: 245 seconds]
troulouliou_div2 has joined #ruby
miskatonic has joined #ruby
jtperreault has joined #ruby
bathtub_shark has joined #ruby
Fenhl has joined #ruby
xfbs has joined #ruby
gbristol has joined #ruby
Seance[m] has joined #ruby
Bish has joined #ruby
voker57 has joined #ruby
SegFaultAX has joined #ruby
aecepoglu[m] has joined #ruby
keden has joined #ruby
goez has joined #ruby
G has joined #ruby
znz_jp has joined #ruby
Furai has joined #ruby
DarthGandalf has joined #ruby
KindOne has joined #ruby
vircung has joined #ruby
haylon has joined #ruby
Net has joined #ruby
s2013 has quit [Write error: Broken pipe]
zacts has joined #ruby
aphprentice__ has joined #ruby
solars has joined #ruby
shansen has joined #ruby
szulak has joined #ruby
marahin has joined #ruby
Pillus has joined #ruby
lupine has joined #ruby
spectra_ has joined #ruby
quarters has joined #ruby
Nightmare has joined #ruby
lol768 has joined #ruby
infernix has joined #ruby
Yxhuvud has joined #ruby
sezuan has joined #ruby
mnemon has joined #ruby
conta has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
bga57 has joined #ruby
conta has quit [Ping timeout: 258 seconds]
alem0lars has joined #ruby
ellcs has joined #ruby
lxsameer has joined #ruby
conta has joined #ruby
chalkmonster has joined #ruby
absolutejam4 has joined #ruby
claudiuinberlin has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
chalkmonster has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andikr has quit [Ping timeout: 272 seconds]
andikr has joined #ruby
jangid has joined #ruby
jackChronicle has joined #ruby
jackChronicle has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 244 seconds]
aupadhye has joined #ruby
jenrzzz has joined #ruby
akem-lnvo has quit [Remote host closed the connection]
matheusmoreira has quit [Ping timeout: 268 seconds]
akem-lnvo has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
andikr has quit [Ping timeout: 272 seconds]
chalkmonster has joined #ruby
jangid has quit [Ping timeout: 245 seconds]
matheusmoreira has joined #ruby
andikr has joined #ruby
conta has quit [Ping timeout: 248 seconds]
cd has quit [Quit: cd]
queip has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
Bounga has joined #ruby
schne1der has joined #ruby
vondruch has joined #ruby
matheusmoreira has quit [Remote host closed the connection]
conta has joined #ruby
queip has joined #ruby
matheusmoreira has joined #ruby
Thenekofell has quit [Ping timeout: 252 seconds]
suukim has joined #ruby
alem0lars has quit [Ping timeout: 268 seconds]
miskatonic has quit [*.net *.split]
xfbs has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
gbristol has quit [*.net *.split]
jtperreault has quit [*.net *.split]
Fenhl has quit [*.net *.split]
Seance[m] has quit [*.net *.split]
aecepoglu[m] has quit [*.net *.split]
voker57 has quit [*.net *.split]
keden has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
G has quit [*.net *.split]
goez has quit [*.net *.split]
Furai has quit [*.net *.split]
znz_jp has quit [*.net *.split]
vircung has quit [*.net *.split]
bathtub_shark has quit [*.net *.split]
haylon has quit [*.net *.split]
KindOne has quit [*.net *.split]
Bish has quit [*.net *.split]
Net has quit [*.net *.split]
bitwinery has quit [Quit: Leaving]
sezuan has quit [*.net *.split]
aphprentice__ has quit [*.net *.split]
zacts has quit [*.net *.split]
solars has quit [*.net *.split]
Yxhuvud has quit [*.net *.split]
szulak has quit [*.net *.split]
quarters has quit [*.net *.split]
spectra_ has quit [*.net *.split]
Nightmare has quit [*.net *.split]
infernix has quit [*.net *.split]
lol768 has quit [*.net *.split]
marahin has quit [*.net *.split]
Pillus has quit [*.net *.split]
lupine has quit [*.net *.split]
mnemon has quit [*.net *.split]
shansen has quit [*.net *.split]
irdr has quit [Remote host closed the connection]
irdr has joined #ruby
SuperL4g has joined #ruby
marahin has joined #ruby
marahin has quit [Changing host]
marahin has joined #ruby
Nightmare has joined #ruby
lol768 has joined #ruby
shansen has joined #ruby
Yxhuvud has joined #ruby
aphprentice__ has joined #ruby
SuperLag has quit [Ping timeout: 268 seconds]
Pillus has joined #ruby
quarters has joined #ruby
solars has joined #ruby
G has joined #ruby
Bish has joined #ruby
haylon has joined #ruby
voker57 has joined #ruby
vircung has joined #ruby
bathtub_shark has joined #ruby
Net has joined #ruby
sezuan has joined #ruby
keden has joined #ruby
gbristol has joined #ruby
Fenhl has joined #ruby
miskatonic has joined #ruby
Furai has joined #ruby
uplime^ has joined #ruby
zacts has joined #ruby
jtperreault has joined #ruby
lupine has joined #ruby
xfbs has joined #ruby
DarthGandalf has joined #ruby
goez has joined #ruby
zacts is now known as Guest58212
m17 has joined #ruby
SegFaultAX has joined #ruby
woodruffw has quit [Ping timeout: 248 seconds]
znz_jp has joined #ruby
aecepoglu[m] has joined #ruby
mnemon has joined #ruby
szulak has joined #ruby
infernix has joined #ruby
Seance[m] has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
spectra has joined #ruby
dionysus69 has joined #ruby
Necro^Byte has quit [Ping timeout: 258 seconds]
za1b1tsu has quit [Remote host closed the connection]
Thenekofell has joined #ruby
conta has quit [Ping timeout: 245 seconds]
andikr has quit [Remote host closed the connection]
absolutejam4 has quit [Ping timeout: 248 seconds]
andikr has joined #ruby
absolutejam4 has joined #ruby
kristofers has quit [Remote host closed the connection]
queip has quit [Ping timeout: 258 seconds]
conta has joined #ruby
uplime^ is now known as KindOne
queip has joined #ruby
sezuan has quit [Quit: ____]
sezuan has joined #ruby
za1b1tsu has joined #ruby
thebananaking has quit [Quit: Connection closed for inactivity]
tdy has quit [Ping timeout: 245 seconds]
tdy has joined #ruby
absolutejam4 has quit [Ping timeout: 245 seconds]
Tuor has joined #ruby
<Tuor> hi, can this be shortened? ruby -e 'list = []; while gets; list << $_.split[1]; end; puts list.join(" ")'
tdy has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
conta has quit [Ping timeout: 245 seconds]
absolutejam4 has joined #ruby
Thenekofell has quit [Ping timeout: 276 seconds]
chalkmonster has quit [Quit: WeeChat 2.5]
DTZUZO has quit [Ping timeout: 258 seconds]
chalkmonster has joined #ruby
BuildTheRobots has quit [Ping timeout: 250 seconds]
BuildTheRobots has joined #ruby
conta has joined #ruby
absolutejam4 has quit [Ping timeout: 246 seconds]
teej has quit [Ping timeout: 250 seconds]
leitz has joined #ruby
kapilp has quit [Ping timeout: 250 seconds]
teej has joined #ruby
akem-lnvo has quit [Ping timeout: 272 seconds]
kapilp has joined #ruby
chalkmonster has quit [Ping timeout: 272 seconds]
<manveru> Tuor: yeah, depending on what you'd like to do...
<manveru> `puts ARGF.readlines.map{|l| l.split[1] }.join(" ")` like that
jenrzzz has joined #ruby
<manveru> but `ruby -ne 'print $_.split[1], " "'` is also possible if you don't mind a trailing space
jenrzzz has quit [Ping timeout: 246 seconds]
<leitz> Anyone familiar with Sinatra? The form in line 58 has an action for line 51. The commented out lines 39 and 47 didn't seem to work, but manually setting the data does. It seems like I'm not passing "params" correctly. https://github.com/makhidkarun/ftl_tools/blob/pass_ship/lib/ftl_tools/crewgen.rb
chalkmonster has joined #ruby
absolutejam4 has joined #ruby
absolutejam4 has quit [Ping timeout: 246 seconds]
miskatonic has quit [Remote host closed the connection]
<Tuor> manveru: how does your second version work? I men it's nice (yes I don't mind some spaces at the end). The first is nice and still shorter then mine^^
<manveru> Tuor: you can find it in the manpage of ruby :)
<manveru> the -n flag
<manveru> the benefit is that it doesn't have to fit all input in memory like my first version or yours
<manveru> but also means you won't know what the last item will be, so you get the additional space
jenrzzz has joined #ruby
Tempesta_ has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
<leitz> Figured out part of it, I forgot that the input was a string, even if it's a number.
<Tuor> the -n is clear. but the part at the end I don't know what it is: `, " "` I google this topic befor and found your second solution but only without the last part.
Tempesta has quit [Ping timeout: 245 seconds]
AJA4350 has joined #ruby
tf2ftw has joined #ruby
mint has joined #ruby
fphilipe_ has quit [Ping timeout: 276 seconds]
<leftylink> consider
<leftylink> &>> print 1, 2, 3
<rubydoc> # => 123nil (https://carc.in/#/r/78cu)
absolutejam4 has joined #ruby
<leftylink> &>> print 1, " ", 2
<rubydoc> # => 1 2nil (https://carc.in/#/r/78cv)
<leftylink> that's all it's doing
<Tuor> aaah
<Tuor> print not puts
<Tuor> now^^
<Tuor> how simple. :)
<Tuor> Thx! both
absolutejam4 has quit [Ping timeout: 272 seconds]
absolutejam4 has joined #ruby
absolutejam4 has quit [Ping timeout: 258 seconds]
fphilipe_ has joined #ruby
queip has quit [Ping timeout: 244 seconds]
gregf_ has joined #ruby
gregf_ has quit [Remote host closed the connection]
conta has quit [Quit: conta]
dbugger has joined #ruby
queip has joined #ruby
jefffrails35 has joined #ruby
drnerdius has joined #ruby
drnerdius has quit [Client Quit]
nerdius has joined #ruby
Bounga has quit [Ping timeout: 252 seconds]
jcalla has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
chalkmon1 has joined #ruby
chalkmonster has quit [Ping timeout: 246 seconds]
absolutejam4 has joined #ruby
mint has quit [Ping timeout: 245 seconds]
conta1 has joined #ruby
barg has joined #ruby
absolutejam4 has quit [Ping timeout: 268 seconds]
sylario has joined #ruby
Tempesta_ has left #ruby ["Closing Channel, bye."]
Tempesta has joined #ruby
esrse has quit [Ping timeout: 245 seconds]
catphish has joined #ruby
<catphish> i'm running a TLS server in ruby using OpenSSL, it's come to my attention that i need to use better DH keys, but i can't work out how to specify a DH key in an ssl context, is anyone familiar with this?
tdy has joined #ruby
<catphish> looks like i can use ssl_context.tmp_dh_callback
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
fphilipe_ has quit [Ping timeout: 258 seconds]
fphilipe_ has joined #ruby
<Bish> catphish: why not put nginx in front, or aren't we talking http?
yalue has joined #ruby
queip has quit [Ping timeout: 244 seconds]
absolutejam4 has joined #ruby
jenrzzz has joined #ruby
involans has joined #ruby
queip has joined #ruby
absolutejam4 has quit [Ping timeout: 246 seconds]
<catphish> not http
lucasb has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
donofrio has joined #ruby
jcalla has joined #ruby
aphprentice__ has quit [Quit: Connection closed for inactivity]
jcalla has quit [Remote host closed the connection]
jcalla has joined #ruby
catphish has left #ruby ["Leaving"]
alem0lars has joined #ruby
reber has joined #ruby
absolutejam4 has joined #ruby
schne1der has quit [Ping timeout: 245 seconds]
iNs has quit [Remote host closed the connection]
iNs has joined #ruby
Rapture has joined #ruby
tf2ftw has quit [Quit: This computer has gone to sleep]
tf2ftw has joined #ruby
akem-lnvo has joined #ruby
tdy has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
Inline has joined #ruby
tdy has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
conta1 has quit [Quit: conta1]
cjohnson_ has joined #ruby
cjohnson has quit [Disconnected by services]
cjohnson_ is now known as cjohnson
Swyper has quit [Remote host closed the connection]
schne1der has joined #ruby
tf2ftw has quit [Quit: This computer has gone to sleep]
Swyper has joined #ruby
jefffrails35 has quit [Quit: Leaving]
queip has quit [Ping timeout: 244 seconds]
tf2ftw has joined #ruby
aither has quit [Quit: ZNC 1.7.1 - https://znc.in]
queip has joined #ruby
ElFerna has joined #ruby
aither has joined #ruby
s2013 has joined #ruby
ngw has joined #ruby
tpanarch1st has joined #ruby
ngw has quit [Client Quit]
ngw has joined #ruby
<ngw> hi, generic question but help highly appreciated: how can I make this faster? https://gist.github.com/ngw/54a544b7f9dcd8964d7d27ae84c754ac
<ngw> especially if the file is big
tf2ftw has quit [Quit: This computer has gone to sleep]
tf2ftw has joined #ruby
chalkmon1 has quit [Quit: WeeChat 2.5]
rippa has joined #ruby
mkaito has quit [Quit: ZNC 1.7.3 - https://znc.in]
mkaito has joined #ruby
mkaito has quit [Changing host]
mkaito has joined #ruby
agent_white has joined #ruby
Dr_MDMA_MD has quit [Quit: Connection closed for inactivity]
Swyper has quit [Remote host closed the connection]
chalkmonster has joined #ruby
Tuor has quit [Quit: Konversation terminated!]
ellcs has quit [Ping timeout: 258 seconds]
<leitz> I need an image for "that face you make when a senior person in the company mentions everyone should always keep their resumes current".
<Vaevictus> "this is fine."
<ytti> alot of jobs?
troulouliou_div2 has quit [Ping timeout: 248 seconds]
akem-lnvo has quit [Remote host closed the connection]
unreal has joined #ruby
unreal_ has quit [Ping timeout: 272 seconds]
<leitz> Our company competes for contracts so there's always a need to keep your CV updated. No real surprise there, just the mentioning of it. :)
<leitz> My biggest challenge is that I just moved to "programmer" from "linux guy", so my coding chops aren't in line with my years of career experience.
<ytti> seems like a good career move, congratulations
<ytti> having some subject matter expertise in any domain makes you much better programmer in that domain
snk has joined #ruby
unreal has quit [Read error: Connection reset by peer]
<leitz> ytti, I've been working on the move for a long time. Mostly because I like to create solutions before the problems blow things up.
agent_white has quit [Remote host closed the connection]
unreal has joined #ruby
agent_white has joined #ruby
andikr has quit [Remote host closed the connection]
nerdius has quit [Ping timeout: 268 seconds]
bitwinery has joined #ruby
tf2ftw has quit [Quit: This computer has gone to sleep]
<ytti> leitz, aye, and ceiling is pretty low for sysadmin without development skills
tf2ftw has joined #ruby
absolutejam4 has quit [Ping timeout: 272 seconds]
Swyper has joined #ruby
Guest58212 has quit [Quit: WeeChat 2.3]
<leitz> ytti, yup. Over time the SA has become a commodity. In some ways, programmers (Java) are doing the same, but seem better at holding off management's low opinion of their value. The small business market seems to be helping.
zacts has joined #ruby
<ytti> yeah you need programming and you need subject matter expertise to be really marketable
<ytti> much like in many other domains
<ytti> like if you're good lawyer, you specialise in specific area where you are also expert in the domain, not just legal
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<leitz> Agreed. Of course, that's one issue I'm trying to figure out how to overcome; Ruby isn't the language of choice for my domains. Ruby is the language I prefer, though.
<ytti> i love ruby, but i think market now strongly prefers statically typed languages
<ytti> and facts don't matter
tdy has joined #ruby
<ytti> demand is what it is
DaRock has quit [Ping timeout: 268 seconds]
davor_ has joined #ruby
davor has quit [Ping timeout: 245 seconds]
davor_ is now known as davor
agent_white has quit [Remote host closed the connection]
agent_white has joined #ruby
<leitz> Jay McGavren (author of Head First Ruby and Head First Go) did a webinar and I asked if a skilled Go programmer could prototype an application as fast as a skilled Ruby programmer. His comment was that no language was faster than Ruby for rapid prototyping. Makes me wonder if that's a good angle to exploit.
tdy has quit [Ping timeout: 245 seconds]
Cthulu201 has quit [Ping timeout: 244 seconds]
Snowy has joined #ruby
TomyWork has quit [Remote host closed the connection]
claudiuinberlin has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
pygmypuppy has joined #ruby
Swyper has quit [Remote host closed the connection]
chalkmonster has quit [Quit: WeeChat 2.5]
orbyt_ has joined #ruby
<havenwood> ngw: You could process nth lines in parallel. The parallel gem or parallel command should both work. You could do your own threaded version without too much fuss.
<havenwood> ngw: Or you could even try async-io, for a more modern, fiber-backed solution.
<havenwood> ngw: What you have is reasonably quick for a single-threaded solution with fairly low memory use.
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ngw> havenwood: actually I'm an idiot, I was trying the code in irb and didn't realize that 99% of the problem was outputting the results...
<ngw> the file is around 400k lines, takes less than 3s
* leitz is glad someone else makes those kinds if mistakes...
<ngw> totally acceptable
gix has joined #ruby
<havenwood> ngw: nice
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gregoryloscombe_ has joined #ruby
akem-lnvo has joined #ruby
gregoryloscombe_ is now known as gwloscombe
orbyt_ has joined #ruby
fphilipe_ has quit [Ping timeout: 250 seconds]
Skaterhaym has joined #ruby
Skaterhaym has quit [Read error: Connection reset by peer]
Skaterhaym has joined #ruby
bitwinery has quit [Read error: Connection reset by peer]
howdoi has joined #ruby
Nina has joined #ruby
ElFerna has quit [Quit: ElFerna]
<Nina> hall
<Nina> halllo
<phaul> hi Nina
<havenwood> &>> 'helloooooo'.squeeze 'o'
<rubydoc> # => "hello" (https://carc.in/#/r/78f9)
<havenwood> &>> alias g p; g'morning'
<rubydoc> # => "morning" (https://carc.in/#/r/78fb)
tdy has joined #ruby
ngw has quit [Quit: WeeChat 2.5]
akem-lnvo has quit [Ping timeout: 245 seconds]
aupadhye has quit [Remote host closed the connection]
Swyper_ has joined #ruby
Swyper_ has quit [Remote host closed the connection]
Swyper_ has joined #ruby
Swyper_ has quit [Remote host closed the connection]
Swyper_ has joined #ruby
fphilipe_ has joined #ruby
Skaterhaym has quit [Quit: Leaving]
Swyper_ has quit [Remote host closed the connection]
bitwinery has joined #ruby
gwloscombe has quit [Quit: gwloscombe]
Snowy has quit [Quit: ragequit]
queip has quit [Ping timeout: 246 seconds]
sameerynho has joined #ruby
Swyper has joined #ruby
fphilipe_ has quit [Ping timeout: 264 seconds]
queip has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
involans has quit [Remote host closed the connection]
involans has joined #ruby
hiroaki has joined #ruby
Nina has left #ruby [#ruby]
GodFather has joined #ruby
sameerynho has quit [Ping timeout: 246 seconds]
fphilipe_ has joined #ruby
sameerynho has joined #ruby
<havenwood> Ah, ngw left, but commented on their gist showing a separate Fiber spun up to process each line: https://gist.github.com/ngw/54a544b7f9dcd8964d7d27ae84c754ac
<havenwood> Dunno why I even used an IO stream. I guess just multitasking fail. Anyways, seems several times faster on my machine. ¯\_(ツ)_/¯
GodFather has quit [Remote host closed the connection]
za1b1tsu has quit [Remote host closed the connection]
fphilipe_ has quit [Ping timeout: 250 seconds]
<leitz> havenwood, unless the processing took a long time or the file was in memory, it seems like the read would be the choke-point.
<leitz> I, of course, don't know a heck of a lot so I could be wrong. :)
<havenwood> leitz: I guess that's why I used an async stream
<havenwood> leitz: Seems a good bit faster on my machine for whatever reason. I barely had time to write it and do a single benchmark, so no attempts to tune
<havenwood> I may have got it wrong
<leitz> havenwood, hmm...I may be stuck in the spinning platter days, too. With smaller IO buffers.
<leitz> If you have an SSD drive with a decent buffer, it should be really zippy.
queip has quit [Ping timeout: 244 seconds]
psilly0 has joined #ruby
queip has joined #ruby
codefriar has joined #ruby
<Eiam> you are reading a single line from a file, spinning off a new fiber to process it and continuing on with the read?
<Eiam> that SOUNDS like the overhead alone would create astounding perf impact
<Eiam> that you are saying its faster is making me dig deeper into my mental model =)
unreal has quit [Ping timeout: 246 seconds]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
absolutejam4 has joined #ruby
<leitz> Eiam, the fiber overhead should be minimal, compared to the IO load. However, with solid state drives and lots of disk cache, the difference won't be as great. Still, greater.
<leitz> You'd have to use a file size that saturated disk cache and RAM before seeing a significant slow down.
Swyper has quit [Ping timeout: 244 seconds]
suukim has quit [Quit: Konversation terminated!]
<havenwood> Eiam: i'm skeptical of my own results too ;P just have to wait until this evening to get some free time to poke at it.
sauvin has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
<havenwood> Eiam: ioquatix has a PR open that makes fiber allocation even faster with a fiber pool: https://bugs.ruby-lang.org/issues/15997
<Eiam> which is basically a cache implementation of fiber =P
<havenwood> he's debating exposing the pool to users
<havenwood> or just under the hood
<Eiam> whats it built on in ruby for macOS, libpthread?
<Eiam> wonder if ruby ever took advantage of the new allocator in macOS
<havenwood> Eiam: ioquatix keeps implementing fibers in assembly :)
irdr has quit [Ping timeout: 245 seconds]
conta1 has joined #ruby
<havenwood> Eiam: i haven't looked at OS-specific tweaks
<Eiam> havenwood: 10.14.5 has a new allocator for 32 GB and higher configurations to take advantage of the crazy ram people want to use with data processing etc
<havenwood> Eiam: in 2.6: Native implementations (arm32, arm64, ppc64le, win32, win64, x86, amd64) of
<havenwood> coroutines to improve performance of Fiber significantly. [Feature #14739]
irdr has joined #ruby
<ytti> I've used this library before: http://software.schmorp.de/pkg/libcoro.html and handled millions of HTTP requests using it.
<ytti> i wonder in what time
akem-lnvo has joined #ruby
GodFather has joined #ruby
lxsameer has quit [Ping timeout: 258 seconds]
conta1 has quit [Quit: conta1]
greengriminal has joined #ruby
rippa has quit [Ping timeout: 245 seconds]
rippa has joined #ruby
Swyper has joined #ruby
fphilipe_ has quit [Ping timeout: 276 seconds]
fuzzface has joined #ruby
leitz has quit [Quit: Leaving]
troulouliou_div2 has joined #ruby
jenrzzz has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
greengriminal has joined #ruby
guipan has joined #ruby
guipan has left #ruby [#ruby]
involans has quit [Remote host closed the connection]
conta1 has joined #ruby
fphilipe_ has joined #ruby
conta1 has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<havenwood> ytti: Here's an interesting thread with folk serving tens of millions of files per day experimenting with Falcon (libcoro under the hood since backed by fibers): https://github.com/socketry/falcon/issues/40
queip has quit [Ping timeout: 246 seconds]
troulouliou_div2 has quit [Read error: Connection reset by peer]
cd has joined #ruby
cellmaker has joined #ruby
cellmaker has left #ruby [#ruby]
queip has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
greengriminal has quit [Quit: Leaving]
_whitelogger has joined #ruby
absolutejam has joined #ruby
fphilipe_ has quit [Ping timeout: 276 seconds]
absolutejam4 has quit [Ping timeout: 244 seconds]
yalue has quit [Quit: Leaving]
jenrzzz has joined #ruby
Thenekofell has joined #ruby
Cthulu201 has joined #ruby
fphilipe_ has joined #ruby
queip has quit [Ping timeout: 245 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
hiroaki has quit [Ping timeout: 245 seconds]
Skaterhaym has joined #ruby
queip has joined #ruby
pygmypuppy has quit [Ping timeout: 246 seconds]
bitwinery has quit [Ping timeout: 268 seconds]
pygmypuppy has joined #ruby
Thenekofell has quit [Ping timeout: 252 seconds]
amrx has joined #ruby
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
amrx has quit [Ping timeout: 258 seconds]
ellcs has joined #ruby
BrianWGray has quit [Quit: Give a man a phish, you might get his credentials. Teach a man to phish, he'll get someone elses.]
schne1der has quit [Ping timeout: 248 seconds]
Inline has quit [Quit: Leaving]
Thenekofell has joined #ruby
alem0lars has quit [Ping timeout: 268 seconds]
sameerynho has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 245 seconds]
fphilipe_ has quit [Ping timeout: 264 seconds]
Thenekofell has quit [Ping timeout: 250 seconds]
s2013 has joined #ruby
fphilipe_ has joined #ruby
tf2ftw has quit [Read error: Connection reset by peer]
GodFather has quit [Ping timeout: 246 seconds]
tf2ftw has joined #ruby
GodFather has joined #ruby
Fernando-Basso has joined #ruby
fphilipe_ has quit [Ping timeout: 264 seconds]
fphilipe_ has joined #ruby
cammellos has quit [Ping timeout: 268 seconds]
tf2ftw has quit [Ping timeout: 244 seconds]
tf2ftw has joined #ruby
leitz has joined #ruby
absolutejam has quit [Ping timeout: 245 seconds]
fphilipe_ has quit [Ping timeout: 250 seconds]
fuzzface has quit [Quit: Leaving]
Scriptonaut has left #ruby [#ruby]
Dr_MDMA_MD has joined #ruby
fphilipe_ has joined #ruby
ramfjord has joined #ruby
duderonomy has joined #ruby
Skaterhaym has quit [Quit: Leaving]
bitwinery has joined #ruby
tdy has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Thenekofell has joined #ruby
agent_white has quit [Quit: brb]
queip has quit [Ping timeout: 272 seconds]
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
Thenekofell has quit [Ping timeout: 245 seconds]
queip has joined #ruby
codiecypha has joined #ruby
<codiecypha> Hello I just wanted to know if any of you are very familiar with active record models
sylario has quit [Quit: Connection closed for inactivity]
codiecypha has left #ruby [#ruby]
queip has quit [Ping timeout: 268 seconds]
tdy has quit [Ping timeout: 244 seconds]
vethis has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
queip has joined #ruby
Thenekofell has joined #ruby
fphilipe_ has quit [Ping timeout: 276 seconds]
p3ps1 has joined #ruby
infernix has joined #ruby
orbyt_ has joined #ruby
agent_white has joined #ruby
MuffinPimp has quit [Quit: Goodbye.]
psilly0 has quit [Remote host closed the connection]
<havenwood> codefriar: Yes, some of us are very familiar with active record models.
<havenwood> oops, codie* left - sorry codefriar
<vethis> anyone familiar the tty gems? :P
<havenwood> vethis: Having a tty gem problem?
<vethis> just wishing i could get 256 colors to work properly
<vethis> using the paint gem alongside it, sometimes it just breaks tty. like, trying to var.ask(Paint["Prompt:","#somehex"]) just kills the prompt functionality. it prints the string in the right color but doesn't take input
<vethis> in fact any gem that colorizes terminal output in 256 mode doesn't work. lol i guess that's how tty is designed, which sucks because i've learned to love it. i just want my pretty colors :( if i knew more ruby i could probably hack it into the gem but that's beyond my skillset right now
leitz has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 272 seconds]
ramfjord has joined #ruby
fphilipe_ has joined #ruby