kies has quit [Read error: Connection reset by peer]
kies has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
ziarkaen has joined #ruby
<zenspider>
xcyclist: when people ask for help but have absolutely no intention of working with the people trying to help... makes us want to not help at all...
sucks has joined #ruby
Immune has quit [Read error: Connection reset by peer]
whathappens has quit [Quit: Leaving...]
ResidentBiscuit has joined #ruby
sarbs_ is now known as sarbs
tomchapin has joined #ruby
xall_ has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
ziarkaen has quit [Ping timeout: 250 seconds]
sucks has quit [Quit: Leaving]
sucks has joined #ruby
sucks has quit [Remote host closed the connection]
sucks has joined #ruby
sucks_ has joined #ruby
beanHolez has joined #ruby
Dimik has joined #ruby
sucks has quit [Remote host closed the connection]
sucks_ has quit [Remote host closed the connection]
sucks_ has joined #ruby
sucks has joined #ruby
sucks has quit [Remote host closed the connection]
sucks_ has quit [Remote host closed the connection]
xall_ has quit [Ping timeout: 250 seconds]
lucas has quit [Ping timeout: 250 seconds]
Felipe__ has joined #ruby
hardest has joined #ruby
<hardest>
I didnt change a thing on my code
<hardest>
whois library is getting this error undefined method `created_on' for #<Whois::Record:0x00000002878d48>
<hardest>
for any domain
enterprisey has joined #ruby
<zenspider>
is your network on? ;)
<hardest>
yep
<zenspider>
did you change any underlying code? eg upgrade the whois library
<hardest>
I can get othr internet queries on python
<hardest>
no
<zenspider>
you have a repro I can play with?
<hardest>
I will try to snapshot that
<hardest>
I will let you know
<zenspider>
kk
<hardest>
ive installed linkedin-scrapper
<hardest>
gem
<zenspider>
since it's just whois... I can't imagine what could screw it up
<hardest>
after that
jenrzzz has quit [Ping timeout: 258 seconds]
<zenspider>
I'd look at the data within your instance to start
<zenspider>
work backwards from there
djbkd has quit [Remote host closed the connection]
raul782 has quit [Remote host closed the connection]
bmurt has joined #ruby
raul782 has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
Derperperd has quit [Quit: Derperperd]
skweek has quit [Ping timeout: 256 seconds]
dcluna has joined #ruby
Rodya_ has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
gnufied has joined #ruby
ResidentBiscuit has joined #ruby
aryaching has quit [Ping timeout: 256 seconds]
splud has quit [Quit: splud]
Rodya_ has quit [Ping timeout: 258 seconds]
aryaching has joined #ruby
ResidentBiscuit has quit [Ping timeout: 245 seconds]
jcao219 has joined #ruby
jeffaustin81 has joined #ruby
raul782 has quit [Remote host closed the connection]
Devalo has joined #ruby
Ebok has joined #ruby
Ebok has quit [Client Quit]
JoshS has joined #ruby
raul782 has joined #ruby
domgetter has quit [Ping timeout: 248 seconds]
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
ResidentBiscuit has joined #ruby
Channel6 has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
axsuul has joined #ruby
antoniobeyah has joined #ruby
axsuul has quit [Max SendQ exceeded]
axsuul has joined #ruby
skweek has joined #ruby
Ebok has joined #ruby
tomchapin has quit [Read error: Connection reset by peer]
Azure has quit [Ping timeout: 250 seconds]
xall_ has joined #ruby
bturker has joined #ruby
Guest43568 has quit [Ping timeout: 240 seconds]
Azure has joined #ruby
Sammichmaker has joined #ruby
xall_ has quit [Ping timeout: 246 seconds]
tomchapin has joined #ruby
chouhoulis has quit [Remote host closed the connection]
silverdust has joined #ruby
blackbombay has joined #ruby
silverdust is now known as Guest89272
bturker has quit [Ping timeout: 256 seconds]
jshjsh has joined #ruby
blackbom1 has quit [Ping timeout: 256 seconds]
banisterfiend has quit [Ping timeout: 260 seconds]
blackbom1 has joined #ruby
hardest has quit [Ping timeout: 240 seconds]
haraoka has quit [Ping timeout: 248 seconds]
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
SteenJobs has joined #ruby
blackbombay has quit [Ping timeout: 240 seconds]
SteenJobs has quit [Client Quit]
jgnagy has joined #ruby
ur5us has quit []
ziarkaen has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
d^sh has quit [Ping timeout: 256 seconds]
jgnagy has quit [Ping timeout: 244 seconds]
cibs has joined #ruby
d^sh has joined #ruby
ziarkaen has quit [Ping timeout: 250 seconds]
ForeignBiscuit has joined #ruby
edgr_ has joined #ruby
tdy has quit [Ping timeout: 260 seconds]
zapata has quit [Ping timeout: 250 seconds]
sexurity has joined #ruby
nettoweb has joined #ruby
arescorpio has joined #ruby
yardenbar has joined #ruby
nettoweb has quit [Client Quit]
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
Jonah11_ has joined #ruby
william3 has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
zapata has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
miqlas-H has joined #ruby
astrobunny has joined #ruby
blackbombay has joined #ruby
aryaching_ has joined #ruby
Snowy has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 265 seconds]
Snowy has joined #ruby
blackbom1 has quit [Ping timeout: 260 seconds]
qguv has quit [Excess Flood]
pilne has quit [Quit: Quitting!]
qguv has joined #ruby
pawnbox has joined #ruby
tdy has joined #ruby
Snowy has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Remote host closed the connection]
enterprisey has quit [Ping timeout: 244 seconds]
terens has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ResidentBiscuit has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
terens has quit [Ping timeout: 246 seconds]
libastral has quit [Ping timeout: 250 seconds]
SpikeMaster has joined #ruby
ResidentBiscuit has quit [Ping timeout: 258 seconds]
libastral has joined #ruby
dviola has quit [Quit: WeeChat 1.6]
nankyokusei has joined #ruby
SpikeMaster has quit [Quit: ERC (IRC client for Emacs 26.0.50.1)]
Rodya_ has joined #ruby
harai_ has quit [Ping timeout: 240 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
baiyang has joined #ruby
jhack has joined #ruby
JR042444__ has joined #ruby
Rodya_ has quit [Ping timeout: 258 seconds]
yardenbar has quit [Ping timeout: 250 seconds]
tomchapin has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ForeignBiscuit has quit [Ping timeout: 246 seconds]
tau has joined #ruby
ramfjord_ has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
baiyang has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
igniting has quit [Ping timeout: 246 seconds]
cinderhaze has joined #ruby
<cinderhaze>
Hello everyone.... I have a question... I'm working on getting more comfortable with ruby, and I am looking at adventofcode.com. I'm trying to figure out how to set up a good test harness so I can try to TDD my way to some solutions
c355e3b has quit [Quit: Connection closed for inactivity]
tomchapin has joined #ruby
sexurity has quit [Quit: Leaving]
domgetter has joined #ruby
chouhoulis has joined #ruby
saneax-_-|AFK is now known as saneax
Ebok has joined #ruby
LoneHermit has quit [Read error: Connection reset by peer]
LoneHermit has joined #ruby
boombox_ has joined #ruby
ResidentBiscuit has joined #ruby
yardenbar has joined #ruby
jlkjlkj has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
masta`` has quit [Ping timeout: 246 seconds]
<baweaver>
cinderhaze: Y'mean like Rspec or Minitest?
Jonah11_ has quit [Remote host closed the connection]
bturker has joined #ruby
ForeignBiscuit has joined #ruby
aryaching_ has quit [Ping timeout: 250 seconds]
boombox_ has quit [Remote host closed the connection]
ResidentBiscuit has quit [Ping timeout: 258 seconds]
railssmith has quit [Ping timeout: 240 seconds]
<cinderhaze>
thanks for the link!
JR042444__ has quit [Ping timeout: 258 seconds]
bturker has quit [Ping timeout: 256 seconds]
byte512 has quit [Ping timeout: 250 seconds]
howdoi has joined #ruby
<jhack>
is it bad practice to use pluralized method names? ex: organize_fields vs organize_field
<jhack>
lol
JR042444__ has joined #ruby
JR042444__ has quit [Max SendQ exceeded]
<jhack>
or it doesnt’ matter
JR042444__ has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
JR042444__ has quit [Max SendQ exceeded]
JR042444__ has joined #ruby
JR042444__ has quit [Max SendQ exceeded]
JR042444__ has joined #ruby
JR042444__ has quit [Max SendQ exceeded]
JR042444__ has joined #ruby
<cinderhaze>
So, question about writing tests.. (organization) How should I structure my code? I Think what I am going to do (for adventofcode.com) is make a module for each day. where would I put my spec folder... would I have a spec folder at the top, or do I put a spec folder in with each module?
pawnbox has joined #ruby
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ForeignBiscuit has quit [Ping timeout: 258 seconds]
JR042444__ has quit [K-Lined]
Yzguy has joined #ruby
KnownSyntax_ is now known as KnownSyntax
Jonah11_ has joined #ruby
Felipe__ has quit [Quit: Leaving]
<nofxx>
jhack, do the method organize a lot of fields or just one? simple
<jhack>
a lot of fields
<nofxx>
cinderhaze, usually you'll have 1:1 lib spec
<baweaver>
cinderhaze: bundle gem advent_of_code
<baweaver>
that'll generate all the structure for you.
<baweaver>
you don't _have_ to actually publish the gem but it's handy for dependency management and everything else.
<nofxx>
cinderhaze, so if you have lib/foo/bar.rb you'll have spec/foo/bar_spec.rb
Yzguy has quit [Client Quit]
montanonic has quit [Ping timeout: 260 seconds]
<nofxx>
jhack, ruby is all about reading nice (what says the book), and avoiding comments hehe (the real intention)
<jhack>
ok
<jhack>
great
<jhack>
that’s what i thought
<jhack>
thanks
Jonah11_ has quit [Remote host closed the connection]
<cinderhaze>
baweaver: I keep forgetting about how much generation there is in the ruby world (I come from C++ / Java, but I have been doing mostly puppet for the past year)
montanonic has joined #ruby
<baweaver>
nofxx: Comments are still necessary
<nofxx>
jhack, only conventions to follow: keep_it_snake, use ! for destructive, and ? for boolean return
<baweaver>
If only for documentation standards like YARDoc after the fact.
<cinderhaze>
nofxx: so by default bundle exec rspec will run everything under spec/*_spec.rb ?
<baweaver>
yep
<nofxx>
baweaver, yup, it was a joke ;)
<baweaver>
Making sure, because the no comment folks give me a headache
Jonah11_ has joined #ruby
hanmac has quit [Ping timeout: 258 seconds]
<nofxx>
baweaver, they will eventually figure it out, usually takes a year or two
<nofxx>
when you come back to that code, you know? =D
<baweaver>
In the mean time I avoid hiring them at all costs XD
harai_ has joined #ruby
jlkjlkj has quit []
saneax is now known as saneax-_-|AFK
<nofxx>
cinderhaze, yup, convention
<nofxx>
rspec also accepts a folder, recursevely, or a file
<nofxx>
or just a line in a spec file hehe
jenrzzz has joined #ruby
<cinderhaze>
nofxx: I'm a little familar with it, because the puppet tests are written using rspec-puppet. But I'm usually really railroaded into the way they are specifically set up... and I don't fully understand all of the things going on in Rakefile / spec_helper / etc...
tdy has quit [Ping timeout: 240 seconds]
jhack has quit [Quit: jhack]
<nofxx>
cinderhaze, rake just calls something... spec_helper just think is the file every spec needs
<nofxx>
all the requires, clean ups.. it's pretty literal really, just read don't be afraid ;)
axyjo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k|work has joined #ruby
gix has quit [Ping timeout: 250 seconds]
quakephil has quit [Read error: Connection reset by peer]
gix has joined #ruby
montanonic has quit [Ping timeout: 240 seconds]
tomchapin has quit [Read error: Connection reset by peer]
pawnbox has quit [Read error: No route to host]
tau has quit [Remote host closed the connection]
Sammichmaker has joined #ruby
tomchapin has joined #ruby
duper` is now known as duper
pawnbox has joined #ruby
chouhoulis has quit [Remote host closed the connection]
blackwind_123 has quit [Ping timeout: 268 seconds]
brent__ has quit [Quit: Connection closed for inactivity]
blackwind_123 has joined #ruby
pawnbox_ has joined #ruby
ziarkaen has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
railssmith has joined #ruby
ziarkaen has quit [Ping timeout: 260 seconds]
tdy has joined #ruby
pawnbox_ has quit [Read error: Connection reset by peer]
Coldblackice has quit []
beanHolez has quit [Remote host closed the connection]
beanHolez has joined #ruby
djbkd has joined #ruby
balazs has quit [Ping timeout: 250 seconds]
beanHolez has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ruby
cinderhaze has left #ruby ["WeeChat 0.3.8"]
montanonic has joined #ruby
beanHolez has joined #ruby
Sammichmaker has quit [Read error: Connection reset by peer]
chopin has joined #ruby
balazs has joined #ruby
Immune has joined #ruby
igniting has joined #ruby
montanonic has quit [Ping timeout: 240 seconds]
arescorpio has quit [Quit: Leaving.]
tdy1 has joined #ruby
nankyokusei has joined #ruby
tdy has quit [Ping timeout: 268 seconds]
ICantCook has joined #ruby
Janky has joined #ruby
Janky[PHI] has quit [Read error: Connection reset by peer]
harai_ has quit [Ping timeout: 248 seconds]
nankyokusei has quit [Ping timeout: 265 seconds]
enterprisey has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
mitt3ns has joined #ruby
hahuang61 has joined #ruby
adavia has quit [Ping timeout: 244 seconds]
hahuang65 has quit [Ping timeout: 258 seconds]
ICantCook has quit [Quit: bye]
agent_white has quit [Ping timeout: 258 seconds]
william3 has joined #ruby
enterprisey has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 250 seconds]
ledestin has joined #ruby
Channel6 has quit [Quit: Leaving]
zzxc has left #ruby [#ruby]
ResidentBiscuit has joined #ruby
Guest43 has joined #ruby
pawnbox has joined #ruby
Guest43 has quit [Client Quit]
nelsonsar has quit [Remote host closed the connection]
nelsonsar has joined #ruby
XV8 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nadir has quit [Quit: Connection closed for inactivity]
ResidentBiscuit has quit [Ping timeout: 258 seconds]
bturker has joined #ruby
bovis has quit [Quit: leaving]
nelsonsar has quit [Ping timeout: 268 seconds]
eggshke has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
tomchapin has quit [Read error: Connection reset by peer]
tomchapin has joined #ruby
amclain has quit [Quit: Leaving]
nofxxx has joined #ruby
lucas has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
freedrull has joined #ruby
postmodern has quit [Quit: Leaving]
<freedrull>
is there a difference between using next vs. return inside of a block? there seems to be something, but i'm having trouble finding documentation about it
<nofxxx>
freedrull, a lot, next will go to next, return will break/return/close the block
nowhereman has joined #ruby
nowhere_man has quit [Ping timeout: 260 seconds]
ascarter has joined #ruby
antoniobeyah has quit [Ping timeout: 256 seconds]
<freedrull>
nofxxx: "next will go to next" what if the block is not an enumeration, say a rails transaction "User.transaction do" ? is there still a difference?
<nofxxx>
freedrull, let me know ;)
Dimik has quit [Ping timeout: 256 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
last_staff has joined #ruby
Janky[PHI] has joined #ruby
Janky has quit [Read error: Connection reset by peer]
Devalo has quit [Ping timeout: 248 seconds]
harai_ has joined #ruby
Jonah11_ has joined #ruby
dcluna has quit [Quit: ZNC 1.7.x-git-705-2e6c8d9 - http://znc.in]
antoniobeyah has joined #ruby
ziarkaen has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
<antoniobeyah>
freedrull: use whats most appropriate for your context. next is generally used for loops to bypass an iteration, return is for everything else
<freedrull>
antoniobeyah: sounds good to me, thanks
Macaveli has joined #ruby
Ishido has joined #ruby
conta has joined #ruby
bocaneri has joined #ruby
Macaveli has quit [Client Quit]
conta has quit [Ping timeout: 250 seconds]
last_staff has quit [Quit: last_staff]
symm- has quit [Ping timeout: 246 seconds]
troulouliou_div2 has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
terens has joined #ruby
Macaveli has joined #ruby
nowhereman has quit [Ping timeout: 250 seconds]
<nofxxx>
hopefully it fails, silent running as 'return' sounds strange... heh antoniobeyah I knew as least surprise
<nofxxx>
that often surprises
auzty has joined #ruby
zapata has quit [Ping timeout: 240 seconds]
_2easy has joined #ruby
Guest43 has joined #ruby
Guest43 has quit [Client Quit]
codfection has joined #ruby
nankyokusei has joined #ruby
Janky[PHI] has quit [Read error: Connection reset by peer]
Janky[PHI] has joined #ruby
harfangk has joined #ruby
brent__ has joined #ruby
nadir has joined #ruby
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
Fichtenstein has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
symm- has joined #ruby
jgnagy has quit [Ping timeout: 256 seconds]
conta has joined #ruby
andikr has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
www-bukolay-net has joined #ruby
jphase has quit [Remote host closed the connection]
flughafen has quit [Ping timeout: 258 seconds]
mlehrer has quit [Ping timeout: 260 seconds]
<KrzaQ>
is there map_with_object that's equivalent to each_with_object?
<al2o3-cr>
KrzaQ: map.with_object
<KrzaQ>
well, that was quick
<KrzaQ>
Thanks!
<al2o3-cr>
np
hahuang61 has quit [Ping timeout: 260 seconds]
tomchapin has quit [Read error: Connection reset by peer]
<KrzaQ>
hm, I guess it's not exactly what I wanted, but I'll have to work with it
<al2o3-cr>
KrzaQ: how so?
riotjone1 has joined #ruby
lenwood has quit [Quit: Konversation terminated!]
beanHolez has quit []
lenwood has joined #ruby
haxrbyte has quit [Ping timeout: 265 seconds]
<KrzaQ>
Eh, I'm trying to do todays advent of code puzzle. I thought I'd do something like map_with_object(initial_position){ change_pos } and get an array of absolute positions. I'm not sure how this would be supposed to work though :)
<KrzaQ>
map.with_object examples on the net are more than enough though :)
mlehrer has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
<al2o3-cr>
KrzaQ: everyone one is on the advent of code :)
<KrzaQ>
well, it's a great idea
<al2o3-cr>
KrzaQ: i wanna get on board, you got a link?
<ruby[bot]>
zenspider: # => /tmp/execpad-c2d3088e3b51/source-c2d3088e3b51:2: unterminated string meets end of file ...check link for more (https://eval.in/689623)
ResidentBiscuit has quit [Ping timeout: 240 seconds]
dn` has joined #ruby
iamayam has joined #ruby
kareelee has joined #ruby
kareelee has quit [Remote host closed the connection]
kareelee has joined #ruby
Snowy has joined #ruby
workmad3 has joined #ruby
hahuang61 has joined #ruby
matp_ has joined #ruby
dikaio has quit [Quit: leaving]
matp has quit [Ping timeout: 250 seconds]
terens has quit [Ping timeout: 256 seconds]
jphase has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
bturker has joined #ruby
raul782 has joined #ruby
ButtMuffler has joined #ruby
jphase has quit [Ping timeout: 260 seconds]
AlexRussia has quit [Ping timeout: 265 seconds]
JoshS has joined #ruby
raul782 has quit [Ping timeout: 250 seconds]
terens has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
jshjsh has quit [Ping timeout: 268 seconds]
tomchapin has quit [Ping timeout: 250 seconds]
ButtMuffler is now known as ScrubLord
ScrubLord is now known as SkrubLord
Snowy has quit [Ping timeout: 246 seconds]
lee-jon has joined #ruby
Guest16615 is now known as sts
frozengeek____ has joined #ruby
xberg has joined #ruby
jphase has joined #ruby
tomchapin has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
bodgix has quit [Quit: Leaving.]
claudiuinberlin has joined #ruby
ferr1 has joined #ruby
jphase has quit [Ping timeout: 240 seconds]
bodgix has joined #ruby
dklima_ is now known as sparch_
sparch_ has quit [Changing host]
sparch_ has joined #ruby
claudiui_ has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
johnmccabe has joined #ruby
Hyuk has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
chris2_ has joined #ruby
jeffaustin81 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chris2_ is now known as chris2
lee-jon has quit [Quit: lee-jon]
Janky[PHI] has quit [Read error: Connection reset by peer]
Janky[PHI] has joined #ruby
nankyokusei has joined #ruby
_2easy has quit [Ping timeout: 244 seconds]
bweston92 has joined #ruby
jschoolcraft has joined #ruby
tvw has joined #ruby
jphase has joined #ruby
yeticry has quit [Ping timeout: 250 seconds]
yeticry has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
blackbombay has quit [Ping timeout: 248 seconds]
platzhirsch has joined #ruby
ResidentBiscuit has joined #ruby
djbkd has joined #ruby
jphase has quit [Ping timeout: 240 seconds]
koooge has quit [Quit: Leaving...]
fenre has joined #ruby
Snowy has joined #ruby
fenre_ has quit [Ping timeout: 260 seconds]
ResidentBiscuit has quit [Ping timeout: 248 seconds]
psychicist__ has joined #ruby
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
yardenbar has joined #ruby
hahuang61 has joined #ruby
frmendes has joined #ruby
salut has quit [Quit: salut]
hahuang61 has quit [Ping timeout: 258 seconds]
jshjsh has joined #ruby
yardenbar has quit [Ping timeout: 260 seconds]
tomchapin has quit [Read error: Connection reset by peer]
hightower2 has joined #ruby
jphase has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
MrBusiness2 has quit [Ping timeout: 258 seconds]
jphase has quit [Ping timeout: 258 seconds]
djbkd has quit [Ping timeout: 260 seconds]
armyriad has quit [Ping timeout: 260 seconds]
tomchapin has joined #ruby
iMadper` has joined #ruby
llabrat has joined #ruby
iMadper has quit [Ping timeout: 250 seconds]
salut has joined #ruby
riotjone1 has quit [Quit: leaving]
lee-jon has joined #ruby
auzty has quit [Remote host closed the connection]
salut has quit [Client Quit]
iMadper` is now known as iMadper
iMadper has quit [Changing host]
iMadper has joined #ruby
c355e3b has joined #ruby
jphase has joined #ruby
lee-jon has quit [Quit: lee-jon]
maattdd has quit [Ping timeout: 268 seconds]
evie_hammond has quit [Quit: WeeChat 1.6]
bruce_lee has quit [Read error: Connection reset by peer]
jphase has quit [Ping timeout: 240 seconds]
bruce_lee has joined #ruby
<wnd>
Yet another case "I've often been wondering". In Perl I'd do my ($foo) = $input =~ /\((\d+)\)/ to capture a number in the first set of parentheses (e.g. from "foo (123) bar". This happily survives a case when there is no match. What would be the idiomatic Ruby equivalent? I'd start with String#match, but I can't think of a convenient = one-line way. Using String#scan also feels awkward.
jaguarmagenta has quit [Remote host closed the connection]
<tobiasvl>
wnd: can't you just do the exact same thing?
<wnd>
I'd still have to read the result from $1, as return value seems to be the index of the match. It could be my undoing that I also try to avoid such Perlisms in Ruby.
<tobiasvl>
oh yeah, I understand what you mean now. yeah, what zenspider said then probably
howdoi has quit [Quit: Connection closed for inactivity]
jphase has joined #ruby
donkey_h0tei has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 248 seconds]
frmendes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arount has joined #ruby
arount has left #ruby [#ruby]
jphase has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
rippa has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
minimalism has quit [Quit: minimalism]
Jonah11_ has joined #ruby
marr has quit [Ping timeout: 250 seconds]
hahuang61 has quit [Ping timeout: 260 seconds]
GodFather has quit [Ping timeout: 244 seconds]
llabrat has quit [Remote host closed the connection]
tvw has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
nettoweb1 has joined #ruby
claudiuinberlin has joined #ruby
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nikivi has quit [Quit: zzz]
augcesar has joined #ruby
armyriad has joined #ruby
saneax is now known as saneax-_-|AFK
nettoweb has quit [Ping timeout: 240 seconds]
tyang_ has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
nelsonsar has quit [Remote host closed the connection]
GodFather has joined #ruby
nelsonsar has joined #ruby
tyang__ has joined #ruby
raul782 has quit [Read error: Connection reset by peer]
ziarkaen has joined #ruby
nelsonsa_ has joined #ruby
raul782 has joined #ruby
nikivi has joined #ruby
GodFather has quit [Remote host closed the connection]
jphase has joined #ruby
SteenJobs has joined #ruby
nikivi has quit [Client Quit]
tyang_ has quit [Ping timeout: 260 seconds]
nelsonsar has quit [Ping timeout: 245 seconds]
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Salih has joined #ruby
jphase has quit [Ping timeout: 258 seconds]
jhack has joined #ruby
GodFather has joined #ruby
nelsonsa_ has quit [Remote host closed the connection]
ramortegui has joined #ruby
nelsonsar has joined #ruby
eggshke has quit []
nelsonsar has quit [Ping timeout: 260 seconds]
terens has quit [Ping timeout: 265 seconds]
jshjsh has joined #ruby
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
SteenJobs has quit [Quit: SteenJobs]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
jaguarmagenta has joined #ruby
omphe has joined #ruby
<Zarthus>
Heya folks, does anyone have an easy solution to the common Windows problem of rubygems not being able to connect over SSL?
disconnekted has joined #ruby
<Zarthus>
It's a pain every ruby install I do, and every time I have to do it it involves some obnoxious setup with no clear "just do this and it works" answer beyond "turn ssl verify off"
<Zarthus>
my previous setup required me to enhance some OPENSSL_*_DIR environment variable to force ruby to look there.
<Zarthus>
I tried setting it up via docker, but my IDE falls short when it comes to autocompletion then.
TomyWork has quit [Remote host closed the connection]
cibs has joined #ruby
TomyWork has joined #ruby
kareelee has joined #ruby
conta has joined #ruby
<blackbombay>
because it's not a typical concern when writing ruby code, but yeah depends what you're doing on whether or not it's important to you.
kareelee_ has joined #ruby
<blackbombay>
if you care about that wouldn't you use a lower level language like C?
kareelee has quit [Ping timeout: 244 seconds]
aryaching has joined #ruby
saneax-_-|AFK is now known as saneax
senayar has quit []
jshjsh has joined #ruby
UserJosh has quit [Read error: Connection reset by peer]
cibs has quit [Read error: Connection reset by peer]
<warrshrike>
Youre saying performance isnt a typical concern?
raul782 has quit [Read error: Connection reset by peer]
<apeiros>
not on that level, warrshrike
<warrshrike>
Yes that makes sense as ruby is mostly used as a 'glue' language and mostly with rails at that
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<warrshrike>
but wouldnt it still matter if your array traversal is 100x slower? I'm just having some trouble wrapping my mind around it
cibs has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
ascarter has quit [Client Quit]
<apeiros>
where would cache friendly code be 100x faster when iterating an array?
<baweaver>
Effectively just use a hash
<warrshrike>
if your stride length is 100? spatial locality would be much worse
skweek has joined #ruby
<baweaver>
Then make a decorator method that intercepts *args to it and uses that as the key. Cache hit is key match, done
<centrx>
Ruby keeps getting faster and faster
<baweaver>
There are already a few gems that do this, but I'd need to find them
<blackbombay>
performance is important but actaully you will find a lot of ruby code that doesn't even try to care about performance.
<warrshrike>
and swapping the access order in a two dimensional array?
<apeiros>
warrshrike: and how would you optimize your ruby code for that stride length?
raul782 has joined #ruby
<warrshrike>
id argue using a hash in this case counts as writing cache friendly code...
ziarkaen has quit [Quit: Lost terminal]
<apeiros>
o0
<warrshrike>
apeiros: you change your array layout so things are together in memory
<apeiros>
warrshrike: again, how do you do that in ruby?
vuoto has joined #ruby
<warrshrike>
I understand that this is sort of breaking the principle of abstraction paramount in higher level languages
vuoto has quit [Remote host closed the connection]
saslam has joined #ruby
vuoto has joined #ruby
<apeiros>
it's not "sort of breaking". you can't do it.
csk has quit [Quit: ZZZzzz…]
<warrshrike>
well the array you're getting items from were stored in there earlier somehow. so store them in a way that access order is more sequential?
<apeiros>
ruby does not provide you any way to access memory, or arrange memory.
<warrshrike>
I know that
<warrshrike>
but you can place items anywhere in buffers
<warrshrike>
arrays*
<apeiros>
it might be because I've got a headache atm, but what you say seems to be a thought-mess.
<warrshrike>
lol
<warrshrike>
so you're saying that it is impossible to write cache friendly code in ruby?
<centrx>
warrshrike: The underlying implementation handles those details
vuoto has quit [Remote host closed the connection]
<centrx>
warrshrike: They're not accessible to the programmer writing in straight Ruby
voxxit has joined #ruby
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[Butch] has joined #ruby
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
<apeiros>
warrshrike: which caches are you talking about?
orion has joined #ruby
vuoto has joined #ruby
<apeiros>
I got the impression you're talking about L1-L3 cpu caches
<blackbombay>
me2
vuoto has quit [Remote host closed the connection]
<warrshrike>
cache is supposed to be programmer invisible anyways
<warrshrike>
hmm
tvw has joined #ruby
<warrshrike>
Okay so I was just trying to relate
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
<warrshrike>
all the performance engineering stuff I studied in C
<warrshrike>
to ruby
Devalo has quit [Remote host closed the connection]
<warrshrike>
it appears to be largely fruitless
<apeiros>
yeah, all the stuff about memory alignment, cpu caches etc is useless.
<apeiros>
the part which matters are algorithmic complexity
Devalo has joined #ruby
<apeiros>
and data complexity
<centrx>
warrshrike: Also, Ruby is written in C, so it finds application there
<blackbombay>
you can interface with ruby through C.
omphe has joined #ruby
ta_ has quit [Remote host closed the connection]
<warrshrike>
apeiros: now thats just flatout incorrect :)
frozengeek____ has quit [Quit: frozengeek____]
<apeiros>
oh, yes, and to a degree when writing native extensions. but then you're not writing ruby, so I wouldn't really count that.
<apeiros>
warrshrike: how so?
raul782 has quit [Ping timeout: 248 seconds]
<warrshrike>
constant factors matter too in addition to aymptotic complexity
frozengeek____ has joined #ruby
Jayson_Virissimo has joined #ruby
frozengeek____ has quit [Remote host closed the connection]
* apeiros
sobs
vasilakisfil has quit [Quit: Konversation terminated!]
psychicist__ has quit [Ping timeout: 250 seconds]
<warrshrike>
You're saying a 100x-1000x performance difference doesnt matter!?!
frozengeek____ has joined #ruby
<apeiros>
you're saying that's not part of understanding algorithmic complexity?
frozengeek____ has quit [Remote host closed the connection]
<warrshrike>
your rails server would be on its knees with 100 users!
<apeiros>
understanding things like big-O means you also understand what it hides.
psychicist__ has joined #ruby
millerti has joined #ruby
millerti has quit [Client Quit]
<warrshrike>
lol yes. The same algorithm would run order of magnitude slower
frozengeek____ has joined #ruby
frozengeek____ has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
flying has quit []
TomyWork has quit [Remote host closed the connection]
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lee-jon has quit [Quit: lee-jon]
millerti has joined #ruby
nemermel has quit [Ping timeout: 246 seconds]
millerti has quit [Client Quit]
<baweaver>
orion: Won't work for non-ops
_2easy has quit [Quit: Lost terminal]
rcvalle has joined #ruby
nankyoku_ has joined #ruby
Devalo has quit [Ping timeout: 260 seconds]
marxarelli has joined #ruby
<apeiros>
!ban orion seriously don't even try to abuse op-tools
orion was kicked from #ruby by ruby[bot] [seriously don't even try to abuse op-tools]
nankyokusei has quit [Ping timeout: 245 seconds]
redpants has joined #ruby
<elomatreb>
RIP
bodgix has quit [Quit: Leaving.]
<elomatreb>
orion
<elomatreb>
Uh, hexchat? I'm reasonably sure I typed that into Ctrl+F, but w/e
pragmaticus has quit [Ping timeout: 244 seconds]
pragmaticus has joined #ruby
l33n has joined #ruby
<l33n>
hey all, so I am a pretty novice programmer, I've done some school projects with Java, and I just made this cordova app in my spare time with a ruby server, javascript in the front end, and obviously html, css, and it's sort of wrapping up now, long preface there, but, any good ideas for an open source project for someone like me
<l33n>
something challenging but not too crazy for a newbie like me
tercenya has quit [Remote host closed the connection]
<centrx>
baweaver: what does it do?
tercenya has joined #ruby
nankyokusei has joined #ruby
arquebus has quit [Quit: Konversation disconnected]
<baweaver>
magic
<Papierkorb>
l33n: I give you the standard response to this kind of question: Build something you like. Solve an issue you have, something that's nagging you, or build something you always wondered how it worked
Janky has joined #ruby
Janky[PHI] has quit [Read error: Connection reset by peer]
Janky has quit [Client Quit]
SeepingN has joined #ruby
omphe has joined #ruby
nankyoku_ has quit [Ping timeout: 258 seconds]
<Papierkorb>
l33n: Don't throw an idea away just because "it's too complex". That's fine, that just means, you'll learn more. Just make sure you enjoy doing it, as the road may be rocky at times.
<Zarthus>
l33n: if you have an interest in IRC and IRC bots, I still have an open issue for Twitch, YouTube, imgur and image integration in my bot.
<Zarthus>
specifically for titles
zotherstupidguy has joined #ruby
jphase has joined #ruby
<Zarthus>
(and even if you don't care for that, I find using cinch and IRC bots in general a pretty decent way to fire off experience in a new language)
<l33n>
Papierkorb, yeah, I just mean, not something so far out of reach as to ruin flow, but yeah
<zotherstupidguy>
i am looking for a gem generator such as hoe or ore that supports minitest\spec ??
<Papierkorb>
l33n: An example. I do some photography, and for a specific use-case I had, it bothered me that I didn't have a good picture archive I can use to store pics in I find on the internet to try out myself. Small project, wasn't hard, but something I still actually use. Look into your interests/hobbys for annoyances
psychicist__ has joined #ruby
<l33n>
Zarthus I'm don't think I really know what an IRC bot is
<b0nn>
antoniobeyah: not really, and I cannot for the life of me find a good tutorial
<b0nn>
baweaver: I don't make the rules, I just follow them
<antoniobeyah>
ahh, that explains it. go look at one of the existing gems and copy the code
<baweaver>
Then you need to have a conversation with the person who does
<baweaver>
and tell them how pointless it is to reimplement common protocol
jgnagy has joined #ruby
<b0nn>
baweaver: sure, in the mean time I'll do as I'm told :)
<b0nn>
antoniobeyah: I've been looking at a few gems, but the code is a bit obscure
<antoniobeyah>
b0nn: trying to do it yourself will be painful, oauth is a framework for authorization, but its commonly used in different flavors for authentication as well. different providers have their different flavors
nelsonsar has quit [Ping timeout: 248 seconds]
<baweaver>
Good luck, have fun.
<b0nn>
antoniobeyah: I can see where creadentials are stored (for example) but I cannot find where they are used
govg has quit [Ping timeout: 245 seconds]
<b0nn>
baweaver: thank you for your input, it's been invaluable.
<Papierkorb>
b0nn: https://oauth.net/2/ Maybe look at the "OAuth 2.0 Simplified" guide, but I haven't read it in its entirety
<b0nn>
Papierkorb: crikey! :) Thanks, I hadn't found that page so far
<antoniobeyah>
b0nn: dealing with the various grant types is where it becomes challenging
<b0nn>
antoniobeyah: thanks! that stormpath link looks helpful
<Papierkorb>
b0nn: Do note that you usually only reinvent the wheel for (personal) research projects, or sometimes, school/university projects
<b0nn>
Papierkorb: yeah, I'm no fan of reinventing the wheel, but in this instance I have no choice
jordanm has joined #ruby
<b0nn>
Papierkorb: actually I lie, I don't mind reinventing the wheel when I am trying to learn a new tech. It gives me a low level understanding of how broken my implementation is :)
jshjsh has joined #ruby
harai_ has joined #ruby
<antoniobeyah>
b0nn: well lets hope the next requirement isn’t saml ;)
<b0nn>
+1
govg has joined #ruby
libastral has quit [Ping timeout: 246 seconds]
marxarelli has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
UserJosh has quit [Ping timeout: 268 seconds]
nelsonsar has joined #ruby
libastral has joined #ruby
zeroDi has joined #ruby
banisterfiend has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
izaac has quit [Quit: Lost terminal]
miqlas-H has joined #ruby
centrx has quit []
Snowy has joined #ruby
grh has quit [Ping timeout: 240 seconds]
Guest30798 has quit [Quit: - Bye]
ta_ has quit [Remote host closed the connection]
firstdayonthejob has quit [Ping timeout: 250 seconds]
psychicist__ has quit [Ping timeout: 260 seconds]
Immune has joined #ruby
kareelee has quit []
adavia has quit [Ping timeout: 260 seconds]
nelsonsar has quit [Remote host closed the connection]
ferr1 has quit [Quit: WeeChat 1.6]
nelsonsar has joined #ruby
ferr1 has joined #ruby
harai_ has quit [Ping timeout: 260 seconds]
_joes_ has quit [Quit: Connection closed for inactivity]
pawnbox_ has quit [Remote host closed the connection]
nelsonsar has quit [Ping timeout: 258 seconds]
claudiuinberlin has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bturker has quit [Ping timeout: 256 seconds]
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
avdi has quit [Remote host closed the connection]
deimos has quit [Remote host closed the connection]
psychicist__ has joined #ruby
pizzaops has quit [Remote host closed the connection]
istrasci has joined #ruby
istrasci has left #ruby [#ruby]
ResidentBiscuit has joined #ruby
zotherstupidguy has quit [Ping timeout: 250 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
omphe has joined #ruby
zotherstupidguy has joined #ruby
andikr has quit [Remote host closed the connection]
cdg_ has quit [Remote host closed the connection]
qguv has quit [Ping timeout: 260 seconds]
ResidentBiscuit has quit [Ping timeout: 258 seconds]
XV8 has joined #ruby
bocaneri has quit [Remote host closed the connection]
solocshaw has joined #ruby
rwb has quit [Remote host closed the connection]
rwb has joined #ruby
qguv has joined #ruby
jaguarmagenta has joined #ruby
Ebok has joined #ruby
j0bk has quit [Changing host]
j0bk has joined #ruby
nelsonsar has joined #ruby
enterprisey has joined #ruby
Snowy has quit [Ping timeout: 250 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
maattdd has quit [Ping timeout: 260 seconds]
solocshaw has quit [Ping timeout: 246 seconds]
Rutix has quit []
Snowy has joined #ruby
Jackneill has joined #ruby
nadir has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Ping timeout: 245 seconds]
nadir has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
pfg has quit [Remote host closed the connection]
alxndr has quit [Remote host closed the connection]
skmp has quit [Remote host closed the connection]
Travis-42 has quit [Remote host closed the connection]
LyndsySimon has quit [Remote host closed the connection]
Yonk_ has quit [Remote host closed the connection]
jimeh has quit [Remote host closed the connection]
lipoqil has quit [Remote host closed the connection]
rfv has quit [Remote host closed the connection]
cstrahan has quit [Remote host closed the connection]
danzilio has quit [Remote host closed the connection]
johnkpaul has quit [Remote host closed the connection]
bastilian has quit [Remote host closed the connection]
chrisseaton has quit [Remote host closed the connection]
makufiru has quit [Remote host closed the connection]
bcavileer has quit [Remote host closed the connection]
adambeynon has quit [Remote host closed the connection]
charles81 has quit [Remote host closed the connection]
mrfooo has quit [Remote host closed the connection]
zzak has quit [Remote host closed the connection]
davidmichaelkarr has quit [Remote host closed the connection]
codepete has quit [Remote host closed the connection]
ewilliam_ has quit [Remote host closed the connection]
manveru has quit [Remote host closed the connection]
avdi has joined #ruby
ghostlight has quit [Ping timeout: 245 seconds]
tercenya has quit [Remote host closed the connection]
ghostlight has joined #ruby
tercenya has joined #ruby
JoshS has joined #ruby
SkrubLord has quit []
SkrubLord has joined #ruby
nemermel has joined #ruby
alxndr has joined #ruby
jshjsh has quit [Ping timeout: 258 seconds]
adambeynon has joined #ruby
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
pizzaops has joined #ruby
lipoqil has joined #ruby
deimos has joined #ruby
jgnagy has quit [Ping timeout: 246 seconds]
mrfooo has joined #ruby
nemermel has left #ruby ["WeeChat 1.6"]
johnkpaul has joined #ruby
charles81 has joined #ruby
bcavileer has joined #ruby
manveru has joined #ruby
rfv has joined #ruby
skmp has joined #ruby
uranellus has joined #ruby
uranellus has joined #ruby
uranellus has quit [Changing host]
LyndsySimon has joined #ruby
cstrahan has joined #ruby
ResidentBiscuit has joined #ruby
cloaked1 has quit [Read error: Connection reset by peer]
gloscombe has joined #ruby
chrisseaton has joined #ruby
ewilliam_ has joined #ruby
cloaked1 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
pfg has joined #ruby
eggshke has quit []
<dviola>
I'm trying to parse 15 million rows of CSV data, I'm using CSV#read but it's just too slow, I want to parse and insert the data into postgres with activerecord
<dviola>
any suggestions for doing that faster?
jcao219 has joined #ruby
rodfersou has quit [Quit: leaving]
<dviola>
CSV#read will load the data in RAM, I don't think I want that
ResidentBiscuit has quit [Ping timeout: 258 seconds]
nettoweb has joined #ruby
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
AlphaAtom has quit [Read error: Connection reset by peer]
makufiru has joined #ruby
<SeepingN>
yeah you probably need to read line by line and them possibly parse just that line using CSV methods
zzak has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Client Quit]
davidmichaelkarr has joined #ruby
csk has quit [Quit: ZZZzzz…]
harai_ has joined #ruby
sparch_ has quit [Ping timeout: 256 seconds]
nadir has quit [Ping timeout: 245 seconds]
Yonk_ has joined #ruby
nadir has joined #ruby
csk has joined #ruby
Ebok has quit [Ping timeout: 245 seconds]
codepete has joined #ruby
<al2o3-cr>
dviola: have you tried using foreach?
<dviola>
not yet
Snowy has quit [Read error: Connection reset by peer]
<al2o3-cr>
maybe it will speed things up a little bit :P
jenrzzz has quit [Ping timeout: 260 seconds]
johnmilton has quit [Remote host closed the connection]
Snowy has joined #ruby
danzilio has joined #ruby
<dviola>
al2o3-cr: that works, thanks
x77686d has joined #ruby
Travis-42 has joined #ruby
bastilian has joined #ruby
enterprisey has quit [Ping timeout: 246 seconds]
SteenJobs has joined #ruby
jimeh has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
athena has joined #ruby
jshjsh has joined #ruby
tax has quit [Quit: Leaving]
Derperperd has quit [Quit: Derperperd]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
nettoweb has quit [Ping timeout: 244 seconds]
adavia has joined #ruby
enterprisey has joined #ruby
workmad3 has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
ta_ has joined #ruby
blackmesa has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
whathappens has joined #ruby
Ebok has joined #ruby
<SeepingN>
keeps it from reading the whole file into memory, yes?
blackmesa has quit [Ping timeout: 240 seconds]
athena has left #ruby ["Leaving"]
x77686d has quit [Quit: x77686d]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
balazs has quit [Ping timeout: 260 seconds]
jaruga___ has quit [Quit: jaruga___]
Devalo has joined #ruby
domgetter has quit [Ping timeout: 246 seconds]
nankyokusei has joined #ruby
SteenJobs has joined #ruby
Hink has joined #ruby
<apeiros>
SeepingN: reading a csv line by line is not the best idea. a newline can be part of a quoted field. luckily the csv lib can read records separately (CSV::foreach as al2o3-cr mentioned)
johnmilton has joined #ruby
VeryBewitching has joined #ruby
ascarter has joined #ruby
tyang has quit [Read error: Connection reset by peer]
chopin has quit [Remote host closed the connection]
balazs has joined #ruby
chopin has joined #ruby
<SeepingN>
ah yes of course
rwb has quit [Ping timeout: 250 seconds]
bmurt has joined #ruby
nankyoku_ has joined #ruby
chopin has quit [Ping timeout: 246 seconds]
tyang has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
SteenJobs has quit [Read error: Connection reset by peer]
gloscombe has quit [Quit: gloscombe]
gnufied has quit [Quit: Leaving]
SteenJobs has joined #ruby
lee-jon has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
psychicist__ has quit [Ping timeout: 265 seconds]
psychicist__ has joined #ruby
rwb has joined #ruby
gnufied has joined #ruby
jwheare has quit []
SteenJobs has quit [Ping timeout: 240 seconds]
jwheare has joined #ruby
jrafanie has joined #ruby
nankyokusei has joined #ruby
jcao219 has quit [Ping timeout: 246 seconds]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nankyoku_ has quit [Ping timeout: 260 seconds]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
lee-jon has quit [Quit: lee-jon]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Immune has quit [Ping timeout: 265 seconds]
nankyoku_ has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
madsa_ has quit [Ping timeout: 256 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
Dimik has joined #ruby
cdg has joined #ruby
yardenbar has quit [Ping timeout: 250 seconds]
govg has quit [Ping timeout: 268 seconds]
ta_ has quit [Remote host closed the connection]
nelsonsar has quit []
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jcao219 has joined #ruby
JoshS has joined #ruby
Dimik has quit [Ping timeout: 265 seconds]
jshjsh has quit [Ping timeout: 268 seconds]
nankyoku_ has quit [Remote host closed the connection]
<b0nn>
ok, yeah I knew I had an instance of the class, I just didn't know how to leverage that knowledge into finding out more about it
<baweaver>
I take it you no longer have the library restriction?
<b0nn>
I still do
<b0nn>
I figure I have enough problems, so I will cheat on the oauth (for the moment)
<baweaver>
Why exactly is that a restriction?
<b0nn>
Because the person that set the task chose that
<b0nn>
I have no idea why they chose to include it
<baweaver>
Who set the task and why did they do so?
<baweaver>
If it's for school it's understandable. If it's not there's something seriously wrong.
<SeepingN>
I love how "wtf?" is a command in pry
<b0nn>
baweaver: sorry, I just cannot explain
<baweaver>
so is lolcat iirc
<baweaver>
We can't help if you can't explain
<baweaver>
you're going to keep running into that
herbmillerjr has quit [Quit: Konversation terminated!]
jbeeze_ has quit [Remote host closed the connection]
<baweaver>
maybe you get a few more inches in when you ask again, but it's always going to come back to why are you doing this
<antoniobeyah>
+1
<baweaver>
help us help you
tvw has joined #ruby
<baweaver>
if you can't tell us I would strongly suggest hiring a consultant
<baweaver>
because rolling your own authentication framework is a mistake
VladGh has quit [Remote host closed the connection]
<baweaver>
it's a security hazard and a very hard problem to solve
firstdayonthejob has quit [Ping timeout: 258 seconds]
<blackbombay>
nyan-cat
cloaked1 has quit [Ping timeout: 256 seconds]
<baweaver>
aha
<baweaver>
that was it
VladGh has joined #ruby
herbmillerjr has joined #ruby
skweek has joined #ruby
<baweaver>
In any case, the only people on here with the knowledge to reimplement OAuth are going to come back to that point because of one simple fact: No sane person wants to.
<apeiros>
or if somebody truly wanted to, there'd have to be an actual reason for it
<apeiros>
and without knowing the reason, there's no point to do it
<baweaver>
hence consultants
<apeiros>
^
antoniobeyah has quit [Quit: antoniobeyah]
Jackneill has quit [Remote host closed the connection]