jhass changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.2.4; 2.1.8; 2.0.0-p648: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
yfeldblum has joined #ruby
moeSeth has quit [Quit: Connection closed for inactivity]
akem has quit [Quit: Bye]
firstdayonthejob has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
s00pcan has joined #ruby
dwfait has quit [Quit: dwfait]
devbug has quit [Ping timeout: 246 seconds]
_stu_ has joined #ruby
bubbys has quit [Ping timeout: 255 seconds]
bubbys has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pwnd_nsfw has joined #ruby
_djbkd has quit [Quit: My people need me...]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
hxegon has joined #ruby
seitensei has joined #ruby
mary5030 has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
radgeRayden_ has joined #ruby
radgeRayden has quit [Read error: Connection reset by peer]
shanemcd has joined #ruby
seitensei has quit [Ping timeout: 260 seconds]
<Ox0dea> Wait, what exactly is wrong with "subtractive" composition? I reckon samgerber might be onto something.
samgerber has quit [Remote host closed the connection]
samgerber has joined #ruby
<Ox0dea> "Carving" some specific class out of the marble of some more general one seems an idea worth pursuing a little further.
snapcase has quit [Quit: Lost terminal]
<Ox0dea> I suppose it's not the done thing by dint of its being difficult to do in most languages, but Ruby makes it very easy to remove behavior.
snapcase has joined #ruby
Rickmasta has joined #ruby
idefine has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
CloCkWeRX has joined #ruby
idefine has quit [Ping timeout: 256 seconds]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruu_ has joined #ruby
idefine has joined #ruby
slucx has joined #ruby
Sucks has quit [Remote host closed the connection]
ruu_ has quit [Ping timeout: 240 seconds]
idefine has quit [Ping timeout: 272 seconds]
lipoqil has joined #ruby
decoponio has quit [Quit: Leaving...]
Sucks has joined #ruby
Sucks has quit [Read error: Connection reset by peer]
stannard has quit [Remote host closed the connection]
Sucks has joined #ruby
_stu_ has quit [Quit: _stu_]
joneshf-laptop has quit [Remote host closed the connection]
joneshf-laptop has joined #ruby
nerium has quit [Quit: nerium]
shanemcd has quit [Remote host closed the connection]
<YankNYC> anyone else ever get an rmagick error when using it with carrierwave gem
marr has quit []
Sucks has quit [Read error: Connection reset by peer]
<YankNYC> isn't an uploader a basic thing and as long as I use a white list for extensions and validations it's secure
<YankNYC> and decouple it with a cdn
chouhoulis has joined #ruby
<YankNYC> cause the carrierwave project has failing builds. other then that there's paperclip
pawnbox has joined #ruby
spacesebi has joined #ruby
RegulationD has joined #ruby
symm- has quit [Quit: Leaving...]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sucks has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
shortdudey123 has quit [Read error: Connection reset by peer]
Waheedi has left #ruby [#ruby]
SCHAAP137 has joined #ruby
<Papierkorb> YankNYC: and now, why is a whitelist for file extensions a "security feature"?
RegulationD has quit [Ping timeout: 256 seconds]
pawnbox has quit [Ping timeout: 256 seconds]
<Papierkorb> That would be news to me
railswebdev has joined #ruby
<spacesebi> Hey guys, really noob question here that I've been trying to find the answer to for the last hour: I wrote a script that parses ARGV values that contain quotation marks. Now that's all good and well while in my IDE / RubyMine, but if I call it using zsh/sh/any other shell, the quotes get removed. See http://pastie.org/10642444 for my minimised exam
<spacesebi> ple.
<Papierkorb> spacesebi: That's expected behaviour of your shell. Why are you looking for quotation marks?
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zast has joined #ruby
<Papierkorb> spacesebi: If you want to really pass a quotation mark to a process from your shell, backslash-escape it
Sucks has quit [Read error: Connection reset by peer]
<adaedra> spacesebi: replace your line 6 by `curl_args += "foo#{args}foo"`, you should see another difference.
<Papierkorb> Another solution to really-pass-quotes would be putting them in "opposite" quotes. Double quotes in single quotes and vice-versa. Do note that double and single quotes have different behaviour, comparable to what ruby does with them
<spacesebi> @papierkorb: does that mean that RubyMine does not produce standard behaviour?
<adaedra> It may be just that it doesn't do shell escape.
<Papierkorb> spacesebi: apparently. Whatever it does, it does not invoke your shell (or it escapes the quotes itself before invoking the shell)
<adaedra> It's like the difference between system when using it with one string or multiple strings.
Rickmasta has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<spacesebi> papierkorb: so far I am using regexes with the quotation marks to determine certain behaviours. Can you propose any alternative to how to to parse this without getting rid of the quotation marks? Unfortunately I am limited by external factors when it comes to the layout of the commands.
<hightower4> Hey, did someone successfully read keyboard input from /dev/input/eventXX and if so, how?
<adaedra> that's not the place for ads.
dsdeiz has quit [Changing host]
dsdeiz has joined #ruby
<Papierkorb> spacesebi: xy problem. What problem are you trying to solve? The quotes are a symptom of your problem, but not the problem itself.
<adaedra> hightower4: do you need to read from here? There are way better ways of obtaining keyboard input.
ohaibbq_ has joined #ruby
<adaedra> more portables ones, furthermore.
<spacesebi> papierkorb: sorry, that was horribly worded. I want to be able to parse commands in the style -H 'header files', -D 'data storage' and whatnot. I thought using a whole CLI parsing framework would be a bit overkill.
<Papierkorb> spacesebi: Just use the OptionParser class. it's part of ruby, and can do that easily
<Radar> Highly recommend using something like OptionParser or Thor for this.
<spacesebi> papierkorb: thank you, I'll look into that.
<Papierkorb> Radar: OOOOHHHHHAAAAYYYYOOOO
Vitor has quit [Ping timeout: 260 seconds]
<Radar> Papierkorb: hey hey
<hightower4> adaedra, well, I am reading input from a device that emulates a keyboard (letters, numbers, newline). How would you read it?
jottr_ has quit [Quit: WeeChat 1.3]
shortdudey123 has joined #ruby
ornerymoose has joined #ruby
idefine has joined #ruby
<adaedra> hightower4: from stdin
<hightower4> adaedra, it's not sending its events to X or the terminal
<hightower4> (Because it must not act as a system keyboard)
ohaibbq has quit [Ping timeout: 272 seconds]
spacesebi has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Papierkorb> hightower4: is that some kind of PIN input keypad?
<hightower4> It's a barcode scanner
<Papierkorb> hightower4: Libusb
skarn has joined #ruby
<Papierkorb> hightower4: but usually those things just send key presses to the computer. it's a feature. why not use it?
<hightower4> Papierkorb, because it must not act as a system keyboard. I need to be able to open it as a separate device
hxegon has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
idefine has quit [Ping timeout: 256 seconds]
<Papierkorb> With LibUSB you can act as driver for a USB device (If it's not a USB device .. good luck?). Didn't go that far yet, but you may have to implement the USB HID protocol if you go that route. Never did anything with reading from /dev/input though.
<hightower4> Reading from /dev/input seems more trivial than using libusb, since the data is almost ready for use. The example in C which works is http://www.thelinuxdaily.com/2010/05/grab-raw-keyboard-input-from-event-device-node-devinputevent/
<hightower4> It must be comparably simple in Ruby, but I was trying with libevdev gem, and I wasn't getting good data out from it
spacesebi has joined #ruby
hxegon is now known as hxegon_AFK
<Papierkorb> hightower4: "didn't work" ?
<Papierkorb> hightower4: are you running the script as root?
dsdeiz has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
blackmesa has joined #ruby
bronson has joined #ruby
troulouliou_div2 has joined #ruby
griffindy has quit [Ping timeout: 246 seconds]
nocd has joined #ruby
devbug has joined #ruby
hxegon_AFK has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hectortrope has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 265 seconds]
blackjid has quit [Max SendQ exceeded]
blackjid has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
Vitor has joined #ruby
zzz_ has joined #ruby
solocshaw has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
<YankNYC> Papierkorb you're right whitelisting wouldn't help. thanks for pointing it out
mistermocha has joined #ruby
zzz has quit [Ping timeout: 240 seconds]
kirun has quit [Quit: Client exiting]
<Papierkorb> YankNYC: What I was trying to get at was that you're really feeding (could be) malicious data into Image Magick. IMO, you should at least log every encountered error, maybe even with the file copied to some 'quarantine'. Magick could have a bug which could cause it to run shellcode (that is, machine code or program code) on your server with the permissions of the process it started it (Probably your rails server or a sidekiq runner)+#
<Papierkorb> User input is scary :)
ecksit has joined #ruby
<YankNYC> wow so Magick shouldn't be used
<kallisti5> adaedra: not really an ad... just posting once that the internet archive (not for profit) is doing a 24-hour fund raiser. Since archive.org archives a lot of ruby-related sites it's slightly relevant :P
<YankNYC> i have been using Agile rails Primer and it builds an unploader from scratch but sometimes in these books it may not be quite complete for production code
<Papierkorb> YankNYC: Well no it's fine to use in theory. In general, you need to take into account that a library you're using has some bug which could have horrendous effects on your system
zzz_ has quit [Quit: Leaving...]
<Papierkorb> YankNYC: Any library and gem. If you're using Devise, and a security bug in it was found, you'd be screwed too :)
<YankNYC> lol right but using devise is still more secure then rolling you're own at an intermediate level
<YankNYC> i rolled my own using hartl's tutorial but haha... not production quality
<Ox0dea> Papierkorb: Blame the tools, you say?
<YankNYC> also the concepts of roles with cancancan is favorable for current project
<Papierkorb> Ox0dea: No, blame yourself for thinking that your tools are perfectly safe 100% of the time.
<YankNYC> nothing is ever safe lol
<Papierkorb> Ox0dea: and then blame the tool for having an astrocious bug by filing a ticket :P
nofxx has quit [Ping timeout: 260 seconds]
<YankNYC> do the best you can then when you have time try to hack your api and learn how to reinforce
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
<Ox0dea> > astrocious (adj.): of or relating to astrocity, the quality of being simultaneously stellar and terrible.
dsdeiz has joined #ruby
ecksit has quit []
<Papierkorb> Ox0dea: you have to admit that some exploits that are found are pretty ingenious
ledestin has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nocd has quit [Ping timeout: 260 seconds]
<Ox0dea> I do, don't I?
<Ox0dea> Imagine the ingenuity of the ones which remain undiscovered!
DavidDudson has joined #ruby
Rickmasta has joined #ruby
_stu_ has joined #ruby
hxegon has joined #ruby
<Papierkorb> The Juniper one from yesterday was pretty interesting. Not because exploiting a weak random number generator is unheard of (at least in theory), but because of IMO that a security company did really trust a gov's security agency to not leave a backdoor behind, which itself is so deeply rooted in the RNG that mere numbers, which look arbitrary, and "almost everything will do here", to the untrained eye (that includes mine), are the cause for it.
samgerber has quit [Remote host closed the connection]
<Ox0dea> matz killin' 'em with kindness.
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
<Papierkorb> that .to_b is basically PHPs ==
<shevy> lol
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> that's where you can modify ruby core and add to_b
<Papierkorb> huh is empty string false in python?
<shevy> 't'.to_b # => true
<shevy> 'true'.to_b # => true
bronson has joined #ruby
<shevy> that is funny because I actually do the same conversions for storing "t" in a yaml file meaning true
<Papierkorb> IMO that's exactly what refinements would be good for
<Papierkorb> shevy: mh? Just store literal 'true' in it and you'll get true back?
idefine has joined #ruby
<shevy> yeah but t is so much shorter than true and f is shorter than false!
<shevy> why don't you want me to be lazy :(
<Papierkorb> um, Psych does it for you .. how's it less lazy to just pass a boolean than fiddling with 't' ?
<Papierkorb> true vs 't'. the latter even takes longer to type because of the weird moves you have to do to reach the correct keyboard keys
<shevy> psych converts t into true?
<Papierkorb> no, but it makes true to be .. true
<Papierkorb> >> 'do i work?'
<ruboto> Papierkorb # => "do i work?" (https://eval.in/488067)
* shevy scratches his head.
<Papierkorb> >> require 'yaml'; YAML.load(YAML.dump foo: true)
<ruboto> Papierkorb # => {:foo=>true} (https://eval.in/488068)
<Papierkorb> awesome
n008f4g_ has quit [Ping timeout: 272 seconds]
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
jottr has quit [Quit: WeeChat 1.3]
s1kx has quit [Quit: bai]
chouhoulis has joined #ruby
baweaver has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
scripore has quit [Remote host closed the connection]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s00pcan has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
s00pcan has joined #ruby
shoutsid has joined #ruby
scripore has joined #ruby
shoutsid has quit [Client Quit]
stannard has joined #ruby
shoutsid has joined #ruby
bronson has quit [Remote host closed the connection]
shoutsid has quit [Client Quit]
Vitor has quit [Ping timeout: 240 seconds]
moshef has joined #ruby
sulky has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<moshef> hi, would appreciate some regex help. https://gist.github.com/bigimot/debe0095a5c28cafdc66 I’m trying to grab the value of the second id tag. the full text is longer so I thought maybe I can look up the id="EWT" tag (static) and look for the next id tag, which is what I want..
railswebdev has joined #ruby
houhouli_ has joined #ruby
<Papierkorb> moshef: Use Nokogiri
<moshef> Papierkorb I am, but I still can’t get to the attribute
<moshef> there is no attribute there, just a big array with bunch of values (each one is parsed as a node)
<Papierkorb> moshef: Please also read this first https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454 and think about it everytime you think "lets just parse this piece of XML with a regex..."
<moshef> I REALLY prefer not to use regex
<Papierkorb> and why didn't it work then?
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Papierkorb> it looks like more or less valid XML to me. doing the_nokogiri_document.at_css('#FRW')['value'] should be enough
houhoulis has quit [Ping timeout: 255 seconds]
<moshef> the FRW field is dynamic. Open the gist again please https://gist.github.com/bigimot/debe0095a5c28cafdc66
<moshef> I attached an example of a node in the array (there are about 100 of these)
troulouliou_div2 has quit [Remote host closed the connection]
<moshef> i only know the name of the element which is an attribute inside the attribues array
<Papierkorb> moshef: so you're actually looking for tags with a name of 'ANSWER'?
c355e3b has quit [Quit: Connection closed for inactivity]
<moshef> not exactly. for each node there is answer tag (each node represent an attribute)
<moshef> so I’m looking for the node who holds the attribuet I’m looking for (id=“EDT”)
<moshef> and in that node I’ll grab the answer..
_stu_ has quit [Quit: _stu_]
shanemcd has joined #ruby
<Papierkorb> What's up with all those random ids? Can you, please, give me plain and simple, a complete example XML document (no unreadable nokogiri tree), and the expected output?
<moshef> lol, so I can just use #EWT and it works
fexilal has quit [Ping timeout: 256 seconds]
<moshef> sorry, it’s structured that way when I print it, but I’ll just use what you suggest (at_css tag)
<moshef> thanks a lot!
<Papierkorb> cheers
<Papierkorb> also, good night.
s00pcan has quit [Ping timeout: 240 seconds]
<moshef> gn
moshef has quit [Quit: moshef]
dlitvak has quit [Remote host closed the connection]
bb010g has quit [Quit: Connection closed for inactivity]
shanemcd has quit [Ping timeout: 246 seconds]
s00pcan has joined #ruby
blackmesa has joined #ruby
rgtk has quit [Remote host closed the connection]
ElFerna has joined #ruby
_stu_ has joined #ruby
stannard has quit [Remote host closed the connection]
dlitvak has joined #ruby
seitensei has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nonopposition has quit [Remote host closed the connection]
seitensei has quit [Ping timeout: 265 seconds]
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
jcdesimp has joined #ruby
lessless has joined #ruby
diegoviola has quit [Ping timeout: 255 seconds]
idefine has quit [Remote host closed the connection]
diego1 is now known as diegoviola
nonopposition has joined #ruby
spacesebi has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
camilasan has quit [Remote host closed the connection]
moeabdol has joined #ruby
ohaibbq has joined #ruby
camilasan has joined #ruby
dsdeiz has quit [Ping timeout: 240 seconds]
ohaibbq_ has quit [Ping timeout: 246 seconds]
ruu_ has joined #ruby
mistermocha has quit [Remote host closed the connection]
cmoneylulz has joined #ruby
idefine has joined #ruby
nertzy has joined #ruby
mahk has joined #ruby
madhatter has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
ruu_ has quit [Ping timeout: 246 seconds]
mistermo_ has joined #ruby
idefine has quit [Ping timeout: 256 seconds]
nanoz has joined #ruby
mistermocha has quit [Ping timeout: 260 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
ruby-lang492 has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samgerber has joined #ruby
mistermo_ has quit [Ping timeout: 265 seconds]
mistermocha has joined #ruby
baweaver has quit [Remote host closed the connection]
dwfait has joined #ruby
arescorpio has quit [Quit: Leaving.]
Danishman has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
theRealGent has joined #ruby
chouhoulis has joined #ruby
andykingking has joined #ruby
mistermocha has quit [Ping timeout: 246 seconds]
<theRealGent> Hi. I’m looking to get logstash running on my local ruby install. I’m using rvm and jruby. For some reason, whenever I launch logstash, i get the error “LoadError: no such file to load -- bundler”
<theRealGent> But I can run bundler
<theRealGent> I do a gem show and can see it ~/.rvm/gems/jruby-9.0.4.0/gems/bundler-1.11.2
mistermocha has joined #ruby
guacamole has joined #ruby
andykingking has quit [Client Quit]
guacamole has quit [Client Quit]
DavidDudson has joined #ruby
dwfait has quit [Read error: Connection reset by peer]
diegoviola has quit [Ping timeout: 240 seconds]
mistermo_ has joined #ruby
stannard has joined #ruby
diego1 has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
duderonomy has quit [Ping timeout: 256 seconds]
mistermocha has quit [Ping timeout: 240 seconds]
yqt has quit [Ping timeout: 272 seconds]
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
ElFerna has quit [Ping timeout: 255 seconds]
idefine has joined #ruby
mistermo_ has quit [Ping timeout: 265 seconds]
stannard has quit [Ping timeout: 256 seconds]
mistermocha has joined #ruby
idefine has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
cmoneylulz has quit [Remote host closed the connection]
mistermo_ has joined #ruby
mistermocha has quit [Ping timeout: 246 seconds]
<Radar> theRealGent: I see your problem ".rvm"
<Radar> theRealGent: what OS are you on?
<theRealGent> Radar: OS X
dwfait has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
<Radar> theRealGent: rvm implode --force, and then
mistermocha has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Radar> obviously replacing the instructions for MRI Ruby with jRuby.
<Radar> JRuby*
<Radar> I think RVM is doing something weird there and it's going to take too long to debug what that something is.
<Radar> Quite a few people have been running into troubles with RVM and then those problems go away when they use chruby+ruby-install
<theRealGent> If only it was a bit easier to install. $ brew install rvm
<theRealGent> Quite nice.
xcesariox has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
xcesariox has quit [Max SendQ exceeded]
<Ox0dea> theRealGent: Simple != easy.
ohaibbq has quit [Quit: Leaving...]
* theRealGent sighs
mistermocha has quit [Ping timeout: 272 seconds]
Yzguy has joined #ruby
dwfait has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
theRealGent has quit [Quit: theRealGent]
ornerymoose has quit [Quit: ornerymoose]
Yzguy has quit [Quit: Zzz...]
hxegon is now known as hxegon_AFK
dlitvak has quit [Remote host closed the connection]
DLSteve has joined #ruby
Jardayn has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
nateberkopec has quit [Quit: Leaving...]
wildlander has quit [Quit: Saliendo]
ornerymoose has joined #ruby
charliesome has quit [Client Quit]
yfeldblum has quit [Ping timeout: 260 seconds]
ruby-lang492 has quit [Quit: Page closed]
idefine has joined #ruby
dwfait has joined #ruby
lockdown has joined #ruby
xcesariox has joined #ruby
spacesebi has joined #ruby
hxegon_AFK has quit [Ping timeout: 260 seconds]
idefine has quit [Ping timeout: 256 seconds]
spacesebi has quit [Client Quit]
madcodes has quit [Ping timeout: 240 seconds]
colegatron has quit [Ping timeout: 240 seconds]
dwfait has quit [Read error: Connection reset by peer]
ruu_ has joined #ruby
Rickmasta has joined #ruby
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pontiki> Radar: can i just fangirl a sec? i plugged your ubuntu instructions in place of the ones that were being used on rails.mn (not published yet, still a PR)
ruu_ has quit [Ping timeout: 246 seconds]
moeabdol has quit [Quit: WeeChat 1.3]
<pontiki> complete install of an ubuntu/trusty64 vm to a rails "hello world" controller in 20 minutes
charliesome has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Radar> woot woot :D
lockdown has quit [Remote host closed the connection]
<pontiki> that's doing it as a student would, by typing everything out, no scripts, ansible, etc
<pontiki> so, thank you for writing them out clearly and succinctly
mooe has joined #ruby
<Radar> no worries :)
devbug has quit [Ping timeout: 255 seconds]
colegatron has joined #ruby
dlitvak has joined #ruby
agent_white has joined #ruby
chouhoulis has joined #ruby
ibouvousaime has quit [Ping timeout: 256 seconds]
seitensei has joined #ruby
radgeRayden_ has quit [Read error: Connection reset by peer]
radgeRayden__ has joined #ruby
DavidDudson has quit [Max SendQ exceeded]
dlitvak has quit [Ping timeout: 256 seconds]
scripore has joined #ruby
DavidDudson has joined #ruby
Drakevr has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
railswebdev has joined #ruby
* St1gma_ throws Radar a cookie
<Radar> hi
<St1gma_> lol
solocshaw has joined #ruby
stevenxl has quit [Ping timeout: 260 seconds]
stevenxl has joined #ruby
stevenxl has quit [Changing host]
stevenxl has joined #ruby
bronson has joined #ruby
_stu_ has quit [Quit: _stu_]
moeabdol has joined #ruby
idefine has joined #ruby
davedev2_ has quit [Ping timeout: 260 seconds]
moeabdol has quit [Client Quit]
bronson has quit [Ping timeout: 265 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moeabdol has joined #ruby
yashinbasement has joined #ruby
idefine has quit [Ping timeout: 256 seconds]
rattatmatt has quit [Quit: Leaving]
hxegon has joined #ruby
braincrash has quit [Quit: bye bye]
yeticry has quit [Read error: Connection reset by peer]
yeticry has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
rgtk has joined #ruby
Yiota has quit [Ping timeout: 255 seconds]
scripore has quit [Quit: This computer has gone to sleep]
nateberkopec has joined #ruby
cassioscabral has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
rgtk has quit [Ping timeout: 246 seconds]
braincrash has joined #ruby
braincrash is now known as braincras
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nanoz] has joined #ruby
spacesebi has joined #ruby
nateberkopec has quit [Ping timeout: 256 seconds]
nertzy has joined #ruby
nanoz has quit [Ping timeout: 240 seconds]
spacesebi has quit [Client Quit]
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
ruu_ has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dorei has quit []
ruu_ has quit [Ping timeout: 260 seconds]
hxegon has joined #ruby
ferr has quit [Ping timeout: 246 seconds]
govg has quit [Ping timeout: 240 seconds]
AncientAmateur has joined #ruby
djbkd has joined #ruby
xcesariox has quit [Ping timeout: 255 seconds]
RegulationD has joined #ruby
chouhoulis has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
tomdp has quit [Ping timeout: 260 seconds]
cassioscabral has quit [Quit: cassioscabral]
cassioscabral has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Ping timeout: 272 seconds]
govg has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
YankNYC has quit [Quit: Connection closed for inactivity]
bronson has joined #ruby
AncientAmateur has quit [Ping timeout: 272 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
Dimik has joined #ruby
Rickmasta has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lessless has joined #ruby
cyfr0n1 is now known as cyfr0n
dh64 has quit [Quit: Konversation terminated!]
jschmid has joined #ruby
stevenxl has quit [Quit: leaving]
Mon_Ouie has quit [Quit: WeeChat 1.3]
xcesariox has joined #ruby
AncientAmateur has joined #ruby
jschmid has quit [Ping timeout: 256 seconds]
howdoi has joined #ruby
DavidDudson has joined #ruby
St1gma has quit [Quit: Leaving]
nateberkopec has joined #ruby
moei has quit [Quit: Leaving...]
pawnbox has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
spacesebi has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nateberkopec has quit [Ping timeout: 240 seconds]
spacesebi has quit [Client Quit]
pawnbox has quit [Ping timeout: 272 seconds]
ruu_ has joined #ruby
dlitvak has joined #ruby
ruu_ has quit [Ping timeout: 240 seconds]
dlitvak has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
varunwachaspati has joined #ruby
jessemcgilallen has joined #ruby
diegoviola has quit [Quit: WeeChat 1.3]
yfeldblum has joined #ruby
chouhoulis has joined #ruby
ruu_ has joined #ruby
yashinbasement has quit [Quit: Leaving]
chouhoulis has quit [Ping timeout: 255 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
jcdesimp has quit [Remote host closed the connection]
nertzy has quit [Quit: This computer has gone to sleep]
blub has quit [Remote host closed the connection]
stannard has joined #ruby
seitensei has quit [Remote host closed the connection]
DavidDudson has joined #ruby
moei has joined #ruby
moei has quit [Client Quit]
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
stannard has quit [Ping timeout: 256 seconds]
nertzy has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rgtk has joined #ruby
pawnbox has joined #ruby
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
rgtk has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
Tempesta has joined #ruby
ruu_ has quit [Remote host closed the connection]
indiebrain has joined #ruby
nateberkopec has joined #ruby
hakunin has quit []
spacesebi has joined #ruby
dlitvak has joined #ruby
nateberkopec has quit [Ping timeout: 256 seconds]
darkf has joined #ruby
alon has quit [Remote host closed the connection]
idefine has joined #ruby
spacesebi has quit [Client Quit]
pawnbox has joined #ruby
dlitvak has quit [Ping timeout: 255 seconds]
idefine has quit [Ping timeout: 256 seconds]
jessemcgilallen has quit [Quit: jessemcgilallen]
devbug has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
indiebrain has quit [Ping timeout: 265 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
phroa has joined #ruby
<phroa> so I'm doing day 12 of Advent of Code - "extract all the numbers from a string and add them up". my code is apparently failing to produce the right output, even though it works for all the examples they give. does anyone see any obvious errors in my code? https://gist.github.com/phroa/bd28d2d5834038297651
<Ox0dea> phroa: You're failing to account for the hyphens that prefix negative numbers.
<Ox0dea> Erm, no, you're not. :<
<phroa> that's what the '-?' at the start of the regex does
<phroa> yeah :P
yardenbar has joined #ruby
<phroa> (and the error says I guessed too low, so it wasn't the issue regardless)
<Ox0dea> Oh, you're only matching at most one digit.
<phroa> oh, golly
<Ox0dea> I used /[-\d]+/.
<phroa> I'm mildly annoyed none of the provided test cases are longer than one digit. (excluding hyphens). cheers
<Ox0dea> Happy to help.
<Ox0dea> Enjoy part deux. :)
railswebdev has quit [Quit: Textual IRC Client: www.textualapp.com]
onechr has joined #ruby
Emmanuel_Chanel_ has quit [Ping timeout: 265 seconds]
chouhoulis has joined #ruby
last_staff has quit [Quit: last_staff]
underplank has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
lxsameer has joined #ruby
cajone is now known as cajone_afk
onechr has quit [Quit: Textual IRC Client: www.textualapp.com]
idefine has joined #ruby
seitensei has joined #ruby
lessless has joined #ruby
idefine has quit [Ping timeout: 256 seconds]
arup_r has joined #ruby
tomdp has joined #ruby
seitensei has quit [Remote host closed the connection]
Puffball has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
beast has joined #ruby
arup_r has joined #ruby
underplank has quit [Quit: underplank]
Puffball has joined #ruby
underplank has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
idefine has joined #ruby
underplank has quit [Client Quit]
Laevos has joined #ruby
samgerber has quit [Remote host closed the connection]
Laevos has left #ruby [#ruby]
<camus> Ox0dea: I got further with my script, but was wondering, instead of File.write, is there a class method that will just append to my file?
dagda1 has joined #ruby
<Ox0dea> camus: Are you sure that's what you want?
samgerber has joined #ruby
<Ox0dea> You want a file containing JSON, one serialized Hash per line?
idefine has quit [Ping timeout: 256 seconds]
nateberkopec has joined #ruby
cassioscabral has quit [Quit: cassioscabral]
<camus> Ox0dea: Basically, if I run it with a file that has more than 5 email addresses it crashes, and if I try to do it 5 at a time, it isn't appending, but overwriting each time.
cassioscabral has joined #ruby
cassioscabral has quit [Client Quit]
<Ox0dea> camus: Well, you'll want to figure out the cause of that crash, no?
<camus> Yes, I was thinking it is because the response is too big.
<Ox0dea> If you do it with appends, you'll then face the problem of deciding where to pick back up in the list so as not to have your output contain duplicates.
<Ox0dea> It's more likely the case you're being rate-limited.
DeafieGamer has quit [Max SendQ exceeded]
Bugboy1028 has joined #ruby
nanoz] has quit [Quit: <3]
nateberkopec has quit [Ping timeout: 260 seconds]
<camus> Maybe I could do a "sleep(5)" or something like that.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AncientAmateur has quit [Ping timeout: 240 seconds]
<Ox0dea> But I understand your use case might be simple enough as not to warrant a full-blown wrapper.
<camus> Thanks, I saw that library but was thinking I would have to build an --- yeah, exactly.
mooe has quit [Quit: Connection closed for inactivity]
<Ox0dea> Then, yeah, you'll probably want to just check the response headers and #sleep accordingly.
<Ox0dea> No sense in waiting a whole <n> seconds when you don't have to.
<camus> Thanks again for your help.
<Ox0dea> Sure thing.
charliesome has joined #ruby
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
charliesome has quit [Client Quit]
karapetyan has joined #ruby
Emmanuel_Chanel has joined #ruby
karapetyan has quit [Ping timeout: 255 seconds]
govg has quit [Ping timeout: 256 seconds]
nixmaniack has joined #ruby
jcdesimp has joined #ruby
blackgoat has joined #ruby
agent_white has left #ruby [#ruby]
underplank has joined #ruby
chouhoulis has joined #ruby
varunwachaspati has quit [Quit: Connection closed for inactivity]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lictor36 has joined #ruby
madcodes has joined #ruby
jcdesimp has quit [Ping timeout: 256 seconds]
rippa has joined #ruby
chouhoulis has quit [Ping timeout: 265 seconds]
dionysus69 has joined #ruby
z3uS has joined #ruby
z3uS has quit [Client Quit]
z3uS has joined #ruby
underplank has quit [Quit: underplank]
z3uS has quit [Client Quit]
govg has joined #ruby
slawrence00 has joined #ruby
hakunin has joined #ruby
spacesebi has joined #ruby
spacesebi has quit [Client Quit]
slawrence00 has quit [Ping timeout: 255 seconds]
hakunin_ has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
samgerber has quit []
hakunin has quit [Read error: Connection reset by peer]
nixmaniack has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
agit0 has joined #ruby
matp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psy_ has quit [Ping timeout: 240 seconds]
manquer has quit [Ping timeout: 272 seconds]
nixmaniack has joined #ruby
agit0 has quit [Ping timeout: 256 seconds]
moei has joined #ruby
manquer has joined #ruby
AccordLTN has joined #ruby
trwyth has joined #ruby
rgtk has joined #ruby
buzz07630072 has quit [Ping timeout: 240 seconds]
PedramT has quit [Remote host closed the connection]
karapetyan has joined #ruby
trwyth has quit [Read error: Connection reset by peer]
rgtk has quit [Ping timeout: 246 seconds]
greenride has joined #ruby
<greenride> Are there any production quality CI servers written in Ruby?
PedramT has joined #ruby
matp has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
PedramT has quit [Ping timeout: 240 seconds]
IrishGringo has quit [Ping timeout: 272 seconds]
arup_r has quit [Remote host closed the connection]
nixmaniack has quit [Read error: Connection reset by peer]
govg has quit [Ping timeout: 260 seconds]
nixmaniack has joined #ruby
arup_r has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
nateberkopec has joined #ruby
ur5us has joined #ruby
<atmosx> Travis?
<greenride> hmm... yes... now that I see the answer... I realize I asked the wrong question. ... meant to ask... Are there any open source production quality CI servers written in Ruby?
tvw has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
govg has joined #ruby
PedramT has joined #ruby
RegulationD has joined #ruby
nixmaniack has quit [Read error: Connection reset by peer]
PedramT has quit [Ping timeout: 265 seconds]
nixmaniack has joined #ruby
nixmaniack has quit [Changing host]
nixmaniack has joined #ruby
chouhoulis has joined #ruby
Mon_Ouie has joined #ruby
cwong_on_irc has quit [Quit: Leaving.]
marr has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
medvedu has joined #ruby
Edward_ has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
arup_r has quit [Remote host closed the connection]
sandstrom has joined #ruby
meatchicken has quit [Ping timeout: 240 seconds]
nixmaniack has quit [Read error: Connection reset by peer]
n1x has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
z3uS has joined #ruby
sigurding has joined #ruby
theRealAlexz has joined #ruby
nonopposition has quit [Ping timeout: 246 seconds]
shanemcd has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
seitensei has joined #ruby
shanemcd has quit [Ping timeout: 265 seconds]
arup_r has joined #ruby
arup_r has quit [Client Quit]
seitensei has quit [Ping timeout: 256 seconds]
devoldmx has quit [Remote host closed the connection]
firstdayonthejob has joined #ruby
zast has quit [Quit: Leaving.]
setient has quit [Read error: Connection reset by peer]
setient has joined #ruby
Mon_Ouie has quit [Ping timeout: 255 seconds]
toretore has quit [Quit: Leaving]
s2013 has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 260 seconds]
spider-mario has joined #ruby
DoubleMalt has joined #ruby
radgeRayden_ has joined #ruby
colegatron has quit [Ping timeout: 240 seconds]
n1x has quit [Read error: Connection reset by peer]
radgeRayden__ has quit [Ping timeout: 246 seconds]
nixmaniack has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
z3uS has quit [Quit: /dev/null]
Snowy has joined #ruby
z3uS has joined #ruby
jcdesimp has joined #ruby
blackgoat_ has joined #ruby
blackgoat has quit [Ping timeout: 265 seconds]
ur5us has quit [Remote host closed the connection]
jcdesimp has quit [Ping timeout: 240 seconds]
nixmaniack has quit [Read error: Connection reset by peer]
nixmaniack has joined #ruby
ornerymoose has joined #ruby
ornerymoose has quit [Client Quit]
lessless has joined #ruby
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
dionysus69 has joined #ruby
colegatron has joined #ruby
pandaant has joined #ruby
nixmaniack has quit [Read error: Connection reset by peer]
nixmaniack has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruu_ has joined #ruby
tomphp has joined #ruby
chouhoulis has joined #ruby
puria has joined #ruby
blackgoat_ has quit [Quit: WeeChat 1.3]
Jackneill has joined #ruby
Snowy has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak has joined #ruby
yfeldblum has joined #ruby
djbkd has quit [Quit: Leaving...]
chouhoulis has quit [Ping timeout: 246 seconds]
blackmesa has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
sandstrom has joined #ruby
jbrhbr has joined #ruby
scripore has joined #ruby
manquer_ has joined #ruby
bronson has joined #ruby
scripore has quit [Client Quit]
nixmaniack has quit []
manquer has quit [Ping timeout: 246 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
Mon_Ouie has joined #ruby
Snowy has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
rgtk has joined #ruby
karapetyan has quit [Ping timeout: 255 seconds]
Snowy has quit [Remote host closed the connection]
devoldmx has joined #ruby
ur5us has joined #ruby
fexilal has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.3]
devoldmx has quit [Ping timeout: 260 seconds]
nateberkopec has joined #ruby
SCHAAP137 has joined #ruby
ruu_ has quit [Remote host closed the connection]
slucx has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 256 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
z3uS has quit [Quit: /dev/null]
karapetyan has joined #ruby
z3uS has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
dlitvak has quit [Remote host closed the connection]
Snowy has joined #ruby
slucx has joined #ruby
ur5us has quit [Remote host closed the connection]
lessless has quit [Excess Flood]
sigurding has quit [Quit: sigurding]
last_staff has joined #ruby
ponga has joined #ruby
sandstrom has joined #ruby
roshanavand has joined #ruby
sandstrom has quit [Client Quit]
Madhur_ has joined #ruby
Snowy has quit [Remote host closed the connection]
madcodes has quit [Ping timeout: 240 seconds]
Snowy has joined #ruby
chouhoulis has joined #ruby
slucx has quit [Ping timeout: 255 seconds]
chouhoulis has quit [Ping timeout: 265 seconds]
InvGhost has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
fullofcaffeine has quit [Ping timeout: 260 seconds]
Madhur_ has quit [Read error: Connection reset by peer]
Ishido has joined #ruby
lokulin has quit [Changing host]
lokulin has joined #ruby
BaroMeter has joined #ruby
AKASkip has joined #ruby
jbrhbr has quit [Quit: Leaving.]
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
stannard has joined #ruby
medvedu has quit [Remote host closed the connection]
seitensei has quit [Ping timeout: 256 seconds]
stannard has quit [Ping timeout: 256 seconds]
shredding has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
nofxx has quit [Ping timeout: 272 seconds]
jcdesimp has joined #ruby
weihan has joined #ruby
nateberkopec has joined #ruby
weihan has quit [Max SendQ exceeded]
hanmac has quit [Ping timeout: 240 seconds]
weihan has joined #ruby
jcdesimp has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Ping timeout: 265 seconds]
blackmesa has joined #ruby
govg has quit [Read error: Connection reset by peer]
govg_ has joined #ruby
Rutix`away is now known as Rutix
puria has quit [Ping timeout: 255 seconds]
spacesebi has joined #ruby
hanmac has joined #ruby
spacesebi has quit [Client Quit]
shredding has quit [Ping timeout: 256 seconds]
skade has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
slucx has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
BaroMeter_ has joined #ruby
BaroMeter has quit [Ping timeout: 250 seconds]
dlitvak has quit [Remote host closed the connection]
FernandoBasso has joined #ruby
cornerma1 has joined #ruby
cornerman has quit [Ping timeout: 240 seconds]
cornerma1 is now known as cornerman
dlitvak has joined #ruby
puria has joined #ruby
chouhoulis has joined #ruby
charliesome has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
cornerma1 has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
cornerman has quit [Ping timeout: 265 seconds]
cornerma1 is now known as cornerman
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
slucx has quit [Ping timeout: 256 seconds]
Snowy has quit [Remote host closed the connection]
duderonomy has joined #ruby
BaroMeter_ has quit [Quit: Leaving]
karapetyan has quit [Ping timeout: 240 seconds]
cornerma1 has joined #ruby
pawnbox has quit [Remote host closed the connection]
last_staff has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
last_staff has joined #ruby
pawnbox has joined #ruby
cornerman has quit [Ping timeout: 272 seconds]
<slackr> jhass, ping?
cornerman has joined #ruby
cornerma1 has quit [Ping timeout: 240 seconds]
FooMunki has joined #ruby
Snowy has quit []
Jet4Fire has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cornerma1 has joined #ruby
cornerman has quit [Ping timeout: 260 seconds]
cornerma1 is now known as cornerman
lianj has quit [Ping timeout: 260 seconds]
lianj has joined #ruby
lianj has quit [Changing host]
lianj has joined #ruby
cornerma1 has joined #ruby
cornerman has quit [Ping timeout: 256 seconds]
cornerma1 is now known as cornerman
AKASkip has quit [Ping timeout: 260 seconds]
devoldmx has joined #ruby
cornerma1 has joined #ruby
cornerman has quit [Ping timeout: 246 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
ferr has joined #ruby
aeipownu_ has joined #ruby
aeipownu_ has quit [Client Quit]
aeipownu_ has joined #ruby
zanzarel has left #ruby [#ruby]
<shevy> if there are two different version of a gem
<shevy> gem foobar-0.0.1 and gem foobar-0.0.2
slucx has joined #ruby
<shevy> is there a trivial way to see what has been updated specifically?
<aeipownu_> gem list
<shevy> like "in file foo.rb, line 33 was removed"
<aeipownu_> and see what version it is
<shevy> please aeipownu_
cornerma1 has quit [Read error: Connection reset by peer]
cornerman has joined #ruby
<matti> :]
<aeipownu_> oh
<aeipownu_> lol
<aeipownu_> i read it wrong
astrobun_ has joined #ruby
slucx has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
cornerma1 has joined #ruby
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
Bloomer has joined #ruby
slucx has joined #ruby
sigurding has joined #ruby
c355e3b has joined #ruby
astrobun_ has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
raeoks has joined #ruby
cornerman has quit [Ping timeout: 240 seconds]
elaptics`away is now known as elaptics
blackmesa has quit [Ping timeout: 265 seconds]
slucx has quit [Quit: Leaving]
skade has quit [Quit: Computer has gone to sleep.]
cornerman has joined #ruby
RegulationD has joined #ruby
ElFerna has joined #ruby
akem has joined #ruby
sdothum has joined #ruby
chouhoulis has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* aeipownu_ slaps aeipownu_ around a bit with a large fishbot
* aeipownu_ slaps aeipownu_ around a bit with a large fishbot
ferr has quit [Quit: WeeChat 1.3]
RegulationD has quit [Ping timeout: 265 seconds]
AlphaAtom has joined #ruby
sandstrom has joined #ruby
agit0 has joined #ruby
robbyoconnor has joined #ruby
ferr has joined #ruby
spacesebi has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
spacesebi has quit [Client Quit]
nateberkopec has joined #ruby
codecop has joined #ruby
millerti has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlphaAtom has joined #ruby
agit0 has quit [Quit: I'm off]
seitensei has joined #ruby
jcdesimp has joined #ruby
cdg has joined #ruby
ElFerna has quit [Ping timeout: 255 seconds]
Uptime has quit [K-Lined]
tomphp has joined #ruby
blackmesa has joined #ruby
moeabdol has quit [Ping timeout: 260 seconds]
seitensei has quit [Ping timeout: 255 seconds]
TomyLobo has joined #ruby
jcdesimp has quit [Ping timeout: 246 seconds]
ElFerna has joined #ruby
icbm has joined #ruby
akem has quit [Remote host closed the connection]
livcd has quit [Ping timeout: 250 seconds]
CloCkWeRX has quit [Quit: Leaving.]
treehug88 has joined #ruby
mjw56 has joined #ruby
ElFerna has quit [Ping timeout: 265 seconds]
d0nn1e has quit [Ping timeout: 255 seconds]
weihan has quit [Quit: Leaving...]
d0nn1e has joined #ruby
Uptime has joined #ruby
bronson has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hectortrope has joined #ruby
moeabdol has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
kmckelvin has joined #ruby
SenpaiSilver has joined #ruby
blackmesa has joined #ruby
sankaber has joined #ruby
huug has joined #ruby
<aeipownu_> does anyone actually talk in here
decoponio has joined #ruby
Jardayn has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
howdoi has quit [Quit: Connection closed for inactivity]
davedev24 has joined #ruby
zanzarel has joined #ruby
zanzarel has quit [Client Quit]
tildes has joined #ruby
chouhoulis has joined #ruby
xblade has joined #ruby
s00pcan has quit [Ping timeout: 272 seconds]
iateadonut has joined #ruby
s00pcan has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
IrishGringo has joined #ruby
smactive has joined #ruby
huug has quit [Quit: Leaving]
infoget has joined #ruby
<infoget> Hi guys, is it possible to shuffle hash?
stannard has joined #ruby
pawnbox has quit [Remote host closed the connection]
synthroid has joined #ruby
pawnbox has joined #ruby
s00pcan has quit [Ping timeout: 260 seconds]
dlitvak has quit [Ping timeout: 265 seconds]
mary5030 has joined #ruby
mjw56 has quit [Remote host closed the connection]
smactive has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
s00pcan has joined #ruby
kirun has joined #ruby
<shevy> it has no .shuffle method
<shevy> so you must manually delete and re-insert key-value pairs
karapetyan has joined #ruby
atomical has joined #ruby
<infoget> but how can I do it, could u give me some hint/
Drakevr has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
<shevy> you are new to ruby?
devoldmx has joined #ruby
tvw has quit [Remote host closed the connection]
atomical_ has joined #ruby
ElFerna has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
IrishGringo has quit [Ping timeout: 265 seconds]
<infoget> yes
<shevy> >> hash = { cat: 'Tom', mouse: 'Jerry' }; hash.merge({cat: hash.delete(:cat)}); hash
<ruboto> shevy # => {:mouse=>"Jerry"} (https://eval.in/488161)
<shevy> ah
<shevy> >> hash = { cat: 'Tom', mouse: 'Jerry' }; hash.merge!({cat: hash.delete(:cat)}); hash
<ruboto> shevy # => {:mouse=>"Jerry", :cat=>"Tom"} (https://eval.in/488163)
<shevy> there
xblade has quit []
atomical has quit [Ping timeout: 240 seconds]
devoldmx has quit [Ping timeout: 256 seconds]
jgpawletko has joined #ruby
mary5030 has quit [Remote host closed the connection]
<adaedra> You could also make it an array, shuffle, make it a hash again
blackmesa has joined #ruby
sandstrom has joined #ruby
stannard has quit [Remote host closed the connection]
ElFerna has quit [Ping timeout: 240 seconds]
<adaedra> Hello
aryaching has joined #ruby
mistnim has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
artX000 has joined #ruby
kp666 has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
<shevy> hmmmm I am looking at code written by someone else
<shevy> and that someone has a class with this:
<shevy> def initialize(*)
<shevy> is there a difference to
<shevy> def initialize(*i)
<shevy> ?
<shevy> he is not making use of it anyway
tomphp has joined #ruby
<adaedra> in the second form, you assign a variable `i`.
<adaedra> That's pretty much it.
<shevy> hmm
<shevy> in another class, he is using def initialize(*args) but he is not using args within def initialize
<shevy> the gruff gem this is by the way
blackmesa has quit [Ping timeout: 260 seconds]
Shapeshi1ter has quit [Quit: leaving]
<adaedra> you're reviewing random gems for coding style consistency?
krobzaur has joined #ruby
<shevy> yes
futilegames has joined #ruby
rippa has joined #ruby
FooMunki has quit [Quit: FooMunki]
<shevy> there is the second method http://pastie.org/10643149
tom_lowndes has joined #ruby
futilegames has quit [Client Quit]
scripore has quit [Quit: Leaving]
sigurding has quit [Quit: sigurding]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
govg_ has quit [Ping timeout: 255 seconds]
BaroMeter has joined #ruby
guacjack has joined #ruby
solocshaw has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
bronson has joined #ruby
ElSif has quit [Read error: Connection reset by peer]
bronson has quit [Remote host closed the connection]
tomphp has joined #ruby
tomphp has quit [Client Quit]
ferr has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
karapetyan has quit [Ping timeout: 240 seconds]
<fexilal> does the ruby standard library have a factorial function?
tomphp has joined #ruby
cajone_afk is now known as cajone
<shevy> you mean to e. g. calculate factorials of "5!"?
<fexilal> yes
chouhoulis has joined #ruby
IrishGringo has joined #ruby
tomphp has quit [Read error: No route to host]
govg has joined #ruby
tomphp has joined #ruby
pawnbox has quit [Remote host closed the connection]
<shevy> no idea why there is no Math.factorial
pawnbox has joined #ruby
<fexilal> yeah, it's something you'd come to expect
<fexilal> although it's trivial to define your own method, it's nice to have
futilegames has joined #ruby
startupality has joined #ruby
jcdesimp has joined #ruby
<adaedra> Make a feature request
chouhoulis has quit [Ping timeout: 272 seconds]
tomphp has quit [Ping timeout: 246 seconds]
<shevy> it won't be accepted
marr has quit []
<fexilal> someone already did 2 years ago: https://bugs.ruby-lang.org/issues/9528
marr has joined #ruby
<shevy> the ruby core team is like the big wall of china
<shevy> hmmmm
<fexilal> you mean quite broken down in places and open to suggestions?
<shevy> the name "gamma" is weird
<shevy> fexilal haha I dont know, you have to ask hanmac here
<shevy> all his feature requests go in
<shevy> none of mine do :D
onechr has joined #ruby
jcdesimp has quit [Ping timeout: 255 seconds]
guacjack has left #ruby ["Textual IRC Client: www.textualapp.com"]
karapetyan has joined #ruby
futilegames has quit [Quit: futilegames]
bkxd has joined #ruby
mistnim has quit [Quit: WeeChat 1.3]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spacesebi has joined #ruby
futilegames has joined #ruby
sigurding has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
seitensei has joined #ruby
<fexilal> well, the gamma function seems to do the job
agit0 has joined #ruby
ascarter has joined #ruby
<fexilal> kind of...
seitensei has quit [Ping timeout: 240 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
tildes has quit [Ping timeout: 255 seconds]
BaroMeter has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
onechr has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg has quit [Remote host closed the connection]
cdg_ has joined #ruby
dwfait has joined #ruby
ElFerna has joined #ruby
tomphp has joined #ruby
tildes has joined #ruby
samgerber has joined #ruby
hectortrope has quit [Quit: WeeChat 0.4.2]
sigurding has quit [Quit: sigurding]
cdg_ has quit [Ping timeout: 260 seconds]
ElFerna has quit [Ping timeout: 265 seconds]
colegatron has quit [Ping timeout: 240 seconds]
krobzaur has quit [Ping timeout: 240 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xcesariox has joined #ruby
<shevy> that's why you need good math knowledge
karapetyan has joined #ruby
karapety_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
mrtomme has quit [Ping timeout: 246 seconds]
mrtomme has joined #ruby
<TomyLobo> it's not weird, it's greek :D
spacesebi has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ferr has joined #ruby
jcdesimp has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
IrishGringo has quit [Ping timeout: 246 seconds]
colegatron has joined #ruby
IrishGringo has joined #ruby
stannard has joined #ruby
krobzaur has joined #ruby
arup_r has joined #ruby
atomical_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapety_ has quit [Remote host closed the connection]
atomical has joined #ruby
kotk has joined #ruby
RegulationD has joined #ruby
_stu_ has joined #ruby
stannard has quit [Ping timeout: 256 seconds]
_stu_ has quit [Client Quit]
FooMunki has joined #ruby
cdg has joined #ruby
nanoz has joined #ruby
ddfreyne has joined #ruby
ddfreyne has quit [Client Quit]
SCHAAP137 has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
IrishGringo has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 260 seconds]
s2013 has joined #ruby
s2013 has quit [Max SendQ exceeded]
roshanavand has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 246 seconds]
karapetyan has joined #ruby
SCHAAP137 has joined #ruby
mary5030 has joined #ruby
yardenbar has quit [Ping timeout: 240 seconds]
startupality has quit [Quit: startupality]
krobzaur has quit [Ping timeout: 272 seconds]
agit0 has quit [Quit: zzzZZZ….]
startupality has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
karapetyan has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
mary5030 has quit [Remote host closed the connection]
karapetyan has joined #ruby
<Ox0dea> fexilal, shevy: What languages have a builtin factorial?
<shevy> dunno
<shevy> python?
<Ox0dea> No?
solocshaw has quit [Ping timeout: 256 seconds]
<shevy> how do you know?
tvw has joined #ruby
hxegon has joined #ruby
<Ox0dea> Because it's a dumb thing to put in a general-purpose language.
<Ox0dea> >> class Fixnum; def !; (1..self).reduce :* end end; 5.!
<ruboto> Ox0dea # => 120 (https://eval.in/488278)
<Ox0dea> There. All better.
karapetyan has quit [Remote host closed the connection]
kknight has joined #ruby
<fexilal> Ox0dea : python has Math.factorial()
<shevy> yay!
<shevy> take that ruby
<fexilal> key point being "It provides access to the mathematical functions defined by the C standard."
<Ox0dea> It's missing "and then some".
jcdesimp has quit [Remote host closed the connection]
<shevy> that's why python is on top of the foodchain!
<fexilal> Ox0dea : you're right
<shevy> is there a simple way to split an array into two new arrays, one containing the odd elements and the other one the even?
jcdesimp has joined #ruby
dorei has joined #ruby
<adaedra> Mh, rbx doesn't seems to like kwargs inside of Method#parameters
arup_r has quit [Remote host closed the connection]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> hmm .zip seems simpler
<havenwood> shevy: partition.with_index(1) { |_, i| i.odd? }
devoldmx has joined #ruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> shevy: if you mean odd indexes starting from 1
dwfait has quit [Ping timeout: 272 seconds]
shanemcd has joined #ruby
<shevy> hmm
bronson has joined #ruby
<Ox0dea> >> 10.times.partition &:even?
<ruboto> Ox0dea # => [[0, 2, 4, 6, 8], [1, 3, 5, 7, 9]] (https://eval.in/488283)
<Ox0dea> Probably havenwood had the right interpretation, though.
arup_r has joined #ruby
iateadonut has quit [Quit: Leaving.]
Yzguy has joined #ruby
<adaedra> yorickpeterse ^
devoldmx has quit [Ping timeout: 272 seconds]
karapetyan has joined #ruby
nonopposition has joined #ruby
ineb has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
roshanavand has joined #ruby
raeoks has joined #ruby
futilegames has quit [Quit: futilegames]
roshanavand has quit [Ping timeout: 256 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
Kn|t3 has joined #ruby
joshua1 has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
pwnd_nsfw has quit [Ping timeout: 260 seconds]
ElFerna has joined #ruby
<ineb> does someone now a nice way to do http uploads (POST, multipart) with progress options and bandwith limit?
<ineb> i tested curb for curl bindings. no feature for bandwith throttling there. i thinks its possible to hack it in, since libcurl supports it. but first i want to ask if there is another nice solution
tildes has quit [Ping timeout: 255 seconds]
ElFerna has quit [Ping timeout: 256 seconds]
BTRE has quit [Quit: Leaving]
stevenxl has joined #ruby
stevenxl has quit [Changing host]
stevenxl has joined #ruby
shock_one has joined #ruby
xcesariox has joined #ruby
pwnd_nsfw has joined #ruby
agit0 has joined #ruby
cashnguns has joined #ruby
xcesariox has quit [Client Quit]
BTRE has joined #ruby
shanemcd has quit [Remote host closed the connection]
bkxd has joined #ruby
rgtk has quit [Remote host closed the connection]
nehaljwani has joined #ruby
<nehaljwani> Hi! How to read atmost x amount of bytes from a tcpsocket in ruby?
shanemcd has joined #ruby
Yzguy has quit [Quit: Zzz...]
chouhoulis has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
agit0 has quit [Quit: zzzZZZ….]
cwong_on_irc has joined #ruby
cwong_on_irc has quit [Max SendQ exceeded]
cwong_on_irc has joined #ruby
dwfait has joined #ruby
arup_r has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
arup_r has joined #ruby
karapetyan has joined #ruby
rodfersou has joined #ruby
kknight has quit [Quit: Leaving]
jbrhbr has joined #ruby
<nehaljwani> got it.. readpartial()
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
cyfr0n1 has joined #ruby
yardenbar has joined #ruby
tildes has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cyfr0n has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 256 seconds]
shock_one has quit [Remote host closed the connection]
ruu_ has joined #ruby
dlitvak has joined #ruby
infoget has quit [Quit: Leaving.]
ruu_ has quit [Remote host closed the connection]
<apeiros> nehaljwani: read with an arg should work too
zotherstupidguy has joined #ruby
VladGh has quit [Ping timeout: 245 seconds]
nonopposition has quit [Remote host closed the connection]
tomphp has joined #ruby
<apeiros> though, actually readpartial is probably what you want, since read() will block until it has read x bytes (or met EOF)
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
dionysus70 has joined #ruby
ruu_ has joined #ruby
govg has joined #ruby
ruu_ has quit [Remote host closed the connection]
jds has joined #ruby
yardenbar has quit [Ping timeout: 260 seconds]
cyfr0n1 is now known as cyfr0n
dionysus69 has quit [Ping timeout: 272 seconds]
dionysus70 is now known as dionysus69
bithon has joined #ruby
nonopposition has joined #ruby
<hightower4> Hey, I'm using the libevdev gem to read /dev/input/eventXX, and it is producing correct results, but the events are buffering somewhere and even though my loop is just fine: "loop do; Libevdev.next_event(evdev, Libevdev::READ_FLAG_NORMAL, event.pointer)", the next_event() function is blocking even though events are already available, and I need to generate even more events to cause next_event() to continue and process them all. Any ideas?
idefine has joined #ruby
seitensei has quit [Ping timeout: 256 seconds]
nonopposition has quit [Changing host]
nonopposition has joined #ruby
shock_one has joined #ruby
railswebdev has joined #ruby
dwfait has quit [Ping timeout: 265 seconds]
dwfait has joined #ruby
roshanavand has joined #ruby
<nehaljwani> apeiros: read with an arg will wait untill all bytes have been read
<yorickpeterse> IRC isn't an issue tracker, submit that stuff to GitHub instead
<nehaljwani> I said at most, not at minimum :P
<adaedra> yorickpeterse: right
sankaber has joined #ruby
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
<apeiros> nehaljwani: yeah, see second line I wrote.
<apeiros> (misses an "indeed")
dwfait has quit [Ping timeout: 240 seconds]
devbug has joined #ruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
devbug has quit [Ping timeout: 260 seconds]
devbug_ has joined #ruby
AKASkip has joined #ruby
vikaton has joined #ruby
blackmesa has joined #ruby
VladGh has joined #ruby
zotherstupidguy has quit [Ping timeout: 255 seconds]
BlackCoyote has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
FernandoBasso has quit [Remote host closed the connection]
ElFerna has joined #ruby
nettoweb has joined #ruby
shanemcd has quit [Remote host closed the connection]
bigmac_ has joined #ruby
nonopposition has quit [Ping timeout: 240 seconds]
cassioscabral has joined #ruby
nettoweb has quit [Client Quit]
Kn|t3 has quit [Quit: Kn|t3]
ElFerna has quit [Ping timeout: 255 seconds]
diegoviola has joined #ruby
ferr has quit [Ping timeout: 255 seconds]
snguyen has joined #ruby
BlackCoyote has quit [Ping timeout: 255 seconds]
<shevy> adaedra I see what you did there https://github.com/rubinius/rubinius/issues/3538
nonopposition has joined #ruby
sandstrom has joined #ruby
govg has quit [Quit: leaving]
govg has joined #ruby
fullofcaffeine has joined #ruby
devbug_ has quit [Read error: Connection reset by peer]
roshanavand has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
chouhoulis has joined #ruby
karapetyan has joined #ruby
Bloomer has quit [Remote host closed the connection]
devbug has joined #ruby
freerobby has joined #ruby
dlitvak_ has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
dlitvak has quit [Ping timeout: 265 seconds]
ponga has quit [Quit: Connection closed for inactivity]
chouhoulis has quit [Ping timeout: 272 seconds]
karapetyan has quit [Ping timeout: 255 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BlackCoyote has joined #ruby
freerobby has quit [Client Quit]
dlitvak_ has quit [Remote host closed the connection]
freerobby has joined #ruby
zotherstupidguy has joined #ruby
chouhoulis has joined #ruby
mary5030 has joined #ruby
tomphp has joined #ruby
Rickmasta has joined #ruby
eytanfb has joined #ruby
snguyen has quit [Quit: Textual IRC Client: www.textualapp.com]
govg has quit [Quit: leaving]
govg has joined #ruby
rgtk has joined #ruby
startupality has quit [Quit: startupality]
tildes has quit [Ping timeout: 255 seconds]
startupality has joined #ruby
startupality has quit [Client Quit]
cwong_on_irc has quit [Quit: Leaving.]
<havenwood> and look, an rbx 2.7 appears
<havenwood> seems 2.x.y is *over* and 2.x is the new thing
<havenwood> breaks ruby-install/ruby-versions syncing /grumble
<havenwood> seems avant garde versioning is gaining popularity in various Rubies :P
<havenwood> Drop a digit, add a digit, maybe some letters!
dlitvak has joined #ruby
icarus has joined #ruby
eytanfb has quit [Read error: Connection reset by peer]
eytanfb has joined #ruby
ruid has joined #ruby
devoldmx has joined #ruby
<diegoviola> does rbx still wants to change the ruby langugae?
<diegoviola> language
<diegoviola> rubinius-x
<havenwood> diegoviola: Rubinius is an implementation of the Ruby language. RubiniusX isn't Ruby.
<havenwood> I don't know its status.
<nofxx> diegoviola, just as jruby or maglev, it's another VM
pwnd_nsfw has quit [Ping timeout: 260 seconds]
<diegoviola> right
<diegoviola> but RubiniusX is something that is built on top of RBX?
<diegoviola> like a separate language?
<diegoviola> that runs in the RBX VM?
<nofxx> there used to have a spec, everyone said would use, but there's was some divergencies and nobody uses it.
<nofxx> that's still true?
<havenwood> diegoviola: Actually, Rubinius X is retired I see based on this email.
<diegoviola> what email?
dlitvak has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
<shevy> havenwood imagine if we could count our versions BACKWARDS
devoldmx has quit [Ping timeout: 256 seconds]
<Ox0dea> shevy: Those are called negative numbers.
hxegon is now known as hxegon_AFK
<havenwood> diegoviola: "I've decided to retire the idea of "Rubinius X" as a separate project, but not the goal of providing a powerful way to extend your investment in Ruby while taking advantage of the changing environment for building applications and Software as a Service."
InvGhostt has joined #ruby
<shevy> Ox0dea no, you just end at version 0.0.1 and that will be the final one!
<diegoviola> that sounds vague to me
last_staff has quit [Quit: last_staff]
<diegoviola> but ok
InvGhost has quit [Read error: No route to host]
<havenwood> diegoviola: TL;DR: No X.
<diegoviola> ok
devbug has quit [Read error: Connection reset by peer]
<shevy> diegoviola buzzword juggling!
bronson has quit [Ping timeout: 265 seconds]
troulouliou_dev has joined #ruby
troulouliou_dev has quit [Max SendQ exceeded]
<havenwood> shevy: juggleword buzzling!
houhoulis has joined #ruby
troulouliou_dev has joined #ruby
<Ox0dea> Juzzlebord wargling.
<Ox0dea> (It's Swedish.)
cassioscabral has quit [Quit: cassioscabral]
<shevy> do you speak swedish
last_staff has joined #ruby
devbug has joined #ruby
<Ox0dea> > let swedish = intersperse 'f'
last_staff has quit [Client Quit]
<shevy> why is he using haskell on windows
devbug has quit [Read error: Connection reset by peer]
cassioscabral has joined #ruby
<Ox0dea> I agree.
pwnd_nsfw has joined #ruby
houhouli_ has quit [Ping timeout: 272 seconds]
<Ox0dea> It might be part of the satire?
Azure has quit [Quit: Oops.]
Azure has joined #ruby
<shevy> I dunno
<shevy> I believe this is real
<shevy> I mean
<shevy> why is he using haskell
<shevy> actually, might have used php, then windows would make more sense
ruid has quit [Ping timeout: 260 seconds]
manquer_ has quit [Quit: leaving]
ElFerna has joined #ruby
lkba has joined #ruby
mary5030 has quit [Remote host closed the connection]
millerti has joined #ruby
mesamoo has joined #ruby
cassioscabral has quit [Quit: cassioscabral]
ElFerna has quit [Ping timeout: 256 seconds]
jbrhbr has joined #ruby
jbrhbr has quit [Client Quit]
troulouliou_dev has quit [Quit: Leaving]
roshanavand has joined #ruby
jbrhbr has joined #ruby
build22_ has joined #ruby
build22_ has left #ruby [#ruby]
troulouliou_dev has joined #ruby
shanemcd has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dry_Lips has left #ruby ["Leaving"]
eytanfb has quit [Read error: Connection reset by peer]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hxegon_AFK has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ibouvousaime has joined #ruby
eytanfb has joined #ruby
pawnbox has quit [Remote host closed the connection]
RegulationD has joined #ruby
shanemcd has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
pawnbox has joined #ruby
bkxd has joined #ruby
arup_r has quit [Remote host closed the connection]
karapety_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
sandstrom has joined #ruby
eytanfb has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 272 seconds]
troulouliou_dev has quit [Quit: Leaving]
Anderson69s has joined #ruby
cassioscabral has joined #ruby
arup_r has joined #ruby
St1gma_ has quit [Quit: laters]
St1gma has joined #ruby
bithon has quit [Ping timeout: 256 seconds]
DexterLB has quit [Read error: Connection reset by peer]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atzorvas_ has joined #ruby
atzorvas_ has quit [Changing host]
atzorvas_ has joined #ruby
idefine has quit [Remote host closed the connection]
shanemcd has joined #ruby
infoget has joined #ruby
karapety_ has quit [Remote host closed the connection]
atzorvas_ is now known as atzorvas
atomical_ has joined #ruby
karapetyan has joined #ruby
St1gma_ has joined #ruby
cashnguns has quit [Ping timeout: 260 seconds]
ss_much has joined #ruby
pdoherty has quit [Ping timeout: 246 seconds]
ohaibbq has joined #ruby
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
ur5us has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
atomical has quit [Ping timeout: 272 seconds]
radgeRayden_ has quit [Ping timeout: 272 seconds]
karapetyan has quit [Remote host closed the connection]
firstdayonthejob has joined #ruby
tomphp has joined #ruby
hxegon has joined #ruby
seitensei has quit [Ping timeout: 256 seconds]
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
stevenxl is now known as stevenxl-away
icarus has quit [Ping timeout: 240 seconds]
nonopposition has quit [Remote host closed the connection]
roshanavand has quit [Ping timeout: 260 seconds]
tomphp has quit [Client Quit]
stevenxl-away is now known as stevenxl
icarus has joined #ruby
jschmid has joined #ruby
hololeap has joined #ruby
fn2187 has joined #ruby
atzorvas has quit [Quit: leaving]
dlitvak has joined #ruby
cassioscabral has quit [Quit: cassioscabral]
greenride has left #ruby [#ruby]
nonopposition has joined #ruby
Suntzu has quit [Ping timeout: 260 seconds]
St1gma_ has quit [Quit: Leaving]
Anderson69s has quit [Quit: Time to EAT, SLEEP OR WHATEVER BYE!!!!!]
tomphp has joined #ruby
wildlander has joined #ruby
AndroFox has joined #ruby
wildlander has joined #ruby
wildlander has quit [Max SendQ exceeded]
wolffles has joined #ruby
wildlander has joined #ruby
KineticX has joined #ruby
dlitvak has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 255 seconds]
synthroid has quit []
shanemcd has quit [Remote host closed the connection]
stannard has joined #ruby
jcdesimp has quit [Remote host closed the connection]
nanoz has quit [Ping timeout: 246 seconds]
jcdesimp has joined #ruby
radgeRayden has joined #ruby
radgeRayden_ has joined #ruby
Yzguy has joined #ruby
ElFerna has joined #ruby
shanemcd has joined #ruby
jschmid has quit [Ping timeout: 255 seconds]
jcdesimp has quit [Ping timeout: 260 seconds]
benhuda has joined #ruby
radgeRayden has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
jcdesimp has joined #ruby
DLSteve has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ElFerna has quit [Ping timeout: 246 seconds]
n008f4g_ has joined #ruby
cashnguns has joined #ruby
majjoha has joined #ruby
majjoha is now known as mathiasjjo
yqt has joined #ruby
Yzguy has quit [Quit: Zzz...]
zast has joined #ruby
mathiasjjo has quit [Client Quit]
Yzguy has joined #ruby
jcdesimp has quit [Ping timeout: 240 seconds]
cashnguns has quit [Client Quit]
Yzguy has quit [Client Quit]
jbrhbr has quit [Quit: Leaving.]
cassioscabral has joined #ruby
Rickmasta has joined #ruby
blackmesa has joined #ruby
shock_one has quit [Remote host closed the connection]
codeurge has joined #ruby
Yzguy has joined #ruby
atomical has joined #ruby
bithon has joined #ruby
Dimik has joined #ruby
atomical_ has quit [Ping timeout: 250 seconds]
shanemcd has quit [Remote host closed the connection]
tomphp has joined #ruby
n008f4g_ has quit [Ping timeout: 265 seconds]
jcdesimp has joined #ruby
aryaching has quit [Ping timeout: 255 seconds]
rhg135 has quit [Ping timeout: 256 seconds]
robbyoconnor has joined #ruby
arup_r has quit []
roshanavand has joined #ruby
jcdesimp has quit [Ping timeout: 272 seconds]
KineticX has quit []
darkf has quit [Quit: Leaving]
pskosinski has joined #ruby
<pskosinski> Is there a problem with rubygems.org?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
WeiJunLi has joined #ruby
<havenwood> pskosinski: Not on my end. The status is green: https://status.rubygems.org
<phroa> yes, the orange color is a bit bright.
jobewan has joined #ruby
karapetyan has joined #ruby
<pskosinski> OK, thanks, finally works.
<pskosinski> Whatever gem I wanted to install in last 12 minutes the command was getting stuck at: GET https://rubygems.global.ssl.fastly.net/specs.4.8.gz
<pskosinski> 15 minutes *
<pskosinski> Now finally works, thanks.
kpollich has joined #ruby
devoldmx has joined #ruby
ohaibbq has quit [Quit: Leaving...]
calderonroberto has joined #ruby
atomical_ has joined #ruby
rhg331 has joined #ruby
ramfjord has joined #ruby
devoldmx has quit [Read error: No route to host]
araujo has quit [Quit: Leaving]
karapetyan has quit [Ping timeout: 276 seconds]
devoldmx has joined #ruby
Yzguy has quit [Quit: Zzz...]
atomical has quit [Ping timeout: 250 seconds]
devoldmx has quit [Client Quit]
devoldmx has joined #ruby
atomical has joined #ruby
underplank has joined #ruby
devoldmx has quit [Remote host closed the connection]
karapetyan has joined #ruby
jcdesimp has joined #ruby
atomical_ has quit [Ping timeout: 276 seconds]
nateberkopec has quit [Quit: Leaving...]
atomical_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
atomical_ has quit [Client Quit]
pandaant has quit [Remote host closed the connection]
karapetyan has joined #ruby
pulgolino has quit [Remote host closed the connection]
jcdesimp has quit [Ping timeout: 240 seconds]
FooMunki has quit [Quit: FooMunki]
atomical has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
FooMunki has joined #ruby
atomical has joined #ruby
<wolffles> hey yall, i dont know how to use enumerators. advice on what to do? https://eval.in/488371
sigurding has joined #ruby
Dimik has quit [Ping timeout: 255 seconds]
weemsledeux has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
icarus has quit [Ping timeout: 255 seconds]
minimalism has quit [Quit: leaving]
fexilal has quit [Ping timeout: 265 seconds]
roshanavand has quit [Ping timeout: 276 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
water^ has joined #ruby
tomphp has joined #ruby
<water^> hi
<wolffles> anyone there?
tomphp has quit [Client Quit]
<havenwood> wolffles: hi
railswebdev has joined #ruby
<water^> hi wolffles and havenwood
zeroDivisible has quit [Quit: WeeChat 1.3]
jessemcgilallen has joined #ruby
jessemcgilallen has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
zeroDivisible has joined #ruby
<havenwood> wolffles: so your solution works but you're looking to refactor it?
<Ox0dea> wolffles: https://eval.in/488380
infoget has left #ruby [#ruby]
wolffles has quit [Read error: Connection reset by peer]
<Ox0dea> Uh...
zotherstupidguy has quit [Ping timeout: 260 seconds]
water^ has left #ruby [#ruby]
jessemcgilallen has joined #ruby
zotherstupidguy has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
jcdesimp has joined #ruby
solocshaw has joined #ruby
atomical_ has joined #ruby
jmonreal has quit [Ping timeout: 265 seconds]
solars has joined #ruby
underplank has quit [Quit: underplank]
bkxd has joined #ruby
Suntzu has joined #ruby
jcdesimp has quit [Ping timeout: 246 seconds]
atomical has quit [Ping timeout: 246 seconds]
last_staff has joined #ruby
<shevy> waffles!
bkxd has quit [Ping timeout: 240 seconds]
shock_one has joined #ruby
gizless has joined #ruby
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 256 seconds]
kpollich has quit [Ping timeout: 260 seconds]
tom_lowndes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gizless has quit [Ping timeout: 272 seconds]
zeroDivisible has quit [Quit: WeeChat 1.3]
sigurding has quit [Quit: sigurding]
xcesariox has joined #ruby
codecop has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
Jackneill has quit [Remote host closed the connection]
moeabdol has quit [Quit: WeeChat 1.3]
ruid has joined #ruby
moeabdol has joined #ruby
jcdesimp has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeroDivisible has quit [Client Quit]
beast has quit [Quit: Leaving]
seitensei has joined #ruby
zeroDivisible has joined #ruby
jcdesimp has quit [Ping timeout: 240 seconds]
wolffles has joined #ruby
DavidDudson has joined #ruby
seitensei has quit [Ping timeout: 240 seconds]
InvGhostt has quit [Read error: Connection reset by peer]
DLSteve has quit [Quit: Textual IRC Client: www.textualapp.com]
InvGhostt has joined #ruby
shock_one has quit [Ping timeout: 240 seconds]
samgerber has quit [Remote host closed the connection]
edj_ has joined #ruby
cassioscabral has quit [Quit: cassioscabral]
<edj_> how do i write multiple lines at a time in rib?
<edj_> irb
<mozzarella> press enter
cassioscabral has joined #ruby
<shevy> hmm with the new frozen string encoding
gizmore has joined #ruby
<shevy> do I see it can lead to .rb files having:
<shevy> (1) first line a shebang
<shevy> (2) second line an encoding comment
<shevy> (3) third line a frozen string directive ?
<edj_> 2.2.1:017"> 2.2.1 :018"> 2.2.1 :019"> 2.2.1 :020">
<edj_> it looks like this
<edj_> i got in and i dont know how to get out and i tried googling it
<shevy> edj_ does your enter key work
<edj_> yea
<shevy> exit should let you exit
<edj_> i type exit and it goes to the next line
<Ox0dea> edj_: The " indicates you're inside a string.
davedev24 has quit [Ping timeout: 255 seconds]
<edj_> 2.2.1 :022"> 2.2.1 :023"> 2.2.1 :024"> 2.2.1 :025"> exit 2.2.1 :026"> " 2.2.1 :027?> 2.2.1 :028 > exit 2.2.1 :029?>
gizmore|2 has quit [Ping timeout: 260 seconds]
<Ox0dea> edj_: Set your computer on fire.
ta_ has quit [Read error: Connection reset by peer]
<Ox0dea> It's the only way out.
<edj_> i knew it
ta has joined #ruby
<edj_> so long friends
bronson has joined #ruby
<Ox0dea> <3
pen has joined #ruby
<havenwood> edj_: Close that String!
baweaver has joined #ruby
<edj_> 2.2.1 :025"> exit 2.2.1 :026"> " 2.2.1 :027?> 2.2.1 :028 > exit 2.2.1 :029?> exit 2.2.1 :030?> " 2.2.1 :031"> " 2.2.1 :032?> ?]\
devoldmx has joined #ruby
bronson has quit [Remote host closed the connection]
bronson has joined #ruby
<Ox0dea> edj_: Press cun troll C.
<havenwood> edj_: Ctrl-C to flee!
colegatron has quit [Ping timeout: 272 seconds]
elaptics is now known as elaptics`away
<edj_> oooooooooooh
<edj_> thank you
<edj_> too bad my computer is already on fire
<havenwood> cancel, cancel!
jessemcgilallen has quit [Quit: jessemcgilallen]
<havenwood> edj_: go back to your last savepoint
<shevy> Ox0dea that's not how you spell control!
davedev24 has joined #ruby
shanemcd has joined #ruby
ferr has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
jcdesimp has joined #ruby
djbkd has joined #ruby
roshanavand has joined #ruby
blackjid has quit [Max SendQ exceeded]
blackjid has joined #ruby
<havenwood> ?pry edj_
<ruboto> edj_, Pry, the better IRB. Includes easy object inspection via `ls`, `history`, docs view with `?`, source view with `$` and syntax highlighting, among other features (see `help` for more). It can also be used for easy debugging by putting `binding.pry` directly in your source code. Visit https://pryrepl.org/ or get it now with: gem install pry pry-doc
<Ox0dea> shevy: Misspelling "control" is cruise control for antidisestablishmentarian.
gizless has joined #ruby
shanemcd has quit [Ping timeout: 264 seconds]
agit0 has joined #ruby
tomphp has joined #ruby
bronson has quit [Remote host closed the connection]
jcdesimp has quit [Ping timeout: 272 seconds]
grill has joined #ruby
futilegames has joined #ruby
bronson has joined #ruby
edj_ has quit [Quit: Page closed]
gizmore has quit [Ping timeout: 260 seconds]
ss_much has quit [Quit: Connection closed for inactivity]
gizmore has joined #ruby
Uptime has quit [Changing host]
Uptime has joined #ruby
colegatron has joined #ruby
gizless has quit [Ping timeout: 250 seconds]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ruid has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
jobewan has quit [Quit: Textual IRC Client: www.textualapp.com]
freerobby1 has quit [Quit: Leaving.]
bronson has quit [Remote host closed the connection]
wolffles has quit [Quit: wolffles]
ZiggyTheHamster has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
jcdesimp has joined #ruby
blackmesa has quit [Quit: WeeChat 1.3]
gizmore has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 260 seconds]
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whippythellama has quit [Ping timeout: 240 seconds]
moeabdol has quit [Quit: WeeChat 1.3]
jcdesimp has quit [Ping timeout: 276 seconds]
ta_ has joined #ruby
cwong_on_irc has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
railswebdev has joined #ruby
smactive has joined #ruby
stannard has quit [Remote host closed the connection]
ta has quit [Ping timeout: 255 seconds]
diegoviola has quit [Quit: WeeChat 1.3]
Zamerick has joined #ruby
atomical_ has quit [Ping timeout: 245 seconds]
eytanfb has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
devbug has joined #ruby
stannard has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
BlackCoyote has quit [Remote host closed the connection]
moeabdol has joined #ruby
BlackCoyote has joined #ruby
cassioscabral has quit [Quit: cassioscabral]
futilegames has quit [Quit: futilegames]
eytanfb has quit [Ping timeout: 276 seconds]
ruid has joined #ruby
ruid has quit [Changing host]
ruid has joined #ruby
atomical has joined #ruby
moeabdol has quit [Client Quit]
rodfersou has quit [Quit: leaving]
BlackCoyote has quit [Ping timeout: 256 seconds]
decoponio has quit [Quit: Leaving...]
moeabdol has joined #ruby
jcdesimp has joined #ruby
baweaver has quit [Remote host closed the connection]
jackcom has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
tvw has quit [Remote host closed the connection]
yfeldblum has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
futilegames has joined #ruby
jcdesimp has quit [Ping timeout: 276 seconds]
futilegames has quit [Client Quit]
weemsledeux has joined #ruby
zotherstupidguy has quit [Ping timeout: 240 seconds]
zotherstupidguy has joined #ruby
solars has quit [Ping timeout: 256 seconds]
ruid has quit [Ping timeout: 240 seconds]
AKASkip has quit [Remote host closed the connection]
last_staff has quit [Read error: Connection reset by peer]
last_staff has joined #ruby
ec is now known as vv
vv is now known as ELLIOTTCABLE
ElFerna has joined #ruby
diegoviola has joined #ruby
pen has quit []
RegulationD has joined #ruby
cassioscabral has joined #ruby
jcdesimp has joined #ruby
DavidDudson has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.3]
RegulationD has quit [Ping timeout: 255 seconds]
jcdesimp has quit [Ping timeout: 250 seconds]
AlphaAtom has joined #ruby
ELLIOTTCABLE is now known as }vv{
doodleha_ has joined #ruby
}vv{ is now known as ELLIOTTCABLE
kaleido has joined #ruby
doodleha_ has quit [Client Quit]
nertzy has joined #ruby
ta_ has quit [Remote host closed the connection]
kaleido has quit [Client Quit]
zenlot4 has joined #ruby
djbkd has quit [Quit: My people need me...]
ruu_ has joined #ruby
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
zenlot3 has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
Faisal has joined #ruby
charliesome has joined #ruby
ruu_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
TheBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
tenseiten has joined #ruby
seitensei has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
seitensei has joined #ruby
tenseiten has quit [Read error: Connection reset by peer]
TheBloke has joined #ruby
Faisal has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 265 seconds]
bkxd has quit [Ping timeout: 272 seconds]
jcdesimp has joined #ruby
bithon has quit [Ping timeout: 246 seconds]
blackjid has quit [Max SendQ exceeded]
ruu_ has joined #ruby
blackjid has joined #ruby
CloCkWeRX has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shanemcd has joined #ruby
jcdesimp has quit [Ping timeout: 272 seconds]
stevenxl has quit [Ping timeout: 246 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Maxed has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
stevenxl has joined #ruby
stevenxl has quit [Changing host]
stevenxl has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
shanemcd has quit [Ping timeout: 246 seconds]
ruu_ has quit [Remote host closed the connection]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
Maxed has quit [Ping timeout: 260 seconds]
ruu_ has joined #ruby
kpollich has joined #ruby
bithon has joined #ruby
Maxed has joined #ruby
kpollich has quit [Client Quit]
edwinvdgraaf has quit [Remote host closed the connection]
shock_one has joined #ruby
djbkd has joined #ruby
ta has joined #ruby
Maxed has quit [Client Quit]
edwinvdgraaf has joined #ruby
stannard has quit [Remote host closed the connection]
kmckelvin has quit [Ping timeout: 246 seconds]
benhuda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruu_ has quit [Ping timeout: 246 seconds]
seitensei has quit [Remote host closed the connection]
wolffles has joined #ruby
stannard has joined #ruby
shock_one has quit [Ping timeout: 260 seconds]
railswebdev has joined #ruby
jcdesimp has joined #ruby
devoldmx has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
samgerber has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
ElFerna has quit [Ping timeout: 264 seconds]
jcdesimp has quit [Ping timeout: 260 seconds]
whippythellama has joined #ruby
davedev2_ has joined #ruby
baweaver has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
pawnbox has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
charliesome has joined #ruby
ruu_ has joined #ruby
baweaver has quit [Ping timeout: 265 seconds]
IdanM has joined #ruby
ruu_ has quit [Ping timeout: 240 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
radgeRayden__ has joined #ruby
InvGhostt has quit [Ping timeout: 260 seconds]
radgeRayden_ has quit [Read error: Connection reset by peer]
InvGhostt has joined #ruby
CloCkWeRX has quit [Ping timeout: 255 seconds]
last_staff has quit [Quit: last_staff]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ellistaa has joined #ruby
<ellistaa> why do we call map map? how is the function mapping?
codeurge has joined #ruby
jcdesimp has joined #ruby
speaking1ode has quit [Ping timeout: 265 seconds]
<tobiasvl> it "maps" each element x in an iterable to its counterpart f(x)
<ellistaa> tobiasvl: seems like it would make more sense to call it match
<ellistaa> oh actually i guess if u imagine a grid and the argument is given to the function it would be mapping it ….
tvon has joined #ruby
tvon has quit [Client Quit]
ElFerna has joined #ruby
tvon has joined #ruby
<tobiasvl> yes, it maps each element. it doesn't "match" it, it calls a method on each one in turn
<havenwood> ellistaa: mapping (noun): an operation that associates each element of a given set (the domain) with one or more elements of a second set (the range).
<ellistaa> makes sense!
jcdesimp has quit [Ping timeout: 272 seconds]
TheBloke has quit [Ping timeout: 240 seconds]
tvon has quit [Client Quit]
tvon has joined #ruby
bkxd has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
firstdayonthejob has quit [Ping timeout: 256 seconds]
<ellistaa> yeah makes sense now.
mary5030 has joined #ruby
<ellistaa> thanks
duncannz has joined #ruby
<Ox0dea> >> [1,2,3,4].map { |x| '' << 69-x } # Last one.
<ruboto> Ox0dea # => ["D", "C", "B", "A"] (https://eval.in/488415)
dionysus69 has quit [Ping timeout: 264 seconds]
TheBloke has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
hxegon has quit [Ping timeout: 246 seconds]
CloCkWeRX has joined #ruby