jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
<Radar> ^
isene has joined #ruby
Ponyo has quit [Quit: Ponyo]
LoneHerm_ has joined #ruby
<dmak1112> ok, i fixed them, and i pasted the code where it is saying it is getting an error
<dmak1112> let me know what else i can do thank you!
Ponyo has joined #ruby
<toretore> you can make sure the line numbers in your gist match those in the error message by pasting entire files independently
Spami has quit [Quit: Leaving]
<toretore> (and fix the newlines)
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
<Radar> ?gist-usage
<ruby[bot]> Radar: I don't know anything about gist-usage
<Radar> ...
LoneHerm_ has quit [Ping timeout: 244 seconds]
rkazak has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dmak1112> ok thanks! let me fix this
nankyokusei has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
<toretore> there is something wrong with the data being given to write_points, figure out what the data looks like and where it's coming from
<dmak1112> ok, so i thought it was something like that. the confusion i have is that the data that is giving an error looks almost exactly like the data that is working
<dmak1112> ill post it on the gist
<toretore> give information
<dmak1112> ok its on the gist i called it "Data information"
zacts has quit [Ping timeout: 250 seconds]
<toretore> 5 bucks says it's "centos6.7"
<dmak1112> do you have venmo?
<dmak1112> how can i check if thats the issue?
<toretore> figure out how it's parsed and what data is then passed on
<dmak1112> ok
nankyokusei has quit [Ping timeout: 260 seconds]
leea has joined #ruby
<leea> i think it's ?gist
whathappens has quit [Quit: Leaving...]
<dmak1112> hmm ok
<dmak1112> i've got it to print the data before it tries to insert it
<dmak1112> ill post it on the gist
rkazak has quit [Quit: Sleep.....ing....]
JoshGlzBrk has joined #ruby
kriskropd has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
<dmak1112> so its on the gist in data output... i guess for some reason its receiving the output "centos6.7....." but somehow parses it into nothingness
jaguarmagenta has joined #ruby
marr has quit [Ping timeout: 244 seconds]
v0n has quit [Ping timeout: 246 seconds]
igam` has joined #ruby
allcentury has joined #ruby
rcvalle has quit [Quit: rcvalle]
<leea> can you paste the gist
jaguarmagenta has quit [Ping timeout: 240 seconds]
igam` has quit [Ping timeout: 252 seconds]
LoneHerm_ has joined #ruby
<dmak1112> ok, i've updated the gist with the relevant information now https://gist.github.com/dmak1112/47976150ab2917b3ca1a67803de72010
coffeecupp has joined #ruby
<dmak1112> basically im receiving two sets of data and for one of them it seems to parse correctly and upload to influxdb, and for the other it somewhere gets mixed up
Contigi has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 240 seconds]
DTZUZU has quit [Ping timeout: 260 seconds]
<leea> I'm not sure what I'm looking at
<dmak1112> so i've got two sets of data that this ruby script is receiving and trying to convert into data that it pushes to influxdb
<leea> I see a mix of JSON hashes and ruby hash "data output"
<dmak1112> for the first set of data, tdrr-sensu-server, its converting it into some hash and writing it correctly, but for the other set of data, it's not
<dmak1112> sorry let me update data output section to make it more clear
<dmak1112> ok i've updated it it only has ruby hash data output now
<leea> have you tried using pry to debug?
macsteps has joined #ruby
<dmak1112> no i haven't let me look up pry
neo_ has joined #ruby
hazelux has joined #ruby
mistermocha has quit [Remote host closed the connection]
arlek has joined #ruby
weaksauce has joined #ruby
Hobogrammer has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elifoster has joined #ruby
RegulationD has joined #ruby
mistermocha has joined #ruby
ReK2 has joined #ruby
ReK2GnULinuX has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
RegulationD has quit [Ping timeout: 258 seconds]
kevr has joined #ruby
mistermocha has quit [Ping timeout: 246 seconds]
JeanCarloMachado has joined #ruby
BTRE has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
shinnya has joined #ruby
<dmak1112> got it.
aaeron has joined #ruby
<dmak1112> for anyone interested it was because it was separating output by "." and the hostname "centos6.7" had a period so it was calculating an additional tag and crashing. so i owe toretore 5 bucks
macsteps has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 246 seconds]
hahuang61 has joined #ruby
daffy_duck_2 has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dmak1112> thanks for your help guys!
dmak1112 has left #ruby ["Ex-Chat"]
aaeron has quit [Client Quit]
daffy_duck has quit [Ping timeout: 264 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
hellcode has joined #ruby
gusrub has quit []
diegoviola has quit [Quit: WeeChat 1.5]
coffeecupp has quit [Ping timeout: 246 seconds]
LoneHerm_ has quit [Remote host closed the connection]
charliesome has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skweek has joined #ruby
coffeecupp has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
z3ndrag0n has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
hazelux has quit []
mistermocha has joined #ruby
z3ndrag0n has joined #ruby
Guest93521 has quit [Quit: Connection closed for inactivity]
roamingdog has joined #ruby
Dimik has quit [Ping timeout: 272 seconds]
mistermocha has quit [Remote host closed the connection]
karapetyan has joined #ruby
Ponyo has quit [Ping timeout: 272 seconds]
replay has quit []
kinduff has joined #ruby
kinduff has quit [Client Quit]
coffeecupp has quit [Ping timeout: 246 seconds]
karapetyan has quit [Ping timeout: 240 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
allcentury has quit [Ping timeout: 252 seconds]
v0n has joined #ruby
colegatron_origi has joined #ruby
colegatron has quit [Read error: Connection reset by peer]
Ponyo has joined #ruby
TheWhip has joined #ruby
coffeecupp has joined #ruby
nando293921 has joined #ruby
watersoul has quit [Remote host closed the connection]
mistergibson has joined #ruby
hellcode has quit [Quit: leaving]
ekinmur has joined #ruby
watersoul has joined #ruby
watersoul has quit [Max SendQ exceeded]
pawnbox has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
UnKnOwN| has quit [Ping timeout: 252 seconds]
UnKnOwN| has joined #ruby
watersoul has joined #ruby
<gizless> is there a identd2www interface, that unsures your nickname everywhere, even on fuckbook? (no typo)?
<gizless> now there is!
gizless is now known as gizmore
pawnbox has quit [Ping timeout: 276 seconds]
<gizmore> Global Nick IdentD Service Protocol thingy \o/
toretore has quit [Ping timeout: 258 seconds]
<gizmore> it ensures your nickname on the internet...
zacts has joined #ruby
<gizmore> we use DNS to ensure the nick is yours
<gizmore> like gizmore.org is me
mistergibson has quit [Quit: Leaving]
<gizmore> so you will be gizmore.org in any state
<gizmore> like DANE+IdentD maybe? ... sry for short posts
ascarter has joined #ruby
Xiti has quit [Quit: Xiti]
MuffinPimp has quit [Ping timeout: 244 seconds]
davedev24 has quit []
MuffinPimp has joined #ruby
akira616` has quit [Quit: Leaving]
enterprisey has joined #ruby
TheWhip has quit [Remote host closed the connection]
mistermocha has joined #ruby
z3ndrag0n has quit [Remote host closed the connection]
Yzguy has joined #ruby
enterprisey_ has joined #ruby
enterprisey has quit [Ping timeout: 250 seconds]
enterprisey_ is now known as enterprisey
mistermocha has quit [Ping timeout: 240 seconds]
pwnd_nsfw has joined #ruby
nankyokusei has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
LoneHermit has joined #ruby
flashpoint9 has joined #ruby
nettoweb has joined #ruby
blackmesa has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
flashpoint9 has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LoneHermit has quit [Ping timeout: 240 seconds]
coffeecupp has quit [Ping timeout: 240 seconds]
kriskropd has joined #ruby
Yzguy has quit [Quit: Zzz...]
blackmesa has quit [Ping timeout: 276 seconds]
AngryBuzzy has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
Asher has quit [Quit: Leaving.]
Es0teric has quit [Quit: Computer has gone to sleep.]
pawnbox has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 264 seconds]
jaguarmagenta has joined #ruby
Asher has joined #ruby
roamingdog has quit [Remote host closed the connection]
coffeecupp has joined #ruby
Xiti has joined #ruby
arlek has quit [Ping timeout: 240 seconds]
pdoherty has joined #ruby
skweek has quit [Ping timeout: 272 seconds]
karapetyan has joined #ruby
elifoster has quit [Ping timeout: 246 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Tempesta has quit [Quit: See ya!]
zacstewart has joined #ruby
elifoster has joined #ruby
karapetyan has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nofxx> Remember I did this, but can't remember: Any quick way to hsh.merge() only merge nil keys on hsh?
<nofxx> { a: 5 }.something { a: 6, b: 7} => { a: 5, b: 7 }
<zacts> hi rubyists
<nofxx> duh... just reverse, how dumb.. sorry
<nofxx> zacts, hey there
RegulationD has joined #ruby
chipotle has quit [Ping timeout: 246 seconds]
pilne has quit [Quit: Quitting!]
mistermocha has joined #ruby
`tim` has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
mistermocha has quit [Ping timeout: 250 seconds]
elifoster has quit [Quit: going out]
Vingador has joined #ruby
pawnbox has joined #ruby
hahuang61 has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
chipotle has joined #ruby
SilverKey has joined #ruby
braincras has quit [Quit: bye bye]
BTRE has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
mistermocha has quit [Remote host closed the connection]
gix has quit [Ping timeout: 244 seconds]
nando293921 has quit [Ping timeout: 260 seconds]
BTRE has quit [Ping timeout: 276 seconds]
gix has joined #ruby
LoneHermit has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
blackgoat has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
blackmesa has joined #ruby
braincras has joined #ruby
LoneHermit has quit [Ping timeout: 246 seconds]
`tim` is now known as justbleed
SilverKey has quit [Quit: Halted.]
isberg has quit [Quit: I'm out]
treaki_ has joined #ruby
ReK2GnULinuX has joined #ruby
ReK2GnULinuX has quit [Changing host]
ReK2GnULinuX has joined #ruby
ReK2 has quit [Ping timeout: 272 seconds]
SilverKey has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
treaki has quit [Ping timeout: 272 seconds]
dc4 has joined #ruby
chouhoul_ has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
arescorpio has quit [Quit: Leaving.]
chouhoul_ has quit [Ping timeout: 240 seconds]
cwar has quit []
TheWhip has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
c0mrad3 has joined #ruby
Yzguy has joined #ruby
TheWhip has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
colegatron_origi has quit [Ping timeout: 246 seconds]
mistermocha has joined #ruby
sneakers has quit [Ping timeout: 276 seconds]
queequeg2 has quit [Ping timeout: 244 seconds]
jeffreylevesque has joined #ruby
<jeffreylevesque> is this directly a gem problem - https://travis-ci.org/jeff1evesque/machine-learning#L1435-L1456?
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
AndrewIsHere has quit [Remote host closed the connection]
colegatron_origi has joined #ruby
ReK2GnULinuX is now known as ReK2
<llua> looks like a permissions issue
queequeg1 has joined #ruby
alfiemax has quit [Ping timeout: 276 seconds]
<jeffreylevesque> llua: i think you're right. i didn't have any errors until i removed the `sudo` - https://github.com/jeff1evesque/machine-learning/blob/master/.travis.yml#L68-L69
TheWhip has joined #ruby
SilverKey has quit [Quit: Halted.]
roamingdog has quit []
Rickmasta has joined #ruby
pontiki has joined #ruby
coffeecupp has quit [Ping timeout: 250 seconds]
tmtwd has joined #ruby
kevr has quit [Ping timeout: 264 seconds]
harfangk has joined #ruby
coffeecupp has joined #ruby
kareeoleez has joined #ruby
nankyokusei has joined #ruby
charliesome has joined #ruby
coffeecupp has quit [Ping timeout: 276 seconds]
kareeole_ has joined #ruby
pawnbox has joined #ruby
kbni is now known as kbni_
kbni_ is now known as kbni
LoneHerm_ has joined #ruby
hahuang61 has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
kareeoleez has quit [Ping timeout: 264 seconds]
pawnbox has quit [Ping timeout: 250 seconds]
LoneHerm_ has quit [Ping timeout: 276 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
hahuang61 has joined #ruby
vdamewood has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
karapetyan has joined #ruby
duncannz has joined #ruby
coffeecupp has joined #ruby
astrobunny has joined #ruby
karapetyan has quit [Ping timeout: 264 seconds]
coffeecupp has quit [Ping timeout: 264 seconds]
rkazak has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
blackgoat has joined #ruby
astrobunny has quit [Remote host closed the connection]
Macaveli has joined #ruby
duncannz has quit [Remote host closed the connection]
TheWhip has quit [Remote host closed the connection]
Tempesta has joined #ruby
coffeecupp has joined #ruby
yfeldblum has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 244 seconds]
ensyde__ has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Madplatypus has joined #ruby
astrobunny has joined #ruby
pawnbox has joined #ruby
AndrewIsHere has joined #ruby
zacts has quit [Ping timeout: 272 seconds]
CloCkWeRX1 has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
flashpoint9 has joined #ruby
alfiemax has joined #ruby
kareeoleez has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
AndrewIsHere has quit [Ping timeout: 250 seconds]
enterprisey has quit [Quit: Leaving]
eprasad has joined #ruby
kareeole_ has quit [Ping timeout: 276 seconds]
RegulationD has quit [Ping timeout: 264 seconds]
smathy has joined #ruby
joonty has joined #ruby
Xiti has quit [Quit: Xiti]
rkazak has quit [Quit: Sleep.....ing....]
flashpoint9 has quit [Remote host closed the connection]
Vingador_ has joined #ruby
ddffg has joined #ruby
eprasad has quit [Client Quit]
Vingador has quit [Ping timeout: 246 seconds]
Yzguy has quit [Quit: Zzz...]
sebstrax has quit [Quit: Connection closed for inactivity]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
kareeole_ has joined #ruby
wldcordeiro has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
zacts has joined #ruby
CloCkWeRX has joined #ruby
kareeoleez has quit [Ping timeout: 252 seconds]
harfangk has quit [Quit: harfangk]
kareeoleez has joined #ruby
kareeole_ has quit [Ping timeout: 244 seconds]
tvw has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
LoneHermit has joined #ruby
craigp has quit [Ping timeout: 276 seconds]
charliesome has joined #ruby
mistermocha has quit [Remote host closed the connection]
djbkd has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
wldcordeiro has joined #ruby
blackmesa has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
pawnbox_ has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
LoneHerm_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
coffeecupp has quit [Ping timeout: 240 seconds]
mitt3ns has joined #ruby
kareeoleez has quit [Remote host closed the connection]
charliesome has joined #ruby
harfangk has joined #ruby
aufi has joined #ruby
zacstewart has quit [Ping timeout: 246 seconds]
leea has joined #ruby
nofxx has quit [Remote host closed the connection]
DTZUZU has joined #ruby
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacts has quit [Ping timeout: 264 seconds]
nando293921 has joined #ruby
nando293921 has quit [Client Quit]
nando293921 has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
buharin has joined #ruby
<buharin> hey
<buharin> I installed gem
<buharin> but no gem path added
yfeldblum has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
vuoto has joined #ruby
astrobun_ has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
solars has quit [Ping timeout: 246 seconds]
joonty has quit [Quit: This computer has gone to sleep]
Silthias has joined #ruby
<Radar> buharin: We're going to need more info.
kevr has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
zacts has joined #ruby
pawnbox has joined #ruby
Silthias1 has joined #ruby
daumie has joined #ruby
R_B98 has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
kareeoleez has joined #ruby
Silthias has quit [Ping timeout: 246 seconds]
burgestrand has joined #ruby
amclain has quit [Quit: Leaving]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
solars has joined #ruby
kareeoleez has quit [Remote host closed the connection]
kareeoleez has joined #ruby
nankyokusei has joined #ruby
<buharin> Radar, I got rvm
<buharin> installem gem
<buharin> and when I am trying to run sample app
<buharin> no there
<Radar> buharin: Are there any errors?
<buharin> `<main>': uninitialized constant Shoes (NameError)
nankyokusei has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
z3ndrag0n has joined #ruby
zacts has quit [Ping timeout: 240 seconds]
<shevy> looks like it can not find the gem
cd-rum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Radar> buharin: Did you do require 'shoes' first?
rkazak has joined #ruby
mistermocha has joined #ruby
z3ndrag0n has quit [Client Quit]
Parko has quit [Quit: In a while, crocodile]
AndrewIsHere has joined #ruby
hahuang61 has joined #ruby
coffeecupp has joined #ruby
cd-rum has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
tmtwd has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
z3ndrag0n has joined #ruby
conta has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
andikr has joined #ruby
tmtwd has joined #ruby
buharin has quit [Quit: This computer has gone to sleep]
hahuang61 has quit [Ping timeout: 250 seconds]
AndrewIsHere has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkam has quit [Quit: Be back later ...]
firstdayonthejob has joined #ruby
buharin has joined #ruby
buharin has quit [Client Quit]
saneax_AFK is now known as saneax
blackmesa has quit [Ping timeout: 272 seconds]
zacts has joined #ruby
Pupeno has joined #ruby
bluOxigen has left #ruby [#ruby]
coffeecupp has quit [Ping timeout: 258 seconds]
pdoherty has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dminuoso has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
coffeecupp has joined #ruby
zacstewart has joined #ruby
alfiemax has quit [Ping timeout: 276 seconds]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
TheWhip has quit [Remote host closed the connection]
pawnbox has joined #ruby
firstdayonthejob has quit [Ping timeout: 276 seconds]
abonec has joined #ruby
zacstewart has quit [Ping timeout: 260 seconds]
harfangk has quit [Quit: harfangk]
nadir has quit [Quit: Connection closed for inactivity]
A5101 has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
dminuoso has quit [Remote host closed the connection]
aganov has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
RegulationD has joined #ruby
codecop has joined #ruby
Vingador_ has quit [Ping timeout: 240 seconds]
aibot has quit [Remote host closed the connection]
aibot has joined #ruby
aibot has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
A_Drone has joined #ruby
alfiemax has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
jaruga___ has joined #ruby
digneety has joined #ruby
dionysus69 has joined #ruby
SuperLag has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
colegatron_origi has quit [Ping timeout: 276 seconds]
deecross has joined #ruby
ghr has joined #ruby
dminuoso has joined #ruby
SuperLag has joined #ruby
<zacts> hi
raeoks has joined #ruby
haxrbyte has joined #ruby
colegatron_origi has joined #ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
vondruch has joined #ruby
deecross has quit [Remote host closed the connection]
<shevy> yo zacts
rkazak has quit [Quit: Sleep.....ing....]
SuperLag has quit [Ping timeout: 258 seconds]
z3ndrag0n has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
blaxter has joined #ruby
SuperLag has joined #ruby
vdamewood has quit [Quit: Life beckons.]
vuoto has quit [Remote host closed the connection]
aibot has joined #ruby
vuoto has joined #ruby
TomyWork has joined #ruby
aibot has quit [Remote host closed the connection]
coffeecupp has quit [Ping timeout: 240 seconds]
mark_66 has joined #ruby
aibot has joined #ruby
SuperLag has quit [Ping timeout: 240 seconds]
SuperLag has joined #ruby
A_Drone has quit [Remote host closed the connection]
colegatron_origi has quit [Ping timeout: 244 seconds]
atom_ has joined #ruby
<zacts> yo shevy
deecross has joined #ruby
chipotle has joined #ruby
Ishido has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupeno has quit [Remote host closed the connection]
digneety has quit [Quit: digneety]
internetbird has joined #ruby
blackmesa has joined #ruby
Pupeno has joined #ruby
coffeecupp has joined #ruby
coffeecupp has quit [Client Quit]
coffeecupp has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
kevr has quit [Ping timeout: 264 seconds]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
internetbird has quit [Ping timeout: 240 seconds]
kedare has joined #ruby
<adaedra> moin
tmtwd has quit [Ping timeout: 240 seconds]
anisha has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
colegatron_origi has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
kent\n is now known as kentnl
kentnl is now known as kent\n
kevr has joined #ruby
symm- has quit [Ping timeout: 276 seconds]
dkam has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
coffeejunk has quit [Ping timeout: 240 seconds]
digneety has joined #ruby
heinrich5991 has quit [Ping timeout: 240 seconds]
madhatter has quit [Ping timeout: 272 seconds]
alfiemax has quit [Ping timeout: 246 seconds]
<zacts> guten morgen
<zacts> I guess it's now morning for me
internetbird has joined #ruby
<zacts> I'm reading Eloquent Ruby. I'm now Officially 1/2 way through it
<zacts> I'm reading Eloquent Ruby. I'm now Officially 1/2 way through it
<zacts> I really like it
dkam has quit [Ping timeout: 272 seconds]
multi_io has quit [Ping timeout: 246 seconds]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
multi_io has joined #ruby
flughafen_ has joined #ruby
A_Drone has joined #ruby
ferr has joined #ruby
<zacts> oops didn't mean to paste twice
craigp has joined #ruby
coffeejunk has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
alfiemax has joined #ruby
madhatter has joined #ruby
digneety has quit [Quit: digneety]
Pupeno has quit [Remote host closed the connection]
teclator_ has quit [Ping timeout: 252 seconds]
Pupeno has joined #ruby
minimalism has quit [Quit: minimalism]
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
Dimik has joined #ruby
Pupeno has quit [Remote host closed the connection]
ngw has joined #ruby
heinrich5991 has joined #ruby
alfiemax has quit [Ping timeout: 250 seconds]
skade has joined #ruby
kevr has quit [Ping timeout: 252 seconds]
Pupeno has joined #ruby
connor_goodwolf has quit [Ping timeout: 258 seconds]
hahuang61 has joined #ruby
teclator has joined #ruby
zacts has quit [Read error: Connection reset by peer]
zacts has joined #ruby
nankyokusei has joined #ruby
cd-rum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
brainslug has quit [Ping timeout: 240 seconds]
blackgoat has quit [Ping timeout: 272 seconds]
<shevy> it is too late!
<shevy> you must be punished
sethetter has quit [Ping timeout: 240 seconds]
Silthias1 has quit [Ping timeout: 276 seconds]
Pupeno has quit [Remote host closed the connection]
axisys has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
Evan- has quit [Ping timeout: 250 seconds]
sethetter has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
bweston92 has quit [Ping timeout: 252 seconds]
alnewkir1 has quit [Ping timeout: 252 seconds]
Sammichmaker has quit [Read error: Connection reset by peer]
Evan has joined #ruby
Pupeno has joined #ruby
<zacts> shevy: lol
axisys has joined #ruby
alnewkirk has joined #ruby
Evan is now known as Guest32874
Pupeno has quit [Remote host closed the connection]
Sammichmaker has joined #ruby
brainslug has joined #ruby
mistermocha has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
vuoto_ has joined #ruby
internetbird has quit []
Pupeno has joined #ruby
Pupeno has quit [Remote host closed the connection]
z3ndrag0n has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
haxrbyte has quit [Remote host closed the connection]
bweston92 has joined #ruby
Silthias has joined #ruby
connor_goodwolf has joined #ruby
Pupeno has joined #ruby
ramfjord has joined #ruby
A_Drone_ has joined #ruby
marr has joined #ruby
vuoto_ has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
bweston92 has quit [Read error: Connection reset by peer]
A_Drone has quit [Ping timeout: 250 seconds]
haxrbyte has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
tomphp has joined #ruby
A_Drone_ has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 276 seconds]
Silthias has quit [Ping timeout: 276 seconds]
Silthias has joined #ruby
Silthias1 has joined #ruby
Boatkenende has joined #ruby
teclator has quit [Remote host closed the connection]
nhhc has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
coffeecupp has quit [Ping timeout: 258 seconds]
coffeecupp has joined #ruby
LoneHermit has joined #ruby
yonatankoren has quit [Ping timeout: 244 seconds]
agit0 has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
yonatankoren has joined #ruby
AlexRussia has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
ecksit has joined #ruby
Mon_Ouie has joined #ruby
R_B98 has quit [Read error: Connection reset by peer]
ecksit has quit [Client Quit]
AlexRussia has quit [Ping timeout: 244 seconds]
chipotle_ has joined #ruby
RegulationD has joined #ruby
wldcordeiro has quit [Ping timeout: 258 seconds]
chipotle has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
burgestrand has joined #ruby
karapetyan has joined #ruby
lxsameer has joined #ruby
alfiemax has joined #ruby
coffeecupp has quit [Ping timeout: 244 seconds]
TheHodge has joined #ruby
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupeno has joined #ruby
acepil has joined #ruby
Pupeno has quit [Remote host closed the connection]
burgestrand has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
Pupeno has quit [Remote host closed the connection]
digneety has joined #ruby
sanjayu has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
toretore has joined #ruby
nocco has joined #ruby
Coldblackice has quit [Ping timeout: 272 seconds]
burgestrand has quit [Client Quit]
burgestrand has joined #ruby
bluOxigen has joined #ruby
<zacts> how can metaprogramming simplify complexity?
vuoto has quit [Remote host closed the connection]
PaulCape_ has quit [Quit: .]
vuoto has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
Boatkenende is now known as Snowy
PaulCapestany has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
ddffg has quit [Ping timeout: 258 seconds]
postmodern has quit [Quit: Leaving]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wldcordeiro has joined #ruby
avelldiroll has quit [Ping timeout: 246 seconds]
tenc has quit [Ping timeout: 240 seconds]
Sembei has quit [Ping timeout: 276 seconds]
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PONG :wilhelm.freenode.net"]
Hobogrammer has quit [Ping timeout: 276 seconds]
digneety has quit [Quit: digneety]
ramfjord has quit [Ping timeout: 246 seconds]
sanjayu has quit [Quit: leaving]
bluOxigen has quit [Ping timeout: 276 seconds]
coffeecupp has joined #ruby
nocco has quit [Remote host closed the connection]
<dminuoso> zacts: Metaprogramming is a rather generic term, so it's hard to answert that question.
bluOxigen has joined #ruby
coffeecupp has quit [Client Quit]
blackmesa has joined #ruby
Shashikant86 has joined #ruby
A_Drone has joined #ruby
A_Drone_ has joined #ruby
koooge has quit [Quit: Leaving...]
<zacts> hrm... I'm still learning
<zacts> so my question is very likely naive. :-P
bluOxigen has quit [Ping timeout: 272 seconds]
bluOxigen has joined #ruby
<dminuoso> zacts: Well, not as much naive as not specific enough.
A_Drone_ has quit [Remote host closed the connection]
<zacts> what would be an example of a more specific question for this?
<dminuoso> zacts: Metaprogramming is anything where your program itself is treated as data from the program.
nettoweb has joined #ruby
digneety has joined #ruby
A_Drone has quit [Ping timeout: 246 seconds]
<zacts> ok, so I guess a program where it actually modifies parts of the program
<zacts> like self-modifying classes
<dminuoso> zacts: Not necessarily modification.
<zacts> but I mean my question would be on a Ruby program that modifies classes while running?
<zacts> I don't know. I'm trying to decide if I should learn metaprogramming at all yet
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zacts> via this Metaprogramming Ruby2 book
blackmesa has quit [Ping timeout: 240 seconds]
<zacts> what are the concepts of this book useful for?
<zacts> will it really improve my code tremendously, or is it for special side use-cases?
<dminuoso> zacts: Well, there are many techniques that at times can be quite useful in order to create elegant solutions.
<dminuoso> zacts: Perhaps it would be a good idea for an example.
alfiemax has quit [Ping timeout: 276 seconds]
jaguarmagenta has quit [Remote host closed the connection]
<dminuoso> zacts: This is a mixin to allow plain Ruby classes to have rails-type associations with actual database models.
<dminuoso> And it relies on some basic metaprogramming techniques, such as define_method.
<zacts> so it creates the attr_ style methods on the spot?
<zacts> instead of you having to explicitly code those in yourself?
harfangk has joined #ruby
<dminuoso> zacts: Exactly.
<zacts> cool
<zacts> so it can save lots of duplication it sounds like?
<dminuoso> That is one huge usecase for such techniques, but not the only.
astrobun_ has quit [Remote host closed the connection]
<zacts> thanks for the example
yqt has joined #ruby
LoneHermit has joined #ruby
astrobun_ has joined #ruby
djbkd has quit [Quit: Leaving...]
jrabe has left #ruby ["Leaving"]
chip_ has joined #ruby
workmad3 has joined #ruby
dkam has joined #ruby
jrabe has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
allcentury has joined #ruby
roshanavand has joined #ruby
zacts has quit [Ping timeout: 250 seconds]
ffgghhj has joined #ruby
astrobun_ has quit [Remote host closed the connection]
user_corrupt has joined #ruby
pawnbox has joined #ruby
<user_corrupt> howdy y'alls
<user_corrupt> new to ruby... wanna install it on an Amazon Web Services instance of Amazon Linux that I am running (in order to run some exotic CSS3 library that I don't quite understand yet)... is it hard to install?
Vingador has joined #ruby
dennisvennink has quit [Quit: Textual IRC Client: www.textualapp.com]
TheWhip has joined #ruby
<atom_> user_corrupt: isn't `yum -y install ruby` enough?
dorenkampm has joined #ruby
<user_corrupt> atom_: yeah, I guess that it is... was confused by some other instructions that I had found.. thanks
digneety has quit [Quit: digneety]
Hobogrammer has joined #ruby
daumie has quit [Ping timeout: 258 seconds]
<dorenkampm> how can i transform ['1.2.3.4','1.2.3.5'] to [{'PrivateIpAddress' => '1.2.3.4', 'Primary' => false}, {'PrivateIpAddress' => '1.2.3.5', 'Primary' => false}] ?
hahuang61 has joined #ruby
<canton7> with .map
zacts has joined #ruby
<user_corrupt> did "gem install compass" and received the following output + error: http://paste.ee/p/cO3pG
<canton7> have you installed the ruby headers?
Vingador has quit [Read error: Connection reset by peer]
harfangk has quit [Quit: harfangk]
<canton7> I think the package is 'ruby-dev' on ubuntu
<atom_> ruby-devel on RHEL-based (hence amazon linux)
<user_corrupt> thanks
<user_corrupt> ruby-devel
nankyokusei has joined #ruby
senayar has quit []
<canton7> is "amazon linux" a new thing? last time I played around with ec2, they were pushing ubuntu-based amis
harfangk has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<canton7> 2011, apparently
hahuang61 has quit [Ping timeout: 250 seconds]
Vingador has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
digneety has joined #ruby
<user_corrupt> did "sudo yum -y install ruby-devel" and got this output (no errors): http://paste.ee/p/qwzrT and then did "gem install compass" and got this output (with errors): http://paste.ee/p/pXOUq
<canton7> user_corrupt, "You have to install development tools first."
AlexRussia has joined #ruby
<canton7> googling that and redhat, I get to https://developer.fedoraproject.org/tech/languages/ruby/gems-installation.html, which gives instructions right at the top
<dminuoso> user_corrupt: You should try to avoid your system ruby. Linux distributions are known for shipping outdated Ruby versions, and usually you get all kinds of problems when you try to run multiple Ruby versions.
jrabe has left #ruby ["Leaving"]
<canton7> yeah, but that is not the problem here
nocco has joined #ruby
<dminuoso> canton7: Regardless. Unless ruby-install (or rbenv/rvm is you are still a fan of those) doesn't work, yum should not be the first choice.
<canton7> I don't disagree - I just think you should only solve one problem at a time :P
<al2o3-cr> you gotta love arch linux :)
<dminuoso> user_corrupt: That Ruby (2.0) is extremely old.
<user_corrupt> hmm
AndrewIsHere has joined #ruby
<al2o3-cr> >> ip_list = ['1.2.3.4','1.2.3.5']; ip_list.map { |ip| {'PrivateIpAddress' => ip, 'Primary' => false} } # dorenkampm incase you wasn't sure
<ruby[bot]> al2o3-cr: # => [{"PrivateIpAddress"=>"1.2.3.4", "Primary"=>false}, {"PrivateIpAddress"=>"1.2.3.5", "Primary"=>false ...check link for more (https://eval.in/602433)
<user_corrupt> ok, well I've now got compass installed on my out of date crappy ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
wldcordeiro has quit [Ping timeout: 258 seconds]
igam` has joined #ruby
wldcordeiro has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.5]
blackmesa has joined #ruby
shadowshell has quit [Ping timeout: 250 seconds]
yqt has quit [Ping timeout: 240 seconds]
shadowshell has joined #ruby
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
<atom_> dminuoso: but ruby-lang.org advises in favor of using the package manager
<atom_> now maybe the repos for Amazon Linux are different
tenc has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
digneety has quit [Quit: digneety]
<dminuoso> atom_: Where is that advise?
Vingador has quit [Ping timeout: 252 seconds]
<user_corrupt> trying to follow the following tutorial to get compass & SCASS going (both are totally new for me): http://www.webdesignerdepot.com/2013/11/how-to-write-simple-elegant-css-with-compass-sass/ I've been able to install ruby, devel tools, compass, and configure it to "watch" the directory that I am trying to run the following in: http://codepen.io/chriscoyier/pen/yqHxB my problem now is that when I browse to that director
<user_corrupt> y then "@import "compass/css3";" fails with the following error: GET http://www.kojiproforums.com/glitch/css/compass/css3 404 (Not Found)
<user_corrupt> is where I am trying to get this running
Wildfyr has joined #ruby
Wildfyr has quit [Changing host]
Wildfyr has joined #ruby
<atom_> well, it's a little bit ambiguous
A_Drone has joined #ruby
sdothum has joined #ruby
<user_corrupt> atom_ do you think it may be a problem with an out of date version of ruby?
<dminuoso> user_corrupt: For one it is not supported any more, so you may not have access to proper support, modern gems, extensions.
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> user_corrupt: ruby-install is extremely simple to use, so that there should be little reason not to use it to install a modern Ruby. :)
Shashikant86 has joined #ruby
<atom_> +1 to dminuoso though
gregf_ has quit [Quit: leaving]
wldcordeiro has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
Shashikant86 has quit [Client Quit]
<dminuoso> user_corrupt: Plus you don't get access to all the modern features that have been introduced in the years since 2.0 was released. :)
<user_corrupt> dminuoso: should I unistall the ruby + ruby-devel that I just installed with yum?
matled has quit [Remote host closed the connection]
<dminuoso> user_corrupt: That is what I would recommend, yes.
matled has joined #ruby
<al2o3-cr> user_corrupt: i thought you installed with yum?
pawnbox has joined #ruby
<al2o3-cr> nvm
ruby-lang102 has joined #ruby
<al2o3-cr> i read that as install :(
<dminuoso> user_corrupt: Note though, it is just a recommendation. If you want to run with what you have, then that's fine too.
nocco has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
cats has quit [Ping timeout: 246 seconds]
yqt has joined #ruby
<user_corrupt> dminuoso: well, I'm currently trying to figure out why I'm unable to import compass, so I figure that I need to try a more up to date version of ruby
nocco has joined #ruby
<dminuoso> user_corrupt: Well, the error you have is unrelated to your Ruby version in all likelihood.
<user_corrupt> oh
cats has joined #ruby
<user_corrupt> then I guess that I'll just stick with what I had until I figure that part out
A_Drone has quit [Remote host closed the connection]
RegulationD has joined #ruby
dangerousdave has joined #ruby
blackgoat has joined #ruby
<dminuoso> user_corrupt: Switching to a modern Ruby makes sense if you are serious about trying out Ruby - but if you are just toying around with it, just stick with what you have. :)
chipotle has joined #ruby
<user_corrupt> dminuoso: once I get this crazy SCSS animation stuff running, then I'll tackle the job of getting a modern ruby installed
chipotle_ has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
nocco has quit [Ping timeout: 252 seconds]
rodfersou has joined #ruby
<workmad3> user_corrupt: if you're planning on updating ruby anyway, it may make sense to do so now just so you can eliminate it from the list of potential suspects
<workmad3> (and if you use ruby-install and chruby to install it, you can always switch back too)
RegulationD has quit [Ping timeout: 240 seconds]
<user_corrupt> workmad3: that's true, but I get the feeling that something is wrong with how I am trying to use scss (something I've never used before).. I basically just have some css files in the directory that is being "watched" by compass
umdstu has joined #ruby
binaryplease3 has joined #ruby
sepp2k has joined #ruby
gregf_ has joined #ruby
coffeecupp has joined #ruby
binaryplease2 has quit [Ping timeout: 276 seconds]
<user_corrupt> do I need a file with an extension of ".sass" or something?
pawnbox has quit [Remote host closed the connection]
TheWhip has quit [Remote host closed the connection]
craigp has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
karapetyan has quit [Remote host closed the connection]
pawnbox has joined #ruby
freerobby has joined #ruby
Shashikant86 has joined #ruby
nocco has joined #ruby
johnmilton has joined #ruby
inukshuk_ has joined #ruby
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
davedev24 has joined #ruby
johnmilton has quit [Remote host closed the connection]
johnmilton has joined #ruby
digneety has joined #ruby
Vingador has joined #ruby
Xentil has joined #ruby
karapetyan has joined #ruby
cd-rum has joined #ruby
Macaveli has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Shashikant86 has joined #ruby
<user_corrupt> should a file named "style.scss" be automatically detected and compiled by compass once it is watching a folder, or do I need to link to it from the <head></head> of my index.php?
mrmortondk has joined #ruby
ruby-lang102 has quit [Ping timeout: 250 seconds]
Shashikant86 has quit [Client Quit]
<user_corrupt> ok, I think that it is being compiled since animations are visible within the "computed styles" part of chrome inspector
eugenmayer1 has joined #ruby
<eugenmayer1> a gem of mine needs something similar to Thor/Rake/Hodor: from the current folder, find the next folder traversing up, which has a .docker_sync file
craigp has joined #ruby
flashpoint9 has joined #ruby
<eugenmayer1> any hints how to implement this solid? Semantically speaking, 'find the configuration of the current project'
coffeecupp has quit [Quit: leaving]
A_Drone has joined #ruby
<user_corrupt> ok, nevermind, my style.scss file is not being compiled..
deecross has quit [Remote host closed the connection]
ddffg has joined #ruby
A_Drone has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 272 seconds]
maloik has quit [Remote host closed the connection]
craigp_ has joined #ruby
duoi has quit [Ping timeout: 250 seconds]
maloik has joined #ruby
karapetyan has joined #ruby
dionysus69 has joined #ruby
craigp has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
duoi has joined #ruby
karapetyan has quit [Remote host closed the connection]
ldnunes has joined #ruby
deecross has joined #ruby
karapetyan has joined #ruby
Rickmasta has joined #ruby
digneety has quit [Quit: digneety]
colegatron_origi has quit [Ping timeout: 276 seconds]
Shashikant86 has joined #ruby
JeanCarloMachado has joined #ruby
cd-rum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
Shashikant86 has quit [Max SendQ exceeded]
Gooer has joined #ruby
hk238 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
digneety has joined #ruby
<user_corrupt> ok, well I am now getting the following error at least: "undefined mixin 'textGlitch'... I guess that maybe I just need to update my ruby now..
jaguarmagenta has quit [Ping timeout: 250 seconds]
<dminuoso> user_corrupt: Do that, and please also make it a habit to provide a gist with a complete stack trace if you intend to share errors with us.
<user_corrupt> dminuoso: thanks, will do
<user_corrupt> :)
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
hanmac has joined #ruby
LoneHerm_ has joined #ruby
Xentil has joined #ruby
synthroid has joined #ruby
vuoto has joined #ruby
<flughafen_> hello shevy
LoneHerm_ has quit [Ping timeout: 252 seconds]
allcentury has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
colegatron_origi has joined #ruby
bruce_lee has joined #ruby
chip_ has quit [Ping timeout: 276 seconds]
tvw has quit [Ping timeout: 264 seconds]
<zacts> morning
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
burgestrand has joined #ruby
alfiemax has quit [Ping timeout: 272 seconds]
kedare has quit [Quit: Leaving]
avelldiroll has joined #ruby
allcentury has joined #ruby
freerobby1 has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
arlek has joined #ruby
Vlat- has joined #ruby
pawnbox has joined #ruby
nocco has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 244 seconds]
nocco has joined #ruby
digneety has quit [Quit: digneety]
lupine has quit [Remote host closed the connection]
AngryBuzzy has joined #ruby
A_Drone has joined #ruby
skweek has joined #ruby
wldcordeiro has quit [Ping timeout: 260 seconds]
A_Drone has quit [Remote host closed the connection]
lupine has joined #ruby
hahuang61 has joined #ruby
nocco has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
nocco has joined #ruby
Gooer has quit [Ping timeout: 252 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
karapetyan has quit [Remote host closed the connection]
Madplatypus has quit [Quit: Connection closed for inactivity]
nankyokusei has quit [Ping timeout: 240 seconds]
mistermocha has joined #ruby
AngryBuzzy has quit []
nocco has quit []
deviation has joined #ruby
AngryBuzzy has joined #ruby
deviation has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 252 seconds]
deviation has joined #ruby
jeffreylevesque has quit [Ping timeout: 264 seconds]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
rodfersou has quit [Ping timeout: 276 seconds]
AngryBuzzy has quit [Client Quit]
AndrewIsHere has joined #ruby
blackgoat has quit [Ping timeout: 258 seconds]
karapetyan has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
rodfersou has joined #ruby
karapetyan has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
AndrewIsHere has quit [Ping timeout: 250 seconds]
AngryBuzzy has joined #ruby
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
karapetyan has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
colegatron_origi has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
bradflaugher has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
digneety has joined #ruby
flashpoint9 has joined #ruby
Vlat- has quit [Quit: Vlat-]
blackmesa has quit [Ping timeout: 240 seconds]
griffindy has joined #ruby
swills has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
<user_corrupt> dmiuoso: I've uninstalled ruby and ruby-devel and reinstalled ruby via RVM... I'm still getting the following error: http://www.kojiproforums.com/glitch/ when I try to implement the following: http://codepen.io/chriscoyier/pen/yqHxB here is my index.php: http://paste.ee/p/NrfKE and here is my screen.scss: http://paste.ee/p/jTdj1
flashpoint9 has quit [Remote host closed the connection]
nettoweb has quit [Ping timeout: 244 seconds]
flashpoint9 has joined #ruby
LoneHerm_ has joined #ruby
zacts has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
<user_corrupt> ok, gotta reinstall compass at least..
dorenkampm has quit [Quit: Page closed]
gigetoo has quit [Ping timeout: 258 seconds]
seth_ has quit [Ping timeout: 246 seconds]
gigetoo has joined #ruby
seth has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
tk___ has joined #ruby
tvw has joined #ruby
nettoweb has joined #ruby
colegatron has joined #ruby
blackmesa has joined #ruby
DTZUZU has quit [Ping timeout: 258 seconds]
pawnbox has joined #ruby
RegulationD has joined #ruby
aupadhye has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Ping timeout: 260 seconds]
<user_corrupt> well, compass is reinstalled and same problem..
<user_corrupt> so here I am running latest ruby + compass and I'm getting an error that tells me I'm using an undefined mixin: http://www.kojiproforums.com/glitch/
<user_corrupt> yet it works fine here: http://codepen.io/chriscoyier/pen/yqHxB
colegatron has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
akira616 has joined #ruby
<kareeoleez> guys is there any way to check "something" =~ /something/ with an "if" to see if it's true ?
ramortegui has joined #ruby
bmurt has joined #ruby
<kareeoleez> without complicating with match or ! ().nil?
<kareeoleez> etc.
bmurt has quit [Max SendQ exceeded]
dkam has quit [Ping timeout: 264 seconds]
mark_66 has joined #ruby
bmurt has joined #ruby
A_Drone has joined #ruby
<adaedra> `if "something" =~ /something/`?
zacts has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
<kareeoleez> If true returns 0
<adaedra> user_corrupt: and where's the error?
<adaedra> kareeoleez: can you show: current code, expected output, actual output?
<kareeoleez> adaedra: irb -> "something" =~ /something/
<kareeoleez> adaedra: returns 0
<kareeoleez> adaedra: I want to return true
<kareeoleez> or false
<adaedra> 0 is truthy
<kareeoleez> hm
<kareeoleez> really ?
<adaedra> yes
<kareeoleez> is truthy? trustworthy ?
Macaveli has joined #ruby
<adaedra> >> puts "0 is truthy" if 0
<ruby[bot]> adaedra: # => 0 is truthy ...check link for more (https://eval.in/602561)
<kareeoleez> but again I can't do "something" =~ /something/.truthy ?
xiq has joined #ruby
<kareeoleez> maybe ("something" =~ /something/).truthy?
<adaedra> no
<adaedra> why do you absolutely want a boolean?
xiq has quit [Client Quit]
<kareeoleez> I am checking with an If
deecross_ has joined #ruby
vuoto has quit [Read error: Connection reset by peer]
<kareeoleez> unless could work
<kareeoleez> but I have been having this question for a while
xrlabs has joined #ruby
<adaedra> >> if "something" =~ /something/; "It matches"; else; "It doesn't"; end
<ruby[bot]> adaedra: # => "It matches" (https://eval.in/602562)
<adaedra> I don't see your problem?
gener1c has joined #ruby
<kareeoleez> you overcomplicate it
<adaedra> I'm not sure I'm the one who does.
<gener1c> i am getting a permissin demied error when trying to install a gem using rvm user
<kareeoleez> It could also be "something".match(/something/)
<al2o3-cr> kareeoleez: so
<kareeoleez> I am asking about the =~ operator that I don't get
daumie has joined #ruby
<kareeoleez> does anyone know how is it called ?
<gener1c> i tried the rvm --fix-permissions
<adaedra> it returns either the position of the match (in your case, 0), or nil if it doesn't match
<gener1c> nothing
mattwashere has joined #ruby
deecross has quit [Ping timeout: 272 seconds]
A_Drone has quit [Remote host closed the connection]
<gener1c> You don't have write permissions for the /var/lib/gems/2.1.0 directory.
<adaedra> gener1c: you have a problem in your rvm installation. Check that rvm is a function and that `gem` command is provided by rvm.
pwnd_nsfw` has joined #ruby
malconis has joined #ruby
vuoto has joined #ruby
<adaedra> kareeoleez: there are only two values which are "falsy", meaning that they won't match in an if: nil and false. Any other value is truthy. Even 0, as opposed to many other languages.
pwnd_nsfw has quit [Ping timeout: 252 seconds]
A_Drone has joined #ruby
yqt has quit [Ping timeout: 258 seconds]
<kareeoleez> aha
aegis3121 has joined #ruby
<adaedra> so, as shown above, even if =~ returns 0, it will still trigger the if part.
colegatron has joined #ruby
deecross_ has quit [Remote host closed the connection]
ekinmur has joined #ruby
vuoto has quit [Remote host closed the connection]
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
deecross has joined #ruby
A_Drone has quit [Remote host closed the connection]
acepil has quit [Quit: WeeChat 1.4]
naftilos76 has joined #ruby
<user_corrupt> adaedra: well, I've since gotten rid of that particular error, by using this scss to at least get the text animation going: http://paste.ee/ that came from this tutorial here: https://css-tricks.com/glitch-effect-text-images-svg/ basically, I get lost at the point where he creates his own mixin to apply to the images as well
deecross has quit [Remote host closed the connection]
deecross has joined #ruby
<adaedra> I think you've pasted the wrong link.
flashpoint9 has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 260 seconds]
neo_ has quit [Ping timeout: 250 seconds]
<user_corrupt> adaedra: oops, this was the scss that I used to get the text going: http://paste.ee/p/S4KHd
A_Drone has joined #ruby
<adaedra> ok, and what is your problem?
harfangk has quit [Quit: harfangk]
<user_corrupt> just that I'm unable to get the images animated the way that they are in that tutorial
<al2o3-cr> user_corrupt: have taken a look at this: http://codepen.io/chriscoyier/pen/FwJux.scss
<al2o3-cr> *you
<gener1c> adaedra rvm is not a function in my case but a file at this location : /home/ubuntu/.rvm/bin/rvm
nando294021 has joined #ruby
<gener1c> adaedra: how do i check if gem is provided by rvm?
<adaedra> gener1c: which gem
<gener1c> /usr/bin/gem
<gener1c> if its not in the rvm install dir its not?
<adaedra> no
<adaedra> it's linked to the fact rvm is not a function
Xentil_ has joined #ruby
mattwashere has quit [Remote host closed the connection]
<adaedra> Did you respect all the install steps, including setting your terminal emulator to spawn login shells?
hogetaro has quit [Quit: Leaving...]
Xentil has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gener1c> ah ... i used their bash script i didnt find an install doc
<adaedra> And did you read the output of the bash script?
mattwashere has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
<adaedra> iirc, it is explained at the end of the installation.
<gener1c> ill read it
<user_corrupt> adaedra: I have, but adding that to my screen.scss file doesn't work
<gener1c> in cse of problems..
<gener1c> ok
ebbflowgo has joined #ruby
<adaedra> You also should be able to read all documentation needed on rvm.io
dikons has joined #ruby
chipotle has quit [Ping timeout: 252 seconds]
<todd_dsm_wk> headius: thanks, just retweeted you for now. I appreciate it.
<gener1c> yeah i am ther adaedra
<gener1c> reading the single-user install right now
<gener1c> looks like its what i did
CamonZ has joined #ruby
swills has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
todd_dsm_wk has quit [Quit: Leaving]
macsteps has joined #ruby
shock_one has joined #ruby
deecross has quit [Remote host closed the connection]
hogetaro has joined #ruby
deecross has joined #ruby
sergio_101 has joined #ruby
ramfjord has joined #ruby
A_Drone has quit [Remote host closed the connection]
<gener1c> wow adaedra , it seems that due to the fact that i just installed it the shell env didnt source ~/.rvm/scripts/rvm and that was the issue , i had to restart the shell , dumb me
deecross has quit [Remote host closed the connection]
<adaedra> ok
deecross has joined #ruby
karapetyan has quit [Remote host closed the connection]
SilverKey has joined #ruby
<gener1c> thank you
<gener1c> what
karapetyan has joined #ruby
<gener1c> it installed nokogiri but not encinch because i already installed it using root
dennisvennink has joined #ruby
<gener1c> im reinstalling
<adaedra> Everything installed outside of rvm is irrelevant now that you installed rvm.
Gooer has joined #ruby
antgel has joined #ruby
jaguarmagenta has joined #ruby
digneety has quit [Quit: digneety]
karapetyan has quit [Remote host closed the connection]
inukshuk_ has quit [Quit: leaving]
ramfjord has quit [Ping timeout: 240 seconds]
<gener1c> ok then ill try to find out what the new issue is
dc4 has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
SilverKey has quit [Client Quit]
charliesome has joined #ruby
jaguarmagenta has quit [Ping timeout: 276 seconds]
harfangk has joined #ruby
SilverKey has joined #ruby
naftilos76 has quit [Ping timeout: 246 seconds]
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
digneety has joined #ruby
_Gooer has joined #ruby
Gooer has quit [Ping timeout: 252 seconds]
_Gooer is now known as Gooer
chipotle has joined #ruby
flashpoint9 has joined #ruby
skalfyfan has joined #ruby
mattwashere has quit [Remote host closed the connection]
allcentury has joined #ruby
SilverKey has quit [Client Quit]
mattwashere has joined #ruby
shock_one has quit [Remote host closed the connection]
SilverKey has joined #ruby
stephan_ has quit [Ping timeout: 264 seconds]
<user_corrupt> adaedra: Thanks. My index.php now looks like this: http://paste.ee/p/qcUR8 and I've included that file you asked me about. My screen.scss looks like this: http://paste.ee/p/QRHBU Here is the error that I am now getting: http://www.kojiproforums.com/glitch/
<user_corrupt> it says I have an undefined mixin even though I've included it?
Gooer has quit [Ping timeout: 240 seconds]
<adaedra> I'm not the last person you talked to
LoneHerm_ has joined #ruby
chipotle has quit [Ping timeout: 264 seconds]
skade has joined #ruby
<adaedra> But yeah, nowhere you define the textGlitch mixin
antgel has quit [Ping timeout: 244 seconds]
Rodya_ has joined #ruby
<user_corrupt> adaedra: Oops on both counts.
<user_corrupt> would you be able to tell me how to do that?
antgel has joined #ruby
<user_corrupt> I've never used sass before
<adaedra> you have to include the @mixin code
UnKnOwN| has quit [Ping timeout: 246 seconds]
<user_corrupt> where?
gigetoo has quit [Ping timeout: 252 seconds]
<adaedra> in your .scss
gigetoo has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
UnKnOwN| has joined #ruby
zacts has quit [Ping timeout: 276 seconds]
nettoweb has joined #ruby
codecop has quit [Remote host closed the connection]
chipotle has joined #ruby
SilverKey has quit [Quit: Halted.]
arlek has quit [Ping timeout: 240 seconds]
UnKnOwN| has quit [Ping timeout: 246 seconds]
akira616 has quit [Ping timeout: 272 seconds]
Es0teric has joined #ruby
TheWhip has quit [Remote host closed the connection]
digneety has quit [Quit: digneety]
blackmesa has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
Nahra has joined #ruby
chipotle has quit [Quit: cheerio]
zacts has joined #ruby
dikons has quit [Ping timeout: 240 seconds]
Xentil_ has quit [Ping timeout: 240 seconds]
Xentil has joined #ruby
mistermocha has joined #ruby
macsteps has quit [Remote host closed the connection]
hahuang61 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
nankyokusei has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
flashpoint9 has joined #ruby
Xentil_ has joined #ruby
VeryBewitching has joined #ruby
flashpoi_ has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
ngw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SilverKey has joined #ruby
Xentil has quit [Ping timeout: 240 seconds]
<TomyWork> i have a method foo that takes two arguments. I run method(:foo). Can I bind something to the first argument?
<TomyWork> so that it becomes a single-argument method
flashpoint9 has quit [Ping timeout: 250 seconds]
<adaedra> &ri Method#curry
nankyokusei has quit [Ping timeout: 264 seconds]
<TomyWork> 2.3+ :/
<TomyWork> let's see what ubuntu 16.04 has
<adaedra> Ah yes, I think I run into this one
<TomyWork> ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
<TomyWork> yay
<adaedra> Otherwise, there's Proc#curry which should be older.
<TomyWork> now i just have to get that on my desktop as well, which runs on ubuntu 14.04 :)
cdg has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
<TomyWork> adaedra and Proc is what? is &mymethod a Proc?
<adaedra> Given what Method#curry actually does, it's easy to replace
eljimmy has quit [Quit: This computer has gone to sleep]
Xentil_ has quit [Ping timeout: 240 seconds]
neo_ has joined #ruby
cdg has quit [Remote host closed the connection]
<TomyWork> VALUE proc = method_to_proc(self); return proc_curry(argc, argv, proc);
Xentil has joined #ruby
<TomyWork> doesnt look that easy to replace, if one doesnt know what method_to_proc does :)
<adaedra> It's Method#to_proc
<TomyWork> oh
kareeoleez is now known as skatopustaz
cdg has joined #ruby
flughafen_ has quit [Ping timeout: 252 seconds]
<TomyWork> oh this is odd, Method has curry
<adaedra> So Method#curry is, ruby-wise, to_proc.curry
<TomyWork> i was looking at UnboundMethod
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
anisha has quit [Quit: Leaving]
ngw has joined #ruby
<TomyWork> ok so i have to_proc, but not Method.curry in this 1.9.3 version on ubuntu 14.04
pdoherty has joined #ruby
<TomyWork> blergs
* adaedra takes 1.9.3 and puts it in the trash bin
deecross has quit []
<TomyWork> Method.curry is 2.2+
<adaedra> And Proc#curry?
<adaedra> 19>> proc {}.curry
<ruby[bot]> adaedra: # => #<Proc:0x98c4020> (https://eval.in/602614)
deecross has joined #ruby
<TomyWork> yeah like you said, Proc.curry is ancient
<adaedra> 19>> def add(a, b); a + b; end; add_two_to = method(:add).curry[2]; add_two_to.(3)
<ruby[bot]> adaedra: # => undefined method `curry' for #<Method: Object#add> (NoMethodError) ...check link for more (https://eval.in/602616)
<adaedra> aaaand I'm dumb.
<adaedra> 19>> def add(a, b); a + b; end; add_two_to = method(:add).to_proc.curry[2]; add_two_to.(3)
<ruby[bot]> adaedra: # => 5 (https://eval.in/602617)
<adaedra> tadaaa
<TomyWork> traverser.traverse_one(object, &method(:commit_handler).to_proc.curry(ref_short_name))
agent_white has quit [Quit: brb]
agent_white has joined #ruby
SilverKey has quit [Quit: Halted.]
<adaedra> curry(x) and curry[x] is not the same — I think you want the latter
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<TomyWork> what's the difference?
<TomyWork> oh
<adaedra> in the first case, you call curry with x as parameter (which defines the arity); in the second case, you call [] on curry return value with x (actually doing the binding)
<TomyWork> i think i'll just monkey-patch Method to have a curry method
<TomyWork> (with an "if 1.9")
nando294121 has joined #ruby
nando294021 has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
SilverKey has quit [Client Quit]
<adaedra> That's Proc#curry
<TomyWork> not perfect...
dminuoso has quit [Ping timeout: 246 seconds]
aryaching has joined #ruby
<adaedra> class Method; def curry(*args); to_proc.curry(*args); end; end
<TomyWork> oh, thanks
SilverKey has joined #ruby
SilverKey has quit [Max SendQ exceeded]
Macaveli_ has joined #ruby
<TomyWork> unless Method.method_defined? :curry class Method def curry(*args) to_proc.curry(*args) end end end plus semicolons
SilverKey has joined #ruby
benlieb has joined #ruby
mostlybadfly has joined #ruby
Macaveli has quit [Ping timeout: 244 seconds]
diegoviola has joined #ruby
flashpoi_ has quit [Remote host closed the connection]
SilverKey has quit [Quit: Cheerio!]
zacts has quit [Ping timeout: 264 seconds]
naftilos76 has joined #ruby
tjbiddle has joined #ruby
SilverKey has joined #ruby
duoi has quit [Ping timeout: 250 seconds]
dminuoso has joined #ruby
nk121 has quit [Ping timeout: 258 seconds]
duoi has joined #ruby
bmurt has quit [Ping timeout: 240 seconds]
craigp_ has quit [Ping timeout: 258 seconds]
nk121 has joined #ruby
Rodya_ has quit [Quit: Leaving...]
banisterfiend has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 272 seconds]
banisterfiend has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shock_one has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
al2o3-cr has quit [Ping timeout: 258 seconds]
charliesome has joined #ruby
skatopustaz has quit [Remote host closed the connection]
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacstewart has joined #ruby
skalfyfan has joined #ruby
blackgoat has joined #ruby
blackgoat has quit [Client Quit]
flashpoint9 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
shock_one has quit [Ping timeout: 276 seconds]
charliesome_ has joined #ruby
eljimmy has joined #ruby
RegulationD has joined #ruby
mistermocha has joined #ruby
charliesome has quit [Ping timeout: 240 seconds]
aegis3121 has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
zacstewart has quit [Ping timeout: 252 seconds]
shock_one has joined #ruby
mark_66 has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
harfangk has quit [Quit: harfangk]
charliesome_ has quit [Ping timeout: 240 seconds]
tvw has quit [Ping timeout: 276 seconds]
zacts has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
digneety has joined #ruby
charliesome_ has joined #ruby
charliesome_ has quit [Client Quit]
charliesome_ has joined #ruby
chipotle has joined #ruby
charliesome has quit [Ping timeout: 260 seconds]
dminuoso has quit [Remote host closed the connection]
chipotle has quit [Max SendQ exceeded]
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
chipotle has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
chipotle has quit [Max SendQ exceeded]
rkazak has joined #ruby
aegis3121 has joined #ruby
pawnbox has quit [Remote host closed the connection]
dhollinger has joined #ruby
pawnbox has joined #ruby
banisterfiend has joined #ruby
harfangk has joined #ruby
JeanCarloMachado has quit [Ping timeout: 246 seconds]
saneax is now known as saneax_AFK
rkazak has quit [Ping timeout: 258 seconds]
zacts_pi has joined #ruby
minimalism has joined #ruby
JakFrist has joined #ruby
smathy has joined #ruby
<croberts_> i know in bash you can do <script> variable, is that possible in Ruby?
digneety has quit [Quit: digneety]
<croberts_> and have it do a different action based on what is passed into it
rippa has joined #ruby
zacts has quit [Ping timeout: 252 seconds]
raeoks has joined #ruby
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> croberts_: I don't understand what you're asking for
raeoks has quit [Client Quit]
voodoofish4301 has quit [Quit: Leaving.]
<croberts_> apeiros: i have a script in bash if you do -h or --help it will show the help and exit or without options it will run normal. in ruby can you do that i found this but not sure if its what im looking for
<apeiros> ah, you mean ARGV
<apeiros> all arguments passed to your script are in ARGV
<croberts_> yes sorry, still new
<croberts_> ah ok
<apeiros> you can use libs like optparse (stdlib) or slop (gem) to process them
<apeiros> or you can just access the plain ARGV array and do whatever
<croberts_> ok ty
<apeiros> yw
tvw has joined #ruby
user_corrupt has quit [Remote host closed the connection]
zacts has joined #ruby
mistermocha has quit [Remote host closed the connection]
zacts_pi has quit [Ping timeout: 276 seconds]
zacts_pi has joined #ruby
chouhoulis has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 258 seconds]
agentmeerkat has quit [Ping timeout: 264 seconds]
dgynn has quit [Quit: dgynn]
conta has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Xentil has quit [Ping timeout: 244 seconds]
zacts has quit [Ping timeout: 250 seconds]
agentmeerkat has joined #ruby
antgel has joined #ruby
mattwashere has quit [Remote host closed the connection]
blackmesa has joined #ruby
roshanavnad_ has joined #ruby
mattwashere has joined #ruby
aganov has quit [Remote host closed the connection]
nadir has joined #ruby
AndrewIsHere has joined #ruby
zacstewart has joined #ruby
rodfersou is now known as rodfersou|lunch
roshanavand has quit [Ping timeout: 252 seconds]
cschneid_ has joined #ruby
The_Phoenix has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
roshanavnad_ has quit [Quit: This computer has gone to sleep]
mistermocha has joined #ruby
zacstewart has quit [Ping timeout: 252 seconds]
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
shock_one has quit [Remote host closed the connection]
cdg_ has joined #ruby
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ecnalyr has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
cdg has quit [Ping timeout: 250 seconds]
<TomyWork> croberts_ it's called command-line arguments and everything has it :)
nk121 has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
<TomyWork> not just bash and ruby
Xentil has joined #ruby
nk121 has joined #ruby
jaguarmagenta has joined #ruby
<croberts_> good to know the name of them now :)
Macaveli_ has quit [Quit: Textual IRC Client: www.textualapp.com]
tk___ has quit [Quit: ばいばい]
toretore has quit [Ping timeout: 240 seconds]
<Wildfyr> what are you guys doing in ruby?
skalfyfan has joined #ruby
atom_ has quit [Quit: WeeChat 1.5]
<Papierkorb> Wildfyr: managing/building a computing cluster, random tooling, applications with web UIs. Also as handy calculator.
<Papierkorb> Wildfyr: why you ask? Anything specific on your mind?
<Wildfyr> Papierkorb: wow, the web ui seems fun
neo__ has joined #ruby
jaguarmagenta has quit [Ping timeout: 258 seconds]
<Wildfyr> Papierkorb: i ask as i'm getting very bored and want something to do (which is in my league)
cdg_ has quit [Remote host closed the connection]
hxegon_afk is now known as hxegon
<Papierkorb> Wildfyr: If you want to build web applications, and have never done anything like this, check out (Ruby on) Rails. It's the most popular web framework. There are other web-frameworks, but the tooling around and the tutorials about rails are the best
cdg has joined #ruby
wldcordeiro has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
Xentil has quit [Ping timeout: 272 seconds]
<hxegon> Wildfyr: ecommerce middleware/etl, ecommerce web stuff
<Papierkorb> Wildfyr: Even if you later decide that Rails is not for you, the knowledge you gain from it can be applied elsewhere too. But it is fun to build stuff with it.
<hxegon> Also familiarity massively increases your job prospects
<hxegon> (with rails)
neo_ has quit [Ping timeout: 260 seconds]
ecnalyr has quit [Read error: Connection reset by peer]
<hxegon> also, morning all
mistermocha has quit [Remote host closed the connection]
dennisvennink has joined #ruby
skatopustaz has joined #ruby
skatopustaz is now known as yadobujo
shock_one has joined #ruby
mistermocha has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
deecross_ has joined #ruby
bogusdisk has joined #ruby
Xentil has joined #ruby
deecross has quit [Ping timeout: 276 seconds]
SCHAAP137 has joined #ruby
agentmee1kat has joined #ruby
hutch34 has joined #ruby
freerobby2 has joined #ruby
RegulationD has joined #ruby
yadobujo has quit [Remote host closed the connection]
ecnalyr has joined #ruby
Snowy has quit [Ping timeout: 276 seconds]
<Wildfyr> Papierkorb: for doing anything useful with rails, i'm presuming i must have some knowledge of html/css (my knowledge is non-existant)
yadobujo has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
<Papierkorb> Wildfyr: You learn along the way. You will also make mistakes. That's okay, just try to do it better next time :)
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby1 has quit [Ping timeout: 264 seconds]
<Wildfyr> Papierkorb: Mistakes are fine with me (as long as i learn something useful) but i couldn't get myself to learn html
<Wildfyr> It is so boring ...
Xentil has quit [Ping timeout: 244 seconds]
symm- has joined #ruby
dgynn has joined #ruby
<Papierkorb> Wildfyr: HTML alone is not that useful. Writing HTML isn't even fun or anything. It's just a tool for you to create a UI
amclain has joined #ruby
dgynn has quit [Client Quit]
<Wildfyr> Papierkorb: i know css/js also are needed
<Papierkorb> Wildfyr: Same goes for CSS. I also don't see the point in learning HTML+CSS first and then rails. Learn those two by using them.
ekinmur has joined #ruby
<Wildfyr> Papierkorb: okay
RegulationD has quit [Ping timeout: 276 seconds]
Vingador has quit [Remote host closed the connection]
<Papierkorb> Wildfyr: Oh no, JS is not a requirement. You can add your own JS later on, which you can also learn as you go for now.
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
<Wildfyr> Papierkorb: okay
skade has quit [Quit: Computer has gone to sleep.]
<Papierkorb> Wildfyr: http://guides.rubyonrails.org/getting_started.html for the hello world project, also there's #RubyOnRails for rails questions
<Wildfyr> thanks, it is time i get started
<Wildfyr> Any other resources u'd recommend?
yadobujo has quit [Ping timeout: 276 seconds]
flashpoint9 has joined #ruby
<Papierkorb> Wildfyr: HTML/CSS, even SQL, are just tools. Do you learn how to use a hammer without hitting on nails?
aep-shoutlet has joined #ruby
<Wildfyr> Papierkorb: no, but a hammer has other uses as well
<Wildfyr> :P
deecross_ has quit [Remote host closed the connection]
deecross has joined #ruby
TomyWork has quit [Remote host closed the connection]
memorasus has joined #ruby
[Butch] has joined #ruby
ekinmur has quit [Client Quit]
<Papierkorb> Wildfyr: I can't honestly. Never did a beginner HTML/CSS tutorial. Some W3School, but that I can't recommend. You can peek at it and learn the utmost basics, and then move on.
leea has joined #ruby
aegis3121 has quit [Ping timeout: 252 seconds]
<daumie> ./quit
Guest23954 has quit [Changing host]
Guest23954 has joined #ruby
daumie has quit [Quit: WeeChat 1.4]
The_Phoenix1 has joined #ruby
<hxegon> no such file or directory: ./quit
<hxegon> Any recommendations for ruby OO design, beyond POODR?
ekinmur has joined #ruby
ngw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
akira616 has joined #ruby
pawnbox has quit [Remote host closed the connection]
The_Phoenix has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
deecross has quit [Ping timeout: 246 seconds]
The_Phoenix has joined #ruby
whathappens has joined #ruby
hahuang61 has joined #ruby
zacts_raincity has joined #ruby
Xentil has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
The_Phoenix1 has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
DrCode has quit [Remote host closed the connection]
bmurt has joined #ruby
zacts_pi has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
The_Phoenix1 has joined #ruby
alfiemax has joined #ruby
nankyokusei has joined #ruby
pdoherty has quit [Ping timeout: 258 seconds]
<hxegon> I ask because I just spent 2 months implementing some sort of anti-factory pattern abomination
chipotle has joined #ruby
zacts_raincity has quit [Ping timeout: 252 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
zacts has quit [Ping timeout: 250 seconds]
Xentil has quit [Ping timeout: 244 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
yadobujo has joined #ruby
The_Phoenix has quit [Ping timeout: 264 seconds]
blaxter has quit [Quit: foo]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
nettoweb has joined #ruby
SCHAAP137 has quit [Ping timeout: 276 seconds]
yadobujo has quit [Ping timeout: 258 seconds]
Xentil has joined #ruby
Sashimi has joined #ruby
isberg has joined #ruby
tvw has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
nando294121 has quit [Ping timeout: 276 seconds]
AndrewIsHere has joined #ruby
<Yxhuvud> common sense /s
prestorium has joined #ruby
shinnya has joined #ruby
SilverKey has joined #ruby
bkxd has joined #ruby
neo__ has quit [Remote host closed the connection]
SilverKey has quit [Client Quit]
DrCode has joined #ruby
neo_ has joined #ruby
SilverKey has joined #ruby
SilverKey has quit [Client Quit]
SCHAAP137 has joined #ruby
yqt has joined #ruby
abonec has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
neo_ has quit [Ping timeout: 240 seconds]
JakFrist has joined #ruby
JeanCarloMachado has joined #ruby
yadobujo has joined #ruby
Sinpai_ has joined #ruby
chipotle has quit [Ping timeout: 244 seconds]
digneety has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
ecnalyr has quit [Read error: Connection reset by peer]
synthroid has quit []
TomyLobo has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
Sinpai_ has quit [Remote host closed the connection]
yadobujo has quit [Remote host closed the connection]
DTZUZU has joined #ruby
yadobujo has joined #ruby
Xentil has quit [Ping timeout: 240 seconds]
stephan_ has joined #ruby
ecnalyr has joined #ruby
Xentil has joined #ruby
<shevy> hxegon have you been writing java there!
Wildfyr has quit [Remote host closed the connection]
<shevy> Papierkorb I used to read selfhtml for learning :-)
Wildfyr has joined #ruby
Wildfyr has quit [Changing host]
Wildfyr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<Papierkorb> shevy: Isn't that German only?
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
bradflaugher has quit [Quit: Textual IRC Client: www.textualapp.com]
neo_ has joined #ruby
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
rodfersou|lunch is now known as rodfersou
Xentil has quit [Ping timeout: 260 seconds]
Sembei has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Xentil has joined #ruby
ghr has joined #ruby
whathappens has quit [Ping timeout: 252 seconds]
NingaLeaf has joined #ruby
Guest23954 is now known as nuck
pawnbox_ has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
lorenalexm has joined #ruby
kiyote23 has joined #ruby
ebbflowgo has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
zacts has joined #ruby
lorenalexm has quit [Client Quit]
Xentil has quit [Read error: Connection reset by peer]
xaxisx has joined #ruby
Xentil has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Hyuk has joined #ruby
whathappens has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
whathapp_ has joined #ruby
xaxisx has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 258 seconds]
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
digneety has quit [Quit: digneety]
ramfjord has joined #ruby
tomphp has quit [Ping timeout: 244 seconds]
Sashimi has joined #ruby
harfangk has quit [Quit: harfangk]
aegis3121 has joined #ruby
SilverKey has joined #ruby
toretore has joined #ruby
whathappens has quit [Ping timeout: 276 seconds]
rcvalle has joined #ruby
ghr has joined #ruby
akira616 has quit [Ping timeout: 258 seconds]
skalfyfan has joined #ruby
<hxegon> shevy: nope, just a junior dev left to his own devices
SilverKey has quit [Client Quit]
whiteline_ has joined #ruby
blackmesa has joined #ruby
whiteline has quit [Disconnected by services]
whiteline_ is now known as whiteline
aegis3121 has quit [Ping timeout: 240 seconds]
xrlabs has quit [Quit: Connection closed for inactivity]
daumie has joined #ruby
fullofcaffeine has joined #ruby
firstdayonthejob has joined #ruby
craigp_ has joined #ruby
chipotle has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jaruga___ has quit [Quit: jaruga___]
flashpoint9 has joined #ruby
ghr has joined #ruby
karapetyan has quit [Remote host closed the connection]
SilverKey has joined #ruby
karapetyan has joined #ruby
dikaio has joined #ruby
SilverKey has quit [Client Quit]
neo__ has joined #ruby
dikaio has quit [Max SendQ exceeded]
flashpoint9 has quit [Remote host closed the connection]
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
Sashimi has joined #ruby
deecross has joined #ruby
edwardly has quit [Ping timeout: 276 seconds]
colegatron has quit [Ping timeout: 240 seconds]
neo_ has quit [Ping timeout: 250 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
neo__ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
Sashimi has quit [Client Quit]
fullofcaffeine has quit [Remote host closed the connection]
neo_ has joined #ruby
VeryBewitching has quit [Ping timeout: 240 seconds]
fullofcaffeine has joined #ruby
agentmee1kat has quit [Ping timeout: 264 seconds]
JakFrist has joined #ruby
RegulationD has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
polishdub has joined #ruby
eugenmayer1 has quit [Quit: Leaving.]
Sashimi has joined #ruby
aufi has quit [Quit: Konversation terminated!]
VeryBewitching has joined #ruby
LoneHerm_ has joined #ruby
aryaching has joined #ruby
ghr has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Remote host closed the connection]
SilverKey has joined #ruby
Sashimi has quit [Ping timeout: 240 seconds]
troulouliou_div2 has joined #ruby
last_staff has joined #ruby
LoneHerm_ has joined #ruby
pilne has joined #ruby
jaguarmagenta has joined #ruby
replay has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
colegatron has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Ping timeout: 240 seconds]
yqt has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
angrybuzzy_ has joined #ruby
ghr has joined #ruby
freerobby has joined #ruby
MrBusiness3 has joined #ruby
mx055 has joined #ruby
freerobby2 has quit [Ping timeout: 260 seconds]
<mx055> bonsoir
ramfjord has quit [Ping timeout: 250 seconds]
igam` has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
tjbiddle has quit [Quit: tjbiddle]
AndrewIsHere has quit [Remote host closed the connection]
agentmeerkat has joined #ruby
MrBusiness2 has quit [Ping timeout: 272 seconds]
AndrewIsHere has joined #ruby
mloy has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
AndrewIs_ has joined #ruby
deecross has quit [Remote host closed the connection]
deecross has joined #ruby
yqt has joined #ruby
houhoulis has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
Haaibo has joined #ruby
vuoto has joined #ruby
SilverKey has quit [Quit: Halted.]
Sashimi has joined #ruby
flashpoint9 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
roamingdog has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
SilverKey has joined #ruby
roamingdog has joined #ruby
ramortegui has quit [Remote host closed the connection]
A5101 has joined #ruby
Sashimi has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
ghr has joined #ruby
Uranio has joined #ruby
AngryBuzzy has quit [Quit: Leaving]
blackmesa has quit [Ping timeout: 240 seconds]
zacts has quit [Ping timeout: 264 seconds]
wldcordeiro has quit [Ping timeout: 252 seconds]
finisherr has joined #ruby
mistermocha has quit [Remote host closed the connection]
yqt has quit [Ping timeout: 260 seconds]
mistermocha has joined #ruby
Jackneill has joined #ruby
mrmortondk has quit [Read error: Connection reset by peer]
sneakers has joined #ruby
<shevy> Papierkorb yeah! good oldschool :-)
mistermocha has quit [Read error: Connection reset by peer]
<shevy> though admittedly, I looked at it again a few years ago or so
<shevy> and the old glamour sorta went away
ghr has quit [Ping timeout: 240 seconds]
mistermocha has joined #ruby
* shevy is a sad panda.
angrybuzzy_ has quit [Quit: This computer has gone to sleep]
hahuang61 has joined #ruby
yadobujo_ has joined #ruby
yadobujo has quit [Disconnected by services]
troulouliou_div2 has quit [Quit: Leaving]
yadobujo_ is now known as yadobujo
<baweaver> I thought you were a shevy
nankyokusei has joined #ruby
aegis3121 has joined #ruby
mattwashere has quit [Remote host closed the connection]
<shevy> I just like those dam pandas and beavers
JakFrist has joined #ruby
mattwashere has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
sebstrax has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
weaksauce has joined #ruby
wldcordeiro has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
arlek has joined #ruby
miqlas-H has joined #ruby
ramfjord has joined #ruby
KCmetro has joined #ruby
tjbiddle has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
roamingd_ has joined #ruby
macsteps has joined #ruby
roamingd_ has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
ghr has joined #ruby
SilverKey has quit [Quit: Halted.]
isberg has quit [Quit: I'm out]
arlek has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby
Coldblackice has joined #ruby
Dimik has joined #ruby
Uranio has quit [Quit: Leaving]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
mistermocha has quit [Remote host closed the connection]
craigp_ has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 240 seconds]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
AndrewIs_ has quit [Remote host closed the connection]
SilverKey has joined #ruby
shinnya has quit [Ping timeout: 276 seconds]
CloCkWeRX has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
dzduvall has joined #ruby
deecross has quit [Remote host closed the connection]
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
mattwashere has quit [Remote host closed the connection]
ghr has joined #ruby
Silthias1 has quit [Ping timeout: 276 seconds]
AndrewIsHere has joined #ruby
codecop has joined #ruby
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mattwashere has joined #ruby
Silthias has joined #ruby
irregular has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
neo_ has quit [Ping timeout: 240 seconds]
Ebok has joined #ruby
babblebre has joined #ruby
DrCode has quit [Remote host closed the connection]
BaroMeter has joined #ruby
craigp_ has joined #ruby
yfeldblum has joined #ruby
chip_ has joined #ruby
irregular has quit [Ping timeout: 246 seconds]
BaroMeter has quit [Remote host closed the connection]
KCmetro has quit [Quit: Leaving...]
ghr has joined #ruby
vuoto has quit [Remote host closed the connection]
diegoviola has joined #ruby
cdg has joined #ruby
deecross has joined #ruby
bmurt has joined #ruby
cdg has quit [Remote host closed the connection]
johnmilton has quit [Remote host closed the connection]
zacts has joined #ruby
cdg has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Wildfyr has left #ruby ["Bye"]
douglascorrea has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 250 seconds]
fullofcaffeine has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fullofcaffeine has quit [Remote host closed the connection]
<zacts> hi rubyists
fullofcaffeine has joined #ruby
wldcordeiro has quit [Ping timeout: 250 seconds]
ekinmur has joined #ruby
irregular has joined #ruby
pawnbox_ has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
<havenwood> zacts: halloo
Sashimi has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
ebbflowgo has quit [Quit: ebbflowgo]
mattwashere has quit [Remote host closed the connection]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wldcordeiro has joined #ruby
ecnalyr has quit [Ping timeout: 252 seconds]
mattwashere has joined #ruby
mistermocha has quit [Remote host closed the connection]
ghr has joined #ruby
mistermocha has joined #ruby
duoi has quit [Ping timeout: 250 seconds]
Sashimi has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
replay has quit [Ping timeout: 272 seconds]
chip_ has quit [Ping timeout: 252 seconds]
duoi has joined #ruby
bmurt has quit [Read error: Connection reset by peer]
jhack has joined #ruby
mistermocha has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
miqlas-H has quit [Ping timeout: 276 seconds]
agentmeerkat has quit [Ping timeout: 264 seconds]
conta has joined #ruby
miqlas-H has joined #ruby
lorenalexm has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
mistermocha has joined #ruby
dzduvall is now known as marxarelli
CybrGhost has quit [Quit: Leaving]
ReK2 has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ecnalyr has joined #ruby
ghr has joined #ruby
lorenalexm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andikr has quit [Remote host closed the connection]
solars has quit [Ping timeout: 252 seconds]
Dimik has quit []
<jackhill> Hi all, I'm fairly new to Ruby, and I'm looking library to use to read configuration files for a cli app that I'm writing.
<jackhill> I would like for it to look at a system location, and then overlay that with a user's local configuration.
SilverKey has quit [Quit: Halted.]
bruce_lee has quit [Remote host closed the connection]
<apeiros> YAML is a commonly used library to read/write config files
maikowblue has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
<apeiros> as for sys > local - standard File.exist? calls
<jackhill> apeiros: that would definitely work for me, but didn't want to re-invent that logic if there was something existing that was popular that does it.
<jackhill> I guess it's not /that/ much logic.
kirun has joined #ruby
<jackhill> thanks!
SilverKey has joined #ruby
<apeiros> yeah, if it's only 2 paths to check it's some ~10-ish lines of code
leea has joined #ruby
<apeiros> I think there's some gem which provides methods to get standard/common paths. not sure I remember the name correctly, moment…
poporul has joined #ruby
SilverKey has quit [Client Quit]
frem_ has joined #ruby
houhoulis has quit [Remote host closed the connection]
leea has quit [Client Quit]
ghr has quit [Ping timeout: 240 seconds]
duoi has quit [Ping timeout: 250 seconds]
poporul has quit [Client Quit]
<apeiros> eam: ping - you might know - what was that standard for linux paths? xdg or somesuch?
craigp_ has quit [Ping timeout: 244 seconds]
<jackhill> searching for 'config' on rubygems tuned up lots of things
arlek has joined #ruby
karapetyan has quit [Remote host closed the connection]
<apeiros> ?ruby-toolbox jackhill
<ruby[bot]> apeiros: I don't know anything about ruby-toolbox
<apeiros> blargh
<apeiros> ?toolbox jackhill
<ruby[bot]> jackhill: https://www.ruby-toolbox.com is a website which lists lots of gems, topically organized
<apeiros> wrote too much. unbelievable.
duoi has joined #ruby
swills has quit [Ping timeout: 264 seconds]
ecnalyr has quit [Ping timeout: 258 seconds]
<jackhill> apeiros: oh, cool. xdg sounds vaguely correct to me
macsteps has quit [Remote host closed the connection]
<apeiros> and iirc there was a gem for it
<apeiros> https://github.com/rubyworks/xdg would be it
<jackhill> apeiros: cool, thanks!!
GodFather has joined #ruby
<apeiros> yw
Dimik has joined #ruby
jhack has quit [Quit: jhack]
leea has joined #ruby
ghr has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Sashimi has joined #ruby
leea has quit [Client Quit]
<havenwood> ooh, they released a 3.0 it looks like
<apeiros> is that a successor or a competing standard?
bmurt has joined #ruby
<jackhill> xdg v. fhs? I think they specify different things. FHS is more concerned with system-wide paths, while xdg would govern what goes on inside a user's home directory.
solars has joined #ruby
`tim` has joined #ruby
<apeiros> oh, nice, so we need 2 standards to cover all paths :-S :D
<havenwood> apeiros: I guess the systemd folk didn't think FHS covered the bases. :P
ecnalyr has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
zeroDi has joined #ruby
jaguarmagenta has joined #ruby
fullofcaffeine has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
fullofca_ has joined #ruby
mistermocha has quit [Remote host closed the connection]
ekinmur has quit [Read error: Connection reset by peer]
ecnalyr has quit [Read error: Connection reset by peer]
ekinmur has joined #ruby
mistermocha has joined #ruby
DrCode has joined #ruby
<irregular> how can I access the last element of an array? is there something like array[last]?
jaguarmagenta has quit [Ping timeout: 240 seconds]
<irregular> for elements in siteprism/ruby https://github.com/natritmeyer/site_prism
fullofcaffeine has quit [Ping timeout: 250 seconds]
mistermocha has quit [Remote host closed the connection]
<apeiros> array.last
<toretore> ?ri Array#last
<ruby[bot]> toretore: I don't see no Array#last, whom should I tell about ri?
mistermocha has joined #ruby
<apeiros> >> [1,2,3].last
<ruby[bot]> apeiros: # => 3 (https://eval.in/602712)
<apeiros> also the slice method ([]) accepts negative args
neo_ has joined #ruby
<apeiros> >> [1,2,3][-1]
<ruby[bot]> apeiros: # => 3 (https://eval.in/602713)
bmurt has quit [Ping timeout: 246 seconds]
<irregular> apeiros: darn for siteprism i can't do element :switch, '.configuration-settings .switch: .toggle-switch'.last
yqt has joined #ruby
Mimorial has joined #ruby
neo_ has quit [Remote host closed the connection]
fullofca_ has quit [Ping timeout: 276 seconds]
<apeiros> ¿que?
neo_ has joined #ruby
<apeiros> oooh, siteprism seems to do what I wanted to do… gotta investigate that
<irregular> apeiros:would you have any thoughts on getting the last child? (say of the parent could be selected with .configuration but the # of child elements is variable?
<apeiros> in css? :last-child
whathapp_ has quit [Remote host closed the connection]
<apeiros> if that's not the selector you want, check some css3 selector page. there's almost nothing you can't do. and if there is, then switch to xpath.
karapetyan has joined #ruby
Mimorial has quit [Client Quit]
ghr has quit [Ping timeout: 240 seconds]
whathappens has joined #ruby
Mimorial has joined #ruby
SilverKey has joined #ruby
tvw has joined #ruby
neo_ has quit [Ping timeout: 246 seconds]
Mimorial has quit [Client Quit]
Mimorial has joined #ruby
umdstu has quit [Quit: umdstu]
karapetyan has quit [Remote host closed the connection]
ecnalyr has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
whathappens has quit [Ping timeout: 244 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
neo_ has joined #ruby
ghr has joined #ruby
bmurt has joined #ruby
karapetyan has joined #ruby
bmurt has quit [Read error: Connection reset by peer]
shock_one has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
eljimmy has quit [Quit: This computer has gone to sleep]
mistermo_ has joined #ruby
mistermocha has quit [Ping timeout: 258 seconds]
deviation has quit [Ping timeout: 260 seconds]
postmodern has quit [Ping timeout: 250 seconds]
mattwashere has quit [Remote host closed the connection]
ekinmur has joined #ruby
<shevy> havenwood let's invent a better standard!
bluOxigen has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
akira616 has joined #ruby
nofxx has joined #ruby
naftilos76 has quit [Quit: Αποχώρησε]
mattwashere has joined #ruby
malconis has joined #ruby
blackmesa has joined #ruby
<Mimorial> hey, can you run shoes from the command line or something? the "open program --> choose file --> look at the result" is annoying and time-consuming
vuoto has joined #ruby
agentmeerkat has joined #ruby
digneety has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
douglascorrea has quit [Ping timeout: 246 seconds]
digneety has quit [Client Quit]
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aryaching has quit [Remote host closed the connection]
JeanCarloMachado has quit [Read error: Connection reset by peer]
arlek has quit [Ping timeout: 240 seconds]
neo_ has quit []
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 276 seconds]
agentmeerkat has quit [Ping timeout: 264 seconds]
postmodern has joined #ruby
hahuang61 has joined #ruby
ghr has joined #ruby
Silthias has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
Silthias has joined #ruby
nankyokusei has joined #ruby
douglascorrea has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
postmodern has quit [Ping timeout: 250 seconds]
SilverKey has quit [Client Quit]
colegatron has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
JeanCarloMachado has joined #ruby
deecross has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
SilverKey has joined #ruby
ur5us has joined #ruby
tjbiddle has joined #ruby
tjbiddle has quit [Client Quit]
aegis3121 has quit [Ping timeout: 272 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
allcentury has quit [Ping timeout: 250 seconds]
troulouliou_dev has joined #ruby
ghr has joined #ruby
ensyde has joined #ruby
Darmani has joined #ruby
ensyde__ has quit [Ping timeout: 244 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
howdoi has quit [Quit: Connection closed for inactivity]
toretore has quit [Quit: Leaving]
ghr has quit [Ping timeout: 240 seconds]
ekinmur has joined #ruby
conta has quit [Ping timeout: 264 seconds]
triangles has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
macsteps has joined #ruby
douglascorrea has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
douglascorrea has joined #ruby
Sashimi has joined #ruby
fullofcaffeine has joined #ruby
<Darmani> Hey guys, I have an array of items with numbers attached to them. How do I get the total of all the numbers combined?
ensyde has quit [Ping timeout: 264 seconds]
colegatron has joined #ruby
ta_ has joined #ruby
ghr has joined #ruby
dzduvall has joined #ruby
fullofca_ has joined #ruby
fullofcaffeine has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 258 seconds]
<shevy> Mimorial it should be possible
minimali1 has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
<shevy> common idioms would be like Shoes.run but you may have to look at how Shoes initialize itself, in ruby code. if you can find out how, you can start it from the commandline
craigp_ has joined #ruby
jhack has joined #ruby
djbkd has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
vuoto has quit [Remote host closed the connection]
aegis3121 has joined #ruby
Madplatypus has joined #ruby
minimalism has quit [Ping timeout: 246 seconds]
fullofcaffeine has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
mx055 has quit [Quit: WeeChat 1.0.1]
djbkd has quit [Client Quit]
fullofca_ has quit [Ping timeout: 240 seconds]
fullofcaffeine has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
shinnya has joined #ruby
fullofcaffeine has joined #ruby
dc4 has joined #ruby
ghr has joined #ruby
fullofca_ has joined #ruby
<havenwood> Darmani: What are "attached" numbers?
<Darmani> havenwood: You are everywhere aren't you.
<havenwood> >> [1, 2, 3].inject :+
<ruby[bot]> havenwood: # => 6 (https://eval.in/602760)
<havenwood> Darmani: If it's Rails; [1, 2, 3].sum
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fullofcaffeine has quit [Ping timeout: 240 seconds]
<Darmani> havenwood: They are prices attached to an object.
<Darmani> So you would do shirt.price to get to the number.
ghr has quit [Ping timeout: 240 seconds]
ekinmur has joined #ruby
<havenwood> >> ['1', '2', '3'].reduce(0) { |sum, s| sum + s.to_i }
<ruby[bot]> havenwood: # => 6 (https://eval.in/602761)
pawnbox has joined #ruby
fullofca_ has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
blackmesa has joined #ruby
<Darmani> havenwood: hm. okay.
<Darmani> ty
<havenwood> Darmani: Or if it's Rails: ['1', '2', '3'].sum &:to_i
The_Phoenix has joined #ruby
<havenwood> Darmani: In your case: sum &:price
minimali1 is now known as minimalism
<Darmani> havenwood: gotcha
mattwashere has quit [Remote host closed the connection]
The_Phoenix1 has quit [Ping timeout: 264 seconds]
<havenwood> yw
ghr has joined #ruby
whathappens has joined #ruby
<Darmani> havenwood: hang on wait. The numbers aren't the objects themselves... they are part of the object..
<Darmani> How do I work around that?
pawnbox has quit [Ping timeout: 260 seconds]
mattwashere has joined #ruby
<havenwood> >> ['1', '2', '3'].sum { |s| s.to_i.size }
<ruby[bot]> havenwood: # => undefined method `sum' for ["1", "2", "3"]:Array (NoMethodError) ...check link for more (https://eval.in/602763)
<havenwood> oops, not Rails
<havenwood> Darmani: ^ works in Rails
<Mimorial> shevy; shoes doesn't have a gem or anything
troulouliou_dev has quit [Quit: Leaving]
<Mimorial> it's just a packaging thing and a runtime
<havenwood> Mimorial: There's the green shoes gem.
<havenwood> Mimorial: Or shoes4 on JRuby.
kevr has joined #ruby
<havenwood> (Also a gem.)
shock_one has joined #ruby
<Mimorial> yeah, I found green_shoes
<Mimorial> thanks
<havenwood> Mimorial: Shoes4 has some fun samples.
<Mimorial> I wanted to try tk, so I downloaded the Arcadia IDE, but I'm getting this error: "Arcadia require ruby-tk extension"
<Mimorial> there is no such thing in gems nor in the repo
<havenwood> Mimorial: Does your package manager have it?
mattwashere has quit [Remote host closed the connection]
<Mimorial> havenwood; package manager? I said it's not in the repo
<Mimorial> I downloaded tk as well as tk-dev
Ebok has joined #ruby
mattwashere has joined #ruby
whathappens has quit [Ping timeout: 258 seconds]
isberg has joined #ruby
isberg has quit [Max SendQ exceeded]
sergio_101 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
codecop has quit [Remote host closed the connection]
GinoManWorks_ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
replay has joined #ruby
dzduvall has quit [Quit: Textual IRC Client: www.textualapp.com]
Haaibo has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 240 seconds]
ecnalyr has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
ecnalyr has joined #ruby
gener1c has quit [Ping timeout: 252 seconds]
daumie has quit [Read error: Connection reset by peer]
shock_one has quit [Remote host closed the connection]
gwokamollaye has quit [Ping timeout: 244 seconds]
gener1c has joined #ruby
brianpWins_ has quit [Read error: Connection reset by peer]
nando293921 has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
brianpWins has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
Xiti has joined #ruby
ghr has joined #ruby
<shevy> yeah the error reporting of arcadia is obviously bad
<shevy> ruby-tk works fine however had
houhoulis has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
ldnunes has quit [Quit: Leaving]
JeanCarloMachado has quit [Ping timeout: 276 seconds]
ghr has quit [Ping timeout: 240 seconds]
douglascorrea has quit [Read error: Connection reset by peer]
aupadhye has quit [Ping timeout: 250 seconds]
dc4 has quit [Ping timeout: 250 seconds]
Silthias has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
ghr has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
antgel has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
tokynet has joined #ruby
mattwashere has quit [Remote host closed the connection]
prestorium has quit [Quit: Leaving]
fredolinhares has joined #ruby
craigp_ has quit [Ping timeout: 240 seconds]
agentmeerkat has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
rodfersou has quit [Quit: leaving]
swills has joined #ruby
<Mimorial> and I'm confused about the tk development... "require 'tk'" returns an error, and there is no such gem
<Mimorial> ah ok, nvm, I checked it in the core instead of std *facepalm*
Rodya_ has quit [Remote host closed the connection]
<shevy> if you have tcl/tk on your linux system then it should work out of the box, tk is the only toolkit that is part of default ruby stanrdard
<shevy> it also is very ugly
macsteps has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
malconis has quit [Ping timeout: 276 seconds]
mtkd has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
macsteps has joined #ruby
<Mimorial> "require 'tk'" or Tk says that it can't load, and without it, the constant isn't initialised
<Mimorial> what's wrong?
Dimik has quit []
agentmeerkat has quit [Ping timeout: 276 seconds]
gener1c has quit [Ping timeout: 272 seconds]
mtkd has joined #ruby
Es0teric has joined #ruby
torandu has quit [Ping timeout: 246 seconds]
<shevy> returns true here for me
aep-shoutlet has quit [Quit: Connection closed for inactivity]
<shevy> I assume that you don't have all of tcl/tk that is required for it to run
<shevy> or perhaps your distribution has splitted it up into tk-dev
spudowiar has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
<Mimorial> shevy; it did indeed
ghr has joined #ruby
Es0teric has quit [Client Quit]
roamingdog has joined #ruby
flughafen_ has joined #ruby
Coldblackice has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 276 seconds]
gener1c has joined #ruby
QORRiE has joined #ruby
SCHAAP137 has quit [Ping timeout: 276 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Darmani> havenwood: bruh
craigp_ has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Coldblackice has joined #ruby
Ebok has joined #ruby
SCHAAP137 has joined #ruby
wald0 has joined #ruby
Rodya_ has joined #ruby
torandu has joined #ruby
`tim` has joined #ruby
gener1c has quit [Ping timeout: 258 seconds]
RegulationD has quit [Read error: Connection reset by peer]
nando293921 has quit [Ping timeout: 276 seconds]
gener1c has joined #ruby
RegulationD has joined #ruby
rodfersou has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
d5sx43 has joined #ruby
d5sx43 has quit [Client Quit]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
banisterfiend has joined #ruby
hahuang61 has joined #ruby
AlexRussia has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
Azure|dc has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
Azure has quit [Ping timeout: 240 seconds]
whathappens has quit [Quit: Leaving...]
<Mimorial> shevy; what can I do then?
hahuang61 has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 240 seconds]
gener1c has quit [Ping timeout: 276 seconds]
dhollinger has quit [Quit: WeeChat 1.5]
<shevy> Mimorial you have to find out into which packages they split it up and install these then
nhhc has quit [Quit: Leaving]
<shevy> or use a distribution that does not annoy you with splitting things up
zacts has quit [Quit: WeeChat 1.5]
houhouli_ has joined #ruby
<Mimorial> shevy; I have tk as well as tk-dev
<Mimorial> will try to install the others
<Mimorial> so, do I need to requite tk/Tk or not?
gener1c has joined #ruby
houhoul__ has joined #ruby
kavanagh has joined #ruby
flughafen_ has quit [Ping timeout: 258 seconds]
houhoulis has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
<shevy> you need to always require, it is not required by default
<shevy> require 'tk' # => true
kirun has quit [Quit: Client exiting]
houhouli_ has quit [Ping timeout: 258 seconds]
<shevy> this one works for hello world in tk for me: https://gist.github.com/shevegen/5b384ac60e14c1f34e720b1f4194616b
<shevy> here is how that one looks http://shevegen.square7.ch/TK.png
<shevy> I personally use ruby-gnome, I find it much better than tk
QORRiE has quit [Remote host closed the connection]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sashimi has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
<Mimorial> shevy; for now, I just want something that's easy
gener1c has quit [Ping timeout: 276 seconds]
<Mimorial> gtk isn't very futureproof
<Mimorial> qt is pretty difficult for now
<Mimorial> *too difficult
A5101 has quit [Ping timeout: 276 seconds]
gener1c has joined #ruby
<shevy> tk is easy!
karapetyan has joined #ruby
hutch34 has joined #ruby
<shevy> dunno if these are the latest
<shevy> oh... Tcl 8.6.5 Sources and Tk 8.6.5 Sources is the latest
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TomyLobo has quit [Ping timeout: 264 seconds]
houhoul__ has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
hutch34 has quit [Ping timeout: 258 seconds]
JeanCarloMachado has joined #ruby
ta_ has quit [Quit: Leaving...]
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
NingaLeaf has quit [Read error: Connection reset by peer]
NingaLeaf has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
skalfyfan has joined #ruby
ta_ has joined #ruby
skalfyfan has quit [Client Quit]
nankyokusei has joined #ruby
skalfyfan has joined #ruby
hxegon is now known as hxegon_afk
polysics has joined #ruby
polishdub has quit [Quit: Leaving]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
ghr has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
tomphp has joined #ruby
srgupta has joined #ruby
rodfersou has quit [Quit: leaving]
ghr has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
srgupta has quit [Client Quit]
postmodern has joined #ruby
davedev24 has quit []
ramfjord has quit [Ping timeout: 272 seconds]
dc4 has joined #ruby
malconis has joined #ruby
ensyde has joined #ruby
ghr has joined #ruby
macsteps has quit [Remote host closed the connection]
malconis has quit [Ping timeout: 244 seconds]
roamingdog has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
Asher has quit [Quit: Leaving.]
cdg has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ecnalyr has quit [Read error: Connection reset by peer]
ecnalyr has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
roamingdog has joined #ruby
Asher has joined #ruby
hutch34 has joined #ruby
ghr has joined #ruby
nettoweb has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
spudowiar has quit [Quit: brb]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spudowiar has joined #ruby
JeanCarloMachado has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
gizmore has joined #ruby
fullofcaffeine has quit [Ping timeout: 252 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
`tim` has joined #ruby
alfiemax has joined #ruby
cschneid_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
ma489 has joined #ruby
mistermo_ has quit [Remote host closed the connection]
mistermocha has joined #ruby
roamingdog has quit [Remote host closed the connection]
Mimorial has quit [Ping timeout: 264 seconds]
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
agent_white has quit [Quit: abouttoheadout]
whathappens has joined #ruby
mistermocha has quit [Ping timeout: 260 seconds]
yadobujo has quit [Remote host closed the connection]
kevr has quit [Ping timeout: 260 seconds]
`tim` has joined #ruby
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
firstdayonthejob has quit [Ping timeout: 272 seconds]
akira616 has quit [Ping timeout: 250 seconds]
`tim` has quit [Client Quit]
toretore has joined #ruby
pawnbox has joined #ruby
toretore has quit [Client Quit]
polysics has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
ddffg has quit [Ping timeout: 240 seconds]
polysics has joined #ruby
Xentil has quit [Ping timeout: 250 seconds]
whathappens has joined #ruby
workmad3 has joined #ruby
yadobujo has joined #ruby
tjohnson has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
polysics has quit [Ping timeout: 258 seconds]
whathappens has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 240 seconds]
saneax_AFK is now known as saneax
yadobujo has quit [Remote host closed the connection]
dc4 has quit [Ping timeout: 246 seconds]
Rodya_ has quit [Remote host closed the connection]
ghr has joined #ruby
smathy is now known as smathy_afk
tvw has quit [Remote host closed the connection]
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
troulouliou_dev has joined #ruby
yqt has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
finisherr has quit [Quit: finisherr]
[Butch] has quit [Quit: I'm out . . .]
ghr has quit [Ping timeout: 240 seconds]
mattwashere has joined #ruby
David27 has joined #ruby
ghr has joined #ruby
mattwashere has quit [Remote host closed the connection]
burgestrand has joined #ruby
ElFerna has joined #ruby
Elvin has joined #ruby
David27 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Mimorial has joined #ruby
kevr has joined #ruby
kavanagh has quit [Read error: Connection reset by peer]
<kevr> So, I want to define a class that has an internal Hash object, but I want the class to be able to read just like the Hash does
<kevr> let's say that the internal Hash is { :key => "value" }, I can access the key by Hash.key
<kevr> let's say that Object is the class that i'm wrapping around Hash, I'd like to be able to access Hash.key by Object.key
Rodya_ has joined #ruby
<kevr> but only for reading purposes, not modifying
<kevr> How can I achieve this?
ghr has quit [Ping timeout: 240 seconds]
<shevy> hash = { cat: 'Tom' }; hash.cat # => nil
ramfjord has quit [Ping timeout: 272 seconds]
last_staff has quit [Quit: last_staff]
<havenwood> >> class Kevr; def initialize hash; @hash = hash end; def keys; @hash.keys end end; Kevr.new({aim: true}).keys
<ruby[bot]> havenwood: # => [:aim] (https://eval.in/602802)
<havenwood> >> class Kevr; extend Forwardable; def_delegator :@hash, :keys; def initialize hash; @hash = hash end; end; Kevr.new({aim: true}).keys
<ruby[bot]> havenwood: # => uninitialized constant Kevr::Forwardable (NameError) ...check link for more (https://eval.in/602803)
<havenwood> kevr: require 'forwardable' # before that one ^
<havenwood> kevr: If you want to forward multiple methods: def_delegator :@hash, :keys, :values
gregf has quit [Quit: WeeChat 1.5]
leea has joined #ruby
ghr has joined #ruby
karapetyan has joined #ruby
<kevr> havenwood: thanks sir
<kevr> havenwood: however, one little issue, if i forward the whole method set it'll be able to behave as a hash, i assume, but i'd like to make it read-only, does def_delegator have a read-only setting?
ghr has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
<Darmani> havenwood: Hey so .sum adds up all of the prices together but what if a person orders more than one of the same item?
<Darmani> How do I account for that?
solars has quit [Ping timeout: 264 seconds]
jhack has quit [Quit: jhack]
karapetyan has quit [Ping timeout: 246 seconds]
ma489 has quit [Quit: Ex-Chat]
hahuang61 has joined #ruby
ghr has joined #ruby
jaguarmagenta has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
z3ndrag0n has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
mitt3ns has quit [Quit: leaving]
hahuang61 has quit [Ping timeout: 250 seconds]
akira616 has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
kevr has quit [Ping timeout: 252 seconds]
roamingdog has joined #ruby
marr has quit [Ping timeout: 258 seconds]
alfiemax has quit [Ping timeout: 264 seconds]
neanderslob has quit [Read error: Connection reset by peer]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nando293921 has joined #ruby
mattwashere has joined #ruby