threeifbywhiskey has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
fezziwig has joined #ruby-lang
fijimunkii has quit [Quit: leaving]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yubrew has joined #ruby-lang
fijimunkii has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
bzalasky has joined #ruby-lang
saarinen has quit [Quit: saarinen]
yubrew has quit [Ping timeout: 240 seconds]
Barrin6 has quit [Quit: Leaving]
fijimunkii has quit [Quit: leaving]
havenwood has quit [Ping timeout: 240 seconds]
fijimunkii has joined #ruby-lang
kitak has quit [Remote host closed the connection]
kitak has joined #ruby-lang
kitak has quit [Remote host closed the connection]
amerine has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
kitak has joined #ruby-lang
kitak has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
kitak has joined #ruby-lang
Coincidental has joined #ruby-lang
rahul_j has joined #ruby-lang
fezziwig has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
fezziwig has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
fijimunkii has quit [Ping timeout: 246 seconds]
rahul_j has joined #ruby-lang
saarinen has joined #ruby-lang
miqui has joined #ruby-lang
knu has joined #ruby-lang
yubrew has joined #ruby-lang
MartynKeigher2 has quit [Quit: Bye for now!]
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
MartynKeigher has joined #ruby-lang
MartynKeigher has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
chancerussell has joined #ruby-lang
<chancerussell>
Anyone know a best practice for matching a regex without changing $1, $2, etc. global variables?
vlad_starkov has joined #ruby-lang
MartynKeigher has joined #ruby-lang
<centrx>
chancerussell, Use #match ?
vlad_starkov has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
threeifbywhiskey has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
fezziwig has quit [Remote host closed the connection]
phansch has joined #ruby-lang
skade has joined #ruby-lang
_ht has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby-lang
Coincidental has joined #ruby-lang
<chancerussell>
It looks like match changes the globals too
<centrx>
Oh that's what you mean
<centrx>
Why not change them?
knu has quit [Ping timeout: 264 seconds]
<chancerussell>
I'm just patching a gem by adding a check for a certain type of string at the top of a method
<chancerussell>
and I don't really want to change the rest of the guy's method body, but it uses the globals from a match earlier on
CaptainJet has quit []
<kukyakya>
I have a string which is delimited with a space and contains escaped space, like "a b c\\ d". How do I get ["a", "b", "c d"] from the string? split(" ") doesn't work. it just gave me ["a", "b", "c\\", "d"].
qwebirc285659 has joined #ruby-lang
threeifbywhiskey has quit [Ping timeout: 245 seconds]
<chancerussell>
kukyakya, "\\" is an escaped backslash
<kukyakya>
Yes i know. I tried to describe it as a ruby string, which actually is simply "a b c\ d" when I print it with `puts`.
<|jemc|>
kukyakya, I don't know how general you're trying to get with this, but...
<apeiros_>
or rather: that won't deal with escaped backslashes
amclain has quit [Quit: Leaving]
tylersmith has quit [Remote host closed the connection]
tonni has joined #ruby-lang
creede has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 246 seconds]
apeiros_ has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
apeiros has quit [Ping timeout: 246 seconds]
kitak has quit [Read error: Connection reset by peer]
centrx has quit [Quit: All this computer hacking is making me thirsty]
kitak has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
mr-foobar has quit [Remote host closed the connection]
|jemc| has quit [Ping timeout: 240 seconds]
mr-foobar has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mr-foobar has quit [Ping timeout: 255 seconds]
rahul_j_ has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rahul_j has quit [Ping timeout: 246 seconds]
rahul_j_ is now known as rahul_j
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
skade has quit [Quit: Computer has gone to sleep.]
apeiros has joined #ruby-lang
saarinen has quit [Quit: saarinen]
wallerdev has quit [Ping timeout: 255 seconds]
Xzyx987X_ has quit [Read error: Connection reset by peer]
Xzyx987X_ has joined #ruby-lang
robbyoconnor has joined #ruby-lang
wallerdev has joined #ruby-lang
yubrew has joined #ruby-lang
tectonic has quit []
mr-foobar has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
dagobah has joined #ruby-lang
mr-foobar has quit [Ping timeout: 264 seconds]
mr-foobar has joined #ruby-lang
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
miqui has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
solars has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
rahul_j has quit [Quit: rahul_j]
retro|cz has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mr-foobar has quit [Remote host closed the connection]
relix has joined #ruby-lang
skade has joined #ruby-lang
ironcamel has left #ruby-lang [#ruby-lang]
rahul_j has joined #ruby-lang
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
michd is now known as MichD
tonni has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby-lang
arBmind has joined #ruby-lang
alexju has quit [Remote host closed the connection]
apeiros has quit []
knu has joined #ruby-lang
apeiros has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
tonni has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
mr-foobar has joined #ruby-lang
jhass|off is now known as jhass
charliesome has joined #ruby-lang
benlovell has joined #ruby-lang
vlad_starkov has joined #ruby-lang
quaKo7ei has quit [Ping timeout: 245 seconds]
phansch has joined #ruby-lang
francisfish has joined #ruby-lang
mikecmpbll has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
davs has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
benlovell has joined #ruby-lang
jhass is now known as jhass|off
francisfish has quit [Remote host closed the connection]
elia has joined #ruby-lang
<yorickpeterse>
♥ (¯ε¯ ) morning
mehlah has joined #ruby-lang
yubrew has joined #ruby-lang
sdouglas has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
benlovell has joined #ruby-lang
yubrew has quit [Ping timeout: 252 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
tbuehlmann has joined #ruby-lang
dilated_dinosaur has joined #ruby-lang
<maloik>
those sneaky op'ers :-)
<apeiros>
not sneaky enough!
<apeiros>
as it seems
Nilium has joined #ruby-lang
<yorickpeterse>
POLICE BRUTALITY
<surrounder>
haha
<maloik>
:-)
<yorickpeterse>
"My colleagues send their regards and are wondering if you can change your topic. We have made some research and it seems that rubinius is not in trend lately. "
<yorickpeterse>
what the fuck
<yorickpeterse>
instead they're suggesting Rails crap? wat
DouweM has quit [Ping timeout: 246 seconds]
davs has quit [Quit: Lost terminal]
<yorickpeterse>
ok now I feel rather insulted but have to resort to writing a correct reply
<yorickpeterse>
ugh
benlovell has quit [Ping timeout: 252 seconds]
<apeiros>
yorickpeterse: yeah, I'm a self-important power-tripping tyrant (as per every banned person ever)
<yorickpeterse>
well you are :>
cnivolle has joined #ruby-lang
<apeiros>
INSOLENCE! THOU SHALL BE BANNED FOR THIS!!!
benlovell has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 246 seconds]
cnivolle has quit [Remote host closed the connection]
robmiller has joined #ruby-lang
francisfish has joined #ruby-lang
DouweM has joined #ruby-lang
robmiller has quit [Ping timeout: 240 seconds]
threeifbywhiskey has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
zenojis has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby-lang
workmad3 has quit [Client Quit]
workmad3 has joined #ruby-lang
anannie has quit [Ping timeout: 252 seconds]
tbuehlmann has quit [Quit: Leaving]
marcofernandez has quit [Quit: 전 이만 갑니다.]
kitak has quit [Remote host closed the connection]
devgiant has joined #ruby-lang
robbyoconnor has joined #ruby-lang
cnivolle has joined #ruby-lang
yubrew has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Fushi has joined #ruby-lang
kitak has joined #ruby-lang
yubrew has quit [Ping timeout: 246 seconds]
basiliothecat has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby-lang
<basiliothecat>
Hi! I ran into troubles installing gems, wonder if anyone has some tips - installed rails via sudo gem install rails, and sqlite3 gem as a dep. Now when i run irb -rsqlite3 i get perm denied making dir /usr/... while trying to build the extension. I wonder why this extension building takes place at this time?
Mon_Ouie has joined #ruby-lang
knu has quit [Remote host closed the connection]
kith has quit [Quit: kith]
tonni has quit [Quit: Leaving...]
knu has joined #ruby-lang
_elia has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
elia has quit [Ping timeout: 240 seconds]
ecnalyr has joined #ruby-lang
<maloik>
that's probably not the best way to install rails etc... have a look at what railstutorial.org suggests
<maloik>
probably rvm or chruby
<maloik>
also: bundler
kitak has quit [Remote host closed the connection]
<badeball>
basiliothecat: I claim that running anything from rubygems with sudo permissions is a wildly bad idea
tonni has joined #ruby-lang
Cakey has joined #ruby-lang
<badeball>
basiliothecat: you can use gem with --user-install to install gems in your home directory, or use rvm/chruby
<Kero>
installing gems with sudo should be just fine. building extension should take place during installation, though...
anannie has joined #ruby-lang
<Kero>
typically when building fails, the gem is not available and -rsqlite3 should say so
robmiller has joined #ruby-lang
Speed has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
Speed has quit [Ping timeout: 264 seconds]
<basiliothecat>
i'm aware of user install, though want to install rails to system location. I'll try uninstalling rails and install sqlite3 alone and see if it works. But why building hasn't taken place at install time still is a question to me
Voker57 has joined #ruby-lang
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
jhass|off is now known as jhass
mr-foobar has quit [Ping timeout: 255 seconds]
<basiliothecat>
yeah, uninstalled everything and did sudo gem install sqlite3 - everything works. will try installing rails again capturing the install log.
postmodern has quit [Quit: Leaving]
charlies_ has joined #ruby-lang
charliesome has quit [Ping timeout: 264 seconds]
<maloik>
system rails is going to cause you trouble
rue has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
rue has joined #ruby-lang
Cakey has quit [Ping timeout: 240 seconds]
Cakey has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
symm- has joined #ruby-lang
rue has quit [Ping timeout: 246 seconds]
yubrew has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
inkblot_ has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
vlad_starkov has quit [Ping timeout: 246 seconds]
canton7-mac has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
<basiliothecat>
maloik: how so?
<ljarvis>
moin
woollyams has joined #ruby-lang
<ljarvis>
hehe system gems
mr-foobar has joined #ruby-lang
Speed has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
ecnalyr has quit [Read error: Connection reset by peer]
ecnalyr has joined #ruby-lang
yalue has joined #ruby-lang
anannie has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby-lang
<darix>
maloik: the path where the gems are installed really changes anything?
dingus_khan has quit [Remote host closed the connection]
<darix>
god sometimes people give useless comments
chouhoulis has quit [Ping timeout: 252 seconds]
kirin` has quit [Ping timeout: 264 seconds]
kirin` has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
anannie has joined #ruby-lang
anannie has joined #ruby-lang
anannie has quit [Changing host]
yubrew has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ggherdov has quit [Ping timeout: 245 seconds]
woollyams has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 246 seconds]
mjc__ has quit [Read error: Connection reset by peer]
mjc__ has joined #ruby-lang
badeball has quit [Ping timeout: 265 seconds]
davidae has quit [Ping timeout: 240 seconds]
onewheelskyward has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
pabs_ has quit [Ping timeout: 264 seconds]
badeball has joined #ruby-lang
pabs_ has joined #ruby-lang
perry has quit [Ping timeout: 264 seconds]
lguardiola_ has quit [Ping timeout: 264 seconds]
davidae has joined #ruby-lang
ggherdov_ has joined #ruby-lang
perry has joined #ruby-lang
robmiller1 has joined #ruby-lang
robmiller has quit [Read error: Connection reset by peer]
lguardiola has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
onewheelskyward has joined #ruby-lang
tkuchiki has quit [Ping timeout: 240 seconds]
tkuchiki_ has quit [Ping timeout: 255 seconds]
threeifbywhiskey has joined #ruby-lang
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
robmiller1 is now known as robmiller
mr-foobar has quit [Ping timeout: 246 seconds]
mr-foobar has joined #ruby-lang
<maloik>
darix: version conflicts...
rahul_j has quit [Quit: rahul_j]
<maloik>
ljarvis: "hehe" until the first problems start to arise ;)
<maloik>
may as well keep a textfile with all gems you need, who needs bundler anyway ?
<yorickpeterse>
a textfile would be faster than a bundle install
<maloik>
-_-'
<ljarvis>
gem install is slow
<yorickpeterse>
You can even run it in parallel!
<yorickpeterse>
for gem in $(cat gems.txt); do; gem install $gem &; done
<yorickpeterse>
amazing!
nisstyre has quit [Ping timeout: 264 seconds]
fijimunkii has joined #ruby-lang
<darix>
maloik: isnt that why people invented things like bundler?
<maloik>
what do you think my point is ?
vlad_starkov has joined #ruby-lang
matp has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby-lang
tkuchiki has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
_elia has quit [Quit: Computer has gone to sleep.]
elia has joined #ruby-lang
<basiliothecat>
nah, gem install works just fine, it's bundle install that installing gems somehow without building the extensions. Thanks for comment
Lewix has quit [Remote host closed the connection]
[spoiler] has joined #ruby-lang
Lewix has joined #ruby-lang
heftig has joined #ruby-lang
sdouglas_ has joined #ruby-lang
tonni has quit [Remote host closed the connection]
enebo has joined #ruby-lang
dik_dak has joined #ruby-lang
nathanstitt has joined #ruby-lang
AncientAmateur has joined #ruby-lang
enebo_ has joined #ruby-lang
enebo has quit [Ping timeout: 252 seconds]
enebo_ is now known as enebo
relix has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
tonni has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
Speed has quit [Ping timeout: 255 seconds]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
yubrew has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
naps62 has joined #ruby-lang
Lewix has joined #ruby-lang
yubrew has quit [Ping timeout: 252 seconds]
bradcliffe has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
tylersmith has joined #ruby-lang
yubrew has joined #ruby-lang
akahn_ is now known as akahn
sdouglas_ has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
joonty has quit [Ping timeout: 252 seconds]
loincloth has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
alexju has joined #ruby-lang
joonty has joined #ruby-lang
Lewix has joined #ruby-lang
sdouglas has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
tbuehlmann has joined #ruby-lang
momomomomo has joined #ruby-lang
anannie has quit [Remote host closed the connection]
miqui has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
agarie has joined #ruby-lang
momomomomo has quit [Client Quit]
nhmood has quit [Quit: Connection closed for inactivity]
havenwood has quit [Ping timeout: 240 seconds]
seanlinsley has quit [Quit: …]
gix has quit [Ping timeout: 264 seconds]
charlies_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cored has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
vlad_starkov has joined #ruby-lang
naps62 has quit [Quit: Leaving]
inkblot_ has quit [Ping timeout: 264 seconds]
basiliothecat has quit [Remote host closed the connection]
Pupeno has joined #ruby-lang
mr-fooba_ has joined #ruby-lang
gix has joined #ruby-lang
kith has joined #ruby-lang
mr-foobar has quit [Read error: Connection reset by peer]
Lewix has quit [Remote host closed the connection]
kith has quit [Client Quit]
Mon_Ouie has joined #ruby-lang
brettweavnet has joined #ruby-lang
mistym has quit [Remote host closed the connection]
kith has joined #ruby-lang
tonni has quit [Ping timeout: 255 seconds]
jsullivandigs has joined #ruby-lang
dwknoxy has joined #ruby-lang
bzalasky has joined #ruby-lang
tonni has joined #ruby-lang
tonni has quit [Remote host closed the connection]
gix has quit [Quit: Client exiting]
tonni has joined #ruby-lang
tonni has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
canton7-mac has quit [Ping timeout: 246 seconds]
phansch has quit [Quit: WeeChat 0.4.2]
anannie has joined #ruby-lang
anannie has quit [Changing host]
anannie has joined #ruby-lang
DEac-_ has quit [Read error: Operation timed out]
vlad_starkov has quit [Remote host closed the connection]
ecnalyr has quit [Ping timeout: 240 seconds]
inkblot_ has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
mistym has joined #ruby-lang
|jemc| has joined #ruby-lang
Lewix has joined #ruby-lang
bzalasky has joined #ruby-lang
mykoweb has joined #ruby-lang
Mon_Ouie has quit [Remote host closed the connection]
DEac- has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
momomomomo has joined #ruby-lang
seanlinsley has joined #ruby-lang
gix has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
mistym_ has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
mistym has quit [Ping timeout: 264 seconds]
inkblot_ has left #ruby-lang [#ruby-lang]
Cakey has joined #ruby-lang
shinnya has joined #ruby-lang
heavyhorse has joined #ruby-lang
anannie has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
marcdel has quit []
Speed has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
anannie has joined #ruby-lang
bjh13 has joined #ruby-lang
momomomomo has joined #ruby-lang
sdouglas has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
alexju has quit [Remote host closed the connection]
chrisledet has joined #ruby-lang
rippa has joined #ruby-lang
alexju has joined #ruby-lang
meizaps has quit [Ping timeout: 264 seconds]
__butch__ has joined #ruby-lang
dstynchula has joined #ruby-lang
threeifbywhiskey has quit [Ping timeout: 245 seconds]
solars has quit [Ping timeout: 264 seconds]
rahul_j has quit [Quit: rahul_j]
tkuchiki has quit [Remote host closed the connection]
Speed has quit [Ping timeout: 264 seconds]
mistym_ has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 255 seconds]
tylersmith has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Coincidental has joined #ruby-lang
rahul_j has joined #ruby-lang
michaeldeol has joined #ruby-lang
th_ has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
sluukkonen has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
vlad_sta_ has joined #ruby-lang
th_ is now known as th2389
Speed has joined #ruby-lang
symm- has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
mistym has joined #ruby-lang
RobertBirnie has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
matp has joined #ruby-lang
havenwood has quit []
AncientAmateur has quit [Remote host closed the connection]
cmaxw has joined #ruby-lang
jlyman has joined #ruby-lang
sluukkonen has joined #ruby-lang
rahul_j has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby-lang
Atw has quit [Ping timeout: 246 seconds]
apeiros has joined #ruby-lang
saarinen has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
creede has quit [Ping timeout: 264 seconds]
dagobah has quit [Quit: Leaving...]
retro|cz has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
cmaxw has quit [Quit: cmaxw]
vlad_starkov has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
vlad_sta_ has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby-lang
bin7me has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
ratmav has quit [Quit: Leaving]
retro|cz has joined #ruby-lang
phansch has joined #ruby-lang
AncientAmateur has joined #ruby-lang
rahul_j has joined #ruby-lang
jlyman_ has joined #ruby-lang
creede has joined #ruby-lang
jlyman has quit [Ping timeout: 255 seconds]
matp has quit [Remote host closed the connection]
nisstyre has joined #ruby-lang
AncientAmateur has quit [Ping timeout: 252 seconds]
tonni has joined #ruby-lang
__butch__ has quit [Ping timeout: 246 seconds]
Asher has quit [Quit: Leaving.]
phansch has quit [Quit: WeeChat 0.4.2]
matp has joined #ruby-lang
AncientAmateur has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
jlyman_ has quit [Remote host closed the connection]
DEac- has quit [Ping timeout: 264 seconds]
DEac- has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 240 seconds]
io_syl has joined #ruby-lang
devgiant has quit [Ping timeout: 240 seconds]
centrx has joined #ruby-lang
tbuehlmann has joined #ruby-lang
enkristoffer has joined #ruby-lang
chouhoulis has joined #ruby-lang
devgiant has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
benlovell has quit [Ping timeout: 246 seconds]
enkristoffer has quit [Client Quit]
elia has joined #ruby-lang
heavyhorse has quit [Quit: Computer has gone to sleep]
heavyhorse has joined #ruby-lang
brettweavnet has quit [Ping timeout: 240 seconds]
heavyhorse has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
enebo has quit [Quit: enebo]
johnpclaus has joined #ruby-lang
creede has quit [Ping timeout: 264 seconds]
jayne has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
xcesariox has joined #ruby-lang
retro|cz has quit [Ping timeout: 255 seconds]
loincloth has joined #ruby-lang
ecnalyr has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 264 seconds]
heavyhorse has joined #ruby-lang
dilated_dinosaur has quit [Ping timeout: 240 seconds]
creede has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
dik_dak has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby-lang
mikecmpbll has joined #ruby-lang
mjw1 has joined #ruby-lang
bantic has joined #ruby-lang
dwknoxy is now known as dknox-doctor
dik_dak has joined #ruby-lang
|jemc| has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
toastynerd has joined #ruby-lang
enebo has joined #ruby-lang
dik_dak has quit [Ping timeout: 246 seconds]
skade has joined #ruby-lang
tonni_ has joined #ruby-lang
heavyhorse has quit [Quit: :quit]
tonni has quit [Ping timeout: 264 seconds]
mjc__ is now known as mjc_
CaptainJet has joined #ruby-lang
dik_dak has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
loincloth has quit []
loincloth has joined #ruby-lang
lsegal has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
amsi has quit [Ping timeout: 255 seconds]
amsi has joined #ruby-lang
<zenspider>
sensible definition? really?
<zenspider>
for something that you, at best, describe as /almost/ making sense?
<zenspider>
yeah. I don't see it. not only does it not make sense. I see no purpose whatesoever.
|jemc| has joined #ruby-lang
<threeifbywhiskey>
I'm trying to determine if non-alphanumeric Ruby is Turing-complete.
<threeifbywhiskey>
I have my recursive loops set up in tail-position, but the stack still blows pretty quickly.
rofel has joined #ruby-lang
woollyams has joined #ruby-lang
dilated_dinosaur has quit [Ping timeout: 264 seconds]
<threeifbywhiskey>
I wrote a brainfuck interpreter without numbers or letters, for instance, but it can't run a ROT-13 program because the inner lambda is being called too many times.
<threeifbywhiskey>
So I'm trying to figure out how to do TCO in Ruby without alphanumerics, and String#>> would be really helpful.
havenwood has quit [Remote host closed the connection]
mr-fooba_ has quit [Remote host closed the connection]
<drbrain>
threeifbywhiskey: the ruby VM has TCO built-in but not enabled by default
havenwood has joined #ruby-lang
mr-foobar has joined #ruby-lang
jhass is now known as jhass|off
<threeifbywhiskey>
You're right, but so few people have their Rubies built to have TCO enabled.
<drbrain>
you can do it through eval, too
<threeifbywhiskey>
Can't eval without alphanumerics.
<threeifbywhiskey>
Perl can.
<drbrain>
well, the long drawn-out eval
heavyhorse has quit [Quit: Computer has gone to sleep]
<threeifbywhiskey>
I was thinking of using ['const_get', 'ObjectSpace'] >> Kernel to get ObjectSpace, then send it 'each_object', and walk through and try to tinker with the #object_ids until I find RubyVM.
<threeifbywhiskey>
Probably harder than FrozenCore, now I think about it.
<drbrain>
should look like: opt_send_simple <callinfo!mid:fact, argc:1, FCALL|TAILCALL|ARGS_SKIP>
<threeifbywhiskey>
Hm...
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<threeifbywhiskey>
Ruby version?
<drbrain>
ruby 2.1.0p0
<drbrain>
what does your ruby source look like? send "fact", … ?
<drbrain>
still, if you look at my example from note-3, you'll see that the call inside #fact does not have the TAILCALL flag
<drbrain>
and I'm not sure why
<drbrain>
only the initial call to #fact at top-level has it
mdub has joined #ruby-lang
<drbrain>
if you're using #send I don't think ruby is currently smart enough to optimize it even to opt_send_simple
<threeifbywhiskey>
Ah, that's pretty unfortunate.
Zenith has joined #ruby-lang
<drbrain>
yeah ☹
<threeifbywhiskey>
I'd also be using lambdas rather than defined methods.
symm- has quit [Ping timeout: 240 seconds]
<threeifbywhiskey>
Not sure if that's applicable, but I think it must be.
vpretzel has quit [Remote host closed the connection]
<drbrain>
while it's possible for a VM to do TCO with lambdas, I'm certain that ruby's VM doesn't
airdisa has joined #ruby-lang
nhmood has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
<threeifbywhiskey>
Well, thank you very much, Eric. I'm going to be able to rest on this one now. It's unfortunate that Perl is still winning the non-alphanumeric Turing-completeness race.
<threeifbywhiskey>
But that's only because eval'd regexes, which is pretty much cheating.
toastynerd has quit [Remote host closed the connection]
<drbrain>
hehe
<drbrain>
I'm not sure exactly what you're doing, but you could probably write byte codes directly and evaluate them
<drbrain>
probably also cheating
Zenith has quit [Client Quit]
toastynerd has joined #ruby-lang
<threeifbywhiskey>
How to eval without using eval, though?
<threeifbywhiskey>
It's very easy to build up arbitrary strings in Ruby.
<threeifbywhiskey>
You just shovel codepoints into the empty string ('' << 97 << 98).
solars has quit [Ping timeout: 252 seconds]
<drbrain>
ah, yeah
<drbrain>
so you're looking to create a VM or interpreter without using eval
mjw has left #ruby-lang [#ruby-lang]
JoshuaPaling has joined #ruby-lang
dingus_khan has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
DEac-_ has joined #ruby-lang
mdub has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
heavyhorse has joined #ruby-lang
<threeifbywhiskey>
Well, without using any numbers or letters.
<threeifbywhiskey>
drbrain: I think you're probably saying things that are too smart for me to properly respond.