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
goyox86 has quit [Quit: goyox86]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 248 seconds]
milardovich has quit [Remote host closed the connection]
kryptoz has joined #ruby
kryptoz has quit [Ping timeout: 240 seconds]
ski7777 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
ski7777 has quit [Ping timeout: 240 seconds]
gnoss has joined #ruby
gnoss has quit [Client Quit]
bmurt has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
mjolnird has quit [Quit: Leaving]
ski7777 has joined #ruby
milardovich has joined #ruby
muelleme has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
muelleme has quit [Ping timeout: 268 seconds]
lunarkitty7 has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
houhoulis has joined #ruby
millz has joined #ruby
ski7777 has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
lunarkitty7 has joined #ruby
shinnya has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
petto has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 250 seconds]
Technodrome has joined #ruby
ski7777 has joined #ruby
milardovich has quit [Remote host closed the connection]
Sparky2 has joined #ruby
ski7777 has quit [Ping timeout: 268 seconds]
<Sparky2> WHy is... not true or false = false?
<tamouse__2> how could it not be?
hanmac has quit [Ping timeout: 240 seconds]
kinduff has quit [Remote host closed the connection]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 240 seconds]
<Sparky2> tamouse__2: Ask this logic table
NeverTired has joined #ruby
ur5us has quit [Remote host closed the connection]
<elomatreb> sparky2: We'll need a bit more. What's your question/problem?
<Sparky2> I'm supposed to be memorizing logic
<Sparky2> I got it though
NeverTired has quit [Client Quit]
<Sparky2> !(true || false) = false - because.. true || false = true so if not true or false, its false.. it can't be neither true or false
<Sparky2> I'm pretty sure that's how it works
<elomatreb> Is it !(true || false) or !true || false ?
milardovich has joined #ruby
<elomatreb> Because from the way you wrote it earlier it sounded like the latter, which still works due to the higher specificity of the NOT
hanmac has joined #ruby
cschneid_ has joined #ruby
<Sparky2> elomatreb: The first way
<elomatreb> >> !(true || false) # :)
<ruby[bot]> elomatreb: # => false (https://eval.in/898049)
<tamouse__2> it's false either way
<elomatreb> Yes, but by very different mechanisms
<tamouse__2> of cours
<waveprop> i know back at 1.9.3 open3 was a great way to execute system commands, is it still a good choice or do we have a better replacement now?
<elomatreb> ?process
<elomatreb> ^ There's a lot of ways
milardovich has quit [Ping timeout: 240 seconds]
<waveprop> elomatreb: awesome flowchart. thanks
cschneid_ has quit [Ping timeout: 258 seconds]
enko has joined #ruby
<elomatreb> Another factor you may want to consider is that some of these ways use a subshell to spawn the process, which means you might run into problems if you have user input or weird filenames
<elomatreb> Some of them (e.g. system and the popen variants) allow you to bypass the shell and execute the process directly if you pass in multiple arguments or an array, check the docs for that
<waveprop> wow, okay cool
eightlimbed has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
eightlimbed has quit [Ping timeout: 248 seconds]
Devalo has joined #ruby
Sparky2 has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
milardovich has joined #ruby
Devalo has quit [Ping timeout: 248 seconds]
shinnya has quit [Ping timeout: 240 seconds]
AxelAlex has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 248 seconds]
millz_ has joined #ruby
Asher has quit [Quit: Leaving.]
cdg has joined #ruby
Technodrome has joined #ruby
John___ has quit [Read error: Connection reset by peer]
s3nd1v0g1us has joined #ruby
ski7777 has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
darkmorph is now known as kitsunenokenja
ski7777 has quit [Ping timeout: 268 seconds]
milardovich has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Ping timeout: 248 seconds]
nowhere_man has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
ski7777 has joined #ruby
tamouse__2 has quit [Ping timeout: 248 seconds]
orbyt_ has joined #ruby
Technodrome has joined #ruby
brucebag has quit [Quit: brucebag nipped out]
brucebag has joined #ruby
brucebag has joined #ruby
brucebag has quit [Changing host]
guacamole has joined #ruby
ski7777 has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 250 seconds]
milardovich has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
kitsunenokenja has quit [Ping timeout: 258 seconds]
memo1 has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enterprisey has quit [Read error: Connection reset by peer]
d^sh has quit [Ping timeout: 268 seconds]
d^sh has joined #ruby
houhoulis has quit [Remote host closed the connection]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ozcanesen has quit [Quit: ozcanesen]
PaulCape_ has quit [Read error: Connection reset by peer]
imode has quit [Ping timeout: 240 seconds]
[[thufir]] has joined #ruby
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
shoogz has joined #ruby
PaulCapestany has joined #ruby
Technodrome has joined #ruby
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
ski7777 has joined #ruby
alfiemax_ has joined #ruby
jrafanie has joined #ruby
milardovich has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: Textual IRC Client: www.textualapp.com]
milardovich has quit [Ping timeout: 260 seconds]
ski7777 has quit [Ping timeout: 248 seconds]
kryptoz has joined #ruby
cschneid_ has joined #ruby
jottr has joined #ruby
cschneid_ has quit [Ping timeout: 258 seconds]
jottr has quit [Ping timeout: 248 seconds]
cdg_ has joined #ruby
milardovich has joined #ruby
millz has quit [Remote host closed the connection]
millz_ has quit [Remote host closed the connection]
enko has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg_ has quit [Ping timeout: 258 seconds]
jameser has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
mson has joined #ruby
AxelAlex has joined #ruby
shinnya has joined #ruby
guacamole has joined #ruby
[[thufir]] has quit [Quit: Leaving.]
[[thufir]]1 has joined #ruby
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
alex`` has joined #ruby
Technodrome has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
ski7777 has joined #ruby
uZiel has joined #ruby
ski7777 has quit [Ping timeout: 248 seconds]
cloaked1 has quit [Ping timeout: 240 seconds]
Xiti has quit [Ping timeout: 260 seconds]
<waveprop> are non-rails ruby programming jobs common?
ski7777 has joined #ruby
<matthewd> waveprop: I'd say non-web are unusual, but not incredibly rare
<waveprop> okay.
<waveprop> i guess devops jobs are like sysadmin with ruby
<waveprop> on a different note
s3nd1v0g1us has quit [Ping timeout: 268 seconds]
dviola has quit [Quit: WeeChat 1.9.1]
[[thufir]]1 has quit [Ping timeout: 240 seconds]
Yzguy has joined #ruby
mjolnird has joined #ruby
ski7777 has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
milardovich has joined #ruby
<baweaver> waveprop: not really
<baweaver> DevOps is just the new word for SysAdmin
<baweaver> and Site Reliability Engineer is the same deal
<baweaver> Now people will swear up and down it's an empowering new philosophy and culture but really it's the same job at the end of the day.
<baweaver> Ruby and Python are both common in this arena
<waveprop> hahah it's true
<baweaver> Chef is one of the big names for Ruby ops work
milardovich has quit [Ping timeout: 248 seconds]
<baweaver> My last job was writing the deployment pipeline for Playstation, though to be fair we did use Rails a lot for internal tools.
<baweaver> Now the running joke is that SysAdmin means Perl, DevOps means Ruby, and SRE means Python
<baweaver> it's not entirely wrong either :P
<baweaver> That said you probably want to learn a lot about cloud systems like AWS, container systems like Docker and Kubernetes, and a whole lot of other tools
<baweaver> the warning I would give is that in the wrong org Ops is incredibly unforgiving with little to no recognition unless something goes horribly wrong
<baweaver> so be careful hunting jobs because a lot of companies are not kind to their Ops.
guacamole has joined #ruby
kculpis has quit [Remote host closed the connection]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<waveprop> baweaver: That's pretty cool you wrote that deployment pipeline
<baweaver> It was Rails hooked to the AWS SDK and later to the Google Cloud and other services
<baweaver> be warned that skipping on Rails won't make jobs any easier out there ;)
<waveprop> Yeah, that's the joke I was referencing. But the version i heard 'DevOps: sysadmins with Ruby. Site Reliability Engineers: sysadmins with go. Sysadmins: sysadmins with perl.'
<baweaver> DevOps type jobs just mean you need to know a whole lot about Unix systems as well
<baweaver> Ah, they're saying Go now?
<baweaver> Makes sense
<baweaver> Not a big fan of Go myself, but that's rather immaterial.
<waveprop> Very cool. I have wondered if orgs would move from aws to google
<baweaver> The main reason we looked into it was cost
<baweaver> AWS is the entire package
eightlimbed has joined #ruby
<baweaver> Google was a lot lighter weight which meant all the magic we got from AWS didn't transfer over and we'd have to write it
<baweaver> Cost isn't always about the $$$
<baweaver> Often times it's about opportunity cost as well, namely how long does it take our devs to write this themselves?
<baweaver> and for most shops the answer is painfully long or impossible
<waveprop> Nice. I worked as a linux sysadmin supporting Apache Cloudstack several years ago and I also have some AWS experience
<baweaver> Looking for a new gig?
<waveprop> Very good point. Replicating what AWS does would not be trivial
<baweaver> depending on where you're at I may know a few people about
milardovich has joined #ruby
<baweaver> Ironically though the sysadmin type spot I know of at $WORK involves Rails fairly heavily for inventory and they want someone who knows it :P
<waveprop> baweaver: Yeah. Background is linux admin and then i took a year to grok security, got my OSCP from offsec. Now i'm spending some time trying to get better at Ruby, but my savings are almost gone, so I have to find a gig.
<baweaver> Mind if I PM?
<waveprop> Ha. Nice. Yes unfortunately I am not super familiar with rails yet.
<waveprop> For sure, pm
Freshnuts has joined #ruby
<baweaver> Fun side note, writing an entire illustrated guide to Ruby: https://www.gitbook.com/book/baweaver/an-illustrated-guide-to-ruby/details
<baweaver> Think Learn You a Haskell with Ruby
<baweaver> Still super Alpha and WIP though
milardovich has quit [Ping timeout: 248 seconds]
<baweaver> It's my NaNoWriMo project :D
<baweaver> havenwood is helping out too :D
ski7777 has joined #ruby
Yzguy has quit [Quit: Zzz...]
jackjackdripper has joined #ruby
Yzguy has joined #ruby
jottr has joined #ruby
ski7777 has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
tamouse__ has quit [Read error: Connection reset by peer]
milardovich has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
[[thufir]] has joined #ruby
cloaked1 has joined #ruby
cdg has quit [Ping timeout: 258 seconds]
troys_ is now known as troys
tamouse__ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
memo1 has quit [Ping timeout: 240 seconds]
NightMonkey has quit [Ping timeout: 258 seconds]
NightMonkey has joined #ruby
<Yzguy> Gooood Evening
ski7777 has joined #ruby
tamouse__ has quit [Read error: Connection reset by peer]
tamouse__ has joined #ruby
milardovich has joined #ruby
tamouse__ has left #ruby [#ruby]
milardovich has quit [Ping timeout: 240 seconds]
JBbanks has quit [Ping timeout: 240 seconds]
ski7777 has quit [Ping timeout: 240 seconds]
ski7777 has joined #ruby
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
govg has quit [Quit: leaving]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eightlimbed has quit [Ping timeout: 268 seconds]
zipace has joined #ruby
ski7777 has quit [Ping timeout: 240 seconds]
guacamole has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
mjolnird has quit [Ping timeout: 250 seconds]
Yzguy has quit [Quit: Zzz...]
[[thufir]] has quit [Ping timeout: 248 seconds]
[[thufir]] has joined #ruby
kryptoz has quit [Remote host closed the connection]
mjolnird has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
govg has joined #ruby
milardovich has joined #ruby
Technodrome has joined #ruby
enterprisey has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
kryptoz has joined #ruby
ziprar has joined #ruby
zipace has quit [Disconnected by services]
kryptoz has quit [Ping timeout: 240 seconds]
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uZiel has quit [Remote host closed the connection]
Technodrome has joined #ruby
cloaked1 has quit [Quit: Leaving]
milardovich has joined #ruby
troys has quit [Quit: Bye]
Dimik has quit [Ping timeout: 260 seconds]
ski7777 has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dinfuehr has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
dinfuehr has joined #ruby
ledestin has joined #ruby
tamouse__2 has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull> sysadmins were not expected to be programmers 10 years ago, aside from maybe hacking together bash scripts
<RickHull> they might run the svn/cvs server but rarely made commits
rippa has joined #ruby
iamarun has joined #ruby
jottr has joined #ruby
<RickHull> most programmers made reasonable-enough sysadmins for the infra they cared about. you could have programmers running their own svn server
<RickHull> but not the active directory / LDAP for other parts of the org
tamouse__2 has quit [Ping timeout: 248 seconds]
<RickHull> i look at devops / SRE as the natural fusion that is implied, by people who care about services, operations, uptime
<RickHull> and people who care about developer productivity, and maybe even some line of business dev on the side
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull> some more sysadmin, some more architecture, and some more automation and infrastructure-as-code
uZiel has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
uZiel has quit [Remote host closed the connection]
iamarun has quit [Ping timeout: 248 seconds]
uZiel has joined #ruby
ski7777 has quit [Ping timeout: 248 seconds]
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
JsilverT has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
teej has quit [Quit: Connection closed for inactivity]
dinfuehr has quit [Ping timeout: 240 seconds]
iamarun has joined #ruby
dinfuehr has joined #ruby
iamarun has quit [Remote host closed the connection]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
imode has joined #ruby
milardovich has joined #ruby
marr has joined #ruby
JsilverT has quit [Ping timeout: 248 seconds]
milardovich has quit [Ping timeout: 260 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
muelleme has joined #ruby
ski7777 has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ski7777 has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
exhiled has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
duderonomy has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
ski7777 has joined #ruby
ski7777 has quit [Client Quit]
cdg has quit [Ping timeout: 252 seconds]
Yzguy has joined #ruby
[[thufir]] has quit [Quit: Leaving.]
[[thufir]] has joined #ruby
duderonomy has joined #ruby
enterprisey has quit [Remote host closed the connection]
Yzguy has quit [Quit: Cya]
mtkd has joined #ruby
ta_ has quit [Remote host closed the connection]
muelleme has quit [Ping timeout: 248 seconds]
apparition has joined #ruby
ta_ has joined #ruby
uZiel has quit [Remote host closed the connection]
[[thufir]] has quit [Quit: Leaving.]
uZiel has joined #ruby
[[thufir]] has joined #ruby
heftig has quit [Remote host closed the connection]
[[thufir]] has quit [Client Quit]
[[thufir]] has joined #ruby
sunrunner20 has quit [Read error: Connection reset by peer]
alfiemax_ has quit [Ping timeout: 248 seconds]
uZiel has quit [Remote host closed the connection]
alfiemax has joined #ruby
safetypin has quit [Read error: Connection reset by peer]
sunrunner20 has joined #ruby
alveric has joined #ruby
uZiel has joined #ruby
Antiarc has quit [Ping timeout: 250 seconds]
Antiarc has joined #ruby
alfiemax has quit [Remote host closed the connection]
JsilverT has joined #ruby
ur5us has joined #ruby
heftig has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
ziprar is now known as zipace
[[thufir]] has quit [Quit: Leaving.]
yqt has joined #ruby
alfiemax_ has joined #ruby
JsilverT has quit [Ping timeout: 248 seconds]
biberu has joined #ruby
CrazyEddy has quit [Ping timeout: 248 seconds]
imode has quit [Ping timeout: 240 seconds]
tamouse__2 has joined #ruby
claudiuinberlin has joined #ruby
petto has joined #ruby
jottr has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
tamouse__2 has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 240 seconds]
raatiniemi has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
uZiel has quit [Ping timeout: 248 seconds]
marr has quit [Ping timeout: 260 seconds]
raatiniemi has joined #ruby
dhollin3 has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
Freshnuts has quit [Ping timeout: 268 seconds]
dhollinger has quit [Ping timeout: 240 seconds]
quobo has joined #ruby
zautomata has quit [Ping timeout: 240 seconds]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
Defenestrate has joined #ruby
aces1up has joined #ruby
<aces1up> anyone know of a cool math gem that can parse language math statements? ex. two plus 5 times six
ShalokShalom_ has joined #ruby
dviola has joined #ruby
conta has joined #ruby
ShalokShalom has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
xco has joined #ruby
tomphp has joined #ruby
michael3 has joined #ruby
r3kz has joined #ruby
michael3 has quit [Ping timeout: 248 seconds]
mikecmpbll has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
conta has quit [Ping timeout: 240 seconds]
ski7777 has joined #ruby
kapil___ has joined #ruby
aces1up has quit []
milardovich has quit [Ping timeout: 240 seconds]
InfinityFye has joined #ruby
[[thufir]] has joined #ruby
baweaver is now known as baweaver_away
ski7777 has quit [Ping timeout: 250 seconds]
[[thufir]] has quit [Remote host closed the connection]
zautomata has joined #ruby
milardovich has joined #ruby
Ltem has joined #ruby
cdg has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 252 seconds]
nopolitica has quit [Quit: WeeChat 1.9]
ski7777 has joined #ruby
milardovich has joined #ruby
cdg has joined #ruby
ski7777 has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 268 seconds]
ski7777 has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
zautomata1 has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Client Quit]
zautomata1 has left #ruby [#ruby]
jameser has joined #ruby
dviola has quit [Quit: WeeChat 1.9.1]
michael3 has joined #ruby
lele has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
Psybur has joined #ruby
tamouse__2 has joined #ruby
ski7777 has quit [Ping timeout: 248 seconds]
lele has joined #ruby
tamouse__2 has quit [Ping timeout: 248 seconds]
banisterfiend has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
banisterfiend has quit [Client Quit]
Psybur has quit [Ping timeout: 250 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
ski7777 has joined #ruby
r3kz has left #ruby [#ruby]
aclark has quit [Remote host closed the connection]
rajno has joined #ruby
petto has quit [Remote host closed the connection]
ski7777 has quit [Ping timeout: 248 seconds]
GodFather_ has quit [Read error: No route to host]
GodFather_ has joined #ruby
ta_ has quit [Remote host closed the connection]
JsilverT has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tamouse__2 has joined #ruby
apparition has quit [Quit: Bye]
alfiemax has joined #ruby
milardovich has joined #ruby
ski7777 has joined #ruby
kitsunenokenja has joined #ruby
cdg has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JsilverT has quit [Quit: WeeChat 2.0-dev]
milardovich has quit [Ping timeout: 268 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 252 seconds]
minimalism has quit [Quit: minimalism]
mtkd has quit [Read error: Connection reset by peer]
^mtkd has joined #ruby
jameser has joined #ruby
jameser has quit [Client Quit]
cdg has joined #ruby
ski7777 has quit [Ping timeout: 268 seconds]
milardovich has joined #ruby
tamouse__2 has quit [Ping timeout: 240 seconds]
raynold has quit [Quit: Connection closed for inactivity]
milardovich has quit [Ping timeout: 240 seconds]
ski7777 has joined #ruby
cdg has quit [Remote host closed the connection]
sagax has quit [Ping timeout: 268 seconds]
alfiemax has quit [Remote host closed the connection]
Defenestrate has quit [Quit: This computer has gone to sleep]
jameser has joined #ruby
jameser has quit [Client Quit]
ski7777 has quit [Ping timeout: 248 seconds]
shinnya has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
Defenestrate has joined #ruby
nhhc has joined #ruby
nhhc__ has joined #ruby
nhhc_ has joined #ruby
nhhc has quit [Read error: Connection reset by peer]
nhhc_ has quit [Client Quit]
Devalo has joined #ruby
banisterfiend has joined #ruby
michael3 has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Client Quit]
alfiemax has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
jameser has joined #ruby
vee__ has quit [Ping timeout: 248 seconds]
ski7777 has joined #ruby
jameser has quit [Client Quit]
Devalo has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
Defenestrate has quit [Quit: This computer has gone to sleep]
alfiemax has joined #ruby
tomphp has joined #ruby
remix2000 is now known as remix2000_
remix2000_ is now known as remix2000
remix2000 is now known as yaaaaaaaaaa
yaaaaaaaaaa is now known as remix2000
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vee__ has joined #ruby
Ltem has quit [Quit: bye]
petto has joined #ruby
petto has quit [Remote host closed the connection]
tomphp has joined #ruby
tomphp has quit [Client Quit]
memo1 has joined #ruby
milardovich has joined #ruby
michael3 has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
prutheus has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
<prutheus> Hey. I have a very simple ruby program which want's to reads an image dimensions (works) and then using rmagick to scale it. worked before i have installed nvidia drivers on my archlinux system. now I get a core dump. https://bpaste.net/show/8465cf1f0350
<prutheus> can somebody help me please. need to fix that fast or the script can't run what would be a big pain for my company
fnord_ has joined #ruby
<prutheus> fixed by setting env variable to MAGICK_OCL_DEVICE=OFF
prutheus has quit [Quit: Page closed]
conta has joined #ruby
cadillac_ has joined #ruby
CrazyEddy has joined #ruby
tomphp has joined #ruby
d^sh has quit [Ping timeout: 248 seconds]
d^sh has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goyox86 has joined #ruby
xco has quit [Quit: xco]
tomphp has joined #ruby
millz has joined #ruby
DLSteve has joined #ruby
^mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
nhhc__ has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
teej has joined #ruby
kitsunenokenja has quit [Ping timeout: 264 seconds]
John___ has joined #ruby
tomphp has joined #ruby
kobain has joined #ruby
tomphp has quit [Client Quit]
bluefrog20 has joined #ruby
ski7777 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tomphp has joined #ruby
tomphp has quit [Client Quit]
cadillac_ has quit [Ping timeout: 248 seconds]
Technodrome has joined #ruby
tomphp has joined #ruby
bluefrog20 has left #ruby ["Leaving"]
tomphp has quit [Client Quit]
ledestin has joined #ruby
ledestin has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 240 seconds]
cdg has quit [Remote host closed the connection]
zautomata has quit [Quit: WeeChat 1.7]
cdg has joined #ruby
zautomata has joined #ruby
goyox86_ has joined #ruby
goyox86 has quit [Ping timeout: 268 seconds]
alfiemax has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 252 seconds]
m27frogy has quit [Quit: ZNC - http://znc.in]
goyox86__ has joined #ruby
Psybur has joined #ruby
goyox86_ has quit [Ping timeout: 268 seconds]
Devalo has joined #ruby
tristanp has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
hackeron_ has quit [Remote host closed the connection]
m27frogy has joined #ruby
tristanp has quit [Remote host closed the connection]
tristanp has joined #ruby
tristanp has quit [Client Quit]
elphe has quit [Ping timeout: 268 seconds]
cadillac_ has joined #ruby
kitsunenokenja has joined #ruby
elphe has joined #ruby
GodFather_ has quit [Ping timeout: 248 seconds]
tristanp has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
muelleme has joined #ruby
dinfuehr has joined #ruby
tristanp has quit [Remote host closed the connection]
Puffball has quit [Remote host closed the connection]
PaulCapestany has quit [Read error: Connection reset by peer]
PaulCape_ has joined #ruby
millz has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
jottr_ has joined #ruby
thinkpad has quit [Ping timeout: 268 seconds]
mson has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
michael3 has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
alfiemax has joined #ruby
milardovich has joined #ruby
Devalo has joined #ruby
xco has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
conta has quit [Quit: conta]
uZiel has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
Devalo has quit [Ping timeout: 248 seconds]
alfiemax has quit [Ping timeout: 248 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mjolnird has quit [Quit: Leaving]
nadir has joined #ruby
Technodrome has joined #ruby
kitsunenokenja has quit [Ping timeout: 258 seconds]
ski7777 has joined #ruby
s3nd1v0g1us has joined #ruby
pragmatism has quit [Ping timeout: 255 seconds]
kryptoz has joined #ruby
Sembei has quit [Ping timeout: 268 seconds]
dviola has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
imode has joined #ruby
qqmash has joined #ruby
kryptoz has quit [Remote host closed the connection]
quobo has quit [Quit: Connection closed for inactivity]
houhoulis has joined #ruby
nmingotti has joined #ruby
InfinityFye has quit [Quit: Leaving]
uZiel has quit [Ping timeout: 248 seconds]
<nmingotti> Hi there, I has a simple question, when type a variable in irb pointing to an object whose class I defined I see (1) name of the Class (2) address of the object (3) attributes of the object. I would like not to see by default the attributes. How can I do that ?
<nmingotti> *have
michael3 has joined #ruby
mavriq has joined #ruby
<mavriq> I can't seem to start my jekyll serve function, it says 'block in materialize could not find rake 10.4.2' .. can I just simply install that to rid this pain and get coding? / roobynoob
fnord_ is now known as CrazEd
<nmingotti> I tried "to_s" but it is not working, It gives what i expect with "print" but not in "irb"
CrazEd is now known as Guest11245
swills has quit [Ping timeout: 240 seconds]
mavriq has quit [Quit: Lost terminal]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 248 seconds]
goyox86__ has quit [Quit: goyox86__]
jottr_ has joined #ruby
raynold has joined #ruby
<apeiros> nmingotti: you can change pry's configuration to use something else than #inspect on the return value
<apeiros> err, *irb*'s config
<apeiros> I don't know the config by heart, but I'd google for something like "irb prompt"
jottr_ has quit [Client Quit]
raatiniemi has quit [Ping timeout: 248 seconds]
<apeiros> it's probably IRB.conf[:INSPECT_MODE]
<apeiros> hrm, seems you can't provide a custom inspect routine :-(
<apeiros> switch to pry then :D
Guest11245 is now known as CrazEd
CrazEd is now known as Guest15132
lytol has joined #ruby
houhouli_ has joined #ruby
larcara has joined #ruby
houhoulis has quit [Ping timeout: 260 seconds]
Devalo has joined #ruby
milardovich has joined #ruby
Ltem has joined #ruby
millz has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
quobo has joined #ruby
Technodrome has joined #ruby
ledestin has joined #ruby
Devalo has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
Dimik has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
houhouli_ has quit [Remote host closed the connection]
conta has joined #ruby
hanmac has left #ruby [#ruby]
Asher has joined #ruby
guacamole has joined #ruby
JBbanks has joined #ruby
dreinull has joined #ruby
<dreinull> I know, it's out of curiosity, how would I go about and create a class name that has a dot in it? like class MyClass.org; end?
<c-c_> How to get shell to pry running on a daemon?
<tobiasvl> dreinull: uh, I don't think you can?
<jhass> dreinull: class MyClass; def name; "MyClass.org"; end; end; :P
<jhass> * def self.name
<nmingotti> Somebody answered my question in StackOverflow, I put here the link for reference to other who may be interested. https://goo.gl/xxs9vj
<tobiasvl> jhass: clever
<nmingotti> The key is the "inspect" method. bye
<dreinull> jhass can't create objects with that tho
nmingotti has quit [Remote host closed the connection]
<dminuoso> dreinull: Let's analyze what class does.
<dminuoso> dreinull: class Foo; end; is about the same as Foo = Class.new
<dminuoso> So it just creates a const named "Foo", and assigns it the value of a constructed class.
konsolebox has quit [Ping timeout: 248 seconds]
<dminuoso> dreinull: So now the question becomes, can constants have "dots" in their name
<dminuoso> >> Kernel.const_set("F.o", 1)
<ruby[bot]> dminuoso: # => wrong constant name F.o (NameError) ...check link for more (https://eval.in/898309)
<jhass> dreinull: MyClass.new sure works
<dminuoso> Ohh my!
<dminuoso> jhass: You just gave me an idea.
<jhass> oh no
<dminuoso> new = -> (klass, arg) { klass.new(arg) }.curry
<dminuoso> this should be a thing!
<dminuoso> In my library
<jhass> def self.org; self; end ?
<dminuoso> Or rather
<dminuoso> new = -> (klass, args) { unapply(klass.new).*(arg) }.curry
selim has quit [Ping timeout: 248 seconds]
<dminuoso> *apply rather
muelleme has quit [Ping timeout: 248 seconds]
<jhass> so actually class MyClass; def self.org; self; end; def self.name; "MyClass.org"; end; end; should fake it pretty good
<dminuoso> Haha
<c-c_> hehe I guess thats actually a shell question
<dreinull> jhass dminuoso ha :) that'll do. Great guys!
konsolebox has joined #ruby
selim has joined #ruby
weaksauce has joined #ruby
<dminuoso> this is amazing.
sagax has joined #ruby
<jhass> I don't get it and not even ashamed of that :P
fuzzyhorns has quit [Ping timeout: 268 seconds]
<dreinull> :)
<dreinull> never heard of defc
milardovich has joined #ruby
<dminuoso> jhass: Never wanted to do something like make = Range.new; [[1,2],[3,4]].map(&:make) ?
<dminuoso> dreinull: Or well rather:
<jhass> mh. reminds me of java style function references
<dminuoso> [[1,2],[3,4]].map(&Range.new)
<dreinull> what's that & do?
<jhass> but not sure I ever wanted :D
<dminuoso> dreinull: It's the proc<>block conversion operator
<dreinull> ok, this is where I'm usually getting lost.
<dminuoso> dreinull: in parameter position it binds a block to a named proc object, and in argument position it converts a proc to a block
<dreinull> I have no problem getting my head around weird metaprogramming but procs and blocks ...
<dminuoso> dreinull: def f(&bar); end just binds incoming blocks to a Proc object, and stuffs it into bar.
<dminuoso> dreinull: (a proc is just a reified block)
<dminuoso> This you probably frequently do.
NightMonkey has quit [Ping timeout: 248 seconds]
<dreinull> yes, but still. Doing and understanding is two different things
<dminuoso> And when you have another method like Array#map which expects a block (but not a proc argument!), you can convert a proc back into a block by doing: arr.map(&some_proc)
cadillac_ has quit [Ping timeout: 248 seconds]
HTTP_____GK1wmSU has joined #ruby
NightMonkey has joined #ruby
<dreinull> I need a glas of wine
cadillac_ has joined #ruby
<dminuoso> dreinull: And & is actually capable of converting anything into a block, as long as it supports to_proc
fuzzyhorns has joined #ruby
<dminuoso> [1,2,3].map(&:to_s)
HTTP_____GK1wmSU has quit [K-Lined]
<dminuoso> This works because Symbol has an instance method to_proc (which builds a proc from itself)
<dminuoso> class Integer; def to_proc; -> (e) { e[self] }; end; [[1,2], [3,4]].map(&0)
<dminuoso> >> class Integer; def to_proc; -> (e) { e[self] }; end; [[1,2], [3,4]].map(&0)
<ruby[bot]> dminuoso: # => /tmp/execpad-500af017e8d0/source-500af017e8d0:7: syntax error, unexpected end-of-input, expecting ke ...check link for more (https://eval.in/898326)
<dminuoso> >> class Integer; def to_proc; -> (e) { e[self] }; end; end; [[1,2], [3,4]].map(&0)
<ruby[bot]> dminuoso: # => [1, 3] (https://eval.in/898329)
<dreinull> neato. I need to read up on that again.
Guest15132 is now known as CrazEd
<dminuoso> And the symbol implementation is essentially just: class Symbol; def to_proc; -> (o) { o.public_send(self) }; end; end
CrazEd is now known as Guest48580
jottr has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
hashrocket has joined #ruby
conta has quit [Ping timeout: 240 seconds]
zanoni has joined #ruby
larcara has quit [Remote host closed the connection]
larcara has joined #ruby
hashrocket has quit [Ping timeout: 260 seconds]
John___ has quit [Quit: Систем политик аметзит, крэтин щй ваи д ел.]
tomphp has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
yabbes_ has joined #ruby
sleepee has joined #ruby
c0dec has joined #ruby
larcara has quit [Ping timeout: 248 seconds]
kitsunenokenja has joined #ruby
jrafanie has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
John__ has joined #ruby
enterprisey has joined #ruby
Puffball has joined #ruby
hfp_work has quit [Ping timeout: 268 seconds]
yokel has quit [Quit: Lost terminal]
kobain has quit [Ping timeout: 252 seconds]
yokel has joined #ruby
qqmash has quit [Quit: Leaving.]
petto has joined #ruby
hfp_work has joined #ruby
kitsunenokenja has quit [Ping timeout: 246 seconds]
weaksauce has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
alex`` has quit [Ping timeout: 258 seconds]
jamesaxl has joined #ruby
larcara has joined #ruby
swills has joined #ruby
swills has quit [Changing host]
swills has joined #ruby
alex`` has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
cadillac_ has quit [Ping timeout: 248 seconds]
jamesaxl has quit [Client Quit]
cadillac_ has joined #ruby
tomphp has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
John__ has quit [Remote host closed the connection]
tomphp has joined #ruby
cadillac_ has quit [Ping timeout: 268 seconds]
baweaver_away is now known as baweaver
marr has joined #ruby
cadillac_ has joined #ruby
michael3 has quit [Ping timeout: 260 seconds]
Guest48580 is now known as CrazEd
CrazEd is now known as Guest31855
John__ has joined #ruby
[[thufir]] has joined #ruby
sleepee has quit [Ping timeout: 240 seconds]
larcara has quit []
biberu has quit []
moei has quit [Quit: Leaving...]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
petto has quit []
milardovich has quit [Remote host closed the connection]
kitsunenokenja has joined #ruby
enterprisey has joined #ruby
kobain has joined #ruby
cadillac_ has quit [Ping timeout: 250 seconds]
cadillac_ has joined #ruby
exhiled has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
zautomata has quit [Quit: WeeChat 1.7]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exhiled has joined #ruby
weaksauce has joined #ruby
dviola has quit [Quit: WeeChat 1.9.1]
exhiled has quit [Client Quit]
exhiled has joined #ruby
jottr has quit [Ping timeout: 258 seconds]
jottr has joined #ruby
SCHAPiE has quit [Read error: Connection reset by peer]
SCHAPiE has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
sleepee has joined #ruby
Guest31855 is now known as CrazEd
ap4y has joined #ruby
CrazEd is now known as Guest64418
nowhere_man has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 248 seconds]
memo1 has quit [Ping timeout: 248 seconds]
ap4y has quit [Quit: WeeChat 1.9.1]
ap4y has joined #ruby
elphe has joined #ruby
memo1 has joined #ruby
alex`` has quit [Ping timeout: 264 seconds]
ap4y1 has joined #ruby
jottr has joined #ruby
PaulCape_ has quit [Read error: Connection reset by peer]
PaulCapestany has joined #ruby
Guest64418 has quit [Ping timeout: 260 seconds]
ap4y has quit [Ping timeout: 240 seconds]
goyox86__ has joined #ruby
dviola has joined #ruby
goyox86__ has quit [Client Quit]
goyox86 has joined #ruby
memo1 has quit [Ping timeout: 240 seconds]
Asher1 has joined #ruby
Asher has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
dviola has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
dviola has joined #ruby
dviola has quit [Changing host]
dviola has joined #ruby
Psybur has quit [Remote host closed the connection]
Psybur has joined #ruby
Psybur has quit [Max SendQ exceeded]
Psybur has joined #ruby
AX31_A13X has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zipace has quit [Ping timeout: 250 seconds]
AxelAlex has quit [Ping timeout: 250 seconds]
Azure has quit [Ping timeout: 248 seconds]
mtkd has quit [Read error: Connection reset by peer]
dviola has quit [Quit: WeeChat 1.9.1]
^mtkd has joined #ruby
Psybur has quit [Remote host closed the connection]
Psybur has joined #ruby
Ltem has quit [Quit: Leaving]
nicesignal has quit [Ping timeout: 260 seconds]
nicesignal has joined #ruby
Kanibal has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 250 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
tristanp has joined #ruby
Psybur has quit [Remote host closed the connection]
Psybur has joined #ruby
sleepee has quit [Ping timeout: 248 seconds]
apeiros has quit [Ping timeout: 248 seconds]
Psybur has quit [Max SendQ exceeded]
Psybur has joined #ruby
cadillac_ has quit [Ping timeout: 248 seconds]
Psybur has quit [Max SendQ exceeded]
Psybur has joined #ruby
bronson has joined #ruby
lytol has quit [Remote host closed the connection]
sleepee has joined #ruby
goyox86 has quit [Remote host closed the connection]
goyox86_ has joined #ruby
nowhere_man has joined #ruby
cschneid_ has joined #ruby
bronson has quit [Read error: Connection reset by peer]
cdg has quit [Remote host closed the connection]
bronson has joined #ruby
cdg has joined #ruby
plexigras has joined #ruby
<plexigras> is there a begginer guide made out of ruby files i can execute and read the comments?
cschneid_ has quit [Ping timeout: 240 seconds]
<Zarthus> there's a ruby tutorial on the site
<plexigras> yes i did that but i want files i can manipulate and play with
<dminuoso> plexigras: There is also
<dminuoso> ?books
<ruby[bot]> You can find a list of recommended books at http://ruby-community.com/pages/links
<dminuoso> Mmm, the topic has a bit more up-to-date link
cdg has quit [Ping timeout: 258 seconds]
orbyt_ has joined #ruby
jrafanie has joined #ruby
apeiros has joined #ruby
thinkpad has joined #ruby
<plexigras> im gonna take a look at ruby koans
yabbes_ has quit [Quit: lu]
charliesome has joined #ruby
milardovich has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
Defenestrate has joined #ruby
DTZUZU has quit [Ping timeout: 248 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit [Ping timeout: 268 seconds]
lupine has quit [Remote host closed the connection]
ur5us has quit []
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
Dimik has quit [Ping timeout: 248 seconds]
jackjackdripper has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PaulCapestany has quit [Read error: Connection reset by peer]
naprimer3 has joined #ruby
lupine has joined #ruby
minimalism has joined #ruby
naprimer2 has quit [Ping timeout: 268 seconds]
goyox86_ has quit [Quit: goyox86_]
weaksauce has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
PaulCapestany has joined #ruby
brian_penguin has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
xco has quit [Quit: xco]
houhoulis has joined #ruby
cschneid_ has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
Psybur has quit [Remote host closed the connection]