<jrobeson>
they will download them to that project
<gordon__>
maybe I dont know
<gordon__>
I'm java dev ;0
<gordon__>
;)
<jrobeson>
bundler is for per project gems
<Notte>
Ok, so i won't take your advice, no offense :D
<jrobeson>
or can be used for per project gems
<Iszak>
where as gemsets can be per project, per user?
<jrobeson>
a lot of people use chruby for ruby itself instead of rvm
<jrobeson>
to change ruby versions
kevind__ is now known as kevind
<gordon__>
see now you know ;)
alexherbo2 has joined #ruby
alexherbo2 has quit [Client Quit]
Bumptious has joined #ruby
Bumptious has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
flubba has quit [Remote host closed the connection]
shime has quit [Ping timeout: 252 seconds]
peneconleche is now known as peneconleche|awa
cashnguns has joined #ruby
mikepack_ has joined #ruby
Steven_ has quit [Remote host closed the connection]
<Notte>
I've just "source 'https://rubygems...'; gem 'rails'" inside my Gemfile, and bundle install gives me an error: Bundler::GemNotFound: Could not find minitest-4.7.5.gem for installation
<Notte>
Do you know why?
nari has joined #ruby
<Notte>
I've got gem 2.2.0-rc-1
<gordon__>
cannot help you
<gordon__>
I did rvm install rails
<gordon__>
or something
<gordon__>
with version ;)
mikepack has quit [Ping timeout: 245 seconds]
ozkan has joined #ruby
mikepack_ has quit [Ping timeout: 252 seconds]
<Notte>
Ok, this time i'll install rails without bundler :\. Thank you
<Iszak>
Notte could it have been pulled?
<shevy>
avoiding bundler is usually the best way anyway ;)
<Iszak>
what is with the bundler hate?
<Notte>
Iszak: no, it gets stuck a that dependency
<shevy>
does bundler work?
mojjojo has joined #ruby
<Iszak>
Notte why is your name night in italian?
<Notte>
Iszak: because i like it
<Iszak>
e.g. londra di notte
<Notte>
plain and simple :)
<Iszak>
Where is Serra :P
<Iszak>
sera rather
<Notte>
Where are you from Iszak?
zz_karupanerura is now known as karupanerura
<Iszak>
UK
iliketur_ has joined #ruby
ozkan has quit [Ping timeout: 260 seconds]
<soheil>
I'd like to write a spec test to check if a function is getting called with a specific parameter, however, that function will be getting called more than once with different parameters, I only want to test a single call to it with a specific parameter not the other calls.
culturelabs_ is now known as culturelabs
<soheil>
The test keeps failing if I use should_receive(:my_method).with(param1) it fails with other calls to my_method with different params.
Hanmac has joined #ruby
okinomo has quit [Ping timeout: 245 seconds]
<soheil>
Basically what I need is to let other calls through without inspecting them.
<soheil>
any ideas?
<Iszak>
Notte why?
vikhyat has joined #ruby
Hanmac1 has quit [Ping timeout: 272 seconds]
<Notte>
out of curiosity
<Iszak>
Notte you?
<Notte>
Italy
vikhyat_ has quit [Ping timeout: 252 seconds]
vinian has joined #ruby
<Notte>
I think the problem is the gem version
<Iszak>
Notte which region?
<Notte>
Release candidate is shitty, i don't know why i've that installed
<Notte>
Iszak: Lombardy
<Iszak>
ah, north.
aryaching has joined #ruby
frustrum has quit [Quit: WeeChat 0.4.2]
<Notte>
I'm stating off with a new app and i was really doubtful about which language to use between nodejs and ruby, and maybe scala
brunops has quit [Ping timeout: 245 seconds]
<Notte>
Already know js and a bit of ruby, but it's been a long time since i programmed in ruby
vikhyat_ has joined #ruby
threesome has quit [Ping timeout: 240 seconds]
<Notte>
I chose ruby just for the big comunity and tested gems
<Notte>
one for each taste ahah
vikhyat has quit [Ping timeout: 272 seconds]
<gordon__>
scala <3
<gordon__>
sorry I couldn't resist :)
<Notte>
:)
decap_ has joined #ruby
Bumptious has joined #ruby
<Notte>
Which libraries should i use for a common scala web app, gordon__?
<gordon__>
get playframework ;)
<gordon__>
ORM is bigger problem
<gordon__>
probably squeryl and slick are two options
mojjojo has quit [Quit: mojjojo]
snath has joined #ruby
<gordon__>
you can always write java JPA classes and make service layer in scala ;)
<Notte>
Writing Java makes me sad
<Notte>
I can't
<gordon__>
I love
<Rylee>
writing java is the #1 cause of depression in america
<Rylee>
watch out
<Notte>
lol
<gordon__>
Rylee: you can say that ;)
decap has quit [Ping timeout: 240 seconds]
<gordon__>
rotting projects probably
<gordon__>
and xml
<gordon__>
but it got many adventages too
vikhyat has joined #ruby
<gordon__>
and I like compiled languages more
<gordon__>
I'm stupid so let compiled stay on guard
brunops has joined #ruby
mojjojo has joined #ruby
<mzdravkov>
gordon__: java is not like the only compiled language :)
mojjojo has quit [Client Quit]
<Notte>
Yeah, i realize that every time i use c++ after a long time on js
<Notte>
It's nice to have static type checking
vikhyat_ has quit [Ping timeout: 246 seconds]
<Iszak>
Notte choose a solution that fits your problem.
<Iszak>
I am sick of all these people using node.js "just because" it's new and hip.
<Iszak>
Equally, the use of NoSQL
<mzdravkov>
I really like the idea of Erlang, even if I have written so few things in it.
vlad_starkov has joined #ruby
deol has joined #ruby
vikhyat_ has joined #ruby
<Iszak>
It's all about the right tool for the right job, it's like those developers who use wordpress for everything because a) they love it and b) that's all they know, don't be one of those guys.
brunops has quit [Changing host]
brunops has joined #ruby
<Notte>
Do you use ruby 2.0?
Astralum has quit [Ping timeout: 246 seconds]
mzdravkov has left #ruby [#ruby]
vlad_starkov has quit [Read error: No buffer space available]
dscrd has quit [Quit: .]
<Iszak>
Notte I don't use ruby in my day job, I use php unfortunately.
vikhyat has quit [Ping timeout: 246 seconds]
<Notte>
poor guy
<Notte>
:D
<Iszak>
I am leaving my job soon, they are turning into a wordpress shop.
<Iszak>
The "technology director" all he knows is wordpress
DrShoggoth has quit [Ping timeout: 252 seconds]
coca_rails has joined #ruby
dagnachew has joined #ruby
dagnachew has quit [Max SendQ exceeded]
<jle`>
i don't think i'll understand nosql, but i can understand the cognitive benefit of keeping the same language throughout your entire stak
dagnachew has joined #ruby
wallerdev has joined #ruby
vikhyat_ has quit [Ping timeout: 246 seconds]
vikhyat has joined #ruby
<Iszak>
jle` NoSQL is good when you haven't got a consistent structure for whatever reason
<Iszak>
although some would say, why not just use postgresql json data store instead of NoSQL which proves to be just as fast.
dagnachew has quit [Client Quit]
ewnd9 has joined #ruby
<Notte>
because you don't need to load the entire document, maybe
<Notte>
i dunno
alexherbo2 has joined #ruby
<Iszak>
this is true
robustus has quit [Ping timeout: 245 seconds]
<jle`>
this is true
hogeo has joined #ruby
<Iszak>
surely you'd need to load the ensure document in noSQL to use your reduce function? although it's already loaded in memory.
<jle`>
flexible schema sounds like a style choice and a freedom rather than a pseudo-objective 'better'.
<jle`>
a legitimate style choice
coca_rails has quit [Remote host closed the connection]
<jle`>
i don't know what i am saying anymore
Vivekananda has quit [Remote host closed the connection]
charliesome has joined #ruby
vikhyat_ has joined #ruby
<Iszak>
jle` time to go to sleep?
vikhyat has quit [Ping timeout: 245 seconds]
robustus has joined #ruby
<jle`>
perhaps it is :)
<Iszak>
Notte do you work in Italy?
Pyro24 has quit [Quit: Leaving]
<Notte>
Iszak: i do.
<Iszak>
Notte I heard it is rife with under paid developer
<Iszak>
s
<Notte>
Iszak: yes, it's true.
<Notte>
It's true for all kind of jobs, now.
emocakes has quit [Quit: Leaving...]
<Iszak>
Notte My friend from Napoli moved to the UK because it was so bad.
hogeo has quit [Ping timeout: 260 seconds]
Tearan has quit []
tkuchiki has joined #ruby
<Notte>
Iszak: well, i think there's much work in Milan, more than other parts of Italy and you can live well if you're skilled with some experience (if you don't have it you're gonna be treated like a slave)
<Notte>
But i think that in UK is worst since the cost of the life is much higher
<Notte>
Isn't it?
thams has quit [Quit: thams]
Tearan has joined #ruby
aryaching_ has joined #ruby
<Iszak>
Notte it is, but at least the price is competitive, in italy they want perfect knowledge, paid with a pittance
nari has quit [Ping timeout: 246 seconds]
lyanchih has joined #ruby
aryaching has quit [Ping timeout: 272 seconds]
lyanchih has quit [Client Quit]
Vivekananda has joined #ruby
thams has joined #ruby
<Notte>
I've been seeing many Italians go to London for paying high rents and barely get at the end of the month... I can't understand that
Tearan has quit [Ping timeout: 272 seconds]
brtdv has joined #ruby
lyanchih has joined #ruby
jamesaxl_ has quit [Ping timeout: 245 seconds]
<Notte>
Well, good night.
Mage_Dude has joined #ruby
<gordon__>
night
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
<Mage_Dude>
Is there some kind of connection limiting on rubygems.org? I've been getting connection refused off and on for the past hour. Service says up...but various 'gem installs' fail with ECONNREFUSED
<gordon__>
it was working for me today
<Notte>
I'm struggling with it too for at least 2h
<Iszak>
Mage_Dude possibly, not that I know of.
BryanKoen has quit [Ping timeout: 272 seconds]
<Iszak>
Notte did you say you are going to sleep?
<Iszak>
Mage_Dude perhaps setup a mirror?
<Notte>
I laid
<Notte>
:D
thams has quit [Ping timeout: 240 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
kevind has quit [Quit: kevind]
<gordon__>
but didnt get laid ;)
<Notte>
I've `rails new` stuck on run bundle install
<Notte>
:(
<Iszak>
Notte you've got coders block, go to bed.
<ddd>
sigh, seems i'm not the only one. not sure if thats good or bad
<Notte>
I'm obsessed, i can't
<Mage_Dude>
Iszak: All the 'package management' sites aren't making installations any easier. It's almost like you need mirrors for any systems you use. I've got deb mirrors, local github clones, composer package mirrors, what's one more right?
<Jamo>
I had to try install some gems, and I had no trouble...
flubba has joined #ruby
johnmilton has quit [Quit: Leaving]
banghouse has quit [Remote host closed the connection]
<Jamo>
might be due to location difference...
<Jamo>
if such exists...
<ddd>
could be just a couple servers int he pool having issues so it appears for some but not everyone
<Mage_Dude>
Probably. I just wish there was a 'hey here's a zip file so you don't have to try 8000 times to install this'...bleh
<gordon__>
mirror maybe ? :D
<Mage_Dude>
Is there any way I can clear a cookie or something and maybe get a new server randomly assigned?
<ddd>
i don't think so. rubygems is set up to a single IP which probably means they are using backend load balancers
m0use_ has joined #ruby
<ddd>
most HA clusters are set like that. the IP rotates between a master and a slave with nodes registering to the master. (like ldirectord and piranha do)
<Mage_Dude>
Finally got bundle install to complete
<gordon__>
yay!
<ddd>
woot!
<gordon__>
rapid development :D
<shevy>
Mage_Dude I'm gonna call you Mirror_Dude
<Mage_Dude>
Might as well. I feel like I'm mirroring half the internet...
<ddd>
if you set base-index 1 (so windows start at 1 rather than 0) nothing in window 0 if it has panes will launch. (Issues #167) remove the index rename and it works.
<ddd>
gordon__: lol thats just wrong!
<gordon__>
downloading internet ?
<gordon__>
well, yea
okinomo has joined #ruby
tagrudev has joined #ruby
yshh has joined #ruby
tagrudev has quit [Client Quit]
Mars` has quit [Remote host closed the connection]
ozkan has joined #ruby
ambushsabre has joined #ruby
<Mage_Dude>
ruby VIRT=1112m PU=98.8... must be busy.
<ddd>
github issues (on closed issues) iirc you get emailed answers correct? had to post to a closed issue someone else opened. can't remember if GH just appends to the issue and sets notification or if it emails you that an answer was made or not
okinomo has quit [Ping timeout: 240 seconds]
Mage_Dude has quit [Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310]]
decap_ has quit [Quit: Leaving]
okinomo has joined #ruby
ozkan has quit [Ping timeout: 245 seconds]
vpretzel has quit [Quit: Adios!]
aryaching has joined #ruby
chrisan has joined #ruby
estebistec has joined #ruby
cj has left #ruby [#ruby]
pskosinski_ has joined #ruby
aryaching_ has quit [Ping timeout: 252 seconds]
The_Baron has joined #ruby
Notte has quit []
Hanmac1 has joined #ruby
pskosinski has quit [Ping timeout: 240 seconds]
ewnd9 has quit [Ping timeout: 272 seconds]
Hanmac has quit [Ping timeout: 245 seconds]
nfk has quit [Quit: yawn]
hogeo has joined #ruby
anshin has joined #ruby
ambushsabre has quit [Quit: rip]
Mars` has joined #ruby
The_Baron has quit [Quit: TurboIRC for IOS. Available at the App Store.]
lewix has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
m0use_ has quit []
cow_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pskosinski_ is now known as pskosinski
lewix has quit [Read error: Connection reset by peer]
lewix has joined #ruby
vlad_starkov has joined #ruby
iamjarvo has joined #ruby
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
byprdct has joined #ruby
tomsthumb has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
crapple has quit [Ping timeout: 252 seconds]
heidi has quit [Quit: Leaving.]
hogeo has quit [Ping timeout: 252 seconds]
crapple has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
<WJW>
mzdravkov, I think that there is probably some way to do that.
ehc has quit [Quit: ehc]
prc has quit [Quit: Leaving.]
<Azure>
Shouldn't the topic be updated now that 2.1.0 is released?
Mars` has quit [Remote host closed the connection]
flubba has quit [Read error: Connection reset by peer]
DrShoggoth has joined #ruby
Bumptious has quit [Remote host closed the connection]
flubba has joined #ruby
charliesome has joined #ruby
DrShoggoth has quit [Max SendQ exceeded]
DrShoggoth has joined #ruby
iamjarvo has quit [Remote host closed the connection]
heidi has joined #ruby
Hanmac has joined #ruby
charliesome has quit [Client Quit]
charliesome has joined #ruby
mklappstuhl has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
dscrd has joined #ruby
iamjarvo has joined #ruby
dscrd has quit [Client Quit]
okinomo has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 245 seconds]
dscrd has joined #ruby
mklappst_ has joined #ruby
psyl0n has joined #ruby
Tearan has joined #ruby
dscrd has quit [Client Quit]
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dscrd has joined #ruby
mklappstuhl has quit [Ping timeout: 260 seconds]
foster63 has quit [Quit: Page closed]
RoryHughes has quit []
byprdct has joined #ruby
brtdv has quit []
gja has quit [Quit: This computer has gone to sleep]
Bosox20051 has quit [Quit: Leaving]
soheil has quit []
jgrevich has joined #ruby
gja has joined #ruby
iamjarvo has quit [Remote host closed the connection]
tropicalmug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Ping timeout: 245 seconds]
Barrin6 has joined #ruby
tropicalmug has joined #ruby
cbetta is now known as cbetta_afk
dscrd has quit [Ping timeout: 246 seconds]
tropicalmug has quit [Client Quit]
cj3kim has joined #ruby
agjacome has quit [Ping timeout: 260 seconds]
iamjarvo has joined #ruby
hogeo has joined #ruby
dscrd__ has quit [Quit: .]
hogeo_ has joined #ruby
tomsthumb has quit [Quit: leaving]
nowthatsamatt has joined #ruby
hogeo has quit [Ping timeout: 246 seconds]
Mars` has joined #ruby
ozkan has joined #ruby
hogeo_ has quit [Ping timeout: 272 seconds]
gja has quit [Quit: This computer has gone to sleep]
ozkan has quit [Ping timeout: 245 seconds]
hogeo has joined #ruby
banghouse has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
banghouse is now known as Guest52514
hogeo has joined #ruby
okinomo has joined #ruby
<flubba>
rubymine opinions?
ambushsabre has joined #ruby
<ddd>
i use it
<flubba>
i alternate between it and sublime3
tylersmi_ has quit [Remote host closed the connection]
<ddd>
RM6.0.1 currently
<flubba>
oh nice
<flubba>
i need to upgrade
<flubba>
i'm on 5.4
tylersmith has joined #ruby
<flubba>
why does it have integration with zeus
<flubba>
instead of spring
<flubba>
can you integrate spring?
Guest52514 has quit [Ping timeout: 272 seconds]
<anshin>
is ruby 2.1 significantly faster than 2.0? what makes it faster, if so? I read the brief version of the changelogs and didn't see anything beyond GC improvements
hogeo has quit [Ping timeout: 246 seconds]
phipes has joined #ruby
vlad_starkov has joined #ruby
<wmoxam>
anshin: GC improvements are a big deal
bnjamin has quit [Remote host closed the connection]
<wmoxam>
one of the best ways to improve performance in 2.0 was to tweak GC settings
tylersmith has quit [Ping timeout: 246 seconds]
<flubba>
it's not much faster
<flubba>
and it's not much faster than 1.9
<flubba>
ruby will always be slow
<flubba>
2.1 introduces keyword arguments
<anshin>
I thought keyword arguments were available in 2.0
<flubba>
oh yeah
<flubba>
you're right
vlad_starkov has quit [Read error: Connection reset by peer]
<anshin>
wmoxam: do you have any resources for understanding ruby's approach to GC and what changed?
mmitchell has quit []
ambushsabre has quit [Quit: rip]
<bnagy>
you should say MRI, not ruby
<anshin>
I think it might be a bit over my head but I'm interested
<bnagy>
to avoid confusion
<anshin>
MRI?
<bnagy>
the 'default' ruby interpreter
<WJW>
Matz's Ruby Interpreter.
<anshin>
ah, thanks
bnjamin has joined #ruby
<bnagy>
although tbh it's more KRI / YARV now but MRI is the understood term
<ddd>
MRI is the original ruby. there are a bunch of different 'Rubies'. JRuby, Rubinius, etc
<WJW>
Looks as though there's a talk on object management in Ruby Conference 2013.
<flubba>
Jruby and rubinius ftw.
<ddd>
though MRI, JRuby, and Rubinius are the most well known implementations of Ruby
horofx has joined #ruby
<ddd>
all of wich (if iirc) all conform to RubySpec
<anshin>
so, the rubyspec is built in such a way that if I were implementing ruby I would be able to test it against this spec?
<ddd>
which implementation, doing exactly what tests, under what environments, etc. Sounding just like Microsoft with their Windows Server is faster than BLAH. in which they set extremely cutom settings optimal for their server with nothing done for others
hogeo has joined #ruby
<anshin>
or am I misunderstanding "executable specification"?
<ddd>
so yeah its real easy to make benchmarks say whatever you want. sort of like statistics
<anshin>
oh "see rubyspec.org for more information"
phipes has quit [Remote host closed the connection]
<ddd>
anshin: yeah
thiagofm has quit [Ping timeout: 252 seconds]
<anshin>
this is awesome, I didn't know about any of this a few minutes ago
<ddd>
:) TIL :)
phipes has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<flubba>
ruby is the slowest language, it's a fact. it's a great language and speed doesn't matter in many uses cases. that's all i'm saying
ambushsabre has joined #ruby
<ddd>
anshin: w/o saying a single thing in here for days, I learn something everyday i sit at the keyboard and watch this channel.
hogeo_ has joined #ruby
<ddd>
flubba: whatever
<ddd>
go troll elsewhere
<flubba>
not trolling?
hogeo has quit [Read error: Connection reset by peer]
<ddd>
./ignore flubba ALL
<flubba>
i'm just talking about how it's dissapointing that we're on 2.1 already and speed improvements haven't happend
<anshin>
ddd: that's why I joined, but I decided to start with a question. I aim to lurk
<flubba>
i'm just frustrated that i have to use jruby for decent speed
<Boohbah>
flubba: jruby sucks
<flubba>
why?
<anshin>
one more question, do any of you happen to know of benchmarks comparing MRI versions (and is MRI versions the way to say that)? I saw http://www.isrubyfastyet.com/ today but it's specific to rails
<mjc_>
my experience with it is nothing like that Boohbah
aryaching has quit [Ping timeout: 272 seconds]
gja has quit [Client Quit]
<ddd>
anshin: mri versions would mean that you just want to benchmark Matz's releases only
<flubba>
isrubyfastyet should be renamed israilsaffectedbyrubyimplementations
phipes has quit [Ping timeout: 245 seconds]
okinomo has joined #ruby
<wmoxam>
anshin: most versions of Ruby are going to have performance that's "in the same ball park"
<flubba>
also that site fucked up measuring jruby
<flubba>
they used jdk 1.6 which ignored many optimizations that make jruby way faster than standard ruby
<wmoxam>
ie: they are roughly the same speed as other similar featured scripting languages such as python, perl, php, etc
nari has joined #ruby
<anshin>
ddd: I meant that specific phrasing, but that is what I meant
<ddd>
the different ruby implementations work together quite well, and a lot. they're pretty good at identifying bottlenecks and working cross-implementation to remove them.
hogeo_ has quit [Ping timeout: 245 seconds]
yacks has joined #ruby
gja has joined #ruby
<anshin>
wmoxam: that would be my guess
rickruby has quit [Remote host closed the connection]
<wmoxam>
anshin: if you truely need more speed for a critical component you can write a C extension
<anshin>
hm, so that would mean speed improvements are more about bottlenecks removed than significant optimization in general?
radic has quit [Disconnected by services]
radic_ has joined #ruby
rickruby has joined #ruby
primenum has joined #ruby
<mjc_>
jruby is way faster for every app I've ever done
<ddd>
anshin: idk if its the absolute correct way to say it, but if you're meaning across all the different implementations of ruby (same language just implemented differently) i'd say ruby implementations. or implementations of the ruby language.
gja has quit [Client Quit]
<anshin>
I don't care too much about speed, though I do wonder whether I will be bitten by performance limitations at some point. it's just a healthy curiosity
<ddd>
hehe
<flubba>
also note that site used Mid-2007 MacBook Pro
<mjc_>
rbx comes close
<anshin>
ddd: ah, ok
<wmoxam>
anshin: yeah, so the recent improvements are with the GC, which is important for long running service type apps, like web app servers
<flubba>
jruby is faster 100% of the time because it's a compiled language
<ddd>
anshin: with jruby, the only real speed issues i've seen are in development and thats the same in production. the initial spinup of the jvm.
<wmoxam>
flubba: lol
<ddd>
once running its great
<anshin>
flubba: I did notice that, and I requests per second on rails isn't a metric that's particularly relatable for me
<wmoxam>
flubba: so is C ;)
<flubba>
huh?
<mjc_>
jruby 1.7.9 is still about 2-16x faster for me than 2.1.0 for our internal apps
<ddd>
its just due to being java based and the jvm spinup time that 'slows' it
<mjc_>
depends on what the apps are doing
<anshin>
ddd: ah, so JRuby might be preferable for a longrunning app while MRI might be more suitable for systems scripts or something along those lines?
<flubba>
compiled languages matter on the web. that's why java/scala perform well
<bnagy>
holy crap this is worse than HN
<ddd>
or i should say that as as its java based there is a jvm involved and that takes spinup time.
<wmoxam>
mjc_: I've run into cases where I had to drop into MRI to have a task complete
<anshin>
ah
<havenwood>
bnagy: flee for the hills!
<wmoxam>
mjc_: due to jruby being a memory hog
<ddd>
anshin: yeah. i woud agree with that
<anshin>
bnagy: did I accidentally open a can of worms?
<flubba>
well jvm is a memory hog, yeah
<mjc_>
wmoxam: I've never had that happen, I have had to occasionally change some things to work more the way jruby expects
<mjc_>
any details?
<ddd>
again, its still going to be subjective at some levels, but in general if you're looking at startup to actually executing your ruby scripts, mri will kick off before jruby does, but jruby will probably be faster for more long-term longer running apps.
<bnagy>
anshin: no afaict flubba was already saying stupid stuff before you got here
chrisan has quit [Ping timeout: 260 seconds]
<anshin>
bnagy: ah, good (well, for me)
<ddd>
and that is impacted by whats being done as well.
<wmoxam>
mjc_: parsing mid sized XML docs (100MB RSS)
<flubba>
just preaching the truth
<ddd>
there's no unilateral A is faster than B
<ddd>
and trying to pass it off as truth, even though everything he's stating as fact is subjective as all hell
<mjc_>
wmoxam: hum, xml parsing should be pretty great on jruby
rickruby has quit [Ping timeout: 245 seconds]
<mjc_>
wmoxam: what were you using for it?
<ddd>
anshin: best bet is to check out the top ruby implementations, see what your common app type is, and do your own comparison.
<wmoxam>
mjc_: we do a lot of RSS feed processing
<mjc_>
I mean what parser
<wmoxam>
mjc_: typically the documents are small ~ 1-3MB
<flubba>
what i've done in some situations, is create a seperate service running jruby for processing tasks like that
<wmoxam>
mjc_: Nokogiri
<mjc_>
ah
<flubba>
and communicate via api
<flubba>
but the main app is mri
<anshin>
yeah, that makes sense. like I said, I'm not really all that concerned about speed since that's not why I use ruby, but I'm wondering whether I'll be impacted if I need to scale significantly
<ddd>
its also impacted by environment such as server specs, local environment, what you're doing, how oyu chose to implement what you're doing, etc.
<anshin>
but I'm immensely curious about the innerworkings of ruby
<flubba>
yeah, dont use jruby on a amazon micro
<ddd>
anshin: so it means you taking control and playing with each and seeing which best serves your needs
<wmoxam>
mjc_: jruby took hours to do what YARV took minutes
<ddd>
anshin: its just like operating systems. they too are impacted by tons of different things. so A is faster than B is subjective.
<bnagy>
if you starve the jvm of ram it performs like complete crap
<mjc_>
wmoxam: I'm trying to remember what parser I used on my last project but I avoided nokogiri for a reason heh
<flubba>
anshin that's a great site
phipes has joined #ruby
<mjc_>
also what jvm version?
thiago__ has joined #ruby
falood has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
<ddd>
anshin: jruby is also impacted by what jvm you use as well, as an fyi. I use oracle's JRE/JDK vs. openjdk. but thats a personal choice impacted by external stuff, so just bear that in mind too
<anshin>
ah I hadn't considered that
Hanmac has quit [Ping timeout: 240 seconds]
<ddd>
anshin: basically the golden rule, before you call a duck a duck (its slow), make sure that you've checked for the webbed feet :)
<anshin>
I'm surprised I didn't
<anshin>
heh
<ddd>
easy to forget stuff like that. i did it in an unrelated case, made a judgement, and was shown where i was wrong because i'd never considered an aspect of the problem.
<ddd>
so no worries
<flubba>
jdk 7
horofox has joined #ruby
<ddd>
anshin: i'm using it with oracles, jdk7 update 45 iirc
heidi has quit [Quit: Leaving.]
<ddd>
works for me, slow spinup but great longterm
horofx has quit [Ping timeout: 245 seconds]
<ddd>
but you'll get slow spinup even with openjdk so..
<gordon__>
oracle jdk is faster
<gordon__>
generally
<ddd>
anshin: Java(TM) SE Runtime Environment (build 1.7.0_45-b18) is what *I* am using
<gordon__>
at least it should be
<wmoxam>
mjc_: 7
<mjc_>
interesting
<wmoxam>
I've ran web + async worker services on jruby for about a year now
Monie has joined #ruby
<ddd>
anshin: and *I* usually stick with jruby or mri. again, subjective, and personal choice. you'll end up making your own set
<wmoxam>
and I can't say that I'd do it again
<wmoxam>
(in this case I had little choice in the matter)
thiago__ has quit [Ping timeout: 252 seconds]
<ddd>
anshin: wmoxam is good, if he's so inclined hit him up for added info on specifics you have. or hit the open channel. just do your research first. definitely expected
aspires has joined #ruby
aryaching has joined #ruby
<ddd>
my experience is self-taught. he's real world business experience i don't
<ddd>
err he has even
<ddd>
also talk to a guy in #rubyonrails with the nick workmad3. another good resource. for rails specifics, see radar
<anshin>
I read "he's" as "he has". I think I'm in a position to research other topics, but I wasn't sure how to research my initual question about ruby's performance aims and improvements
psyl0n has quit [Remote host closed the connection]
<ddd>
well, check out the rubyspec, clone and run against the different implementations. see what you can see, go from there
brunops has quit [Quit: leaving]
<anshin>
though a cursory search would have been a good idea in hindsight
<ddd>
follow the ruby core ML as well
<ddd>
i don't follow that one myself, but i'm not even trying to be an implementer or anything more than a language user
bnjamin has quit [Remote host closed the connection]
<anshin>
I'm just fascinated and want to see how deep I can take my knowledge
<anshin>
I doubt I'll actually try implementing the language for some time, though that would be fun too
<ddd>
get that microscope book then. excellent and solid starting point for what you're after
<anshin>
I definitely will
<ddd>
totally forgot about it til he mentioned it
<Boohbah>
anshin: learn C if you don't know it
<ddd>
i read the initial release as i'd signed up to 'beta' the book. i've not touched it since then (beta as in typo fixes, how well it reads, etc. i couldn't hold a candle to the knowledge he actually has on the subject)
<anshin>
Boohbah: thanks. I've got some knowledge of C but I'm not satisfied with my knowledge thus far and have what I think/hope is a solid plan for taking it further
<ddd>
yeah knowing C will help immensely when you start dumpster diving the ruby code
<anshin>
definitely not sufficient to dive into ruby code quite yet
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ddd>
the code implementing MRI ruby, not ruby code the ruby bin executes that is
byprdct has joined #ruby
<ddd>
anyways, more knowledgable people than I are in here, just ask in open channel., someone will pipe up. in the meantime, gotta take care of something IRL.
<ddd>
anshin: good talk
okinomo has quit [Quit: Lost terminal]
<anshin>
ddd: thanks a lot
<anshin>
and the rest of you, too
<ddd>
no problem at all
okinomo has joined #ruby
byprdct has quit [Client Quit]
byprdct has joined #ruby
chinkung has quit [Ping timeout: 272 seconds]
<WJW>
In C, p + x is the same as x + p and therefore p[x] is the same as x[p].
<anshin>
yes
<anshin>
though I'm confused by your first clause
<anshin>
unless p in this case means pointer
<WJW>
Assume p is a pointer and x is an integer (indeX).
ambushsabre has quit [Quit: rip]
horofox has quit [Ping timeout: 246 seconds]
dylandog has joined #ruby
rickruby has joined #ruby
markis has joined #ruby
<anshin>
I thought so
<anshin>
but wasn't 100%
<WJW>
In C, p[x] means *(p + x).
falood has joined #ruby
<anshin>
are there any differences?
<WJW>
No. It is semantically the same.
<WJW>
But I suppose MRI doesn't do a lot of indexing.
<anshin>
I remember reading "don't confuse pointers and arrays" but I don't think it was elaborated and the concepts seem much the same in C
<WJW>
The main difference is what happens if you say sizeof a vs. sizeof p.
<WJW>
In many contexts, the name of an array a is immediately converted to a pointer to the first element.
<WJW>
But not after sizeof.
<anshin>
ah
LexicalScope has joined #ruby
<WJW>
MRI probably uses macros a lot, #define...
deol has quit [Remote host closed the connection]
<WJW>
I have seen a bit of the code, and I think he probably has a macro to do each of a number of very low-level things the interpreter has to do all the time, such as manipulating object identifiers.
Wolland has quit [Remote host closed the connection]
<WJW>
In the documentation of the built-in methods in the Ruby library, when you are looking at those, you can ask for the source code. Sometimes that code is in C.
ozkan has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bnagy>
the MRI C code is macro-riffic though
markis has quit [Ping timeout: 272 seconds]
<bnagy>
anshin: if you want to browse it quickly, there's a site called rxr that whitequark ( I think ) runs, it's very handy
<bnagy>
you can search for funcs across the codebase for all versions etc
cj3kim has quit [Remote host closed the connection]
cow_ has quit [Remote host closed the connection]
skulker has joined #ruby
hogeo has joined #ruby
vikhyat has joined #ruby
skulker has quit [Remote host closed the connection]
skulker has joined #ruby
ozkan has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
vikhyat_ has joined #ruby
cow_ has joined #ruby
sayan has joined #ruby
skulker has quit [Ping timeout: 252 seconds]
hogeo has quit [Remote host closed the connection]
vikhyat has quit [Ping timeout: 272 seconds]
hogeo has joined #ruby
charliesome has joined #ruby
Kricir has quit [Ping timeout: 252 seconds]
ozkan has quit [Ping timeout: 260 seconds]
gwillickers has joined #ruby
flame_ has joined #ruby
Hanmac has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
Hanmac1 has quit [Ping timeout: 246 seconds]
aspires has quit []
hogeo has quit [Read error: Connection reset by peer]
hogeo_ has joined #ruby
gja has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
vlad_starkov has joined #ruby
gwillickers has left #ruby ["spoop!"]
pskosinski has quit [Ping timeout: 240 seconds]
kate_r has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
goganchic has joined #ruby
sayan has quit [Ping timeout: 260 seconds]
aspires has joined #ruby
<von___>
hi. would like to ask. I am trying to get rack.url_schema in goliath.. the purpose is to see the request is ssl or not from nginx. but couldn't get that.. any clue? thanks.
wookiehangover has quit [Read error: Connection reset by peer]
blarghmatey has quit [Ping timeout: 260 seconds]
wookiehangover has joined #ruby
sayan has joined #ruby
Solnse has quit [Quit: Leaving.]
Hanmac1 has joined #ruby
emocakes has quit [Ping timeout: 252 seconds]
capicue has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
gja has quit [Quit: This computer has gone to sleep]
gja has joined #ruby
BrixSat has quit [Read error: Connection reset by peer]
capicue has quit [Read error: Connection reset by peer]
phipes has quit [Read error: Connection reset by peer]
capicue has joined #ruby
weeems has joined #ruby
Hobogrammer_ has joined #ruby
BrixSat has joined #ruby
Parker0 has quit [Read error: Connection reset by peer]
rodasc has quit [Quit: Disconnecting from stoned server.]
crodas has joined #ruby
phipes has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
cescalante has quit [Ping timeout: 272 seconds]
goganchic has quit [Ping timeout: 272 seconds]
KevinSjoberg has quit [Ping timeout: 272 seconds]
MonsieurApple has quit [Ping timeout: 272 seconds]
dkamioka_ has quit [Remote host closed the connection]
nisstyre has joined #ruby
hogeo_ has quit [Remote host closed the connection]
hogeo has joined #ruby
goganchic has joined #ruby
aagdbl has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
thiago__ has joined #ruby
hogeo has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gstamp has quit [Quit: Computer has gone to sleep.]
deol has joined #ruby
h0rrorvacui has joined #ruby
lewix has quit [Remote host closed the connection]
Mars` has quit [Remote host closed the connection]
gstamp has joined #ruby
horofx has quit [Ping timeout: 260 seconds]
flame_ has quit [Quit: Computer has gone to sleep.]
wuhua has joined #ruby
Barrin6 has quit [Quit: Leaving]
vlad_starkov has joined #ruby
deol has quit [Ping timeout: 246 seconds]
brennanMKE has quit [Remote host closed the connection]
brennanMKE has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
l3ck has joined #ruby
vikhyat has joined #ruby
OdNairy has joined #ruby
vikhyat_ has quit [Read error: Connection reset by peer]
Brando753 has quit [Read error: Connection reset by peer]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brennanMKE has quit [Ping timeout: 272 seconds]
Brando753 has joined #ruby
r0bby_ has quit [Ping timeout: 252 seconds]
primenum has quit [Ping timeout: 252 seconds]
vikhyat_ has joined #ruby
Monie has joined #ruby
hogeo has quit [Remote host closed the connection]
vikhyat has quit [Ping timeout: 260 seconds]
hogeo has joined #ruby
kure has quit [Read error: Connection reset by peer]
kure has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
r0bby_ has joined #ruby
horofx has joined #ruby
vikhyat_ has quit [Remote host closed the connection]
<diegoviola>
("a".."z").to_a # is there another way to do this?
hogeo has quit [Ping timeout: 272 seconds]
mengu has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
thiago__ has quit [Ping timeout: 245 seconds]
gja has joined #ruby
vikhyat has joined #ruby
rejuvyesh has joined #ruby
horofox has joined #ruby
skaflem has joined #ruby
t_p has joined #ruby
utkarsh has quit [Changing host]
utkarsh has joined #ruby
vikhyat has quit [Remote host closed the connection]
<dseitz>
[*('a'..'z')]
ozkan has joined #ruby
horofx has quit [Ping timeout: 252 seconds]
fridim_ has quit [Ping timeout: 260 seconds]
<diegoviola>
ty
unstable has left #ruby [#ruby]
<dseitz>
np
rejuvyesh has quit [Client Quit]
hogeo has joined #ruby
noop has joined #ruby
ozkan has quit [Ping timeout: 245 seconds]
Bumptious has joined #ruby
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
sheap has joined #ruby
browndawg has joined #ruby
cow_ has quit [Remote host closed the connection]
cow_ has joined #ruby
hogeo has quit [Remote host closed the connection]
phipes has quit [Remote host closed the connection]
cow_ has quit [Ping timeout: 245 seconds]
luckyruby has joined #ruby
<von___>
hi. would like to ask. I am trying to get rack.url_schema in goliath.. the purpose is to see the request is ssl or not from nginx. but couldn't get that.. any clue? thanks.
cow_ has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
luckyrub_ has quit [Ping timeout: 252 seconds]
sheap has left #ruby [#ruby]
luckyruby has quit [Remote host closed the connection]
luckyruby has joined #ruby
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
atmosx has joined #ruby
CaptainJet has quit []
Hanmac has joined #ruby
hogeo has joined #ruby
amritanshu_RnD has joined #ruby
Hanmac1 has quit [Ping timeout: 272 seconds]
L8D has quit [Ping timeout: 272 seconds]
iamdoo2 has quit []
Liothen has quit [Quit: System of a down……]
weeems has quit [Read error: Connection reset by peer]
weeems has joined #ruby
mdev has quit [Read error: Connection reset by peer]
kure has quit [Read error: Connection reset by peer]
deol has joined #ruby
kure has joined #ruby
Mars` has joined #ruby
ValicekB has quit [Ping timeout: 246 seconds]
vikhyat has joined #ruby
jmaister has quit [Ping timeout: 246 seconds]
descala has quit [Ping timeout: 246 seconds]
Rylee has quit [Ping timeout: 246 seconds]
falood has quit [Ping timeout: 246 seconds]
jmaister has joined #ruby
descala has joined #ruby
deol has quit [Ping timeout: 245 seconds]
brennanMKE has joined #ruby
dkamioka has joined #ruby
vikhyat_ has joined #ruby
capicue has quit [Quit: Leaving...]
l3ck has quit [Quit: Bye!]
araujo has joined #ruby
vikhyat has quit [Ping timeout: 260 seconds]
bricker`LA has quit [Ping timeout: 246 seconds]
brennanMKE has quit [Ping timeout: 272 seconds]
dkamioka has quit [Ping timeout: 260 seconds]
vikhyat_ has quit [Remote host closed the connection]
r0bby_ has quit [Excess Flood]
r0bby_ has joined #ruby
pskosinski has joined #ruby
mercwithamouth has joined #ruby
brtdv has joined #ruby
brtdv has quit [Client Quit]
falood has joined #ruby
ValicekB has joined #ruby
Rylee has joined #ruby
browndawg has quit [Ping timeout: 272 seconds]
browndawg has joined #ruby
huttan- has joined #ruby
Spami has joined #ruby
ItSAN____ has joined #ruby
jonathanwallace1 has joined #ruby
synergy_ has joined #ruby
atmosx_ has joined #ruby
BradPitt_ has joined #ruby
beardedn1nja has joined #ruby
sayan has quit [Ping timeout: 240 seconds]
<dagen>
how i can print some ECHO to logs when i run my ruby code?
<dagen>
can i
huttan- has quit [Ping timeout: 245 seconds]
sayan has joined #ruby
deol has joined #ruby
Tearan has quit []
contradictioned_ has joined #ruby
Spami has quit [Ping timeout: 252 seconds]
Tearan has joined #ruby
Tearan has quit [Client Quit]
deol has quit [Ping timeout: 246 seconds]
rickruby_ has joined #ruby
Kricir has joined #ruby
lyanchih___ has joined #ruby
RedDwarf has joined #ruby
lyanchih has quit [Ping timeout: 252 seconds]
lyanchih___ is now known as lyanchih
nfk has joined #ruby
browndawg has quit [*.net *.split]
atmosx has quit [*.net *.split]
cescalante has quit [*.net *.split]
ziyadb has quit [*.net *.split]
guilleiguaran has quit [*.net *.split]
Norrin has quit [*.net *.split]
mattyohe has quit [*.net *.split]
andrewstewart_ has quit [*.net *.split]
rickruby has quit [*.net *.split]
bedouin has quit [*.net *.split]
dziga has quit [*.net *.split]
von___ has quit [*.net *.split]
Kabaka has quit [*.net *.split]
olivier_bK has quit [*.net *.split]
adam- has quit [*.net *.split]
devdazed has quit [*.net *.split]
banister has quit [*.net *.split]
contradictioned has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
synergy has quit [*.net *.split]
ItSANgo_ has quit [*.net *.split]
jrobeson has quit [*.net *.split]
andrewh_ has quit [*.net *.split]
Olipro has quit [*.net *.split]
Zackio has quit [*.net *.split]
BraddBitt has quit [*.net *.split]
beardedninja has quit [*.net *.split]
justinxreese has quit [*.net *.split]
strax has quit [*.net *.split]
BRMatt has quit [*.net *.split]
VesQ has quit [*.net *.split]
xea_ has quit [*.net *.split]
kalleth has quit [*.net *.split]
Tarential has quit [*.net *.split]
machty has quit [*.net *.split]
dgfdgf has quit [*.net *.split]
ekarlso has quit [*.net *.split]
faulkner has quit [*.net *.split]
sawtooth_ has quit [*.net *.split]
mikee has quit [*.net *.split]
yellow5 has quit [*.net *.split]
gl- has quit [*.net *.split]
hogeo has quit [Remote host closed the connection]
brtdv has joined #ruby
adam- has joined #ruby
banister has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
brtdv has quit [Client Quit]
Kabaka has joined #ruby
xguinness] has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
xguinness] has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
jrobeson has joined #ruby
jrobeson has joined #ruby
jrobeson has quit [Changing host]
drago777 has joined #ruby
brtdv has joined #ruby
gja has joined #ruby
threesome has joined #ruby
t_p has quit [Quit: Computer has gone to sleep.]
h0rrorvacui has quit [Ping timeout: 272 seconds]
Olipro has joined #ruby
St_Marx has joined #ruby
vikhyat has joined #ruby
goganchic has quit [Quit: Computer has gone to sleep.]
r0bby_ has quit [Read error: Connection reset by peer]
cjk101010 has joined #ruby
alexherbo2 has joined #ruby
r0bby_ has joined #ruby
L8D has quit [Ping timeout: 240 seconds]
lellera has joined #ruby
<lellera>
ciao
<lellera>
!list
brennanMKE has quit [Ping timeout: 272 seconds]
dopie has joined #ruby
Yan__ has joined #ruby
lellera has quit [Remote host closed the connection]
huttan- has joined #ruby
mercwithamouth has quit [Quit: Lost terminal]
Kricir has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Bumptious has quit []
shevy has joined #ruby
mercwithamouth has joined #ruby
OdNairy has joined #ruby
sensen has quit [Ping timeout: 252 seconds]
sensen_ has joined #ruby
OdNairy has quit [Client Quit]
huttan- has quit [Ping timeout: 245 seconds]
mjburgess has joined #ruby
mjburgess has quit [Client Quit]
mjburgess has joined #ruby
mjburgess has quit [Client Quit]
obs has joined #ruby
mjburgess has joined #ruby
codezomb has joined #ruby
yacks has joined #ruby
vikhyat has joined #ruby
Hanmac1 has joined #ruby
vikhyat has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 252 seconds]
maroloccio has joined #ruby
w1xz has joined #ruby
mojjojo has joined #ruby
drumusician has joined #ruby
Hobogrammer has joined #ruby
Mars` has joined #ruby
wallerdev has quit [Quit: wallerdev]
shime has joined #ruby
Mars` has quit [Ping timeout: 240 seconds]
emocakes has joined #ruby
r0bby_ has quit [Excess Flood]
deol has joined #ruby
r0bby_ has joined #ruby
ss_ has quit [Remote host closed the connection]
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
mojjojo has quit [Quit: mojjojo]
r0bby_ is now known as robbyoconnor
deol has quit [Ping timeout: 272 seconds]
mrsolo has joined #ruby
mrsolo has left #ruby [#ruby]
drumusician has quit [Ping timeout: 245 seconds]
mojjojo has joined #ruby
claymore has joined #ruby
mojjojo has quit [Client Quit]
brtdv has quit []
sensen_ has quit [Ping timeout: 245 seconds]
Kricir has quit [Ping timeout: 272 seconds]
sensen has joined #ruby
robbyoconnor has quit [Excess Flood]
t_p has joined #ruby
robbyoconnor has joined #ruby
mojjojo has joined #ruby
brtdv has joined #ruby
banghouse has quit [Remote host closed the connection]
synergy_ has quit [Remote host closed the connection]
emocakes has quit [Quit: Leaving...]
brtdv has quit [Ping timeout: 240 seconds]
ss__ has joined #ruby
marr has joined #ruby
ephemerian has joined #ruby
drumusician has joined #ruby
t_p has quit [Quit: Computer has gone to sleep.]
Mars` has joined #ruby
germanstudent has quit [Quit: raus]
brennanMKE has joined #ruby
postmodern has quit [Quit: Leaving]
drumusician has quit [Ping timeout: 252 seconds]
Mars` has quit [Ping timeout: 245 seconds]
dapz has joined #ruby
brennanMKE has quit [Ping timeout: 252 seconds]
guardianx has joined #ruby
nomenkun has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Elhu has joined #ruby
mojjojo has quit [Quit: mojjojo]
sensen has quit [Ping timeout: 246 seconds]
germanstudent has joined #ruby
cow_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
germanstudent has quit [Remote host closed the connection]
shredding has joined #ruby
drumusician has joined #ruby
goganchic has joined #ruby
charliesome has joined #ruby
relix has joined #ruby
tziOm has joined #ruby
cow_ has joined #ruby
germanstudent has joined #ruby
sensen has joined #ruby
workmad3 has joined #ruby
Faris has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby
huttan- has joined #ruby
vinian has left #ruby [#ruby]
mengu has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 272 seconds]
goganchic has quit [Quit: Computer has gone to sleep.]
gja has joined #ruby
emocakes has joined #ruby
goganchic has joined #ruby
huttan- has quit [Ping timeout: 252 seconds]
pcfreak30 has joined #ruby
sensen has quit [Ping timeout: 246 seconds]
<pcfreak30>
I keep coming back to ruby mainly due to puppet, and the same concept still stumps me. How exactly can modules be used besides as a namespace. And what is the purpose of nested classes?
jgrevich has quit [Quit: jgrevich]
lyanchih has quit [Quit: lyanchih]
kep has joined #ruby
hogeo has joined #ruby
pootler has quit [Quit: leaving]
mdev has joined #ruby
mdev has joined #ruby
mdev has quit [Changing host]
dopie has quit [Quit: Leaving]
<apeiros>
pcfreak30: the purpose of nesting classes is exactly the same as nesting a class within a module.
mojjojo has joined #ruby
<apeiros>
pcfreak30: and you can use modules as method containers. see Object#extend and Module#include
<pcfreak30>
So modules really are just for the equiv of static calls
<apeiros>
and last but not least - for utility functions (c.f. Kernel, Math) - see Module#module_function
joaoh82 has quit [Remote host closed the connection]
<pcfreak30>
and including methods in a class
<apeiros>
and extending methods in an object
<pcfreak30>
I still have trouble understading the need of mixins
<pcfreak30>
if you can extend from a base class
<apeiros>
take a look at Enumerable and Comparable
<apeiros>
those two are extremely useful examples of mixins.
<pcfreak30>
Also how would I handle reflection
<apeiros>
inheritance by subclassing is almost universally a bad idea IMO. flawed concept.
<pcfreak30>
in php there is _call and _set and im looing to make a ruby port of the library
kirun has joined #ruby
<apeiros>
what do you want to do?
Kricir has joined #ruby
<pcfreak30>
I its a bad idea, then half of all languages are screwed
<apeiros>
almost all introspective/reflective capabilities are built right into Object, Module and Class.
<pcfreak30>
Keep in mind
<pcfreak30>
the only reason im messing with ruby is due to the puppet automation system
<apeiros>
why would I keep that in mind?
<apeiros>
I don't care for what reasons you use which language.
bmsatierf has joined #ruby
Guest76839 has joined #ruby
<pcfreak30>
Just ment
bmsatierf has left #ruby [#ruby]
<pcfreak30>
I am a beginner level ATM on ruby
<apeiros>
and yes, when I see the atrocities done in other languages by using broken single inheritance mechanisms, then indeed, those languages screw you :-p
<pcfreak30>
As I dont go to it much
<pcfreak30>
apeiros: well the fact stands then every language is broken via your statement them? As every lang allows subclassing
<pcfreak30>
Well decent one atleast
<apeiros>
(mind you, I don't consider rubys include/extend to be perfect, but it's a huge step up already)
<pcfreak30>
Basically
<apeiros>
pcfreak30: your opinion of "decent" isn't congruent with mine.
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
Guest76839 has quit [Remote host closed the connection]
sayan_ has joined #ruby
<pcfreak30>
php _call allows me to do $obj->method when method isnt defined. Basically a magic reflection for dynamic methods
<apeiros>
method_missing is rubys counterpart to that
falood has quit [Remote host closed the connection]
<apeiros>
it's invoked when no method of a given name is defined. first arg being the name, rest being the args as passed.
<pcfreak30>
Thanks. I know enough to do what I need. I just barely know the language API's
falood has joined #ruby
prc has joined #ruby
ValicekB has quit [Ping timeout: 245 seconds]
falood has quit [Ping timeout: 245 seconds]
RoryHughes has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<olivier_bK>
i have a little problem that i can't found ttps://gist.github.com/zyriuse75/e653e1007fd47b366b66
<apeiros>
that's what you'll get from it.
<olivier_bK>
i dont know why he pass 2 time for backup databases ?
<apeiros>
olivier_bK: sorry, not going to read badly indented code.
<m__s>
apeiros: ill try to fix it in a second
<m__s>
cheers
nowthatsamatt has joined #ruby
<emocakes>
omfg
<emocakes>
what is that code
<emocakes>
fix the indentation
<emocakes>
oh god
<emocakes>
my eyes
* emocakes
hurts self
<popl>
emocakes: Please stop using enter as punctuation.
<pcfreak30>
And thats why I love IDE's
<emocakes>
what do you
<emocakes>
mean?
cow_ has quit [Remote host closed the connection]
<popl>
I wish there were more ops in this channel.
Mars` has joined #ruby
<popl>
:P
<emocakes>
popl, I'm from the United States of America, we have our own sort of english here. None of that sissy British English stuff, we beat you back in the war and we will do it again if you keep trying to trample my first amendment
<pcfreak30>
Are classes able to run any function outside a def?
<popl>
who?
Steven_ has joined #ruby
<emocakes>
you heard me
<pcfreak30>
As I see references to attr_accessor and methods like that a lot
<popl>
emocakes: Your assumptions are utterly incorrect. You should shut up now.
<emocakes>
pcfreak30 say what?
peneconleche has joined #ruby
<emocakes>
popl but i love you
ValicekB has joined #ruby
yshh has quit [Remote host closed the connection]
<apeiros>
pcfreak30: classes are objects, and therefore capable of running methods, yes.
<popl>
apeiros: Is there a channel FAQ?
<pcfreak30>
Seriously now your starting so sound like trolls I deal with alot emocakes
<emocakes>
are you so blind that you can't see that? All i was doing was trying to help someone in this channel, and then you attack me, because i used the return key a few times too often
nomenkun has quit [Remote host closed the connection]
<emocakes>
so I take on whatever nationality I like hehe
<apeiros>
you're a spy?
<pcfreak30>
Why you you put the reverse code in a block?
huttan- has quit [Client Quit]
<emocakes>
and they are all good countries, not a mix of 3rd world
flubba has quit [Remote host closed the connection]
<emocakes>
apeiros, if I told you, I'd have to kill you
<emocakes>
;)
<popl>
third world is a dated concept
huttan- has joined #ruby
deol has joined #ruby
<apeiros>
emocakes: you couldn't, for I'm apeiros :-p
<pcfreak30>
When you could just do persona = person.reverse
Kricir has quit [Ping timeout: 246 seconds]
<apeiros>
pcfreak30: haven't read the whole, but I'd guess it's just an example.
chrisan has joined #ruby
<apeiros>
and as it is with examples, they're not always the best solution to a problem, just illustrating one tool to solve one.
<pcfreak30>
I understand
<pcfreak30>
Though Im trying to understand the correct use of blocks
<pcfreak30>
coming from a c/php background
moncky has quit [Ping timeout: 272 seconds]
<pcfreak30>
c-based language
<apeiros>
pcfreak30: they're like a convenient create_function of php
OdNairy has joined #ruby
<apeiros>
and you can pass that function around
ss_ has quit [Remote host closed the connection]
<apeiros>
which makes it easy to implement e.g. strategy patterns (see sort, sort_by, select, find etc.)
<pcfreak30>
So they are basically anonymous ffunctions
<apeiros>
yes
<emocakes>
lambda functions?
<emocakes>
why so many names
soobus has joined #ruby
<pcfreak30>
Still not sure why you would need them if you can just call direct on the object, besides callbacks
<apeiros>
given that ruby knows proc and lambda and both are very similar, I'd refrain from calling them lambda functions.
<emocakes>
not really popl, you've obviously never been to africa
<emocakes>
or some south east asian countries
<apeiros>
yes, lambda functions, but in ruby terminology they're closer to procs.
<apeiros>
pcfreak30: how would you write this in php: people.sort_by { |person| person.name }
deol has quit [Ping timeout: 252 seconds]
<apeiros>
sorts an Array of Person instances by the return value of the method `name`.
Steven_ has quit [Remote host closed the connection]
<apeiros>
damn, soon I'll have to get out of this comfy bed :( (running out of juice and the power supply is in another room…)
gja has quit [Quit: This computer has gone to sleep]
<pcfreak30>
Decent example. In php I would have to get a separate array and keep in association with the object, sort, then recreate the orig array.
maroloccio has quit [Ping timeout: 245 seconds]
<shevy>
emocakes I love everything that is emo
<pcfreak30>
Does ruby have actual namespaces besides modules to act as a pesudo namespace?
<shevy>
pcfreak30 you can use a class as pseudo namespace as well, apeiros loves doing that ;-)
<pcfreak30>
shevy: Thats were things confuse me. I have a good understandibg of stuff, but I get comfused when using classes for what I understand as a feature of a module
<emocakes>
best show on tv at the moment
<emocakes>
on sbs 2
<shevy>
pcfreak30 yeah
<emocakes>
about the crazy horse cabaret in paris
<emocakes>
omfg
<emocakes>
im going to paris
<apeiros>
pcfreak30: well, Class inherits from Module
<pcfreak30>
You prob can get just about any PDF lie that
<pcfreak30>
like
<emocakes>
same with shemale porn pcfreak30
<emocakes>
its amazing how much google indexes
<platzhirsch>
I ran my Rails app with Ruby 2.1 and it seemed to load the pages faster, which would really astonish me
eka has quit [Client Quit]
<emocakes>
platzhirsch, ruby 2.1 with puma
<emocakes>
or puma with rbx :D
karupanerura is now known as zz_karupanerura
<emocakes>
2.1 has a new GC doesn't it platzhirsch?
<pcfreak30>
emocakes: except ebooks arent way as popular as porno nor are the offical file hosting sides dedicated to em
eka has joined #ruby
<platzhirsch>
emocakes: just WEBrick. Is puma is better development web server?
<pcfreak30>
there*
<platzhirsch>
emocakes: sure it does :)
<apeiros>
platzhirsch: almost anything is better than webrick ;-)
<platzhirsch>
well I guess you are right, it will start rightaway with GC'ing which means it will halt the execution
atzorvas has joined #ruby
nomenkun has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
<emocakes>
it's easy, just add it to the gemfile and it works, kinda like using thin. If you use it in production, may as well use it in dev
psyprus has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
<platzhirsch>
In any case, I think I can safely say then, that Ruby 2.1 rocks my world :D
drumusician has joined #ruby
<emocakes>
i moved from rvm to chruby when i upgraded
<shevy>
emocakes I am still on 1.9.x until I found a solution for my yaml files
<emocakes>
have to do it on the servers soon
Steven_ has joined #ruby
<emocakes>
whats up with your yaml files shevy?
<shevy>
they are non unicode and will have to remain that way. ruby psych refuses to load them
JohnBat26 has joined #ruby
<emocakes>
even with a declaration at the start of them?
huttan- has quit [Ping timeout: 240 seconds]
<emocakes>
can you send me one please
joaoh82 has joined #ruby
<shevy>
let me try to find one that leads to an encoding error
huttan- has joined #ruby
mklappstuhl has joined #ruby
vlad_starkov has joined #ruby
<apeiros>
shevy: you can "translate" them
carraroj has joined #ruby
bnjamin has joined #ruby
<apeiros>
use the 'syck' gem, require it, change YAML::ENGINE.yamler = 'syck', load the yaml files, set YAML::ENGINE.yamler = 'psych', write the yaml files
<apeiros>
-> your files are converted and psych proper
atzorvas has quit [Ping timeout: 260 seconds]
<shevy>
then the comments I have in the yaml files will be gone
<apeiros>
oh, in 1.9 you don't even need to install the gem, I think
<apeiros>
ah yes, that's true. those would have to be ported manually :-/
allsystemsarego has joined #ruby
<shevy>
yeah, that is possible
<shevy>
I mean, I can do that
ace_striker has joined #ruby
<shevy>
I am trying to install all gems for 2.1.0 right now
lkba has quit [Ping timeout: 272 seconds]
<apeiros>
it's a bit sad that comments are not well defined in YAML. it'd be nice to be able to read a yaml file and write it back 1:1, including comments.
drumusician has quit [Ping timeout: 260 seconds]
joaoh82 has quit [Ping timeout: 260 seconds]
mklappstuhl has quit [Ping timeout: 245 seconds]
primenum has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Ping timeout: 246 seconds]
<shevy>
interesting error I just saw
<shevy>
ERROR: While executing gem ... (NoMethodError)
<shevy>
undefined method `full_name' for nil:NilClass
<shevy>
pcfreak30 the methods in ruby are always attached somewhere
<emocakes>
ok
<emocakes>
hold up
<emocakes>
you from austria shevy?
<pcfreak30>
no
<shevy>
pcfreak30 in a new .rb file, if you add a method, it somehow gets attached to class Object I think, but as private or hidden or something like that
<pcfreak30>
From wat im reading its calling a method procedurally in a module outside a method
<emocakes>
from sublime, try it
<emocakes>
for one of the files that errors for you
<emocakes>
utf-8 with bom
<emocakes>
or send me all your files and I will do it for you
<shevy>
pcfreak30 I am not sure what you are saying. I am not even sure I understand your example? { foo() } seems to be a method invocation inside of a block
<emocakes>
because you have always been nice to me <3
<shevy>
emocakes my brain is still stuck at trying to process
<shevy>
let me first get sublime
atno has quit [Remote host closed the connection]
hogeo has quit [Read error: No route to host]
hogeo has joined #ruby
jezen has joined #ruby
<jezen>
hey guys
brennanM_ has quit [Ping timeout: 246 seconds]
<jezen>
how would I turn ["foo", "bar"] into "foo", "bar"
<jezen>
?
<jezen>
essentially .to_s, but also removing the brackets
tkuchiki has quit [Remote host closed the connection]
<jezen>
got it working with ["foo", "bar"].to_s[1..-2]
hogeo has quit [Ping timeout: 252 seconds]
<shevy>
in your example module Test; run_function_a(); end, run_function_a() must have been defined somewhere. you just don't show where in the code you gave
<pcfreak30>
shevy: You are missing the point
<shevy>
it's a normal method call
yshh has joined #ruby
<pcfreak30>
in that example its calling a method
<pcfreak30>
while not being inside any method
<shevy>
yes because it was instructed to run it
<pcfreak30>
Which in a normal c lsng isnt possible
<pcfreak30>
if in a class
deol has joined #ruby
<shevy>
>> def bar; puts 'HI'; end; class Foo; bar; end
<apeiros>
within a class body, self is the class itself
<pcfreak30>
apeiros: I know its not, im just trying to understand how it works rather than blindly using it
SergeyPenkin has quit [Ping timeout: 252 seconds]
yshh has quit [Ping timeout: 260 seconds]
<apeiros>
pcfreak30: and I'm explaining just that to you right now ;-)
<pcfreak30>
i know, so thanks
<apeiros>
so `class Test; foo; end`, the foo() call there is Test.foo (since method calls without receiver are invoked on `self`)
deol has quit [Ping timeout: 260 seconds]
<pcfreak30>
are you able to override a method on a module/class
<apeiros>
depends on what you understand as "override"
<pcfreak30>
in the same way you can redefine js functions
<apeiros>
you can a) redefine every method at any time
<emocakes>
let me know shevy
<apeiros>
and you can b) define a method in a subclass which takes precedence over the inherited method (and the inherited method is still callable via super)
<WJW>
pcfreak30, do you still have a question about code inside class and module declarations/reopenings?
<pcfreak30>
Still slightly curious as why you would want to nest classes
<WJW>
I nest classes because I want a whole system of classes that only the outer class will use.
Mars` has joined #ruby
<apeiros>
class MyProtocoll; class SomeError < StandardError; end; end
<apeiros>
f.ex.
<apeiros>
you don't want SomeError to be toplevel
<apeiros>
and you don't want to make MyProtocoll a module, because then you'd need another class, MyProtocoll::Implementation (or whatever)
hogeo has joined #ruby
cow_ has joined #ruby
atzorvas has quit [Quit: leaving]
<apeiros>
if you have a case where you want to nest classes, you'll notice. until you do - just be aware that it is possible.
platzhirsch has joined #ruby
brennanMKE has joined #ruby
<WJW>
Ruby is a lot more Smalltalk-like than C-like.
bashdy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<WJW>
But Ruby has extra features and conveniences that Smalltalk does not have.
<txdv>
C like?
<txdv>
wtf?
<txdv>
what part of ruby is c like
<emocakes>
everything is a class pcfreak30
<emocakes>
:p
<WJW>
Someone earlier was talking about C-like languages.
<emocakes>
even true and false
<txdv>
it doesnt even have ++
<emocakes>
the fact that true is an instance of trueclass
<apeiros>
txdv: ruby has variables, like C!
<apeiros>
;-)
<emocakes>
should be enough to know that you can next classes
<txdv>
apeiros: what languages do not have variables?
<txdv>
prolog?
Mars` has quit [Ping timeout: 252 seconds]
<WJW>
Joy.
<pcfreak30>
emocakes: i know you can. I just dont get why vs a class in a module
<apeiros>
txdv: SQL?
<emocakes>
because you might want to have some logic in that outer class
<emocakes>
exotic way of inheritance i guess
<txdv>
apeiros: you can write functions with variables in mysql
<apeiros>
prolog - no idea, that's been like 10 years and I didn't like it
<apeiros>
txdv: that's afaik not standard sql, though
<txdv>
I guess if you talk about the pure SQL queries then you might be right
<WJW>
Prolog has logical variables.
<apeiros>
txdv: you can do in pl/sql too
<txdv>
but nested queries kind act as variables
<apeiros>
and/or pgplsql
<apeiros>
but they aren't :)
<txdv>
and sql is not a programming language you want to write a web server with
<txdv>
just query data
<WJW>
Joy may have some add-on or module or corner that can define and query "variables", but Joy fundamentally doesn't need variables.
<apeiros>
that's just like saying methods as arguments to methods are variables
djdb has joined #ruby
hogeo has quit [Remote host closed the connection]
<txdv>
one of those ((())) languages
brennanMKE has quit [Ping timeout: 245 seconds]
<cout>
sonic?
<WJW>
Traditionally, Lisp has variables.
<txdv>
so they basically just dont add the functionality to create variables
<txdv>
and voila you have a functional lisp dialect
<WJW>
I have an idea to manipulate code as graphs, but I haven't carried through on it yet, so don't know yet whether it's as good an idea as I think it is.
eade has joined #ruby
DouweM has joined #ruby
reach has quit []
<WJW>
In "source code" as a graph, an edge could function as a parameter and so the parameter would not have a name inherent to this "source" code.
nomenkun_ has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
deol has joined #ruby
Oculus has joined #ruby
Oculus has quit [Read error: Connection reset by peer]
shredding has joined #ruby
<txdv>
sounds like a good language to write code of massive interconnected event/reaction based programms
habanany has joined #ruby
michaeldeol has joined #ruby
<WJW>
My motivation for it is that I want to convert code in a concurrent constraint language into code in a functional language.
Oculus has joined #ruby
<WJW>
The graph is for representing "source" code. It has nothing to do with the runtime environment.
Oculus has quit [Read error: Connection reset by peer]
deol has quit [Ping timeout: 246 seconds]
<WJW>
I want to convert the code in the functional language into Javascript.
mordocai has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Hanmac has quit [Ping timeout: 246 seconds]
deol has joined #ruby
Hanmac has joined #ruby
<Hanmac>
it seems that freenode does not like my code without spaces ;P
gregoriokusowski has joined #ruby
nowthatsamatt has joined #ruby
mordocai has joined #ruby
ValicekB has quit [Ping timeout: 245 seconds]
<txdv>
420 symbol irc limitation?
tharindu has joined #ruby
<txdv>
and your nick is included
<txdv>
i have a short nick i can write more symbols
psyl0n has quit [Remote host closed the connection]
mordocai has quit [Client Quit]
<shevy>
txdv the equivalent perl code would be worse
<shevy>
all variables need $
guilund has joined #ruby
deol has quit [Ping timeout: 252 seconds]
mordocai has joined #ruby
OnkelTem has quit [Read error: Connection reset by peer]
peneconleche has quit [Quit: Leaving...]
fire has joined #ruby
fire is now known as Guest93338
OnkelTem has joined #ruby
g0bl1n has joined #ruby
cow_ has quit [Remote host closed the connection]
dkamioka has joined #ruby
asuka has quit [Remote host closed the connection]
vikhyat has joined #ruby
rippa has joined #ruby
noop has quit [Ping timeout: 272 seconds]
brennanMKE has joined #ruby
clamstar has joined #ruby
freerobby has joined #ruby
mengu has quit [Remote host closed the connection]
vikhyat has quit [Remote host closed the connection]
Guest93338 has quit [Remote host closed the connection]
stryek has joined #ruby
megha has joined #ruby
snath has quit [Ping timeout: 260 seconds]
ValicekB has joined #ruby
b00stfr31k has joined #ruby
brennanMKE has quit [Ping timeout: 246 seconds]
Megtastique has joined #ruby
RaCx has joined #ruby
vikhyat has joined #ruby
CaptainK1ots has quit [Read error: Operation timed out]
senayar has joined #ruby
ewnd9 has joined #ruby
senayar has quit [Client Quit]
senayar has joined #ruby
Mage_Dude has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
amritanshu_RnD has quit [Remote host closed the connection]
rhhr has quit [Ping timeout: 245 seconds]
CaptainKnots has joined #ruby
CaptainKnots has joined #ruby
CaptainKnots has quit [Changing host]
bean has joined #ruby
gregoriokusowski has quit [Quit: gregoriokusowski]
mjburgess has quit [Ping timeout: 246 seconds]
lyanchih_ has quit [Quit: lyanchih_]
Kricir has quit [Ping timeout: 245 seconds]
petey has joined #ruby
flame_ has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
RaCx has joined #ruby
anna has joined #ruby
synergy has joined #ruby
speckle has quit [Ping timeout: 264 seconds]
ylluminate` has joined #ruby
nvrch has quit [Quit: nvrch]
larissa has joined #ruby
gregoriokusowski has joined #ruby
ylluminate` has quit [Ping timeout: 240 seconds]
ylluminate has quit [Ping timeout: 246 seconds]
banghouse has joined #ruby
ewnd9 has quit [Ping timeout: 252 seconds]
banghouse is now known as Guest5428
Guest5428 has quit [Ping timeout: 245 seconds]
arietis has joined #ruby
<Mage_Dude>
If --trace doesn't provide any additional details on an error (no such file or directory), is there another way to get more detail on a specific variable that might help work out the cause?
polaco is now known as polaco_zZz
St_Marx has quit [Ping timeout: 240 seconds]
udoprog has quit [Ping timeout: 252 seconds]
zipper has joined #ruby
aspires has joined #ruby
relix has joined #ruby
dawe has joined #ruby
byprdct has quit [Ping timeout: 272 seconds]
axl_ has joined #ruby
<apeiros>
Mage_Dude: debugging. as in: dig in the code, emit relevant data, and/or use something like pry, best with pry-byebug
<Mage_Dude>
I'll peek. Thanks.
Mars` has joined #ruby
horofox has joined #ruby
speckle has joined #ruby
goganchic has joined #ruby
relix has quit [Ping timeout: 272 seconds]
St_Marx has joined #ruby
Mars` has quit [Ping timeout: 240 seconds]
lharms has joined #ruby
lharms is now known as lmickh
vikhyat has quit [Remote host closed the connection]
sumark has quit [Remote host closed the connection]
Guest25997 has quit [Changing host]
Guest25997 has joined #ruby
Guest25997 is now known as Speed
specious has quit [Ping timeout: 245 seconds]
codecop has joined #ruby
sumark has joined #ruby
Hanmac1 has joined #ruby
drago777 has joined #ruby
TomRone has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
Hanmac has quit [Ping timeout: 272 seconds]
specious has joined #ruby
pyrocommie has quit [Remote host closed the connection]
fridim_ has quit [Ping timeout: 245 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stryek has quit [Ping timeout: 246 seconds]
freezey has quit [Remote host closed the connection]
lmickh_ has left #ruby [#ruby]
vikhyat has joined #ruby
estebistec has joined #ruby
banister has joined #ruby
rjhunter has quit [Remote host closed the connection]
drago777 has quit [Ping timeout: 240 seconds]
nomenkun_ has quit [Ping timeout: 260 seconds]
DrShoggoth has quit [Quit: Leaving]
deol has joined #ruby
psyl0n has joined #ruby
Solnse has joined #ruby
drago777 has joined #ruby
kevind_ has joined #ruby
bean has joined #ruby
petey has quit [Remote host closed the connection]
petey has joined #ruby
simon___ has quit [Quit: Lost terminal]
vikhyat has quit [Remote host closed the connection]
mgberlin has joined #ruby
ninegrid has joined #ruby
deol has quit [Ping timeout: 272 seconds]
ninegrid_ has joined #ruby
ninegrid1 has joined #ruby
haken29a has joined #ruby
shredding has joined #ruby
sassamo has quit [Remote host closed the connection]
sassamo has joined #ruby
bogeyd6 has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
petey_ has joined #ruby
arietis has joined #ruby
stardiviner has quit [Remote host closed the connection]
petey has quit [Ping timeout: 252 seconds]
St_Marx has quit [Quit: Ex-Chat]
CaptainJet has joined #ruby
brennanMKE has joined #ruby
nobitanobi has joined #ruby
p8952 has joined #ruby
drago777 has joined #ruby
ninegrid1 has quit [Ping timeout: 240 seconds]
Megtastique has quit []
cbetta is now known as cbetta_afk
ninegrid1 has joined #ruby
relix has joined #ruby
cbetta_afk is now known as cbetta
TomRone has quit [Ping timeout: 240 seconds]
brennanMKE has quit [Ping timeout: 260 seconds]
zipper has quit [Read error: Connection reset by peer]
TomRone has joined #ruby
relix has quit [Ping timeout: 252 seconds]
peneconleche is now known as peneconleche|awa
specious has quit [Ping timeout: 245 seconds]
jmaya has joined #ruby
cow_ has joined #ruby
zipper has joined #ruby
freezey has joined #ruby
Hanmac has joined #ruby
soobus has quit [Ping timeout: 246 seconds]
Hanmac1 has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Excess Flood]
Kricir has joined #ruby
jmaya has quit [Client Quit]
maletor has joined #ruby
robbyoconnor has joined #ruby
goganchic has quit [Quit: Computer has gone to sleep.]
butblack has quit [Quit: butblack]
ozkan has joined #ruby
motto has joined #ruby
goganchic has joined #ruby
cow_ has quit [Ping timeout: 246 seconds]
lewix has joined #ruby
vikhyat has joined #ruby
Faris has quit [Ping timeout: 245 seconds]
m8 has quit [Ping timeout: 252 seconds]
megha has quit [Quit: WeeChat 0.4.1]
lewix has quit [Remote host closed the connection]
Landshark753 has joined #ruby
zipper has quit [Ping timeout: 272 seconds]
specious has joined #ruby
Landshark753 has quit [Max SendQ exceeded]
ozkan has quit [Ping timeout: 246 seconds]
Landshark753 has joined #ruby
Kricir has quit [Ping timeout: 252 seconds]
Faris has joined #ruby
nobitanobi has quit [Read error: Connection reset by peer]
zipper has joined #ruby
maycon has joined #ruby
maycon has joined #ruby
maycon has quit [Changing host]
TomRone has quit [Ping timeout: 240 seconds]
pcfreak30 has quit [Remote host closed the connection]
mojjojo has joined #ruby
shredding has quit [Quit: shredding]
drago777 has quit [Ping timeout: 240 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
peregrine81 has quit []
deol has joined #ruby
banghouse has joined #ruby
mojjojo has quit [Client Quit]
banghouse is now known as Guest83303
TomRone has joined #ruby
stryek has joined #ruby
mojjojo has joined #ruby
drago777 has joined #ruby
bogeyd6 has quit [Ping timeout: 240 seconds]
mixonic has joined #ruby
udon has joined #ruby
petey_ has quit [Remote host closed the connection]
IceDragon has joined #ruby
<mixonic>
opinion time: with the release of 2.1.0, is it appropriate to drop support for 1.9.2 in my gem?
goganchic has quit [Quit: Computer has gone to sleep.]
fire has joined #ruby
udon has quit [Client Quit]
horrror has joined #ruby
Landshark753 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Landshark753 has joined #ruby
estebistec has quit [Remote host closed the connection]
bogeyd6 has joined #ruby
dayepa has quit [Ping timeout: 246 seconds]
petey has joined #ruby
dayepa has joined #ruby
robbyoconnor has quit [Excess Flood]
vikhyat has quit [Remote host closed the connection]
mgberlin has quit [Quit: mgberlin]
robbyoconnor has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Wolland has joined #ruby
Mars` has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
<ddd>
i'd say wait for 2.1.2. most will probably be on 1.9.3 and 2.0.x. waiting to 2.1.2 means you evenly support 2 major versions to equal minor levels. know what i mean?
Wolland has quit [Read error: Connection reset by peer]
browndawg has quit [Quit: Leaving.]
flame_ has quit [Quit: Computer has gone to sleep.]
dayepa has quit [Read error: Connection reset by peer]
dayepa has joined #ruby
<ddd>
1.9.2 -> 2.0.2 -> 2.1.2. then 1.9.3 -> 2.0.3 -> 2.1.3 etc. follow my pattern?
Wolland has joined #ruby
<ddd>
1.9.3 will be in use for quite some time even with 2.1 being released. takes time to eval compatability, and change the underlying ruby
havenwood has joined #ruby
<mixonic>
hm
tziOm has quit [Remote host closed the connection]
<ddd>
just a suggstion with rational for suggestion. feel free to ignore.
<ddd>
s/al/ale/
<mixonic>
no, thanks for the suggestion.
<ddd>
np
<mixonic>
it looks like Rails 3 + postgres might be the problem anyway
Mars` has quit [Ping timeout: 246 seconds]
teddyp1cker has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
<ddd>
ah so it targets rails? thats a bit harder because people upgrade rails slower than they do rubies
teddyp1cker has joined #ruby
mgberlin has joined #ruby
teddyp1cker has quit [Client Quit]
<mixonic>
yeah but I'll just release a new major version
<FenixFyreX>
What I'm trying to do is either find a replacement for mmap on windows, or recreate the same functionality. I only want to access pieces of files at a time, instead of loading the file into memory and grabbing pieces from the whole. That is entirely too slow on a frame by frame basis for files larger than x MB.
Hanmac has quit [Ping timeout: 252 seconds]
ozkan has quit [Ping timeout: 246 seconds]
gja has quit [Client Quit]
Megtastique has quit []
freezey has joined #ruby
pixelgremlins has quit [Ping timeout: 246 seconds]
noop has joined #ruby
Jake232 has joined #ruby
horofx has joined #ruby
h0rrorvacui has joined #ruby
specious has quit [Ping timeout: 272 seconds]
mtracy has quit [Quit: leaving]
drago777 has quit [Ping timeout: 240 seconds]
horofox has quit [Ping timeout: 272 seconds]
thumpba has quit [Remote host closed the connection]
yjmsf20_ has quit [Quit: leaving]
thumpba has joined #ruby
rejuvyesh has quit [Ping timeout: 252 seconds]
thumpba_ has joined #ruby
thumpba has quit [Remote host closed the connection]
<IceDragon>
Just a few lines in, and I'm cringing already
<IceDragon>
shevy: Lets start by rewriting GCC using ruby!
<IceDragon>
and then using it to recompile ruby!
rejuvyes1 has joined #ruby
<IceDragon>
We shall call it RCC (an r++)
RaCx has quit [Quit: Computer has gone to sleep.]
larissa has quit [Quit: Leaving]
flubba has joined #ruby
yjmsf20 has joined #ruby
<shevy>
hmm quick offtopic question... anyone using sublime and know if you can run a system command in sublime? I would have to do this: "sublime $BLA/lala.rb" as example, within an editor (sublime in this example)
Kricir has quit [Ping timeout: 245 seconds]
<shevy>
IceDragon why GCC rather than clang?
RaCx has joined #ruby
<IceDragon>
I have no idea, I use clang and gcc
<IceDragon>
But gcc just rolls off my keyboard much easier
<IceDragon>
:x
<shevy>
Hanmac, in eclipse... can you open files in a terminal inside of eclipse?
<shevy>
yeah good point
<shevy>
clang is like spread out all the way across
pyrac has joined #ruby
<shevy>
gcc is neat and tidy on the left side
<shevy>
if I will ever make a compiler, I will call it
<shevy>
QyAPlM
<shevy>
precisely that way to type as well
<IceDragon>
o-e
<IceDragon>
I like clang's output
<IceDragon>
its pretty
<IceDragon>
:D
<IceDragon>
But GCC has the more solid build...
<IceDragon>
;_; Why can't I have GCC with clang colored output?
<shevy>
and it's been around for a long time
<shevy>
the bugs are well known
<IceDragon>
and clang's compilation speed
anshin has joined #ruby
<shevy>
because nobody changes ancient software IceDragon
<shevy>
like cmake is coloured and GNU autoconfigure will never be
<Norrin>
gcc ancient? new builds all the time
* IceDragon
facedesks
<IceDragon>
I think he means the code base is ancient
<IceDragon>
nobody likes touching things over 10 years old
<IceDragon>
...
<IceDragon>
That came out wrong ;x
<DouweM>
haha
ph8 has quit [Ping timeout: 260 seconds]
Faris has quit [Ping timeout: 245 seconds]
guardianx has quit [Remote host closed the connection]
<shevy>
lol
Faris has joined #ruby
<IceDragon>
shevy: pass me the rope
<shevy>
that's almost bash.org worthy
<IceDragon>
I need to hang myself now
<shevy>
no, you deserve immortality man
<IceDragon>
xD
vinian has left #ruby [#ruby]
<shevy>
guys
<shevy>
can one of you who uses a lots of tests tell me
<shevy>
do tests help when you want to rewrite a project from scratch?
<shevy>
*a lot of tests
ephemerian has left #ruby [#ruby]
<IceDragon>
shevy: It helps when you already know what to expect, as in rewriting an API
<shevy>
hmm
<shevy>
I am porting an old project right now
dayepa has quit [Ping timeout: 240 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
<shevy>
but I try to think ahead... what if I am in the same situation in 5 years from now on
<shevy>
I don't even know if I am losing functionality along the way really :(
dayepa has joined #ruby
diegoviola has joined #ruby
fire has quit [Quit: WeeChat 0.4.1]
<IceDragon>
shevy: I rewrote my Reaktor gem, 3 times in less than a month :x
<IceDragon>
It did the same thing 3 different ways
Astralum has joined #ruby
tsupertramp has joined #ruby
<shevy>
hmm
<shevy>
yeah
<shevy>
more than one way to do it, so let's try out other ways...
brennanMKE has joined #ruby
Hanmac1 has joined #ruby
phipes has joined #ruby
<shevy>
if I could only avoid that annoying time until a rewrite is done
<shredding>
If i got this: 'abc'['c'].chr - the "chr" is redundant in ruby 2.0?
<havenwood>
mgberlin: Hence it being included rather than inherited from.
Hanmac has joined #ruby
<mgberlin>
cool, got it, thx.
amundj has joined #ruby
petey has quit [Remote host closed the connection]
senayar has joined #ruby
heidi has joined #ruby
petey has joined #ruby
<mgberlin>
what language is the enumerable source code written in?
Hanmac1 has quit [Ping timeout: 240 seconds]
RoryHughes has quit []
<havenwood>
mgberlin: C, in the reference implementation at least.
<havenwood>
mgberlin: Java in JRuby, etc.
sassamo_ has joined #ruby
Nahra has quit [Quit: leaving]
<mgberlin>
so can a module be written in any language?
sassamo_ has quit [Remote host closed the connection]
Notte has joined #ruby
sassamo_ has joined #ruby
<havenwood>
mgberlin: Not sure I quite understand what you're asking?
maletor has quit [Quit: Computer has gone to sleep.]
drumusician has joined #ruby
<mgberlin>
could I write a module in, say, VB.net, just to be random, and then be able to include it in a class I write in ruby?
Mars` has joined #ruby
petey has quit [Ping timeout: 246 seconds]
senayar has quit [Ping timeout: 246 seconds]
sassamo has quit [Ping timeout: 245 seconds]
maletor has joined #ruby
<havenwood>
mgberlin: You can write C/Java extensions, use FFI, RedBridge to get at JVM langs, I know there is IronRuby for .Net but I don't follow it and I don't think it's particularly popular.
breakingthings has quit []
brennanMKE has joined #ruby
flubba has joined #ruby
<havenwood>
mgberlin: But yeah, should be able to do such things with IronRuby. I'd think probably not a well beaten path though, little overlap between VB.net and Ruby communities
vikhyat_ has joined #ruby
Megtastique has joined #ruby
m8 has joined #ruby
<mgberlin>
havenwood: so it's more complicated than just saving a .vb file and being able to reference it. that's enough of an answer for me right now, thanks.
vikhyat has quit [Ping timeout: 252 seconds]
<havenwood>
mgberlin: np, yes for .vb i know of no "easy" way
MattStratton has joined #ruby
peneconleche|awa has quit [Read error: Connection reset by peer]
peneconleche has joined #ruby
motto has quit [Ping timeout: 252 seconds]
framling has quit [Quit: Lost terminal]
Nahra has joined #ruby
Nahra has quit [Changing host]
Nahra has joined #ruby
vlad_starkov has quit []
framling has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
jonathanwallace has joined #ruby
pixelgremlins has joined #ruby
shredding has joined #ruby
<shevy>
that would be cool
<shevy>
we could use all of .Net that way
rjhunter has joined #ruby
stkowski has joined #ruby
breakingthings has joined #ruby
aharris6 has joined #ruby
nanoyak_ has joined #ruby
hashbangchris has joined #ruby
nanoyak has quit [Ping timeout: 252 seconds]
alexherbo2 has joined #ruby
capicue has joined #ruby
alexherbo21 has joined #ruby
rjhunter has quit [Ping timeout: 252 seconds]
Asher has quit [Quit: Leaving.]
RoryHughes has joined #ruby
Kricir has quit [Ping timeout: 245 seconds]
joast has quit [Ping timeout: 260 seconds]
phipes has quit [Remote host closed the connection]
drago777 has quit [Ping timeout: 240 seconds]
nfk has quit [Quit: yawn]
Wolland has quit [Read error: Connection reset by peer]
dkamioka has quit [Read error: Connection reset by peer]
peneconleche has quit [Quit: Leaving...]
dkamioka has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
drago777 has joined #ruby
lewix has joined #ruby
goganchic has joined #ruby
Wolland has quit [Remote host closed the connection]
law has joined #ruby
<law>
hey all, silly question. I'm trying to remove enclosing quotes, commas, and whitespace from a string
mojjojo has joined #ruby
<law>
mystring = " \"some persons name\","
<law>
I've taken it pretty far, but it looks ugly
<law>
I've got: mystring.tr '"',""
<Mon_Ouie>
You can use delete(pattern) instead of tr(pattern, "")
<law>
which removes the quotes, but leaves the whitespace and the comma. I figure I can do '.strip' to remove the whitespace, but if I do a second tr it errors
<law>
difficulty - this is ruby 1.8.7 :-/
<Mon_Ouie>
#delete was already in 1.8
<Mon_Ouie>
And what error do you get?
<law>
with tr, I was getting ' syntax error, unexpected ',', expecting keyword_end'
<Hanmac>
law 1.8.7 is dead
jonathanwallace has quit [Read error: Connection reset by peer]
<law>
with delete, I get ' unterminated string meets end of file'
vikhyat_ has joined #ruby
<Mon_Ouie>
Those are syntax errors, you're just writing your strings wrong
<law>
I need to take SOME of those fields, and pop them into a template (heredoc would be just fine) that spits out the data below
capicue has quit [Quit: Leaving...]
<law>
the "id" field would be the "login" on the bottom, the 'comment' field would be the 'realname', etc
mojjojo has quit [Quit: mojjojo]
<davidcelis>
Isnt' #dup not supposed to maintain frozen status?
<law>
I'm parsing this thing line by line, splitting on :, and trying to clean up what I can before sticking this thing in my hash
<davidcelis>
I have a frozen Hash and when I call dup on it, the resulting duplicate is still frozen.
alexherbo2 has quit [Ping timeout: 260 seconds]
<law>
that... sounds wrong
<Mon_Ouie>
law: This looks like JSON, use a JSON parser
<law>
o rly?
mojjojo has joined #ruby
Tearan has quit []
freezey has quit [Remote host closed the connection]
dscrd__ has joined #ruby
<law>
ok, so pardon my ignorance, but how do I actually make use of that information? I'm a sysadmin, so while I know kinda/sorta what JSON/YAML, etc, *are*, I don't really know much about using it
g0bl1n has quit [Ping timeout: 252 seconds]
<Mon_Ouie>
This is a very common data format, and there are existing libraries to parse them properly
<Mon_Ouie>
I think there's a JSON parser in stdlib now, so you should be able to do something like require 'json'; JSON.parse(the_string) and get a hash back
dscrd has quit [Ping timeout: 246 seconds]
nanoyak_ has quit [Ping timeout: 272 seconds]
deol has quit [Remote host closed the connection]
<Mon_Ouie>
(Well, it wasn't in stdlib in 1.8, but as Hanmac said, 1.8.7 is past end of life)
mercwithamouth has quit [Ping timeout: 245 seconds]
<law>
do I just print the values with "puts injson[:keyname]" ?
aharris6 has left #ruby ["Leaving..."]
<Mon_Ouie>
"keyname", but yes
<law>
hrmm
<KK4MGV>
the goal is to try to do $thing which requires $condition, and if $thing fails, then try to satisfy $condition, and retry $thing, and if it still fails, then give up
<law>
I'm getting blanks with :keyname
<law>
and with just injson[keyname] I'm getting undefined local variable or method errors
<Mon_Ouie>
That's because the keys in your hash are strings, not symbols
alexherbo2 has joined #ruby
brennanMKE has joined #ruby
<Mon_Ouie>
injson["keyname"]
<KK4MGV>
the reason i'm doing it like this is because the best way to see if $condition is met is to just try $thing and see if it works
<law>
booyah
<law>
thanks!
pskosinski has quit [Quit: Til rivido Idisti!]
Megtastique has quit []
m8 has quit [Quit: Sto andando via]
<Mon_Ouie>
KK4MGV: I'm not exactly sure what you're doing, but there's a retry keyword that you might be able to use
dscrd has joined #ruby
<law>
if I want to print this out in a HEREDOC, what;s the syntax?
rehat has quit [Remote host closed the connection]
<Mon_Ouie>
#{injson["comment"]}, as in other strings
dscrd has quit [Client Quit]
<law>
thanks for the heads up apeiros. Closing it will be shortly, but I'll definitely use that shorter .read method
<law>
thanks Mon_Ouie
joschi has quit [Ping timeout: 240 seconds]
relix has joined #ruby
Hobogrammer has quit [Read error: Connection reset by peer]
<apeiros>
law: with File.open(foo).read you can't close it anymore.
dscrd__ has quit [Ping timeout: 245 seconds]
<apeiros>
you're left to hope that the finalizer will kick in
<apeiros>
which is not defined when it will happen
Steven_ has quit [Remote host closed the connection]
<shevy>
apeiros I keep on forgetting because I think I asked you before... you are not using rubygems.org with your gems right?
<apeiros>
shevy: of course I use rubygems.org
h0rrorvacui has joined #ruby
<shevy>
oh yeah
<shevy>
found ya through butler just now
joschi has joined #ruby
dscrd has joined #ruby
phipes has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
sambao21 has quit [Quit: Computer has gone to sleep.]
rjhunter has joined #ruby
lewix has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
Kricir has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Mars` has quit [Remote host closed the connection]
am_ has quit [Quit: Page closed]
shredding has quit [Quit: shredding]
ozkan has joined #ruby
rjhunter has quit [Ping timeout: 272 seconds]
TomRone has quit [Ping timeout: 240 seconds]
drago777 has quit [Ping timeout: 240 seconds]
danshultz has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
drago777 has joined #ruby
freerobby has joined #ruby
dscrd has quit [Quit: .]
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ozkan has quit [Ping timeout: 252 seconds]
psyl0n has joined #ruby
TomRone has joined #ruby
dscrd has joined #ruby
Mars` has joined #ruby
noop has quit [Ping timeout: 260 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Hanmac has quit [Ping timeout: 246 seconds]
bean has joined #ruby
RaCx has joined #ruby
alexherbo21 has quit [Quit: WeeChat 0.4.2]
icantbecool has joined #ruby
Yan__ has quit [Ping timeout: 246 seconds]
Asher has joined #ruby
depesz has joined #ruby
Hanmac has joined #ruby
<depesz>
hi. I;m trying to read gziped file, and foudn that I can do it by using Zlib::GzipReader. but when i try to use it, I get: NoMethodError: undefined method `GzipReader' for Zlib:Module
<depesz>
what am I doing wrong?
spyderman4g63 has quit []
Czupa has joined #ruby
magoo has joined #ruby
mengu has joined #ruby
adammenges has joined #ruby
Wolland has joined #ruby
Astralum has joined #ruby
petey has joined #ruby
mercwithamouth has quit [Quit: Lost terminal]
<Mon_Ouie>
Zlib::GZipReader is a class, not a method
adammenges has quit []
naloxRO has joined #ruby
habanany has quit [Ping timeout: 245 seconds]
estebistec has quit [Remote host closed the connection]
<depesz>
all clear. forgot .new :(
figgleberry has joined #ruby
h0rrorvacui has quit [Quit: Leaving]
figgleberry has quit [Client Quit]
figgleberry has joined #ruby
mercwithamouth has joined #ruby
sambao21 has joined #ruby
Virtualize has quit [Quit: Leaving...]
Kricir has quit [Ping timeout: 245 seconds]
petey has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
petey has joined #ruby
carif has quit [Read error: Connection reset by peer]
drumusician has joined #ruby
stetho has joined #ruby
drumusician has quit [Read error: Connection reset by peer]
drumusician has joined #ruby
Guedes0 has quit [Ping timeout: 245 seconds]
icantbecool has left #ruby [#ruby]
petey has quit [Ping timeout: 246 seconds]
mercwithamouth has quit [Ping timeout: 246 seconds]
atzorvas has joined #ruby
petey has joined #ruby
ace_striker has quit [Ping timeout: 272 seconds]
aspires has joined #ruby
Monie has joined #ruby
lxsameer has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
<lxsameer>
hi , is there any log highlighter gem ?
atno has joined #ruby
Asher has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
figglebe_ has joined #ruby
Czupa has quit [Ping timeout: 252 seconds]
Steven_ has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ozkan has joined #ruby
figgleberry has quit [Ping timeout: 252 seconds]
figglebe_ has quit [Client Quit]
figgleberry has joined #ruby
tomaw- has joined #ruby
MindfulMonk has quit [Quit: Leaving]
Steven_ has quit [Ping timeout: 245 seconds]
naloxRO has quit []
go|dfish has quit [Ping timeout: 272 seconds]
phansch has quit [Quit: Leaving]
troyready has quit [Remote host closed the connection]
ArchBeOS-work has quit [Quit: Leaving]
petey has quit [Remote host closed the connection]
RaCx has quit [Quit: Computer has gone to sleep.]
law has left #ruby [#ruby]
rjhunter has joined #ruby
petey_ has joined #ruby
simplyaubs has joined #ruby
vlad_starkov has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba has joined #ruby
MindfulMonk has joined #ruby
Jetchisel has joined #ruby
MindfulMonk has quit [Remote host closed the connection]
Monie has joined #ruby
tomaw- has quit [Quit: Quitting]
havenwood has quit [Remote host closed the connection]
TomRone has quit [Ping timeout: 240 seconds]
burlyscudd has joined #ruby
drumusician has quit [Ping timeout: 240 seconds]
rjhunter has quit [Ping timeout: 252 seconds]
MindfulMonk has joined #ruby
MindfulMonk has quit [Remote host closed the connection]
Megtastique has joined #ruby
tomaw- has joined #ruby
lele has quit [Ping timeout: 252 seconds]
TomRone has joined #ruby
gregoriokusows-1 has joined #ruby
gregoriokusowski has quit [Ping timeout: 245 seconds]
mlpinit has quit [Remote host closed the connection]
drumusician has joined #ruby
deol has quit [Ping timeout: 245 seconds]
flubba has quit [Remote host closed the connection]
vikhyat_ has quit [Ping timeout: 240 seconds]
vikhyat has joined #ruby
phipes has quit [Remote host closed the connection]
<shevy>
hehe
wpx has joined #ruby
aspires has quit []
Nahra has quit [Ping timeout: 246 seconds]
<slash_nick>
best used with cat and tail
rickruby has joined #ruby
Nahra has joined #ruby
<pontiki>
hi folx
lxsameer has quit [Quit: Leaving]
petey_ has quit [Remote host closed the connection]
sassamo_ has quit [Remote host closed the connection]
sassamo has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.2]
sassamo_ has joined #ruby
sassamo has quit [Remote host closed the connection]
<shevy>
hmm who of you dared to create a game in ruby
<Authenti1ator>
When I populate a large hash and fork, then add to the hash, does this CoW the entire hash? I've tried an experiment by forking 100 times vs forking 100 times AND overwriting a single hash key. It seems no slower which seems to indicate only the one key gets rewritten...?