<Radar>
al2o3-cr: ban must've expired. It won't happen again.
Tempesta has quit [Ping timeout: 240 seconds]
<al2o3-cr>
Radar: Ok.
kies has joined #ruby
nofxx has quit [Remote host closed the connection]
<al2o3-cr>
Radar: first class, if you know what i mean.
solocshaw has quit [Ping timeout: 250 seconds]
danostrowski has joined #ruby
<al2o3-cr>
Radar: mind a PM?
<Radar>
al2o3-cr: go ahead
Akagi201 has joined #ruby
danostrowski has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
chouhoulis has joined #ruby
CoderPuppy has quit [Ping timeout: 246 seconds]
cpup has joined #ruby
Akagi201 has quit [Ping timeout: 250 seconds]
aryanayra has joined #ruby
mattwashere has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 260 seconds]
RobertBirnie has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Ping timeout: 272 seconds]
jancel has quit [Ping timeout: 272 seconds]
roamingdog has quit [Remote host closed the connection]
jackjackdripper1 has quit [Read error: Connection reset by peer]
zapata has quit [Ping timeout: 260 seconds]
aryanayra has quit [Ping timeout: 250 seconds]
dkam has quit [Quit: Be back later ...]
blackmesa has quit [Quit: WeeChat 1.5]
gnufied has quit [Quit: Leaving]
vikaton has joined #ruby
sneakerhax has quit [Ping timeout: 260 seconds]
Rickmast_ has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 250 seconds]
gnarld_ is now known as nug
roamingdog has joined #ruby
aupadhye has joined #ruby
mesamoo has joined #ruby
Rickmasta has joined #ruby
nat2610 has joined #ruby
whathappens has quit [Quit: Leaving...]
blaxter has quit [Read error: Connection reset by peer]
zapata has joined #ruby
mleung has quit [Quit: mleung]
nankyokusei has joined #ruby
lightt has joined #ruby
lightt has quit [Max SendQ exceeded]
lightt has joined #ruby
lightt has quit [Client Quit]
<shevy>
al2o3-cr I use ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]; in general these days I can use the latest official ruby release without problem
<shevy>
oddly enough, after the 1.8.x to 1.9.x to 2.x, I actually don't really have any need for multiple different ruby versions. I got sorta complacent though, my code makes use of new syntax-featurs too, like foo: :bar for hashes. Sometimes I think that this is actually more readable than the => or perhaps just shorter - I use => too though
nankyokusei has quit [Ping timeout: 276 seconds]
<al2o3-cr>
shevy: totally agree if you do
jhack has quit [Quit: jhack]
CloCkWeRX has joined #ruby
martee has quit [Quit: martee]
maletor3 has joined #ruby
nat2610 has quit [Quit: Leaving.]
GodFather has quit [Ping timeout: 258 seconds]
<Radar>
I use { symbol: value } where I can, but I find oftentimes switching back to "
<Radar>
"string" => value when parsing stuff like JSON
RegulationD has joined #ruby
roamingdog has quit [Remote host closed the connection]
nat2610 has joined #ruby
idefine has quit [Read error: Connection reset by peer]
c355e3b has quit [Quit: Connection closed for inactivity]
der-landgraf has joined #ruby
jerematic has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
mattwashere has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
gtsai has joined #ruby
Vingador_ has joined #ruby
jphase has quit [Remote host closed the connection]
<benzrf>
:)
Vingador has quit [Ping timeout: 260 seconds]
arlek has quit [Ping timeout: 258 seconds]
Devalo has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jancel has joined #ruby
jphase has joined #ruby
watersoul has quit [Remote host closed the connection]
vikaton has quit [Quit: Connection closed for inactivity]
Devalo has quit [Ping timeout: 250 seconds]
djbkd has quit [Quit: My people need me...]
watersoul has joined #ruby
watersoul has quit [Max SendQ exceeded]
jrafanie has joined #ruby
jaguarmagenta has joined #ruby
SilverKey has joined #ruby
watersoul has joined #ruby
snockerton has joined #ruby
nankyokusei has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
rkazak has quit [Quit: Sleep.....ing....]
JesseH has quit [Quit: Leaving]
nat2610 has joined #ruby
gtsai has quit [Ping timeout: 250 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
czerasz has quit [Ping timeout: 252 seconds]
maletor3 has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord_ has joined #ruby
sorah has quit [Ping timeout: 258 seconds]
nat2610 has quit [Quit: Leaving.]
ramfjord has quit [Ping timeout: 244 seconds]
gtsai has joined #ruby
maletor3 has quit [Ping timeout: 272 seconds]
kraken has joined #ruby
kraken is now known as kraken_
ramfjord_ has quit [Ping timeout: 244 seconds]
<kraken_>
When do you guys use a double space and when do you guys use tabs? Do you use double space for methods and tabs for conditionals and for loops?
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kraken_>
gracias!
kraken_ has quit [Quit: Leaving]
nat2610 has quit [Client Quit]
hahuang61 has quit [Ping timeout: 258 seconds]
sorah has joined #ruby
scottschecter has quit [Remote host closed the connection]
<jnoob22>
Weird thing I've found .... should 2.2.0 be 3 times faster than 2.3.1? my script is only going through a demo of array methods with a very small size array but should it be that much faster going over the same code?
arescorpio has quit [Quit: Leaving.]
scottschecter has joined #ruby
idefine_ has quit [Read error: Connection reset by peer]
braincrash has quit [Quit: bye bye]
Cohedrin has joined #ruby
|meta has quit [Quit: Connection closed for inactivity]
yfeldblum has joined #ruby
braincrash has joined #ruby
yfeldblum has quit [Remote host closed the connection]
idefine has joined #ruby
yfeldblum has joined #ruby
launch has joined #ruby
nat2610 has joined #ruby
k3rn31 has joined #ruby
allcentury has quit [Ping timeout: 246 seconds]
idefine has quit [Read error: Connection reset by peer]
launch has quit [Quit: leaving]
chouhoulis has joined #ruby
floatingpoint has joined #ruby
arlek has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Coldblackice has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nanoz has joined #ruby
nat2610 has quit [Quit: Leaving.]
crystal77 has joined #ruby
tmtwd has quit [Ping timeout: 240 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
domgetter has joined #ruby
<Radar>
jnoob22: no that shouldn't be the case at all. Do you have some example code?
rafadc has joined #ruby
chipotle has joined #ruby
davedev24 has quit [Remote host closed the connection]
rafadc has quit [Ping timeout: 264 seconds]
maletor3 has joined #ruby
jancel has quit [Remote host closed the connection]
diegoaguilar has quit [Ping timeout: 244 seconds]
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
<jnoob22>
Radar, yeah just a sec... ill post on a paste bin
<jnoob22>
you guys here have one you prefer?
aries_liuxueyang has joined #ruby
<Radar>
?gist jnoob22
<ruby[bot]>
jnoob22: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<jnoob22>
when I saw the 0.071 compared to a very equal python script at .200, I was impressed since I'm more of a Python guy
<jnoob22>
but the .200 for ruby 2.3.1, i thought there was something very odd.
yfeldblum has quit [Ping timeout: 260 seconds]
AnoHito has quit [Ping timeout: 260 seconds]
<jnoob22>
Radar, you think that's unexpected behavior?
Vingador_ has quit [Ping timeout: 260 seconds]
Corrosive_ has quit [Ping timeout: 260 seconds]
<Radar>
jnoob22: yes I think it is
aries_liuxueyang has quit [Ping timeout: 272 seconds]
<Radar>
Ruby should be getting faster, not slower!
aries_liuxueyang has joined #ruby
Seich has joined #ruby
gix has quit [Ping timeout: 272 seconds]
<jnoob22>
yeah my thoughts too .... have been looking through release notes to see if there was possibly some new functionality in array methods to account for this but haven't seen anything even close to compelling yet.
<jnoob22>
thanks much for the sanity check.
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<Radar>
np
freerobby has quit [Quit: Leaving.]
yfeldblum has joined #ruby
jancel has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JesseH has joined #ruby
Vingador has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 276 seconds]
craigp has quit [Ping timeout: 250 seconds]
ketherah has joined #ruby
matp has joined #ruby
<jnoob22>
Is there a Ruby dev channel by any chance?
nando293921 has quit [Ping timeout: 264 seconds]
yfeldblu_ has joined #ruby
nat2610 has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
scepticulous has joined #ruby
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AnoHito_ has quit [Read error: Connection reset by peer]
Sammichmaker has quit [Read error: Connection reset by peer]
AnoHito_ has joined #ruby
CrazyEddy has quit [Read error: Connection reset by peer]
monoprotic has quit [Read error: Connection reset by peer]
nanoz has quit [Quit: <3]
monoprotic has joined #ruby
monoprotic has quit [Changing host]
monoprotic has joined #ruby
grassass has joined #ruby
shortdudey123 has quit [Ping timeout: 260 seconds]
neanderslob has quit [Quit: No Ping reply in 180 seconds.]
maletor has joined #ruby
finisherr has quit [Read error: Connection reset by peer]
finisherr has joined #ruby
beilabs has quit [Ping timeout: 250 seconds]
neanderslob has joined #ruby
hinbody has quit [Ping timeout: 250 seconds]
mg^ has quit [Ping timeout: 250 seconds]
beilabs has joined #ruby
jnoob22 has quit [Ping timeout: 272 seconds]
shortdudey123 has joined #ruby
sk_0 has quit [Remote host closed the connection]
hinbody has joined #ruby
sk_0 has joined #ruby
mg^ has joined #ruby
<al2o3-cr>
~?
jnoob22 has joined #ruby
tax has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
nat2610 has quit [Quit: Leaving.]
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nat2610 has joined #ruby
mattwashere has quit [Remote host closed the connection]
SpikeMaster has joined #ruby
djbkd has joined #ruby
elifoster has joined #ruby
SpikeMaster has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
nankyokusei has joined #ruby
pawnbox has joined #ruby
k3rn31 has joined #ruby
JakFrist has joined #ruby
davedev24 has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
pat has quit [Remote host closed the connection]
cajone has left #ruby [#ruby]
beilabs has quit [Ping timeout: 276 seconds]
maletor3 has joined #ruby
davedev24 has quit [Ping timeout: 272 seconds]
hahuang61 has joined #ruby
CorOne has joined #ruby
RegulationD has joined #ruby
<agent_white>
jnoob22: I don't believe so. Mailing lists/user groups are your closest bet to that. I _thought_ #ruby-lang was for that, but apparently it's invite-only now.
Corrosive__ has quit [Ping timeout: 244 seconds]
beilabs has joined #ruby
maletor3 has quit [Ping timeout: 240 seconds]
bobbycvi_ has quit [Quit: ...]
hahuang61 has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
Coldblackice has joined #ruby
<jnoob22>
np, thanks agent_white
ur5us has quit [Remote host closed the connection]
tax has joined #ruby
jphase has quit [Remote host closed the connection]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
BlackHatJack has quit [Ping timeout: 260 seconds]
idefine has quit [Remote host closed the connection]
nomadic has quit [Quit: -bye-]
solocshaw has quit [Ping timeout: 258 seconds]
cd83x has quit [Remote host closed the connection]
LoneHermit has joined #ruby
karmatr0n has joined #ruby
nomadic has joined #ruby
nomadic has quit [Client Quit]
jancel has quit [Read error: Connection reset by peer]
karmatr0n has quit [Ping timeout: 260 seconds]
shinnya has joined #ruby
arooni has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
nickjj_ has joined #ruby
idefine has joined #ruby
nickjj has quit [Ping timeout: 252 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
ledestin has joined #ruby
craigp has joined #ruby
bluOxigen has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
kareeoleez has quit [Remote host closed the connection]
arlek has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
mleung has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
jancel has joined #ruby
rafadc has joined #ruby
maletor has joined #ruby
arlek has joined #ruby
Caerus|Away is now known as Caerus
snockerton has quit [Quit: Leaving.]
mleung has quit [Client Quit]
ta_ has joined #ruby
sauvin has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
matp has quit [Remote host closed the connection]
matp has joined #ruby
Vile` has quit [Ping timeout: 244 seconds]
RobertBirnie has joined #ruby
ur5us has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
jancel has quit [Remote host closed the connection]
limelacroix has joined #ruby
Es0teric has joined #ruby
safe has quit [Quit: Leaving]
meatflaps has quit [Quit: Later, cunts]
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
arlek has quit [Read error: Connection reset by peer]
Es0teric has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
rafadc has quit []
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JakFrist has joined #ruby
ur5us has quit [Remote host closed the connection]
phredus has joined #ruby
Pupeno has joined #ruby
tildes_ has joined #ruby
uberbrodt has quit [Quit: leaving]
scepticulous has quit [Ping timeout: 240 seconds]
uberbrodt has joined #ruby
SilverKey has joined #ruby
phredus has quit [Remote host closed the connection]
maletor3 has joined #ruby
Yiota has joined #ruby
anisha has joined #ruby
LoneHermit has quit [Remote host closed the connection]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cd83x has joined #ruby
LoneHerm_ has joined #ruby
Yiota has quit [Client Quit]
maletor3 has quit [Ping timeout: 252 seconds]
last_staff has joined #ruby
joonty has joined #ruby
elifoster has quit [Ping timeout: 258 seconds]
cd83x has quit [Ping timeout: 252 seconds]
wald0 has joined #ruby
electrostat has quit [Read error: Connection reset by peer]
<wald0>
ok so im learning C (K&R book), but i found something missing, i need to learn all those linking, cflags, make, autotools stuff so commonly used in linux*, suggestions?
beilabs has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
infra-red has joined #ruby
phredus has joined #ruby
TomyLobo has joined #ruby
codecop has joined #ruby
moeabdol has joined #ruby
karmatr0n has joined #ruby
beilabs has joined #ruby
phredus has quit [Remote host closed the connection]
<Caerus>
wald0, maybe ask around in C## and ##Linux. also, stackoverflow is usually a good source for information, most likely someone has already asked your questions there.
_aeris_ has quit [Remote host closed the connection]
kareeoleez has joined #ruby
_aeris_ has joined #ruby
kareeoleez has quit [Remote host closed the connection]
infra-red has quit [Remote host closed the connection]
electrostat has joined #ruby
karmatr0n has quit [Ping timeout: 260 seconds]
infra-red has joined #ruby
kareeoleez has joined #ruby
<wald0>
duh, im in #ruby? sorry
Macaveli has joined #ruby
ur5us has joined #ruby
eGGshke has joined #ruby
Macaveli has quit [Ping timeout: 260 seconds]
finisherr has quit [Quit: finisherr]
Robtop__ has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
SilverKey has quit [Quit: Halted.]
gtsai has quit [Ping timeout: 276 seconds]
tildes_ has quit [Ping timeout: 260 seconds]
Devalo has quit [Remote host closed the connection]
jetpackjoe has joined #ruby
Macaveli has joined #ruby
gtsai has joined #ruby
devbug_ has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 258 seconds]
devbug has quit [Ping timeout: 258 seconds]
fenre has joined #ruby
andikr has joined #ruby
agent_white has quit [Quit: backinabit]
Dimik has joined #ruby
jetpackjoe has quit [Quit: jetpackjoe]
n1x-nz has joined #ruby
devbug_ has quit [Ping timeout: 260 seconds]
nat2610 has quit [Quit: Leaving.]
davedev24 has joined #ruby
last_staff has quit [Remote host closed the connection]
sauvin has quit [Read error: Connection reset by peer]
davedev24 has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
pepee has quit [Quit: bye $IRC]
phredus has joined #ruby
sauvin has joined #ruby
djbkd has quit [Quit: My people need me...]
certainty has joined #ruby
ffgghhj has joined #ruby
gtsai has quit [Ping timeout: 246 seconds]
nankyokusei has quit [Ping timeout: 258 seconds]
TomyLobo has quit [Ping timeout: 252 seconds]
joonty has quit [Quit: This computer has gone to sleep]
wald0 has quit [Ping timeout: 244 seconds]
cd83x has joined #ruby
yfeldblum has quit [Remote host closed the connection]
wald0 has joined #ruby
infra-red has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
maletor3 has joined #ruby
scepticulous has joined #ruby
phredus has quit [Remote host closed the connection]
cd83x has quit [Ping timeout: 244 seconds]
Yiota has joined #ruby
maletor3 has quit [Ping timeout: 264 seconds]
Yiota has quit [Client Quit]
jetpackjoe has joined #ruby
jetpackjoe has quit [Client Quit]
CausaMortis has joined #ruby
Guest18391 is now known as awk
n1x-nz has quit [Read error: Connection reset by peer]
<flughafen>
hey shevy
Spami_ has joined #ruby
iamvery has quit [Ping timeout: 244 seconds]
last_staff has joined #ruby
Yiota has joined #ruby
karmatr0n has joined #ruby
snsei has quit [Remote host closed the connection]
n1x-nz has joined #ruby
Yiota has quit [Client Quit]
scepticulous has quit [Ping timeout: 246 seconds]
kali2 has joined #ruby
scepticulous has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
Yiota has joined #ruby
Yiota has quit [Max SendQ exceeded]
Yiota has joined #ruby
kali2 has quit [Quit: Leaving]
Insty is now known as Insti
Akagi201 has quit [Ping timeout: 258 seconds]
Akagi201 has joined #ruby
beilabs has quit [Ping timeout: 264 seconds]
n1x-nz has quit [Quit: Computer says no]
ferr has joined #ruby
hightower2 has quit [Ping timeout: 276 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
infra-red has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ffgghhj has quit [Quit: Leaving]
maletor has quit [Quit: Computer has gone to sleep.]
ur5us has joined #ruby
isxek has joined #ruby
wald0 has quit [Ping timeout: 260 seconds]
TomyWork has joined #ruby
Couch has joined #ruby
CloCkWeRX has joined #ruby
CloCkWeRX has quit [Client Quit]
Pupeno has quit [Remote host closed the connection]
norc has joined #ruby
LoneHerm_ is now known as sendpass
certainty has quit [Ping timeout: 260 seconds]
CloCkWeRX has joined #ruby
<adaedra>
Hello
cd83x has joined #ruby
<norc>
Greetings adaedra
<flughafen>
hey adaedra
sendpass is now known as LoneHermit_
davedev24 has joined #ruby
mark_66 has joined #ruby
n1x-nz has joined #ruby
wald0 has joined #ruby
beilabs has joined #ruby
phredus has joined #ruby
cd83x has quit [Ping timeout: 260 seconds]
ry4nn has quit [Ping timeout: 252 seconds]
jaruga___ has joined #ruby
jaruga___ is now known as jaruga____
Akagi201 has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
Akagi201 has joined #ruby
davedev24 has quit [Ping timeout: 272 seconds]
certainty has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
beilabs has joined #ruby
aganov has joined #ruby
aufi has joined #ruby
maletor3 has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
digneety has joined #ruby
digneety has quit [Changing host]
digneety has joined #ruby
maletor3 has quit [Ping timeout: 276 seconds]
codecop has quit [Remote host closed the connection]
alfiemax has joined #ruby
czerasz has joined #ruby
bobix has joined #ruby
<norc>
Mmm, so I feel like installing Rails5 side by side with Rails4. What is the flavour of the month using chruby to switch between gem sets? gem_home?
andikr has quit [Remote host closed the connection]
johnDoe111 has joined #ruby
Billias has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 244 seconds]
bobix_ has joined #ruby
LoneHermit_ has quit [Remote host closed the connection]
LoneHermit has joined #ruby
bobix_ has quit [Client Quit]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnDoe111^ has joined #ruby
johnDoe111 has quit [Ping timeout: 264 seconds]
bobix has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
karmatr0n has joined #ruby
LoneHermit has quit [Ping timeout: 240 seconds]
Yiota has joined #ruby
jenrzzz has joined #ruby
Billias has joined #ruby
raeoks has joined #ruby
Yiota has quit [Max SendQ exceeded]
Yiota has joined #ruby
Yiota has quit [Client Quit]
k3rn31 has quit [Quit: Computer has gone to sleep.]
lightt has joined #ruby
karmatr0n has quit [Ping timeout: 260 seconds]
GriffinHeart has joined #ruby
Dimik has quit [Ping timeout: 244 seconds]
c0mrad3 has quit [Quit: Connection closed for inactivity]
<flughafen>
whats the signifigance of a variable with @
beilabs has quit [Ping timeout: 240 seconds]
johnDoe111^ has quit [Remote host closed the connection]
johnDoe111 has joined #ruby
johnDoe111 has quit [Remote host closed the connection]
beilabs has joined #ruby
kareeole_ has joined #ruby
haxrbyte_ has quit [Remote host closed the connection]
kareeole_ is now known as kareeoleez_
<norc>
flughafen: It is an instance variable.
kareeoleez_ is now known as kareeoleez__
kareeoleez has quit [Disconnected by services]
<norc>
flughafen: Note that @ is still part of the name, so it is not a magic modifier.
domgetter has quit [Ping timeout: 246 seconds]
haxrbyte has joined #ruby
<norc>
So you would use instance_variable_get(:@foo)
johnDoe111 has joined #ruby
kareeoleez__ is now known as kareeoleez
Yiota has joined #ruby
<flughafen>
norc: and if it's not part of a class?
beilabs_ has joined #ruby
<norc>
flughafen: It can be.
<norc>
flughafen: Everything is an object, even a class.
Yiota has quit [Max SendQ exceeded]
<flughafen>
right. ok.
<norc>
flughafen: That also means that everything, including a class, can have instance variables.
Pupeno has joined #ruby
Yiota has joined #ruby
Yiota has quit [Max SendQ exceeded]
<norc>
>> a = "a"; a.instance_variable_set(:@foo, 42); puts a.instance_variables
<norc>
>> class A; @a = 1; def foo; puts @a; end; end; A.new.foo # flughafen: Note that this means you have to be careful in which context you are. Here one is about an instance variable of the class, the other about instance variables of that classes objects.
johnDoe111 has quit [Remote host closed the connection]
n1x-nz has quit [Ping timeout: 258 seconds]
Yiota has quit [Ping timeout: 240 seconds]
n1x-nz has joined #ruby
joonty has joined #ruby
startupality has joined #ruby
<flughafen>
thanks norc
<norc>
have a good flight.
fumk has quit [Quit: It wasn't me, it was the papers :(]
codecop has joined #ruby
fumk has joined #ruby
konsolebox has joined #ruby
<flughafen>
i'm still grounded norc
Gasher has joined #ruby
certainty has quit [Ping timeout: 246 seconds]
startupality has quit [Quit: startupality]
Pupeno has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
marr has joined #ruby
raeoks has quit [Read error: Connection reset by peer]
troulouliou_div2 has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
andikr has joined #ruby
johnDoe111 has joined #ruby
Yiota has joined #ruby
<iooner>
Hi!
Yiota has quit [Client Quit]
maletor3 has joined #ruby
madgen has joined #ruby
eGGshke has quit [Quit: Leaving...]
maletor3 has quit [Ping timeout: 272 seconds]
jackjackdripper has joined #ruby
certainty has joined #ruby
pawnbox has quit [Remote host closed the connection]
johnDoe111 has quit [Remote host closed the connection]
n1x-nz has quit [Quit: Computer says no]
swartzcr has joined #ruby
blaxter has joined #ruby
<swartzcr>
I'm having a lot of trouble with dependencies in ruby 2.2.4 even while using rvm, especially with something called psych, would anyone be willing to help me debug?
blackmesa has quit [Quit: WeeChat 1.5]
idefine has joined #ruby
phredus has quit [Read error: Connection reset by peer]
phredus has joined #ruby
johnDoe111 has joined #ruby
johnDoe111 has quit [Remote host closed the connection]
idefine has quit [Ping timeout: 244 seconds]
karmatr0n has joined #ruby
pawnbox has joined #ruby
Yiota has joined #ruby
Yiota has quit [Max SendQ exceeded]
Yiota has joined #ruby
phredus has quit [Remote host closed the connection]
Yiota has quit [Max SendQ exceeded]
<hanmac>
swartzcr: what is your operating system?
Yiota has joined #ruby
Yiota has quit [Max SendQ exceeded]
karmatr0n has quit [Ping timeout: 240 seconds]
<swartzcr>
I'm on debian stable
idefine has joined #ruby
<hanmac>
swartzcr: "apt-get build-dep ruby" and/or "apt-get build-dep ruby2.2" (or what exist as package on your system)
<swartzcr>
nope
<swartzcr>
or maybe I've already done that for ruby
freija_ has joined #ruby
<swartzcr>
well so I unsinstalled everything and re-installed it and now at least I'm getting a new error
lightt has quit [Remote host closed the connection]
idefine has quit [Ping timeout: 244 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<norc>
It is not even turing complete. It is a turing machine!
postmodern has quit [Quit: Leaving]
cd83x has quit [Ping timeout: 240 seconds]
<norc>
Ill see what my bosses think. :)
hutch34 has joined #ruby
nhhc has joined #ruby
roamingdog has joined #ruby
Pupeno has quit [Remote host closed the connection]
<tobiasvl>
do it!
Pupeno has joined #ruby
freija_ has quit [Read error: Connection reset by peer]
<shevy>
hellyeah beer is easier to drink than is learning a programming language!
emilkarl has joined #ruby
k3rn31 has joined #ruby
<hellyeah>
shevy: i have some backgrounds like c, java, c#, javascript, drracket, php ..
beilabs has quit [Read error: Connection reset by peer]
<shevy>
then this will be very easy. I used php before ruby
Vile` has joined #ruby
millerti has joined #ruby
Yiota has joined #ruby
guardianJ has quit [Remote host closed the connection]
<hellyeah>
but ruby and php are not on same leage right i mean
<hellyeah>
afaik you have to learn ruby on rails for web stuff
idefine has joined #ruby
deadnull_ has joined #ruby
beilabs has joined #ruby
Yiota has quit [Ping timeout: 244 seconds]
sid_fules has joined #ruby
rkazak has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
idefine has quit [Ping timeout: 240 seconds]
<shevy>
ruby and php are not very similar at all anywhere
ldnunes has joined #ruby
hutch34 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
<norc>
hellyeah: Ruby on Rails is just one out of many ways to do web stuff.
<norc>
hellyeah: You could do also use Sinatra (or perhaps even your own Rack middleware)
<solars>
is there any helper to round to something like the nearest 0.05? e.g. 1.22 -> 1.20 1.24 -> 1.25 etc?
sid_fules has quit [Read error: Connection reset by peer]
romistrub has joined #ruby
hutch34 has joined #ruby
<adaedra>
do *2, round at 0.1, then /2?
<solars>
ok in this case I need to round up to the next 0.05
johnDoe111 has quit [Remote host closed the connection]
<romistrub>
Hi everybody. I'm running a TCPSocket.recv(2) to get the first couple of bits from a stream, and Ruby proceeds past the recv, but when I check the length of the received string, it's 0... can anybody explain this?
k3rn31 has joined #ruby
<adaedra>
first, it's more likely you're getting the first couple of bytes
<romistrub>
yes, bytes, sorry
<romistrub>
brain fart
hanmac has quit [Ping timeout: 258 seconds]
<adaedra>
it may indicate you're at the end of the stream
startupality has joined #ruby
<romistrub>
for some reason I thought ruby was supposed to stick at the recv call until it received the bytes specified
<romistrub>
is there a way to check how many more bytes are "still in the tube"?
sid_fules has joined #ruby
<adaedra>
if the stream is closed, there's no point of waiting, so it returns empty
<adaedra>
even if I think it raises in this case
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<romistrub>
so I should be waiting to recv until the stream is open... how do I do that?
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<romistrub_>
this is the real one, where the real error is thrown at line 39
scepticulous has joined #ruby
<apeiros>
`opcode = byteone-128`?
<romistrub_>
the only difference in the source is that "read" is changed back to "recv"
fclausen has quit [Ping timeout: 240 seconds]
<norc>
romistrub_: As I said. Use select() in a loop.
<norc>
That is your best bet.
<romistrub_>
hahaha, this is ancient code, I have to look back over my websocket manual to remember why that works
<romistrub_>
okay, I'll try that, thanks norc
tvw has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
<norc>
romistrub_: And I meant IO#select of course
binaryplease1 has quit [Ping timeout: 260 seconds]
<norc>
romistrub_: On an unrelated note, if you do Ruby coding - I highly recommend you switch to expanded tabs with 2 space tab/shift width.
<norc>
People will thank you.
startupality has quit [Quit: startupality]
<apeiros>
norc: you mean IO.select
<romistrub_>
I'm being a real treat today, sorry for another silly question, what are "expanded tabs"?
startupality has joined #ruby
<apeiros>
(which is btw. the same as plain select(), aka Kernel#select())
<norc>
apeiros: Oh! My bad.
<apeiros>
totally! :D
futilegames has quit [Quit: futilegames]
<apeiros>
romistrub_: it means "replace the tabs with spaces"
<romistrub_>
Forgive me. It's been two years since I've done any Ruby programming. Just trying to get back into it.
<norc>
apeiros: Well, I wanted to make sure he didn't end up trying to include Enumerable or some other nonsense.
nagaraj has joined #ruby
moredhel_ has joined #ruby
<norc>
romistrub_: It's just a recommendation, please take it as such.
<apeiros>
norc: eh, I'm just staying true to being the resident pedant
<romistrub_>
norc, will do, thanks
<apeiros>
though oxbad1dea made a good job of that too. wonder where he is.
k3rn31 has quit [Quit: Computer has gone to sleep.]
CloCkWeRX has joined #ruby
<norc>
You mean Oxdea
<norc>
Ox0dea
<norc>
In fact.
<apeiros>
ah right
<apeiros>
see, it's been such a long time, I don't even remember his nick!
<norc>
Perhaps he got his finger stuck in an assembler.
rkazak has quit [Quit: Sleep.....ing....]
alfiemax has left #ruby ["Leaving"]
Vile` has quit [Quit: .]
<norc>
apeiros: Man I love how Rails is making people violate the law of demeter like crazy!
<Darkwater>
ytti: after select, how do I read everything that's available/
<norc>
Never before has a.b&.c&.d&.e&.f been so much fun.
<ytti>
Darkwater, select retursn array of anything available
JJM has joined #ruby
<ytti>
Darkwater, iterate thorugh that array and read line at a time, in order, until they are no longer available, then return to select
<Darkwater>
yeah but how do I read until they're no longer available?
<ytti>
ask io if has something
<ytti>
if it has, read line
<norc>
See apeiros?
<norc>
I just did it.
<norc>
Oh wait you cant.
<norc>
But take my word for it.
moredhel_ has quit [Client Quit]
JJM has quit [Client Quit]
k3rn31 has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
dling` has quit []
chip__ has quit [Ping timeout: 260 seconds]
edwinvdgraaf has joined #ruby
flashpoint9 has joined #ruby
<apeiros>
norc: I'm not quite sure I'd agree that chaining is violating the law of demeter. though I've never really put much energy into thinking it through :)
nankyokusei has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
minimalism has quit [Quit: minimalism]
hutch34 has joined #ruby
<romistrub_>
norc: tried your solution using IO.select; didn't work, because the Socket is already open (was used for the Websocket handshake already)
tomphp has joined #ruby
<Caerus>
see ya later #ruby
<romistrub_>
bye Caerus
nankyokusei has quit [Ping timeout: 272 seconds]
Caerus is now known as Caerus|Away
idefine has joined #ruby
d0nn1e has quit [Ping timeout: 244 seconds]
beilabs has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 276 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
<romistrub_>
norc: just added the IO.select before the recv call
<norc>
romistrub_: Did you just blindly ignore the other part I mentioned?
diegoaguilar has quit [Read error: Connection reset by peer]
<romistrub_>
norc: I might've missed it, sorry
daguilaraguilar has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
e4xit has quit [Ping timeout: 272 seconds]
e4xit_ is now known as e4xit
<romistrub_>
norc: what was the other part?
madgen has quit [Ping timeout: 246 seconds]
<norc>
romistrub_: Read up.
maletor3 has joined #ruby
idefine has quit [Read error: Connection reset by peer]
<romistrub_>
you mean the tabs to spaces?
<norc>
No.
<norc>
romistrub_: But just use #read if you must.
<norc>
That will block until the bytes have been read.
<romistrub_>
let me try that
nando293921 has quit [Ping timeout: 258 seconds]
<norc>
romistrub_: It just has that nasty side effect that it will block until the socket closes the connection if the bytes have not been sent.
Akagi201 has quit [Remote host closed the connection]
karmatr0n has joined #ruby
tomphp has joined #ruby
idefine has joined #ruby
nando293921 has joined #ruby
<romistrub_>
norc: but if it's threaded, it shouldn't be a problem, right?
maletor3 has quit [Ping timeout: 250 seconds]
<norc>
romistrub_: If you already have threads, you might as well use non blocking IO.
freerobby has joined #ruby
<romistrub_>
isn't there overhead for the constantly running loop?
fmcgeough has joined #ruby
startupality has quit [Quit: startupality]
joonty has quit [Quit: This computer has gone to sleep]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
karmatr0n has quit [Ping timeout: 260 seconds]
millerti has joined #ruby
<norc>
romistrub_: The thing that non blocking IO offers is that you could for example handle multiple sockets at the same time.
<norc>
Overlapped IO
icey_ has joined #ruby
hutch34 has quit [Ping timeout: 252 seconds]
<norc>
romistrub_: also by practicing non-blocking IO, you will be getting experience for when you want to do something real with any IO
sid_fules has joined #ruby
<romistrub_>
norc: okay, thanks :)
jerematic has joined #ruby
icey has quit [Ping timeout: 276 seconds]
Pupeno_ has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
certainty has quit [Ping timeout: 244 seconds]
GodFather has quit [Ping timeout: 276 seconds]
karmatr0n has joined #ruby
norc has quit [Ping timeout: 250 seconds]
ramortegui has joined #ruby
vondruch has quit [Ping timeout: 244 seconds]
ChiefAlexander has joined #ruby
mikecmpbll has joined #ruby
joonty has joined #ruby
karmatr0n has quit [Ping timeout: 260 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tk has joined #ruby
tk is now known as Guest4208
norc has joined #ruby
duckpuppy has joined #ruby
qasaur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
liri has joined #ruby
<liri>
hi all
aegis3121 has joined #ruby
ceyhun has joined #ruby
emilkarl is now known as emilkarl[away]
<apeiros>
hi liri
<liri>
does anyone can think of a reason for which module can be not included into a class?
Yiota has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
Yiota has quit [Max SendQ exceeded]
<liri>
or at least it looks as it is not included, as ancestor list dos not contain included module..
tinnvec has quit [Remote host closed the connection]
Yiota has joined #ruby
<liri>
unfortunately I have no small snippet to reproduce it, it only shows up when I run it altogether with sinatra gem.
ceyhun has quit [Client Quit]
<liri>
And I am just wondering what steps should I take to track down process of building class hierarchy.
<apeiros>
liri: if it's already included further down
<apeiros>
other than that - there shouldn't be any
rafael_ has joined #ruby
rafael_ has quit [Client Quit]
tinnvec has joined #ruby
<liri>
What if module M is included in class A, which inherits from class B which also includes module M,
<liri>
is module M going to be shown in ancestor list twice?
<apeiros>
no. that's what I was referring to
<apeiros>
it'll only be included once
allcentury has quit [Ping timeout: 240 seconds]
<liri>
hmm
hutch34 has joined #ruby
bkxd has joined #ruby
<liri>
So having two times the same module in ancestor list shouldn't happen
<apeiros>
afaik s/shouldn't/can't/
<liri>
when I run some script it shows:ruby -I../lib -e "require 'web-runner/lib/input_file_manager'; include Pbp::Run; puts InputPreparator.ancestors" InputPreparator Pbp::Run Monitor MonitorMixin Object Pbp::Run Log4r Kernel BasicObject
<liri>
InputPreparator inherits from Monitor ( which includes MonitorMixin)
gagrio is now known as gagrio-brb
<liri>
but Pbp::Run module shows up twice.
<apeiros>
you can make two classes with the same name
<liri>
it is included in InputPreparator and also included at top level
idefine has quit [Read error: Connection reset by peer]
<apeiros>
only one will be able to be resolved at that "constant path", though
<liri>
so you suggest that these are two differents entities?
<apeiros>
you can check
<apeiros>
object_id should differ
<apeiros>
and .equal? should return false
<mc_fail>
guys, is there any way to set conflicts with OptionParser ?
<mc_fail>
like, to say that -i cannot be passed together with -m
kareeoleez has quit [Remote host closed the connection]
<liri>
by saying "<apeiros> you can make two classes with the same name" you also mean 'modules' not only 'classes' ?
domgetter has joined #ruby
<apeiros>
any constant
<apeiros>
though only modules and classes set their name property according to the first constant they get assigned to
Xentil has joined #ruby
Yiota has quit [Ping timeout: 260 seconds]
kareeoleez has joined #ruby
<apeiros>
>> class A; end; x = A; Object.send(:remove_const, :A); class A; end; [x, A, x.object_id, A.object_id]
<apeiros>
liri: so two different objects… 47102554097160 != 47102555926780
malconis has joined #ruby
<liri>
what about Pbp::Run
<apeiros>
ah, you have oid first
<liri>
47102553593700
<liri>
yes
<apeiros>
ok, this looks suspicious
<liri>
it looks like the same entity.
Yiota has joined #ruby
<apeiros>
gist your full code please
Yiota has quit [Max SendQ exceeded]
moos3 has joined #ruby
<norc>
liri: There is only 2 ways to shadow identifiers with others, and that is a) refinements and b) some bizarre feature that noone uses.
JakFrist has joined #ruby
<liri>
ok, I need to extract some short part ;)
Yiota has joined #ruby
<Darkwater>
urgh, I hate programming with terminals
Yiota has quit [Client Quit]
<Darkwater>
I can read stdout and stderr now sure but now the problem is with buffering
Xentil has joined #ruby
<liri>
well, actually I have made some changes to web app which I support and the problem which I came across is little bit different but I am just in the middle of investigation
* apeiros
afk
ta_ has quit [Remote host closed the connection]
cdg has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
jrafanie has joined #ruby
noobsu has joined #ruby
Macaveli_ has joined #ruby
jas02 has joined #ruby
duckpuppy has joined #ruby
k3rn31 has joined #ruby
JJM has joined #ruby
allcentury has joined #ruby
madgen has joined #ruby
Macaveli has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Ping timeout: 240 seconds]
fenre has quit [Ping timeout: 260 seconds]
Macaveli_ has quit [Ping timeout: 258 seconds]
ramfjord has joined #ruby
nagaraj has quit [Remote host closed the connection]
emilkarl[away] is now known as emilkarl
sid_fules has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Read error: Connection reset by peer]
ChiefAlexander has quit [Remote host closed the connection]
k3rn31_ has joined #ruby
<liri>
What I am actually trying to solve is issue causing that when active_record is added our method is being shadowed by one defined in active_record sources (named try)
k3rn31 has quit [Read error: Connection reset by peer]
maletor3 has joined #ruby
<liri>
It looks like, during method lookup, method try from Object (active_record) is invoked instead of out method defined in our module
<liri>
when I show ancestor list, in the scope from where try method is called, it shows that Object is before our module where try is defined.
moos3 has quit [Quit: leaving]
<liri>
and I have no idea why as I use include within body of class from which call is made.
<liri>
List should show, something like, OurObject, OurModule, ... Object ...
<liri>
but it shows OurObject ... Object ... OurModule
sid_fules has joined #ruby
<liri>
what has to be said is the fact that, OurModule is included at two levels, one is within class OurObject, and also at the top level .
ChiefAlexander has joined #ruby
<liri>
is there some way to track down what happens when ancestors are built ?
crystal77 has joined #ruby
maletor3 has quit [Ping timeout: 260 seconds]
<liri>
So I could see, at what lines ancestor list for given object changes ?
<liri>
So I could see, at what lines ancestor list for given class changes ?
<liri>
namely it looks, like if including module takes a place at top level, and afterwards class includes the same level, then in ancestor list included module is after Object (is treated as included to Object)
certainty has quit [Ping timeout: 272 seconds]
CloCkWeRX has quit [Quit: Leaving.]
floatingpoint has joined #ruby
<liri>
however, when first including it in class A, and afterwards including at top level, then module is present twice in ancestor list...
yqt has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
CloCkWeRX has left #ruby [#ruby]
Noxilex has quit [Ping timeout: 258 seconds]
SilverKey has joined #ruby
craigp has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
codecop has quit [Remote host closed the connection]
tomphp has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
tomphp has quit [Client Quit]
gtsai has joined #ruby
gtsai_ has joined #ruby
JesseH has joined #ruby
Yiota has joined #ruby
Yiota has quit [Max SendQ exceeded]
Yiota has joined #ruby
ishe_ua has quit [Remote host closed the connection]
<liri>
is there some way to check in what order files are required when startin VM ?
dhollinger has joined #ruby
gtsai has quit [Ping timeout: 244 seconds]
tvw has quit [Read error: Connection reset by peer]
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ruby
jnoob22 has quit [Quit: Leaving]
fedexo has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
ocbtec has quit [Quit: leaving]
edwinvdgraaf has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaruga___ has joined #ruby
kareeoleez has quit [Remote host closed the connection]
jaruga____ has quit [Ping timeout: 244 seconds]
sid_fules has joined #ruby
aganov has quit [Remote host closed the connection]
kgrz has joined #ruby
gtsai_ has quit [Remote host closed the connection]
gtsai has joined #ruby
fclausen has joined #ruby
moeabdol has quit [Ping timeout: 258 seconds]
karmatr0n has quit [Ping timeout: 240 seconds]
mattwashere has quit [Remote host closed the connection]
tomphp has joined #ruby
tomphp has quit [Client Quit]
ta_ has joined #ruby
<jokke>
hello
<jokke>
i'm having some trouble with dotenv
<jokke>
it seems to override env vars passed from the command line
mikecmpb_ has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Ping timeout: 252 seconds]
edwinvdgraaf has quit [Ping timeout: 246 seconds]
Guest4208 has quit [Quit: ばいばい]
Azure has quit [Remote host closed the connection]
scottschecter has quit [Remote host closed the connection]
sid_fules has quit [Read error: Connection reset by peer]
scottschecter has joined #ruby
chip__ has joined #ruby
nofacade has joined #ruby
<domgetter>
goeast: on line 36, you refer to @artist, but since you never stored anything in that instance variable, it comes up as nil, and so nil points to your song in the hash
<goeast>
Yes I know and I am not able to store something in it
<goeast>
:(
hypercube32 has joined #ruby
<domgetter>
goeast: add_song probably needs to be send both the artist and the song, so that you can add the song to the list of songs for that artist.
SilverKey has quit [Quit: Halted.]
<domgetter>
needs to be sent*
maletor has quit [Ping timeout: 240 seconds]
sid_fules has joined #ruby
maletor3 has joined #ruby
aep has joined #ruby
<aep>
any idea why bundler is saying: Bundler::HTTPError: Network error while fetching ?
aufi has quit [Ping timeout: 260 seconds]
danostrowski has quit [Ping timeout: 244 seconds]
<goeast>
domgetter : I am checking
<aep>
this is gems version 2.6.4
<aep>
on ruby 2.3.1p112
kareeoleez has quit [Remote host closed the connection]
yqt has quit [Ping timeout: 260 seconds]
Madplatypus has joined #ruby
<aep>
actually looks like gem itself is broken too:
<aep>
Getting SRV record failed: DNS result has no information for _rubygems._tcp.api.rubygems.org
symm- has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
blandflakes has joined #ruby
SilverKey has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
<domgetter>
goeast: on line 36, you want @artist to just be artist. artist is what you put in the parameter list on line 35, so artist is what you want on line 36
agit0 has quit [Read error: Connection reset by peer]
sid_fules has joined #ruby
tildes_ has joined #ruby
noobsu has quit [Ping timeout: 244 seconds]
MyMind has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sid_fules has quit [Read error: Connection reset by peer]
amclain has joined #ruby
<domgetter>
goeast: when there's an @ sign in front of a variable name, it's a different variable than if it doesn't have the @ sign in front of it. so @my_number and my_number are two different variables
infra-red has quit [Remote host closed the connection]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
Mattx has joined #ruby
minimalism has joined #ruby
ocbtec has joined #ruby
<Mattx>
hey people!
[gmi] has quit [Client Quit]
Eiam_ has quit [Client Quit]
<Mattx>
I'm getting some weird resuls with this. I'm running whois from Ruby, and I'm trying to read the exitcode so that I know when it failed (sometimes the connection is reseted, the domain is malformed or whatever)
GodFather has quit [Ping timeout: 276 seconds]
<Mattx>
for instance, how do you get the exitcode of `whois foo.com` ?
certainty has joined #ruby
hahuang61 has joined #ruby
<kaleido>
very carefully?
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Mattx>
I've tried with $?.exitstatus, which seems to work, but I think errors with that code while using system(), I'm double checking now
<elomatreb>
The numerical exit code is available using $?.exitstatus
<Mattx>
err, think I've seen *
RegulationD has joined #ruby
yebyen has joined #ruby
<Mattx>
ah, I know what happens
<Mattx>
whois returns exit code 1 when the domain is invalid, or when the domain is not registered
<Mattx>
for instance `whois oasnfosanf.com`; $?.exitstatus == 1
skweek has quit [Ping timeout: 240 seconds]
<elomatreb>
Isn't a tool like dig more suitable?
platzhirsch has quit [Quit: WeeChat 1.4]
mattwashere has quit [Remote host closed the connection]
<elomatreb>
nevermind; misread what you're trying to do
certainty has quit [Ping timeout: 276 seconds]
mattwashere has joined #ruby
rcvalle has joined #ruby
<yebyen>
does anyone use mariadb client library with mysql2 gem in windows?
marr123 is now known as marr
<Mattx>
elomatreb, I'm trying to know when whois returns an error because there was a problem with the connection (I sometimes get "connection reset" or fgets problems), or because the domain is not registered
RegulationD has quit [Remote host closed the connection]
eljimmy has quit [Quit: Leaving]
<yebyen>
i am obviously getting malformed packet errors because my mysql2 gem was compiled against mysql client lib (not maria lib)
sneakerhax has joined #ruby
David_H_Smith has joined #ruby
<yebyen>
i let ShoesRB compile the gem for me (or however it fetches, looked like it was compiling)
Mia has quit [Read error: Connection reset by peer]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
CoderPuppy has joined #ruby
cpup has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
nat2610 has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
choke has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
jaguarmagenta has joined #ruby
kareeoleez has joined #ruby
ferr has joined #ruby
<shevy>
hanmac yippie, I got the sample at rwx-master/samples/widgets/widgets.rb to work - ctrl-c SIGINT does not seem to work though, I will file at github
jottr_ has joined #ruby
<hanmac>
shevy yeah when i test it in irb Ctrl-c seems to prevented ... (i dont know why and also not how to fix it) ... probably some Event i need to add
<shevy>
ah ok
hahuang61 has joined #ruby
goeast has joined #ruby
ips|malc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cpup has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
jaguarmagenta has quit [Ping timeout: 244 seconds]
wazzat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mattwashere has quit [Remote host closed the connection]
nadir has quit [Quit: Connection closed for inactivity]
mattwashere has joined #ruby
djbkd has quit [Quit: My people need me...]
<kspencer>
This may sound stupid, but I'm trying var = a + b + c / but I need it to not care about
CoderPuppy has quit [Ping timeout: 276 seconds]
<kspencer>
er lets try again
Snowy has quit [Remote host closed the connection]
<kspencer>
This may sound stupid, but I'm trying arrayvar = a-array + b-array + c-array / but I need it to not care about a variable being nil
agentmeerkat has quit [Read error: Connection reset by peer]
jottr has joined #ruby
agentmeerkat has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
agentmeerkat has quit [Read error: Connection reset by peer]
<jhass>
0/1 as "booleans"?
* jhass
slowly moves away
tildes_ has joined #ruby
<jhass>
also waaaaay too much logic to embed into a template
blaxter has quit [Read error: Connection reset by peer]
JonasOSDever has quit [Quit: *Running away*]
<kspencer>
that's also literally the template though, I have the main page post to an iframe with that, so that I can have an 'instant' generation, instead of having it generate a whole page/window for it
nat26101 has joined #ruby
haxrbyte has joined #ruby
<jhass>
I don't even want to know what you mean with that
agentmeerkat has joined #ruby
nat2610 has quit [Ping timeout: 244 seconds]
maletor has joined #ruby
Macaveli has joined #ruby
gtsai has quit [Ping timeout: 258 seconds]
einarj has quit [Remote host closed the connection]
Siegfried has joined #ruby
ffgghhj has joined #ruby
<Siegfried>
Hi all, would greately appreciate some help. Friend of mine is getting into programming and is coding on windows, and we're trying to figure out which version of ruby to install
Phoeynix has left #ruby ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
<kspencer>
@ jhass right, that's what i'm using, but I got 5 for 1 when using regular arguments, then 26 for 1 when using the keywords
aegis3121 has joined #ruby
<kspencer>
oh wait
<kspencer>
i read it wrong, the 26 for 1 is with concat
MrBusiness3 has quit [Ping timeout: 272 seconds]
<jhass>
oh right, shouldn't have used * there
cpup has quit [Ping timeout: 264 seconds]
<jhass>
still have to to_a there unfortunately
tildes_ has quit [Ping timeout: 244 seconds]
<kspencer>
added those in and will check it
nankyokusei has joined #ruby
<hanmac>
shevy playing with SIGINT does show that ruby doesn'T get the trigger anymore and wx does monopolize it ... hm maybe i need some junk to fix that
allcentury has joined #ruby
<kspencer>
there it all works now :D
CausaMortis-LT has joined #ruby
startupality has quit [Quit: startupality]
noobsu has quit [Remote host closed the connection]
CausaMortis has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
nofacade has joined #ruby
<shevy>
hehe "some junk"
skolman has quit [Remote host closed the connection]
<_cj_>
in your trunk?
<_cj_>
I can share some of mine
sid_fules has joined #ruby
miqlas-H has joined #ruby
<miqlas-H>
Hi Guys!
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<hxegon>
*.-/\/ <- junk trunk -> (_|_)
<hxegon>
Hey miqlas-H
cd83x has joined #ruby
Snowy has joined #ruby
Snowy has quit [Remote host closed the connection]
omphe has joined #ruby
CausaMortis-LT has quit [Ping timeout: 276 seconds]
kirun has joined #ruby
cd83x has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 258 seconds]
nettoweb has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
freerobby has quit [Client Quit]
CausaMortis-LT has joined #ruby
jottr has joined #ruby
freerobby has joined #ruby
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<miqlas-H>
Hi Guys!
mynameisbrian has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
<miqlas-H>
I'm working on updating the ruby port for Haiku (latest, with gcc5 and all the shiny things). But i have some problems with it.
nettoweb has quit [Client Quit]
<miqlas-H>
I got it compiled with some terminal hacks (without source changes), but i don't think that all this magic required. There need to be a problem with the configure script i think.
<norc>
miqlas-H, I hope not that there need to be a problem with it.
<mynameisbrian>
anyone read "Design patterns in Ruby"?
<mynameisbrian>
is that a good first Ruby book to read
<miqlas-H>
As you can see, i had to define some things in the build section.
coyo has joined #ruby
coyo has quit [Changing host]
coyo has joined #ruby
<mynameisbrian>
for someone who knows how to program
gregf has joined #ruby
scepticulous has joined #ruby
<miqlas-H>
CFLAGS, CXXFLAGS and so on shouldn't be required, i suppose.
<mynameisbrian>
I'm looking for a book to learn Ruby. I know a tiny bit of it and want to expand. I was going to use Eloquent Ruby but now I'm seeing that it should be the second book you read
choke has joined #ruby
<miqlas-H>
norc :) English is not my native language, sorry.
Pupeno has quit [Read error: Connection reset by peer]
allcentury has quit [Ping timeout: 250 seconds]
<norc>
miqlas-H, I'm just teasing.
Pupeno has joined #ruby
CausaMortis-LT has quit [Ping timeout: 244 seconds]
<hxegon>
mynameisbrian: Can't say much about design pattern in ruby, or eloquent ruby, but 'practical object-oriented design in ruby' is my jams
<norc>
mynameisbrian, eloquent ruby is very frequently mentioned in this channel.
<mynameisbrian>
norc, eloquent ruby is one that you read second though. it's covering syntax I haven't learned yet.
<miqlas-H>
norc: then let me rework my sentence: I think, this defines shouldn't be needed, if the configure script would be able to handle the platform differences properly. Or maybe i'm who doing something wrong.
<mynameisbrian>
thanks hxegon ill take a look
ffgghhj has quit [Quit: Leaving]
<norc>
mynameisbrian, ah nevermind then. :)
palms has quit [Ping timeout: 252 seconds]
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
palms has joined #ruby
smathy_ is now known as smathy
GodFather has joined #ruby
last_staff has joined #ruby
dfockler has joined #ruby
<shevy>
I forgot ... pp foo is calling ... which method again? .to_str ?
<shevy>
or .inspect
soc42 has joined #ruby
<mynameisbrian>
p calls inspect
yqt has joined #ruby
<mynameisbrian>
so maybe pp calls to_str
soc42 has quit [Remote host closed the connection]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mclong has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
certainty has joined #ruby
mynameisbrian has quit [Quit: Page closed]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
whathappens has quit [Quit: Leaving...]
nat2610 has quit [Quit: Leaving.]
CausaMortis-LT has joined #ruby
ocbtec has quit [Quit: leaving]
blaxter has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
allcentury has joined #ruby
CausaMortis-LT has quit [Read error: Connection reset by peer]
certainty has quit [Ping timeout: 260 seconds]
<toretore>
pp calls pretty_print
johnmilton has quit [Remote host closed the connection]
CausaMortis has joined #ruby
roamingdog has joined #ruby
codecop has quit [Remote host closed the connection]
sid_fules has joined #ruby
hahuang61 has joined #ruby
whathappens has joined #ruby
hahuang61 has quit [Client Quit]
hahuang65 has joined #ruby
soc42 has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
noobsu has joined #ruby
Ragen has joined #ruby
fclausen has joined #ruby
blaxter has quit [Quit: KTHXBYE]
<Ragen>
Hi I get this errr --->> make: *** [do-install-all] Error 1
<elomatreb>
norc: I guess I could agree, but it makes everything so easy. I usually don't have to deal with missing libraries when building most native extensions
tildes_ has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.5]
<Ragen>
I was told to try that link in rubyonrails channell
<havenwood>
Ragen: Can you update the openssl package through apt-get and try again?
nando293921 has joined #ruby
<norc>
electrostat, yeah. This is a rare case, generally ruby-install manages to install all ruby types without trouble.
<norc>
(Assuming you are not on some exotic system)
hahuang65 has joined #ruby
<Ragen>
ok will try now
<havenwood>
And it's easier to fix bugs in hundreds of lines of shell than it is in tens of thousands of lines of shell.
<norc>
electrostat, building native extensions usually happens with gems though, and rvm does not make this any better.
jaguarmagenta has quit [Ping timeout: 258 seconds]
<Ragen>
openssl is already the newest version.
freerobby has quit [Ping timeout: 260 seconds]
whathappens has quit [Remote host closed the connection]
martee has quit [Quit: martee]
freerobby has joined #ruby
mclong has quit [Quit: Leaving]
hahuang65 has quit [Ping timeout: 260 seconds]
smathy has quit [Read error: Connection reset by peer]
eljimmy has quit [Quit: This computer has gone to sleep]
anisha has quit [Quit: Leaving]
<hanmac>
shevy: wxWidgets has own signal handler ... so ruby didnt get it ... for now i have it that SIGINT does close the wxApp with wxExit (which also closes the program)
nankyokusei has quit [Ping timeout: 246 seconds]
<hanmac>
probably it would be an idea to send all signals back to ruby, but for now your sigint problem is fixed
hahuang65 has quit [Ping timeout: 244 seconds]
hahuang65 has joined #ruby
omphe has quit [Read error: Connection reset by peer]
peitur has quit []
Devalo has joined #ruby
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
tgeeky has joined #ruby
johnmilton has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
last_staff has quit [Quit: last_staff]
robbyoconnor has quit [Max SendQ exceeded]
nat2610 has quit [Quit: Leaving.]
robbyoconnor has joined #ruby
robbyoconnor has quit [Client Quit]
Asher has quit [Quit: Leaving.]
CausaMortis has joined #ruby
nadir has joined #ruby
Snowy has joined #ruby
martee has quit [Quit: martee]
ryann has joined #ruby
hahuang65 has quit [Ping timeout: 252 seconds]
scepticulous has joined #ruby
nat2610 has joined #ruby
Devalo has quit [Remote host closed the connection]
martee has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
benegget_ has joined #ruby
beneggett has quit [Ping timeout: 272 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
bruce_lee has quit [Ping timeout: 240 seconds]
martee has quit [Client Quit]
firstdayonthejob has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
zenspider has quit [Quit: bye]
sid_fules has joined #ruby
SilverKey has quit [Quit: Halted.]
scepticulous has quit [Ping timeout: 260 seconds]
gnufied has quit [Quit: Leaving]
zenspider has joined #ruby
certainty has joined #ruby
matp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CJKinni` has quit [Read error: Connection reset by peer]
zenspider has quit [Client Quit]
rodfersou has quit [Quit: leaving]
certainty has quit [Ping timeout: 260 seconds]
SilverKey has joined #ruby
ldnunes has quit [Quit: Leaving]
nettoweb has joined #ruby
cpup has joined #ruby
jgrevich has joined #ruby
scepticulous has joined #ruby
jas02 has joined #ruby
CoderPuppy has quit [Ping timeout: 260 seconds]
martee has joined #ruby
martee has quit [Client Quit]
roamingdog has quit [Remote host closed the connection]
aries_liuxueyang has quit [Ping timeout: 276 seconds]
roamingdog has joined #ruby
jas02 has quit [Ping timeout: 276 seconds]
fclausen has joined #ruby
whathappens has joined #ruby
aries_liuxueyang has joined #ruby
haxrbyte_ has joined #ruby
ChiefAlexander has quit [Quit: Leaving...]
eljimmy has joined #ruby
Pupeno has joined #ruby
kies has quit [Ping timeout: 260 seconds]
skolman_ has quit [Remote host closed the connection]
haxrbyte has quit [Read error: Connection reset by peer]
zeroDi has joined #ruby
fclausen has quit [Ping timeout: 240 seconds]
skolman_ has joined #ruby
TomyLobo has quit [Ping timeout: 276 seconds]
martee has joined #ruby
ryann has quit [Remote host closed the connection]
ryann has joined #ruby
hahuang65 has joined #ruby
pawnbox has quit [Remote host closed the connection]
norc has quit [Quit: Leaving]
CoderPuppy has joined #ruby
pawnbox has joined #ruby
kareeoleez has quit [Remote host closed the connection]
aswen has joined #ruby
bruce_lee has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 264 seconds]
jaguarmagenta has joined #ruby
LoneHermit has joined #ruby
duckpuppy has quit [Ping timeout: 258 seconds]
cpup has quit [Ping timeout: 240 seconds]
yqt has quit [Ping timeout: 260 seconds]
alexio has joined #ruby
snockerton has quit [Quit: Leaving.]
jaguarmagenta has quit [Ping timeout: 260 seconds]
Ragen has quit [Remote host closed the connection]
postmodern has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
hahuang65 has quit [Ping timeout: 272 seconds]
roamingdog has quit [Remote host closed the connection]
ramortegui has quit [Remote host closed the connection]
workmad3 has joined #ruby
platzhirsch has quit [Quit: WeeChat 1.4]
scepticulous has quit [Ping timeout: 258 seconds]
cpup has joined #ruby
hutch34_ has quit [Ping timeout: 244 seconds]
hutch34_ has joined #ruby
CoderPuppy has quit [Ping timeout: 264 seconds]
blackgoat has quit [Ping timeout: 244 seconds]
bobbycvi has joined #ruby
LoneHermit has quit [Remote host closed the connection]
postmodern has joined #ruby
yqt has joined #ruby
ferr has quit [Ping timeout: 276 seconds]
sid_fules has quit [Read error: Connection reset by peer]
SilverKey has quit [Quit: Halted.]
sid_fules has joined #ruby
kraken has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
kraken is now known as Guest40903
ta_ has joined #ruby
Guest40903 is now known as Kraken_
<Kraken_>
if (class A) inherits from (class B), and (class B) inherits from (class C), does (class A) inherit from (class C)?