timvisher has quit [Remote host closed the connection]
tvw has joined #ruby
timvisher has joined #ruby
<zipace>
baweaver: yeah, just found the exact same URL on google. not 100% what i was looking for (syntactical indentation of css/js, sort of), but it does the job well enough!
timvisher has quit [Remote host closed the connection]
timvisher has joined #ruby
last_staff has joined #ruby
nettoweb has joined #ruby
ledestin has joined #ruby
anisha has joined #ruby
teclator has quit [Remote host closed the connection]
wingwalker has joined #ruby
nobitanobi has joined #ruby
ledestin has quit [Ping timeout: 240 seconds]
nettoweb has quit [Ping timeout: 240 seconds]
moei has quit [Quit: Leaving...]
wingwalker has quit [Client Quit]
wingwalker has joined #ruby
moei has joined #ruby
pawnbox has quit [Remote host closed the connection]
al2o3-cr has quit [Quit: WeeChat 1.5]
pawnbox has joined #ruby
spudowiar has joined #ruby
nobitanobi has quit [Remote host closed the connection]
wingwalker has quit [Remote host closed the connection]
conta has quit [Ping timeout: 240 seconds]
last_staff has quit [Quit: last_staff]
mikecmpbll has joined #ruby
nettoweb has joined #ruby
johnny56 has joined #ruby
nettoweb has quit [Ping timeout: 260 seconds]
spudowiar has quit [Quit: gtg]
al2o3-cr has joined #ruby
Jackneill has joined #ruby
harai_ has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jameser has joined #ruby
Devalo has joined #ruby
Dimik has quit [Ping timeout: 268 seconds]
MrSamuel has joined #ruby
<MrSamuel>
Is it possible to substitute one gem for another? I have a light weight drop in for mime-types and I want to basically say something like gem “mime-types”, use: “my-own-gem”
<MrSamuel>
"my-own-gem" provides the same API but it does so in way which is better for my needs.. the only way I could see to do this was to do something like gem “mime-types”, git: path/to/my-own-gem
lxsameer has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
<elomatreb>
MrSamuel: If it provides the same API, you can just specify it, no need for the old gem
<MrSamuel>
Right, but what about other gems that have that dependency?
Filiphe has quit [Remote host closed the connection]
<MrSamuel>
like, in this case, it’s the mail gem which depends on mime-types, but I want to use my substitute everywhere
<elomatreb>
Ah. Welcome to dependency hell. Sorry, I don't know
jaguarmagenta has quit [Remote host closed the connection]
shmuli has quit [Remote host closed the connection]
pokalyis has joined #ruby
<MrSamuel>
damn
<MrSamuel>
IT’s so annoying when tons of people are asking for some feature and the devs don’t seem to listen
elastix has joined #ruby
<elomatreb>
MrSamuel: To be fair, things like this are what makes package managers complicated
<apeiros>
it is. but at the same time, they don't owe you anything.
<apeiros>
you can provide a pull request, implementing the feature. though that's no guarantee it makes it in either.
<MrSamuel>
apeiros: yeah, that’s the big problem, what’s the point of investing all that time if the origianl devs don’t give a shit
<elomatreb>
Why do you need a custom mime-types gem anyway? Is it worth the trouble?
<MrSamuel>
mime-types is a pig when it comes to memory usage
<MrSamuel>
in my currrent deployment it accounts for 55% of the memory usage per instance
<elomatreb>
RAM is cheap compared to dev time wasted with dealing with dependency issues
<MrSamuel>
that may be so, but as developers we should be prudent to design things efficiently where possible
<MrSamuel>
simply giving a blanket statement like “developers time is more valuable than hardware” doesn’t really seem constructive to me when there are significant improvements that can be made even at the software engineering level
<MrSamuel>
but anyway..
<elomatreb>
where possible and reasonable, I'd say. If you're interested in really good performance, Ruby probably isn't your language
<elomatreb>
Anyway, good luck with this. Gotta go
<hanmac>
debian has something like that with "provides" and "replaces" but even there its not 100% perfect
<MrSamuel>
Sure, I undesrtand that :)
<MrSamuel>
hanmac: even arch has that and it works fine
<hanmac>
hm i had cases where i wanted to replace something with something else but it didnt work because stuff needed somethingA and didnt want to work with somethingElse. (from the packages)
<MrSamuel>
to be honest, dpkg is a pig compared to pacman
<MrSamuel>
IMHO :)
AndresFR has joined #ruby
Devalo has quit []
<apeiros>
MrSamuel: patch the original mime-types and PR? (if that's possible)
<MrSamuel>
apeiros: I would do so but the data I’m providing is a subset
timvisher has quit [Ping timeout: 260 seconds]
<apeiros>
the way I replaced dependencies was by cloning, patching and providing a custom git repo in the deps.
<MrSamuel>
apeiros: yes that works, but why can’t that just be done like
<MrSamuel>
gem “foobar”, alias_of: "baz"
timvisher has joined #ruby
<MrSamuel>
rather than gem “foobar”, git: “github/user/baz"
<apeiros>
I have no idea. and I too find the "never a problem for me, so nobody can possibly have that problem" excuse rather annoying (and obviously wrong)
<apeiros>
(as given in the issue I linked above)
ARCADIVS has joined #ruby
<MrSamuel>
that attutude/excuse bothers me so much too
eizua has joined #ruby
AndresFR has quit [Quit: Ex-Chat]
zeroDi has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
yardenbar has joined #ruby
marr has quit [Ping timeout: 250 seconds]
pandaant has joined #ruby
pawnbox has quit [Remote host closed the connection]
MrSamuel has quit [Quit: MrSamuel]
pokalyis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
elastix has quit [Quit: Leaving]
MrSamuel has joined #ruby
yardenbar has quit [Ping timeout: 250 seconds]
zipace has quit [Disconnected by services]
ziprar has joined #ruby
MrSamuel has quit [Client Quit]
pawnbox has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
tobacco_joe has joined #ruby
montyboy has joined #ruby
pawnbox has joined #ruby
pokalyis has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
gizmore has joined #ruby
timvisher has quit [Remote host closed the connection]
timvisher has joined #ruby
phredus has quit [Remote host closed the connection]
phredus has joined #ruby
aidalgol has quit [Quit: zZzZzZzzzzz]
agit0 has joined #ruby
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<al2o3-cr>
thanks Zarthus, i was doing something silly
alibby has quit [Ping timeout: 248 seconds]
pawnbox has quit [Remote host closed the connection]
<al2o3-cr>
i was doing degrees * PI / 180 instead of radians * 180 / PI
<al2o3-cr>
no wonder i wasn't getting the answer i was looking for
antgel has joined #ruby
frankiee_ has quit [Ping timeout: 244 seconds]
hiyosi has quit [Remote host closed the connection]
zukin has joined #ruby
biberu has joined #ruby
tobacco_joe has quit []
nankyokusei has joined #ruby
Immune has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
redpants has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
jgt has joined #ruby
ace05 has quit [Read error: Connection reset by peer]
timvisher has quit [Remote host closed the connection]
timvisher has joined #ruby
jgt has quit [Ping timeout: 240 seconds]
ace05 has joined #ruby
frankiee_ has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
pawnbox has joined #ruby
mikecmpbll has joined #ruby
zukin has quit [Quit: bsd going to sleep]
bruce_lee has quit [Ping timeout: 260 seconds]
bruce_lee has joined #ruby
Blaguvest has joined #ruby
zukin has joined #ruby
zapata has quit [Ping timeout: 256 seconds]
zapata has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 250 seconds]
djbkd_ has joined #ruby
djbkd_ has quit [Client Quit]
grh has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
Devalo has quit [Remote host closed the connection]
sdothum has joined #ruby
pawnbox has quit [Remote host closed the connection]
last_staff has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
lucasb has joined #ruby
agit0 has quit [Read error: No route to host]
jgt has joined #ruby
harfangk has joined #ruby
bronson_ has quit [Read error: Connection reset by peer]
bronson has joined #ruby
timvisher has quit [Remote host closed the connection]
timvisher has joined #ruby
zukin has quit [Quit: bsd is going to sleep]
pawnbox has joined #ruby
jaguarmagenta has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt has quit [Ping timeout: 250 seconds]
lxsameer has quit [Quit: WeeChat 1.5]
AlexRussia has quit [Ping timeout: 248 seconds]
jaguarmagenta has quit [Ping timeout: 260 seconds]
misterpink has quit [Read error: Connection reset by peer]
misterpink has joined #ruby
blackmesa has joined #ruby
devgiant has joined #ruby
devgiant has quit [Client Quit]
AlexRussia has joined #ruby
arashb has joined #ruby
devgiant has joined #ruby
Bellthoven has joined #ruby
Devalo has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arashb has quit [Ping timeout: 260 seconds]
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
sepp2k has joined #ruby
nutsu has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
<nutsu>
hey guyes, wondering if any of you'd wanna help me with something of a code golf challenge - shortly put i need a regex for a^nb^nc^n (abc, aabbcc etc.) - i've reached ^(?=(a\g<1>?b)c)a+(b\g<-1>?c)$ which works but i need to shave one more char from it. any ideas?
<nutsu>
wondering if there's any ruby shorthand for \g<1> or \g<-1> ?
<nutsu>
as far as regex goes, i mean.
<ciawal>
that seems overly long if what you're saying is all you need
<ciawal>
is this the full string or there can be more in it?
<nutsu>
there can be more of course
<nutsu>
i mean n can be bigger then 2, as in my example
<nutsu>
it would need to match aaaabbbbcccc and so on.
Sembei has joined #ruby
Pisuke has quit [Ping timeout: 260 seconds]
frozengeek has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
<nutsu>
i've got it. thanks anyway
<nutsu>
just used \g<2> for the second group instead of \g<-1>
Devalo has quit [Remote host closed the connection]
nutsu has left #ruby [#ruby]
montyboy has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
conta has quit [Ping timeout: 240 seconds]
tk__ has joined #ruby
ace05 has quit [Remote host closed the connection]
cdg has joined #ruby
ace05 has joined #ruby
conta has joined #ruby
TinkerTyper has quit [Ping timeout: 244 seconds]
SCHAAP137 has quit [Ping timeout: 248 seconds]
ace05 has quit [Ping timeout: 268 seconds]
tomphp has joined #ruby
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
TinkerTyper has joined #ruby
devgiant_ has joined #ruby
craigp_ has quit [Ping timeout: 268 seconds]
yardenbar has joined #ruby
montyboy has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jcao219 has joined #ruby
ace05 has joined #ruby
Mia has joined #ruby
montyboy has quit [Client Quit]
montyboy has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
montyboy has quit [Read error: Connection reset by peer]
devgiant has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
jgt has joined #ruby
RTFM[away] has joined #ruby
timvisher has quit [Remote host closed the connection]
timvisher has joined #ruby
gingray has joined #ruby
ziprar is now known as zipace
nankyokusei has quit [Ping timeout: 260 seconds]
_sfiguser has quit [Remote host closed the connection]
tomphp has joined #ruby
yokel has quit [Remote host closed the connection]
yokel has joined #ruby
ledestin has quit [Ping timeout: 244 seconds]
sepp2k has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby
spudowiar has joined #ruby
blackmesa has joined #ruby
weemsledeux has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
sepp2k has joined #ruby
Snowy has joined #ruby
f0rpaxe has joined #ruby
devgiant_ has quit [Quit: Leaving]
Bellthoven has quit []
Devalo has joined #ruby
tectonic has joined #ruby
jshjsh is now known as JoshS
Guest5014 is now known as silverdust
silverdust has quit [Changing host]
silverdust has joined #ruby
armin has joined #ruby
pragmaticus has quit [Ping timeout: 244 seconds]
ichkv has quit [Remote host closed the connection]
wpostma has joined #ruby
SCHAAP137 has joined #ruby
lel has quit [Read error: Connection reset by peer]
jcao219 has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
yardenbar has quit [Ping timeout: 244 seconds]
Bellthoven has joined #ruby
jaguarmagenta has joined #ruby
shinnya has joined #ruby
Devalo has quit [Remote host closed the connection]
joast has quit [Ping timeout: 268 seconds]
timvisher has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
timvisher has joined #ruby
weemsledeux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Ping timeout: 250 seconds]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
solocshaw has joined #ruby
taoadmin_ has joined #ruby
<wpostma>
Does anyone know of the closest RUBY interactive edit/debug/learn tool comparable to IDLE in Python? Sort of a GUI that combines IRB, a simple editor and a graphical single step debugger?
conta has quit [Ping timeout: 240 seconds]
<taoadmin_>
rubymine is expensive
<taoadmin_>
emacs emacs emacs
<taoadmin_>
测试汉语
taoadmin_ has left #ruby [#ruby]
blackmesa has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
ayonkhan has joined #ruby
johnmilton has quit [Remote host closed the connection]
thejamespinto has joined #ruby
redpants has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 248 seconds]
spudowiar has quit [Quit: Leaving.]
ichkv has joined #ruby
Bellthoven has quit []
eggoez has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tk__ has quit [Quit: ばいばい]
eggoez has joined #ruby
Oclairi has joined #ruby
jcao219 has joined #ruby
Oclair has quit [Ping timeout: 260 seconds]
bsrd has joined #ruby
<wpostma>
So far eclipse and aptana are not bad but a bit heavyweight and hard to use with NEW people.
weemsledeux has joined #ruby
<wpostma>
So far eclipse and aptana are not bad but a bit heavyweight and hard to use with NEW people.
<wpostma>
There used to be some ruby "hack hack" by whytheluckystiff but it seems unmaintained?
<wpostma>
Actually the hacketyhack site is down.
codfection has joined #ruby
<codfection>
ruby is giving me error while installing version 2.1.5
<ruby[bot]>
codfection: 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
<helpa>
Hi codfection. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
<helpa>
Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
<wpostma>
More reading it seems Hacketyhack is dead and that Shoes4 is in rebuild churn mode and that there is really not much effort going into native non-ruby UI and IDE.
fnux has quit [Quit: Bye ~]
<Mon_Ouie>
codfection: The real error is not shown in this snippet. The path to the entire log is shown on line 17 of your gist.
<codfection>
Could not locate Gemfile or .bundle/ directory
<codfection>
bundle install
lel has joined #ruby
<codfection>
I get the following error.
blandflakes has joined #ruby
cdg has quit [Remote host closed the connection]
ARCADIVS has quit [Quit: ARCADIVS]
surrounder has joined #ruby
nobitanobi has joined #ruby
frozengeek has quit [Quit: frozengeek]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
tty1 has quit [Ping timeout: 258 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
ace05_ has joined #ruby
wpostma has quit [Quit: This computer has gone to sleep]
nankyokusei has quit [Ping timeout: 240 seconds]
timvisher has quit [Remote host closed the connection]
timvisher has joined #ruby
Immune has joined #ruby
ace05 has quit [Ping timeout: 260 seconds]
wpostma has joined #ruby
<lupine>
scratch or something is popular these days
matp has quit [Max SendQ exceeded]
matp has joined #ruby
GGMethos_ is now known as GGMethos
Snowy has quit [Quit: ragequit]
jaguarmagenta has joined #ruby
blackmesa has joined #ruby
weemsledeux has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 268 seconds]
_tpavel has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.5]
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
blackmesa has joined #ruby
marsjaninzmarsa has joined #ruby
symm- has joined #ruby
wpostma has quit [Quit: This computer has gone to sleep]
nikivi has joined #ruby
wpostma has joined #ruby
Immune has quit [Ping timeout: 248 seconds]
x0f has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
codfection has quit [Remote host closed the connection]
bsrd has quit [Quit: WeeChat 1.5]
codfection has joined #ruby
qwertyco has joined #ruby
redpants has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
nobitanobi has quit [Remote host closed the connection]
Arney has joined #ruby
<Arney>
hi, im too stupid to google that
<Arney>
how do i install a gem from filesystem?
<Arney>
or how can i reference it somehow?
codfection has quit [Remote host closed the connection]
sumobob has joined #ruby
Devalo has joined #ruby
nikivi has quit [Read error: Connection reset by peer]
ekinmur has joined #ruby
dn5 has joined #ruby
lel has quit [Read error: Connection reset by peer]
_tpavel has quit [Quit: Leaving]
timvisher has quit [Remote host closed the connection]
timvisher has joined #ruby
nando293921 has joined #ruby
zidane_g has joined #ruby
nettoweb has joined #ruby
bkxd has joined #ruby
Devalo has quit []
_main_ has joined #ruby
thatsnotjack has joined #ruby
symm- has quit [Quit: Leaving...]
yardenbar has joined #ruby
__main__ has quit [Ping timeout: 258 seconds]
_main_ is now known as __main__
firstdayonthejob has quit [Quit: WeeChat 1.6]
bkxd has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
ekinmur has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
firstdayonthejob has joined #ruby
<lupine>
ISTR `gem install foo.gem` works just fine
codfection has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
<Arney>
yeah but what if i pull a gem from git ( not the .gem file )
axisys has quit [Read error: Connection reset by peer]
conta has joined #ruby
<Arney>
szymon: you can write react in ruby, there are bindings
craigp_ has joined #ruby
<Arney>
it's kinda hacky, but totally cool.
<Arney>
but that wouldn't be Ror, i suppose
<Arney>
but there are dudes who do it, combining Ror with SPAs
<hanmac>
i find "one page sites" annoying
<Arney>
what is annoying about them?
LoneHerm_ has joined #ruby
pezra has joined #ruby
<dn5>
is there something like ubuntu dev
<Arney>
that it doesn't flash white on link press?
<dn5>
ouups
<dn5>
wrong chan
<Arney>
like you can build SPAs that act exactly like a non-SPA would do
<hanmac>
i don't know it just conflicts with my thinking of an ordered site with sub-sites ... putting everything on one page just feels wrong for me
<Arney>
well, then you're just old-fashioned
<Arney>
websites going back to being applications, thats what will happen
vinnicc has joined #ruby
<Arney>
it has many benefits, calculations on clients less traffic, you can do more effects and fancy stuff
<Arney>
hell who wants to render graphs on server side or pdf
SteenJobs has quit [Quit: SteenJobs]
Bellthoven has quit []
<szymon>
yes but he start new corp so he cant to show to much he is electrican so one page site will bee ok
<Arney>
nothing you just said makes any sense?
<Arney>
he wants a webpage for his small electrician business? don't go for SPA then
mediachicken has joined #ruby
<Arney>
spa is good for big websites with many features, a :static_webpage != :single_page_application
<mediachicken>
How can I run a bin file executing a ruby gem I'm developing on? I did it in the past with this exact repo, but I haven't touched ruby in almost two years.
<mediachicken>
I think the command had something to do with irb. Like irb -r GemName then something else
<Arney>
irb -r<gem_name> does exactly that
<Arney>
fire up a REPL with <gem> being required before run
<mediachicken>
what else needs to be put after that though?
<Arney>
depends on what you want to do, you didn't provide enough information for that
<mediachicken>
Is there a one liner that requires the gem and then runs the ruby file? I seem to remember a one liner that did it before
<szymon>
Arney : you have some good idea were start with wordpress??
<Arney>
yeah, at the homepage of wordpress
wpostma has quit [Client Quit]
<Arney>
it can't get simpler as that, download the zip => unzip it => open the site, configure
<Arney>
literally no coding skills required, and doesn't belong here
<szymon>
nice thanx realy realy
timvisher has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
timvisher has joined #ruby
prognostikos has joined #ruby
vinnicc has quit [Quit: WeeChat 1.5]
dn5 has quit [Ping timeout: 240 seconds]
tenderlove has joined #ruby
babykosh has joined #ruby
prognostikos has left #ruby [#ruby]
redpants has joined #ruby
jgt has joined #ruby
<pezra>
any thoughts on my ssl issue? i am out of ideas to try so any, even far fetched, ideas are welcome
axisys has joined #ruby
jgt has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
ace05_ has quit [Read error: Connection reset by peer]
ace05 has joined #ruby
ace05 has quit [Read error: Connection reset by peer]
ace05 has joined #ruby
qwertyco has quit [Quit: Leaving]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 260 seconds]
JeanCarloMachado has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
Joufflu has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
yardenbar has quit [Ping timeout: 248 seconds]
skweek has joined #ruby
__main__ has joined #ruby
tomphp has joined #ruby
bonhoeffer has joined #ruby
<bonhoeffer>
ah -- i ran a basic program on 2.2.2 and got: ruby(12314,0x7ffff10e83c0) malloc: *** malloc_zone_unregister() failed for 0x7ffff10de000
<bonhoeffer>
any options?
tomphp has quit [Client Quit]
claudiuinberlin has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
tomphp has joined #ruby
mikecmpb_ has quit [Ping timeout: 260 seconds]
bsrd has quit [Quit: WeeChat 1.6]
<bonhoeffer>
it is on sierra mac
<bonhoeffer>
i just tried with ruby 2.3.1 and got the same problem ruby(12925,0x7ffff10e83c0) malloc: *** malloc_zone_unregister() failed for 0x7ffff10de000
<bonhoeffer>
exact same . .. hmm
<bonhoeffer>
i'm not even sure how to recover from it
<bonhoeffer>
ctl+c doesn't work -- i kill the thread with kill -9 %pid
tomphp has quit [Client Quit]
rippa has quit [Ping timeout: 248 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
marsjaninzmarsa has joined #ruby
conta has quit [Ping timeout: 240 seconds]
codfection has quit [Quit: Leaving]
pezra has quit [Remote host closed the connection]
codfection has joined #ruby
<hanmac>
bonhoeffer: can you gist that simple ruby program?
tenderlove has quit [Read error: Connection reset by peer]
<hanmac>
bonhoeffer: i also think the problem must ly deeper because ruby itself does not use malloc_zone_unregister
elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bonhoeffer>
hanmac: i fixed it -- the skylight gem was the culprit
<cmattrex>
i'm a dotnet programmer, going through the learn ruby the hard way, and saw the author truncate the file after opening it in write mode then writing to it
<lupine>
oh, w+ is truncate too?
<lupine>
that sucks
<lupine>
r+
<lupine>
le sigh
<cmattrex>
was a bit strange to me, so I decided to ask, is there a specific reason that he does that
spudowiar has quit [Client Quit]
_sfiguser has joined #ruby
<dminuoso>
cmattrex: You will have to ask the author.
<dminuoso>
cmattrex: But "w" and "w+" by design truncate, this is in opposite of "a" and "a+" ("append")
elvin has joined #ruby
spudowiar has joined #ruby
spudowiar has quit [Client Quit]
<cmattrex>
thanks
anisha has quit [Quit: This computer has gone to sleep]
timvisher has quit [Remote host closed the connection]
<dminuoso>
cmattrex: If you want to modify a File at the beginning, you have to open in append and rewind/seek or whatever to the position you are interested in.
thejamespinto has quit []
timvisher has joined #ruby
<lupine>
nah, you open it r+
<lupine>
read-write, no truncate, fpos==0
<dminuoso>
Ah, same thing.
<dminuoso>
Well almost.
<cmattrex>
yeah, i get that, it's just that this kindda left me a bi stumped since I assumed opening it in w mode truncates the file, and then he truncates the file after opening it in w mode in one of his examples
<dminuoso>
cmattrex: What book are you reading?
<cmattrex>
learn ruby the hard way
<dminuoso>
cmattrex: Well it's certaining learning the hardware if the author makes you question his examples.
<dminuoso>
hard way.
rodfersou has joined #ruby
<cmattrex>
i'm not really new to programming, just wanted something to get familiar with ruby (since I'm already comfortable with python, C#, java, etc etc)
<cmattrex>
so I can focus on learning rails
<cmattrex>
got through half of the book in a few hours
<dminuoso>
Then a different book would have been better
<j416>
why's book is nice
<dminuoso>
Sure it is, but the target audience is just a different one.
catphish has left #ruby ["Leaving"]
<cmattrex>
yeah, i just wanted to go through something for beginners first just to get the feel for the language, i'll start reading a rails specific book right after I finish this one
<j416>
I enjoyed it even though I came to ruby with some years of experience in other languages
<dminuoso>
I enjoyed taking the dive into Ruby with "Ruby under a microscope"
<j416>
I thought it highlighted some of Ruby's features nicely
<dminuoso>
but then again Im a little more.. extreme.
<DLSteve>
Maybe dumb question but does anyone have a ballpark figure for how much storage a full mirror of ruby gems would require?
<cmattrex>
download three random gems
<dminuoso>
DLSteve: chrisseaton I believe has it mirrored.
<cmattrex>
get the average size, multiply by the number of gems
vitd has quit [Ping timeout: 244 seconds]
<dminuoso>
(So if he noticed this highlight he can quickly tell you)
timvisher has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
timvisher has joined #ruby
jinie has joined #ruby
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Client Quit]
zacstewart has quit [Ping timeout: 268 seconds]
DoubleMalt has quit [Ping timeout: 250 seconds]
threh has quit [Ping timeout: 260 seconds]
cmattrex has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
biberu has quit []
dviola has joined #ruby
vitd has quit [Ping timeout: 260 seconds]
vitd has joined #ruby
Pupeno has quit [Remote host closed the connection]
JoshS has joined #ruby
rodfersou has quit [Quit: leaving]
blackgoat has joined #ruby
Blaguvest has quit []
zacstewart has joined #ruby
nikivi has quit [Quit: irc]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
charliesome has quit [Client Quit]
pawnbox has joined #ruby
magellanicloud has quit [Quit: Leaving]
elenatanasoiu has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
<optiz0r>
dumb question time, is there a way to use regex modifiers (e.g. x) with the %r{} construct spanning multiple lines? %{} over multiple lines seems ok but %r{}x throws a syntax error, as does //x when it spans multiple lines.
Lord_of_Life has quit [Excess Flood]
_sfiguser has quit [Ping timeout: 244 seconds]
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lord_of_Life has joined #ruby
nonnatus has joined #ruby
plantfood has quit [Ping timeout: 260 seconds]
alibby has quit [Quit: Leaving.]
plantfood has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
threh has joined #ruby
marr has joined #ruby
nikivi has joined #ruby
charliesome has joined #ruby
g3funk is now known as braidn
skweek has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
DLSteve has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
timvisher has quit [Remote host closed the connection]
zacts has joined #ruby
timvisher has joined #ruby
Madplatypus has joined #ruby
tectonic has quit []
_whitelogger has joined #ruby
_sfiguser has joined #ruby
threh has quit [Ping timeout: 248 seconds]
dh64 has joined #ruby
blackmesa has joined #ruby
TheTFEF is now known as Nightmare
jcao219 has joined #ruby
alibby has joined #ruby
chouhoulis has quit [Remote host closed the connection]
jaguarmagenta has quit [Remote host closed the connection]
Meeh has quit [Ping timeout: 244 seconds]
zipace has quit [Ping timeout: 240 seconds]
Derperperd has joined #ruby
Meeh has joined #ruby
ruby-lang893 has joined #ruby
jshjsh has joined #ruby
raeoks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JoshS has quit [Ping timeout: 240 seconds]
gingray has quit [Ping timeout: 260 seconds]
timvisher has quit [Remote host closed the connection]
timvisher has joined #ruby
ace05 has quit [Remote host closed the connection]
ace05 has joined #ruby
JeanCarloMachado has joined #ruby
JesseH has quit [Remote host closed the connection]
_sfiguser has quit [Quit: Leaving]
Bellthoven has quit []
ace05 has quit [Ping timeout: 250 seconds]
harai_ has quit [Ping timeout: 250 seconds]
NTrash has joined #ruby
JeanCarloMachado has quit [Ping timeout: 248 seconds]
snakehsu has joined #ruby
bruce_lee has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
juanfra has quit [Quit: juanfra]
juanfra has joined #ruby
nikivi has quit [Quit: irc]
nettoweb has joined #ruby
UserJosh has joined #ruby
elenatanasoiu has quit [Ping timeout: 240 seconds]
gizmore has quit [Ping timeout: 244 seconds]
jshjsh has quit [Ping timeout: 240 seconds]
aries_liuxueyang has joined #ruby
gizmore has joined #ruby
Derperperd has quit [Read error: Connection reset by peer]
plantfood has quit [Quit: Leaving]
nullfxn has joined #ruby
Derperperd has joined #ruby
dn5 has joined #ruby
Ropeney_ has joined #ruby
nankyokusei has joined #ruby
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]