Es0teric has quit [Quit: Computer has gone to sleep.]
<pontiki>
i've been using it for learning projects only
braincrash has joined #ruby
<baweaver>
trying to put a count in the middle of a donut chart.
bedouin has quit [Ping timeout: 250 seconds]
<baweaver>
Now it's off to getting a universal color scheme to tie a hundred or so of them together :D
<baweaver>
It'd been so long since I had to actually do anything significant in CSS that I forgot about the entire relative > absolute positioning trick.
skmp has joined #ruby
zack6849 has joined #ruby
zack6849 has joined #ruby
zack6849 has quit [Changing host]
jkhl has joined #ruby
<baweaver>
granted I need to make that work better for smaller screens, but it'll usually be on a dashboard.
<pontiki>
the vertical centering thing?
jimeh has joined #ruby
Eleeleth has joined #ruby
<baweaver>
fixing the text into the middle of that chart to where it won't do wonky things at scale
rfv has joined #ruby
ec has joined #ruby
jxf has joined #ruby
incomprehensibly has joined #ruby
darthvorik has joined #ruby
lipoqil has joined #ruby
jabreity has joined #ruby
mroth has joined #ruby
HashNuke has joined #ruby
ELCALOR has joined #ruby
davidmichaelkarr has joined #ruby
bauruine has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
Tele has joined #ruby
iamdevnul has joined #ruby
Robtop__ has quit [Read error: Network is unreachable]
<Nilium>
I think making CSS work the way I want it to is an NP-complete problem.
JesseH has joined #ruby
machty has joined #ruby
wnd_ is now known as wnd
<baweaver>
Eh, I started back around IE 5 - 6 days
amitchellbullard has joined #ruby
<baweaver>
CSS is a cute kitten now compared to then
Robtop__ has joined #ruby
zrl has joined #ruby
bedouin has joined #ruby
<baweaver>
especially with vh(viewport height) and vw(viewport width)
<pontiki>
indeed
jazzonmym1nd has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
* baweaver
shudders at thoughts of holly hack
<baweaver>
anyways, back home I go.
<Nilium>
It's a cute kitten but it's got the temperament of a siamese cat: it has opinions about why you exist and the rules the universe operates by, and nothing you think has any sway.
<pontiki>
"any sufficiently long discussion on CSS turns into a screed / rant on vertical centering"
<baweaver>
pontiki: got a source or a custom quote?
qakar has quit [Read error: Connection reset by peer]
qakar has joined #ruby
UserOO7_ has joined #ruby
dminuoso has quit [Ping timeout: 255 seconds]
UserOO7 has quit [Ping timeout: 276 seconds]
Pupeno_ has quit [Remote host closed the connection]
BackEndCoder has quit [Excess Flood]
Pupeno_ has joined #ruby
BackEndCoder has joined #ruby
someboy has joined #ruby
<someboy>
Hi all.
<someboy>
I am trying to do a `bundle install`
<someboy>
I get this error when doing so ERROR: Error installing ffi: ERROR: Failed to build gem native extension.
<someboy>
I tried to do `sudo gem install ffi -v '1.9.14'` as told by error message
tmtwd has quit [Ping timeout: 265 seconds]
tmtwd has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
elastix has joined #ruby
qakar has quit [Read error: Connection reset by peer]
claudiuinberlin has joined #ruby
moos3 has joined #ruby
someboy has quit [Quit: Page closed]
pawnbox has joined #ruby
moos3 has quit [Ping timeout: 265 seconds]
tvw has joined #ruby
ledestin has joined #ruby
Dimik has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
jgt has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
agent_white has quit [Remote host closed the connection]
smathews has quit [Quit: Leaving.]
flying has joined #ruby
agent_white has joined #ruby
Mia has quit [Read error: Connection reset by peer]
nhhc has joined #ruby
hahuang61 has joined #ruby
ec0 has joined #ruby
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elastix has quit [Quit: elastix]
Immune has quit [Ping timeout: 255 seconds]
mikecmpbll has joined #ruby
hahuang61 has quit [Ping timeout: 249 seconds]
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
bjh13 has quit [Remote host closed the connection]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
dminuoso has joined #ruby
CloCkWeRX has joined #ruby
zipace has joined #ruby
kies has quit [Ping timeout: 260 seconds]
qakar has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
qakar has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
phrozen77 has joined #ruby
sqarzz has joined #ruby
<sqarzz>
I have an object X, another object would copy and have all of the first object's attributes + a new attribute. shoudl teh second object be a whole new model or is there some kind of inheritence possible here?
ta_ has quit [Ping timeout: 240 seconds]
tmtwd has quit [Ping timeout: 264 seconds]
kies has joined #ruby
DmitryBochkarev has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<aidalgol>
Is the convention in Ruby to use `ALL_CAPS` for constants, or just `Captialised`?
rsampaio has quit [Ping timeout: 255 seconds]
<ropeney>
aidalgol, all caps
tmtwd has joined #ruby
vuoto has quit [Remote host closed the connection]
kira has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
minimalism has quit [Quit: minimalism]
vuoto has joined #ruby
axsuul has joined #ruby
axsuul has quit [Client Quit]
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CloCkWeRX has quit [Ping timeout: 264 seconds]
dminuoso has joined #ruby
Dakuan has joined #ruby
tmtwd has quit [Ping timeout: 244 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
tmtwd has joined #ruby
flying has quit [Remote host closed the connection]
agent_white has joined #ruby
Guest43 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arnonhongklay has joined #ruby
nankyokusei has joined #ruby
pandaant has joined #ruby
devbug has quit [Quit: ZZZzzz…]
toretore has joined #ruby
futilegames has joined #ruby
futilegames has quit [Client Quit]
DoubleMalt has joined #ruby
arnonhongklay has quit [Ping timeout: 250 seconds]
nankyokusei has quit [Ping timeout: 258 seconds]
CloCkWeRX has joined #ruby
moos3 has joined #ruby
k3rn31_ has quit [Quit: Computer has gone to sleep.]
moos3 has quit [Ping timeout: 244 seconds]
claudiuinberlin has quit [Remote host closed the connection]
tmtwd has quit [Ping timeout: 260 seconds]
claudiuinberlin has joined #ruby
k3rn31 has joined #ruby
<zenspider>
sqarzz: well... is it a different sort of thing or the same sort of thing?
conta has joined #ruby
conta has quit [Client Quit]
conta has joined #ruby
duncannz has quit [Remote host closed the connection]
7GHABWELB has joined #ruby
Pupeno_ has quit [Quit: Leaving...]
antgel has quit [Ping timeout: 264 seconds]
dminuoso has quit [Ping timeout: 276 seconds]
conta has quit [Quit: conta]
conta has joined #ruby
axsuul has joined #ruby
axsuul has quit [Client Quit]
solocshaw has joined #ruby
hahuang61 has joined #ruby
CloCkWeRX has left #ruby [#ruby]
miqlas-H has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
solocshaw has quit [Ping timeout: 260 seconds]
_mak has left #ruby [".."]
hahuang61 has quit [Ping timeout: 255 seconds]
jaguarmagenta has joined #ruby
AzureStigma has joined #ruby
AzureStigma has quit [Client Quit]
arnonhongklay has joined #ruby
ta_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 258 seconds]
ta_ has quit [Ping timeout: 264 seconds]
Alina-malina has quit [Max SendQ exceeded]
flying has joined #ruby
Alina-malina has joined #ruby
DmitryBochkarev has joined #ruby
rubie has quit [Remote host closed the connection]
rubie has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
rubie has quit [Ping timeout: 260 seconds]
qubit77 has quit [Quit: Connection closed for inactivity]
kies has quit [Ping timeout: 244 seconds]
zeroDi has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
flashpoint9 has quit [Remote host closed the connection]
qakar has joined #ruby
dviola has joined #ruby
pookie_ is now known as olspookishmagus
yardenbar has quit [Ping timeout: 244 seconds]
kies has joined #ruby
Bounga has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
<catgrandmaster>
hi - anyone know a decent resource online with Ruby quizes/solutions/walkthroughs? For example, you get given a set of user stories and you have to develop an app using TDD?
Blaguvest has quit [Read error: Connection reset by peer]
c355e3b has joined #ruby
rubie has joined #ruby
manson has quit [Ping timeout: 250 seconds]
ta_ has quit [Ping timeout: 265 seconds]
manson has joined #ruby
flashpoint9 has joined #ruby
CloCkWeRX has joined #ruby
the_drow__ has quit [Quit: This computer has gone to sleep]
c0mrad3 has quit [Quit: Connection closed for inactivity]
manson has quit [Ping timeout: 276 seconds]
manson has joined #ruby
Tharbakim has joined #ruby
nankyokusei has joined #ruby
DmitryBochkarev has joined #ruby
<catgrandmaster>
pontiki: : I think that site focuses on the lanaguage basics and I'm more interested in how to program using TDD aspect...(lets assume I know Ruby well)
naftilos76 has quit [Read error: Connection reset by peer]
<pontiki>
ah, i see
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
naftilos76 has joined #ruby
<pontiki>
then the only thing i know of is real life :(
<catgrandmaster>
I'm happy to pay if there is a website that specializes in that sort of thing
<catgrandmaster>
hmmm
manson has quit [Ping timeout: 258 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
lightheaded has quit [Remote host closed the connection]
<pontiki>
For getting help or discussing about Redmine, you can browse the Redmine forums hosted right here in Redmine. We also have a fairly active chatroom - join #redmine on the freenode IRC network. Some more information about IRC is here
<Vacuum_>
No one answers on #redmine
Ruby_Rocks_007 has joined #ruby
Ruby_Rocks_007 has quit [Client Quit]
naftilos76 has quit [Read error: Connection reset by peer]
naftilos76 has joined #ruby
<pontiki>
and no one answers here either
<Vacuum_>
You just did
<pontiki>
all right, i will stop trying to help you
naftilos76 has quit [Read error: Connection reset by peer]
naftilos76 has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
catgrandmaster has quit [Remote host closed the connection]
Bellthoven has joined #ruby
naftilos76 has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
AzureStigma has joined #ruby
naftilos76 has joined #ruby
LoneHerm_ has joined #ruby
Channel6 has joined #ruby
MrBusiness2 has joined #ruby
MrBusiness has quit [Ping timeout: 250 seconds]
jrafanie has joined #ruby
AzureStigma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spudowiar has quit [Quit: Leaving.]
hk238 has joined #ruby
pawnbox has joined #ruby
AzureStigma has joined #ruby
davedev24 has quit [Remote host closed the connection]
chestnutpie has joined #ruby
davedev24 has joined #ruby
hahuang61 has joined #ruby
k3rn31 has joined #ruby
ddffg has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
dmr8 has quit [Read error: Connection reset by peer]
dmr8 has joined #ruby
bad_ip has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
AzureStigma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ajsharma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moos3 has joined #ruby
AzureStigma has joined #ruby
AzureStigma has quit [Client Quit]
Devalo has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ekinmur has joined #ruby
moos3 has quit [Ping timeout: 240 seconds]
Ruby_Rocks_007 has joined #ruby
kobain has joined #ruby
hk238 has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
LoneHerm_ has quit [Read error: Connection reset by peer]
bob434 has joined #ruby
jgt has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
ta_ has joined #ruby
elifoster has joined #ruby
pabloh has quit [Ping timeout: 260 seconds]
davedev24 has quit [Remote host closed the connection]
LoneHermit has joined #ruby
<Dev51328>
Is #ruby dieing out?
<Dev51328>
I mean if this is the official channel and one compares it to ##php or #python
ta_ has quit [Ping timeout: 244 seconds]
davedev24 has joined #ruby
pabloh has joined #ruby
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver>
Dev51328 depends who you ask
zacts has joined #ruby
<baweaver>
There's always going to be someone who declares something dead while the rest of us laugh at them and continue to build our production systems in it.
<baweaver>
that applies to Ruby, PHP, and even older languages like RPG or COBOL.
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
<baweaver>
calling a language dead is a fundamental misunderstanding
LoneHermit has quit [Remote host closed the connection]
<whitequark>
I could build a production system in a language I myself designed but never bothered publishing, does that mean it is "not dead" in any meaningful sense?
<Dev51328>
Well, I googled language popularity. That might be a better metric
<whitequark>
there is rarely a situation where nothing at the whole planet runs particular software anymore, but once your attrition rate exceeds accumulation rate for new programmers, "dead" starts to look applicable
<Dev51328>
However an even better metric might be is how much new (not maintenance work) is going on in the language
<whitequark>
by that metric C is dead
<whitequark>
as nice as that would be, I cannot agree :)
<Dev51328>
C is/was used for embedded work
KaliLinuxGR has quit [Ping timeout: 244 seconds]
<Dev51328>
Whether it still holds that niche so much now im not sure
<whitequark>
every major OS is still powered by C
govg has quit [Ping timeout: 276 seconds]
<whitequark>
C the language barely gets anything new though. (C11 brought a nicer memory model and atomics, but that is really not a lot)
tvw has quit [Remote host closed the connection]
<Dev51328>
Ruby had a nice syntax but it was always a bit too magical and encouraged a culture of "monkey patching". It did get a lot of buzz when it was new but if freenode engagement is any kind of metric at all ruby usage seems to have fallen quite dramtically
flying has quit [Remote host closed the connection]
<Dev51328>
Maybe there are just too many exciting new languages now that ruby is looking a bit "old"
<toretore>
who cares
<Dev51328>
Not you obviously
last_staff has joined #ruby
Immune has quit [Ping timeout: 255 seconds]
<Dev51328>
Anyway thats not really the point
<chris2>
most projects go longer than 1-2 years, so whatever is hip when you start it is not hip later...
<whitequark>
this reminds me, ruby started being hip maybe early 2006, but when did that stop?
govg has joined #ruby
<whitequark>
i'm pretty sure it was still sort of hip in 2012
<chris2>
around rails 4 perhaps?
<whitequark>
that's even later, yeah
<chris2>
when node.js picked up
<Dev51328>
Did rails get too big and grow too fast perhaps?
<chris2>
rails 4 was 2013
qakar has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
Rodya_ has joined #ruby
<Dev51328>
I remember trying to write a web app with rails about when it first became hip
<Dev51328>
I remember they were more committed to selling books than writing online documentation
<Dev51328>
I even bought one
<Dev51328>
One or two
<whitequark>
dunno, I found api.ror.org pretty comprehensive
<toretore>
i didn't have any problems finding documentation online
<Dev51328>
I eventually ran into issues when it didn't work so well on windows and had to rewrite the whole web app on django
<whitequark>
it's around rails 3 when the call stacks became too deep to understand it without reading sources
<Dev51328>
And on django I had no problems at all
* chris2
never understood anything without reading sources
<toretore>
serves you right for using windows /s
ajsharma has joined #ruby
<whitequark>
well, not understand rails, understand how to use rails.
<toretore>
or is it \s
Immune has joined #ruby
Bellthoven has quit []
flashpoint9 has joined #ruby
<whitequark>
there was a point where i could use helpers without peeking into how they're implemented but that stopped being the case, sadly
<Dev51328>
Well, it was a managers decision to make it cross platform
<Dev51328>
Saying serves you right for using windows tends to ignore market realities
solocshaw has quit [Ping timeout: 244 seconds]
qakar has joined #ruby
<chris2>
obv windows is a big player in web apps :P
<toretore>
heavy use of metaprogramming doesn't lend itself to easy documentation
<chris2>
toretore: and weird ungreppable conventions -.-
<Dev51328>
Heavy use of metaprogramming and especially monkey patching doesn't lead to easy reading of code
<toretore>
that too
nankyokusei has quit [Ping timeout: 265 seconds]
Rodya_ has quit [Remote host closed the connection]
<chris2>
ruby programmers realize that after about 5 years ;)
<toretore>
after 10, you realize you shoud probably be writing java and after 15 that nothing really matters
<zacts>
ruby is cool
<zacts>
oh wait, I'm on #ruby not #perl
<zacts>
sorry, indeed it still is true that ruby is cool, but you all know that already
<chris2>
toretore: with 15 years i agree :P
ajsharma has quit [Client Quit]
<toretore>
it was pretty cool when you came from php and perl tbh
<Dev51328>
Well "cool" is really whatever you feel most comfortable issue. Its not really a scientific measure
<Dev51328>
s/issue/with
Rodya_ has joined #ruby
<zacts>
Dev51328: I have ruby red sunglasses, that's my definition of cool. And I have a Ruby sticker on my laptop
flashpoint9 has quit [Remote host closed the connection]
<Dev51328>
zacts: yes, their marketing was good
<zacts>
yeah
<zacts>
but indeed I think there are other lingos more suitable for certain application domains than others
<baweaver>
you know you could summarize this entire conversation fairly easily
<zacts>
I feel like Ruby is like a tinker toy lego like language
<baweaver>
new guy: Ruby is dead
<baweaver>
#ruby: lol, no
<zacts>
but it's still powerful too
<zacts>
baweaver: don't forget the key term 'ruby red sunglasses'
jhack has quit [Quit: jhack]
<zacts>
that is so important for any discussion of this template
<baweaver>
It's not very scientific though
flying has joined #ruby
<Dev51328>
Well, I was thinking the other day that ruby might make a good replacement for bash scripts
<Dev51328>
But Perl would probably be better
haylon has joined #ruby
<zacts>
Dev51328: I am using Ruby for simple command line apps right now
<baweaver>
Is it turing complete? Then it can do the same job.
<zacts>
I'm mainly using the `gli` gem
qubit77 has joined #ruby
<zacts>
baweaver: do you really want to use 10101001010000111101010010 to program everything?
<baweaver>
Already am out of technicality.
<Dev51328>
So is brainf**k turing complete
<baweaver>
The point is that you should choose the language that works for you
<zacts>
Dev51328: but yeah perl is great for quick and dirty UNIX style scripting
<zacts>
and you can pull in CPAN modules
<baweaver>
and not be exceedingly pedantic / "it's dead!" to other languages
<zacts>
baweaver: I totally agree
<zacts>
Ruby is good at what Ruby is good for (which is apparently a lot), and other languages are good at what they are good at
<baweaver>
if you want to do that, go to Hacker News. They love that type of group think.
<zacts>
I mean Ruby on Rails runs some pretty hefty websites for example
<zacts>
---
<zacts>
^ new topic? :-D
<baweaver>
\n
<Dev51328>
Well, what else is ruby used in apart from websites?
<toretore>
it's probably also responsible for quite a few tonnes of unnecessary carbon emissions
<baweaver>
I'll leave that up to your googling.
<chris2>
from DHH's car? :D
<toretore>
well.. from being inefficient, but that too i guess
<zacts>
Dev51328: what are your programming goals, and why are you at #ruby? Something must have sparked your curiosity
<Dev51328>
zacts: doing a language survey
<zacts>
ah ok
<chris2>
"which channel can be trolled most easily"
<zacts>
lol @ chris2
<zacts>
anyway, 99 bottles book is almost out soon
<Dev51328>
Its hard to use Google for this because most websites have an agenda, trying to sell you something
<zacts>
by Sandi Metz. I'm thinking of getting it
rubie has joined #ruby
<Dev51328>
Well "trolling" is another unscientific term
<Dev51328>
It basically means "you are bugging me, go away"
<chris2>
that's exactly what a troll would say
<zacts>
ugh... Dev51328 please we don't want a troll. It's boring dude.
<zacts>
we've answered all of your questions, so now this is just pure trolling, unless you ask a real question on how to design a ruby app or something
<Dev51328>
You dont know all my questions
vuoto has quit [Remote host closed the connection]
<Dev51328>
But you can tell a lot about a room by how quickly they go on the defensive
<adam12>
lol
<toretore>
"a room" with 1k people vs 1 or 2 people
<baweaver>
Enough
<toretore>
it says nothing about "a room"
Devalo has quit [Remote host closed the connection]
<baweaver>
By this point it's crossing into trolling.
<Dev51328>
Actually I am not here to convince you of anything. I already know no one changes their mind
Devalo has joined #ruby
<Dev51328>
Trolling in this case is "not liking my favourite language"
<baweaver>
enough. If you have questions ask them
<Dev51328>
Anyway I think you have answered my questions
<Dev51328>
The ones that mattered anyway
<baweaver>
last warning.
<Dev51328>
It will make a good write up about the different programming communities on freenode :)
<zacts>
have any of you read the beta of 99 bottles yet?
<Dev51328>
People get warned here for asking questions? Interesting
<baweaver>
at this point it is trolling. If you'd like to ask questions, ask questions, but don't expect people not to get defensive.
<zacts>
I'm considering purchasing access to the beta
<baweaver>
I just don't appreciate you escalating this into a potential fight, and will put a stop to it if necessary.
<Dev51328>
If anything I am probably turned off ruby now because the comminity factor is an important one
<Dev51328>
Community
<Dev51328>
Languages dont stand on their own
<elomatreb>
<Insert SonThisIsBait.jpg>
Devalo has quit [Ping timeout: 265 seconds]
<Dev51328>
Thank you for enlightening me. Have a nice day.
Dev51328 has left #ruby ["Leaving"]
* baweaver
puts down hammer
<elomatreb>
What a nice person
<baweaver>
Not a fan of pretentious gits like that.
soulisson has joined #ruby
<baweaver>
anyways, #ruby-offtopic for the rest of that.
gheegh has joined #ruby
tmtwd has quit [Ping timeout: 255 seconds]
<soulisson>
Hi, sorry I'm a noob, when the interpreter encounters a function definition, it creates that function?
<chris2>
yes
<zacts>
I'm going to go ahead and purchase 99 bottles
flashpoint9 has joined #ruby
jhack has joined #ruby
<zacts>
for sure
<chris2>
don't drink too much :P
<zacts>
ok I won't! :-D
kies has quit [Ping timeout: 250 seconds]
symm- has quit [Ping timeout: 255 seconds]
l4v2 has joined #ruby
<gheegh>
hey all, anyone using the cequel gem? I'm trying to use it with my tests (rspec-preloader) and it's giving me a "duplicated argument name" error. There is an open ticket that states soemthing about the model being reloaded (which it is), and that's causing the problem.. Anyone gotten around this?
<soulisson>
How do it handle the local variables, does it parse the function definition and reserve in the stack the required space
jpleau has left #ruby ["WeeChat 1.5"]
Ruby_Rocks_007 has joined #ruby
<Mon_Ouie>
Yes, YARV counts the amount of local variables to determine the size of local table (including parameters). You can get some insight into that by looking at the output of RubyVM::InstructionSequence.disasm
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
ereslibre has joined #ruby
<soulisson>
Mon_Ouie, thank you
<soulisson>
Mon_Ouie, the local table is local to the function, right?
pabloh has quit [Ping timeout: 240 seconds]
<Mon_Ouie>
Each method and each block is going to have one
Bellthoven has joined #ruby
<Mon_Ouie>
If you have `def foo(array); array.each { |e| puts e }; end', then foo has a local table to store array and the block passed to the each method has its own.
LoneHerm_ has joined #ruby
<soulisson>
Mon_Ouie, thank you
<soulisson>
Does the local table store the local variables names?
<Mon_Ouie>
I believe it does, because they can sometimes be accessed dynamically using Binding#eval or #local_variable_get. For the purposes of execution though they're mapped to an integer (the offset in the table).
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<soulisson>
Mon_Ouie, ok, thank you very much
Devalo has joined #ruby
jhack has quit [Quit: jhack]
pabloh has joined #ruby
kies has joined #ruby
Devalo has quit [Ping timeout: 258 seconds]
flying has quit [Remote host closed the connection]
cyphase has quit [Ping timeout: 250 seconds]
Devalo has joined #ruby
flying has joined #ruby
Devalo has quit [Remote host closed the connection]
zacts has quit [Quit: WeeChat 1.4]
Devalo has joined #ruby
leea has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cyphase has joined #ruby
jaguarmagenta has joined #ruby
conta has joined #ruby
Devalo has quit [Ping timeout: 244 seconds]
AlphaAtom has joined #ruby
helpme has joined #ruby
helpme is now known as Guest50199
KaliLinuxGR has joined #ruby
Guest50199 has left #ruby [#ruby]
rubie has quit [Remote host closed the connection]
rsampaio has joined #ruby
helpme969 has joined #ruby
<helpme969>
test
bad_ip has quit [Ping timeout: 258 seconds]
ekinmur has joined #ruby
symm- has joined #ruby
ekinmur has quit [Client Quit]
jaguarmagenta has quit [Ping timeout: 260 seconds]
ekinmur has joined #ruby
ekinmur has quit [Client Quit]
Rodya_ has quit [Remote host closed the connection]
chris2 has quit [Quit: trotz alledem!]
Immune_ has joined #ruby
flashpoint9 has quit []
chris2 has joined #ruby
Immune has quit [Ping timeout: 255 seconds]
sleeves has joined #ruby
zacts has joined #ruby
vuoto has joined #ruby
moos3 has joined #ruby
helpme969 has quit [Quit: Page closed]
icedp has quit [Quit: _]
Rodya_ has joined #ruby
lel has joined #ruby
ajsharma has joined #ruby
miqlas-H has joined #ruby
Channel6 has quit [Quit: Leaving]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
moos3 has quit [Ping timeout: 255 seconds]
spudowiar has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
conta has quit [Ping timeout: 276 seconds]
Rodya_ has quit [Remote host closed the connection]
SirCmpwn has quit [Ping timeout: 276 seconds]
<gheegh>
helpme969 it works
dionysus69 has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
kies has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Quit: WeeChat 1.5]
kith has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
pawnbox has joined #ruby
pandaant has quit [Remote host closed the connection]
Rodya_ has joined #ruby
ta_ has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
smathews has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
vuoto has quit [Remote host closed the connection]
rgtk has joined #ruby
vuoto has joined #ruby
miqlas-H has quit [Ping timeout: 265 seconds]
zappadoohoo has quit [Read error: Connection reset by peer]
miqlas-H has joined #ruby
soulisson has quit [Ping timeout: 258 seconds]
zappadoohoo has joined #ruby
rubie has joined #ruby
l4v2 has quit [Quit: l4v2]
zappadoohoo has quit [Read error: Connection reset by peer]
smathews has quit [Quit: Leaving.]
Moosashi has joined #ruby
zappadoohoo has joined #ruby
jgt has quit [Ping timeout: 252 seconds]
cschneid has quit [Ping timeout: 250 seconds]
bad_ip has joined #ruby
bad_ip has quit [Changing host]
bad_ip has joined #ruby
cschneid has joined #ruby
lightheaded has joined #ruby
sleeves has quit [Quit: Leaving]
lightheaded has quit [Remote host closed the connection]
lheaded has joined #ruby
firstdayonthejob has joined #ruby
lightheaded has joined #ruby
jaguarmagenta has joined #ruby
leea has joined #ruby
lheaded has quit [Ping timeout: 258 seconds]
vuoto has quit [Read error: Connection reset by peer]
vuoto_ has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
futilegames has joined #ruby
agent_white has quit [Quit: agent_white]
moos3 has joined #ruby
jaguarmagenta has joined #ruby
mtkd has quit [Ping timeout: 244 seconds]
mtkd has joined #ruby
Guest43 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AndyBotwin has joined #ruby
Rodya_ has quit [Remote host closed the connection]
elementaru has quit [Remote host closed the connection]
jaguarmagenta has quit [Remote host closed the connection]
rsampaio has quit [Ping timeout: 250 seconds]
mkillebrew has joined #ruby
nankyokusei has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
Gasher has joined #ruby
jgt has joined #ruby
NetSage has joined #ruby
ingi has joined #ruby
Moosashi has quit [Quit: Moosashi]
nankyokusei has quit [Ping timeout: 252 seconds]
Guest43 has joined #ruby
minimalism has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
Devalo has quit [Remote host closed the connection]
<sqarzz>
i need to pass a variable through the 'new' action in my controller, any idea how this van be done?
Devalo has quit [Ping timeout: 260 seconds]
qba73 has quit [Client Quit]
qba73 has joined #ruby
<adam12>
sqarzz: pass it as a param
kies has joined #ruby
<baweaver>
Also you may want to ask Rails questions in #RubyOnRails
LoneHerm_ has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
A5101 has joined #ruby
jgt has quit [Ping timeout: 244 seconds]
boogeyman has quit [Ping timeout: 244 seconds]
shinnya has joined #ruby
tomaz_b has joined #ruby
dmr8 has quit [Quit: Leaving]
LoneHerm_ has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
soulisson has joined #ruby
madduck has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
Rodya_ has joined #ruby
kies has quit [Ping timeout: 265 seconds]
<sqarzz>
@adam12 could the fact that the param is passed from another model be an issue? While i can access content of the param i am passing in the original model, it keeps on being nil on the invoked controller path
naftilos76 has joined #ruby
<adam12>
sqarzz: Let's move this back to #RubyOnRails.
LoneHerm_ has joined #ruby
Bellthoven has quit []
LoneHerm_ has quit [Remote host closed the connection]
yardenbar has joined #ruby
flying has quit [Remote host closed the connection]
vali has joined #ruby
vali has left #ruby [#ruby]
grapheti has joined #ruby
chestnutpie has quit [Ping timeout: 250 seconds]
GodFather has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
jottr_ has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
zzxc has joined #ruby
sirecote has quit [Ping timeout: 276 seconds]
sirecote has joined #ruby
<soulisson>
In ruby, does the mutex mechanism relies on the one provided by the operating system?
edwardly has quit [Ping timeout: 244 seconds]
soulisson has quit [Changing host]
soulisson has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
naftilos76 has quit [Ping timeout: 244 seconds]
<whitequark>
soulisson: no
<whitequark>
however, ruby uses OS mutexes elsewhere
<whitequark>
well, ruby MRI.
d0nn1e has quit [Ping timeout: 244 seconds]
naftilos76 has joined #ruby
Vile` has joined #ruby
stamina has quit [Ping timeout: 276 seconds]
flying has joined #ruby
flying has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
d0nn1e has joined #ruby
qakar has quit [Remote host closed the connection]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
malconis has joined #ruby
flyingX has joined #ruby
flyingX has quit [Remote host closed the connection]
naftilos76 has quit [Read error: Connection reset by peer]
malconis has quit [Remote host closed the connection]
qba73 has quit [Remote host closed the connection]
SirCmpwn has joined #ruby
flying has joined #ruby
naftilos76 has joined #ruby
naftilos76 has quit [Remote host closed the connection]
malconis has joined #ruby
claudiuinberlin has quit []
flying has quit [Remote host closed the connection]
jottr_ has quit [Quit: WeeChat 1.5]
qakar has joined #ruby
mkillebrew has left #ruby [#ruby]
qba73 has joined #ruby
jhack has joined #ruby
<soulisson>
whitequark, ok, thank you
soulisson has quit [Quit: Quitte]
s2013 has joined #ruby
bad_ip has quit [Ping timeout: 265 seconds]
cippaciong has joined #ruby
sleepee has joined #ruby
soulisson has joined #ruby
zappadoohoo has quit [Read error: Connection reset by peer]
<cippaciong>
Hello everyone. I'm facing a problem I can't solve. I'm trying to run grep in ruby using backticks but the output I get in ruby is different from the one I get in bash
<cippaciong>
The command is 'grep -E "\s/\s" /etc/fstab'
<cippaciong>
This will correctly get the root line from fstab in bash but returns nil in ruby
qba73 has quit [Remote host closed the connection]
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
<cippaciong>
Do you have why?
<cippaciong>
*know
<toretore>
?code cippaciong
<ruby[bot]>
cippaciong: We can't help you without your code, please post it to https://gist.github.com
stamina has joined #ruby
<toretore>
why are you running grep and not using ruby to do this?
triangles has joined #ruby
<soulisson>
In programming, a lock is called that way because we picture it as a virtual lock?
<cippaciong>
toretore: probably because I know bash better than ruby and I'm doing it wrong
<toretore>
cippaciong: code
qakar has quit [Remote host closed the connection]
Wsewolod has joined #ruby
<cippaciong>
code is just: puts `grep -E "\s/\s" /etc/fstab`
<cippaciong>
I'm trying from irb
binaryplease1 has joined #ruby
<soulisson>
cippaciong, I tried it on my computer I get the same result
<cippaciong>
:S
<toretore>
soulisson: locks are often used to "lock" access to a resource from access by other threads/processes, which is probably how they got their name
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<cippaciong>
I tried to put that line in a bash script and run the script in ruby with backticks and that works
<toretore>
cippaciong: describe what you're actually doing: what is the pattern you're looking for and why?
qakar has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
<cippaciong>
toretore: I'm looking for the UUID of the root partition. The reason is to create a secret for session cookies in rack
<ruby[bot]>
soulisson: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
Nahra has quit [Remote host closed the connection]
<cippaciong>
toretore: not any particular reason, it's the first thing that came to my mind that is both secret and unique
<cippaciong>
secret for anyone who does not have access to the machine I mean
<Mon_Ouie>
Could you be running out of memory? Operating systems can kill a process that uses too much memory if they need to allocate more
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cippaciong has left #ruby ["WeeChat 1.5"]
Es0teric has quit [Quit: Computer has gone to sleep.]
pabloh has quit [Quit: Leaving]
matp has joined #ruby
nankyokusei has joined #ruby
<soulisson>
Mon_Ouie, it could be, I guess the bruteforce method is causing it?
banisterfiend has joined #ruby
qakar has quit [Remote host closed the connection]
<Mon_Ouie>
Maybe, I haven't read the code that thoroughly. You might also be keeping references to objects that you no longer need, preventing the GC from releasing the memory that they use.
Bellthoven has joined #ruby
<Mon_Ouie>
/
qakar has joined #ruby
<Mon_Ouie>
woops
LoneHermit has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
flying has joined #ruby
qakar has quit [Ping timeout: 250 seconds]
jord has quit [Quit: Connection closed for inactivity]
LoneHermit has quit [Ping timeout: 240 seconds]
jgt has joined #ruby
solars has quit [Ping timeout: 240 seconds]
Ruby_Rocks_007 has joined #ruby
<soulisson>
Mon_Ouie, I write shitty code anyway
soulisson_ has joined #ruby
Vingador has joined #ruby
soulisson has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
spudowiar has joined #ruby
qakar has joined #ruby
chestnutpie has quit [Quit: Leaving]
chestnutpie has joined #ruby
flying has quit []
asdffff has quit [Ping timeout: 276 seconds]
pwnd_nsfw` has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Remote host closed the connection]
araujo has quit [Ping timeout: 255 seconds]
DoubleMalt has joined #ruby
Rodya_ has joined #ruby
<soulisson_>
Mon_Ouie, indeed, I checked with htop my memory keeps increasing during program execution, any advice how to solve this issue
Moosashi has joined #ruby
qba73 has quit [Remote host closed the connection]
spudowiar has quit [Quit: Leaving.]
chestnutpie has quit [Quit: Leaving]
chestnutpie has joined #ruby
mtkd has quit [Ping timeout: 276 seconds]
leea has quit [Ping timeout: 252 seconds]
Rodya_ has quit [Ping timeout: 250 seconds]
mtkd has joined #ruby
kab has quit [Read error: Connection reset by peer]
ec0 has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
helpa has joined #ruby
helpa has quit [Changing host]
BillSussman has joined #ruby
e4xit_ has joined #ruby
mozzarel1 has joined #ruby
Ruby_Rocks_007 has quit [Quit: Ruby_Rocks_007]
<Mon_Ouie>
soulisson_: Looking at it further, it's because you're doing a breadth first traversal of all strings, so you need to store an exponential amount of memory with respect to the size of the passwords you generate. I would define that function recursively
bedouin has quit [Ping timeout: 264 seconds]
zero7 has quit [Ping timeout: 264 seconds]
sindork has quit [Ping timeout: 264 seconds]
brucebag has quit [Ping timeout: 264 seconds]
troter__________ has quit [Ping timeout: 264 seconds]
bestie has quit [Ping timeout: 264 seconds]
modin has quit [Ping timeout: 264 seconds]
mroth has quit [Ping timeout: 264 seconds]
Yonk has quit [Ping timeout: 264 seconds]
jpinnix_______ has quit [Ping timeout: 264 seconds]
callumacrae has quit [Ping timeout: 264 seconds]
braidn has quit [Ping timeout: 264 seconds]
umdstu_ has joined #ruby
AndyBotwin has quit [Ping timeout: 264 seconds]
machty has quit [Ping timeout: 264 seconds]
jabreity has quit [Ping timeout: 264 seconds]
Eleeleth has quit [Ping timeout: 264 seconds]
mostlybadfly has quit [Ping timeout: 264 seconds]
TheMoonMaster has quit [Ping timeout: 264 seconds]
bcavileer has quit [Ping timeout: 264 seconds]
umdstu has quit [Ping timeout: 264 seconds]
Travis-42 has quit [Ping timeout: 264 seconds]
kireevco has quit [Ping timeout: 264 seconds]
M-mistake has quit [Ping timeout: 264 seconds]
redondos has quit [Ping timeout: 264 seconds]
aarongodin has quit [Ping timeout: 264 seconds]
boxrick1 has quit [Ping timeout: 264 seconds]
bhaak has quit [Ping timeout: 264 seconds]
jcp has quit [Ping timeout: 264 seconds]
xybre has quit [Ping timeout: 264 seconds]
j0bk has quit [Ping timeout: 264 seconds]
Rabbit__ has quit [Ping timeout: 264 seconds]
kallisti5 has quit [Ping timeout: 264 seconds]
umdstu_ is now known as umdstu
Azure|dc has joined #ruby
marens has quit [Remote host closed the connection]
marens has joined #ruby
mozzarella has quit [Ping timeout: 264 seconds]
adam12 has quit [Ping timeout: 264 seconds]
digitalfiz has quit [Ping timeout: 264 seconds]
thanoj has quit [Ping timeout: 264 seconds]
bjmllr has quit [Ping timeout: 264 seconds]
croberts has quit [Ping timeout: 264 seconds]
orangey has quit [Ping timeout: 264 seconds]
johnny56_ has quit [Ping timeout: 264 seconds]
CrazyEddy has quit [Ping timeout: 264 seconds]
e4xit_ is now known as e4xit
knowtheory has quit [Ping timeout: 264 seconds]
swartzcr_ has quit [Ping timeout: 264 seconds]
ekem has quit [Ping timeout: 264 seconds]
n__dles has quit [Ping timeout: 264 seconds]
pleiosaur has quit [Ping timeout: 264 seconds]
wnd_ has joined #ruby
orangey has joined #ruby
wnd has quit [Ping timeout: 264 seconds]
Azure has quit [Ping timeout: 264 seconds]
Omni_ has quit [Ping timeout: 264 seconds]
kegster has quit [Ping timeout: 264 seconds]
ReinH has quit [Ping timeout: 264 seconds]
croberts has joined #ruby
kallisti5 has joined #ruby
bhaak has joined #ruby
yorickpeterse has quit [Ping timeout: 264 seconds]
pleiosaur has joined #ruby
Skelz0r has quit [Remote host closed the connection]
Skelz0r has joined #ruby
trif_ has quit [Ping timeout: 264 seconds]
mburns has quit [Ping timeout: 264 seconds]
mostlybadfly has joined #ruby
Eleeleth has joined #ruby
knowtheory has joined #ruby
trif has joined #ruby
<soulisson_>
Mon_Ouie, can you explain me why writing it in a recursive manner would solve the problem
digitalfiz has joined #ruby
boxrick1 has joined #ruby
jpinnix_______ has joined #ruby
kireevco has joined #ruby
jcp has joined #ruby
griffindy has joined #ruby
Travis-42 has joined #ruby
Yonk has joined #ruby
bcavileer has joined #ruby
jabreity has joined #ruby
brucebag has joined #ruby
brucebag has quit [Changing host]
brucebag has joined #ruby
aarongodin has joined #ruby
ekem has joined #ruby
bedouin has joined #ruby
zero7 has joined #ruby
<Mon_Ouie>
If you have something like: def bruteforce(…); if size == 0 then yield word else call bruteforce with a new prefix for each character in the alphabet; end --- you only need to keep upto size string in memory at any point (the successive prefixes leading to the current invocation of the method)
j0bk has joined #ruby
sindork has joined #ruby
mburns has joined #ruby
redondos has joined #ruby
Omni has joined #ruby
<Mon_Ouie>
Your current implementation stores all strings of size n over your alphabet (i.e. alphabet.size ** n strings)
Omni is now known as Guest11809
adam has joined #ruby
machty has joined #ruby
M-mistake has joined #ruby
adam is now known as Guest61696
mroth has joined #ruby
lightstalker has quit [Ping timeout: 250 seconds]
Rabbit__ has joined #ruby
pwnd_nsfw` has quit [Read error: Network is unreachable]
pwnd_nsfw` has joined #ruby
kegster has joined #ruby
firstdayonthejob has quit [Ping timeout: 252 seconds]
g3funk has joined #ruby
Devalo has joined #ruby
Robtop__ has joined #ruby
swartzcr has joined #ruby
callumacrae has joined #ruby
TheMoonMaster has joined #ruby
<soulisson_>
Mon_Ouie, but don't I have to store the previous prefixes in the previous function?
<baweaver>
Fun tip, you can actually replace most recursion in Ruby with Enumerable#reduce
wnd_ is now known as wnd
soulisson_ has quit [Quit: Quitte]
soulisson has joined #ruby
ponga has quit [Ping timeout: 250 seconds]
<soulisson>
My ISP is the worst
pwnd_nsfw` has quit [Ping timeout: 258 seconds]
<domgetter>
baweaver: But reduce in Ruby is implemented as a for loop! Blasphemy!
ponga has joined #ruby
<baweaver>
so is Tail Call Optimization
<Mon_Ouie>
The point of recursion here is to not use a tail call though
k3rn31 has quit [Ping timeout: 260 seconds]
n__dles has joined #ruby
yorickpeterse has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
bjmllr has joined #ruby
bestie has joined #ruby
thanoj has joined #ruby
<Mon_Ouie>
(You can use an array as a stack instead of using the call stack, but that tends to be slower and more work to manage, so I'd only do it if I need more depth than the call stack can provide)
<Mon_Ouie>
soulisson: What do you mean by the "previous prefixes" precisely? old_prefixes in your code?
<baweaver>
though that's really danged slow.
<Mon_Ouie>
Oh, I tend to forget about these
reinh1 has joined #ruby
<Mon_Ouie>
Definitely want the block form of this though
hi has joined #ruby
<soulisson>
Mon_Ouie, yes, to be honest I'm having a little bit trouble to write the recursive version
bad_ip has quit [Ping timeout: 240 seconds]
hi is now known as Guest76704
<mikecmpbll>
what's the "[-]" convention in logging? seen that before with some devs
<Guest76704>
hello
<baweaver>
>> ('a'..'z').to_a.permutation(3).to_a
<ruby[bot]>
baweaver: I'm terribly sorry, I could not evaluate your code because of an error: OpenURI::HTTPError:500 Internal Server Error
<mikecmpbll>
heh
<baweaver>
oh?
<baweaver>
mikecmpbll: probably just decoration
<mikecmpbll>
baweaver : odd that two devs should independently choose the same thing there, wondered if it came from something in particular
<baweaver>
I tend to do little quips like that for indentation or for easily finding certain blocks later in Splunk
<mikecmpbll>
some language.
<baweaver>
If I had to guess, probably some type of Tomcat logging
<baweaver>
normally safe to blame Tomcat / Apache for odd conventions :D
<mikecmpbll>
:D
blackwind_123 has quit [Ping timeout: 252 seconds]
<Mon_Ouie>
Assume you have a function bruteforce(prefix, &block) which generates strings that start with prefix, followed by n characters, do you see how you can use that to generate all strings that start with prefix, followed by n+1 characters?
_dev has quit [Ping timeout: 250 seconds]
blackwind_123 has joined #ruby
hutch34 has joined #ruby
_dev has joined #ruby
Ruby_Rocks_007 has joined #ruby
Guest76704 has quit [Quit: Page closed]
Immune has joined #ruby
symm- has quit [Quit: Leaving...]
Wsewolod has quit [Read error: Network is unreachable]
Wsewolod has joined #ruby
Vingador has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 258 seconds]
mrfooo has quit [Ping timeout: 250 seconds]
chrisseaton has quit [Read error: Connection reset by peer]
alxndr has quit [Read error: Connection reset by peer]
skmp has quit [Ping timeout: 258 seconds]
qubit77 has quit [Ping timeout: 255 seconds]
justinweiss has quit [Read error: Connection reset by peer]
ELCALOR has quit [Read error: Connection reset by peer]
pizzaops has quit [Read error: Connection reset by peer]
avdi has quit [Ping timeout: 250 seconds]
charles81 has quit [Ping timeout: 244 seconds]
ewilliam has quit [Read error: Connection reset by peer]
zzak has quit [Ping timeout: 260 seconds]
deimos has quit [Ping timeout: 255 seconds]
Yacker has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimeh has quit [Ping timeout: 260 seconds]
Lewix has quit [Ping timeout: 260 seconds]
cstrahan has quit [Ping timeout: 244 seconds]
tonini has quit [Ping timeout: 255 seconds]
halfdan has quit [Read error: Connection reset by peer]
johnkpaul has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
danzilio has quit [Ping timeout: 244 seconds]
daemonwrangler has quit [Ping timeout: 252 seconds]
codepete has quit [Ping timeout: 265 seconds]
manveru has quit [Ping timeout: 255 seconds]
bcavileer has quit [Read error: Connection reset by peer]
Travis-42 has quit [Read error: Connection reset by peer]
davidmichaelkarr has quit [Ping timeout: 255 seconds]
adambeynon has quit [Ping timeout: 255 seconds]
lipoqil has quit [Ping timeout: 255 seconds]
Yonk has quit [Ping timeout: 255 seconds]
pfg has quit [Ping timeout: 276 seconds]
symm- has joined #ruby
elifoster has joined #ruby
rfv has quit [Ping timeout: 255 seconds]
<soulisson>
Mon_Ouie, you're right it solved my issue
ta_ has quit [Ping timeout: 244 seconds]
astrobunny has joined #ruby
symm- has quit [Quit: Leaving...]
symm- has joined #ruby
modin has joined #ruby
astrobunny has quit [Ping timeout: 244 seconds]
justinweiss has joined #ruby
ELCALOR has joined #ruby
Lewix has joined #ruby
deimos has joined #ruby
danzilio has joined #ruby
skmp has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
avdi has joined #ruby
johnny56_ has joined #ruby
bcavileer has joined #ruby
hutch34 has joined #ruby
khushildep has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tmtwd has quit [Ping timeout: 265 seconds]
<Mon_Ouie>
baweaver: Oh, and actually you want repeated_permutation, not permutation
lipoqil has joined #ruby
<Mon_Ouie>
Otherwise you skip strings like 'aaa' or 'aab'
<baweaver>
ah, true. So even slower then
johnkpaul has joined #ruby
zzak has joined #ruby
cstrahan has joined #ruby
Gasher has quit [Quit: Leaving]
mrfooo has joined #ruby
ewilliam has joined #ruby
chrisseaton has joined #ruby
alxndr has joined #ruby
jgt has quit [Ping timeout: 265 seconds]
rsampaio has joined #ruby
rubie has quit [Read error: Connection reset by peer]
ajsharma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rubie has joined #ruby
blackmesa has joined #ruby
adambeynon has joined #ruby
daemonwrangler has joined #ruby
pfg has joined #ruby
Guest43 has quit [Changing host]
Guest43 has joined #ruby
matp has quit [Ping timeout: 240 seconds]
<soulisson>
is method(&block) the proper way to pass explicitly a block to a method
<soulisson>
?
<zenspider>
what's "proper" ?
<soulisson>
"a way" if you prefer, I have a recursive function
<zenspider>
f(&b) vs f { ...} vs f do ... end -- the only constraint is that b responds to #to_proc