apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<shevy> it's one of the loveliest things I've ever seen
<godd2> no you did not
<shevy> some are not good, but some others are damn awesome
<bradland> shevy: completely not ruby related, but check this out: http://www.bradlanders.com/2013/04/15/apache-bench-and-gnuplot-youre-probably-doing-it-wrong/
<shevy> the coolest ones are the chaotic ones where you constantly get different images
<shadoi> gnuplot is useful, D3 is more impressive visually :)
<bradland> i'm known to use ruby to write files that can be easily plotted by gnuplot
<bradland> gnuplot is a graphing tool. D3 is a "visualization" library. totally different tools, IMO.
<bradland> I can't do with D3 what I can do with gnuplot, and vice versa.
cjim_ has quit [Quit: (null)]
<godd2> same guy who made D3js made a bunch of algorithm visualizations: http://bost.ocks.org/mike/algorithms/
<shadoi> I just mean for the visualizations
<godd2> those are amazing
SOLDIERz__ has quit [Quit: Be back later ...]
<godd2> especially where he converts a maze to a tree
_djbkd has quit [Remote host closed the connection]
<shevy> a maze to a tree?
<shadoi> yeah that's pretty amazing
RegulationD has quit [Remote host closed the connection]
<godd2> shevy it's at the very bottom
_djbkd has joined #ruby
juanpablo_ has quit [Ping timeout: 250 seconds]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
doodlehaus has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
_djbkd has quit [Remote host closed the connection]
mroach has joined #ruby
wallerdev has quit [Quit: wallerdev]
doodlehaus has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 252 seconds]
MatthewsFace has quit [Remote host closed the connection]
rhg135 has joined #ruby
citizen1984 has joined #ruby
<citizen1984> what's up peeps
<godd2> yo
jonr22 has joined #ruby
<citizen1984> anyone in here playing around with node.js
<citizen1984> seems like everyone I know is switching over
<bradland> burn the witch!
<citizen1984> I'm not a big JS fan
<citizen1984> ugly
<citizen1984> that C syntax....
n80 has joined #ruby
<bradland> i won't use languages without string interpolation
<bradland> too + much + plus + action
<citizen1984> haha
<citizen1984> good call
<bradland> (not srs, btw)
kromm has joined #ruby
<bradland> :)
enebo has quit [Quit: enebo]
<citizen1984> I admit is runs faster but the code, ugh, that code
<godd2> Don't listen to his lies
<bradland> oh man
* apeiros_ wonders whether people can talk about languages without dogma and hyperbole…
<bradland> the "faster" argument is a regular trope around here
whateverman has joined #ruby
xymbol has quit [Quit: Be back later ...]
<citizen1984> I love ruby, that's really the only knock against it is the speed when it scales. And maybe the lack of some data analytics packages.
<bradland> not sure if srs
triple_b has joined #ruby
xymbol has joined #ruby
<apeiros_> scale != speed
<apeiros_> common mistake
<citizen1984> scale and speed are related. you can see that easy enough by running clock test as you "scale" up a site
<bradland> citizen1984: you should look in to some of James Golick's talks, god rest his soul
<apeiros_> citizen1984: not really.
<citizen1984> James was young, no?
jonr22 has quit [Ping timeout: 265 seconds]
<citizen1984> what did he die of again
<shevy> javascript
<bradland> yeah. he died in an auto accident.
RegulationD has joined #ruby
<apeiros_> algorithm A takes 0.01s for a dataset of 10, 0.1s for a dataset of 100. algorithm B takes 1h for 10, 2h for 100. which one scales better?
<citizen1984> shevy: of javascrip...that's funny
<apeiros_> citizen1984: ^
nii236 has joined #ruby
<citizen1984> apeiros: I get your point. But even Ruby fanatics will admit that its not fast, particularly, on the rails platform for commerical sites. But hey, whatever works. I love ruby
<bradland> i won't admit that
nii236 has quit [Client Quit]
<apeiros_> citizen1984: using words like "fanatics" moves you into the troll lane pretty quickly.
<apeiros_> citizen1984: also, "not fast" is not the same as "does not scale". you're making the same error again.
xymbol has quit [Quit: Lingo: www.lingoirc.com]
<bradland> citizen1984: the number of people who can have a well formed discussion about the speed of ruby is pretty small relative to the size of the respective developer communities
<bradland> the problem is that "fast" and "slow" are very generalized terms, and programming is anything but generalized
<shevy> haha
<shevy> is this speed comparison now
<shevy> we had size comparison before
<bradland> i prefer size comparisons
<bradland> i always win
<bradland> ta dum tss
Deele has quit [Ping timeout: 256 seconds]
<shevy> citizen1984 hey is perl much much faster than ruby
<apeiros_> bradland: smallest is best? ;-p
<bradland> i can feel all of you rolling your eyes from here!
RegulationD has quit [Ping timeout: 264 seconds]
<godd2> hmm, should I do a merge sort in Ruby or a bubble sort in C ?
<citizen1984> I never was a perl guy. don't know
<shevy> do a bubble merge in javascript godd2
<apeiros_> godd2: randsort in haskell
<shevy> hahaha
<shevy> monadsort!
<godd2> or a bogosort in malbolge
<citizen1984> The only lanugage I'm not fond of is lisps bc every f'ing lisp programming only talks about how great lisp is. Its the crossfit of the programming world
<citizen1984> programmer'
charliesome has joined #ruby
<shevy> godd2 I am trying to dust up my old cfdg script... in some minutes, I should have a gallery, then I will make a screenshot snapshot and upload that
<shevy> *cfdg scripts
<apeiros_> yeah, how can you argue with somebody who's right. there's no joy in that. :)
<shevy> (lisp(is(cool(man
<shevy> citizen1984 there even is an ultima clone in scheme
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<godd2> citizen1984 super cool, try it yourself: http://www.tryclj.com/
<shevy> I don't like the syntax of scheme but it's cool to study a game written in it
<godd2> shevy kk
<shevy> citizen1984 http://sourceforge.net/projects/nazghul/ even 3 screenshots
<citizen1984> What is stallman always complaining about....no read-eval-print loop
withnale__ has quit [Quit: Be back later ...]
maximski_ has quit [Ping timeout: 256 seconds]
<shevy> our new heroes are guys like matz
<godd2> shevy here's some music programmed live in lisp: https://www.youtube.com/watch?v=yY1FSsUV-8c
rdark has joined #ruby
fgo has joined #ruby
<citizen1984> Matz is cool. I like why
<citizen1984> anyone catch the citizen4 doc? Just saw it today. scary times
mjuszczak has quit []
<godd2> citizen1984 have you watched any of aaron patterson's talks?
<godd2> also known as tenderlove. He's my hero
<baweaver> avdi grimm
<citizen1984> never saw a talk
<godd2> he's good too. also, ben orenstein
<baweaver> doesn't get much credit, but still a good guy to follow
<citizen1984> but I did read something he wrote about postgres
<baweaver> can you believe he's never been a Ruby hero?
<godd2> and sandi metz and katrina owen
<shevy> citizen1984 _why is gone man
<baweaver> and Raganwald
<shevy> citizen1984 are you like a fossil :)
<shevy> I only know of citizen kane
paolooo has quit [Ping timeout: 246 seconds]
<baweaver> _why was great when he was still around
mistermocha has joined #ruby
<baweaver> shame he left.
nii236 has joined #ruby
<shevy> his fox cartoon is missed
<bradland> i'm a big jordan sissel fan.
<baweaver> creepers gotta creep I guess, went and spooked him.
serivich has quit [Ping timeout: 244 seconds]
<citizen1984> The material lives on, my friends.
<baweaver> banisterfiend and cirwin are up there too.
<baweaver> (Pry)
<bradland> no you
<citizen1984> a person doesn't have to be on youtube or twitter every sec--like a kardashian--for their ideas to stay relevant
<bradland> what just happened here
<citizen1984> shit. I'm late for a concert. Be well in rubyland peeps.
citizen1984 has quit [Quit: leaving]
Soda has quit [Remote host closed the connection]
<shevy> lol
<shevy> bradland and you called me weird before
<shevy> what can you say to citizen1984
reinaldob has joined #ruby
oki has quit [Ping timeout: 264 seconds]
<bradland> based on that name, i'm pretty sure that was a ruby bot from 2001
<baweaver> oh hey shevy
<bradland> er, based on the conversation
<shevy> he indeed showed old knowledge
swgillespie has joined #ruby
<shevy> I don't think he was even using ruby at all
<baweaver> I still need to get up to speed and get on the Ruby Hero ballot some time :D
nii236 has quit [Client Quit]
nii236 has joined #ruby
rdark has quit [Quit: leaving]
baweaver has quit [Remote host closed the connection]
<bradland> blegh
nii236 has quit [Client Quit]
nii236 has joined #ruby
reinaldob has quit [Ping timeout: 252 seconds]
<bradland> so, CSV.parse appears to guess that \r is a line separator, but methods like File.readlines are more explicit
<bradland> is there a method like File.readlines that let's you provide a list of line separators instead of just sep?
mistermocha has quit [Ping timeout: 256 seconds]
jobewan has quit [Ping timeout: 256 seconds]
<jhass> split?
dziegler_ has quit [Remote host closed the connection]
<bradland> i'd have to nest that
<bradland> reason is this
<bradland> much like zeel, i have to deal with CSV provided by end users
<bradland> which is frequently exported by Excel Mac
nii236 has quit [Client Quit]
<bradland> the default CSV output from Excel Mac uses \r line endings
nii236 has joined #ruby
<bradland> interestingly, CSV.parse treats \r as a line separator
<apeiros_> bradland: split(/\r\n?|\n/)
stef204 has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
<apeiros_> covers all common line separators
Mon_Ouie has quit [Ping timeout: 250 seconds]
Sembei has quit [Read error: Connection reset by peer]
<apeiros_> win: \r\n, *nix: \n, classic mac: \r
MyMind has joined #ruby
<bradland> good call, the regex lets me cover all cases
<jhass> gsub with "\n" to normalize
nii236 has quit [Client Quit]
nii236 has joined #ruby
fryguy9 has quit [Quit: Leaving.]
<bradland> jhass: i would if i were writing the string somewhere, but i'm processing, so i really need it split up anyway
nii236 has quit [Client Quit]
nii236 has joined #ruby
Feyn has joined #ruby
arescorpio has joined #ruby
ghostpl_ has joined #ruby
nii236 has quit [Client Quit]
davedev24_ has joined #ruby
nii236 has joined #ruby
mog_ has quit [Ping timeout: 246 seconds]
davedev2_ has quit [Ping timeout: 245 seconds]
riotjones has joined #ruby
Megtastique has joined #ruby
doodlehaus has joined #ruby
<shevy> cool that all operating systems agree on a common line separator
fgo has quit [Ping timeout: 246 seconds]
perrier has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
zorak8 has joined #ruby
krz has joined #ruby
Pupeno has quit [Ping timeout: 240 seconds]
rhg135 is now known as rhg136
ghostpl_ has quit [Ping timeout: 264 seconds]
kevr has quit [Excess Flood]
doodlehaus has quit [Remote host closed the connection]
kevr has joined #ruby
Pupeno has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
RandyT has quit [Read error: Connection reset by peer]
RandyT has joined #ruby
rhg136 is now known as rhg135
wallerdev has joined #ruby
Gavilan2_ has joined #ruby
<Gavilan2_> What's the best ORM for DynamoDB in ruby?
baweaver has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 256 seconds]
baweaver has quit [Remote host closed the connection]
GaryOak_ has quit [Remote host closed the connection]
MyMind has quit [Quit: WeeChat 1.2-dev]
<centrx> Gavilan2_, dynamoid looks like the only one
krz has quit [Ping timeout: 245 seconds]
jamgood9_ has joined #ruby
<centrx> that beyond version 0.0.1
baweaver has joined #ruby
jamgood9_ has quit [Client Quit]
kyb3r_ has quit [Ping timeout: 272 seconds]
ghostmoth has quit [Quit: ghostmoth]
zachrab has quit [Remote host closed the connection]
Rollabunna has joined #ruby
zachrab has joined #ruby
jamgood96 has quit [Ping timeout: 252 seconds]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jlast has quit [Remote host closed the connection]
claw has quit [Ping timeout: 250 seconds]
justin_pdx has quit [Quit: justin_pdx]
stef204 has joined #ruby
nii236 has quit [Quit: WeeChat 1.1.1]
JDiPierro has joined #ruby
nii236 has joined #ruby
zachrab has quit [Ping timeout: 255 seconds]
<nii236> ping
atomiccc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nii236 has quit [Client Quit]
davedev2_ has quit [Ping timeout: 265 seconds]
JDiPierro has quit [Remote host closed the connection]
kalusn has joined #ruby
nii236 has joined #ruby
fgo has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
davedev24_ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
greenbagels has quit [Ping timeout: 256 seconds]
Megtastique has quit []
Guest123 has joined #ruby
ragingcake_ has quit [Quit: ragingcake_]
spider-mario has quit [Remote host closed the connection]
crazydiamond has quit [Ping timeout: 246 seconds]
marr has quit []
Travis-42 has joined #ruby
triple_b has joined #ruby
<Travis-42> If I already have a json string, and I want to combine it with a hash and get the final json result — e.g. { results: json_string}.to_json — can I do this and let the json_string become a part of the final json object (i.e. not escaped)?
<wallerdev> `yeah just use json.parse
<Travis-42> I was kind of curious if it would be possible without converting the json string to a json object and then back again, even though it’s pretty quick
x1337807x has joined #ruby
<whateverman> hm
iwaffles has quit [Quit: iwaffles]
<whateverman> I'm supposed to start coding rubby soon
<wallerdev> you could do results: "SOME_TOKEN_YOU_REPLACE"
<wallerdev> then just do a gsub
<jhass> Travis-42: yes, it's called string interpolation: "{results #{json_string}"
<jhass> + }
<wallerdev> or yeah if the json is that simple no need to use to_json in teh first place
davedev24_ has quit [Read error: Connection reset by peer]
<wallerdev> like jhass said
davedev24_ has joined #ruby
<jhass> whateverman: why not right now!
<apeiros_> people keep saying "json object". there is no such thing.
<whateverman> it's customary to give 2 weeks before you're gone at a job
<Travis-42> Hmm, I guess that makes sense. There’s be no way to convert the hash with the json_string as one of its value and tell ruby to leave the json_string alone?
baweaver has quit [Remote host closed the connection]
<whateverman> so, 1 more week, and I'll be rubbying it up
<wallerdev> rubbying
<Travis-42> you’re right apeiros, I should have said json_string in my first sentence, and hash in my second instead, sorry
<apeiros_> Travis-42: don't worry, you're not alone.
razieliyo_ has joined #ruby
<apeiros_> reminds me of the fun fact that json spec defines notation for values which javascript can't represent (arbitrarily large integers)
<wallerdev> >> 34789237498237498.to_json
<eval-in_> wallerdev => undefined method `to_json' for 34789237498237498:Bignum (NoMethodError) ... (https://eval.in/296942)
<wallerdev> >> require 'json' [34789237498237498].to_json
<eval-in_> wallerdev => bignum too big to convert into `long' (RangeError) ... (https://eval.in/296943)
<wallerdev> :(
Synthbread has joined #ruby
livingstn has quit []
<apeiros_> oh, a new fun fact about json
<apeiros_> well, actually about ruby's json impl
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
graydot has quit [Quit: graydot]
<apeiros_> >> require 'json'; JSON.parse('[34789237498237498]')
<eval-in_> apeiros_ => [34789237498237498] (https://eval.in/296944)
<apeiros_> so it can parse it but not generate it
<apeiros_> also, newer specs of json dropped the "top level must be object or array" part. ruby doesn't support that yet :-/
iliketurtles has quit [Quit: zzzzz…..]
<wallerdev> they did?
razieliyo has quit [Ping timeout: 272 seconds]
<wallerdev> i had an interview question a couple years ago about that
sprink has joined #ruby
<wallerdev> what are the two types of valid json resposnes or something to that tune
daynaskully has quit [Ping timeout: 240 seconds]
<apeiros_> yes. I was surprised. somebody claimed ruby's json parser was bad. somebody else beat me to saying that valid json requires array/object root. the other person linked newest spec, showing that it got dropped.
kblake has quit [Remote host closed the connection]
SOLDIERz__ has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
<wallerdev> now we just gotta wait for everyone to update their code :p
<apeiros_> indeed
<apeiros_> I wish json added better binary data support
<jhass> scnr
<apeiros_> haha
mordocai has joined #ruby
duncannz has joined #ruby
odigity has quit [Ping timeout: 256 seconds]
jcromartie has joined #ruby
<argoneus> what does it mean
<argoneus> when there's multiple begin/end blocks in a method?
greenbagels has joined #ruby
<wallerdev> just creates a new scope
<wallerdev> usually used with a rescue block
<apeiros_> no new scope
<argoneus> what does rescue do if I may ask? ._.
<argoneus> leaves currents cope?
<apeiros_> argoneus: depends on what else is in there. multiple sections which are rescued separately e.g.
<argoneus> scope*
<wallerdev> its not a new scope?
<apeiros_> wallerdev: no
<wallerdev> seems like it should be
<apeiros_> >> begin; x = 1; end; x
<eval-in_> apeiros_ => 1 (https://eval.in/296945)
morenoh149 has quit [Ping timeout: 240 seconds]
<wallerdev> oh well
<apeiros_> it's like other flow control statements
<wallerdev> learn something new
<wallerdev> yeah i still think of things like C where all { } create scope i guess
<apeiros_> argoneus: rescue handles exceptions
<apeiros_> it allows you to deal with code which raised an exception
imanzarrabian has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<argoneus> ah
<argoneus> so it's like try except?
<apeiros_> you mean try/catch?
<jhass> try except is python
<argoneus> yeah
<argoneus> it's the same thing
<apeiros_> oh
graydot has joined #ruby
<argoneus> I see
<apeiros_> yeah. just be aware that ruby has try/catch too, which is used for flow control, not exceptions
x1337807_ has joined #ruby
<argoneus> also one more thing before I go to bed
<argoneus> what is the cleanest way to run all tests?
graydot has quit [Client Quit]
<apeiros_> I'm way ahead of you - already in bed for hours
<argoneus> like I have my plugins folder
<argoneus> and I want to test all the plugins
<argoneus> so I create a tests folder in the plugins folder, and there make some tests, right
<argoneus> and then a master test that includes all?
<argoneus> or what is the best way to do this kind of thing
<shevy> godd2 here is a smaller overview http://i.imgur.com/q02Hpkb.png
atomiccc has joined #ruby
chipotle has joined #ruby
<shevy> each one is a small text file, the .cfdg file; many of them randomly generate somewhat different images
x1337807x has quit [Ping timeout: 252 seconds]
<argoneus> also this annoys me
morenoh149 has joined #ruby
<argoneus> whenever I google a ruby problem all the solutions are rails specific
kromm has quit [Quit: kromm]
<argoneus> why do people think ruby equals rails
<shevy> for instance, the seahorse image on the left side, derives from these rules: http://pastie.org/pastes/10006471/text
<shevy> argoneus yeah, rails kind of got another community
chipotle has quit [Read error: Connection reset by peer]
SOLDIERz__ has quit [Quit: Be back later ...]
chipotle has joined #ruby
<argoneus> anyway
<argoneus> is it a good idea to use rakefile for running tests?
<shevy> dunno. I don't like rake
<shevy> I am sure most tests work fine without rake too
<argoneus> how do you do it then
<argoneus> when you have a folder with 20 tests
<argoneus> and you want to run them all
<shevy> don't the testing frameworks allow you to do just that?
<argoneus> testing frameworks?
<argoneus> I've been working with ruby for 2 days
baweaver has joined #ruby
Sembei has joined #ruby
<argoneus> I just want to run tests but I don't know how ;_;
<argoneus> everything I find is specific to rails
doodlehaus has joined #ruby
<nii236> argoneus: Have you done much programming before?
<argoneus> kinda
<argoneus> I don't dare say much
odigity has joined #ruby
<nii236> I'm basically a beginner but if you're looking for Ruby specific testing, have a look at the Ruby Koans
<argoneus> normally I'd just use a shell script to execute all the tests in succession
<argoneus> but maybe there's a better way
<nii236> It uses Watchr which is pretty ancient, if you go to my Github I've updated my fork of the koans to use Guard instead
<jhass> argoneus: what are you using for testing? Minitest?
<argoneus> jhass: nothing yet
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<argoneus> I just want to write tests for my plugins
<argoneus> maybe I should use Test::Unit?
<argoneus> I really have no clue
<argoneus> I just have a bunch of .rb files that I want to test
<baweaver> rspec is the usual
<jhass> well, start with deciding on a framework, Minitest and RSpec are most popular, Minitest exposes both, a Test::Unit interface and RSpec-ish DSL
Azure has quit [Quit: Blue Sky Fish]
<argoneus> I'll try minitest then
x1337807_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<baweaver> just a sec, I'll link you to a few pure ruby projects with rspec
<jhass> good, should be bundle into your ruby if recent enough
<godd2> shevy that's awesome
ghostpl_ has joined #ruby
<godd2> shevy is that script you pastied R?
<baweaver> that one's pretty straightforward
<shevy> godd2 nope
<jhass> argoneus: I'm more a RSpec'er myself, but I think http://www.rubydoc.info/gems/rake/Rake/TestTask should work fine with minitest
<shevy> R is more traditional; function calls
<shevy> cfdg is context-free
digifiv5e has joined #ruby
<godd2> ahh
<jhass> just ignore shevy on the rake part, he probably just didn't get it yet like bundler
<shevy> it's like recursively calling and following different shapes
<argoneus> oh ok
<baweaver> What's R doing?
<argoneus> so rake is fine for testing?
* baweaver needs to look at logs
<shevy> jhass I don't need rake, why would I? everything I can do I can do via aliases or direct calling of code in files
<baweaver> rake is a ruby task system
<jhass> argoneus: rake is fine for running tasks, running your testuite is a fine task
<shevy> jhass and why should I need bundler?
<argoneus> okay
<argoneus> thanks!
<argoneus> gnight
bim has quit [Remote host closed the connection]
<jhass> shevy: not in the mood
<shevy> yeah but you started it
* baweaver is lost.
bim has joined #ruby
<baweaver> what shenanigans are afoot?
agrinb has joined #ruby
<jhass> no, I just explained that it's just your opinion, not general consensus in the ruby community
robustus has quit [Ping timeout: 264 seconds]
<shevy> no, you stated "probably just didn't get it yet like bundler"
<shevy> that was an assumption and an attack
<shevy> so I am asking you again - why would I need either of these two?
<jhass> for their usecases, as said, not in the mood
senayar has joined #ruby
adriancb has joined #ruby
<godd2> anyone else here vimmers?
<baweaver> bundler for executing something in the context of an application
<shevy> vimsters?
<baweaver> rake, not really necessary for most basic things honestly.
<baweaver> Is that what we're called now?
<shevy> or hamsters
<godd2> Here's an awesome set of vim tutorials: http://derekwyatt.org/vim/tutorials/
ghostpl_ has quit [Ping timeout: 245 seconds]
claw has joined #ruby
<shevy> he is not using ruby :(
<baweaver> who's not using Ruby for what where now?
<baweaver> Lordy you all skip around.
robustus has joined #ruby
<shevy> as long as I can play tetris in vim
<godd2> baweaver yea but my link is *video* tutorials
bim has quit [Ping timeout: 252 seconds]
<shevy> the derek dude, he is a scala person by trade
<baweaver> a good tutorial is a good tutorial
<godd2> clearly superior
<baweaver> not really
<baweaver> video takes too long in some cases.
<baweaver> and isn't normally annotated properly
<baweaver> so you have to remember where someone mentioned something
<baweaver> annoying.
<baweaver> at least in terms of reference.
it0a has joined #ruby
<godd2> That's true. You can't ctrl-f a video
<godd2> yet...
Travis-42 has quit [Quit: Travis-42]
<baweaver> godd2: there's your startup idea
<godd2> lemme grab a latte and hop into rockstar mode
mary5030 has joined #ruby
kalusn has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
DadoCe has joined #ruby
nii236 has quit [Quit: WeeChat 1.1.1]
nii236 has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
zachrab has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
sivsushruth has joined #ruby
DadoCe has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: zzz]
bruno- has quit [Ping timeout: 255 seconds]
g0bl1n has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atomiccc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
febuiles_ has left #ruby [#ruby]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
yfeldblum has joined #ruby
zachrab has quit [Ping timeout: 244 seconds]
jonr22 has quit [Ping timeout: 256 seconds]
tag has quit [Ping timeout: 256 seconds]
Gavilan2_ has quit [Ping timeout: 246 seconds]
adriancb has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
digifiv5e is now known as daynaskully
Megtastique has joined #ruby
thumpba__ has quit [Ping timeout: 240 seconds]
tus has quit []
iliketurtles has joined #ruby
amclain has joined #ruby
claptor has joined #ruby
sevvie has joined #ruby
thumpba has joined #ruby
adriancb has joined #ruby
sussman has joined #ruby
baweaver has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
ferr has quit [Quit: WeeChat 1.1.1]
Joufflu has joined #ruby
doodlehaus has quit [Remote host closed the connection]
ferr has joined #ruby
thumpba_ has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby
User458764 has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Hobogrammer has joined #ruby
jottr_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
serivich has joined #ruby
nahtnam has joined #ruby
thumpba has quit [Ping timeout: 255 seconds]
baweaver has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
User458764 has quit [Client Quit]
apeiros_ has joined #ruby
davidhq has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
ponga has quit [Remote host closed the connection]
pen has joined #ruby
charliesome has joined #ruby
Limix has joined #ruby
morenoh149 has quit [Ping timeout: 252 seconds]
morenoh149 has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
piotrj_ has joined #ruby
claptor has quit [Quit: this channel is bakas]
adriancb has quit [Read error: Connection reset by peer]
jlast has joined #ruby
Synthbread has quit [Ping timeout: 252 seconds]
michael_mbp has quit [Excess Flood]
adriancb has joined #ruby
sevenseacat has joined #ruby
riotjones has joined #ruby
michael_mbp has joined #ruby
nettoweb has joined #ruby
sankaber has joined #ruby
piotrj has quit [Ping timeout: 256 seconds]
jlast has quit [Ping timeout: 265 seconds]
plashchynski has quit [Quit: plashchynski]
riotjones has quit [Ping timeout: 256 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
serivich has quit [Ping timeout: 255 seconds]
sinkensabe has joined #ruby
droidburgundy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
droidburgundy has joined #ruby
wallerdev has quit [Quit: wallerdev]
tcrypt has quit [Remote host closed the connection]
serivich has joined #ruby
plashchynski has joined #ruby
sinkensabe has quit [Ping timeout: 246 seconds]
DadoCe has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has quit [Remote host closed the connection]
zorak8 has quit [Quit: Leaving]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
grrrr_ has joined #ruby
thumpba_ has quit [Ping timeout: 250 seconds]
bim has joined #ruby
ponga has joined #ruby
dopie has quit [Read error: Connection reset by peer]
pontiki has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
serivich has quit [Ping timeout: 272 seconds]
n008f4g_ has quit [Ping timeout: 252 seconds]
nicolastarzia has quit [Remote host closed the connection]
bruno- has joined #ruby
dopie has joined #ruby
sivsushruth has quit [Ping timeout: 252 seconds]
serivich has joined #ruby
sivsushruth has joined #ruby
FooMunki has quit [Quit: FooMunki]
digifiv5e has joined #ruby
digifiv5e is now known as Guest52797
plashchynski has quit [Quit: plashchynski]
bim has quit [Remote host closed the connection]
bim has joined #ruby
daynaskully has quit [Ping timeout: 246 seconds]
bim has quit [Remote host closed the connection]
amystephen has quit [Quit: amystephen]
bruno- has quit [Ping timeout: 256 seconds]
martianixor has joined #ruby
martianixor has quit [Max SendQ exceeded]
martianixor has joined #ruby
serivich has quit [Ping timeout: 246 seconds]
blackmesa has quit [Ping timeout: 256 seconds]
jtdowney has joined #ruby
justin_pdx has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
dcarmich has joined #ruby
jtdowney has quit [Client Quit]
adriancb has joined #ruby
paradisaeidae has joined #ruby
Limix has quit [Quit: Limix]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Musashi007 has quit [Quit: Musashi007]
starless has quit [Quit: Leaving]
kblake has joined #ruby
sevenseacat has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby
jerematic has quit [Remote host closed the connection]
jerematic has joined #ruby
jerematic has quit [Remote host closed the connection]
sdothum has quit [Remote host closed the connection]
kblake has quit [Ping timeout: 250 seconds]
jottr_ has joined #ruby
yfeldblum has joined #ruby
ravipats88 has joined #ruby
starless has joined #ruby
sussman has quit [Changing host]
sussman has joined #ruby
<ravipats88> hey
<ravipats88> thought i would join here ... just started learning ruby on my own recently ...
sussman has quit [Quit: Leaving]
AndyBotwin has joined #ruby
AndyBotwin has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
mordocai has quit [Ping timeout: 240 seconds]
Guest52797 has quit [Changing host]
Guest52797 has joined #ruby
<nii236> Cool man
<nii236> How is it
Guest52797 is now known as daynaskully
jottr_ has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
withnale__ has joined #ruby
tiago_ has joined #ruby
sivsushruth has quit [Ping timeout: 255 seconds]
iamjarvo has joined #ruby
tiago has quit [Ping timeout: 252 seconds]
tiago_ is now known as tiago
withnale__ has quit [Ping timeout: 244 seconds]
jacks_spleen has joined #ruby
arup_r has quit [Ping timeout: 255 seconds]
Azure has joined #ruby
ghostpl_ has joined #ruby
<godd2> Oh GOd I think Ruby killed him.
<nii236> Yeah
<nii236> Ah well
starless has quit [Quit: Leaving]
red_horned_rihno has quit [Ping timeout: 265 seconds]
starless has joined #ruby
grrrr_ has quit [Read error: Connection reset by peer]
Guest123 has joined #ruby
ghostpl_ has quit [Ping timeout: 240 seconds]
jmdade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adriancb has quit [Read error: Connection reset by peer]
goshdarnyou has left #ruby [#ruby]
adriancb has joined #ruby
sivsushruth has joined #ruby
ravipats88 has quit [Ping timeout: 246 seconds]
iliketurtles has quit [Quit: zzzzz…..]
<shevy> lol
red_horned_rihno has joined #ruby
starless has quit [Quit: Leaving]
adriancb has quit [Remote host closed the connection]
zachrab has joined #ruby
jonr22 has joined #ruby
yfeldblum has joined #ruby
wldcordeiro has joined #ruby
it0a has quit [Quit: WeeChat 1.1.1]
zachrab has quit [Ping timeout: 246 seconds]
AlexRussia has quit [Ping timeout: 250 seconds]
jonr22 has quit [Ping timeout: 256 seconds]
serivich has joined #ruby
grrrr_ has joined #ruby
Kilo`byte has quit [Ping timeout: 265 seconds]
Peter___ has joined #ruby
PNDPO has joined #ruby
Cache_Money has joined #ruby
braincrash has quit [Quit: bye bye]
ponga has quit [Quit: Leaving...]
Kilo`byte has joined #ruby
morenoh149 has quit [Ping timeout: 264 seconds]
bim has joined #ruby
paradisaeidae has quit [Read error: Connection reset by peer]
PNDPO has quit [Remote host closed the connection]
Peter___ has quit [Remote host closed the connection]
<shevy> string[/^/] = "bla_"
<shevy> hmm
braincrash has joined #ruby
<shevy> how do you guys prepend to a string?
<nii236> <<?
Peter___ has joined #ruby
PNDPO has joined #ruby
<nii236> oh prepend
pwnz0r has joined #ruby
bim has quit [Ping timeout: 240 seconds]
dys has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 245 seconds]
<shevy> I used [0,0] = ''
<shevy> but I saw /^/ just now; and I also found .prepend
<shevy> Testing: string.prepend = 1.080000 0.000000 1.080000 ( 2.001797)
<shevy> Testing: string[0,0] = 3.280000 0.000000 3.280000 ( 5.738691)
<shevy> Interestingly my benchmark says that .prepend is faster than [0,0]
<shevy> Testing: string.prepend = 4.360000 0.000000 4.360000 ( 7.888374)
<shevy> Testing: string[0,0] = 13.370000 0.010000 13.380000 ( 21.452891)
pwnz0r has quit [Ping timeout: 256 seconds]
tubuliferous has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
serivich has quit [Ping timeout: 246 seconds]
triple_b has joined #ruby
martinbmadsen has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
DLSteve has quit [Ping timeout: 252 seconds]
zorak8 has joined #ruby
billy_ran_away has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sevvie has joined #ruby
riotjones has joined #ruby
paradisaeidae has joined #ruby
lemur has joined #ruby
_pakchoi_ops has joined #ruby
n80 has quit [Quit: n80]
emocakes has joined #ruby
triple_b has joined #ruby
DadoCe has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 250 seconds]
DadoCe has joined #ruby
RegulationD has joined #ruby
charliesome has quit [Quit: zzz]
JoshGlzBrk has joined #ruby
DadoCe has quit [Ping timeout: 272 seconds]
Rennex_ has joined #ruby
Rennex has quit [Ping timeout: 245 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
mistermo_ has joined #ruby
n80 has joined #ruby
n80 has quit [Client Quit]
mitchellhenke has joined #ruby
greenbagels has quit [Quit: Leaving]
mroach_ has joined #ruby
mroach has quit [Ping timeout: 272 seconds]
mroach_ is now known as mroach
DavidDudson has joined #ruby
sinkensabe has joined #ruby
oo_ has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
speaking1ode has quit [Ping timeout: 246 seconds]
philwantsfish has quit [Ping timeout: 244 seconds]
speaking1ode has joined #ruby
mroach has quit [Ping timeout: 272 seconds]
sinkensabe has quit [Ping timeout: 255 seconds]
sevvie has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
adriancb has joined #ruby
_5kg has quit [Ping timeout: 256 seconds]
mrdtt has joined #ruby
adriancb has quit [Ping timeout: 246 seconds]
mroach has joined #ruby
AlexRussia has joined #ruby
RegulationD has joined #ruby
kblake has joined #ruby
boshhead has quit [Ping timeout: 264 seconds]
fgo has quit [Ping timeout: 244 seconds]
grrrr_ has quit [Remote host closed the connection]
sevvie has joined #ruby
martianixor has quit [Quit: Leaving]
jshultz has quit [Quit: Connection closed for inactivity]
ferr has quit [Ping timeout: 256 seconds]
ascarter has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
nii236 has quit [Ping timeout: 255 seconds]
ascarter has quit [Max SendQ exceeded]
Rollabunna has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
ascarter has joined #ruby
TheNet has joined #ruby
zeel has quit [Read error: Connection reset by peer]
kblake has quit [Remote host closed the connection]
zeel has joined #ruby
wldcordeiro has quit [Ping timeout: 265 seconds]
kblake has joined #ruby
ph8 has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
timmow has quit [Ping timeout: 244 seconds]
mistermo_ is now known as mistermocha
cephalostrum has quit [Ping timeout: 252 seconds]
_pakchoi_ops has quit [Read error: Connection reset by peer]
_pakchoi_ops has joined #ruby
wldcordeiro has joined #ruby
jottr_ has joined #ruby
arescorpio has quit [Excess Flood]
cephalostrum has joined #ruby
ph8 has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
kblake has quit [Ping timeout: 264 seconds]
jottr_ has quit [Ping timeout: 244 seconds]
timmow has joined #ruby
kblake has joined #ruby
g0bl1n has quit [Quit: g0bl1n]
mistermocha has quit [Ping timeout: 255 seconds]
serivich has joined #ruby
nii236 has joined #ruby
DavidDudson has quit [Ping timeout: 264 seconds]
phutchins has joined #ruby
ghostpl_ has joined #ruby
AlexRussia has quit [Ping timeout: 246 seconds]
Hijiri has joined #ruby
AlexRussia has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zorak8 has quit [Ping timeout: 272 seconds]
ghostpl_ has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
Abhijit has joined #ruby
ferr has joined #ruby
_5kg has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
CorySimmons has joined #ruby
commmmodo has joined #ruby
TheNet has quit [Quit: Leaving...]
zachrab has joined #ruby
jonr22 has joined #ruby
plutonic has joined #ruby
jottr_ has joined #ruby
NivenHuH has joined #ruby
zachrab has quit [Ping timeout: 252 seconds]
jonr22 has quit [Ping timeout: 250 seconds]
cajone has quit [Ping timeout: 264 seconds]
jottr_ has quit [Ping timeout: 245 seconds]
pontiki has quit [Ping timeout: 265 seconds]
commmmodo has quit [Quit: commmmodo]
dseitz has joined #ruby
bim has joined #ruby
ferr has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
lxsameer has joined #ruby
bim has quit [Ping timeout: 250 seconds]
nii236 has quit [Ping timeout: 264 seconds]
iamjarvo has joined #ruby
Fezzler has joined #ruby
sevenseacat has joined #ruby
paradisaeidae has quit [Read error: Connection reset by peer]
Fezzler has quit [Client Quit]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby
sevvie has quit [Ping timeout: 265 seconds]
_5kg has quit [Ping timeout: 256 seconds]
kblake has quit [Remote host closed the connection]
rh1n0 has quit [Ping timeout: 245 seconds]
riotjones has joined #ruby
rh1n0 has joined #ruby
SOLDIERz__ has joined #ruby
sevenseacat has quit [Ping timeout: 264 seconds]
commmmodo has joined #ruby
riotjones has quit [Ping timeout: 272 seconds]
_pakchoi_ops has quit [Remote host closed the connection]
sevvie has joined #ruby
agrinb has quit [Remote host closed the connection]
fgo has joined #ruby
jacks_spleen has quit [Remote host closed the connection]
agrinb has joined #ruby
ItSANgo has quit [Quit: Leaving...]
nahtnam has quit [Quit: Connection closed for inactivity]
phutchins has quit [Ping timeout: 272 seconds]
jerematic has joined #ruby
swgillespie has joined #ruby
Abhijit has quit [Quit: Bye.]
agrinb has quit [Ping timeout: 252 seconds]
commmmodo has quit [Quit: commmmodo]
fgo has quit [Ping timeout: 264 seconds]
Megtastique has quit []
oo_ has quit [Remote host closed the connection]
jerematic has quit [Ping timeout: 264 seconds]
pretodor has joined #ruby
DEA7TH has joined #ruby
vdamewood has joined #ruby
fgo has joined #ruby
serivich has quit [Ping timeout: 246 seconds]
frog|OFF is now known as green-big-frog
ItSANgo has joined #ruby
zachrab has joined #ruby
pretodor has quit [Quit: Ex-Chat]
jottr_ has joined #ruby
rh1n0 has quit [Quit: ZNC - http://znc.in]
pontiki has joined #ruby
Soda has joined #ruby
zachrab has quit [Ping timeout: 240 seconds]
Rollabunna has joined #ruby
Channel6 has quit [Quit: Leaving]
Peter___ has quit [Remote host closed the connection]
PNDPO has quit [Remote host closed the connection]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
pontiki has quit [Ping timeout: 256 seconds]
wicope has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
fgo has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
nii236 has joined #ruby
adriancb has joined #ruby
_5kg has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AndyBotwin has joined #ruby
AndyBotwin has joined #ruby
amclain has quit [Quit: Leaving]
Abhijit has joined #ruby
jenrzzz has joined #ruby
RegulationD has joined #ruby
nii236 has quit [Ping timeout: 264 seconds]
adriancb has quit [Ping timeout: 252 seconds]
ghostpl_ has joined #ruby
RegulationD has quit [Remote host closed the connection]
sevenseacat has joined #ruby
RegulationD has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
RegulationD has quit [Ping timeout: 246 seconds]
ndrei has joined #ruby
ghostpl_ has quit [Ping timeout: 264 seconds]
JoshGlzBrk has joined #ruby
RegulationD has joined #ruby
Megtastique has joined #ruby
sevenseacat has quit [Remote host closed the connection]
St1gma has quit [Ping timeout: 245 seconds]
ndrei has quit [Ping timeout: 265 seconds]
fgo has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
NivenHuH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kappy has quit [Ping timeout: 246 seconds]
jmosco has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
kappy has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Abhijit has quit [Quit: Bye.]
Synthbread has joined #ruby
roshanavand has joined #ruby
jmosco has joined #ruby
razieliyo_ has quit [Ping timeout: 250 seconds]
roshanavand has quit [Ping timeout: 256 seconds]
fgo has quit [Ping timeout: 255 seconds]
joast has quit [Ping timeout: 265 seconds]
agrinb has joined #ruby
_5kg has quit [Ping timeout: 244 seconds]
jonr22 has joined #ruby
<agent_white> moin
sandelius has joined #ruby
sandelius has quit [Max SendQ exceeded]
quazimodo has quit [Ping timeout: 240 seconds]
chipotle_ has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
jonr22 has quit [Ping timeout: 256 seconds]
chipotle has quit [Ping timeout: 256 seconds]
serivich has joined #ruby
green-big-frog is now known as frog|OFF
hollywood has joined #ruby
sevvie has quit [Ping timeout: 246 seconds]
frog|OFF is now known as green-big-frog
SOLDIERz__ has quit [Quit: Be back later ...]
senayar has joined #ruby
AndyBotwin has quit [Ping timeout: 255 seconds]
sevvie has joined #ruby
CorySimmons has quit [Quit: Bye!]
User458764 has joined #ruby
last_staff has joined #ruby
quazimodo has joined #ruby
sinkensabe has joined #ruby
mrdtt has quit [Quit: Textual IRC Client: www.textualapp.com]
serivichi has joined #ruby
serivich has quit [Ping timeout: 252 seconds]
polysics has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 265 seconds]
rkgudboy has joined #ruby
sevvie has quit [Ping timeout: 244 seconds]
polysics has joined #ruby
AndyBotwin has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
Takle has joined #ruby
Peter___ has joined #ruby
teddyp1cker has joined #ruby
PNDPO has joined #ruby
plutonic has quit [Remote host closed the connection]
ypasmk has joined #ruby
iliketurtles has joined #ruby
serivichi has quit [Ping timeout: 244 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
polysics has quit [Ping timeout: 256 seconds]
DerisiveLogic has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
serivich has joined #ruby
Hirzu has joined #ruby
sevvie has joined #ruby
last_staff has quit [Ping timeout: 246 seconds]
Takle has quit [Ping timeout: 252 seconds]
SixiS has joined #ruby
PNDPO has quit [Remote host closed the connection]
Peter___ has quit [Remote host closed the connection]
ssyrain has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
ZJvandeWeg has joined #ruby
Peter___ has joined #ruby
martinbmadsen has quit [Read error: Connection reset by peer]
PNDPO has joined #ruby
mikhael_k33hl has joined #ruby
sandelius has joined #ruby
<mikhael_k33hl> Hello, I'm working with a .erb file: http://paste.ubuntu.com/10554861/ But it gives me an error: http://paste.ubuntu.com/10554860/ How do I make that work?
Mon_Ouie has joined #ruby
SixiS has quit [Quit: SixiS]
jottr_ has joined #ruby
ghostpl_ has joined #ruby
martinbmadsen has joined #ruby
User458764 has joined #ruby
fgo has joined #ruby
SOLDIERz__ has joined #ruby
lemur has quit [Remote host closed the connection]
Megtastique has quit []
polysics has joined #ruby
_5kg has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
sevvie has quit [Ping timeout: 240 seconds]
ghostpl_ has quit [Ping timeout: 272 seconds]
plutonic has joined #ruby
ta has joined #ruby
CorySimmons has joined #ruby
Takle has joined #ruby
CorySimmons has quit [Client Quit]
AlexRussia has quit [Ping timeout: 272 seconds]
mkaesz has joined #ruby
Hirzu has quit [Remote host closed the connection]
sevvie has joined #ruby
CorySimmons has joined #ruby
CorySimmons has quit [Max SendQ exceeded]
Takle has quit [Ping timeout: 244 seconds]
CorySimmons has joined #ruby
CorySimmons has quit [Max SendQ exceeded]
CorySimmons has joined #ruby
AlexRussia has joined #ruby
agrinb has joined #ruby
roshanavand has joined #ruby
polysics has quit [Remote host closed the connection]
CorySimmons has quit [Client Quit]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
polysics has joined #ruby
User458764 has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
bruno- has joined #ruby
polysics has quit [Read error: Connection reset by peer]
polysics_ has joined #ruby
zachrab has joined #ruby
yfeldblum has joined #ruby
yfeldblu_ has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
roolo has joined #ruby
Takle has joined #ruby
polysics_ has quit [Remote host closed the connection]
pontiki has joined #ruby
polysics has joined #ruby
zachrab has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
yfeldblu_ has quit [Ping timeout: 246 seconds]
hgl has quit [Ping timeout: 256 seconds]
polysics has quit [Read error: Connection reset by peer]
erichmenge has quit [Quit: Arrivederci!]
davidcelis has quit [Quit: K-Lined.]
polysics has joined #ruby
pontiki has quit [Ping timeout: 264 seconds]
CorySimmons has joined #ruby
hgl has joined #ruby
nii236 has joined #ruby
chipotle has joined #ruby
kartouch is now known as caugello|24x7
caugello|24x7 is now known as kartouch
rkgudboy has quit [Ping timeout: 246 seconds]
nii236 has quit [Ping timeout: 240 seconds]
chipotle_ has quit [Ping timeout: 245 seconds]
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
sinkensabe has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has joined #ruby
Synthbread has quit [Ping timeout: 252 seconds]
Takle has quit [Ping timeout: 256 seconds]
Stalkr_ has joined #ruby
sinkensabe has quit [Ping timeout: 250 seconds]
Synthbread has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
PNDPO has quit [Remote host closed the connection]
Peter___ has quit [Remote host closed the connection]
RegulationD has joined #ruby
Peter___ has joined #ruby
PNDPO has joined #ruby
mkaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby
Regulati_ has joined #ruby
multi_io_ has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
wldcordeiro has quit [Ping timeout: 265 seconds]
multi_io has quit [Ping timeout: 250 seconds]
Regulati_ has quit [Ping timeout: 255 seconds]
mkaesz has quit [Remote host closed the connection]
AndyBotwin has quit [Ping timeout: 245 seconds]
ZJvandeWeg has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
<mikhael_k33hl> Chef server gives me an error with this template: http://paste.ubuntu.com/10554861/ errror: http://paste.ubuntu.com/10554860/
jottr_ has joined #ruby
Peter___ has quit [Remote host closed the connection]
PNDPO has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 265 seconds]
ZJvandeWeg has joined #ruby
Takle has joined #ruby
bMalum has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
spicerack has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has joined #ruby
jottr_ has joined #ruby
scripore has joined #ruby
agrinb has joined #ruby
ndrei has joined #ruby
_5kg has quit [Ping timeout: 272 seconds]
polysics has quit [Remote host closed the connection]
jonr22 has joined #ruby
jmdade has joined #ruby
crack_ has left #ruby ["Leaving"]
jottr_ has quit [Ping timeout: 256 seconds]
<gr33n7007h> Is it best practice to stay within 80 characters?
roolo has quit [Remote host closed the connection]
polysics has joined #ruby
Takle_ has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
polysics has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 256 seconds]
diegoviola has joined #ruby
anarang has joined #ruby
lordkryss has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
scripore has quit [Quit: This computer has gone to sleep]
kromm has joined #ruby
roshanavand has quit [Remote host closed the connection]
bim has joined #ruby
<wasamasa> generally, yes
martinbmadsen has quit [Quit: leaving]
<gr33n7007h> wasamasa, ok thanks will set colorcolumn=80 in vim then :)
<wasamasa> though, depending on the project you can relax those
<wasamasa> for example it makes sense for auto-generated rails code
<gr33n7007h> never use rails :(
nii236 has joined #ruby
User458764 has joined #ruby
duncannz has quit [Remote host closed the connection]
bim has quit [Ping timeout: 245 seconds]
RandyT has quit [Ping timeout: 246 seconds]
tobacco_joe has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mikhael_k33hl> I have an erb file: http://paste.ubuntu.com/10555141/ it's giving me an error: http://paste.ubuntu.com/10555143/ Can someone help me out with this
yfeldblum has joined #ruby
roshanavand has joined #ruby
pontiki has joined #ruby
quazimodo has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
quazimodo has joined #ruby
red_horned_rihno has quit [Ping timeout: 255 seconds]
buub has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Jackneill has joined #ruby
pontiki has quit [Ping timeout: 244 seconds]
anarang_ has joined #ruby
yfeldblum has joined #ruby
zeel has quit [Quit: Lost terminal]
User458764 has joined #ruby
anarang has quit [Ping timeout: 245 seconds]
ypasmk has quit [Quit: ypasmk]
roshanavand has quit [Ping timeout: 244 seconds]
sivsushruth has quit [Ping timeout: 240 seconds]
multi_io_ is now known as multi_io
m4rCsi has quit [Quit: No Ping reply in 180 seconds.]
jottr_ has joined #ruby
m4rCsi has joined #ruby
plutonic has quit [Quit: plutonic]
gr33n7007h has quit [Changing host]
gr33n7007h has joined #ruby
sinkensabe has joined #ruby
grrrr_ has joined #ruby
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
red_horned_rihno has joined #ruby
jottr_ has quit [Ping timeout: 244 seconds]
red_horned_rihno has quit [Max SendQ exceeded]
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
sinkensabe has quit [Ping timeout: 256 seconds]
red_horned_rihno has joined #ruby
ghostpl_ has joined #ruby
iDeck has joined #ruby
quazimodo has quit [Ping timeout: 245 seconds]
Wolland has joined #ruby
_5kg has joined #ruby
ghostpl_ has quit [Ping timeout: 240 seconds]
quazimodo has joined #ruby
DLSteve has joined #ruby
OrbitalKitten has joined #ruby
CorySimmons has quit [Quit: Bye!]
agrinb has joined #ruby
ssyrain has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
User458764 has quit [Ping timeout: 256 seconds]
User458764 has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
agrinb has quit [Ping timeout: 265 seconds]
bruno- has joined #ruby
codecop has joined #ruby
bruno- is now known as Guest34783
zachrab has joined #ruby
Rollabunna has quit [Quit: Leaving...]
withnale__ has joined #ruby
Guest34783 has quit [Ping timeout: 264 seconds]
monod has joined #ruby
zachrab has quit [Ping timeout: 256 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OrbitalKitten has joined #ruby
kromm has quit [Quit: kromm]
jottr_ has joined #ruby
bennyklo1z has quit [Quit: leaving]
bennyklotz has joined #ruby
jenrzzz has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 265 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
monod has quit [Ping timeout: 245 seconds]
sevenseacat has joined #ruby
elaptics is now known as elaptics_away
nii236 has quit [Ping timeout: 245 seconds]
<shevy> hanmac hey ubuntu now uses systemd
ptrrr has joined #ruby
anarang_ has quit [Quit: Leaving]
bMalum has quit [Quit: bMalum]
<shevy> tis the end of the world as we know it
<shevy> mikhael_k33hl u got syntax error man
bMalum has joined #ruby
User458764 has joined #ruby
<shevy> the error you showed is not in the first file you showed
<shevy> '; _buf << 'logging.loggers.app.level = information
withnale__ has quit [Quit: Be back later ...]
morenoh149 has joined #ruby
_5kg has quit [Ping timeout: 252 seconds]
DLSteve has quit [Ping timeout: 264 seconds]
<ddv> systemd is awesome
<shevy> die!
<shevy> actually I haven't tested it yet
blackmesa has quit [Ping timeout: 256 seconds]
RegulationD has joined #ruby
Abhijit has joined #ruby
Abhijit has quit [Max SendQ exceeded]
green-big-frog is now known as frog|OFF
Abhijit has joined #ruby
RegulationD has quit [Remote host closed the connection]
RegulationD has joined #ruby
FooMunki_ has joined #ruby
DLSteve has joined #ruby
Hirzu has joined #ruby
jtdowney has joined #ruby
doritostains has quit [Quit: WeeChat 1.0.1]
davidhq has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
phale has joined #ruby
DLSteve_ has joined #ruby
RegulationD has joined #ruby
DLSteve has quit [Ping timeout: 246 seconds]
DLSteve_ has quit [Client Quit]
DLSteve has joined #ruby
bennyklotz has quit [Quit: leaving]
Wolland has quit []
jonr22 has joined #ruby
Zai00 has joined #ruby
Hirzu has quit [Remote host closed the connection]
spider-mario has joined #ruby
lolmaus has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
RegulationD has quit [Ping timeout: 244 seconds]
jonr22 has quit [Ping timeout: 250 seconds]
agrinb has joined #ruby
<phale> hi I made a gem and now i'm embarrassed
<phale> how do i delete it
Abhijit has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
agrinb has quit [Ping timeout: 256 seconds]
CorySimmons has joined #ruby
sivsushruth has joined #ruby
<shevy> phale you can yank it
<shevy> gem yank bla -v 0.0.1
<shevy> it is part of the gem gemcutter I think
<phale> thanks
<phale> but will my reputation also be forgotten
chipotle has quit [Quit: cheerio]
<apeiros_> yank is part of rubygems
<apeiros_> at least if you're using a reasonably new rubygems
crunk has joined #ruby
doodlehaus has joined #ruby
SouL_ has quit [Read error: Connection reset by peer]
crunk has left #ruby [#ruby]
<shevy> cool
<shevy> phale you see, it just got easier!
<phale> yeah
<phale> still doesn't mean that everyone has forgotten about my gem
<shevy> phale and what reputation by the way :)
<phale> well i made a really shitty gem
<shevy> ok now that you said so
<phale> and now everyone is laughing at me
<shevy> I will check it out
<phale> okay
<shevy> WHAT iS THE NAME
<phale> i haven't yanked it yet
<phale> imageparser
<shevy> the first downloads are usually from bots
pontiki has joined #ruby
<phale> oh
<shevy> when you get emails from real people though then you may have users suddenly
<shevy> that is always a weird thing
<shevy> wake up "hey your gem does not work man"
<shevy> "hey your gem lacks documentation"
<phale> I got a new email
<phale> from something named VIAGRA & CIALIS
morenoh149 has quit [Ping timeout: 256 seconds]
<phale> is that an user?
<shevy> ImageParser.new works fine
<phale> yes
<shevy> so what is the problem
<phale> it only supports PPM and PTF
<phale> :(
<shevy> VIAGRA is the goddess of love man, that is a great email
<shevy> I just ran it against a .jpg file
<shevy> I got all sorts of funny stuff \x9FAB\x85N0\x8A\x
jtdowney has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DerisiveLogic has joined #ruby
<shevy> if you only wish to support xxx formats then you can add a raise call
bruno- has joined #ruby
<shevy> and tell the user "hey man, right now we can only work with .ppm .ptf and .lsd
<phale> LSD??
bim has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pontiki has quit [Ping timeout: 256 seconds]
<shevy> yeah
<shevy> very colourful images
Zai00 has quit [Quit: Zai00]
paradoja has joined #ruby
DerisiveLogic has quit [Ping timeout: 252 seconds]
bruno- has quit [Ping timeout: 252 seconds]
bim has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
_5kg has joined #ruby
emocakes has quit [Ping timeout: 255 seconds]
jottr_ has joined #ruby
crazydiamond has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
fgo has quit [Ping timeout: 264 seconds]
Feyn has quit [Quit: Leaving]
jtdowney has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
bruno- has joined #ruby
elaptics_away is now known as elaptics
nii236 has joined #ruby
mog_ has joined #ruby
otisZart has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
User458764 has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
bMalum has quit [Quit: bMalum]
nii236 has quit [Ping timeout: 245 seconds]
_5kg has quit [Ping timeout: 265 seconds]
AxonetBE has joined #ruby
Stalkr_ has quit [Read error: Connection reset by peer]
Stalkr_ has joined #ruby
Wolland has joined #ruby
Wolland has quit [Client Quit]
buub has quit [Ping timeout: 252 seconds]
sinkensabe has joined #ruby
n008f4g_ has joined #ruby
fgo has joined #ruby
teddyp1cker has quit []
OrbitalKitten has joined #ruby
anaeem1 has joined #ruby
sinkensabe has quit [Ping timeout: 244 seconds]
sdothum has joined #ruby
<phale> is there a changelog
SOLDIERz__ has quit [Quit: Lingo: www.lingoirc.com]
<shevy> a changelog of?
<phale> versions
<phale> 1.9.3 --> 2.2.0
<phale> from 1.9.3 to 2.2.0
<apeiros_> toplevel dir in ruby's source, called (surprise) CHANGELOG
<apeiros_> oh, actually ChangeLog
<phale> thanks
<phale> 2.3.0 exists?
<shevy> nah
<shevy> 2.2.1 came out not long ago
<phale> 21>> RUBY_VERSION
<eval-in_> phale => "2.1.3" (https://eval.in/297027)
<phale> cool
<phale> so if I get RVM
<apeiros_> 2.3 is head
<phale> and change the versions
<phale> will it break my linux distro?
<apeiros_> only if your linux distro does awful things
<phale> debian whzy
<apeiros_> I'm not familier with the particular awful things each distros does
<apeiros_> *distro
<phale> okay
<phale> i'll just get rvm and see for myself
<shevy> phale rvm by default will install into your home dir right
<phale> yeah
<shevy> so how can you break a system if you install to a home dir
<phale> anything is possible
decoponio has joined #ruby
<shevy> I vote that apeiros_ should use only debian henceforthwith!
<apeiros_> no thanks
<phale> I don't like it when people refer to programs as "apps"
<phale> anyone that can relate?
<shevy> apps is a rather web-savvy term
<phale> yeah
<phale> and microsoft term
<shevy> it seems to mandate a GUI
zachrab has joined #ruby
<shevy> or as one part of its interface
agrinb has joined #ruby
xcombelle has joined #ruby
<phale> does rvm get rid of all my gems?
<phale> also it says that there are no binary rubies available for debian/7/ie86
<phale> i386*
<phale> should i let it just compile?
bMalum has joined #ruby
<shevy> wait a moment
<phale> too late im compiling
<shevy> why should there not be i386 binaries
<phale> nfi
<phale> i just hope this doesn't beak my ruby
<phale> break*
<shevy> isn't debian like living 20 years in the past
<phale> yes
<shevy> you are way too adventurous if you compile on debian :)
<phale> okay
<shevy> all the crippled and changed packages
<phale> if this works though that'd be good
<shevy> I usually make sure I have these things on debian before compiling: bison, flex, readline, openssl, zlib
<phale> shit
<phale> how do i get rid of rmv
crick_ has joined #ruby
<phale> rvm*
<shevy> when these things are available then compiling ruby from source works 99.5% of the time
<shevy> dunno. delete the directory perhaps
crick_ has left #ruby [#ruby]
<phale> oh god its working lol
agrinb has quit [Ping timeout: 265 seconds]
zachrab has quit [Ping timeout: 272 seconds]
<phale> i didn't have flex though
<ddv> phale, rvm implode
ferr has joined #ruby
<phale> thanks
<phale> so what does one do now
<phale> i'm stuck with 1.9.3
SouL has joined #ruby
<shevy> phale the ruby source is available
<shevy> url1: ftp://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.xz
<shevy> url2: ftp://ftp.ruby-lang.org/pub/ruby/
<phale> who can be arsed to compile that
<phale> that'll take months
<shevy> rvm essentially does what you can do manually
adriancb has joined #ruby
<shevy> with --prefix defaulting to some path in your home dir, and a versioned component
mostlybadfly has quit [Quit: Connection closed for inactivity]
<shevy> compiling does not take long, I'd say 5-8 minutes or so on a modern cheap desktop machine
<phale> yeah but im scared
<shevy> rvm has some commands to do th at
<shevy> rvm install 1.9.3 # or something like that
<shevy> rvm list default
iDeck has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jottr_ has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
adriancb has quit [Ping timeout: 246 seconds]
riotjones has joined #ruby
kalusn has joined #ruby
basiclaser has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
<basiclaser> hi guys, I wish to program an OSX application which allows the user to make keyboard shortcuts. I am thinking of picking up ruby or python to do it. Could you point out any libraries or frameworks or even languages that would be convenient for this project?
jottr_ has quit [Ping timeout: 245 seconds]
elfuego has quit [Quit: elfuego]
_5kg has joined #ruby
scripore has joined #ruby
nfk has joined #ruby
sankaber has joined #ruby
maximski has joined #ruby
<wasamasa> shortcuts for what?
bMalum has quit [Quit: bMalum]
riotjones has quit [Ping timeout: 240 seconds]
<basiclaser> wasamasa: hey. More or less copy and paste, but customisable. I would need to listen for user keyboard input on any window regardless of focus
<wasamasa> basiclaser: I'm afraid ruby is the wrong tool for that
<phale> ncurses
<phale> for key press detection
<wasamasa> lol
<phale> there's a binding for it i think
<wasamasa> that's something totally different
anaeem1 has joined #ruby
<phale> he wanted to make an OSX application that makes the user be able to create keyboard shortcuts
<basiclaser> hrmm
<phale> curses can do that with basic key detection
jottr_ has joined #ruby
<wasamasa> no, if I understand this correctly, basiclaser wants to write an application that runs in the background and detects keypresses for the currently selected window
<phale> unless he wants a GUI
<phale> yes then he wants a GUI
<wasamasa> and either does something with these or not
<basiclaser> system wide keyboard listening, maybe its a part of some OSX developer kit
fgo has joined #ruby
<wasamasa> it has nothing to do with UI toolkits ffs
<wasamasa> it is something exposed in some objective-C API
<wasamasa> hence my earlier comment
<wasamasa> I also bet someone wrote such a thing
<basiclaser> is this sort of realm pretty locked-down on the OS level? I mean i see a lot of apps have the ability to set their own shortcuts, thats a native thing i believe. I guess its the same thing, I would just want to listen for multiple shortcuts...
<basiclaser> and then also grab whatever was highlighted
<wasamasa> it is not quite on the OS level
<wasamasa> but you need to intercept as low as it goes
<wasamasa> before the window manager ideally
<wasamasa> some window managers have this feature
<phale> wasamasa: if he wants to run it in the background
<basiclaser> do we have that level of access?
<phale> he can just detach the process
<wasamasa> basiclaser: well, I assume there is, but I don't expect it to be easy to do
AxonetBE has quit [Quit: AxonetBE]
anarang has joined #ruby
<wasamasa> because it's OS X we're speaking of
<wasamasa> basiclaser: looks like someone was quicker
iMadper has joined #ruby
<wasamasa> basiclaser: and did it with an exposed ruby DSL
michael_mbp has quit [Excess Flood]
jtdowney has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michael_mbp has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
<shevy> \o/
mikhael_k33hl has quit [Quit: Page closed]
dtordable has joined #ruby
dtordable has quit [Changing host]
dtordable has joined #ruby
dtordable has left #ruby [#ruby]
<phale> i'm going to reimplement ruby in ruby
<wasamasa> lol
monod has joined #ruby
<wasamasa> phale: apparently you haven't heard of rubinius
<phale> dude
<phale> i don't need that crap where people tell you that you're "reinventing the wheel"
<phale> i don't care
<phale> it's what I want to do
<phale> just saying
<wasamasa> it's a good idea to look at these attempts
<wasamasa> especially if they're able of running rails
<basiclaser> wasamasa: thanks! Always nice to know I dont have to necessarily sink time into a project to have a certain functionality at the end of the day. I already have enough projects :P
<phale> why would I want my ruby ruby interpreter to run rails?
Soda has quit [Remote host closed the connection]
<shevy> so you can build perfect apps
<phale> xD
mostlybadfly has joined #ruby
<shevy> when I started with ruby, rails did not exist :(
<phale> and you weren't happy?
<grrrr_> ruby on ruby on rails
<phale> :(
<shevy> phale well, I loved ruby 1.8.x
dtordable has joined #ruby
<shevy> I still think ruby is great but I don't really love the 1.9.x
<phale> not ruby
<phale> ruby on rails
<shevy> I don't use rails
<phale> thank god ;)
<wasamasa> >> RUBY_VERSION
<eval-in_> wasamasa => "2.2.0" (https://eval.in/297031)
<phale> 10>> RUBY_VERSION
<eval-in_> phale => /tmp/execpad-0c06966941d9/source-0c06966941d9:4: TypeError: can't modify frozen string (https://eval.in/297032)
<wasamasa> shevy: even eval-in_ is making fun of you
<phale> o.o
<shevy> wasamasa hmm?
<wasamasa> shevy: runs on 2.2 just fine and nobody gives a damn about it
<shevy> so what
<shevy> ruby 2.2.1p85 (2015-02-26 revision 49769) [i686-linux]
<shevy> and the bot chokes on encoding issues
<phale> this bot seems pretty easy to recreate
<phale> it's just a HTTP post
<phale> including some other stuff to protect it from exceptions
<shevy> you need to handle things that can break it
<phale> yes
<wasamasa> have fun with sandboxing
<shevy> you should have seen how hanmac broke the old bot
n008f4g_ has quit [Ping timeout: 246 seconds]
<phale> >> "ħ[]{¢@¶|^[|€[„“]"
<phale> you were right
anaeem1 has quit [Read error: Connection reset by peer]
<phale> is this the encoding issue?
<jhass> likely
anaeem1 has joined #ruby
plashchynski has joined #ruby
Abhijit has joined #ruby
bMalum has joined #ruby
vinleod has joined #ruby
<shevy> phale you broke the bot
<wasamasa> >> 1+1
<eval-in_> wasamasa => 2 (https://eval.in/297039)
Deele has joined #ruby
<phale> that would be utterly hilarious if i did
<wasamasa> TIL not responding == "you broke the bot"
vdamewood has quit [Ping timeout: 265 seconds]
vinleod is now known as vdamewood
paradoja has quit [Ping timeout: 252 seconds]
kalusn has quit [Remote host closed the connection]
kalusn has joined #ruby
aryaching has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
RegulationD has joined #ruby
CorySimmons has quit [Quit: Bye!]
jonr22 has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OrbitalKitten has joined #ruby
AxonetBE has joined #ruby
RegulationD has quit [Remote host closed the connection]
RegulationD has joined #ruby
kalusn has quit [Ping timeout: 255 seconds]
<phale> shevy: what debian are you using
jonr22 has quit [Ping timeout: 256 seconds]
agrinb has joined #ruby
<shevy> phale slackware
<phale> oh cool
<shevy> but truthfully, only the kernel and glibc is still from slackware, the rest was compiled from scratch
<shevy> I want a RubyOS
<wasamasa> lol
<agent_white> \o/
RegulationD has quit [Ping timeout: 252 seconds]
<wasamasa> would you get NoMethodErrors instead of segfaults on a ruby OS?
<shevy> no
<phale> ♞
<phale> >> "♞"
<phale> why isn't this fixed?
<shevy> just as nobody would use a pure ruby shell either
kalusn has joined #ruby
<wasamasa> shevy: what else would be the purpose of such a thing?
<shevy> phale good question
<shevy> wasamasa so that I can modify every aspect of the system in a way of my choosing
<phale> does infinity break it too?
<phale> (1..Inf).each { |i| print i }
<phale> oops
<shevy> phale don't think so, it's just a concept
<wasamasa> shevy: you're speaking as if this weren't possible on anything put under an appropriate license
<phale> >> (1..Inf).each { |i| print i }
<eval-in_> phale => uninitialized constant Inf (NameError) ... (https://eval.in/297046)
<phale> ah
<phale> >> Inf = 1.0 / 0.0; (1..Inf).each { |i| print i }
<wasamasa> shevy: meanwhile, linux 4 will have live patching support
<phale> i broke it as well now ;)
<shevy> wasamasa yeah in a million different languages and solutions. Now they even include systemd
amystephen has joined #ruby
RegulationD has joined #ruby
<wasamasa> shevy: yes, that's freedom for you
<shevy> lol
agrinb has quit [Ping timeout: 256 seconds]
<wasamasa> anything wrong with that?
<shevy> what is "freedom"?
dumdedum has joined #ruby
<wasamasa> I mean, so far it sounds like you're not fond of people using anything else than ruby to write an operating system
<shevy> is it "you can do it yourself"?
AxonetBE has left #ruby [#ruby]
<wasamasa> getting rid of that freedome doesn't sound very compelling to me
dumdedum has quit [Client Quit]
<shevy> what freedom
<shevy> you already have a multitude of constraints
<wasamasa> the freedom to solve problems in the language you wish to solve them in
<godd2> >> puts (1..(1.0/0)).lazy.take(5).to_a.inspect
<eval-in_> godd2 => [1, 2, 3, 4, 5] ... (https://eval.in/297053)
<godd2> mmmm lazy infinity
<shevy> you have bash by default, you have shell scripts, all of slackware is essentially shellscript-based under /etc/
<phale> s = ""; 1.upto(100) {|i| s << (i + 1.0/0).to_s }
<shevy> you have distributions follow the FHS file model which means that you'll only have one binary at any given place such as /usr/bin/ruby
<apeiros_> even if it's longer, I prefer Float::INFINITY over (1.0/0)
<phale> >> s = ""; 1.upto(100) {|i| s << (i + 1.0/0).to_s }
<eval-in_> phale => 1 (https://eval.in/297055)
<phale> nice one
<phale> >> s = ""; 1.upto(100) {|i| s << (i + 1.0/0).to_s }; print s
<eval-in_> phale => InfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityI ... (https://eval.in/297056)
<phale> there u go
<shevy> ack
<phale> haha lol
<godd2> >> Float::NAN + Float::NAN
<eval-in_> godd2 => NaN (https://eval.in/297059)
<phale> this bot is pretty funny actually
<phale> brb
ferr has quit [Quit: WeeChat 1.1.1]
<shevy> the old one was more fun
RegulationD has quit [Ping timeout: 240 seconds]
<shevy> you should have seen the amount of scroll when hanmac tried to break it
phutchins has joined #ruby
pontiki has joined #ruby
anaeem1 has quit [Remote host closed the connection]
pontiki has quit [Client Quit]
pontiki has joined #ruby
<pontiki> o/
<phale> |
<phale> |
<phale> /\
elfuego has joined #ruby
<shevy> is this a man
<shevy> or did you kill somebody
<shevy> \o
<phale> >> s = ""; 1.upto(1000) {|i| s << ((i + 1.0/0) + 1.0/0).to_s }; print s
<eval-in_> phale => InfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityInfinityI ... (https://eval.in/297061)
<phale> even longer :O
<apeiros_> kiddies playing with the bot again?
<apeiros_> get a room… :-p
postmodern has quit [Quit: Leaving]
kalusn has quit [Remote host closed the connection]
<shevy> only phale
<phale> i'm just proving that it's inconsistent and broken (a little)
Abhijit has quit [Quit: Bye.]
elfuego has quit [Quit: elfuego]
stef204 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nii236 has joined #ruby
User458764 has joined #ruby
mog_ has quit [Ping timeout: 252 seconds]
<phale> I managed to compile t :OO
<phale> 2.2.0p0
nii236 has quit [Ping timeout: 246 seconds]
<jhass> mmh, apeiros_ still didn't bump the topic to the latest version
<apeiros> plöpp
apeiros changed the topic of #ruby to: Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<phale> so 2.2.0 is obsolete?
<phale> ;(
<jhass> kinda :P
<ponga> i use 2.2.1
<ponga> jhass: really?
<ponga> are people still using 1.9.3?
<apeiros> it's not obsolete. but if you want ruby 2.2, you should use 2.2.1
<jhass> well, there's no reason to use 2.2.0 over 2.2.1
<ponga> well true
<apeiros> ponga: people are still using 1.8
<phale> I'm glad I now have 2.2.0
<ponga> compatibility matter?
<phale> is it faster too?
<ponga> it is faster
<ponga> its fast enough to get you on most circumstances i believe
<jhass> ponga: that's what they say, I say laziness or ignorance
agrinb has joined #ruby
<ddv> we have some legacy apps on 1.8 which I don't dare to touch
agent_white is now known as agent_snooze
<ddv> and rails 1.2.3 or something <3
<ponga> jhass: is that a reason you are on crystal
<jhass> no, I'm on crystal because it's cool
<jhass> and fun
<phale> Gems make me feel bad
<phale> I feel like the people that download them are like: "lol look at this gem its really shitty hahahha"
<phale> That's why I wont upload to rubygems anymore
frog0909 has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
nfk has quit [Remote host closed the connection]
<jhass> you'll get over it
doodlehaus has quit [Remote host closed the connection]
<jhass> "look at this, it's really shitty" is a permanent state in software development
agrinb has quit [Ping timeout: 256 seconds]
<jhass> especially if future you talks to past you
charliesome has joined #ruby
maximski has quit []
kirun has joined #ruby
QualityAddict has joined #ruby
<phale> ok
Takle has joined #ruby
monod has quit [Ping timeout: 265 seconds]
enebo has joined #ruby
roshanavand has quit [Ping timeout: 244 seconds]
Takle_ has quit [Ping timeout: 244 seconds]
nfk has joined #ruby
roshanavand has joined #ruby
withnale__ has joined #ruby
grrrr_ has quit [Remote host closed the connection]
anarang has quit [Quit: Leaving]
sevenseacat has quit [Remote host closed the connection]
dhruvasagar has quit [Quit: ZNC - http://znc.in]
withnale__ has quit [Ping timeout: 265 seconds]
<phale> can i call a method in a class directly?
roshanavand has quit [Remote host closed the connection]
doodlehaus has joined #ruby
<jhass> maybe?
<jhass> not sure what you mean
<phale> Class.method_call
<phale> without initializing it
scripore has quit [Quit: This computer has gone to sleep]
zachrab has joined #ruby
<shevy> yes
<shevy> but not Class; call it differently
jtdowney has joined #ruby
<shevy> >> class Foo; def self.bla; puts 'hey'; end; end; Foo.bla
<eval-in_> shevy => hey ... (https://eval.in/297062)
lxsameer has quit [Quit: Leaving]
IrishGringo has joined #ruby
<shevy> today jhass is on crystal
<shevy> tomorrow on LSD!
<jhass> isn't crystal a worse drug than LSD?
scripore has joined #ruby
<shevy> no real idea actually
<jhass> I think LSD is only psychologically addictive, not physically
wang has quit [Remote host closed the connection]
<apeiros> friend recommended me to never take LSD while in bad mood. she's having bad flashbacks ever since :-/
zachrab has quit [Ping timeout: 265 seconds]
<shevy> phale add documentation to your gem
<phale> shevy: i thought it was automatic
<jhass> apeiros: interesting, there's research that uses it to find new anti-depressiva
<jhass> I guess the "consumer" stuff is cocktails mostly anyway
<apeiros> also probably chemically polluted
<shevy> phale the API docu perhaps, but I mean doc that people can work with, like markdown instructions
<apeiros> impure drugs are dangerous
<apeiros> well, drugs are dangerous, impure drugs are unpredictably dangerous
<jhass> yeah
<apeiros> too sad our society has such a (selective) problem with drugs
<jhass> do you follow jung & naiv?
<apeiros> IMO it'd be much less dangerous if it weren't criminalized
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
grrrr_ has joined #ruby
<apeiros> no, is that a german tv show?
<agent_snooze> Pfft if they were all pure, there'd be no adventure! ;D
<jhass> apeiros: sort of
<agent_snooze> crystal is most definitely worse than LSD.
<jhass> apeiros: https://www.youtube.com/watch?v=j4MlDEjDKOA this one is funny
monod has joined #ruby
<agent_snooze> apeiros: I would say the opposite. It depends on how experienced you are with LSD. I find when I've taken it to explore the "dark side" of my mind (possibly irritants/bad thoughts of mine), as it becomes extremely subjective.
<agent_snooze> Then I can think clearly through many things.
<apeiros> agent_snooze: opposite of what my friend says?
<agent_snooze> apeiros: Correct.
<agent_snooze> apeiros: But, that depends on your experience with LSD.
<apeiros> so I guess bottom line is, experiences differ. either due to differences in the drug or the person.
<apeiros> or both
<agent_snooze> If you've never used it? I agree with him... wait until in a good mood.
<jhass> probably both most of the time
<agent_snooze> Entirely.
<apeiros> sadly I've no own experiences with lsd
<agent_snooze> If you've never taken it before, find a good friend with experience :) People think LSD is about "seeing crazy things"... but far enough into it, you don't notice things you see. It's what you think about.
yfeldblu_ has quit [Ping timeout: 265 seconds]
Pupeno has quit [Remote host closed the connection]
kp666 has quit [Ping timeout: 250 seconds]
<agent_snooze> Maybe someday :D
<jhass> apeiros: you can apply here https://www.youtube.com/watch?v=j4MlDEjDKOA :P
<jhass> ah, copy paste fail
<apeiros> given that lsd is not creating physical addiction, it'd IMO actually be ok to take it
User458764 has joined #ruby
Pupeno_ has joined #ruby
<jhass> dunno, psychological addiction can be as bad, if not harder to overcome
Hirzu has joined #ruby
diego1 has joined #ruby
<apeiros> sure. but I know that I'm pretty resistant to psychological addiction.
<apeiros> but I wouldn't bet on my ability to overcome physical addiction.
<agent_snooze> It's not addicting at all.
<jhass> agent_snooze: you can get addictive to everything
<apeiros> true
<jhass> that those include slices of regular bread
<jhass> *does
attamusc has joined #ruby
<apeiros> tv for me.
<jhass> meh, addicted, can't write today
<apeiros> when I removed the cable from my tv, it took me 3 months to stop thinking about it.
<shevy> the good old tv addiction
<agent_snooze> jhass: True. But LSD is nothing like bread, tv, cigarettes, or alhocol.
<wasamasa> /nick agent_booze
diegoviola has quit [Ping timeout: 265 seconds]
<agent_snooze> \o/
mkaesz has joined #ruby
* agent_snooze hiccups
* shevy burps
diego1 has quit [Changing host]
diego1 has joined #ruby
<agent_snooze> At least, personally, I don't see how you could become addicted to it. One experience is more than enough for months if not years.
diego1 is now known as diegoviola
kalusn has joined #ruby
<shevy> well I guess it's more of a problem when there is a physical addiction as well
<agent_snooze> A problem of being
<agent_snooze> Too much of a dirty hippy
mkaesz has quit [Ping timeout: 252 seconds]
<agent_snooze> Is what the problem with it could only be
greenbagels has joined #ruby
RegulationD has joined #ruby
grrrr_ has quit [Remote host closed the connection]
<apeiros> *sob*
<apeiros> I need a mousepad which is large enough for the keyboard
<apeiros> this shit always interferese
<apeiros> *interferes
charliesome has quit [Quit: zzz]
chinmay_dd has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
FooMunki_ has joined #ruby
frog0909 has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
<jhass> mouspadedesk!
<jhass> let's google that
ragingcake has joined #ruby
<jhass> "Desk pad" seems to be the "official" term
<apeiros> yupp, something like that
jottr_ is now known as jottr
bim has joined #ruby
jtdowney has quit [Quit: Textual IRC Client: www.textualapp.com]
scripore has quit [Quit: This computer has gone to sleep]
blackmesa has quit [Ping timeout: 240 seconds]
jonr22 has joined #ruby
agrinb has joined #ruby
razieliyo_ has joined #ruby
mroach has quit [Quit: mroach]
Pupeno_ has quit [Remote host closed the connection]
scripore has joined #ruby
kaleido has quit [Read error: Connection reset by peer]
scripore has quit [Client Quit]
_Andres has joined #ruby
Pupeno has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
agrinb has quit [Ping timeout: 265 seconds]
starless has joined #ruby
centrx has joined #ruby
AlexRussia has joined #ruby
ghostpl_ has joined #ruby
<nickjj> apeiros, i've had this for about 2 years and i really like it http://www.neweggbusiness.com/Product/Product.aspx?Item=9B-26-995-022
<nickjj> if that's not big enough you could put 2 next to each other
lys has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
ndrei has quit [Remote host closed the connection]
jerematic has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
chinmay_dd has quit [Quit: Leaving]
Spami has quit [Quit: This computer has gone to sleep]
blackmesa has joined #ruby
Pupeno has quit [Remote host closed the connection]
lolmaus has quit [Ping timeout: 244 seconds]
mroach has joined #ruby
ghostpl_ has joined #ruby
hmsimha has joined #ruby
<bradland> This can't be true, can it?
<bradland> The Wikipedias say that SCP, "Like RCP, there is no RFC that defines the specifics of the protocol."
<bradland> Wait, I'm barking up the wrong tree anyway, sry.
<bradland> Decided to have a second look at this old Net::SFTP issue from 2013.
lolmaus has joined #ruby
lys1 has joined #ruby
AndyBotwin has joined #ruby
User458764 has joined #ruby
ghostpl_ has quit [Ping timeout: 256 seconds]
serivichi has joined #ruby
serivich has quit [Ping timeout: 272 seconds]
skmp has quit [Quit: Connection closed for inactivity]
sinkensabe has joined #ruby
lys has quit [Ping timeout: 252 seconds]
doodlehaus has quit [Remote host closed the connection]
<apeiros> nickjj: thanks for the link!
kaleido has joined #ruby
kaleido has quit [Changing host]
kaleido has joined #ruby
<apeiros> I think 12" is not wide enough :-/
kaleido has quit [Max SendQ exceeded]
<apeiros> my current pad is about that size and it's for the mouse only. the problem is that I have a hard time putting it to the side of my keyboard.
alvadorn has joined #ruby
<nickjj> buy 2 of them
kaleido has joined #ruby
kaleido has quit [Changing host]
kaleido has joined #ruby
<bradland> bleh
xcombelle has quit [Ping timeout: 250 seconds]
alvadorn has quit [Client Quit]
<bradland> ever slept on a king bed that was really two twin beds
<apeiros> I'm a pedant. the crack would drive me nuts.
<bradland> the whole mariana trench thing in the middle sucks
<apeiros> and yeah, that king bed analogy is spot on :)
<nickjj> hah, the thing is like 5 millimeters tall
<bradland> what kind of material are you looking for apeiros?
<nickjj> goto home depot and buy some material, then cut it to the size of your desk
<nickjj> that will be the cheapest option and give you the most flexibility
serivichi has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Ping timeout: 246 seconds]
<apeiros> bradland: anything which works with an optical mouse. which is tricky, my last pad which was optimized for optical mice had issues with the new darkfield mouse I bought
<apeiros> actually, I'll revise that statement
<apeiros> my current pad is low friction. and I really love that. I hate it everyday I go to work and don't have it.
<bradland> i love my regular old neoprene mouse pads, but A) they get filthy, and B) they're normal size, which interferes with the keyboard and drives me nuts.
Rephiax has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
Ikri has quit [Remote host closed the connection]
<apeiros> lol
<apeiros> I actually think about 60cm x 25cm would be enough
doodlehaus has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
n008f4g_ has joined #ruby
<bradland> most of these options suck
<bradland> three feet wide hahahaha
RegulationD has quit [Ping timeout: 246 seconds]
<bradland> "In stock. Limit 5 per customer."
lys1 has quit [Quit: lys1]
<apeiros> I have nothing against the 90cm, but 45cm deep is an issue on my desk
<nickjj> i wonder what's with the limit, is 5 the point where you can roll up a dead body while being fully concealed?
jcromartie has joined #ruby
jespada has joined #ruby
<bradland> not sure. sounds like a good question for shevy.
lolmaus has quit [Quit: Konversation terminated!]
<shevy> lol
commmmodo has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<apeiros> I guess I'll have to take out the ruler :)
<shevy> that question is way too strange even for me
jespada has quit [Client Quit]
coderhs has joined #ruby
<shevy> and besides, what's with the size comparison again DIDN'T WE TALK ABOUT THIS JUST YESTERDAY
RegulationD has joined #ruby
<phale> isn't this off topic
<apeiros> ok, optimum would be 70x25
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<bradland> i promise to shut up once someone posts a ruby question
faulkner has quit [Quit: boo.]
<shevy> phale in ruby, questions are so quickly answered by ruby itself that we can use the extra time discussing other things
<nickjj> are semi-offtopic ruby related questions a reasonable compromise?
<phale> what is Ruby
<shevy> nickjj yeah, just add ruby to your line somewhere
<shevy> I like pizza ruby
<apeiros> nickjj: off topic is acceptable as long as it does not overboard and/or disturb ruby related discussions
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> but that's just my opinion. I don't think I've ever kicked anybody for OT :)
<nickjj> i'm using twitter's api with this gem, haven't used their api before. how exactly do you do "user auth" instead of "app auth"?
TheKruex has joined #ruby
<nickjj> the rate limit for "user auth" is 180 but only 15 with "app auth", i'm just trying to get arbitrary relationships between 2 users using the #friendships end point, having to wait 15min to get 15 seems so crippled tho
davidhq has joined #ruby
<shevy> now we know why off topic is more interesting
<shevy> :)
grrrr__ has joined #ruby
davidhq has quit [Client Quit]
FooMunki_ has quit [Quit: FooMunki_]
<bradland> twitter is the worst (with regard to their API access)
<bradland> it's like they're afraid someone will do something interesting with it
RegulationD has quit [Ping timeout: 244 seconds]
davidhq has joined #ruby
User458764 has joined #ruby
<bradland> unfortunately, i don't have a direct answer for you, nick, but i'm digging around in lib/twitter/rest/client to see how a session is built
<phale> yesterday when i went off topic no one was asking questions
<bradland> the attributes you set through that config block probably determine the auth type
<phale> i was still yelled at lol
<nickjj> bradland, i looked too. i have it working with the "app auth" way, but i was hoping to be able to use the "user auth" way somehow
<bradland> phale: IRC brah. everybody thinks they're a cop.
<bradland> nickjj: someone has done a "great" job of refactoring this code in to about 100 classes, so it's going to take some digging
<bradland> i'll keep looking though
<bradland> might have to clone it to get it open in an editor
<phale> coding is easy
<phale> u just need an idea
<phale> which i cant seem to get ;
<apeiros> nickjj: http://www.amazon.com/Glorious-Extended-Gaming-Mouse-Mat/dp/B00J2EF4K6 this seems right down my alley :D
<nickjj> apeiros, it's like a red carpet but black
<apeiros> ah, damn, actually too wide. that will interfere with the side monitors :-S
piotrj_ has quit [Remote host closed the connection]
<bradland> looks like they consider it a user token if you *don't* specify access_token and access_token_secret
davidhq has quit [Ping timeout: 255 seconds]
<eam> apeiros: the best mousing surface I've ever found: http://www.ikea.com/us/en/catalog/products/50153123/
<bradland> now you just need to figure out how to get your "user" consumer_key and consumer_secret
<nickjj> ah bradland, ah so just the consume keys
piotrj has joined #ruby
<nickjj> *consumer
grrrr__ has quit []
<apeiros> eam: ikea? fascinating :D but the dimensions are wrong for my purpose.
<shevy> smooth mousing surfaces
<eam> apeiros: cut to fit!
bruno- has joined #ruby
<nickjj> you are provided consumer keys when you make the actual app, that's the weird part
chipotle has joined #ruby
<eam> plastic cutting boards are amazing
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<bradland> damn, that thing is wide enough to fit a 10-key, plus mouse
<phale> Guys I like to create a damaged monkey out of spare parts?
<shevy> no
<shevy> you like to improve your gem
<eam> my local plastics supplier can fab rectangles of arbitrary size too
nii236 has joined #ruby
<bradland> nickjj: yeah, i suspect you'll have to get your hands on consumer keys for your _user_ though
<bradland> not an app
<shevy> stop getting your hands on the consumers!
<bradland> phale: the hard part is going to be getting your hands on damaged monkey parts
<nickjj> bradland, hmm that's an idea
fantazo has joined #ruby
<phale> yea
<nickjj> kind of ridiculous how a user would be able to make over 10x the requests over an app
<bradland> i mean, what's the market for damaged monkey parts? can't be very bick.
<bradland> wow
<bradland> *big
grr_ has joined #ruby
<nickjj> but then maybe the point of that is, you can only perform lookups related to YOUR account?
<bradland> sometimes my brain just runs off with my fingers
<bradland> yeah, that doesn't make much sense to me either, nickjj
<bradland> but of course, twitter
<nickjj> they have no documentation on this too
<bradland> srsly, they are the *worst*
chipotle has quit [Remote host closed the connection]
User458764 has joined #ruby
<nickjj> yeah, i have no choice in this case. otherwise i would just scrape it
<bradland> they'll kick your ass for scraping too
<bradland> be careful
<phale> {¢’@’’‘‘
<bradland> twitter consider the data in their network to be theirs
<bradland> and they're very protective of it
* apeiros grumbl grumbls
<bradland> remember a couple of years ago when they decided "no more third party twitter clients"
<apeiros> "wide" seems to always be 90cm
Yzguy has joined #ruby
<Yzguy> heyoo
<apeiros> why do I still wear my wizard hat? o0
<bradland> ooyeh
<bradland> so people will know you're a wizard?
<bradland> unless you're currently engaged in an act of wizardry, how else would they know?
<jhass> bradland: but it's a secret!
<bradland> psh
Zai00 has joined #ruby
<nickjj> bradland, do you have first hand experience being blocked by scraping them?
<bradland> you know what i say. what's the point of being a wizard if you have to keep it a secret!?
<bradland> this is 2015, man
<phale> why a bitch gotta lie
<jhass> yeah, right, terrorists are the new wizards
<apeiros> as a wizard, I vehemently protest against this statement
<bradland> nickjj: no, not personally
<jhass> as in the term you yell while pointing at a person to get rid of it
<bradland> although, if you're doing this for a personal project, you're probably fine
<bradland> because you're not going to be hitting them very hard
<nickjj> at this rate limit it will take like 8 hours to get friendship info on about 1200 people
maximski has joined #ruby
serivichi has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<bradland> more of a why than how
<bradland> but relevant
<phale> Fashion Week is an instrumental soundtrack by experimental hip hop group Death Grips. It was self-released on January 4, 2015 via Third Worlds, without any prior announcement.[2] It is the band's first release since their disbandment in 2014, and also the first release to date not featuring vocals from frontman, MC Ride.
bruno- has quit [Ping timeout: 256 seconds]
FooMunki has joined #ruby
<bradland> phale: see, the difference is that the other OT here is genuine conversation. it seems you're just floating random scraps of the internet with the intent to annoy people.
<bradland> one is friendly, the other is not
<bradland> please be friendly :)
<phale> there is no friendly nor unfriendly off-topic
<phale> if there was i would have been banned years ago
claw has quit [Ping timeout: 252 seconds]
<jhass> yeah, I usually apply "conversation" as a rule for valid OT
<bradland> i'm not telling. i'm asking :)
aryaching has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
agrinb has joined #ruby
<nickjj> bradland, thanks. i'll read this
drager has joined #ruby
<phale> Later in 2014, a lossless version of Government Plates was uploaded to What.CD by Zach Hill.
nii236 has quit [Ping timeout: 256 seconds]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> I'm chasing what appears to be a bug in IO finalizers
Zai00 has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bradland> eam: orly? this sounds interesting.
Soda has joined #ruby
<bradland> although, it sounds like it's going to end in C code, in which case i'll be useless.
zorak8 has joined #ruby
claw has joined #ruby
<phale> 1. "You Might Think He Loves You For Your Money But I Know What He Really Loves You For It’s Your Brand New Leopard Skin Pillbox Hat" 2:41
<eam> I can't entirely blame it on ruby yet, but what looks like a vanilla File finalizer is calling close on a descriptor after it's been closed outside the finalizer and re-used in a new File object
<eam> no threads involved
agrinb has quit [Ping timeout: 265 seconds]
thumpba has joined #ruby
<bradland> what ruby version?
RandyT has joined #ruby
<eam> ruby-2.2.0
<eam> haven't tried others yet
<eam> it only occurs about 5 minutes into an rspec run in fairly random places (but surrounding the same block of code opening and closing files)
jcromartie has joined #ruby
<phale> this is weird, i have installed rvm and 2.2.0
<phale> but when i resetted my terminal my ruby version is back to 1.9.3
<eam> I assume because it takes a while for gc churn to trigger
<bradland> bleh. sounds like a fun time trying to extract a repro snippet.
<jhass> phale: rvm default 2.2
<eam> yeah I don't have one yet, but I can run this 5 minute rspec job and repro 75% of the time
<phale> You need to change your terminal emulator preferences to allow login shell.
<phale> Sometimes it is required to use `/bin/bash --login` as the command.
doodlehaus has joined #ruby
Rennex_ is now known as Rennex
<phale> this works thx
<phale> is it normal for my interpreter to show this:
<phale> 2.2.0 :001 >
<bradland> invoked from irb, or just ruby
<jhass> it's normal for irb, yes
<phale> okay then
starless has quit [Quit: Leaving]
<jhass> irb stands for interactive ruby btw
<phale> I know, Thanks Though
<jhass> so say irb or repl, interpreter is confusing
<phale> okay
Zai00_ has joined #ruby
Zai00 has quit [Ping timeout: 256 seconds]
Zai00_ is now known as Zai00
jobewan has joined #ruby
<bradland> back in 1.9 (I think, anyway), we had G::each_object. anyone know what the current method of introspection for GC objects is?
<bradland> found it: ObjectSpace
User458764 has joined #ruby
zorak8 has quit [Quit: Leaving]
red_horned_rihno has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
vadviktor has joined #ruby
<bradland> eam: you probably know this, but you could log the output of ObjectSpace.each_object(IO).to_a as your tests run to see what IO is being left open, and when it's closing FDs
<bradland> mix that in with some progress logging, and you can probably pinpoint it
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cache_Money has joined #ruby
thumpba has quit [Ping timeout: 244 seconds]
<phale> >> "K E P".split(" ").each {|i| print i.to_i / 0.0 }
<eval-in_> phale => NaNNaNNaN["K", "E", "P"] (https://eval.in/297072)
jlast has joined #ruby
thumpba has joined #ruby
<bradland> you're very close to a batman theme song lyric generator
<phale> lmao
<bradland> (the TV show, obvs)
ndrei has joined #ruby
<phale> "K E P K E P K E P K E P K E P".split(" ").each {|i| print i.to_i / 0.0 } print "Na!"
<phale> oops
blackmesa has joined #ruby
<phale> >> "K E P K E P K E P K E P K E P".split(" ").each {|i| print i.to_i / 0.0 } print "Na!"
<eval-in_> phale => /tmp/execpad-0b6fc149631f/source-0b6fc149631f:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end ... (https://eval.in/297073)
<phale> ugh
<centrx> Na na na na na na na Batman
ddv has left #ruby ["Leaving"]
<apeiros> phale: the bot is for demonstration purposes only.
adriancb has joined #ruby
<apeiros> use your own irb/pry for experiments. thanks.
<phale> >> "K E P K E P K E P K E P K E P".split(" ").each {|i| print i.to_i / 0.0 }; print "Na Batman"
<eval-in_> phale => NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNa Batmannil (https://eval.in/297074)
<phale> :)
scripore has joined #ruby
zachrab has joined #ruby
<bradland> imagine the possibilities!
claw has quit [Ping timeout: 256 seconds]
riotjones has joined #ruby
<bradland> >> ObjectSpace.each_object(IO).to_a.first
<eval-in_> bradland => #<File:/tmp/execpad-69629ec2379b/source-69629ec2379b (closed)> (https://eval.in/297077)
ghostpl_ has joined #ruby
pontiki has quit [Ping timeout: 272 seconds]
<bradland> grr
<bradland> locally, i get #<IO:<STDERR>>
<bradland> which is the output of IO.inspect
<bradland> what's the attribute for the <STDERR> portion
<phale> attr
claw has joined #ruby
<bradland> rephrased for correctness, what's the method for the <STDERR> portion
zachrab has quit [Ping timeout: 252 seconds]
<apeiros> you could also just use STDERR or $stderr
<apeiros> and the method used is inspect
Cache_Money has quit [Quit: Cache_Money]
<bradland> sry, i should be more clear
red_horned_rihno has joined #ruby
<bradland> i'm looking for the internals of inspect
<bradland> i know how to go see them, but i see C code
bruno- has joined #ruby
<bradland> ObjectSpace.each_object(IO).reject { |o| o.inspect =~ /(STDERR|STDIN|STDOUT)/ }.map { |fd| fd.path }.join(',')
<bradland> my reject block there seems kludgy
<bradland> like, very, very kludgy
<bradland> looking for a better way
riotjones has quit [Ping timeout: 256 seconds]
hiyosi has joined #ruby
<bradland> ObjectSpace.each_object(IO).select { |o| o.class == File }.map { |fd| fd.path }
<apeiros> I still don't get what you're asking for, sorry
<bradland> even better
ndrei has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
<bradland> no matter now. dropped the kludge altogether and select inclusively instead of exclusively.
<apeiros> why each_object(IO) + select File instead of directly each_object(File)?
kallisti6 is now known as kallisti5
<apeiros> also I hope you use that for development only
<bradland> *facepalm*
<bradland> eam is chasing an open file descriptor, which he thinks is related to some GC that is happening
<apeiros> you work with eam?
<bradland> so i'm messing around looking at ways to inspect open file descriptors, which could be logged for debugging purposes
<apeiros> ah, missed some irc convo
<bradland> nope
<bradland> ObjectSpace.each_object(File).map { |fd| fd.path }
<bradland> i was hung up on "IO" as the object because of eam's description
* bradland slow learner
triple_b has joined #ruby
<phale> Dragon's Blood Resin
oo_ has quit [Remote host closed the connection]
triple_b has quit [Client Quit]
<jhass> bradland: .reject {|fd| [STDERR, STDOUT, STDIN, $stdout, $stderr, $stdin].include? fd }
kalusn has quit [Remote host closed the connection]
<phale> hi can i code a better ruby bot and bring it here
<jhass> bradland: or just substract that array from the unfiltered result
<centrx> yeah that's what they all say
<phale> centrx: I promise
<apeiros> phale: you can try. but a bot is generally only welcome if it's not disturbing the channel.
Axy has quit [Read error: Connection reset by peer]
kalusn has joined #ruby
<phale> nah, just interprets like that one we have
<phale> with fixed encoding issues
Axy has joined #ruby
<bradland> jhass: that's much cleaner
hoelzro has quit [Remote host closed the connection]
tkuchiki has joined #ruby
<jhass> phale: but it into ##cebot first and we'll try if you really want to put it into this channel, k?
claptor has joined #ruby
commmmodo has quit [Quit: commmmodo]
<phale> sure
<eam> bradland: yeah, I know which objects are involved
<eam> what I don't know is why the finalizer is triggering after it's already been closed
<eam> pretty close to instrumenting a ruby
claw has quit [Ping timeout: 256 seconds]
jlast has quit [Ping timeout: 265 seconds]
Soda has quit [Remote host closed the connection]
<jhass> eam: maybe it just lives on? I wonder if one can reassign the fd
<eam> jhass: it's pretty easy to repro using #fileno and #for_fd
<eam> but that's a fake way to hit the bug
kalusn has quit [Ping timeout: 265 seconds]
<eam> the hard part is hitting the finalizer race
<jhass> yeah, I mean to work around it, change the fd to -1 or something after closing
rbennacer has joined #ruby
<eam> yeah
<eam> what's super weird is my simplified test cases don't encounter it
<eam> wondering if it's related to oddness around nested ensures
Rollabunna has joined #ruby
<jhass> I'm not sure about the semantics for reusing fds, but I could imagine forcing a low overall limit in a VM or container could trigger the race
adriancb has quit [Ping timeout: 245 seconds]
<jhass> maybe even a low process limit set by ulimit
ZJvandeWeg has quit [Quit: WeeChat 1.1.1]
Yzguy has quit [Quit: I'm sleeping, go away.]
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
chuck has quit [Ping timeout: 264 seconds]
adriancb has joined #ruby
The_Phoenix has joined #ruby
Takle has quit [Ping timeout: 252 seconds]
ndrei has joined #ruby
mitchellhenke has joined #ruby
jottr_ has joined #ruby
mitchellhenke has quit [Client Quit]
razieliyo_ has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
prasselpikachu has quit [Ping timeout: 246 seconds]
doodlehaus has quit [Remote host closed the connection]
LJT has joined #ruby
prasselpikachu has joined #ruby
n80 has joined #ruby
dtordable has quit [Quit: • IRcap • 8.72 •]
agrinb has joined #ruby
Jackneill has quit [Quit: Leaving]
rbennacer has quit [Remote host closed the connection]
jottr_ has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
jottr_ has joined #ruby
nii236 has joined #ruby
bMalum has quit [Remote host closed the connection]
adriancb has quit [Read error: Connection reset by peer]
commmmodo has joined #ruby
agrinb has quit [Ping timeout: 272 seconds]
adriancb has joined #ruby
elfuego has joined #ruby
serivichi has quit [Ping timeout: 252 seconds]
nii236 has quit [Ping timeout: 245 seconds]
DerisiveLogic has joined #ruby
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
boshhead has joined #ruby
hsps_ has joined #ruby
jlast has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
basiclaser has quit [Quit: Connection closed for inactivity]
kobain has joined #ruby
otisZart has joined #ruby
kobain has quit [Max SendQ exceeded]
DerisiveLogic has quit [Ping timeout: 264 seconds]
coderhs has quit [Ping timeout: 244 seconds]
diego1 has joined #ruby
patrick99e99 has quit [Disconnected by services]
diego1 has quit [Changing host]
diego1 has joined #ruby
lkba has joined #ruby
senayar has quit []
diegoviola has quit [Ping timeout: 255 seconds]
ragingcake has quit [Quit: ragingcake]
dtordable has joined #ruby
soulcake has quit [Quit: Quack.]
jonr22 has quit [Remote host closed the connection]
pontiki has joined #ruby
Hirzu has quit [Remote host closed the connection]
diego1 is now known as diegoviola
jonr22 has joined #ruby
phale has quit [Quit: leaving]
Megtastique has joined #ruby
pontiki has quit [Ping timeout: 246 seconds]
n80 has quit [Quit: n80]
speaking1ode has quit [Ping timeout: 240 seconds]
paradoja has joined #ruby
pen has quit [Remote host closed the connection]
yeticry has quit [Read error: Connection reset by peer]
keen__________81 has joined #ruby
speaking1ode has joined #ruby
keen__________80 has quit [Ping timeout: 244 seconds]
penne12 has joined #ruby
<penne12> hello
Zai00 has quit [Ping timeout: 264 seconds]
penne12 has left #ruby [#ruby]
<jhass> hi
jlast has quit [Ping timeout: 245 seconds]
ghostpl_ has quit [Remote host closed the connection]
yeticry has joined #ruby
zacts has quit [Remote host closed the connection]
RegulationD has joined #ruby
sinkensabe has joined #ruby
<elfuego> is it possible for a developer using sublime text to get to the same level of productivity as a developer using rubymine?
<bradland> that's not an actual question, because no two developers are equal
<shevy> sure elfuego
<eam> neither can compete with emacs though
<bradland> obvs
<shevy> I use a lot of ruby-helpers from the commandline
<sonOfRa> emacs??!?!?!? VIM IS BETTER!!!11!!
Spami has joined #ruby
n80 has joined #ruby
<sonOfRa> sorry, I just had to :D
<bradland> if you need me, i'll be in my bunk
<jhass> elfuego: nice troll *bows*
rbennacer has quit [Remote host closed the connection]
<eam> everyone pick a side and line up please
<shevy> like end? or encoding? or basedir? or benchmarks? all showing me ruby skeletons for these
speaking1ode has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
n80 has quit [Client Quit]
amclain has joined #ruby
monod has quit [Ping timeout: 245 seconds]
IrishGringo has quit [Ping timeout: 256 seconds]
rbennacer has quit [Remote host closed the connection]
<shevy> would be great if things like kde konsole could be used as-is an editor too
piotrj has quit [Remote host closed the connection]
Rollabunna has quit [Remote host closed the connection]
<shevy> and a browser!
<shevy> everything!!!
<bradland> see what you've done elfuego?
joast has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
RegulationD has joined #ruby
Rollabunna has joined #ruby
sinkensabe has quit [Ping timeout: 252 seconds]
AndyBotwin has quit [Quit: Leaving]
aryaching_ has joined #ruby
<shevy> everything is an object
DerisiveLogic has joined #ruby
rbennacer has joined #ruby
jlast has joined #ruby
soulcake has joined #ruby
<elfuego> bradland: lol I didn’t expect this reaction sorry :), I’m new to ruby and i’m currently using it on a project, and I wanted to know if I should invest in rubymine lol
prasselpikachu has quit [Ping timeout: 256 seconds]
commmmodo has quit [Quit: commmmodo]
prasselpikachu has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
davedev24_ has quit [Ping timeout: 264 seconds]
<bradland> srs answer is, everybody is different. you should use what works for you, and anyone who tries to convince you that there is "one true way" is probably someone you should take with a grain of salt.
<wasamasa> some people are more different than others
<bradland> like shevy
<wasamasa> and me!
<shevy> think differently
<jhass> elfuego: editor/dev environment is largely personal choice, try few, make your pick, stay curios about the others once in a while
<bradland> you are a unique and beautiful snowflake, wasamasa
<shevy> elfuego use a simple editor, the rest comes very naturally with more practice
rbennacer has quit [Ping timeout: 250 seconds]
<wasamasa> emacs and vim have the interesting quality though that they are the final editor for a good amount of people
<bradland> elfuego: i do really like the graphical debugger in RubyMine, fwiw
<shevy> damn bradland!
<bradland> as a matter of fact, i won't shut up about it it
<shevy> look what you are doing!
<bradland> lol
<elfuego> bradland: yes I love the debugger in rubymine as well
<bradland> but as a beginner, i would advise you to start with simple tools
dfinninger has joined #ruby
<shevy> actually you could have encouraged elfuego much earlier ;)
RegulationD has joined #ruby
<bradland> because rubymine is really great, but it requires you to learn what's going on under the hood
<shevy> omg
<shevy> both are now cheering about rubymine...
<bradland> personally, i use sublime text with vintage mode
<bradland> because i'm a half-ass vim person
<shevy> do I understand this right
<shevy> (a) you think rubymine is great
<bradland> probably not :P
<shevy> (b) you use sublime
davedev24_ has joined #ruby
<bradland> yep
<shevy> (c) but you are a vimster
<shevy> and you call me strange!
<bradland> i'll frequently use vim at the command prompt, because it is at hand
<shevy> I use bluefish :-)
<shevy> yeah
Stalkr_ has quit [Read error: Connection reset by peer]
<shevy> well I sort of use nano a lot too... but I miss the keybindings of vim
<shevy> I kind of want a mini-vim
<wasamasa> lol, I remember bluefish from a knoppix live-dvd
<shevy> like a mix in between vim and nano
<wasamasa> shevy: vi
<bradland> i like to think of myself like neo in the lobby scene where he's carrying like 8 different guns
Stalkr_ has joined #ruby
<bradland> i really only use RubyMine for hardcore debugging
<bradland> and occassional development
<shevy> wasamasa ironically enough bluefish 1.x is still better than bluefish 2.x; also than gedit... geany might become better one day but the guy who started the project is contributing only sporadically :(
<bradland> but i get annoyed quickly
LJT has left #ruby ["Textual IRC Client: www.textualapp.com"]
<shevy> the gtk3 devs killed simple shortcuts
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
phale has joined #ruby
tkuchiki has quit [Ping timeout: 246 seconds]
arup_r has joined #ruby
LJT has joined #ruby
<shevy> in bluefish 1 you could re-assign by hovering over some entry and just pressing some new combination
bruno- has quit [Ping timeout: 252 seconds]
<shevy> that is no longer possible because the old API there got deprecated
RegulationD has quit [Ping timeout: 250 seconds]
<bradland> let's say i want to do some debugging on a gem, net-ssh
<bradland> i want to log the value of a parameter given to a method of Net::SSH::Buffer::from()
<shevy> you debug gems?
<shevy> I mean written by other people
<arup_r> shevy: which answer is best ? http://stackoverflow.com/a/28917364/2767755
<bradland> is my only option to edit the gem source? or is there some way to attach to that method and extract results without editing the gem source.
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Peter___ has joined #ruby
<phale> arup_r: the shorter one
<bradland> shevy: yeah, net-ssh is in the stdlib, so if there are open issues, i'll fart around with it in my free time
PNDPO has joined #ruby
<bradland> i always learn something
agrinb has joined #ruby
<bradland> shevy: i'm digging around in this one: https://github.com/net-ssh/net-sftp/issues/27
<shevy> arup_r I just gave you a solidarity upvote
<phale> GUYS
LJT has quit [Quit: Quiting...]
<phale> I HAVE NO MORE IDEAS!!
Peter___ has quit [Read error: Connection reset by peer]
aryaching_ has quit [Read error: Connection reset by peer]
<bradland> Net::SSH::Buffer is the lowest level (afai can see) that i could spy on the data being transmitted
LJT has joined #ruby
Peter___ has joined #ruby
<shevy> phale use a todo list
<shevy> phale as time goes by, more and more things end up on it
PNDPO has quit [Read error: Connection reset by peer]
<phale> but i have nothing to do
PNDPO has joined #ruby
<shevy> you wrote your first gem
<shevy> now expand on it
<phale> i can't it sucks
<shevy> yes so you must improve it
<phale> wait, it does??
<shevy> sure, where is the documentation?
<phale> that was there from yesterday i think
<shevy> yeah
<shevy> that is the autogenerated API docu
zachrab has joined #ruby
<shevy> it's awful
<phale> hm
<phale> how do i create an non-autogenerated api docu
<shevy> do you use markdown files?
<phale> what?
<shevy> # The largest heading (an <h1> tag)
<shevy> ## The second largest heading (an <h2> tag)
<shevy> so it's really simple
<shevy> go add a README.md
<shevy> and expand the gem
<phale> I have a README midi
<arup_r> shevy: you liked me.. ? WooW.... :p
mkaesz has joined #ruby
<shevy> parse any image! show any info
<shevy> not midi
<shevy> that is for audio
<phale> md pronounced is midi
<phale> :(
<shevy> emmmm-deeeeeee
cajone has joined #ruby
<phale> okay
<phale> i have a github from 2013
<shevy> you need to build larger projects
ragingcake_ has joined #ruby
<shevy> or a game
<phale> A game you say'
<phale> ?
<shevy> I found games extremely difficult
<phale> To what audience?
<phale> Kids?
<shevy> they suck away a lot of time
<shevy> does not really matter honestly
<phale> sure give me a sdl and opengl binding
<shevy> anything that has a high internal quality
<phale> i'll make one in 2 months
<shevy> yes we have that
<shevy> the maintainer abandoned it 2 years ago though
<phale> but i want to make my imageparser though
<phale> so i'll put it on github
Channel6 has joined #ruby
jen_ has joined #ruby
<shevy> anyone wants to take over?
<shevy> knowledge of C is required though
<phale> shevy: how did they get their own docs?
<shevy> which ones
mkaesz has quit [Ping timeout: 256 seconds]
zachrab has quit [Ping timeout: 256 seconds]
<phale> on the rubygems page
<phale> i clicked docs and it wasn't the autodoc
<shevy> I guess jacius wrote them once
<phale> oh
adriancb_ has joined #ruby
jen_ has quit [Quit: jen_]
<phale> ugh i hate gems
<shevy> I dunno what he is doing these days
<phale> you need to make a lot of shit just to get a gem working
<shevy> it depends
<phale> no i mean
<phale> uploading a gem
<bradland> srsly?
<shevy> ah nono phale
<phale> no
<phale> creating the gem
adriancb has quit [Read error: Connection reset by peer]
<phale> i can create a gemspec etc
<phale> but then you have to run tests... specs..
<shevy> omit the tests!
<phale> ok
<shevy> examples that work are more important anyway
<shevy> unless your code flies to planet mars
<bradland> phale: you should document imageparser
<bradland> can't tell much about it in its current form
<shevy> and once you have a lot of code then testing will have to happen sooner or later anyway
aryaching has joined #ruby
<shevy> phale you can use ruby scripts to make creating a gem easier
<phale> i thought yard was what im using lol
<phale> i give comments and it's written in the documentation
<phale> it's not autogenerated, i commented it and it's documented
<phale> however the docs itself are
<bradland> phale: not sure i follow what you're saying. if i go to the link you've provided, there's not much there in the way of documentation
iamjarvo has joined #ruby
agrinb has quit [Remote host closed the connection]
<bradland> good docs include things like usage examples
centrx has quit [Quit: Shutting down, Please wait...]
<phale> yeah
adriancb_ has quit [Remote host closed the connection]
<phale> i'm updating it
<bradland> cool
agrinb has joined #ruby
plashchynski has quit [Quit: plashchynski]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
otisZart has joined #ruby
arup_r has quit [Ping timeout: 245 seconds]
fgo has joined #ruby
jlast has quit [Remote host closed the connection]
Mives has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
<phale> Repushing of gem versions is not allowed.
<phale> How does one update a gem
<bradland> bump your version
tagrudev has joined #ruby
piotrj has joined #ruby
<shevy> phale you increment the version
<phale> i know
ismaelga has joined #ruby
<phale> it's generating the docs wait
<shevy> s.version = '1.0.1'
<phale> yes
fgo has quit [Ping timeout: 265 seconds]
coinrookie has joined #ruby
jlast_ has joined #ruby
<phale> whats going on
zhan has joined #ruby
PNDPO has quit [Remote host closed the connection]
<shevy> it usually takes a while
<phale> okay
<shevy> grab a beer, do something else, check back lateron
<phale> no thanks i'm 17 years old
PNDPO has joined #ruby
<shevy> start on a new gem :D
Peter____ has joined #ruby
<phale> shevy: i gotta focus on this one
<phale> it might actually be a big project
<phale> a good one too
<shevy> you are 17, you can multitask
Hirzu has joined #ruby
<phale> no i have ADHD
<phale> brb
Peter___ has quit [Remote host closed the connection]
<phale> i can't believe 84 people downloaded my gem
Joufflu has quit [Ping timeout: 265 seconds]
michael_mbp has quit [Excess Flood]
ebbflowgo has joined #ruby
Peter____ has quit [Ping timeout: 250 seconds]
<ebbflowgo> my instance_eval method doesn't like the word 'in', it doesn't seen to be a reserved word.. how might i fix this? https://gist.github.com/ebbflowgo/4de03dfa018f096cfc37
PNDPO has quit [Ping timeout: 255 seconds]
<apeiros_> ebbflowgo: but `in` is a reserved
<apeiros_> +word
<apeiros_> what makes you think it isn't?
michael_mbp has joined #ruby
<ebbflowgo> i was looking here: v
<apeiros_> looks like that list is incomplete
<ebbflowgo> apeiros_: .. thanks
<ebbflowgo> anyway to get around it?
<ebbflowgo> execute a reserved word?
<apeiros_> use a different name
<ebbflowgo> *run a method that is a reserved word
<phale> rename the method
<apeiros_> explicit receiver
<apeiros_> self.in
<ebbflowgo> apeiros_: kk
<ebbflowgo> thanks both
<apeiros_> check the docs of the tool you're using
ebbflowgo has left #ruby [#ruby]
jottr has joined #ruby
<phale> apeiros_: let's have a spiritual conversation
<phale> i am i are you i therefore you are i?
pontiki has joined #ruby
<apeiros_> phale: you should reduce your drug consumption
<phale> i'm barely allowed to have drugs
ebbflowgo has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
<apeiros_> oh, I see, because drug use is usually allowed :-p
Soda has joined #ruby
asdpew has joined #ruby
<phale> oh no my gf wants to kiss me
<phale> brb
jlast_ has quit [Remote host closed the connection]
pontiki has quit [Ping timeout: 255 seconds]
sivsushruth has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
sivsushruth has joined #ruby
piotrj has quit [Remote host closed the connection]
tagrudev has quit [Quit: Leaving]
m8 has joined #ruby
Asher has joined #ruby
razieliyo has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mjmac has quit [Quit: ZNC - http://znc.sourceforge.net]
paradoja has quit [Ping timeout: 264 seconds]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
hsps_ has quit [Quit: Leaving]
Pupeno has joined #ruby
lolmaus has joined #ruby
thumpba has quit [Remote host closed the connection]
mkaesz has joined #ruby
pontiki has joined #ruby
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 250 seconds]
Pupeno has quit [Remote host closed the connection]
justin_pdx has quit [Quit: justin_pdx]
pontiki has quit [Client Quit]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ferr has joined #ruby
mkaesz has quit [Remote host closed the connection]
philwantsfish has joined #ruby
blackmesa has joined #ruby
<phale> down for anyone else'
nii236 has joined #ruby
maximski has quit [Read error: No route to host]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
pandaant has quit [Remote host closed the connection]
maximski has joined #ruby
codecop has quit [Remote host closed the connection]
nii236 has quit [Ping timeout: 256 seconds]
paradoja has joined #ruby
doodlehaus has joined #ruby
TheKruex has quit []
pandaant has joined #ruby
n80 has joined #ruby
doodlehaus has quit [Ping timeout: 244 seconds]
n80 has quit [Client Quit]
Channel6 has quit [Quit: Leaving]
thumpba has joined #ruby
kromm has joined #ruby
kromm has quit [Client Quit]
<shevy> phale it's not down, it just takes a while to process. didn't I tell you to grab a beer and do something else rather than try to find out when it is finished :P
Pupeno has joined #ruby
adriancb has joined #ruby
mjmac has joined #ruby
<phale> well it's here now
<shevy> phale and most early downloads are from bots, not people. let your gem stay for some days, eventually then you'll have real people use it
<phale> wtf
<phale> this isn't at all how i imagined it be formatted
hmsimha has quit [Ping timeout: 252 seconds]
<shevy> did you use a markdown file
<phale> .md?
<shevy> yeah
<shevy> here is the good thing
<phale> actually i just wrote it all in a ruby file
<shevy> you can take any other gem and learn how they did it
<phale> is that bad?
<phale> can you give me a YARD markdown file example
dfinninger has quit [Remote host closed the connection]
n80 has joined #ruby
elaptics is now known as elaptics_away
fgo has joined #ruby
<shevy> phale here is that example from rack, though it is .rdoc
<phale> but im using yard, shevy.
red_horned_rihno has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
<phale> do i need to add the markdown file to my gemspec files array?
adriancb has quit [Ping timeout: 272 seconds]
Pupeno has joined #ruby
<shevy> somehow
<phale> i have no idea what to do now o.o
<shevy> s.extra_rdoc_files = ['README.rdoc', 'KNOWN-ISSUES']
<shevy> that is how he added that
<shevy> you can try with a .md file perhaps
<shevy> or use .rdoc for now
<shevy> :P
doodlehaus has joined #ruby
DadoCe has joined #ruby
<phale> so
red_horned_rihno has joined #ruby
<phale> what about rubygems' YARD?
red_horned_rihno has quit [Read error: Connection reset by peer]
fgo has quit [Ping timeout: 264 seconds]
AlexRussia has quit [Ping timeout: 245 seconds]
aryaching_ has quit [Ping timeout: 255 seconds]
Pupeno has quit [Remote host closed the connection]
havenwood has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<shevy> dunno, ask bradland
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
jenrzzz has quit [Ping timeout: 245 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<phale> bradland:
<jhass> phale: yes, you have to include the files you want to appear on rubydoc.info/gems
amundj has joined #ruby
<phale> and it wont put the yard one, right?
elfuego has quit [Quit: elfuego]
<jhass> sorry?
<phale> will it get rid of this one
<phale> and put the .rdoc one instead
ismaelga has quit [Remote host closed the connection]
<jhass> no?
<phale> so what do i do :(
<jhass> what do you want?
<phale> to put the .rdoc instead of the YARD autogenerated docs
sivsushruth has quit [Ping timeout: 246 seconds]
AlexRussia has joined #ruby
sivsushruth has joined #ruby
<jhass> why?
<jhass> why not add both?
Stalkr^ has joined #ruby
<jhass> or add nice yard docs?
n80 has quit [Quit: n80]
<phale> i want rdocs!!!
<phale> :(
<jhass> then you can't have the service at rubydoc.info
<jhass> as its yard based
<phale> where do i have it then
<jhass> I don't know of such a service for rdoc
<phale> i'll just use yard then
Stalkr_ has quit [Ping timeout: 245 seconds]
lemur has joined #ruby
sivsushruth has quit [Ping timeout: 255 seconds]
sivsushruth has joined #ruby
confucius has joined #ruby
tgunr_ has joined #ruby
livingstn has joined #ruby
livingstn has quit [Max SendQ exceeded]
lxsameer has joined #ruby
<lxsameer> guys is there any pure ruby alternative for rmagick ?
zorak8 has joined #ruby
livingstn has joined #ruby
ismaelga has joined #ruby
<jhass> maybe mini_magic fulfills your usecase
<jhass> * mini_magick
<confucius> mini_magick +1
elfuego has joined #ruby
<phale> ugh
<phale> why isn't ri working for 2.2.0
<lxsameer> thanks
<jhass> phale: because rvm, rvm help docs iirc
<phale> ty
tus has joined #ruby
decoponio has quit [Quit: Leaving...]
jespada has joined #ruby
tgunr has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
jespada has quit [Read error: Connection reset by peer]
JBreit has quit [Read error: Connection reset by peer]
piotrj has joined #ruby
TripTastic has joined #ruby
sinkensabe has joined #ruby
confucius has quit [Quit: leaving]
lkba_ has joined #ruby
<phale> it's taking an awful lot
<phale> is that normal?
RegulationD has quit [Remote host closed the connection]
RegulationD has joined #ruby
<jhass> yes
lkba has quit [Ping timeout: 264 seconds]
sivsushruth has quit [Ping timeout: 252 seconds]
roolo has joined #ruby
paradoja has quit [Ping timeout: 240 seconds]
sivsushruth has joined #ruby
thumpba has quit [Remote host closed the connection]
<apeiros_> rvm docs generate
sinkensabe has quit [Ping timeout: 255 seconds]
SegFaultAX has quit [Quit: ZNC - http://znc.in]
RegulationD has quit [Ping timeout: 264 seconds]
Beoran_ has quit [Ping timeout: 264 seconds]
jespada has joined #ruby
zachrab has joined #ruby
tobacco_joe has quit []
RegulationD has joined #ruby
tgunr_ has quit [Ping timeout: 256 seconds]
ismaelga has quit [Remote host closed the connection]
hostess has quit [Remote host closed the connection]
tgunr has joined #ruby
lukeshu has joined #ruby
lukeshu has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
zachrab has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
ismaelga has joined #ruby
OrbitalKitten has joined #ruby
Beoran_ has joined #ruby
jespada has quit [Quit: WeeChat 1.1.1]
maximski has quit []
jespada has joined #ruby
piotrj has quit [Remote host closed the connection]
piotrj has joined #ruby
msev has joined #ruby
thumpba has joined #ruby
ptrrr has quit [Quit: ptrrr]
Notte has joined #ruby
thumpba has quit [Remote host closed the connection]
justin_pdx has joined #ruby
fryguy has left #ruby [#ruby]
ferr has quit [Ping timeout: 244 seconds]
dfinninger has joined #ruby
jobewan has quit [Quit: Leaving]
JoshGlzBrk has joined #ruby
ismaelga has quit [Remote host closed the connection]
TheNet has joined #ruby
paradoja has joined #ruby
hostess has joined #ruby
<TheNet> what exactly is wait_thr (in popen3/popen2)?
jenrzzz has joined #ruby
ismaelga has joined #ruby
<phale> it waits for a process to finish
morenoh149 has joined #ruby
<phale> dunno
Peter___ has joined #ruby
PNDPO has joined #ruby
<TheNet> I don't think that's it
Peter___ has quit [Read error: Connection reset by peer]
Peter___ has joined #ruby
teddyp1cker has joined #ruby
ferr has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 264 seconds]
DadoCe has quit []
JBreit has joined #ruby
JoshGlzBrk has quit [Quit: Textual IRC Client: www.textualapp.com]
melmouss has joined #ruby
sevvie has quit [Ping timeout: 246 seconds]
melmouss has quit [Max SendQ exceeded]
PNDPO has quit [Quit: Leaving...]
Peter___ has quit [Client Quit]
phale has quit [Quit: leaving]
ismaelga has quit [Remote host closed the connection]
justin_pdx has quit [Quit: justin_pdx]
hmsimha has joined #ruby
sivsushruth has quit [Ping timeout: 245 seconds]
sivsushruth has joined #ruby
ismaelga has joined #ruby
martinbmadsen has joined #ruby
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sevvie has joined #ruby
justin_pdx has joined #ruby
melmouss has joined #ruby
melmouss has quit [Max SendQ exceeded]
last_staff has joined #ruby
grr_ has quit [Remote host closed the connection]
mkaesz has joined #ruby
User458764 has joined #ruby
Hirzu has quit [Remote host closed the connection]
adriancb has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
elektronaut has quit [Quit: ZNC - http://znc.in]
AlyssaDaemon has quit [Remote host closed the connection]
greenbagels has quit [Quit: Leaving]
nii236 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
doodlehaus has quit [Remote host closed the connection]
Affix has quit [Ping timeout: 246 seconds]
OrbitalKitten has joined #ruby
sinkensabe has quit [Ping timeout: 240 seconds]
sivsushruth has quit [Ping timeout: 245 seconds]
nii236 has quit [Ping timeout: 256 seconds]
User458764 has joined #ruby
dfinninger has quit [Remote host closed the connection]
sivsushruth has joined #ruby
akkad has quit [Excess Flood]
jmdade has quit [Quit: Textual IRC Client: www.textualapp.com]
User458764 has quit [Client Quit]
piotrj has quit [Remote host closed the connection]
commmmodo has joined #ruby
doodlehaus has joined #ruby
akkad has joined #ruby
doodlehaus has quit [Remote host closed the connection]
User458764 has joined #ruby
otisZart has joined #ruby
ismaelga has quit [Remote host closed the connection]
kyb3r_ has joined #ruby
Ikri has joined #ruby
AnonymousCelt has joined #ruby
asdpew has left #ruby ["Leaving"]
<AnonymousCelt> I am currently deciding between PHP and Ruby to learn for Server side web development. I have heard a lot of preaching of PHP but I haven't had any input from Ruby users, could you tell me what you all consider the benefits of Ruby so that I can make an objective decision?
enebo has quit [Quit: enebo]
ismaelga has joined #ruby
<toretore> it doesn't matter what you choose, just pick the one you want the most
bruno- has joined #ruby
exile-bot-2 has joined #ruby
m8 has quit [Ping timeout: 246 seconds]
exile-bot-2 has quit [Remote host closed the connection]
razieliyo has quit [Remote host closed the connection]
red_horned_rihno has joined #ruby
AnonymousCelt has quit [Quit: Leaving]
ismaelga has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Yzguy has joined #ruby
doodlehaus has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
meatherly has joined #ruby
morenoh149 has quit [Ping timeout: 252 seconds]
pontiki has joined #ruby
exile-bot-2 has joined #ruby
jcdesimp has joined #ruby
dfinninger has joined #ruby
iwaffles has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
jmdade has joined #ruby
Rephiax has joined #ruby
fantazo has quit [Quit: Verlassend]
plashchynski has joined #ruby
dfinninger has quit [Ping timeout: 264 seconds]
piotrj has joined #ruby
exile-bot-2 has quit [Remote host closed the connection]
exile-bot-2 has joined #ruby
red_horned_rihno has quit [Ping timeout: 245 seconds]
pontiki has quit [Quit: WeeChat 1.1.1]
exile-bot-2 has quit [Remote host closed the connection]
exile-bot-2 has joined #ruby
adriancb has quit [Remote host closed the connection]
morenoh149 has joined #ruby
pontiki has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
naftilos76 has joined #ruby
iamjarvo has joined #ruby
Asher has quit [Quit: Leaving.]
exile-bot-2 has quit [Remote host closed the connection]
aaa1231-2 has joined #ruby
zachrab has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
Notte has quit []
jerematic has quit [Remote host closed the connection]
aaa1231-2 has quit [Remote host closed the connection]
bogeyd6 has joined #ruby
Hirzu has joined #ruby
aaa1231-2 has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thumpba has joined #ruby
nahtnam has joined #ruby
RegulationD has joined #ruby
zachrab has quit [Ping timeout: 264 seconds]
red_horned_rihno has joined #ruby
Hirzu has quit [Ping timeout: 252 seconds]
thumpba has quit [Ping timeout: 256 seconds]
RegulationD has quit [Remote host closed the connection]
Affix has joined #ruby
RegulationD has joined #ruby
sinkensabe has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
kaiZen has joined #ruby
lemur has quit [Remote host closed the connection]
tvon has joined #ruby
ragingcake_ has quit [Quit: ragingcake_]
hollywood has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 244 seconds]
sinkensabe has quit [Ping timeout: 252 seconds]
attamusc has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
[gmi] has joined #ruby
DEA7TH has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
marr has joined #ruby
pandaant has quit [Remote host closed the connection]
monod has joined #ruby
jmdade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
doodlehaus has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
mkaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby
Asher has joined #ruby
jmdade has joined #ruby
Beoran_ has quit [Ping timeout: 244 seconds]
mkaesz has quit [Ping timeout: 245 seconds]
ragingcake has joined #ruby
<naftilos76> Hi, i am writing text in a file with File.open(filename, mode) do |file| ... file.write text ... end . If there is at least a new line at the end of the text var, file.write removes one new line. Is that to be expected?
morenoh149 has quit [Ping timeout: 264 seconds]
<pontiki> no...
<naftilos76> "1\n2\n" is written as "1\n2", "1\n2" is written as is (no changes)
<pontiki> file.write just writes whatever is there, should not be changed..
Takle has quit [Remote host closed the connection]
<pontiki> hmm
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<naftilos76> let me try a few more things
teddyp1cker has quit [Remote host closed the connection]
ItSANgo has quit [Quit: Leaving...]
<pontiki> hmm
<AlexRussia> hey, what does mean is it? https://gist.github.com/cd7fec77f408c2dbc92a
<pontiki> they left?
roolo has quit [Remote host closed the connection]
<pontiki> no idea, what's in namespaces.rb?
FooMunki has quit [Quit: FooMunki]
<AlexRussia> file into vk-ruby gem?
<pontiki> s/into/in/
<AlexRussia> inside of xD
<pontiki> i have no idea what that does
yfeldblu_ has joined #ruby
<pontiki> maybe ask there
yoshie902a has joined #ruby
<AlexRussia> where?
dorei has joined #ruby
plutonic has joined #ruby
elaptics_away is now known as elaptics
<pontiki> at that repo
<AlexRussia> it's too slow
<pontiki> *shrug*
Beoran_ has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
bruno- has joined #ruby
bruno- is now known as Guest66171
ItSANgo has joined #ruby
<yoshie902a> I am using the Mail gem and trying to send email, however “- Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit “ is showing up in all the email I send. also the file I attached appears as a bunch of letters and numbers. I’m using the following code. http://pastie.org/private/2oqq9webyzrgwwhmqbd1g any idea on how to get the file attached as a file and prevent the content-type and char
<yoshie902a> /encoding from showing ?
devFrederick has joined #ruby
<yoshie902a> filename is just the path to the file being attached
Takle has joined #ruby
Guest66171 has quit [Ping timeout: 245 seconds]
Notte has joined #ruby
bruno-_ has joined #ruby
dfinninger has joined #ruby
ItSANgo has quit [Quit: Leaving...]
Rephiax has quit []
maplesyrup has joined #ruby
randiman has joined #ruby
bruno-_ has quit [Ping timeout: 245 seconds]
kalusn has joined #ruby
dfinninger has quit [Ping timeout: 255 seconds]
bruno-_ has joined #ruby
jmdade has quit [Quit: Textual IRC Client: www.textualapp.com]
adriancb has joined #ruby
piotrj has quit [Remote host closed the connection]
bruno-_ has quit [Ping timeout: 252 seconds]
piotrj has joined #ruby
gregf has quit [Quit: WeeChat 1.0.1]
bruno-_ has joined #ruby
<maplesyrup> certainty: bist du noch wach
<apeiros_> bettgeflüster in #ruby
<maplesyrup> hehe.
lxsameer has quit [Quit: Leaving]
nii236 has joined #ruby
ItSANgo has joined #ruby
Dolphi has joined #ruby
adriancb has quit [Ping timeout: 246 seconds]
yoshie902a has left #ruby [#ruby]
<Dolphi> Can anybody recommend a simple program for a beginner to practice coding in Ruby? I don't have any ideas. :(
<Dolphi> Please, don't say "Hello, World."...
<mozzarella> Dolphi: have you tried project euler?
wicope has quit [Remote host closed the connection]
<Dolphi> mozzarella: No I haven't. Please do explain.
<mozzarella> Dolphi: https://projecteuler.net/
nii236 has quit [Ping timeout: 244 seconds]
hoelzro has joined #ruby
gregf has joined #ruby
tubuliferous has joined #ruby
sinkensabe has joined #ruby
justin_pdx has quit [Quit: justin_pdx]
joeyjones has left #ruby ["Leaving"]
sinkensabe has quit [Ping timeout: 256 seconds]
wldcordeiro has joined #ruby
havenwood has quit [Remote host closed the connection]
fumduq has quit [Ping timeout: 252 seconds]
fumduq has joined #ruby
twistedpixels has quit [Ping timeout: 252 seconds]
<godd2> Dolphi it's a list of math problems that would take forever to do by hand, but only a minute for a computer
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
twistedpixels has joined #ruby
<godd2> like "add up the even fibonacci numbers less than 4 million"
neanderslob has quit [Ping timeout: 250 seconds]
neanderslob has joined #ruby
Mives has quit [Ping timeout: 255 seconds]
mog_ has joined #ruby
Deckon has joined #ruby
davedev2_ has joined #ruby
n80 has joined #ruby
<jhass> Dolphi: I always see this: Look at your regular tasks (something you daily, weekly, once a month or so), is there any part you could automate with a ruby script?
<jhass> *say
<jhass> do you have any scripts in other languages that you could rewrite in ruby?
Limix has joined #ruby
davedev24_ has quit [Ping timeout: 272 seconds]
<Dolphi> jhass: Definitely! If I could somehow create an alarm clock that reactivates itself so that I don't forget the night before and end up late for work (like I did today) lol
<Dolphi> jhass: Now that would be great!
<Deckon> hello to all, is possible obtain specific data from a json and send data to specific fields in the json?
<jhass> Dolphi: uh, I just a proper app on my phone :P
<jhass> *just use
<TheNet> Deckon: json gem?
<jhass> today is cursed :(
<godd2> Deckon yes. json is just plaintext, so you can parse it and modify it to your hearts content
<jhass> TheNet: Deckon json is in stdlib
<Dolphi> jhass: I just forget to activate the alarm sometimes
<godd2> Deckon there are even gems for json parsing to create Ruby objects from json objects
<jhass> Dolphi: yeah, a proper app you just configure once when to ring
randiman has quit [Quit: (null)]
<TheNet> what exactly is wait_thr (in popen3/popen2)?
<Dolphi> Back to your original question, could you give me a few examples?
<Deckon> ok, I will chek the json gem
<Dolphi> What would you automate?
mog_ has quit [Ping timeout: 240 seconds]
<godd2> Deckon oh yea, just require it from the standard library. simply add require 'json' at the top of your ruby script
<jhass> Dolphi: for example I scripted boring repeated calculations for my math courses, have a few scripts to postprocess and rename locale files I pull from a service for a project, have scripts to partly automate updating packages I maintain, stuff like that
<Deckon> ok
<jhass> Dolphi: the trick is finding a process you understand well and that annoys you
<jhass> if you're not sure whether it would be possible to automate, just ask
<Dolphi> hanmac: That is amazing! With that trashcan, you too can be like Mike!
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<godd2> Deckon and in the link that TheNet pasted, it gives a couple examples of parsing some json
dtordable has quit [Quit: • IRcap • 8.72 •]
hs366 has quit [Read error: Connection reset by peer]
<jhass> TheNet: I think it's a thread launched that waits for the process to end (basically just calling Process.wait on its pid), giving you access it's pid etc. and Thread#value blocks for the thread to finish, thus for the process to end (which also means Thread#join waits for the process)
thumpba has joined #ruby
<hanmac> Dolphi: its only bad when the the can thinks that you are "trash" too ;P
duncannz has joined #ruby
jonr22 has quit [Remote host closed the connection]
n80 has quit [Quit: n80]
duncannz has quit [Max SendQ exceeded]
ragingcake has quit [Quit: ragingcake]
duncannz has joined #ruby
plashchynski has quit [Quit: plashchynski]
last_staff has quit [Remote host closed the connection]
lemur has joined #ruby
Takle has quit [Remote host closed the connection]
msev has quit [Quit: Leaving]
iamjarvo has joined #ruby
crazymykl has quit [Quit: Konversation terminated!]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
crazymykl has joined #ruby
otisZart has quit [Remote host closed the connection]
textblind has joined #ruby
zachrab has joined #ruby
n80 has joined #ruby
Limix has quit [Quit: Limix]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_ixti_ has quit [Ping timeout: 245 seconds]
Notte has quit []
Hirzu has joined #ruby
zachrab has quit [Ping timeout: 256 seconds]
sevvie has quit [Ping timeout: 256 seconds]
Hirzu has quit [Ping timeout: 264 seconds]
plashchynski has joined #ruby
sevvie has joined #ruby
_ixti_ has joined #ruby
naftilos76 has quit [Remote host closed the connection]
n80 has quit [Quit: n80]
kalusn has quit [Remote host closed the connection]
RegulationD has joined #ruby
covercash has joined #ruby
_ixti_ has quit [Quit: WeeChat 1.1.1]
Regulati_ has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
pen has joined #ruby
Guest123 has joined #ruby
sinkensabe has joined #ruby
kaiZen has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
FooMunki_ has joined #ruby
Regulati_ has quit [Ping timeout: 240 seconds]
riotjones has joined #ruby
sinkensabe has quit [Ping timeout: 245 seconds]
RegulationD has joined #ruby
havenwood has joined #ruby
mikecmpbll has joined #ruby
serivichi has joined #ruby
jenrzzz has joined #ruby
apxm has joined #ruby
zhan has quit [Ping timeout: 246 seconds]
Aswebb_ has joined #ruby
Takle has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
riotjones has quit [Ping timeout: 272 seconds]
aphprentice_ has joined #ruby
DLSteve has quit [Quit: Textual IRC Client: www.textualapp.com]
centrx has joined #ruby
thumpba has quit [Remote host closed the connection]
<Deckon> ok, I found how to add data and show the data of the json but, how I add and change in a specific field?
<apeiros_> Deckon: you parse the json, and you modify it like any other hash/array/nesting of the two
mikecmpbll has quit [Quit: i've nodded off.]
serivichi has quit [Ping timeout: 244 seconds]
kirun has quit [Quit: Client exiting]
Limix has joined #ruby
<TheNet> can I get a pid from the port it's listening to using Process?
<jhass> TheNet: that doesn't make much sense, can you rephrase?
<TheNet> jhass: sudo netstat -tapen | grep ":25569 " but in pure ruby
<jhass> ah, gotcha
textblind has quit [Ping timeout: 264 seconds]
<jhass> I doubt it's in stdlib/core, but maybe someone wrote a binding to the kernel API
<Deckon> apeiros, could you give me an example
gr33n7007h has quit [Ping timeout: 256 seconds]
<TheNet> jhass: eh, probably easier to just run the command then
<Deckon> I'm to new in the use of this data
<shevy> hmm to make a regex optional
<shevy> I can use ?
<shevy> but do I use it before, or afterwards
<jhass> TheNet: btw on modern linux netstat is semi-deprecated in favor of ss
<apeiros_> Deckon: data = JSON.parse(json); modified = do_stuff_with(data); JSON.dump(modified)
javaserver has joined #ruby
textblind has joined #ruby
teddyp1cker has joined #ruby
threh has joined #ruby
pontiki has quit [Quit: bbl]
javaserver has quit []
lordkryss has quit [Quit: Connection closed for inactivity]
teddyp1cker has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 265 seconds]
hiyosi has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
yfeldblu_ has joined #ruby
Megtastique has quit []
fgo has joined #ruby
<eam> 15:22 < jhass> I doubt it's in stdlib/core, but maybe someone wrote a binding to the kernel API
<eam> actually that info's just available via /proc
<jhass> that's so unixy
<apeiros_> linuxy
<apeiros_> unix no /proc
<jhass> but everything a file on unix
<eam> TheNet: /proc/net/tcp for ports and you'll have to walk /proc/*/fd to find the process <-> socket mapping
threh has quit [Ping timeout: 252 seconds]
<apeiros_> would be nice if osx had /proc too
<eam> net/tcp is going to be slow on high traffic systems (which is why netstat -> ss)
<eam> but should be fine for most
<jhass> apeiros_: isn't even kdbus a filesystem now? :D
<apeiros_> no idea. not on top of those things :-|
yfeldblum has quit [Ping timeout: 255 seconds]
<eam> jhass: device isn't it?
<jhass> no, I think that was the initial patch and they didn't like that approach
fgo has quit [Ping timeout: 256 seconds]
threh has joined #ruby
jtreminio has joined #ruby
<jtreminio> Evening all!
<eam> aha
monod has quit [Quit: Sto andando via]
nii236 has joined #ruby
dfinninger has joined #ruby
martinbmadsen has quit [Ping timeout: 264 seconds]
<jtreminio> I am looking for a deep merge function for hashes; basically if I have yaml like https://github.com/puphpet/puphpet/blob/master/src/Puphpet/Extension/VagrantfileLocalBundle/Resources/config/defaults.yml I want to have another yaml that only defines vm.provision.puppet.manifest_path and keep all other values as is. Right now using a simple merge function overwrite everything not defined in second hash
<jtreminio> Someone submitted this, would it work as expected? https://github.com/puphpet/puphpet/issues/1370#issuecomment-74316362
Fire-Dragon-DoL has joined #ruby
nii236 has quit [Ping timeout: 264 seconds]
dfinninger has quit [Ping timeout: 264 seconds]
<centrx> jtreminio, It is available in ActiveSupport
<centrx> Hash#deep_merge
textblind has quit [Ping timeout: 240 seconds]
<jtreminio> hmmm... installling gem just for one function isn't possible for my scenario. I may just copy/paste it then
iwaffles has quit [Quit: iwaffles]
<centrx> yeah
<bradland> good luck copy/pasting from AS. it has a tendency to rely on other AS methods.
<bradland> not sure about Hash#deep_merge though
<centrx> This one doesn't seem to: deep_merge! (called by deep_merge)
SouL has quit [Ping timeout: 252 seconds]
<centrx> actually deep_merge! uses deep_merge, so copy both of them
morenoh149 has joined #ruby
<jtreminio> Wait, you lost me centrx. I know just as much ruby as my dead grandma
hmsimha has joined #ruby
<centrx> She was quite a lady
<shevy> a true hacker
postmodern has joined #ruby
ptrrr has joined #ruby
ptrrr has quit [Client Quit]
boshhead has quit [Remote host closed the connection]
<jtreminio> centrx: I think I understand. You just meant to make sure to copy the whole file
threh has quit [Ping timeout: 264 seconds]
threh has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
<bradland> jtreminio: he means you need to copy both the deep_merge and deep_merge! methods
<bradland> not necessarily the whole file
<jtreminio> right, without the hash class definition. gotcha
<bradland> heh
<bradland> i was going to say, that's about the whole file lol
sevvie has quit [Ping timeout: 246 seconds]
<bradland> if you include the Hash definition, you'll be re-opening the Hash class and adding these methods globally, which may not be what you want
Deckon has quit [Quit: Leaving]
threh has quit [Ping timeout: 250 seconds]
<eam> ruh roh, this finalizer issue only occurs in certain ruby versions
agrinb has joined #ruby