jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 2.6.0-preview2: 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!
<phaul> xlass X; def self.-@; superclass; end; end; -X # => Object
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
mistergibson has joined #ruby
bmurt has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.3]
zachk has quit [Quit: Leaving]
roshanavand has quit [Ping timeout: 276 seconds]
CBebop has quit [Quit: See you later, Space Cowboy.]
roshanavand has joined #ruby
cthu| has quit [Ping timeout: 240 seconds]
genpaku has joined #ruby
xfbs has quit [Quit: afk]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
phaul has quit [Ping timeout: 252 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mroutis has joined #ruby
arescorpio has joined #ruby
agent_white has joined #ruby
mangold has joined #ruby
fmccann has quit [Quit: ZNC 1.7.1 - https://znc.in]
Cyrus has quit [Remote host closed the connection]
Cyrus has joined #ruby
Nilium has quit [Ping timeout: 245 seconds]
Azure has joined #ruby
Nilium has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
mangold has quit [Quit: This computer has gone to sleep]
AJA4350 has quit [Quit: AJA4350]
mangold has joined #ruby
_whitelogger has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kurko_ has joined #ruby
eckhardt has joined #ruby
ansraliant has joined #ruby
agent_white has quit [Ping timeout: 252 seconds]
agent_white has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
houhoulis has joined #ruby
Wojnar has quit [Quit: Konversation terminated!]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
j416 has quit [Ping timeout: 246 seconds]
j416 has joined #ruby
esrse has joined #ruby
Dimik has quit [Ping timeout: 252 seconds]
eckhardt has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
srgupta has joined #ruby
srgupta has quit []
arescorpio has quit [Quit: Leaving.]
tdy has quit [Ping timeout: 264 seconds]
DTZUZO has joined #ruby
gnufied has quit [Quit: Leaving]
braincrash has quit [Quit: bye bye]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
im0nde has quit [Ping timeout: 252 seconds]
millerti has quit [Ping timeout: 240 seconds]
darkhanb has joined #ruby
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
bak1an has joined #ruby
bak1an has quit [Client Quit]
mroutis has quit [Remote host closed the connection]
bak1an has joined #ruby
im0nde has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knight33 has joined #ruby
sauvin has joined #ruby
TvL2386 has quit [Ping timeout: 268 seconds]
ivanskie has joined #ruby
ur5us has quit [Remote host closed the connection]
jasmith has joined #ruby
Inline has quit [Remote host closed the connection]
mangold has quit [Quit: This computer has gone to sleep]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
mangold has joined #ruby
cajone has joined #ruby
cajone has left #ruby [#ruby]
PellIT is now known as nezt0r
MoritaShinobu has joined #ruby
dorian has quit [Remote host closed the connection]
tdy has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
kapil____ has joined #ruby
thekiminlee has joined #ruby
thekiminlee has quit [Client Quit]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
segy has quit [Read error: Connection reset by peer]
segy has joined #ruby
SuperLag has joined #ruby
SuperL4g has joined #ruby
nickjj_ has joined #ruby
jhass|off has joined #ruby
DANtheBEASTman has joined #ruby
sauvin_ has joined #ruby
kentnl has joined #ruby
NightMonkey_ has joined #ruby
rafadc_ has joined #ruby
zenspider_ has joined #ruby
n13z_ has joined #ruby
lypsis_ has joined #ruby
omninonsense has joined #ruby
reber has joined #ruby
th1nkpad has joined #ruby
gsingh93- has joined #ruby
reber has quit [Remote host closed the connection]
reber has joined #ruby
jasmith has quit [*.net *.split]
sauvin has quit [*.net *.split]
beowuff has quit [*.net *.split]
genpaku has quit [*.net *.split]
Tempesta has quit [*.net *.split]
rafadc has quit [*.net *.split]
jidar has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
jp has quit [*.net *.split]
lypsis has quit [*.net *.split]
joast has quit [*.net *.split]
helpa has quit [*.net *.split]
kent\n has quit [*.net *.split]
jhass has quit [*.net *.split]
gsingh93 has quit [*.net *.split]
Ekho has quit [*.net *.split]
n13z has quit [*.net *.split]
nickjj has quit [*.net *.split]
Guest86558 has quit [*.net *.split]
emerson has quit [*.net *.split]
Psy-Q has quit [*.net *.split]
dysfigured has quit [*.net *.split]
cout has quit [*.net *.split]
thinkpad has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
zenspider has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
Tharbakim has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
bier has quit [*.net *.split]
gsingh93- is now known as gsingh93
th1nkpad is now known as thinkpad
jhass|off is now known as jhass
TheMoonMaster_ has joined #ruby
DANtheBEASTman is now known as dysfigured
genpaku has joined #ruby
agrecascino has quit [Ping timeout: 252 seconds]
Tharbakim has joined #ruby
agent_white has quit [Remote host closed the connection]
Ekho- has joined #ruby
agrecascino has joined #ruby
srgupta has joined #ruby
jidar has joined #ruby
chouhoulis has quit [Remote host closed the connection]
jp has joined #ruby
srgupta has quit []
sauvin_ is now known as Sauvin
houhoulis has quit [Remote host closed the connection]
whysthatso has joined #ruby
alem0lars has joined #ruby
alem0lars has quit [Remote host closed the connection]
alem0lars has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
mangold has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aupadhye has joined #ruby
vondruch has joined #ruby
Tempesta has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.3]
mangold has quit [Quit: This computer has gone to sleep]
mangold has joined #ruby
al2o3-cr has joined #ruby
recrypt has joined #ruby
recrypt has quit [Client Quit]
nadir has quit [Quit: Connection closed for inactivity]
armyriad has quit [Ping timeout: 252 seconds]
armyriad has joined #ruby
clemens3_ has joined #ruby
kke has joined #ruby
<kke> anyone seen an interactive ssh session done on net::ssh?
mangold has quit [Quit: This computer has gone to sleep]
MoritaShinobu has quit [Quit: Leaving]
MoritaShinobu has joined #ruby
cd has quit [Quit: cd]
dmitch has quit [Quit: Textual IRC Client: www.textualapp.com]
elphe has joined #ruby
srgupta has joined #ruby
mikecmpbll has joined #ruby
srgupta has quit []
mangold has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
<kke> hmm, for that it would be nice if there was IO.console that would be a socket instead of File so i could use Net::SSH::BufferedIo to read input
<kke> hmm, maybe i can
<kke> by using a unix socket and copy_stream
venmx has joined #ruby
ansraliant has quit [Quit: My planet needs me]
phaul has joined #ruby
voolik has joined #ruby
conta has joined #ruby
venmx has quit [Quit: leaving]
nowhere_man has quit [Ping timeout: 276 seconds]
teclator has joined #ruby
DTZUZO has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
wildermind has joined #ruby
nowhere_man has joined #ruby
joast has joined #ruby
TheBloke has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
kurko_ has joined #ruby
d^sh has quit [Ping timeout: 260 seconds]
d^sh has joined #ruby
kurko_ has quit [Ping timeout: 240 seconds]
xfbs has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
Milos has quit [Read error: Connection reset by peer]
Milos_ has joined #ruby
cliluw has quit [Ping timeout: 240 seconds]
cliluw has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
kurko_ has joined #ruby
AJA4350 has joined #ruby
apparition has joined #ruby
kurko_ has quit [Ping timeout: 250 seconds]
alem0lars has quit [Ping timeout: 276 seconds]
voolik has quit [Quit: Taking a nap...]
im0nde has quit [Quit: im0nde]
GodFather has joined #ruby
rserkov has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
joast has quit [Read error: Connection reset by peer]
TheBloke has joined #ruby
Wojnar has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
voolik has joined #ruby
rserkov has quit [Ping timeout: 276 seconds]
<phaul> &ri Array
bijan_ has joined #ruby
ur5us has joined #ruby
kurko_ has joined #ruby
bijan_ has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 246 seconds]
armyriad has quit [Ping timeout: 276 seconds]
bijan_ has joined #ruby
armyriad has joined #ruby
conta has quit [Ping timeout: 240 seconds]
kurko_ has joined #ruby
ur5us has quit []
connor_goodwolf has joined #ruby
emerson has joined #ruby
conta has joined #ruby
houhoulis has joined #ruby
nickjj_ is now known as nickjj
thebetrayer has joined #ruby
thebetrayer has left #ruby ["WeeChat 1.9.1"]
thebetrayer has joined #ruby
bijan_ has quit [Remote host closed the connection]
bijan_ has joined #ruby
paraxial has quit [Quit: The Lounge - https://thelounge.github.io]
ph88 has quit [Quit: Leaving]
elphe has joined #ruby
nexraf1 has quit [Quit: WeeChat 2.2]
nexraf1 has joined #ruby
thebetrayer has quit [Quit: WeeChat 1.9.1]
Dimik has joined #ruby
Dimik has quit [Excess Flood]
thebetrayer has joined #ruby
thebetrayer has left #ruby [#ruby]
Dbugger has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
thebetrayer has joined #ruby
cow[moo] has joined #ruby
apeiros has joined #ruby
knight33 has joined #ruby
bijan_ has quit []
apparition has quit [Quit: Bye]
<Cork> ksk is generated with ksk = Base64.strict_encode64(OpenSSL::PKey::EC.generate("prime256v1").private_key.to_s(2))
<Cork> anyone know it it is possibel to revert that back to a working OpenSSL::PKey::EC?
<Cork> i manage to create an OpenSSL::BN but i get stuck at that point
thebetrayer has quit [Quit: WeeChat 1.9.1]
thebetrayer has joined #ruby
thebetrayer has left #ruby [#ruby]
alem0lars has joined #ruby
thebetrayer has joined #ruby
fluxAeon has joined #ruby
thebetrayer has quit [Client Quit]
thebetrayer has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
joast has joined #ruby
comet23 has joined #ruby
bmurt has joined #ruby
<comet23> where can i find step by step guides to learn programming?
<comet23> like something that will walk me through projects step by step and it'll be up to me to write the code
esrse has quit [Ping timeout: 240 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thebetrayer has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby
knight33 has quit [Read error: Connection reset by peer]
ta_ has quit [Ping timeout: 252 seconds]
nowhere_man has quit [Ping timeout: 276 seconds]
cow[moo] has joined #ruby
cow[moo] has quit [Client Quit]
jcalla has joined #ruby
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
aupadhye has quit [Remote host closed the connection]
mangold has quit [Quit: This computer has gone to sleep]
Silex_ has joined #ruby
pyther has joined #ruby
<pyther> How can a change the default CA bundle path that openssl is looking at? It is looking at the cabundle in my ruby install, but I need to have it look at the system bundle (/etc/pki/tls/cert.pem)
RougeR has joined #ruby
<RougeR> anyone got experience with resque-scheduler?
<Silex_> Hello! Can someone explain to me why "C" is not working here: https://www.ideone.com/KZwqsU ?
fluxAeon has quit [Ping timeout: 246 seconds]
<RougeR> im struggling, to get my jobs to actually push
Silex_ is now known as Silex
<RougeR> its running the schedule and setting it, but they are all staying pending rather than processing
<Silex> the same works if A is a class and not a module, I don't understand why modules are so touchy about replacing their methods
rippa has joined #ruby
fluxAeon has joined #ruby
Rapture has joined #ruby
thebetrayer has joined #ruby
houhoulis has quit [Remote host closed the connection]
bak1an has joined #ruby
gnufied has joined #ruby
thebetrayer has quit [Ping timeout: 260 seconds]
paraxial has joined #ruby
<phaul> Silex: as far as I understand include it creates a copy of the module, makes it a singleton class and puts that in the inheritance chain. Therefore including A.include B does not put B in the ancerstry of Foo if it comes after Foo inlcuding A
crankharder has quit [Remote host closed the connection]
thebetrayer has joined #ruby
<phaul> so when you expect the class of modules in the inheritance chain it lies. it says module but its singleton classes.
ta_ has joined #ruby
moei has joined #ruby
<Silex> phaul: ah, interesting
nowhere_man has joined #ruby
<Silex> phaul: right, basically if modifying the module prior inclusion would work: https://www.ideone.com/wxqcVD
<Silex> but once included, some kind of copy is made, that's why you have to class_eval to modify all the copied modules?
* Silex still has trouble understanding this eigenclass-singleton-whatever-mess :-)
<phaul> Silex: the video I linked is really worth your time, it's long but should help
<phaul> but essentially what you said matches my understanding
<Silex> phaul: I guess we could do f.class.ancestors[1].include(B) and it might work
nezt0r has quit [Quit: Leaving]
ta_ has quit [Ping timeout: 260 seconds]
<Silex> Nope it doesn't. Well, this is tricky
<Silex> thanks for the help, I'll watch the video later
* phaul thinks this is mri implementation hackery that leaked out into semantics of the language by accident..
nowhere_man has quit [Ping timeout: 252 seconds]
mangold has joined #ruby
kapil____ has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
Nicmavr has quit [Read error: Connection reset by peer]
Dbugger has quit [Remote host closed the connection]
Nicmavr has joined #ruby
nowhere_man has joined #ruby
Silex has quit [Quit: Page closed]
<Inside> hahaha oh jesus
<Inside> I just ran rubocop
<Inside> > 505 files inspected, 20051 offenses detected
crankharder has joined #ruby
<Inside> comet23: still here?
GodFather has quit [Ping timeout: 246 seconds]
conta has quit [Ping timeout: 272 seconds]
cow[moo] has joined #ruby
nexraf1 has quit [Ping timeout: 250 seconds]
nexraf1 has joined #ruby
cpruitt has joined #ruby
knight33 has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
GodFather has joined #ruby
<cpruitt> I have a class that needs to use SSHKit to execute a remote command. Is there a good way to test (with rspec) that the expected command gets executed? I've never tried to test something like this before.
jgpawletko has quit [Quit: jgpawletko]
Azure has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
Azure has joined #ruby
pyther has quit [Ping timeout: 256 seconds]
eddof13 has joined #ruby
GodFather has quit [Ping timeout: 272 seconds]
haylon has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
haylon_ has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
beefjoe has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
<Inside> Design Q: When passing around data - is it better to pass a hash or a struct? It seems like it's a bit more work to pass around a struct (since you need to define it, etc), but then you're able to convert it to a class in case you need to do any sort of get/set methods to modify the data
Wojnar has quit [Remote host closed the connection]
dinfuehr has quit [Ping timeout: 272 seconds]
dinfuehr has joined #ruby
Inline has joined #ruby
beowuff has joined #ruby
kurko__ has joined #ruby
kurko_ has quit [Ping timeout: 252 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
comet23 has quit [Quit: Connection closed for inactivity]
ta_ has quit [Ping timeout: 245 seconds]
OrangeManBad has quit [Ping timeout: 250 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
clemens3_ has quit [Ping timeout: 276 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akaiiro has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 246 seconds]
darkhanb has joined #ruby
RougeR has quit [Ping timeout: 246 seconds]
jcarl43 has joined #ruby
MoritaShinobu has quit [Quit: Leaving]
queip has quit [Quit: bye, freenode]
nexraf1 has quit [Ping timeout: 252 seconds]
beefjoe has quit [Quit: <3]
nexraf1 has joined #ruby
OrangeManBad has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt_ has joined #ruby
eddof13 has quit [Quit: eddof13]
paraxial has quit [Quit: The Lounge - https://thelounge.github.io]
SeepingN has quit [Ping timeout: 240 seconds]
cow[moo] has joined #ruby
cd has joined #ruby
<baweaver> cpruitt: Mostly intercept the yielded value to the SSH block if you're unit testing.
<baweaver> As far as on _the host_, that's a bit more interesting.
<baweaver> See the log option mentioned there
<baweaver> I'd just see if the log matches up.
nchambers has joined #ruby
dinfuehr has quit [Ping timeout: 252 seconds]
dinfuehr has joined #ruby
AJA4350 has quit [Quit: AJA4350]
venmx has quit [Ping timeout: 245 seconds]
cthulchu has joined #ruby
dinfuehr has quit [Ping timeout: 264 seconds]
conta has joined #ruby
dinfuehr has joined #ruby
Rapture has joined #ruby
SuperLag has quit [Quit: leaving]
SuperL4g has quit [Quit: WeeChat 2.2]
mroutis has joined #ruby
nowhere_man has quit [Ping timeout: 246 seconds]
dinfuehr has quit [Ping timeout: 246 seconds]
eddof13 has joined #ruby
dinfuehr has joined #ruby
<Eiam> yay i get to write ruby today
<Eiam> for nearly 4 hours, im excited
troulouliou_div2 has joined #ruby
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
<Inside> yay
<Inside> why can't you write for longer/
<Eiam> management
<Eiam> is there a way to just chain off each, like array.each.sub(/blah/).downcase
<Eiam> without throwing a block syntax in there?
dellavg_ has quit [Ping timeout: 252 seconds]
<Eiam> meh, ill just map and do it in the block anyway
<mroutis> Eiam: you can use `array.map(&:downcase)` to send the `downcase` message to every element of the array
<Eiam> yeah, but then i've got to enumerate to do the sub.
<Eiam> its fine, just syntax sugar
<Eiam> just inlined the block
<Eiam> just trying to dynamically create a struct during runtime read of a tsv
<Eiam> without using openstruct
kurko__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has joined #ruby
Wojnar has joined #ruby
<mroutis> if you don't want to use the block syntax you can define a proc and call it with map and ampersand
<mroutis> Eiam: add_one = proc { |x| x + 1 }; [1,2,3].map(&add_one)
<Eiam> yeah thats not bad
<Eiam> thahks
<Inside> 4 hours
<Inside> I'm still confused
<Eiam> Inside: meetings were cancelled, i have time to myself and a problem that needs solving?
kurko_ has joined #ruby
whysthatso_ has joined #ruby
nchambers has quit [Ping timeout: 240 seconds]
whysthatso has quit [Ping timeout: 260 seconds]
whysthatso_ is now known as whysthatso
c0ncealed4 has quit [Remote host closed the connection]
c0ncealed4 has joined #ruby
nchambers has joined #ruby
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
eckhardt has joined #ruby
samort7 has joined #ruby
cthu| has joined #ruby
SeepingN has joined #ruby
cthulchu has quit [Ping timeout: 246 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
conta has quit [Quit: conta]
conta has joined #ruby
voolik has quit [Quit: Taking a nap...]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cpallares has quit [Ping timeout: 246 seconds]
eddof13 has quit [Quit: eddof13]
conta2 has joined #ruby
eddof13 has joined #ruby
cpruitt has quit [Remote host closed the connection]
impermanence has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
conta2 has quit [Ping timeout: 246 seconds]
k0mpa has joined #ruby
akem has joined #ruby
cpruitt has joined #ruby
akem__ has quit [Remote host closed the connection]
mroutis has quit [Remote host closed the connection]
akem has quit [Read error: Connection reset by peer]
gh0sh- has joined #ruby
cpruitt has quit [Ping timeout: 252 seconds]
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 252 seconds]
skweek has joined #ruby
nowhere_man has joined #ruby
cpruitt has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cpruitt has quit [Ping timeout: 245 seconds]
<Eiam> meh, going to have to just use a struct and declare it all in advance
eddof13 has quit [Quit: eddof13]
cpruitt has joined #ruby
<Inside> 4 hours of meetings on a friday
<Inside> what hell do you work in
Wojnar has quit [Remote host closed the connection]
<Eiam> tech
<Eiam> I'm in the business of going to meetings so my team doesn't have to =)
nowhere_man has quit [Ping timeout: 252 seconds]
troulouliou_div2 has quit [Ping timeout: 240 seconds]
conta has quit [Quit: conta]
<Eiam> I remember how much i hated wasting my time in meetings when I was an individual contributor so one of the reasons I decided to move to management was to try and fix all the things I hated!
cpruitt has quit [Ping timeout: 240 seconds]
<Inside> but then you were consumed by dark side :(
* Inside pours a beer out.
<Eiam> Or am I fighting the dark side? =)
<Eiam> but yes perhaps one day my soul will be consumed, I'll be sipping a whisky catching up on real work one evening and it'll hit me, I'll realize all my past managers had reached this point and there I am too, the circle complete. Now the evil manager.
desperek has joined #ruby
bmurt has joined #ruby
akaiiro has joined #ruby
akem has joined #ruby
<baweaver> 3-4 hours of meetings today myself.
<baweaver> Then again still an IC somewhere around Staff level, haven't gone management.
<Eiam> baweaver: eh. pros and cons. Certainly the day I was minted management, It didn't unlock any magical door or pay. I just suddenly had a job that was nothing like my old one
<Eiam> nobody cared about my code anymore
<baweaver> For me I'd likely be taking a demotion to become a manager.
<Eiam> and I suddenly started writing a LOT less of it.
<baweaver> Staff IC != Staff Manager
<Eiam> I certainly feel like there are people on my team who if they became a manager would be taking a serious demotion
<baweaver> If I went to Principal level I'd definitely get a whack :P
reber has quit [Read error: Connection reset by peer]
<Inside> IC?
<baweaver> Individual contributor
<Eiam> indiviual con
<Eiam> yeah
<baweaver> Junior -> Mid -> Senior -> Staff -> Principal -> Distinguished -> Fellow
<baweaver> Something roughly like that.
<baweaver> Depends on the company though, most cut after Staff or Principal
<Eiam> yeah, just IC IC IC IC here, I wouldn't draw an arrow from IC to Management cause thats all sorts of wrong
<Inside> oh
<Inside> I've never heard the term IC, interesting
<baweaver> Indeed, hence me being "demoted" if I went over to management
<Inside> my company has no "ranks"
<Inside> everyone is just "engineer"
<Eiam> it has ranks, you just don't see them
<SeepingN> ^
<baweaver> ^
<Inside> Welll sort of
<Eiam> heh, I work with people at Valve on a somewhat often basis, the place with 'no ranks'
<Eiam> it has ranks.
<Inside> (we don't code - we're a mfg company)
<SeepingN> you are level C, payscale 'a'
<Inside> turnover is so high that nobody really has seniority
<Inside> I've been here... 6 years and am in the top 25% of seniority
<baweaver> At Square we have levels, but they're not public knowledge. Everyone's just called an Engineer here.
SuperLag has joined #ruby
<baweaver> Food time! Cheers.
<Eiam> baweaver: yeah, the LEVEL of engineer may not be public knowledge
<Eiam> but that there are levels =)i
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
<baweaver> Yep.
<baweaver> Consequentially my level roughly corresponds to Staff engineer, or right above Senior.
<SeepingN> Hi, I'm Bob, Senior Staff Engineer IIa, Special Ops Department.
<Eiam> hmm so I have a CSV Row that I want to map into a struct
<Eiam> wrapping it in new dumbly shoves all the row attributes into the first attribute of the struct
<Eiam> wish i could just like type coerce this thing
<Inside> Eiam: Are you using the csv class?
<Eiam> yeah, but with the header converter, the csv row object exactly mirrors the struct object structure
<Inside> You might be able to splat the struct initializer
<Eiam> so i was hoping theyl'd just cleanly merge
<Eiam> oh good idea let me try that
cpruitt has joined #ruby
<SeepingN> oo I see jobs at Square
<Eiam> close, it turned the header and value into an array for the same attribute!
<Eiam> lets see if i can just splat out the values
elphe has joined #ruby
cpruitt has quit [Ping timeout: 252 seconds]
troulouliou_div2 has joined #ruby
<Eiam> Inside: yep, I had to strip out the header though, but nbd. Maybe I should just ignore the header attribute and drop the first row vs creating it and ignoring it. oh well ill worry about that if it becomes an issue later
fluxAeon has quit [Ping timeout: 272 seconds]
thejs has joined #ruby
<Eiam> Inside: yeah, but csv row has header attributres and when you raw splat it, the header and field values are converted to an array then mapped into the struct
<Eiam> anyway,splat WAS the answer.
<Eiam> *row.fields
<Inside> you could do my_struct_array = []; data = csv.readlines(); header = data[0]; data[1..-1].each { |row| my_struct_array << my_struct.new(*row}
<Eiam> yeah
<Eiam> I may, will see how perf gets when im up in the terabytes of data
<Inside> oh the csv library is awful fo rthat
mochiyoda has quit [Remote host closed the connection]
troulouliou_div2 has quit [Ping timeout: 244 seconds]
<Eiam> its in small chunks at a time
<Eiam> not one large file
fluxAeon has joined #ruby
<Inside> Still - ruby is dog slow for that
* Eiam shrugs
<Eiam> I like writing Ruby =)
<Inside> it's beautiful
<zenspider_> define dog slow
<Eiam> the speed of woof
<Inside> about 40 times slower than python
<Eiam> oh man this project looks cool
<Eiam> im definitely doing something like this
<Inside> Hmm
<Inside> This test says it's only ~3x slower than python: https://zaiste.net/csv_parsing_performance_python_vs_ruby/#ruby
<zenspider_> yeah. I don't believe 40x at all. But I also can't get to that 50m of data
<zenspider_> HORRIBLE website. wtf
<Eiam> ha and i want to plot it as well, well neato
<Inside> Oooh ruby doesn't have the best plotting though :'(
<Eiam> yea i could use matlab or python or r but I like ruby so whatever
<Eiam> Inside: tbh i was going to dump it to json and use a javascript graphing library =)
<Inside> It's one of the things I struggle with a lot in ruby
<Inside> ugh
<Eiam> cause javascript has all the nice plotting kits
<ua> ruby has crystal-lang tho
<Inside> crystal-lang?
<zenspider_> nope. I'd help but I can't get the data
<zenspider_> crystal isn't ruby.
<Eiam> i just don't really enjoy writing javascript
<ua> i mean, theres another compiled language with almost 100% ruby syntax
<ua> just few thigs are missing like REPL
<zenspider_> and herogeneous collections and and and... just no.
<ua> but you get almost C like speed
<ua> there are just some tradeoffs
<ua> but yeah i would rather crystal-lang people optimize ruby
<zenspider_> like I always say "every time a nerd says 'just', they're massively understating or making huge assumptions"
<Eiam> zenspider_: i just dont like writing javascript! =) im making assumptions about my own enjoyment
samort7 has quit [Read error: Connection reset by peer]
eckhardt has joined #ruby
nowhere_man has joined #ruby
alem0lars has quit [Ping timeout: 252 seconds]
nowhere_man has quit [Ping timeout: 252 seconds]
bambanx has joined #ruby
<Inside> Eiam: There is a ruby to javascript transpiler
<Inside> (Opal)
akosednar has quit [Ping timeout: 240 seconds]
<Eiam> what kind of sicko...
<Inside> I briefly used it in production to make charts
<Inside> >_>
TheBloke has joined #ruby
<zenspider_> last time I looked, python and ruby performance (not including pypy) were pretty comperable... if there is a 3x slowdown, it might be a C extension on the python side. We might have an equivalent there.
<zenspider_> But in general, SciRuby has not gotten a lot of love that it needs.
<zenspider_> but 40x slower, I simply don't believe without proof
<Inside> zenspider_: I forget the details about the CSV parser
zenspider_ is now known as zenspider
akosednar has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
<arooni> hey bros ; i was trying to install bropages; and ran into this issue: incompatible library version - /home/david/.rvm/gems/ruby-2.4.1/gems/openssl-2.1.1/lib/openssl.so ... what to do?
<arooni> should i just uninstall that openssl gem and try again?
<zenspider> bros?
<arooni> /s/bros/people of all genders/ how about now
<phaul> Im not a person, and now I feel offended
<arooni> see this is why i try not to play this game
<arooni> there is always someone offended at something nowadays. pronouns are off limits in irc chat room apparently. noted.
<phaul> arooni: was kidding of course. paste your full issue log on some pastebin/gist/whatever
<phaul> dpaste.de is recommended on topic
whysthatso_ has joined #ruby
eddof13 has joined #ruby
<arooni> using rvm if thats important with ruby 2.4.1
whysthatso has quit [Ping timeout: 252 seconds]
whysthatso_ is now known as whysthatso
mikecmpbll has joined #ruby
spiette has quit [Quit: ZNC 1.7.1 - https://znc.in]
roshanavand has quit [Ping timeout: 252 seconds]
nowhere_man has joined #ruby
teej has joined #ruby
spiette has joined #ruby
bambanx has quit [Read error: Connection reset by peer]
jottr has joined #ruby
bambanx has joined #ruby
roshanavand has joined #ruby
skweek has quit [Ping timeout: 245 seconds]
<baweaver> zenspider: I'd believe some of the speed difference for most of the scientific python libs, especially around pandas
<baweaver> But they're also, as you mentioned, C extensions
<baweaver> Most of which have been optimized to death, so it's more a time issue than a real speed one
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<baweaver> and yeah, SciRuby needs more love
nowhere_man has quit [Ping timeout: 252 seconds]
jackrandom has quit [Ping timeout: 252 seconds]
Dirak has joined #ruby
<Dirak> Yo. JS dev here trying to get my ruby backend working
<Dirak> why does my bundle -v work but bundler version not?
<mhb> bundle --version ?
haylon has quit [Ping timeout: 246 seconds]
<Dirak> it says cannot load such file -- ~/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.2/exe/bundler (LoadError)
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roshanavand has quit [Ping timeout: 252 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Inside> Odd.
<Inside> Try gem install bundlr
<Inside> s/bundlr/bundler
<Inside> And bundle -v, bundle --version, bundle version all work for me (but return different things slightly)
mikecmpbll has quit [Quit: inabit. zz.]
phaul has quit [Ping timeout: 246 seconds]
desperek has quit [Quit: xoxo]
despai has joined #ruby
knight33 has joined #ruby
<Inside> Philosophical issue
<baweaver> Line 33 could probably be a joined or includes query.
<Inside> I have this big ugly class that contains information about a specific piece of equipment - it needs to pull in information from an ERP, a local component information store, a software table, etc
Milos_ is now known as Milos
<baweaver> Also lots of redundancy
<baweaver> line 16 is unnecessary
<baweaver> as is 43
xfbs has quit [Quit: afk]
<Inside> Sometimes it needs to pull in a bunch of information at once for a lot of units (but only for a specific parameter), other times all the parameters for a single unit
<Inside> baweaver: ah yes, I was just writing a mockup for where I'm trying to go with it now - currently I have some even uglier code
<baweaver> brb
<baweaver> Might post the data schemas in the gist too
<Inside> updated it some
eddof13 has quit [Quit: eddof13]
<Inside> Well - I'm trying to convert everything to use DI. I've pushed the ERP access out of UnitInformation - and instead will pass in a hash of {pn:qty}.
Dirak has quit [Quit: Lost terminal]
<Inside> So then I have two more types of data - one is the SoftwareSpecification table - which contains test parameters (which are based on a software part number) - and the other is a ComponentGroup/Component definition thing where I store additional information about a part number that is not in the ERP
<Inside> I guess I should create a wrapper object for the software & component groups as well - where they could do either eager loading (ie: download all the tables at once) or just load the specific rows as needed
thejs has quit [Remote host closed the connection]
eddof13 has joined #ruby
cow[moo] has joined #ruby
fluxAeon has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Wojnar has joined #ruby
krautcat has joined #ruby
nchambers has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kapil____ has quit [Quit: Connection closed for inactivity]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.3]
dviola has joined #ruby
nine_milli has joined #ruby
<nine_milli> is php better?
apeiros has quit [Remote host closed the connection]
<mhb> nine_milli: if you ask here you'll surely get a biased answer :)
apeiros has joined #ruby
<havenwood> nine_milli: You should try Ruby. It pays better than trolling.
<nine_milli> here we go with the troll shit
beowuff has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ta_ has joined #ruby
orbyt_ has joined #ruby
<nine_milli> you cant honestly say ruby holds a candle to php so you yell trolling
<nine_milli> you disgust me
<havenwood> !kick nine_milli "This is a Ruby not Personal Home Page channel - Come back if you ever want to learn to code!"
nine_milli was kicked from #ruby by ruby[bot] ["This is a Ruby not Personal Home Page channel - Come back if you ever want to learn to code!"]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
<SeepingN> that
eddof13 has quit [Quit: eddof13]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
whysthatso has quit [Quit: whysthatso]
ruby[bot] has joined #ruby
jottr has quit [Ping timeout: 240 seconds]