Jackneill has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
Limix has joined #ruby
unknown1_ has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
modal has quit [Quit: Leaving]
npgm has quit [Quit: Connection closed for inactivity]
cfec0b8d has quit [Ping timeout: 240 seconds]
planigan has joined #ruby
milardovich has joined #ruby
planigan has quit [Client Quit]
planigan has joined #ruby
planigan has quit [Client Quit]
planigan has joined #ruby
milardovich has quit [Ping timeout: 246 seconds]
despai has joined #ruby
domgetter has joined #ruby
Mon_Ouie has joined #ruby
edliss has quit [Ping timeout: 260 seconds]
Axy has quit [Read error: Connection reset by peer]
Mia has quit [Read error: Connection reset by peer]
despai has quit [Quit: This computer has gone to sleep]
__Yiota has joined #ruby
jgt1 has joined #ruby
jgt has quit [Ping timeout: 246 seconds]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
jgt1 has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
ramfjord has joined #ruby
Mia has quit [Read error: Connection reset by peer]
DoubleMalt has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 246 seconds]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
ramfjord has quit [Ping timeout: 240 seconds]
despai has joined #ruby
raul782 has joined #ruby
despai has quit [Max SendQ exceeded]
SuperLag has quit [Quit: leaving]
Antiarc_ has quit [Ping timeout: 246 seconds]
despai has joined #ruby
brent__ has joined #ruby
nOwz has joined #ruby
despai has quit [Max SendQ exceeded]
despai has joined #ruby
SuperLag has joined #ruby
despai has quit [Max SendQ exceeded]
milardovich has joined #ruby
despai has joined #ruby
despai has quit [Max SendQ exceeded]
nOwz has quit [Ping timeout: 268 seconds]
despai has joined #ruby
agent_white has joined #ruby
despai has quit [Max SendQ exceeded]
milardovich has quit [Ping timeout: 240 seconds]
despai has joined #ruby
brent__ has quit [Remote host closed the connection]
despai has quit [Max SendQ exceeded]
despai has joined #ruby
jaruga________ has joined #ruby
despai has quit [Max SendQ exceeded]
jaruga________ has quit [Client Quit]
saneax is now known as saneax-_-|AFK
brent__ has joined #ruby
ResidentBiscuit has quit []
rgtk has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
rhyselsmore has joined #ruby
cschneid_ has joined #ruby
marr has quit [Ping timeout: 246 seconds]
mzo has quit [Quit: :*]
milardovich has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
milardovich has quit [Ping timeout: 246 seconds]
CloCkWeRX has quit [Quit: Leaving.]
brent__ has quit [Remote host closed the connection]
yaewa has quit [Ping timeout: 240 seconds]
moei has joined #ruby
elifoster has joined #ruby
rhyselsmore has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xenops has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rhyselsmore has joined #ruby
gloscombe has quit [Quit: gloscombe]
milardovich has joined #ruby
knight33 has joined #ruby
sneakerhax has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 246 seconds]
<knight33>
I'm trying to learn Ruby right now, and am finding myself sorta stuck knowing the basics, but needing more practice, and not sure where to progress from here. Any suggestions? Do I need to do more problems, if so, from where? Am I suppose to be building apps?
allisio has quit [Quit: WeeChat 1.8-dev]
chouhoul_ has quit []
mzo has joined #ruby
teddysmoker has quit [Quit: Konversation terminated!]
zeroDi has quit [Quit: WeeChat 1.7]
<elomatreb>
knight33: Building something is of course the best way to practice, if you have an idea for something you should try
zeroDi has joined #ruby
<knight33>
I don't...
<elomatreb>
If you're after practice, remember that it neither has to be the most complicated thing nor an original idea. It's perfectly valid to reimplement something existing
pawnbox_ has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
pawnbox has joined #ruby
allisio has joined #ruby
allisio has quit [Client Quit]
<knight33>
any recommended sites that provide practice problems?
allisio has joined #ruby
allisio has quit [Client Quit]
tristanp has quit [Remote host closed the connection]
milardovich has joined #ruby
mitt3ns has joined #ruby
pawnbox has quit [Remote host closed the connection]
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
pawnbox has joined #ruby
allisio has joined #ruby
allisio has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
allisio has joined #ruby
milardovich has quit [Ping timeout: 246 seconds]
zeroDi has quit [Quit: WeeChat 1.7]
mitt3ns has joined #ruby
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
gnufied has quit [Remote host closed the connection]
rhyselsmore has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
d^sh has quit [Ping timeout: 260 seconds]
d^sh_ has joined #ruby
mzo has quit [Ping timeout: 260 seconds]
eb0t_ is now known as eb0t
mitt3ns has joined #ruby
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
m4yfield has joined #ruby
m4yfield__ has quit [Ping timeout: 240 seconds]
HippoDippo has joined #ruby
enterprisey has quit [Remote host closed the connection]
usrben has joined #ruby
<HippoDippo>
where is a good place for me to paste some code, so i can share it with anyone who can help me. Github's gist?
<allisio>
https://eval.in/ if you can tolerate the occasional glitch.
<ChickeNES>
Anyone know of a library for parsing ruby that's not itself in ruby? I wanted to experiment with writing my own ruby implementation but would love to skip writing the parser portion if possible. I've tried google but all I've found so far has been libraries for writing parsers in ruby, or ruby parsers also written in ruby.
Suslov has joined #ruby
<elomatreb>
HippoDippo: There is no ++/-- in Ruby, it tries to make a binary + out of it and hits the end
<elomatreb>
+= 1/-= 1 are used instead
<HippoDippo>
elomatreb: Ohhh duhhh. My bad i was coding in Js earlier. Thanks
tristanp has quit [Ping timeout: 256 seconds]
al2o3-cr has quit [Quit: WeeChat 1.7]
shinnya has joined #ruby
centrx has quit []
tristanp has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
nOwz has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
prometheanfire has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
okdas has quit [Quit: We'll back later.]
__Yiota has joined #ruby
nOwz has quit [Ping timeout: 246 seconds]
armyriad has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
<prometheanfire>
trying to figure out this casting issue
<prometheanfire>
no implicit conversion of String into Array
<prometheanfire>
cmd += '--update' if 'latest' == should.to_s
<prometheanfire>
should is a symbol (or string)
herbmillerjr has joined #ruby
<prometheanfire>
no clue where the array thing comes from
milardovich has quit [Ping timeout: 264 seconds]
<elomatreb>
>> a ?
<ruby[bot]>
elomatreb: # => /tmp/execpad-3313fe7a74a8/source-3313fe7a74a8:3: syntax error, unexpected keyword_rescue ...check link for more (https://eval.in/756905)
<elomatreb>
Uh, sorry
<elomatreb>
>> a = []; a += "test" # prometheanfire
<ruby[bot]>
elomatreb: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<elomatreb>
UGH
<prometheanfire>
lol
<prometheanfire>
>> a = List; a += "test"
<ruby[bot]>
prometheanfire: # => uninitialized constant List (NameError) ...check link for more (https://eval.in/756906)
<prometheanfire>
nope
<elomatreb>
Anyway, `cmd` seems to be an array. If you want to add an element to it, use << instead
<prometheanfire>
>> a = Array; a += "test"
<ruby[bot]>
prometheanfire: # => undefined method `+' for Array:Class (NoMethodError) ...check link for more (https://eval.in/756908)
<prometheanfire>
anyway
<prometheanfire>
ah
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<prometheanfire>
Error: Could not update: undefined method `include' for ["latest"]:Array
chouhoulis has joined #ruby
milardovich has joined #ruby
<prometheanfire>
ah, because I'm stupid
TheWhip has joined #ruby
__Yiota has joined #ruby
<HippoDippo>
>> puts "Just seeing what this does... dont mind me"
<elomatreb>
HippoDippo: Normally it would (try to, if the website would work ._.) execute that code and print the result, but you need to be authed with NickServ for it to accept your input
<HippoDippo>
elomatreb: Ohh i see. I just thought i would give it a shot because i noticed it in your prev convo
milardovich has quit [Remote host closed the connection]
<allisio>
prometheanfire: You goofed way hard on Line 5.
<allisio>
Of course the Gentoo guy doesn't use syntax highlighting. :P
<prometheanfire>
allisio: how? the string goes for a few lines
<prometheanfire>
ends on line 9
<allisio>
prometheanfire: Excuse my derping.
<elomatreb>
allisio: I was confused by that too
<prometheanfire>
allisio: :D
<elomatreb>
In Ruby you generally use Heredocs for multiline strings
<prometheanfire>
ya, I just made it match other package providers
milardovich has joined #ruby
saneax-_-|AFK is now known as saneax
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
milardovich has quit [Client Quit]
cht has joined #ruby
enterprisey has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
tax has joined #ruby
HippoDippo has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Blacink has joined #ruby
Blacink has quit [Client Quit]
ozcanesen has joined #ruby
HippoDippo has joined #ruby
Suslov has quit [Quit: Leaving...]
Hoier has quit [Ping timeout: 268 seconds]
HippoDippo has quit [Quit: Going offline, see ya! (www.adiirc.com)]
sebd has quit [Ping timeout: 256 seconds]
sebd has joined #ruby
GeorgeTorwell has quit [Ping timeout: 240 seconds]
saneax is now known as saneax-_-|AFK
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cschneid_ has joined #ruby
gix has quit [Ping timeout: 240 seconds]
pilne has quit [Quit: Quitting!]
gix has joined #ruby
despai has joined #ruby
cschneid_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
AnomalousBit has quit [Quit: AnomalousBit]
V1s1ble has quit [Quit: Leaving]
enterprisey has quit [Remote host closed the connection]
spicerack has joined #ruby
_whitelogger has joined #ruby
harfangk has joined #ruby
claw has quit [Ping timeout: 260 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tristanp has quit [Remote host closed the connection]
despai has quit [Quit: This computer has gone to sleep]
Tharbakim has quit [Quit: Something has gone terribly wrong. Send help.]
rhyselsmore has joined #ruby
GeorgeTorwell has joined #ruby
Tharbakim has joined #ruby
claw has joined #ruby
antru has quit [Remote host closed the connection]
nOwz has joined #ruby
CloCkWeRX has joined #ruby
nOwz has quit [Ping timeout: 268 seconds]
despai has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
dviola has quit [Quit: WeeChat 1.7]
despai has quit [Quit: This computer has gone to sleep]
cschneid_ has quit [Read error: Connection reset by peer]
rhyselsmore has quit [Ping timeout: 264 seconds]
cschneid_ has joined #ruby
tax has quit [Quit: Leaving]
cschneid_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
Derperperd has joined #ruby
despai has joined #ruby
osliusar has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
pulkit4tech has joined #ruby
Trynemjoel has joined #ruby
osliusar has quit [Quit: Page closed]
despai has quit [Quit: This computer has gone to sleep]
TheWhip has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rahul_bajaj has joined #ruby
__Yiota has joined #ruby
TheWhip has joined #ruby
hahuang61 has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
pwnd_nsfw has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pwnd_nsfw` has quit [Ping timeout: 260 seconds]
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
renchan has joined #ruby
despai has joined #ruby
raul782 has quit [Ping timeout: 256 seconds]
Channel6 has quit [Quit: Leaving]
griffindy has quit [Read error: Connection reset by peer]
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minimalism has quit [Quit: minimalism]
_whitelogger has joined #ruby
agent_white has quit [Quit: agent_white]
despai has quit [Quit: This computer has gone to sleep]
edliss has joined #ruby
cschneid_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
edliss has quit [Ping timeout: 246 seconds]
_whitelogger has joined #ruby
DaniG2k has joined #ruby
Qchmqs has joined #ruby
elifoster has quit [Ping timeout: 246 seconds]
GeorgeTorwell has quit [Quit: EliteBNC - http://elitebnc.org (Auto-Removal: idle account/not being used)]
nOwz has joined #ruby
Qchmqs has quit [Remote host closed the connection]
cschneid_ has quit [Remote host closed the connection]
DaniG2k has quit [Quit: leaving]
nOwz has quit [Ping timeout: 256 seconds]
elifoster has joined #ruby
rippa has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
bkxd has joined #ruby
Qchmqs has joined #ruby
_whitelogger has joined #ruby
elifoster has quit [Quit: zzz]
Emmanuel_Chanel has quit [Remote host closed the connection]
deuterium has quit [Ping timeout: 240 seconds]
edliss has joined #ruby
Joufflu has joined #ruby
jgt1 has joined #ruby
jgt1 has quit [Client Quit]
jgt has joined #ruby
edliss_ has joined #ruby
hahuang61 has joined #ruby
saneax-_-|AFK is now known as saneax
edliss has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 268 seconds]
Silox| has joined #ruby
usrben has quit [Quit: leaving]
bkxd has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
pwnd_nsfw` has joined #ruby
nhhc has joined #ruby
nhhc has quit [Client Quit]
dionysus69 has joined #ruby
pwnd_nsfw has quit [Ping timeout: 240 seconds]
Qchmqs has quit [Remote host closed the connection]
lightheaded has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
antgel has joined #ruby
Robtop__ has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
<Joufflu>
So I started playing with "each_with_index" for a school assignment and this is what I have: https://repl.it/GX66/3 ...right now I can transform the 0's into 1s at the specified index; just wondering how I can do something similar but with a nested array i.e. r = [[0,1,0][0,1,0][0,1,0]]
bkxd has joined #ruby
TheWhip has quit [Remote host closed the connection]
<irc2000>
and it raises the question: what do I want to do for society?
<irc2000>
Problem is.. now.. that you can build up the infrastructure just to have some dictator to take it over or some gypsies tearing it down so that they can sell the copper
<irc2000>
do you understand me? That's making me sour
blackmesa has quit [Ping timeout: 258 seconds]
lupine has joined #ruby
mzo has joined #ruby
irc2000 has quit [Quit: irc2000]
pulkit4tech has quit [Quit: Connection closed for inactivity]
Silox| has quit [Quit: Connection closed for inactivity]
roamingdog has joined #ruby
unknown1 has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
Lord_of_Life has quit [Excess Flood]
Blacink has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]