<eval-in___>
benzrf => /tmp/execpad-6629591b9ed7/source-6629591b9ed7:2: no .<digit> floating literal anymore; put 0 before dot ... (https://eval.in/197169)
<eval-in___>
benzrf => /tmp/execpad-9068d27acc03/source-9068d27acc03:2: no .<digit> floating literal anymore; put 0 before dot ... (https://eval.in/197171)
mikepack has quit [Remote host closed the connection]
<benzrf>
18>> (1....3).to_a
<eval-in___>
benzrf => /tmp/execpad-c26681f39377/source-c26681f39377:2: no .<digit> floating literal anymore; put 0 before dot ... (https://eval.in/197172)
<benzrf>
aw
<benzrf>
17>> (1....3).to_a
kevkev__ has joined #ruby
spyderman4g63 has quit []
JoshGlzB_ has joined #ruby
wjimenez_ has joined #ruby
ixti has joined #ruby
centrx has joined #ruby
mary5030 has joined #ruby
JoshGlzBrk has quit [Ping timeout: 244 seconds]
kevkev__ has quit [Ping timeout: 260 seconds]
Guest23075 is now known as magic
Wolland has joined #ruby
magic has quit [Changing host]
magic has joined #ruby
wjimenez5271 has quit [Ping timeout: 272 seconds]
wjimenez_ has quit [Ping timeout: 244 seconds]
ixti has quit [Ping timeout: 260 seconds]
mattstratton has joined #ruby
mattstratton has quit [Max SendQ exceeded]
mattstratton has joined #ruby
mattstratton has quit [Max SendQ exceeded]
Wolland has quit [Ping timeout: 250 seconds]
mattstratton has joined #ruby
mattstratton has quit [Max SendQ exceeded]
mattstratton has joined #ruby
mattstratton has quit [Max SendQ exceeded]
rezzack has left #ruby [#ruby]
mattstratton has joined #ruby
<shevy>
hmm
<shevy>
how to best write a language that ruby parses?
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mityaz has quit [Ping timeout: 272 seconds]
lampd1 has joined #ruby
<eam>
I don't think you can use BNF to fully describe ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
caveat- has joined #ruby
<centrx>
eam, I think he's creating a language "that ruby parses"
ixti has quit [Ping timeout: 240 seconds]
britneywright has quit [Client Quit]
<neoice>
Ruby is entirely pass-by-reference, correct?
mikepack has quit [Remote host closed the connection]
<shevy>
my hope is that I can use a pseudo dsl
<centrx>
neoice, technically yes
<shevy>
like:
<neoice>
centrx: what's the catch?
<shevy>
jquery +
<shevy>
right now I can do
<shevy>
jquery :+
<centrx>
neoice, numbers (Numeric) and true/false, etc. act like pass-by-value because there is only one such object in the entire system, (e.g. there is only one number 1)
tylersmith has joined #ruby
<centrx>
e.g. TrueClass, FalseClass, NilClass
<centrx>
kind of like singleton classes
<shevy>
eam does perl have means to continue when it encounters invalid syntax?
<eam>
sure, eval
<eam>
there are two kinds
<eam>
stringy-eval is like ruby's eval, and block-eval is like ruby's begin/rescue
<shevy>
hmm
AngryEgret is now known as AngryEgret_afk
<jhass>
neoice: fully pass by reference, that we have some immutable types doesn't really matter IMO
charliesome has joined #ruby
<shevy>
is it really called "stringy-eval"? or did you make up that word
<eam>
shevy: and that's why you can't BNF ruby, btw
karmatr0n has joined #ruby
<eam>
or, one of many reasons
<eam>
shevy: I did not make it up
<centrx>
meta- meta-dynamic metaprogramming
<eam>
begin/ensure can contain grammar which no parser can handle, yet is valid ruby
<eam>
in my defense, strings can be pretty stringy
<shevy>
perl has longer docus than ruby
<eam>
perl has amazingly better docs than ruby
<shevy>
local $SIG{'__DIE__'} = sub { (my $x = $_[0]) =~ s/foo/bar/g; die $x };
<eam>
it's cool though they mostly apply to ruby
<shevy>
how can you even look at this and not die instantly
<eam>
I really am not kidding when I say I use perldoc to undersetand ruby
klmlfl has quit [Read error: No route to host]
<eam>
shevy: write it in ruby
<eam>
then tell me it's bad
<shevy>
I don't even know what is local
<eam>
that's because ruby doesn't have the concept
mikepack has joined #ruby
<shevy>
ah but there is one cool thing
kayloos has joined #ruby
klmlfl has joined #ruby
<shevy>
you can click on it on that docu!
<eam>
local() is a lexically scoped global
Liquid-- has quit [Ping timeout: 260 seconds]
<shevy>
lol that docu part is cool
<shevy>
"You really probably want to be using my instead, because local isn't what most people think of as "local"."
britneywright has joined #ruby
EasyCo has joined #ruby
<eam>
shevy: imagine you want to set ENV['THING'] for a block scope
msx has quit [Quit: WeeChat 1.0]
<eam>
ENV is a global
sepp2k has quit [Read error: Connection reset by peer]
<Phonetiki>
to some of us, that's just an everyday perlism
<shevy>
directly modifying ENV scares me
msx has joined #ruby
<fennec>
wait when did we turn into #perl
<Phonetiki>
you never set envars?
<eam>
{ local $ENV{'PATH'} = "special:path"; system "special thing"; } # end of block scope, ENV reverts to previous values
wallerdev_ has quit [Quit: wallerdev_]
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam>
you have to use ensure in ruby =/
<eam>
boilerplate code everywhere
bricker`work has joined #ruby
<eam>
I guess you could use a binding?
<fennec>
to be fair, it's a convenience shortcut for something you shouldn't be doing a lot
<eam>
fennec: yeah but that sums up the scripting use case in its entirity
<eam>
lots of little things that individually are terrible
bruno- has joined #ruby
<fennec>
if you are doing it a lot, perhaps write a little helper function with_env(key:value, key:value) do ..... end
<fennec>
that restores it for you :)
<shevy>
Phonetiki actually I have
<eam>
but ENV is explicitly a global per unix
<shevy>
in one project I do ENV['CFLAGS'] = some_new_value_Here
j_mcnally has joined #ruby
moritzschaefer has quit [Ping timeout: 260 seconds]
<shevy>
but I felt dirty afterwards
<eam>
you can't use a mere variable, you're setting platform values
<shevy>
and went to take a bathe immediately afterwards
<shevy>
*bath
<eam>
shevy: ignore local, try to write the rest in ruby
<eam>
see what you end up with
<Phonetiki>
that's just ridiculous
<eam>
my $SIG{'__DIE__'} = sub { (my $x = $_[0]) =~ s/foo/bar/g; die $x };
mikepack has quit [Remote host closed the connection]
<shevy>
well you can see through it, I don't know what is the rest either
AtumT has quit [Remote host closed the connection]
<shevy>
$SIG looks like a global var
msmith_ has joined #ruby
<shevy>
and it dies in a block
kayloos has quit [Ping timeout: 272 seconds]
<shevy>
sub is subroutine right? that's like... a function or something
<fennec>
also note that in Ruby you can system(ENV.merge({hash containing your keys}), command)
<fennec>
and exec
<shevy>
and die will exit, with probably the variable $x put to the user
<shevy>
perl has this nasty habit of putting it all in one line
<eam>
shevy: sub foo {} is def foo. and sub {} is lambda {}
<eam>
they aren't weirdly different like in ruby
GluonQuark has quit [Quit: Leaving]
<eam>
or I guess -> since we're using obscure ruby syntax
<eam>
shevy: Signal.trap() uses a string too
_lexjm has joined #ruby
bruno- has quit [Ping timeout: 258 seconds]
Mia has quit [Read error: Connection reset by peer]
<shevy>
I have not used lambda {} a lot
<shevy>
and thankfully I have never used ->
chipotle has quit [Quit: cya]
aspires has joined #ruby
<shevy>
actually, I do use proc {} sometimes
<shevy>
in some ruby-gnome GUI callback code
mikepack has joined #ruby
<shevy>
Signal.trap('SIGINT') { exit }
<shevy>
\o/
<fennec>
UNIX environments aren't really globals, they're a property of Process. You can create new ones and pass them to child processes with ease. see man 2 execve
Mia has joined #ruby
<eam>
fennec: they're global, always. it just so happens that execve will let you set them when creating a new process (with new process globals)
<eam>
they cannot be thread-local. they're readable from /proc/$$
<fennec>
but a property of Process, not a property of OperatingSystem or Computer. >.>
mocfive has quit [Remote host closed the connection]
amclain has joined #ruby
<eam>
fennec: globals are process globals, there's one per address space
<eam>
that's kinda what the term means
maestrojed has quit [Quit: Computer has gone to sleep.]
bmurt has quit []
<eam>
if unix didn't have protected memory then it would have computer scope
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Nilium>
And that would be a no good, very bad thing
caveat- has quit [Ping timeout: 272 seconds]
* fennec
shrugs. If you're worrying about setting environment variables you're probably worried about invoking another process. or else you're doing it wrong.
<eam>
something something systems programming
<fennec>
something something ms-dos
mikepack has quit [Remote host closed the connection]
* eam
fires up ruby on DOS
maestrojed has joined #ruby
* fennec
contends that operating systems are a mistake.
jonr22 has quit [Ping timeout: 244 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<jle`>
i don't use ruby anymore, but i have fond memories of my time with it
loly0 has joined #ruby
<``PeeR>
what do you use jle` ?
kevkev__ has joined #ruby
flyingcarskill has joined #ruby
sevvie has joined #ruby
Wolland has joined #ruby
<jle`>
haskell
<jle`>
ruby helped me with my transition, though :)
mushky has joined #ruby
mengu has joined #ruby
<``PeeR>
haskell ?
<``PeeR>
damn, don't even know it
<``PeeR>
hehe
<``PeeR>
you use it for websites ?
<``PeeR>
applications ?
larsam has joined #ruby
Kricir has joined #ruby
sigurding has joined #ruby
dukz has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyb3r_ has joined #ruby
relix has joined #ruby
<last_staff1>
why should I ruby instead of, say, python?
kevkev__ has quit [Ping timeout: 272 seconds]
Wolland has quit [Ping timeout: 272 seconds]
<``PeeR>
last_staff1, it's not a competition
<``PeeR>
you should look at what you are programming
<``PeeR>
and then see what langage do you need for THAT thing
<last_staff1>
so pretty much the same conclusion I came up with
Spami has joined #ruby
<``PeeR>
hehe
<last_staff1>
not entirely sure how to sell it to the rest of the staff, in terms of usability
<``PeeR>
BUT
<``PeeR>
Ruby is in expansion on the market
troyready has quit [Ping timeout: 240 seconds]
<``PeeR>
you could find a good job with it
<``PeeR>
it's for your business ?
<last_staff1>
yeah, though it's not so much about the job itself rather than what I'm trying to accomplish
<last_staff1>
basically I'm thinking of a way to make a launcher for vagrant
<last_staff1>
I could use any language that supports gui-creation (that's also somewhat cross-platform), but the ROI isn't necessarily as high when using different languages together
<last_staff1>
i can see it'll become.....messy....sort of.
starkhalo has quit [Ping timeout: 245 seconds]
sinkensabe has quit [Remote host closed the connection]
<``PeeR>
may be if you look for the long term... next programmer... in 20 years... what do you think they will programm with ?
<``PeeR>
i was at a company 5 years ago
<``PeeR>
all scripts in perl and asp
<``PeeR>
grrrrrrr
<last_staff1>
that's a kind of problem in itself though
tagrudev has joined #ruby
<``PeeR>
and we were transcripting in php and Python, haha
narcan has joined #ruby
<last_staff1>
I remember an internal 'suite' of snippets, which had about the same amount of programmers as there were tasks
<``PeeR>
<last_staff1> why should I ruby instead of, say, python?
<``PeeR>
did you pick python randomly ?
<last_staff1>
main gui in java, tasks also in java, some of the programs were in python....well jython, and some with jni-connectors to .net components which again connected to perl and terminals (powershell and bash)
<last_staff1>
messy
dukz has quit [Remote host closed the connection]
<``PeeR>
omg
<last_staff1>
yeah, I picked python randomly.
<``PeeR>
even worste than my history
<``PeeR>
I think the Ruby community is bigger than the Python one..
<``PeeR>
but i'm not sure
<last_staff1>
the answer to that is still funny though: "If it ain't broken, why fix it?"
<``PeeR>
lol
<``PeeR>
my favorite answer
armyriad has quit [Ping timeout: 260 seconds]
w09x has joined #ruby
<last_staff1>
although when I think about it, I think the funniest part was when a co-worker rewrote everything in python with 'bash-connectors'
<last_staff1>
spent, like, 3 months or so on it
<last_staff1>
and it worked beautifully
<last_staff1>
.....on linux
<last_staff1>
the fact that 80% of the tests were windows-centric somehow completely slipped his mind, so none of the scripts would work on that
arup_r has joined #ruby
spinx^ has joined #ruby
<``PeeR>
seriously? he screwed it up ?
kayloos has joined #ruby
gvenkat_ has quit [Quit: Leaving]
<last_staff1>
I wouldn't say he screwed it up, since it worked well in a linux-environment. He just hadn't taken into account adapting the programs to use either bash or powershell depending on the platform it was running on
fabrice31 has joined #ruby
<``PeeR>
kk
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
kamilc__ has joined #ruby
<last_staff1>
at least he did take into account that some people preferred GUIs over CLI, so one could do the same things in headless mode, something that the original suite didn't support
robbyoconnor has quit [Excess Flood]
foooobear has joined #ruby
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby
codecop has joined #ruby
<``PeeR>
ok that's a good thing
<last_staff1>
lol, his face
kayloos has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
mr-foobar has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
<last_staff1>
"It's not working"
<last_staff1>
"Huh? How so?"
<last_staff1>
"That can't be. All the tests I did for every module worked perfectly"
<last_staff1>
"Well, maybe there's something wrong with the powershell scripts then"
<last_staff1>
"more than half the tests are broken"
<last_staff1>
"Powershell!?" <-- the face
aganov has joined #ruby
<``PeeR>
lol
<``PeeR>
DOH
<mozzarella>
use a real shell
<mozzarella>
such as zsh
szuletett has joined #ruby
szuletett has left #ruby [#ruby]
tagrudev has quit [Remote host closed the connection]
<last_staff1>
zsh doesn't come preinstalled everywhere
apeiros has quit [Ping timeout: 260 seconds]
<mozzarella>
nothing does
<mozzarella>
not even bash
arup_r has quit []
<last_staff1>
bash is installed as part of base installations
sinkensabe has joined #ruby
<last_staff1>
although lately I've seen that bash has been replaced with dash, which might require some rewrites of some scripts
<last_staff1>
*as part of default base installations
arup_r has joined #ruby
<last_staff1>
anyway
<last_staff1>
where was I?
<last_staff1>
oh yeah, ruby vs other
bal has joined #ruby
sevvie has quit [Quit: leaving]
<last_staff1>
main thing is, I'm going to parse options into vagrant without using system variables, so I'm trying to figure out the better way to do this
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
yfeldblu_ has joined #ruby
yfeldblu_ has quit [Read error: Connection reset by peer]
<last_staff1>
I first started thinking of this when I found out about JRuby, which would enable me to use java-based properties files
<last_staff1>
though the way java's behaved lately, one would potentially need to do quite some manual stuff beforehand just to get it working
Scotteh_ has quit [Ping timeout: 260 seconds]
timonv_ has joined #ruby
kamilc__ has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 272 seconds]
kamilc__ has joined #ruby
nonmadden has joined #ruby
robbyoconnor has quit [Ping timeout: 258 seconds]
tobago has joined #ruby
Tony273 has joined #ruby
kayloos has joined #ruby
kamilc__ has quit [Read error: Connection reset by peer]
<Tony273>
I am having an issue with ruby, when I try running a pplication that depends on ruby I keep getting this after executing the installer
amil has joined #ruby
<Tony273>
"/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- kafo (LoadError)"
sectionm1 has quit [Ping timeout: 260 seconds]
<last_staff1>
is kafo installed?
davasaurous has quit [Remote host closed the connection]
Tomme has joined #ruby
<Tony273>
last_staff1, I see the following under rpm "rubygem-kafo-0.6.5-1.el6.noarch" and "rubygem-kafo_parsers-0.0.3-1.el6.noarch"
mityaz_ has quit [Quit: Leaving]
kayloos has quit [Ping timeout: 260 seconds]
TommeHo has quit [Ping timeout: 245 seconds]
bal has quit [Quit: bal]
<last_staff1>
what ruby version are you using?
mushky has quit [Ping timeout: 260 seconds]
<last_staff1>
better yet, does this fit your problem?
<apeiros>
aasdasdasd: that "for" loop is a string. not code. only when python runs it it becomes code.
<krz>
group by "result"
diegoviola has joined #ruby
<apeiros>
aasdasdasd: and at that point, there is no `node` variable, nor its data
noop has quit [Ping timeout: 244 seconds]
kaspertidemann has joined #ruby
noop has joined #ruby
tokik has quit [Ping timeout: 260 seconds]
elstif has joined #ruby
timonv_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Advocation has joined #ruby
<krz>
updated gist
yfeldblum has joined #ruby
Paul_McFreely has joined #ruby
Wolland has joined #ruby
timonv_ has quit [Remote host closed the connection]
EasyCo has quit [Quit: Connection closed for inactivity]
nouran has joined #ruby
bbloom has joined #ruby
Wolland has quit [Ping timeout: 258 seconds]
rdark has quit [Quit: leaving]
elaptics`away is now known as elaptics
<flughafen>
question - https://bpaste.net/show/47cb2a4ce978 - it says ndefined local variable or method `skipped' for main:Object (NameError) on line 27, show_list(skipped)
<apeiros>
certainty: they who has the time to ask the question and read the answer which is just saying the same as the docs
fabrice31 has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
fabrice31_ has joined #ruby
Wolland has joined #ruby
kayloos has quit [Ping timeout: 250 seconds]
blenny has quit [Ping timeout: 260 seconds]
MasterPiece has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
MasterPiece has joined #ruby
klmlfl has quit [Ping timeout: 258 seconds]
<certainty>
apeiros: true thing. Maybe they're looking for someone to talk to
<apeiros>
then they should ask accordingly
<workmad3>
apeiros: they've obviously got more time than that... as they also had time to rephrase the docs into bad english while doing so...
<apeiros>
but treating irc as your personal doc reader is rude.
francisfish has quit [Remote host closed the connection]
DaniG2k has joined #ruby
MasterPiece has quit [Remote host closed the connection]
roolo has quit [Remote host closed the connection]
<certainty>
and waiting for the answer
roolo has joined #ruby
Scotteh has joined #ruby
francisfish has joined #ruby
cwnpig has joined #ruby
ta has quit [Remote host closed the connection]
<jhass>
gr33n7007h: don't misinterpret them, you are allowed to ask questions if you have trouble to understand the docs. Just try to make them more specific and try to show that you invested effort in trying to understand them first
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MasterPiece has joined #ruby
mr-foobar has quit [Ping timeout: 245 seconds]
<apeiros>
hm, I should start adding canned answers to helpa
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
<apeiros>
things like "your question sounds like the docs would have an answer - if you can't find the docs …xxx…, if you have read the docs and have follow up questions, ask accordingly, yadda yadda
roolo has quit [Ping timeout: 245 seconds]
krz has quit [Read error: Connection reset by peer]
apeiros has quit [Remote host closed the connection]
davedev24_ has joined #ruby
mkaesz has quit [Ping timeout: 272 seconds]
<izzol>
well, doc's are not perfect for learning. Sometimes I need to read something 5-10 time to figure out how it works ;-)
apeiros has joined #ruby
<certainty>
blasphemie
nouran is now known as nouranology
<jhass>
is there any explanation why helpa won't listen to everybody?
Takle has joined #ruby
<workmad3>
apeiros: !rtfm maybe? :)
<helpa>
apeiros: I believe you will find the answer to that question in the documentation, good Sir or Madam.
maetthew has quit [Ping timeout: 260 seconds]
lukevinc has joined #ruby
Scotteh has quit [Quit: Later, folks]
paolooo has quit [Quit: Page closed]
Advocation has joined #ruby
oo__ has quit [Remote host closed the connection]
pskosinski has joined #ruby
<certainty>
ok done
<lukevinc>
there is a built in command for ruby, something like rubydocs? like perldoc?
<certainty>
you can use ri if that is what you seek
apeiros has quit [Ping timeout: 260 seconds]
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0.2/20140917194002]]
relix has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
xcv_ has joined #ruby
<izzol>
lukevinc: you can use pry.
<izzol>
it has doc itself.
timgauthier has joined #ruby
relix has joined #ruby
lkba has joined #ruby
dorei has joined #ruby
lolmaus_ has quit [Remote host closed the connection]
KC9YDN has quit [Quit: In this moment, I am euphoric. Not because of any phony god’s blessing. But because, I am enlightened by my intelligence.]
rkalfane has joined #ruby
<jhass>
arup_r: git fetch origin; git branch -r; to get a list of remote branches
blenny has joined #ruby
<arup_r>
jhass: ok
davasaurous has joined #ruby
davasaurous has quit [Client Quit]
sandelius has quit [Ping timeout: 272 seconds]
dopie has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 260 seconds]
lolmaus_ has quit [Quit: Konversation terminated!]
Guest37038 has quit [Ping timeout: 246 seconds]
arup_r has quit []
KC9YDN has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
pencilcheck has quit [Ping timeout: 245 seconds]
blenny has quit [Ping timeout: 250 seconds]
duncannz has quit [Ping timeout: 244 seconds]
vinleod has joined #ruby
pencilcheck has joined #ruby
Guest___ has joined #ruby
Dude007 has joined #ruby
pencilcheck has quit [Client Quit]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gr33n7007h has quit [Quit: Leaving]
rkalfane has joined #ruby
timonv_ has quit [Ping timeout: 245 seconds]
coderhs has quit [Ping timeout: 240 seconds]
teddyp1cker has quit [Read error: Connection timed out]
teddyp1cker has joined #ruby
Tony23 has joined #ruby
rkalfane has quit [Client Quit]
Tony273 has quit [Ping timeout: 245 seconds]
emocakes has quit [Ping timeout: 272 seconds]
coderhs has joined #ruby
dkam has joined #ruby
bruno- has joined #ruby
apeiros has joined #ruby
Xeago has quit [Remote host closed the connection]
klmlfl has joined #ruby
emocakes has joined #ruby
emocakes has quit [Client Quit]
blenny has joined #ruby
emocakes has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
mengu has quit [Remote host closed the connection]
timonv_ has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klmlfl has quit [Ping timeout: 258 seconds]
rdark has quit [Ping timeout: 240 seconds]
i8igmac has quit [Ping timeout: 260 seconds]
w09x has quit [Remote host closed the connection]
w09x has joined #ruby
rdark has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby
fennec has quit [Quit: This computer has gone to sleep]
sigurding has quit [Ping timeout: 244 seconds]
dangerousdave has quit [Client Quit]
dangerousdave has joined #ruby
cirn0 has joined #ruby
mkaesz has joined #ruby
Takle has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
w09x has quit [Ping timeout: 245 seconds]
<shevy>
let's increase the level here
<shevy>
tits!
<shevy>
oh apeiros you are back
<shevy>
yesterday was the first time I wanted to use more than one block
<apeiros>
:)
<shevy>
it was strange because it only seemed to make sense in the context of what I was writing; in this context, a "web object" that should describe all aspects of a page/app, and I already was using some kind of weak DSL
<shevy>
{ use_jquery }
<apeiros>
izzol: it's not about learning
<shevy>
{ use_jquery } { sqlite }
<apeiros>
izzol: his question was one which is exactly reason for the existence of docs.
Kricir has quit [Remote host closed the connection]
Lewix_ has joined #ruby
<Hanmac>
jhass: hm currently dont know what i mean ... but i found the story that 4chan did troll apple users again ... this time with thinking they could use MicroWaves to charge the IPhone ;P
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Channel6 has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
<Hanmac>
jhass: i heard the story that someone did buy the new Iphone ... walks out of the store, does show it to others ... and then it does fall him out of his hand and break ... hm i think that one in your image might be a bit more robust ,P
cocotton has quit [Remote host closed the connection]
<jhass>
;)
Takle has quit [Remote host closed the connection]
<Hanmac>
it is funny, because someone REALLY did think with a software patch the iphone can be charged in the microwave ...
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<C0deMaver1ck>
in all reality, I'll be really happy when we can update hardware capabilities just through software
<Hanmac>
C0deMaver1ck: yeah, hm that would be matrix like ne? ;P
<jhass>
fpga's everywher! nsa is on it, i'm confident
sepp2k has quit [Quit: Konversation terminated!]
kil0byte has joined #ruby
<Hanmac>
C0deMaver1ck: hm depending on the hardware ... you might be able to download the specifications/blueprints of the hardware upgrade, and then a 3dprinter does print the new parts ... or the nano-parts does rearrange itself to fit the new specifications ...
w09x has joined #ruby
<C0deMaver1ck>
hardware specs are generally kept under NDA
mercwithamouth has quit [Ping timeout: 258 seconds]
<C0deMaver1ck>
for instance, a few years ago, when the Peek devices are given to devs because the company failed, they also distributed hardware specs that they weren't legally allowed too
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<C0deMaver1ck>
s/are/were
oo_ has joined #ruby
<Hanmac>
C0deMaver1ck: hm yeah but you mind it like that with upgrading hardware caps?
banister has joined #ruby
momomomomo has joined #ruby
kaspertidemann has joined #ruby
silkfox has joined #ruby
russt has joined #ruby
oleo has joined #ruby
kate_r has joined #ruby
dukz has quit [Remote host closed the connection]
w09x has quit [Ping timeout: 245 seconds]
arup_r has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 244 seconds]
elstif has quit [Quit: Leaving.]
MaciejCzyzewski has joined #ruby
subopt has quit [Remote host closed the connection]
sylvanica has joined #ruby
subopt has joined #ruby
imranraj_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
zeroNones has joined #ruby
spastorino has joined #ruby
dkphenom has joined #ruby
yfeldblum has joined #ruby
icebourg has joined #ruby
ndrei has quit [Quit: Lost terminal]
Takle has joined #ruby
ndrei has joined #ruby
rkalfane has joined #ruby
kaspergrubbe_ has quit [Read error: Connection reset by peer]
kaspergrubbe_ has joined #ruby
Aaaal has joined #ruby
GluonQuark has joined #ruby
imranraja has quit [Ping timeout: 258 seconds]
Mia has quit [Read error: Connection reset by peer]
wm3|away is now known as workmad3
emmesswhy has joined #ruby
kate_r_ has joined #ruby
nonmadden has joined #ruby
emmesswhy has quit [Client Quit]
nouranology has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
ursooperduper has joined #ruby
kate_r has quit [Ping timeout: 250 seconds]
anarang has quit [Ping timeout: 244 seconds]
Ankhers has joined #ruby
kate_r_ has quit [Client Quit]
sectionme has quit [Ping timeout: 250 seconds]
msmith_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<last_staff1>
that microwave story made me think about that story about putting 3-4 phones together with popcorn in the middle
russt has quit [Quit: russt]
<last_staff1>
you know, the one where if all the phones are ringing, the popcorn will pop
bnjamin has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
russt has joined #ruby
iamjarvo has joined #ruby
mengu has quit []
Advocation has quit [Quit: Advocation]
coderhs has quit [Ping timeout: 272 seconds]
dukz has joined #ruby
slyslick has joined #ruby
arya_ has joined #ruby
mary5030 has joined #ruby
slyslick has quit [Read error: Connection reset by peer]
Mia has joined #ruby
slyslick has joined #ruby
last_staff1 has quit [Ping timeout: 246 seconds]
Channel6 has quit [Quit: Leaving]
Advocation has joined #ruby
Darryl has joined #ruby
narph has joined #ruby
freerobby has joined #ruby
reisl has joined #ruby
nouranology has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
cocotton has quit [Remote host closed the connection]
jeremy04 has quit [Remote host closed the connection]
<Wolland>
or don't click it
<centrx>
the choice is yours
emocakes__ has quit []
<Wolland>
:)
klmlfl_ has quit [Ping timeout: 260 seconds]
timonv_ has joined #ruby
rdark has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bricker`work has joined #ruby
roolo has quit [Quit: AAAAaaaaAAAAAAA]
niklasb has joined #ruby
<dorei>
centrx: lets say I have a @filename ivar, it'd be nice if I could have a private attr_writer filename and a public alias of rename for filename=
kaspergrubbe_ has quit [Remote host closed the connection]
<Wolland>
hwat
banister has quit [Max SendQ exceeded]
baroquebobcat has quit [Remote host closed the connection]
Devr3d has joined #ruby
<centrx>
dorei, Just make one public method/accessor
cndiv has joined #ruby
Takle has quit [Remote host closed the connection]
<Wolland>
attr_accessor :filename
<dorei>
i want filename= to be private, but its 'rename' alias to be public
einarj has quit [Remote host closed the connection]
kavinder has quit [Remote host closed the connection]
TheTopBloke has joined #ruby
sethen has quit [Read error: Connection reset by peer]
<centrx>
dorei, probably no shortcut for that
g0bl1n has joined #ruby
Kricir has quit []
<centrx>
a rare thing
banister has joined #ruby
<Wolland>
so rename would do same thing as filename= ?
kayloos has joined #ruby
<Wolland>
why do you need to hide filename= then? just add rename method/alias and leave setter there
maestrojed has joined #ruby
dukz has quit [Remote host closed the connection]
bruno- has joined #ruby
AngryEgret_afk is now known as AngryEgret
nemish has quit [Quit: leaving]
ptrrr has joined #ruby
clyfe has quit [Quit: ChatZilla 0.9.90.1-rdmsoft [XULRunner 22.0/20130619132145]]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carraroj has quit [Ping timeout: 272 seconds]
niklasb has quit [Ping timeout: 260 seconds]
motdd has quit [Ping timeout: 244 seconds]
betafive has joined #ruby
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TieSoul has quit [Ping timeout: 245 seconds]
mib32 has quit [Ping timeout: 258 seconds]
kayloos has quit [Ping timeout: 272 seconds]
noop has quit [Ping timeout: 245 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noop has joined #ruby
chrishough has joined #ruby
mocfive has joined #ruby
starlord has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
<starlord>
Is there any Ruby lib that wraps CFMessagePort?
rubie has joined #ruby
<rubie>
hello everyone
txdv has quit [Read error: Connection reset by peer]
<ericwood>
starlord: is that a cocoa lib?
<starlord>
Kind of.
baroquebobcat has joined #ruby
<starlord>
Or rather, I can wrap it myself. I'll just need to somehow make my wrapper lib instantly available to the user of my app.
<starlord>
In Python this is way easier: "from Foundation import *" and done.
patrick99e99 has joined #ruby
txdv has joined #ruby
<starlord>
Yeah, RubyCocoa is indeed what I want.
<ericwood>
I'm not familiar with any of this so you're on your own from here
<starlord>
I just want it to be already installed on the user's system.
<ericwood>
iirc it is?
roolo has joined #ruby
<ericwood>
or some shit
<ericwood>
idk
<ericwood>
:D
tomatao has joined #ruby
lewix has quit [Remote host closed the connection]
<starlord>
'LoadError: cannot load such file -- rubycocoa'
<starlord>
:'(
<ericwood>
gem install rubycocoa
<ericwood>
but yeah
<ericwood>
so that might be a dealbreaker :(
<tomatao>
hey, anyone using rbenv on ubuntu? I'm seeing that a local version is installed from 'rbenv version' but when I run ruby it's telling me to apt-get it
<Hanmac>
starlord: yeah, how should it be installed already if no one did it?
<starlord>
Apple probably does.
sinkensabe has quit [Remote host closed the connection]
lewix has joined #ruby
<starlord>
They install PyObjC for you.
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AngryEgret is now known as AngryEgret_afk
bthesorceror has joined #ruby
<Hanmac>
starlord: CFMessagePort might be installed on Apple, but rubycocoa is not
<rubie>
does that create a new array or change the original one
timonv_ has quit [Remote host closed the connection]
<centrx>
rubie, select creates a new array, select! modifies the original array in place
<rubie>
ok perfect
<rubie>
many thanks
andikr has quit [Remote host closed the connection]
blackmesa has joined #ruby
angusigu1ss has joined #ruby
oleo is now known as Guest43395
oleo__ has joined #ruby
kobain has joined #ruby
oleo__ has quit [Read error: Connection reset by peer]
oponder has joined #ruby
Xeago has quit [Remote host closed the connection]
gsd has joined #ruby
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
lewix has quit [Remote host closed the connection]
danman has joined #ruby
AngryEgret_afk is now known as AngryEgret
Guest43395 has quit [Ping timeout: 250 seconds]
mocfive has quit [Remote host closed the connection]
kobain has quit [Max SendQ exceeded]
lewix has joined #ruby
oleo__ has joined #ruby
kobain has joined #ruby
oleo__ is now known as oleo
setner has quit [Read error: Connection reset by peer]
killerintersekt has joined #ruby
AngryEgret is now known as AngryEgret_afk
jbueza has joined #ruby
xxneolithicxx has joined #ruby
angusigu1ss has quit [Ping timeout: 272 seconds]
stunder has quit [Remote host closed the connection]
roolo has quit [Remote host closed the connection]
melik has joined #ruby
roolo has joined #ruby
<xxneolithicxx>
hi all, im having some weird issues with Net::FTP, wondering if anyone has run into something similar. Im getting connection timeout on creation of a new instance, however I tested in Filezilla and i can connect ok so I know its not a DNS/connectivity issue. Theres not much more else it could be so I dont understand why the damn thing is timing out on me.
bedouin_ is now known as bedouin
Takle has joined #ruby
lewix has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby
jeremy04 has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
sebryv has quit [Remote host closed the connection]
stunder has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lewix has joined #ruby
AngryEgret_afk is now known as AngryEgret
TorpedoSkyline has joined #ruby
roolo has quit [Ping timeout: 272 seconds]
francisfish has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
roolo has joined #ruby
<xxneolithicxx>
pebcac, forgot i needed to change port and new/open dont take port, sorted
brandonshowers has joined #ruby
caiden has joined #ruby
<caiden>
hey guys, for some reason rbenv won't change ruby versions for me
<caiden>
I tried: rbenv global global 1.9.3-448
lewix has quit [Remote host closed the connection]
<caiden>
it doesn't error, but then ruby -v returns the original version (2.0 something)
lewix has joined #ruby
brandonshowers has quit [Client Quit]
lewix has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
Xeago has joined #ruby
brandonshowers has joined #ruby
lewix has joined #ruby
kireevco has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has quit [Max SendQ exceeded]
nettoweb has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
hiall has quit [Ping timeout: 260 seconds]
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
roolo has quit [Remote host closed the connection]
carraroj has joined #ruby
fabrice31 has joined #ruby
mark_locklear has joined #ruby
roolo has joined #ruby
qba73 has quit []
IceDragon_ has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
root3d has quit [Ping timeout: 260 seconds]
wallerdev has joined #ruby
dANO has quit [Ping timeout: 272 seconds]
russt has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
cocotton has quit [Remote host closed the connection]
rkalfane has joined #ruby
klmlfl_ has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
roolo has quit [Ping timeout: 258 seconds]
Xeago has quit [Remote host closed the connection]
<Akuta>
oh jeeze, i thought it was so obvious i didn't even check documentation
<Akuta>
...thanks.. lol
bklane has quit [Quit: Leaving...]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros>
yw
ptrrr is now known as Ptr
timonv_ has joined #ruby
intersekted has joined #ruby
emmesswhy has joined #ruby
klmlfl_ has quit [Ping timeout: 272 seconds]
Advocation has joined #ruby
AlSquirrel has quit [Quit: This computer has gone to sleep]
timonv_ has quit [Ping timeout: 272 seconds]
ixti has joined #ruby
kayloos has joined #ruby
tris has joined #ruby
bthesorceror has joined #ruby
shock_one has joined #ruby
<shock_one>
Hi. Having a class object and an instance of another claas, how would I cast an object to this class? For example, I want to cast nil to String, but there can be a different class instead of String.
starless has quit [Ping timeout: 272 seconds]
<shock_one>
So, I need some metaprogramming solution instead of just .to_s.
sigurding has quit [Quit: sigurding]
ringarin has joined #ruby
<eam>
shock_one: you want to translate it to an arbitrary other object?
<shock_one>
Yes.
<eam>
cast is the wrong word, I think
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros>
shock_one: there's no casting. you'll need a method which returns a new object of the desired class.
AlexRussia has quit [Remote host closed the connection]
<eam>
that'd be kinda nice actually
AlexRussia has joined #ruby
momomomomo has quit [Ping timeout: 260 seconds]
jay_ has joined #ruby
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ghostmoth has joined #ruby
<Firespirit>
apeiros or anyone: that my code:https://gist.github.com/anonymous/dbb6d2c539131c77bacd and that the xml i one to modify:https://gist.github.com/anonymous/7d21f0a181c7f4779c76 but i get the error: Document already has a root node.. i don't understand why
<shock_one>
eam, that you for your help.
<eam>
shock_one: you'd have to write your own conversion routines for many mappings, of course
AlexRussia has quit [Excess Flood]
tkuchiki has joined #ruby
yetanotherdave has joined #ruby
AlexRussia has joined #ruby
unrar has joined #ruby
<unrar>
hey
elstif has quit [Quit: Leaving.]
HelperW has quit [Ping timeout: 272 seconds]
g0bl1n has quit [Quit: g0bl1n]
momomomomo has joined #ruby
<eam>
>> class Object; def to_1; 1; end; end; 5.to_1
<apeiros>
Firespirit: I didn't get around to look. but the error indicates that you try to add a node at the root level. xml allows only one root iirc.
francisfish has joined #ruby
Maitiu has quit []
dopiee has joined #ruby
fennec has joined #ruby
baltazore has quit [Remote host closed the connection]
carraroj has quit [Quit: Konversation terminated!]
baltazore has joined #ruby
milkohol has joined #ruby
carraroj has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
w09x has joined #ruby
Paul_McFreely has quit [Quit: Computer has gone to sleep.]
chrishou_ has joined #ruby
<Firespirit>
i know apeiros the error message is obvious but i don't understand what i do wrong
chrishou_ has quit [Client Quit]
chrishou_ has joined #ruby
Paul_McFreely has joined #ruby
<shock_one>
apeiros: eam: So, here's how it's done in Mongoid: String.mongoize 2 # "2". The API is public, so I can use it. Thank you again.
chrishough has quit [Ping timeout: 260 seconds]
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
agjacome has joined #ruby
w09x has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby
endash has joined #ruby
coderdad has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
momomomomo has quit [Quit: momomomomo]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TorpedoSkyline has quit [Ping timeout: 244 seconds]
angusigu1ss has joined #ruby
Ptr has quit [Read error: Connection reset by peer]
Tricon has joined #ruby
jottr_ is now known as jottr
Takle has quit [Remote host closed the connection]
ptrrr has joined #ruby
threesixes has joined #ruby
sigurding has quit [Quit: sigurding]
TorpedoSkyline has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
kedare has quit [Quit: WeeChat 0.4.1]
fabrice31 has joined #ruby
coderdad has joined #ruby
Xeago has joined #ruby
angusigu1ss has quit [Ping timeout: 246 seconds]
root3d has quit [Ping timeout: 250 seconds]
brandonshowers has joined #ruby
robustus|Off has quit [Ping timeout: 250 seconds]
poguez_ has joined #ruby
tvw has quit []
Xeago has quit [Remote host closed the connection]
G1eb has joined #ruby
tvw has joined #ruby
chrishou_ has quit [Read error: Connection reset by peer]
HelperW has joined #ruby
^[]^ is now known as ^42
TorpedoSkyline has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moritzschaefer has quit [Ping timeout: 260 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
paulfm has joined #ruby
TorpedoSkyline has joined #ruby
cndiv has quit [Ping timeout: 272 seconds]
HelperW_ has quit [Ping timeout: 260 seconds]
gsd has joined #ruby
LangeOortjes has quit [Quit: WeeChat 1.0]
tvw has quit []
techsethi has quit [Quit: techsethi]
timonv_ has quit [Ping timeout: 246 seconds]
ffranz has quit [Ping timeout: 272 seconds]
wldcordeiro_ has joined #ruby
awestroke has joined #ruby
awestroke has quit [Remote host closed the connection]
awestroke has joined #ruby
kate_r has joined #ruby
bryan1 has joined #ruby
jheg_ has joined #ruby
bryan1 has quit [Client Quit]
yoshbu has quit [Remote host closed the connection]
gsd has quit [Ping timeout: 246 seconds]
mikeg has quit [Remote host closed the connection]
himsin has joined #ruby
techsethi has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klmlfl_ has joined #ruby
himsin has quit [Client Quit]
sinkensabe has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
ixti has joined #ruby
chipotle has joined #ruby
AlexRussia has quit [Remote host closed the connection]
chipotle has quit [Max SendQ exceeded]
Sht0 has joined #ruby
AlexRussia has joined #ruby
fennec has quit [Quit: This computer has gone to sleep]
klmlfl_ has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
Chyna_Hodkiewicz has joined #ruby
<xxneolithicxx>
Firespirit: are you trying to modify the XML document? If so why bother with the builder?
lewix has quit [Remote host closed the connection]
bayed has quit [Quit: Connection closed for inactivity]
kobain has quit [Ping timeout: 244 seconds]
mferrier has joined #ruby
lewix has joined #ruby
chrishough has quit [Read error: Connection reset by peer]
gsd has joined #ruby
sepp2k has joined #ruby
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
ffranz has joined #ruby
benzrf is now known as benzrf|offline
elstif has joined #ruby
lewix has quit [Ping timeout: 245 seconds]
kobain has joined #ruby
gsd has quit [Ping timeout: 272 seconds]
<Firespirit>
anyonecan help?: that my code:https://gist.github.com/anonymous/dbb6d2c539131c77bacd and that the xml i one to modify:https://gist.github.com/anonymous/7d21f0a181c7f4779c76 but i get the error: Document already has a root node.. i don't understand why
elstif has quit [Client Quit]
benlieb has quit [Ping timeout: 250 seconds]
benlieb_ has joined #ruby
kirun has joined #ruby
Chyna_Hodkiewicz has quit [Remote host closed the connection]
cirn0 has joined #ruby
endash has quit [Ping timeout: 246 seconds]
speaking1ode has quit [Ping timeout: 258 seconds]
MaciejCzyzewski has joined #ruby
noop has quit [Ping timeout: 260 seconds]
kenneth has joined #ruby
agent_white has joined #ruby
cirn0 has quit [Ping timeout: 272 seconds]
<agent_white>
Afternoon folks.
shosti has quit [Ping timeout: 272 seconds]
techsethi has quit [Quit: techsethi]
kayloos has joined #ruby
kayloos has quit [Read error: Connection reset by peer]
kayloos has joined #ruby
jrhe_ has quit [Quit: Connection closed for inactivity]
seanosaur has joined #ruby
JoshGlzBrk has joined #ruby
altamic has joined #ruby
mikeym has joined #ruby
LangeOortjes has joined #ruby
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby
decoponio has quit [Quit: Leaving...]
w09x has joined #ruby
wjimenez_ has joined #ruby
last_staff has quit [Remote host closed the connection]
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wjimenez5271 has quit [Ping timeout: 260 seconds]
benzrf|offline is now known as benzrf
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mattstratton has quit [Read error: No route to host]
skammer3 has joined #ruby
mattstratton has joined #ruby
unrar has quit [Quit: Leaving]
bMalum has quit [Ping timeout: 245 seconds]
bMalum has joined #ruby
g0bl1n has joined #ruby
mikeg has joined #ruby
altamic has quit [Quit: altamic]
last_staff has joined #ruby
pierre1_ has joined #ruby
angusigu1ss has joined #ruby
mikeym has quit [Max SendQ exceeded]
jerius has quit []
mikeym has joined #ruby
mikeym has quit [Max SendQ exceeded]
skammer3 has quit [Ping timeout: 240 seconds]
mikeym has joined #ruby
mikeym has quit [Max SendQ exceeded]
xcv has joined #ruby
mikeym has joined #ruby
mikeym has quit [Max SendQ exceeded]
nonmadden has quit [Remote host closed the connection]
pierre1_ has quit [Client Quit]
mikeym has joined #ruby
mikeym has quit [Max SendQ exceeded]
G1eb has left #ruby [#ruby]
Jackneill has quit [Remote host closed the connection]
dru has quit [Ping timeout: 240 seconds]
mikeym has joined #ruby
mikeym has quit [Max SendQ exceeded]
DivineEntity has quit [Ping timeout: 245 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
HelperW_ has joined #ruby
gsd has joined #ruby
angusigu1ss has quit [Ping timeout: 272 seconds]
kate_r has joined #ruby
sigurding has quit [Quit: sigurding]
brandonshowers has joined #ruby
HelperW__ has joined #ruby
HelperW_ has quit [Ping timeout: 260 seconds]
starless has quit [Ping timeout: 250 seconds]
carraroj has quit [Quit: Konversation terminated!]
g0bl1n has quit [Quit: g0bl1n]
gsd has quit [Ping timeout: 245 seconds]
nanoyak has joined #ruby
spyderman4g63 has quit [Read error: Connection reset by peer]
spyderma_ has joined #ruby
francisfish has quit [Remote host closed the connection]
HelperW__ has quit [Ping timeout: 260 seconds]
cocotton_ has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
themadcanudist has joined #ruby
timonv_ has joined #ruby
awestroke has quit [Remote host closed the connection]
maestrojed has quit [Quit: Computer has gone to sleep.]
<themadcanudist>
hey guys, just wondering if there is some resource/utility that can help me consume an erb script and make changes to the erb file on everything identified as a method variable to change it to an instance variable?
DivineEntity has joined #ruby
nettoweb has joined #ruby
omosoj has quit [Ping timeout: 272 seconds]
blackmesa has quit [Ping timeout: 272 seconds]
ixti has quit [Quit: WeeChat 1.0]
fella5s has quit [Ping timeout: 260 seconds]
<themadcanudist>
I basically need a utility that understands .erb syntax and can "highlight" the variables or other structures I want to modify
kaspergrubbe_ has quit [Remote host closed the connection]
echevemaster has quit [Quit: Leaving]
<themadcanudist>
some sort of lexer something
jkline has joined #ruby
fella5s has joined #ruby
MaciejCzyzewski has joined #ruby
kate_r has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
cocotton has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby
<jkline>
I'm converting a Hash to yaml using {}.to_yaml. The document seperator "---" is always included. Is there a way to avoid the "---" seperator? (I want to embed some yaml inside a larger existing document, not create a new yaml document.)
cocotton_ has quit [Ping timeout: 245 seconds]
mikeg has quit [Remote host closed the connection]
diegoviola has joined #ruby
Hobogrammer has joined #ruby
endash has joined #ruby
klmlfl_ has joined #ruby
maestrojed has joined #ruby
tolo123 has quit [Quit: tolo123]
Hulgurrk has joined #ruby
ht__th has quit [Read error: Connection reset by peer]
<Hulgurrk>
Hello
<Tricon>
Hi.
cocotton has joined #ruby
<Hulgurrk>
Finally an answer
arup_r has quit [Quit: Leaving.]
jimmyhoughjr has quit [Ping timeout: 260 seconds]
VBlizzard has joined #ruby
<Hulgurrk>
Is Ruby a channel for chat ?
michaeldeol has joined #ruby
<Tricon>
Q&A/chat.
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cocotton has quit [Remote host closed the connection]
Xiti has quit [Quit: Leaving]
<Hulgurrk>
Ok, well, Does anyone know about a secret order like a vampire thing or a knight brotherwood that still exist ?
cocotton has joined #ruby
<jkline>
My YAML::ENGINE.yamler is "psych"
<Hulgurrk>
??
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Deele has quit [Quit: User excited]
blackmesa has joined #ruby
<jkline>
If we knew about it, it wouldn't be secret?
Xiti has joined #ruby
mikepack has quit [Remote host closed the connection]
teddyp1cker has quit [Remote host closed the connection]
jerius has joined #ruby
Blizzy has quit [Ping timeout: 272 seconds]
startupality has joined #ruby
klmlfl_ has quit [Ping timeout: 272 seconds]
<Hulgurrk>
Idk maybe you heard about something
cocotton has quit [Remote host closed the connection]
<Hulgurrk>
or found something in the deep web
emmesswhy has joined #ruby
<Hulgurrk>
who knows
<themadcanudist>
I found something about vampires not being real
<jkline>
I've heard that colleges have secret societies.
<jkline>
I've heard there are secret government meetings.
<agent_white>
Of course they do! Like "the skulls"
Deele has joined #ruby
LangeOortjes has quit [Remote host closed the connection]
<jkline>
And Apple keeps a lot of secrets about their products.
<apeiros>
Hulgurrk: this channel is secret. how did you find it?
<jkline>
(Like most companies i'm sure.)
<agent_white>
I puts secrets in my coffee in the morning... that and Ruby.
endash has quit [Quit: endash]
<wallerdev>
i may or may not be part of a secret society
<Hulgurrk>
themadcanudist: So you don't think they're real
crazydiamond has joined #ruby
nobitanobi has joined #ruby
<Hulgurrk>
wallerdev: explain yourself
<wallerdev>
cant
<wallerdev>
:p
gsd has joined #ruby
startupality has quit [Client Quit]
<Hulgurrk>
apeiros: i always find secret things
atmosx has joined #ruby
<themadcanudist>
Hulgurrk: rdoc vampires
<themadcanudist>
File not found: vampires
<Hulgurrk>
wallerdev: come on dude !
* themadcanudist
shrugs
yalue has quit [Quit: Leaving]
<wallerdev>
come to SF and ill show you
<jkline>
Ruby is bad at secrets, the directives "protected" and "private" are mearly suggestions, you can still use :send, or other meta programming to access internals.
gsd_ has joined #ruby
almostworking has joined #ruby
<jkline>
Object#instance_variable_get, for another example.
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nobitanobi>
Question... When somebody says a method is too 'verbose' what do they refer to?
<jkline>
Too much output?
almostworking has left #ruby [#ruby]
<jkline>
Too many comments?
<jkline>
Unclear code?
<Hulgurrk>
If i tell you that my ancestors were vampires hunters, Italian Knights
<jkline>
Too much code? Should be broken in to smaller methods?
coderdad has quit [Remote host closed the connection]
<jkline>
I'm not sure @nobitanobi
<themadcanudist>
Hulgurrk: Looks like they did a good job. None left.
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
britneywright has joined #ruby
bricker`work has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 272 seconds]
mattstratton has joined #ruby
kaspergrubbe_ has quit [Remote host closed the connection]
halloush has left #ruby ["Leaving"]
skammer3 has quit [Ping timeout: 250 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Ping timeout: 272 seconds]
nfk has quit [Quit: yawn]
nettoweb has joined #ruby
RichardLitt has quit [Ping timeout: 244 seconds]
bricker`work has joined #ruby
Koshian_ has quit [Ping timeout: 260 seconds]
stopbit has quit [Ping timeout: 272 seconds]
TorpedoSkyline has joined #ruby
freerobby has joined #ruby
stopbit has joined #ruby
britneyw_ has joined #ruby
edoceo has quit [Quit: leaving]
angusigu1ss has joined #ruby
cirn0 has joined #ruby
britneywright has quit [Ping timeout: 272 seconds]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
britneywright has joined #ruby
Mekkis has joined #ruby
Laury_Zboncak has joined #ruby
tylersmith has joined #ruby
seanosaur has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
cirn0 has quit [Ping timeout: 250 seconds]
angusigu1ss has quit [Ping timeout: 260 seconds]
britneyw_ has quit [Ping timeout: 272 seconds]
jon_k has quit [Ping timeout: 245 seconds]
nanoyak has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ephemerian has quit [Quit: Leaving.]
timgauthier has joined #ruby
britneyw_ has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
shosti has quit [Remote host closed the connection]
britneywright has quit [Ping timeout: 245 seconds]
coderdad has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
<bricker`work>
I'm trying to decode a murmurhash3-encoded string, does anybody have experience with this? The one ruby lib that's out there doesn't match the results I'm getting from the Java lib
Zackio has quit [Ping timeout: 244 seconds]
startupality has quit [Quit: startupality]
britneyw_ has quit [Read error: Connection reset by peer]
crdpink2 has joined #ruby
britneywright has joined #ruby
crdpink has quit [Ping timeout: 244 seconds]
Laury_Zboncak has quit [Ping timeout: 250 seconds]
kil0byte has joined #ruby
britneywright has quit [Read error: Connection reset by peer]
britneywright has joined #ruby
britneywright has quit [Client Quit]
bruno- has joined #ruby
wallerdev has quit [Quit: wallerdev]
bricker`LA has joined #ruby
blackgoat has joined #ruby
ramfjord has joined #ruby
Jerald_Wisozk has joined #ruby
hmsimha has joined #ruby
lewix has quit [Remote host closed the connection]
kireevco has joined #ruby
KC9YDN-2 has quit [Quit: In this moment, I am euphoric. Not because of any phony god’s blessing. But because, I am enlightened by my intelligence.]
Firespirit has quit [Remote host closed the connection]
kireevco has quit [Max SendQ exceeded]
Firespirit has joined #ruby
KC9YDN has joined #ruby
nettoweb has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
kireevco has joined #ruby
lewix has joined #ruby
nettoweb has quit [Max SendQ exceeded]
kireevco has quit [Max SendQ exceeded]
freerobby has quit [Quit: Leaving.]
shock_one has joined #ruby
kireevco has joined #ruby
nettoweb has joined #ruby
pasv has joined #ruby
kireevco has quit [Max SendQ exceeded]
nettoweb has quit [Max SendQ exceeded]
kireevco has joined #ruby
pasv is now known as Guest39143
kireevco has quit [Max SendQ exceeded]
f0ster has joined #ruby
nettoweb has joined #ruby
bricker`LA has quit [Ping timeout: 272 seconds]
HelperW__ has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
mattmcclure has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hiall has quit [Quit: hiall]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
ppinto has quit [Quit: ppinto]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
cleopatra has quit [Ping timeout: 272 seconds]
kireevco has quit [Max SendQ exceeded]
lewix has quit [Ping timeout: 260 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
davasaur_ has joined #ruby
kireevco has quit [Max SendQ exceeded]
crdpink has joined #ruby
RichardLitt has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
shock_one has quit [Ping timeout: 244 seconds]
lewix has joined #ruby
nettoweb has quit [Client Quit]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
crdpink2 has quit [Ping timeout: 260 seconds]
Zackio has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
HelperW__ has quit [Ping timeout: 260 seconds]
St_Marx has quit [Ping timeout: 264 seconds]
<patrick99e99>
hey guys.. quick question.. an anonymous class i.e. Class.new ... Is there a way to perform inheritence with this?
wallerdev has joined #ruby
Wolland has quit [Remote host closed the connection]