<slash_nick>
kiba: are you t he kiba that worked in Birmingham, AL?
Hanmac1 has joined #ruby
kbouwser has joined #ruby
nick_h_ has quit [Ping timeout: 245 seconds]
<jbzt>
Does anyone know if there is a way to set a timeout for Net::HTTP.get_response ? I haven't been able to find an example, but I see the continue_timeout attribute, but not sure how to use it
clamstar_ has quit [Quit: Computer has gone to sleep.]
popl has quit [Ping timeout: 272 seconds]
nick_h has joined #ruby
amedeiros has quit [Remote host closed the connection]
jkhwan has quit [Remote host closed the connection]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AMcP has quit [Remote host closed the connection]
magoo has joined #ruby
jkhwan has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
drumusician has quit [Read error: Connection reset by peer]
bricker has quit [Quit: leaving]
drumusician has joined #ruby
workmad3 has joined #ruby
fijimunkii has quit [Ping timeout: 264 seconds]
predator117 has joined #ruby
cow_ has joined #ruby
simoz7 has joined #ruby
<frem>
\part
frem has left #ruby [#ruby]
predator217 has quit [Ping timeout: 252 seconds]
AMcP has joined #ruby
jbzt has quit [Quit: jbzt]
cow_ has quit [Ping timeout: 272 seconds]
Geniack has quit [Disconnected by services]
Geniack_ has joined #ruby
jamesaanderson has joined #ruby
petey has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
psyl0n has joined #ruby
benlieb has joined #ruby
Megtastique has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
dnxx has joined #ruby
<benlieb>
rspec question: what does this do exactly? validator = double("validator")
okinomo has joined #ruby
nfk has quit [Quit: yawn]
<pragmatism>
benlieb: pretty sure it essentially dupes the object.
charliesome has joined #ruby
saarinen has quit [Quit: saarinen]
ludar has quit [Ping timeout: 250 seconds]
<benlieb>
pragmatism: what object, though? The string?
<workmad3>
benlieb: no stubs are set up on the double by default
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mars__ has joined #ruby
<benlieb>
ok
<workmad3>
benlieb: and you'd typically do double(User, email: "foobar")
<benlieb>
so I would just do User.new.stub(:email)
<workmad3>
if you want a test stub that doesn't care what happens to it, you can do double(User).as_null_object
EngierkO has joined #ruby
Mars__ is now known as Mars`
<benlieb>
if I want it to work mostly like a User with some exceptions, I would stub an actual User instance?
EngierkO has quit [Max SendQ exceeded]
<workmad3>
that's what I tend to do
maletor has quit [Quit: Computer has gone to sleep.]
<workmad3>
if I can't get the user to just act like that
havenwood has joined #ruby
<benlieb>
i just don't quite see the benefit yet of pure doubles, then.
wallerdev has quit [Quit: wallerdev]
<benlieb>
because they don't really do anything but what methods you give them.
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
<workmad3>
benlieb: decoupling... you can spec out something that uses a User without actually using a User class
osziradek has joined #ruby
<workmad3>
benlieb: so you can develop stuff that needs a User without developing the User first... and then use the things that need a User to determine the interface for Users
osziradek has quit [Client Quit]
<benlieb>
workmad3: what about for associations: ActiveRecord::AssociationTypeMismatch: User(#70293408442600) expected, got RSpec::Mocks::Mock(#70293416556260)
<benlieb>
I'm new to rspec, mostly done Test::Unit and minitest.
<workmad3>
ah, rails stuff... I used to know some bits for getting mocks to play with rails associations, but nothing recent sorry
<benlieb>
workmad3: that's ok. Factories seem better for this anyway.
EngierkO has joined #ruby
maletor has joined #ruby
havenn has joined #ruby
tyl has joined #ruby
Bira has joined #ruby
havenwood has quit [Ping timeout: 252 seconds]
<workmad3>
benlieb: you can play around with FactoryGirl's .build_stubbed method for some improvements btw ;)
LostMonk has quit [Read error: Connection reset by peer]
maycon has joined #ruby
maycon has joined #ruby
maycon has quit [Changing host]
bszmyd has joined #ruby
endash has joined #ruby
bogeyd6 has joined #ruby
robustus has quit [Ping timeout: 245 seconds]
echevemaster has joined #ruby
culturel_ has joined #ruby
robustus has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
flubba has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
culturel_ has quit [Client Quit]
rjhunter has joined #ruby
toastynerd has quit [Remote host closed the connection]
ssvo has quit [Ping timeout: 250 seconds]
kevind_ has joined #ruby
toastynerd has joined #ruby
reach has quit [Remote host closed the connection]
shadoi has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 245 seconds]
shadoi has joined #ruby
jsaak_ has quit [Read error: Operation timed out]
Gooder has quit [Remote host closed the connection]
micah` has quit [Read error: Operation timed out]
Gooder has joined #ruby
lfox has joined #ruby
lfox has quit [Client Quit]
jsaak has joined #ruby
kcombs has joined #ruby
micah` has joined #ruby
w4pm_ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
culturel_ has joined #ruby
snath has joined #ruby
w4pm has quit [Ping timeout: 240 seconds]
reach has joined #ruby
LexicalScope has joined #ruby
LexicalScope` has joined #ruby
Rickmasta has quit [Quit: Leaving]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subbyyy has quit [Ping timeout: 248 seconds]
iliketur_ has quit [Quit: zzzzz…..]
mrsolo has quit [Quit: This computer has gone to sleep]
loving_ruby has joined #ruby
cow_ has joined #ruby
vlad_starkov has joined #ruby
mklappstuhl has joined #ruby
tyl has quit [Changing host]
tyl has joined #ruby
<loving_ruby>
Hi guys as a beginner to Ruby from a Java background I can't seem to understand Ruby modules, I've tried reading from many sources though just don't get it.
lewix has joined #ruby
maletor has joined #ruby
<apeiros_unid>
loving_ruby: modules are mainly two things: a) namespaces, b) containers for instance methods which can be added elsewhere through include/extend
vlad_starkov has quit [Read error: Connection reset by peer]
<mjc_>
loving_ruby: in the case of b as apeiros_unid mentioned; you can think of modules as a way to add functionality to anothe class
<mjc_>
*another
<loving_ruby>
similar to import in Java I suppose
<apeiros_unid>
don't think so, no
<Jamo>
not really
<apeiros_unid>
similar to abstract classes
<loving_ruby>
oh
<apeiros_unid>
just that you can include as many modules as you want
workmad3 has quit [Ping timeout: 240 seconds]
<mjc_>
abstract classes? not really
<mjc_>
they are mixins
<mjc_>
essentially
cow_ has quit [Ping timeout: 265 seconds]
<apeiros_unid>
mjc_: to an extent, yes, they are similar
flubba has joined #ruby
<apeiros_unid>
mjc_: you can't instantiate modules
<apeiros_unid>
mjc_: include/extend works through inheritance
<loving_ruby>
what are namespaces?
<mjc_>
you can't directly inherit a module, can you ?
cow_ has joined #ruby
toastynerd has joined #ruby
<apeiros_unid>
loving_ruby: Foo::Bar - the constant Bar is within the Foo namespace
<apeiros_unid>
mjc_: include *is* inheriting
<apeiros_unid>
an included module ends up directly in the ancestors
<mjc_>
apeiros_unid: class Foo < MyModule doesn't work, though, right?
<apeiros_unid>
>> module X; end; class A; include X; end; A.ancestors
<pipecloud>
apeiros_unid: No, I think it's Module.include, the class method
<apeiros_unid>
no, it's an instance method
<sarmiena_>
i'm having some strange issues when trying to compare strings. i'm importing a CSV file & noticed that a comparison wasn't working when working with the headers of the CSV.
brianpWins has quit [Quit: brianpWins]
<apeiros_unid>
since your class is an instance of Class which subclasses Module
<sarmiena_>
after some debugging, i found out that "first_name".size was 11
loving_ruby has left #ruby [#ruby]
<sarmiena_>
and if i print each char, there's a leading space
<apeiros_unid>
Module.include exists, but by the way of Module being an instance of Class
<sarmiena_>
but i don't see it … it's just "first_name" … no leading space
<apeiros_unid>
(yay for circular definitions)
<pipecloud>
You're right.
<pipecloud>
It's an instance method.
<apeiros_unid>
sarmiena_: what does "first_name".ord return?
<apeiros_unid>
also, what does "first_name".encoding return?
<apeiros_unid>
(of course - use whatever contains the string instead of the literal)
Rickmasta has joined #ruby
<sarmiena_>
apeiros_unid: 65279
<sarmiena_>
#<Encoding:UTF-8>
<apeiros_unid>
sarmiena_: that's the BOM
<apeiros_unid>
unicode byte order mark
michaeldeol has joined #ruby
<apeiros_unid>
should not be needed with utf-8, though
<sarmiena_>
bom?
<apeiros_unid>
iirc that one is even wrong for utf-8
<apeiros_unid>
so you have a utf-8 string with a utf-16 BOM (which is just plain wrong)
<sarmiena_>
this is such a weak part of my programming knowledge. byte encoding
<sarmiena_>
yeah this is odd
<apeiros_unid>
it's rather char encoding ;-)
<apeiros_unid>
bytes nowadays are pretty much settled for being encoded by 8 bits
cow__ has joined #ruby
amsi has quit [Quit: Leaving]
Mars`_ has joined #ruby
<apeiros_unid>
(you may laugh, but that hasn't always been the case)
kung has quit [Ping timeout: 250 seconds]
<sarmiena_>
ah so chars that are utf-8 use 8 bits
<apeiros_unid>
no
<sarmiena_>
but this one is saying "i have utf-8 encoding" but has 16 char?
<apeiros_unid>
chars in utf-8 can use 1-3 bytes, iirc. might go up to 5, not sure
<sarmiena_>
oh
<sarmiena_>
where's the 8 come from?
<apeiros_unid>
no, it has a mark, which does not belong there
sayan has joined #ruby
<apeiros_unid>
it comes from most chars using a single byte
<sarmiena_>
i see. ok
<apeiros_unid>
well, most as in most western chars
<sarmiena_>
so this is what i did then
<apeiros_unid>
ascii is utf-8 compatible, that is the first 128 chars are identically encoded
<sarmiena_>
"fn" is my variable name
angusiguess has joined #ruby
<apeiros_unid>
"character encoding" is what defines how a character is expressed in bytes
michaeldeol has quit [Ping timeout: 248 seconds]
<sarmiena_>
i see
Mars` has quit [Ping timeout: 240 seconds]
<sarmiena_>
ok i'll look that stuff up. seems like a lot to take in, but i'm due for it
<sarmiena_>
fn. frozen? returns true, so i do the following
cow_ has quit [Ping timeout: 252 seconds]
kitak has quit [Remote host closed the connection]
<sarmiena_>
fn.dup.encode!('utf-8').length
<sarmiena_>
still returns 11
kitak has joined #ruby
<sarmiena_>
how can i remove the byte order mark?
maletor has quit [Quit: Computer has gone to sleep.]
threesome has quit [Read error: Operation timed out]
<apeiros_unid>
for example, the character "ä" in 4 different encodings: windows-1252: "\xe4", macroman: "\x8a", utf-8: "\xc3\xa4", utf-16BE: "\x00\xe4"
cow__ has quit [Ping timeout: 264 seconds]
flubba has quit [Read error: Connection reset by peer]
<apeiros_unid>
sarmiena_: the data is corrupt before already
<apeiros_unid>
so the question is how does fn get filled?
<sarmiena_>
ah ok apeiros_unid. i think this is a lot to work off of
<sarmiena_>
CSV.foreach(file, headers: true)
soheil has quit [Remote host closed the connection]
LexicalScope` has quit [Ping timeout: 246 seconds]
LexicalScope has quit [Ping timeout: 246 seconds]
cow_ has joined #ruby
<apeiros_unid>
`path` is the path to your csv file
fijimunkii has quit [Ping timeout: 265 seconds]
diegoviola has quit [Excess Flood]
<sarmiena_>
ok lemme check it out
<apeiros_unid>
I would expect it to return 1
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
<sarmiena_>
0
<apeiros_unid>
o0
<sarmiena_>
hah
<apeiros_unid>
what encoding is the csv supposed to be?
rjhunter has quit [Ping timeout: 264 seconds]
tyl has quit [Ping timeout: 240 seconds]
<sarmiena_>
i'm assuming utf-8
<sarmiena_>
again, i have very little knowledge of character encoding
<sarmiena_>
what else can i do?
<sarmiena_>
for this particular case?
<apeiros_unid>
hm, odd… so it's not in the file, but when you let CSV parse it, you later have it in…
<apeiros_unid>
is the file sensitive? or can you publish it?
<sarmiena_>
i guess. it's someone's leads
<sarmiena_>
i can PM you link to private pastie
<sarmiena_>
errr.
whysosad has quit [Read error: Connection reset by peer]
<sarmiena_>
dropbox download
punkrawkR has quit [Read error: Connection reset by peer]
preller has quit [Ping timeout: 250 seconds]
whysosad has joined #ruby
tyl has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
glide has joined #ruby
<sarmiena_>
apeiros_unid: i uploaded it to my server
Xeago has quit [Remote host closed the connection]
<sarmiena_>
wanna check it out?
angusiguess has quit [Ping timeout: 252 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fedesilva has joined #ruby
iliketur_ has joined #ruby
<apeiros_unid>
sure
<sarmiena_>
k sec
<apeiros_unid>
paste the code you use to get to the `fn` variable too please
kitak has quit [Remote host closed the connection]
preller has joined #ruby
kitak has joined #ruby
iliketur_ has quit [Client Quit]
fedesilva has quit [Remote host closed the connection]
<sarmiena_>
apeiros_unid: you got it?
<apeiros_unid>
yes
<sarmiena_>
cool thanks
shevy has quit [Ping timeout: 265 seconds]
<apeiros_unid>
on which row do you get the issue?
<apeiros_unid>
and what column?
lethjakman has quit [Ping timeout: 252 seconds]
<apeiros_unid>
ah… funky… the column name itself is the problem?
kitak has quit [Ping timeout: 245 seconds]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
shevy has joined #ruby
habanany has joined #ruby
<apeiros_unid>
ok, I was slightly mislead - your file has a utf-8 bom
jamesaanderson has joined #ruby
joast has quit [Quit: Leaving.]
<apeiros_unid>
seems the BOM codepoint is identical for all utf encodings. makes sense actually. the byte representation is what changes. same as for other character.
<sarmiena_>
ok ok
<apeiros_unid>
*characters
<sarmiena_>
so that stack overflow thing should work?
<apeiros_unid>
so the solution from SO should work
<apeiros_unid>
yes
<sarmiena_>
wonderful!!! thanks. btw you said many things that i don't really understand. but copying them to clipboard to investigate later. thank you!!!
<apeiros_unid>
sarmiena_: codepoint is the numerical value assigned to a character. an ID so to speak. how that character is encoded in bytes is determined by the encoding. see example above.
Barrin6 has joined #ruby
<apeiros_unid>
(with the 4 encodings)
cow_ has quit [Remote host closed the connection]
<apeiros_unid>
.ord gives you the codepoint of the first character.
<apeiros_unid>
in ASCII codepoint == binary value of the byte
habanany has quit [Ping timeout: 265 seconds]
<apeiros_unid>
(in any single-byte encoding, codepoint == binary value of the byte, I think - at least I'm unaware of one which differs)
gja has joined #ruby
<sarmiena_>
ok. more to the clipboard :) how did you learn about all this char encoding stuff anyhow? experience or schooling?
preller has quit [Ping timeout: 246 seconds]
hakunin has quit [Ping timeout: 252 seconds]
mojjojo has joined #ruby
<apeiros_unid>
no idea. I usually learn when I need something.
<apeiros_unid>
and then I just scour the web ;-)
Hanmac has joined #ruby
sayan has quit [Quit: Leaving]
w4pm_ has quit [Ping timeout: 248 seconds]
preller has joined #ruby
joast has joined #ruby
Hanmac1 has quit [Ping timeout: 250 seconds]
freakazoid0223 has quit [Quit: Leaving]
chihhsin has quit [Ping timeout: 265 seconds]
baroquebobcat has joined #ruby
digital-ghost has quit [Remote host closed the connection]
osvico has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
cow_ has joined #ruby
Advocation has joined #ruby
vlad_starkov has joined #ruby
joaoh82 has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
vlad_starkov has quit [Read error: Connection reset by peer]
huttan_ has quit [Ping timeout: 246 seconds]
shevy has quit [Ping timeout: 252 seconds]
Advocation has quit [Ping timeout: 250 seconds]
ninegrid has quit [Ping timeout: 260 seconds]
clamstar_ has joined #ruby
mojjojo has quit [Quit: mojjojo]
michael_lee has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
nari has joined #ruby
shevy has joined #ruby
Duckily has quit [Quit: Duckily]
ewnd9 has joined #ruby
michaeldeol has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
mastr has quit [Ping timeout: 246 seconds]
michaeldeol has quit [Ping timeout: 246 seconds]
saarinen has joined #ruby
saarinen has quit [Client Quit]
sarmiena_ has quit [Quit: sarmiena_]
lyanchih_ has quit [Quit: lyanchih_]
cbetta is now known as cbetta_afk
w4pm has joined #ruby
rjhunter has joined #ruby
<mjc_>
yay semver after 2.1
ninegrid has joined #ruby
rjhunter has quit [Ping timeout: 272 seconds]
radic has quit [Disconnected by services]
radic_ has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
nari has quit [Read error: Operation timed out]
angusiguess has quit [Ping timeout: 272 seconds]
prc has quit [Quit: Leaving.]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joaoh82 has joined #ruby
nobitanobi has joined #ruby
kitak has joined #ruby
Megtastique has joined #ruby
didge has joined #ruby
<nobitanobi>
Given a Time object, how can I convert it to CET?
kbouwser has quit [Quit: Computer has gone to sleep.]
simoz7 has joined #ruby
didge has quit [Client Quit]
larissa has quit [Quit: Leaving]
didge has joined #ruby
joaoh82 has quit [Ping timeout: 240 seconds]
Mars`_ has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
alvinsj has joined #ruby
mklappstuhl has joined #ruby
cmedeiros has joined #ruby
snath has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
mikepack has joined #ruby
ae-r has joined #ruby
cryptocrying has left #ruby [#ruby]
<nobitanobi>
hephaestus_rg, ok, thanks :P
toastynerd has joined #ruby
<hephaestus_rg>
* thanks for pointing that out it's pretty cool feature of this channel
w4pm has joined #ruby
<nobitanobi>
hehe, yeah
<nobitanobi>
thanks man.
<nobitanobi>
However, if I provide the offset...
ae-r has quit [Client Quit]
<nobitanobi>
ok, deal
<nobitanobi>
thanks!
osvico has quit [Ping timeout: 272 seconds]
mklappstuhl has quit [Remote host closed the connection]
nari has joined #ruby
kofno has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 245 seconds]
toastynerd has quit [Ping timeout: 252 seconds]
kcombs has quit [Remote host closed the connection]
drider has joined #ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
yacks has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
iliketur_ has joined #ruby
agent_white has joined #ruby
alvinsj has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
iliketu__ has joined #ruby
iliketu__ has quit [Client Quit]
iliketur_ has quit [Ping timeout: 264 seconds]
drider has quit [Quit: leaving]
kofno has joined #ruby
cow_ has quit [Remote host closed the connection]
cow_ has joined #ruby
michaeldeol has joined #ruby
w4pm has quit [Ping timeout: 265 seconds]
estebistec has joined #ruby
snath has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
cow_ has quit [Ping timeout: 245 seconds]
glide has quit [Quit: cya]
brennanMKE has joined #ruby
alvinsj has joined #ruby
joaoh82 has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
Jetchisel has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
estebistec has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Ping timeout: 245 seconds]
gquental has quit [Read error: Operation timed out]
primenum has joined #ruby
brennanMKE has quit [Ping timeout: 264 seconds]
Jetchisel has joined #ruby
rjhunter has joined #ruby
joaoh82 has quit [Ping timeout: 248 seconds]
LexicalScope` has joined #ruby
LexicalScope has joined #ruby
LexicalScope has joined #ruby
shedd has joined #ruby
toastynerd has joined #ruby
tannerburson has quit [Quit: tannerburson]
rjhunter has quit [Ping timeout: 240 seconds]
alvinsj has quit [Read error: Connection reset by peer]
alvinsj has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
IceDragon has quit [Quit: Space~~~]
snath has quit [Quit: Leaving]
snath has joined #ruby
toastynerd has quit [Ping timeout: 252 seconds]
Azure has quit [Quit: My MBP went to sleep.]
juarlex has joined #ruby
browndawg has joined #ruby
dseitz has joined #ruby
LexicalScope` has quit [Ping timeout: 265 seconds]
LexicalScope has quit [Ping timeout: 265 seconds]
Azure has joined #ruby
freakazoid0223 has joined #ruby
snath has quit [Client Quit]
gquental has joined #ruby
snath has joined #ruby
snath has quit [Client Quit]
snath has joined #ruby
otherj has quit []
toastynerd has joined #ruby
Mars` has joined #ruby
woodby has joined #ruby
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
LexicalScope` has joined #ruby
juarlex has quit [Read error: Connection reset by peer]
Jetchisel has quit [Ping timeout: 260 seconds]
Kiba has quit [Ping timeout: 250 seconds]
LexicalScope` has quit [Client Quit]
estebanrules has joined #ruby
Jetchisel has joined #ruby
sambao21 has joined #ruby
benlieb has quit [Quit: benlieb]
snath has quit [Quit: Leaving]
snath has joined #ruby
ahawkins has joined #ruby
ylluminate has joined #ruby
rootshift has quit [Quit: rootshift]
estebanrules has quit [Client Quit]
browndawg1 has joined #ruby
Kiba has joined #ruby
snede has joined #ruby
habanany1 has quit [Ping timeout: 248 seconds]
snede has quit [Remote host closed the connection]
agjacome has quit [Ping timeout: 264 seconds]
browndawg has quit [Ping timeout: 252 seconds]
alvinsj has quit [Read error: Connection reset by peer]
snath has quit [Quit: Leaving]
mercwithamouth has joined #ruby
alvinsj has joined #ruby
CaptainJet has quit [Read error: Connection reset by peer]
voland has quit [Remote host closed the connection]
cow_ has joined #ruby
voland has joined #ruby
fijimunkii has joined #ruby
simoz8 has quit [Ping timeout: 260 seconds]
fomatin has quit [Quit: Computer has gone to sleep.]
LostMonk has joined #ruby
vlad_starkov has joined #ruby
sandeepk has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
pel_daniel has left #ruby [#ruby]
Zespre_ is now known as Zespre
mklappstuhl has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
snath has joined #ruby
alvinsj has joined #ruby
dapz has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
mklappstuhl has quit [Ping timeout: 264 seconds]
maroloccio has joined #ruby
sarmiena_ has joined #ruby
michaeldeol has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
flubba has quit [Remote host closed the connection]
alvinsj has joined #ruby
juarlex has joined #ruby
charliesome has joined #ruby
subbyyy_ has joined #ruby
joaoh82 has joined #ruby
TTilus has quit [Ping timeout: 248 seconds]
TTilus has joined #ruby
michaeldeol has quit [Ping timeout: 245 seconds]
freakazoid0223 has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Goodbye]
diegoviola has quit [Ping timeout: 246 seconds]
toastyne_ has joined #ruby
toastynerd has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
rjhunter has joined #ruby
joaoh82 has quit [Ping timeout: 265 seconds]
snath has left #ruby ["Leaving"]
Mars` has quit [Remote host closed the connection]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
lewix has quit [Remote host closed the connection]
Mars` has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.1]
lewix has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
araujo has quit [Quit: Leaving]
snath has joined #ruby
brunops has quit [Quit: leaving]
rjhunter has quit [Ping timeout: 264 seconds]
phansch has joined #ruby
alvinsj has quit [Read error: Connection reset by peer]
alvinsj has joined #ruby
brennanMKE has joined #ruby
juarlex has quit [Ping timeout: 260 seconds]
juarlex has joined #ruby
ValicekB has joined #ruby
juarlex has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
funburn has joined #ruby
Kricir has joined #ruby
emocakes has quit [Quit: Leaving...]
primenum has quit [Ping timeout: 264 seconds]
emocakes has joined #ruby
* agent_white
pats the crickets
ckinni has joined #ruby
ehc has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki>
allo allo
BraddBitt has quit [Ping timeout: 245 seconds]
BraddPitt has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sarmiena_ has quit [Quit: sarmiena_]
TDJACR has quit [Quit: Quit]
TDJACR has joined #ruby
sheap has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
sandeepk has quit [Quit: Leaving...]
LexicalScope has quit [Ping timeout: 252 seconds]
gja has joined #ruby
sandeepk has joined #ruby
Lewis has joined #ruby
sandeepk has quit [Client Quit]
snath has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
<hephaestus_rg>
chirp
snath has joined #ruby
ValicekB has quit [Read error: Operation timed out]
Kiba has quit [Ping timeout: 264 seconds]
<nobitanobi>
given an Addressable object, how do I get the full URI out of it?
<nobitanobi>
:/
Gooder` has joined #ruby
ahawkins has quit [Ping timeout: 240 seconds]
guardianx has joined #ruby
Gooder has quit [Ping timeout: 272 seconds]
alvinsj has quit [Read error: Connection reset by peer]
mduvall has joined #ruby
alvinsj has joined #ruby
flubba has joined #ruby
funburn has quit [Quit: funburn]
dapz has quit [Ping timeout: 260 seconds]
phansch has quit [Quit: Leaving]
frustrum has quit [Ping timeout: 264 seconds]
juarlex has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 240 seconds]
alvinsj has quit [Read error: Connection reset by peer]
tyl has joined #ruby
alvinsj has joined #ruby
Lewis has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
OdNairy has joined #ruby
funburn has joined #ruby
ValicekB has joined #ruby
<whysosad>
hi, i defined an instance variable @health = 0, when I use with an operator, i get undefined method '>' for nil:NilClass... with the expressiong. @health < warrior.health
<whysosad>
i do not understand why @health is considered nil value
<Barrin6>
paste the whole code here?
<Barrin6>
i made in pastebin
<Barrin6>
i mean*
<whysosad>
well i'm doing this web app, it's like a game, I'm supposed to program my way to victory, so this might not make sense, but on it
<whysosad>
im slightly not sure. @ was inside a class when defined, which is what it's describbed as. a variable defined in a class, i'll read on it though
dima_ has joined #ruby
mrsolo has joined #ruby
mduvall has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby
lyanchih_ has joined #ruby
ffio has joined #ruby
yacks has quit [Ping timeout: 245 seconds]
pen has quit []
gja has joined #ruby
ehc has quit [Quit: ehc]
ValicekB has quit [Ping timeout: 245 seconds]
ehc has joined #ruby
lewix has quit [Remote host closed the connection]
dima_ has quit [Remote host closed the connection]
whatthewhat has joined #ruby
hamakn has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
cow_ has quit [Remote host closed the connection]
samsonasu has joined #ruby
ValicekB has joined #ruby
Mars` has quit [Remote host closed the connection]
funburn has quit [Quit: funburn]
alvinsj has quit [Read error: Connection reset by peer]
shreknet has joined #ruby
avalarion has quit [Ping timeout: 240 seconds]
alvinsj has joined #ruby
lewix has joined #ruby
lukec has joined #ruby
cow_ has joined #ruby
kenrick has quit [Ping timeout: 252 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
nobitanobi has quit [Quit: Leaving]
mrsolo has joined #ruby
CaptainJet has joined #ruby
relix has joined #ruby
alvinsj has quit [Remote host closed the connection]
tharindu has joined #ruby
agent_white has quit [Quit: bblolol]
funburn has joined #ruby
michaeldeol has joined #ruby
hephaestus_rg has quit [Quit: hephaestus_rg]
cow_ has quit [Remote host closed the connection]
Asitha has joined #ruby
cow_ has joined #ruby
kitak has quit [Remote host closed the connection]
phansch has joined #ruby
joaoh82 has joined #ruby
michaeldeol has quit [Ping timeout: 264 seconds]
cow_ has quit [Ping timeout: 250 seconds]
Mars` has joined #ruby
rjhunter has joined #ruby
noop has joined #ruby
joaoh82 has quit [Ping timeout: 264 seconds]
shime has joined #ruby
flubba has quit [Remote host closed the connection]
rjhunter has quit [Ping timeout: 252 seconds]
ehc has quit [Quit: ehc]
funburn has quit [Quit: funburn]
phipes has quit []
robbyoconnor has joined #ruby
robbyoconnor has quit [Client Quit]
jamesaanderson has joined #ruby
jamesaanderson has quit [Client Quit]
Zesty has joined #ruby
toastyne_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
coder_neo has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
lukec has quit [Quit: lukec]
wildroman2 has joined #ruby
ehc has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
dima_ has joined #ruby
dima_ has quit [Remote host closed the connection]
dima_ has joined #ruby
shime has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
phansch has quit [Quit: Leaving]
toastynerd has joined #ruby
dima__ has joined #ruby
Asitha has quit []
hamakn has quit [Ping timeout: 240 seconds]
diegoviola has quit [Ping timeout: 248 seconds]
kil0byte has joined #ruby
dima_ has quit [Ping timeout: 250 seconds]
dima__ has quit [Remote host closed the connection]
io_syl has quit []
whatthewhat has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
juarlex has joined #ruby
dima_ has joined #ruby
end_guy has quit [Remote host closed the connection]
zipper has joined #ruby
yshh has joined #ruby
nouitfvf has joined #ruby
nouitfvf has quit [Read error: Connection reset by peer]
samsonasu has quit [Quit: samsonasu]
nouitfvf has joined #ruby
dima_ has quit [Remote host closed the connection]
Monie has joined #ruby
nouitfvf_ has quit [Ping timeout: 252 seconds]
tyl has quit [Ping timeout: 264 seconds]
juarlex has quit [Ping timeout: 250 seconds]
AlSquire has joined #ruby
tyl has joined #ruby
Kricir has quit [Remote host closed the connection]
mityaz has joined #ruby
michaeldeol has joined #ruby
Mars` has quit [Remote host closed the connection]
hamakn has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
Mars` has joined #ruby
joaoh82 has joined #ruby
kil0byte has quit [Remote host closed the connection]
postmodern has joined #ruby
michaeldeol has quit [Ping timeout: 265 seconds]
wildroman2 has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
joaoh82 has quit [Ping timeout: 265 seconds]
rjhunter has joined #ruby
cow_ has joined #ruby
PebkacJones has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
toastynerd has quit []
PebkacJones has left #ruby [#ruby]
kitak has joined #ruby
CaptainJet has quit []
rjhunter has quit [Ping timeout: 252 seconds]
kil0byte has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kitak has quit [Ping timeout: 245 seconds]
cmedeiros has quit [Ping timeout: 246 seconds]
St_Marx has quit [Remote host closed the connection]
cow_ has quit [Remote host closed the connection]
claymore has joined #ruby
cow_ has joined #ruby
fire has joined #ruby
ehc has quit [Quit: ehc]
vikhyat has joined #ruby
kofno has quit [Ping timeout: 248 seconds]
phus1on has joined #ruby
yshh has quit [Remote host closed the connection]
RoterFranz has quit [Quit: Leaving]
cow_ has quit [Ping timeout: 250 seconds]
ckinni has joined #ruby
echevemaster has quit [Quit: Leaving]
MrZYX|off is now known as MrZYX
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subbyyy_ has joined #ruby
Barrin6 has quit [Quit: Leaving]
yacks has joined #ruby
tyl has joined #ruby
tyl has quit [Read error: Connection reset by peer]
tyl has joined #ruby
kitak has joined #ruby
EngierkO has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
clamstar_ has quit [Quit: Computer has gone to sleep.]
threesome has joined #ruby
OdNairy has quit [Ping timeout: 248 seconds]
dogweather has joined #ruby
coffeina has joined #ruby
cow_ has joined #ruby
nari has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 265 seconds]
<dogweather>
Is rvm installation broken for anyone else? (tried on multiple Ubuntu 12.04.3 vm's)
OdNairy has joined #ruby
shaunbaker has joined #ruby
Hanmac1 has joined #ruby
drumusician has joined #ruby
SeySayux has quit [Ping timeout: 264 seconds]
Hanmac has quit [Ping timeout: 265 seconds]
Advocation has joined #ruby
<pontiki>
dogweather: check in the #rvm channel? see if michal is there
<dogweather>
thanks!
<pontiki>
mpapas
jkhwan has joined #ruby
postmodern has quit [Quit: Leaving]
Elhu has joined #ruby
SeySayux has joined #ruby
<dogweather>
Talked to mpapas: rvm *is* currently broken. Fixes are on head, he's pushing to stable.
guardianx has quit [Ping timeout: 250 seconds]
yshh has joined #ruby
Advocation has quit [Ping timeout: 252 seconds]
ndngvr has joined #ruby
wildroman2 has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
jkhwan has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
ludar has joined #ruby
ludar has quit [Client Quit]
yshh has quit [Ping timeout: 250 seconds]
kil0byte has quit [Remote host closed the connection]
akonny has joined #ruby
akonny has quit [Client Quit]
blackmesa has joined #ruby
akonny has joined #ruby
lewix has joined #ruby
culturel_ has joined #ruby
tvw has joined #ruby
culturel_ has quit [Max SendQ exceeded]
casheew has quit [Read error: Connection reset by peer]
lyanchih_ has joined #ruby
atmosx has joined #ruby
<shevy>
hehehe
<shevy>
noobs
<shevy>
sooooo noobs!
culturel_ has joined #ruby
dogweather has left #ruby [#ruby]
dima_ has joined #ruby
Mars` has quit [Remote host closed the connection]
lewix has quit [Ping timeout: 240 seconds]
kenrick has quit [Ping timeout: 252 seconds]
bricker`LA has quit [Quit: leaving]
joaoh82 has joined #ruby
cibs_ has joined #ruby
carraroj has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
joaoh82_ has joined #ruby
cibs has quit [Ping timeout: 256 seconds]
dima_ has quit [Ping timeout: 260 seconds]
joaoh82 has quit [Ping timeout: 248 seconds]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shedd has joined #ruby
casheew has joined #ruby
casheew has quit [Read error: Connection reset by peer]
drago777 has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
phus1on has quit [Quit: .]
shime has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
eliasp has joined #ruby
<pontiki>
yeah, he's usually right on top of things
culturel_ has joined #ruby
drago777 has joined #ruby
Duckily has joined #ruby
Hanmac1 has quit [Ping timeout: 245 seconds]
akonny has quit [Ping timeout: 250 seconds]
hamakn has joined #ruby
ValicekB has quit [Ping timeout: 260 seconds]
Hanmac has joined #ruby
joaoh82_ has quit []
eliasp has quit [Remote host closed the connection]
dogweather has joined #ruby
eliasp has joined #ruby
joaoh82 has joined #ruby
skaflem has joined #ruby
dima_ has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dima_ has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 260 seconds]
culturel_ has joined #ruby
casheew has joined #ruby
prc has joined #ruby
araujo has joined #ruby
akonny has joined #ruby
ValicekB has joined #ruby
workmad3 has joined #ruby
St_Marx has joined #ruby
Kilo`byte has quit [Ping timeout: 240 seconds]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coffeina has quit [Remote host closed the connection]
vikhyat has quit [Remote host closed the connection]
tvw has quit []
Hanmac1 has joined #ruby
Kilo`byte has joined #ruby
vlad_starkov has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
OdNairy has quit [Ping timeout: 240 seconds]
spider-mario has joined #ruby
OdNairy has joined #ruby
subbyyy_ has quit [Ping timeout: 250 seconds]
shedd has joined #ruby
mrsolo has joined #ruby
sayan has joined #ruby
Hanmac has joined #ruby
vikhyat has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
shedd has quit [Ping timeout: 240 seconds]
mrsolo has quit [Ping timeout: 240 seconds]
tskogberg has quit [Ping timeout: 240 seconds]
ewnd9 has quit [Remote host closed the connection]
jibi has joined #ruby
joaoh82 has quit [Remote host closed the connection]
ewnd9 has joined #ruby
tskogberg has joined #ruby
Guest86261 has joined #ruby
brianpWins has joined #ruby
bnjamin has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
Guest86261 has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
lxsameer has joined #ruby
<lxsameer>
hi guys, is there any way to encrypt ruby code ? specially a ruby gem ?
<popl>
Why do you want to do that?
culturel_ has joined #ruby
<lxsameer>
popl: I have to store a peace of code in client which needed to be encrypted
lyanchih_ has joined #ruby
<MrZYX>
get concrete, what kind of code? what kind of client? what does it do? is it just data?
Elhu has quit [Quit: Computer has gone to sleep.]
<lxsameer>
MrZYX: i looking for a solution to prevent customers to steal our code. first thing comes to mind is to encrypt source code
<workmad3>
lxsameer: so the code needs to be run on the machines it's encrypted on?
<popl>
Copyright it, then sue them if they steal it.
juarlex has quit [Ping timeout: 252 seconds]
<workmad3>
popl: copyright is automatic ;)
shaunbak_ has joined #ruby
rjhunter has joined #ruby
<lxsameer>
workmad3: yeah
vlad_starkov has quit [Remote host closed the connection]
shaunbak_ has quit [Remote host closed the connection]
<popl>
workmad3: It's easier to get statutory damages if your work is copyrighted.
<lxsameer>
popl: we have the copyright, but in our company copyright is nothing
<Hanmac>
lxsameer: does not work so good for interpreted code ... (there are some products that say they can do it but i do not trust them)
<workmad3>
popl: yes... my point is that your work is *automatically* copyrighted
<Hanmac>
but your code in a C extension and only ship the compiled variants ;P
<workmad3>
popl: copyright messages don't *grant* copyright, they're merely informational to say who the copyright belongs to
<lxsameer>
Hanmac: Agree
shaunbaker has quit [Ping timeout: 265 seconds]
<popl>
workmad3: Yeah, obviously.
<workmad3>
Hanmac: doesn't work so well for compiled code either... it can still be decompiled, traced, figured out, etc
gauteh has joined #ruby
<workmad3>
lxsameer: there's some pretty cutting edge techniques in functional encryption that could help your situation
<workmad3>
lxsameer: but they're not in any way usable yet
<lxsameer>
workmad3: thanks man i have to read more in this matter
<workmad3>
lxsameer: so currently, unless you happen to be brilliant at turning theoretical crypto ideas into working code, the answer is 'nope, can't really do it'
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has quit [Remote host closed the connection]
<workmad3>
lxsameer: after all, you want to encrypt it, but you also need to provide the decryption key in order to run the code
jgrevich has quit [Quit: jgrevich]
<workmad3>
lxsameer: so the most you're really doing is some form of DRM
akonny has quit [Ping timeout: 260 seconds]
eddyluv1 has joined #ruby
<Hanmac>
and as far as i know also DRM is not fail-safe
<workmad3>
Hanmac: DRM is completely shit at preventing copying
michaeldeol has joined #ruby
yacks has quit [Quit: Leaving]
marr has joined #ruby
<Hanmac>
yeah DRM only anoys the real customers
<workmad3>
Hanmac: the only thing DRM is used for is to force limitations on 'legal' players
<workmad3>
'oh, you want to skip adverts? sorry, the DRM says you can't'
mastr has joined #ruby
wallerdev has quit [Quit: wallerdev]
lyanchih_ has quit [Quit: lyanchih_]
fire has quit [Quit: WeeChat 0.4.1]
<workmad3>
nothing stops a player from doing it, other than a legal agreement that if they want to licence the codecs to play the content, they also need to licence the DRM and follow its rules
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MrZYX>
lxsameer: why are you coming up with it? did you have case where your code got stolen?
<Hanmac>
workmad3: if you use Firefox as browser i have an addon you may like ... named RequestPolicy ... with that you can control if website A is allowed to access content of website B ;P
<workmad3>
Hanmac: a client-side CORS thing? :)
<popl>
Hanmac: I use it.
<popl>
Hanmac: It's annoying sometimes but I would prefer to have it rather than not.
wildroman2 has joined #ruby
<Hanmac>
combined with NoScript and AdblockPlus this is my TriForce of Protection ;P
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
<popl>
Hanmac: I use Ghostery too.
michaeldeol has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<popl>
I like Ghostery's interface better than ABPs.
<workmad3>
Hanmac: ah, seems more similar to X-Content-Security-Policy headers
<popl>
*ABP's
<workmad3>
Hanmac: but client side
<shevy>
I wanna merge all addons into one addon
fire has joined #ruby
<popl>
shevy: Are you high?
carraroj has quit [Ping timeout: 240 seconds]
<Hanmac>
shevy you mean all this 3(4) or do you mean very all addons? ;P
<popl>
I took it to mean the latter.
<shevy>
only the useful addons
<popl>
That's a subjective determination.
<popl>
Useful to whom?
<popl>
:)
<shevy>
to the user
<popl>
Are you including developers in your definition of user?
<shevy>
if they use it sure
<shevy>
if they don't use it no
<shevy>
why would developers not be users popl?
<popl>
So that's two separate addons.
<Hanmac>
popl: for sample currently its not possible combined RequestPolicy + NoScript do to this: "allow javascript from Domain A but only when used on Domain B" or "allow javascript from Domain A but deny when used on Domain B"
<shevy>
huh?
<shevy>
I am a user and a developer all the time!
<popl>
shevy: If you include, say, Selenium for developers and exclude it for other users, then you would have to have at least two addons.
<popl>
Hanmac: Not as far as I know, but that would be awesome.
* Hanmac
always knows what is "Awesome!" i watched AdventureTime ;P
wildroman2 has quit [Ping timeout: 264 seconds]
<popl>
I've only seen a few minutes of one episode.
<Hanmac>
popl & shevy there is AddonFox with that you can easy install addons
charliesome has joined #ruby
akonny has joined #ruby
Elhu has joined #ruby
<popl>
I also use pentadactyl. I presume other people do not. So that's four addons.
noop has quit [Ping timeout: 240 seconds]
<popl>
shevy, my friend, your idea is quickly sinking
<popl>
;)
<shevy>
it's been years since I fiddled with firefox addons
<shevy>
I ended up with like 20 different extensions and it was too annoying to reinstall, keep track of them etc...
<shevy>
I reinstall often :)
Mars` has joined #ruby
<popl>
You can have Firefox automatically update them for you.
noop has joined #ruby
<shevy>
but firefox is gone every 2 weeks!
TomRone has quit [Ping timeout: 240 seconds]
<popl>
Why every two weeks?
<shevy>
every time I install another distribution here :)
<shevy>
well it's no longer true
<shevy>
it's more like 2 months now
<MrZYX>
shevy: you should do a LFS ;P
<shevy>
yeah
<shevy>
problem is you need to keep track of changes
<popl>
I did LFS before. IT was fun.
<popl>
Just write a script to keep track.
skaflem has quit [Quit: Leaving]
<popl>
*It
<shevy>
none of you does that :(
<popl>
Does what?
<shevy>
popl what operating system do you use right now?
<popl>
I am using Slackware 64
* Hanmac
used firefox from a nightly repository ;P
<shevy>
cool... I am on slackware as well right now
TomRone has joined #ruby
<shevy>
Hanmac is on ubuntu
<shevy>
MrZYX is on crack
<MrZYX>
no I'm not ;)
<shevy>
:D
lkba has quit [Ping timeout: 246 seconds]
akonny has quit [Ping timeout: 264 seconds]
joaoh82 has joined #ruby
teenwolf has quit [Quit: Leaving...]
joaoh82 has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
tyl has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
joaoh82 has quit [Ping timeout: 260 seconds]
klaut has joined #ruby
intuxicated has quit [Ping timeout: 250 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kil0byte has joined #ruby
Mars` has quit [Ping timeout: 245 seconds]
ace_striker has joined #ruby
dima_ has joined #ruby
zz_N00D is now known as CripperZ
CripperZ is now known as N00D
robbyoconnor has joined #ruby
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby
vikhyat has quit [Remote host closed the connection]
leejongwook has joined #ruby
kil0byte has quit [Ping timeout: 260 seconds]
yshh has joined #ruby
dima_ has quit [Ping timeout: 248 seconds]
kitak has quit [Read error: Connection reset by peer]
intuxicated has joined #ruby
vikhyat has joined #ruby
leejongwook has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby
jibi has quit [Quit: .]
jibi has joined #ruby
Duckily has quit [Quit: Duckily]
reach has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
dhruvasagar has joined #ruby
kitak_ has quit [Remote host closed the connection]
cibs has joined #ruby
Naoe-Kanno has joined #ruby
psyl0n has joined #ruby
kitak has joined #ruby
kofno has joined #ruby
m8 has joined #ruby
SHyx0rmZ has quit [Ping timeout: 250 seconds]
alexherbo2 has joined #ruby
cibs_ has quit [Ping timeout: 256 seconds]
abra has joined #ruby
jibi has quit [Quit: leaving]
plotter has joined #ruby
plotter has joined #ruby
plotter has quit [Changing host]
kofno has quit [Ping timeout: 245 seconds]
cibs has quit [Read error: Connection reset by peer]
Elhu has quit [Quit: Computer has gone to sleep.]
cibs has joined #ruby
blackmesa has joined #ruby
michaeldeol has joined #ruby
michaeldeol has quit [Ping timeout: 248 seconds]
tharindu has quit [Quit: Leaving...]
lkba has joined #ruby
jibi has joined #ruby
cow_ has quit [Remote host closed the connection]
cow_ has joined #ruby
nari has joined #ruby
_HolyCow1 has joined #ruby
cow_ has quit [Ping timeout: 252 seconds]
nowthatsamatt has quit [Quit: nowthatsamatt]
dhruvasagar has quit [Ping timeout: 250 seconds]
threesome has quit [Ping timeout: 252 seconds]
_HolyCow has quit [Ping timeout: 246 seconds]
bogeyd6 has quit [Ping timeout: 272 seconds]
Jelco has quit [Ping timeout: 246 seconds]
whysomad has joined #ruby
phus1on has joined #ruby
bogeyd6 has joined #ruby
Hanmac1 has joined #ruby
mklappstuhl has joined #ruby
whysosad has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
Jelco has joined #ruby
cow_ has joined #ruby
joaoh82 has joined #ruby
_HolyCow1 has quit [Ping timeout: 265 seconds]
ayonix has joined #ruby
<ayonix>
hey, i simply want a http-server that accepts post requests and reads the body of it. With TcpServer I would have to take care of responding correctly myself, which i don't want. is there a good alternative?
<MrZYX>
did you look into rack?
_HolyCow has joined #ruby
<ayonix>
i tried to
<popl>
What prevented you?
TomRone has quit [Ping timeout: 240 seconds]
<ayonix>
i couldn't find something that looks like what i want :)
Hanmac has joined #ruby
<popl>
So you're being lazy. Boo.
<ayonix>
at least i thought so
joaoh82 has quit [Ping timeout: 265 seconds]
<popl>
rack is really, really simple.
<popl>
What is it you want to do?
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
parduse has quit [Ping timeout: 245 seconds]
TomRone has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
<ayonix>
just have an script listening to http-requests :)
<ayonix>
which is not depending on something like rackup
<shevy>
alexherbo2, both methods call the C function rb_str_format
freerobby has quit [Quit: Leaving.]
joaoh82 has joined #ruby
<MrZYX>
oh, I hoped rb_str_format just calls rb_str_format_m
dhruvasagar has quit [Ping timeout: 272 seconds]
blackmesa has joined #ruby
mastr has quit [Read error: Operation timed out]
<MrZYX>
alexherbo2: so you have to override both
<MrZYX>
maybe make one just calling the other
Czupa has quit [Read error: Connection reset by peer]
joaoh82 has quit [Ping timeout: 240 seconds]
carraroj has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
subbyyy_ has joined #ruby
threesome has joined #ruby
skinny_much has quit [Read error: Operation timed out]
hamakn has joined #ruby
Elhu has joined #ruby
skinny_much has joined #ruby
Mon_Ouie has quit [Read error: Operation timed out]
fomatin has joined #ruby
sheap has joined #ruby
hamakn has quit [Ping timeout: 272 seconds]
TomRone has quit [Ping timeout: 240 seconds]
urbanslug has quit [Quit: leaving]
fedesilva has quit [Remote host closed the connection]
TomRone has joined #ruby
kofno has joined #ruby
octoberry has quit [Ping timeout: 252 seconds]
Spami has quit [Quit: This computer has gone to sleep]
vikhyat has quit [Remote host closed the connection]
Megtastique has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
juarlex has joined #ruby
maycon has quit [Quit: Saindo]
IceDragon has joined #ruby
wallerdev has joined #ruby
Neomex has joined #ruby
Megtastique has quit [Client Quit]
juarlex has quit [Ping timeout: 272 seconds]
Kricir has joined #ruby
freerobby has joined #ruby
ae-r has joined #ruby
vikhyat has joined #ruby
mengu has quit []
nowthatsamatt has joined #ruby
OdNairy has quit [Ping timeout: 250 seconds]
alvinsj has joined #ruby
michaeldeol has joined #ruby
Txandy has joined #ruby
bvsh has quit [Ping timeout: 246 seconds]
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
freerobby has quit [Ping timeout: 248 seconds]
OdNairy has joined #ruby
OdNairy has quit [Client Quit]
fijimunkii has joined #ruby
vlad_starkov has joined #ruby
OdNairy has joined #ruby
michaeldeol has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vpretzel has quit [Read error: Connection timed out]
vpretzel has joined #ruby
vlad_starkov has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mbrumbelow has joined #ruby
senayar has joined #ruby
mbrumbelow has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
mbrumbelow has joined #ruby
yshh has quit [Remote host closed the connection]
dkamioka has joined #ruby
<senayar>
Hi, how can i have access to this hashmap : { "photo_url" => [{"max_size"=>"1280", "__content__" => "url"}] } ?
<Hanmac1>
shevy: i think there should be a irc feature what allows you to point users with attributes ... like "i need help with ruby on ubuntu" ans the bot suggest: "Ask Hanmac" ;P
<ClientAlive>
atmosx: Ubuntu 13.10. Yes, I have mysql client and server installed. Btw, this redmine install is onto a laptop and intended only for local use.
<atmosx>
what is redmine?
<Hanmac>
ClientAlive: libmysqlclient-dev
<Jamo>
you may need mysql-dev or similar lib
<Jamo>
:)
<ClientAlive>
Content management software ( to put it simply )
kenrick has quit [Ping timeout: 246 seconds]
<atmosx>
ClientAlive: you need to install mysql library and if you don't wanna add the path manually to mysql you have to re-compile ruby.
<ClientAlive>
Can you supply the commands for recompiling ruby?
<ClientAlive>
Would an apt-get purge/install do the trick?
<Jamo>
apt-get install libmysqlclient-dev
<Jamo>
might be what you need
<Jamo>
btw, which ruby version?
Neomex has quit [Quit: Neomex]
<Hanmac>
ClientAlive: you not need to reinstall ruby for that
<Hanmac>
PS: there is also a package for "ruby-mysql2" ... but gems are mostly newer
Mars` has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #ruby
<ClientAlive>
jamo: Let me see if I can find out ( I've never used ruby before but can look up in the man page how to get version ). Btw, there is an ubuntu package "libmysqlclient-dev." is that the same as mysql-dev?
<atmosx>
Hanmac: in my experience using distribution specific gems is a path to destruction
<Jamo>
ClientAlive: probably - someting that has mysql and dev
drumusician has joined #ruby
maletor has joined #ruby
<atmosx>
ClientAlive: I'd start writing code using ruby-2.0 is I were in you.
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
arietis has quit [Read error: Connection reset by peer]
<atmosx>
ClientAlive: and since you're setting up ruby, it's better to use rvm or rbenv for development. You need of course mysql or sqlite3, or whatever libraries you're going to use to be installed anyway.
<ClientAlive>
Redmine is notorious for being a beast of an install. My distro's package is behind latest release ( of course ) but I thought things would go smoothly if I went that route. Anyhow, the biggest problem I had to deal with befor this was a mysql 1045 error (access denied). Dealt with that in this install attempt but it seems to me like an act of God so I'm a little afraid to remove the distro's package and go for the maintainers stable release/
<ClientAlive>
install thereof
jwang has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
psyl0n has quit [Remote host closed the connection]
<atmosx>
ClientAlive: I feel you, I'm relatively expert with unix and ruby setup (in multiple environemnts) and lost a couple of hours today to set properly ruby, bash on Mavericks for no apparent reason. Setting the dev environment for ruby is always a pain :-/
<ClientAlive>
Friends, I really wasn't planning to do more than install redmine and learn to use it.
lagweezle has quit [Ping timeout: 250 seconds]
joaoh82 has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 272 seconds]
<ClientAlive>
May I share a link I found and ask your guys take on the soln given?
<atmosx>
ClientAlive: sure
freerobby has joined #ruby
esing has joined #ruby
esing has joined #ruby
esing has quit [Changing host]
ss_ has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Goodbye]
<ClientAlive>
This is the part I was referring to. Read it first time last night. " finally, this fixed it: sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib – Tallboy Dec 4 '11 at 10:52 "
<ClientAlive>
But he doesn't say what o/s he is running so idk if it would help me on ubuntu
klaut has quit [Remote host closed the connection]
freerobby has joined #ruby
\13k has joined #ruby
amundj has quit [Ping timeout: 265 seconds]
* canton7
wonders when mysql will finally die, and issues like this just disappear
fijimunkii has quit [Ping timeout: 252 seconds]
<ClientAlive>
canton7: mariadb
<ClientAlive>
:)
<ClientAlive>
I'm just not skilled enough to deal with all that ( conversion and whatnot )
<canton7>
that's more of a sticking plaster. there's almost no pain in moving mysql -> mariadb, but it's still nowhere near something like postgres
arietis has joined #ruby
culturel_ has joined #ruby
<ClientAlive>
postgres is good eh?
culturel_ has quit [Max SendQ exceeded]
<shevy>
it can make you babies
<otherj>
pgsql will give you a back rub and then pay your bills
michaeldeol has joined #ruby
<canton7>
it's widely regarded as the best in its class, which is the same class as mysqld
freerobby has quit [Ping timeout: 248 seconds]
<ClientAlive>
ha ha
culturel_ has joined #ruby
<ClientAlive>
right on
jchristi has quit [Quit: Leaving.]
jgrevich has joined #ruby
klaut has joined #ruby
<ClientAlive>
I have a learning curve ahead of me no matter what db system I go with but I do now have a need for it. One concern I have had is that some applications I use, use a database backend to even run. I've gotten the impression that most of them use mysql and that they may not work with any other db. Will I end up having to use multiple db systems on my computer just bc I want to run a couple applications that use whatever tickled the dev at the moment?
mojjojo has joined #ruby
<ClientAlive>
Not sure whether any of that is factual or not though. That's why I put it out there.
<ClientAlive>
Regarding redmine, suppose I'm gonna remove it all and be happy with what I've learned for now. I'll try the install again in another week or whatever.
petey_ has joined #ruby
atno_ has joined #ruby
dkamioka has joined #ruby
<shevy>
[Array.new(9, '')] * 14
michaeldeol has quit [Ping timeout: 264 seconds]
<shevy>
this makes an array in an array
<shevy>
are there cleaner ways to do the same though?
arietis has quit [Quit: Computer has gone to sleep.]
<shevy>
damn
jbhewitt has joined #ruby
<shevy>
that keeps copies :(
<MrZYX>
Array.new(14) { Array.new(9) { '' } }
atno has quit [Ping timeout: 264 seconds]
petey has quit [Ping timeout: 264 seconds]
lewix has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
michaeldeol has joined #ruby
Thanatermesis has joined #ruby
Megtastique has quit []
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Advocation has joined #ruby
jbhewitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jbhewitt has joined #ruby
culturel_ has joined #ruby
lewix has joined #ruby
amundj has joined #ruby
Hanmac1 has joined #ruby
joaoh82 has joined #ruby
jbhewitt has quit [Client Quit]
fire has quit [Read error: Connection reset by peer]
Txandy has quit [Quit: Leaving...]
reach has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
otherj has quit []
amundj_ has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
amundj has quit [Ping timeout: 272 seconds]
joaoh82 has quit [Ping timeout: 240 seconds]
fire has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]