<georgios>
It's also part of the ruby philosophy as far as I know. Python really has a focus on explicitness vs. Ruby having a focus on Implicitness (AFAIK)
northfurr has quit [Quit: northfurr]
TomPeed has joined #ruby
devgiant has joined #ruby
DynamicMetaFlow has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<Ox0dea>
Bollocks.
TomPeed is now known as justbleed
<Ox0dea>
$ python -c 'print(True * True + True)'
<Ox0dea>
2
<Ox0dea>
That's a tired example by now, but it's a stark counterpoint here.
<Papierkorb>
Python looks more academic-y to me, where ruby focuses on offering tools to enable you writing readable code. This surfaces in the various aliases for methods, like Array#length == Array#size
<Papierkorb>
Because sometimes, one or the other makes the code more 'logical'
<RickHull>
in Elixir, IIRC, length is O(N) whereas size is amortized / cached
<Ox0dea>
A top-level len() function in an allegedly object-oriented language is just silly.
Rickmasta has quit [Ping timeout: 245 seconds]
<RickHull>
in Ruby, there are legacy / backwards compat concerns
zacstewart has joined #ruby
<Papierkorb>
Ox0dea: having to write (self, ..) every is too.
CloCkWeRX has quit [Ping timeout: 240 seconds]
<Papierkorb>
Pythons OO concepts always look so tacked on
<Papierkorb>
*everywhere
justbleed is now known as KeepItFlowy
ixti has quit [Ping timeout: 260 seconds]
<Ox0dea>
It's a "hodge-podge of good ideas", if that can be said to make any sense.
harushimo has quit [Quit: Leaving]
<RickHull>
ruby and python were both "grown" rather than "designed", I think. and the next gen of langs are more designed, based on that growth
|ifei5g00d has quit []
mondok has joined #ruby
<Ox0dea>
That's fair.
<RickHull>
ruby and python both learned from perl's mistakes
Rickmasta has joined #ruby
<RickHull>
but each have their warts, where bottom-up growth puts baby in a corner
<Papierkorb>
georgios: what I did enjoy the most at the start was that I didn't have to write for loops anymore. It's just calling .each on something and it does it with no need for a counter variable, and because it's a feature of the object rather than a feature of the language.
<RickHull>
yeah, ruby's blocks are a huge win, particularly relative to perl and python
<Papierkorb>
My grammar is getting horrific, time to go and watch some TV series
jxpx777 has joined #ruby
Eiam_ has joined #ruby
<georgios>
Papierkorb: Yes, definitely, I *love* the functional elements of Python and thats why I want to get into Ruby ^^
blackdev1l has joined #ruby
<RickHull>
georgios: checked out Elixir?
<RickHull>
it's like functional ruby
<blackdev1l>
ok i have a weird question: i remember someone in the ruby scene who called is daughter ruby, who was he ?
<blackdev1l>
his daughter*
<Ox0dea>
blackdev1l: Are you sure he didn't have a wife named Ruby?
<Papierkorb>
all I can think of in regards to 'functional programming' is .. "urgh"
zacstewart has quit [Ping timeout: 256 seconds]
<georgios>
RickHull: Only Erlang, sorry
<RickHull>
georgios: you'd love Elixir i think
<blackdev1l>
Ox0dea: well i remember a daughter, not a wife :(
sftrabbit has quit [Quit: sftrabbit]
<georgios>
RickHull: Yeah, I'll definitely check it out sometime, sadly I don't have that much time atm due to university
william3 has joined #ruby
jxpx777 has quit [Client Quit]
<Papierkorb>
georgios: I never got why people, who will dislike Rubys mantra of "patch classes and have it your way", like how the global scope is cluttered with functions, whose names are usually shortened until they're barely understandable. On top of that, those languages often offer no overloading support, forcing the dev to come up with new names for methods doing the same thing.
tfitts_ has quit [Quit: tfitts_]
<RickHull>
here's a simple project implemented in both Ruby and Elixir. the elixir version is missing docs, though fairly well commented. https://github.com/rickhull/conway_deathmatch see the elixir branch
tfitts_ has joined #ruby
tfitts_ has quit [Client Quit]
<georgios>
RickHull: Awesome, I already put it in my bookmarks :)
Xeago has joined #ruby
<Papierkorb>
georgios: in Ruby, there's for example the method .to_s which returns the string representation of an object. You can call it on any object and get a string. If it makes sense, the object will offer its own to_s method returning a more useful string. You can call .to_s on anything and you get the best possible response. With functional programming and without overloading, str(obj) returns whatever, which for object which could do better will
<Papierkorb>
still be useless.
<RickHull>
upon review, i may have to retract my comment about the elixir version being fairly well commented ;)
trinaldi has quit [Quit: WeeChat 1.5-dev]
<RickHull>
but it does have tests
firstdayonthejob has quit [Ping timeout: 250 seconds]
wethu has quit [Quit: This computer has gone to sleep]
william3 has quit [Ping timeout: 245 seconds]
<georgios>
Papierkorb: Are you familiar with Rust? The concept of open classes is similar to their concept of traits; You have to bring the trait implementations for structs into scope before being able to use them
<georgios>
Papierkorb: e.g. you need to `use std::io::Read` to read from files
<Papierkorb>
georgios: Never took a serious look at it
KeepItFlowy is now known as justbleed
kies^ has quit [Quit: baaaaiiiiiiiiiii~]
Rickmasta has quit [Ping timeout: 252 seconds]
<Papierkorb>
It did look like "Go but actually good", and I liked the pattern matching stuff
kies^ has joined #ruby
<georgios>
Papierkorb: It's really great, and (like Ruby) expression-oriented
<georgios>
Well, Go isn't actually too bad
<Papierkorb>
georgios: The 'next' language I'm considering actually using will be Crystal, which heavily borrows from ruby (That's by design)
intrigueD has quit [Remote host closed the connection]
riceandbeans has joined #ruby
<riceandbeans>
can someone help me figure out how to do this
<riceandbeans>
I want to have something using a regex / /, but where the regex is a variable that gets passed in but not have the regex thing the regex is the variable name
<riceandbeans>
so, for intance, foo = 'magical thing to match'; baz = bar.match(/foo/)
<Ox0dea>
riceandbeans: /#{foo}/
<riceandbeans>
I wish I knew it was that easy lol
<Ox0dea>
Now you do.
<Ox0dea>
Rejoice!
stardiviner has joined #ruby
Rickmasta has quit [Ping timeout: 264 seconds]
<riceandbeans>
rejoice i shall, oh hallelujah
IrishGringo_ has joined #ruby
j0n3 has quit [Remote host closed the connection]
<Pintor>
hey Ox0dea! Hi ^^
Rickmasta has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
<Ox0dea>
Hi, Pintor. :)
IrishGringo has quit [Ping timeout: 260 seconds]
<Pintor>
I have (another~ haha) question, can you help me with that?
<Pintor>
I am working with irb to "preview" my code, just "invoke" the file and done. But the file is so big, is possible to use a "require" that works on irb when I call there a file?
<Pintor>
... understand or I am so confusing?
sandstrom has quit [Quit: My computer has gone to sleep.]
Deck` has joined #ruby
sandstrom has joined #ruby
IrishGringo_ has quit [Ping timeout: 240 seconds]
<Ox0dea>
Pintor: It's not entirely clear what you're asking, but you can say `irb -r foo` to have 'foo' required before your IRB session starts.
djbkd has joined #ruby
<Pintor>
ok, sorry, I know I didn't explained it so good
Gnut has quit [Ping timeout: 250 seconds]
_Tariq has quit [Remote host closed the connection]
Deck` has quit [Ping timeout: 240 seconds]
<Pintor>
I have a bigger file "foo.rb" with 1,200 lines, but from these lines, 1,000 are from a Hash. I want to move that hash to "hashes.rb", so I think I will put at top of "foo.rb" something like "require 'hashes.rb'", but when I do this and call the file on irb shows me error, can't load the Hash
Rickmasta has quit [Ping timeout: 240 seconds]
<Ox0dea>
Pintor: You'll need to say either `require './hashes'` or `require_relative 'hashes'`.
<Pintor>
hum, give me a minute to test it
Rickmasta has joined #ruby
<Ox0dea>
Or even `load 'hashes.rb'`, which is arguably more appropriate for this particular use.
<Pintor>
stills same :c I think irb won't load required files in any mode
<Pintor>
I tried require, require_relative and load, and showed exactly the same error
djbkd has quit [Quit: Leaving...]
mondok has quit [Ping timeout: 248 seconds]
arooni_______ has quit [Ping timeout: 252 seconds]
<Ox0dea>
Pintor: Oh, I missed the actual problem; you're assigning to the Hashes to local variables in hashes.rb, right?
<Ox0dea>
*assigning the Hashes
<Pintor>
check, this is my "Hashes.rb", give me a minute to paste it in a gist
<Ox0dea>
Pintor: You don't have to.
blub has joined #ruby
<Ox0dea>
The problem is that local variables can't be imported.
<Pintor>
pff, why?
<Pintor>
I can convert them to a method, right?
zacstewart has joined #ruby
urbanmonk has joined #ruby
<Ox0dea>
You can say `eval File.read('hashes.rb')`, but you could just as well store them in something more visible than local variables.
<Ox0dea>
Constants, for instance.
SenpaiSilver has quit [Quit: Leaving]
<Pintor>
constants? sorry, I am a newbie on Ruby
Rickmasta has quit [Ping timeout: 245 seconds]
LoneHerm_ has joined #ruby
<riceandbeans>
anyone got experience with mechanize? if i want it to copy specific text from a part in the page that's not a hyperlink it's just text that happens to always follow a set of HTML tags, do you know how to do that?
<Pintor>
oh, the "variable" with capital letter
sandstrom has quit [Quit: My computer has gone to sleep.]
william3 has quit [Remote host closed the connection]
UtkarshRay has quit [Remote host closed the connection]
Deck` has quit [Ping timeout: 264 seconds]
arashb has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
UtkarshRay has joined #ruby
terminalrecluse has quit [Client Quit]
urbanmonk has quit [Quit: urbanmonk]
urbanmonk has joined #ruby
baweaver has joined #ruby
karapetyan has joined #ruby
Rickmasta has quit [Ping timeout: 264 seconds]
LoneHerm_ has quit [Remote host closed the connection]
arashb has quit [Ping timeout: 250 seconds]
Pintor has quit [Quit: Good-bye! ^^]
sandstrom has quit [Quit: My computer has gone to sleep.]
Renich has quit [Quit: leaving]
Rickmasta has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
sandstrom has joined #ruby
Rickmasta has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
selfadhesivefilm has joined #ruby
benlieb has quit [Quit: benlieb]
harly__ has joined #ruby
Rickmasta has quit [Read error: Connection reset by peer]
roshanavand has quit [Remote host closed the connection]
Rickmasta has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davedev24 has quit []
harly_ has quit [Ping timeout: 252 seconds]
selfadhesivefilm has quit [Ping timeout: 250 seconds]
tfitts_ has joined #ruby
pawnbox has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
elifoster has quit [Ping timeout: 250 seconds]
pawnbox has quit [Ping timeout: 256 seconds]
houhoulis has quit []
SCHAAP137 has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
william3 has quit [Ping timeout: 245 seconds]
duderon__ has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sandstrom has joined #ruby
despai_ has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
timanema has quit [Ping timeout: 240 seconds]
RegulationD has joined #ruby
timanema has joined #ruby
vikas027 has joined #ruby
despai has quit [Ping timeout: 240 seconds]
kam270 has joined #ruby
sdothum has joined #ruby
oetjenj has quit [Ping timeout: 272 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
Aviio has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 245 seconds]
oetjenj has joined #ruby
Gnut has joined #ruby
banister has joined #ruby
jgt4 has joined #ruby
despai_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bonhoeffer has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
arescorpio has joined #ruby
konsolebox has joined #ruby
blub has left #ruby ["bye"]
sandstrom has quit [Quit: My computer has gone to sleep.]
elifoster has joined #ruby
duckpuppy has joined #ruby
sandstrom has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
zacstewart has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
zacstewart has quit [Ping timeout: 256 seconds]
jgt4 has quit [Ping timeout: 250 seconds]
Rickmasta has quit [Ping timeout: 276 seconds]
roshanavand has quit [Ping timeout: 248 seconds]
Rickmasta has joined #ruby
urbanmonk has quit [Quit: urbanmonk]
Deck` has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Max SendQ exceeded]
sandstrom has quit [Quit: My computer has gone to sleep.]
johnmilton has joined #ruby
dudedudeman has joined #ruby
sandstrom has joined #ruby
johnmilton has quit [Max SendQ exceeded]
Deck` has quit [Ping timeout: 248 seconds]
johnmilton has joined #ruby
johnmilton has quit [Max SendQ exceeded]
johnmilton has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
johnmilton has quit [Max SendQ exceeded]
johnmilton has joined #ruby
johnmilton has quit [Max SendQ exceeded]
nofacade has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Max SendQ exceeded]
ljames has quit []
johnmilton has joined #ruby
dexter-tzu has quit [Ping timeout: 240 seconds]
johnmilton has quit [Max SendQ exceeded]
selfadhesivefilm has joined #ruby
Rickmasta has quit [Ping timeout: 260 seconds]
Rickmasta has joined #ruby
<lswart>
Hi all, I am having an issue starting up jekyll for my website. My _config.yml has `jekyll-gist` listed as a required gem, which I have installed, but I am getting an error when I run the jekyll generator. Any suggestions? Here is the error: http://ix.io/obe
<lswart>
I have jekyll-gist listed under my installed gems, and I have added it to my Gemfile and ran `bundle install`, but I still get an error saying that I am missing jekyll-gist
sandstrom has quit [Quit: My computer has gone to sleep.]
selfadhesivefilm has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
sandstrom has joined #ruby
pawnbox has quit [Ping timeout: 245 seconds]
FooMunki has quit [Quit: FooMunki]
<Ox0dea>
lswart: Both versions of jekyll-watch that you have installed are "too new".
nodejunkie has joined #ruby
<Ox0dea>
The "jekyll-watch (~> 1.1)" dependency means that any version from 1.1 up to (but not including) 1.2 is okay.
p0wn3d has joined #ruby
houhoulis has joined #ruby
yfeldblum has joined #ruby
framling has quit [Ping timeout: 264 seconds]
yqt has quit [Ping timeout: 240 seconds]
<lswart>
Ox0dea: Interesting! But when I uninstall jekyll-watch, then re-install jekyll, jekyll-watch 1.3.0 is installed as well... although now I am getting an "Unresolved specs" warning about "listen (~> 3.0)"
sepp2k has quit [Read error: Connection reset by peer]
<Ox0dea>
lswart: Give `bundle update` a shot.
Rickmasta has quit [Ping timeout: 264 seconds]
n00bdev has quit [Ping timeout: 252 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
<lswart>
Ox0dea: Ooh, that works!
<Ox0dea>
Huzzah!
coderMe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Conflict has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
<lswart>
What did that do? Did it recursively re-install all gems that didn't match the semver requirements?
sandstrom has joined #ruby
<Ox0dea>
In a nutshell.
n00bdev has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
Conflict has joined #ruby
<lswart>
Ox0dea: cool. Yeah, I have been trying to set up either gemsets or bundle, so I may have borked something. I am using rbenv, but I am getting confused about how to properly isolate my environments. I am used to Python's virtualenv, but there seems to be more configuration options for ruby with gemsets and bundler.
Tempesta_ has left #ruby ["Closing Channel, bye."]
Tempesta has joined #ruby
LoneHerm_ has joined #ruby
jorrin has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Remote host closed the connection]
<Ox0dea>
lswart: It's not hard to imagine that virtualenv is simpler, but both are (or at least should be :P) pretty set-it-and-forget-it once you've, well, set them.
x77686d has joined #ruby
Jonah11_ has joined #ruby
<lswart>
Ox0dea: I guess the gemsets are confusing. The bundle and Gemfile seems straightforward - I just `bundle install` and it installs all gems inside the Gemfile. But I suppose gemsets allows reuse of gems across projects?
<Ox0dea>
lswart: Just the opposite, really.
minimalism has quit [Quit: minimalism]
rbennacer has quit [Remote host closed the connection]
roshanavand has joined #ruby
LoneHerm_ has quit [Ping timeout: 264 seconds]
duckpuppy has joined #ruby
<lswart>
Yeah, I suppose bundle is more bulky than gemsets. But I can't figure out how to mix and match different gemsets for a project
braincra- has quit [Quit: bye bye]
<Ox0dea>
That sounds vaguely masochistic. :P
<lswart>
not sure I follow? You said it was the opposite, so I assume you were referring to bundle being more confusing that gemsets. Although the bundle interface feels more intuitive
DonOtreply has joined #ruby
pawnbox has joined #ruby
<lswart>
I've been using `rbenv gemset`, but the documentation seems lacking, and I may not be using it properly
<Ox0dea>
No, I meant to indicate that gemsets give you separation between projects, rather than the ability to "mingle" their opinions of what's installed.
yoongkan_ has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
jgpawletko has quit [Quit: jgpawletko]
hahuang61 has joined #ruby
zacstewart has joined #ruby
Rickmasta has quit [Ping timeout: 245 seconds]
yoongkan_ has left #ruby [#ruby]
hahuang65 has quit [Ping timeout: 240 seconds]
Eiam_ has joined #ruby
<lswart>
But can't one use multiple gemsets on a single project? For bundle, we always install from a single Gemfile. Although I may be confusing myself...
Rickmasta has joined #ruby
braincrash has joined #ruby
kirillzh has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
andrew has joined #ruby
minimalism has joined #ruby
zacstewart has quit [Ping timeout: 256 seconds]
Conflict has quit [Read error: Connection reset by peer]
celly has joined #ruby
Conflict has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<lswart>
I am using rbenv, so that might be an issue. I am having a hard time finding how to use a gemset, because there is not `rbenv gemset use` command, or anything similar. I can create and delete gemsets, but I can't seem to use existing gemsets
sandstrom has quit [Quit: My computer has gone to sleep.]
<lswart>
and I also filed my own issue because the `rbenv-gemset` command isn't available, only the `rbenv gemset` command is avaialble. So I think the documentation has some issues
<Ox0dea>
Er, that's everything working as expected, really.
sandstrom has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
arashb has joined #ruby
<Ox0dea>
It's a dead-simple plugin architecture inspired by git; `thing subcommand` just looks for an executable called `thing-subcommand` in your PATH before bailing.
djbkd has quit [Quit: Leaving...]
Deck` has quit [Ping timeout: 240 seconds]
<lswart>
True, and I like the simplicity of rbenv. But why are there references to `rbenv-gemset` when after installing the plugin, the command isn't there (nor references about adding anything to the PATH)? `rbenv gemset` seems to be the command that the plugin provies, and I think it should be referenced in the docs.
<lswart>
/provies/provides
arashb has quit [Ping timeout: 264 seconds]
karapetyan has joined #ruby
Rickmasta has quit [Ping timeout: 240 seconds]
<lswart>
But I think I am figuring it out. It seems to be a useful tool, but I think that the documentation makes it difficult for someone to get started with it.
lessless has joined #ruby
nofacade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lswart>
Radar: What's the argument against gemsets? The argument for them seems to be that they are lighter weight and more configurable than bundler and Gemfiles. (BTW, I am still new to both methods, but I want to learn the pros/cons between them)
Rickmasta has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
Rickmasta has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
celly has quit [Remote host closed the connection]
UtkarshRay has quit [Remote host closed the connection]
selfadhesivefilm has joined #ruby
sdothum has joined #ruby
baweaver has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
stardiviner has quit [Ping timeout: 252 seconds]
gix- has quit [Ping timeout: 240 seconds]
tfitts_ has quit [Read error: No route to host]
sandstrom has joined #ruby
selfadhesivefilm has quit [Ping timeout: 240 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
elifoster has quit [Ping timeout: 264 seconds]
<Radar>
lswart: They accomplish the same thing as Bundler does. imo they add bloat to whatever ruby version manager they're a part of.
nerium has quit [Quit: nerium]
<Radar>
Bundler being as popular as it is... it doesn't make sense to have gemsets too.
nerium has joined #ruby
<Ox0dea>
chruby is the only true Ruby version manager; the others manage environments.
Rickmasta has quit [Ping timeout: 250 seconds]
<Radar>
Also: you may accidentally install two versions of the same gem within a gemset, and gemsets don't restrict you from doing that. How do you tell your app which specific version to use?
<Ox0dea>
Radar: How about a Gemfile? :P
<Radar>
Ox0dea: A Gemfile would be a great way ;)
Rickmasta has joined #ruby
gix has joined #ruby
<lswart>
So, if I have two projects using the same version of Ruby, how to I update my environment when I switch projects? `bundle update`?
<lswart>
(assuming that I don't use gemsets)
<Ox0dea>
lswart: `bundle install` per project directory, then `bundle exec foo` to use the local configuration.
Lucky_ABA has quit [Ping timeout: 240 seconds]
<lswart>
Ox0dea: Ah, thanks! When you say `bundle exec foo`, if I wanted to generate my jekyll site using local configs, would I run `bundle exec jekyll serve`?
yaewa has joined #ruby
<Ox0dea>
lswart: I want to say jekyll does some of the heavy lifting there, but it wouldn't hurt.
krzkrz has joined #ruby
moei has quit [Ping timeout: 240 seconds]
<Ox0dea>
Any given Ruby-powered program can bother to try to figure out where it is and how it should go about code loading; Bundler's overarching goal is to spare them that effort.
<lswart>
But interestingly, without gemsets, we just run `bundle install` to replace our gems list without saving them in separate environments, no?
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<Ox0dea>
They do just get installed globally, yeah.
<lswart>
It's like virtualenv, but there is only one environment and we run `pip install -r requirement.txt` whenever we switch projects. Is that how bundler works without gemsets, right?
<Ox0dea>
But the Gemfile is there to do the "mixing and matching" you might've had in mind earlier.
<Ox0dea>
You only need to `bundle install` once per project.
<Radar>
Ox0dea is right
p0wn3d has quit [Ping timeout: 250 seconds]
<Ox0dea>
I'll phone the authorities.
<lswart>
But when we switch projects, we need to update our gems, right? So don't we use `bundle install`? (or `bundle update`?)
sandstrom has quit [Quit: My computer has gone to sleep.]
<Radar>
Ox0dea: Thanks. Hard for me to do since I'm in an airport.
<Ox0dea>
lswart: Bundler + Gemfile gives your project a local view of the global gem repository.
<Radar>
lswart: Each project will have its own set of dependencies, defined either in the Gemfile or Gemfile.lock.
<Radar>
lswart: The Gemfile.lock is the SPECIFIC versions of each gem. Gemfile is what specifies the dependencies to be resolved. So you might have "gem 'rails', '~> 4.2'", in your Gemfile, which will resolve to install (currently) Rails 4.2.5.1.
<Radar>
lswart: That 4.2.5.1 is what will be put into your Gemfile.lock after Bundler resolves + installs all dependencies.
<Radar>
lswart: Then someone else can come along to the project, run "bundle install" and get exactly the same dependencies as specified in Gemfile.lock
sandstrom has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
<lswart>
Yes, that makes sense - the Gemfile uses semantic versioning to control the dependencies for a specific project. But to load those dependencies whenever we switch projects, we need to run `bundle install` in the new project, right?
<lswart>
or `bundle update`?
<Ox0dea>
lswart: `bundle exec`.
LoneHermit has joined #ruby
andrew has quit [Remote host closed the connection]
LoneHermit has quit [Remote host closed the connection]
andrew has joined #ruby
pawnbox has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
<lswart>
Ox0dea: ok, that makes sense. With that, I think I will move forward!
<Ox0dea>
lswart: ➔∞→!
andrew has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 272 seconds]
ensyde has joined #ruby
p0wn3d has joined #ruby
Timberwo|f has quit [Ping timeout: 248 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
zacstewart has joined #ruby
<Radar>
Hooray :)
sandstrom has joined #ruby
p0wn3d has quit [Ping timeout: 272 seconds]
arthropododo has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 256 seconds]
coyo has joined #ruby
Deck` has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
n00bdev has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 252 seconds]
Deck` has quit [Ping timeout: 264 seconds]
UtkarshRay has joined #ruby
stardiviner has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
karapetyan has joined #ruby
sandstrom has joined #ruby
roshanavand has joined #ruby
askhat has joined #ruby
askhat has left #ruby [#ruby]
karapetyan has quit [Ping timeout: 240 seconds]
selfadhesivefilm has joined #ruby
baweaver has joined #ruby
arescorpio has quit [Quit: Leaving.]
selfadhesivefilm has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
baweaver has quit [Ping timeout: 240 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
sandstrom has quit [Quit: My computer has gone to sleep.]
Xeago has quit [Ping timeout: 272 seconds]
celly has joined #ruby
sandstrom has joined #ruby
celly has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 260 seconds]
LoneHermit has joined #ruby
yfeldblum has joined #ruby
solocshaw has joined #ruby
adgtl has joined #ruby
LoneHermit has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
roshanavand has quit [Ping timeout: 272 seconds]
adgtl_ has joined #ruby
adgtl has quit [Ping timeout: 250 seconds]
ozzloy_ is now known as ozzloy
ozzloy has quit [Changing host]
ozzloy has joined #ruby
sandstrom has joined #ruby
DmitryBochkarev has joined #ruby
PedramT has joined #ruby
rbennacer has joined #ruby
duckpuppy has joined #ruby
fedexo has joined #ruby
duckpuppy has quit [Ping timeout: 248 seconds]
rbennacer has quit [Ping timeout: 264 seconds]
zacstewart has joined #ruby
skweek has joined #ruby
skweek has quit [Remote host closed the connection]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Limix has joined #ruby
stardiviner has quit [Ping timeout: 250 seconds]
stardiviner has joined #ruby
zacstewart has quit [Ping timeout: 256 seconds]
bb010g has joined #ruby
x77686d has quit [Quit: x77686d]
sandstrom has quit [Quit: My computer has gone to sleep.]
Deck` has joined #ruby
sandstrom has joined #ruby
Eiam_ has joined #ruby
n00bdev has joined #ruby
marsjaninzmarsa has quit [Ping timeout: 248 seconds]
Deck` has quit [Ping timeout: 240 seconds]
askhat has joined #ruby
pawnbox has joined #ruby
n00bdev has quit [Ping timeout: 260 seconds]
n00bdev_ has joined #ruby
shadoi has joined #ruby
PedramT has quit []
Limix has quit [Quit: Limix]
graphettion has quit [Remote host closed the connection]
marsjaninzmarsa has joined #ruby
ziyadb has joined #ruby
shadoi has quit [Quit: Leaving.]
selfadhesivefilm has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
sandstrom has joined #ruby
edulix has quit [Ping timeout: 240 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
selfadhesivefilm has quit [Ping timeout: 240 seconds]
dcunit3d has joined #ruby
Cohedrin has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
lurch_ has joined #ruby
lurch_ has quit [Client Quit]
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
RegulationD has joined #ruby
Limix has joined #ruby
edulix has joined #ruby
roshanavand has joined #ruby
askhat has quit [Read error: Connection reset by peer]
sandstrom has quit [Quit: My computer has gone to sleep.]
askhat has joined #ruby
LoneHerm_ has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
sandstrom has joined #ruby
baweaver has joined #ruby
whippythellama has quit [Ping timeout: 245 seconds]
dexter-tzu has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
whippythellama has joined #ruby
the_drow has joined #ruby
yoongkang has joined #ruby
dc1 has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
shout-user87 has joined #ruby
<shout-user87>
he guys
<shout-user87>
how do i go about writing an irc client
tvw has joined #ruby
<shout-user87>
or not
<shout-user87>
how do i go about writing an irc client
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandstrom has quit [Quit: My computer has gone to sleep.]
zacstewart has joined #ruby
sandstrom has joined #ruby
moeabdol1 has joined #ruby
<eam>
shout-user87: a good first step might be to sketch out what you think its major functions are, perhaps on a piece of paper
<shout-user87>
well
<shout-user87>
it would send and recieve messages
<shout-user87>
it would not distinguish between channels, it would just prefix messages with the channel name
<shout-user87>
same for pm's
<eam>
sure. So this is a pretty good start
<shout-user87>
it would just send and recieve messages and commands
moeabdol has quit [Ping timeout: 245 seconds]
<shout-user87>
ok
zacstewart has quit [Ping timeout: 256 seconds]
<eam>
maybe next, write example code that sends a message. And that receives a message
<eam>
once you have the individual bits working, start plugging them together
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shout-user87>
well, i'm opening a socket, and puts'ing to it and gets'ing from it
<shout-user87>
but that's inefficient
<eam>
that's probably an ok way to do it if you're just learning
<shout-user87>
i need to type 'PRIVMSG #ruby : <message>'
<eam>
you may want to look into more advanced libraries which will manage your i/o event loop
<shout-user87>
every time
<shout-user87>
can you suggest any>
<eam>
but you can work out the irc protocol logic with a simple loop {}
<eam>
celluloid
<shout-user87>
i mean, i'm reading rfc 1459 right now
<Ox0dea>
shout-user87: You should learn Ruby. :)
<shout-user87>
Ox0dea weren't we just talking?
<Ox0dea>
No.
<shout-user87>
about the dicebot
<Ox0dea>
What's that?
<eam>
shout-user87: if you want to learn the protocol, a simple loop {} with gets and puts ought to suffice
<shout-user87>
in #foo
<shout-user87>
eam, is there a way to do it asynchrously?
<eam>
you can work out the bits that speak the protocol independent of the efficiency gains in using a more advanced event loop framework
shout-user87 has left #ruby ["undefined"]
<eam>
yes, celluloid will help you do that
shout-user87 has joined #ruby
<eam>
you could do it on your own, of course
<shout-user87>
sorry, can you please repeat that last message that i missed?
<Radar[air]>
I only ever layover in Dubai. I don't want to ever go there for any other reason.
pen has quit [Remote host closed the connection]
sftrabbit has joined #ruby
Domaldel has quit [Quit: Leaving]
pen has joined #ruby
selfadhesivefilm has joined #ruby
FernandoBasso has joined #ruby
<Ox0dea>
Okay, but one can't help but appreciate the feat of engineering that is the Palm Jumeirah.
<Radar[air]>
true.
<Radar[air]>
Or the Burj Khalifa.
Deck- has joined #ruby
quaristice has joined #ruby
selfadhesivefilm has quit [Ping timeout: 250 seconds]
<kbni>
Ox0dea, isn't a lot of that sinking?
harly has joined #ruby
mondok has quit [Ping timeout: 245 seconds]
marcdel_ has quit [Ping timeout: 240 seconds]
Deck- has quit [Ping timeout: 272 seconds]
<Ox0dea>
kbni: That seems to be the case.
sandstrom has quit [Quit: My computer has gone to sleep.]
Jonah11_ has quit [Remote host closed the connection]
harly__ has quit [Ping timeout: 245 seconds]
sandstrom has joined #ruby
<shout-user87>
blah
ziyadb has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vikas027 has joined #ruby
nerium has joined #ruby
<Ox0dea>
At-Taubah 109: Is he, then, who founded his building on the fear of Allah and His pleasure better, or he who has founded his building on the brink of a tottering, water-worn bank which tumbled down with him into the fire of Hell?
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
renderf__ has quit [Ping timeout: 245 seconds]
<Ox0dea>
Googling "persian gulf volcano" brings up a 1990 article in the Orlando Sentinel.
dextertzu has joined #ruby
harly_ has joined #ruby
Deck- has joined #ruby
harly has quit [Ping timeout: 260 seconds]
<Ox0dea>
baweaver: I knew there was something in the Bible about building on sand and figured I'd check the Qur'an for a similar parable, and there it was.
moeabdol2 has joined #ruby
william3 has quit [Remote host closed the connection]
moeabdol1 has quit [Ping timeout: 252 seconds]
<Ox0dea>
Extremely OT, to be sure, but hardly a head-scratcher?
baweaver has quit [Remote host closed the connection]
raj_ has quit [Remote host closed the connection]
Deck- has quit [Ping timeout: 250 seconds]
CloCkWeRX has quit [Quit: Leaving.]
Coldblackice has quit [Ping timeout: 245 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
whippythellama has quit [Ping timeout: 248 seconds]
Domaldel has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
zeroDivisible has joined #ruby
sandstrom has joined #ruby
whippythellama has joined #ruby
duckpuppy has joined #ruby
harly_ has quit [Read error: Connection reset by peer]
jgt4 has quit [Ping timeout: 245 seconds]
rbennacer has joined #ruby
Mon_Ouie has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
william3 has joined #ruby
DoubleMalt has joined #ruby
flughafen_ has joined #ruby
duckpuppy has quit [Ping timeout: 252 seconds]
n00bdev has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
Deck- has joined #ruby
william3 has quit [Ping timeout: 245 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
zacstewart has joined #ruby
Azulinho has quit [Ping timeout: 276 seconds]
n00bdev has quit [Ping timeout: 260 seconds]
Deck- has quit [Ping timeout: 250 seconds]
zacstewart has quit [Ping timeout: 256 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
Timberwo|f has joined #ruby
chouhoulis has joined #ruby
vdamewood has joined #ruby
guardian has quit [Quit: Coyote finally caught me]
guardian has joined #ruby
darkf has joined #ruby
sandstrom has joined #ruby
neanderslob has quit [Read error: Connection reset by peer]
raj_ has joined #ruby
neanderslob has joined #ruby
platzhirsch has joined #ruby
chouhoulis has quit [Ping timeout: 264 seconds]
Deck- has joined #ruby
william3 has joined #ruby
yoongkang has joined #ruby
nodejunkie has joined #ruby
Xeago has joined #ruby
yoongkang has quit [Ping timeout: 264 seconds]
nerium has quit [Quit: nerium]
sandstrom has quit [Quit: My computer has gone to sleep.]
selfadhesivefilm has joined #ruby
nerium has joined #ruby
sandstrom has joined #ruby
yoongkang has joined #ruby
neanderslob has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 240 seconds]
selfadhesivefilm has quit [Ping timeout: 248 seconds]
jgt4 has joined #ruby
dextertzu has quit [Ping timeout: 272 seconds]
sftrabbit has quit [Quit: sftrabbit]
the_drow has joined #ruby
RegulationD has joined #ruby
platzhirsch has quit [Ping timeout: 240 seconds]
dextertzu has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
krizio has joined #ruby
nerium has quit [Quit: nerium]
RegulationD has quit [Ping timeout: 256 seconds]
sandstrom has joined #ruby
sftrabbit has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
baweaver has joined #ruby
p1k has joined #ruby
<p1k>
hello
howdoi has joined #ruby
<p1k>
I'm trying to accept an ssl connection with the openssl module but ruby hangs completely (does not respond to sigint)
<p1k>
strace shows it's looping endlessly on the read instruction: read(7, 0x55e31457cd00, 11) = -1 ENOTCONN (Transport endpoint is not connected)
coderMe has joined #ruby
Deck- has quit [Ping timeout: 250 seconds]
<p1k>
it could be I've made a mistake somewhere in the ssl setup - but the process does not respond to sigint or sigterm
baweaver has quit [Ping timeout: 252 seconds]
platzhirsch has joined #ruby
dextertzu has quit [Ping timeout: 240 seconds]
FirePowi has joined #ruby
<FirePowi>
Hello, I’m installing ruby2.1 (for Diaspora*) and I have that error : "ERROR: While executing gem ... (Gem::CommandLineError)\n Please specify at least one gem name (e.g. gem build GEMNAME)"
sandstrom has quit [Quit: My computer has gone to sleep.]
<Radar[air]>
FirePowi: I recommend installing Ruby with chruby+ruby-install. Please try that and let me know how it goes. It works fine on all my machines and my friends' machines.
n00bdev has joined #ruby
dextertzu has joined #ruby
nerium has joined #ruby
devbug has joined #ruby
sandstrom has joined #ruby
platzhirsch has quit [Ping timeout: 272 seconds]
krizio has quit [Quit: WeeChat 0.4.3]
platzhirsch has joined #ruby
Deck- has joined #ruby
zacstewart has joined #ruby
<FirePowi>
Radar[air], well. I install chruby (and ruby-install) and I infor you on the news ;)-
FooMunki has joined #ruby
tildes has joined #ruby
n00bdev has quit [Ping timeout: 260 seconds]
<FirePowi>
So I just do "ruby-install ruby 2.1" and "ruby-install ruby-bundler 2.1" ?
Deck- has quit [Ping timeout: 276 seconds]
<Radar[air]>
no
platzhirsch has quit [Ping timeout: 245 seconds]
<Radar[air]>
just ruby-install ruby 2.1
<FirePowi>
Ok thanks :-)
<Radar[air]>
then switch into that Ruby using chruby.
<shevy>
I think it will still work but I have not tested it in a while.
<shevy>
actually
<shevy>
I think ruby-gnome includes ruby-gtk
<shevy>
but you probably don't need the more gnome specific things
raj_ has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
beast has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
vdamewood has quit [Ping timeout: 252 seconds]
mostlybadfly has joined #ruby
<TomyLobo>
ideally i wouldnt want anything to do with gnome at all :)
<shevy>
you do know that you will write ruby code?
n00bdev has joined #ruby
tk__ has joined #ruby
<TomyLobo>
yeah. what does ruby have to do with gnome?
<shevy>
what does any toolkit have to do with ruby?
<TomyLobo>
well not much. the thing is, the stuff i want to do on the backend will be easy for me to do in ruby. but i dont want to spend days figuring out how to compile gtk and initialize a window
<shevy>
Shoes.app do # imagine new line here, then button "Click me!" do
<shevy>
if you use classical GUIs like qt/kde or gtk/gnome and the bindings to it in ruby, you end up having to do more manual stuff, such as .signal_connect or connecting slots (in qt) which is a bit weird
<shevy>
in shoes it is: keypress do |key|
<shevy>
\o/
DonOtreply has quit [Quit: DonOtreply]
<shevy>
guess I was wrong for shoes4 https://github.com/shoes/shoes4/wiki - while they require jruby, their spec is agnostic, or at the least they state so ... " we want there to be multiple backends for shoes -- maybe Qt, maybe GTK"
Gnut has quit [Ping timeout: 240 seconds]
<TomyLobo>
hmmm, i think i'll just go with a console script and rerun
<TomyLobo>
and yes, the shoes api looks nice
<shevy>
:D
chouhoulis has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
dlitvak has quit [Remote host closed the connection]
selfadhesivefilm has quit [Ping timeout: 245 seconds]
bonhoeffer has joined #ruby
Deck- has joined #ruby
skade has joined #ruby
sftrabbit has joined #ruby
skade has quit [Excess Flood]
sftrabbit has quit [Client Quit]
PedramT has joined #ruby
bonhoeffer has quit [Ping timeout: 240 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
tvw has joined #ruby
Deck- has quit [Ping timeout: 240 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
sandstrom has joined #ruby
duckpuppy has joined #ruby
stardiviner has joined #ruby
rbennacer has joined #ruby
askhat has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
askhat_ has joined #ruby
moeabdol3 has joined #ruby
mhoungbo_ has joined #ruby
moeabdol2 has quit [Ping timeout: 252 seconds]
duckpuppy has quit [Ping timeout: 256 seconds]
rbennacer has quit [Ping timeout: 240 seconds]
raj_ has quit [Remote host closed the connection]
peeja has joined #ruby
n00bdev has joined #ruby
dlitvak_ has quit [Ping timeout: 252 seconds]
jgt4 has joined #ruby
mdw has joined #ruby
Deck- has joined #ruby
PedramT has quit [Remote host closed the connection]
zacstewart has joined #ruby
william3 has joined #ruby
n00bdev has quit [Ping timeout: 240 seconds]
tk__ has quit [Quit: ばいばい]
Deck- has quit [Ping timeout: 240 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
mdw_ has joined #ruby
djbkd has quit []
william3 has quit [Ping timeout: 245 seconds]
zacstewart has quit [Ping timeout: 256 seconds]
mdw has quit [Ping timeout: 248 seconds]
chouhoulis has joined #ruby
sandstrom has joined #ruby
PedramT has joined #ruby
adgtl has joined #ruby
adgtl has quit [Remote host closed the connection]
jgt4 has quit [Ping timeout: 250 seconds]
adgtl has joined #ruby
<the_drow>
Hi guys, I recently deployed the Oj JSON parser to production which loads floating point numbers to BigDecimals by default. When I insert the hashes parsed by Oj to MongoDB I get an exception that says that BSON can't serialize BigDecimals. I can configure Oj to convert floating point numbers to float but I'm guessing that there's a performance penalty. Is there a better way to do this?
raj_ has joined #ruby
tvw has quit [Read error: No route to host]
chouhoulis has quit [Ping timeout: 250 seconds]
coderMe_ has quit [Read error: Connection reset by peer]
coderMe has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
dlitvak has joined #ruby
raj_ has quit [Client Quit]
araujo has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
Deck- has joined #ruby
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
krzkrz has joined #ruby
araujo has joined #ruby
sftrabbit has joined #ruby
coderMe has quit [Ping timeout: 240 seconds]
rbennacer has joined #ruby
dfinninger has joined #ruby
william3 has quit [Ping timeout: 245 seconds]
RegulationD has joined #ruby
ta_ has joined #ruby
william3 has joined #ruby
sftrabbit has quit [Client Quit]
Deck- has quit [Ping timeout: 252 seconds]
sergey_makagon has joined #ruby
sergey_makagon has quit [Client Quit]
<FirePowi>
Radar[air], well. I installed chruby. But I only have chruby-exec available. And it doesn't work, asking for chruby…
solocshaw has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
ta has quit [Ping timeout: 245 seconds]
coderMe has joined #ruby
sandstrom has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
sftrabbit has joined #ruby
peeja has quit [Ping timeout: 276 seconds]
sdothum has joined #ruby
Deck- has joined #ruby
einarj has quit [Remote host closed the connection]
Jonah11_ has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
dlitvak has quit [Ping timeout: 272 seconds]
sgambino has joined #ruby
tildes has quit [Ping timeout: 240 seconds]
Deck- has quit [Ping timeout: 240 seconds]
FernandoBasso has quit [Ping timeout: 240 seconds]
dcunit3d has quit [Ping timeout: 245 seconds]
dlitvak has joined #ruby
selfadhesivefilm has joined #ruby
yoongkang has joined #ruby
ferr has quit [Ping timeout: 252 seconds]
selfadhesivefilm has quit [Ping timeout: 240 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
yoongkang has quit [Ping timeout: 240 seconds]
arthropododo has joined #ruby
ysz has joined #ruby
<ysz>
hello
Deck- has joined #ruby
baweaver has quit [Ping timeout: 240 seconds]
<ysz>
I'm looking for binary installer for 2.3.0 for Windows :) latests I see on rubyinstaller is 2.2.4
<ysz>
I need "official" one
askhat_ has quit [Read error: Connection reset by peer]
askhat has joined #ruby
Deck- has quit [Ping timeout: 272 seconds]
karapetyan has joined #ruby
sftrabbit has quit [Quit: sftrabbit]
roshanavand has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
selfadhesivefilm has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
<ysz>
pushcx, oh dear hope he's okay
n00bdev has joined #ruby
<ysz>
what are the major thins of 2.3? that fancy bytecode cache?
<ysz>
I'm more concerned about VM
scripore has quit [Quit: This computer has gone to sleep]
rodfersou has quit [Quit: leaving]
moeabdol4 has joined #ruby
Deck- has joined #ruby
n00bdev has quit [Ping timeout: 250 seconds]
moeabdol3 has quit [Ping timeout: 252 seconds]
<shevy>
what is the problem with windows + ruby?
<shevy>
the build environment?
Felix444 has quit [Quit: Leaving]
<shevy>
I mean for a new 2.3
davedev24 has joined #ruby
<ysz>
shevy, nah, I hoped to get binary installer for stable and that's it
<shevy>
yeah but you could compile one :)
<ysz>
and theen i have to get build environment etc :-P
<shevy>
yeah
<shevy>
this must be simpler
dexter-tzu has joined #ruby
Deck- has quit [Ping timeout: 252 seconds]
<ysz>
but anyways, I got myself 2.2.4 installer, and then rake-compiler already.. what's next.. devkit thing whatever that means... i think i could just rake compile 2.3 then :)
<shevy>
I mean when you have ruby 2.2.4 available already
<shevy>
all ruby scripts can work
chouhoulis has joined #ruby
FernandoBasso has joined #ruby
<ysz>
I'm working on native extensions
dlitvak_ has joined #ruby
dfinninger has quit [Remote host closed the connection]
mhoungbo_ has quit [Ping timeout: 260 seconds]
kam270 has quit [Ping timeout: 245 seconds]
dlitvak has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
JohnBat26 has joined #ruby
diffinity has joined #ruby
arashb has joined #ruby
themsay has joined #ruby
infernix has quit [Ping timeout: 252 seconds]
diffinity has quit [Ping timeout: 276 seconds]
arashb has quit [Ping timeout: 256 seconds]
Deck- has joined #ruby
scripore has joined #ruby
despai has quit [Ping timeout: 256 seconds]
Deck- has quit [Ping timeout: 252 seconds]
moeabdol has joined #ruby
Azulinho has quit [Ping timeout: 240 seconds]
despai has joined #ruby
moeabdol4 has quit [Ping timeout: 260 seconds]
lurch_ has joined #ruby
stardiviner has quit [Ping timeout: 250 seconds]
Azulinho has joined #ruby
IrishGringo has joined #ruby
zenlot1 is now known as zenlot
ysz has quit [Quit: This computer has gone to sleep]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
Deck- has joined #ruby
ESpiney has joined #ruby
infra-re_ has joined #ruby
dmr8 has joined #ruby
infra-red has quit [Ping timeout: 256 seconds]
infernix has joined #ruby
Zai00 has joined #ruby
nanoz] has quit [Ping timeout: 245 seconds]
sftrabbit has joined #ruby
dlitvak_ has quit [Ping timeout: 245 seconds]
aryaching has quit [Read error: Connection reset by peer]
mdw has joined #ruby
arooni_______ has joined #ruby
dlitvak has joined #ruby
flughafen_ has joined #ruby
despai has quit [Ping timeout: 245 seconds]
mdw_ has quit [Ping timeout: 240 seconds]
edulix has quit [Ping timeout: 248 seconds]
dlitvak_ has joined #ruby
mdw has quit [Ping timeout: 260 seconds]
futilegames has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
dlitvak has quit [Ping timeout: 272 seconds]
moeabdol has quit [Ping timeout: 248 seconds]
duckpuppy has joined #ruby
infra-re_ has quit [Remote host closed the connection]
IrishGringo_ has joined #ruby
infra-red has joined #ruby
futilegames has quit [Client Quit]
futilegames has joined #ruby
rbennacer has quit [Remote host closed the connection]
karapetyan has joined #ruby
IrishGringo has quit [Ping timeout: 252 seconds]
DoubleMalt has quit [Remote host closed the connection]
futilegames has quit [Client Quit]
duckpuppy has quit [Ping timeout: 245 seconds]
futilegames has joined #ruby
pen has quit [Remote host closed the connection]
BaroMeter has joined #ruby
tiagobarreto has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
n00bdev has joined #ruby
edulix has joined #ruby
mhoungbo_ has joined #ruby
despai has joined #ruby
zacstewart has joined #ruby
flughafen_ has quit [Ping timeout: 240 seconds]
n00bdev has quit [Ping timeout: 240 seconds]
yardenbar has quit [Ping timeout: 245 seconds]
solars has joined #ruby
mdw has joined #ruby
zacstewart has quit [Ping timeout: 256 seconds]
mhoungbo_ has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
futilegames has quit [Quit: futilegames]
the_drow has quit [Quit: Leaving]
chouhoulis has quit [Ping timeout: 256 seconds]
mhoungbo_ has joined #ruby
PedramT has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
sepp2k has joined #ruby
redasus has joined #ruby
redasus has quit [Max SendQ exceeded]
redasus has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
Abrin has joined #ruby
lurch_ has quit [Quit: lurch_]
redasus has quit [Client Quit]
arooni_______ has quit [Ping timeout: 240 seconds]
mhoungbo_ has quit [Ping timeout: 250 seconds]
william3 has quit [Remote host closed the connection]
mdw has quit [Quit: Sleeping Zzzzz]
mdw has joined #ruby
DmitryBochkarev has joined #ruby
PedramT has quit [Remote host closed the connection]
platzhirsch has joined #ruby
william3 has joined #ruby
william3 has quit [Remote host closed the connection]
PedramT has joined #ruby
william3 has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
Macaveli has joined #ruby
dcunit3d has joined #ruby
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
araujo has quit [Quit: Leaving]
p0wn3d has quit [Quit: WeeChat 1.3]
mhoungbo_ has joined #ruby
Ilyes512 has joined #ruby
IrishGringo has joined #ruby
IrishGringo_ has quit [Read error: Connection reset by peer]
johnmilton has quit [Ping timeout: 250 seconds]
despai has joined #ruby
PlasmaStar has quit [Ping timeout: 264 seconds]
mhoungbo_ has quit [Max SendQ exceeded]
dcunit3d has quit [Ping timeout: 240 seconds]
mhoungbo_ has joined #ruby
selfadhesivefilm has quit [Read error: Connection reset by peer]
lurch_ has joined #ruby
dlitvak__ has joined #ruby
nofacade has joined #ruby
fedexo has joined #ruby
selfadhesivefilm has joined #ruby
platzhirsch has quit [Ping timeout: 245 seconds]
Limix has joined #ruby
PlasmaStar has joined #ruby
Ilyes512 has quit [Ping timeout: 250 seconds]
despai has quit [Ping timeout: 240 seconds]
IrishGringo has quit [Read error: Connection reset by peer]
dlitvak_ has quit [Ping timeout: 250 seconds]
IrishGringo_ has joined #ruby
<lipoqil>
I am trying do deploy with capistrano, but it's failing because fetch(:git_environmental_variables) returns nil, did you experience that?
nofacade has quit [Client Quit]
<lipoqil>
And… did you fixed it somehow? :)
karapetyan has joined #ruby
<lipoqil>
capistrano-3.4.0
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
anyone of you has an idea how to simulate the "wget --spider" functionality in pure ruby? the wget --spider can be used to probe whether a remote URL would exist; I use this before automatically downloading programs in a set of scripts
zapata has quit [Ping timeout: 240 seconds]
selfadhesivefilm has quit [Ping timeout: 250 seconds]
IrishGringo_ has quit [Ping timeout: 252 seconds]
intrigueD has joined #ruby
selfadhesivefilm has joined #ruby
ESpiney has quit [Ping timeout: 264 seconds]
DubiousSquash has joined #ruby
DubiousSquash has quit [Read error: Connection reset by peer]
DubiousSquash has joined #ruby
al2o3-cr has joined #ruby
ta_ has quit [Remote host closed the connection]
kirun has joined #ruby
arlek has quit [Ping timeout: 256 seconds]
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
johnmilton has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
sftrabbit has quit [Quit: sftrabbit]
astrobunny has joined #ruby
sankaber has joined #ruby
selfadhesivefilm has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
lurch_ has quit [Quit: lurch_]
bluOxigen has left #ruby [#ruby]
selfadhesivefilm has joined #ruby
sftrabbit has joined #ruby
symm- has joined #ruby
dlitvak has joined #ruby
Jonah11_ has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
infra-re_ has joined #ruby
zapata has joined #ruby
scripore has quit [Read error: Connection reset by peer]
n00bdev has joined #ruby
dlitvak__ has quit [Ping timeout: 256 seconds]
despai has joined #ruby
despai has quit [Client Quit]
<lipoqil>
Hmm, it looks like Sinatra does that evul
Jonah11_ has quit [Ping timeout: 240 seconds]
infra-red has quit [Ping timeout: 240 seconds]
<apeiros>
bot and website will be down for a bit. updating the server.
diegoviola has joined #ruby
fuzzy has joined #ruby
n00bdev has quit [Ping timeout: 250 seconds]
johnmilton has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
pen has joined #ruby
SenpaiSilver has joined #ruby
mhoungbo_ has quit [Ping timeout: 250 seconds]
ta has joined #ruby
FernandoBasso has quit [Quit: Leaving]
chouhoulis has joined #ruby
<apeiros>
eh, actually that might happen some time later. didn't think dinner would be ready this early :D sorry.
karapetyan has quit [Remote host closed the connection]
Ilyes512 has joined #ruby
fahrradflucht has quit [Quit: Connection closed for inactivity]
selfadhesivefilm has quit [Read error: Connection reset by peer]
selfadhesivefilm has joined #ruby
ta has quit [Ping timeout: 240 seconds]
ruby-lang087 has joined #ruby
pwnd_nsfw has joined #ruby
william3 has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 272 seconds]
<ruby-lang087>
Hi there, anyone here who has had experience running rbenv with gentoo/emerge?
bonhoeffer has joined #ruby
darkxploit has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
arashb has joined #ruby
mhoungbo_ has joined #ruby
banister has joined #ruby
dlitvak has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
intrigueD has quit [Changing host]
intrigueD has joined #ruby
arashb has quit [Ping timeout: 260 seconds]
duckpuppy has joined #ruby
dmr8 has quit [Ping timeout: 256 seconds]
musl has quit [Quit: WeeChat 1.3]
davedev24 has quit [Remote host closed the connection]
dmr8 has joined #ruby
dfockler has joined #ruby
davedev24 has joined #ruby
x77686d has joined #ruby
dlitvak has joined #ruby
duckpuppy has quit [Ping timeout: 245 seconds]
peeja has joined #ruby
Domaldel has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
davedev24 has quit [Ping timeout: 240 seconds]
fuzzy has quit [Ping timeout: 252 seconds]
william3 has quit [Ping timeout: 245 seconds]
mondok has joined #ruby
einarj has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
darkxploit has joined #ruby
ElFerna has joined #ruby
Kszegosz has joined #ruby
ysz has joined #ruby
<Kszegosz>
Hi guys. Could you help a ruby-beginner?
davedev24 has joined #ruby
davedev24 has quit [Remote host closed the connection]
<adaedra>
?ask
<ruby[bot]>
Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
DynamicMetaFlow has joined #ruby
davedev24 has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
yark has quit [Ping timeout: 252 seconds]
<Kszegosz>
So, I'm writing to-do list program. Method delete_item doesn't work, it simply do nothing. That my code http://pastebin.com/cLcmkMsh
<Ox0dea>
Kszegosz: If you want #delete_item to be easier to use, you probably want to use #delete with a block to find the Item that matches the description.
baweaver has joined #ruby
<intrigueD>
I reckon the item he is passing to delete_item has a different object_id, it looks the same (same description etc)
UtkarshRay has quit [Quit: Leaving]
<intrigueD>
We'd need to see the context of use
infra-red has joined #ruby
<Ox0dea>
I suspect he wanted to be able to say `add_item(:foo)` and `delete_item(:foo)`.
infra-re_ has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
zacstewart has joined #ruby
krzkrz has quit [Read error: Connection reset by peer]
baweaver has quit [Ping timeout: 250 seconds]
infra-red has quit [Ping timeout: 245 seconds]
<Kszegosz>
There is no more context. RIght now it's all. I want to delete items by the name of their instances.
dima_ has joined #ruby
<Ox0dea>
Kszegosz: They don't have names.
DmitryBochkarev has quit [Ping timeout: 240 seconds]
camillo has joined #ruby
dionysus69 has quit [Ping timeout: 245 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
infra-red has joined #ruby
sol_ has quit [Ping timeout: 240 seconds]
camillo is now known as sol_
shlomo has joined #ruby
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
infra-r__ has joined #ruby
Domaldel has joined #ruby
infra-re_ has quit [Ping timeout: 245 seconds]
mhoungbo_ has joined #ruby
selfadhesivefilm has quit [Read error: Connection reset by peer]
infra-red has quit [Ping timeout: 240 seconds]
<shevy>
Kszegosz you need to find out the right item to delete
dfinninger has joined #ruby
RegulationD has joined #ruby
dcunit3d has joined #ruby
arlek has joined #ruby
davedev24 has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 256 seconds]
LoneHerm_ has joined #ruby
ESpiney has joined #ruby
devbug has joined #ruby
<Kszegosz>
I think I know what you mean. I was trying to delete an item, by name of variable that contains it, which doesn't make sense :)
s00pcan has quit [Remote host closed the connection]
zacstewart has joined #ruby
<shevy>
yeah .delete is very simple x = [1,2,3]; x.delete 3 # => [1, 2]
<shevy>
just in your case it'll be slightly more complicated since you have special objects stored in @items
LoneHerm_ has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 260 seconds]
dlitvak has quit [Ping timeout: 276 seconds]
patchedmonkey has joined #ruby
patchedmonkey has quit [Client Quit]
TomPeed has joined #ruby
ruby[bot] has joined #ruby
Nanuq has quit [Ping timeout: 264 seconds]
mdw has joined #ruby
LoneHerm_ has joined #ruby
<Coraline>
Ox0dea: do you really think that that's appropriate?
ur5us has joined #ruby
<Ox0dea>
Sure.
dfinninger has joined #ruby
<Coraline>
:(
<Ox0dea>
It's either funny or something to be easily shrugged off.
<avenj>
I thought it was just a brief shell tutorial, what are you implying?
SenpaiSilver has quit [Read error: Connection timed out]
<Ox0dea>
avenj: Under that interpretation, please pretend I used `&&` instead of `;`; it's not the kind of pipeline you'd want to keep going on if one of the previous steps failed. :P
Deck- has joined #ruby
SenpaiSilver has joined #ruby
karapetyan has joined #ruby
chouhoulis has joined #ruby
despai has joined #ruby
<Papierkorb>
Ox0dea: Please wait till tomorrow, my shipment of popcorn should have arrived by then
<Ox0dea>
Papierkorb: The popcorn is a lie.
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfockler has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
A124 has joined #ruby
dh64 has quit [Quit: Konversation terminated!]
IrishGringo has quit [Ping timeout: 250 seconds]
arashb has joined #ruby
marr has joined #ruby
konsolebox has quit [Quit: Leaving]
intrigueD has quit [Remote host closed the connection]
Azulinho has quit [Ping timeout: 252 seconds]
kirillzh has joined #ruby
<shevy>
The lie is a cake!
zacstewa_ has joined #ruby
BaroMeter has quit [Quit: Leaving]
dlitvak_ has quit [Remote host closed the connection]
mdw has quit [Quit: Sleeping Zzzzz]
<Ox0dea>
Coraline: What names would you give to the "characters" in that sequence of shell commands? And could you say which "actor" you believe is "speaking" at each step?
<Coraline>
Ox0dea: I'm not playing this game with you. Just stop now.
<Ox0dea>
Well, you're no fun.
duckpuppy has joined #ruby
elifoster has joined #ruby
zacstewart has quit [Ping timeout: 256 seconds]
ruby-lang970 has joined #ruby
arashb has quit [Ping timeout: 256 seconds]
ruby-lang970 has quit [Client Quit]
Mon_Ouie has joined #ruby
rbennacer has joined #ruby
zacstewart has joined #ruby
zacstewa_ has quit [Ping timeout: 256 seconds]
<diegoviola>
Ox0dea: lol
code2Learn has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 240 seconds]
symbol has joined #ruby
aswen has joined #ruby
mdw has joined #ruby
<diegoviola>
Coraline: grow a thick skin please
coderMe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Coraline>
Pretty sure my implication to drop it was clear.
mhoungbo_ has joined #ruby
houhoulis has joined #ruby
<apeiros>
diegoviola: don't.
<diegoviola>
apeiros: ok
william3 has joined #ruby
Jonah11_ has joined #ruby
dlitvak has joined #ruby
<diegoviola>
how do I enable colorized output with minitest tests?
<diegoviola>
like how rspec does it
beast has quit [Quit: Leaving]
LoneHerm_ has quit [Remote host closed the connection]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azulinho has joined #ruby
ready is now known as ready2
Ebok has joined #ruby
william3 has quit [Ping timeout: 245 seconds]
code2Learn has joined #ruby
<Ox0dea>
diegoviola: require 'minitest/pride' :)
<diegoviola>
thanks
Jardayn has joined #ruby
intrigueD has joined #ruby
intrigueD has joined #ruby
davedev24 has joined #ruby
<Ox0dea>
diegoviola: You'll probably find that that's not quite what you had in mind, in which case you might try minitest-rg.
shadoi has quit [Quit: Leaving.]
dlitvak has quit [Ping timeout: 272 seconds]
mondok has quit [Ping timeout: 240 seconds]
code2Learn has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
william3 has joined #ruby
PedramT has quit [Remote host closed the connection]
<ruby[bot]>
Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
shadoi has joined #ruby
BTRE has joined #ruby
Azulinho has quit [Ping timeout: 264 seconds]
<apeiros>
adaedra: I actually wondered whether pasting an SO link qualifies as telling that it's a crosspost
CoderPuppy has quit [Ping timeout: 240 seconds]
<adaedra>
Posting it in both #ruby and #RoR qualifies at it imo.
Aviio has joined #ruby
<apeiros>
probably I just grew to expect that to happen. I guess you're right :)
<adaedra>
Because the problem of getting updates on how it evolves in other channels still holds true.
dling has quit [Ping timeout: 272 seconds]
kirun has quit [Ping timeout: 240 seconds]
PedramT has quit [Remote host closed the connection]
Jonah11_ has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
FooMunki has quit [Quit: FooMunki]
DoubleMalt has quit [Ping timeout: 276 seconds]
PedramT has joined #ruby
mhoungbo_ has joined #ruby
FooMunki has joined #ruby
<freezevee>
I apologise
PedramT has quit [Remote host closed the connection]
Cohedrin has joined #ruby
nodejunkie has joined #ruby
yoongkang has joined #ruby
sdothum has joined #ruby
dima_ has quit [Quit: This computer has gone to sleep]
shredding has joined #ruby
johnzorn has joined #ruby
zacstewart has quit [Ping timeout: 245 seconds]
yoongkang has quit [Ping timeout: 240 seconds]
zacstewart has joined #ruby
selfadhesivefilm has quit [Remote host closed the connection]
A124 has quit [Quit: '']
yoongkang has joined #ruby
volongato has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.3]
al2o3-cr has quit [Ping timeout: 260 seconds]
A124 has joined #ruby
selfadhesivefilm has joined #ruby
davedev24 has quit [Remote host closed the connection]
CoderPuppy has joined #ruby
dling has joined #ruby
johnmilton has joined #ruby
infra-red has joined #ruby
infra-red has quit [Remote host closed the connection]
dramagods has quit [Ping timeout: 252 seconds]
codecop has quit [Remote host closed the connection]
Pathfinder has joined #ruby
cpup has quit [Ping timeout: 250 seconds]
sankaber has joined #ruby
chouhoulis has joined #ruby
jackjackdripper has joined #ruby
al2o3-cr has joined #ruby
PedramT has joined #ruby
ElFerna has joined #ruby
baweaver has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
volongato has quit [Remote host closed the connection]
tildes has quit [Ping timeout: 240 seconds]
dramagods has joined #ruby
unreal has quit [Ping timeout: 256 seconds]
<shevy>
hmm I see this: .gsub(/%d6/ but I forgot what that means
DubiousSquash has quit [Ping timeout: 250 seconds]
<shevy>
or does it have no special meaning?
dling has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
pawnbox has quit [Remote host closed the connection]
<Aviio>
shevy: the /%d6/?
unreal_ has joined #ruby
<shevy>
yeah
<shevy>
I can't remember what I did there and I also did not document it :(
<Aviio>
ive never come across it, is it literally looking for the string %d6 ? lol
<Ox0dea>
Looks unintentional. :P
<Aviio>
take a look at the unit tests around your code, they should tell you what its doing ;)
yoongkang has quit [Remote host closed the connection]
ta has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
ng_linux has joined #ruby
<shevy>
I need a three pair programming
<shevy>
I code - someone else writes the documentation and the third person tests
rmrrn has joined #ruby
rmrrn has joined #ruby
bronson has joined #ruby
darkxploit has quit [Read error: Connection reset by peer]
<Ox0dea>
You sound like management material.
sepp2k has joined #ruby
<Aviio>
Ox0dea: hahah
<shevy>
hey! I still would write code!!!
rbennacer has quit [Remote host closed the connection]
domgetter has joined #ruby
phansch has quit [Quit: Connection closed for inactivity]
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
the_drow has joined #ruby
ur5us_ has joined #ruby
Ilyes512 has joined #ruby
johnmilton has quit [Ping timeout: 240 seconds]
ur5us has quit [Read error: No route to host]
diegoviola has joined #ruby
rmrrn has joined #ruby
rmrrn has joined #ruby
jbrhbr has quit [Ping timeout: 245 seconds]
jbrhbr has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
<c355e3b>
svkurowski_: you may just want to read the code on that one
rmrrn has quit [Client Quit]
Pathfinder_ has joined #ruby
rmrrn has joined #ruby
rmrrn has quit [Changing host]
rmrrn has joined #ruby
pdoherty has quit [Ping timeout: 245 seconds]
nerium has quit [Quit: nerium]
Pathfinder has quit [Ping timeout: 272 seconds]
rmrrn has quit [Remote host closed the connection]
snapcase has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 264 seconds]
n00bdev has quit []
duoi has joined #ruby
futilegames has joined #ruby
wethu has joined #ruby
wethu has quit [Changing host]
wethu has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
platzhirsch has quit [Ping timeout: 240 seconds]
ng_linux is now known as na_h
na_h is now known as na_g
platzhirsch has joined #ruby
yqt has joined #ruby
zacstewa_ has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
kirillzh has joined #ruby
kirillzh has quit [Client Quit]
snapcase has joined #ruby
TomyLobo has quit [Ping timeout: 276 seconds]
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<svkurowski_>
c355e3b: Thanks, will do L)(
ysz has joined #ruby
na_g has quit [Quit: Leaving]
PlsHelpMe_ has quit [Quit: Bye!]
na_g has joined #ruby
volongato has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
ElFerna has joined #ruby
bluOxigen_ has joined #ruby
dramagods has quit [Ping timeout: 240 seconds]
<Ox0dea>
svkurowski_: What is that?
<svkurowski_>
It was supposed a ":)" but I'm still in the process of migrating to US keyboard and messed up
<svkurowski_>
:D
<Ox0dea>
Ah, that makes sense. :P
futilegames_ has joined #ruby
futilegames has quit [Ping timeout: 272 seconds]
futilegames_ is now known as futilegames
the_drow has quit [Quit: This computer has gone to sleep]
pen has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
chouhoulis has joined #ruby
pen has joined #ruby
<shevy>
lol
platzhirsch has quit [Ping timeout: 256 seconds]
kith has joined #ruby
Zai00 has quit [Quit: Zai00]
chouhoulis has quit [Ping timeout: 240 seconds]
pen has quit [Ping timeout: 245 seconds]
<shevy>
hmm... does anyone know off-hand... if I have a file in encoding X... and if I use open-uri to open a remote file, then save it locally... what encoding will the locally saved file have?
<shevy>
the "file in encoding X", I meant a ruby .rb file with a specific # Encoding comment on top actually
Limix has quit [Quit: Limix]
benlieb has quit [Quit: benlieb]
SenpaiSilver has quit [Quit: Leaving]
despai has quit [Ping timeout: 245 seconds]
Mia has quit [Read error: Connection reset by peer]
futilegames has quit [Quit: futilegames]
zenlot1 has joined #ruby
Mia has joined #ruby
zenlot has quit [Ping timeout: 252 seconds]
vF3hNGxc47h8 has joined #ruby
volty has joined #ruby
ruby-lang408 has joined #ruby
kriskropd has quit [Ping timeout: 240 seconds]
<apeiros>
shevy: the only thing the encoding comment does is tell ruby how to treat it when read as a source file. it doesn't do anything beyond that.
rbennacer has joined #ruby
last_staff has quit [Quit: last_staff]
<apeiros>
i.e. it has no influence on what encoding the file actually is or how any other program (including programs written in ruby) will treat it
ropeney has joined #ruby
kies^ has joined #ruby
<shevy>
hmm
ta has joined #ruby
volongato has quit []
<shevy>
ok
<volty>
Enumerator#next, when inside loop { }, sends a break instead of raising 'stop iteration' ?
<apeiros>
volty: a method can't "send break", so I doubt that. why do you ask?
dlitvak has joined #ruby
<volty>
because I have it here
<apeiros>
loop rescues StopIteration, maybe that gets you confused?
<volty>
no, I didn 't know that loop rescues stopiteration
ruby-lang408 has quit [Ping timeout: 252 seconds]
<apeiros>
"I have it here" isn't as descriptive as you seem to think :)
<volty>
I have the behaviour, though I didn't know about the roles of the actors
<apeiros>
?code volty
<ruby[bot]>
volty: We can't help you without your code, please post it to https://gist.github.com
rbennacer has quit [Ping timeout: 245 seconds]
<volty>
nothing to post. already cleared thx to apeiros
<apeiros>
ah, somehow missed your line about not having known about rescuing. sorry :)
<volty>
loop rescuing stopiteration is more than welcome
<apeiros>
it's an interesting concept
<apeiros>
but I'm conflicted about only loop rescuing it
ta has quit [Ping timeout: 245 seconds]
<volty>
yap. I was wondering where & why it breaks with so much grace —- at least for my case
dlitvak has quit [Ping timeout: 245 seconds]
bronson has quit [Remote host closed the connection]
<volty>
me too apeiros. that's why I came to ask about
mondok has quit [Ping timeout: 256 seconds]
freezevee has quit []
despai has joined #ruby
georgios has joined #ruby
Limix has joined #ruby
dlitvak has joined #ruby
georgios has quit [Client Quit]
roshanav_ has quit [Remote host closed the connection]
georgios has joined #ruby
dfas has quit [Quit: Leaving]
code2Learn has joined #ruby
johnmilton has joined #ruby
intrigueD has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
harly has joined #ruby
davedev24 has joined #ruby
symm- has quit [Ping timeout: 248 seconds]
karapetyan has joined #ruby
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
ferr has quit [Ping timeout: 256 seconds]
karapetyan has quit [Ping timeout: 248 seconds]
ElFerna has quit [Ping timeout: 240 seconds]
code2Learn has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
astrofog has quit [Quit: Quite]
ElFerna has joined #ruby
symm- has joined #ruby
Deck- has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
toretore has joined #ruby
Pathfinder_ has quit [Ping timeout: 240 seconds]
rbennacer has joined #ruby
georgios has quit [Remote host closed the connection]