nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
mmitchell has joined #ruby
skattyadz has joined #ruby
elux has joined #ruby
vipjun has quit [Ping timeout: 264 seconds]
nomenkun has quit [Read error: Connection reset by peer]
etcetera has joined #ruby
nomenkun has joined #ruby
etcetera has quit [Client Quit]
onlinenickid has quit [Quit: Nettalk6 - www.ntalk.de]
dsferreira has quit [Quit: This computer has gone to sleep]
CreativeEmbassy has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
tcstar has quit [Ping timeout: 245 seconds]
takeru has joined #ruby
ebobby has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
drumsrgr1 is now known as drumsrgr8forn8
hemanth has joined #ruby
woolite64 has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
takeru has quit [Ping timeout: 250 seconds]
nomenkun has quit [Read error: Connection reset by peer]
rmelissari has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
etcetera has joined #ruby
Konfusius is now known as KonfuAFK
mpfundstein has joined #ruby
bonhoeffer has joined #ruby
Xeago has quit [Remote host closed the connection]
etcetera has quit [Client Quit]
alx- has joined #ruby
chrisnicola has quit [Quit: This computer has gone to sleep]
b0oh has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
horofox has joined #ruby
nomenkun has joined #ruby
b0oh has quit [Client Quit]
yshh has quit [Remote host closed the connection]
apeiros_ has joined #ruby
jtperreault has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
drumsrgr8forn8 has quit [Quit: WeeChat 0.3.9.2]
terrific has left #ruby [#ruby]
PragCypher has quit [Remote host closed the connection]
mrsolo has quit [Quit: Leaving]
malkomalko has joined #ruby
aed has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
nomenkun has joined #ruby
newUser1234 has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
eka has quit [Quit: Computer has gone to sleep.]
nomenkun has joined #ruby
apeiros_ has quit [Ping timeout: 276 seconds]
etcetera has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
jbueza has joined #ruby
nomenkun has joined #ruby
Kuifje has quit [Ping timeout: 252 seconds]
etcetera has quit [Client Quit]
evenix has joined #ruby
kpshek has joined #ruby
yashshah__ has quit [Read error: Connection reset by peer]
NiteRain has quit [Ping timeout: 246 seconds]
nomenkun has quit [Read error: Connection reset by peer]
yashshah__ has joined #ruby
perun__ has quit [Ping timeout: 248 seconds]
wwwrunner2 has quit [Ping timeout: 256 seconds]
Nisstyre-laptop has joined #ruby
carlyle has joined #ruby
ilyam has quit [Quit: ilyam]
evenix has quit [Ping timeout: 250 seconds]
PragCypher has joined #ruby
R_Macy has quit [Quit: Computer has gone to sleep.]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
feedbackloop has quit [Ping timeout: 260 seconds]
awarner has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
carlyle has quit [Remote host closed the connection]
jasonthesensei has left #ruby [#ruby]
F1skr has quit [Quit: WeeChat 0.4.0]
xardas has quit [Ping timeout: 276 seconds]
tealmage has quit [Remote host closed the connection]
Spooner_ has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
ckrailo has quit [Quit: Computer has gone to sleep.]
horofox has quit [Quit: horofox]
the_jeebster has quit [Quit: Leaving.]
aedornm has quit [Quit: Leaving]
Takehiro has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
lupinstein has joined #ruby
hemanth has joined #ruby
nik_-_ has quit [Quit: nik_-_]
caveat- has quit [Ping timeout: 255 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Takehiro has quit [Ping timeout: 240 seconds]
verysoftoiletppr has joined #ruby
apeiros_ has joined #ruby
alx- has quit [Ping timeout: 240 seconds]
ephemerian has quit [Quit: Leaving.]
masaya has joined #ruby
mikurubeam has joined #ruby
hasimo has joined #ruby
wsylvest has joined #ruby
mpfundstein has quit [Remote host closed the connection]
nomenkun has joined #ruby
kpshek has quit []
wsylvest has quit [Client Quit]
rupee has quit [Quit: Leaving]
manyoo has joined #ruby
mikepack has quit [Remote host closed the connection]
jellosea_ has joined #ruby
hasimo has quit [Ping timeout: 260 seconds]
mikurubeam has quit [Ping timeout: 276 seconds]
manyoo has quit [Client Quit]
fixl has joined #ruby
apeiros_ has quit [Ping timeout: 248 seconds]
dsferreira_ has joined #ruby
marcdel has joined #ruby
marr has quit [Ping timeout: 264 seconds]
linguini has joined #ruby
cyberflux has joined #ruby
banjara has quit [Quit: Leaving.]
nomenkun has quit [Ping timeout: 256 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
samphippen has quit [Quit: Computer has gone to sleep.]
mikurubeam has joined #ruby
stkowski has quit [Quit: stkowski]
<linguini>
Should # ruby -e "require 'mkmf'" # succeed without any additional gems?
Takehiro has joined #ruby
<Caelum>
linguini: it does for me
<Caelum>
linguini: but I have some gems installed
<Caelum>
linguini: on my system 1.8 ruby it fails
luckyruby has quit [Remote host closed the connection]
dsferreira_ has quit [Quit: This computer has gone to sleep]
<linguini>
Caelum: Thanks; it looks like mkmf is on http://www.ruby-doc.org/stdlib-1.9.3/ , but the above does not work for me (using ruby 1.9.3p194).
freezway has joined #ruby
dhruvasagar has joined #ruby
ryanf has quit [Ping timeout: 264 seconds]
<freezway>
so im calling a function and in that function, I declare an array. but it gives me /home/andrew/NetBeansProjects/guitarHero/lib/main.rb:16:in `draw_arrow': undefined method `[]' for nil:NilClass (NoMethodError)
dhruvasagar has quit [Read error: Connection reset by peer]
<freezway>
I remade guitar hero in 49 lines
<freezway>
its fucking ugly code
<freezway>
but it works
mockra has quit [Remote host closed the connection]
mockra has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
<shock_one>
what IO do you use?
love_color_text has joined #ruby
jeremywrowe has quit [Ping timeout: 256 seconds]
takeru has joined #ruby
<freezway>
Rubygame
jeremywrowe has joined #ruby
<freezway>
then Midilib for loading midis
fuzai has joined #ruby
otters has quit [Quit: bye]
dhruvasa1ar has joined #ruby
otters has joined #ruby
jwang has joined #ruby
itsdavem has quit [Remote host closed the connection]
echobin8 has quit [Read error: Connection reset by peer]
r0bby has quit [Ping timeout: 245 seconds]
echobinary has joined #ruby
itsdavem has joined #ruby
browndawg has joined #ruby
Astralum has joined #ruby
Astral__ has quit [Ping timeout: 256 seconds]
rafacv has quit [Remote host closed the connection]
araujo has quit [Quit: Leaving]
earthquake has joined #ruby
zomgbie has joined #ruby
itsdavem has quit [Remote host closed the connection]
girija has joined #ruby
R_Macy_ has quit [Quit: Computer has gone to sleep.]
r0bby has joined #ruby
yewton has quit [Excess Flood]
itsdavem has joined #ruby
yewton has joined #ruby
freezway has quit [Ping timeout: 276 seconds]
yewton has quit [Excess Flood]
yewton has joined #ruby
mockra has quit [Remote host closed the connection]
zomgbie has quit [Ping timeout: 248 seconds]
generalissimo has quit [Remote host closed the connection]
itsdavem has quit [Remote host closed the connection]
itsdavem has joined #ruby
itsdavem has quit [Remote host closed the connection]
gommo has quit [Remote host closed the connection]
yewton has quit [Excess Flood]
yewton has joined #ruby
Villadelfia has quit [Read error: Connection reset by peer]
SeySayux has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
havenwood has quit [Remote host closed the connection]
Villadelfia has joined #ruby
SeySayux has joined #ruby
Zolo has joined #ruby
popori has quit [Read error: Connection reset by peer]
girija has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
hbpoison has quit [Ping timeout: 245 seconds]
hemanth has joined #ruby
<hemanth>
: /var/lib/gems/2.0/ has no bin dir!
sepp2k has joined #ruby
roadt has quit [Ping timeout: 252 seconds]
<shock_one>
It's a great library. I don't have many experience with event systems, can anyone explain me what is the right way to listen to events? Because the example from Rubygame site doesn't seem perfect — it uses 25% of my CPU in the idle state. until @event_queue.wait().is_a? Events::KeyPressed; end
<shock_one>
many -> much
v0n has joined #ruby
mercwith1mouth has quit [Ping timeout: 245 seconds]
dogweather has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 260 seconds]
djwonk has joined #ruby
drale2k has joined #ruby
Quebert has joined #ruby
aedornm has quit [Quit: Leaving]
rocket has quit [Ping timeout: 252 seconds]
Takehiro has joined #ruby
Takehiro has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
Takehiro has joined #ruby
drale2k has quit [Ping timeout: 245 seconds]
drale2k has joined #ruby
Banistergalaxy has quit [Ping timeout: 260 seconds]
bigmac has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 260 seconds]
Banistergalaxy has joined #ruby
apeiros_ has joined #ruby
Artheist has joined #ruby
hbpoison has joined #ruby
yacks has quit [Ping timeout: 250 seconds]
brianpWins has quit [Quit: brianpWins]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
hbpoison has quit [Ping timeout: 240 seconds]
tealmage has joined #ruby
sn0wb1rd_ has joined #ruby
aedornm has joined #ruby
zomgbie has joined #ruby
Banistergalaxy has quit [Ping timeout: 260 seconds]
echobin97 has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
akashj87 has joined #ruby
tealmage has quit [Ping timeout: 256 seconds]
zomgbie has quit [Ping timeout: 264 seconds]
Banistergalaxy has joined #ruby
Mchl has quit [Remote host closed the connection]
mikurubeam has quit [Quit: +1 (Yes). -1 (No). i (WTF?).]
hogeo_ has joined #ruby
mikepack has joined #ruby
hogeo has quit [Ping timeout: 276 seconds]
Zolo has quit [Remote host closed the connection]
sn0wb1rd has left #ruby [#ruby]
nomenkun has joined #ruby
oinkon has joined #ruby
<oinkon>
I seem to need an extra space after '\n' to get the newline to show up in put's output?
v0n has quit [Ping timeout: 248 seconds]
chussenot has joined #ruby
<oinkon>
i guess so. as documented. it likes to insert separators
<apeiros>
in case you missed some live action ;-) (won't watch it live, keeping it up for training time)
<apeiros>
saving it up?
love_color_text has quit [Ping timeout: 255 seconds]
freeayu has joined #ruby
<Xeago>
nah, watching it live now
hiroyuki has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
<Xeago>
tho, is it just me, or is the patch that blizzard applied a while ago, regarding nameplates and location on map, reversed?
* dblack_
is working on well-grounded rubyist updates
hemanth has joined #ruby
dblack_ is now known as realDAB
francisfish has joined #ruby
Takehiro has joined #ruby
robustus has quit [Ping timeout: 276 seconds]
* realDAB
is confused about what nick i now have
<realDAB>
ok
<realDAB>
that nick
<realDAB>
so who is dblack?
maxmanders has joined #ruby
<realDAB>
i don't think it's the newly registered dblack (whose name is not david)
<realDAB>
is there another david black here?
* realDAB
undergoes severe identity crisis
biofobico has quit [Quit: biofobico]
robustus has joined #ruby
* Hanmac
is now not known as dblack
Dreamer3 has joined #ruby
hbpoison has joined #ruby
skipi has joined #ruby
MrZYX has quit [Quit: Bye]
MrZYX|off has joined #ruby
MrZYX|off is now known as MrZYX
Takehiro has quit [Ping timeout: 248 seconds]
maxmanders has quit [Ping timeout: 260 seconds]
pskosinski has joined #ruby
drale2k has quit [Quit: Leaving...]
jrajav has joined #ruby
jimeh has joined #ruby
ozgura has quit [Ping timeout: 252 seconds]
miskander has joined #ruby
<realDAB>
i seem to be both dblack and realDAB. i don't know exactly how that can be.
<realDAB>
anyway, back to ruby
<Xeago>
apeiros: what do you think of rachel
<Xeago>
she's so bad at interviewing and gets the players in awkward situations..
hemanth has quit [Read error: Connection reset by peer]
<apeiros>
I probably shouldn't say that she's swiss then? :)
hemanth has joined #ruby
<Xeago>
is she?
<apeiros>
afaik
fire has joined #ruby
swex_ has joined #ruby
<Xeago>
anyways, you said it, answer my question, or explain what you meant by saying she's swiss
techlife has quit [Ping timeout: 256 seconds]
<Xeago>
also
<Xeago>
the analysis deck, AWFULLLLLL!
swex has quit [Ping timeout: 260 seconds]
<apeiros>
I mostly watch the games and skip all interviews
<apeiros>
so I don't really know what she asks :)
<apeiros>
but she looks good! :D
<Xeago>
looks 'kay', you seen her imgurs?
<Xeago>
I reconsidered after that
ozgura has joined #ruby
<apeiros>
I haven't, no
<Xeago>
I also skip the interviews/analysis on vods
Tranquility has joined #ruby
<Xeago>
don't have that uxury atm, I do get on irc while that is going on :D
<apeiros>
^^
techlife has joined #ruby
<pandawarrior>
for ruby are design patterns an important thing to learn? If so, what books are really good?
hemanth has quit [Read error: Connection reset by peer]
johnnygoodmancpa has joined #ruby
<skipi>
design patterns are important in every language
<Xeago>
pandawarrior: yes, but don't get restricted by it, or limited to think in only patterns
hemanth has joined #ruby
<Xeago>
nowadays I derive from what I have learned before
jjbohn has quit [Quit: Leaving...]
<pandawarrior>
well i'm not using any patterns, per say
Zolo has joined #ruby
<whitequark>
pandawarrior: note however that a lot (but not all) design patterns emerged from the limitations of statically typed languages
<Xeago>
the java book, is actually pretty good: effective java
<pandawarrior>
i've read the poodr book, which is really good
drale2k has joined #ruby
mengu__ has joined #ruby
<pandawarrior>
whitequark: but ruby is dynamically typed, right?
<apeiros>
pandawarrior: s/per say/per se/
<apeiros>
per se has nothing to do with say ;-)
<pandawarrior>
apeiros: noted ;)
<whitequark>
pandawarrior: yeah
drale2k has quit [Client Quit]
<Xeago>
pandawarrior: you can't ducktype in java
<Xeago>
or share methods
<pandawarrior>
so why do we even need to use design patterns
<Xeago>
or have different objects which have a similar 'interface'
mengu_ has quit [Ping timeout: 260 seconds]
<skipi>
well, afaik you have polymorphism in java
<pandawarrior>
just as long as you stick to solid principles
<apeiros>
pandawarrior: design patterns are for the puzzlers who don't solve problems but rather piece together done solutions
<apeiros>
IMO the only good use of design patterns is in communication
nyuszika7h has quit [Remote host closed the connection]
<Xeago>
pandawarrior: if you have animals that have a behavior, in ruby you just create the animals, and use them whenever you want
<apeiros>
i.e., to name things
<Xeago>
in java you have to abstract the commonalities
<whitequark>
apeiros: that's the original intent ;)
MrZYX has quit [Quit: Bye]
nyuszika7h has joined #ruby
<Xeago>
so you can treat it as something the same (by using polymorphism)
<whitequark>
Xeago: pandawarrior: also read zedshaw.com/essays/indirection_is_not_abstraction.html
<pandawarrior>
do you guys use design patterns?
pen has joined #ruby
<pandawarrior>
whitequark: taking a look...
maxmanders has joined #ruby
<apeiros>
pandawarrior: *everybody* does
<Xeago>
pandawarrior: less and less so than a while ago (while ago for me was pre-ruby)
<whitequark>
pandawarrior: indeed
<Xeago>
I mostly use the concepts, but I don't apply them as I used to
<apeiros>
whether you know that you're using a pattern or not doesn't change that you are using one
<whitequark>
but they often appear by themselves
Kuifje has quit [Quit: Got root?]
<Xeago>
I wouldn't know how to do that nowadays in ruby either
<apeiros>
the difference is in how you approach the problem
<pandawarrior>
apeiros: good point
<pandawarrior>
i've seen the design patterns in ruby book
<apeiros>
i.e., do you see a problem and think "oh, which pattern could I use for this?" or do you see a problem and think "oh, how could I solve this?"
MrZYX|off has joined #ruby
<pandawarrior>
and i thought umm should I buy it?
MrZYX|off is now known as MrZYX
<pandawarrior>
apeiros: the latter
<Xeago>
I see a problem and think of a solution, and then realize it looks like some kind of mix of patterns :)
jblack has quit [Ping timeout: 248 seconds]
<apeiros>
my favorite example - every Foo.new you do in ruby is the factory pattern applied.
<pandawarrior>
apeiros: interesting :)
<pandawarrior>
never thought of it like that
<pandawarrior>
so i guess it won't hurt to read it
<Hanmac>
dartosgamer: you can do EVERYTHING in ruby :P
<dartosgamer>
or that
<dartosgamer>
Hanmac: i'm talking practically here
jblack has quit [Ping timeout: 256 seconds]
<Xeago>
OSX uses ruby for administrational tasks
<dartosgamer>
practicly? idk i can't spell
<Xeago>
new stuff is based on perl tho
<skipi>
Hanmac: try concurrency on MRI :P
<Hanmac>
i use ruby for GUI programming, and 3d Gaming
hemanth has quit [Read error: Connection reset by peer]
<Xeago>
skipi: start multiple MRI's :)
<whitequark>
Xeago: _new_ stuff?
<whitequark>
on _perl_? wtf
shevy2 has joined #ruby
hemanth has joined #ruby
shevy2 is now known as shevy
johnnygoodmancpa has left #ruby [#ruby]
<whitequark>
I could understand python, but perl...
<Xeago>
perl isn't all that bad
<Xeago>
more version stable then ruby
<whitequark>
yes, because it's basically dead :p
<shevy>
ruby 1.8.7 is very stable
jblack has joined #ruby
<Xeago>
shevy: stable, out of support
<Xeago>
or almost
<Xeago>
not sure if we hit it yet
<shevy>
what does that even mean, new things make it into perl 5 branch too ;)
<skipi>
06.2013 1.8.7 wont be supported anymore
<skipi>
afaik
tomzx_mac has joined #ruby
<shevy>
LONG LIVE 1.8.x!!!!!
vipjun has quit []
<Xeago>
osx 10.8 has about 40% new perl, 28% new ruby, 21% python and some shell scripts
<Xeago>
of administrational tasks in interpreted languages
<Xeago>
I am glad of the lack of java..
<Xeago>
that got phased out with 10.6
<shevy>
what do these % mean?
<Xeago>
percentages
<shevy>
yes, I mean
miskander has quit [Quit: miskander]
<shevy>
what is the 100% there? you mean scripts bundled with a 10.8 release?
yshh has joined #ruby
<Xeago>
new things/converted
yshh has quit [Read error: Connection reset by peer]
yshh has joined #ruby
<Xeago>
wifi state is determined with ruby in 10.7, perl in 10.8
MrZYX has quit [Quit: Bye]
pac1 has quit [Read error: Operation timed out]
<shevy>
hmmmm
<shevy>
isn't that crazy?
<shevy>
would it not easier to settle on one language instead?
MrZYX|off has joined #ruby
<shevy>
*be easier
MrZYX|off is now known as MrZYX
<dartosgamer>
Would ruby be a good language to make games in? Just kinda a random question.
<skipi>
there are some really nice libs out there
<Hanmac>
"yes, yes you can"
<skipi>
but imo, right now
gyre008 has joined #ruby
<skipi>
@ 1.9.3
<skipi>
GC works too bad
<skipi>
to do more than simple / small games
<dartosgamer>
that's what i keep hearing
hemanth has quit [Read error: Connection reset by peer]
<Xeago>
shevy: I wouldn't say it is a significant amount of easier
<shevy>
dartosgamer depends on the game. I did minesweeper and tetris in ruby-gnome
hemanth has joined #ruby
<Hanmac>
with the right binding, the ruby game can be GPU accelerated too
<shevy>
dartosgamer I think one huge problem is that making games is a lot of work
Eldariof-ru has joined #ruby
<shevy>
yeah, simple games are fine
<dartosgamer>
I've made games in C languages before. I just decided to learn a new language this week... I am trying to pick ruby or JS (for the new HTML5 stuff)
<skipi>
do both :)
<dartosgamer>
I'm just not sure how usefull ruby would be to me...
adayzdone has joined #ruby
<Hanmac>
dartogamer: if you know C you could look at C++ and Ogre3d
<skipi>
c++ is horrible
adayzdone has left #ruby [#ruby]
<dartosgamer>
I don't like ogre3d. I use irrlicht or sometimes just OpenGL directly
<dartosgamer>
skipi: but it can do things that most other languages can't... mainly because of the INSANE amount of libs there are for it
<Hanmac>
ogre3d is cool ... specialy the addional features like Compositors :P
eldariof has quit [Ping timeout: 245 seconds]
<spider-mario>
there’s Qt
<dartosgamer>
Hanmac: irrlicht can do the same thing but it's smaller and in some cases faster
<spider-mario>
Qt is cool
<dartosgamer>
and I think it's easier to use
<spider-mario>
(I’m not talking about 3D)
<spider-mario>
(though there will be QML 3D)
<dartosgamer>
Qt is pretty cool :3
<skipi>
dartosgamer: im saying c++ is horrible, i love c, and write in it alot
<Hanmac>
hm i dont think that irrlicht can do everything ogre can
mityaz has joined #ruby
<dartosgamer>
skipi: I like classes *shrug*
kofno has quit [Remote host closed the connection]
<dartosgamer>
skipi: I don't like structs too much
<spider-mario>
I like exceptions, RAII and genericity (which C++ provides via templates)
<skipi>
"In C++ it's harder to shoot yourself in the foot, but when you do, you blow off your whole leg."
<spider-mario>
those are things I miss in C
<dartosgamer>
I hate templates... love their function, hate working with them
<skipi>
you can always try GLib
<skipi>
awesome library for C
<spider-mario>
I might as well write in Vala, then
<dartosgamer>
Well I just want to let you all know... the best language na is brainfuck :3
<aboudreault>
ah, nvm, not sure why my bundle exec rake didn't work before.
* Hanmac
can use the beauty of Ruby with the speed of C++
<whitequark>
correctness _always_ is more important than speed
<aboudreault>
but it does now.
Takehiro has joined #ruby
<whitequark>
otherwise you can replace your program with cat /dev/urandom.
<Xeago>
Hanmac: how do you use c++ with ruby?
<Xeago>
thought you can only interface to c?
hemanth has quit [Read error: Connection reset by peer]
<skipi>
by correctness you mean determinism ?
<Hanmac>
Xeago: bindings?
<Xeago>
from MRI?
<Hanmac>
yeah
<Hanmac>
youcan bind C++ libs too
<Xeago>
ruby->c->c++?
<whitequark>
skipi: that is one way to view it, but I prefer a slightly different one
<Xeago>
or directly/
hemanth has joined #ruby
<Hanmac>
like you said, you need C functions as brigde (but i use macros for that)
<skipi>
my projects depends on C, because some of the libs thats used there are from 90's or even 80's
<whitequark>
skipi: take a representative slice of real codebase. observe that they have incredible amount of undefined behavior. observe that 1 (one) case of UB, as standard says, makes the output of your program nondeterministic
<whitequark>
skipi: it's not the UB itself which is the problem. I'm (somewhat) fine with UB in the language
<whitequark>
it's its overwhelming prevalence in real-world code written by experienced programmers
<whitequark>
take the amount of bullshit they came through to support non-2's-complement integers
<whitequark>
I can understand why is it in C89.
<whitequark>
I do not understand why is it still in C99 or C11.
<whitequark>
there is ZERO non-2's-complement architectures for the last decade or two.
<whitequark>
fucking design by committee
<skipi>
whitequark: i see your point
Takehiro has quit [Ping timeout: 240 seconds]
nicoulaj has joined #ruby
<whitequark>
and the worst part that the compilers who could take advantage of the more tricky cases of UB, like non-2's-complement archs, only appeared after the grounds for adding this UB completely disappeared
<whitequark>
so now we're fucked for no real reason. thx, c
<whitequark>
or the "shift by more than type width" case
<whitequark>
ya know why did it appear? because on powerpc, int x; x << 32 yields 0
yshh has quit [Read error: Connection reset by peer]
<whitequark>
and on x86, int x; x << 32 yields x
<whitequark>
so what does the standard do? instead of making this IDB and documenting both cases, or offloading that to compiler authors, they make it UB
<shevy>
epta you can extend every class in ruby, all the time
<shevy>
so you can add a #modify() method to class Hash if you need it
<shevy>
or, just alias it to the [] method
<shevy>
hmm let's see
<epta>
Are there some indexing class in ruby?
pdamer has joined #ruby
<shevy>
what is an indexing class?
<Spooner>
epta, Just use Array
BadLarry has quit [Ping timeout: 272 seconds]
<Spooner>
Hash is for mapping/dictionary.
Zolo has joined #ruby
uris has joined #ruby
<Hanmac>
there are a Set class too
<shevy>
epta try this in irb array = [:cat, :dog, :horse]; array.each_with_index {|key,index| puts index.to_s+': '+key.to_s}
kofno has quit [Ping timeout: 260 seconds]
danman has joined #ruby
BadLarry has joined #ruby
<Spooner>
Yes, but the example is really just an Array. In Ruby there isn't a separate tuple class (Ruby Array is like the Haskell List). Well, not entirely, there sort is one, but not explicitly.
oposomme has quit [Quit: Leaving...]
maxmanders has quit [Ping timeout: 248 seconds]
hbpoison has joined #ruby
idkazuma has joined #ruby
<shevy>
long live ruby!
dblack_ has quit [Quit: dblack_]
imami|afk is now known as banseljaj
djwonk has joined #ruby
itsdavem has joined #ruby
Matip has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
itsdavem has quit [Remote host closed the connection]
havenwood has joined #ruby
blueOxigen has joined #ruby
BadLarry has quit [Ping timeout: 245 seconds]
LouisRoR has quit [Ping timeout: 256 seconds]
maxmanders has joined #ruby
vierja has joined #ruby
vierja has left #ruby [#ruby]
bluOxigen has quit [Ping timeout: 260 seconds]
BadLarry has joined #ruby
miskander has quit [Quit: miskander]
itsdavem has joined #ruby
subbyyy has joined #ruby
djwonk has quit []
chrisnicola has joined #ruby
<epta>
What about record in ruby?
<epta>
Looks like people use hashed instead of it
<epta>
hashes*
<Hanmac>
record? there is no record in ruby
guns has joined #ruby
xpen has quit [Remote host closed the connection]
itsdavem has quit [Remote host closed the connection]
<yxhuvud>
Well, there is Struct
drale2k has joined #ruby
hiroyuki has joined #ruby
mikurubeam has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
enebo has joined #ruby
<Hanmac>
yxhuvud in wich context?
tealmage has joined #ruby
<yxhuvud>
records. Or maybe that mean something else that isn't obvious?
Eldariof-ru has joined #ruby
mezgani has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
<mezgani>
hello
hiroyuki has quit [Read error: Connection reset by peer]
danman has quit [Quit: danman]
<shevy>
epta uses funny words
<Spooner>
Struct does seem closer to a record, since a Hash is more open.
<Spooner>
*Haskell record
<shevy>
man #haskell is fat
<shevy>
997 people there
<shevy>
they beat us :(
p3rror has joined #ruby
drale2k has quit [Ping timeout: 250 seconds]
<Spooner>
But then again, it isn't necessarily sensible to just port your coding style directly to another language, because you miss out on lots (e.g. rather than a record + lots of functions that operate on it, you'd want a Ruby class).
eldariof has quit [Ping timeout: 255 seconds]
hiroyuki has joined #ruby
<Hanmac>
shevy this are all bots written in haskell :P
hiroyuki has quit [Remote host closed the connection]
mikurubeam has joined #ruby
Criztian has quit [Remote host closed the connection]
tealmage has quit [Ping timeout: 250 seconds]
<p3rror>
Please why I get this error
<p3rror>
when I try to runfpm-cookery
mezgani has quit [Ping timeout: 255 seconds]
mikurubeam has quit [Client Quit]
maxmanders has quit [Ping timeout: 248 seconds]
girija has joined #ruby
kirun has joined #ruby
hiroyuki has joined #ruby
mikurubeam has joined #ruby
<nazty>
hey
eka has joined #ruby
sambao21 has joined #ruby
hbpoison has quit [Read error: Connection reset by peer]
<Hanmac>
p3rror: because you failed to read the error message
chrisramon has joined #ruby
hasimo has joined #ruby
<nazty>
would it be easy to do directory comparison in ruby?
<p3rror>
Hanmac, yes that is I'm ruby newbie
<p3rror>
PLease what say the message, explain
<Hanmac>
p3rror: my crystal ball tells me that you forgot to say WHAT error appears
<Spooner>
nazty, You mean a diff?
<nazty>
ok
<nazty>
i have 2 directories called movies]
v0n has joined #ruby
<p3rror>
Hanmac, =)
<nazty>
i wont to run a comparison on them
<shevy>
you wont or you want
<Hanmac>
nazty: do you want to compare files too, or only the file names?
<p3rror>
Hanmac,I think that I miss a library but which one
<nazty>
say they both have the same movie keep moving
<shevy>
nazty go fetch all entries via Dir['movies/*']
<shevy>
then iterate through it and check whether they are known or not
<shevy>
if not known, do your logic in this branch
<nazty>
but it one has a movie and one doesnt i want it to tell me which drive doesnt have it
<shevy>
yeah
<shevy>
if not known, do puts 'We do not know this video file '+file
BizarreCake has quit [Ping timeout: 240 seconds]
<nazty>
well its gonna be directories cause me set up it
<nazty>
c:\movies\Matrix.1\
<Hanmac>
p3rror ... you still dont show us your output
<Spooner>
nazty, Rubymine (By Jetbrains) is a big Ruby IDE. Overkill for starting out.
maxmanders has quit [Client Quit]
<Hanmac>
and it cost money (and your soul)
BizarreCake has joined #ruby
<shevy>
I wouldn't mind investing a bit money into a good editor at all
<shevy>
problem is, most of them are awful
<Spooner>
Nah, I have a free (non-commercial opensource license) and can recommend it highly (I will buy it eventually).
<shevy>
rubymine?
<Spooner>
Yes.
jblack has joined #ruby
<Spooner>
shevy, There is a 30-day trial, so no harm in looking.
<shevy>
well
<shevy>
I found that I always like a few features, from different editors
<shevy>
if I could combine that into a new one easily... :\ :/
<Spooner>
I don't get a commission :D I am just happy that they gave me a free license recently :$
godfrey__ has quit [Quit: 暫離]
miskander has joined #ruby
<Spooner>
Yeah, although I love the Ruby-specific features in Rubymine, I'm disappointed that I can't use it in non-Ruby projects (mainly doing Python at the moment).
<shevy>
Python!!!
<shevy>
you snake you!
<Spooner>
But the generic IDEs seem a bit crap.
<Spooner>
Yeah, quite :D
<shevy>
textmate looked visually nice
<Hanmac>
most ruby IDEs i have seen are too much RAILS poisened
<shevy>
but the old mac-only elitist attitude made me angry
elux has quit [Quit: Leaving...]
<shevy>
Hanmac, dont you also use a fat IDE yourself?
<Spooner>
I didn't find RM heavily Railsy. It is Rake/Github/Git/Ruby-debugger friendly though.
<Hanmac>
yeah ... but its not railsed :P
<Spooner>
Or rather, I didn't ever notice Rails getting in my way/.
mikurubeam has joined #ruby
znode has joined #ruby
brad[] has quit [Read error: Connection reset by peer]
<jrajav>
Hanmac: What IDE do you use?
<Spooner>
Hanmac carved his own IDE out of living granite, using only his teeth.
teddyp1cker has joined #ruby
brad[] has joined #ruby
<Spooner>
How is Ogre coming along, but the way, Hanmac ?
LouisRoR has joined #ruby
shock_one has joined #ruby
chrisramon has quit [Quit: chrisramon]
<Spooner>
*by the way
<shevy>
Hanmac has too many projects
<shevy>
I think he is using... eclipse
<jrajav>
*gasp*
<Hanmac>
jrajav eclipse yeah ... but only i need something that can manage many many many files
<jrajav>
I can't take Eclipse seriously at all. Anything that can't figure out even the most basic performance issues at that level of maturity just needs to be put down
<jrajav>
I understand most of it is the GUI framework but still
<shevy>
jrajav Hanmac has like 300 files open or something like that in eclipse
<shevy>
I am in the range of 3 - up to about 25 files at max
<Hanmac>
shevy yeah that can happen :P
znode has quit [Remote host closed the connection]
<jrajav>
Then just use IntelliJ
<jrajav>
It can manage as many files but it actually performs well
razibog has joined #ruby
<jrajav>
IntelliJ/whatever stupid branding they picked for Ruby
<Hanmac>
Spooner: about ogre, currently "freezed" because currently i currently add features to rwx
<Hanmac>
jrajav IntelliJ is Rubymine
<jrajav>
Yeah that
<Spooner>
wx is another thing I'm interested in. Maybe we can have a decent Ruby GUI one day :D
<jrajav>
I wish it had a single common branding like Eclipse, I can't keep up with all their silly names
<Hanmac>
Spooner: today i add an new wxClass into rwx ... that means + 3cpp +3hpp files more
Takehiro has joined #ruby
mikurubeam has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
hbpoison has joined #ruby
LouisRoR has quit [Ping timeout: 260 seconds]
<shevy>
Spooner hopefully
<shevy>
I get tired of the awful GUI bindings in ruby
atno has quit [Remote host closed the connection]
johnnygoodmancpa has joined #ruby
<shevy>
and
<shevy>
Hanmac will not write any docu :(
<shevy>
but at least he said he will have plenty examples
hbpoison has quit [Remote host closed the connection]
<Hanmac>
blocks & Enumerators are often used like iterators in C++
hbpoison has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
<dartosgamer>
Oh like iterators
<dartosgamer>
that makes sense now
echobinary has joined #ruby
icole has joined #ruby
PragCypher has left #ruby ["Leaving"]
thone has joined #ruby
bonhoeffer has joined #ruby
ryanh has joined #ruby
neku has joined #ruby
jurassic has joined #ruby
<shevy>
nazty you have not defined dir in class String this time
<shevy>
nazty dont you remember your old code? you put it inside class String
<shevy>
this time, you did not.
kondi has left #ruby [#ruby]
IceDragon has joined #ruby
thone_ has quit [Ping timeout: 248 seconds]
dartosgamer has quit [Read error: Connection reset by peer]
horofox has quit [Quit: horofox]
hbpoison has quit [Remote host closed the connection]
wormwood has quit [Quit: WeeChat 0.4.0]
hbpoison has joined #ruby
mikepack has quit [Remote host closed the connection]
oinkon has quit [Ping timeout: 245 seconds]
m8 has joined #ruby
daniel_-_ has joined #ruby
sayan has joined #ruby
bricker`LA has quit [Ping timeout: 256 seconds]
butblack has joined #ruby
hbpoison has quit [Remote host closed the connection]
m8tt8 has quit [Ping timeout: 245 seconds]
a7x has joined #ruby
<a7x>
given a dns is it possible to force a connection only with ipv6?
<shevy>
hmm when I have a string
<shevy>
"abc def ghi jkl\nmno pqr stu vwq"
<shevy>
it has one newline, \n
<shevy>
how would I split into an array with 4 elements "abc def", "ghi jkl", "mno pqr", "stu vwq" ?
brum has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
hbpoison has joined #ruby
<aedornm>
shevy: scan /\w+\s\w+/
<shevy>
cool, that is awesome, I dont have to use .split, thanks aedornm
<shock_one>
don't forget the /m modifier
<aedornm>
shouldn't need it
<butblack>
Hi, I'm looking to do a string sub with three possible entries to be replaced with 'ed'.. https://gist.github.com/ebbflowgo/5125373 … I'm not sure if this is the channel, maybe a regex channel would be better?
<shock_one>
Does \s match the new line?
<aedornm>
no, it skips right over it, but it should process the full string.
<shevy>
shock_one /m for multiline?
<aedornm>
>> p "abc def ghi jkl\nmno pqr stu vwq".scan(/\w+\s\w+/)
<shock_one>
Not even 'def 123', because there is a space between f and 1
<realDAB>
shock_one: i believe there's a space after \w+ in the regex
<shock_one>
realDAB, you're right.
BizarreCake has quit [Remote host closed the connection]
sonda has quit [Remote host closed the connection]
oneawayman has quit [Read error: Connection reset by peer]
<Spooner>
Yeah, the " " would only be ignored if you used //x mode.
<aedornm>
If you wanted "abc def 123 ghi 456" to become ["abc def 123", "ghi 456"] you would need something like /(?:\w|\s)+?\d+/) or even just /.+?\d+/, but you would then need to iterate through each match and strip the leading spaces.
maxmanders has quit [Ping timeout: 264 seconds]
mikepack_ has quit [Remote host closed the connection]
daniel_- has joined #ruby
chrisramon has joined #ruby
<realDAB>
aedornm: i think this would work: str.scan(/[a-z].+?\d+/)
tommyvyo has joined #ruby
<realDAB>
i avoided \w because it includes digits but actually that would work too:
<realDAB>
str.scan(/\w.+?\d+/)
<aedornm>
ah, yeah, that would
maxmanders has joined #ruby
hbpoison_ has quit [Remote host closed the connection]
AndChat| has quit [Ping timeout: 260 seconds]
daniel_-_ has quit [Ping timeout: 264 seconds]
hbpoison has joined #ruby
drale2k has joined #ruby
generalissimo has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
<butblack>
shock_one: ok thanks
tealmage has joined #ruby
jurassic has quit [Quit: jurassic]
mootpointer has quit [Quit: Computer has gone to sleep.]
<a7x>
i really have no clue, #<URI::InvalidURIError: the scheme irc does not accept registry part: 2001:1418:13:1:0:0:0:25 (or bad hostname?), i'm trying to connect to an ipv6 address
Takehiro has joined #ruby
<a7x>
is this a bug? :\
jurassic has joined #ruby
drale2k has quit [Ping timeout: 252 seconds]
hbpoison has quit [Ping timeout: 256 seconds]
<MrZYX>
a7x: what's your input?
slyv has joined #ruby
Stilo has joined #ruby
wormwood has joined #ruby
<a7x>
MrZYX, 'irc://' + srv_uri where srv_uri it's the ipv6 address
tealmage has quit [Ping timeout: 264 seconds]
<MrZYX>
you have to put v6 addresses into square brackets, like irc://[2001:1418:13:1::25]
godfrey3835 has quit [Quit: 暫離]
atmosx has joined #ruby
<MrZYX>
so the parsers can differentiate the port, like irc://[2001:1418:13:1::25]:6667
Takehiro has quit [Ping timeout: 252 seconds]
<a7x>
MrZYX, i tried that too, i'm gonna check if there is a problem somewhere else that maybe removes the brackets
hashmal has quit [Quit: Computer has gone to sleep.]
<aedornm>
argh, people tagging me on Facebook! This is a good time to write a Ruby script that will automatically remove them!
bonhoeffer has joined #ruby
<MrZYX>
or just unfriend everybody
<aedornm>
I deleted my account before, and then found out that the account is never really deleted.
<a7x>
looks like i avoided that problem but, failed to connect to IRC server at irc://[2001:1418:13:1:0:0:0:25]:6667 -> #<SocketError: getaddrinfo: Name or service not known, and it should not be a server problem since i can connect to that ip from the same machine
douglarek_ has joined #ruby
johnnygoodmancpa has joined #ruby
douglarek has quit [Ping timeout: 276 seconds]
motto has joined #ruby
<aedornm>
Well, time to go drive in the blizzard! Yay!
aedornm has quit [Quit: Leaving]
Konfusius has left #ruby [#ruby]
hbpoison has quit [Ping timeout: 276 seconds]
m8 has quit [Ping timeout: 255 seconds]
teddyp1cker has quit [Ping timeout: 260 seconds]
hbpoison has joined #ruby
toekutr has joined #ruby
echobin65 has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
johnnygoodmancpa has quit [Quit: Leaving.]
Pufferfood has quit [Read error: Connection reset by peer]
hogeo_ has joined #ruby
Pufferfood has joined #ruby
alesguzik has joined #ruby
hogeo has quit [Ping timeout: 252 seconds]
<lewix>
people use enumerable interchangeably with collections?
pdamer has joined #ruby
<banisterfiend>
..
<banisterfiend>
Enumerable is basically the Ruby collection API
hbpoison has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<Hanmac>
lewix yeah i think ... each object that is a "collection" should define one or more each methods, and if it has an generic each it should include Enumerable too
hbpoison has joined #ruby
<a7x>
okay i found a way.
<lewix>
banisterfiend: right, it's the module mix in the different collection classes. But now and then I see the word use as a replacement for collection of objects
<lewix>
mixed/used/
<banisterfiend>
oh you mean use the *word* Enumerable interchangeably with the word collection
<lewix>
yes sorry
Quintus_q has joined #ruby
<Hanmac>
i think enumeration is also an good word
v0n has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
<banisterfiend>
Hanmac: 'an' is only used when the following word begins with a vowel ;)
<Hanmac>
pah, i do not care :P
danneu has joined #ruby
<lewix>
Hanmac: good english makes a good programmer
<Hanmac>
have someone else seen this? "There were 4 Ruby vulnerability reports in the last 14 days. 2 medium, 1 low, 1 undetermined. Most recent: CVE-2013-1656. See details."
<banisterfiend>
Hanmac: i want to bring your english to an acceptable level, english is the world language my fren
<banisterfiend>
;)
crodas has quit [Ping timeout: 264 seconds]
<Hanmac>
lewix my ruby is better than my english :P
<lewix>
Hanmac: that worries me :p
crodas has joined #ruby
<Hanmac>
my ruby is also a bit evil
pdamer has quit [Quit: pdamer]
<lewix>
Hanmac: you've been rubying for three years, correct?
sayan has quit [Ping timeout: 248 seconds]
<Hanmac>
hm no i think its more ... 5 or 6
<lewix>
no wonder
<lewix>
I can't wait to bring my ruby to an acceptable level, it's becoming the world language my fren
ananthakumaran has quit [Quit: Leaving.]
hbpoison has quit [Ping timeout: 264 seconds]
hbpoison has joined #ruby
iamjarvo has joined #ruby
<atmosx>
my ruby sucks, my english too so I'm square.
icole has quit [Remote host closed the connection]
kn330 has quit [Ping timeout: 248 seconds]
feedbackloop has joined #ruby
m3pow has quit [Read error: Operation timed out]
* lewix
squareroots atmosx
jblack has quit [Ping timeout: 256 seconds]
epta is now known as dakaktak
LouisRoR has quit [Ping timeout: 276 seconds]
* atmosx
ducks
gnarmis has joined #ruby
daniel_- has quit [Ping timeout: 256 seconds]
gnarmis has left #ruby [#ruby]
m3pow has joined #ruby
Es0teric has joined #ruby
hbpoison has quit [Ping timeout: 252 seconds]
tjbiddle has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
hbpoison has joined #ruby
mikurubeam has quit [Ping timeout: 260 seconds]
drale2k has joined #ruby
gyre007 has quit [Read error: Operation timed out]
splud has quit [Quit: splud]
elaptics`away is now known as elaptics
adkron has joined #ruby
tealmage has joined #ruby
mikurubeam has joined #ruby
mikurubeam is now known as Guest62071
slainer68 has joined #ruby
Davey has joined #ruby
Guest62071 has quit [Client Quit]
mikurubeam has joined #ruby
drale2k has quit [Ping timeout: 256 seconds]
yacks has quit [Quit: Leaving]
adkron_ has joined #ruby
tealmage has quit [Ping timeout: 256 seconds]
nmeum has quit [Quit: WeeChat 0.3.8]
braoru has joined #ruby
chrishough has quit [Ping timeout: 256 seconds]
huoxito has quit [Ping timeout: 256 seconds]
chrishough has joined #ruby
baroquebobcat has joined #ruby
hbpoison has quit [Ping timeout: 264 seconds]
hbpoison has joined #ruby
jurassic has quit [Quit: jurassic]
io_syl has joined #ruby
jamesfung14 has joined #ruby
b0oh has joined #ruby
jurassic has joined #ruby
nmeum has joined #ruby
hbpoison has quit [Remote host closed the connection]
hbpoison has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
b0oh has quit [Quit: Leaving.]
hbpoison has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
hbpoison has joined #ruby
echobin65 has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
enroxorz has joined #ruby
enroxorz has quit [Changing host]
enroxorz has joined #ruby
enroxorz is now known as ArchBeOS
Stilo has joined #ruby
Eldariof28-ru has quit []
Jedi_SCT1 has quit [Quit: See ya]
sttau has joined #ruby
jurassic has quit [Quit: jurassic]
ocnam has joined #ruby
russfrank has quit [Ping timeout: 245 seconds]
Jedi_SCT1 has joined #ruby
russfrank has joined #ruby
Shadow_S has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
Quintus_q has left #ruby ["Valete!"]
chrishough has quit [Quit: chrishough]
testingb0t1 has quit [Quit: Leaving.]
doja has joined #ruby
danman has joined #ruby
h4mz1d has joined #ruby
danman has quit [Client Quit]
icole has quit [Remote host closed the connection]
orospakr has joined #ruby
chrishough has joined #ruby
danman has joined #ruby
doja has quit [Client Quit]
Assurbanipal has joined #ruby
chrishough has quit [Client Quit]
nazty has quit [Quit: Leaving]
nazty has joined #ruby
echobinary has quit [Read error: Connection reset by peer]
echobinary has joined #ruby
toekutr has quit [Remote host closed the connection]
etcetera_ has joined #ruby
Zolo has quit [Remote host closed the connection]
tylersmith has quit [Quit: tylersmith]
Blaze_Boy has quit [Remote host closed the connection]
chrisramon has joined #ruby
Xeago has joined #ruby
joeycarmello has joined #ruby
haxrbyte has quit [Remote host closed the connection]
itsdavem has quit [Remote host closed the connection]
haxrbyte has joined #ruby
verysoftoiletppr has quit []
itsdavem has joined #ruby
Astralum has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
Astralum has joined #ruby
etcetera_ has quit []
havenwood has quit [Remote host closed the connection]
mikepack has joined #ruby
bradhe has quit [Remote host closed the connection]
haxrbyte has quit [Ping timeout: 264 seconds]
jurassic has joined #ruby
bradhe has joined #ruby
hasimo has joined #ruby
northlight31 has joined #ruby
emocakes has quit [Quit: emocakes]
jtperreault has quit [Ping timeout: 248 seconds]
russfrank has quit [Ping timeout: 245 seconds]
katherinem13 has quit [Ping timeout: 240 seconds]
h4mz1d has quit [Ping timeout: 255 seconds]
freezway has joined #ruby
pepper_chico has quit [Quit: Computer has gone to sleep.]
etcetera_ has joined #ruby
LouisRoR has joined #ruby
mercwithamouth has quit [Ping timeout: 276 seconds]
malkomalko has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 250 seconds]
jdunck has quit [Quit: Computer has gone to sleep.]
jtperreault has joined #ruby
slainer68 has quit [Remote host closed the connection]
etcetera_ has quit [Client Quit]
eka has quit [Quit: Computer has gone to sleep.]
northlight31 has quit [Ping timeout: 260 seconds]
etcetera_ has joined #ruby
xbob has quit [Quit: Leaving]
pandawarrior1 has quit [Quit: Leaving.]
northlight31 has joined #ruby
lewix has quit [Remote host closed the connection]
jtperreault has quit [Read error: Operation timed out]
etcetera_ has quit [Client Quit]
Assurbanipal has quit [Remote host closed the connection]
kofno has joined #ruby
katherinem13 has joined #ruby
evxd_ has quit [Read error: Operation timed out]
<heftig>
epochwolf: internal use only
mercwithamouth has joined #ruby
<epochwolf>
heftig: figured that out
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
jtperreault has joined #ruby
<banisterfiend>
epochwolf: now 2.0 is out hopefully ppl will start using private_const
dmiller has joined #ruby
<banisterfiend>
private_constant, even
russfrank has joined #ruby
northlight31 has quit [Ping timeout: 256 seconds]
mikurubeam has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
Amfy has joined #ruby
<Amfy>
Maybe that's a noob-question, but I'm trying it since hours… params = JSON.parse({'domain_name' => 'test.de'}.to_json) works, but cannot access domain_name with params.domain_name or params[:domain_name]
mrmist has quit [Ping timeout: 600 seconds]
chrisramon has quit [Quit: chrisramon]
<banisterfiend>
Amfy: you have to use params["doman_name"]