apeiros changed the topic of #ruby to: Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<a1fa> Phage: just going through codeacademy
<Phage> a1fa: What?
RegulationD has quit [Ping timeout: 265 seconds]
RegulationD has joined #ruby
Lucky__ has joined #ruby
centrx has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
<apeiros_> Phage: highline maybe?
<Phage> apeiros_: RIGHT!
<Phage> Thanks.
nii236 has joined #ruby
juanpablo__ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adriancb has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 265 seconds]
oddraisin has joined #ruby
wallerdev has joined #ruby
ghostpl_ has joined #ruby
jonr22 has joined #ruby
wicope has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 264 seconds]
nii236 has quit [Ping timeout: 264 seconds]
adriancb has joined #ruby
codecop has quit [Ping timeout: 272 seconds]
armyriad has quit [Ping timeout: 264 seconds]
armyriad has joined #ruby
dfinninger has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
astrobunny has joined #ruby
ghostpl_ has quit [Ping timeout: 256 seconds]
Parker0 has joined #ruby
elfuego has quit [Quit: elfuego]
JoshGlzBrk has joined #ruby
arescorpio has joined #ruby
dfinninger has quit [Ping timeout: 252 seconds]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
Stalkr^ has quit [Read error: Connection reset by peer]
naftilos76 has joined #ruby
rbennacer has quit [Remote host closed the connection]
ki0 has quit [Remote host closed the connection]
mleung has quit [Quit: mleung]
apeiros_ has quit [Remote host closed the connection]
rbennacer has joined #ruby
apeiros_ has joined #ruby
<a1fa> in one of the ca tutorials, they suggest to use respond_to?(:next) to check for integer. would it not just be better to check for integer instead?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codeFiend has quit [Quit: codeFiend]
ponga has joined #ruby
<jhass> a1fa: no, the question is why do you need to check for integer?
einarj has joined #ruby
<a1fa> jhass: not sure yet ;) just going through tutorials. maybe before value goes into database?
<a1fa> or would you just to to_int
<jhass> to_i
<jhass> and probably I would do that, yes
<a1fa> err to_i*
<jhass> checking a random method is indeed silly
<jhass> so .is_a? Integer is better
<jhass> but most of the time you just assume you got what you need
<jhass> it'll error out in case you didn't anyway
einarj has quit [Ping timeout: 245 seconds]
funburn has quit [Quit: funburn]
delianides has joined #ruby
delianides has quit [Remote host closed the connection]
slackbotgz1 has joined #ruby
delianides has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
rbennacer has quit [Remote host closed the connection]
Pharaoh2_ is now known as Pharaoh2
charliesome has joined #ruby
slackbotgz has quit [Ping timeout: 255 seconds]
beginner has quit [Read error: Connection reset by peer]
beginner has joined #ruby
rbennacer has joined #ruby
Rayford has joined #ruby
rbennacer has quit [Remote host closed the connection]
Cache_Money has joined #ruby
Wolland has quit []
<Rayford> Hey. I am using OmniAuth with Sinatra, for GitLab. GitLab returns a private key with the user data and i use that key with the gitlab API. What is the best way to store the private key in the session?
CaffeineShot has joined #ruby
<duncannz> Rayford: rails?
<Rayford> Sinatra
<duncannz> oh sorry
<Rayford> make sense to just store in encrypted sqlite?
rbennacer has joined #ruby
Takle has quit [Remote host closed the connection]
mary5030 has joined #ruby
rbennacer has quit [Remote host closed the connection]
SouL has quit [Ping timeout: 244 seconds]
dc_ has joined #ruby
dc has quit [Read error: Connection reset by peer]
DEA7TH has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
dseitz has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
marr has quit []
aiguu has joined #ruby
paradoja has quit [Ping timeout: 264 seconds]
juanpaucar has joined #ruby
<shadeslayer> https://paste.kde.org/px3pnkj0h < this makes me sad :(
<shadeslayer> would have been nice if it was associative
Feyn has joined #ruby
speakingcode has quit [Ping timeout: 265 seconds]
<zacts> :b c\+\+
speakingcode has joined #ruby
juanpaucar has quit [Ping timeout: 256 seconds]
slackbotgz1 has quit [Remote host closed the connection]
slackbotgz has joined #ruby
<zacts> sorry typo
enebo has quit [Quit: enebo]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
dfinninger has joined #ruby
bim has quit [Remote host closed the connection]
bim has joined #ruby
CaffeineShot has quit [Quit: Leaving]
bim has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 256 seconds]
Aswebb_ has quit []
naftilos76 has quit [Remote host closed the connection]
sankaber has joined #ruby
mikepack has joined #ruby
Dude007 has quit [Remote host closed the connection]
centrx has quit [Quit: Shutting down, Please wait...]
Dude007 has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
nii2361 has joined #ruby
robustus|Off has joined #ruby
speakingcode has quit [Ping timeout: 252 seconds]
robustus|Off is now known as robustus
tubuliferous has joined #ruby
RegulationD has joined #ruby
duncannz has quit [Read error: Connection reset by peer]
Rayford has quit [Quit: Rayford]
tubuliferous has quit [Ping timeout: 265 seconds]
Rollabunna has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
Wolland has joined #ruby
<xybre> Got a resume today with obvious copy-pasting (whitespace, font changes mid-sentence). I'm not sure if its the copypasta that bothers me or the fact that it was done so poorly that bothers me more.
Soda has joined #ruby
davidcel- has joined #ruby
erichmenge has joined #ruby
phutchins has joined #ruby
<jhass> gooogle "how to decline a resume", open the first 10 results and copy paste one sentence from each?
hmsimha has quit [Ping timeout: 252 seconds]
sngeth has joined #ruby
scripore has quit [Quit: Leaving]
<xybre> My favorite part was where they pasted in the job title.
sngeth has quit [Ping timeout: 256 seconds]
<xybre> Mkaes me think of form letters. "Dear <USERNAME>, we are writing you to tell you of a great opportunity.."
zacts has quit [Quit: leaving]
duncannz has joined #ruby
lulzmachine has quit [Quit: lulzmachine]
sngeth has joined #ruby
dc_ has quit [Ping timeout: 245 seconds]
juanpablo__ has joined #ruby
sondr3 has joined #ruby
delianides has quit [Remote host closed the connection]
jonr22 has joined #ruby
juanpablo__ has quit [Ping timeout: 244 seconds]
Hobogrammer has quit [Ping timeout: 244 seconds]
ghostpl_ has joined #ruby
dc has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
baroquebobcat has joined #ruby
hiyosi has joined #ruby
jonr22 has quit [Ping timeout: 252 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghostpl_ has quit [Ping timeout: 264 seconds]
SOLDIERz_ has joined #ruby
einarj has joined #ruby
AlphaTech has quit [Quit: Connection closed for inactivity]
spiderbyte has joined #ruby
Wolland has quit []
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dolphi has joined #ruby
eat_multi has quit [Ping timeout: 264 seconds]
zacts has joined #ruby
einarj has quit [Ping timeout: 245 seconds]
hmsimha has joined #ruby
dfinninger has joined #ruby
leafybasil has quit [Ping timeout: 246 seconds]
startupality has joined #ruby
Synthbread has joined #ruby
rbennacer has joined #ruby
bim has joined #ruby
dfinninger has quit [Ping timeout: 240 seconds]
zacts has quit [Quit: leaving]
amystephe has quit [Quit: amystephe]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
bim has quit [Ping timeout: 256 seconds]
kirun has quit [Quit: Client exiting]
crapcae has left #ruby [#ruby]
towski_ has joined #ruby
towski__ has quit [Ping timeout: 252 seconds]
rbennacer has quit [Remote host closed the connection]
porfa has joined #ruby
beginner has quit [Ping timeout: 264 seconds]
beginner has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
<porfa> hey guys, when i run a ruby script from my terminal it outputs me “ ê “ but when i run it from php (shell_exec) it outputs me “ \u00EA “
<havenwood> >> "\u00EA"
<havenwood> >> "\u{ea}"
Wulf has quit [Ping timeout: 256 seconds]
bigmac has quit [Ping timeout: 256 seconds]
<havenwood> >> "EA".hex
<eval-in_> havenwood => 234 (https://eval.in/300376)
<havenwood> >> 234.chr
<eval-in_> havenwood => "\xEA" (https://eval.in/300377)
rbennacer has joined #ruby
Wulf has joined #ruby
startupality has quit [Quit: startupality]
emocakes has joined #ruby
charliesome has quit [Quit: zzz]
zzing has joined #ruby
ismaelga has joined #ruby
jerematic has joined #ruby
rbennacer has quit [Remote host closed the connection]
<havenwood> >> "ê".ord
SOLDIERz_ has quit [Quit: Be back later ...]
jerematic has quit [Ping timeout: 246 seconds]
towski__ has joined #ruby
towski_ has quit [Read error: Connection reset by peer]
stef204 has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
mistermocha has joined #ruby
vdamewood has quit [Quit: Computer has gone to sleep.]
Megtastique has quit []
rjcode has joined #ruby
sevenseacat has joined #ruby
a5i has quit [Quit: Connection closed for inactivity]
juanpaucar has joined #ruby
agrinb__ has quit [Read error: Connection reset by peer]
agrinb has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
CityLims has joined #ruby
<jhass> porfa: same thing, something processing the output can't handle utf8 properly
pwnz0r has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
juanpaucar has quit [Ping timeout: 244 seconds]
fn_great has joined #ruby
Pupeno has quit [Remote host closed the connection]
NivenHuH has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<porfa> i cant figure it out, i mean.. if i run the script from the shell, it ouputs fine, if i call a .sh that contains “ruby blabla.sh > lol.txt” the lol.txt is with a diferent encoding…
pwnz0r has quit [Remote host closed the connection]
<porfa> can’t i use something in the comand line to convert the encoding?
rbennacer has joined #ruby
CaffeineShot has joined #ruby
Vile` has quit [Ping timeout: 256 seconds]
rbennacer has quit [Remote host closed the connection]
Vile` has joined #ruby
peckermanzzz has quit [Ping timeout: 276 seconds]
ptrrr has joined #ruby
ptrrr has quit [Client Quit]
iamjarvo has joined #ruby
Pupeno has joined #ruby
ramfjord has joined #ruby
Crazy_Atheist has quit [Ping timeout: 264 seconds]
blueOxigen has quit [Ping timeout: 256 seconds]
t_p has joined #ruby
bigmac has joined #ruby
aiguu has quit [Ping timeout: 252 seconds]
scripore has joined #ruby
dfinninger has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
<shadeslayer> something I can't figure out, how do I alias methods to operators?
rbennacer has joined #ruby
<shadeslayer> so, for eg, I want to alias get to []
tubuliferous has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
<shadeslayer> alias_method get [] doesn't seem to work
Caius has quit [Ping timeout: 276 seconds]
<shadeslayer> but I'm not sure what would work
Tingo1983 has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
bim has joined #ruby
rbennacer has quit [Remote host closed the connection]
<jhass> shadeslayer: alias method is a method call, thus you need to pass it regular values (like symbols in this case)
sngeth has quit [Ping timeout: 256 seconds]
<jhass> alias (not alias_method) otoh is a keyword, there it would work
RegulationD has joined #ruby
<shadeslayer> so alias :get :[]
<jhass> wrong way around
<jhass> alias_method <- method call
<jhass> alias <- keyword
tubuliferous has quit [Ping timeout: 245 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Tingo1983 has quit [Remote host closed the connection]
Caius has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
Crazy_Atheist has joined #ruby
<shadeslayer> oh
<shadeslayer> jhass: thanks a ton!
<jhass> note that they don't do the same thing
bim has quit [Ping timeout: 264 seconds]
<shadeslayer> jhass: yep
<shadeslayer> scoping is different
<shadeslayer> that part I did understand
CaffeineShot has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 255 seconds]
<shadeslayer> whoop whoop, I finally understand how hashes work, I have a decent understanding of how to write tests, and how alias and alias_method work \o.
<shadeslayer> that was a fun evening
tiago_ has joined #ruby
<shadeslayer> jhass: quick question about tests, how's the order determined?
<shadeslayer> is test1 run before test2 because of the naming?
<shadeslayer> or are they run in parallel?
<jhass> that lacks context ;)
<shadeslayer> moment
<jhass> but it's most likely filesystem order
mmoretti has joined #ruby
sevenseacat has quit [Read error: Connection reset by peer]
tiago has quit [Ping timeout: 245 seconds]
tiago_ is now known as tiago
sevenseacat has joined #ruby
nrcpts has joined #ruby
Tingo1983 has joined #ruby
<shadeslayer> if you run test.rb it fais
<shadeslayer> *fails
<shadeslayer> specifically, test_get fails
<shadeslayer> because the get returns nil
<jhass> uh, no clue about test unit
<jhass> I'd hope it's randomized
<shadeslayer> ah ok
<shadeslayer> yeah that would explain it
<shadeslayer> because I assumed it's run in the order things were declared
<jhass> even if not, your tests should never depend on order
<shadeslayer> right
<shadeslayer> something I did not know before I started this evening :D
sevvie has quit [Ping timeout: 240 seconds]
Limix has joined #ruby
beginner has quit [Ping timeout: 252 seconds]
beginner has joined #ruby
Crazy_Atheist has quit [Ping timeout: 244 seconds]
delianides has joined #ruby
lemur has joined #ruby
lemur_ has joined #ruby
jason^ has joined #ruby
hmsimha has joined #ruby
lemur has quit [Read error: Connection reset by peer]
astrobunny has quit [Remote host closed the connection]
NivenHuH has joined #ruby
astrobunny has joined #ruby
juanpablo__ has joined #ruby
adriancb has quit [Remote host closed the connection]
Dakuan has joined #ruby
sevvie has joined #ruby
delianides has quit [Ping timeout: 250 seconds]
elfuego has joined #ruby
astrobunny has quit [Ping timeout: 246 seconds]
SOLDIERz_ has joined #ruby
martinbmadsen has joined #ruby
astrobunny has joined #ruby
juanpablo__ has quit [Ping timeout: 255 seconds]
jonr22 has joined #ruby
Dakuan has quit [Remote host closed the connection]
Dakuan has joined #ruby
ghostpl_ has joined #ruby
SOLDIERz_ has quit [Ping timeout: 264 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
lemur_ has quit [Remote host closed the connection]
Rarikon has quit [Read error: Connection reset by peer]
Rarikon has joined #ruby
Pupeno has quit [Remote host closed the connection]
a346 has quit [Quit: a346]
ghostpl_ has quit [Ping timeout: 244 seconds]
jerematic has joined #ruby
Joufflu has joined #ruby
einarj has joined #ruby
braincrash has quit [Quit: bye bye]
Dolphi has quit [Quit: Leaving]
Azure has quit [Ping timeout: 240 seconds]
jerematic has quit [Ping timeout: 256 seconds]
einarj has quit [Ping timeout: 264 seconds]
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
braincrash has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
martinbmadsen has quit [Ping timeout: 240 seconds]
Tingo1983 has quit [Ping timeout: 265 seconds]
martinbmadsen has joined #ruby
rorra has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amystephen has joined #ruby
mmoretti has quit []
rorra has left #ruby [#ruby]
mmoretti has joined #ruby
astrobunny has quit [Ping timeout: 246 seconds]
nii2361 has quit [Ping timeout: 245 seconds]
Soda has quit [Remote host closed the connection]
ismaelga has quit [Ping timeout: 264 seconds]
JoshGlzBrk has quit [Remote host closed the connection]
dfinninger has joined #ruby
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
aiguu has joined #ruby
Channel6 has quit [Quit: Leaving]
Ankhers has quit [Ping timeout: 265 seconds]
rorra has joined #ruby
dfinninger has quit [Ping timeout: 246 seconds]
tens0r has joined #ruby
mikepack has quit [Ping timeout: 256 seconds]
martinbmadsen has quit [Ping timeout: 245 seconds]
nonnatus has joined #ruby
Hijiri has quit [Ping timeout: 265 seconds]
Azure has joined #ruby
rorra has quit [Quit: rorra]
razieliyo has joined #ruby
arescorpio has quit [Excess Flood]
Hijiri has joined #ruby
martinbmadsen has joined #ruby
mostlybadfly has joined #ruby
sngeth has joined #ruby
Rephiax has joined #ruby
psy_ has joined #ruby
sngeth has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
scripore has quit [Quit: Leaving]
tens0r has quit [Quit: tens0r]
lugub has joined #ruby
justin_pdx has joined #ruby
meschi has joined #ruby
dc has quit [Ping timeout: 245 seconds]
rjcode` has joined #ruby
juanpaucar has joined #ruby
justin_pdx has quit [Client Quit]
rjcode has quit [Ping timeout: 276 seconds]
ss^13 has joined #ruby
dc has joined #ruby
SOLDIERz_ has joined #ruby
jedmund has joined #ruby
DavidDudson has joined #ruby
juanpaucar has quit [Ping timeout: 264 seconds]
jt__ has joined #ruby
jenrzzz has joined #ruby
starless has joined #ruby
<jt__> hi, what this syntax mean, "def method_name=(value)"? what's method_name assigned to argument?
lemur has joined #ruby
SOLDIERz_ has quit [Ping timeout: 245 seconds]
mistermocha has quit [Remote host closed the connection]
dc has quit [Read error: Connection reset by peer]
dc has joined #ruby
mmoretti has quit []
<havenwood> jt__: that's some syntactic sugar. you can call it like: method_name = "this will be value"
Pharaoh2 has joined #ruby
<jt__> havenwood, ok, thank you.
<havenwood> jt__: it's called a 'setter'
<jt__> so it's not really the same as "method_name(arg)"?
Rephiax__ has joined #ruby
<havenwood> jt__: it's not the same method, no
<jt__> havenwood, any links or which part in the ruby-doc I can read about this?
<havenwood> jt__: `:method_name` and `:method_name=` are two different methods, the = one just has a fancy way it can be called
TheNet has joined #ruby
<jt__> havenwood, thank you again
<havenwood> jt__: no prob
* jt__ goes reading
Rephiax has quit [Ping timeout: 272 seconds]
greenbagels has quit [Read error: Connection reset by peer]
spiderbyte has quit [Ping timeout: 246 seconds]
lugub has quit [Quit: Bye]
tubuliferous has joined #ruby
astrobunny has joined #ruby
ghostpl_ has joined #ruby
justin_pdx has joined #ruby
RegulationD has joined #ruby
fn_great has quit [Quit: Leaving]
tubuliferous has quit [Ping timeout: 244 seconds]
agrinb has quit [Remote host closed the connection]
<ss^13> I'm a newbie learning Ruby on Windows (8.1) coming from a DotNet background. Is it more convenient to learn on Linux (Ubuntu) as it seems most online learning blogs and tutorials seem to use?
psychopath_mind has joined #ruby
agrinb has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
<TheNet> when in a rescue block can I continue from where the exception was raised?
sheap has joined #ruby
sheap has joined #ruby
<sheap> I'm trying to use "docker-api", but everything I try to do gets this as a response "uninitialized constant Docker::Image (NameError)". What does this mean?
Tingo1983 has joined #ruby
ghostpl_ has quit [Ping timeout: 264 seconds]
agrinb has quit [Ping timeout: 246 seconds]
sondr3 has quit [Quit: Ich bin ein sleep.]
Ankhers has joined #ruby
dfinninger has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
hvxgr has quit [Ping timeout: 256 seconds]
dfinninger has quit [Ping timeout: 252 seconds]
Rephiax__ has quit []
Ankhers has quit [Ping timeout: 246 seconds]
tlarevo has joined #ruby
<ss^13> sheap: I'm a newbie so this is no answer - just thought below link may be of some help.... http://stackoverflow.com/questions/21041653/ruby-on-rails-uninitialized-constant
<sheap> ss^13: thanks but i figured it out
<sheap> for some reason people decided to have the gems "docker" and "docker-api" use the same "require 'docker'"
<sheap> :|
<ss^13> ok
juanpablo__ has joined #ruby
sheap has quit [Quit: Page closed]
ss^13 has quit [Quit: Leaving]
<jt__> on Python repl, I can view the documentation of class methods using help, what's the equivalent on Ruby?
Dude007_ has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
ss^13 has joined #ruby
<havenwood> jt__: Pry is a nice option. You can just use `pry` instead of `irb`: gem install pry pry-doc
<jt__> cool
Dude007 has quit [Ping timeout: 256 seconds]
juanpablo__ has quit [Ping timeout: 240 seconds]
jonr22 has joined #ruby
<havenwood> jt__: In Pry just type `help` to see the commands. Then for example `help show-doc` for a specific command.
<havenwood> jt__: i find `ls` to be really handy
Hijiri has quit [Ping timeout: 252 seconds]
* jt__ installing pry atm
t_p has quit [Ping timeout: 264 seconds]
ascarter has joined #ruby
anaeem1 has joined #ruby
Hijiri has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
jedmund is now known as jedmund|away
jedmund|away is now known as jedmund
jenrzzz has joined #ruby
dfinninger has joined #ruby
ascarter has quit [Quit: Textual IRC Client: www.textualapp.com]
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
DavidDudson has joined #ruby
jedmund is now known as jedmund|away
jerematic has joined #ruby
DavidDudson has quit [Client Quit]
jedmund|away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SOLDIERz_ has joined #ruby
einarj has joined #ruby
dfinninger has quit [Ping timeout: 240 seconds]
Tingo1983 has quit [Ping timeout: 252 seconds]
jedmund has joined #ruby
jerematic has quit [Ping timeout: 244 seconds]
hvxgr has joined #ruby
einarj has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
SOLDIERz_ has quit [Ping timeout: 252 seconds]
ss^13 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ss^13 has joined #ruby
M-Technic has quit [Ping timeout: 250 seconds]
M-Technic has joined #ruby
starless has quit [Quit: Leaving]
ndrei has joined #ruby
kyb3r_ has joined #ruby
lxsameer has joined #ruby
jedmund is now known as jedmund|away
ss^13 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jedmund|away has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jedmund has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
Mia has quit [Ping timeout: 255 seconds]
jedmund has quit [Client Quit]
bim has joined #ruby
CityLims has quit [Remote host closed the connection]
bim has quit [Ping timeout: 245 seconds]
serivich has joined #ruby
<shevy> dumdedum
M-Technic has quit [Ping timeout: 265 seconds]
sngeth has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
sngeth has quit [Ping timeout: 272 seconds]
Rephiax has joined #ruby
green-big-frog has joined #ruby
<green-big-frog> good morning everyone
<green-big-frog> I'm trying to make a test mode. I figuered out how to use the threads but somehow it still isn't working... Can someone please look?
jedmund has joined #ruby
SegFaultAX has quit [Excess Flood]
SegFaultAX has joined #ruby
ki0 has joined #ruby
jedmund is now known as jedmund|away
teddyp1cker has quit [Ping timeout: 246 seconds]
<TheNet> green-big-frog: first off you can edit the gist's language to ruby so we can have fancy syntax highlighting ;)
duncannz has quit [Ping timeout: 264 seconds]
jedmund|away has quit [Client Quit]
<green-big-frog> sr ;)
<green-big-frog> did it
<TheNet> not that I know anything about what you're doing
jedmund has joined #ruby
teddyp1cker has joined #ruby
funburn has joined #ruby
psychopath_mind has quit [Remote host closed the connection]
teddyp1cker has quit [Client Quit]
jedmund is now known as jedmund|away
jedmund|away has quit [Client Quit]
kyb3r_ has quit [Read error: Connection reset by peer]
jedmund has joined #ruby
kyb3r_ has joined #ruby
rrrutr has joined #ruby
nii2361 has joined #ruby
jedmund is now known as jedmund|away
<green-big-frog> I'm trying to make a test mode for my program. I figured out how to use the threads but somehow it still isn't working... the second thread just seems to not be executed... Can someone please look?
juanpaucar has joined #ruby
jedmund|away has quit [Client Quit]
mistermocha has joined #ruby
bruno- has joined #ruby
elfuego has quit [Quit: elfuego]
huck5 has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
nii2361 has quit [Ping timeout: 245 seconds]
<TheNet> ask later maybe, it's 2:42 AM for a lot of people
agrinb has joined #ruby
duncannz has joined #ruby
juanpaucar has quit [Ping timeout: 264 seconds]
bruno- has quit [Ping timeout: 255 seconds]
mleung has joined #ruby
<green-big-frog> TheNet: ok
william3 has joined #ruby
zorak8 has joined #ruby
ki0 has quit [Remote host closed the connection]
adriancb has joined #ruby
agrinb has quit [Ping timeout: 256 seconds]
rjcode`` has joined #ruby
The_Phoenix has joined #ruby
sinkensabe has joined #ruby
jedmund has joined #ruby
rjcode` has quit [Ping timeout: 276 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
adriancb has quit [Ping timeout: 245 seconds]
jedmund has quit [Client Quit]
beneggett has joined #ruby
tlarevo_ has joined #ruby
rrrutr has quit [Quit: Leaving]
rrrutr has joined #ruby
tlarevo has quit [Ping timeout: 264 seconds]
SOLDIERz_ has joined #ruby
Crazy_Atheist has joined #ruby
Dude007 has joined #ruby
SOLDIERz_ has quit [Ping timeout: 245 seconds]
rbennacer has joined #ruby
Dude007_ has quit [Ping timeout: 250 seconds]
tubuliferous has joined #ruby
Rephiax__ has joined #ruby
zorak8 has quit [Ping timeout: 255 seconds]
rbennacer has quit [Ping timeout: 245 seconds]
TheNet has quit [Quit: Leaving...]
RegulationD has joined #ruby
Rephiax__ has quit [Client Quit]
zorak8 has joined #ruby
ghostpl_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
tubuliferous has quit [Ping timeout: 264 seconds]
Rephiax has quit [Ping timeout: 252 seconds]
Limix has quit [Quit: Limix]
<chipotle> hello!'
<chipotle> anyuone here interested in personal finance or investing?
tvw has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 245 seconds]
mikeric has joined #ruby
epistrephein has joined #ruby
william3 has quit [Remote host closed the connection]
mleung has quit [Quit: mleung]
<chipotle> i'm very interested in it; i fianlly come up with a ban for this phrase that has to do with financial ass.s....
govg has quit [Quit: leaving]
NivenHuH has quit [Quit: Textual IRC Client: www.textualapp.com]
DavidDudson has joined #ruby
josephleon has quit [Quit: Leaving...]
rrrutr has left #ruby ["Leaving"]
rippa has joined #ruby
ghostpl_ has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Remote host closed the connection]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
mike32 has joined #ruby
mike32 has left #ruby [#ruby]
DavidDudson has joined #ruby
piotrj has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
Hijiri has quit [Ping timeout: 256 seconds]
martinbmadsen has quit [Ping timeout: 245 seconds]
juanpablo__ has joined #ruby
narcan has joined #ruby
Hijiri has joined #ruby
nii2361 has joined #ruby
wicope has joined #ruby
juanpablo__ has quit [Ping timeout: 252 seconds]
jonr22 has joined #ruby
basiclaser has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
epistrephein has quit []
queequeg1 has quit [Ping timeout: 245 seconds]
Hijiri has quit [Ping timeout: 256 seconds]
queequeg1 has joined #ruby
Hijiri has joined #ruby
mike32 has joined #ruby
mike32 has left #ruby [#ruby]
jonr22 has quit [Ping timeout: 256 seconds]
delianides has joined #ruby
piotrj has quit [Remote host closed the connection]
sjums has quit [Quit: leaving]
sinkensabe has joined #ruby
agrinb has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
DerisiveLogic has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Pupeno has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
delianides has quit [Ping timeout: 272 seconds]
jerematic has joined #ruby
agrinb has quit [Ping timeout: 256 seconds]
Pupeno has quit [Ping timeout: 256 seconds]
jerematic has quit [Ping timeout: 264 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
amclain has quit [Quit: Leaving]
Pharaoh2_ has joined #ruby
sinkensabe has joined #ruby
bobitto has joined #ruby
Pharaoh2 has quit [Ping timeout: 252 seconds]
sinkensabe has quit [Remote host closed the connection]
hmsimha has quit [Ping timeout: 252 seconds]
SOLDIERz_ has joined #ruby
<porfa> is capybara gem enough for me to login into a backoffice and then use nokogiri to get scrap data from it?
emocakes has quit [Ping timeout: 246 seconds]
unshadow has joined #ruby
lulzmachine has joined #ruby
zorak8 has quit [Ping timeout: 256 seconds]
lulzmachine has quit [Client Quit]
<unshadow> Hi guys, a week ago I asked all of you for feedback regarding the creation of my first ruby gem, After you guys gave me some great advices I decided to write something on the whole experience --> http://bararchy.github.io/experiences/2015/03/12/My%20First%20Ruby%20Gem/
<unshadow> Thank you all !
Pupeno has joined #ruby
Pupeno has joined #ruby
SOLDIERz_ has quit [Ping timeout: 250 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
astrobunny has quit [Remote host closed the connection]
ChoiKyuSang has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 272 seconds]
porfa has quit [Quit: porfa]
funburn has quit [Quit: funburn]
beginner has quit [Ping timeout: 246 seconds]
beginner has joined #ruby
beginner has quit [Max SendQ exceeded]
beginner has joined #ruby
jgt1 has joined #ruby
martinbmadsen has joined #ruby
funburn has joined #ruby
pcarrier__ has joined #ruby
bronson has quit [Remote host closed the connection]
unshadow has quit [Quit: leaving]
wallerdev has quit [Quit: wallerdev]
juanpaucar has joined #ruby
bobitto is now known as kolorados
martinbmadsen has quit [Ping timeout: 245 seconds]
razieliyo has quit [Ping timeout: 240 seconds]
<kolorados> hello, i know that ruby is single trhead, why?
hmsimha has joined #ruby
phutchins has quit [Ping timeout: 265 seconds]
juanpaucar has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
<green-big-frog> I'm trying to make a test mode for my program. I figured out how to use the threads but somehow it still isn't working... the second thread just seems to not be executed... Can someone please look?
unshadow has joined #ruby
jlast has joined #ruby
tvw has joined #ruby
<shevy> kolorados I guess the reason for stuff like GIL is that it is simpler to implement
agrinb has quit [Ping timeout: 265 seconds]
funburn has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 255 seconds]
funburn has joined #ruby
lemur has quit [Remote host closed the connection]
SOLDIERz_ has joined #ruby
jimms has joined #ruby
jgt1 has quit [Ping timeout: 240 seconds]
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
DLSteve has joined #ruby
DLSteve has quit [Client Quit]
bim has joined #ruby
DLSteve has joined #ruby
<shevy> would you guys think that a simple
<shevy> README
<shevy> or a
<shevy> README.md
<shevy> would be better?
<shevy> It seems to me as if when you use markdown, whether you actually use it or not, you always have more options than through a simple file
arquebus has joined #ruby
kyb3r_ has quit [Quit: Leaving]
<wasamasa> noshit
jgt1 has joined #ruby
tubuliferous has joined #ruby
bim has quit [Ping timeout: 272 seconds]
green-big-frog is now known as frog|OFF
antgel has joined #ruby
RegulationD has joined #ruby
nrcpts has quit [Quit: (null)]
tubuliferous has quit [Ping timeout: 246 seconds]
_ixti_ has quit [Ping timeout: 252 seconds]
serivich has quit [Ping timeout: 244 seconds]
flughafen_ has joined #ruby
beginner has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
ghostpl_ has joined #ruby
beginner has joined #ruby
beginner has quit [Changing host]
beginner has joined #ruby
nii2361 has quit [Ping timeout: 264 seconds]
justin_pdx has quit [Quit: justin_pdx]
ahteos has joined #ruby
havenwood has quit [Remote host closed the connection]
<shevy> no CHICKEN shit
jimms has quit [Remote host closed the connection]
<shevy> I guess all markdown parsers can do without .md extension, or at least I think Kramdown can
dkarter has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
ghostpl_ has quit [Ping timeout: 250 seconds]
dkarter is now known as atheos
comma8 has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
jt__ has quit [Ping timeout: 245 seconds]
sandelius has joined #ruby
mistermocha has quit [Ping timeout: 252 seconds]
juanpablo__ has joined #ruby
lolmaus has joined #ruby
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikeric has quit [Read error: Connection reset by peer]
juanpablo__ has quit [Ping timeout: 264 seconds]
Pharaoh2 has joined #ruby
jonr22 has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
relix has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
DerisiveLogic has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
davedev24_ has quit [Ping timeout: 244 seconds]
agrinb has joined #ruby
davedev24_ has joined #ruby
arquebus has left #ruby [#ruby]
ahteos has quit [Quit: WeeChat 1.0.1]
phutchins has joined #ruby
Kilo`byte has quit [Ping timeout: 265 seconds]
bruno- has joined #ruby
jerematic has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
einarj has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
beginner has quit [Read error: Connection reset by peer]
jimms has joined #ruby
antgel has quit [Ping timeout: 265 seconds]
beginner has joined #ruby
Kilo`byte has joined #ruby
phutchins has quit [Ping timeout: 250 seconds]
antgel has joined #ruby
franzip has joined #ruby
bruno- has quit [Ping timeout: 244 seconds]
jerematic has quit [Ping timeout: 240 seconds]
ndrei has joined #ruby
einarj has quit [Ping timeout: 256 seconds]
jgt1 has quit [Ping timeout: 244 seconds]
unshadow has quit [Remote host closed the connection]
comma8 has joined #ruby
DLSteve has quit [Quit: Textual IRC Client: www.textualapp.com]
ki0 has joined #ruby
duncannz has quit [Remote host closed the connection]
SOLDIERz_ has quit [Quit: Be back later ...]
jenrzzz has quit [Ping timeout: 264 seconds]
zzing has quit [Quit: Textual IRC Client: www.textualapp.com]
ptrrr has joined #ruby
DLSteve has joined #ruby
jenrzzz has joined #ruby
jimms has quit [Ping timeout: 245 seconds]
pcarrier__ has left #ruby [#ruby]
WidDos has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bim has joined #ruby
Takle has joined #ruby
WidDos is now known as O_o_
bim has quit [Ping timeout: 244 seconds]
O_o_ is now known as DarkRoses
DarkRoses has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
renier has quit [Quit: Textual IRC Client: www.textualapp.com]
jimms has joined #ruby
blackmesa has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
towski__ has quit [Remote host closed the connection]
towski_ has joined #ruby
<apeiros_> anybody aware of a "closest color" algorithm written in ruby?
nii2361 has joined #ruby
* apeiros_ looking through color gem atm
franzip has quit [Quit: ...]
pwnz0r has joined #ruby
towski_ has quit [Ping timeout: 255 seconds]
jokke has left #ruby ["WeeChat 1.1.1"]
jimms has quit [Ping timeout: 246 seconds]
<apeiros_> ok, seems the color gem has a relatively good method
nii2361 has quit [Ping timeout: 256 seconds]
atheos has quit [Ping timeout: 256 seconds]
pwnz0r has quit [Remote host closed the connection]
<Phage> Can anyone tell me why it's not breaking out of the loop? https://gist.github.com/phildk/e153a70cd29889bfbbac
anaeem1 has quit [Quit: Leaving...]
pwnz0r has joined #ruby
Wulf has left #ruby [#ruby]
martinbmadsen has joined #ruby
DLSteve has quit [Ping timeout: 255 seconds]
Joufflu has quit [Read error: Connection reset by peer]
frobs has joined #ruby
Dakuan has quit [Remote host closed the connection]
hs366 has joined #ruby
pwnz0r has quit [Ping timeout: 245 seconds]
juanpaucar has joined #ruby
abyx01 has joined #ruby
Dakuan__ has joined #ruby
<shevy> you have an infinite loop
<shevy> I recommend you use loop {} instead and manually break out via "break" keyword
<Phage> shevy: but why doesn't it catch my finished = true ?
<shevy> use loop, problem solved
frobs has quit [Quit: Konversation terminated!]
agrinb has joined #ruby
martinbmadsen has quit [Ping timeout: 264 seconds]
juanpaucar has quit [Ping timeout: 240 seconds]
<shevy> btw why do you use begin?
<shevy> some tutorials on the www are pretty bad, like http://www.tutorialspoint.com/ruby/ruby_loops.htm
<shevy> $num = 5; begin; puts("Inside the loop i = #$i" ); $i +=1; end until $i > $num
Mia has joined #ruby
Mia has joined #ruby
<shevy> that guy does not even mention loop {}
jimms has joined #ruby
<shevy> hmm they are from india
basiclaser has quit [Quit: Connection closed for inactivity]
<Phage> shevy: Lol, that's where I got it from :i
<Phage> Okay, I solved that part, but now I get:
<Phage> rps.rb:32:in `number_of_games': undefined local variable or method `games_to_play' for main:Object (NameError)
<Phage> from rps.rb:40:in `<main>'
agrinb has quit [Ping timeout: 256 seconds]
ndrei has quit [Remote host closed the connection]
<shevy> your indent is not consistent by the way. the ruby parser does not mind but it will be easier if you indent consistently
ndrei has joined #ruby
<shevy> the error happens because games_to_play exists in loop {} only
<Phage> shevy: Hmm... How would I make it available outside the loop?
<shevy> you could assign it before that
<shevy> but your code is kind of weird
Mia has quit [Ping timeout: 272 seconds]
<Phage> Well... I'm open to feedback/suggestions.
bruno- has joined #ruby
Zai00 has joined #ruby
<shevy> you can assign a variable before that
<shevy> then it will be available lateron
atheos has joined #ruby
<shevy> Phage this code works at least: https://gist.github.com/shevegen/04754b46e9ca1e11fce7
Takle has quit [Remote host closed the connection]
ZeroPivot has quit [Read error: Connection reset by peer]
ki0 has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
ki0 has joined #ruby
aiguu has quit [Ping timeout: 245 seconds]
tubuliferous has joined #ruby
ki0 has quit [Ping timeout: 240 seconds]
SOLDIERz_ has joined #ruby
RegulationD has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
Dakuan__ has quit [Remote host closed the connection]
abyx01 has quit [Ping timeout: 264 seconds]
SOLDIERz_ has quit [Ping timeout: 246 seconds]
RegulationD has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
ghostpl_ has joined #ruby
nii2361 has joined #ruby
narcan has joined #ruby
<Phage> shevy: I thank you for your help. I learned some new things about looping in Ruby.
<shevy> \o/
<shevy> your code works now?
Notte has joined #ruby
<shevy> you could use a while loop too
<shevy> but I find loop {} more elegant
<kolorados> you will be fantastic coder
<kolorados> loop is one of the most important structure in ruby
jimms has quit [Ping timeout: 250 seconds]
ptrrr has quit [Quit: ptrrr]
ATM_London has joined #ruby
<ATM_London> Hello
<ATM_London> I was hoping someone could steer me around problem with io-console?
frog|OFF is now known as green-big-frog
<jhass> ask your actual question, not for somebody that you hope has the solution
bim has joined #ruby
<ATM_London> i have ruby1.9.3 installed, but i get this error:-
<ATM_London> joggler lamassu-machine # gem install io-console
<ATM_London> ERROR: Error installing io-console:
<ATM_London> io-console requires Ruby version >= 1.9.3.
abyx01 has joined #ruby
<ATM_London> i have tried remove and re-install
ghostpl_ has quit [Ping timeout: 240 seconds]
<shevy> debian right?
<ATM_London> aswell this not help: gem install --enable-io-console-force-compatible-with-1.8 io-console
<ATM_London> linux mint maya
<shevy> yeah debian
<kolorados> why do y use 1.9.3?
<ATM_London> Im trying to install lamassu machine software
DLSteve has joined #ruby
<shevy> ATM_London the error does not seem to make sense to me though. ruby version >= 1.9.3 would include your ruby version right
<jhass> 1) Ruby 1.9.3 is EOL, try to upgrade, 2) Ruby 2.0 and later ship io/console in stdlib 3) if you steel want to go that route post the output of gem env to a gist
<ATM_London> this original problem: joggler lamassu-machine # ruby fake_id003.rb
<ATM_London> fake_id003.rb:2:in `require': no such file to load -- io/console (LoadError)
<ATM_London> from fake_id003.rb:2
<shevy> ATM_London what does "ruby -v" output?
<shevy> ATM_London well, debian cripples ruby
<shevy> personally I'd compile from source
<jhass> er, *still
<ATM_London> # ruby -v
<ATM_London> ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
<shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.xz
<shevy> aha
<shevy> ok then this explains
<jhass> ruby 1.8.7 is even more dead than 1.9.3
<shevy> you must update to a more recent ruby version
<jhass> upgrade
<shevy> even debian has a more recent now ATM_London
<ATM_London> i try from source link you provided - thank you
juanpablo__ has joined #ruby
<shevy> you could try apt-get install first if you want to stay in the debian way
naftilos76 has joined #ruby
<ATM_London> i tried that already
<jhass> ATM_London: tbh you should know what you're doing in that route
<shevy> the problem tends to be that you may need to uncripple all things first before you can compile stuff; usually readline-headers, zlib headers... a few more things
<kolorados> she is troll
<ATM_London> how can i uncripple?
<shevy> ATM_London you have to apt-get install the various headers/dev packages
abyx01 has quit [Ping timeout: 245 seconds]
<jhass> ATM_London: or just use RVM
<ATM_London> example being pls?
<jhass> ATM_London: https://rvm.io/ install it as your regular user, _not_ with root
<ATM_London> ok
ki0 has joined #ruby
<ATM_London> i try this
<ATM_London> thank you people
Dude007 has quit [Remote host closed the connection]
<jhass> shevy: don't you use the appdir approach?
Dude007 has joined #ruby
bronson has joined #ruby
<shevy> jhass problem is that it is not easily feasible for all programs when one does not use a kernel such as one in GoboLinux
juanpablo__ has quit [Ping timeout: 252 seconds]
<jhass> huh, I fail to see how that would relate to the kernel
<shevy> because on gobolinux all paths work fine
<jhass> maybe init system I can see, but kernel?
<jhass> so you make install into an FHS?
<shevy> yeah
<jhass> sounds brittle
jonr22 has joined #ruby
<shevy> why? everything is self-contained on gobolinux
<shevy> I am on slackware though :/
<jhass> yeah, I'm not saying that for the appdir approach
<jhass> there it's actually feasible
<shevy> I think nixos uses a superior model, save for the strange name of the directories
<jhass> I'm saying that for the make install into an FHS approach
<jhass> I've seen nix
<shevy> "A big implication of the way that Nix/NixOS stores packages is that there is no /bin, /sbin, /lib, /usr, and so on. Instead all packages are kept in /nix/store. (The only exception is a symlink /bin/sh to Bash in the Nix store.)"
<shevy> even they must retain a compatibility symlink!
<jhass> well, I see that less of an issue
<jhass> you just replace the package manager by a symlink manager, which is fine
<shevy> well
<shevy> the nixos folks have this reproducibility thing going
<jhass> I like toast for example which basically does that into your home dir
<shevy> I don't want to learn a new language though
<jhass> you sidetrack
bronson has quit [Ping timeout: 246 seconds]
<shevy> I am a philosoph
<shevy> and a poet when using ruby!
<jhass> anyway, my point is that I think make install into an FHS, especially if it's also under management by a regular package manager, leads to a very unclean system
<shevy> yeah
<jhass> I wonder if you can't just stop suggesting that to newcomers who have no idea what's going on when they do that
jonr22 has quit [Ping timeout: 252 seconds]
<shevy> did I suggest this?
<jhass> yes, you frequently do
<shevy> recently?
<jhass> like a couple of minutes ago
<shevy> where
einarj has joined #ruby
nii2361 has quit [Ping timeout: 250 seconds]
<jhass> 12:01 <shevy> wget ftp://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.1.tar.xz
<shevy> yeah
<shevy> and?
max96at|off is now known as max96at
<jhass> what would you need that for elseß
<jhass> ?
<shevy> to compile from source perhaps?
<jhass> so you did suggest it
<shevy> I suggested to compile from source
<kolorados> shevy is funny coder
<jhass> you know that it ends up with ^
ki0 has quit [Ping timeout: 245 seconds]
<shevy> yes - a perfectly working ruby version
<jhass> now you're acting shizophrenic
<shevy> why?
<jhass> 12:12 <shevy> did I suggest this?
<jhass> implies you didn't
<shevy> You wrote this buddy:
jbw_ has quit [Ping timeout: 252 seconds]
<jhass> now not even 2 minutes later you say you did
doodlehaus has joined #ruby
<shevy> ah you mean people should not compile from source
<kolorados> i agree with that
<jhass> since that means 99% of the cases to make install into an FHS, yes
<shevy> ok so RVM does what
aswen has joined #ruby
<undeadaedra> there’s many ways of obtaining ruby without having to compile from sources yourself
<jhass> these days? it actually downloads precompiled binaries for many distros
<shevy> cool so an additional package manager
einarj has quit [Ping timeout: 245 seconds]
Alina-malina has quit [Ping timeout: 252 seconds]
<jhass> if your definition of package manager is "downloads precompiled binaries", it's very limited
<shevy> well there is one missing component of course - resolution of dependencies
<jhass> RVM actually does that
<shevy> RVM comes with bindings to readline etc... included?
ptrrr has joined #ruby
<undeadaedra> so curl -L `http://example.org/a.random.tgz | tar -C / -x -f -` would be a package manager for you?
<jhass> no, but it knows how to install needed stuff with the OS level package manager
<undeadaedra> oops, misplaced quote.
atheos has quit [Ping timeout: 245 seconds]
<shevy> that's pretty cool
doodlehaus has quit [Remote host closed the connection]
Alina-malina has joined #ruby
<shevy> I mean that RVM knows what to install
<shevy> not the curl example
antgel has quit [Ping timeout: 245 seconds]
<undeadaedra> iirc, rvm goes a little further of just installing ruby versions - it allows to easily switch between them
<jhass> see, there's no need to make this so hard. I think we agree that make install into an FHS is bad, I hope we can agree that suggesting to "compiile from source" will lead to exactly that since that's what inexperienced users do and what the official install docs suggest. All I'm asking is to maybe stop the "just compile from source", include at least a detailed description of the pitfalls when doing so
<kolorados> wow. rvm is cool
rjcode`` has quit [Remote host closed the connection]
antgel has joined #ruby
hiyosi has joined #ruby
bronson has joined #ruby
DaniG2k has joined #ruby
ki0 has joined #ruby
<kolorados> jhass, what do u think about go and rust, what is better for u?
meschi has quit [Ping timeout: 245 seconds]
<kolorados> i am going learn one of them, but not shure what
<jhass> kolorados: programming languages are tools, do you compare a hammer with a screwdriver?
<jhass> I have seen people hammer in a nail with a screwdriver, because it was the first thing they had in their reach
<kolorados> but what is your opinion
<jhass> my opinion is to use the fitting tool for the right job
<jhass> you can't know too many programming languages
<kolorados> what tool has perspective
<jhass> sorry?
postmodern has quit [Quit: Leaving]
<jhass> Crystal is currently adding something similar to goroutines btw
<kolorados> seems , you does not have clear vision what language will popular in future
bronson has quit [Ping timeout: 252 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
<jhass> it's still in the experimental phase, but it's what I currently play around with
<ATM_London> rvm seems to have lots of sanity checks going on, is still installing - fingers crossed..
<kolorados> i think crystal does not have perspective
<jhass> popularity is pretty irrelevant
<jhass> you need some base community for a project to live, but beyond that popularity does not define its usefulness
<jhass> that base community seems to develop currently for Crystal, so I'm still pretty optimistic that it'll mature
<kolorados> 6 month ago i tried crystal but on arch i couldnot install
<jhass> oh, you should try again, lots happened
<jhass> like me maintaining the arch packages ;)
<kolorados> aur has crystal but i wanted install from github
<kolorados> and has some problems
doodlehaus has joined #ruby
<jhass> ah, you should use the package at least to get an initial binary
Alina-malina has joined #ruby
<jhass> it figured that bootstrapping into the arch environment from a binary compiled elsewhere out for you ;)
<kolorados> can crystal run sinatra or rails application?
<jhass> nah, it's its own language
<jhass> it just has a ruby inspired syntax
<jhass> it's by far no clone
<kolorados> and you think a lot peaple will use it?
<jhass> I think enough people will use it
<kolorados> could you list projects on crystal
<jhass> as I said previously, I think popularity beyond a certain base level is irrelevant
<jhass> sure, just click around http://crystalshards.herokuapp.com/
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> ATM_London can you run "irb" when it RVM has finished?
<kolorados> seems , if i folow this manual for ubuntu , i cannot install on arch http://crystal-lang.org/docs/installation/on_debian_and_ubuntu.html
<shevy> ATM_London and when that works, can you type: RUBY_VERSION in irb
<kolorados> need install from aur?
davidhq has joined #ruby
SegFaultAX has quit [Excess Flood]
<jhass> kolorados: it's the easiest way, really
DEA7TH has joined #ruby
SegFaultAX has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
reinaldob has joined #ruby
<ATM_London> Will do, it still compiling atmo shevy
SOLDIERz_ has joined #ruby
<shevy> ATM_London ok
phutchins has joined #ruby
paradoja has joined #ruby
elfuego has joined #ruby
Dakuan_ has joined #ruby
User458764 has joined #ruby
reinaldob has quit [Ping timeout: 272 seconds]
plashchynski has joined #ruby
Takle has joined #ruby
SOLDIERz_ has quit [Ping timeout: 256 seconds]
<ATM_London> O2 joggler seriously slow..
phutchins has quit [Ping timeout: 272 seconds]
Dakuan_ has quit [Ping timeout: 255 seconds]
Giltweasl has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
Feyn has quit [Quit: Leaving]
codeFiend has joined #ruby
<shevy> still not finished?
arup_r has joined #ruby
<arup_r> Guys...
leat has quit [Quit: leat]
claw has quit [Ping timeout: 256 seconds]
leat has joined #ruby
leat has quit [Client Quit]
charliesome has quit [Quit: zzz]
<atmosx> Anyone messed with fuse.js (JS fuzzy search) lately?
<ATM_London> Big love guys, thank you it is working now : ) joggler lamassu-machine # irb
<ATM_London> 2.2.0 :001 > RUBY_VERSION
<ATM_London> => "2.2.0"
<ATM_London> 2.2.0 :002 > quit
<ATM_London> Yaaay!
nfk has joined #ruby
Giltweasl has quit [Ping timeout: 245 seconds]
<apeiros_> atmosx: #javascript ?
<apeiros_> or ##javascript rather
<arup_r> hehe.. apeiroswe want #ruby a global..
sdothum has joined #ruby
martinbmadsen has joined #ruby
Giltweasl has joined #ruby
juanpaucar has joined #ruby
<atmosx> apeiros_: yes thanks, already tried but the # doesn't seem to active right now. Maybe in the evening (UTC+2 here), it's usually a pretty active #
Pupeno has joined #ruby
<apeiros_> atmosx: but that doesn't really make this one the right channel to ask instead…
<atmosx> apeiros_: true
<atmosx> #rubyonrails would be closed truth to be told, they must know at least some JS and probably some of them implemented some sort of fuzzy search already
<apeiros_> also "anyone familiar with X" is usually a bad question. just like here, you should not ask metaquestions in #js either.
<atmosx> s/closed/closer
shortdudey123 has quit [Max SendQ exceeded]
wpp has joined #ruby
shortdudey123 has joined #ruby
<atmosx> apeiros_: well the thing is that I'm not sure where to begin with, I understand the code samples http://kiro.me/projects/fuse.html ... but I don't know (generally speaking) how exactly to call JS functions from <script></script> files and bind them. Also the HTML forms must be wrong, etc.
<atmosx> apeiros_: so I'm not sure where to start. I'm not even sure if I need onSelect or onClick there
<apeiros_> atmosx: still the wrong channel
charliesome has joined #ruby
<atmosx> Ok my bad.
juanpaucar has quit [Ping timeout: 246 seconds]
nii2361 has joined #ruby
naftilos76 has quit [Remote host closed the connection]
martinbmadsen has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
kirun has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
otisZart has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
delianides has joined #ruby
nii2361 has quit [Ping timeout: 244 seconds]
ptrrr has quit [Quit: ptrrr]
Stalkr_ has joined #ruby
tvw has quit []
delianides has quit [Ping timeout: 246 seconds]
mistermocha has joined #ruby
DaniG2k has quit [Ping timeout: 264 seconds]
mistermocha has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghostpl_ has joined #ruby
gfawcettpq has quit [Ping timeout: 245 seconds]
stef204 has joined #ruby
tubuliferous has joined #ruby
einarj has joined #ruby
Dude007 has quit [Read error: Connection reset by peer]
<shevy> reading javascript code makes my eyes bleed
DaniG2k has joined #ruby
Dude007 has joined #ruby
stef204 has quit [Client Quit]
RegulationD has joined #ruby
einarj has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 264 seconds]
hmsimha has quit [Ping timeout: 252 seconds]
einarj has joined #ruby
AlexRussia has quit [Ping timeout: 244 seconds]
<kolorados> and what about clojure
stef204 has joined #ruby
tubuliferous has quit [Ping timeout: 256 seconds]
ghostpl_ has quit [Ping timeout: 256 seconds]
<kolorados> your eyes are alive?
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
jbw has joined #ruby
AlexRussia has joined #ruby
<blackmesa> hi all. when I use a method with a guard clause, what does it return? e.g. return unless post.empty?
justin_pdx has joined #ruby
plashchynski has quit [Quit: plashchynski]
astrobunny has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
<shevy> kolorados dunno, I never see clojure code
justin_pdx has quit [Client Quit]
<blackmesa> or do I have to use a value with return, e.g. 'return true' 'return false'.
delianides has joined #ruby
<shevy> blackmesa can you give a minimal example? normally you can omit return statements if it is the last value in the method
<shevy> blackmesa if you are in a loop, you may use return for an early return
astrobunny has quit [Ping timeout: 264 seconds]
DouweM has joined #ruby
plashchynski has joined #ruby
ptrrr has joined #ruby
lxsameer has quit [Ping timeout: 245 seconds]
gfawcettpq has joined #ruby
SOLDIERz_ has joined #ruby
elfuego has left #ruby [#ruby]
lxsameer has joined #ruby
phutchins has joined #ruby
Dakuan_ has joined #ruby
sandelius has joined #ruby
DaniG2k has quit [Quit: leaving]
reinaldob has joined #ruby
juanpablo__ has joined #ruby
SOLDIERz_ has quit [Ping timeout: 245 seconds]
phutchins has quit [Ping timeout: 265 seconds]
Dakuan_ has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
Takle has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 255 seconds]
sameerynho has joined #ruby
lkba has joined #ruby
reinaldob has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 256 seconds]
<jhass> blackmesa: you don't have to provide a value to return. If you omit it, it defaults to nil
jonr22 has joined #ruby
Takle has joined #ruby
jonr22 has quit [Ping timeout: 246 seconds]
Rephiax has joined #ruby
agrinb has joined #ruby
abyx01 has joined #ruby
jerematic has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tier has joined #ruby
patrick99e99 has quit [Ping timeout: 255 seconds]
patrick99e99 has joined #ruby
agrinb has quit [Ping timeout: 256 seconds]
doodlehaus has quit [Remote host closed the connection]
jerematic has quit [Ping timeout: 245 seconds]
enebo has joined #ruby
plashchynski has quit [Quit: plashchynski]
dling has quit []
chinmay_dd has joined #ruby
DouweM_ has joined #ruby
DouweM has quit [Read error: Connection reset by peer]
delianides has quit [Remote host closed the connection]
enebo has quit [Client Quit]
centrx has joined #ruby
strixd has joined #ruby
eat_multi has joined #ruby
xploshioon has joined #ruby
dling has joined #ruby
senayar has joined #ruby
gfawcettpq has quit [Ping timeout: 250 seconds]
Abhijit has joined #ruby
Cust0sLim3n has quit [Ping timeout: 240 seconds]
nii2361 has joined #ruby
gfawcettpq has joined #ruby
Crisix has joined #ruby
Pupeno has quit [Remote host closed the connection]
ARCADIVS has joined #ruby
jonr22 has joined #ruby
ki0 has quit [Remote host closed the connection]
max96at is now known as max96at|off
ARCADIVS has quit [Client Quit]
nii2361 has quit [Ping timeout: 264 seconds]
ki0 has joined #ruby
gfawcettpq has quit [Ping timeout: 252 seconds]
spider-mario has joined #ruby
gfawcettpq has joined #ruby
chinmay_dd has quit [Quit: Leaving]
RegulationD has joined #ruby
relix has joined #ruby
Dakuan_ has joined #ruby
Crisix has quit [Ping timeout: 264 seconds]
xploshioon has quit [Quit: Leaving]
ki0 has quit [Ping timeout: 246 seconds]
razieliyo has joined #ruby
gfawcettpq has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 246 seconds]
aswen has joined #ruby
dling has quit []
agrinb has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
mitchellhenke has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
Zai00_ has joined #ruby
Zai00 has quit [Ping timeout: 255 seconds]
Zai00_ is now known as Zai00
SOLDIERz_ has joined #ruby
Mia has quit [Read error: Connection reset by peer]
tvw has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
juanpablo__ has joined #ruby
bruno- has joined #ruby
zapho53 has joined #ruby
agrinb has joined #ruby
Mia has quit [Read error: Connection reset by peer]
SOLDIERz_ has quit [Ping timeout: 252 seconds]
Giltweasl has quit [K-Lined]
DerisiveLogic has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
plashchynski has joined #ruby
gfawcettpq has joined #ruby
<zapho53> otisZart: Trying in vain to get an answer on #git. What, exactly, is a "snapshot"?
<otisZart> ???
<zapho53> Don't know how that got in there.
juanpablo__ has quit [Ping timeout: 244 seconds]
juanpaucar has joined #ruby
<waxjar> literally the first result on google for git snapshot..
martinbmadsen has joined #ruby
Cust0sLim3n has joined #ruby
agrinb has quit [Read error: Connection reset by peer]
reinaldob has joined #ruby
enebo has joined #ruby
agrinb has joined #ruby
juanpaucar has quit [Ping timeout: 265 seconds]
reinaldob has quit [Ping timeout: 246 seconds]
ki0 has joined #ruby
martinbmadsen has quit [Ping timeout: 246 seconds]
patrick99e99 has quit [Ping timeout: 255 seconds]
<jhass> otisZart: !gg git snapshot
<otisZart> !?!??!!?
<otisZart> its not me, I've been quoted by mistake
<jhass> ups, sorry
patrick99e99 has joined #ruby
* jhass needs more sugar
zapho53 has left #ruby [#ruby]
jusmyth has joined #ruby
<jhass> but first I need to figure out why I can longer launch any program
mostlybadfly has joined #ruby
ki0 has quit [Remote host closed the connection]
ki0 has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
dfinninger has joined #ruby
Megtastique has joined #ruby
Notte has quit [Remote host closed the connection]
mistermocha has joined #ruby
bronson has joined #ruby
dling has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
mistermocha has quit [Ping timeout: 246 seconds]
ghostpl_ has joined #ruby
tubuliferous has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
yeticry has quit [Ping timeout: 264 seconds]
yeticry has joined #ruby
hgl has quit [Ping timeout: 256 seconds]
tubuliferous has quit [Ping timeout: 244 seconds]
mjuszczak has joined #ruby
ndrei has joined #ruby
hgl has joined #ruby
rocknrollmarc has joined #ruby
rockngo has joined #ruby
xenokiller has quit [Ping timeout: 255 seconds]
rocknrollmarc has quit [Ping timeout: 272 seconds]
Dude007 has quit [Remote host closed the connection]
rockngo has quit [Ping timeout: 250 seconds]
patrick99e99 has quit [Ping timeout: 245 seconds]
bruno- has quit [Ping timeout: 264 seconds]
max96at|off is now known as max96at
plashchynski has quit [Quit: plashchynski]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
patrick99e99 has joined #ruby
BraddPitt has quit [Read error: Connection reset by peer]
Asher has joined #ruby
BraddPitt has joined #ruby
reinaldob has joined #ruby
max96at is now known as max96at|off
a5i has joined #ruby
rocknrollmarc has joined #ruby
rocknrollmarc has quit [Max SendQ exceeded]
mjuszczak has quit []
mitchellhenke has joined #ruby
rocknrollmarc has joined #ruby
rocknrollmarc has quit [Max SendQ exceeded]
rocknrollmarc has joined #ruby
reinaldob has quit [Remote host closed the connection]
sameerynho has quit [Quit: Leaving]
mjuszczak has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
Asher has quit [Quit: Leaving.]
Soda has joined #ruby
Asher has joined #ruby
plashchynski has joined #ruby
meatherl_ has joined #ruby
Kilo`byte has quit [Ping timeout: 252 seconds]
jusmyth has quit [Quit: Leaving.]
SOLDIERz_ has joined #ruby
Kilo`byte has joined #ruby
rocknrollmarc has quit [Ping timeout: 265 seconds]
Channel6 has joined #ruby
meatherl_ has quit []
tier has quit [Remote host closed the connection]
rockngo has joined #ruby
lokust has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
jerematic has joined #ruby
SOLDIERz_ has quit [Ping timeout: 240 seconds]
ismaelga has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
Rephiax__ has joined #ruby
jerematic has quit [Ping timeout: 244 seconds]
Rephiax has quit [Ping timeout: 245 seconds]
mjuszczak has quit []
zz_Outlastsheep is now known as Outlastsheep
t_p has joined #ruby
spiderbyte has joined #ruby
lulzmachine has joined #ruby
Mon_Ouie has quit [Read error: Connection reset by peer]
funburn has quit [Quit: funburn]
RegulationD has joined #ruby
Rephiax__ has quit []
agrinb has quit [Remote host closed the connection]
agrinb has joined #ruby
beginner has quit [Ping timeout: 245 seconds]
abyx01 has quit [Remote host closed the connection]
beginner has joined #ruby
User458764 has joined #ruby
beginner has quit [Max SendQ exceeded]
plashchynski has quit [Quit: plashchynski]
RegulationD has quit [Ping timeout: 245 seconds]
beginner has joined #ruby
Abhijit has quit [Quit: Bye.]
agrinb has quit [Ping timeout: 255 seconds]
blackmesa has quit [Ping timeout: 256 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sngeth has joined #ruby
amundj has joined #ruby
Azure has quit [Quit: Blue Sky Fish]
Megtastique has quit []
nii2361 has joined #ruby
agrinb has joined #ruby
freezevee has joined #ruby
Pupeno has joined #ruby
SouL has joined #ruby
max96at|off is now known as max96at
<freezevee> hey guys, I have released an application in RoR and I am wondering what license to add to it. I want this to be available to everyone to use it but I want to have always credit and possibly later (after some years) to use the application hosted in my own servers and sell it as SaaS.
<freezevee> Do you have any suggestion for a license ?
amundj has quit [Ping timeout: 244 seconds]
TheNet has joined #ruby
dfinninger has quit [Remote host closed the connection]
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
nii2361 has quit [Ping timeout: 250 seconds]
Megtastique has joined #ruby
<Outlastsheep> freezevee: I don't have an answer, but we have #Rubyonrails
<Outlastsheep> They might be able to help you with that.
<centrx> freezevee, Rails uses the MIT license
<centrx> freezevee, You always retain your copyright and can do what you like with your work
Pupeno has quit [Ping timeout: 265 seconds]
rockngo has quit [Read error: Connection reset by peer]
Azure has joined #ruby
User458764 has joined #ruby
<freezevee> centrx: Should I state clearly my name as the copyright owner ?
<freezevee> is the copyright on the top and then the MIT (I think so)
<centrx> Yes use that
<centrx> State your name and date
<freezevee> I am a bit cautious because I want the code to be used freely by the open source community but I don't want people to change the logo and sell it
delianides has joined #ruby
<centrx> You may want to use the GPL
<centrx> You can protect logos with a trademark, but that is not automatic like copyright
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
<freezevee> centrx: MIT says that including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
<freezevee> centrx: so I suppose you can clone others' software and sell it as yours
reinaldob has joined #ruby
sevenseacat has quit [Remote host closed the connection]
astrobunny has joined #ruby
DouweM_ has quit [Read error: Connection reset by peer]
<freezevee> I don't have a problem to be used in a corporation/commercially
reinaldob has quit [Ping timeout: 245 seconds]
<freezevee> but I don't want it to be sold
phutchins has joined #ruby
<centrx> That's what commercial means
iamninja has quit [Quit: rizonIRPG]
<centrx> "You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation."
<centrx> Do you want to allow a company to combine your software with other software and sell that bundle together?
Rollabunna has quit [Remote host closed the connection]
<centrx> ShareAlike version of the above: https://creativecommons.org/licenses/by-nc-sa/3.0/
Rollabunna has joined #ruby
bepolite has joined #ruby
<freezevee> might be
<Nilium> I kind of doubt anyone's going to want to sell your code.
<bepolite> Can I install gem's like composer inside an RVM but still be able to use it outside of the rvm?
rocknrollmarc has joined #ruby
juanpablo__ has joined #ruby
<Nilium> No, not really.
<bepolite> hmm
<freezevee> Nilium: you never know
<bepolite> So I have to install composer system wide?
<Nilium> You could possibly tell gem to use a different directory and get it to use that
<Nilium> freezevee: I'm in the "I wouldn't care if they did" camp
aryaching has joined #ruby
<freezevee> Nilium: I've shed a lot of sweat for this software
<Nilium> That said, the majority of open source projects are worthless and nobody will ever care about them
phutchins has quit [Ping timeout: 264 seconds]
<freezevee> true
<Nilium> Yours likely falls into the "nobody cares" category, which is just the reality of open source
Limix has joined #ruby
<Nilium> Especially if it's a rails app.
<freezevee> what does it mean ?
<Nilium> 'Cause one doesn't exactly take a rails app and just slot it in somewhere.
lyuben_ has joined #ruby
lyuben_ has quit [Client Quit]
<freezevee> Should I follow Rails' license ?
<Nilium> It's not a library, you don't add it to a project and gain some missing functionality.
<freezevee> because my app is built on this ?
<Nilium> You should do what you want.
<freezevee> I just don't know what's right
doodlehaus has joined #ruby
lyuben_ has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
<freezevee> I mean, I have no problem to give it an MIT license or whatever
lyuben_ has left #ruby [#ruby]
<freezevee> I don't know what the majority of developers do out there
<freezevee> it's my first contribution to open source and github push !
juanpablo__ has quit [Ping timeout: 265 seconds]
juanpaucar has joined #ruby
robustus|Off has joined #ruby
robustus|Off is now known as robustus
Dude007 has joined #ruby
martinbmadsen has joined #ruby
agrinb has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 252 seconds]
rocknrollmarc has quit [Ping timeout: 246 seconds]
agrinb has joined #ruby
sngeth has quit [Ping timeout: 264 seconds]
juanpaucar has quit [Ping timeout: 255 seconds]
patrick99e99 has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
jonr22 has quit [Remote host closed the connection]
DerisiveLogic has quit [Ping timeout: 255 seconds]
astrobunny has quit [Remote host closed the connection]
SOLDIERz_ has joined #ruby
agrinb_ has joined #ruby
Pharaoh2_ has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
martinbmadsen has quit [Ping timeout: 244 seconds]
beginner has quit [Ping timeout: 256 seconds]
beginner has joined #ruby
Pharaoh2 has quit [Ping timeout: 252 seconds]
codeFiend has quit [Ping timeout: 252 seconds]
DouweM has joined #ruby
SOLDIERz_ has quit [Ping timeout: 256 seconds]
Limix has quit [Quit: Limix]
Notte has joined #ruby
DaniG2k has joined #ruby
freezevee has quit []
dfinninger has joined #ruby
bronson has joined #ruby
Notte has quit [Ping timeout: 264 seconds]
lxsameer has joined #ruby
<lxsameer> hey folks. How can I specify the platform dependent dependencies in gemspec file ?
<undeadaedra> gem ’xxx’, platform: :yyy
<undeadaedra> iirc
banister has joined #ruby
<jhass> lxsameer: mmh, aren't they automatically ignored if the platform doesn't match?
<lxsameer> jhass: I'm not aware of that
<lxsameer> undeadaedra: that's for Gemfile
<jhass> well, I never tried but that would be my expectation
tubuliferous has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
<jhass> since you seem to have a scenario where you can try it out, it's worth a shot I'd say
bruno- has joined #ruby
<undeadaedra> lxsameer: then `if RUBY_PLATFORM == ’yyy` should do the trick?
<undeadaedra> It’s a ruby file, after all
TheNet has quit [Quit: Leaving...]
<lxsameer> undeadaedra: jhass those worth a shot thanks
<kaleido> what regex would match the format of any email address?
<undeadaedra> none
<jhass> mmh, email should be possible
<jhass> URI/URL is much harder
huck5 has joined #ruby
<undeadaedra> a catch-all email regex is not manageable
<undeadaedra> there are discussions on the subject
<jhass> but possible! :P
<jhass> kaleido: what do you need it for?
<kaleido> i really not even looking for it to be real, just match x@x.x if you will
Mon_Ouie has quit [Ping timeout: 245 seconds]
<kaleido> jhass, just trying to fumble through my own dumb exercises
<jhass> so you just want a very rough best effort?
<kaleido> indeed
Limix has joined #ruby
<jhass> /\S+@\S+\.\S+/ should be good enough then
tubuliferous has quit [Ping timeout: 264 seconds]
Limix has quit [Client Quit]
hs367 has joined #ruby
<jhass> it's really rough though
sankaber has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<kaleido> thanks!
<bepolite> Hello
<bepolite> each time I try to download a new gem, It tends to download this file "http://production.s3.rubygems.org/latest_specs.4.8.gz". Can I prevent this?
hs366 has quit [Ping timeout: 272 seconds]
Mia has quit [Read error: Connection reset by peer]
huck5 has quit [Quit: Leaving]
DouweM has quit [Quit: Leaving...]
<apeiros_> weee, just figured how to query the terminal stuff (like cursor position)
<jhass> bepolite: you can try to download the .gem by hand from rubygems and gem install ./that_file.gem
huck5 has joined #ruby
Mia has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bepolite> Hmm interesting
<bepolite> But I wonder where I can download the GEM's manually
User458764 has joined #ruby
<jhass> bepolite: https://rubygems.org/
meschi has joined #ruby
rocknrollmarc has joined #ruby
Mia has quit [Client Quit]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
amclain has joined #ruby
havenwood has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
dh64 has joined #ruby
Takle has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rocknrollmarc has quit [Ping timeout: 246 seconds]
delianides has quit [Remote host closed the connection]
<toretore> how can i make bundler tell me which gem is depending on another gem?
User458764 has joined #ruby
<toretore> not bundle viz cuz it doesn't work
<jhass> toretore: hanmac has a script...
Stalkr_ has quit [Read error: Connection reset by peer]
Akagi201 has quit []
<toretore> thanks jhass hanmac worked like a charm
Takle has joined #ruby
DaniG2k has quit [Ping timeout: 252 seconds]
ki0 has quit [Remote host closed the connection]
User458764 has quit [Client Quit]
<jhass> btw I tend to just read the .lock
mloveless has joined #ruby
meschi has quit [Remote host closed the connection]
<toretore> right, of course
nonnatus has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
zorak8 has joined #ruby
mloveless has quit []
jlast has quit [Remote host closed the connection]
mleung has joined #ruby
lulzmachine has quit [Quit: lulzmachine]
banister has joined #ruby
kolorados has quit [Ping timeout: 245 seconds]
Stalkr_ has joined #ruby
User458764 has joined #ruby
mleung has quit [Client Quit]
green-big-frog has left #ruby [#ruby]
avahey has joined #ruby
x77686d has joined #ruby
LJT has joined #ruby
<arup_r> awesome!
bruno- has quit [Ping timeout: 246 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
naftilos76 has joined #ruby
bruno- has joined #ruby
RegulationD has joined #ruby
SOLDIERz_ has joined #ruby
tlarevo has joined #ruby
bepolite has quit [Ping timeout: 250 seconds]
tlarevo_ has quit [Ping timeout: 256 seconds]
bruno- has quit [Ping timeout: 246 seconds]
tier has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
SOLDIERz_ has quit [Ping timeout: 256 seconds]
jimms has joined #ruby
LJT has quit [Quit: Sleeping...]
sinkensabe has joined #ruby
genpaku has quit [Ping timeout: 246 seconds]
yokel has quit [Ping timeout: 264 seconds]
astrobunny has joined #ruby
genpaku has joined #ruby
yokel has joined #ruby
phutchins has joined #ruby
astrobunny has quit [Ping timeout: 245 seconds]
ninedragon has joined #ruby
DaniG2k has joined #ruby
sngeth has joined #ruby
LJT has joined #ruby
<aob> I have a hash with various strings as keys; I want to get the value from the hash based on the following: get_value(my_key) - 1) if my key matches exactly, give this value, 2) if my value matches fuzzily (ie glob/regex) give this value (the first match wins), 3) Otherwise give the value at 'default'
<aob> is there already something a bit like this in existence?
<aob> so i don't reinvent wheels (badly)
phutchins has quit [Ping timeout: 246 seconds]
<jhass> aob: not really no, but it shouldn't take more than 3-4 lines
<aob> i can see easily enough how to do it with a primitive multipass approach on the keys of the hash
jimms has quit [Read error: Connection reset by peer]
<aob> just wondered if tehre was something more elegant / built-in
jimms has joined #ruby
<jhass> return hash[key] if hash.has_key? key; (hash.find {|key, value| ... } || [default]).last
ebbflowgo has quit [Quit: ebbflowgo]
dc has quit [Remote host closed the connection]
DaniG2k has quit [Quit: leaving]
<jhass> constant time in the best case, O(n) in the worst
vivekananda has quit [Ping timeout: 252 seconds]
Takle has quit [Remote host closed the connection]
<apeiros_> grmpf, apple's xterm emu does not properly report its colors
aryaching_ has joined #ruby
adriancb has joined #ruby
jimms has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 264 seconds]
<apeiros_> and eeew, I've got a mid-method return. will have to figure how to do that better later.
jimms has joined #ruby
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 36.0/2015022000]]
lemur has joined #ruby
sondr3 has joined #ruby
blackmesa has joined #ruby
<jhass> mmh, I'm still missing your version of that other one :P
adriancb has quit [Remote host closed the connection]
<apeiros_> hm?
<apeiros_> oh, I think I remember
a1fa has left #ruby [#ruby]
<apeiros_> I doubt I even have the code still around…
jimms has quit [Ping timeout: 250 seconds]
porfa has joined #ruby
<jhass> yeah me neither
juanpablo__ has joined #ruby
baroquebobcat has joined #ruby
Pupeno has joined #ruby
dc_ has joined #ruby
<jhass> apeiros_: hah, logs to the rescue: https://gist.github.com/nickjj/7d609c5c30535d8ea13c :P
<apeiros_> damn :D
<nickjj> oh yeah, i forgot that about
<apeiros_> but… but… I've got something more interesting…
<jhass> you mean dealing with apples crappy software?
juanpablo__ has quit [Ping timeout: 244 seconds]
ki0 has joined #ruby
<apeiros_> hm, actually it seems like xterm only reports the setting, and not the actual current bg color…
juanpaucar has joined #ruby
green-big-frog has joined #ruby
Pupeno has quit [Ping timeout: 272 seconds]
LJT has quit [Quit: Quiting...]
<apeiros_> here: https://gist.github.com/apeiros/ac3e76c9ff1c83f6c2ce - very early pre alpha :)
<green-big-frog> hi
<green-big-frog> I need some help...
<green-big-frog> I'm trying to set up codeclimate and coveralls.. but both can't/ aren't detecting test coverage... What am I doing wrong?
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jhass> green-big-frog: {"message":"Couldn't find a repository matching this job.","error":true}
<jhass> sounds like you didn't sign up with them?
<green-big-frog> i did...
<jhass> mmh
<jhass> maybe nobody ever tested a repo name with a 0 in it
<jhass> anyway, that seems to be a case for their support
<green-big-frog> ok
LJT has joined #ruby
<green-big-frog> is my .yml setup right in my repo?
<apeiros_> why are we stuck at crappy terminals again?
juanpaucar has quit [Ping timeout: 256 seconds]
martinbmadsen has joined #ruby
<jhass> apeiros_: backwards compatibility
antgel has quit [Ping timeout: 264 seconds]
<jhass> green-big-frog: actually, wait, why travis-pro?
<jhass> you're not using travis pro
jonr22 has joined #ruby
Crazy_Atheist has quit [Ping timeout: 250 seconds]
<green-big-frog> where did I configure that wrong?
<jhass> .coveralls.yml
<apeiros_> jhass: I doubt there's too much which would break. and the stuff which would break is probably already employing horrible hacks and happy to move on to reliable ways. see e.g. https://code.google.com/p/vim/source/browse/src/option.c?name=v7-3-338#3711
<apeiros_> "This is just guessing!" - vim source, detecting terminal stuff
otisZart has quit [Read error: Connection reset by peer]
<green-big-frog> ty
<green-big-frog> I was very blind
<jhass> green-big-frog: it's been a fair while since I setup a project there, but I didn't have to add any token or .coveralls.yml, at least judging from looking at the repo
<green-big-frog> ok
DLSteve has quit [Ping timeout: 240 seconds]
wpp has quit [Read error: Connection reset by peer]
DerisiveLogic has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
martinbmadsen has quit [Ping timeout: 246 seconds]
ndrei has quit [Ping timeout: 256 seconds]
Crazy_Atheist has joined #ruby
piotrj has joined #ruby
ndrei has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DEA7TH has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Joufflu has joined #ruby
hs367 has quit [Quit: Leaving]
doodlehaus has quit [Remote host closed the connection]
bronson has joined #ruby
prasselpikachu has quit [Ping timeout: 246 seconds]
MatthewsFace has joined #ruby
Takle has joined #ruby
<green-big-frog> the build says 100% coverage but https://coveralls.io/r/green-big-frog/bugb0t says unknown coverage...
<green-big-frog> What am I doing wrong?
wallerdev has joined #ruby
SOLDIERz_ has joined #ruby
tubuliferous has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
prasselpikachu has joined #ruby
leafybasil has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
SOLDIERz_ has quit [Ping timeout: 240 seconds]
piotrj has quit [Remote host closed the connection]
emanu has joined #ruby
piotrj has joined #ruby
x77686d has quit [Ping timeout: 264 seconds]
piotrj has quit [Read error: Connection reset by peer]
DouweM has joined #ruby
govg has joined #ruby
otisZart has joined #ruby
beginner has quit [Ping timeout: 256 seconds]
beginner has joined #ruby
beginner has quit [Changing host]
beginner has joined #ruby
starless has joined #ruby
<jhass> green-big-frog: https://github.com/green-big-frog/bugb0t/blob/master/Rakefile that doesn't work
<jhass> coveralls needs to be loaded inside your test run
jonr22 has joined #ruby
reinaldob has joined #ruby
<jhass> I'm also not sure if actually connecting to freenode from travis is such a great idea
ismaelga has quit [Remote host closed the connection]
Dakuan_ has quit [Remote host closed the connection]
<emanu> hey guys, I'm trying to build a simple script to warehouse a bunch of non-critical, non-sensitive data in ruby. I was going to write everything to yml/csv into my dropbox or s3 or something, and then encountered LevelDB and LMDB, as well as the Moneta library. All of these things don't seem particularly active, curious if there's a "better practice" here for doing what I want to do with ruby. I'm currently thinking moneta + lmdb are my be
<emanu> options.
rhllor has joined #ruby
tlarevo has quit [Remote host closed the connection]
triangles has joined #ruby
pork_clips is now known as _cake
AlexRussia has quit [Ping timeout: 252 seconds]
zorak8 has quit [Ping timeout: 265 seconds]
Channel6 has quit [Remote host closed the connection]
Cache_Money has quit [Quit: Cache_Money]
dc_ has quit [Read error: Connection reset by peer]
Dakuan_ has joined #ruby
ramfjord has joined #ruby
dc has joined #ruby
vlad_starkov has joined #ruby
AlphaTech has joined #ruby
Dakuan_ has quit [Ping timeout: 256 seconds]
DEA7TH has joined #ruby
DEA7TH has joined #ruby
doodlehaus has joined #ruby
reinaldob has quit [Remote host closed the connection]
Dude007 has quit [Read error: Connection reset by peer]
DerisiveLogic has quit [Remote host closed the connection]
<green-big-frog> jhass: ok
<green-big-frog> ty
Dude007 has joined #ruby
ebbflowgo has joined #ruby
emanu has quit [Quit: emanu]
reinaldob has joined #ruby
zz_Outlastsheep is now known as Outlastsheep
Spami has joined #ruby
<green-big-frog> changed it and still unknown coverage
revoohc has joined #ruby
dc_ has joined #ruby
Zesty has joined #ruby
dc has quit [Read error: Connection reset by peer]
lyuben_ has joined #ruby
jimms has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<jhass> did you check it actually does anything without test framework?
Zesty has quit [Client Quit]
<green-big-frog> what do you mean?
<green-big-frog> jhass:
RegulationD has joined #ruby
<jhass> it seems to use simplecov
otisZart has quit [Read error: Connection reset by peer]
<green-big-frog> i don't really need it... i'll just let it be... thanks for helping me
juanpablo__ has joined #ruby
<jhass> "ote: If SimpleCov starts after your application code is already loaded (via require), it won't be able to track your files and their coverage! The SimpleCov.start must be issued before any of your application code is required!"
doodlehaus has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
<green-big-frog> if it's so easy ill give it one more try
AlexRussia has joined #ruby
bruno- has joined #ruby
<atmosx> If my hash is like that: CAST(strftime('%m', `executed_at`) AS INTEGER)
tier has quit [Remote host closed the connection]
<atmosx> no wait {:"CAST(strftime('%m', `executed_at`) AS INTEGER)"=>1, :count=>4}
RegulationD has quit [Ping timeout: 252 seconds]
<atmosx> the key for the first entry is "CAST(strftime('%m', `executed_at`) AS INTEGER)" ... anyway I can prettify this somehow? Or call it with another alias?
<atmosx> it's hideous
DouweM_ has joined #ruby
LJT has quit [Quit: Sleeping...]
baroquebobcat has quit [Client Quit]
DouweM has quit [Read error: Connection reset by peer]
juanpablo__ has quit [Ping timeout: 255 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
DouweM_ has quit [Read error: Connection reset by peer]
DouweM has joined #ruby
jimms has quit [Ping timeout: 256 seconds]
<jhass> did you try to just "AS executed_at" or so?
martinbmadsen has joined #ruby
naftilos76_ has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
hs366 has joined #ruby
<atmosx> jhass: nope I didn't try anything
jimms has joined #ruby
<jhass> I always try stuff before asking
<atmosx> jhass: I don't try stuff I can't come up with.
Spami has quit [Quit: This computer has gone to sleep]
<naftilos76_> Hi i am using fail2ban and just enabled apache protection. After taking a look at the corresponding protection filter file, fail2ban searches apache's error.log against regex expressions which however will never be written in that log file because there is simply no mechanism to tranfser such entries from my rails website into /var/log/apache2/error.log. I read about STDERR.puts string that triggers such an event which however did not work after trying
<naftilos76_> STDERR.puts some_string in IRB. Do you how i can trigger errors being written in apache's error log from ruby?
wallerdev has quit [Quit: wallerdev]
lolmaus has quit [Quit: Konversation terminated!]
starless has quit [Quit: Leaving]
<atmosx> naftilos76_: read apache.log through ruby and match the expression with regexp? (as fail2ban does actually)
SOLDIERz_ has joined #ruby
<naftilos76_> thanks but that would be wrong or that is just my opinion
lyuben_ has quit [Quit: This computer has gone to sleep]
<apeiros_> naftilos76_: open the apache error log in ruby and write to it
dseitz has joined #ruby
<atmosx> naftilos76_: actually what apeiros_ seems the most reasonable approach. Then you'll let fail2ban do the regexp.
csaunders has joined #ruby
<atmosx> not to mention that fail2ban can read any kind of logs, so you could create a new entry to read your rails.log (or whatever rials generates by default)
<apeiros_> but not sure whether that has potential for messed up entries
Soda has quit [Remote host closed the connection]
<naftilos76_> Again, apeiros: this is the easy part. In order to do that i will have to either run rails as root or run system commands via ruby and therefore use sudo -S . There are security issues. Am i wrong?
sondr3 has quit [Quit: Ich bin ein sleep.]
<jhass> naftilos76_: so how about a dedicated log that fail2ban reads?
<apeiros_> naftilos76_: you just said you didn't know how to do it
<apeiros_> so what is it now? o0
<naftilos76_> atmosx: that is (i beleive) the most doable solution. However, what happens when you deal with 100 rails websites?
cashnguns has joined #ruby
<atmosx> naftilos76_: you write a gem.
<havenwood> naftilos76_: Just an aside, but `warn '...'` instead of `STDERR.puts '...'`.
* jhass considers fail2ban snake oil anyway
<atmosx> naftilos76_: and then a fail2ban rule and you deploy it to all of your websites.
<naftilos76_> apeiros_: I said i do not know how to trigger an event that will be captured by apache error.log
<apeiros_> naftilos76_: then you did not understand what I wrote
<naftilos76_> via ruby
<apeiros_> I did not suggest to "trigger an event". I said: open the logfile and write to it. as in: File.open("path/to/apache/error.log") do |fh| fh.puts "stuff that should be found by fail2ban" end
last_staff has joined #ruby
<naftilos76_> Dear apeiros_: i can surely do that. That is not difficult. I am just considering a more appropriate way
DouweM_ has joined #ruby
<atmosx> apeiros_: he said he needed 'root access' to open that file. I think 'www' user will do though.
SOLDIERz_ has quit [Ping timeout: 256 seconds]
dfinninger has quit [Remote host closed the connection]
<atmosx> naftilos76_: you're using apache?
<apeiros_> if their apache error log is not accessible by the user the code runs with, then the suggestion to configure fail2ban to scan additional files is the most sane.
DouweM has quit [Ping timeout: 246 seconds]
<naftilos76_> I can definitely change error.log group to something else and add the user that rails is run from and eventually write in the log without any issues
<naftilos76_> yes apache
dfinninger has joined #ruby
<apeiros_> the IO to write to apache's error log might also be in the rack env.
rhllor has quit [Quit: rhllor]
dfinninger has quit [Remote host closed the connection]
<naftilos76_> i am not sure how to get there
User458764 has joined #ruby
<naftilos76_> any suggestion where to start from?
piotrj has joined #ruby
<apeiros_> in your controller, use the `request` method
gkra has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
<naftilos76_> ok, i have used request in the past but exactly what are you referring to? Do something request.member = "Authentication error" ?
<havenwood> naftilos76_: As said, have fail2ban look in other places rather than intermixing random content into the apache logs.
<apeiros_> iirc request.env returns the low level rack env.
blackmesa has joined #ruby
x77686d has joined #ruby
<apeiros_> I'm referring to 20:04 apeiros_: the IO to write to apache's error log might also be in the rack env.
<naftilos76_> havenwood: in that case i have to setup rails websites write into a common log file.
<naftilos76_> Thanks apeiros_ i will have a try
x1337807x has joined #ruby
zorak8 has joined #ruby
timonv has joined #ruby
naftilos76 has quit [Remote host closed the connection]
naftilos76_ has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 255 seconds]
Sid05 has joined #ruby
naftilos76 has joined #ruby
hmsimha has joined #ruby
aryaching_ has quit []
reinaldob has quit [Remote host closed the connection]
Joufflu has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
LJT has joined #ruby
green-big-frog has left #ruby [#ruby]
Dakuan_ has joined #ruby
LJT has quit [Client Quit]
tier has joined #ruby
sandelius has joined #ruby
max96at is now known as max96at|off
jgt1 has joined #ruby
reinaldob has joined #ruby
chipotle has quit [Quit: cheerio]
delianides has joined #ruby
gkra has joined #ruby
delianides has quit [Remote host closed the connection]
delianides has joined #ruby
ebbflowgo has quit [Ping timeout: 264 seconds]
Joufflu has joined #ruby
Dakuan_ has quit [Ping timeout: 250 seconds]
juanpaucar has joined #ruby
jimms has quit [Read error: Connection reset by peer]
tier has quit [Ping timeout: 264 seconds]
iamjarvo has joined #ruby
jimms has joined #ruby
reinaldob has quit [Remote host closed the connection]
codecop has joined #ruby
sinkensabe has quit [Remote host closed the connection]
reinaldob has joined #ruby
juanpaucar has quit [Ping timeout: 252 seconds]
Outlastsheep is now known as zz_Outlastsheep
plashchynski has joined #ruby
yqt has joined #ruby
dfinninger has joined #ruby
j416 has quit [Ping timeout: 245 seconds]
Pharaoh2_ has quit [Quit: Byebye]
Spami has joined #ruby
lyuben_ has joined #ruby
jimms has quit []
j416 has joined #ruby
bradleyprice has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 255 seconds]
<shevy> do you guys use Structs oftenly?
Azure has quit [Ping timeout: 245 seconds]
mathie has joined #ruby
RegulationD has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
vdamewood has joined #ruby
mathie has quit [Client Quit]
mathie has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 255 seconds]
zorak8 has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous has joined #ruby
SOLDIERz_ has joined #ruby
akkmaxon has joined #ruby
akkmaxon has quit [Client Quit]
blackmesa has joined #ruby
bradleyprice has joined #ruby
Azure has joined #ruby
tubuliferous has quit [Ping timeout: 246 seconds]
Sid05 has quit [Quit: Sid05]
bronson has joined #ruby
bepolite has joined #ruby
bepolite has joined #ruby
sngeth has quit [Ping timeout: 250 seconds]
towski_ has joined #ruby
coinrookie has joined #ruby
phutchins has joined #ruby
GnuYawk has joined #ruby
zzing has joined #ruby
jerematic has joined #ruby
ptrrr has quit [Quit: ptrrr]
phutchins has quit [Ping timeout: 244 seconds]
mike32 has joined #ruby
<undeadaedra> shevy: sometimes, but generaly it evolves to a real class
mike32 is now known as kolorados
lyuben_ has quit [Quit: This computer has gone to sleep]
<shevy> yeah that's what I am noticing here as well; I am like wondering "hey I could turn this into a class already"
iamninja has joined #ruby
bronson has quit [Remote host closed the connection]
DouweM_ has quit [Ping timeout: 244 seconds]
justin_pdx has joined #ruby
funburn has joined #ruby
naftilos76 has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
iheartkode has joined #ruby
timonv has joined #ruby
dc_ has quit [Remote host closed the connection]
reinaldob has quit [Read error: Connection reset by peer]
<kolorados> jhass, what do y think, crystal fight julia?
<jhass> fight in what way?
<kolorados> cound of people
<jhass> why would it?
<jhass> why would either want the other to be not used by people?
<kolorados> i looked on git , and on julia work more people
<shevy> it has the prettier name too
hiyosi has joined #ruby
senayar has quit [Remote host closed the connection]
<kolorados> shevy , where are you form?
<kolorados> *from
<shevy> kolorados austria
<kolorados> julia pretty nice language
senayar has joined #ruby
<kolorados> i worked hard with c#
senayar has quit [Remote host closed the connection]
Dakuan_ has joined #ruby
<kolorados> but didnt notice small undeground language
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<shevy> lol
<shevy> "small underground language"
<shevy> what's an underground language
<shevy> is that like in Robocop?
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<kolorados> undeground, baby, its lanf without suuport big compamy
<kolorados> *lang
mikepack has joined #ruby
<iheartkode> lolcode?
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
ianfleeton has joined #ruby
senayar has joined #ruby
codeFiend has joined #ruby
<shevy> no
senayar has quit [Remote host closed the connection]
<shevy> undergroundlol
<kolorados> why you so stupid?
Dakuan_ has quit [Ping timeout: 272 seconds]
senayar has joined #ruby
pen has joined #ruby
senayar has quit [Remote host closed the connection]
<iheartkode> Calling someone stupid is a pretty stupid thing to do?
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<kolorados> u ask me?
flughafe1 has joined #ruby
<kolorados> ihertcode. show me your github
<iheartkode> Why?
senayar has joined #ruby
<aob> wowzers
senayar has quit [Remote host closed the connection]
<aob> kolorados about to get a douchebag ignore
<iheartkode> ^
senayar has joined #ruby
plashchynski has quit [Ping timeout: 246 seconds]
sondr3 has joined #ruby
senayar has quit [Remote host closed the connection]
sondr3 has quit [Client Quit]
plashchynski has joined #ruby
<iheartkode> Anyone have some project ideas for beginners?
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<atmosx> iheartkode: Too many
<Jamo> way too many :D
<iheartkode> Pick one lol
<atmosx> iheartkode: the 'for beginners' part though is a little bit irrelevant
<Jamo> what kind of project you are looking for?
<atmosx> iheartkode: web-based?
<kolorados> develop your own game
senayar has joined #ruby
flughafen_ has quit [Ping timeout: 256 seconds]
<iheartkode> Just something I can test my knowledge in Ruby.
senayar has quit [Remote host closed the connection]
<kolorados> as linus torwl wrote, game will nake future
<iheartkode> Not web, I can make rails apps.
<kolorados> *make
<iheartkode> Learning grammar will make a future.
bim has quit [Remote host closed the connection]
<atmosx> I'd like to add credit-card support to my 'argosnap' gem and also make it less 'mac-ish', but having your CC in your .config/something.yml file is not 'safe' by any means so I'm a little bit troubled if it's a good idea generally speaking..
senayar has joined #ruby
<atmosx> even encryption doesn't mean much since the key should be lying around somewhere to be accessible by the script
bim has joined #ruby
senayar has quit [Remote host closed the connection]
<Jamo> iheartkode: I would recommend on finding an interesting project on github, picking one issue and fixing it
senayar has joined #ruby
<havenwood> iheartkode: Or write some simple but usefule or fun command line apps.
<iheartkode> I will search around.
senayar has quit [Remote host closed the connection]
<Jamo> or maybe talking to these awesome people https://github.com/SciRuby/sciruby
senayar has joined #ruby
<iheartkode> Yeah, I was thinking some command line apps.
senayar has quit [Remote host closed the connection]
<havenwood> iheartkode: I recommend Slop as an option parser.
Rapier- has quit [Quit: (null)]
<havenwood> iheartkode: It's a nice gem.
<havenwood> Jamo: I saw they got in GSoC again!
senayar has joined #ruby
<iheartkode> I will check it out.
LJT has joined #ruby
senayar has quit [Remote host closed the connection]
juanpablo__ has joined #ruby
<Jamo> havenwood: what makes slop better than just plain old optparse/OptionParser?
senayar has joined #ruby
<iheartkode> What I do is I open a blank editor and It's like writes block for coders lol
senayar has quit [Remote host closed the connection]
dc has joined #ruby
<iheartkode> writers*
bim has quit [Ping timeout: 240 seconds]
<havenwood> shevy: I just wrote a colorized levenshtein distance command line app in crystal-lang, it's a whole 2 or 3 lines.
<Jamo> yeah I wish I had time for the Gsoc for a nice ruby project...
<atmosx> Jamo: what do you do?
<havenwood> Jamo: It's more concise and DRY.
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<Jamo> havenwood: ok, probably maybe even work starting to use that for some of my projects...
lemur has quit [Remote host closed the connection]
senayar has joined #ruby
codeFiend has quit [Quit: codeFiend]
senayar has quit [Remote host closed the connection]
<Jamo> not to have internship ending in mid summer so that I could participate to gsoc I ment
<havenwood> nice!
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
mdibound has joined #ruby
mdibound has left #ruby [#ruby]
<havenwood> oh, I misread. anyways either seem good. ;)
senayar has joined #ruby
juanpablo__ has quit [Ping timeout: 250 seconds]
senayar has quit [Remote host closed the connection]
<havenwood> atmosx: ah, less mac-ish as in linux or win notifications?
senayar has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<kolorados> shevy . what is your favorite lang?
senayar has quit [Remote host closed the connection]
<atmosx> havenwood: yes, linux. Win is not supported and never will probably...
<Jamo> well intern at the company organizing gsoc; so probbaly ineligible to join gsoc this summer anyway... :D
coinrookie has quit [Remote host closed the connection]
aswen has joined #ruby
<havenwood> shevy: Crystal doesn't have Levenshtein hidden away: https://github.com/manastech/crystal/blob/master/src/levenshtein.cr
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<atmosx> havenwood: also as I said, I'm thinking of adding a way to make the payments, but the cc must be on the .yml or somehwere else and I don't feel comfortable with this.
<havenwood> shevy: And no gem searching for colorizing: https://github.com/manastech/crystal/blob/master/src/colorize.cr
PeterTs has joined #ruby
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
<havenwood> atmosx: Maybe bcrypt it before storing it?
senayar has joined #ruby
<atmosx> havenwood: yes okay, but how do I retrieve it automatically?
senayar has quit [Remote host closed the connection]
<atmosx> havenwood: without human interaction?
<havenwood> atmosx: password to retreive
<atmosx> ah
<atmosx> hm
<atmosx> havenwood: a pop-up with a password?
Crisix has joined #ruby
<iheartkode> (1..5) (1...5) What is the difference?
<havenwood> iheartkode: the latter excludes the final element
senayar has joined #ruby
dfinninger has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
<iheartkode> I see.
senayar has quit [Remote host closed the connection]
<havenwood> atmosx: yeah, hate to store plaintext credit cards
sngeth has joined #ruby
Sid05 has joined #ruby
Kilo`byte has quit [Ping timeout: 244 seconds]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<atmosx> havenwood: hm, yes of course. Plaintext would be easy to implement. I might be able to automate the process like "argosnap --make-payment" then will prompt for predefined password and make the payment.
<atmosx> that's acceptable I guess.
ptrrr has joined #ruby
jgt1 has quit [Ping timeout: 264 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
bim has joined #ruby
reinaldob has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
enebo has joined #ruby
senayar has joined #ruby
Kilo`byte has joined #ruby
senayar has quit [Remote host closed the connection]
millerti has joined #ruby
starless has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<havenwood> atmosx: thinking how i'd actually do that..
plashchynski has quit [Quit: plashchynski]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
reinaldob has quit [Ping timeout: 252 seconds]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
piotrj has quit [Read error: Connection reset by peer]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
plashchynski has joined #ruby
<havenwood> atmosx: so you're wanting to store the credit card information itself, not just validate a password, right?
<atmosx> havenwood: well, there are 3 ways of payment: BTC (send money via BTC), paypal and CC (iframe). The CC via iframe is hard to get with xPath (if possible at all). I don't think you can automate that part.
<atmosx> havenwood: yes
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<atmosx> havenwood: generally speaking sensitive info, either CC or paypal user/pass which is the same
fumk has quit [Remote host closed the connection]
senayar has joined #ruby
Zggb has joined #ruby
<atmosx> and now that I'm watching the iface of the payment page, at tarsnap, I think it's only possible via paypal because there are 'buttons' nokogiri can 'press'. The iframe is outside xPath's reach from what I see using 'SelectorGadget'
senayar has quit [Remote host closed the connection]
Crisix has quit [Quit: Textual IRC Client: www.textualapp.com]
ATM_London has quit [Ping timeout: 240 seconds]
DerisiveLogic has joined #ruby
plashchynski has quit [Client Quit]
<atmosx> the btc option requires you to send manually BTC to a predefined address, which is not 'automated'... although having that address printed on the screen right away might turn handy.
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<atmosx> ah have to go, gf calling. bbl :-)
fumk has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
TheSuper has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
vitkovsky has joined #ruby
vitkovsky has quit [Remote host closed the connection]
vlad_starkov has quit []
<havenwood> GCM
dfinninger has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
byprdct has joined #ruby
senayar has quit [Remote host closed the connection]
plashchynski has joined #ruby
senayar has joined #ruby
<byprdct> Can anyone explain to me why this doesnt work? https://gist.github.com/anonymous/942a4810d7a36b8857db
senayar has quit [Remote host closed the connection]
<havenwood> byprdct: how doesn't it work?
<byprdct> Using one regex works fine but when I add the second regex it does not
<byprdct> This is what I'm trying to add !~ /\.404/
senayar has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
senayar has quit [Remote host closed the connection]
<havenwood> byprdct: page.path =~ /\.html/ && page.path !~ /\.404/
jottr has joined #ruby
senayar has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
senayar has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 245 seconds]
<havenwood> byprdct: or do both in a single Regexp
Akuma has joined #ruby
<byprdct> Ahhhh, dude I've been at it all day - you rock works like a charm thanks havenwood !
<havenwood> byprdct: no pro
<havenwood> prob*
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has joined #ruby
ATM_London has joined #ruby
<byprdct> :)
senayar has quit [Remote host closed the connection]
piotrj has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
bepolite has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
doodlehaus has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
bronson has joined #ruby
tier has joined #ruby
BTRE has quit [Quit: Leaving]
Wolland has joined #ruby
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
NoNMaDDeN has joined #ruby
_ixti_ has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
a5i has quit []
Ankhers has joined #ruby
doodlehaus has quit [Ping timeout: 264 seconds]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
DerisiveLogic has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 252 seconds]
juanpaucar has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
ic2000 has joined #ruby
tier has quit [Ping timeout: 246 seconds]
aswen has quit [Ping timeout: 245 seconds]
senayar has joined #ruby
DouweM has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
jerematic has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
ic2000 has quit [Quit: Page closed]
senayar has joined #ruby
juanpaucar has quit [Ping timeout: 246 seconds]
senayar has quit [Remote host closed the connection]
tier has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
jerematic has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
martinbmadsen has quit [Ping timeout: 245 seconds]
Dakuan_ has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
a346 has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
paradoja has quit [Remote host closed the connection]
flughafe1 has quit [Quit: WeeChat 1.0]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
Dakuan_ has quit [Ping timeout: 256 seconds]
senayar has joined #ruby
NivenHuH has joined #ruby
senayar has quit [Remote host closed the connection]
<shevy> kolorados ruby
mambo has joined #ruby
senayar has joined #ruby
ptrrr has quit [Quit: ptrrr]
senayar has quit [Remote host closed the connection]
paradoja has joined #ruby
sinkensabe has joined #ruby
netz has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<netz> what up. having some issue compiling mingw-w64-ruby; or rather, doing the make install part. compilation is fine.
Notte has joined #ruby
<netz> issue is /usr/lib/ruby/2.2.0/fiddle/import.rb:85:in `rescue in block in dlload': can't load advapi32 (Fiddle::DLError); this is for the i686 build
Morkel has joined #ruby
<netz> wait a minute....
senayar has joined #ruby
Sid05 has quit [Quit: Sid05]
senayar has quit [Remote host closed the connection]
ianfleeton has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
martinbmadsen has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<netz> senayar: seem to be having some connectivity issues, my friend :)
TheSuper has quit [Quit: ChatZilla 0.9.91.1 [Firefox 36.0.1/20150305021524]]
SOLDIERz_ has quit [Quit: Be back later ...]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
sngeth has quit [Ping timeout: 255 seconds]
senayar has joined #ruby
DouweM has quit [Read error: Connection reset by peer]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
tubuliferous has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
PhaseCode has joined #ruby
plashchynski has quit [Read error: Connection reset by peer]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<PhaseCode> How would you take a string "ABCDE" and turn it into ["ABC","BCD","CDE"]
funburn has quit [Quit: funburn]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<apeiros_> PhaseCode: by what logic?
<cscheib> ^^ there're a lot of ways to get there, logically
paradoja has quit [Ping timeout: 272 seconds]
tubuliferous has quit [Ping timeout: 264 seconds]
senayar has joined #ruby
<apeiros_> seems to me consecutive chars?
senayar has quit [Remote host closed the connection]
<PhaseCode> Simplest, I know you could iterate of .each on chars but is there a "better" way to do it?
<havenwood> >> "ABCDE".each_char.each_cons(3).to_a
<eval-in_> havenwood => [["A", "B", "C"], ["B", "C", "D"], ["C", "D", "E"]] (https://eval.in/300487)
<apeiros_> >> "ABCDE".chars.each_cons(3).map(&:join)
<eval-in_> apeiros_ => ["ABC", "BCD", "CDE"] (https://eval.in/300488)
<havenwood> oh, right, joined
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<apeiros_> alternatively: a = "ABCDE"; slice=3; (0..(a.length-slice)).map { |index| a[index, slice] }
<apeiros_> whoops
<kolorados> (str.size/3) .times.map {|i| ss[i..i+3]}
<apeiros_> >> a = "ABCDE"; slice=3; (0..(a.length-slice)).map { |index| a[index, slice] }
<eval-in_> apeiros_ => ["ABC", "BCD", "CDE"] (https://eval.in/300489)
piotrj has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
iheartkode has quit [Remote host closed the connection]
kohvihoor has quit [Read error: Connection reset by peer]
<PhaseCode> This is the first time I've seen each_cons
<PhaseCode> wow
senayar has joined #ruby
xenokiller has joined #ruby
senayar has quit [Remote host closed the connection]
xenokiller has quit [Read error: Connection reset by peer]
xenokiller has joined #ruby
xenokiller has quit [Remote host closed the connection]
<kolorados> (str.size/3+1)
_ixti_ is now known as ixti
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<PhaseCode> Thanks guys!
iliketur_ has joined #ruby
kohvihoor has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
ki0 has quit [Remote host closed the connection]
shadoi1 has joined #ruby
senayar has joined #ruby
xenokiller has joined #ruby
senayar has quit [Remote host closed the connection]
<netz> hrm
<kolorados> (str.size/3+2) .times.map {|i| str[i..i+2]}
Megtastique has quit []
senayar has joined #ruby
<kolorados> checked now
senayar has quit [Remote host closed the connection]
<kolorados> works good
xenokiller has quit [Client Quit]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Morkel has quit [Quit: Morkel]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
DerisiveLogic has quit [Ping timeout: 250 seconds]
<kolorados> (str.size-2) .times.map {|i| str[i..i+2]}
<kolorados> best variant
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
Sawbones has joined #ruby
cashnguns has quit [Ping timeout: 245 seconds]
hrendalf has joined #ruby
huck5 is now known as _huck5
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
hrendalf has quit [Quit: Leaving]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 252 seconds]
PaulCapestany has quit [Quit: .]
<kolorados> and similar task
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<kolorados> a= '123456789'
<kolorados> how to show [789], [456], [123]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
pork_clips has joined #ruby
PaulCapestany has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
_cake has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1.1]
senayar has quit [Remote host closed the connection]
tvw has joined #ruby
mambo has quit []
<havenwood> >> '123456789'.scan(/.{3}/).reverse
<eval-in_> havenwood => ["789", "456", "123"] (https://eval.in/300490)
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<havenwood> .map &:to_i
nfk has quit [Quit: yawn]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<havenwood> or you need to be more specific with the criteria
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
AndyBotwin has joined #ruby
AndyBotwin has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 255 seconds]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
aiguu has joined #ruby
Megtastique has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
Cadillactica has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
detail_pratique has quit [Ping timeout: 264 seconds]
jerematic has quit [Remote host closed the connection]
decoponio has joined #ruby
senayar has joined #ruby
bim has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
rbennacer has joined #ruby
iliketur_ has quit [Ping timeout: 265 seconds]
detail_pratique has joined #ruby
senayar has joined #ruby
triangles2 has joined #ruby
plashchynski has joined #ruby
senayar has quit [Remote host closed the connection]
bim has joined #ruby
wasamasa is now known as macroant
hs366 has quit [Read error: Connection reset by peer]
senayar has joined #ruby
triangles has quit [Ping timeout: 272 seconds]
senayar has quit [Remote host closed the connection]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ItSANgo has quit [Quit: Leaving...]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
<netz> is there a more developer centric channel for ruby? eg, compilation errors and such
<havenwood> netz: this is a fine channel for such, having problems?
senayar has joined #ruby
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millerti has joined #ruby
senayar has quit [Remote host closed the connection]
<havenwood> you could also ask in #ruby-lang but this channel is more populated and largely overlaps
DerisiveLogic has joined #ruby
<havenwood> if you do cross-post, just say in both chans
narcan has joined #ruby
LJT has quit [Quit: Sleeping...]
<netz> havenwood: compilation itself is fine, just the make install step is failing
<havenwood> what's the fail? os/distr?
lemur has joined #ruby
<netz> archlinux; doing mingw-w64-ruby
<havenwood> distro*
LJT has joined #ruby
<havenwood> compiling win from arch?
<havenwood> what's it failing on?
<netz> the issue is it seems that my system ruby (eg, native linux) is attempting to load advapi32 with fiddle and failing
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> oh
<netz> I had the recipe working on another machine, but I don't have access to it now XD
rorra has joined #ruby
rorra has quit [Client Quit]
rorra has joined #ruby
banister has joined #ruby
macroant is now known as wasamasa
<havenwood> it's the right place for the question but i have no answer
aswen has joined #ruby
senayar has joined #ruby
<netz> blarg.
senayar has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<PeterTs> hi there
<havenwood> hi
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<PeterTs> I’m looking for an expert on video streaming
<havenwood> PeterTs: To hire? To kidnap?
senayar has joined #ruby
<PeterTs> dunno yet, maybe both :p
senayar has quit [Remote host closed the connection]
LJT has quit [Quit: Sleeping...]
<netz> havenwood: https://clbin.com/tF10N << issue
<kolorados> arlang is good for video
<kolorados> erlang
<havenwood> arrlang, the pirate lang
<netz> lol
mikepack has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<PeterTs> arlang?
<kolorados> noobs
juanpablo__ has joined #ruby
riotjon__ has joined #ruby
LJT has joined #ruby
<havenwood> kolorados: try to not insult folks
senayar has joined #ruby
crueber has joined #ruby
senayar has quit [Remote host closed the connection]
<PeterTs> :)
<kolorados> first. try ask such questions by google
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<havenwood> PeterTs: Streaming video to a web browser? Or something else?
<PeterTs> you’re a little nervous kolorados, relax
<PeterTs> nope, streaming video from a iOS device, to a server that spread it to other iOS devices
Takle has joined #ruby
swgillespie has joined #ruby
senayar has joined #ruby
riotjone_ has quit [Ping timeout: 246 seconds]
senayar has quit [Remote host closed the connection]
<havenwood> spreads it, like a worm?
crueber has quit [Client Quit]
DerisiveLogic has quit [Ping timeout: 244 seconds]
<PeterTs> nope :)
senayar has joined #ruby
<PeterTs> not as ambitious
<PeterTs> :)
senayar has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 250 seconds]
<kolorados> i dont like noobs, they waste of time cool guys
<undeadaedra> :|
<PeterTs> so you pretend to be cool kolorados
Spami has quit [Quit: This computer has gone to sleep]
juanpablo__ has quit [Ping timeout: 252 seconds]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<vegardx> You can, you know, just ignore it if you don't feel like answering.
rorra has quit [Quit: rorra]
<kolorados> noob should spent one hour googling before asking simpe qestion
iliketur_ has joined #ruby
<undeadaedra> It’s well known, people learn best when we keep yelling at them how bad they are.
<PeterTs> I’m not a noob, but yes I confess, I’m not a dev, but is this a reason to not treat me with some kind of minimum respect? :)
<havenwood> PeterTs: So say you're uploading the videos to S3 in a streamable format. You want to start streaming them before file close?
SouL has quit [Ping timeout: 240 seconds]
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
<vegardx> People who refer to other people as "noob" generally is in that category.
<havenwood> PeterTs: If people toss out insults they'll get banned sooner or later. Ignore it.
<vegardx> In #perl the fucking main developer has as a mantra to help out "noobs".
iliketurtles has quit [Ping timeout: 246 seconds]
<vegardx> And it worked out pretty well for perl.
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<havenwood> vegardx: Matz is nice and so we are nice.
<PeterTs> havenwood: absolutely
<PeterTs> and I’d add exclusively
<netz> netz is nice too :)
startupality has joined #ruby
<PeterTs> The idea is to stream live
<undeadaedra> If we follow this philosophy, I’m not sure I want too see what #linux is like.
<undeadaedra> to*
LJT has quit [Quit: Sleeping...]
<netz> I just hang out in #archlinux :)
senayar has joined #ruby
<havenwood> vegardx: ruby has borrowed more than a few nice things from perl
<havenwood> vegardx: and perl6 borrows back ;)
<kolorados> u produce a lot of buzz
senayar has quit [Remote host closed the connection]
<vegardx> Hehe, how it should be havenwood :)
sondr3 has joined #ruby
<undeadaedra> netz: #archlinux can be unnice at some times :|
<vegardx> Arch Linux has some of the best documentation. I'm in awe of it, and regulary use it.
<havenwood> vadviktor: it has great ruby packages
senayar has joined #ruby
<vegardx> I love when you think "how is X" and the wiki says "you do X".
<havenwood> thx jhass
senayar has quit [Remote host closed the connection]
iliketur_ has quit [Client Quit]
<netz> undeadaedra: yeah, it can be, but it's sooo random and funny at times XD
<havenwood> i admire arch but only from a distance
senayar has joined #ruby
<netz> vegardx: yeah, the docs are pretty damned nice :)
PeterTs has quit [Quit: return]
<netz> and the build system for packaging is the shit
senayar has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
<vegardx> I run ubuntu (i know, i know) on the desktop, but they are even relevant there, as long as you know some Debian-fu.
PeterTs has joined #ruby
<PeterTs> I’m back
<undeadaedra> ”I know I know” :D
aswen has quit [Ping timeout: 245 seconds]
senayar has joined #ruby
<netz> blarg. I really dislike the whole debian build thingus.
<netz> too arcane, even for an arch user :)
senayar has quit [Remote host closed the connection]
<undeadaedra> urgh, building packages on debian.
<netz> PKGBUILD==simple bash scripting
<havenwood> Fedora has treated me well recently.
Sawbones has quit [Remote host closed the connection]
<vegardx> I rarely build packages, so not a big issue. But actually building packages for deb i somewhat magic. Unless you use FPM.
zorak8 has quit [Ping timeout: 245 seconds]
<vegardx> FPM is written in Ruby too, afaik.
last_staff has quit [Quit: last_staff]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<PeterTs> havenwood: I think you nailed it, do you think erlang is more appropriate than ruby for this kind of project?
Soda has joined #ruby
Sawbones has joined #ruby
<havenwood> PeterTs: If you want to serve millions of video streams at once. :P
zorak8 has joined #ruby
<PeterTs> sky’s the limit
<vegardx> Let the CDN handle that!
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
bim has quit [Remote host closed the connection]
rorra has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
bim has joined #ruby
<havenwood> #CloudFrontIsCheating
<vegardx> Too slow, the cool guys are using fastly! ;)
wicope has quit [Remote host closed the connection]
<havenwood> Next gen.
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
tier has quit [Remote host closed the connection]
<havenwood> netz: "simple bash scripting" >.>
senayar has joined #ruby
<PeterTs> do you guys have heard of the Meerkat app? In short, it’s pretty much the same project with few exceptions, but this app enables Twitter users to stream live videos to their followers
senayar has quit [Remote host closed the connection]
<havenwood> PeterTs: haven't heard of it but i'm not savy with such things
Sawbones has quit [Ping timeout: 255 seconds]
<netz> havenwood: hmm?
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
<PeterTs> ok, I’m wondering what kind of setup is the best for this kind of app, I mean server-side
<PeterTs> an erlang app on S3?
senayar has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> netz: nvm, just musing on shell obtuseness
senayar has quit [Remote host closed the connection]
<havenwood> PeterTs: prototype in Ruby
<netz> havenwood: its actually pretty sane inside PKGBUILD
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
kolorados has quit [Quit: Leaving]
<havenwood> PeterTs: if you hit a particular source of pain Erlang or Elixir might be a salve, but maybe you'll never need it
mary5030 has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
eyvyayn has joined #ruby
<PeterTs> I see
justin_pdx has quit [Quit: justin_pdx]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
bim has quit [Remote host closed the connection]
senayar has joined #ruby
<havenwood> i know of erlang/ruby shops that are quite happy with the blend
phutchins has joined #ruby
doodlehaus has joined #ruby
bim has joined #ruby
zzing has joined #ruby
OrbitalKitten has joined #ruby
sngeth has joined #ruby
Sid05 has joined #ruby
sankaber has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
einarj has quit [Remote host closed the connection]
Cat_1 has joined #ruby
lucianosousa has joined #ruby
jottr has joined #ruby
eyvyayn has left #ruby ["Goodbye!"]
phutchins has quit [Ping timeout: 246 seconds]
soulcake has quit [Quit: Quack.]
soulcake has joined #ruby
DavidDudson has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kirun has quit [Quit: Client exiting]
adriancb has joined #ruby
ramfjord has joined #ruby
bronson has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
Sawbones has joined #ruby
cashnguns has joined #ruby
startupality has joined #ruby
davidhq has joined #ruby
Notte has quit []
davidhq has quit [Client Quit]
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
mary5030 has quit [Remote host closed the connection]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
e_v_n has joined #ruby
giuseppesolinas has quit [Quit: Leaving]
avahey has quit [Quit: Connection closed for inactivity]
Soliah has quit [Quit: Soliah]
juanpaucar has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
Pupeno has joined #ruby
mike32 has joined #ruby
mary5030 has joined #ruby
juanpaucar has quit [Ping timeout: 256 seconds]
adriancb has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
OrbitalKitten has joined #ruby
sondr3 has quit [Quit: Whelp.]
reinaldob has joined #ruby
bronson has joined #ruby
senayar has quit [Remote host closed the connection]
xenokiller has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
senayar has joined #ruby
codecop has quit [Remote host closed the connection]
OrbitalKitten has quit [Client Quit]
ptrrr has joined #ruby
exadeci has joined #ruby
senayar has quit [Remote host closed the connection]
ptrrr has quit [Client Quit]
senayar has joined #ruby
marr has joined #ruby
Xiti has quit [Quit: Xiti]
bronson has quit [Ping timeout: 244 seconds]
bim has quit [Remote host closed the connection]
Sawbones has quit [Remote host closed the connection]
banister has quit [Ping timeout: 245 seconds]
SegFaultAX has quit [Excess Flood]
DerisiveLogic has joined #ruby
beginner has quit [Ping timeout: 255 seconds]
a5i has joined #ruby
SegFaultAX has joined #ruby
<a5i> How do I install rubygems on Debian box?
<havenwood> a5i: install Ruby
<havenwood> a5i: it comes with
Xiti has joined #ruby
beginner has joined #ruby
<a5i> I installed ruby with
<a5i> curl -L https://get.rvm.io | bash -s stable --rails
<havenwood> a5i: so you installed RVM with latest stable Ruby and the Rails gem
bim has joined #ruby
<havenwood> a5i: rvm use --default ruby
<a5i> oh wait
<havenwood> a5i: rvm current
<a5i> I dont think i sis the srouce comanmd
cashnguns has quit [Ping timeout: 272 seconds]
<havenwood> a5i: Huh?
<a5i> the source cmd
<havenwood> What?
robustus has quit [Ping timeout: 255 seconds]
<netz> a5i: as in, source /etc/profile ?
starless has quit [Quit: Leaving]
plashchynski has quit [Ping timeout: 245 seconds]
<a5i> vm, just need to restrat
robustus has joined #ruby
<mike32> source ./.bashrs
<mike32> source ./.bashrc
ATM_London has quit [Ping timeout: 256 seconds]
<havenwood> if you're in $HOME and the RVM source line is in ~/.bashrc
baweaver has joined #ruby
<havenwood> and you're using bash
zorak8 has quit [Ping timeout: 245 seconds]
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby
mary5030 has quit [Remote host closed the connection]
PeterTs has quit [Quit: Computer has gone to sleep]
Joufflu has quit [Read error: Connection reset by peer]
tubuliferous has joined #ruby
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
ATM_London has joined #ruby
e_v_n has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DerisiveLogic_ has joined #ruby
DerisiveLogic_ has quit [Remote host closed the connection]
DerisiveLogic has quit [Ping timeout: 265 seconds]
DerisiveLogic has joined #ruby
<netz> yeah. closest thing I know of to source in ruby is the require command
x77686d has quit [Ping timeout: 240 seconds]
senayar has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 250 seconds]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 255 seconds]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
beginner has quit [Ping timeout: 252 seconds]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
beginner has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
rajeshchawla has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
banister has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
xenokill` has joined #ruby
xenokill` has quit [Client Quit]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
xenokill` has joined #ruby
lemur has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
xenokiller has quit [Quit: Quitte]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
mike32 has quit [Ping timeout: 245 seconds]
startupality has quit [Quit: startupality]
astrobunny has joined #ruby
senayar has joined #ruby
patrick99e99 has quit [Disconnected by services]
senayar has quit [Remote host closed the connection]
rajeshchawla has joined #ruby
xenokill` has quit [Remote host closed the connection]
xenokiller has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
sankaber has joined #ruby
zzing has quit [Quit: Textual IRC Client: www.textualapp.com]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
bim has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
lucianosousa has quit [Quit: lucianosousa]
milesmatthias has joined #ruby
narcan has joined #ruby
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 246 seconds]
rajeshchawla has quit [Ping timeout: 246 seconds]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
piotrj has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
Megtastique has quit []
BTRE has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
DerisiveLogic has quit [Ping timeout: 264 seconds]
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
pentanol has joined #ruby
<pentanol> hello, how can I switch ruby version when I take error: Sidekiq 3.3.0 does not support Ruby 1.9
senayar has joined #ruby
<pentanol> I'va installed ruby 1.9.3 and 2.0
<havenwood> pentanol: how'd you install Ruby 1.9?
senayar has quit [Remote host closed the connection]
<pentanol> from aptitude
<havenwood> pentanol: something like: sudo update-alternatives --config ruby
baweaver has quit [Read error: Connection reset by peer]
senayar has joined #ruby
Musashi007 has joined #ruby
senayar has quit [Remote host closed the connection]
<pentanol> update-alternatives: error: no alternatives for ruby.
pen has quit []
<havenwood> pentanol: you installed ruby with apt-get?
<pentanol> also I did symlink by myself ln -sf /usr/bin/ruby2.0 /usr/bin/ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
<havenwood> pentanol: ah
<pentanol> havenwood yes with apt-get
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
lemur has joined #ruby
senayar_ has joined #ruby
<havenwood> pentanol: so nothing for?: update-alternatives --display ruby
senayar_ has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
piotrj has quit []
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
Wolland has joined #ruby
<havenwood> pentanol: I'm not sure why update-alternatives isn't seeing your installs. Anyways, I use chruby to switch between Rubies: https://github.com/postmodern/chruby#readme
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
<havenwood> update-alternatives usually suffices for apt packages
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
<pentanol> havenwood I've change many symlinks as https://gist.github.com/brodock/7693207 and try..
<havenwood> pentanol: 1.9 is past EoL so uninstall it
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
Sawbones has joined #ruby
DerisiveLogic has quit [Ping timeout: 264 seconds]
<pentanol> update-alternatives --display ruby
<pentanol> update-alternatives: error: no alternatives for ruby.
<pentanol> no not works
senayar has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> pentanol: os/distro?
senayar has quit [Remote host closed the connection]
<havenwood> pentanol: uninstall 1.9
ghostpl_ has quit [Remote host closed the connection]
cpt_yossarian has quit [Ping timeout: 250 seconds]
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 246 seconds]
TheRinger has joined #ruby
<pentanol> ubuntu