apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
<hololeap> `pathname.find.grep(/.mp3$/i)` is what i meant
<IceDragon> >> "abc" === /abc/
<ruboto> IceDragon # => false (https://eval.in/342488)
<IceDragon> or I could be terribly misinformed
tubuliferous_ has joined #ruby
<IceDragon> >> /abc/ === "abc"
<ruboto> IceDragon # => true (https://eval.in/342489)
<IceDragon> mfw
infoget has joined #ruby
CaffeineShot has quit [Client Quit]
shuber_ has quit [Remote host closed the connection]
<IceDragon> hololeap: I just did a quick, test, define a to_str method on pathname and watch the magic :3
zarubin has quit [Remote host closed the connection]
<hololeap> IceDragon: to_str is called, not to_s?
apurcell has quit [Quit: Be back later ...]
<IceDragon> hololeap: Regexp seems to call #to_str on the object before testing it, so that's your gateway
dc has joined #ruby
infoget has quit [Client Quit]
tubuliferous_ has quit [Ping timeout: 256 seconds]
<IceDragon> hololeap: I think #to_str is meant for explicit conversion (just like to_ary, to_hash etc..)
<hololeap> IceDragon: then what is to_s for?
<IceDragon> while we have to_s, to_a and to_h, which are normally thrown in for implicit conversions
zarubin has joined #ruby
<IceDragon> hololeap: ^
dc has quit [Remote host closed the connection]
<hololeap> IceDragon: hmm... and yet isn't Regexp implicitly calling #to_str when you run #=== ?
jgt has joined #ruby
<IceDragon> yup, but if the object doesn't define it, it just skips it
<IceDragon> >> Object.to_str
<ruboto> IceDragon # => undefined method `to_str' for Object:Class (NoMethodError) ...check link for more (https://eval.in/342520)
Kricir has joined #ruby
<IceDragon> ^
<hololeap> IceDragon: seems weird to me, but defining to_str for Pathname isn't too bad
<IceDragon> >> "a".to_str
<ruboto> IceDragon # => "a" (https://eval.in/342521)
<IceDragon> hololeap: I'm sure you wouldn't want an Array magically being === equal to a Regexp ;3
<hololeap> IceDragon: that's a good point. didn't think of that
redjack1964 has quit [Remote host closed the connection]
<hololeap> although calling #grep sort of implicitly implies that you are treating the contents of your Array as Strings, doesn't it?
<hololeap> maybe not, that's the only time i ever use it though :)
<IceDragon> Ah, nope?
lidenskap has quit [Remote host closed the connection]
<IceDragon> maybe, I'm not sure, I never used grep...
* IceDragon checks docks
<IceDragon> *docs
<IceDragon> ;-; curse you english
<hololeap> check the docks for the docs
jgt has quit [Ping timeout: 240 seconds]
<IceDragon> Seems to work with objects that aren't strings ;3
Kricir has quit [Ping timeout: 276 seconds]
<hololeap> well now i understand why it works that way
<hololeap> so i guess the real question is why doesn't Pathname define #to_str :p
<zenspider> Calls to_str if it exists, which is a contractual declaration that something is "String-like". Calling to_s doesn't make sense
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zenspider> you're saying that `/blah/ =~ [42]` should work
<hololeap> zenspider: not anymore, IceDragon cleared that up for me
<zenspider> I wish it were called Path and not Pathname... it's a bad name
baweaver has quit [Remote host closed the connection]
<zenspider> it's arguable whether or not Pathname should have to_str
<zenspider> you generally want to keep it in Path form, not intermix it with strigns
<zenspider> strings
<IceDragon> >> ary = [42]; def ary.to_str ; to_s ; end; /\[42\]/ === ary
<ruboto> IceDragon # => true (https://eval.in/342552)
<IceDragon> don't do this at home gentlemen
<zenspider> good
<hololeap> zenspider: but doesn't a Pathname always have a String at its heart? to me that means that having to_str would make sense. correct me if i'm wrong
<hololeap> and btw, i'm not trying to argue about this, just expand my understanding ;)
<IceDragon> I wonder if URI defines a to_str
<IceDragon> no, no it doesn't, sad >:
<zenspider> having a string and being a string (or string-like thing) are two different things
<zenspider> hololeap: is this your actual usecase? `pathname.find.grep(/.mp3$/i)`, if so, why? what are you trying to do at the top-level?
CaffeineShot has joined #ruby
rgb-one has quit [Remote host closed the connection]
<hololeap> zenspider: isn't it obvious? i'm trying to get all the paths that end with .mp3 . i use ruby for a lot of computer administration stuff at home
<zenspider> hololeap: isn't it obvious that it isn't obvious? otherwise, why would I ask?
<zenspider> pathname.find w/o a block?
<zenspider> grepping on top of that?
<IceDragon> hololeap: Why not use Dir.glob("*.mp3") ?
<zenspider> none of it is obvious
<zenspider> Dir.glob or Pathname.glob is obvious
<IceDragon> if you need it recursively
<IceDragon> hololeap: Dir.glob("**/*.mp3")
<zenspider> or Find.find
<zenspider> tho I only use that for more complex criteria
rgb-one has joined #ruby
<rgb-one> Does CPU architecture matter for web development?
<zenspider> rgb-one: generic answer for a generic question: no. yes. maybe. depends.
<IceDragon> I wonder if I could spin up a web server on a 8 bit cpu...
<zenspider> really depends on what you're trying to do
mary5030 has joined #ruby
<zenspider> it'd be funny watching it trying to resolve an IP one byte at a time
<rgb-one> with regards to the two most used architectures, ie. 32-bit and 64 bit
<hololeap> thanks guys, but i wasn't looking for coding help. i was just curious as to what the reasoning was behind some of the design decisions in ruby. but i think i get it now, so thanks...
<zenspider> wow
dc has joined #ruby
dc has quit [Remote host closed the connection]
<IceDragon> rgb-one: Recommended 64bit, you can still chug 32bit, if thats your game, but with 64 you should be able to run docker and all those lovely container things they have now
jbomo has quit []
P1RATEZ has joined #ruby
FernandoBasso has quit [Quit: leaving]
pontiki has quit [Ping timeout: 265 seconds]
<willharrison> does ruby have a built in documentation tool?
<hololeap> willharrison: ri and rdoc
<rgb-one> ri I think
<willharrison> ok thanks
lidenskap has joined #ruby
<rgb-one> you can run ri <ClassName.method> on the terminal eg. `ri Array.new`
<hololeap> willharrison: personally, i prefer YARD which you can install with `gem install yard`. it lets you set up a http daemon which serves the docs through your browser
<willharrison> hololeap hm, I will check that out also, thanks
<hololeap> willharrison: np
<rgb-one> What tool do you guys reccomend for API documentation?
freerobby has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<rgb-one> I know of YARD and slate, any others?
<rgb-one> generating API documentation*
CustosLimen has quit [Max SendQ exceeded]
LJT has quit [Quit: Sleeping...]
CustosLimen has joined #ruby
<hololeap> so whenever you call "obj.method", its actually calling #method on the object's singleton class. is this correct?
hmsimha has quit [Ping timeout: 256 seconds]
WillAmes has joined #ruby
<zenspider> no
<zenspider> it's calling it on whomever responds to it. all the way up the ancestors path
<zenspider> rgb-one: rdoc
<rgb-one> zenspider: I know of that as well
scripore has joined #ruby
<hololeap> zenspider: ok, good point. but in a normal method definition (class Foo; def bar; true; end; end), (foo = Foo.new).bar is being responded to by foo's singleton class?
Feyn has joined #ruby
<zenspider> no, just its class
<zenspider> def foo.blah; ...; end would be tho
<hololeap> zenspider: ok
startupality has joined #ruby
CaffeineShot has quit [Quit: Leaving]
pontiki has joined #ruby
sinequanon has joined #ruby
sankaber has joined #ruby
kyrylo has quit [Ping timeout: 240 seconds]
lidenskap has quit [Remote host closed the connection]
<hololeap> are class methods stored in the class object's singleton class?
<hololeap> >> class Foo; def self.bar; true; end; end; Foo.singleton_class.class_eval { define_method(:baz) { false } }; Foo.methods(false)
<ruboto> hololeap # => [:bar, :baz] (https://eval.in/342612)
apurcell has joined #ruby
sinequanon has quit [Ping timeout: 265 seconds]
sankaber has quit [Ping timeout: 256 seconds]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Client Quit]
<pontiki> hallo again
bartkoo has joined #ruby
rgb-one has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
shuber_ has joined #ruby
apurcell has quit [Ping timeout: 272 seconds]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
bartkoo has quit [Quit: bartkoo]
robustus has quit [Ping timeout: 264 seconds]
lidenskap has joined #ruby
robustus has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shuber_ has quit [Remote host closed the connection]
djbkd has joined #ruby
SouL_|_ has quit [Ping timeout: 255 seconds]
Kricir has joined #ruby
CaffeineShot has joined #ruby
jgt has joined #ruby
lidenskap has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 252 seconds]
CloCkWeRX has joined #ruby
yqt has quit [Ping timeout: 256 seconds]
jgt has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
<zenspider> hololeap: you seem really focused on singleton classes...
ozzloy has joined #ruby
<hololeap> zenspider: i'm just trying to verify my understanding
Deele has quit [Ping timeout: 256 seconds]
AlphaAtom has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has quit [Ping timeout: 256 seconds]
juanpablo_ has joined #ruby
adkron has quit [Ping timeout: 255 seconds]
juanpablo_ has quit [Ping timeout: 256 seconds]
shuber_ has joined #ruby
The_Phoenix has joined #ruby
diegoviola has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
scripore has quit [Quit: This computer has gone to sleep]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
robbyoconnor has quit [Read error: No route to host]
duncannz has joined #ruby
robbyoconnor has joined #ruby
scripore has joined #ruby
apurcell has joined #ruby
cjim_ has quit [Quit: (null)]
_blizzy_ has quit [Ping timeout: 265 seconds]
<ebonics> is cool.io good
<zenspider> vague question is vague
<zenspider> yes. no. maybe. depends.
sankaber has joined #ruby
apurcell has quit [Ping timeout: 255 seconds]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
<ebonics> ie. is it worth using over the default tcpserver in the ruby stdlib
<ebonics> it looks super nice but
ferr has joined #ruby
<ebonics> yolo i guess
multi_io has quit [Ping timeout: 250 seconds]
multi_io has joined #ruby
<zenspider> "Sorry folks, Cool.io is retired."
<ebonics> where's it say that
<zenspider> I googled it
<ebonics> doesn't seem too dead
<ebonics> ima use it anyway it looks good
<zenspider> I'm not making this shit up
<zenspider> "If you are interested in Celluloid based IO framework, please check out Celluloid::IO" from your page. seems straightforward to me
diegoviola has quit [Changing host]
diegoviola has joined #ruby
<ebonics> o
CaffeineShot has quit [Quit: Leaving]
diegoaguilar has joined #ruby
rahult has joined #ruby
rahult is now known as rahult_
rahult_ has quit [Client Quit]
jeromelanteri has joined #ruby
rahult has joined #ruby
tubuliferous_ has joined #ruby
rahult is now known as rahult_
rahult_ is now known as rahult
icebourg has joined #ruby
rahult is now known as rahult_
<zenspider> any Fiddle gurus in here?
<zenspider> or DL I guess... tho that's less useful
tubuliferous_ has quit [Ping timeout: 272 seconds]
orion has joined #ruby
<orion> Hi. Is there a way for a class's initialize method to replace a method with a null function?
charliesome has joined #ruby
<orion> I wrote a module which has a specific API it needs to adhere to, but under certain circumstances I just want to remove all the logic from the module and make it do nothing.
gambl0re has joined #ruby
segfalt has joined #ruby
<zenspider> orion: why would you do that in initalize?
<zenspider> initialize even... argh my fingers aren't working today
tus has quit []
shuber_ has quit [Remote host closed the connection]
ICantCook has quit [Read error: Connection reset by peer]
ICantCook has joined #ruby
towski_ has joined #ruby
cjim_ has joined #ruby
Oka has joined #ruby
Sawbones has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
<zenspider> I love it when ppl ask questions w/ absolutely no intention of getting an answer. always a quality use of time
jenrzzz has joined #ruby
hippyphysicist has joined #ruby
hippyphysicist has quit [Read error: Connection reset by peer]
arescorpio has joined #ruby
<orion> zenspider: The question is no longer relevant.
<orion> I just added a "return nil if @blah"
<orion> to the top of the methods I want to be non-functional
Sawbones has quit [Remote host closed the connection]
rawrmonstar has quit [Ping timeout: 240 seconds]
orion has left #ruby [#ruby]
thumpba has joined #ruby
unreal has joined #ruby
unreal_ has quit [Ping timeout: 264 seconds]
Deele has joined #ruby
Lucky__ has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shuber_ has joined #ruby
freerobby has quit [Quit: Leaving.]
cjim_ has quit [Quit: (null)]
shuber_ has quit [Ping timeout: 256 seconds]
allcentury has joined #ruby
towski_ has quit [Remote host closed the connection]
towski_ has joined #ruby
ferr has quit [Quit: WeeChat 1.1.1]
towski_ has quit [Remote host closed the connection]
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
yosafbridge has quit [Ping timeout: 272 seconds]
sinequanon has joined #ruby
allcentury has quit [Ping timeout: 255 seconds]
davedev24_ has quit [Ping timeout: 272 seconds]
n008f4g_ has quit [Ping timeout: 272 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
yosafbridge has joined #ruby
icebourg has quit []
sinequanon has quit [Ping timeout: 256 seconds]
davedev24_ has joined #ruby
vikaton has quit []
chipotle has joined #ruby
nii236 has joined #ruby
jgt has joined #ruby
chipotle has quit [Ping timeout: 256 seconds]
thumpba has quit [Remote host closed the connection]
badhatter has quit [Ping timeout: 250 seconds]
jgt has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
vikaton has joined #ruby
DEA7TH_ has quit [Ping timeout: 252 seconds]
<vikaton> >> 1 < 2 < 3
<ruboto> vikaton # => undefined method `<' for true:TrueClass (NoMethodError) ...check link for more (https://eval.in/342890)
<vikaton> awe :[
cyberarm has quit [Read error: Connection reset by peer]
braincrash has quit [Quit: bye bye]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby
juanpablo_ has joined #ruby
dfinninger has joined #ruby
<ChasedSpade> Does anybody know of a method to convert a hexadecimal string into an IP Address? The IPAddr and IPAddress gems only go from IP address to hexadecimal.
Rickmasta has joined #ruby
Papierkorb has quit [Ping timeout: 244 seconds]
juanpablo_ has quit [Ping timeout: 250 seconds]
braincrash has joined #ruby
gsd has joined #ruby
jeromelanteri has joined #ruby
<vikaton> >> 1 && 1
<ruboto> vikaton # => 1 (https://eval.in/342927)
<vikaton> > 1 & 1
<vikaton> >> 1 & 1
<ruboto> vikaton # => 1 (https://eval.in/342928)
greenbagels has joined #ruby
<mozzarella> >> IPAddr.new('deadbeef'.to_i(16), Socket::AF_INET)
<ruboto> mozzarella # => uninitialized constant IPAddr (NameError) ...check link for more (https://eval.in/342929)
<mozzarella> >> require 'ipaddr'; IPAddr.new('deadbeef'.to_i(16), Socket::AF_INET)
<ruboto> mozzarella # => #<IPAddr: IPv4:222.173.190.239/255.255.255.255> (https://eval.in/342930)
<mozzarella> ChasedSpade: ^
<hololeap> >> Dir.tmpdir
<ruboto> hololeap # => undefined method `tmpdir' for Dir:Class (NoMethodError) ...check link for more (https://eval.in/342931)
<hololeap> >> RUBY_VERSION
<ruboto> hololeap # => "2.2.0" (https://eval.in/342932)
Soda has joined #ruby
<hololeap> i'm confused, was Dir#tmpdir taken out in a recent version? http://ruby-doc.org/stdlib-2.2.0.preview1/libdoc/tmpdir/rdoc/Dir.html
iotouch has joined #ruby
<hololeap> s/Dir#tmpdir/Dir.tmpdir/
mary5030 has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 265 seconds]
icarus has joined #ruby
mary5030 has joined #ruby
najmi_ has joined #ruby
<mozzarella> >> p Dir.methods.sort
<ruboto> mozzarella # => [:!, :!=, :!~, :<, :<=, :<=>, :==, :===, :=~, :>, :>=, :[], :__id__, :__send__, :allocate, :ancestor ...check link for more (https://eval.in/342963)
shuber_ has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
shuber_ has quit [Ping timeout: 245 seconds]
tubuliferous_ has joined #ruby
duncannz has quit [Ping timeout: 246 seconds]
dfinninger has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
vikaton has quit []
mary5030 has joined #ruby
tubuliferous_ has quit [Ping timeout: 255 seconds]
icarus has quit [Remote host closed the connection]
dorei has quit []
<ChasedSpade> thanks mozzarella
ShortCode has joined #ruby
ohaibbq has quit [Remote host closed the connection]
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rahult has joined #ruby
wjimenez5271 has quit [Ping timeout: 255 seconds]
CloCkWeRX has quit [Quit: Leaving.]
riskish has joined #ruby
Soda has quit [Remote host closed the connection]
s2013 has joined #ruby
michael_mbp has quit [Excess Flood]
weemsledeux has joined #ruby
michael_mbp has joined #ruby
<hololeap> was Dir#tmpdir replaced or is it no longer there at all? i'm not finding any documentation explaining this? any ides?
<hololeap> *ideas?
Sawbones has joined #ruby
nii236 has quit [Ping timeout: 272 seconds]
lidenskap has joined #ruby
<jeromelanteri> where can find ACS patches for kernel ?
<jeromelanteri> i think i need it for passthrough my nvidia GTX750 graphic card
<hololeap> jeromelanteri: i think you are in the wrong channel
<jeromelanteri> ho yes... sorry
<hololeap> hololeap: no problem
<hololeap> jeromelanteri: ^
avahey has joined #ruby
CustosLimen has quit [Ping timeout: 245 seconds]
Pupeno has quit [Remote host closed the connection]
tectonic has joined #ruby
CustosLimen has joined #ruby
jgt has joined #ruby
nahtnam has joined #ruby
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
icebourg has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
jgt has quit [Ping timeout: 244 seconds]
dc has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
mary5030 has quit [Ping timeout: 246 seconds]
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
lidenskap has quit [Remote host closed the connection]
baweaver has joined #ruby
roshanavand has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
endash has quit [Quit: endash]
michael_mbp has quit [Excess Flood]
allcentury has joined #ruby
michael_mbp has joined #ruby
iotouch has joined #ruby
rodfersou has quit [Quit: leaving]
dfinninger has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
tectonic has quit []
DynamicMetaFlow has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 272 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shuber_ has joined #ruby
swgillespie has joined #ruby
Ropeney has joined #ruby
rahult has joined #ruby
shuber_ has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
lxsameer has joined #ruby
A205B064 has quit [Ping timeout: 240 seconds]
nii236 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
nii236 has quit [Read error: Connection reset by peer]
<zotherstupidguy> Morning!
aphprentice has quit [Remote host closed the connection]
duncannz has joined #ruby
workmad3 has joined #ruby
Sawbones has quit [Remote host closed the connection]
hmsimha has joined #ruby
DynamicMetaFlow has quit [Quit: Leaving]
Kricir has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
workmad3 has quit [Ping timeout: 256 seconds]
scripore has joined #ruby
ShortCode has quit [Quit: Leaving]
mostlybadfly has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpablo_ has joined #ruby
ferr has joined #ruby
woodruffw has quit [Ping timeout: 240 seconds]
Rickmasta has joined #ruby
juanpablo_ has quit [Ping timeout: 256 seconds]
platzhirsch has joined #ruby
braincra- has joined #ruby
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
DynamicMetaFlow has joined #ruby
riotjones has joined #ruby
woodruffw has joined #ruby
braincrash has quit [Ping timeout: 272 seconds]
platzhirsch has quit [Quit: Leaving.]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has quit [Quit: This computer has gone to sleep]
lidenskap has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
icebourg has quit [Ping timeout: 255 seconds]
s2013 has joined #ruby
s2013 has quit [Client Quit]
icebourg has joined #ruby
ramfjord has joined #ruby
jayeshsolanki has joined #ruby
MuffinPimp has quit [Ping timeout: 264 seconds]
najmi_ has quit [Remote host closed the connection]
icebourg has quit [Ping timeout: 272 seconds]
icebourg has joined #ruby
lidenskap has quit [Remote host closed the connection]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
mary5030 has joined #ruby
tubuliferous_ has joined #ruby
icebourg has quit [Ping timeout: 276 seconds]
arescorpio has quit [Excess Flood]
icebourg has joined #ruby
lidenskap has joined #ruby
tubuliferous_ has quit [Ping timeout: 246 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
mary5030 has quit [Ping timeout: 265 seconds]
roshanavand has joined #ruby
tectonic has joined #ruby
michael_mbp has quit [Excess Flood]
icebourg has quit [Ping timeout: 240 seconds]
shuber_ has joined #ruby
s2013 has joined #ruby
kenneth has joined #ruby
icebourg has joined #ruby
michael_mbp has joined #ruby
kenneth has quit [Client Quit]
shuber_ has quit [Ping timeout: 255 seconds]
Ropeney has quit [Ping timeout: 276 seconds]
Lucky__ has quit [Ping timeout: 264 seconds]
icebourg has quit [Client Quit]
postmodern has quit [Quit: Leaving]
P1RATEZ has quit []
<hanmac> hololeap: did you solve your problem with "Dir#tmpdir" that you need to require "tmpdir" first ?
<hololeap> hanmac: no, i didn't catch that. where did you find that info?
pontiki has quit [Quit: zzzzzzzzzzzzzz]
<hanmac> i just know that ;P
<hololeap> hanmac: well, thanks :)
havenwood has quit [Ping timeout: 256 seconds]
attlasbot has joined #ruby
texasmynsted has left #ruby [#ruby]
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
P1RATEZ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
roshanavand has quit [Quit: Konversation terminated!]
fivetwentysix_ has joined #ruby
fivetwentysix_ has quit [Client Quit]
thatslif_ has joined #ruby
thatslifeson has quit [Ping timeout: 250 seconds]
jgt has joined #ruby
thatslif_ has quit [Ping timeout: 276 seconds]
jgt has quit [Ping timeout: 244 seconds]
dc has quit [Remote host closed the connection]
dc has joined #ruby
havenwood has joined #ruby
A205B064 has joined #ruby
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jeromelanteri has joined #ruby
jeromelanteri has quit [Client Quit]
jeromelanteri has joined #ruby
kevin_brown has joined #ruby
ferr has quit [Quit: WeeChat 1.1.1]
jeromelanteri has quit [Client Quit]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeromelanteri has joined #ruby
penzur has quit [Ping timeout: 245 seconds]
penzur has joined #ruby
zotherstupidguy has quit [Ping timeout: 264 seconds]
zotherstupidguy has joined #ruby
MXfive has joined #ruby
chinmay_dd has joined #ruby
shuber_ has joined #ruby
workmad3 has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
roolo has joined #ruby
shuber_ has quit [Ping timeout: 256 seconds]
goggy has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
longfeet has quit [Ping timeout: 256 seconds]
juanpablo_ has joined #ruby
duncannz has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
tvw has quit [Client Quit]
laurentide has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
tvw has quit [Read error: Connection reset by peer]
juanpablo_ has quit [Ping timeout: 272 seconds]
DynamicMetaFlow has quit [Quit: Leaving]
zotherstupidguy has quit [Ping timeout: 255 seconds]
konsolebox has quit [Ping timeout: 264 seconds]
zotherstupidguy has joined #ruby
sevenseacat has joined #ruby
nux443 has quit [Ping timeout: 250 seconds]
Oka has quit [Quit: さようなら]
tectonic has quit []
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jayeshsolanki has quit [Quit: bye!]
nux443 has joined #ruby
tectonic has joined #ruby
thatslifeson has joined #ruby
<shevy> the secret and forbidden knowledge of ruby
jgt has joined #ruby
thatslifeson has quit [Ping timeout: 252 seconds]
jgt has quit [Ping timeout: 240 seconds]
<baweaver> shevy: which part?
kenneth has joined #ruby
<shevy> the undocumented part!
diegoviola has quit [Quit: WeeChat 1.1.1]
kenneth has quit [Client Quit]
tubuliferous_ has joined #ruby
kenndel has joined #ruby
sinequanon has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
User458764 has joined #ruby
sinequanon has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 255 seconds]
sinequanon has joined #ruby
tubuliferous_ has quit [Ping timeout: 246 seconds]
konsolebox has joined #ruby
dc has quit [Remote host closed the connection]
zotherstupidguy has quit [Ping timeout: 240 seconds]
tectonic has quit []
baweaver has quit [Remote host closed the connection]
djbkd_ has joined #ruby
djbkd_ has quit [Read error: Connection reset by peer]
djbkd_ has joined #ruby
zotherstupidguy has joined #ruby
tectonic has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
bartkoo has joined #ruby
SouL_|_ has joined #ruby
kirun has joined #ruby
djbkd_ has quit [Ping timeout: 244 seconds]
greenbagels has quit [Quit: Leaving]
shuber_ has joined #ruby
attlasbot has quit [Read error: Connection reset by peer]
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jeromelanteri has joined #ruby
shuber_ has quit [Ping timeout: 276 seconds]
Guest56726 has quit [Quit: Leaving]
sinkensabe has joined #ruby
<hololeap> is there a better way of saying `(array1 - array2).empty?` in other words, check that each array has exactly one matching element?
sinequanon has quit [Remote host closed the connection]
sinequanon has joined #ruby
wldcordeiro_ has joined #ruby
<hololeap> nvm... `array1.sort == array2.sort`
chinmay_dd has quit [Read error: Connection reset by peer]
chinmay_dd has joined #ruby
mooe has joined #ruby
<shevy> I hate ARGV parsing in ruby so much
MuffinPimp has joined #ruby
zotherstupidguy has quit [Ping timeout: 264 seconds]
iasoon has quit [Ping timeout: 272 seconds]
zotherstupidguy has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sevenseacat has quit [Quit: Me dun like you no more.]
msgodf has joined #ruby
A205B064 has quit [Ping timeout: 256 seconds]
djbkd_ has joined #ruby
Pupeno has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 245 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
havenwood has quit [Ping timeout: 264 seconds]
infoget has joined #ruby
infoget has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
banister has joined #ruby
bMalum has joined #ruby
allcentury has joined #ruby
antgel has joined #ruby
User458764 has joined #ruby
allcentury has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby
nickjj_ has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
SouL_|_ has quit [Ping timeout: 240 seconds]
kyrylo has joined #ruby
iotouch has joined #ruby
workmad3 has quit [Ping timeout: 272 seconds]
juanpablo_ has joined #ruby
antgel has quit [Ping timeout: 272 seconds]
nickjj_ has quit [Ping timeout: 244 seconds]
zotherstupidguy has quit [Ping timeout: 246 seconds]
juanpablo_ has quit [Ping timeout: 264 seconds]
Narzew has joined #ruby
zotherstupidguy has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.1.1]
shuber_ has joined #ruby
antgel has joined #ruby
shuber_ has quit [Ping timeout: 256 seconds]
sinequanon has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 240 seconds]
thatslifeson has joined #ruby
zotherstupidguy has quit [Ping timeout: 272 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #ruby
SouL_|_ has joined #ruby
turtil has quit [Ping timeout: 272 seconds]
ramfjord has quit [Ping timeout: 272 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thatslifeson has quit [Ping timeout: 276 seconds]
jgt has joined #ruby
iamjarvo has joined #ruby
nickjj has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
bluOxigen has joined #ruby
jgt has quit [Ping timeout: 255 seconds]
zotherstupidguy has joined #ruby
towski_ has joined #ruby
ghr has joined #ruby
P1RATEZ has quit []
turtil has joined #ruby
codecop has joined #ruby
djbkd_ has quit [Remote host closed the connection]
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
wldcordeiro_ has quit [Ping timeout: 256 seconds]
jgt has joined #ruby
goggy has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
tubuliferous_ has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
towski_ has quit [Remote host closed the connection]
towski_ has joined #ruby
nickjj has joined #ruby
redjack1964 has joined #ruby
laurentide has joined #ruby
tubuliferous_ has quit [Ping timeout: 245 seconds]
saltsa has quit [Ping timeout: 264 seconds]
davidhq has joined #ruby
turtil has quit [Ping timeout: 252 seconds]
toretore has quit [Ping timeout: 255 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iotouch has quit [Quit: This computer has gone to sleep]
tectonic has quit []
arup_r has joined #ruby
toretore has joined #ruby
toretore has quit [Max SendQ exceeded]
towski_ has quit [Remote host closed the connection]
mostlybadfly has quit [Quit: Connection closed for inactivity]
n008f4g_ has joined #ruby
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
turtil has joined #ruby
<arup_r> any idea how can I convert this text file to csv file.. separators are the problem creator here...
toretore has joined #ruby
toretore has quit [Ping timeout: 264 seconds]
Joufflu has quit [Read error: Connection reset by peer]
redjack1964 has quit [Remote host closed the connection]
jalcine has quit [Read error: Connection reset by peer]
jalcine has joined #ruby
<go|dfish> arup_r: it already is. (it's tab delimited)
bMalum has quit [Quit: bMalum]
mtakkman has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
SouL_|_ has quit [Ping timeout: 264 seconds]
SouL_|__ has joined #ruby
<arup_r> is it ?
shuber_ has joined #ruby
saltsa has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yeticry has joined #ruby
antgel has quit [Ping timeout: 246 seconds]
djellemah has joined #ruby
<go|dfish> $ cat -A raw.txt | head -n 1
<go|dfish> Apple Identifier^IArtist / Show^ITitle^ILabel/Studio/Network^IISRC^IVendor Identifier^IVendor Offer Code$
djellemah_ has joined #ruby
<go|dfish> arup_r: The ^I here are tabs
<arup_r> go|dfish: wow... let me try with CSV lib..
shuber_ has quit [Ping timeout: 255 seconds]
antgel has joined #ruby
<arup_r> means '\t` .... right ?
<wasamasa> much raw
<arup_r> wasamasa: means ?
kyrylo has quit [Ping timeout: 264 seconds]
<apeiros> arup_r: "\t", not '\t'
lidenskap has quit [Remote host closed the connection]
<arup_r> Oh.. yes.. thanks apeiros :
djellemah has quit [Disconnected by services]
djellemah has joined #ruby
quimrstorres has joined #ruby
djellemah_ has left #ruby ["Leaving"]
davedev24_ has joined #ruby
Rahul_Roy has joined #ruby
zotherstupidguy has quit [Ping timeout: 256 seconds]
zotherstupidguy has joined #ruby
<arup_r> It is working.. But how would I handle runtime error like this https://gist.github.com/aruprakshit/21b093d29853370cc8fa#file-error-sh while parsing.. I have no control on this file.. I'll download from FTP server then import rows to DB.. this is my work
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Pisuke has quit [Read error: Connection reset by peer]
gauke has joined #ruby
Sembei has joined #ruby
platzhirsch has joined #ruby
workmad3 has joined #ruby
Leef_ has joined #ruby
platzhirsch has left #ruby [#ruby]
<arup_r> what's the best approach to handle this ?
<arup_r> this wouldn't work for me http://stackoverflow.com/a/19042554/2767755
LJT has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
relix has joined #ruby
<apeiros> arup_r: how long are you on this channel now? and how often have you been told "does not work" is useless as a problem description?
<apeiros> I mean seriously, come on. you can do better.
Guest23901 has quit [Quit: Guest23901]
sdothum has joined #ruby
mjkr_ has joined #ruby
idafyaid has joined #ruby
<mjkr_> is the gem repo blocked in china?
idafyaid is now known as Guest8144
<arup_r> apeiros: I have shown the error.. what else I need to tell,, I don't know.... what else information you need... ? I'll tell let me know
mtakkman has quit [Ping timeout: 255 seconds]
antgel has quit [Ping timeout: 265 seconds]
Guest8144 has quit [Client Quit]
<wasamasa> apeiros: "Error (It Doesn't Work Mix)"
jacwodjo has joined #ruby
<wasamasa> I've got to admit that the CSV module feels silly to use
jacwodjo has quit [Remote host closed the connection]
SouL_|__ has quit [Ping timeout: 276 seconds]
antgel has joined #ruby
<wasamasa> arup_r: well, uh, the error suggests your CSV data is borked
kevin_brown has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
User458764 has joined #ruby
CamonZ has quit [Quit: Textual IRC Client: www.textualapp.com]
<wasamasa> I like how the output shows a line not present in the input data on that gist
<arup_r> Yes.. I got it,, Asking any trivial way to get rid on this.. Because I have no control to the raw file, I'll download and parse and import ... that's it..
<arup_r> wasamasa: Its a huge file.. I gave a little of it.. to show the data arangement
<wasamasa> arup_r: it would have been more useful to give us the erroneous snippet of that file instead
idafyaid1 has joined #ruby
<wasamasa> arup_r: debugging is science, you can learn it
<wasamasa> arup_r: if you wish us to help you, help us first by providing as useful data upfront as possible
sleeper has joined #ruby
<arup_r> sure
<arup_r> this is the line --- from where error is coming --
<arup_r> 386953513Conjunto Baraja De ORODos Ojas Sin RumboLa "M" DiscosUSQY51069562TRACK_USQY51069562_735885789923735885789923_TRACK_USQY51069562_735885789923
quimrstorres has quit [Remote host closed the connection]
<sleeper> I'm in the preliminary stages of writing a web application and I'm assessing the viability of Rack. Are there any gurus who could tell me about the service bottlenecks of a Rack process?
quimrstorres has joined #ruby
<arup_r> La "M" Discos is the culprit... wasamasa :
<wasamasa> arup_r: try using a different quote char when reading it in then
ndrei has quit [Ping timeout: 256 seconds]
platzhirsch has joined #ruby
<arup_r> wasamasa: I already opened it.. Looking for a correct quote char as file used both ' and "... so need something else
ramfjord has joined #ruby
juanpablo_ has joined #ruby
SouL_|_ has joined #ruby
idafyaid1 has quit [Read error: Connection reset by peer]
hmsimha has quit [Ping timeout: 256 seconds]
antgel has quit [Ping timeout: 264 seconds]
_blizzy_ has joined #ruby
idafyaid1 has joined #ruby
juanpablo_ has quit [Ping timeout: 255 seconds]
decoponio has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<wasamasa> use a null byte or whatever
<wasamasa> or PILE OF POO
startupality has joined #ruby
<arup_r> wasamasa: I tried `, ', " all.. all are throwing the same error at different line throughout the program.. Need some other...
<wasamasa> ...
<arup_r> oo.. what is PILE ?
platzhirsch has quit [Quit: Leaving.]
<wasamasa>
codecop has quit [Remote host closed the connection]
jayeshsolanki has joined #ruby
antgel has joined #ruby
thatslifeson has joined #ruby
attlasbot has joined #ruby
<arup_r> wasamasa: like me... http://stackoverflow.com/a/12533730/2767755 he got saved his life using `|` .. let me try :)
quimrstorres has joined #ruby
jayeshsolanki has quit [Max SendQ exceeded]
Takasm has joined #ruby
jayeshsolanki has joined #ruby
<wasamasa> which is exactly what I've been telling you
malcolmva has quit [Ping timeout: 256 seconds]
<wasamasa> use something not present in your data
<arup_r> wasamasa: \o/
<arup_r> `|` worked
<arup_r> Let me give him a vote.. and you also +1
jayeshsolanki has quit [Max SendQ exceeded]
ghr has joined #ruby
jayeshsolanki has joined #ruby
jayeshsolanki has quit [Read error: Connection reset by peer]
quimrstorres has quit [Remote host closed the connection]
thatslifeson has quit [Ping timeout: 250 seconds]
roolo has quit [Remote host closed the connection]
<arup_r> apeiros: sorry for not being clear to you.. I respect you guys a lot.. :(
shuber has joined #ruby
<shevy> wow
quimrstorres has joined #ruby
<shevy> stackoverflow asks me whether I am a human or a robot
<shevy> and that I should not take this personally
startupality has quit [Quit: startupality]
<shevy> "Are you a human being?"
<shevy> "We apologize for the confusion, but we can't quite tell if you're a person or a script."
<shevy> :(
qwertme has joined #ruby
<arup_r> shevy: they ask sometime...
<shevy> and now I have to solve an image captcha
turtil has quit [Remote host closed the connection]
allcentury has joined #ruby
<shevy> I need to identify which pixel is an ice cream, from a list of many images that are like 32x32 pixel
<arup_r> I faced it also when I was having slow internet and frequent answering
<shevy> my eyes are not so good, I may have to guess
turtil has joined #ruby
<arup_r> hehe
unshadow has joined #ruby
rahult has joined #ruby
<shevy> uh strange
rahult is now known as rahult_
startupality has joined #ruby
<shevy> I closed the window
rahult_ is now known as rahult
<shevy> clicked on "reply" again
<shevy> and suddenly I was not asked
<shevy> without solving the captcha
<arup_r> I know... you are clever than them :p
<shevy> arup_r I think you are right, it may possibly have to do with connection-problems. perhaps my router reset in-between
nfk has joined #ruby
<arup_r> humm...
sepp2k has joined #ruby
bartkoo has quit [Quit: bartkoo]
rodfersou has joined #ruby
sepp2k has quit [Client Quit]
sepp2k has joined #ruby
shuber has quit [Ping timeout: 272 seconds]
AirStar has joined #ruby
quimrstorres has quit [Ping timeout: 272 seconds]
<AirStar> hey, i want learn ruby. but how can i do?
<arup_r> reading book.... Davis A. Black book is best for me
malcolmva has joined #ruby
scripore has joined #ruby
allcentury has quit [Ping timeout: 272 seconds]
idafyaid1 is now known as idafyaid
kyrylo has joined #ruby
unshadow has quit [Ping timeout: 265 seconds]
penzur has quit [Ping timeout: 240 seconds]
kyrylo has quit [Client Quit]
kyrylo_ has joined #ruby
<shevy> AirStar you need to write ruby code as much as possible; start with something simple. simple tasks. create directories, create files, read into files; then proceed to read remote webpages and save locally (open-uri part of ruby) etc...
<AirStar> i need tutorial
<AirStar> shevy: and arup_r
penzur has joined #ruby
<shevy> well
<shevy> then you should read a book
<shevy> take the pickaxe
<AirStar> what book?
tubuliferous_ has joined #ruby
<shevy> AirStar also work through https://pine.fm/LearnToProgram/
iamninja has quit [Ping timeout: 256 seconds]
Guest1421 has joined #ruby
<shevy> AirStar this one may be one, there may be others https://pragprog.com/book/ruby4/programming-ruby-1-9-2-0 but remember, the most important thing is that you write things by yourself
<AirStar> yeah, thanks
<AirStar> 8)
<AirStar> shevy:
<shevy> \o/
kyrylo_ has quit [Ping timeout: 272 seconds]
<shevy> it helps when you know the basics already, like writing code via function/methods and then call them
<shevy> that is how most of the "scripting" languages work, be it php python perl ... lua ... hmmm
<AirStar> yeah shevy 8)
zotherstupidguy has quit [Ping timeout: 272 seconds]
tubuliferous_ has quit [Ping timeout: 255 seconds]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vieq_ has joined #ruby
zotherstupidguy has joined #ruby
DEA7TH has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Guest1421 has quit [Ping timeout: 240 seconds]
jeromelanteri has joined #ruby
nszceta has joined #ruby
<AirStar> shevy: how about ‘http://koans.herokuapp.com/en/about_asserts’?
vieq_ has left #ruby ["Leaving"]
<AirStar> shevy: i want free tutorial
<AirStar> on the web
quimrstorres has joined #ruby
qwertme has joined #ruby
jimms has joined #ruby
zotherstupidguy has quit [Ping timeout: 256 seconds]
<shevy> AirStar I do not know the koans
<shevy> AirStar you may understand that I started to use ruby when the koans did not exist yet :)
zotherstupidguy has joined #ruby
<AirStar> yeah, shevy but i want free tutorial
<AirStar> i have no money
<shevy> did you read pine.fm tutorial yet?
<shevy> you don't need money either. simply write your own tutorial. read blogs. read examples. ask questions. build day by day
<AirStar> oh i see
<AirStar> i will read fine.fm
<AirStar> 8)
startupality has quit [Quit: startupality]
<shevy> lol
LJT has quit [Quit: Sleeping...]
<shevy> pine.fm
<shevy> not fine.fm
startupality has joined #ruby
<shevy> what is with your eyes man
<AirStar> shevy: ruby is powerful language?
<shevy> AirStar ruby is an elegant language
yfeldblum has quit [Ping timeout: 265 seconds]
shredding has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
shredding has quit [Remote host closed the connection]
<AirStar> yeah, may i do important question to you? shevy
<shevy> hmm?
<shevy> just ask things here on #ruby whenever you feel like it!
<shevy> but don't forget - the only way to learn ruby is to write ruby code on your own
jenrzzz has joined #ruby
relix has joined #ruby
<AirStar> i m good at python, anyway i must learn ruby?
<shevy> I am watching interviews with Hans Zimmer on youtube right now. :P
<shevy> why would you need ruby then
<shevy> stick to python if it fits your use case
<AirStar> i don’t know exactly. but i want do something now.
<shevy> it's more important what you are able to achieve with a given language than the language itself
<shevy> php allowed for things like phpbb or mediawiki, which are great projects
<shevy> on the other hand, php as a programming language is awful. it follows a chaotic design
<wasamasa> if you can call that design, yes
<AirStar> may i want ruby for metasploit.
<shevy> ok so you already have zero reason to use ruby
<wasamasa> people don't just use metasploit for no specific reason
<wasamasa> shevy: they've got sunglasses on their eyes
<wasamasa> shevy: didn't you see all these 8)
scripore has quit [Quit: This computer has gone to sleep]
<AirStar> yeah, then i must stick on python?
<wasamasa> ...
ghr has quit [Ping timeout: 252 seconds]
<wasamasa> AirStar: why not learn a totally different language
<shevy> AirStar yes please do not try to use metasploit
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/2015041600]]
<wasamasa> AirStar: like haskell, scheme, forth, prolog, etc.
<AirStar> yeah, then i must learn ruby? wasamasa
ndrei has joined #ruby
<shevy> no you don't have to learn ruby
<wasamasa> AirStar: ruby and python are pretty closely related
<AirStar> yeah.
<wasamasa> so that doesn't make much sense
<wasamasa> unless you have a specific reason like your employer wishing for you to hack on some rails project
<wasamasa> or the need to fix some ruby software you're using
<wasamasa> yes, I had encountered both
<AirStar> yes i see
<AirStar> then i will study another
<AirStar> bye
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<AirStar> 8)
sleeper is now known as sleeper_
sleeper_ is now known as sleeper
<AirStar> i just want read this book only : ‘Learn to Program’?
<AirStar> that’s ok?
sleeper is now known as sleeper_
* wasamasa throws some brain substance at AirStar
Dakuan has joined #ruby
<AirStar> wasamasa: then you can do python?
* zotherstupidguy joins the Zombie WarZ
<wasamasa> AirStar: I wrote python for years before that
sleeper_ is now known as sleeper
<wasamasa> AirStar: but since my employer had no python-related tasks and was fairly sure I'm capable enough of learning ruby...
qwertme has joined #ruby
<AirStar> yeah, then i will read the book. if i fit ruby, then i will study ruby more.
<wasamasa> ...
<wasamasa> it's like I'm talking to a wall
<zotherstupidguy> AirStar i give private lessons inexchange of bitcoins
Takasm has quit [Quit: Leaving.]
Jackneill has joined #ruby
<shevy> AirStar please use python, we already convinced you
ramfjord has quit [Ping timeout: 264 seconds]
<wasamasa> a sentient and trolly one at that
<zotherstupidguy> AirStar there is a high risk that you develop mental health issue if you keep doing python indentations
<shevy> he wants to use metasploit
<shevy> his mental health can not be too well
CloCkWeRX has joined #ruby
<zotherstupidguy> metasploit is the biggest ruby project ever, ironic! they were just trying out a cool new language when they started the project!
<shevy> they taint ruby's reputation
<shevy> now ruby is a language for hacking
<wasamasa> lol
<zotherstupidguy> perl -> ruby!
kron4eg has joined #ruby
shuber has joined #ruby
startupality has quit [Quit: startupality]
<AirStar> i know perl, and i programmed with perl.
<AirStar> but perl’s package is not better than python package
jenrzzz has quit [Ping timeout: 246 seconds]
<zotherstupidguy> AirStar i am intersted in learning some metaxploit tricks, we can learn together,
<zotherstupidguy> feel free to join me in =)
banister has joined #ruby
<AirStar> yes, thanks zotherstupidguy
jack_rabbit has quit [Ping timeout: 276 seconds]
toretore has joined #ruby
<AirStar> i start programming by ‘perl’, because my friend use perl. then i m very interested in programming. so i learn programming
shuber has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
jenrzzz has joined #ruby
toretore has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
<AirStar> i want buy laptop, what laptop is best?
<zotherstupidguy> AirStar lenovo S110 is best
quimrstorres has quit [Remote host closed the connection]
<AirStar> oh
<AirStar> thanks
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 256 seconds]
toretore has joined #ruby
zz_Outlastsheep is now known as Outlastsheep
toretore has quit [Max SendQ exceeded]
quimrsto_ has joined #ruby
toretore has joined #ruby
toretore has quit [Max SendQ exceeded]
rahult has joined #ruby
relix has joined #ruby
quimrsto_ has quit [Remote host closed the connection]
toretore has joined #ruby
startupality has joined #ruby
dorei has joined #ruby
toretore has quit [Max SendQ exceeded]
Igorshp has joined #ruby
sch1zo has joined #ruby
FernandoBasso has joined #ruby
toretore has joined #ruby
Papierkorb has joined #ruby
Igorshp has quit [Remote host closed the connection]
sinkensabe has joined #ruby
CloCkWeRX has quit [Ping timeout: 272 seconds]
bartkoo has joined #ruby
zotherstupidguy has quit [Ping timeout: 250 seconds]
toretore has quit [Ping timeout: 264 seconds]
Outlastsheep is now known as zz_Outlastsheep
zotherstupidguy has joined #ruby
mooe has quit [Quit: Connection closed for inactivity]
startupality has quit [Quit: startupality]
juanpablo_ has joined #ruby
antgel has quit [Ping timeout: 255 seconds]
roolo has joined #ruby
zz_Outlastsheep is now known as Outlastsheep
<AirStar> how can i plugin in ruby to eclipse?
antgel has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juanpablo_ has quit [Ping timeout: 240 seconds]
toretore has joined #ruby
<AirStar> zotherstupidguy: help me
toretore has quit [Max SendQ exceeded]
toretore has joined #ruby
sankaber has joined #ruby
quimrstorres has joined #ruby
CloCkWeRX has joined #ruby
<wasamasa> a help vampire!
thatslifeson has joined #ruby
toretore has quit [Ping timeout: 265 seconds]
<shevy> AirStar come on man, do something with your life
<shevy> no
startupality has joined #ruby
thatslifeson has quit [Ping timeout: 240 seconds]
yqt has quit [Ping timeout: 264 seconds]
ndrei has quit [Ping timeout: 265 seconds]
ndrei has joined #ruby
<AirStar> no? what?
<AirStar> shevy:
sinkensabe has quit [Remote host closed the connection]
<wasamasa> AirStar: first of all, nobody is entitled to give you help
bluOxigen has quit [Ping timeout: 252 seconds]
<wasamasa> err, required
<AirStar> yeah, i see
yqt has joined #ruby
<AirStar> wasamasa:
<AirStar> 8)
quimrstorres has quit [Remote host closed the connection]
infoget has joined #ruby
sankaber has quit [Quit: Textual IRC Client: www.textualapp.com]
sankaber has joined #ruby
startupality has quit [Quit: startupality]
quimrstorres has joined #ruby
MyMind has joined #ruby
exadeci has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
kron4eg has quit [Quit: ZZZzzz…]
<wasamasa> and stop hitting the enter key, you imbecile
raphagodoi has joined #ruby
<wasamasa> can't you, like, type a full sentence
Sembei has quit [Ping timeout: 272 seconds]
nszceta has quit [Quit: Textual IRC Client: www.textualapp.com]
leafybasil has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
simpyll has joined #ruby
attlasbot has quit [Quit: Leaving]
bartkoo has quit [Quit: bartkoo]
tubuliferous_ has joined #ruby
shuber has joined #ruby
sankaber has quit [Ping timeout: 264 seconds]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Outlastsheep is now known as zz_Outlastsheep
parduse has quit [Ping timeout: 240 seconds]
pl1ght has joined #ruby
tubuliferous_ has quit [Ping timeout: 272 seconds]
bkxd has quit [Ping timeout: 256 seconds]
parduse has joined #ruby
sevenseacat has joined #ruby
shuber has quit [Ping timeout: 272 seconds]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
startupality has joined #ruby
zotherstupidguy has quit [Remote host closed the connection]
startupality has quit [Client Quit]
zotherstupidguy has joined #ruby
mdw has joined #ruby
sinkensabe has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
rodfersou has quit [Quit: leaving]
quimrstorres has joined #ruby
Guest62234 has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
raphagodoi has quit [Remote host closed the connection]
n80 has joined #ruby
quimrstorres has quit [Remote host closed the connection]
JDiPierro has joined #ruby
Mohan has joined #ruby
scripore has joined #ruby
Mohan is now known as Guest16453
arup_r has joined #ruby
JDiPierro has quit [Remote host closed the connection]
fgo has joined #ruby
<arup_r> any idea why my rake task not creating directory that I want it to be created.. https://gist.github.com/aruprakshit/b6fb7dc5d381f92ccd56
quimrsto_ has joined #ruby
zotherstupidguy has quit [Ping timeout: 256 seconds]
gauke has quit [Read error: Connection reset by peer]
Soda has joined #ruby
quimrsto_ has quit [Remote host closed the connection]
quimrstorres has joined #ruby
raphagodoi has joined #ruby
allcentury has joined #ruby
airdisa has joined #ruby
raphagodoi has quit [Client Quit]
startupality has joined #ruby
r00tine has joined #ruby
parduse has quit [Ping timeout: 276 seconds]
juanpablo_ has joined #ruby
startupality has quit [Client Quit]
tkuchiki has joined #ruby
startupality has joined #ruby
gauke has joined #ruby
Igorshp has joined #ruby
startupality has quit [Client Quit]
startupality has joined #ruby
juanpablo_ has quit [Ping timeout: 272 seconds]
sinkensabe has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
thatslifeson has joined #ruby
<jhass> arup_r: because you never call it (either directly or through a dependency)
<arup_r> jhass: this line https://gist.github.com/aruprakshit/b6fb7dc5d381f92ccd56#file-ftp-rake-L2 is not getting called you meant ?
<arup_r> humm.. you are right
<arup_r> got it.. let me try
zotherstupidguy has quit [Ping timeout: 256 seconds]
zotherstupidguy has joined #ruby
HakN99 has joined #ruby
thatslifeson has quit [Ping timeout: 276 seconds]
chinmay_dd has quit [Ping timeout: 265 seconds]
startupality has quit [Quit: startupality]
Igorshp has quit [Remote host closed the connection]
<arup_r> jhass: thanks.. I overlooked.. that directory method creates tasks as its argument names..
Igorshp has joined #ruby
bluOxigen has joined #ruby
startupality has joined #ruby
Igorshp has quit [Read error: Connection reset by peer]
zotherstupidguy has quit [Ping timeout: 264 seconds]
Igorshp has joined #ruby
zotherstupidguy has joined #ruby
ndrei has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
Igorshp has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
Aryasam has joined #ruby
Guest16453 has quit [Ping timeout: 272 seconds]
<AirStar> shevy: https://pine.fm/LearnToProgram/ <—— it is too easy for me. 8)
rgb-one has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
parduse has joined #ruby
Mohan_ has joined #ruby
zotherstupidguy has quit [Ping timeout: 246 seconds]
* wasamasa feels trolled
<jhass> AirStar: great, then you'll be through it in no time
<AirStar> ruby is too easy. how can i do?
<AirStar> jhass:
bkxd has joined #ruby
<sevenseacat> lol
r00tine has quit [Quit: Leaving]
<sevenseacat> too funny
sinkensabe has joined #ruby
Soda has quit [Remote host closed the connection]
shuber has joined #ruby
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
dmr8 has joined #ruby
parduse has quit [Read error: Connection reset by peer]
<jhass> how can you do what?
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has quit [Remote host closed the connection]
<AirStar> give me difficult tutorial
<wasamasa> probably some kid in school who's bored to death
jeromelanteri has joined #ruby
<AirStar> jhass:
<sevenseacat> dunno, they've been trolling around here for a while
ghr has quit [Ping timeout: 264 seconds]
parduse has joined #ruby
jeromelanteri has quit [Client Quit]
shuber has quit [Ping timeout: 255 seconds]
parduse has quit [Client Quit]
djellemah_ has joined #ruby
ascarter has joined #ruby
turtil has quit [Ping timeout: 256 seconds]
startupality has quit [Quit: startupality]
leafybasil has joined #ruby
n80 has quit [Quit: n80]
valetudo has joined #ruby
parduse has joined #ruby
zotherstupidguy has joined #ruby
iotouch has joined #ruby
Dakuan has quit []
ghr has joined #ruby
leafybasil has quit [Ping timeout: 272 seconds]
Aryasam has quit [Ping timeout: 246 seconds]
chipotle has joined #ruby
chipotle has quit [Client Quit]
simpyll has quit [Ping timeout: 256 seconds]
gauke has quit [Quit: gauke]
dseitz has joined #ruby
startupality has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
Feyn has quit [Quit: Leaving]
apurcell has joined #ruby
sch1zo has quit [Quit: Verlassend]
bkxd has quit [Ping timeout: 272 seconds]
kirun has quit [Ping timeout: 240 seconds]
sankaber has joined #ruby
DexterLB has quit [Ping timeout: 240 seconds]
apurcell has quit [Ping timeout: 244 seconds]
sash_ has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
tkuchiki has quit [Ping timeout: 240 seconds]
iotouch has joined #ruby
workmad3 has joined #ruby
kohvihoor has quit [Read error: Connection reset by peer]
roolo has quit [Remote host closed the connection]
zotherstupidguy has quit [Ping timeout: 240 seconds]
zotherstupidguy has joined #ruby
kohvihoor has joined #ruby
HakN99 has quit [Quit: Peace!]
toretore has joined #ruby
perrier has quit [Remote host closed the connection]
parduse has quit [Ping timeout: 264 seconds]
<AirStar> puts 5 == puts 5.to_s?
<AirStar> puts mean that put to string?
<AirStar> yes?
parduse has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
perrier has joined #ruby
perrier has quit [Remote host closed the connection]
ph8 has quit [Ping timeout: 245 seconds]
perrier has joined #ruby
<_blizzy_> anyone know any good gems for evaluating ruby code safely?
<_blizzy_> like some of the ruby bots in irc channels?
lxsameer has quit [Quit: Leaving]
zotherstupidguy has quit [Ping timeout: 276 seconds]
<arup_r> AirStar: stop pleaseeeeeeeeeee
<AirStar> 8)
<_blizzy_> also, for some reason, ruby can't locate a gem
<_blizzy_> but irb can.
dmr8 has quit [Quit: Leaving]
sinkensabe has joined #ruby
<shevy> AirStar pls start to learn
<wasamasa> lol, if arup_r is terrified, #ruby is deep in shit
sevenseacat has quit [Quit: Me dun like you no more.]
<shevy> :D
<AirStar> https://pine.fm/LearnToProgram/chap_05.html <—— i m reading now.
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<AirStar> i started already.
<shevy> _blizzy_ yeah that is annoying; best thing is to find out where the real location of the respective .gem is
<arup_r> wasamasa: :(
<arup_r> I don't troll.. I ask questions..
<arup_r> :(
<wasamasa> arup_r: not you
<wasamasa> arup_r: this AirStar guy is
<shevy> he is lazy
xxneolithicxx has quit [Ping timeout: 255 seconds]
<shevy> AirStar where is your repository
<AirStar> what mean?
<shevy> where you have your source code hosted
toretore has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 250 seconds]
<AirStar> python?
<AirStar> i do ruby with eclipse?
<_blizzy_> shevy, oh ok.
<shevy> AirStar you must have a repository
<AirStar> plugin
ghr has joined #ruby
<shevy> :)
<AirStar> i don’t know
<AirStar> repository?
scripore has joined #ruby
_mak has joined #ruby
<shevy> register there
<AirStar> why? shevy ?
<shevy> so you can have your projects there
<_blizzy_> so, anyone know any eval gems for ruby?
<_blizzy_> for running safe ruby code?
<AirStar> i don’t know
<AirStar> i just do it in my computer.
<AirStar> shevy:
yqt has quit [Ping timeout: 244 seconds]
<wasamasa> AirStar: how old are you
<AirStar> 13
scripore has quit [Client Quit]
<AirStar> and you?
<wasamasa> 22
<AirStar> oh 8)
<shevy> AirStar everyone has a repository, even your beloved metasploit https://github.com/rapid7/metasploit-framework
<AirStar> oh i can see it
ph8 has joined #ruby
<AirStar> you mean that i must open my source code?
<AirStar> shevy: ?
tubuliferous_ has joined #ruby
<shevy> ...
<shevy> you use metasploit?
<AirStar> yes
greenbagels has joined #ruby
<AirStar> right
ghr has quit [Ping timeout: 252 seconds]
<shevy> so it is open source
ascarter has joined #ruby
<AirStar> yes right.
<shevy> ruby source code is open source
<AirStar> yes
<AirStar> my source code is secret.
<shevy> :/
<AirStar> because my source code is important
<AirStar> 8)
s2013 has joined #ruby
<shevy> yeah
ghr has joined #ruby
<wasamasa> your source code is as crap as any other out there
<AirStar> i made great project with python
<AirStar> it give me great glad.
penzur has quit [Quit: quit]
<AirStar> but i can’t open it for some reason.
<_blizzy_> AirStar, if you are a student
<_blizzy_> you can sign up for github student pack
<_blizzy_> and get 5 private repos.
yaw has joined #ruby
yaw has left #ruby [#ruby]
parduse has quit [Ping timeout: 252 seconds]
<AirStar> 5 private? _blizzy_ ? what is it?
tubuliferous_ has quit [Ping timeout: 255 seconds]
<_blizzy_> heh. 888 users.
<shevy> OPEN SOURCE YOUR GOD DAMN SOURCE CODE ALREADY AIRSTAR
<_blizzy_> he's only 13.
<_blizzy_> he might not know how.
<al2o3-cr> >> d="foo\nbar\tbaz"; d.include? "\n" and "\t"
<ruboto> al2o3-cr # => "\t" (https://eval.in/344368)
parduse has joined #ruby
<al2o3-cr> is this expected behaviour?
<AirStar> ?? i don’t know shevy
<jhass> al2o3-cr: yes
<al2o3-cr> jhass: ok thanks
<jhass> al2o3-cr: same as d.include?("\n") and "\t"
<shevy> _blizzy_ chris2 was heavily programming at age 13; at age 18 or something like that he wrote rack
<jhass> al2o3-cr: or d.include?("\n") && "\t"
<al2o3-cr> ok now i see
zotherst1pidguy has joined #ruby
Lildirt has quit [Ping timeout: 240 seconds]
<_blizzy_> shevy, ok. not everyone is a good programmer at age 13.
<_blizzy_> that's like saying every 2 year old can ride a bike because you could at age 2.
<jhass> al2o3-cr: however, d.include? "\n" && "\t" is d.include?("\n" && "\t") -> d.include?("\t")
<shevy> many programmers are not good at age 60 either
<_blizzy_> yeah.
Channel6 has joined #ruby
<al2o3-cr> jhass: yes cause it evaluates from left to right?
_mak has left #ruby [".."]
<jhass> al2o3-cr: that's true for both, however the precedence rules for && and and differ
<al2o3-cr> jhass: && has a stronger precedence right?
<jhass> yes
<al2o3-cr> ok
<al2o3-cr> >> require 'etc'; Etc.getgrent
<ruboto> al2o3-cr # => #<struct Etc::Group name="root", passwd="x", gid=0, mem=[]> (https://eval.in/344369)
sankaber has quit [Ping timeout: 252 seconds]
<al2o3-cr> is ruboto's source code open source?
<jhass> no
weaksauce has quit [Ping timeout: 276 seconds]
<jhass> and use irb/pry to experiment
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
parduse is now known as Guest88035
<al2o3-cr> okay dokay
pardusf has joined #ruby
Guest88035 has quit [Ping timeout: 272 seconds]
shuber has joined #ruby
qwertme has joined #ruby
redlegion has joined #ruby
zotherst1pidguy has quit [Remote host closed the connection]
CloCkWeRX has quit [Quit: Leaving.]
zotherst1pidguy has joined #ruby
krz has joined #ruby
iotouch has quit [Ping timeout: 256 seconds]
iotouch has joined #ruby
shuber has quit [Ping timeout: 244 seconds]
<shevy> ohhh
<shevy> ruboto belongs to the root group
fgo has quit [Quit: WeeChat 1.1.1]
laurentide_ has joined #ruby
blizzy has joined #ruby
pardusf has quit [Ping timeout: 252 seconds]
parduse has joined #ruby
<shevy> hanmac, did you try to break ruboto yet?
riotjones has joined #ruby
Alina-malina has quit [Ping timeout: 256 seconds]
Anthony__ has joined #ruby
_blizzy_ has quit [Disconnected by services]
laurentide has quit [Ping timeout: 256 seconds]
<hanmac> shevy hm no i think its hanmac-proof
Anthony__ is now known as _blizzy_
<shevy> hanmac-proof is a good certificate
Porfa has joined #ruby
<shevy> is anyone of you using ruby on windows?
Mon_Ouie has quit [Ping timeout: 272 seconds]
blizzy has quit [Ping timeout: 256 seconds]
lavros has quit [Ping timeout: 264 seconds]
riotjones has quit [Ping timeout: 276 seconds]
redlegion has quit [Quit: Bye yall]
<IceDragon> hanmac, shevy: So lemme get this straight, if a piece of software receives the 'hanmac-proof' certificate, then its good stuff?
parduse has quit [Ping timeout: 244 seconds]
lavros has joined #ruby
juanpablo_ has joined #ruby
<shevy> not quite
<shevy> it just means that hanmac could not break it
<shevy> he broke the earlier bots that predated ruboto
<shevy> from charliesome or so
parduse has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<jhass> ruboto is using the same code as eval-in
Zai00 has joined #ruby
thirdknife has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpablo_ has quit [Ping timeout: 276 seconds]
workmad3 has joined #ruby
charliesome has quit [Quit: zzz]
thatslifeson has joined #ruby
s2013 has joined #ruby
<IceDragon> shevy: oh, ok then (me hides my bot from hanmac)
workmad3 has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
<gambl0re> if i want to access a databse called "tweets" with the id number of 3, would i do a "tweets.find(3)" or "tweet.find(3)"
<jhass> gambl0re: provide 5000% more context
thatslifeson has quit [Ping timeout: 240 seconds]
<wasamasa> sounds like rails
weemsledeux has joined #ruby
zotherst1pidguy has quit [Ping timeout: 240 seconds]
callumacrae is now known as cm
<arup_r> I am following this blogpost to take a help how to set the default value with Rake tasks argument.. But it is not working for me -- https://gist.github.com/aruprakshit/d0973aacc8b84d1b1fc5
iotouch has quit [Read error: Connection reset by peer]
<arup_r> am I missing anything ?
cm is now known as callumacrae
charliesome has joined #ruby
iotouch has joined #ruby
leafybasil has joined #ruby
zotherst1pidguy has joined #ruby
<gambl0re> if a database is called "tweets" why do we use Tweet.find(3)
workmad3_ has joined #ruby
<shevy> perhaps it can not discern that there should not be a singular for it
<gambl0re> tweets(lowercase/plural) Tweet(singular/uppercase)
workmad3 has quit [Ping timeout: 264 seconds]
sleeper is now known as sleeper_
sleeper_ has left #ruby ["WeeChat 1.1.1"]
<jhass> arup_r: did you read the error message? it seems heavily unrelated to the parameters
<arup_r> jhass: I know.. with default value `developement` environment is not loading that's why error
kirun has joined #ruby
<jhass> do you confuse parameters and dependencies perhaps?
<arup_r> `:developement` is a parameter
<gambl0re> anyone?...thanks
sankaber has joined #ruby
iotouch has quit [Quit: 离开]
Alina-malina has joined #ruby
<jhass> ?rails gambl0re
<ruboto> gambl0re, Please join #RubyOnRails for Rails questions.
ag4ve_ has quit [Ping timeout: 248 seconds]
krz has quit [Quit: WeeChat 1.0.1]
<jhass> arup_r: dunno, I don't see why this would work at all. I'd say just instruct your users to set RAILS_ENV accordingly when calling the task
parduse has quit [Ping timeout: 272 seconds]
<arup_r> ok
<arup_r> As per the blogpost it should work...
Leef_ has quit [Quit: Leaving]
<arup_r> But I also don't have idea.. why didn't work
lavros has quit [Ping timeout: 264 seconds]
parduse has joined #ruby
<jhass> I don't see where it says that a parameter would define the dependency
<arup_r> jhass: first argument is paramter..
ag4ve_ has joined #ruby
<arup_r> task task_name, argument[, argument ...], :needs: dependencies
<jhass> yeah
<arup_r> or this syntax --- task task_name, arguments => dependencies
<arup_r> so :developement is a argument..
<arup_r> Might be I am missing something...
<jhass> no, developement (sic!, it's development btw) is the value of the argument environment
<arup_r> Oh..
<arup_r> let me try
claptor has joined #ruby
<jhass> not sure what there is to try
sankaber has quit [Read error: Connection reset by peer]
<arup_r> nah didn't worked
sankaber has joined #ruby
<arup_r> I was trying with development as default value
<jhass> you still seem to heavily conflate arguments, the value of an argument and dependencies
<arup_r> I had.. :) now with my current example I am confident...
GGMethos has quit [Quit: WeeChat 1.0.1]
<jhass> specifying an argument allows you to access the passed value under said name, nothing more
<jhass> :environment -> args[:environment]
blizzy has joined #ruby
workmad3_ has quit [Ping timeout: 276 seconds]
<jhass> task :foo, :environment do p args[:environment]; end; rake foo[1] -> "1", rake foo[hey] -> "hey"
roolo has joined #ruby
_blizzy_ has quit [Disconnected by services]
<jhass> it does not affect the dependencies in any way
blizzy is now known as _blizzy_
yaw has joined #ruby
Porfa has quit [Quit: Porfa]
DexterLB has joined #ruby
yaw has quit [Max SendQ exceeded]
sinkensabe has joined #ruby
<arup_r> humm..
<jhass> task :foo [:environment] => :environment, the two :environment mean different things here, the first defines an argument with the name environment, the second declares the task foo to be dependent on the task environment
GGMethos has joined #ruby
ebonics has quit [Ping timeout: 246 seconds]
<arup_r> Yes.. But I do have task :foo, [:environment] => :other_task...
lordkryss has joined #ruby
<jhass> which just creates a directory if it doesn't exist and nothing else
kron4eg has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<arup_r> Yes.. But the argument :environment has to have value :developement/test/production ... otherwise Rails application will not be loaded.. which will cause the error like I am getting
<jhass> where did you read that?
<jhass> how does rails read the argument?
<arup_r> that's why `bin/rake "ftp:download[:developement]"` worked well
<arup_r> because I was passing the value of the environment
<arup_r> jhass: I read from Rails console trial and error
<arup_r> "If your need to interact with your application models, perform database queries and so on, your task should depend on the environment task, which will load your application code."
djellemah_ has quit [Ping timeout: 245 seconds]
<jhass> yes
<jhass> where in that sentence does it say anything about arguments?
<arup_r> Ahh! something what you said.. then why ``bin/rake "ftp:download[:developement]"` worked ? :( No idea
<jhass> I have no idea why your second example works, but I suspect you changed something in between
<arup_r> nothing I have changed..
<jhass> or it's something in the code you didn't show, who knows
<arup_r> well.. let me show you
<arup_r> another way my code
lavros has joined #ruby
<AirStar> str.ljust lineWidth vs str.ljust (lineWidth) <—— which is right?
redlegion has joined #ruby
blizzy has joined #ruby
<AirStar> help me
_blizzy_ has quit [Disconnected by services]
blizzy is now known as _blizzy_
<jhass> AirStar: no
<jhass> not with that tone
<AirStar> ?
<AirStar> what mean?
<jhass> "help me", we're not your servants
<AirStar> oh, childish play
<AirStar> we are same family
<AirStar> ruby family
<jhass> arup_r: no idea, probably some magic rails does behind the scenes
<jhass> I wouldn't rely on it
zotherst1pidguy has quit [Ping timeout: 256 seconds]
<arup_r> jhass: what would be your suggestion then ?
<jhass> set RAILS_ENV and depend on the environment task
<arup_r> ok
infoget has quit [Quit: Leaving.]
shuber has joined #ruby
<AirStar> shevy: busy? Guy?
<shevy> AirStar sorta. I am updating one video-based project, and intend to add a GUI in ruby-gnome lateron this evening
infoget has joined #ruby
<jhass> AirStar: http://ruby-community.com/pages/user_rules 2.1 and 2.7
<AirStar> yes, you are very busy.
<AirStar> shevy:
thumpba has joined #ruby
<AirStar> 8)
infoget has quit [Client Quit]
<shevy> you need to start writing code
kron4eg has left #ruby ["quit"]
<jhass> AirStar: also rule 2.6
<AirStar> str.ljust lineWidth vs str.ljust (lineWidth) <—— which is correct expression? shevy
<AirStar> i have no time
redlegion has quit [Quit: Balls balls balls]
<arup_r> ok jhass final working code -> https://gist.github.com/aruprakshit/d0973aacc8b84d1b1fc5
<arup_r> thanks for your help
<AirStar> i feel foreboding
shuber has quit [Ping timeout: 240 seconds]
<shevy> AirStar just pad
<jhass> AirStar: development is the default for RAILS_ENV if you don't specify it
<shevy> >> "abc".ljust 8
<ruboto> shevy # => "abc " (https://eval.in/344547)
<jhass> bah arup_r ^
<jhass> sorry
parduse has quit [Read error: Connection reset by peer]
<shevy> AirStar most of the time people tend to omit () parens in ruby, when it is possible to do so
<AirStar> oh good
<AirStar> then i will omit ()
mary5030 has joined #ruby
<AirStar> thanks shevy :)
<arup_r> jhass: ok,, let me try
<al2o3-cr> >> "%-8s" % "abc"
<ruboto> al2o3-cr # => "abc " (https://eval.in/344548)
<arup_r> full clear my concept now jhass :
<arup_r> thanks
<arup_r> again
zotherst1pidguy has joined #ruby
<jhass> yw
sepp2k has quit [Ping timeout: 272 seconds]
<arup_r> jhass: one more question.. `directory` method create directories.. Any rake method you know which delete directories.. I want to delete the directory after the task `download` ..
infoget has joined #ruby
<jhass> then I'd say don't use the directory rule, use mkdir_p and rmdir
<jhass> inside the task
TheHodge has joined #ruby
parduse has joined #ruby
blizzy has joined #ruby
<arup_r> ok .. it inludes the FileUtils lib
Anthony__ has joined #ruby
_blizzy_ has quit [Disconnected by services]
parduse has quit [Client Quit]
Anthony__ is now known as _blizzy_
<shevy> once upon a time
<shevy> I made things like this:
<shevy> T = true
<shevy> F = false
<shevy> I thought that would be super useful to avoid having to type out true or false
workmad3 has joined #ruby
<jhass> it is, if you write something like almost-sintra ;D
parduse has joined #ruby
blizzy has quit [Ping timeout: 256 seconds]
thumpba has quit [Remote host closed the connection]
gauke has joined #ruby
lkba has joined #ruby
lkba_ has joined #ruby
thirdknife has quit [Quit: This computer has gone to sleep]
parduse is now known as Guest47286
<shevy> hmm
<shevy> T=true;
<shevy> you need to use that about... 5 times or so? before it becomes equal to a gain in almost-sinatra?
<shevy> I mean the T lateron
infoget has quit [Quit: Leaving.]
ebonics has joined #ruby
Guest47286 has quit [Ping timeout: 244 seconds]
jimms has quit [Remote host closed the connection]
sepp2k has joined #ruby
thatslifeson has joined #ruby
Rollabunna has quit [Remote host closed the connection]
thumpba has joined #ruby
rdark has joined #ruby
Narzew has quit [Remote host closed the connection]
Rollabunna has joined #ruby
Pumukel has joined #ruby
lkba has quit [Ping timeout: 276 seconds]
parduse has joined #ruby
thatslifeson has quit [Ping timeout: 256 seconds]
<jhass> true vs T, saves 3 characters, T=true adds 6 characters, so, one usage +3, two usages, +0, three usages -3
bigmac has joined #ruby
<shevy> ah ok... so there will be a gain once it'll be used at least 3 times
<shevy> golfing is a very strange art
scripore has joined #ruby
<AirStar> https://pine.fm/LearnToProgram/chap_06.html <—— i did it. i will do rest of tutorial.
<AirStar> shevy:
<AirStar> tomorrow
<shevy> AirStar are you on linux
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<AirStar> i use windows
<AirStar> windows xp
<shevy> ruby is more fun on linux
<AirStar> why? shevy ?
<AirStar> anyway i did it on eclipse.
<shevy> I dunno. I use KDE konsole and have different tabs to switch to
<shevy> I have no idea what to use on windows to have something like kde konsole there
gauke has quit [Read error: Connection reset by peer]
<AirStar> i use eclipse
<AirStar> 8)
<AirStar> plugin to eclipse.
<shevy> well
thumpba_ has joined #ruby
<shevy> one day you will switch to linux anyway
gauke has joined #ruby
<AirStar> shevy: anyway that tutorial is too easy.
<AirStar> i want more level tutorial after finish this tutorial.
thumpba_ has quit [Remote host closed the connection]
<AirStar> i want more level tutorial after finishing this tutorial.
parduse is now known as Guest40346
<wasamasa> jhass: could you end this yawn feast
pardusf has joined #ruby
AirStar has left #ruby [#ruby]
blizzy has joined #ruby
<jhass> wasamasa: nothing bannable, sorry
<wasamasa> ;___;
Guest40346 has quit [Ping timeout: 272 seconds]
thumpba has quit [Ping timeout: 240 seconds]
_blizzy_ has quit [Ping timeout: 256 seconds]
scripore has quit [Quit: This computer has gone to sleep]
yvemath has quit [Quit: I was using a Free IRC Bouncer from http://bnc4free.com (Account Removed)]
ramfjord has joined #ruby
<workmad3> shevy: cygwin is a vagely POSIX console and environment on windows... assuming you can get the goddamn thing to work :P
<workmad3> *vaguely
rahult is now known as rahult_
AlphaAtom has joined #ruby
<ebonics> implying its hard to get cygwin to work lol
<ebonics> you can just download the binary
MXfive has quit [Quit: Textual IRC Client: www.textualapp.com]
AlphaAtom has quit [Max SendQ exceeded]
MXfive has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
gauke has quit [Quit: gauke]
AlphaAtom has joined #ruby
charliesome has quit [Quit: zzz]
AlphaAtom has quit [Max SendQ exceeded]
pardusf has quit [Ping timeout: 255 seconds]
AlphaAtom has joined #ruby
thatslifeson has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
jgt has quit [Ping timeout: 244 seconds]
aryaching has joined #ruby
AlphaAtom has joined #ruby
infoget has joined #ruby
Filete has joined #ruby
Monroe has joined #ruby
chinmay_dd has joined #ruby
loechel has joined #ruby
qwertme has joined #ruby
yqt has joined #ruby
blizzy has quit [Ping timeout: 265 seconds]
Mohan_ has quit [Ping timeout: 245 seconds]
antgel has quit [Ping timeout: 246 seconds]
chinmay_dd has quit [Read error: Connection reset by peer]
Mohan has joined #ruby
zzing has joined #ruby
CustosLimen has quit [Ping timeout: 264 seconds]
gregf has quit [Quit: WeeChat 1.1.1]
Mohan is now known as Guest63581
gregf has joined #ruby
CustosLimen has joined #ruby
juanpablo_ has joined #ruby
zotherst1pidguy has quit [Ping timeout: 256 seconds]
chinmay_dd has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zotherst1pidguy has joined #ruby
gregf has quit [Client Quit]
sinkensabe has quit [Remote host closed the connection]
wjimenez5271 has joined #ruby
chinmay_dd_ has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
juanpablo_ has quit [Ping timeout: 250 seconds]
gregf has joined #ruby
chinmay_dd has quit [Read error: No route to host]
failshell has quit [Read error: Connection reset by peer]
failshell has joined #ruby
s2013 has quit [Read error: Connection reset by peer]
zacts has joined #ruby
sent1nel has joined #ruby
<shevy> hmm
<shevy> on windows
<shevy> simple things may dramatically fail
Xiti has joined #ruby
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
sent1nel has quit [Client Quit]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
DynamicMetaFlow has joined #ruby
loechel has quit [Ping timeout: 252 seconds]
kenneth has joined #ruby
lkba has joined #ruby
camilasan has quit [Remote host closed the connection]
chinmay_dd_ is now known as chinmay_dd
Encapsulation has joined #ruby
<Encapsulation> https://onemonth.com/ is this recommended?
camilasan has joined #ruby
bartkoo has joined #ruby
lkba_ has quit [Ping timeout: 245 seconds]
yetone has joined #ruby
icarus has joined #ruby
Spami has joined #ruby
Zai00 has quit [Quit: Zai00]
Guest63581 has quit [Ping timeout: 252 seconds]
mdw has joined #ruby
<ebonics> Encapsulation, prolly not
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mohan_ has joined #ruby
davidhq has joined #ruby
davidhq has quit [Client Quit]
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
yetone has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 245 seconds]
<Monroe> Is it possible for a beginner in web.dev but with some basic experience in programming to learn Ruby straight away ?
<Monroe> Or is it better to learn easier alternatives first like php and python ?
zacts has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<jhass> that wouldn't make much of a difference
<tacotaco_> I'd start with COBOL
<tacotaco_> oops, wrong channel
<jhass> don't start with PHP, it doesn't lead to good practices as much
mtakkman has joined #ruby
<jhass> python or ruby makes no real difference
<ebonics> i heard fortran was pretty good. cutting edge tech
<jhass> you're in #ruby, so of course we say start with ruby ;)
<Monroe> haha :D
<Monroe> Its just that i read in man places that ruby is a lot harder
<jhass> FUD
<Monroe> Python is the easiest and php medium is what i heard
<jhass> sounds pretty much like bullshit to me
gauke has joined #ruby
<Monroe> right
<Monroe> yea i'll go with ruby
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Monroe> ty for input
loechel has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mohan_ has quit [Read error: Connection reset by peer]
Zai00 has joined #ruby
<wasamasa> what takes time to get used to with ruby is all that syntax
<wasamasa> and there not really being a canonical style
DerisiveLogic has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
willharrison has joined #ruby
gauke has quit [Quit: gauke]
Mohan_ has joined #ruby
mary5030 has quit [Remote host closed the connection]
<wasamasa> like, some people always using parentheses for function calls and others as little as possible
zotherst1pidguy has quit [Ping timeout: 272 seconds]
mary5030 has joined #ruby
zotherst1pidguy has joined #ruby
<ebonics> intellij highlights shit if its not idiomatic
<ebonics> if you have OCD like me you conform to the style with no brackets
parduse has joined #ruby
<ebonics> i learned basic ruby in like a day though, the syntax is pretty intuitive
scripore has joined #ruby
<wasamasa> I'm in the other camp, simply because I hate stumbling over bugs involving the parentheses being mandatory for the specific case
mary5030 has quit [Ping timeout: 256 seconds]
Rollabunna has quit [Remote host closed the connection]
<ebonics> wasamasa, intellij highlights those ones too
<wasamasa> I'm not in the IDE camp either
Rollabunna has joined #ruby
<ebonics> thats why you stumble over trivial bugs though lol
<wasamasa> you mean, others using that style
<ebonics> what do you use wasamasa
<ebonics> vim, emacs?
<wasamasa> emacs
<ebonics> that should have a syntax checker too
<wasamasa> I use one, thank you
<ebonics> how do you stumble over brackets then lawl
<wasamasa> I'll let you solve that riddle
infoget has quit [Quit: Leaving.]
parduse has quit []
<wasamasa> as I stated before, there's no one style to rule them all :P
ascarter has joined #ruby
marr has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ascarter has quit [Max SendQ exceeded]
endash has joined #ruby
<wasamasa> "Use parentheses around the arguments of all other method invocations.Use parentheses around the arguments of all other method invocations."
ascarter has joined #ruby
<havenwood> Seattle style! Down with parens!
<havenwood> ;)
<wasamasa> ebonics: so, according to at least 8000 people you're wrong
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ebonics> wrong about hat wasamasa
<ebonics> what
<jhass> about religion
<wasamasa> lol
sohrab has joined #ruby
<wasamasa> this opinion is indeed religious
nobitanobi has joined #ruby
<jhass> no, the entire argument is
<jhass> whether or not, it's preference. Entirely
<havenwood> Tea or coffee, only one will prevail!
<ebonics> i come from C and java
<ebonics> not having to type brackets is nice
<havenwood> Mmm coffee.
<jhass> havenwood: I'm more of tea person
zotherst1pidguy has quit [Ping timeout: 250 seconds]
shuber has joined #ruby
zotherst1pidguy has joined #ruby
lxsameer has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpablo_ has joined #ruby
<Encapsulation> lol
<Encapsulation> he decides that quickly
loechel has quit [Ping timeout: 252 seconds]
nahtnam has quit [Quit: Connection closed for inactivity]
sinkensabe has joined #ruby
yfeldblum has joined #ruby
segfalt has quit [Quit: segfalt]
workmad3 has joined #ruby
<wasamasa> I'm a tea person, too!
shuber has quit [Ping timeout: 255 seconds]
<wasamasa> ebonics: it's the semicolons for me actually
longfeet has joined #ruby
Zai00 has quit [Quit: Zai00]
bartkoo has quit [Quit: bartkoo]
juanpablo_ has quit [Ping timeout: 244 seconds]
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/20150417180217]]
Mohan_ has quit [Ping timeout: 256 seconds]
sinkensabe has quit [Ping timeout: 256 seconds]
sinkensabe has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
Mohan has joined #ruby
jimms has joined #ruby
Mohan is now known as Guest10763
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> which language is better than ruby?
mtakkman has quit [Ping timeout: 264 seconds]
jimms has quit [Remote host closed the connection]
jalcine has quit [Quit: ZNC - http://znc.in]
<jhass> crystal!
<Nilium> Perl.
<Nilium> Duh.
aryaching has quit []
djellemah has quit [Ping timeout: 256 seconds]
<shevy> jhass well I'd assume that crystal does not yet have as many bindings to things compared to ruby yet
<jhass> but it's very easy to write one
kenneth has joined #ruby
<jhass> what would you need?
<adaedra> a binding to boost
<adaedra> (jk)
<jhass> I think somebody is toying with JNI
tubuliferous_ has joined #ruby
<shevy> jhass dunno, I haven't yet had a look... let me think...
<Nilium> JNI is hell.
<shevy> - coderay - kramdown ... hmm
kenneth has quit [Client Quit]
mengu has joined #ruby
<adaedra> isn't coderay a js lib?
sinkensabe has quit [Remote host closed the connection]
mdw has quit [Read error: Connection reset by peer]
<shevy> adaedra, coderay is here http://coderay.rubychan.de/
lavros has quit [Ping timeout: 265 seconds]
sinkensabe has joined #ruby
kenneth has joined #ruby
Cust0sL1men has joined #ruby
<adaedra> ok, I may be thinking about something else then
lavros has joined #ruby
tubuliferous_ has quit [Ping timeout: 256 seconds]
havenwood has quit [Ping timeout: 240 seconds]
kenneth has quit [Client Quit]
sinkensabe has quit [Remote host closed the connection]
_blizzy_ has joined #ruby
kenneth has joined #ruby
endash has quit [Quit: endash]
Stalkr_ has joined #ruby
endash has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
yqt has quit [Ping timeout: 276 seconds]
sinkensabe has joined #ruby
tectonic has joined #ruby
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
mdw has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
airdisa has quit []
rodfersou has joined #ruby
djbkd_ has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
davidhq has joined #ruby
jgt has joined #ruby
konsolebox has quit [Quit: Leaving]
xxneolithicxx has joined #ruby
djbkd_ has quit []
zacts has joined #ruby
kenndel_ has joined #ruby
hmsimha has joined #ruby
kenndel has quit [Ping timeout: 244 seconds]
cheesejondue has joined #ruby
cheesejondue has left #ruby [#ruby]
Spami has quit [Quit: This computer has gone to sleep]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
cheesejondue has joined #ruby
polyrob has quit [Read error: Connection reset by peer]
infoget has joined #ruby
segfalt has joined #ruby
Guest1421 has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
rikai has quit [Ping timeout: 256 seconds]
jalcine has joined #ruby
swgillespie has joined #ruby
hmsimha has quit [Ping timeout: 256 seconds]
shuber has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
laurentide_ has quit [Ping timeout: 265 seconds]
destructure has quit [Quit: Lost terminal]
MXfive_ has joined #ruby
polyrob has joined #ruby
MXfive has quit [Ping timeout: 276 seconds]
shuber has quit [Ping timeout: 272 seconds]
qwertme has joined #ruby
rikai has joined #ruby
infoget has quit [Quit: Leaving.]
Guest10763 has quit [Ping timeout: 244 seconds]
infoget has joined #ruby
jimms has joined #ruby
Mohan has joined #ruby
yqt has joined #ruby
Mohan is now known as Guest15507
Guest1421 has quit [Ping timeout: 250 seconds]
segfalt has quit [Quit: segfalt]
havenwood has joined #ruby
ghr has joined #ruby
diegoaguilar has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_seanc_ has joined #ruby
<woodruffw> does anybody know an idiomatic way to insert a character in the middle of a string? i can do it with String.insert and the size of the string, but i'm wondering if there's a cleaner/simpler way
spider-mario has joined #ruby
<jhass> possibly .sub, if there are some unique markers at the place
<jhass> maybe there's a more idiomatic solution to the underlying task
nobitanobi has quit [Remote host closed the connection]
<woodruffw> the task is printing out a list of nicks without triggering highlights. i'd like to print a list of nicks without highlighting the users, and the way i'm thinking of doing that is inject ZWS characters into each nick
<woodruffw> injecting*
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mitchellhenke has joined #ruby
<jhass> well, that doesn't need to happen in the middle then
<jhass> just insert after the first char
ramfjord has quit [Ping timeout: 264 seconds]
<jhass> it'll fail for single char nicks regardless
<woodruffw> good point, that works equally as well
<woodruffw> thanks!
Guest1421 has joined #ruby
<jhass> I wouldn't be surprised if at least some clients will highlight regardless though
lordkryss has quit [Quit: Connection closed for inactivity]
woodruffw has quit [Remote host closed the connection]
shellfu_afk is now known as shellfu
woodruffw has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
powder has joined #ruby
zacts has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<woodruffw> jhass: yeah, that was a concern. in particular, my listing needs to not trigger a bot that akicks on 5+ highlights
nemesit|znc has quit [Quit: quit]
<woodruffw> in this case, the ZWS injection seems to work so it should suffice
<jhass> sounds like you're violating some channels rules there...
nemesit|znc has joined #ruby
shellfu is now known as shellfu_afk
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<woodruffw> jhass: actually, this was the suggested solution by the bot's owner :)
Guest1421 has quit [Ping timeout: 245 seconds]
<woodruffw> we have two main channel bots, and getting them to interoperate is a bit of a balancing game
sohrab has quit [Quit: Lost terminal]
<havenwood> woodruffw: Have a third channel bot mediate?
<jhass> they probably should just ignore each other
bMalum has joined #ruby
<woodruffw> havenwood: lol
<woodruffw> jhass: my bot currently does ignore the other one, but the other's highlight kicker doesn't have an ignore feature yet
<jhass> that's said
realname_ has joined #ruby
<jhass> I mean that should be like one or two lines of code
realname_ is now known as Guest97136
<woodruffw> yeah. this was more of a question of curiosity, not a permanent solution
<woodruffw> as a solution, it's pretty awful
kyrylo has joined #ruby
Renich has joined #ruby
powder_ has joined #ruby
sinkensabe has joined #ruby
amclain has joined #ruby
powder has quit [Ping timeout: 255 seconds]
zotherst1pidguy has quit [Ping timeout: 252 seconds]
DynamicMetaFlow has quit [Remote host closed the connection]
zotherst1pidguy has joined #ruby
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/2015041600]]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shellfu_afk has quit [Remote host closed the connection]
tjbiddle has joined #ruby
rodfersou has quit [Ping timeout: 265 seconds]
sinkensabe has quit [Ping timeout: 256 seconds]
perturbation has joined #ruby
zotherst1pidguy has quit [Ping timeout: 256 seconds]
woodruffw_ has joined #ruby
Spami has joined #ruby
zotherst1pidguy has joined #ruby
woodruffw has quit [Disconnected by services]
woodruffw_ is now known as woodruffw
Channel6 has quit [Remote host closed the connection]
juanpablo_ has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Zai00 has joined #ruby
dc has joined #ruby
Filete has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
workmad3 has joined #ruby
juanpablo_ has quit [Ping timeout: 264 seconds]
dstarh has joined #ruby
djellemah_ has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
zotherst1pidguy has quit [Quit: Lost terminal]
lavros has quit [Quit: leaving]
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest97136 has quit [Remote host closed the connection]
infoget has quit [Quit: Leaving.]
infoget has joined #ruby
hmsimha has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Narzew has joined #ruby
maletor has joined #ruby
tus has joined #ruby
tubuliferous_ has joined #ruby
icarus has quit [Ping timeout: 256 seconds]
bMalum has quit [Quit: bMalum]
gauke has joined #ruby
mikecmpbll has joined #ruby
parduse has joined #ruby
gauke has quit [Client Quit]
rdark has quit [Quit: leaving]
tubuliferous_ has quit [Ping timeout: 255 seconds]
jottr has joined #ruby
Renich has quit [Quit: leaving]
Jackneill has quit [Ping timeout: 256 seconds]
thatslifeson has quit [Remote host closed the connection]
Guest1421 has joined #ruby
S3thc0n has joined #ruby
njs126 has quit [Ping timeout: 245 seconds]
bMalum has joined #ruby
m8 has joined #ruby
aef has quit [Remote host closed the connection]
Guest1421 has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: ciao.]
swgillespie has joined #ruby
djellemah_ has quit [Ping timeout: 245 seconds]
S3thc0n has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stryek has joined #ruby
parduse has quit []
asmodlol has quit [Ping timeout: 244 seconds]
Guest15507 has quit [Ping timeout: 256 seconds]
nobitanobi has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest75216
<wasamasa> woodruffw: my client would still highlight it if my nick were on the list, no matter what you're separating them with
cjim_ has joined #ruby
sankaber has joined #ruby
dfinninger has joined #ruby
<woodruffw> wasamasa: even if the nick was divided by a ZWS?
<wasamasa> woodruffw: oh, *divided*
<woodruffw> let's see: wasa​masa
<woodruffw> yeah
dfinninger has quit [Remote host closed the connection]
<woodruffw> did that highlight you?
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has quit []
<wasamasa> woodruffw: I thought it was about nicks.join(zerowidthspacer)
<wasamasa> woodruffw: and no, that didn't trigger it
<wasamasa> woodruffw: I can select the character in-between though
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<woodruffw> wasamasa: oh, no. i was just trying to print a list of nicks without disturbing those users/triggering the akick on my friend's bot :P
<wasamasa> if pasted in my terminal emulator, I get a specially highlighted sequence
<wasamasa> so, I dunno whether it's that clever
<wasamasa> it should look fine in GUI applications, but in terminal emulators, eh
<woodruffw> yeah, it isn't very clever. as jhass's client shows, it isn't properly handled either
sinkensabe has joined #ruby
weaksauce has joined #ruby
<woodruffw> it's just a temporary kludge, but i guess i'll find a better way to do it. perhaps /notices
<waxjar> depending on the type of command, a pm could work?
<waxjar> notices frequently end up in a separate buffer and go ignored
<woodruffw> yeah, that was another concern
ewilazarus has joined #ruby
<woodruffw> the command(s) just list nicks authenticated and ignored by the bot respectively
Musashi007 has joined #ruby
sinkensabe has quit [Ping timeout: 265 seconds]
asmodlol has joined #ruby
dfinninger has joined #ruby
<waxjar> is it something a whole channel would be interested in? if not, should probably go in pm
<jhass> sounds like a good pm only command indeed
perturbation has quit [Quit: Leaving]
<woodruffw> PM it is, then
mostlybadfly has joined #ruby
<woodruffw> thanks for the advice everybody
davidhq has joined #ruby
Guest75216 has quit [Ping timeout: 245 seconds]
Spami has quit [Quit: This computer has gone to sleep]
workmad3 has quit [Ping timeout: 256 seconds]
swgillespie has joined #ruby
vikaton has joined #ruby
Mohan_ has joined #ruby
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
scripore has joined #ruby
tectonic has quit []
Musashi007 has quit [Quit: Musashi007]
lxsameer has quit [Quit: Leaving]
willharrison has joined #ruby
rawrmonstar has joined #ruby
ewilazarus has quit [Quit: Leaving]
toretore has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Pumukel has joined #ruby
segfalt has joined #ruby
Yzguy has joined #ruby
shuber has joined #ruby
towski_ has joined #ruby
sankaber has quit [Ping timeout: 256 seconds]
A205B064 has joined #ruby
jud has quit [Quit: Leaving]
nobitanobi has joined #ruby
jud has joined #ruby
jud has joined #ruby
jud has quit [Changing host]
cjim_ has quit [Quit: (null)]
parduse has joined #ruby
nucatus has joined #ruby
shuber has quit [Ping timeout: 265 seconds]
cjim_ has joined #ruby
workmad3 has joined #ruby
bmurt has joined #ruby
Alina-malina has quit [Ping timeout: 244 seconds]
Yzguy has quit [Quit: I'm sleeping, go away.]
Channel6 has joined #ruby
parduse has quit []
sinkensabe has joined #ruby
segfalt has quit [Quit: segfalt]
gsd has joined #ruby
Filete has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
kirun has quit [Quit: Client exiting]
<willharrison> what type of object should I use to specify in yard that a param takes a block?
nobitanobi has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 255 seconds]
dfinning_ has joined #ruby
CloCkWeRX has joined #ruby
diegoaguilar has joined #ruby
<jhass> "a param takes a block"?
<willharrison> I mean like
<willharrison> @param [Block] my description
<willharrison> but that throws a warning
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> there's the @yeild… tags
msgodf has quit [Ping timeout: 276 seconds]
<willharrison> ah ok thanks
<jhass> you mean you want to specify that your method yields?
<adaedra> look for "yard tags" on google
vikaton has quit []
<willharrison> jhass yeah
<willharrison> the @yield tag works
<jhass> that was very confusingly worded :P
<willharrison> yeah I realized after :P
<shevy> adaedra tard yags?
CloCkWeRX has quit [Ping timeout: 256 seconds]
Alina-malina has joined #ruby
almost_android has joined #ruby
almost_android has left #ruby [#ruby]
dfinning_ has quit [Remote host closed the connection]
Channel6 has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
Mohan_ has quit [Ping timeout: 255 seconds]
bmurt has quit []
startupality has quit [Quit: startupality]
dc has quit [Remote host closed the connection]
segfalt has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest56650
dfinninger has joined #ruby
Channel6 has joined #ruby
juanpablo_ has joined #ruby
asmodlol has quit [Ping timeout: 256 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 272 seconds]
quimrstorres has quit [Remote host closed the connection]
iamninja has joined #ruby
juanpablo_ has quit [Ping timeout: 240 seconds]
edwinvdgraaf has joined #ruby
CloCkWeRX has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
sinkensabe has quit [Remote host closed the connection]
spider-mario has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
chinmay_dd has quit [Ping timeout: 255 seconds]
chinmay_dd has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has joined #ruby
jimms has quit []
diegoaguilar has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
__main__ has joined #ruby
MyMind has quit [Ping timeout: 246 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DEA7TH has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Pisuke has joined #ruby
Musashi007 has joined #ruby
swgillespie has joined #ruby
tubuliferous_ has joined #ruby
<weaksauce> any opinions on gui frameworks for ruby? playing around with gosu but it is pretty primitive with only image rendering vs having arbitrary draw commands.
apurcell has joined #ruby
<shevy> rubygnome \o/
crazydiamond has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<weaksauce> -linux +os x
m8 has quit [Quit: Sto andando via]
tubuliferous_ has quit [Ping timeout: 276 seconds]
Sembei has joined #ruby
shuber has joined #ruby
apurcell has quit [Ping timeout: 255 seconds]
lidenskap has joined #ruby
Pisuke has quit [Ping timeout: 256 seconds]
thatslifeson has joined #ruby
banister has joined #ruby
Brozo has joined #ruby
pontiki has joined #ruby
shuber has quit [Ping timeout: 256 seconds]
<pontiki> hi
DerisiveLogic has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has joined #ruby
thatslifeson has quit [Ping timeout: 250 seconds]
woodruffw has quit [Ping timeout: 276 seconds]
decoponio has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jefus has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
DerisiveLogic has quit [Ping timeout: 240 seconds]
jefus has joined #ruby
Joufflu has joined #ruby
scripore has joined #ruby
Rickmasta has joined #ruby
valkyrka has joined #ruby
sepp2k has quit [Quit: Leaving.]
ddarkpassenger has joined #ruby
dfinninger has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
endash has quit [Quit: endash]
maletor has quit [Quit: Computer has gone to sleep.]
towski_ has quit [Remote host closed the connection]
iasoon has joined #ruby
CloCkWeRX has quit [Ping timeout: 272 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
meph has joined #ruby
qwertme has joined #ruby
woodruffw has joined #ruby
Guest56650 has quit [Ping timeout: 240 seconds]
Musashi007 has quit [Quit: Musashi007]
dc has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
quimrsto_ has joined #ruby
nobitanobi has joined #ruby
roolo has quit [Remote host closed the connection]
Mohan has joined #ruby
Mohan is now known as Guest45885
roolo has joined #ruby
startupality has joined #ruby
roolo has quit [Remote host closed the connection]
<jalcine> weaksauce: there's also smoke for using qt with ruby
<jalcine> a cross-platform GUI toolkit (like gnome, but cleaner)
quimrsto_ has quit [Ping timeout: 255 seconds]
heftig has quit [Remote host closed the connection]
heftig has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
SouL_|__ has joined #ruby
endash has joined #ruby
SirCmpwn is now known as SirCmpwnTest
<nobitanobi> How come I can do this DateTime.now.to_s < DateTime.now but I can't do Time.now.to_s < Time.now ?
SirCmpwnTest is now known as SirCmpwn
valkyrka has quit [Ping timeout: 272 seconds]
SouL_|_ has quit [Ping timeout: 240 seconds]
rawrmonstar has joined #ruby
vikaton has joined #ruby
allcentury has quit [Ping timeout: 276 seconds]
bigmac has quit [Ping timeout: 252 seconds]
SouL_|_ has joined #ruby
CloCkWeRX has joined #ruby
kt2 has joined #ruby
thatslifeson has joined #ruby
kt2 has quit [Client Quit]
SouL_|__ has quit [Ping timeout: 244 seconds]
infoget has quit [Quit: Leaving.]
<pontiki> dunno what you're doing, but they both give ArgumentError
startupality has quit [Quit: startupality]
<nobitanobi> argh, not on rails sorry
<nobitanobi> I guess Rails overrides the comparable
<ebonics> is there a distinction between sending an empty string in the body content, and not?
<ebonics> wrong channel wtf
<jhass> probably an implementation detail of whatever you use to generate the request. Catch the generated request and check
Stalkr_ has quit [Quit: Leaving...]
Zai00_ has joined #ruby
Zai00_ has quit [Client Quit]
Zai00 has quit [Ping timeout: 272 seconds]
Pumukel has quit [Ping timeout: 252 seconds]
weemsledeux has joined #ruby
Spami has joined #ruby
mjkr_ has quit [Quit: WeeChat 1.1.1]
ddarkpassenger has quit [Quit: Textual IRC Client: www.textualapp.com]
nobitanobi has quit [Remote host closed the connection]
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rawrmonstar has joined #ruby
<rgb-one> Any AsciiDoctor users here?
SouL_|__ has joined #ruby
gsd has joined #ruby
x1337807x has joined #ruby
<rgb-one> !Time.now
hyperjuice has joined #ruby
SouL_|_ has quit [Ping timeout: 256 seconds]
troulouliou_dev has joined #ruby
troulouliou_dev has joined #ruby
turtil has joined #ruby
<havenwood> ?anyone rgb-one
<ruboto> rgb-one, Just ask your question, if anyone has, they will respond.
Guest1421 has joined #ruby
Narzew has quit [Remote host closed the connection]
<rgb-one> havenwood: yea
startupality has joined #ruby
<rgb-one> How have you used AsciiDoctor?
jgt has quit [Ping timeout: 272 seconds]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rgb-one> I would like to know how useful AsciiDoctor would be for generating both a manpage and an equivalent html webpage with the same content but with styling? How much effort would be involved in this.
shuber has joined #ruby
<Radar> rgb-one: I don't know about a manpage, but I know it's pretty great for displaying its content in HTML
<rgb-one> ?Time.now
<ruboto> I don't know anything about Time
<rgb-one> Radar: I see. From what I have read it can convert content to manpages. I will have a go at it and see what it has to offer.
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
<Radar> rgb-one: I used Asciidoc to write Rails 4 in Action and had a really good time working with it :)
<rgb-one> Radar: Cool. Tell me about your experience
<Radar> rgb-one: We just generate default template HTML + PDF + ePub content for the reviewers
<Radar> Manning takes it and turns it into Docbook and then runs it through their terrible toolchain which probably involves goat sacrifices.
shuber has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
icarus has joined #ruby
<rgb-one> Radar: The multiple format support is a feature of interest.
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rmillerx has joined #ruby
jenrzzz has joined #ruby
rawrmonstar has joined #ruby
<Radar> Here's the Rakefile that we use to build the book: https://gist.github.com/radar/2cb59e14d5186e73840a
hmsimha has quit [Ping timeout: 256 seconds]
vickleton has quit [Ping timeout: 256 seconds]
<Radar> It's a much better format to work with than both Docbook and Markdown
diegoaguilar has joined #ruby
<Radar> Docbook is very... clunky. It's all XML all the time and you end up fighting it more than working with it
<Radar> and wrt to Markdown, well... AsciiDoc feels like a more mature version of Markdown
rmillerx has quit [Remote host closed the connection]
banister has joined #ruby
rmillerx has joined #ruby
rmillerx has left #ruby [#ruby]
CloCkWeRX has quit [Ping timeout: 256 seconds]
<rgb-one> Radar: So for a book outside the Computing scene, would you reccomend AsciiDoctor?
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thatslifeson has quit [Remote host closed the connection]
<weaksauce> jalcine do you have a link to that project? I couldn't find anything
<havenwood> weaksauce: SpriteKit via RubyMotion looks nice, but alas I've no RubyMotion license.
<Radar> rgb-one: yes
<rgb-one> Radar: Cool
<weaksauce> havenwood yeah that's an option. though it's really not a true ruby so you can't use arbitrary gems.
CloCkWeRX has joined #ruby
SirCmpwn is now known as SirCmpwnTest
SirCmpwnTest is now known as SirCmpwn
<rgb-one> I have a list of projects in a google document. Any of you guys would like to contribute some ideas? Big or small is appreciated.
<rgb-one> There is the link
<Radar> rgb-one: Sure my consulting rate is $200/hr
<Radar> Where should I email the contracting agreement through to?
icarus has quit [Ping timeout: 264 seconds]
Musashi007 has joined #ruby
<rgb-one> You guys have editorial priviledges so feel free to add any project you think useful
willharrison has joined #ruby
Guest45885 has quit [Ping timeout: 255 seconds]
mengu has quit [Remote host closed the connection]
<rgb-one> The projects are general for the purpose of adding flexibility but if you have an idea with specific requirement feel free to add them.
juanpablo_ has joined #ruby
Guest1421 has quit [Ping timeout: 246 seconds]
Mohan has joined #ruby
Mohan is now known as Guest42302
<rgb-one> Radar: I don't even have $200 lol. Doubt I would do consulting personally though.
rahult has joined #ruby
<shevy> I don't think Radar wants to be hired anyway
<Radar> :)
rahult is now known as rahult_
rahult_ is now known as rahult
rahult is now known as rahult_
allcentury has joined #ruby
dfinninger has joined #ruby
rahult_ has quit [Client Quit]
juanpablo_ has quit [Ping timeout: 245 seconds]
dented42 has joined #ruby
Musashi007 has quit [Quit: Musashi007]
aewffwea has quit [Ping timeout: 248 seconds]
SouL_|_ has joined #ruby
dfinninger has quit [Ping timeout: 244 seconds]
Channel6 has quit [Quit: Leaving]
hmsimha has joined #ruby
cjim_ has quit [Quit: (null)]
SouL_|__ has quit [Ping timeout: 245 seconds]
rkazak has joined #ruby
Lildirt has joined #ruby
dfinninger has joined #ruby
rahult has joined #ruby
cjim_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
vikaton has quit []
tubuliferous_ has joined #ruby
rawrmonstar has joined #ruby
iteratorP has joined #ruby
Yzguy has joined #ruby
AirStar has joined #ruby
<AirStar> 8)
Ropeney has joined #ruby
tubuliferous_ has quit [Ping timeout: 256 seconds]
alderamin has quit [Remote host closed the connection]
alderamin has joined #ruby
thatslifeson has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
davedev2_ has joined #ruby
allcentury has quit [Ping timeout: 245 seconds]
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
attlasbot has joined #ruby
dstarh has joined #ruby
iteratorP has quit [Remote host closed the connection]
fedexo has joined #ruby
rawrmonstar has joined #ruby
sevenseacat has joined #ruby
alderamin has quit [Ping timeout: 256 seconds]
davedev2_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
shuber has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 264 seconds]
Brozo has quit [Quit: Leaving...]
DerisiveLogic has joined #ruby
car has joined #ruby