spider-mario has quit [Remote host closed the connection]
<shevy>
dwfait it compiled without error here, do you not get any errors?
<shevy>
lots of warnings though... cc1plus: warning: command line option '-Wdeclaration-after-statement' is valid for C/ObjC but not for C++
krobzaur has joined #ruby
radgeRayden has quit [Read error: Connection reset by peer]
<nkwsy>
Question on scraping data with nokogiri/mechanize. I am parcing a local document using xpath, and it works. Now I am trying to scrape from the live internets, now I have gotten the program to work using css tags, but when I try to scrape with xpath it says its undifined. my question is do I need the flie stored locally to scrape using xpath?
Luna_Moonfang has quit [Ping timeout: 246 seconds]
fumk has quit [Ping timeout: 246 seconds]
mrtomme has quit [Ping timeout: 246 seconds]
SCHAAP137 has quit [Ping timeout: 246 seconds]
sonOfRa has quit [Ping timeout: 246 seconds]
samuelkadolph has quit [Ping timeout: 246 seconds]
sonne_ has quit [Ping timeout: 246 seconds]
catsmas has quit [Ping timeout: 246 seconds]
peitera has quit [Ping timeout: 246 seconds]
j0bk has quit [Ping timeout: 246 seconds]
konopka has quit [Ping timeout: 246 seconds]
timmow has quit [Ping timeout: 246 seconds]
konopka_ is now known as konopka
Some-body_ is now known as DarthGandalf
CloCkWeRX has quit [Ping timeout: 261 seconds]
samuelkadolph_ is now known as samuelkadolph
timmow_ has joined #ruby
peitera- has joined #ruby
Affix is now known as Guest72594
bakedb has joined #ruby
mrtomme has joined #ruby
[spoiler] has quit [Quit: Cheers!]
sonne has joined #ruby
andywojo has quit [Ping timeout: 260 seconds]
smactive has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
rgrmatt has quit [Remote host closed the connection]
dexter__ has joined #ruby
krobzaur has quit [Ping timeout: 260 seconds]
krobzaur has joined #ruby
[spoiler] has joined #ruby
smactive has quit [Ping timeout: 246 seconds]
dfinninger has joined #ruby
ruby-lang769 has joined #ruby
peeja_ has quit [Ping timeout: 260 seconds]
wavbounce has quit []
nkwsy_ has joined #ruby
ruby-lang769 has quit [Ping timeout: 252 seconds]
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak has joined #ruby
nkwsy has quit [Ping timeout: 246 seconds]
akem has quit [Quit: Bye]
rgrmatt has joined #ruby
^CrYpto^ has joined #ruby
^CrYpto^ has quit [Max SendQ exceeded]
CloCkWeRX has joined #ruby
nkwsy_ has quit [Ping timeout: 256 seconds]
^CrYpto^ has joined #ruby
nkwsy has joined #ruby
dlitvak has quit [Remote host closed the connection]
ascarter has joined #ruby
solars has quit [Ping timeout: 276 seconds]
rkazak_ has joined #ruby
Wsewolod has joined #ruby
nunchuck has quit [Ping timeout: 265 seconds]
trif has joined #ruby
PlasmaStar has quit [Ping timeout: 240 seconds]
waka has quit [Read error: Connection reset by peer]
tim_s007 has joined #ruby
asmodlol has quit [Ping timeout: 240 seconds]
PlasmaStar has joined #ruby
tectonic has quit []
trif has left #ruby [#ruby]
asmodlol has joined #ruby
waka has joined #ruby
chouhoulis has joined #ruby
xyh has joined #ruby
DLSteve has joined #ruby
haraigo has quit [Ping timeout: 245 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
kobain has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 272 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
waka has quit [Ping timeout: 246 seconds]
^CrYpto^ has quit [Quit: Leaving]
dwfait has joined #ruby
baweaver has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nkwsy>
I am having trouble getting mechanize to allow me to parce using xpath. I can get it to work when I use nokogiri methods on a saved page. can anyone see where I am going worng
<_blizzy_>
however, if I download the file using chrome, and try to open it with ruby, it opens without errors.
radgeRayden has quit [Ping timeout: 256 seconds]
<sneakerhax>
_blizzy_, possibly because you try to open it directly from the site. You said it when you download it and run it locally it works.
rrichardsr3 has joined #ruby
KnownSyntax has joined #ruby
<_blizzy_>
sneakerhax, but I'm not trying to open it directly from the site.
<_blizzy_>
Im saving it as hello.tar.gz, then I try to open hello.tar.gz
bkxd has joined #ruby
<_blizzy_>
oh, sorry, I mean when I try to
<_blizzy_>
open the local file
rrichardsr3 has quit [Max SendQ exceeded]
<_blizzy_>
I can download the file with ruby without problems
<sneakerhax>
You doing f.write and calling download_url
<sneakerhax>
*Your
<_blizzy_>
sneakerhax, yes, I have no problems with that. it's when I try to open the local file
rrichardsr3 has joined #ruby
<_blizzy_>
wait
<_blizzy_>
nvm Im sorrry
<sneakerhax>
I"m just speculating on possibly issues
<sneakerhax>
and taking what you said
chouhoulis has joined #ruby
dlitvak has joined #ruby
dwfait has joined #ruby
boxofrox has joined #ruby
<dwfait>
shevy: sorry, afk for a bit. The error here is because ldflags is nil, therefore shellsplit can’t process it (from extconf.rb:64 in eventmachine)
symm- has quit [Quit: Leaving...]
bkxd has quit [Ping timeout: 260 seconds]
<dwfait>
If I hack shellsplit to return empty array if nil, then I start to get C errors, because of a #define that’s not set correctly (HAVE_RB_THREAD_FD_SELECT)
<_blizzy_>
I can download the file using ruby, I just can't open it using ruby.
devoldmx has joined #ruby
dfinninger has quit [Remote host closed the connection]
symm- has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
fantazo has quit [Ping timeout: 240 seconds]
krobzaur has quit [Read error: Connection reset by peer]
asmodlol has quit [Ping timeout: 240 seconds]
symm- has quit [Client Quit]
devoldmx has quit [Ping timeout: 260 seconds]
kegan_ has joined #ruby
davedev has quit []
nkwsy has joined #ruby
<shevy>
dwfait weird... I don't have LDFLAGS set at all
asmodlol has joined #ruby
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<_blizzy_>
so anyway, I can't seem to open the file
<shevy>
what do you mean
<shevy>
can not open a file
<_blizzy_>
I get the error "not in gzip format"
<shevy>
are you even downloading it at all
<_blizzy_>
yes, because I can open the file using winrar
<_blizzy_>
well, the tar.gz file
<shevy>
ah I see that now ok
<dwfait>
shevy I think it’s something to do with my openssl install / setup. pkconfig is failing to get the information on the openssl package. I’ve configured my ruby install with the correct location to my openssl, maybe I’m not doing something to feed that through to the native extensions like ruby-install would? (I’m doing --with-openssl-dir=`brew --prefix openssl`)
<shevy>
the file downloaded some 71MB
diegoviola has joined #ruby
dingman has quit [Ping timeout: 264 seconds]
<shevy>
_blizzy_ would it work if it is .gz rather than .tar.gz ?
dlitvak has joined #ruby
<_blizzy_>
shevy, trying it right now
<_blizzy_>
nope, still get "not in gzip format"
<shevy>
aha
<shevy>
yeah
<shevy>
I think the archive is not valid
<_blizzy_>
then how can I open it in winrar?
<shevy>
perhaps winrar has some extra code to detect invalidity ... hmm
<shevy>
I can not unpack it here on linux
<shevy>
file says "POSIX tar archive (GNU)"
<_blizzy_>
hmm, maybe Im downloading the file wrong?
rrichardsr3 has quit [Quit: He who dares .... wins.]
devbug has joined #ruby
QualityAddict has left #ruby ["Leaving"]
<shevy>
I'll play with this for a bit
<shevy>
ah
<shevy>
there is one thing I'd do if I were you
dlitvak has quit [Ping timeout: 276 seconds]
<shevy>
I'd put this into separate actions
<shevy>
(1) Download
<shevy>
(2) after download, (re)package
ElFerna has joined #ruby
<_blizzy_>
what do you mean by repackage
<shevy>
I have no idea if this makes a difference but right now you seem to do both
<dwfait>
things I’ve tried: without openssl support, config options of: --with-openssl-dir=`brew --prefix openssl` --with-opt-dir=/usr/local/opt/openssl
yqt has quit [Ping timeout: 240 seconds]
<dwfait>
using chruby and ruby-install with 2.3, everything works OK. Any clues to where I’m going wrong?
tectonic has joined #ruby
chouhoulis has quit [Ping timeout: 265 seconds]
<shevy>
does not ruby-install log output what it does? then you can trace back what it does differently
<shevy>
havenwood should know a thing or two about ruby-install so perhaps he can help
devoldmx has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<dwfait>
I’ve logged out how ruby-install configures ruby, which is where the configure flags I’ve tried come from. No luck, unfortunately
Spami has joined #ruby
Spami has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 240 seconds]
Hammy_Work has quit [Read error: Connection reset by peer]
<shevy>
openssl is usually a pain anyway
braincrash has quit [Quit: bye bye]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
baweaver has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
rkazak has quit [Quit: Sleep.....ing....]
Uptime has left #ruby [#ruby]
braincrash has joined #ruby
highsen has joined #ruby
rgrmatt has joined #ruby
nitrixmas is now known as nitrix
rgrmatt has quit [Ping timeout: 256 seconds]
dlitvak has joined #ruby
dlitvak_ has quit [Ping timeout: 264 seconds]
ElFerna has quit [Ping timeout: 240 seconds]
robh71 has joined #ruby
PaulCapestany has quit [Quit: .]
araujo has quit [Read error: Connection timed out]
shadoi has joined #ruby
araujo has joined #ruby
PaulCapestany has joined #ruby
araujo has quit [Max SendQ exceeded]
araujo has joined #ruby
PsionTheory has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 272 seconds]
ruu_ has joined #ruby
nkwsy has quit [Ping timeout: 240 seconds]
Trynemjoel has quit [Ping timeout: 250 seconds]
marcdel has joined #ruby
devoldmx has joined #ruby
gizmore has quit [Ping timeout: 272 seconds]
shadoi has quit [Quit: Leaving.]
ruu_ has quit [Ping timeout: 255 seconds]
dlitvak has quit [Ping timeout: 265 seconds]
chipotle_ has quit [Quit: cheerio]
Trynemjoel has joined #ruby
rkazak has joined #ruby
dlitvak has joined #ruby
adgtl has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
diegoviola has quit [Ping timeout: 260 seconds]
dwfait has quit [Quit: dwfait]
chouhoulis has joined #ruby
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
skcin7 has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
gizmore has joined #ruby
<belak>
Is rvm still the best way to install ruby? It was pretty much the only option when I was messing with ruby a few years ago, other than system packages.
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
domgetter has joined #ruby
robh71 has joined #ruby
adgtl_ has joined #ruby
colegatron has quit [Ping timeout: 272 seconds]
duckpuppy has joined #ruby
wildlander has quit [Quit: Saliendo]
adgtl has quit [Ping timeout: 260 seconds]
[spoiler] has quit [Ping timeout: 272 seconds]
_whitelogger has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ruby
ammar has quit [Ping timeout: 240 seconds]
Drakevr has quit [Ping timeout: 240 seconds]
marwinism has quit [Ping timeout: 240 seconds]
lnx has quit [Ping timeout: 250 seconds]
oddmunds has quit [Ping timeout: 255 seconds]
Morrolan has quit [Ping timeout: 255 seconds]
canton7 has quit [Ping timeout: 276 seconds]
leslie has quit [Ping timeout: 264 seconds]
Takumo has quit [Ping timeout: 240 seconds]
lucas_ has quit [Ping timeout: 260 seconds]
voker57 has quit [Ping timeout: 240 seconds]
drPoggs has quit [Ping timeout: 240 seconds]
tekacs has quit [Ping timeout: 255 seconds]
kaspergrubbe has quit [Ping timeout: 264 seconds]
plsk has quit [Ping timeout: 264 seconds]
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
drPoggs has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
scripore has quit [Quit: This computer has gone to sleep]
rkazak has quit [Quit: Sleep.....ing....]
leslie has joined #ruby
leslie has quit [Changing host]
leslie has joined #ruby
tekacs has joined #ruby
CloCkWeRX has joined #ruby
dseitz has joined #ruby
[spoiler] has joined #ruby
colegatron has joined #ruby
bkxd has joined #ruby
arescorpio has quit [Quit: Leaving.]
PlasmaStar has quit [Ping timeout: 240 seconds]
dlitvak_ has joined #ruby
_whitelogger has joined #ruby
drPoggs has joined #ruby
tekacs has joined #ruby
JStoker has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
JoL1hAHN has joined #ruby
bkxd has quit [Ping timeout: 265 seconds]
EvilJStoker has joined #ruby
houhouli_ has joined #ruby
ruu_ has joined #ruby
leslie has joined #ruby
leslie has quit [Changing host]
leslie has joined #ruby
[spoiler] has joined #ruby
houhoulis has quit [Ping timeout: 255 seconds]
bjmllr_ has quit []
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
ruu_ has quit [Ping timeout: 256 seconds]
Trynemjoel has quit [Ping timeout: 264 seconds]
diegoviola has quit [Quit: WeeChat 1.3]
CloCkWeRX has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dlitvak has joined #ruby
dlitvak_ has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
dingman has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
seitensei has quit [Ping timeout: 256 seconds]
marcdel has quit [Ping timeout: 240 seconds]
smactive has joined #ruby
charliesome has quit [Client Quit]
darkf has joined #ruby
dfinninger has quit [Remote host closed the connection]
charliesome has joined #ruby
bjmllr has joined #ruby
dfinninger has joined #ruby
smactive has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
chouhoulis has joined #ruby
Gadgetoid has quit [Ping timeout: 272 seconds]
<wolffles>
hi
<domgetter>
What's up?
<wolffles>
just thought id say hi
<wolffles>
was too quiet
bkxd has joined #ruby
dfinninger has quit [Ping timeout: 246 seconds]
Gadgetoid has joined #ruby
<domgetter>
Perhaps everyone's busy enjoying their new Xmas presents
<wolffles>
i got nothing for christmas
<wolffles>
:/
andywojo has quit [Ping timeout: 265 seconds]
fantazo has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
<domgetter>
That sucks :(
dlitvak has quit [Ping timeout: 245 seconds]
<wolffles>
ehhh i havent gotten very many presents in years
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takumo has quit [Ping timeout: 240 seconds]
canton7 has quit [Ping timeout: 276 seconds]
PlasmaStar has quit [Ping timeout: 260 seconds]
PlasmaStar has joined #ruby
blackgoat has joined #ruby
Antiarc has quit [Quit: No Ping reply in 180 seconds.]
bkxd has quit [Ping timeout: 256 seconds]
Antiarc has joined #ruby
bjmllr has quit [Quit: WeeChat 1.0.1]
dlitvak_ has joined #ruby
dlitvak has quit [Ping timeout: 246 seconds]
rgrmatt has joined #ruby
bjmllr has joined #ruby
the_nick_me has joined #ruby
bjmllr has quit [Client Quit]
bjmllr has joined #ruby
rgrmatt has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
the_nic__ has joined #ruby
kaspergrubbe has joined #ruby
JStoker has quit [Ping timeout: 240 seconds]
tekacs has quit [Ping timeout: 240 seconds]
PlasmaStar has quit [Ping timeout: 260 seconds]
leslie has quit [Ping timeout: 240 seconds]
drPoggs has quit [Ping timeout: 240 seconds]
voker57 has quit [Read error: Connection reset by peer]
EvilJStoker has quit [Ping timeout: 250 seconds]
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
the_nick_me has quit [Ping timeout: 255 seconds]
leslie has joined #ruby
leslie has quit [Changing host]
leslie has joined #ruby
tekacs has joined #ruby
drPoggs has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
dingman has quit [Ping timeout: 276 seconds]
JStoker has joined #ruby
djbkd has quit [Ping timeout: 265 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
PlasmaStar has joined #ruby
ruu_ has joined #ruby
kegan_ has quit [Ping timeout: 272 seconds]
EvilJStoker has joined #ruby
kegan_ has joined #ruby
baweaver has joined #ruby
claw has quit [Ping timeout: 260 seconds]
ruu_ has quit [Ping timeout: 256 seconds]
Rodya_ has quit [Quit: Leaving...]
cassioscabral has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
claw has joined #ruby
adgtl_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 265 seconds]
senayar has quit [Remote host closed the connection]
dlitvak_ has quit [Ping timeout: 256 seconds]
dlitvak has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has joined #ruby
baweaver has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
charliesome has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
duckpuppy has quit [Ping timeout: 240 seconds]
Trynemjoel has joined #ruby
devoldmx has quit [Remote host closed the connection]
sp1rs has joined #ruby
baweaver has quit [Ping timeout: 276 seconds]
the_nick_me has joined #ruby
tectonic has quit []
the_nic__ has quit [Ping timeout: 240 seconds]
canton7 has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
trwyth has joined #ruby
trwyth has joined #ruby
dlitvak has quit [Ping timeout: 264 seconds]
canton7 has quit [Ping timeout: 265 seconds]
passerine has joined #ruby
dlitvak has joined #ruby
karapetyan has joined #ruby
ruu_ has joined #ruby
xet7 has joined #ruby
AlexRussia has quit [Ping timeout: 276 seconds]
themsay has quit [Ping timeout: 256 seconds]
bkxd has joined #ruby
rgrmatt has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
rippa has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby
adgtl has joined #ruby
Dimik has joined #ruby
rgrmatt has quit [Ping timeout: 276 seconds]
_whitelogger has joined #ruby
drPoggs has joined #ruby
JoL1hAHN has joined #ruby
tekacs has joined #ruby
voker57 has joined #ruby
EvilJStoker has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
hagabaka has quit [Ping timeout: 260 seconds]
JStoker has joined #ruby
passerine has left #ruby [#ruby]
skcin7 has quit [Max SendQ exceeded]
skcin7 has joined #ruby
djbkd has joined #ruby
leslie has joined #ruby
leslie has quit [Changing host]
leslie has joined #ruby
[spoiler] has joined #ruby
RegulationD has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
arup_r has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
rkazak_ has joined #ruby
cassioscabral has quit [Quit: cassioscabral]
gizless has joined #ruby
rkazak_ has quit [Client Quit]
_whitelogger_ has joined #ruby
kster has joined #ruby
chouhoulis has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
tekacs has joined #ruby
[spoiler] has joined #ruby
drPoggs has joined #ruby
charliesome has joined #ruby
<kster>
question as an experienced developer but complete ruby noob. i've been given a ruby project with little knowledge of configuration. the "start" command that's in my docs is: bundle exec dl:start:all is there like a ...compiled build cache or something? i'm receiving an error referencing a change i was doing in one of the .rb fi
<kster>
les, but i already undid that change and the error is still happening
leslie has joined #ruby
leslie has joined #ruby
<kster>
i was trying to add in a new object member named short_order_id to be a truncated version of the original property order_id
charliesome has quit [Client Quit]
EvilJStoker has joined #ruby
<kster>
but i've reverted the code back to original. but execution still throws an error referring to short_order_id
charliesome has joined #ruby
chouhoulis has quit [Ping timeout: 265 seconds]
axsuul has joined #ruby
gizmore has joined #ruby
_blizzy_ has quit [Quit: Leaving]
senayar has joined #ruby
senayar has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
dlitvak has joined #ruby
baweaver has joined #ruby
gizless has quit [Ping timeout: 250 seconds]
djbkd_ has joined #ruby
JStoker has joined #ruby
highsen has quit [Ping timeout: 260 seconds]
senayar has quit [Ping timeout: 255 seconds]
devoldmx has joined #ruby
adgtl has quit [Remote host closed the connection]
cyfr0n has joined #ruby
baweaver has quit [Ping timeout: 264 seconds]
nkwsy has joined #ruby
PlasmaStar has quit [Ping timeout: 255 seconds]
highsen has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
agit0 has joined #ruby
canton7 has joined #ruby
Morrolan has joined #ruby
kaspergrubbe has joined #ruby
marwinism has joined #ruby
Drakevr has joined #ruby
ammar has joined #ruby
lnx has joined #ruby
_whitelogger has joined #ruby
marwinism has quit [Ping timeout: 265 seconds]
voker57 has joined #ruby
_whitelogger has joined #ruby
the_nick_me has quit [Remote host closed the connection]
Drakevr has joined #ruby
kaspergrubbe has joined #ruby
lnx has joined #ruby
djbkd_ has quit [Remote host closed the connection]
marwinism has joined #ruby
lucas has joined #ruby
sp1rs has quit [Read error: Connection reset by peer]
FernandoBasso has joined #ruby
vdamewood has joined #ruby
marr has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
Highsen has quit [Ping timeout: 246 seconds]
oddmunds has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
dlitvak has joined #ruby
AlexRussia has joined #ruby
rgrmatt has joined #ruby
karapetyan has joined #ruby
blackgoat has quit [Quit: WeeChat 1.3]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
lacuna has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 256 seconds]
rgrmatt has quit [Ping timeout: 255 seconds]
karapetyan has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
djbkd has quit [Ping timeout: 265 seconds]
devbug_ has joined #ruby
duckpuppy has joined #ruby
devbug has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
asmodlol has quit [Ping timeout: 265 seconds]
norc has joined #ruby
<norc>
Hello folks.
<norc>
I see, we have gotten our Christmas present. :)
Highsen has joined #ruby
axsuul has joined #ruby
seitensei has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
asmodlol has joined #ruby
steffkes has joined #ruby
steffkes has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
BrunoSaboia has joined #ruby
seitensei has quit [Ping timeout: 245 seconds]
cyfr0n has joined #ruby
BSaboia has quit [Ping timeout: 256 seconds]
<norc>
So Im thinking about a feature request for our next Ruby version. "Source code comments everywhere".
<norc>
And I'm just wondering about the countless variations of broken English this feature request will be denied with.
arup_r has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 260 seconds]
<domgetter>
If you want to submit a feature request that will be denied, I'm sure we can get pretty creative...
Begi has joined #ruby
arup_r has joined #ruby
andywojo has joined #ruby
drPoggs has quit [Ping timeout: 240 seconds]
dfinninger has joined #ruby
[spoiler] has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
dlitvak has quit [Ping timeout: 276 seconds]
rab00f has joined #ruby
andywojo has quit [Ping timeout: 240 seconds]
drPoggs has joined #ruby
[spoiler] has joined #ruby
_whitelogger has joined #ruby
wolffles has quit [Quit: wolffles]
postmodern has joined #ruby
EvilJStoker has joined #ruby
devoldmx has joined #ruby
hanmac has joined #ruby
SegFaultAX has quit [Ping timeout: 250 seconds]
Klumben has quit [Ping timeout: 240 seconds]
johnhamelink has quit [Ping timeout: 260 seconds]
Junaos_ has quit [Ping timeout: 260 seconds]
rcs has quit [Ping timeout: 240 seconds]
JStoker has joined #ruby
bmn has quit [Ping timeout: 246 seconds]
senayar has quit [Ping timeout: 240 seconds]
miah has quit [Ping timeout: 240 seconds]
platzhirsch has left #ruby [#ruby]
Sou|cutter has quit [Ping timeout: 250 seconds]
anekos has quit [Ping timeout: 240 seconds]
mblagden has quit [Ping timeout: 272 seconds]
kenichi has quit [Ping timeout: 240 seconds]
Liothen has quit [Ping timeout: 250 seconds]
papercode has quit [Ping timeout: 250 seconds]
G has quit [Ping timeout: 250 seconds]
alem0lars has quit [Ping timeout: 260 seconds]
klaas_ is now known as klaas
devoldmx has quit [Ping timeout: 265 seconds]
trwyth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
rcs has joined #ruby
spider-mario has joined #ruby
trwyth has joined #ruby
dkam has joined #ruby
rcs has quit [Ping timeout: 240 seconds]
Liothen has joined #ruby
Liothen has joined #ruby
kenichi has joined #ruby
Junaos has joined #ruby
G has joined #ruby
Sou|cutter has joined #ruby
kmckelvin has joined #ruby
papercode has joined #ruby
anekos has joined #ruby
rcs has joined #ruby
bmn has joined #ruby
rab00f has quit [Quit: Leaving]
SegFaultAX has joined #ruby
mblagden has joined #ruby
miah has joined #ruby
cyfr0n has quit [Ping timeout: 255 seconds]
axsuul has quit [Ping timeout: 272 seconds]
axsuul has joined #ruby
houhouli_ has quit [Remote host closed the connection]
djbkd has joined #ruby
DoubleMalt has joined #ruby
NightMonkey has quit [Ping timeout: 250 seconds]
jbrhbr has joined #ruby
snarkanoid has joined #ruby
Junaos has quit [Ping timeout: 246 seconds]
kenichi has quit [Ping timeout: 246 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anekos has quit [Ping timeout: 240 seconds]
bmn has quit [Ping timeout: 240 seconds]
rcs has quit [Ping timeout: 255 seconds]
Sou|cutter has quit [Ping timeout: 260 seconds]
miah has quit [Ping timeout: 265 seconds]
mblagden has quit [Ping timeout: 265 seconds]
axsuul has quit [Ping timeout: 276 seconds]
papercode has quit [Ping timeout: 264 seconds]
johnhamelink has joined #ruby
Junaos has joined #ruby
kmckelvin has quit [Ping timeout: 245 seconds]
dtordable has quit [Remote host closed the connection]
dtordable has joined #ruby
puria has quit [Ping timeout: 260 seconds]
steffkes has quit [Ping timeout: 272 seconds]
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kirun has joined #ruby
skcin7 has joined #ruby
dtordable has quit [Read error: Connection reset by peer]
Pupeno has quit [Remote host closed the connection]
skcin7 has quit [Max SendQ exceeded]
trampi has joined #ruby
dtordable has joined #ruby
skcin7 has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
HANJIN has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has quit [Remote host closed the connection]
<norc>
kegan_: Im not sure I understand your problem. Can you provide a sample document (haml/slim suffices) and describe it with that document?
<norc>
domgetter: The difference is, I actually want that feature. ;-)
darkf has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
<norc>
domgetter: Most European contributions that introduce new functions actually bring fairly extensive documentation, this really must be some Japanese thing.
puria has joined #ruby
Jackneill has joined #ruby
<domgetter>
norc: Oh you meant comments in Ruby's source code?
<norc>
Yes.
<domgetter>
not just source code of programs written in Ruby
<norc>
There are some C functions spanning up to thousands of lines of code, containing less than a dozen lines of comments - if any.
<norc>
It is downright silly.
platzhirsch has joined #ruby
<domgetter>
The function for puts uses goto :P
<norc>
There is no such thing as goto.
<norc>
On a serious note, goto is fine for some convuluted conditionals.
arup_r has joined #ruby
<norc>
What is worse is the fact that Ruby makes heavy use of macros, which makes building call graphs really hard, which means it is really hard to figure out what a function does if it doesnt say.
<norc>
domgetter: Ah, it's a saying I used at work for a colleque that used it to great extend for control flow - needless to say, his libraries ended up being largely unmaintainable.
dlitvak has quit [Remote host closed the connection]
<domgetter>
Ah, okay
<domgetter>
My brother and I have a similar saying about how there's no such thing as plain text
darkf has joined #ruby
mdw has joined #ruby
<norc>
What is interesting, is that Ruby - like most other languages, uses setjmp/longjmp for Exceptions as well as catch and throw - internally they are actually not that much different. :)
<norc>
And you can abuse that fact to rescue from actual segmentation faults, there is a Ruby hacker here how found a really neat way for this.
<blub>
call/cc is just goto done right
AlphaAtom has joined #ruby
colegatron has quit [Ping timeout: 256 seconds]
<domgetter>
blub: isn't that deprecated and replaced with Fibers?
duckpuppy has joined #ruby
<blub>
i forgot where i was sorry
m8 has joined #ruby
<norc>
blub: Well they are completely different things. Goto is local, call/cc is not.
kegan_ has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
<norc>
Or wait, which language are we talking about.
<norc>
Scheme? C? Ruby?
fantazo has joined #ruby
<domgetter>
Smalltran
SCHAAP137 has joined #ruby
<domgetter>
Algvascript
blackmesa has joined #ruby
<kegan_>
norc: im exhausted, please excuse the lack of example here, i think i can explain well enough though. if not i'll just wait until after sleep: page contains numerous divs with class="categories", some have one child <a> with category text, others have multiples. as it stands, using nokogiri's xpath on the page w/ xpath= //div[@class="categories"] will give me, for the divs with multiple anchors,
<kegan_>
all of the results mashed into one nodeset, whereas I want to be able to delineate between each match under that parent div so that I can separate them in some meaningful fashion
<norc>
kegan_: Just write a sample HAML document please. It is fairly easy. :)
<norc>
Or slim. Whatever
last_staff has joined #ruby
<norc>
(Or a full XML example if you prefer, but HAML/SLIM is probably much faster to type :P)
kmckelvin has joined #ruby
CloCkWeRX has left #ruby [#ruby]
<norc>
The reason Im forcing you, is because I don't have the time to read and guess what you mean. If you give a sample document, we can use it to test various examples against.
<norc>
Much faster and more reliable way of getting help. :)
<kegan_>
norc, i get it, i would do the same. you're not being unreasonable, not in the slightest, I just... I can't. i respect the request and i'll come back after sleep when i can
colegatron has joined #ruby
<norc>
Fair enough. :)
<norc>
kegan_: Incidentally, you should have such sample documents anyway - because you test your application with RSpec/Minitest, am I right? ;-)
* norc
hides
mostlybadfly has joined #ruby
anisha has joined #ruby
Feyn has joined #ruby
rgrmatt has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
<kegan_>
ahaha, for a rails app? TDD w/ rspec. for a <80 line crawl script? no way
rgrmatt has quit [Ping timeout: 245 seconds]
anisha_ has joined #ruby
<kegan_>
should i minitest those? for the sake of edification?
<kegan_>
not sarcasm
rcs has joined #ruby
ta has joined #ruby
arup_r has quit [Ping timeout: 245 seconds]
<kegan_>
i'm about to drop dead on my desk here, incapable of derision
anekos has joined #ruby
bmn has joined #ruby
kenichi has joined #ruby
anisha_ has quit [Client Quit]
axsuul has joined #ruby
<norc>
kegan_: Never not write tests I say.
kp666 has joined #ruby
greenarrow has joined #ruby
kp666 has quit [Max SendQ exceeded]
<norc>
Often the issue is that developers tend to be the test framework themselves. If you want to add something with an expected behavior, do not verify that behavior in the browser after writing it - verify it in the test.
anekos has quit [Ping timeout: 240 seconds]
kp666 has joined #ruby
kp666 has quit [Max SendQ exceeded]
rcs has quit [Ping timeout: 246 seconds]
kp666 has joined #ruby
kmckelvin has quit [Ping timeout: 245 seconds]
kp666 has quit [Max SendQ exceeded]
<norc>
If you do it right, you end not not even needing the Browser at all during development, aside from styling.
bmn has quit [Ping timeout: 255 seconds]
kp666 has joined #ruby
kenichi has quit [Ping timeout: 276 seconds]
kp666 has quit [Max SendQ exceeded]
kp666 has joined #ruby
kp666 has quit [Max SendQ exceeded]
mdw has quit [Quit: Sleeping Zzzzz]
kp666 has joined #ruby
anisha__ has joined #ruby
kp666 has quit [Max SendQ exceeded]
anisha has quit [Quit: Leaving]
kp666 has joined #ruby
kp666 has quit [Max SendQ exceeded]
toretore has joined #ruby
kp666 has joined #ruby
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
mdw has joined #ruby
kp666 has quit [Max SendQ exceeded]
anisha has joined #ruby
kp666 has joined #ruby
Junaos has quit [Ping timeout: 264 seconds]
kp666 has quit [Max SendQ exceeded]
axsuul has quit [Ping timeout: 260 seconds]
johnhamelink has quit [Ping timeout: 250 seconds]
kp666 has joined #ruby
SegFaultAX has quit [Ping timeout: 240 seconds]
anisha__ has quit [Client Quit]
Liothen has quit [Ping timeout: 264 seconds]
G has quit [Ping timeout: 264 seconds]
seitensei has quit [Ping timeout: 240 seconds]
Begi has quit [Ping timeout: 256 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
trif has left #ruby [#ruby]
katxic has joined #ruby
marr has quit []
katxic has quit [Client Quit]
dfinninger has joined #ruby
Gnut has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
anisha__ has joined #ruby
TomyLobo has quit [Quit: Leaving]
dfinninger has quit [Ping timeout: 256 seconds]
anisha__ has quit [Client Quit]
anisha_ has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
senayar has joined #ruby
Liothen has joined #ruby
Liothen has joined #ruby
anisha_ has quit [Client Quit]
anisha_ has joined #ruby
miah has joined #ruby
Mon_Ouie has joined #ruby
anekos has joined #ruby
kenichi has joined #ruby
Junaos has joined #ruby
anisha_ has quit [Client Quit]
anisha_ has joined #ruby
devoldmx has joined #ruby
bmn has joined #ruby
anisha_ has quit [Client Quit]
anisha_ has joined #ruby
rcs has joined #ruby
anisha_ has quit [Client Quit]
duckpuppy has joined #ruby
senayar has quit [Ping timeout: 240 seconds]
anisha_ has joined #ruby
G has joined #ruby
anisha__ has joined #ruby
anisha_ has quit [Remote host closed the connection]
anisha__ has quit [Remote host closed the connection]
mblagden has joined #ruby
anisha_ has joined #ruby
papercode has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
anisha_ has quit [Client Quit]
Sou|cutter has joined #ruby
anisha_ has joined #ruby
duckpuppy has quit [Ping timeout: 256 seconds]
norc has quit [Ping timeout: 252 seconds]
anisha_ has quit [Client Quit]
anisha_ has joined #ruby
kegan_ has quit [Ping timeout: 260 seconds]
SegFaultAX has joined #ruby
SegFaultAX has quit [Changing host]
SegFaultAX has joined #ruby
anisha_ has quit [Client Quit]
shredding has joined #ruby
FooMunki has joined #ruby
karapetyan has joined #ruby
rgrmatt has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 256 seconds]
booboo has joined #ruby
rgrmatt has quit [Ping timeout: 240 seconds]
platzhirsch has quit [Ping timeout: 245 seconds]
<booboo>
hi, I cannot compile eventmachine under ruby 2.3, here's the log: http://pastebin.com/evNP8WKS Is it just me or it should be reported ?
<ruboto>
booboo, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
bkxd has joined #ruby
<Papierkorb>
booboo: To see why this extension failed to compile, please check the mkmf.log which can be found here: /usr/local/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/eventmachine-1.0.8/mkmf.log
<Papierkorb>
booboo: please !gist that file
<booboo>
Papierkorb: yes, sorry
roshanavand has joined #ruby
<booboo>
Papierkorb: mkmf.log says "dyld: Symbol not found: __cg_jpeg_resync_to_restart\n"
<Papierkorb>
booboo: No idea about ruby2.3's API changes, nor Mac in general, but try googling for that method name
<booboo>
Papierkorb: yes, I've just found something about it, thanks
roshanavand has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
anisha_ has joined #ruby
anisha_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
solocshaw has joined #ruby
anisha has quit [Ping timeout: 250 seconds]
skcin7_ has joined #ruby
BrunoSaboia has quit [Ping timeout: 256 seconds]
booboo has quit [Quit: Page closed]
alem0lars has joined #ruby
skcin7 has quit [Ping timeout: 246 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
dorei has joined #ruby
FernandoBasso has quit [Ping timeout: 256 seconds]
roshanavand has joined #ruby
shredding has quit [Ping timeout: 276 seconds]
scripore has joined #ruby
dkam_ has joined #ruby
dfinninger has joined #ruby
chouhoulis has joined #ruby
dkam has quit [Ping timeout: 240 seconds]
gagrio has quit [Quit: Leaving...]
banister has joined #ruby
gagrio has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinninger has quit [Ping timeout: 265 seconds]
chouhoulis has quit [Ping timeout: 250 seconds]
FooMunki has quit [Quit: FooMunki]
SirCmpwn has quit [Ping timeout: 260 seconds]
FooMunki has joined #ruby
senayar has joined #ruby
ec has quit [Ping timeout: 240 seconds]
peterhu_ has quit [Ping timeout: 256 seconds]
pleiosaur has quit [Ping timeout: 260 seconds]
csaunders has quit [Ping timeout: 250 seconds]
janelleb has quit [Ping timeout: 246 seconds]
LBRapid_ has quit [Ping timeout: 240 seconds]
Nightmare has quit [Ping timeout: 240 seconds]
nonopposition is now known as CrazEd
j0bk_ has quit [Ping timeout: 256 seconds]
rasengan has quit [Ping timeout: 276 seconds]
Jello_Raptor has quit [Ping timeout: 276 seconds]
annomander has quit [Ping timeout: 264 seconds]
CrazEd is now known as Guest34080
roshanavand has quit [Remote host closed the connection]
dexter__ has quit [Ping timeout: 264 seconds]
anisha_ has joined #ruby
Klumben has joined #ruby
sdothum has joined #ruby
yaewa has quit [Quit: Leaving...]
d0nn1e has quit [Ping timeout: 250 seconds]
c355e3b has joined #ruby
toretore has quit [Ping timeout: 272 seconds]
moei has joined #ruby
senayar has quit [Ping timeout: 250 seconds]
d0nn1e has joined #ruby
dexter__ has joined #ruby
c0ncealed has quit [Remote host closed the connection]
themsay has joined #ruby
c0ncealed has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
FernandoBasso has joined #ruby
robh71 has joined #ruby
dearleader has quit [Quit: Leaving]
cyfr0n has joined #ruby
krz has joined #ruby
trwyth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
themsay has quit [Quit: AtomicIRC: The nuclear option.]
ghr has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
pawnbox has joined #ruby
AlphaAtom has joined #ruby
trwyth has joined #ruby
ghr has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
johnhamelink has joined #ruby
AlphaAtom has joined #ruby
trwyth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devbug_ has quit [Read error: Connection reset by peer]
colegatron has quit [Ping timeout: 240 seconds]
AlphaAtom has quit [Ping timeout: 250 seconds]
seitensei has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
duckpuppy has joined #ruby
seitensei has quit [Ping timeout: 255 seconds]
Feyn has quit [Quit: Leaving]
duckpuppy has quit [Ping timeout: 250 seconds]
anisha has joined #ruby
AlphaAtom has joined #ruby
Highsen has quit [Ping timeout: 255 seconds]
Highsen has joined #ruby
colegatron has joined #ruby
elaptics`away is now known as elaptics
lxsameer has quit [Ping timeout: 260 seconds]
HANJIN has quit [Quit: HANJIN]
lxsameer has joined #ruby
Guest34080 is now known as CrazEd
CrazEd is now known as Guest6223
chouhoulis has joined #ruby
AlphaAtom has quit [Remote host closed the connection]
Highsen has quit [Ping timeout: 240 seconds]
Highsen has joined #ruby
pawnbox has quit [Remote host closed the connection]
roshanavand has joined #ruby
AlphaAtom has joined #ruby
j0bk has joined #ruby
pawnbox has joined #ruby
PedramT has joined #ruby
roshanavand has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
csaunders has joined #ruby
LBRapid has joined #ruby
SirCmpwn has joined #ruby
Jello_Raptor has joined #ruby
nfk has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
cyfr0n has quit [Quit: WeeChat 1.3]
scripore has joined #ruby
cyfr0n has joined #ruby
senayar has joined #ruby
pleiosaur has joined #ruby
peterhu has joined #ruby
anisha has quit [Ping timeout: 265 seconds]
rasengan has joined #ruby
ec has joined #ruby
scripore has quit [Read error: Connection reset by peer]
janelleb has joined #ruby
scripore has joined #ruby
csaunders has quit [Ping timeout: 246 seconds]
devoldmx has joined #ruby
LBRapid has quit [Ping timeout: 250 seconds]
Salehi has joined #ruby
j0bk has quit [Ping timeout: 255 seconds]
Jello_Raptor has quit [Ping timeout: 245 seconds]
SirCmpwn has quit [Ping timeout: 260 seconds]
ec has quit [Ping timeout: 240 seconds]
peterhu has quit [Ping timeout: 240 seconds]
janelleb has quit [Ping timeout: 245 seconds]
pleiosaur has quit [Ping timeout: 245 seconds]
senayar has quit [Ping timeout: 256 seconds]
scripore has quit [Client Quit]
devoldmx has quit [Ping timeout: 240 seconds]
rasengan has quit [Ping timeout: 276 seconds]
scripore has joined #ruby
snarkanoid has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
Highsen has quit [Remote host closed the connection]
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 260 seconds]
robh71 has joined #ruby
karapetyan has quit [Remote host closed the connection]
toretore has joined #ruby
last_staff has quit [Quit: last_staff]
roshanavand has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
asmodlol has quit [Ping timeout: 272 seconds]
Jardayn has joined #ruby
asmodlol has joined #ruby
kmckelvin has joined #ruby
toretore has quit [Ping timeout: 250 seconds]
djbkd has quit [Remote host closed the connection]
osiutino has joined #ruby
mary5030 has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
fantazo has quit [Quit: Verlassend]
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea>
People (mistakenly) think they need to be careful with that identifier.
hinbody has quit [Ping timeout: 265 seconds]
<Ox0dea>
Or else it's just for symmetry with `ary`, `str`, and the like.
<belak>
Is it possible to not have to install chruby locally? Similar to how rbenv works?
dtonal has left #ruby ["Konversation terminated!"]
_blizzy_ has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
Rickmasta has joined #ruby
<adaedra>
You can put chruby anywhere you please
<belak>
It seems like all the recommendations are to just run sudo make install
Darin_ has joined #ruby
<arup_r>
Ox0dea: ok it is #any, but is is included in 2.2.1 not in 2.2.3 before 2.2.1 it was documented in Enumerable, but since 2.2.1 it is in Array API
karapetyan has joined #ruby
<Ox0dea>
arup_r: Array#any? and Enumerable#any? are different methods.
<Ox0dea>
Array#any? is optimized specifically for Array.
<arup_r>
^^ That is my point
<_blizzy_>
atm I'm making a ruby version manager for windows. it's a fun project.
mdw has joined #ruby
<Ox0dea>
arup_r: Why are you talking about differences between 2.2.1 and 2.2.3?
howdoi has quit [Quit: Connection closed for inactivity]
<arup_r>
nothing.. leave it :)
<Ox0dea>
And why has documentation to do with any of this?
<Darin_>
What good is a get_name method that asks for a name of a person, if the only way to print out a greeting you have to give the name of a person as an argument when you create a new person object?
arup_r has quit [Read error: Connection reset by peer]
dwfait has joined #ruby
arup_r has joined #ruby
<_blizzy_>
also, sorry, I didn't notice Zlib::Inflate in the Zlib library.
<Papierkorb>
_blizzy_: ZLib only handles zlib compressed data, not zip archives ...
roshanav_ has quit [Ping timeout: 260 seconds]
arup_r has quit [Read error: Connection reset by peer]
<_blizzy_>
so how would I open a zip file using the standard library ....
colegatron has quit [Ping timeout: 276 seconds]
<Papierkorb>
_blizzy_: 'ZIP' is a file format. It's like you're trying to open a word document with notepad.exe
<_blizzy_>
I can't find anything on Google.
<Papierkorb>
_blizzy_: by implementing a ZIP-file reader
arup_r has joined #ruby
arup_r has quit [Remote host closed the connection]
bytecrawler has quit [Quit: WeeChat 0.4.2]
arup_r has joined #ruby
<Papierkorb>
(Or using rubyzip of course)
anisha has quit [Quit: Leaving]
ElFerna has quit [Ping timeout: 250 seconds]
ElFerna has joined #ruby
RegulationD has joined #ruby
<_blizzy_>
ugh, screw it, I'll use rubyzip. thanks everyone.
senayar has quit [Ping timeout: 246 seconds]
aryaching has quit [Ping timeout: 256 seconds]
Trynemjoel has quit [Ping timeout: 250 seconds]
aryaching has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
sp1rs has joined #ruby
Trynemjoel has joined #ruby
samgerber has quit [Ping timeout: 272 seconds]
CloCkWeRX has left #ruby [#ruby]
kster has joined #ruby
<kster>
morning. anyone around for a noob ruby question?
<havenwood>
kster: Ask away!
samgerber has joined #ruby
roshanavand has joined #ruby
colegatron has joined #ruby
lacuna has joined #ruby
lacuna has quit [Changing host]
lacuna has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kster>
i'm an experienced dev. but complete ruby noob. but alas i had a ruby project dropped in my lap and i don't know what's going on with it. i started tinkering with the files but i screwd it up somehow. now whenever i execute the program, i get an error referring to a piece of code i modified but already reverted
<Ox0dea>
Please tell us more.
<havenwood>
Feed us code.
<kster>
the command i execute to start the program is: bundle exec rake dl:start:all
<Ox0dea>
And the error?
<kster>
the error is methodnotfound "short_order_id" i was trying to add a new property to an order object
<kster>
i was thinking it was just adding a member property
<kster>
but apparently not. i think it's actually referring to a mysql model instead
yqt has joined #ruby
<kster>
the inheritence isn't that clear to me. this file assets.rb inherits from downloader:Asset
<dwfait>
Could be that you need to migrate / do a db:schema:load if it’s a Rails model. The attributes on a model are loaded in from the database, so if your database is out of sync, your model won’t have the attribute on it.
<kster>
and downloader:asset inherits from asset... which i dunno even know where that is
<kster>
so i should update the db schema, add a new field short_order_id then run...what? bundle exec rake db:schema:load ?
<dwfait>
Are you trying to add the new short_order_id field on the model?
PedramT has quit [Remote host closed the connection]
<kster>
what i would like is just a member property that's a truncated version of the full order_id
<kster>
i don't need to necessarily have a db field for it
<kster>
but if new db field makes it easier...then sure why not
<dwfait>
Then you could just have a method in the model which truncates it on access (a getter)
<dwfait>
No need to assign it that way.
<kster>
are getters implicit across the board? i just didn't even see a decleartion for getters
<dwfait>
For fields on the database, yes, they’re explicit
<dwfait>
but if you want one for something calculated, not stored on the database, it’s quite easy
<kster>
so if i... def short_order_id self.order_id.split('-')[1] that should do it...
Begi has quit [Ping timeout: 256 seconds]
<kster>
sounds good....
Begi has joined #ruby
jottr has quit [Quit: WeeChat 1.3]
<dwfait>
Yup, stick that in your model and you should be good.
adgtl has joined #ruby
<dwfait>
Don’t need the self. there though I think.
<kster>
do i still need the rails migration?
kalopsian has joined #ruby
<dwfait>
No, you’re not creating any changes to the database schema, so you’re good.
<kster>
cause something's stuck in memory right now. even upon recompilation, it's still thinking there's a short_order_id referred
<kster>
is there like a make clean equiv?
<dwfait>
But you won’t be able to assign it like the way you are in your rake task.
<kster>
ugh omg kid just spilled half gallon of water
<kster>
br
<dwfait>
No make clean, it’s an interpreted language with no ahead of time compilation. If there’s an issue, means there’s something still causing trouble in your code
<kster>
brb
devoldmx has joined #ruby
andywojo has joined #ruby
pawnbox has joined #ruby
Pupeno has joined #ruby
pawnbox_ has quit [Ping timeout: 264 seconds]
robh71 has joined #ruby
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
PedramT has joined #ruby
Pupeno has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
adgtl has quit [Remote host closed the connection]
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wolffles has quit [Quit: wolffles]
PedramT has joined #ruby
<dwfait>
Anyone have any idea why require 'mkmf'; have_func('rb_thread_fd_select') returns false for me in ruby 2.3?
seitensei has quit [Ping timeout: 240 seconds]
krz has quit [Quit: WeeChat 1.2]
nertzy has joined #ruby
AlphaAtom has quit [Ping timeout: 246 seconds]
<Ox0dea>
dwfait: That's very strange.
PedramT_ has joined #ruby
PedramT_ has quit [Remote host closed the connection]
sandstrom has joined #ruby
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dwfait>
It is. It’s causing native extensions to fail. It works fine on 2.3 installed with ruby-build, but when I compile ruby myself, it returns false.
Ilyes512 has quit [Read error: Connection reset by peer]
jgt1 has joined #ruby
PedramT has quit [Ping timeout: 272 seconds]
<Ox0dea>
dwfait: That function isn't even conditionally defined. :/
Begi has quit [Ping timeout: 260 seconds]
jgt1 has quit [Ping timeout: 240 seconds]
SCHAAP137 has quit [Remote host closed the connection]
PedramT has joined #ruby
chouhoulis has joined #ruby
tvw has joined #ruby
AlphaAtom has joined #ruby
norc has joined #ruby
rab00f has quit [Quit: Leaving]
jgt1 has joined #ruby
robh71 has joined #ruby
Ilyes512 has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
adgtl has joined #ruby
<kster>
dang....no good. still getting error
<kster>
undefined method `short_order_id=' for #<Downloader::Core::Asset:0x00000004c567b0>
<kster>
next line in error: /lib/downloader/core/asset.rb:56:in `init_attributes'
JakFrist has joined #ruby
<kster>
that's....so odd since that line doesn't exist with short_order_id
<norc>
kster: Since I just hopped in - are you using some kind of app preloader like Spring perhaps (Rails?)
Pupeno has joined #ruby
<norc>
kster: Also are you sure it is the complete stack trace?
<kster>
norc: i have no idea. i'm a complete ruby noob
<kster>
there's much more detail
niko has quit [Quit: leaving]
<kster>
it just goes into the full stack
<norc>
kster: Are you developing a Rails framework? Please post the related source code and the full stack trace in a gist please.
<norc>
*in the
mdw has quit [Quit: Sleeping Zzzzz]
<dwfait>
kster: we defined a getter, the short_order_id= is a setter that we haven’t defined
lacuna has quit [Remote host closed the connection]
adgtl has quit [Ping timeout: 240 seconds]
<dwfait>
you don’t need to assign to the attribute, as the getter we created gets the value on the fly when called
niko has joined #ruby
<dwfait>
so you can get rid of the line to assign to it in your rake task
<kster>
dwfait, yea but....i'm not even sure why the error with the setter is even showing up?
<kster>
i did. it's not even there anymore
mjw56 has joined #ruby
<dwfait>
Something is still trying to assign to that field from somewhere…can you put the stacktrace up in a gist?
<norc>
kster: Honestly though, we are not your tech support channel - we help people learn Ruby.
<norc>
What you probably are looking for is a Ruby consultant.
nertzy has quit [Quit: This computer has gone to sleep]
santaclaus1 has quit [Remote host closed the connection]
<kster>
quite understandable.
arup_r has joined #ruby
<kster>
i'm just reaching out to anywhere for help.
samgerber has joined #ruby
<norc>
Shall we talk about an hourly rate?
scripore has quit [Quit: This computer has gone to sleep]
sev4252 has joined #ruby
<shevy>
usually if you have to make modifications to a project before you can get it to run, it's not worth to continue investing more time into it
arup_r has quit [Read error: Connection reset by peer]
ElFerna has quit [Ping timeout: 250 seconds]
<kster>
no offense man, i don't get paid enough to pay out of my pocket for consulting :)
arup_r has joined #ruby
<norc>
Have your company pay for it then.
<kster>
yea i'll have to take it up to big heads
<norc>
Nothing is worse than you trying to fix something that you dont understand. It gives them the wrong impression they can task you with more of this.
inanepenguin has joined #ruby
<norc>
While you just ending up not knowing what you are doing.
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
<kster>
i'm not even normally in this area. i'm in the web applicaitons in php and coldfusion.
<kster>
but hey...stuff gets broken, i'm the tech guy. this ruby was someone else's project
arup_r has quit [Read error: Connection reset by peer]
<norc>
That is your chance to step up then.
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
<kster>
i am trying to fix this problem. of course something that needed to be fixed 2 weeks ago. but that guy just done left on us
arup_r has joined #ruby
<norc>
We are currently in the process of injecting lots of Ruby code across our IT infrastructure because of rapid prototyping - as part of this we looked for partners with Ruby developers - to have backup solutions in case I become unavailable.
sandstrom has quit [Quit: My computer has gone to sleep.]
samgerber has quit [Ping timeout: 240 seconds]
bradleyprice has quit [Remote host closed the connection]
<norc>
kster: All the more reason to show them that you need a reliable partner. Because it becomes only worse if you take over.
<norc>
kster: Mind my asking which City is your company located in_
<kster>
chicago
stannard has quit [Remote host closed the connection]
<kster>
if you can refer anyone, i'd be grateflu
<kster>
ful
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdw has joined #ruby
stannard has joined #ruby
<norc>
Personally I don't know anyone from Chicago, but from what I hear there is plenty of Ruby and/or Rails freelancers around there.
karapetyan has joined #ruby
jgt1 has quit [Ping timeout: 256 seconds]
<norc>
Other people here might know (or even be) someone
sp1rs has quit [Ping timeout: 246 seconds]
Gnut has joined #ruby
sev4252 has quit [Quit: leaving]
sp1rs has joined #ruby
nkwsy has joined #ruby
<_blizzy_>
yay for ocra
<kster>
well. for the moment, i'll just go back to taking a production snapshot and loading it up on a vm and keep poking at it
<havenwood>
_blizzy_: You might take a look at releasy as well.
<_blizzy_>
havenwood, I did, but the last commit was like in 2014.
sandstrom has joined #ruby
yqt has quit [Ping timeout: 260 seconds]
<norc>
_blizzy_: I still haven't tried it.
<norc>
Is it really that decent?
<_blizzy_>
norc, it's ok.
<norc>
We are currently in the process of overhauling our server space, but are unsure which direction to pursue (We are heavily leavning towards Docker based provisioning)
<_blizzy_>
I've never used Docker.
samgerber has joined #ruby
duckpuppy has joined #ruby
inanepenguin has quit [Quit: inanepenguin]
atomical has joined #ruby
nkwsy has quit [Ping timeout: 260 seconds]
domgetter has joined #ruby
devoldmx has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 246 seconds]
<_blizzy_>
hmm, I need to find a list of precompiled binaries for windows
<_blizzy_>
nvm.
queequeg2 has joined #ruby
sonOfRa has quit [Quit: Bye!]
ElFerna has joined #ruby
sonOfRa has joined #ruby
TomPeed has joined #ruby
chouhoulis has joined #ruby
dingman has joined #ruby
kalopsian has quit [Ping timeout: 255 seconds]
asmodlol has quit [Ping timeout: 260 seconds]
asmodlol has joined #ruby
jgt1 has joined #ruby
scottschecter has joined #ruby
tectonic has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
Ox0dea has quit [Read error: Connection reset by peer]
sp1rs has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
dwfait has quit [Quit: dwfait]
AlphaAtom has joined #ruby
tmtwd has joined #ruby
rodfersou has joined #ruby
skcin7 has joined #ruby
Rodya_ has joined #ruby
jbrhbr has joined #ruby
puria has quit [Ping timeout: 246 seconds]
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta has quit [Remote host closed the connection]
atomical_ has joined #ruby
trwyth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has quit [Ping timeout: 255 seconds]
atomical has quit [Ping timeout: 265 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
samgerber has quit [Ping timeout: 240 seconds]
ruid has joined #ruby
Rodya_ has joined #ruby
ta has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dimik has joined #ruby
AlphaAtom has joined #ruby
stannard has joined #ruby
Rickmast_ has joined #ruby
Rickmasta has quit [Read error: Connection reset by peer]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
asmodlol has quit [Ping timeout: 255 seconds]
pawnbox has quit [Remote host closed the connection]
puria has joined #ruby
pawnbox has joined #ruby
stannard has quit [Ping timeout: 276 seconds]
Gnut has quit [Ping timeout: 246 seconds]
nkwsy has joined #ruby
asmodlol has joined #ruby
bause has joined #ruby
bause has quit []
dkelman has joined #ruby
ruid has quit [Ping timeout: 264 seconds]
axsuul has joined #ruby
pawnbox has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 255 seconds]
scripore has joined #ruby
pawnbox has joined #ruby
<dkelman>
does anyone here know how to open an airplay socket in ruby?
<Zarthus>
Is it possible to create an OpenStruct that does not call k = k.to_sym? I'm using `OpenStruct.new('a' => 'b').to_h.to_yaml' but am not entirely fond of the ":a: b" syntax and would prefer if the leading colon is gone.
<Zarthus>
I could do some string replacements but none of the solutions I can think of seem to be worth the readability / familiarity it might offer.
seitensei has joined #ruby
pnbeast has quit [Quit: leaving]
<norc>
Zarthus: You could reimplement (or use if you have AS as a dependency already) stringify_keys and symbolize_keys
axsuul has quit [Ping timeout: 255 seconds]
<dkelman>
norc: Thanks!!
<Zarthus>
norc: I'll have a look at it. I'm currently experimenting with overriding to_h
<norc>
Zarthus: Dont.
<norc>
Doing that is likely going to break things.
<Zarthus>
Even if I specifically have a different class that extends OpenStruct?
dingman has quit [Ping timeout: 260 seconds]
seitensei has quit [Ping timeout: 250 seconds]
adgtl has quit [Remote host closed the connection]
<shevy>
monkey patching might work
<shevy>
I think the conversion is done because method names are kept as symbols
mdw has joined #ruby
<shevy>
>> OpenStruct.new('a' => 'b').to_h
<ruboto>
shevy # => uninitialized constant OpenStruct (NameError) ...check link for more (https://eval.in/493824)
<shevy>
ruboto is not a xmasbot!
<Zarthus>
shevy: it is, OpenStruct calls k = k.to_sym in OpenStruct.new()
<Zarthus>
which is great, but when outputting it as a yaml file I find it just looks ugly and might even confuse users.
Ox0dea has joined #ruby
<Ox0dea>
Zarthus: Symbol keys are part of the YAML spec.
bause has joined #ruby
<Ox0dea>
Any conforming implementation should handle them "sanely", and users should be aware of this feature.
<Ox0dea>
Don't coddle the lowest common denominator.
dkelman has quit [Read error: Connection reset by peer]
agit0 has quit [Quit: zzzZZZ….]
<Zarthus>
Ox0dea: I'd find it less of a problem if it was consistent. But:
<shevy>
perhaps you want an OriginalStruct that does not do automagic conversions
<Zarthus>
In my personal opinion, it's either everything or nothing. And it's (probably) both easier and looks better to have no preceeding colon. If anything, I'd expect the YAML library to read and write them in as symbols at all times, but the yaml library also seems very undocumented as far it's available options go. But anything else would be a bit overkill for what I am writing.
<Papierkorb>
Zarthus: Just convert the result hash in the form you want it
<shevy>
Zarthus yeah it should be user-controllable
chipotle has joined #ruby
<Zarthus>
Papierkorb: I'm currently experimenting with ActiveSupport's stringify_keys method
<Ox0dea>
Zarthus: Are you sure you need OpenStruct?
<shevy>
Zarthus but I don't think .to_yaml is at fault, it already is a symbol before .to_yaml
<Zarthus>
Ox0dea: Absolutely sure? nope. I'm writing a configuration file class though, that loads in and stores in yaml
<Ox0dea>
Zarthus: So what's wrong with a Hash?
ur5us has joined #ruby
nunchuck has quit [Ping timeout: 272 seconds]
<shevy>
Zarthus haha I did about the same thing for a custom Configuration object that I would use :D
<Papierkorb>
Zarthus: See the 'config' gem
yfeldblum has joined #ruby
<Papierkorb>
Zarthus: oh, we're not in #RubyOnRails. You can get it to work however without rails, it also does not depend on active support. But I don't know if it supports writing configs
chouhoulis has quit [Ping timeout: 265 seconds]
<norc>
Zarthus: That method is like a 5 line method
<norc>
So you can provide it zourself
<Zarthus>
norc: I am,
<Ox0dea>
norc: It should be one.
<shevy>
Zarthus can indeed provite it for zourself
<Zarthus>
Ox0dea: Haven't experimented with it. It's probably entirely possible to do it with a hash as well. I can't say I've experimented sufficiently with either approach to give a concise answer to your question.
<Ox0dea>
Zarthus: Well, what made you reach for OpenStruct in the first place?
<Zarthus>
Somebody else used it in their configuration class.
<Zarthus>
:~D
<Ox0dea>
OpenStruct is for when you want to say `foo.bar` instead of `foo[:bar]`.
<pontiki>
well, the VM boxes, yeah. but then i started to poke at some other stuff, and some other stuff, and... and then i got a bit tired. old age does that you know
marr has joined #ruby
pawnbox has quit [Remote host closed the connection]
<pontiki>
norc, is the NG in that name for nginx or angular?
arup_r has quit []
wolffles has joined #ruby
sandstrom has joined #ruby
<Ox0dea>
pontiki: "NG" almost always indicates "next generation".
<norc>
pontiki: Next generation, because Ubuntu has this old Debian disease where they add packages as quickly as Perl releases new versions.
<Ox0dea>
Sick burn.
<pontiki>
ah so
xblade has joined #ruby
xblade has quit [Client Quit]
pdoherty has joined #ruby
tildes has quit [Ping timeout: 265 seconds]
solocshaw has quit [Ping timeout: 265 seconds]
bradleyprice has joined #ruby
akem has joined #ruby
solocshaw has joined #ruby
dwfait has joined #ruby
atomical_ has joined #ruby
akem has quit [Read error: Connection reset by peer]
akem has joined #ruby
ruu_ has quit []
duckpuppy has joined #ruby
bradleyprice has quit [Ping timeout: 276 seconds]
atomical has quit [Ping timeout: 250 seconds]
agit0 has joined #ruby
ChameleonSix has joined #ruby
<ChameleonSix>
Hello
duckpuppy has quit [Ping timeout: 264 seconds]
<ChameleonSix>
how do i define string length
<Ox0dea>
ChameleonSix: Wat.
<ChameleonSix>
for example if something is longer than letters in string
bause has quit [Remote host closed the connection]
<Ox0dea>
If you follow that convention, you'll never be printing the result of a `do/end`, so you'll be "safe".
<ChameleonSix>
ruby vs python*
<ChameleonSix>
?
<Ox0dea>
Get out.
<norc>
The problem though stems from leaving optional parens Ox0dea.
<norc>
It is the mother of 95% syntax errors I see here.
poguez_ has joined #ruby
<Ox0dea>
Optional parens best parens.
ChameleonSix has quit [Quit: Page closed]
mdw has joined #ruby
<norc>
Do you actually follow that style guide?
<wolffles>
master debaters :P
atomical has joined #ruby
<Ox0dea>
norc: Weirich's rule? Yes.
chouhoulis has joined #ruby
<norc>
Well, I was just surprised you called it by its "author" - made me wonder whether you and that style guide are best buddies.
kubapol has joined #ruby
<Ox0dea>
Just deference to a good man lost, really.
<norc>
Fair enough.
<norc>
>> 1 if 1 if 1 if
<ruboto>
norc # => /tmp/execpad-7651d14240fb/source-7651d14240fb:3: syntax error, unexpected keyword_rescue ...check link for more (https://eval.in/493837)
<ruboto>
Ox0dea # => /tmp/execpad-35a80baac7f8/source-35a80baac7f8:3: syntax error, unexpected keyword_rescue ...check link for more (https://eval.in/493839)
<ruboto>
norc # => /tmp/execpad-a8e0975bda45/source-a8e0975bda45:2: syntax error, unexpected modifier_unless, expecting ...check link for more (https://eval.in/493871)
<norc>
This is.
<norc>
Though I suppose you cannot use a trailing conditional in an expression like that?
<ruboto>
norc # => /tmp/execpad-2ad5262b7c57/source-2ad5262b7c57:2: syntax error, unexpected modifier_unless, expecting ...check link for more (https://eval.in/493874)
<norc>
No you cant.
<norc>
Why is that
<Ox0dea>
Looks like a bug to me?
<norc>
Yea.
<Ox0dea>
But to what should it evaluate?
<pontiki>
nil
<norc>
nil
<Ox0dea>
Hmm, `defined?` having a conditional evaluation seems weird.
codecop has quit [Remote host closed the connection]
<Ox0dea>
It *should*, I suppose, but it'd still be weird.
<norc>
Ox0dea: Best part is the trailing comment /* :nodoc: */
<norc>
"This might look suspicious, and that is precisely why we are documenting that we are not documenting this"
<Ox0dea>
Heh.
Nightmare has joined #ruby
Jackneill has quit [Ping timeout: 260 seconds]
davedev24 has joined #ruby
xcesariox has joined #ruby
Yzguy has joined #ruby
pawnbox has joined #ruby
fantazo has joined #ruby
<norc>
Ox0dea: My example was a direct example of how useless defined? is though with parse time optimizations. The AST has become a completely meaningless structure since it neither reflects on the source code, nor on the bytecode.
gizless has joined #ruby
<norc>
I dont see how defined? can know this to be a constant.
<norc>
Even if you could use Complex::compatible that would just look like a method call
<norc>
(Which still bugs me that its used for method dispatch)
gizmore has quit [Ping timeout: 256 seconds]
pawnbox has quit [Ping timeout: 255 seconds]
rodfersou has quit [Remote host closed the connection]
<Ox0dea>
There's also a NameError::message class for whatever reason.
<Ox0dea>
Probably did_you_mean.
KyloRenKillsSolo has joined #ruby
<KyloRenKillsSolo>
why did kylo ren kill han solo?
AlphaAtom has quit [Remote host closed the connection]
norc has quit [Ping timeout: 252 seconds]
<havenwood>
!mute KyloRenKillsSolo
KyloRenKillsSolo is now known as KyloRenKillsHan
KyloRenKillsHan is now known as KyloRenKillsHanS
d0nn1e has quit [Ping timeout: 265 seconds]
trwyth has joined #ruby
vikas027 has quit [Ping timeout: 264 seconds]
chipotle_ has joined #ruby
trwyth has quit [Client Quit]
KyloRenKillsHanS was banned on #ruby by havenwood [*!*@*66.214.91.245]
<darix>
the * in front of the IP doesnt make much sense
ta has quit [Remote host closed the connection]
mary5030 has joined #ruby
d0nn1e has joined #ruby
<havenwood>
darix: splat!
<havenwood>
darix: like a bug...
KyloRenKillsHanS was kicked from #ruby by havenwood [Your behavior is not conducive to the desired environment.]
<dwfait>
Would anyone have the time to help me figure out why a fresh ruby compile off trunk returns false for have_func('rb_thread_fd_select') ? I’ve hit a wall with this issue.
djbkd has quit [Remote host closed the connection]
<pontiki>
i know it's ridiculous of me for not having seen star wars VII eighteen times already, but now i'm really fucking sad
zenlot1 has quit [Ping timeout: 264 seconds]
<havenwood>
ChameleonSix: You can discuss in #ruby-banned if you prefer. Otherwise ask Ruby-related questions and do your research first.
<adaedra>
?offtopic pontiki
<ruboto>
pontiki, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
<Ox0dea>
pontiki: Had you *really* not had it spoiled yet?
<ChameleonSix>
Ok
hahuang61 has joined #ruby
<pontiki>
piss off
pontiki has left #ruby [""Poets have been mysteriously silent on the subject of cheese" -- G.K.Chesterson"]
<ChameleonSix>
You don't need to ban me
<ChameleonSix>
Im a nice guy
<adaedra>
That's what will happen if you keep asking random things without prior research.
d0nn1e has quit [Ping timeout: 260 seconds]
<ChameleonSix>
Where should i ask that
<ChameleonSix>
#cmd?
rkazak has joined #ruby
<ChameleonSix>
Hmm #general programming
chipotle_ has quit [Quit: cheerio]
<adaedra>
I'm still not sure you really know what you're talking about.
<havenwood>
!ban ChameleonSix !T 10m "This isn't a general help channel."
ChameleonSix was banned on #ruby by ChanServ [ChameleonSix!*@*]
ChameleonSix was kicked from #ruby by ChanServ [User is banned from this channel]
<dwfait>
have_header(‘ruby/intern.h’) returns true, which is where rb_thread_fd_select is defined. make install correctly placed it in /usr/local/include/ruby-2.4.0/ruby.
ur5us has quit [Remote host closed the connection]
trwyth has joined #ruby
<dwfait>
Yeah, pre 1.9
<Ox0dea>
Right.
<Ox0dea>
Is it possible there are demons in your machine?
<dwfait>
Quite possible
trwyth has quit [Client Quit]
<adaedra>
Ain't gonna be easy to debug.
pawnbox has quit [Ping timeout: 240 seconds]
<dwfait>
Yeah, I’ve tried digging into have_func in lib/mkmf.rb. It’s attempting to link a program it generates to find out if the symbols are there. Quite ingenious, but as you said, not easy to debug.
guideX has left #ruby [#ruby]
<dwfait>
My only hunch at the moment is something on my PATH isn’t quite right
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
c-c has quit [Ping timeout: 240 seconds]
shaman42 has quit [Ping timeout: 250 seconds]
dkelman has quit [Ping timeout: 250 seconds]
dr3w has quit [Quit: WeeChat 1.2]
rgtk has quit [Remote host closed the connection]
sluukkonen has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
aspire has joined #ruby
jbrhbr has quit [Quit: Leaving.]
azgil has quit [Quit: Leaving]
DoubleMalt has joined #ruby
ahhh has joined #ruby
ahhh has quit []
skingsbu has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 255 seconds]
Spleeze has joined #ruby
ChameleonSix has joined #ruby
<ChameleonSix>
Hello
<ChameleonSix>
I got a ruby question
ruid has joined #ruby
<ChameleonSix>
(You don't need to insta ban someone)
<havenwood>
ChameleonSix: Don't ask to ask, just ask.
lenwood has joined #ruby
<ChameleonSix>
How do i make a script to press keyboard buttons
<ChameleonSix>
Methods?
<ChameleonSix>
And I/O
<ChameleonSix>
?
<havenwood>
ChameleonSix: Please use a single line instead of hitting "return" so often.
<Ox0dea>
adaedra: I was gonna say something to that effect. :)
<ChameleonSix>
Ok tnx
<ChameleonSix>
I got tons of ruby questions
<Ox0dea>
Prove it.
<ChameleonSix>
But they have to be ruby specific and legal
<Ox0dea>
ChameleonSix: No facetiousness.
<ChameleonSix>
Ok
<ChameleonSix>
This irc is full of rules
<ChameleonSix>
Why are single line lols disallowed
jalopez has joined #ruby
<Ox0dea>
Because they reflect poorly on you and the community of which you wish to be a part.
<adaedra>
Because it's annoying, much like messages split on multiple lines.
<ChameleonSix>
Ok
<ChameleonSix>
Anyway is mac osx good for coding?
DoubleMalt has joined #ruby
_seanc_ has joined #ruby
<Ox0dea>
ChameleonSix: I dare you to ask one of those Ruby questions you said you had.
<ChameleonSix>
Ok
<Ox0dea>
Do you accept the challenge?
<ChameleonSix>
Change background
<ChameleonSix>
Rb script
<ChameleonSix>
Using system()?
<ChameleonSix>
If im right
<adaedra>
So it's not really ruby-related. You're looking for a general command.
<ChameleonSix>
Ok
<ChameleonSix>
Does it have to be 100% ruby related
<ChameleonSix>
....
<Ox0dea>
No ellipses.
<ChameleonSix>
Like seriously
<Ox0dea>
No "like"s.
<adaedra>
I feel like you don't really have ruby problems, just a bag of vague ideas of small utilities.
<Ox0dea>
No seriousness.
spider-mario has quit [Remote host closed the connection]
<ChameleonSix>
Exactly
<Ox0dea>
No exactitude.
tmtwd has quit [Ping timeout: 264 seconds]
<ChameleonSix>
Are you people some ruby experts
<Ox0dea>
No interviews.
BTRE has quit [Ping timeout: 245 seconds]
<ChameleonSix>
...
<Ox0dea>
NO ELLIPSES!
<adaedra>
Ox0dea: ssssh, no feeding.
<ChameleonSix>
No caps
ramortegui has joined #ruby
<adaedra>
Enough of this, back to ruby.
<ChameleonSix>
Yes
<ChameleonSix>
Why doesnt gets.chomp work on my phone in ruboto
* Nilium
is an expert in eating tortilla chips.
TheHodge has joined #ruby
<ChameleonSix>
?
<ChameleonSix>
No answer.
<shevy>
lol Nilium
DoubleMalt has quit [Ping timeout: 240 seconds]
<ChameleonSix>
No lols
<shevy>
ChameleonSix hey... I just realized... you are asking this now for the 3rd time
<ChameleonSix>
1st time actually
<shevy>
<ChameleonSix> Using system()?
<shevy>
^^^
<ChameleonSix>
No
<ChameleonSix>
Using ruboto
<shevy>
yes!
<ChameleonSix>
That wasnt even a question
<ChameleonSix>
Someone nice expalined that
<ChameleonSix>
Can you help me to make game hacks using ruby?
<ChameleonSix>
Probably not
<adaedra>
You're asking for something too vague.
<ChameleonSix>
Hm
DarkElement has joined #ruby
<adaedra>
You don't have ruby projects, do you?
<ChameleonSix>
Nope
<ChameleonSix>
I started learning
<ChameleonSix>
I wouldn't be here if i knew everything
<adaedra>
Those two elements are not related.
Suntzu has quit [Ping timeout: 265 seconds]
<shevy>
you did not write ruby code ChameleonSix :(
<ChameleonSix>
Is there a way to translate ruby to python
<ChameleonSix>
What code?
<shevy>
exactly
<ChameleonSix>
I made a calc
<adaedra>
Code you could have questions upon.
<ChameleonSix>
Ah
<ChameleonSix>
I got no idea where to start
<ChameleonSix>
...
ledestin has joined #ruby
HANJIN has joined #ruby
<adaedra>
So you're just poking around?
<Ox0dea>
ChameleonSix: Try asking in #python.
<ChameleonSix>
...
<ChameleonSix>
Python to ruby
<ChameleonSix>
The point is in translation
<ChameleonSix>
I see you answer to ruby strict questions
<ChameleonSix>
I will come here if i need help with my code debugging
<bithon>
i don't think such tool exists as Ruby and Python are both very different languages and their underling libraries are quite different. but I guess in some ways they do share certain similiarities and therefore some code could be 'appropriately' translated
<ChameleonSix>
Ok
<ChameleonSix>
Cya latet
<ChameleonSix>
:)
sandstrom has quit [Quit: My computer has gone to sleep.]
<bithon>
have a good one
ChameleonSix has left #ruby ["Quit"]
<adaedra>
-_-
Darin_ has joined #ruby
rgrmatt has joined #ruby
HANJIN has quit [Client Quit]
<bithon>
is there a proper way to delete a particular gem with all of its dependancies ?
Rodya_ has joined #ruby
devoldmx has joined #ruby
domgetter has joined #ruby
lidza_ has quit [Ping timeout: 260 seconds]
seitensei has joined #ruby
BTRE has joined #ruby
Darin_ has quit [Ping timeout: 252 seconds]
marcdel has quit [Ping timeout: 240 seconds]
<shevy>
hmm "gem uninstall name" for single gem uninstalls... I am sure there must be some massive-purge command