apeiros changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
<i8igmac> `wavemon` is a console application used to show wifi connectivity
benlieb has joined #ruby
pawnbox has quit [Remote host closed the connection]
UserOO7 has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
ccmcdee-sfc has joined #ruby
shiru has joined #ruby
kareeoleez has quit [Ping timeout: 268 seconds]
spligak has joined #ruby
Prawnzy has quit [Remote host closed the connection]
pragmaticus has quit [Ping timeout: 250 seconds]
cyphase has quit [Ping timeout: 245 seconds]
shayan_ has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 260 seconds]
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has joined #ruby
shiru has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
cyphase has joined #ruby
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
Rickmasta has joined #ruby
dextertzu has quit [Read error: Connection reset by peer]
dextertzu has joined #ruby
User458764 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
tummy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
nankyokusei has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
Guest57477 has quit [Ping timeout: 245 seconds]
nankyokusei has joined #ruby
infernix has joined #ruby
cdg has quit [Ping timeout: 245 seconds]
daryl256 has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
dnicole has joined #ruby
ccmcdee-sfc has quit [Ping timeout: 250 seconds]
xall_ has quit [Ping timeout: 245 seconds]
nankyokusei has joined #ruby
ccmcdee-sfc has joined #ruby
dnicole has quit [Ping timeout: 260 seconds]
roamingdog has joined #ruby
jaguarmagenta has joined #ruby
mikecmpbll has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
ziarkaen has quit [Ping timeout: 244 seconds]
roamingdog has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 256 seconds]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
xall_ has joined #ruby
roamingdog has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
roamingdog has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
marr has quit [Ping timeout: 245 seconds]
benlieb has quit [Quit: benlieb]
nankyokusei has quit [Ping timeout: 260 seconds]
pandbearit has quit [Quit: Leaving]
aces1up has joined #ruby
Jameser has joined #ruby
benlieb has joined #ruby
chouhoulis has joined #ruby
railssmith has joined #ruby
benlieb has quit [Client Quit]
Guest66 has joined #ruby
exchgr has joined #ruby
ziarkaen has joined #ruby
hutch34 has joined #ruby
mikecmpbll has quit [Quit: inabit.]
kareeoleez has joined #ruby
LoneHerm_ has joined #ruby
skweek has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
ziarkaen has quit [Ping timeout: 268 seconds]
blackbombay has joined #ruby
ace05 has quit [Remote host closed the connection]
KramerC has joined #ruby
KramerC has quit [Remote host closed the connection]
blackbombay has quit [Ping timeout: 260 seconds]
solocshaw has joined #ruby
ace05 has joined #ruby
chouhoulis has quit [Remote host closed the connection]
sneakerhax has joined #ruby
roamingdog has joined #ruby
LoneHerm_ has joined #ruby
UserOO7 has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
LoneHerm_ has quit [Remote host closed the connection]
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KramerC has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
aces1up has quit []
jaguarmagenta has quit [Ping timeout: 268 seconds]
dmtd has quit [Quit: Connection closed for inactivity]
UserOO7 has joined #ruby
pibby has quit [Quit: leaving]
A5101 has quit [Ping timeout: 265 seconds]
runlevl4 has joined #ruby
UserOO7 has quit [Read error: Connection reset by peer]
matp has joined #ruby
kareeoleez has quit [Ping timeout: 245 seconds]
Bellthoven has quit []
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
UserOO7 has joined #ruby
brt has quit [Ping timeout: 256 seconds]
roamingdog has quit [Remote host closed the connection]
User458764 has joined #ruby
LoneHermit has joined #ruby
brendan- has joined #ruby
arescorpio has joined #ruby
ccmcdee-sfc has quit [Quit: WeeChat 1.6]
Yzguy has joined #ruby
zeroDi has quit [Ping timeout: 260 seconds]
Technodrome has joined #ruby
ccmcdee-sfc has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
NeverTired has quit [Quit: Connection closed for inactivity]
Puffball has joined #ruby
JeanCarloMachado has joined #ruby
gingray has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
MrBusiness3 has joined #ruby
MrBusiness2 has quit [Ping timeout: 245 seconds]
Yzguy has quit [Quit: Zzz...]
roamingdog has joined #ruby
railssmith has joined #ruby
Yzguy has joined #ruby
bruce_lee has quit [Ping timeout: 260 seconds]
bruce_lee has joined #ruby
roamingdog has quit [Remote host closed the connection]
eelster has quit [Ping timeout: 265 seconds]
ziarkaen has joined #ruby
seventy has joined #ruby
Yzguy has quit [Client Quit]
Cohedrin has joined #ruby
zeroDi has joined #ruby
<seventy> Hey everyone! Just made my way through the first few 100 pages of my ruby guide. Any tips on a project I could get started on to learn more?
bkxd has quit [Ping timeout: 250 seconds]
UserOO7 has quit [Read error: Connection reset by peer]
gingray has quit [Ping timeout: 252 seconds]
UserOO7 has joined #ruby
ziarkaen has quit [Ping timeout: 250 seconds]
LoneHermit has quit [Remote host closed the connection]
<hardest> how do I cut this in ruby 1995-08-13 00:00:00 -0700\n
<hardest> to 1995-08-13
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dviola has quit [Quit: WeeChat 1.6]
Kays_ has joined #ruby
<Kays_> h
solocshaw has joined #ruby
chouhoulis has joined #ruby
creat has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
<seventy> .pop?
eelster has joined #ruby
xall_ has quit [Ping timeout: 260 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hardest> seventy think .pop only works with lists
<hardest> I found !slice :)
<hardest> tks
xall_ has joined #ruby
<seventy> hardest, oh that would make sense! Day 2 with ruby
<hardest> seventy you're doing well for the 2nd day, no worries, Particularly, I found ruby harder than python
solocshaw has quit [Ping timeout: 260 seconds]
<hardest> but most of (my needs) API perform better ;)
SCHAAP137 has joined #ruby
<seventy> I've put python down for now because I disliked "learn python the hard way"
<seventy> Any better resource?
<hardest> I don't suggest the hard way resource for anyone :S
<hardest> I learned from codeacademy I found nice
<hardest> In most of cases I do still prefer python
JoshS has joined #ruby
<seventy> Problem with learning these things is not having a real project to go for afterwards.
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<seventy> Python is often seen as "better" than ruby but whatever.
<seventy> I like ruby
<hardest> seventy well, hard to say since I have my stuffs to do
<hardest> my stuffs are related to web crawling and gathering data from web
<hardest> handling files
<hardest> etc
<hardest> seventy believe that some APIs are better in Ruby
<hardest> you gotta need to use both
xall_ has quit [Ping timeout: 250 seconds]
<hardest> but I suggest you to start with Python
<hardest> it is easier
<hardest> and IMO is better to find common troubles (FAQ) over the internet
<seventy> and how quickly can I get through codeacademy??
<hardest> in Ruby you gotta find yourself stucked for more time
<hardest> seventy depends on you
<hardest> going through full time maybe 4 days
<hardest> but I dont suggest you that
<hardest> sometimes you need to stand up and take a breath to fresh your mind
<hardest> :P
aibot has quit [Ping timeout: 252 seconds]
aibot has joined #ruby
chouhoulis has quit [Remote host closed the connection]
misterpink has quit [Ping timeout: 245 seconds]
shinnya has quit [Ping timeout: 260 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
kareeoleez has joined #ruby
kezo has joined #ruby
UserOO7 has quit [Read error: Connection reset by peer]
SCHAAP137 has quit [Quit: Leaving]
pgib has quit [Quit: 00 PC LOAD LETTER]
Kays_ has quit [Ping timeout: 260 seconds]
UserOO7 has joined #ruby
shmuli has joined #ruby
ccmcdee-sfc has left #ruby ["WeeChat 1.6"]
harai_ has quit [Ping timeout: 250 seconds]
gizless has joined #ruby
d^sh has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
d^sh has joined #ruby
gizmore has quit [Ping timeout: 268 seconds]
kezo has quit [Read error: Connection reset by peer]
Channel6 has quit [Quit: Leaving]
ace05 has quit [Remote host closed the connection]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
nankyokusei has quit [Ping timeout: 256 seconds]
rkazak has quit [Quit: Sleep.....ing....]
Prawnzy has joined #ruby
muelleme has quit [Ping timeout: 244 seconds]
Dimik has joined #ruby
optiz0r has quit [Ping timeout: 244 seconds]
ace05 has joined #ruby
infernix has quit [Ping timeout: 245 seconds]
railssmith has joined #ruby
chouhoulis has joined #ruby
UserOO7 has quit []
roamingdog has joined #ruby
kareeoleez has quit [Ping timeout: 244 seconds]
RadarIsGay has joined #ruby
<RadarIsGay> Hey guys!
<RadarIsGay> Look, I didn't know how to do this, but best to just come out with it - I am now a proud colon cowboy!
LoneHerm_ has joined #ruby
hutch34 has quit [Ping timeout: 256 seconds]
<RadarIsGay> Hopefully everyone will accept me as I am.
ace05 has quit [Ping timeout: 260 seconds]
roamingdog has quit [Ping timeout: 252 seconds]
Cohedrin has joined #ruby
creat has quit [Ping timeout: 265 seconds]
harai_ has joined #ruby
cdg has joined #ruby
creat has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
tummy has joined #ruby
gusrub__ has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
sneakerhax has quit [Read error: Connection reset by peer]
hightower3 has joined #ruby
nebben has quit [Remote host closed the connection]
hightower2 has quit [Ping timeout: 245 seconds]
nebben has joined #ruby
xall_ has joined #ruby
Puffball has quit [Remote host closed the connection]
tdy has joined #ruby
blackbombay has joined #ruby
ben_____ has quit [Remote host closed the connection]
ben_____ has joined #ruby
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ace05 has joined #ruby
djbkd has quit [Quit: Leaving...]
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harai_ has quit [Ping timeout: 260 seconds]
daryl256 has quit [Quit: Textual IRC Client: www.textualapp.com]
railssmith has joined #ruby
<havenwood> !troll RadarIsGay
RadarIsGay was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
ben_____ has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
RadarEatsDicks has joined #ruby
<RadarEatsDicks> Hello there!
hanmac has quit [Ping timeout: 245 seconds]
<RadarEatsDicks> My name is Radar, and I enjoy eating dicks!
<RadarEatsDicks> How does everyone else feel about eating dicks?
<RadarEatsDicks> Me, I love it!
<masterasia> ^lol what did Radar do to you to deserve this trolling?
<masterasia> please stop
<masterasia> you're embarassing yourself
<RadarEatsDicks> Well, funny you should ask.
<RadarEatsDicks> I've been a long-time user of Ruby, and while I enjoy the language, Radar has been quite the cunt!
<masterasia> How so?
Prawnzy has quit [Remote host closed the connection]
<RadarEatsDicks> Oh, where to begin.
<masterasia> He's always been helpful
<RadarEatsDicks> It was a cold winter morning in 2012. The leaves were turning, the air was a frothy mist, and Radar was being a massive cunt, as per usual.
<RadarEatsDicks> Me? I needed some help!
kezo has joined #ruby
<RadarEatsDicks> I turned to my friends in #ruby, and while many were quite supportive, Radar was a nasty man.
<RadarEatsDicks> Therefore, I am now Radar, and I enjoy a fresh cock in my mouth!
<masterasia> So you held a grudge for 4 years?
<masterasia> move on dude
<RadarEatsDicks> Move on? I've just begun!
<llua> why are you entertaining him?
Prawnzy has joined #ruby
<RadarEatsDicks> Oh, make no mistake - the cuntish behavior was not limited to the year of our lord 2012.
<masterasia> I'll leave him alone - I was curious why he was trolling
<RadarEatsDicks> Far from it. It was a regular occurrence!
<RadarEatsDicks> I have to sleep now, but I bid you all a fond farewell.
<RadarEatsDicks> Time to munch on a dick!
<RadarEatsDicks> Sincerely, Radar.
RadarEatsDicks has quit [Client Quit]
gusrub__ has quit [Remote host closed the connection]
kezo has quit [Ping timeout: 260 seconds]
dextertzu has quit [Read error: Connection reset by peer]
blackbombay_ has joined #ruby
JeanCarloMachado has quit [Ping timeout: 250 seconds]
abernstein has quit [Read error: Connection reset by peer]
Puffball has joined #ruby
abernstein has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
MissionCritical has joined #ruby
blackbombay has quit [Ping timeout: 252 seconds]
gusrub has quit [Quit: Leaving]
shmuli has quit [Remote host closed the connection]
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
renderfu_ has joined #ruby
Prawnzy has quit [Remote host closed the connection]
hanmac has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
tummy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dextertzu has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
optiz0r has joined #ruby
infernix has joined #ruby
Jameser has joined #ruby
renderfu_ has quit [Read error: Connection timed out]
<baweaver> !troll RadarEatsDicks
Channel6 has joined #ruby
shmuli has joined #ruby
LoneHerm_ has joined #ruby
muelleme has joined #ruby
aryaching has joined #ruby
hightower2 has joined #ruby
hightower3 has quit [Ping timeout: 265 seconds]
elifoster has joined #ruby
Prawnzy has joined #ruby
muelleme has quit [Ping timeout: 250 seconds]
frozengeek has quit [Quit: frozengeek]
Puffball has quit [Remote host closed the connection]
kareeoleez has joined #ruby
Puffball has joined #ruby
railssmith has joined #ruby
Bellthoven has joined #ruby
kalima32 has joined #ruby
kalima32 has quit [Client Quit]
Immune_ has joined #ruby
gix has quit [Ping timeout: 265 seconds]
Immune has quit [Ping timeout: 260 seconds]
JoshS has quit [Quit: Leaving]
Felipe__ has joined #ruby
gix has joined #ruby
cdg has joined #ruby
Immune_ has quit [Ping timeout: 260 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
dkam has joined #ruby
arescorpio has quit [Quit: Leaving.]
hutch34 has joined #ruby
dkam has quit [Client Quit]
infernix has quit [Ping timeout: 252 seconds]
cdg has quit [Ping timeout: 245 seconds]
Puffball has quit [Remote host closed the connection]
MrSamuel has joined #ruby
Channel6 has quit [Ping timeout: 260 seconds]
sneakerhax has joined #ruby
A5101 has joined #ruby
Puffball has joined #ruby
d3d1rty has quit [Ping timeout: 252 seconds]
ben_____ has joined #ruby
sepp2k has quit [Ping timeout: 245 seconds]
sepp2k1 has joined #ruby
Felipe__ has quit [Quit: Leaving]
Channel6 has joined #ruby
ben_____ has quit [Ping timeout: 260 seconds]
jcao219 has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
blackwind_123 has quit [Ping timeout: 244 seconds]
Prawnzy has quit [Read error: Connection reset by peer]
Prawnzy has joined #ruby
infernix has joined #ruby
kareeoleez has quit [Ping timeout: 252 seconds]
blackwind_123 has joined #ruby
Vile` has joined #ruby
xall_ has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
bkxd has joined #ruby
palms has joined #ruby
NeverTired has joined #ruby
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tummy has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
R314Y has joined #ruby
<R314Y> hello
R314Y has left #ruby [#ruby]
patteh_ has joined #ruby
jaguarmagenta has joined #ruby
Puffball has quit [Remote host closed the connection]
patteh has quit [Read error: Connection reset by peer]
railssmith has joined #ruby
Puffball has joined #ruby
shinnya has joined #ruby
tummy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
sneakerhax has quit [Read error: Connection reset by peer]
raatiniemi has quit [Remote host closed the connection]
seventy has quit [Ping timeout: 256 seconds]
kezo has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
bkxd has quit [Ping timeout: 260 seconds]
Yzguy has joined #ruby
Puffball has quit [Remote host closed the connection]
SteenJobs has joined #ruby
Immune has joined #ruby
shmuli has quit [Remote host closed the connection]
bluOxigen has joined #ruby
JoshS has joined #ruby
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Immune has quit [Ping timeout: 260 seconds]
raatiniemi has joined #ruby
ace05 has quit [Remote host closed the connection]
ace05 has joined #ruby
raatiniemi has quit [Read error: Connection reset by peer]
ace05 has quit [Remote host closed the connection]
jcao219 has joined #ruby
bkxd has joined #ruby
xall_ has joined #ruby
shmuli has joined #ruby
CloCkWeRX has joined #ruby
Felipe__ has joined #ruby
tummy has joined #ruby
tummy has quit [Client Quit]
railssmith has joined #ruby
xlegoman has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CloCkWeRX has quit [Ping timeout: 252 seconds]
dextertzu has quit [Read error: Connection reset by peer]
raisin has joined #ruby
Felipe__ has quit [Quit: Leaving]
creat has quit [Quit: Leaving]
dextertzu has joined #ruby
ben_____ has joined #ruby
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
sarbs has quit [Ping timeout: 245 seconds]
MrSamuel has quit [Quit: MrSamuel]
raatiniemi has joined #ruby
ben_____ has quit [Ping timeout: 260 seconds]
kareeoleez has joined #ruby
CloCkWeRX has joined #ruby
railssmith has joined #ruby
MrSamuel has joined #ruby
MrSamuel has quit [Client Quit]
govg has joined #ruby
tummy has joined #ruby
dextertzu has quit [Read error: Connection reset by peer]
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LoneHerm_ has joined #ruby
Kays_ has joined #ruby
abernstein has quit [Quit: abernstein]
Immune has joined #ruby
LoneHerm_ has quit [Ping timeout: 250 seconds]
kezo has quit [Ping timeout: 268 seconds]
Immune has quit [Ping timeout: 260 seconds]
yardenbar has joined #ruby
Immune has joined #ruby
Bellthoven has quit []
Devalo has joined #ruby
aryaching has quit [Quit: Bye]
SteenJobs has quit [Quit: peaceee]
Devalo has quit [Ping timeout: 252 seconds]
xlegoman has joined #ruby
Jameser has quit [Ping timeout: 265 seconds]
R314Y has joined #ruby
<R314Y> HEllo
R314Y has left #ruby [#ruby]
Jameser has joined #ruby
tummy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kareeoleez has quit [Ping timeout: 260 seconds]
ace05 has joined #ruby
thomas has quit [Quit: leaving]
Jameser has quit [Max SendQ exceeded]
dextertzu has joined #ruby
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Jameser has joined #ruby
Technodrome has joined #ruby
dextertzu has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
Jameser has quit [Max SendQ exceeded]
hightower2 has quit [Ping timeout: 256 seconds]
d3d1rty has joined #ruby
Jameser has joined #ruby
raisin has left #ruby [#ruby]
futilegames has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
whiteline has quit [Ping timeout: 246 seconds]
muelleme has joined #ruby
troys has joined #ruby
railssmith has joined #ruby
troys has quit [Client Quit]
muelleme has quit [Ping timeout: 244 seconds]
Guest66 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ivanf has joined #ruby
lacour has quit [Quit: Leaving]
Channel6 has quit [Quit: Leaving]
NeverTired has quit [Quit: Connection closed for inactivity]
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
A5101 has quit [Quit: WeeChat 1.4]
A5101 has joined #ruby
A5101 has quit [Client Quit]
nankyokusei has joined #ruby
Devalo has joined #ruby
claudiuinberlin has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
shmuli has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 260 seconds]
xlegoman has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kareeoleez has joined #ruby
dtscode has joined #ruby
dextertzu has joined #ruby
Derperperd has joined #ruby
shmuli has joined #ruby
Puffball has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
masterasia has quit [Quit: Leaving]
bluOxigen has quit [Read error: Connection reset by peer]
CloCkWeRX has quit [Ping timeout: 245 seconds]
dextertzu has quit [Read error: Connection reset by peer]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Prawnzy has quit [Remote host closed the connection]
baash05 has joined #ruby
<baash05> Hey all.. I'm trying to figure out how to solve this "press_post/updater.rb:1:in `<top (required)>': uninitialized constant PressPost (NameError)"
creat has joined #ruby
ben_____ has joined #ruby
<baash05> I am trying to name space a class like this "class PressPost::Updater"
ace05 has quit [Read error: Connection reset by peer]
ace05 has joined #ruby
Kays_ has quit [Ping timeout: 250 seconds]
ben_____ has quit [Ping timeout: 260 seconds]
tummy has joined #ruby
CloCkWeRX has joined #ruby
ivanf has left #ruby ["Textual IRC Client: www.textualapp.com"]
<baash05> is it possible to have a namespaced class without a module?
Cohedrin has joined #ruby
lenwood has joined #ruby
shmuli has quit [Remote host closed the connection]
renderful has joined #ruby
dextertzu has joined #ruby
LoneHermit has joined #ruby
ricer2 has joined #ruby
renderful has quit [Ping timeout: 244 seconds]
tummy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shmuli has joined #ruby
lenwood has quit [Ping timeout: 260 seconds]
<blackbombay_> baash05: PressPost has to be defined as a module or a class before you can define 'Updater' inside it.
<baash05> So how do I do that? add a line above that says module PressPost; end?
<baash05> seems wrong?
Vile` has quit [Ping timeout: 250 seconds]
<baash05> class PressPost; end
LoneHermit has quit [Ping timeout: 260 seconds]
dextertzu has quit [Read error: Connection reset by peer]
<baash05> I would have to do that in every subdirectory I build out?
rippa has joined #ruby
Hyuk has joined #ruby
<baash05> I seem to remember there was a work around for this.. A config setting that would notice it's a class namespace..
tummy has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
igniting has joined #ruby
dextertzu has joined #ruby
_whitelogger has joined #ruby
tummy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Prawnzy has joined #ruby
<blackbombay_> baash05: you could add lib/press_post.rb, define the module (or class, if that makes sense) PressPost, and require that file before you define any other classes within PressPost.
tummy has joined #ruby
<blackbombay_> there is no "work around", that's just how ruby works.
User458764 has joined #ruby
harai_ has joined #ruby
ziarkaen has joined #ruby
dtscode has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
dtscode has joined #ruby
shmuli has quit [Remote host closed the connection]
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
antgel has joined #ruby
dtscode has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
xall_ has quit [Ping timeout: 265 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
igniting has quit [Ping timeout: 245 seconds]
BaroMeter has joined #ruby
ace05 has quit [Remote host closed the connection]
ace05 has joined #ruby
whiteline has joined #ruby
lenwood has joined #ruby
Dimik has quit [Ping timeout: 268 seconds]
claudiuinberlin has quit [Remote host closed the connection]
dtscode has joined #ruby
ace05 has quit [Remote host closed the connection]
dtscode has quit [Client Quit]
Rickmasta has quit [Ping timeout: 250 seconds]
firstdayonthejob has joined #ruby
Rickmasta has joined #ruby
futilegames has quit [Quit: futilegames]
claudiuinberlin has joined #ruby
Yzguy has quit [Quit: Cya]
Snowy has joined #ruby
Snowy has quit [Client Quit]
lenwood has quit [Ping timeout: 250 seconds]
vuoto has joined #ruby
igniting has joined #ruby
elifoster has quit [Quit: sleep]
ziarkaen has quit [Ping timeout: 244 seconds]
nadir has quit [Quit: Connection closed for inactivity]
BaroMeter has quit [Quit: Leaving]
patronus_ has quit [Ping timeout: 244 seconds]
grh has joined #ruby
dextertzu has quit [Read error: Connection reset by peer]
LoneHermit has joined #ruby
pwnd_nsfw` has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
marr has joined #ruby
zukin has joined #ruby
LoneHermit has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
Puffball has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 245 seconds]
igniting has quit [Ping timeout: 268 seconds]
Puffball has joined #ruby
ace05 has joined #ruby
Technodrome has joined #ruby
miqlas-H has joined #ruby
nadir has joined #ruby
miqlas-H has quit [Read error: Connection reset by peer]
ineb has joined #ruby
<ineb> is there a simple solution for this problem? (consider this to be pathnames) https://paste.xinu.at/bJdP5/
<ineb> basically, remove the duplicate part in the path and then get the top level dir from it
pragmaticus has joined #ruby
alamar has quit [Ping timeout: 245 seconds]
tummy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bocaneri has joined #ruby
dextertzu has joined #ruby
bkxd has quit [Quit: leaving]
bkxd has joined #ruby
igniting has joined #ruby
SCHAAP137 has joined #ruby
Prawnzy has quit [Remote host closed the connection]
Immune has quit [Ping timeout: 260 seconds]
quazimodo has joined #ruby
alamar has joined #ruby
alamar is now known as Guest96381
ziarkaen has joined #ruby
xall_ has joined #ruby
jaguarmagenta has joined #ruby
Jackneill_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
xall_ has quit [Ping timeout: 250 seconds]
<hanmac> ineb: hm why do you want "/a/f" and not "/a/f/e" ?
CloCkWeRX has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
ben_____ has joined #ruby
ta__ has quit [Read error: Connection reset by peer]
mhib has joined #ruby
ta__ has joined #ruby
<ineb> hanmac: i have a very large directory tree and if i have a match in any node of a subtree, then the hole path is considered valid
ben_____ has quit [Ping timeout: 260 seconds]
<ineb> but your assumption is valid. another approach than my current might not lead to this problem at all
ace05 has quit [Remote host closed the connection]
ziarkaen has quit [Ping timeout: 250 seconds]
djellemah has quit [Quit: Leaving]
<hanmac> ineb my first step:
<hanmac> >> u = %w[/a/c/d /a/c/e /a/f/e/d /a/z/a].map {|s| File.dirname(s) }.uniq
<ruby[bot]> hanmac: # => ["/a/c", "/a/f/e", "/a/z"] (https://eval.in/668903)
<ineb> i was thinking of a kind of path depth.
<ineb> /a has depth of 1, simply get a's depth+1 from /a/f/e/d to get /a/f/ then (depth of 2)
<hanmac> ineb: and thats what i did using Pathname:
<ineb> but this approach is really not working well with pathname. pathname arithmetic.. i dont think, that there is such a thing :P
muelleme has joined #ruby
<hanmac> i currently ignore the Base in your example but i try a next version
howdoi has joined #ruby
mhib has quit [Quit: Leaving]
hightower2 has joined #ruby
Derperperd has quit [Quit: Derperperd]
Sammichmaker has quit [Quit: Leaving]
<ineb> ohh very nice, i wasnt considering ascend/descend because i thought it would access the filesystem, which would cause unnecessary wear and tear
<ineb> wrong assumption
swerter has joined #ruby
vuoto has quit [Remote host closed the connection]
LoneHermit has joined #ruby
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
CloCkWeRX has joined #ruby
User458764 has joined #ruby
swerter has quit [Client Quit]
dionysus69 has joined #ruby
palms has quit [Ping timeout: 260 seconds]
LoneHermit has quit [Ping timeout: 250 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nankyokusei has joined #ruby
palms has joined #ruby
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Immune has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
<hanmac> ineb: i think that is what you want: https://eval.in/668907 using base
swerter has joined #ruby
Xeago has joined #ruby
dextertzu has quit [Read error: Connection reset by peer]
palms has quit [Ping timeout: 260 seconds]
swerter has quit [Client Quit]
ur5us has quit [Remote host closed the connection]
Immune has quit [Ping timeout: 260 seconds]
dextertzu has joined #ruby
<ineb> hanmac: looks good. and with your hint regarding ascend i came up with: https://eval.in/668911
<ineb> both our solutions also works well with longer bases
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
aidalgol has quit [Quit: zZzZzZzzzzz]
quazimodo has quit [Ping timeout: 244 seconds]
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Immune has joined #ruby
zeroDi has joined #ruby
<ineb> hanmac: okay, my one fails under certain input. your one passes all my tests. i will dive into further tweaking now. thanks for your help!
Terens has quit [Ping timeout: 250 seconds]
Terens has joined #ruby
marienz has quit [Quit: upgrades]
dextertzu has quit [Read error: Connection reset by peer]
dextertzu has joined #ruby
Puffball has quit [Remote host closed the connection]
nankyokusei has quit [Remote host closed the connection]
Puffball has joined #ruby
aryaching has joined #ruby
Hyuk has joined #ruby
Tempesta has quit [Ping timeout: 250 seconds]
Devalo has joined #ruby
benlieb has quit [Quit: benlieb]
dextertzu has quit [Read error: Connection reset by peer]
dminuoso_ has joined #ruby
dextertzu has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
m_abdelfattah has joined #ruby
igniting has quit [Ping timeout: 244 seconds]
dnicole has joined #ruby
pandaant has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
jcao219 has quit [Ping timeout: 245 seconds]
Tempesta has joined #ruby
aryaching has quit [Quit: Bye]
gingray has joined #ruby
LoneHermit has joined #ruby
creat has quit [Ping timeout: 265 seconds]
bkxd has quit [Ping timeout: 252 seconds]
LoneHermit has quit [Ping timeout: 256 seconds]
zukin has quit [Quit: bsd!]
dextertzu has quit [Quit: WeeChat 1.4]
xall_ has joined #ruby
xall_ has quit [Ping timeout: 244 seconds]
brt has joined #ruby
creat has joined #ruby
Derperperd has joined #ruby
brt has quit [Ping timeout: 250 seconds]
kareeoleez has quit [Remote host closed the connection]
kareeoleez has joined #ruby
m_abdelfattah has quit [Ping timeout: 260 seconds]
edwinvdgraaf has joined #ruby
ben_____ has joined #ruby
grh has quit [Ping timeout: 260 seconds]
nikivi has joined #ruby
ben_____ has quit [Ping timeout: 260 seconds]
nchambers has joined #ruby
araujo has joined #ruby
nchambers has quit [Read error: Connection reset by peer]
kareeoleez has quit [Ping timeout: 245 seconds]
User458764 has joined #ruby
cisco has joined #ruby
araujo has quit [Max SendQ exceeded]
kareeoleez has joined #ruby
aswen has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
minimalism has quit [Quit: minimalism]
eelster has quit [Ping timeout: 260 seconds]
uranellus_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
miqlas-H has joined #ruby
c355e3b has joined #ruby
eelster has joined #ruby
miqlas-H has quit [Read error: Connection reset by peer]
pandaant has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
renderful has joined #ruby
LoneHermit has joined #ruby
quoboo is now known as quoBOO
quoBOO is now known as quoboo
renderful has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
LoneHermit has quit [Ping timeout: 250 seconds]
cdg_ has joined #ruby
cdg has quit [Ping timeout: 245 seconds]
Immune has joined #ruby
ruby-lang342 has joined #ruby
nankyokusei has joined #ruby
harfangk has joined #ruby
creat has quit [Ping timeout: 256 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
eelster has quit [Ping timeout: 265 seconds]
zotherstupidguy has quit [Quit: WeeChat 1.6]
creat has joined #ruby
JeanCarloMachado has joined #ruby
baash05 has left #ruby [#ruby]
edwardly has quit [Ping timeout: 244 seconds]
djellemah has joined #ruby
kareeoleez has quit [Remote host closed the connection]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
Jameser has joined #ruby
kareeoleez has joined #ruby
JeanCarloMachado has quit [Remote host closed the connection]
PocketKiller has left #ruby ["PocketKiller >> Part"]
kareeoleez has quit [Ping timeout: 260 seconds]
Istanbul_Sea has joined #ruby
skweek has quit [Ping timeout: 252 seconds]
Istanbul_Sea has quit []
SCHAAP137 has quit [Ping timeout: 268 seconds]
ruby-lang342 has quit [Ping timeout: 260 seconds]
Istanbul_Sea has joined #ruby
JeanCarloMachado has joined #ruby
PocketKiller has joined #ruby
elementaru has quit [Quit: EliteBNC - http://www.elitebnc.net/]
igniting has joined #ruby
ace05 has joined #ruby
the_drow has joined #ruby
SCHAAP137 has joined #ruby
SCHAAP137 has quit [Max SendQ exceeded]
brendan- has joined #ruby
<Fernando-Basso> Is it possible to add a method to increment a class variable? I can do it for a class instance variable, but I am failing to do the same thing for the cvar.
<Fernando-Basso> def self.incr; @@count += 1; end
Rutix has quit []
<Fernando-Basso> And I tried invoking it from the constructor with self.incr and self.class.incr. Nothing worked. No error, but @@count is always zero.
<dminuoso_> >> class S; @@foo = 1; def self.m; @@foo += 1; end; end; S.m; puts S.class_variable_get(:@@foo)
<ruby[bot]> dminuoso_: # => 2 ...check link for more (https://eval.in/668930)
PocketKiller has left #ruby ["PocketKiller >> Part"]
<dminuoso_> Fernando-Basso: Testcase please.
nankyokusei has quit [Remote host closed the connection]
<Fernando-Basso> dminuoso_: https://eval.in/668931
dsuper7 has joined #ruby
Derperperd has quit [Quit: Derperperd]
roamingdog has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
the_drow has quit [Ping timeout: 260 seconds]
dsuper7 has quit [Quit: Catch you on the flip side....]
roamingdog has quit [Remote host closed the connection]
the_drow has joined #ruby
LoneHermit has joined #ruby
nadir has joined #ruby
<Mon_Ouie> Fernando-Basso: Human and Robot are not subclasses of Enemy.
nikivi has quit [Quit: irc]
<Fernando-Basso> Ah!
<Fernando-Basso> I forgot < Enemy.
<Fernando-Basso> Damn!
roamingd_ has joined #ruby
hiyosi has joined #ruby
LoneHermit has quit [Ping timeout: 265 seconds]
xall_ has joined #ruby
sepp2k has joined #ruby
<Fernando-Basso> Thank you people.
howdoi has quit [Quit: Connection closed for inactivity]
User458764 has joined #ruby
hutch34 has joined #ruby
creat has quit [Ping timeout: 260 seconds]
xall_ has quit [Ping timeout: 260 seconds]
roamingd_ has quit [Remote host closed the connection]
roamingdog has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
aswen has quit [Quit: WeeChat 1.5]
roamingdog has quit [Remote host closed the connection]
creat has joined #ruby
roamingdog has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
Frankenstein has quit [Ping timeout: 250 seconds]
roamingdog has joined #ruby
the_drow has joined #ruby
roamingdog has quit [Remote host closed the connection]
seventy has joined #ruby
<ace05> hi
cibs has quit [Ping timeout: 268 seconds]
Hyuk has quit [Read error: Connection reset by peer]
cibs has joined #ruby
roamingdog has joined #ruby
hiyosi has quit [Quit: Textual IRC Client: www.textualapp.com]
Prawnzy has joined #ruby
hiyosi has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
CloCkWeRX has quit [Quit: Leaving.]
the_drow has quit [Read error: Connection reset by peer]
hiyosi has left #ruby [#ruby]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
brt has joined #ruby
roamingdog has quit [Ping timeout: 252 seconds]
solocshaw has joined #ruby
sdothum has joined #ruby
Prawnzy has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
the_drow has joined #ruby
eelster has joined #ruby
sdothum has quit [Client Quit]
sdothum has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
roamingd_ has joined #ruby
igniting has quit [Ping timeout: 252 seconds]
roamingd_ has quit [Remote host closed the connection]
roamingdog has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
greenfriday has joined #ruby
<greenfriday> Struggling a bit here. How on Earth do I install ruby 2.2 on centos?
roamingdog has joined #ruby
cisco has quit [Quit: Leaving.]
ben_____ has joined #ruby
<dminuoso_> greenfriday: The most flexible way is usually ruby-install (together with chruby if you want a simple version manager)
<greenfriday> dminuoso_: I'm a bit lost here. What should I google to get a guide on that?
<dminuoso_> greenfriday: https://github.com/postmodern/chruby
<dminuoso_> (The last is only required if you want to maintain multiple ruby versions)
<greenfriday> I don't. I think
<greenfriday> I am just trying to follow a guide to setting up a puppet server
<dminuoso_> Don't worry, you can install it later if you want. :)
<greenfriday> But it has failed :x
<dminuoso_> greenfriday: Note for puppet specific help you are better off asking in #puppet - but using ruby-install from the first link I showed is very simple and it will definitely get you started.
Derperperd has joined #ruby
<greenfriday> Nah it's just the course I am following broke on me
<greenfriday> I'm trying to fix it
<greenfriday> But I'm not a ruby/linux guy
cdg_ has quit [Remote host closed the connection]
the_drow has joined #ruby
<dminuoso_> greenfriday: Your server will require the full development toolset of a compiler, flex/bison, make, autoconf, binutils and possible some more. CentOS has a meta package called 'Development Tools' that you can directly install through yum.
<dminuoso_> (Because this will grab and compile/install Ruby from source for you)
ben_____ has quit [Ping timeout: 260 seconds]
<dminuoso_> (If it sounds complicated, its really not - just means you need to isntall those prerequisites and bring a few minutes of patience)
User458764 has joined #ruby
<greenfriday> Ok, I found a discussion on this course
<greenfriday> I just need to install olrder versions of rake/passenger/rack
mvxlr has joined #ruby
<greenfriday> Help was appreciated :) I am far too lost in this linux world..
<mvxlr> hi, say I have an http://www.rubydoc.info/github/intridea/hashie/Hashie/Dash instance how could I iterate over all the values in the object and print the values and the "type" of the values. I'm trying to debug my code where sometimes count is stored as string and sometimes as Fixnum
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<dminuoso_> mvxlr: Since it inherits from Hash and not overwrite #each - you get all the benefits from Enumerable.
JeanCarloMachado has quit [Read error: No route to host]
igniting has joined #ruby
brt has quit [Ping timeout: 245 seconds]
igniting has quit [Max SendQ exceeded]
the_drow has quit [Read error: Connection reset by peer]
yos7ph has joined #ruby
the_drow has joined #ruby
igniting has joined #ruby
<mvxlr> dminuoso_: a little slower please :) I think i was asking more generally for "any possible ruby object" but hey a pragmatic solution for just my case would also be great
JeanCarloMachado has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
<hanmac> Hashie looks very funky but i prefer to to inherit directly from classes like Array/Hash/String but using classes around the data for that
<dminuoso_> mvxlr: Any possible object in Ruby is exposed through ObjectSpace
d0nn1e has quit [Ping timeout: 256 seconds]
<dminuoso_> mvxlr: Though I do not think that you want that.
ace05 has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 250 seconds]
lel has quit [Read error: Connection reset by peer]
d0nn1e has joined #ruby
yos7ph has quit [Quit: Leaving]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
the_drow has joined #ruby
roamingdog has quit [Remote host closed the connection]
LoneHermit has joined #ruby
roamingdog has joined #ruby
dar123 has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
lel has joined #ruby
igniting has quit [Ping timeout: 256 seconds]
the_drow has quit [Read error: Connection reset by peer]
LoneHermit has quit [Ping timeout: 260 seconds]
Immune has joined #ruby
the_drow has joined #ruby
nchambers has joined #ruby
palms has joined #ruby
lel has quit [Ping timeout: 260 seconds]
lel has joined #ruby
ace05 has joined #ruby
hutch34 has quit [Ping timeout: 265 seconds]
chouhoulis has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
palms has quit [Ping timeout: 260 seconds]
<ace05> greenfriday, have you been able to install ruby2.2 on centos?
<llua> it's in the scl
igniting has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<ace05> curl -sSL https://rvm.io/mpapis.asc | sudo gpg2 --import -; curl -sSL https://get.rvm.io | bash -s stable --ruby; source /usr/local/rvm/scripts/rvm; rvm use runy-2.2.0
<ace05> this installs ruby2.2 on a centos box
<ace05> curl -sSL https://rvm.io/mpapis.asc | sudo gpg2 --import -; curl -sSL https://get.rvm.io | bash -s stable --ruby; source /usr/local/rvm/scripts/rvm; rvm use ruby-2.2.0
<ace05> correction of spelling error
nchambers is now known as Frankenstein
modlin has joined #ruby
kareeoleez has joined #ruby
oyes has joined #ruby
roamingdog has quit [Remote host closed the connection]
_sfiguser has quit [Remote host closed the connection]
roamingdog has joined #ruby
<Frankenstein> gross...
roamingdog has quit [Remote host closed the connection]
<Frankenstein> curl | bash
Derperperd has quit [Quit: Derperperd]
roamingdog has joined #ruby
<llua> yum install centos-release-scl; yum list rh-ruby22\*
seventy has quit [Ping timeout: 260 seconds]
<Papierkorb> Frankenstein: even worst that a bunch of projects use that scheme, including doing absolutely no signature checks
<Papierkorb> Frankenstein: bonus points if combined with `sudo`
<Frankenstein> Papierkorb, exactly.
<Frankenstein> and its major projects
<Frankenstein> like rvm and rust
DLSteve has joined #ruby
miqlas-H has joined #ruby
roamingdog has quit [Remote host closed the connection]
tercenya_ has joined #ruby
lel has quit [Ping timeout: 260 seconds]
i8igmac has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
lel has joined #ruby
miqlas-H has quit [Read error: Connection reset by peer]
tercenya has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 268 seconds]
lel has quit [Ping timeout: 244 seconds]
xlegoman has joined #ruby
lel has joined #ruby
lel has quit [Ping timeout: 252 seconds]
lel has joined #ruby
Ishido has joined #ruby
bluOxigen has joined #ruby
<mvxlr> say I have an array of dictionaries, from there I want to pick 'myuuid' and run uniq on the products list
<mvxlr> any "ruby" way to do that?
gingray has quit [Ping timeout: 260 seconds]
<ace05> Frankinstein, what's gross?
<Frankenstein> ace05, curl | bash
modlin has quit [Quit: modlin]
<Frankenstein> you really shouldn't recommend it
<tobiasvl> mvxlr: what's the products list?
<ace05> and your point is what?
<mvxlr> tobiasvl list of Dash dictionaries
<ace05> but you haven't said why
<mvxlr> i'm able to do with list.map do |item| item.reservable_uuid end
<ace05> because you haven't done it doesn't make i wrong
<mvxlr> just looking for a better way
<Frankenstein> ace05, my point is that its bad. just google it and you'll see lots of reasons why
<ace05> you have said it's bad and yet you won't say why.
<Frankenstein> yes. as I said google it
<ace05> telling is not a defense
<ace05> it's stupid
<Frankenstein> im not defending anything. its bad. if you want to know why google it
roamingdog has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
<ace05> and as i said before, telling me to google why you don't accept my solution is not a defence
hutch34 has joined #ruby
<ace05> and actually this has nothing to do with you. The solution wasn't directed at you
<Frankenstein> and as I said, I'm not defending anything :). curl | bash is a terrible idea. If you want to be ignorant and give stupid suggestions, by all means go ahead. If you want to educate yourself, its not that hard to google why its bad
nankyokusei has joined #ruby
<Frankenstein> I'm well aware it wasn't directed at me
<Frankenstein> that doesn't change the fact that its bad
roamingdog has joined #ruby
<ace05> i'm not ignorant, you are though
<Frankenstein> There is no need to be so defensive about giving a bad suggestion. just learn and move on
<Frankenstein> you sure are. you don't want to learn why curl | bash is a bad idea
LoneHerm_ has joined #ruby
<ace05> there's nothing to learn. it works for me
<Frankenstein> working != a good suggestion
<Frankenstein> theres plenty to learn. its just a search engine away
<Frankenstein> if you don't want to learn, and don't want to know why, that is ok, but it is the definition of ignorance :)
<ace05> like i said, (this is becoming an echo chamber),
<ace05> sigh
<Frankenstein> I guess some people just want to be idiots :/
<ace05> like you
<ace05> you a huge idiot
<Frankenstein> In what way?
<ace05> teh biggest i've ever seen
<Frankenstein> k
<ace05> i'm glad you've accepted it
<ace05> :)
roamingdog has quit [Remote host closed the connection]
<Frankenstein> :) I've accepted that you want to not educate yourself
<al2o3-cr> list.map &:reversable_uuid
<ace05> i'm glad you've accepted that you are a fool and a huge idiot
<ace05> nothing else to contribute
<ace05> :)
<Frankenstein> I've done nothing of the sort. just accepted that you are fine living in ignorance about basic system failure prevention
<ace05> looks like you have huge anger issues. wow!
LoneHerm_ has quit [Ping timeout: 260 seconds]
<Frankenstein> k
tercenya has joined #ruby
<Frankenstein> you're welcome to think whatever you want. if you want to be an idiot, thats fine. if you want to learn why curl | bash is bad, even better. but this conversation is over until you stop deciding to be an idiot
<ace05> it's so important that i accept your point of view when i so obviously don't
<ace05> you're the prime idiot
<ace05> and a huge huge fool
<ace05> the stupidest individual i've ever had the misfortune to come across
<ace05> you didn't win the argument and resorted to abuse
<ace05> poor you :(
tercenya_ has quit [Ping timeout: 252 seconds]
JeanCarl1Machado has joined #ruby
roamingdog has joined #ruby
<apeiros> Frankenstein: mind your tone. telling people they're idiots is not acceptable in here.
<apeiros> ace05: same applies to you
<ace05> apeiros, i accept that
<Frankenstein> apeiros, my apologies :). I'm a little bit tired and was just strangely confused about ace05's attitude towards giving a bad solution. won't happen again
<apeiros> much appreciated, thanks :)
<ace05> but calling somebody an idiot because they were simply trying to helping someone else is unacceptable
<apeiros> please, leave it be
<apeiros> I think right now, little good will come from pursuing this
ponga has joined #ruby
<ace05> absolutely
JeanCarloMachado has quit [Ping timeout: 250 seconds]
solocshaw has quit [Ping timeout: 260 seconds]
nankyoku_ has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
firstdayonthejob has quit [Quit: WeeChat 1.6]
Devalo has quit [Ping timeout: 256 seconds]
hutch34 has quit [Ping timeout: 244 seconds]
<al2o3-cr> Struct.new('Target', :essid, :bssid, :channel) creates an anonymous struct right?
railssmith has joined #ruby
<Papierkorb> al2o3-cr: Running that in pry actually gives me Struct::Target, running it again warns me that I just redefined the constant Struct::Target.
<Papierkorb> al2o3-cr: So actually, it is not anonymous. Remove the 'Target' to make it anonymous
aryaching has joined #ruby
<Papierkorb> al2o3-cr: Then you can e.g. assign it to a constant of your liking, or do something else with it
<al2o3-cr> Papierkorb: ah, ok. thank you
Julia1081 has joined #ruby
grh has joined #ruby
<Julia1081> Hello, is it possible to do TDD using a simple ruby script with no class ?
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joneshf-laptop has joined #ruby
modlin has joined #ruby
cdg has joined #ruby
brt has joined #ruby
<hanmac> Julia1081: whats TDD?
<al2o3-cr> hanmac: test driven development
<hanmac> Julia1081: RSpec works without (extra) classes, but uses describe blocks for that
Julia1081 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
nankyoku_ has quit [Remote host closed the connection]
mvxlr has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
Julia1081 has joined #ruby
nankyokusei has joined #ruby
<hanmac> minitest and test-unit have a "Assertions" module ... which can be used without a Test-Suite
<greenfriday> TDD is a fantastic way to write code
<greenfriday> If you outline your test cases first, then just code to get those working..
ben_____ has joined #ruby
Julia1081 has quit [Client Quit]
shmuli has joined #ruby
ace05 has quit [Remote host closed the connection]
ace05 has joined #ruby
firstdayonthejob has joined #ruby
nankyokusei has quit [Remote host closed the connection]
modlin has quit [Quit: modlin]
ben_____ has quit [Ping timeout: 260 seconds]
grh has quit [Ping timeout: 250 seconds]
roamingdog has quit [Remote host closed the connection]
eelster has quit [Remote host closed the connection]
roamingdog has joined #ruby
joneshf-laptop has quit [Quit: Leaving]
joneshf-laptop has joined #ruby
ChiefAlexander has joined #ruby
joneshf-laptop has quit [Remote host closed the connection]
joneshf-laptop has joined #ruby
modlin has joined #ruby
al2o3-cr has quit [Remote host closed the connection]
joneshf-laptop has quit [Read error: Connection reset by peer]
joneshf-laptop has joined #ruby
SCHAAP137 has joined #ruby
sombok has joined #ruby
Guest66 has joined #ruby
al2o3-cr has joined #ruby
Ankhers_ is now known as Ankhers
LoneHermit has joined #ruby
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHermit has quit [Ping timeout: 260 seconds]
ace05 has quit [Remote host closed the connection]
shmuli has quit [Remote host closed the connection]
shmuli has joined #ruby
zeroDi has joined #ruby
shmuli has quit [Remote host closed the connection]
pawnbox has joined #ruby
harai_ has quit [Ping timeout: 260 seconds]
ben_____ has joined #ruby
kingpinlz_ has joined #ruby
harai_ has joined #ruby
ben_____ has quit [Ping timeout: 260 seconds]
shmuli has joined #ruby
Vile` has joined #ruby
ace05 has joined #ruby
nettoweb has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
nettoweb has quit [Client Quit]
abernstein has joined #ruby
pawnbox has joined #ruby
oyes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elifoster has joined #ruby
oyes has joined #ruby
Bellthoven has joined #ruby
brt has quit [Quit: peace]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greenfriday has quit [Quit: Lost terminal]
pwnd_nsfw` has joined #ruby
ych has joined #ruby
pwnd_nsfw has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Remote host closed the connection]
creat has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
oyes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grh has joined #ruby
pawnbox has quit [Remote host closed the connection]
gizmore has joined #ruby
gizless has quit [Ping timeout: 256 seconds]
dminuoso_ has quit [Ping timeout: 244 seconds]
roamingdog has quit [Remote host closed the connection]
creat has joined #ruby
xall_ has joined #ruby
shmuli has quit [Remote host closed the connection]
railssmith has joined #ruby
nettoweb has joined #ruby
ace05 has quit [Remote host closed the connection]
yardenbar has quit [Ping timeout: 250 seconds]
cdg_ has joined #ruby
xall_ has quit [Ping timeout: 256 seconds]
gingray has joined #ruby
cdg has quit [Ping timeout: 245 seconds]
sombok has quit [Quit: Leaving]
LoneHermit has joined #ruby
ace05 has joined #ruby
grh has quit [Ping timeout: 260 seconds]
ace05 has quit [Remote host closed the connection]
ace05 has joined #ruby
shmuli has joined #ruby
dviola has joined #ruby
Ishido has quit [Remote host closed the connection]
leea has joined #ruby
roamingdog has joined #ruby
Exuma has joined #ruby
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Exuma> I have a module which I want to accept a &block of code. Inside my module i listen for trap('TERM') { term_now = true }
<Exuma> I then pass this to yield(term_now), but it doesnt work how i'd expect. I assume because yield only passes it one time (so its always false) rather than yield passing it as true the second trap() returns true
<Exuma> how can I get it to pass the updated value?
<ych> i need to build a ruby based cli app with auth login and server communication, any suggestion for open source projects to take a look at and to get inspired from?
xlegoman has quit [Ping timeout: 245 seconds]
DLSteve has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
alina-malina has quit [Ping timeout: 256 seconds]
roamingdog has quit [Ping timeout: 265 seconds]
Guest66 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LoneHermit has quit [Remote host closed the connection]
Guest66 has joined #ruby
xall_ has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
modlin has quit [Quit: modlin]
Prawnzy has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
modlin has joined #ruby
DLSteve has joined #ruby
alina-malina has joined #ruby
alina-malina has quit [Changing host]
alina-malina has joined #ruby
NeverTired has joined #ruby
pwnd_nsfw has joined #ruby
ChiefAlexander has quit [Quit: Leaving...]
hutch34 has joined #ruby
railssmith has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 260 seconds]
gizmore has quit [Ping timeout: 268 seconds]
gizmore has joined #ruby
xlegoman has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
Ishido has joined #ruby
awestroke has joined #ruby
awestroke has quit [Client Quit]
roamingdog has joined #ruby
awestroke has joined #ruby
awestroke has quit [Read error: Connection reset by peer]
awestroke has joined #ruby
awestroke has quit [Client Quit]
oyes has joined #ruby
oyes has quit [Client Quit]
Derperperd has joined #ruby
railssmith has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
oyes has joined #ruby
ben_____ has joined #ruby
chouhoulis has joined #ruby
kareeoleez has quit [Ping timeout: 260 seconds]
kareeoleez has joined #ruby
oyes has quit [Client Quit]
dionysus69 has quit [Remote host closed the connection]
ben_____ has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
abernstein has quit [Quit: abernstein]
dminuoso_ has joined #ruby
pokalyis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malcolmva has quit [Ping timeout: 250 seconds]
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
pgib has joined #ruby
dminuoso_ has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.6]
grh has joined #ruby
Rickmasta has joined #ruby
pwnd_nsfw` has joined #ruby
nankyokusei has joined #ruby
pwnd_nsfw has quit [Ping timeout: 245 seconds]
pawnbox has quit [Ping timeout: 265 seconds]
Bellthoven has quit []
djbkd has joined #ruby
kezo has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
cdg_ has quit [Ping timeout: 256 seconds]
SCHAAP137 has joined #ruby
ace05 has quit [Read error: Connection reset by peer]
ace05 has joined #ruby
malcolmva has joined #ruby
Bellthoven has joined #ruby
rippa has joined #ruby
renderfu_ has joined #ruby
bathtub_shark has quit [Ping timeout: 260 seconds]
renderfu_ has quit [Ping timeout: 260 seconds]
ixti has joined #ruby
minimalism has joined #ruby
malcolmva has quit [Ping timeout: 245 seconds]
igniting has quit [Ping timeout: 244 seconds]
bathtub_shark has joined #ruby
lacour has joined #ruby
ace05 has quit [Remote host closed the connection]
ace05 has joined #ruby
exchgr has quit [Ping timeout: 260 seconds]
mvxlr has joined #ruby
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
modlin has quit [Quit: modlin]
camilasan has quit [Remote host closed the connection]
Azure|dc has joined #ruby
Azure has quit [Ping timeout: 268 seconds]
camilasan has joined #ruby
malcolmva has joined #ruby
ace05 has quit [Read error: Connection reset by peer]
ace05 has joined #ruby
exchgr has joined #ruby
kareeole_ has joined #ruby
_sfiguser has joined #ruby
kareeoleez has quit [Ping timeout: 256 seconds]
Lord_of_Life has quit [Ping timeout: 260 seconds]
solocshaw has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
Prawnzy has quit [Remote host closed the connection]
magellanicloud has joined #ruby
kristofferR has joined #ruby
lel has quit [Read error: Connection reset by peer]
Lord_of_Life has joined #ruby
antgel has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
ych has joined #ruby
dminuoso_ has joined #ruby
<ych> i need to build a ruby based cli app with auth login and server communication, any suggestion for open source projects to take a look at and to get inspired from?
pawnbox has quit [Remote host closed the connection]
<setient> what are you trying to do exactly? i mean chef has the ability to login and run server side commands
<setient> well not really login, it is a client server model where the chef server has the ability to run commands, you auth by using a key i belive
<setient> well a key file
<setient> also you might want to look at capistrano
skweek has joined #ruby
Devalo has joined #ruby
dminuoso_ has quit [Ping timeout: 245 seconds]
<ych> no, i'm looking for something even simpler. just a client CLI where the user needs to login , gets a token and then he can run various commands (not necessarily ON server). just like a javascript app / mobile app
aibot has quit [Ping timeout: 252 seconds]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
aibot has joined #ruby
<hanmac> ych hm looks like you want a REST server/client or something like that?
<ych> yeah
Cohedrin has joined #ruby
<blackbombay_> ych: twitter gem.
<blackbombay_> and the 't' command line twitter client (uses the twitter gem).
<ych> cool! thanks
<blackbombay_> how will you auth though? i think twitter uses oauth, which is complicated compared to something like HTTP basic auth.
chouhoulis has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
alexandernst has joined #ruby
<alexandernst> anything shorter for "myhash && myhash['foo']" for checking if 'myhash' is not nil and if it isn't, access the 'foo' key?
LoneHerm_ has joined #ruby
<blackbombay_> i can't think of anything.
<blackbombay_> &. doesn't seem to work with the [] syntax.
palms has joined #ruby
kareeole_ has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 260 seconds]
<blackbombay_> you could try to rewrite your code so that myhash is always an empty hash.
abernstein has joined #ruby
millerti has joined #ruby
<al2o3-cr> alexandernst: myhash&.fetch('foo') ?
<blackbombay_> yeah that should work.
<blackbombay_> well.. fetch('foo', nil).
<blackbombay_> it raises by default right?
<blackbombay_> >> {}.fetch 'blah'
<ruby[bot]> blackbombay_: # => key not found: "blah" (KeyError) ...check link for more (https://eval.in/669036)
<blackbombay_> yeah..
<al2o3-cr> well, yeah nil :P
<al2o3-cr> my bad
<al2o3-cr> but thats probably longer than the original
<blackbombay_> &.fetch 'foo', nil should still work but idk if i prefer it over myhash and myhash['foo']
<al2o3-cr> myhash&.[]('foo')
<blackbombay_> confusing syntax, if it works.
<blackbombay_> i would try to eliminate the possibility of nil, and if that's not possible, i'd just use &&
last_staff has joined #ruby
<al2o3-cr> >> myhash = {a: 1, b: 2, 'foo' => 'bar'}; [ myhash&.[]('foo'), myhash&.[]('fo') ]
<ruby[bot]> al2o3-cr: # => ["bar", nil] (https://eval.in/669037)
<blackbombay_> interesting.
<alexandernst> perfect :)
<blackbombay_> except, i bet myhash && myhash['foo'] is less confusing than that.
kezo has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
kareeoleez has joined #ruby
Technodrome has joined #ruby
shmuli has quit [Remote host closed the connection]
al2o3-cr1 has joined #ruby
al2o3-cr is now known as Guest17741
al2o3-cr1 is now known as al2o3-cr
chouhoulis has quit [Ping timeout: 260 seconds]
shmuli has joined #ruby
palms has quit [Ping timeout: 260 seconds]
Guest17741 has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
hutch34 has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
hutch34 has quit [Ping timeout: 244 seconds]
yardenbar has joined #ruby
hays_ has joined #ruby
<hays_> I was hoping someone could help me out understanding how I can pass in a socket parameter (e.g., TCP_NODELAY) strating from rmodbus https://github.com/rmodbus/rmodbus
nopolitica has joined #ruby
xall_ has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
solocshaw has quit [Quit: solocshaw]
ben_____ has joined #ruby
solocshaw has joined #ruby
<hays_> i am having trouble seeing how a method like this flows through the code ModBus::TCPClient.connect(ip, port, :connect_timeout => 2)
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
<hays_> can't find in the code where the .connect method even comes from
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
maloik has quit [Remote host closed the connection]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maloik has joined #ruby
roamingdog has quit [Remote host closed the connection]
ben_____ has quit [Ping timeout: 260 seconds]
kareeoleez has quit [Remote host closed the connection]
NeverTired has quit [Quit: Connection closed for inactivity]
kingpinlz_ has quit [Quit: Leaving...]
Devalo has joined #ruby
dminuoso_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
JeanCarl1Machado has quit [Ping timeout: 250 seconds]
sylario has quit [Quit: Connection closed for inactivity]
dminuoso_ has quit [Ping timeout: 268 seconds]
anisha has joined #ruby
<hays_> ok it looks like maybe there's a method variable @io that I has method setsockoptions
drogo has joined #ruby
nankyokusei has quit [Ping timeout: 268 seconds]
nanoz has joined #ruby
<hays_> argh this code is so hard to follow
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
<al2o3-cr> hays_: something like this client.instance_eval { p @io.setsockopt foo, bar, int }
<al2o3-cr> without the p
<hays_> al2o3-cr: so. ModBus::TCPClient.connect returns something... i cant even figure out what its returning
miqlas-H has joined #ruby
<al2o3-cr> hays_: it returns a client object
<hays_> how did you figure that out
<al2o3-cr> just tested it
<hays_> sorry for being dense, but how
Devalo has quit [Ping timeout: 268 seconds]
<hays_> did you set up a modbus server and then connect to it via modbus?
<al2o3-cr> i just setup a listener using netcat that's all
benlieb has joined #ruby
<hays_> al2o3-cr: netcat -l 502 ?
<al2o3-cr> hays_: nc -lvp 502 or whatever
<hays_> I did this and then cl = ModBus::TCPClient.connect('127.0.0.1', 502) and got connection refused
creat has quit [Quit: Leaving]
<al2o3-cr> hays_: you forgot the -p flag
Immune has joined #ruby
Bellthoven has quit []
<al2o3-cr> hays_: anything under 1024 rquire root privs try a higher port number
<al2o3-cr> for testing
<hays_> al2o3-cr: this is very helpful. now I see @io.. why can't I just do cl.io.setsockoptions
<al2o3-cr> hays_: because it's got no accessor method
<hays_> is it because there is no attr_reader
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hays_> al2o3-cr: ok, so using that instance_eval bypasses that. setsockopt returned a 0. does that mean it failed? the docs don't seem to specify what it is supposed to return
<al2o3-cr> hays_: quite the opposite :)
<al2o3-cr> it succeded
<hays_> how do you know that
<al2o3-cr> it says in the docs
<hays_> not saying you are wrong, just trying to understand generally how i can know that
<al2o3-cr> yep
<al2o3-cr> i was just about to link them :p
<hays_> ok i guess those say to go to my system docs?
Bellthoven has joined #ruby
<hays_> i see where it describes the parameters but not the return value
<hays_> im really trying not to be dense here. is it in the C source code that you see this?
<al2o3-cr> hays_: man 3 setsockopt
modlin has joined #ruby
<al2o3-cr> Upon successful completion, setsockopt() shall return 0. Otherwise, −1 shall be returned and errno set to indicate the error.
shmuli has quit [Remote host closed the connection]
<hays_> alright so its basically passing through to the system. i see
<hays_> thank you for taking the time with that... very informative. still wish i could see how .connect is made. i see a very weird structure in client.rb
cdg has joined #ruby
<hays_> im guessing this is where it happens
<al2o3-cr> hays_: new calls initialize
<al2o3-cr> so connect is an alias of new
zeroDi has quit [Quit: WeeChat 1.5]
Bellthoven has quit []
modlin has quit [Quit: modlin]
bkxd has joined #ruby
<al2o3-cr> hays_: this might help
<hays_> al2o3-cr: alright.. do you know why that class << self pattern is needed? im reading an article about it, still not sure why this particular idiom is needed
<al2o3-cr> >> class X; def new(*a, &b); o = allocate; o.initialize(*a, &b); obj; end; class << self; alias_method(:connect, :new) end end; X.connect
<ruby[bot]> al2o3-cr: # => #<X:0x4231576c> (https://eval.in/669046)
<al2o3-cr> hays_: because new is a class method
ben_____ has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
shmuli has joined #ruby
solocshaw has joined #ruby
<al2o3-cr> hays_: it opens up the singleton class
leea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
modlin has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
mic_e has quit [Ping timeout: 245 seconds]
xall_ has joined #ruby
<hays_> al2o3-cr: is there a purpose to this code other than to make it so you can create an object by calling .connect instead of .new?
modlin has quit [Client Quit]
jottr has joined #ruby
pragmaticus has quit [Remote host closed the connection]
<hays_> maybe I ask too many questions. there seems to be a lot going on with ruby internals here that i would have to understand better (outside of this forum of communication)
mic_e has joined #ruby
naprimer_3 has joined #ruby
Prawnzy has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
xall_ has quit [Ping timeout: 245 seconds]
naprimer_2 has quit [Ping timeout: 252 seconds]
harai_ has quit [Ping timeout: 260 seconds]
chouhoul_ has joined #ruby
<hays_> it will be interesting whether this works on the windows machine this will run on (these TCP parameters)
Prawnzy has quit [Ping timeout: 245 seconds]
leea has joined #ruby
Pumukel has joined #ruby
Istanbul_Sea has quit []
nankyokusei has joined #ruby
modlin has joined #ruby
<al2o3-cr> hays_: sorry about that i was scrolled up
chouhoulis has quit [Ping timeout: 252 seconds]
<al2o3-cr> i thought it went quiet all of a sudden
<hays_> al2o3-cr: its cool, really appreciate the help
<al2o3-cr> no worries
<al2o3-cr> anything else you're not sure on?
minimalism has quit [Quit: minimalism]
kareeoleez has joined #ruby
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
<hays_> i think I have what i need. I am not a fan of this particular rmodbus code--I'm hoping it is not considered good coding practice to use all of these metaprogramming features
<hays_> thank you for the help again
<al2o3-cr> hays_: basically the author is just aliasing new with connect thats all
SmirnoffBG has joined #ruby
eljimmy has joined #ruby
<SmirnoffBG> hi
SmirnoffBG has left #ruby [#ruby]
elementaru has joined #ruby
hacman has joined #ruby
dminuoso_ has joined #ruby
<al2o3-cr> hays_: what seems better in your eyes ModBus::TCPClient.new or ModBus::TCPClient.connect
Pumukel has quit [Ping timeout: 250 seconds]
<hays_> al2o3-cr: I think .new is better because it is clear that an object is being created
mikecmpbll has joined #ruby
<hays_> as opposed to something else going on with a class method
<al2o3-cr> to me, it gives the user a clearer view is what is happening it's actually making a connection and return the client object. so in this case connect ftw :P
abernstein has quit [Ping timeout: 245 seconds]
<al2o3-cr> but thats all that codes doing anyhow
jottr_ has joined #ruby
<al2o3-cr> aliasing names
dminuoso_ has quit [Ping timeout: 260 seconds]
jottr has quit [Ping timeout: 260 seconds]
<hays_> al2o3-cr: im probably old and stodgy--reluctant to modify language idioms so casually
mvxlr has quit [Ping timeout: 265 seconds]
shmuli has quit [Remote host closed the connection]
jottr has joined #ruby
* al2o3-cr is waiting for his chicken chow mein (drools...)
minimalism has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
<hays_> i might go get some In-N-Out. traveling in california for the week/weekend so its a special treat. animal style ftw
last_staff has quit [Quit: away-away]
bigkevmcd has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
bigkevmcd has quit [Client Quit]
<al2o3-cr> sounds like a plan :)
elementaru has quit [Remote host closed the connection]
abernstein has joined #ruby
dos000 has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
<dos000> i did "bundle install --path vendor/bundler" how can i do 'bundle exec <module" build' now ? it does not look like vendor/bundler is in the path ??? basically make sure vendor/bundler/ruby/2.3.0/bin/<module> is in the path
JoshS has quit [Ping timeout: 268 seconds]
<dos000> i did "bundle install --path vendor/bundler" how can i do 'bundle exec <module> build' now ? i basically want to make sure vendor/bundler/ruby/2.3.0/bin/<module> is in the path
JeanCarloMachado has joined #ruby
moneylotion_ has joined #ruby
moneylotion has quit [Ping timeout: 260 seconds]
A5101 has joined #ruby
yqfvwal has joined #ruby
LoneHerm_ has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
kareeoleez has quit [Ping timeout: 245 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
xall_ has joined #ruby
nettoweb has quit [Ping timeout: 260 seconds]
abernstein has quit [Quit: abernstein]
nettoweb has joined #ruby
dhollinger has quit [Ping timeout: 250 seconds]
Immune has quit [Ping timeout: 260 seconds]
ych has joined #ruby
nettoweb has quit [Client Quit]
dhollinger has joined #ruby
al2o3-cr has quit [Ping timeout: 244 seconds]
hutch34 has joined #ruby
bkxd has joined #ruby
nettoweb has joined #ruby
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hays_ has quit [Quit: Page closed]
hutch34 has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 250 seconds]
arne has joined #ruby
<arne> is there any good websocket implementation?
<arne> all i can find is the one with eventmachine, and i don't like eventmachine really much
al2o3-cr has joined #ruby
<bougyman> I used the eventmachine one.
<bougyman> it performed well.
nankyokusei has quit [Ping timeout: 245 seconds]
<dos000> ok .. anyone knows how bundle install --path vendor/bundler remmbers that path ? is it stored in the user dirctory ???
xall_ has quit [Ping timeout: 250 seconds]
<arne> bougyman, i can't remember what i didn't like it about it
symm- has joined #ruby
<arne> i think it was something threading related
<arne> while ruby threading performance is awful either way
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
xall_ has joined #ruby
modlin has quit [Quit: modlin]
roamingdog has joined #ruby
TomyLobo has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
Felipe__ has joined #ruby
JeanCarloMachado has quit [Ping timeout: 250 seconds]
roamingdog has quit [Ping timeout: 244 seconds]
solocshaw has quit [Ping timeout: 250 seconds]
LoneHerm_ has quit [Remote host closed the connection]
dminuoso_ has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
LoneHermit has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
dminuoso_ has quit [Ping timeout: 252 seconds]
sneakerhax has joined #ruby
jenrzzz has joined #ruby
tvw has joined #ruby
solocshaw has joined #ruby
Madplatypus has joined #ruby
palms has joined #ruby
i8igmac has joined #ruby
last_staff has joined #ruby
jaguarmagenta has joined #ruby
nikivi has joined #ruby
grh has quit [Ping timeout: 265 seconds]
eljimmy has quit [Quit: Leaving]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<i8igmac> a few linux commands im trying to read the data printed to screen
<i8igmac> wavemon
<i8igmac> mtr
<i8igmac> bot commands print data in a funny way
<i8igmac> both*
<chris2> mtr has an noninteractive mode
<chris2> wavemon info you can get via iwconfig perhaps
<i8igmac> wavemon > log
<i8igmac> will print a bunch of fancy data that can almost be used
Felipe__ has quit [Quit: Leaving]
<chris2> what info do you need exactly?
<i8igmac> im going to print the data to a webbrowser
renderfu_ has joined #ruby
Burgestrand has joined #ruby
yardenbar has quit [Ping timeout: 268 seconds]
<i8igmac> i dont know if this data is utf-8 or something
<chris2> you could run it in tmux and do "screenshots" :)
<i8igmac> \u001b[?1049h\u001b[1;23r\u001b(B\u001b[m\u001b
<i8igmac> junk like this
<chris2> its ansi codes
<i8igmac> so a asni lib might help me
<chris2> i dunno of one actually
JoshS has joined #ruby
xall_ has quit [Ping timeout: 260 seconds]
<i8igmac> Open3.popen3("mtr localhost"){|i,output,t,p| while true; puts output.gets; end}
renderfu_ has quit [Ping timeout: 244 seconds]
<i8igmac> sse.write(output.gets)
<i8igmac> this will send each line threw server sent event
<i8igmac> ill start with mtr. sending threw sse
<i8igmac> so far this is exciting... lol
kareeoleez has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
Cohedrin has joined #ruby
jcao219 has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
Immune has joined #ruby
<i8igmac> so, with mtr. it prints 5 lines, then clears the screen and reprints
<i8igmac> or 3 lines, depending on the network hops.
renderfu_ has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
f0rpaxe has quit [Ping timeout: 245 seconds]
kareeoleez has quit [Ping timeout: 250 seconds]
claudiuinberlin has quit []
KnownSyntax has quit [Ping timeout: 245 seconds]
f0rpaxe has joined #ruby
i8igmac has quit [Ping timeout: 256 seconds]
KnownSyntax has joined #ruby
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
SCHAAP137 has joined #ruby
eljimmy has joined #ruby
i8igmac has joined #ruby
cdg has quit [Remote host closed the connection]
jottr_ has joined #ruby
solocshaw has joined #ruby
nikivi has quit [Quit: irc]
jottr has quit [Ping timeout: 260 seconds]
sonikspin has joined #ruby
kareeoleez has joined #ruby
smtudor has joined #ruby
xlegoman has quit [Quit: Textual IRC Client: www.textualapp.com]
dminuoso_ has joined #ruby
dminuoso_ has quit [Ping timeout: 250 seconds]
kareeoleez has quit [Remote host closed the connection]
Derperperd has quit [Read error: Connection reset by peer]
xall_ has joined #ruby
Derperperd has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
misterpink has joined #ruby
nettoweb has joined #ruby
jbomo has joined #ruby
vifino- is now known as oniifiv
nettoweb has quit [Client Quit]
abernstein has joined #ruby
al2o3-cr has quit [Ping timeout: 260 seconds]
millerti has joined #ruby
bklane has joined #ruby
al2o3-cr has joined #ruby
bklane has quit [Client Quit]
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall_ has quit [Ping timeout: 260 seconds]
ben_____ has quit [Remote host closed the connection]
millerti has quit [Client Quit]
ben_____ has joined #ruby
abernstein has quit [Quit: abernstein]
Jackneill_ has quit [Remote host closed the connection]
jottr has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ben_____ has quit [Ping timeout: 265 seconds]
Technodrome has joined #ruby
rkazak has joined #ruby
matp_ has joined #ruby
renderfu_ has quit [Remote host closed the connection]
gingray has quit [Ping timeout: 245 seconds]
thejoecarroll_ has joined #ruby
CloCkWeRX has joined #ruby
matp has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
bkxd has joined #ruby
naprimer_3 has quit [Ping timeout: 250 seconds]
thejoecarroll has quit [Ping timeout: 244 seconds]
Dohplay has joined #ruby
naprimer_3 has joined #ruby
Prawnzy has joined #ruby
quazimodo has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
xall_ has joined #ruby
bkxd has quit [Ping timeout: 265 seconds]
Guest66 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
Jameser has joined #ruby
xall_ has quit [Ping timeout: 245 seconds]
solocshaw has quit [Ping timeout: 260 seconds]
misterpink has quit [Ping timeout: 245 seconds]
misterpink has joined #ruby
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall_ has joined #ruby
smtudor has quit [Ping timeout: 252 seconds]
harai_ has joined #ruby
palms has quit [Ping timeout: 260 seconds]
last_staff has quit [Ping timeout: 250 seconds]
dminuoso_ has joined #ruby
arne has quit [Ping timeout: 250 seconds]
hacman has quit [Remote host closed the connection]
perturbation has joined #ruby
smtudor has joined #ruby
bmurt has joined #ruby
Felipe__ has joined #ruby
Felipe__ has quit [Remote host closed the connection]
dminuoso_ has quit [Ping timeout: 245 seconds]
firstdayonthejob has quit [Ping timeout: 265 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
xall_ has quit [Ping timeout: 260 seconds]
roamingdog has quit [Remote host closed the connection]
zukin has joined #ruby
koooge has joined #ruby
nettoweb has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millerti has joined #ruby
leea has quit [Ping timeout: 245 seconds]
bihi has quit [Quit: Bye!]
bihi has joined #ruby
skweek has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
skweek has joined #ruby
muelleme has quit [Ping timeout: 260 seconds]