<KALEGEK>
wouldn't it be cool, if ruby was android native like python :)
<KALEGEK>
only in a perfect world
vyorkin has quit [Ping timeout: 250 seconds]
Wolland has joined #ruby
crazydiamond has quit [Ping timeout: 264 seconds]
<KALEGEK>
right?
majjoha has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
<pipework>
KALEGEK: Jruby emits jvm bytecode.
<pipework>
eventually
spyderman4g63 has joined #ruby
<headius>
indeed
<pipework>
KALEGEK: Go just got some cool new mobile stuff for the androids.
<KALEGEK>
i tried ruboto
<KALEGEK>
still early in it's stages
brennanMKE has quit [Remote host closed the connection]
<KALEGEK>
but likewise, ruby can run on linux natively, why not natively on android
<pipework>
headius: I haven't tried jruby on android directly without ruboto. Is ruboto required or just a nice thing to have?
<pipework>
KALEGEK: JRuby runs natively on android.
Dude007 has quit [Remote host closed the connection]
<KALEGEK>
Jruby is native ruby?
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework>
there is no 'native ruby', there's ruby implementations. MRI is the ruby most people use.
<pipework>
JRuby is Ruby on the JVM.
Wolland_ has joined #ruby
<KALEGEK>
oww
patrickod has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
<KALEGEK>
didn't know that
josephndenton has joined #ruby
Brothmars has joined #ruby
<KALEGEK>
i thought i would had to use java embedded somehow on Jruby
jamto11 has quit [Remote host closed the connection]
<Hijiri>
"linux" on the desktop and on an android device is a bit different, so something that builds for a desktop doesn't necessarily have a counterpart on android
majjoha has quit [Ping timeout: 272 seconds]
<Hijiri>
for one thing, they're different processor architectures
nkumari has joined #ruby
<KALEGEK>
yep
<Hijiri>
x86 or x86_64 versus ARM
<Hijiri>
also different standard libraries
n_blownapart has joined #ruby
<Hijiri>
and system utilities
<KALEGEK>
about time they released a unified OS
nobitanobi has quit [Remote host closed the connection]
<pipework>
However, maybe mruby has a chance.
spyderman4g63 has quit [Ping timeout: 264 seconds]
<KALEGEK>
one kernel for all :P
<pipework>
KALEGEK: Windows is trying that.
<zenspider>
what does processor have to do with it if you're running on jvm?
<Hijiri>
the only real thing they share in common, as rms would like to tell you, is the kernel
o0oo0o has joined #ruby
<pipework>
zenspider: Perhaps they're talking about non-jvm ruby on android?
<Hijiri>
and maybe the sort-of following posix
Wolland has quit [Ping timeout: 240 seconds]
rylev has quit [Remote host closed the connection]
n_blownapart has quit [Client Quit]
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has joined #ruby
<KALEGEK>
i wish ruby would be faster tho
<KALEGEK>
somehow
<pipework>
KALEGEK: JRuby is fast.
<KALEGEK>
i would love it to be aproaching c+
<KALEGEK>
:D one can only dream
nkumari has quit [Remote host closed the connection]
<KALEGEK>
like using it for building a game engine
<KALEGEK>
is one of the authors of YARD, so yeah a big guy i assume
prasselpikachu has quit [Ping timeout: 250 seconds]
luminor has joined #ruby
prasselpikachu has joined #ruby
bricker`work has quit [Quit: leaving]
bbloom has joined #ruby
klaut has quit [Remote host closed the connection]
<KALEGEK>
anybody here used barracuda?
Xiti` has joined #ruby
shanlar- has joined #ruby
AlSquirrel has joined #ruby
wallerdev has joined #ruby
synergyz has joined #ruby
davidhq_ has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Xiti` has quit [Client Quit]
blenny_ has joined #ruby
Xiti` has joined #ruby
x1337807x has joined #ruby
Xuerian_ has joined #ruby
luk3thomas has joined #ruby
boombadaroomba has quit [Remote host closed the connection]
binw_ has joined #ruby
Ulrike_Schultz has joined #ruby
Igneous_ has joined #ruby
jonathanwallace has quit [Ping timeout: 244 seconds]
az7ar_away has quit [Ping timeout: 244 seconds]
ehlovader has quit [Ping timeout: 244 seconds]
kyle___ has joined #ruby
blenny has quit [Ping timeout: 244 seconds]
minecoins has quit [Ping timeout: 244 seconds]
sarlalian has quit [Ping timeout: 244 seconds]
Jamo has quit [Ping timeout: 244 seconds]
Heartbroken has quit [Ping timeout: 244 seconds]
Xuerian has quit [Quit: No Ping reply in 180 seconds.]
kobain has quit [Ping timeout: 244 seconds]
chishiki has quit [Ping timeout: 244 seconds]
msx has quit [Ping timeout: 244 seconds]
Andriamanitra has quit [Ping timeout: 244 seconds]
DivineEntity has quit [Ping timeout: 244 seconds]
Sthebig has quit [Ping timeout: 244 seconds]
mnms_ has quit [Ping timeout: 244 seconds]
jalcine has quit [Ping timeout: 244 seconds]
jriese has quit [Ping timeout: 244 seconds]
emdub has quit [Ping timeout: 244 seconds]
shanlar has quit [Ping timeout: 244 seconds]
kyle__ has quit [Ping timeout: 244 seconds]
ArchBeOS has quit [Ping timeout: 244 seconds]
Gate has quit [Ping timeout: 244 seconds]
Igneous has quit [Ping timeout: 244 seconds]
AlSquire has quit [Ping timeout: 244 seconds]
echevemaster has quit [Ping timeout: 244 seconds]
Jake232 has quit [Ping timeout: 244 seconds]
Ulrike_Rayne has quit [Ping timeout: 244 seconds]
davidhq has quit [Ping timeout: 244 seconds]
Xiti has quit [Ping timeout: 244 seconds]
braincra- has quit [Ping timeout: 244 seconds]
tskogberg has quit [Ping timeout: 244 seconds]
synergyz_ has quit [Ping timeout: 244 seconds]
Cork has quit [Ping timeout: 244 seconds]
camt has quit [Ping timeout: 244 seconds]
ob has quit [Ping timeout: 244 seconds]
brandon_ has quit [Ping timeout: 244 seconds]
Maxdamantus has quit [Ping timeout: 244 seconds]
crome has quit [Ping timeout: 244 seconds]
shaman42_ has quit [Ping timeout: 244 seconds]
raldu has quit [Ping timeout: 244 seconds]
ereslibre has quit [Ping timeout: 244 seconds]
binw has quit [Ping timeout: 244 seconds]
DivineEn1ity has joined #ruby
emdub has joined #ruby
jriese has joined #ruby
Gate has joined #ruby
Gate has joined #ruby
Gate has quit [Changing host]
minecoins has joined #ruby
camt has joined #ruby
sarlalia1 has joined #ruby
Jamo has joined #ruby
raldu has joined #ruby
chishiki has joined #ruby
jonathanwallace has joined #ruby
ArchBeOS has joined #ruby
mnms_ has joined #ruby
Andriamanitra has joined #ruby
ehlovader has joined #ruby
crome has joined #ruby
ArchBeOS is now known as Guest95036
brandon_ has joined #ruby
Maxdamantus has joined #ruby
jackyalcine has joined #ruby
braincrash has joined #ruby
iliketurtles has quit [Ping timeout: 244 seconds]
tskogberg has joined #ruby
shaman42 has joined #ruby
ob has joined #ruby
az7ar_away has joined #ruby
kobain has joined #ruby
Sthebig has joined #ruby
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
msx has joined #ruby
echevemaster has joined #ruby
ereslibre has joined #ruby
phutchins has joined #ruby
luk3thomas has quit [Client Quit]
skolman has quit [Remote host closed the connection]
marr has quit [Ping timeout: 264 seconds]
kirloo has quit [Ping timeout: 272 seconds]
luk3thomas has joined #ruby
allcentury has joined #ruby
luminor has quit []
robustus|Off has quit [Ping timeout: 255 seconds]
Heartbroken has joined #ruby
Cork has joined #ruby
robustus|Off has joined #ruby
robustus|Off is now known as robustus
FernandoKosh has quit [Quit: Leaving.]
pen has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
unmides has joined #ruby
jottr has joined #ruby
sinequanon has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
mdev has joined #ruby
mleung has quit [Quit: mleung]
luminor has joined #ruby
sinequanon has joined #ruby
mib_mib has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davidhq_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 255 seconds]
nobitanobi has joined #ruby
sinequanon has quit [Ping timeout: 244 seconds]
Wolland has joined #ruby
Wolland_ has quit [Ping timeout: 264 seconds]
boombadaroomba has joined #ruby
charliesome has joined #ruby
boombadaroomba has quit [Remote host closed the connection]
aspiers has joined #ruby
boombadaroomba has joined #ruby
Wolland has quit [Remote host closed the connection]
camt has quit [Ping timeout: 244 seconds]
Wolland has joined #ruby
ob has quit [Ping timeout: 244 seconds]
boombadaroomba has quit [Remote host closed the connection]
francisfish has joined #ruby
aspires has quit []
<Fire-Dragon-DoL>
easiest way to remove X characters from a string? Doesn't matter where or what, I have a 70 characters string and need to remove 20 (test validating against string length)
elemenopy has joined #ruby
<elemenopy>
sup sup m8's
<KALEGEK>
.cut[0..-15] ?
drawingthesun has joined #ruby
<zenspider>
wtf is cut?
mary5030 has quit [Remote host closed the connection]
<zenspider>
god damnit... more PM spam
<KALEGEK>
slice
<KALEGEK>
sorry
Wolland has quit [Ping timeout: 250 seconds]
arescorpio has joined #ruby
nobitanobi has quit [Remote host closed the connection]
<KALEGEK>
does exactly what he requested, simple way to remove chars of a string, giving a -20 char count from the end.
jimms has quit [Remote host closed the connection]
davidhq has quit [Client Quit]
asmodlol has quit [Read error: Connection reset by peer]
unmides has quit [Ping timeout: 245 seconds]
nobitanobi has quit [Remote host closed the connection]
<zenspider>
KALEGEK: is that what you typed before?
<zenspider>
is it ever CLOSE to what you typed before?
nateberkopec has quit [Quit: Leaving...]
majjoha has quit [Ping timeout: 244 seconds]
<KALEGEK>
hey man take it easy
jamto11 has joined #ruby
<KALEGEK>
take a breath, just relax
davidhq has joined #ruby
<zenspider>
don't pull "that isn't an answer" when it wasn't your answer
<KALEGEK>
are you a teacher?
davidhq has quit [Client Quit]
<KALEGEK>
you somekind of big guy here or something?
<zenspider>
jesus you're an ass
<KALEGEK>
telling people what they shouldn't say or say
<KALEGEK>
hahahha
<KALEGEK>
i'm an ass??
<KALEGEK>
xD
<zenspider>
how about I stick to telling you when you're wrong, and you accept that instead of pretending you weren't
<KALEGEK>
have it your way man, the slice method is all he needed to know for something simple
nobitanobi has joined #ruby
rylev has joined #ruby
<KALEGEK>
that it wasn't 100 perfect by your standards (who are you anyway?) , i think he would have come to fix easely
beef-wellington has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby
jamto11 has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
cleopatra has joined #ruby
<KALEGEK>
jesus
<KALEGEK>
i hope you don't represent the ruby community boy
nobitanobi has quit [Remote host closed the connection]
<KALEGEK>
and people ask why ruby isn't cool anymore
<KALEGEK>
hahhahahha
rylev has quit [Ping timeout: 265 seconds]
iliketurtles has quit [Client Quit]
Channel6 has joined #ruby
cleopatra has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MattB2>
zenspider: only one ass here.
ob has quit [Max SendQ exceeded]
ob has joined #ruby
<zenspider>
MattB2: not true. there are plenty of asses in here.
<KALEGEK>
no humor
<MattB2>
zenspider: when you start talking to your other self, we'll know for sure
nobitanobi has joined #ruby
luckyruby has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
<KALEGEK>
i will come back in a hundred years, when i am a perfect ruby guru
<KALEGEK>
if ruby would still exist.... maybe
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cpruitt has joined #ruby
<mostlybadfly>
has anyone played around with Shoes?
<MattB2>
KALEGEK: don't be put off, every community has the odd problem child, but as a whole, Matz is nice, so we are nice :)
arkansas12 has joined #ruby
<KALEGEK>
mostly i use shoes
<KALEGEK>
MattB2: ok :)
<arkansas12>
how could we create a method that sorts arrays?
<arkansas12>
def solution nums = [] end puts solution.sort(1,2,5,9,10,15,255)
<mostlybadfly>
ah cool, it looks fun
maestrojed has joined #ruby
Brothmars has quit [Read error: Connection reset by peer]
<arkansas12>
i'm having trouble with the last part
<KALEGEK>
it has performance problems tho
Xiti` has quit [Read error: Connection reset by peer]
<KALEGEK>
not made for large scale
<mostlybadfly>
ah that is unfortunate
apeiros has quit [Ping timeout: 255 seconds]
<mostlybadfly>
i thought it would be fun to do a music player with it, but maybe it would be too much
<KALEGEK>
not stable enough for production
phutchins has quit [Ping timeout: 260 seconds]
<MattB2>
KALEGEK is right, Shoes is meant more as a learning aid
Brothmars has joined #ruby
Xeago__ has quit [Remote host closed the connection]
<mostlybadfly>
I can at least make a button that makes a ridiculous sound when pressed
<mostlybadfly>
that in itself will be good to learn :D
<MattB2>
mostlybadfly: LOL!
<mostlybadfly>
i saw this product online called the "bruh button" that just says "bruh" when you press it haha
arkansas12 has quit [Client Quit]
<KALEGEK>
Matt , you don't happen to be THE Matt of ruby right?
<mostlybadfly>
so I'm at least going to make that
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MattB2>
KALEGEK: God no, I wish!
rshetty has joined #ruby
<KALEGEK>
Matsumoto
<KALEGEK>
does he ever come here?
nonnatus has joined #ruby
arkansas12 has joined #ruby
<arkansas12>
def solution(nums) solution = nums.to_a.sort end
<arkansas12>
why is this a bad way to sort an array?
<MattB2>
KALEGEK: not that I've seen
<arkansas12>
i figured out a solution to the problem, but i'm not sure why nobody posted this answer :(
siwica has quit [Ping timeout: 250 seconds]
<KALEGEK>
because frankly what i have noticed, the more ruby code resembles the english language
renderful has joined #ruby
<KALEGEK>
the more beautifull it is recieved
<arkansas12>
y'all think that my ruby code ain't good?
mib_mib has quit [Ping timeout: 264 seconds]
<KALEGEK>
why is it not good?
<arkansas12>
ruby is meant to be like english, but it's pretty darn hard to get used to it
<arkansas12>
well i don't know, i'm just a beginner and i want to know how i can improve it... i came across the codewars site and it's a good tool i reckon you should use it too
<KALEGEK>
have you tried it in IRB?
<elemenopy>
can anyone direct me to an easy to follow guide for setting up my amazon console command ssh?
<KALEGEK>
and checking the sort array on google
<arkansas12>
yeah it works, but what about code efficiency and all that stuff?
<elemenopy>
ec2
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arkansas12>
or is that stuff all irrelevant and there is no right way to program?
<arkansas12>
i hate being a beginner it sucks
<KALEGEK>
there is no right way
<KALEGEK>
the right way is the way that is the right way for you
<KALEGEK>
get it
cpruitt has quit [Quit: cpruitt]
<KALEGEK>
everybody has their own style
<MattB2>
The thing with Ruby is that because it's expressive, there are many ways to do the same thing
<arkansas12>
well yeah, but i want to be politically correct with people and computers
Xiti has joined #ruby
<MattB2>
There are tradeoffs between readable code, fast code and compact code
<KALEGEK>
you already know that do and end is the same as { } right?
<arkansas12>
yeah\
<KALEGEK>
{} is used as one liners, do and end for more lines
<arkansas12>
i can make it into a single line like this right?
<MattB2>
do end for multiline blocks is the general rule
<elemenopy>
answered my own question this is from the EC2 amazon aws documentation : ssh -i my-key-pair.pem ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com
<KALEGEK>
likewise there are "rules" , rules as in, a commen way for ruby programmers to write code
<KALEGEK>
as in, easier for other ruby programmers to understand
<KALEGEK>
a common ground
<MattB2>
arkansas12: also, you don't need solution = in there
renderful has quit [Ping timeout: 255 seconds]
<arkansas12>
oh
<KALEGEK>
but it is not a must
<arkansas12>
this is confusing
<KALEGEK>
it's simple
<MattB2>
arkansas12: you're setting a variable that isn't used outside the def
<arkansas12>
oh whoops i confused def with do
<KALEGEK>
def i always like to think of it as define
<KALEGEK>
define method
nobitanobi has quit [Remote host closed the connection]
amclain has joined #ruby
<arkansas12>
do is for iterating stuff right?
<MattB2>
do-end wrap a block
<MattB2>
as does { }
<elemenopy>
you can use it to iterate
<MattB2>
but {} is also a hash
<elemenopy>
like using object.each or object.each_with_index
<elemenopy>
then use do
<KALEGEK>
@do_this = lambda.new do puts "hey" end
<KALEGEK>
2.times do @do_this.call end
Brothmars has quit [Ping timeout: 264 seconds]
<MattB2>
KALEGEK: on one liners, odiomatically you use {} to wrap the block, not do end
<KALEGEK>
that does 2x puts "hey"
vyorkin has joined #ruby
<KALEGEK>
yeah , it is for this chat a bit confusing because otherwise i have to press enter all the time
<arkansas12>
what's a fun project in ruby for a beginner?
<MattB2>
I know, but you can use ; to indicate new statements
<mr_rogerz_>
yeah I am in the process of interviewing right now as well
Cache_Money has joined #ruby
optiz0r has quit [Ping timeout: 250 seconds]
<nonnatus>
Hope that helps you out a bit, then.
<nonnatus>
And good luck
kyle___ has quit [Disconnected by services]
<KALEGEK>
do you have to be good ath math to program in ruby?
<mr_rogerz_>
you too
chrishough has joined #ruby
chrishough has quit [Client Quit]
<KALEGEK>
in the long run
Wolland has quit [Ping timeout: 265 seconds]
spyderman4g63 has quit [Ping timeout: 265 seconds]
parabolize has joined #ruby
optiz0r has joined #ruby
<mr_rogerz_>
being good at math helps, but not a prerequisite. I say being logical and breaking things down into small manageable tasks is what I find admirable in some of the people I've had the pleasure of working with.
<KALEGEK>
cool
dkb20k has joined #ruby
<KALEGEK>
the more abstracted a language gets from the computer , the less calculation it will have
<KALEGEK>
i think
claw__ has joined #ruby
maestrojed has quit [Ping timeout: 245 seconds]
claw_ has quit [Ping timeout: 265 seconds]
jimms has joined #ruby
<KALEGEK>
because computer(calculator) <-> person(language)
<mr_rogerz_>
what language were you coming from before?
<KALEGEK>
html
ybit3 has quit [Ping timeout: 272 seconds]
<KALEGEK>
xD
bmurt has joined #ruby
<KALEGEK>
Like you don't see Tony Stark asking YARVIS for a calculation, it just does it
majjoha has joined #ruby
ybit3 has joined #ruby
majjoha has quit [Ping timeout: 240 seconds]
maestrojed has joined #ruby
gsd has joined #ruby
it0a has joined #ruby
nateberkopec has joined #ruby
tyll_ has joined #ruby
nateberkopec has quit [Client Quit]
coderhs has quit [Ping timeout: 240 seconds]
Joufflu has joined #ruby
tyll has quit [Ping timeout: 244 seconds]
Xiti has quit [Quit: Leaving]
Xiti has joined #ruby
goshdarnyou has joined #ruby
bigmac has quit [Ping timeout: 240 seconds]
ikanobori_ has quit [Ping timeout: 265 seconds]
<mostlybadfly>
lol
maestrojed has quit [Ping timeout: 256 seconds]
jrunning_ has quit [Ping timeout: 244 seconds]
neersighted has quit [Ping timeout: 265 seconds]
Lewix has quit [Remote host closed the connection]
ikanobori_ has joined #ruby
Xiti has quit [Quit: Leaving]
daxroc has quit [Ping timeout: 265 seconds]
ceej has quit [Ping timeout: 244 seconds]
Xiti has joined #ruby
skmp has quit [Ping timeout: 265 seconds]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Soda has joined #ruby
bjeanes has quit [Ping timeout: 244 seconds]
luminor has quit []
Guest67531 has joined #ruby
skmp has joined #ruby
kapowaz has quit [Ping timeout: 265 seconds]
bluehavana has quit [Ping timeout: 265 seconds]
n1ftyn8 has quit [Ping timeout: 265 seconds]
luminor has joined #ruby
skolman_ has joined #ruby
kaplejon has quit [Ping timeout: 265 seconds]
bjeanes has joined #ruby
kapowaz_ has joined #ruby
beef-wellington has quit [Ping timeout: 260 seconds]
ckrailo has quit [Ping timeout: 244 seconds]
luminor has quit [Read error: Connection reset by peer]
luminor has joined #ruby
n1ftyn8 has joined #ruby
bluOxigen has joined #ruby
bluehavana has joined #ruby
im0b has quit [Ping timeout: 265 seconds]
ceej has joined #ruby
ckrailo has joined #ruby
maestrojed has joined #ruby
kaplejon_ has joined #ruby
xanderwebs has quit [Quit: Connection closed for inactivity]
daxroc_ has joined #ruby
jamto11 has joined #ruby
arrubin has quit [Ping timeout: 244 seconds]
dnyy has quit [Ping timeout: 265 seconds]
im0b_ has joined #ruby
casual has quit [Ping timeout: 244 seconds]
arrubin has joined #ruby
dnyy has joined #ruby
elemenopy has quit [Remote host closed the connection]
duncannz has quit [Remote host closed the connection]
<KALEGEK>
I'll call me homey Azmat, we'll fix this code right here.
troyready has quit [Ping timeout: 256 seconds]
Channel6 has quit [Quit: Leaving]
rkalfane has joined #ruby
<KALEGEK>
ok one question
<KALEGEK>
is it possible for a user, when entering text
<KALEGEK>
to escape out of string interpolation and exec system commands?
jamto11 has joined #ruby
Wolland has quit [Ping timeout: 244 seconds]
<KALEGEK>
when parsing his input as a string, i don't think so right?
<KALEGEK>
would be a major security flaw
duncannz has joined #ruby
Spami has joined #ruby
bmurt has quit []
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
takle has joined #ruby
atomical has joined #ruby
startupality has joined #ruby
takle has quit [Ping timeout: 264 seconds]
nonks has quit [Ping timeout: 250 seconds]
<nonnatus>
There have been vulnerabilities.
ixti has quit [Ping timeout: 272 seconds]
<nonnatus>
But they get patched, and so on.
<KALEGEK>
that can't be!
<KALEGEK>
majow error then
<KALEGEK>
major
boombadaroomba has joined #ruby
francisfish has joined #ruby
pen has quit []
<KALEGEK>
no way to turn things of in ruby , let's say system commands?
<KALEGEK>
like system() and ``
Rapier- has joined #ruby
Rapier- has quit [Client Quit]
<nonnatus>
Well, look at SQL injection; these things are always a possibility, and hard (or impossible) to get perfect.
<KALEGEK>
like // EXCLUSE( system(), `` )
<nonnatus>
I wouldn't really know, honestly.
Rapier- has joined #ruby
<KALEGEK>
like a blacklist of methods or kernel methods?
albs22 has joined #ruby
AlSquirrel has quit [Quit: This computer has gone to sleep]
<KALEGEK>
hmz
<nonnatus>
There must be, or sites like Code School would be at a massive risk.
<KALEGEK>
yep
rylev has joined #ruby
eka has joined #ruby
<KALEGEK>
10^100.times do system(kernel.reboot) end
boombadaroomba has quit [Ping timeout: 256 seconds]
startupality has quit [Quit: startupality]
<KALEGEK>
reboot into oblivion
maestrojed has quit [Ping timeout: 258 seconds]
<KALEGEK>
like the useless device
francisfish has quit [Ping timeout: 264 seconds]
coderhs has joined #ruby
Hobogrammer has quit [Ping timeout: 256 seconds]
<KALEGEK>
giving your pc a proper rumble
<KALEGEK>
what would a pc be without programming?
mleung has joined #ruby
flyhigh has joined #ruby
Jake232 has joined #ruby
rshetty has joined #ruby
lampd1 has joined #ruby
rylev has quit [Ping timeout: 265 seconds]
Lewix has joined #ruby
majjoha has joined #ruby
<KALEGEK>
an abicus?
nahtnam has joined #ruby
davedev24_ has quit []
<nahtnam>
Hey! Im using httparty to make some api calls. I keep getting an error saying: https://gist.github.com/nahtnam/9144c4bb6cedf4100f74 so I want to check if the URL is correct (it is dynamic). I have some code that looks like this: self.class.get("/orders", {amount: amount}.merge(options)) How can I see the url that its fetching from?
melik has quit [Quit: (null)]
<nahtnam>
Any mods here? Looks like there is a bot PMing people.
majjoha has quit [Ping timeout: 258 seconds]
radic has quit [Disconnected by services]
radic_ has joined #ruby
luckyruby has quit [Quit: Leaving...]
xiq_ has quit [Read error: Connection reset by peer]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
mtakkman has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
Wolland_ has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Wolland has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
takle has joined #ruby
jimms has quit []
patrick99e99 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
poweratom_ has quit [Quit: Be back later ...]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Wolland has quit [Ping timeout: 255 seconds]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
takle has quit [Ping timeout: 256 seconds]
Linell has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
x1337807x has joined #ruby
spyderman4g63 has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
ChoiKyuSang has quit [Quit: Going offline, see ya! ( www.adiirc.com]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
ChoiKyuSang has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
skolman_ has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
nonks has quit [Ping timeout: 250 seconds]
spyderman4g63 has joined #ruby
josephndenton has quit [Ping timeout: 255 seconds]
rshetty has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
sinequanon has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
arup_r has joined #ruby
rshetty has joined #ruby
gaganjyot has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Darryl_ has joined #ruby
TeresaP has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<TeresaP>
'evening
Abhijit has joined #ruby
spyderman4g63 has joined #ruby
rylev has joined #ruby
mikepack has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<nahtnam>
TeresaP: Evening
spyderman4g63 has joined #ruby
noop has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<TeresaP>
This is the correct syntax for a recursive copy of a folder and its contents to a new location correct? FileUtils.cp_r(File.join("folder_name", '.'), dest)
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
kiki_lamb has quit [Quit: leaving]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
kiki_lamb has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
rylev has quit [Ping timeout: 256 seconds]
spyderman4g63 has quit [Remote host closed the connection]
majjoha has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
_maes_ has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
tlarevo has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
viet_power has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
majjoha has quit [Ping timeout: 245 seconds]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Abhijit_ has joined #ruby
rshetty has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
dseitz has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
<TeresaP>
Everyone must be afk ;)
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
marcdel has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
nonks has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Abhijit has quit [Ping timeout: 245 seconds]
spyderman4g63 has quit [Remote host closed the connection]
Gadgetoid has quit [Ping timeout: 245 seconds]
spyderman4g63 has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
mleung has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
dseitz has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Cache_Money has joined #ruby
marcdel has quit [Ping timeout: 258 seconds]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
marcdel has joined #ruby
spyderman4g63 has joined #ruby
byprdct has quit []
byprdct has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Dreamer3 has joined #ruby
Gadgetoid has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
mtakkman has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Spami_ has joined #ruby
nonks has quit [Ping timeout: 250 seconds]
Spami has quit [Read error: Connection reset by peer]
Dreamer3__ has quit [Read error: Connection reset by peer]
spyderman4g63 has quit [Remote host closed the connection]
bbloom_ has joined #ruby
BadQuanta has quit [Ping timeout: 265 seconds]
spyderman4g63 has joined #ruby
beneggett has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
bbloom has quit [Ping timeout: 265 seconds]
mtakkman has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
BadQuanta has joined #ruby
spyderman4g63 has joined #ruby
mib_mib has quit [Ping timeout: 256 seconds]
spyderman4g63 has quit [Remote host closed the connection]
omosoj has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
razieliyo has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
arescorpio has quit [Excess Flood]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
skolman_ has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
<rpag>
TeresaP, i think so yeah, did you run into an error?
<TeresaP>
No error, which makes it hard to debug :)
<TeresaP>
rpag, just no files are copied
spyderman4g63 has quit [Remote host closed the connection]
<rpag>
i think it is the same as 'cp -R'.
spyderman4g63 has joined #ruby
<nahtnam>
Maybe it has to do with perms? IDK
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Linell has quit [Quit: Lost terminal]
<TeresaP>
You'd think it would give me some sort of error
spyderman4g63 has quit [Remote host closed the connection]
omosoj has quit [Ping timeout: 245 seconds]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
omosoj has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
kirloo has joined #ruby
<TeresaP>
thanks rpag, going to try on the command line to simulate it
<rpag>
seems to work here
spyderman4g63 has joined #ruby
<rpag>
just returns nil on success
spyderman4g63 has quit [Remote host closed the connection]
rshetty has joined #ruby
coderhs has quit [Ping timeout: 260 seconds]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
mleung has quit [Quit: mleung]
spyderman4g63 has joined #ruby
jwang__ has quit [Ping timeout: 255 seconds]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
unmides has quit [Ping timeout: 255 seconds]
jwang__ has joined #ruby
vyorkin has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
flyhigh has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
<TeresaP>
Alright I had the wrong dest location -_-
spyderman4g63 has joined #ruby
D9 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<TeresaP>
But according to the documentation I shouldn't have to do dest/folder_name in order to keep the folder structure the same. I hope the Ruby version works correctly.
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
iwishiwerearobot has joined #ruby
spyderman4g63 has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
spyderman4g63 has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
spyderman4g63 has joined #ruby
yfeldblu_ has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
vyorkin has quit [Ping timeout: 255 seconds]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
omosoj has quit [Ping timeout: 240 seconds]
spyderman4g63 has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 272 seconds]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
MrDoctor has joined #ruby
iwishiwerearobot has quit [Ping timeout: 260 seconds]
spyderman4g63 has joined #ruby
MrDoctor2 has quit [Ping timeout: 255 seconds]
kaspergrubbe has quit [Ping timeout: 244 seconds]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
rylev has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<programmerq>
let me try running it locally and see what it does. one moment
<nahtnam>
programmerq: Do you want me to push the whole gem to github? You have to have straight running in the background. It may take a while to setup
<programmerq>
nahtnam: actually, another thing you could do
<programmerq>
puts order
<programmerq>
wait
<programmerq>
that might work... I might be getting my languages mixed up.
<programmerq>
see what the full context of order is
<nahtnam>
programmerq: It returns: {"status":0,"amount":1,"address":"1AEVTPRf6ikNLC6vVkymJPgka84ybKt5Df","tid":null,"id":20}
coderhs has joined #ruby
<programmerq>
straight.create isn't returning a normal hash?
govg has joined #ruby
<programmerq>
sorry, it's late so I could be way off on anything I say. :)
Lucky__ has joined #ruby
chinaman_ has joined #ruby
farkdiber has joined #ruby
melik has quit [Quit: (null)]
<nahtnam>
programmerq: Ehhh, what do you mean by "straight.create isn't returning a normal hash?"
<programmerq>
what is: puts order.class
<nahtnam>
programmerq: `HTTParty::Response`
<programmerq>
aha
<programmerq>
okay-- that looks like it is a json string
<nahtnam>
I believe it is
<programmerq>
so you'll probably want to require 'json'
kireevco has joined #ruby
<programmerq>
JSON.parse(order)
<programmerq>
and then you should be able to do [:id] on that result
<nahtnam>
programmerq: Where? In the test or the lib?
<nahtnam>
Test, right?
<programmerq>
up to you. :)
<programmerq>
I don't know the rest of the context of your project, so an argument could be had for either side.
<programmerq>
if you want that data structure to be readily available to the rest of teh lib, then put it in the lib
<programmerq>
if you only care that the lib passes on json strings, and you want to test that it does the right thing, then you can do it in the test.
tercenya has quit [Read error: Connection reset by peer]
<programmerq>
honestly, I'd recommend mocking out your requests to the staright-server for testing
<programmerq>
I'd say get it working in the test for now, at least for academic purposes
* programmerq
shrugs
<programmerq>
you can always refactor later
<nahtnam>
Kk
<nahtnam>
Thanks for your help!
<programmerq>
happy to oblige!
jottr has joined #ruby
<nahtnam>
programmerq: One more question. Would it be possible to make it `puts order.id` instead of `puts order['id']`?
<chinaman_>
what would is bsd better than debian?
<chinaman_>
i need an os that's similar to mac that i can use rails and rspec
<nahtnam>
chinaman_: Ubuntu?
<nahtnam>
Thats what I use
<programmerq>
chinaman_: if you want similar to osx without osx, look into the darwin project. it is the same kernel.
<chinaman_>
thank you so much!
<programmerq>
nahtnam: there might be some lib that can do it. the name hashie mash comes to mind, but I could be misremembering.
<nahtnam>
programmerq: Kk, ill look into hashie
<nahtnam>
Thanks
<programmerq>
chinaman_: I'd also recommend looking around for some pay-by-hour VPS provider that virtualizes OSX. I don't have any recommendations, but that would probably be valuable.
jottr has quit [Ping timeout: 272 seconds]
<chinaman_>
i think it'd be cheaper to buy a computer lol, but that's a cool suggestion
<programmerq>
even if you have your CI system fire it up and kill it nightly for a single run, it'd probably be better than not.
<chinaman_>
what is the best distro of darwin?
<chinaman_>
puredarwin? or something else
<programmerq>
chinaman_: I've never really used any
<programmerq>
I just know it is out there.
<chinaman_>
!ops
n1ftyn8 has quit [Ping timeout: 244 seconds]
melik has joined #ruby
<programmerq>
I am an ops guy, but we generally don't run darwin in prod, so that's why I haven't touched it. :)
<chinaman_>
kir loo is pming me porn
ionelmc has quit [Ping timeout: 265 seconds]
ZucchiniZe has quit [Ping timeout: 244 seconds]
<programmerq>
yeah, I got one of those too. :(
<Hanmac>
shevy: !!! ;P
<Hanmac>
banister: spambot kirloo
electrical has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby
n1ftyn8 has joined #ruby
ZucchiniZe has joined #ruby
Guest67531 has quit [Ping timeout: 265 seconds]
crazydiamond has joined #ruby
electrical has joined #ruby
ionelmc has joined #ruby
nobitanobi has joined #ruby
Soda has quit [Remote host closed the connection]
im0b_ has quit [Ping timeout: 265 seconds]
sinequanon has quit [Remote host closed the connection]
neersighted has joined #ruby
sinequanon has joined #ruby
Rapier- has quit [Ping timeout: 265 seconds]
renderful has joined #ruby
interlude has joined #ruby
rshetty has quit [Remote host closed the connection]
Morkel has joined #ruby
im0b_ has joined #ruby
ionelmc has quit [Ping timeout: 260 seconds]
sinequanon has quit [Ping timeout: 265 seconds]
jamto11 has quit [Remote host closed the connection]
patrickod has left #ruby [#ruby]
renderful has quit [Ping timeout: 264 seconds]
Guest49470 has quit [Ping timeout: 265 seconds]
<chinaman_>
puredarwin hasn't been updated since 2012
<chinaman_>
ubuntu is the best bet for rails devs, right?
albs22 has quit [Ping timeout: 240 seconds]
oleo has quit [Read error: Connection reset by peer]
frankS2 has quit [Ping timeout: 265 seconds]
oleo has joined #ruby
ionelmc has joined #ruby
Guest92116 is now known as lnong
tarcwynne__ has quit [Ping timeout: 265 seconds]
frankS2 has joined #ruby
tarcwynne__ has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
<Hanmac>
huch, no 71.000 lines total, only ~40.000 lines of code
<shevy>
who stole the 31k
<shevy>
was it you epitron
abuzze has joined #ruby
<Hanmac>
;PP
gaganjyot has joined #ruby
klaut has joined #ruby
thesheff17 has quit [Ping timeout: 265 seconds]
dseitz has quit [Quit: night]
ionelmc has joined #ruby
thesheff17 has joined #ruby
* epitron
crams all the whitespace under his bed
<epitron>
i didn't take nuthin
abuzze has quit [Ping timeout: 265 seconds]
<epitron>
do you guys have any idea why it takes 40,000 lines of bindings to connect to a GUI library?
<epitron>
i guess you would, hanmac!
govg has joined #ruby
tlarevo_ has joined #ruby
electrical has quit [Ping timeout: 265 seconds]
tlarevo_ has quit [Remote host closed the connection]
farkdiber has quit [Quit: Leaving...]
melik has joined #ruby
<Hanmac>
epitron: because wx is big and has many different widgets? also notice that he code lines are already reduced ... if i would explode all macros, it would be more than 3x-6x times that much lines
<epitron>
so there's no patterns to the wx widgets?
electrical has joined #ruby
<Hanmac>
epitron: hm what do you mean with "pattern" in that context?
tlarevo has quit [Ping timeout: 250 seconds]
thesheff17 has quit [Ping timeout: 265 seconds]
<shevy>
epitron Hanmac likes to write lines in C++
<shevy>
C++ is like XML in this context
<shevy>
the more you write
<shevy>
the better
melik has quit [Client Quit]
<epitron>
dear sweet jesus.. ruby-gtk(2,3) are each 69,000 lines
<epitron>
and ruby-gnome2... 115,000!
<shevy>
YAY!
<epitron>
i had no idea these things were so complex
thesheff17 has joined #ruby
<epitron>
i thought the mapping was simpler
Spami has quit [Quit: This computer has gone to sleep]
<epitron>
just gtk2 is 38kloc
<Hanmac>
epitron: part of my code in the binding is about to prevent ruby from crashing ... like if you store a widget in a variable, then destroy the widget, and then call a function it does not cause a segfault
<epitron>
ouch
<Hanmac>
old wxRuby doesnt have a protection like that
amclain has quit [Quit: Leaving]
<epitron>
lol.. pygtk is 2,000 lines of C, 10,000 lines of python, and 180,000 lines of XML!!!!
Morkel has quit [Quit: Morkel]
TeresaP has quit [Ping timeout: 246 seconds]
<epitron>
does FFI tackle those weird problems, like ruby objects holding onto freed pointers?
jdj_dk has joined #ruby
drawingthesun has quit [Ping timeout: 256 seconds]
<shevy>
wtf
<shevy>
180.000 lines of XML
<shevy>
who comes up with such madness
<shevy>
why has the world gone crazy
sinequanon has quit []
luminor has joined #ruby
vyorkin has joined #ruby
<Hanmac>
epitron: i did a connection between the C++ object and the ruby object ... which cause that the ruby object is forced to stay alive and does not get freed from the GC as long as the c++ object lives ... thats what could cause a crash in wxRuby
<epitron>
mmm... okay...
<epitron>
so can FFI tell you if a C++ object still lives? :)
<epitron>
or, i guess, can it tell the GC? :)
<Hanmac>
hm i dont think so that it can be done that nicely ...
vyorkin has quit [Ping timeout: 265 seconds]
<Hanmac>
epitron: i also added some nice auto "convert" stuff ... like WX::Color.new(255,0,0) == "red" #=> true
<epitron>
that's handy!
nfk has joined #ruby
lemur has joined #ruby
Guest12958 is now known as _chs_
<shevy>
I guess I can not do this:
<shevy>
method 'some content' { kick_cat: true }
<shevy>
right?
<shevy>
I need ()
<shevy>
if that is the case then that sux :(
<shevy>
do/end is 3 chars longer
psy_ has quit [Remote host closed the connection]
melik has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
ptrrr has joined #ruby
tkuchiki has joined #ruby
mtakkman has quit [Remote host closed the connection]
despai has quit [Quit: This computer has gone to sleep]
cantonic has quit [Ping timeout: 260 seconds]
dkb20k_ has joined #ruby
desp has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
Cache_Money has quit [Quit: Cache_Money]
dkb20k has quit [Ping timeout: 258 seconds]
max96at|off is now known as max96at
desp has quit [Client Quit]
tkuchiki has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
SethDusek5 has left #ruby [#ruby]
takle has quit [Remote host closed the connection]
jdj_dk has joined #ruby
jwang__ has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 265 seconds]
govg has quit [Quit: leaving]
timonv_ has quit [Ping timeout: 256 seconds]
shiru has joined #ruby
duncannz has quit [Ping timeout: 244 seconds]
pasties has quit [Ping timeout: 265 seconds]
ForeverRekt has joined #ruby
shiru has quit [Remote host closed the connection]
<mostlybadfly>
Haaaaaaay
robbyoconnor has joined #ruby
Alina-malina has quit [Ping timeout: 264 seconds]
Alina-malina has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
warlock has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
pasties has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
warlock is now known as warlock_handler
josephndenton has joined #ruby
jwang__ has joined #ruby
jdj_dk has quit [Remote host closed the connection]
yfeldblum has joined #ruby
<ForeverRekt>
i recently got around learning the basics of ruby
elaptics is now known as elaptics`away
<ForeverRekt>
but i still cant figure out what to use when solving problems... are there any good books that atleast give you an idea on how to do things
D9 has quit [Quit: Leaving]
zwer has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 272 seconds]
zwer has joined #ruby
<shevy>
ForeverRekt one thing that works very well is to stay as simple as possible
rpag has quit [Quit: Leaving]
<shevy>
ForeverRekt also try to write code that can be modularized, in other words - use many small methods
gccostabr has quit [Quit: ZZZzzz…]
kaspertidemann has joined #ruby
josephndenton has quit [Ping timeout: 265 seconds]
<shevy>
ForeverRekt it is difficult to detail how to proceed in order to solve common problems - it is much easier if you have specific problems and need to solve them; and then describe precisely what you need to do
<ForeverRekt>
right
mib_mib has joined #ruby
mib_mib has quit [Ping timeout: 250 seconds]
takle has joined #ruby
desp has joined #ruby
desp has quit [Client Quit]
desp has joined #ruby
Wolland has quit [Remote host closed the connection]
iwishiwerearobot has joined #ruby
Wolland has joined #ruby
jdj_dk has joined #ruby
jzinedine has joined #ruby
Wolland has quit [Ping timeout: 255 seconds]
iwishiwerearobot has quit [Ping timeout: 260 seconds]
jleishman has joined #ruby
melik has quit [Quit: (null)]
anaeem___ has quit [Remote host closed the connection]
leitz has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
moritzs has quit [Remote host closed the connection]
Dude007 has joined #ruby
mtakkman has joined #ruby
anaeem1_ has joined #ruby
m8 has joined #ruby
mib_mib has joined #ruby
cirn0 has quit [Remote host closed the connection]
jleishman has quit [Quit: Be back later ...]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
mib_mib has quit [Ping timeout: 250 seconds]
<warlock_handler>
exit
spyderman4g63 has joined #ruby
warlock_handler has quit [Quit: Leaving]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<Hanmac>
apeiros: spyderman4g63 is having "Remote host closed the connection" problems
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
Scotteh has joined #ruby
spyderman4g63 has joined #ruby
yfeldblu_ has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
hamakn has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
ctp has joined #ruby
spyderman4g63 has joined #ruby
clauswitt has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
minecoins has quit [Ping timeout: 244 seconds]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
clauswitt has quit [Max SendQ exceeded]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
ndrei has joined #ruby
ForeverRekt has quit [Remote host closed the connection]
clauswitt has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
mikepack has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
jdj_dk has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Jackneill has joined #ruby
minecoins has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
mikepack has quit [Ping timeout: 255 seconds]
spyderman4g63 has quit [Remote host closed the connection]
ForeverRekt has joined #ruby
<ForeverRekt>
thanks alot
spyderman4g63 has joined #ruby
Xeago has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
rodfersou has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Xeago_ has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
kirun has joined #ruby
spyderman4g63 has joined #ruby
lkba has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
gaganjyot has quit [Ping timeout: 255 seconds]
spyderman4g63 has joined #ruby
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spyderman4g63 has quit [Remote host closed the connection]
clauswitt has joined #ruby
spyderman4g63 has joined #ruby
rkalfane has joined #ruby
mtakkman has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
spyderman4g63 has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 240 seconds]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
desp has quit [Quit: This computer has gone to sleep]
desp has joined #ruby
desp is now known as despai
Scotteh_ has joined #ruby
Scotteh has quit [Ping timeout: 255 seconds]
startupality has joined #ruby
olivier_bK has joined #ruby
timonv_ has joined #ruby
takle has quit [Remote host closed the connection]
BlackGear has joined #ruby
quimrstorres has joined #ruby
blueOxigen has quit [Ping timeout: 244 seconds]
rylev has quit [Remote host closed the connection]
boombadaroomba has joined #ruby
Joufflu_ has quit [Ping timeout: 265 seconds]
Soda has joined #ruby
anu has joined #ruby
anu is now known as Guest53633
fgo has joined #ruby
quimrstorres has quit [Client Quit]
danijoo_ has joined #ruby
gaganjyot has joined #ruby
<leitz>
Can a class have a method and an attribute with the same name?
boombadaroomba has quit [Ping timeout: 244 seconds]
<leitz>
So far my program is working, but I'm not sure it's doing what I think it is.
<jhass>
leitz: an "attribute" is a method that returns the instance variable of the same name
<jhass>
att_reader :foo is merely a shortcut to writing def foo; @foo; end;
danijoo has quit [Ping timeout: 250 seconds]
<jhass>
attr_writer :foo is merely a shortcut to writing def foo=(v); @foo = v; end;
fgo has quit [Ping timeout: 264 seconds]
<jhass>
attr_accessor :foo is merely a shortcut to writing attr_reader :foo; attr_writer :foo;
<leitz>
jhass, thanks. I'm a bit slow on this.
kireevco has joined #ruby
<leitz>
I only need to actually write the def blocks if the method is more complex than "@foo = v",.
luk3thomas has joined #ruby
<jhass>
yeah
dkb20k_ is now known as dkb20k
ndrei has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
ForeverRekt has quit []
timonv_ has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 258 seconds]
kireevco has quit [Ping timeout: 265 seconds]
gaganjyot has quit [Remote host closed the connection]
majjoha has quit [Ping timeout: 264 seconds]
neoxquick has joined #ruby
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
Guest53633 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1_ has quit [Remote host closed the connection]
cantonic has joined #ruby
kaspertidemann has quit []
mib_mib has joined #ruby
rbrs has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
dumdedum has joined #ruby
mtakkman has joined #ruby
<shevy>
leitz the attr* are just so that we can be lazy
luk3thomas has quit [Quit: luk3thomas]
cantonic has quit [Ping timeout: 256 seconds]
<zenspider>
there is/was also performance optimizations for using them instead of rolling your own
mib_mib has quit [Ping timeout: 258 seconds]
Soda has quit [Remote host closed the connection]
<zenspider>
leitz: the catch is that while @var -> var, @var = 42 -> self.var = 42
<zenspider>
otherwise, you're assigning to a local variable, not calling the setter
alexherbo2 has joined #ruby
marr has joined #ruby
luk3thomas has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
fgo has joined #ruby
VanillaGoat_ has joined #ruby
Xeago has joined #ruby
<leitz>
zenspider, the coffee must not have kicked in yet. I'm not understanding.
Xeago_ has joined #ruby
<leitz>
If I use @var, that's using the local var (self.var?) but if I use var then it's using the getter/setter?
<leitz>
I hit that a few minutes ago. Didn't understand why removing the @ fixed it.
yfeldblum has quit [Ping timeout: 245 seconds]
<apeiros>
leitz: @var is not a local variable
<apeiros>
@var is always an instance variable
<apeiros>
var without @ can be either a method call (self.var()), or a local variable
<apeiros>
but `var = …` is never a method call (it's never `self.var=(…)`), it is always assigning to the local variable `var`
VanillaGoat__ has quit [Ping timeout: 255 seconds]
panini has quit [Quit: Leaving]
josephndenton has joined #ruby
dumdedum has quit [Ping timeout: 244 seconds]
Xeago has quit [Ping timeout: 245 seconds]
<apeiros>
re: "var is either local variable or method call" - local variable takes precedence. so if there's both a local variable `var` and a method `var`, writing `var` is always local variable. if you want to call the method instead, you must be explicit. either by using `self.var` or `var()`
josephndenton has quit [Ping timeout: 255 seconds]
<leitz>
Lines 5, 33-41, and 43-55.
moritzs has joined #ruby
renderful has joined #ruby
<leitz>
The issue is "upp" is a string attribute and a method
Soda has joined #ruby
<leitz>
The string upp is derived (lines 33-41) and called (43-55)
aspiers has quit [Ping timeout: 265 seconds]
Abhijit has quit [Remote host closed the connection]
vyorkin has quit [Ping timeout: 256 seconds]
poweratom_ has quit [Ping timeout: 240 seconds]
renderful has quit [Ping timeout: 258 seconds]
timonv_ has joined #ruby
MrDoctor has joined #ruby
<shevy>
why do we not have a Bool-ean class?
<shevy>
we have FalseClass and TrueClass
<apeiros>
leitz: there is no "attribute and method"
<apeiros>
attributes *are* methods
<apeiros>
so if you use attr_* to define an `upp` method, and later define an `upp` method, same rules apply as to all other methods - last definition of the method wins.
mtakkman has quit [Read error: Connection reset by peer]
rylev has joined #ruby
iwishiwerearobot has joined #ruby
mtakkman has joined #ruby
krz has joined #ruby
patrick99e99 has joined #ruby
<leitz>
Well, aperios, removing upp from the attr_accessor and initialize lets the tests run.
<apeiros>
my name isn't aperios.
<shevy>
lol
<shevy>
it happens so often
<shevy>
leitz learn to spell the name of apieros properly man
<apeiros>
yes. I want script plugins back. to can this answer.
<apeiros>
shevy: *aperiros
<shevy>
hehe
<jhass>
let's just call him ape
<apeiros>
jhass: that's bannable offense :-p
<shevy>
bananable offense?
<jhass>
mmmh, bananas
iwishiwerearobot has quit [Ping timeout: 260 seconds]
<leitz>
Quit monkeying around and code...
spastorino has joined #ruby
<apeiros>
no
<shevy>
leitz aside from zenspider pointing out that the attr* methods should be faster than manually using def, attr_accessor :foo is just a combined attr_writer :foo and attr_reader :foo; and the two are the same as if you would manually write: def foo; @foo; end; and def foo(i); @foo = i; end
<shevy>
leitz in your example you define them twice
<apeiros>
leitz: no idea what you're testing, but all removing upp from the attr_accessor list does is remove upp= method
<shevy>
once as attr_accessor :upp, and then also as: def upp
<apeiros>
leitz: so if your test runs after that change, you have weird tests…
<jhass>
eindoofus: 2.0 and 2.1 are basically 1.9.3 with more stuff in
User458764 has quit [Ping timeout: 244 seconds]
<Mon_Ouie>
Python 3 and Python 2 are very incompatibly, that's not the case with Ruby 1.9 and Ruby 2.x
sandelius has joined #ruby
<Mon_Ouie>
(it's more like the difference between Ruby 1.8 and Ruby 1.9)
<jhass>
eindoofus: if you ever need to go back to 1.9.3 you just write it in 2.1 and try if it still works in 1.9, in many cases it will
rodfersou has quit [Remote host closed the connection]
<eindoofus>
cool. so i'm not loosing anything by reading a 1.9.3 and then later looking at 2.x]
<shevy>
there are things available only in like 2.1.4 and not in 1.9.3
<eindoofus>
is there anything taken away or altered?
<eindoofus>
or is it just new stuff?
<godd2>
shevy except for curses. that's available in 1.9.3 and NOT available in 2.1.4
<jhass>
eindoofus: a few things are altered, although in subtle ways you'll rarely notice as a beginner
<godd2>
but that's stdlib, not core, so you really have nothing to worry about eindoofus
vyorkin has joined #ruby
<leitz>
Guido can't eleminate 2.x without eliminating Python. Too much actual work gets done with 2.x. Probably more than with 3.x
<eindoofus>
good to hear. thanks
<leitz>
eindoofus, I'm on 1.8, so don't feel bad. :)
<jhass>
leitz: you shouldn't be
<jhass>
it's EOL
az7ar_away is now known as az7ar
JohnBat26 has joined #ruby
<leitz>
jhass, the RH servers I support have 1.8 installed. So RH owns the patching.
anaeem1_ has joined #ruby
<jhass>
still, you shouldn't learn ruby now on 1.8
<jhass>
because the changes between 1.8 and 1.9 are indeed quite big
luminor has quit []
<leitz>
Is 1.8 code runable under 1.9?
<godd2>
mostly
<jhass>
the most basic one is
<jhass>
but you quickly run into incompatibilities
ndrei has quit [Ping timeout: 244 seconds]
claymore has quit [Quit: Leaving]
ale4L3 has joined #ruby
fgo has joined #ruby
<shevy>
godd2 good point
az7ar is now known as az7ar_away
robustus is now known as robustus|Off
<godd2>
shevy lol it's the ONE thing I know that was removed :P
agrinb has joined #ruby
<shevy>
leitz yes, code on 1.8 works perfectly well lateron. I know myself because I have used both 1.8 and 1.9 for years side by side without a problem
<shevy>
godd2 yeah I remember it now too after you have mentioned it
jheg has joined #ruby
<shevy>
leitz have you tried to use more than one ruby versions yet?
rpag has joined #ruby
<godd2>
leitz versions are more apropos to features of gems and dependencies, not as much core ruby itself. But since a ton of what ruby is are those gems and features, you'd do well to be more up to date, especially at least to 1.9.3
<rpag>
1.9.3 is the new 1.8.7
timonv_ has quit [Remote host closed the connection]
Rahul_Roy_ has joined #ruby
<godd2>
yea and I'm startin to feel the hurt. Can't use the gosu gem on windows with 2.0+ and cant use the hasu gem with <2.0. blegh
freerobby has joined #ruby
ale4L3 has quit [Quit: Leaving]
govg has joined #ruby
godd2 has quit [Remote host closed the connection]
codecop has joined #ruby
<rpag>
:-(
<atmosx>
hello
<rpag>
yo
haroldwu has quit [Ping timeout: 245 seconds]
<leitz>
Understood. We're using a Ruby based product, Puppet.
haroldwu has joined #ruby
<leitz>
The OS has Ruby 1.8.5 or 1.8.7, depending on the OS version. Puppet seems to package 1.9.3, I think.
<atmosx>
I need to pass a string which is incredibly long through an http post request, but I can't it's above 1024 which apparently it's some sort of hard-limit. What's the best way to deal with this? I wonder if it's somehow possible to store it in RAM and retrieve it later? (without Redis or anything)
<jhass>
HTTP post requests with a body of > 1024 shouldn't be a problem at all
<leitz>
So I use my installed 1.8 to learn. I'm really at the basic level still.
badhatter has joined #ruby
agrinb has quit [Remote host closed the connection]
yfeldblum has joined #ruby
takle has joined #ruby
<atmosx>
jhass: really? I'm using sinatra, and comes up with an error.
<jhass>
aha
<atmosx>
k
<rpag>
what's the error?
g_ has joined #ruby
g_ is now known as Guest12291
ctp has joined #ruby
<jhass>
he has been here often enough, he obviously doesn't want to provide a proper problem description
yfeldblum has quit [Ping timeout: 264 seconds]
danijoo has joined #ruby
davedev24_ has joined #ruby
<rpag>
ah, ok
majjoha has joined #ruby
jonr22 has joined #ruby
Guest12291 has quit [Ping timeout: 264 seconds]
danijoo_ has quit [Ping timeout: 250 seconds]
jheg has quit [Quit: jheg]
r0bby_ has joined #ruby
majjoha has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 265 seconds]
mib_mib has joined #ruby
cantonic has joined #ruby
<banister>
rpag sup rob
r0bby_ has quit [Read error: Connection reset by peer]
Hightower666 has joined #ruby
r0bby_ has joined #ruby
Wolland has joined #ruby
<atmosx>
jhass: "often enough" is kinda poor english, better use "long enough".
<atmosx>
BTW the error is: HTTP element REQUEST_PATH is longer than the 1024 allowed length.
fgo has quit [Ping timeout: 264 seconds]
<jhass>
that looks like you submit your long string as query parameters
<rpag>
you're not posting the string in the body then, but as part of the URL
<atmosx>
URLs over 2,000 characters will not work in the most popular web browsers <-- hm
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
<atmosx>
so that's that.
<rpag>
the url isn't apart of the request body
<atmosx>
rpag: I know
<rpag>
the request body comes after HTTP headers
mib_mib has quit [Ping timeout: 258 seconds]
robbyoconnor has joined #ruby
cantonic has quit [Ping timeout: 258 seconds]
<rpag>
i would refactor the code to use the body of a request then, if you need to send a large string
Wolland has quit [Ping timeout: 258 seconds]
apeiros has quit [Remote host closed the connection]
jonr2219 has joined #ruby
apeiros has joined #ruby
<atmosx>
rpag: yeap, I'm looking into that right now.
r0bby_ has quit [Ping timeout: 256 seconds]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has joined #ruby
weemsledeux has joined #ruby
weemsledeux has joined #ruby
ale4L3 has joined #ruby
eindoofus has quit [Quit: This computer has gone to sleep]
ale4L3 has quit [Read error: Connection reset by peer]
ale4L3 has joined #ruby
jonr22 has quit [Ping timeout: 260 seconds]
lolmaus has joined #ruby
apeiros has quit [Ping timeout: 244 seconds]
BlackGear has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benzrf|offline is now known as benzrf
Psy-Q has joined #ruby
eindoofus_ has joined #ruby
<Psy-Q>
is rubocop really serious with that 10 lines per method default limit? isn't that quite tight?
<jhass>
many people disagree with rubocops default, but I'd say 10 lines per method is one of the better suggestions
<rpag>
i think 10 lines is reasonable
ale4L3 has quit [Quit: Leaving]
IrishGringo has quit [Ping timeout: 260 seconds]
ale4L3 has joined #ruby
bmurt has quit []
bmurt has joined #ruby
cpruitt has joined #ruby
<banister>
some ppl say 5 lines per method but that's a lil cray
<banister>
and 100 lines max per class
ale4L3 has quit [Client Quit]
<banister>
what do u think rpag
<rpag>
yeah i think 5 lines is too little
ndrei has joined #ruby
<jhass>
anyway, I think other properties like SRP and keeping same level of abstration are more important
bmurt has quit [Client Quit]
<Psy-Q>
if you a slightly complex method, even just traversing a nested array, you're quickly at 15+ lines, no?
<jhass>
no
<Psy-Q>
so you split even at that level?
<jhass>
if traversing a nested array takes you 15 lines you're not too good at ruby ;)
rylev has joined #ruby
Dude007_ has joined #ruby
<banister>
jhass good advice, diaspora-boy
<banister>
;
<banister>
)
<jhass>
if the operation you do on the items takes you 10 lines, it's a good sign it wants to be its own method
Dude007 has quit [Read error: Connection reset by peer]
<jhass>
banister: you know, I'm more the janitor slowly cleaning up the mess ;)
IrishGringo has joined #ruby
<rpag>
i thought diaspora died and went to hell
<Psy-Q>
i'll think about how i can do that
bmurt has joined #ruby
<jhass>
rpag: nope
<jhass>
we actually experience quite some user growth in the recent weeks
rdark has joined #ruby
<atmosx>
thanks jhass rpag ... it works.
<Psy-Q>
i'm building a very ugly parser/crawler for vinyl record stores. their html is often crappy and i have to traverse all manner of brokenness
<Psy-Q>
that's where my 10+ lines per method come from
<atmosx>
Psy-Q: so do vinyl record stores exist?!
<Psy-Q>
as in, guessing which table cell might be the price (because sometimes it's here, sometimes it's there...)
<Psy-Q>
atmosx: hell, yeah :D
<atmosx>
Psy-Q: Is it true that their sound (vinyl vs digital) is still clearer?
<Psy-Q>
it's fun to have a big ole physical copy of music with nice big artwork
<banister>
rpag jhass is the only committer left on diaspora
<atmosx>
my father has some collections, I might remove them from dust put them into some wall who knows.
<jhass>
banister: told you it's wrong already
<Psy-Q>
atmosx: i wouldn't know about that -- with my setup, FLAC and vinyl sound about the same. but i think the difference is in the mixing (many CDs are mixed with a lot of compression (the audio kind, not file size) so they sound loud on shitty speakers)
<rpag>
banister, maybe you should send some senior engineers from GA to help him out
<Psy-Q>
with vinyl, you can't put that much compression on, there are all sorts of physical constraints, so sometimes you get a much better mastering of the record
<atmosx>
Psy-Q: I see
<rpag>
banister, sorry couldn't resist :P
<atmosx>
Psy-Q: Nice nice
<Psy-Q>
but it turns philosophical and esoterical quickly with audio, especially with vinyl. so in the end it's probably up to people's taste
<banister>
rpag lol
<atmosx>
banister: where is GA?
rylev has quit [Ping timeout: 250 seconds]
<banister>
atmosx all around u
<Psy-Q>
i buy it for the huge-ass records and sleeves and artwork and the physicality of it all. and limited editions in many colors and effects :D
<rpag>
i feel it in my fingers, i feel it in the air
<Psy-Q>
</off-topic> then i'll go and please rubocop some more
<atmosx>
rpag: that cover was so awesome
<rpag>
phil collins? yeah
<atmosx>
rpag: nah
<atmosx>
that was lame
klaut has joined #ruby
<rpag>
:(
<atmosx>
the guy who was feeling it in his toes was way better
<rpag>
wet wet wet
<atmosx>
"Love is all around me" by wet wet wet
<atmosx>
yeap
<rpag>
weird band name
<atmosx>
but the cover, from Love ACtually
<atmosx>
rpag: why? They're from the UK. Shitty weather, shitty food, seas that you woudl not wanna step in either dead. UK...
eindoofus_ has quit [Quit: This computer has gone to sleep]
agjacome has joined #ruby
<rpag>
if i had a band i'd call them sellafield
devdazed has joined #ruby
majjoha has joined #ruby
arrubin has quit [Ping timeout: 272 seconds]
LudicrousMango has joined #ruby
dziga has quit [Ping timeout: 272 seconds]
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robustus|Off is now known as robustus
eindoofus_ has joined #ruby
tiagonobre_ has quit [Ping timeout: 272 seconds]
arrubin has joined #ruby
dziga has joined #ruby
<leitz>
Okay jhass, I thought I had the attr stuff but I guess not. In the attr_accessor line I have ':name', and '@name' is in the initialize.
atmosx has quit [Remote host closed the connection]
atmosx has joined #ruby
beef-wellington has joined #ruby
ClarusCogitatio has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
<leitz>
Okay, fixed the name test. The good news is that the RSpec book should arrive today. :)
ClarusCogitatio has joined #ruby
DrCode has quit [Remote host closed the connection]
DrCode has joined #ruby
ferr has quit [Ping timeout: 244 seconds]
silkfox has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
charliesome has quit [Quit: zzz]
beef-wellington has quit [Ping timeout: 244 seconds]
soulcake has quit [Quit: Quack.]
elemenopy has joined #ruby
soulcake has joined #ruby
Kricir has joined #ruby
Nahra has joined #ruby
melik has joined #ruby
Cort3z has quit [Ping timeout: 250 seconds]
cantonic has joined #ruby
AlSquirrel has joined #ruby
Cort3z has joined #ruby
Kricir has quit [Remote host closed the connection]
mtakkman has joined #ruby
melik has quit [Ping timeout: 272 seconds]
cantonic has quit [Ping timeout: 265 seconds]
it0a has joined #ruby
spyderman4g63 has joined #ruby
KALEGEK has joined #ruby
elemenopy has quit [Remote host closed the connection]
centrx has joined #ruby
govg has quit [Quit: leaving]
mikeg has joined #ruby
Darryl_ has quit [Quit: Connection closed for inactivity]
spyderman4g63 has quit [Ping timeout: 265 seconds]
User458764 has joined #ruby
mdev has joined #ruby
IrishGringo has quit [Ping timeout: 264 seconds]
mib_mib has joined #ruby
elemenopy has joined #ruby
s00pcan has quit [Ping timeout: 264 seconds]
despai has quit [Quit: This computer has gone to sleep]
dh64 has joined #ruby
s00pcan has joined #ruby
klaut has quit [Remote host closed the connection]
havenwood has joined #ruby
ptrrr has quit [Quit: ptrrr]
desp has joined #ruby
n008f4g_ has joined #ruby
eindoofus_ has quit [Quit: This computer has gone to sleep]
diegoviola has joined #ruby
ferr has joined #ruby
clauswitt has quit [Read error: Connection reset by peer]
clauswitt has joined #ruby
mikeg has quit [Remote host closed the connection]
clauswitt has quit [Max SendQ exceeded]
clauswitt has joined #ruby
Wolland has joined #ruby
nobitanobi has joined #ruby
Dude007_ has quit [Remote host closed the connection]
clauswitt has quit [Max SendQ exceeded]
fgo has joined #ruby
danijoo_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
clauswitt has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
Rapier- has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Timgauthier has joined #ruby
Timgauthier is now known as timgauthier_away
fgo has quit [Ping timeout: 260 seconds]
dorei has joined #ruby
wex13r has joined #ruby
boombadaroomba has joined #ruby
rdark has quit [Quit: leaving]
mg^ has quit [Quit: Leaving]
g_ has joined #ruby
g_ is now known as Guest9155
IrishGringo has joined #ruby
mtakkman has quit [Remote host closed the connection]
<leitz>
Okay, still getting the getters and setters. Here's a question. For most of the time the setter for increasing a skill will be to increment it by 1. Occasionally it will be set to 0 if it's not already set, and rarely it will be set to > 1.
sevenseacat has quit [Quit: Leaving.]
<leitz>
Is it better to just have one setter that takes the increment value always or one that assumes 1 and one that takes a value.
<jhass>
"rarely > 1" and "increment by 1" contradicts
boombadaroomba has quit [Ping timeout: 250 seconds]
<leitz>
Does that make sense or has the coffee worn off.
timgauthier_away is now known as Timgauthier
it0a has quit [Quit: WeeChat 1.0.1]
it0a has joined #ruby
Timgauthier is now known as timgauthier_away
<leitz>
jhass, almost always the logic is "If the skill is in the hash, raise its value by 1. If it is not in the hash, set it to 1"
<jhass>
ignoring the contradiction there, I'd do def increase_skill(level=1) and def reset_skill
benzrf is now known as benzrf|offline
ndrei has joined #ruby
<leitz>
Sometimes it will be set to 0 if it does not exist and sometimes incremented by more than 1.
<jhass>
def skill=(value) should set the attribute directly, not increment by the passed value
BlackGear has joined #ruby
hamakn has joined #ruby
adriancb has joined #ruby
<leitz>
so def increase_skill(value) would be best, I think, with a default value of 1. If the skill is already in the hash and has a value >1 then it is incremented by one. Otherwise it is set to 1.
Jackneill has quit [K-Lined]
Heartbroken has quit [K-Lined]
<jhass>
try to choose specific names, value is not good there
<jhass>
levels or even by_levels is much better
<leitz>
jhass, will do. Thanks!
shtirlic has quit [K-Lined]
danoo has quit [K-Lined]
<jhass>
leitz: also you might just want to initialize your hash with Hash.new(0)
<jhass>
then you can unconditionally += 1
mib_mib has quit [Ping timeout: 244 seconds]
bluOxigen has joined #ruby
<leitz>
jhass, some skills are effectively "less than 0".
shtirlic has joined #ruby
danoo has joined #ruby
<leitz>
A "0" assumes you know enough not to blow things up too badly. If you have no skill you are usually at a minus.
Nahra has quit [Read error: Connection reset by peer]
Nahra has joined #ruby
<shevy>
doesn't juggling with numbers make us all very happy :)
Jackneill has joined #ruby
benzrf|offline is now known as benzrf
<User458764>
How do I test in a case statement the presence of a specific *options in options.key(:foo) ?
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Heartbroken has joined #ruby
{xenomorph} is now known as xenomorph
<User458764>
I could reformulate my question how do I transform a if/else if like this one if options.key(:foo); ...; else if options.key(:bar); ...; end in a switch statement?
psyprus has quit [Ping timeout: 258 seconds]
<User458764>
*case I would say
melik has joined #ruby
cantonic has joined #ruby
dkb20k has quit [Remote host closed the connection]
dc_ has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
<jhass>
User458764: you don't really
Cort3z has quit [Ping timeout: 264 seconds]
anaeem1 has joined #ruby
<jhass>
one could imagine constructs like %i(foo bar).find {|key| options.has_key? key }
<jhass>
though whether I'd do something like that depends on the actual case at hand
<User458764>
jhass ok so if else if is a good solution thanks
melik has quit [Ping timeout: 260 seconds]
<jhass>
if you're not satisfied with your code, feel free to share it and ask for opinions/improvements ;)
cantonic has quit [Ping timeout: 260 seconds]
<User458764>
jhass thanks for the help :)
rylev has joined #ruby
vyorkin has quit [Ping timeout: 244 seconds]
fgo has joined #ruby
cantonic has joined #ruby
elemenopy has quit [Remote host closed the connection]
Dude007 has joined #ruby
rylev has quit [Ping timeout: 255 seconds]
IrishGringo has quit [Ping timeout: 256 seconds]
hyperdrive has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
elemenopy has joined #ruby
omosoj has joined #ruby
ptrrr has joined #ruby
s00pcan has quit [Read error: Connection reset by peer]
MattB2 has joined #ruby
robustus|Off is now known as robustus
govg has joined #ruby
IrishGringo has joined #ruby
mib_mib has joined #ruby
amundj has joined #ruby
Nahra has quit [Ping timeout: 244 seconds]
naftilos76 has joined #ruby
<leitz>
Tests run better when you remember to use () instead of []...
<benzrf>
kek
Cort3z has joined #ruby
weemsledeux has joined #ruby
desp has quit [Quit: This computer has gone to sleep]
desp has joined #ruby
mib_mib has quit [Ping timeout: 256 seconds]
Darryl_ has joined #ruby
gaganjyot has joined #ruby
weemsledeux has quit [Client Quit]
<leitz>
Seem to also work better when you use underscores instead of dashes in variable names...
troyready has joined #ruby
sar_s has joined #ruby
mib_mib has joined #ruby
<sar_s>
hi
<sar_s>
how do I convert a integer to a hex string. I mean for example I want to convert the integer 2 to '\x02'
<shevy>
soon dart is more popular than ruby according to TIOBE
* Hanmac
does not care about tiobe
<eam>
ruby will never pass perl at this rate
<shevy>
perl gained +3 ranks in one year!!!!!!!
Wolland has quit [Remote host closed the connection]
michael_mbp has joined #ruby
<benzrf>
tiobe more like niobe more like newbie
<eam>
I hope perl becomes what cobol was around y2k
nkumari_ has joined #ruby
Wolland has joined #ruby
<benzrf>
java is already that
<shevy>
haha
nkumari has quit [Read error: Connection reset by peer]
<benzrf>
and python is advancing toward what java was then
<shevy>
tiobe loves java
<eam>
benzrf: I mean with only ancient neckbeards knowing how to use it
<shevy>
but not haskell benzrf
<benzrf>
oh lol
<eam>
and getting fat stacks for maintaining BS code
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
<eam>
visual basic making some very large gains in this list
<eam>
the most growth by far
mib_mib has quit [Ping timeout: 264 seconds]
<shevy>
lol
<shevy>
I think they just randomly pull in numbers
<shevy>
though their trends actually say
<shevy>
that perl gained successively from the beginning of 2014
josephndenton has quit [Ping timeout: 255 seconds]
<shevy>
so perhaps that trend in itself is actually correct
<eam>
perl6 is the software world's Great Leap Forward
hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 244 seconds]
pandaant has joined #ruby
atomical has joined #ruby
spyderman4g63 has joined #ruby
Joufflu has joined #ruby
mtakkman has joined #ruby
rshetty has joined #ruby
<shevy>
that has never happened
silkfox has quit [Ping timeout: 265 seconds]
<shevy>
and it has a hallucinogenic mascot logo
omosoj has joined #ruby
Cort3z has quit [Ping timeout: 264 seconds]
spyderman4g63 has quit [Ping timeout: 245 seconds]
<atmosx>
shevy: how's life?
fuhgeddaboudit has joined #ruby
* atmosx
trying to setup his dev env to a debian VM in order to make a gem run
joast has joined #ruby
<atmosx>
takes ~ 2 hours
<atmosx>
I hate it
mgorbach has joined #ruby
<dorei>
one day everyone working @ IT will be replaced with a perl script xD
<atmosx>
dorei: hardly
<atmosx>
but okay
<shevy>
atmosx busy busy - I have "finished" a rewrite by sacrificing about 20% of the old features
<atmosx>
I've seen worst, people with serotonin syndrome for example
omosoj has quit [Client Quit]
<atmosx>
shevy: cool
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
dkb20k has joined #ruby
<atmosx>
shevy: I'm writing my thesis, I need to finnish pharmacognosy + thesis until 19/11 and i'm like fucking crazy
<shevy>
yay!
<shevy>
it's the last exam?
<atmosx>
studying from 4 to 12 hours per day + trying to write code by night
<shevy>
hehe
<atmosx>
yes, and teh idiot prof doesn't reply to my emails and now I have to lose time and go to the univ to talk in person
<shevy>
oh we have a few of these as well
<atmosx>
I have 1 exam + thesis
supersym has joined #ruby
<shevy>
the coolest is one guy that is seeking a bioinformatician-student
<atmosx>
my thesis presentation will be funny, my professor don't know jack shit about programming
<shevy>
but - he does not respond to emails at all, ever
<dorei>
shevy: maybe he doesn't know how to use email
<atmosx>
wtf is he looking for a bio-informatician then? :-P
<shevy>
haha yeah same here really save for perhaps 3 or 4 experts
jottr has quit [Ping timeout: 264 seconds]
psyprus has joined #ruby
<shevy>
atmosx I have no idea, I forgot what he was studying... I guess similarity-searches, in particular BLAST was mentioned
<atmosx>
shevy: my prof is really good at biology and molecular biology. But he doesn't know anything about computers.
<shevy>
*teaching
<shevy>
dorei given his age perhaps but I think he simply is not good at all with computers
jamto11 has joined #ruby
LudicrousMango has quit []
<atmosx>
shevy: I'm trying to implement a fitting alignment gem now, to avoid writing my wn version in pure ruby
<shevy>
hehe
<shevy>
atmosx doesn't bioruby fit? ;P
<atmosx>
this gem is a binding to seq-align c++ library from what I see. Then there's a sequenceserver.com (sinatra + boostrap_ which I'd also like to add in my app.
<atmosx>
shevy: ah don't think so.
troyready has quit [Ping timeout: 255 seconds]
<shevy>
hehehe
<dorei>
btw, anyone ever used ruby for nlp? or python is a oneway road for nlp ?
psyprus has quit [Remote host closed the connection]
<atmosx>
I think turing was doing dynamic programming in his mind in the 30s
<atmosx>
at princeton
<shevy>
"Dynamic programming is widely used in bioinformatics for the tasks such as sequence alignment, protein folding, RNA structure prediction and protein-DNA binding."
<shevy>
it is unfortunate that I sucked at higher math
<atmosx>
shevy: I see, that's cool I could add something like this to my thesis
<atmosx>
shevy: hehe
mgorbach has quit [Ping timeout: 250 seconds]
<dorei>
shevy: i guess most recursive algorythms are "dynamic programming"
<shevy>
dorei yeah
<atmosx>
shevy: I've read a stunning article today, about life in Japan
<shevy>
dorei the description was so much of the traveling salesman problem
<shevy>
atmosx yeah? which part :-)
<atmosx>
dynamic = changes based on pre-determined situations or it's written in a way to adapt
<shevy>
I mean, Japan is kinda like a world in a world
<dorei>
shevy: yeah, they still use analog photography :D
<atmosx>
crazy things
<atmosx>
finally ruby compiled!
fgo has quit [Ping timeout: 245 seconds]
desp has quit [Quit: This computer has gone to sleep]
<shevy>
cool
<shevy>
atmosx that seems to totally not hold true for matz
<shevy>
hmm
<shevy>
they seem to have taken the kaizen philosophy even for shitty jobs
<shevy>
and still they get their butts kicked by china
gsd has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
corehook has joined #ruby
<shevy>
but I think he totally exaggerates in the article
melik has joined #ruby
amundj has joined #ruby
<shevy>
there are drop-outs just as well and unusual life styles
<atmosx>
shevy: I don't think so, at least not from reading comments on the HN thread
mgorbach has joined #ruby
<atmosx>
I'm sure there, but generally speaking their lifes are so tightly tied to the corporation they are working on which is insane (by my standards)
dkb20k has quit [Ping timeout: 255 seconds]
moritzs has quit [Remote host closed the connection]
<shevy>
yeah
<shevy>
bee workers in a bee hive
corehook has quit [Client Quit]
corehook has joined #ruby
amundj has quit [Read error: Connection reset by peer]
<atmosx>
yeap kinda
<atmosx>
looks like it
Rahul_Roy_ has quit [Quit: Connection closed for inactivity]
melik has quit [Ping timeout: 264 seconds]
<atmosx>
I like the fact tha discussion over decrease of working is getting mre and more popular.
<atmosx>
working hours
krz has quit [Quit: WeeChat 1.0.1]
<shevy>
well
ob has quit [Max SendQ exceeded]
<shevy>
you wanna do something else with your life aside from work work work as well
fandi has joined #ruby
ob has joined #ruby
<dorei>
if you have life outside work :p
s00pcan has joined #ruby
max96at is now known as max96at|off
<shevy>
dorei do you often work overtime?
earfin has joined #ruby
amundj has joined #ruby
fumk has quit [Remote host closed the connection]
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
jamto11 has quit [Remote host closed the connection]
cashnguns has joined #ruby
fumk has joined #ruby
<dorei>
shevy: when i was working behind an office desk, overtime was quite rare. now that i work from home, i dont keep track of how many hours i work
<dorei>
but i'm lazy, i dont think my situation is quite typical of what's going on here
vyorkin has joined #ruby
almostworking has joined #ruby
<s00pcan>
dorei: I mostly work from home and use emacs org-mode to log time
<s00pcan>
I've got about 6 more hours to feel decent about myself this week :(
yfeldblum has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
max96at|off is now known as max96at
machete has quit [Ping timeout: 272 seconds]
<shevy>
hehe
<shevy>
tracking people
elemenopy has joined #ruby
<elemenopy>
dangit i need rails help :( but nobody will haaaalp me
mdev has quit [Ping timeout: 255 seconds]
<shevy>
hey
<shevy>
rails are in #rubyonrails
<benzrf>
thats cuz rails is ple
<benzrf>
b
machete has joined #ruby
<shevy>
but sometimes Hanmac1 helps :>
<jhass>
elemenopy: I think I remember I explained you that a patience of less than an hour makes that claim invalid on IRC
johnzorn has joined #ruby
<jhass>
you waited about 3 minutes!
<shevy>
elemenopy try to model it into a ruby question
yfeldblum has quit [Ping timeout: 244 seconds]
<shevy>
like "how to extract all odd entries from an Array"
almostworking has left #ruby ["Leaving"]
<elemenopy>
i wish i could think of a way to model it that way. the ruby part of the engine is done. were on to the web part now. im using rails console to test some database connectivity stuff or i would
<jhass>
elemenopy: you got a follow up question in the appropriate channel where you asked the question in under 10 minutes
<jhass>
go answer it before wasting time here
lolmaus has quit [Read error: Connection reset by peer]
<johnzorn>
Anyone develop on linux? If so how do you manage the different ruby versions? Do you avoid using the built in package manager and use a tool like rvm/rbenv for everything or do you install a global ruby and then go from there? I'd like to find a system where I'm not spending so much time debugging setup.
<wasamasa>
nope, all of us develop on dos machines
<Noldorin>
why does File.exist? return false on this file?
<Noldorin>
-rw-r--r-- 1 alex access_bpf 54K 21 Jul 11:33 /usr/local/include/jack/jack.h
<havenwood>
johnzorn: Some distros keep nice up to date Ruby packages, and if you need just one Ruby that works great.
<jhass>
johnzorn: I use archlinux and have all ruby versions I need installed via the package manager pacman. I use chruby to switch between them. Though that's probably not exactly a common setup
<havenwood>
johnzorn: Have you picked a distro yet or just asking in general?
lolmaus has joined #ruby
jonr22 has joined #ruby
<shevy>
johnzorn I (usually) would compile into a versioned directory
<shevy>
though I have to admit, I have been doing so less often in the last ~1 year or so; I only use a single ruby version nowadays, the latest
timonv_ has joined #ruby
<shevy>
Noldorin that can not be
<shevy>
Noldorin you can try to copy it into another location, also change the chmod settings, and try again to see if it makes a difference
<shevy>
or perhaps it could be a symlink to a non existant file
<jhass>
shevy: then it would be lrwxrwxrwx
<shevy>
isn't the rxw part after the l lying?
<johnzorn>
havenwood: Ya I'm already on funtoo
<Noldorin>
shevy, sorry, you're right. I was doing something silly!
JohnBat26 has joined #ruby
<jhass>
shevy: anybody can follow any symlink, the rights of the target matter. Though you're right, that did lead to some attack vector in the past, google symlink attacks
<shevy>
I used to love symlinks
<shevy>
I still think they are super useful but it is no longer a love relationship
<johnzorn>
havenwood: they have a nice system to have different versions of the same software installed. But I'd like to simplify things so I'm not using 10 tools just to manage ruby.
<shevy>
gobolinux was modeled around symlinks, with advantages and disadvantages - I wish it could have been a much more thorough design :(
cashnguns has quit [Read error: Connection reset by peer]
<shevy>
shortly before it died effectively, they wanted to provide a /System/Index entry
<havenwood>
johnzorn: i like chruby for switching between Rubies
nonks has joined #ruby
cashnguns has joined #ruby
rshetty has quit [Remote host closed the connection]
<havenwood>
johnzorn: Or RVM supports emerge. I'd suggest avoiding rbenv. We don't have ruby-install support for emerge yet but pull requests welcome! :)
Wolland has quit [Remote host closed the connection]
nkumari_ has quit [Remote host closed the connection]
BlackGear has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elemenopy has quit [Remote host closed the connection]
nonks has joined #ruby
<MattB2>
havenwood: on what basis?
rylev has quit [Ping timeout: 264 seconds]
maestrojed has joined #ruby
iwishiwerearobot has quit [Ping timeout: 260 seconds]
rpag has quit [Ping timeout: 265 seconds]
<havenwood>
MattB2: i think things like shipping openssl instead of using the package manager's and adding ./bin to PATH are bad ideas
charliesome has joined #ruby
mdarby has joined #ruby
jimbach has quit [Remote host closed the connection]
bmurt has quit []
<havenwood>
MattB2: for a simple option i prefer the idea of setting env vars correctly to shims
leitz has joined #ruby
corehook has quit [Remote host closed the connection]
nonks has quit [Ping timeout: 250 seconds]
<leitz>
Okay, back. In irb, how do you query built-in methods to see how to use them?
hanmac1 is now known as Hanmac
<leitz>
I'm trying to figure out JSON.parse
fgo has joined #ruby
charliesome has quit [Ping timeout: 272 seconds]
psyprus has joined #ruby
<gregf>
I have the follow test http://dpaste.com/15SATEC that tests this code http://dpaste.com/1D5J79K every time I call subject.run I get TypeError: no implicit conversion of String into Array. On line 33 I do sizes.each do |size| this is where the error is stemming from, but I don't understand why. The code runs as it should.
<MattB2>
havenwood: you must be thinking of something else. rbenv is written in Ruby, and doesn't ship its own ssl library AFAIK, it uses shims, and it doesn't reqiure ./bin in the path
corehook has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
psyprus has quit [Ping timeout: 258 seconds]
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
rpag has joined #ruby
IrishGringo has quit [Ping timeout: 256 seconds]
<havenwood>
MattB2: well, it uses ruby-build which downloads a standalone openssl. so for example you might not know this, update to newest openssl and recompile ruby assuming all is well.
jonr22 has quit [Remote host closed the connection]
jheg has joined #ruby
dkb20k has quit [Ping timeout: 240 seconds]
<havenwood>
MattB2: chruby and RVM are GPG signed, etc.
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
bMalum has quit [Ping timeout: 245 seconds]
bMalum_ is now known as bMalum
renderful has joined #ruby
<havenwood>
MattB2: and all the rehash questions drive me nuts, at least they've finally made that automagical
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
rshetty has quit [Remote host closed the connection]
nkumari has quit [Remote host closed the connection]
<havenwood>
MattB2: Overall I just prefer chruby/ruby-install or RVM over rbenv/ruby-build, hence I don't recommend it.
claw___ has joined #ruby
luk3thomas has joined #ruby
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
<MattB2>
havenwood: some fair points, although until ruby gems are signed, we're always going to be exposed. ./bin sounds like a recommendation for Rails, as you do have to use bin/rails or bundle exec rails with rbenv
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
fumk has joined #ruby
claw__ has quit [Ping timeout: 260 seconds]
josephndenton has joined #ruby
<atmosx>
hello
yfeldblum has joined #ruby
<atmosx>
I'm getting a NoMemoryError ... on a Sinatra application. When I run the same method on pry works fine
renderful has quit [Ping timeout: 272 seconds]
nateberkopec has joined #ruby
<atmosx>
it's a c++ binding, I'm running this on a VM with 1024 RAM is it possible that it needs more ram? can't believe it
<MattB2>
atmosx: them you probably want to ask on #sinatra
mr_rogerz_ has quit [Ping timeout: 244 seconds]
<MattB2>
*then
fgo has joined #ruby
arup_r has quit [Quit: Leaving.]
nateberkope has joined #ruby
adriancb has quit [Remote host closed the connection]
weemsledeux has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
adriancb has joined #ruby
Scotteh has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
workmad3 has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
viet_power has joined #ruby
Scotteh_ has quit [Ping timeout: 255 seconds]
cashnguns has quit [Read error: Connection reset by peer]
luk3thomas has quit [Quit: luk3thomas]
fgo has quit [Ping timeout: 265 seconds]
cashnguns has joined #ruby
<shevy>
atmosx hehe you get deep into the problem-landscape :D
sandelius has joined #ruby
adriancb has quit [Ping timeout: 256 seconds]
bigmac has joined #ruby
tkuchiki has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
jheg has quit [Quit: jheg]
<atmosx>
shevy: I've no idea what could cause this...
nonks has joined #ruby
<atmosx>
shevy: my sequences are so small..
<shevy>
lol
rkazak has joined #ruby
vyorkin has quit [Ping timeout: 265 seconds]
mr_rogerz_ has joined #ruby
bmurt has joined #ruby
bmurt has quit [Client Quit]
vectra has quit [Ping timeout: 244 seconds]
mfmfmfmfmfmf has joined #ruby
n3phos has joined #ruby
spyderman4g63 has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
jheg has joined #ruby
weemsledeux has quit [Read error: Connection reset by peer]
max96at is now known as max96at|off
weemsledeux has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
spyderman4g63 has quit [Ping timeout: 265 seconds]
<theotherstupidgu>
undefined local variable or method `hi' for C:Module
<jhass>
including a module doesn't include it's singleton class
<jhass>
extend is a include into an objects singleton class
Vile` has quit [Client Quit]
<theotherstupidgu>
ok, so how should a method in A be passed to C through B?
<jhass>
tbh. that looks like a flawed design
<theotherstupidgu>
well, i guess sometimes metaprogramming looks like tht
User458764 has joined #ruby
<jhass>
some define an included hook that does other includes
<theotherstupidgu>
yeah
jonr22_ has joined #ruby
nobitanobi has quit []
boombadaroomba has joined #ruby
<theotherstupidgu>
still this remains as unexpected behaviour from ruby i guess, because module A could be in a gem and module B could be in another gem
robbyoconnor has quit [Ping timeout: 264 seconds]
jonr22 has quit [Read error: Connection reset by peer]
User4587_ has quit [Ping timeout: 272 seconds]
shazaum has joined #ruby
<jhass>
no, it totally is expected behavior
<theotherstupidgu>
why so?
<jhass>
I already explained
<jhass>
do you know singleton classes?
shazaum has quit [Client Quit]
<theotherstupidgu>
yes
mfmfmfmfmfmf has quit []
kyb3r_ has joined #ruby
jheg has joined #ruby
Soda has joined #ruby
<jhass>
then "extend is an include into the singleton class" and "include doesn't include singleton classes" should be enough of an explanation
<theotherstupidgu>
well thanks jhass, appreciate it
boombadaroomba has quit [Ping timeout: 264 seconds]
jheg has quit [Read error: Connection reset by peer]
DTSCOde has joined #ruby
<theotherstupidgu>
i never watched this before, thanks will download
jimms has quit [Remote host closed the connection]
jottr_ has joined #ruby
jheg has joined #ruby
b3itz has joined #ruby
<b3itz>
Hey guys... if i want to read in a .txt file, then print it out.. what would be the correct way?
<jhass>
b3itz: Kernel#print and File::read
<b3itz>
i tried file = File.new('input.txt', 'r') print file
atmosx has quit [Quit: WeeChat 0.4.4-dev]
<b3itz>
i dont follow jhass im very new to ruby
<jhass>
File.new just opens the file, it doesn't read it
jottr has quit [Ping timeout: 250 seconds]
<b3itz>
oh ok, so i need to open, read, print, close?
<jhass>
yes
atmosx has joined #ruby
nonks has joined #ruby
<b3itz>
cool.. i'll try that
<theotherstupidgu>
b3tiz type "ri File#read" in your console
<jhass>
always use the block form of File.new and File.open or the helper methods like File.read and File.write
DTSCOde has quit [Quit: Leaving]
DTSCOde has joined #ruby
<jhass>
b3itz: the block forms will take care to close the file in all events
KALEGEK has quit [Ping timeout: 255 seconds]
<jhass>
so you don't have to
Cort3z has quit [Ping timeout: 255 seconds]
<jhass>
the helpers File.read and File.write will not even give you the file handle, so you can't forget to close them either
User4587_ has joined #ruby
aspires has joined #ruby
<b3itz>
can you pint me to a link for that? i'm going through lecture slides and don't see anything about the block form
<jhass>
File.open('foo.txt') do |file| do_something_with file; end
<jhass>
file_contents = File.read('foo.txt')
<jhass>
File.write('foo.txt', new_contents)
<jhass>
ruby-doc.org/core-2.1.4/File.html
timonv_ has quit [Remote host closed the connection]
MattB2 has quit [Remote host closed the connection]
<b3itz>
thanks
User458764 has quit [Ping timeout: 265 seconds]
Vile` has joined #ruby
nonks has quit [Ping timeout: 250 seconds]
rylev has joined #ruby
Hijiri has joined #ruby
thsig has quit [Remote host closed the connection]
ctp has joined #ruby
ctp has quit [Client Quit]
luk3thomas has joined #ruby
razieliyo has quit [Quit: Saliendo]
jleishman has joined #ruby
Cache_Money has joined #ruby
rylev has quit [Ping timeout: 258 seconds]
User458764 has joined #ruby
gaganjyot has quit [Ping timeout: 250 seconds]
dkb20k has joined #ruby
<b3itz>
ok im stumped... I need to read in a txt file with several lines of numbers separated by spaces and loop through and store each line as an array..
<jhass>
File.readlines
<jhass>
and Array#map
pureart has joined #ruby
pureart has left #ruby [#ruby]
<jhass>
and String#split
jonr2219 has quit [Remote host closed the connection]
<b3itz>
while line file.gets
<b3itz>
oops
jheg has quit [Quit: jheg]
<jhass>
that's just verbose for File.readlines ;)
<b3itz>
while line = file.gets
User4587_ has quit [Ping timeout: 265 seconds]
<jhass>
or File.foreach
jheg has joined #ruby
<b3itz>
im stuck.. ive been trying things for hours..
<shevy>
man
dkb20k has quit [Ping timeout: 250 seconds]
<b3itz>
i have this that prints out each line... file = File.new('input.txt', 'r') while line = file.gets print line end
<shevy>
b3itz the thing is you ignore what jhass writes to you man
<b3itz>
sorry, im not trying to... i appreciate the help
<b3itz>
im trying to make sense of this lol
<shevy>
ok then look at what jhass wrote and forget your "while line" stuff for now
<shevy>
actually he more or less already gave you the solution; all you have to do is add your average() method
<jhass>
well, String#split, String#to_i, Array#inject, Array#size and Fixnum#fdiv are missing
<b3itz>
ok lemme look at all this for a second
<jhass>
but I wanted to start File.readlines and Array#map
<jhass>
*start with
yfeldblum has quit [Ping timeout: 240 seconds]
vyorkin has joined #ruby
kaspergrubbe has joined #ruby
<atmosx>
the level of complexity of these alignment tools is astonishing
Dmr has quit [Client Quit]
luk3thomas has quit [Quit: luk3thomas]
<shevy>
atmosx I dunno
<b3itz>
"Create the output file, as specified from the 2 nd command line argument. Loop through the input file until the end With each iteration do the following 1. Read in a row of data 2. Invoke the createArray method passing the row of data and store the result in another variable"
<shevy>
atmosx I think the algorithms are actually very similar; Hamming distance is almost the same as Levensthein distance and all those alignments that make use of scoring work in a very similar manner. not that I understand the math behind it hahaha
<b3itz>
so....
<b3itz>
inFile = File.open('input.txt', 'r') while line = inFile.gets inFile.readline end
<shevy>
lol
<atmosx>
shevy: yeah, i just want a basic fucking analysis, like exonerate does. I could use exonerate SOMEHOW but bioruby is SO FUCKING UNDOCUMENTED that it's scary.
<shevy>
b3itz you are doing it again
<b3itz>
>.<
<shevy>
b3itz> inFile = File.open('input.txt', 'r') while line = inFile.gets <--- there!
<jhass>
ugh, we usually don't do camelCase methods in ruby but underscore_case
<b3itz>
i wish you could see my frustration lol
<shevy>
you must do this on purpose b3itz
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
so not sure about the quality of whatever you're following
havenwood has quit [Remote host closed the connection]
<shevy>
b3itz ok DELETE all the old code and REPLACE IT with what jhass gave you above for now
Jackneill has quit [Read error: Connection reset by peer]
<shevy>
but I know what will be coming
<shevy>
another round of while line =
<shevy>
:)
<shevy>
and btw who told you inFile.gets ... that is weird
<b3itz>
shevy: which lines that he gave me?
<b3itz>
my prof
<shevy>
b3itz ok you understand inFile is a variable?
<jhass>
sorry to inform you, but you prof is not good at ruby
<existensil>
My garage door is currently controlled by a ruby app running on a raspberry pi. Simple sinatra interface right now, but since that's only accessible within my home network looking for a way to integrate with a publicly accessible app I have.
<jhass>
existensil: dyndns?
<existensil>
Anyone have any recommendations for connecting one ruby app as a client to another
_lexjm has quit [Quit: zzz...]
<jhass>
uh, TCPSocket and reading from it I guess
<existensil>
I was thinking more publish/subscribe scenario. I'd like to have one app I have to authenticate to that will push messages down to any "internet of things" devices I have connected
<existensil>
yeah, I thought about raw sockets
alienaut has joined #ruby
<havenwood>
existensil: maybe DRb?
<existensil>
was just wondering if there was something a little more robust out-of-the-box with auto-reconnection, channels, and authentication
jleishman has quit [Quit: Be back later ...]
<jhass>
well, in classic pubsub scenarios the publisher can initiate a connection to the subscriber
fuhgeddaboudit has joined #ruby
<existensil>
I want the raspberry pi to connect on boot to this service and listen for messages.
<havenwood>
>> require 'drb/ssl'
<eval-in__>
havenwood => libssl.so.1.0.0: cannot open shared object file: No such file or directory - /execpad/interpreters/ruby-2.1.3/lib/ruby/2.1.0/i686-linux/openssl.so (LoadError) ... (https://eval.in/219042)
<existensil>
Considered redis, but kind of falls down when it comes to authentication
<existensil>
i might check out Drb over ssl
psyprus has quit [Read error: Connection reset by peer]
oleo__ is now known as oleo
<waxjar>
cant you open a port on your router and just use http?
<havenwood>
or dRuby with ssh port forwarding
jimms has joined #ruby
User458764 has joined #ruby
<existensil>
waxjar: I could, but this is far from the last device I will make. I'd prefer all of these raspberry pi's connect to a server that has a bit more power and can manage authentication and other stuff
<waxjar>
ah, i see
<existensil>
and they just connect/subscribe
andrewlio has quit [Remote host closed the connection]
<existensil>
I don't want to try running full rails with asset pipeline and omniauth on the pi
<jhass>
IPv6, built for the internet of things :P
<existensil>
jhass: that's just transport though. not sure how it helps
<existensil>
oh, just saw :-P
<jhass>
you don't need port forwarding to do the classic model
<existensil>
ah, right
<waxjar>
let the pis run a small irc client, and connect to your server
<existensil>
IRC?! I don't know why I didn't think of that
<existensil>
not a terrible idea really
<existensil>
thought about XMPP
<havenwood>
existensil: you can use ACL for whitelisting IPs with DRb too
<existensil>
i might also require an API key or something when establishing the drb connection
User4587_ has quit [Ping timeout: 255 seconds]
<existensil>
that shouldn't be hard to implement
luk3thomas has quit [Quit: luk3thomas]
b3itz has quit [Ping timeout: 246 seconds]
jleishman has joined #ruby
cashnguns has quit [Read error: Connection reset by peer]
cashnguns has joined #ruby
dc_ has joined #ruby
cashnguns has quit [Client Quit]
Cort3z has joined #ruby
thsig__ has quit [Remote host closed the connection]
nonks has joined #ruby
User4587_ has joined #ruby
User458764 has quit [Ping timeout: 264 seconds]
braincrash has quit [Ping timeout: 258 seconds]
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
Jake232 has joined #ruby
mib_mib has joined #ruby
graydot has joined #ruby
avelldiroll has quit [Ping timeout: 258 seconds]
timonv_ has joined #ruby
braincrash has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
majjoha has quit [Ping timeout: 258 seconds]
majjoha has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
adriancb has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby
atmosx has quit [Quit: Lost in trance]
jimms has quit [Remote host closed the connection]
moritzs has quit [Ping timeout: 245 seconds]
User458764 has joined #ruby
mdev has quit [Read error: Connection reset by peer]
jleishman has quit [Quit: Be back later ...]
nonks has quit [Ping timeout: 250 seconds]
icedp has quit [Ping timeout: 258 seconds]
User4587_ has quit [Ping timeout: 250 seconds]
KC9YDN has quit [Quit: ☭ Karl Marx & Friedrich Engels, Vladimir Lenin, Josef Stalin, Mao Tse-Tung, Kim Il Sung, Ho Chi Minh, Fidel Castro & Ernesto Guevara ☭]
r0bby_ has quit [Ping timeout: 265 seconds]
canton7 has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
icedp has joined #ruby
Joufflu has quit [Quit: Leaving]
Soda has quit [Remote host closed the connection]
s2013 has joined #ruby
mib_mib has quit [Ping timeout: 255 seconds]
mib_mib has joined #ruby
freerobby has quit [Quit: Leaving.]
Kruppe has quit [Ping timeout: 258 seconds]
User4587_ has joined #ruby
n3phos has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
Wolland has joined #ruby
User458764 has quit [Ping timeout: 245 seconds]
Kruppe has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
jackyalcine is now known as jalcine
Spami has joined #ruby
kireevco has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
elemenopy has joined #ruby
<elemenopy>
just saying thank you to everyone who has helped us so far, you guys rock. that is all.
Wolland has quit [Ping timeout: 265 seconds]
<s2013>
you welcome
devdazed has joined #ruby
Cache_Money has joined #ruby
rylev has joined #ruby
xanderwebs has joined #ruby
majjoha has quit [Ping timeout: 260 seconds]
fschuindt has quit [Ping timeout: 240 seconds]
Cat_1 has joined #ruby
ixti has joined #ruby
tuelz has joined #ruby
Spami has quit [Ping timeout: 265 seconds]
<tuelz>
I'm working with a new ruby framework (pakyow) that's blowing up because I have vim .swp files in dirs it's autoloading or something. I wanna send a PR to fix it, how do other ruby frameworks handle vim .swp files on autoload?
cerberblue has joined #ruby
iwishiwerearobot has joined #ruby
nahtnam has joined #ruby
<nahtnam>
Hey!
luk3thomas has joined #ruby
ctp has joined #ruby
AFKGeek has joined #ruby
<nahtnam>
I need a little bit of ruby help. I have a variable called options = {:currecny=>"USD", :amount=>1} I need to wrap it in `query:` so I want it to look like this: {query: {:currecny=>"USD", :amount=>1}}. When I try doing options = {query: {options}}, I get an error saying `unexpected '}'`
AFKGeek has quit [Client Quit]
_ixti_ has joined #ruby
<jhass>
remove the inner { }
mib_mib has quit [Ping timeout: 240 seconds]
spastorino has joined #ruby
iwishiwerearobot has quit [Ping timeout: 260 seconds]
jdj_dk has joined #ruby
<nahtnam>
jhass: Thanks
ixti has quit [Ping timeout: 255 seconds]
Rapier- has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
AlexRussia has quit [Ping timeout: 256 seconds]
aspires has quit []
<tuelz>
can ruby blacklist extentions for autoload?
sinequanon has joined #ruby
luk3thomas has quit [Quit: luk3thomas]
oleo has quit [Quit: Verlassend]
<jhass>
tuelz: what do you mean by autoload?
luk3thomas has joined #ruby
vyorkin has quit [Quit: WeeChat 1.0.1]
oleo has joined #ruby
nahtnam has quit [Quit: Page closed]
rylev has quit []
anu has joined #ruby
anu is now known as Guest64992
dkb20k has joined #ruby
graydot has quit [Quit: graydot]
aaronrl has joined #ruby
<tuelz>
jhass: I'm not really sure, not that keen on how frameworks load up files for processing/rendering
AlexRussia has joined #ruby
freezevee has joined #ruby
<jhass>
tuelz: ruby is no framework
<jhass>
it's a language
decoponio has quit [Read error: Connection reset by peer]
<tuelz>
right, I'm wondering how ruby frameworks handle it
<jhass>
maybe you confuse it with Ruby on Rails?
<tuelz>
no, actually the framework is pakyow
freezevee has quit [Remote host closed the connection]
<jhass>
then you should look up its docs about autoloading
<tuelz>
the error is a rack error argument error invalid byte sequence in UTF-8
decoponio has joined #ruby
<tuelz>
jhass: looking at the source right now, not sure when/how it's loading the view files
<tuelz>
was hoping there was an idiomatic way to do stuff like that so I knew where to look
mrdevri has joined #ruby
<zenspider>
uhhh... I'm confused. what does encoding have to do with autoload, or extensions?
luk3thomas has quit [Quit: luk3thomas]
aaronrl_ has quit [Ping timeout: 264 seconds]
<tuelz>
I presume the correct way would be to blacklist vim extentions? Maybe there is a more elegant approach?
<zenspider>
vim?
<tuelz>
zenspider: possibly nothing :p
<tuelz>
right, when you open up a vim buffer it creates a .swp file in the dir you're in
<zenspider>
maybe you should describe your actual problem and ask for help in general?
adriancb has joined #ruby
dkb20k has quit [Ping timeout: 264 seconds]
<tuelz>
when that .swp file exists it is making the server for this ruby framework (pakyow) blow up
fschuindt has joined #ruby
<zenspider>
use a paste service and show your whole error, backtrace and all
<tuelz>
zenspider: awesome thanks. Hoping to fix it myself and push. I work for the guy who is making this framework. I'm sure there is a lot of stuff a single person doens't think about in a frameowrk :)
<tuelz>
zenspider: have a good one
fschuindt has quit [Ping timeout: 260 seconds]
mib_mib has joined #ruby
yfeldblum has joined #ruby
timonv_ has quit [Remote host closed the connection]
aspires has joined #ruby
kyb3r_ has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
Wolland has joined #ruby
Danishman has joined #ruby
Wolland_ has joined #ruby
luk3thomas has joined #ruby
spider-mario has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 245 seconds]
tyll has quit [Ping timeout: 245 seconds]
dc_ has quit [Remote host closed the connection]
x1337807x has quit [Read error: Connection reset by peer]
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
tyll has joined #ruby
corehook has quit [Remote host closed the connection]
x1337807x has joined #ruby
ctp has joined #ruby
havenwood has quit []
DTSCode has quit [Ping timeout: 272 seconds]
D9 has joined #ruby
avelldiroll has joined #ruby
alexclark has joined #ruby
<alexclark>
is there a map like method that won't return nil values?
luk3thomas has quit [Quit: luk3thomas]
Eiam_ has joined #ruby
KC9YDN has joined #ruby
<jhass>
alexclark: no, most people chain to .compact, I prefer to do .select/.reject.map
<sweeper>
what the hell
<sweeper>
alexclark: my name is aleksclark
<alexclark>
jhass: .compact will just kill the nils in the array?
<sweeper>
are you my evil russian twin?
<jhass>
alexclark: yes
<alexclark>
jhass: sweet, thanks man!
<sweeper>
.\/.
<alexclark>
sweeper: no, you spell alex 'aleks'; youre the evil russian
<sweeper>
latvian, although my mom didn't know it at the time
<sweeper>
she was just being weird
ramfjord has joined #ruby
nonks has joined #ruby
cantonic has quit [Quit: cantonic]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
parus has quit [Ping timeout: 260 seconds]
sinequanon has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
parus has joined #ruby
spyderman4g63 has joined #ruby
sinequanon has joined #ruby
<alexclark>
sweeper: haha its a sweet name though. hope it serves you as well as it does me!
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
<sweeper>
better I suspect ;) aleksclark.com and aleks.io are allll mine :D
kireevco has quit [Quit: Leaving.]
majjoha has joined #ruby
spyderman4g63 has joined #ruby
Eiam_ has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
<alexclark>
sweeper: yeah, but im immune to any stalking
spyderman4g63 has quit [Remote host closed the connection]
nonks has quit [Ping timeout: 250 seconds]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
jheg has quit [Quit: jheg]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
sinequanon has quit [Ping timeout: 244 seconds]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
MattB2 has joined #ruby
parus has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
majjoha has quit [Ping timeout: 256 seconds]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
parus has joined #ruby
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
Xeago_ has joined #ruby
desp has joined #ruby
jleishman has joined #ruby
paulfm has joined #ruby
patrick99e99 has joined #ruby
poweratom_ has quit [Quit: Be back later ...]
poweratom_ has joined #ruby
Xeago has quit [Ping timeout: 258 seconds]
parus has quit [Ping timeout: 260 seconds]
parus has joined #ruby
<shevy>
oh god you two nick lovers
shevy is now known as aleksclark
<aleksclark>
hey alexclark
desp has quit [Quit: This computer has gone to sleep]
<alexclark>
aleksclark: yo
patrick99e99 has quit [Ping timeout: 244 seconds]
sailias has joined #ruby
poweratom_ has quit [Ping timeout: 265 seconds]
<aleksclark>
yeah
<aleksclark>
we are doing some ruby brogramming here
<aleksclark>
even sweeper will join
cantonic has joined #ruby
apeiros has joined #ruby
<mostlybadfly>
got my first shoes app done, need to make it package properly :D
byprdct has quit []
<aleksclark>
java shoes?
aspires has quit []
<mostlybadfly>
i guess yeah, is that shoes4?
<mostlybadfly>
i know they made a switch
Rapier- has quit [Ping timeout: 244 seconds]
atmosx has joined #ruby
charliesome has joined #ruby
<atmosx>
hello
BTRE has quit [Ping timeout: 250 seconds]
<mostlybadfly>
hi atmosx
zz_twistedpixels is now known as twistedpixels
tyll has quit [Ping timeout: 264 seconds]
theotherstupidgu has quit [Ping timeout: 265 seconds]
aleksclark is now known as shevy
<shevy>
yeah should be shoes4
tyll has joined #ruby
<mostlybadfly>
i see that 3.2 is still being maintained
Cort3z has quit [Ping timeout: 244 seconds]
theotherstupidgu has joined #ruby
<mostlybadfly>
i basically just made a silly picture you click on and it makes a sound
Alives has joined #ruby
<Alives>
how can i multiply every value in an array by a value, then output as a comma separated string in one line?
rkazak has quit [Quit: Sleep.....ing....]
BTRE has joined #ruby
<jhass>
Alives: #map & #join
havenwood has joined #ruby
Mon_Ouie has quit [Remote host closed the connection]