nanoyak has quit [Quit: Computer has gone to sleep.]
AlSquire has joined #ruby
jlast has joined #ruby
niftylettuce_ has quit [Quit: Connection closed for inactivity]
AlSquire has quit [Read error: Connection reset by peer]
razrunelord has joined #ruby
lukec has quit [Quit: lukec]
benlieb has joined #ruby
RaptorJesus has quit [Ping timeout: 265 seconds]
rylev has quit [Remote host closed the connection]
AlSquire has joined #ruby
MZAWeb has joined #ruby
rylev has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
AlSquirikou has quit [Ping timeout: 240 seconds]
horrorvacui has quit [Quit: Leaving]
yfeldblu_ has joined #ruby
OliverJAsh has quit [Quit: Connection closed for inactivity]
AlSquirrel has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
razrunelord has quit [Ping timeout: 255 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rylev has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlieb has quit [Quit: benlieb]
<shevy>
allanparsons I would compile from source into /usr prefix -> wget ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.bz2
stantona has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
<allanparsons>
well, then that defeats the purpose of an rvm, no?
mrmargolis has quit [Remote host closed the connection]
near77 has quit [Quit: Page closed]
<shevy>
depends - "make install" only copies into the target location. you can get the same behaviour if you compile different versions from source. I compile into /Programs/Ruby/PROGRAM_VERSION and symlink the current ruby in use as my main "pointer"
<shevy>
though admittedly it is rare that I use 1.8.x or 1.9.x
djbkd has joined #ruby
<shevy>
been more useful when I was still on 1.8.x
fantasticsid has quit [Ping timeout: 252 seconds]
MZAWeb has quit [Ping timeout: 240 seconds]
<terrellt>
allanparsons: You're missing the rvm source file. System install or user install?
<allanparsons>
user install
<allanparsons>
it's there
<allanparsons>
but supervisor starts as root
<allanparsons>
and then the command runs as rvmuser
malida has joined #ruby
<terrellt>
So you need to switch to the rvm user and source /home/rvmuser/.rvm/scripts/rvm
<terrellt>
If it starts running rvm commands as sudo in a user install you're gonna have a bad time.
<allanparsons>
it doesnt run as sudo
<allanparsons>
in my supervisor vonfig i have: user=rvmuser
narcan has joined #ruby
mansi has joined #ruby
dapz has joined #ruby
aspires has quit []
centrx has joined #ruby
troyronda has quit [Remote host closed the connection]
<terrellt>
I've never used supervisor, but I'm sure you just need to source that file.
dapz has quit [Client Quit]
maestrojed has quit [Quit: Computer has gone to sleep.]
Kricir has joined #ruby
freerobby has quit [Quit: Leaving.]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
helpD has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
dcunit3d has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Qinds has joined #ruby
Milly_Bays has quit [Quit: Leaving]
<allanparsons>
im sourcing it in ~/.bashrc.. [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
IceDragon has joined #ruby
Milly_Bays has joined #ruby
IceDragon has quit [Client Quit]
marr has quit []
<terrellt>
allanparsons: Yeah, but -that's- not getting sourced.
<terrellt>
Not in supervisor at least.
roadie has joined #ruby
<allanparsons>
argh
<allanparsons>
i'll add it to the command line
<allanparsons>
or just source my ~/.bashrc file
<allanparsons>
where that exists
<allanparsons>
1 sec
<allanparsons>
lemme try
charliesome has joined #ruby
afex has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
troyronda has joined #ruby
bmcorser has joined #ruby
<bmcorser>
python dude here
<bmcorser>
need some help debugging a gem
<allanparsons>
@terrellt command=source /home/rvm/.bashrc && /home/rvm/.rvm/bin/rvm use .....
jamto11 has quit [Remote host closed the connection]
<bmcorser>
i have installed `debugger` gem which i hope will let me drop a debug statement in my target code
lukec has joined #ruby
benzrf is now known as benzrf|offline
baroquebobcat has quit [Ping timeout: 252 seconds]
i_s has joined #ruby
papercode has quit [Quit: WeeChat 0.4.4-dev]
<bmcorser>
but since i don't know what happens when i `bundle install ..` ie where the code goes, i don't know where to put the statement
andrewjanssen has joined #ruby
i_s has quit [Client Quit]
obscured has quit [Quit: leaving]
<bmcorser>
in python i would just add it in the source residing in my virtual env
benzrf|offline is now known as benzrf
<bmcorser>
thanks banister but i think my problems are a little more fundamental :)
mrmargolis has joined #ruby
dapz has joined #ruby
<bmcorser>
i've never written a line of ruby
<banister>
bmcorser you put the debug statement in your application code -- 'bundle install' installs library code
<terrellt>
allanparsons: Work for ya?
<allanparsons>
lolz
<allanparsons>
no
<allanparsons>
2014-04-26 00:33:00,372 INFO spawnerr: can't find command 'source'
<terrellt>
Heh
Kricir has quit [Remote host closed the connection]
rylev has joined #ruby
Qinds has quit []
<allanparsons>
dubya tee efff
rylev has quit [Read error: No route to host]
<benzrf>
bmcorser: in ruby, bundles are not like virtualenvs exactly
mengu has quit [Remote host closed the connection]
<benzrf>
you can use `bundle exec` to restrict ur gems to what's in the Gemfile
rylev has joined #ruby
redondos has quit [Excess Flood]
<benzrf>
but apart from that, bundle install installs globally by default
<benzrf>
so bundle install will do nothing if u already have the gems
abdulsattar has joined #ruby
redondos has joined #ruby
<terrellt>
Or if you point it to somewhere that has the gems.
<terrellt>
bmcorser: bundle show gem-name
<terrellt>
bmcorser: That's where your "code goes"
timonv has joined #ruby
<terrellt>
Now that I've given you the gun proceed to fire viciously at your foot.
yfeldblu_ has quit [Remote host closed the connection]
<bmcorser>
banister: ok
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jkline has joined #ruby
senayar_ has quit [Remote host closed the connection]
dapz has joined #ruby
<bmcorser>
banister: so i guess the process for doing some interactive debugging would be checkout the gem source from github, put my debug statement in place, then run `bundle install`, then run the applicatin
<bmcorser>
*application
<banister>
bmcorser right
<banister>
bmcorser sounds right :)
ephemerian has quit [Quit: Leaving.]
<bmcorser>
can i jimmy the debug statement about or will i have to `bundle install` every time i change the source?
rkazak has joined #ruby
rylev has quit [Ping timeout: 255 seconds]
<bmcorser>
does ruby use a JIT?
dapz has quit [Client Quit]
<rkazak>
jruby?
phoo1234567 has quit [Quit: Leaving]
AlSquirrel has quit [Ping timeout: 240 seconds]
<benzrf>
bmcorser: depends on the impl
<benzrf>
i dont think YARV does, it might
<benzrf>
i think rubinius might?
<terrellt>
JRuby/Rubinius do.
<bmcorser>
i have "ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.0.0]"
<terrellt>
YARV is just an interpreter.
<terrellt>
bmcorser: So no
timonv has quit [Ping timeout: 264 seconds]
<bmcorser>
so i need to recompile
<bmcorser>
ok
<benzrf>
bmcorser: use ruby-install
<benzrf>
and chruby
<terrellt>
bmcorser: JRuby/Rubinius are alternate implementations of ruby and come with some quirks.
<benzrf>
(y)\
<terrellt>
Developing while on JRuby just sounds so miserable.
<bmcorser>
yeah, i don't need anything special
<terrellt>
Every irb, "come on JVM, I know you can do it."
<s2013>
anyone wants to work on some algorithms with me?
AlSquire has joined #ruby
<bmcorser>
i just want do some python-style interactive debugging :]
<terrellt>
bmcorser: Look up pry and pry-stack-explorer
blandflakes has joined #ruby
snath has joined #ruby
dapz has joined #ruby
<terrellt>
Er, you need pry-byebug I guess? I usually install jazz_hands into Rails projects.
mrmargolis has quit [Remote host closed the connection]
AlSquire has quit [Read error: Connection reset by peer]
<bmcorser>
/Users/ben/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'vagrant' (>= 0) among 70 total gem(s) (Gem::LoadError)
<allanparsons>
even tried: command=bash -lc "source /home/rvm/.bashrc && /home/rvm/.rvm/bin/rvm use ....
<terrellt>
After you source you should be able to just rvm use
<bmcorser>
i only seem to be able to run from the dir i ran bundle install in
jamto11 has joined #ruby
Milly_Bays has quit [Quit: Leaving]
nisstyre has quit [Quit: WeeChat 0.4.3]
jkline has quit [Quit: jkline]
Hobogrammer has quit [Ping timeout: 255 seconds]
joast has quit [Quit: Leaving.]
__main__ has quit [Read error: Connection reset by peer]
troyronda has quit [Remote host closed the connection]
Milly_Bays has joined #ruby
__main__ has joined #ruby
Milly_Bays has quit [Read error: Connection reset by peer]
<allanparsons>
terrellt, yeah i dunno
<allanparsons>
i cant be the only one having supervisord issues
einarj has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Milly_Bays has joined #ruby
SCommette has quit [Quit: SCommette]
larsam has joined #ruby
joast has joined #ruby
metamaterial has joined #ruby
yfeldblum has joined #ruby
funktor has quit [Remote host closed the connection]
<bmcorser>
ok this isn't going well
<bmcorser>
banister: my ruby isn't happy
funktor has joined #ruby
einarj has quit [Ping timeout: 276 seconds]
AlSquire has joined #ruby
snath has quit [Ping timeout: 276 seconds]
meatherly has quit []
<rkazak>
bmcorser:why not try the latest?
<bmcorser>
rkazak: i think i have a gem issue really
<bmcorser>
see my above message
<bmcorser>
trying to install vagrant from source with my debugger statement compiled into it
Guest3231 has quit [Quit: Guest3231]
jxf has joined #ruby
hobodave has joined #ruby
fantasticsid has joined #ruby
funktor has quit [Ping timeout: 240 seconds]
__main__ has quit [Read error: Connection reset by peer]
<bmcorser>
if i run `bundle install` from the source dir, it appears to install
benzrf is now known as benzrf|offline
<bmcorser>
when i run `bundle list` i see vagrant there
jcs222 has quit [Read error: Connection reset by peer]
weems has quit [Ping timeout: 245 seconds]
MatthewsFace has quit [Ping timeout: 240 seconds]
phinfonet has quit []
razrunelord has quit [Ping timeout: 264 seconds]
yosafbridge has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
jcs222 has joined #ruby
pika_pika has joined #ruby
rkazak has quit [Quit: rkazak]
ericmathison has quit [Ping timeout: 264 seconds]
fortunamajor has quit [Read error: Connection reset by peer]
AlSquirikou has quit [Ping timeout: 264 seconds]
<s2013>
this is a stupid q but how do i modify an attribute in a class in pure ruby. so lets say i have a class called Test and i have a function called add and i add a score to it.. so when i do test.scores it will show me all the scores i added
<s2013>
dont know if that makes sense
<mordof>
are you looking for something where you just add an entry to an array?
<testcore>
s2013: you can reference member vars w/ the @varname syntax, and @@varname for class-scoped members
<s2013>
yeah mordof
<testcore>
arr << var
<s2013>
i just realized its so simple but i cant seem to figure it out
<s2013>
i know how to add to an array
<s2013>
one sec
zz_karupa is now known as karupa
<testcore>
you can push onto an array w/ the << operator
yosafbridge has joined #ruby
yosafbridge has quit [Remote host closed the connection]
freerobby has joined #ruby
dcunit3d has joined #ruby
<testcore>
so array << variable will put variable at the end of the array
<s2013>
do i need an attr_accessor called :scores ?
<mordof>
def initialize; @scores = Array.new; end; def add(score) @scores << score; end (clear out all of the semicolons.. just for ugly one lines and shouldn't be used, lol)
rylev has joined #ruby
<s2013>
would test.scores point to @scores ?
<mordof>
no
<mordof>
well
<s2013>
ok well thats what im trying to figure out
<mordof>
def scores; @scores; end;
<mordof>
then it would, lol
<s2013>
so i need attr_accessor for that right?
<s2013>
that would work
<s2013>
atleast attr_reader
<mordof>
i have no idea what that is, i'm new to ruby >.>
<RubyPanther>
attr_accessor is preferred to def foo; @foo
<crucify_me>
(1..10).map{|i|i%3} => [1,2,0,1,2,0,1,2,0] << much appreciated if you would run me through this RubyPanther, if you have time
binaryhat has joined #ruby
<mordof>
crucify_me: modulous is the act of doing # / #, and retrieving the remainder
<mordof>
1 / 3 is 0 remainder 1
<RubyPanther>
crucify_me: it takes the numbers one through 10, and does modulo 3 for each number, and builds a new array with those results, so it just counts in a loop
<mordof>
2 / 3 is 0 remainder 2
<mordof>
3 / 3 is 1 remainder 0
<RubyPanther>
any time you want to repeat every n times, every other row a different color, groups of 42, whatever, you can use that
<crucify_me>
so mordof so if there is no even division it just returns the numerator ? RubyPanther
kung has quit [Read error: Connection reset by peer]
<RubyPanther>
right, it is just the remainder
<RubyPanther>
but that also makes it a loop
<mordof>
crucify_me: the remainder - think long devision.
<mordof>
5 / 3 is 1 remainder 2
maestrojed has quit [Quit: Computer has gone to sleep.]
kung has joined #ruby
<mordof>
so 5 % 3 == 2
danshultz has joined #ruby
lazyguru has joined #ruby
<mordof>
crucify_me: it's not "even division conditional" but division remainder. "what's left over" after you try and divide.
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<crucify_me>
so is there rounding down going on sometimes with modulo? mordof RubyPanther
<mordof>
yeah - still wouldn't have worked anyway. figures
<The_NetZ>
so... any takers?
Kricir has quit [Remote host closed the connection]
<mordof>
The_NetZ: absolutely no clue. brand new to Ruby
ziyadb_ has quit [Quit: Connection closed for inactivity]
<mordof>
The_NetZ: my first inclination (or hope) would be that it wouldn't have too much drop at all.. but that all depends on how the implementation is in comparison to the stand-alone ruby
<mordof>
since i have no knowledge of that, i can't really give any credible response
* mordof
wanders off
baroquebobcat has joined #ruby
<The_NetZ>
I'm just hoping for about equal performance; windows users can't be bothered to install ruby, so I'm including a launcher exe with embedded ruby; if the performance is the same, I'll just have *nix package require ruby
<rkazak>
trim - truncate
danshultz has quit [Ping timeout: 276 seconds]
<rkazak>
round, ceil, floor ?
shadoi has quit [Remote host closed the connection]
<The_NetZ>
crucify_me: you do know what the modulo operation does, right?
<mordof>
crucify_me: because of the way ruby holds numbers
mr_snowf1ake has joined #ruby
kaspergrubbe has quit [Ping timeout: 252 seconds]
<crucify_me>
The_NetZ: yeah pretty much
jacks_spleen has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
<crucify_me>
at least I do to the 16th decimal point
<The_NetZ>
and really, superduper accuracy in floating point numbers (floats and doubles) is not all that perfect as computers think in base 2 not base 10
<mordof>
generally when numbers are stored a certain way, float point accuracy ends up messing up really small, or really large numbers
estaban has joined #ruby
jxf has quit [Ping timeout: 276 seconds]
<crucify_me>
The_NetZ: good call
* mordof
nods
dcunit3d has quit [Ping timeout: 264 seconds]
<benzrf>
hows it goin mordof
<mordof>
benzrf: pretty good. just made a salad :3
<mordof>
you?
<benzrf>
nb playing CAH on the internet
<mordof>
nice
<The_NetZ>
crucify_me: modulo does division and then gives you the remainder; so 3.4 divided by 3 is 3 remainder .4; so it returns .4, if not totally accurately in our thought.
<mordof>
i gave up playing all games / watching shows recently. was a huge time killer
<benzrf>
D:
<benzrf>
floating point numbers are BS
rylev has joined #ruby
<mordof>
lol
<benzrf>
rationals 4 lyfe
<rkazak>
floating numbers are real ! :)
<benzrf>
>> Rational(1, 10) + Rational(2, 10)
<mordof>
>> 4 / 10
<benzrf>
:^)
NotproN has joined #ruby
<mordof>
...
<mordof>
is there some issue with the bot right now?
<mordof>
rkazak: that isn't a problem in that scenario...
bo_ is now known as bodeezl
rylev has quit [Ping timeout: 276 seconds]
wallerdev has joined #ruby
stantona has quit [Ping timeout: 276 seconds]
poguez_ has quit [Quit: Connection closed for inactivity]
jamto11 has quit [Ping timeout: 252 seconds]
<mordof>
benzrf: what if i wanted to write a case statement that had multiple where expressions that match to different things? and i wanted all of them that matched to run.. how would i go about doing something like that?
<mordof>
benzrf: would i have to make a bunch of individual if checks instead?
<benzrf>
hmmmm
combusean has joined #ruby
<benzrf>
interesting o=
NotproN has left #ruby ["WeeChat 0.4.4-dev"]
<benzrf>
i would say make a dict, but that's syntactically annoying
deric_skibotn has quit [Ping timeout: 252 seconds]
mansi has quit [Remote host closed the connection]
<mordof>
hmmm
<mordof>
for i in 0..5 do; puts "i: #{i}"; end; <-- is i only available inside the for loop? or is it a local variable to its parent?
<benzrf>
dont use for loops
<benzrf>
they're dumb syntactic sugar for #each
<benzrf>
it is *VERY* un-idiomatic to use for
<mordof>
well, there's a few scenarios where they make sense - but for the most part i agree
<benzrf>
yeah?
<benzrf>
whatre those?
<mordof>
well.. i suppose (0..5).each { |i| } makes more sense
<benzrf>
:-)
<mordof>
i'm not used to ranges, lol
oo_ has joined #ruby
troyronda has quit [Remote host closed the connection]
<benzrf>
the main diff between #each and for is the scoping
<mordof>
but just for the sake of knowledge - back to my original question?
<benzrf>
yeah
AlSquirrel has joined #ruby
troyronda has joined #ruby
<benzrf>
in that case i is a regular var within the scope the for is in
<benzrf>
it will be visible outside
<benzrf>
while in a block, it would NOT
<benzrf>
*be
<mordof>
right
m104 has joined #ruby
<mordof>
ok, thanks. the tutorial page i was reading was unclear on that
danijoo has quit [Read error: Connection reset by peer]
AlSquirrel has quit [Read error: Connection reset by peer]
<RubyPanther>
it is like a cross between spaghetti and a pretzel
AlSquirikou has joined #ruby
danijoo has joined #ruby
<mordof>
>> (0..5).each { |n| n > 2 ? break : puts n }
<eval-in__>
mordof => /tmp/execpad-be1f1bab08d2/source-be1f1bab08d2:2: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' ... (https://eval.in/142263)
<mordof>
woop, i broke it
<shubhamjain>
What is meaning of "do" when not in context of loops. For eg in rails, "create_table :topics do |t| ....... end".. intuitively, I feel it is equivalent to "create_table(:topics) as t" but not sure.
<arubin>
do ... end creates a block.
<arubin>
In all contexts.
<benzrf>
shubhamjain: do..end is exactly the same as {}
roadie has joined #ruby
<mordof>
so is that the same as create_table :topics { |t| } ? oh ok
<RubyPanther>
Ruby doesn't have context
<benzrf>
the only difference is
<benzrf>
foo something do end
<benzrf>
^works
<benzrf>
foo something {}
<benzrf>
^does not
<benzrf>
u have to do
<benzrf>
foo(something) {}
<benzrf>
other than that {} and do..end are 100% identical
oo_ has joined #ruby
<mordof>
ooh
<benzrf>
i usually use {} whenever its on one line and do..end whenever its multiline
<mordof>
would: foo something {} try to place the code block on something instead of foo(something), so order of operations?
tkuchiki_ has joined #ruby
<benzrf>
mordof: i dont see why do..end would fix that
<benzrf>
no, i think it's a matter of trying to parse {} as a hash argument to something
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf>
huh
sdwrage has joined #ruby
<benzrf>
that worked
<benzrf>
??
<benzrf>
w/e
<mordof>
now i'm curious
<benzrf>
ruby's syntax is hella complicated and sometimes slightly ambiguous
<benzrf>
for example
<benzrf>
foo [1, 2, 3]
oo__ has joined #ruby
<benzrf>
^calls the foo method with [1, 2, 3]
<benzrf>
foo[1, 2, 3]
<benzrf>
^calls the [] method on foo with 1, 2, 3
<mordof>
'tis what happens when you make the () optional, heh
joaoh82 has joined #ruby
joaoh82 has quit [Client Quit]
tkuchiki has quit [Ping timeout: 276 seconds]
<rkazak>
but that’s frowned upon now? () should be used were appropriate?
skeephan has quit [Quit: -a- Android IRC 2.1.16]
* benzrf
shrugs
<benzrf>
as they say
<benzrf>
timtowtdi
<mordof>
?
oo_ has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby
<benzrf>
there is more than one way to do it
<shubhamjain>
and in the generated migration file, I see something like this. do |t| .... t.string :topics .. t.timestamps end... I don't get how this will execute. t.string(:topics)..
<rkazak>
:)
<benzrf>
a phrase originally applied to perl
pwh has joined #ruby
razrunelord has joined #ruby
hermanmunster has joined #ruby
<centrx>
shubhamjain, Parentheses are optional in that situation
m104 has quit [Quit: bye]
mary_synthesizin has joined #ruby
mansi has quit [Remote host closed the connection]
havenwood has joined #ruby
mansi has joined #ruby
razrunelord has quit [Ping timeout: 255 seconds]
oo__ has quit [Ping timeout: 264 seconds]
troyronda has joined #ruby
senayar has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
senayar has quit [Remote host closed the connection]
bamyojo14335 has joined #ruby
<mordof>
>> (0..5).each { |n| n > 2 ? next : puts n }
<eval-in__>
mordof => /tmp/execpad-ded7e7eb5c83/source-ded7e7eb5c83:2: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' ... (https://eval.in/142278)
<mordof>
why does this break?
<mordof>
>> (0..5).each { |n| n > 2 ? next : puts n; }
<eval-in__>
mordof => /tmp/execpad-b3527ddec483/source-b3527ddec483:2: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '(' ... (https://eval.in/142279)
Avahey_ has quit [Quit: Connection closed for inactivity]
<havenwood>
>> (0..5).each { |n| n > 2 ? next : puts(n) }
<mordof>
that finally clears up how next behaves. i need to figure out how to get a solid cli functioning in windows where i can do this local
<mordof>
my ruby CLI is... i don't even know what it expects from me, lol
<arubin>
Did you try running irb?
<mordof>
ahhh that's what i needed!
<mordof>
arubin: thanks :)
<arubin>
No problem.
timonv has quit [Ping timeout: 252 seconds]
<mordof>
yay for not having to clutter up the channel near so much when i want to try something.
<arubin>
mordof: There is also ideone.com for future reference.
<arubin>
Just change the language to Ruby.
nari has quit [Quit: Ex-Chat]
<mordof>
arubin: i have sublime text, which utilizes the ruby compiler
rylev has quit [Ping timeout: 265 seconds]
einarj has quit [Ping timeout: 240 seconds]
<mordof>
i just find it easier, when i'm trying to fiddle with a single thing, to use a CLI or a small tool that responds easier
shubhamjain has quit [Read error: Connection reset by peer]
farn has quit [Read error: Connection reset by peer]
troyronda has quit [Ping timeout: 276 seconds]
centrx has quit [Quit: All this computer hacking is making me thirsty]
Gooder has quit [Read error: Connection reset by peer]
Symbiosisz has quit [Remote host closed the connection]
echevemaster has joined #ruby
MZAWeb has joined #ruby
<rkazak>
mordof: irb ?
pika_pika has quit [Ping timeout: 252 seconds]
jacobsmith has joined #ruby
hermanmunster has quit [Remote host closed the connection]
jamto11 has joined #ruby
hermanmunster has joined #ruby
senayar has joined #ruby
dseitz has joined #ruby
<benzrf>
irb < pry
<benzrf>
mordof: use vim !
crucify_me has quit [Remote host closed the connection]
<benzrf>
real hackers use vim
<benzrf>
or emacs
evenix has joined #ruby
<benzrf>
ST is for hipsters who use macs cuz theyre prettier
<benzrf>
>:(
<arubin>
Adults do not care about impressing "real hackers".
<benzrf>
i was saying that semi-ironically
* benzrf
dons thick-framed glasses
ekinmur has joined #ruby
* benzrf
moves to portland
hermanmunster has quit [Ping timeout: 276 seconds]
<benzrf>
actually, i already live in the portland area
<benzrf>
just a different portland
<benzrf>
its annoying cuz googling for portland always brings up the other one
ekinmur has quit [Remote host closed the connection]
AlSquirikou has quit [Quit: This computer has gone to sleep]
AlSquirikou has joined #ruby
ekinmur has joined #ruby
AlSquirikou has quit [Client Quit]
<mordof>
i prefer ST.. been using it for years
metamaterial has joined #ruby
<benzrf>
have you used vim tho
<mordof>
some, yes
ekinmur has quit [Client Quit]
bamyojo14335 has quit [Quit: bamyojo14335]
AlSquirikou has joined #ruby
shubham has joined #ruby
<benzrf>
no man u gotta use it for at least a month
<rkazak>
what there’s something apart from emacs…
<benzrf>
it takes time for the stockholm syndrome to set in
AlSquirikou has quit [Client Quit]
shubham has quit [Client Quit]
<mordof>
lol
crzrcn has quit [Quit: Leaving.]
<benzrf>
>muh modal editing
AlSquirikou has joined #ruby
eval-in__ has quit [Remote host closed the connection]
eval-in has joined #ruby
AlSquirikou has quit [Client Quit]
AlSquirikou has joined #ruby
AlSquirikou has quit [Client Quit]
<mordof>
what's amazing about vim that i can't do with ST?
AlSquirikou has joined #ruby
jlast has joined #ruby
<benzrf>
modal editing
<benzrf>
:^)
AlSquirikou has quit [Client Quit]
<mordof>
what is modal editing? lol..
<benzrf>
editing with modes
AlSquirikou has joined #ruby
AlSquirikou has quit [Client Quit]
agarie_ has joined #ruby
AlSquirikou has joined #ruby
<arubin>
benzrf: Why is modal editing desirable?
AlSquirikou has quit [Client Quit]
eval-in has quit [Remote host closed the connection]
<benzrf>
because it lets you do awesome stuff with less keystrokes
<rkazak>
the buffer can apply syntax checking… folding… completion based on mode
eval-in has joined #ruby
davedev2_ has quit [Remote host closed the connection]
AlSquirikou has joined #ruby
<benzrf>
modal editing is to text editing as shells are to general file management
<benzrf>
imo
<arubin>
rkazak: He is not taking about emacs.
<dseitz>
visual block is pretty cool
<benzrf>
emacs & vim are awesome in different ways
davedev24 has joined #ruby
<benzrf>
dseitz: thats a specific feature though
<rkazak>
Yep.
AlSquirikou has quit [Client Quit]
jlast has quit [Ping timeout: 255 seconds]
<arubin>
benzrf: ST allows one to do most of those things without entering another mode.
oo_ has joined #ruby
AlSquirikou has joined #ruby
<dseitz>
I love Vim, but I also found ST more than capable enough so I moved to it
<benzrf>
u wut
<benzrf>
how do u even
agarie has quit [Ping timeout: 252 seconds]
AlSquirikou has quit [Client Quit]
<rkazak>
:O
<kies>
D:
<benzrf>
!!
<dseitz>
hehehe
AlSquirikou has joined #ruby
<arubin>
emacs is far more interesting than vim, but the finger contortions are a bit ridiculous.
<rkazak>
you can remap that…
AlSquirikou has quit [Client Quit]
<rkazak>
emacs is a way of life....
sdwrage has quit [Quit: This computer has gone to sleep]
<benzrf>
12:46 < arubin> benzrf: ST allows one to do most of those things without entering another mode.
burntbeta has quit [Quit: Leaving]
<benzrf>
arubin: i do not think u would say that if you had used vim for long enough to get some muscle memory
<benzrf>
:^)
<arubin>
benzrf: I do not understand this line of argument.
AlSquirikou has joined #ruby
oo_ has quit [Remote host closed the connection]
dapz has joined #ruby
<arubin>
The ability to write code as fast as possible is not high on the list of important skills.
AlSquirikou has quit [Client Quit]
oo_ has joined #ruby
<arubin>
Remove tedium, sure.
<arubin>
Saving a few keystrokes, meh.
chipotle has quit [Quit: cya]
AlSquirikou has joined #ruby
<myke>
you get used to the contortions
davedev24 has quit [Ping timeout: 252 seconds]
<myke>
like playing chords on a guitar
eval-in has quit [Remote host closed the connection]
eval-in has joined #ruby
AlSquirikou has quit [Client Quit]
<dseitz>
The modes are the most missed feature when working in ST for me; but the gain is so minimal that its like "Eh"
jcs222 has quit [Quit: leaving]
AlSquirikou has joined #ruby
<arubin>
dseitz: Can you give an example of something that is made easier by modes?
<benzrf>
dseitz: >:o
sdwrage has joined #ruby
<myke>
emacs modes?
AlSquirikou has quit [Client Quit]
<arubin>
vim
<benzrf>
arubin: u are making the arguments of a blub person
<myke>
oh, dunno
<myke>
the emacs modes are pretty crucial
<arubin>
Yes, we are not talking about emacs modes though.
AlSquirikou has joined #ruby
<myke>
arubin: can you reindent your entire buffer in ST?
<dseitz>
I don't think it is something I could really describe here. You get used to the editing style and after learning how to exploit it, you sort of miss being able to do it
<arubin>
myke: Yes.
<benzrf>
myke: that's not the question
eval-in has quit [Remote host closed the connection]
<benzrf>
dseitz++
eval-in has joined #ruby
AlSquirikou has quit [Client Quit]
dcunit3d has joined #ruby
<benzrf>
the ability to do powerful editing with regular keystrokes in the way vim lets you feels like using a shell after doing GUI-based file management
<arubin>
benzrf: Most everything can be done in ST with keystrokes.
AlSquirikou has joined #ruby
AlSquirikou has quit [Client Quit]
<dseitz>
benzrf: If you're curious, how I got to using ST... well, it started with a new MB, a clone of my Vim tree... and realizing that brew/MacVim and mavericks were broke and the research it took to resolve it was a nightmare when I was doing it
mary_synthesizin has quit [Remote host closed the connection]
vpretzel_ has joined #ruby
mikepack has joined #ruby
oo_ has quit [Ping timeout: 252 seconds]
AlSquirikou has joined #ruby
<dseitz>
I spent hours trying to get my favorite Python-based plugins to work; later I came back and learned I had to patch the binaries after building it -- so rediculous
AGreyCrane has quit [Quit: This computer has gone to sleep]
<mordof>
dseitz: so does that mean there's no good working vim client for mac os right now?
oo_ has joined #ruby
<mordof>
or is that just the modified version you used
AlSquirikou has quit [Client Quit]
<benzrf>
sudo apt-get install vim-gtk
<benzrf>
oh wait ur on os x
AlSquirikou has joined #ruby
<dseitz>
Mavericks comes with a pretty capable version of Vim; MacVim is super easy to install and get running
<benzrf>
ill just be over here using my FLOSS OS
<dseitz>
It's just... Python
<benzrf>
with a system-integrated package manager
<benzrf>
:^)
<mordof>
benzrf: OS X for my work computers. i'm a windows user normally :p
AlSquirikou has quit [Client Quit]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf>
windows????
* mordof
nods
* benzrf
shuns mordof
<arubin>
If a brew package like macvim were broken, it would be fixed fairly quickly.
<mordof>
haha
<benzrf>
stay away from me peasant
<mordof>
;_;
<benzrf>
i dont want to catch your viruses
* mordof
chases after benzrf
vpretzel has quit [Ping timeout: 240 seconds]
<dseitz>
arubin: They broke Python for quite a while if you recall
AlSquirikou has joined #ruby
* mordof
doesn't have any viruses
<mordof>
i just formatted, lol
twiceaday has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<benzrf>
absolutely disgusting
<myke>
better lose that attitude
AlSquirikou has quit [Client Quit]
<benzrf>
myke: it's fun ho
<benzrf>
*tho
<arubin>
If benzrf loses the attitude, what will he have?
<myke>
today i did a chef/vagrant/etc setup entirely on web guy's windows box...and the only change needed was pulling down a shell script, because that still cares about line endings, and of course windows git changes everything to windows text format (and back)
AlSquirikou has joined #ruby
<benzrf>
arubin: lel
<myke>
everything else was literally the same...run commands on git bash, except they end in .exe now
<benzrf>
still disgusting
AlSquirikou has quit [Client Quit]
mikepack has quit [Ping timeout: 264 seconds]
<myke>
we generated his keys and everything right on windows, the same way as on unix
<benzrf>
nyehh]
<benzrf>
its not floss even
<myke>
actually in bash you don't even need the .exe, it seems to automagically add it
AlSquirikou has joined #ruby
twiceday has quit [Ping timeout: 240 seconds]
<Lemur>
....I came in at an odd time
<myke>
benzrf: if you keep piling on floss tools at what point is it floss?
<Lemur>
wat
<dseitz>
When you put it in your teeth
AlSquirikou has quit [Client Quit]
<benzrf>
myke: at the point rms doesnt complain
<benzrf>
:^)
<myke>
benzrf: so no existing system now and probably ever, then
AlSquirikou has joined #ruby
<mordof>
myke: you don't need the .exe in command prompt
<myke>
orly
* mordof
nods
<myke>
hmm that's changed too, probably from command.com to cmd.exe
AlSquirikou has quit [Client Quit]
<benzrf>
mordof: stop using windows or ill keep shunning you
<mordof>
yeah
<benzrf>
windows is for lusers
<Lemur>
I assume it's been said, but windows and Ruby is going to be a bad time
<myke>
haha what?
<myke>
why?
<mordof>
no? lol
<benzrf>
windows and anything at all besides games is going to be a bad time
<arubin>
dseitz: Just installed MacVim via brew and it ran without a problem.
<benzrf>
windows bloooooooooooooooows
<myke>
wow you guys need to get out of the 90s
AlSquirikou has joined #ruby
rkazak has quit [Quit: rkazak]
<dseitz>
arubin: Like I said; specific issue of the time :)
<myke>
hate to tell you but all these tools are ported to windows and they work great...they are the same
<myke>
if i only showed you the shell window you would not be able to tell it was windows
<Lemur>
I live in a terminal mind you, and there's a huge difference.
<Lemur>
dir
<Lemur>
yep
<Lemur>
I can tell
<myke>
i live in a terminal and i'm telling you there's not
<myke>
yeah you don't use cmd.com
<myke>
you use bash
oo_ has quit [Ping timeout: 240 seconds]
AlSquirikou has quit [Remote host closed the connection]
<mordof>
i'm used to people hating on windows.. meh
<benzrf>
windows continues to blooooooooooooooooooooooooooow
<myke>
but i use the mingw tools and sometimes the old unxutils
AlSquirikou has quit [Client Quit]
<myke>
sounds like some ppl are looking to be obsolete...
<benzrf>
i say this as somebody who used windows for 10 years and swore by it until i switched to loonix
<mordof>
i'm still able to modify a lot more stuff in windows that i know how to in any other operating system - so it continues to be the most manipulatable system to me
* mordof
shrugs
<Lemur>
define obsolete
estaban has joined #ruby
<benzrf>
>01:05 < mordof> i'm still able to modify a lot more stuff in windows that i know how to in any other operating system - so it continues to be the most manipulatable system to me
<myke>
lemur: not being able to do your job on all operating systems
<benzrf>
AHAHAHAHAHAHAHAHAHAHAHHAHAHAHAHAHAHAHAHA
AlSquirikou has joined #ruby
<myke>
i run linux...but every other computer in this office is windows
<myke>
desktops i mean
<Lemur>
I can, I just feel like jumping out a window afterwards
agarie_ has quit [Remote host closed the connection]
AlSquirikou has quit [Client Quit]
agarie has joined #ruby
<Lemur>
I typically run *BSD type systems when I have a choice, I was a SysAdmin for a number of years. Windows is the fastest way to drive me up a wall.
<mordof>
benzrf: and up until last week - i've always wanted to do some degree of gaming on my computer. that being a primary motivator
<myke>
mostly what annoys me about windows are popups you can't stop
<dseitz>
I don't mind working in Windows; some of the visual tools aren't too bad. The font rendering is horrendeous; I can't recall how I could think it was good
AlSquirikou has joined #ruby
<myke>
i need to find a good virtual desktop system for Aero
<myke>
i bet there is one
<dseitz>
But ultimately... it becomes a case of "Does XYZ have Dash?? " hehehe
<myke>
never found one for xp but i think you need Aero for that to work on windows
<dseitz>
I think we are thinking of different things
AlSquirikou has quit [Client Quit]
<benzrf>
yeah lol\
<Lemur>
dash is an alt shell, but not what he's on.
meatherl_ has quit [Remote host closed the connection]
crzrcn has joined #ruby
<Lemur>
benzrf, I thought it too
<myke>
we have windows roaming desktops...powered by samba4
<myke>
it's slick as
<benzrf>
universal truth: nobody will realize how awful windows is until they use a unix for programming for at least a year and then go back
AlSquirikou has joined #ruby
<mordof>
benzrf: the other thing is being a webgl developer right now isn't that great in anything other than windows
<mordof>
so there's that as well
estaban has quit [Ping timeout: 252 seconds]
<benzrf>
u wut
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
<dseitz>
Dash documentation tool is a simple idea that turned it to a great developer tool
AlSquirikou has quit [Client Quit]
<RubyPanther>
I only use *nix, and I had no trouble doing WebGL programming for a 3d class on both regular linux, and android
<Lemur>
Learn Pry well, also quite useful
iamayam has joined #ruby
lethjakman has joined #ruby
<benzrf>
pry owns
<benzrf>
thx banister
<mordof>
RubyPanther: well - i'm a poor excuse for a *nix user, so that's more likely the reason then, hah
AlSquirikou has joined #ruby
<RubyPanther>
If you can't even find the libraries you need to install, you're screwed no matter what tech you use
<Lemur>
Doing a conference talk on it in June
mansi has joined #ruby
<Lemur>
Well, internal conference, but still a pretty large one.
arietis has joined #ruby
wallerdev has quit [Ping timeout: 252 seconds]
AlSquirikou has quit [Client Quit]
<mordof>
benzrf: i'm basically on a completely fresh install of windows. nothing is installed yet. are you willing to help me get things rolling in a different OS if i switch? lol
<Lemur>
I tried writing Ruby in Windows for a year and a half
<RubyPanther>
And you can use "windows" the OS without using any of the MS dev tools, there seems to be some product conflation going on here
<Lemur>
It was hell
<benzrf>
mordof: hell yeah
michaeldeol has joined #ruby
AlSquirikou has joined #ruby
<mordof>
benzrf: gonna be around tomorrow during the day?
<benzrf>
sure
<mordof>
alright
<benzrf>
wait probably
<myke>
you don't have to switch
<benzrf>
my mom might try to drag me somewhere
<myke>
just fire up a virtualbox
AlSquirikou has quit [Client Quit]
<Lemur>
FreeBSD ftw
<myke>
freebsd is my main os
<myke>
i only got into linux because freebsd was lagging on virtualization
<myke>
but they stepped up and got that handled
<RubyPanther>
One of my main clients runs my code on windoze using SQL Server, but I develop it on linux using postgres. Last time I had an OS-specific GUI bug using Gtk... 2003
<myke>
now i'm considering setting up a bhyve
AlSquirikou has joined #ruby
<Lemur>
OpenBSD is normally my go to
<benzrf>
Lemur: i would, if gnu/linux hasnt completely dominated it on market share
<benzrf>
afaict
crzrcn has quit [Ping timeout: 252 seconds]
<myke>
RubyPanther++
<myke>
i was one of those "no microsoft evar!!" guys in the 90s...now i just use computers
<dseitz>
I used to be into Windows programming.
Kruppe has quit [Ping timeout: 258 seconds]
<RubyPanther>
If you're still platform locked... don't do that, it hurts
AlSquirikou has quit [Client Quit]
<benzrf>
i know you could say the same about windows v gnu/linux but unless im wrong the gap is smaller
<Lemur>
OpenBSD is heralded as the most secure OS in existence.
<myke>
Lemur: as long as you never need to use the disk
_m_g_ has joined #ruby
<dseitz>
MS lost direction several years ago and alienated many teams. I'll never buy visual studio again; and no, express is a far shadow of the real thing
<Lemur>
I'm inclined to agree
<benzrf>
FLOSS 4ever
<Lemur>
myke: expand
AlSquirikou has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
<myke>
at this point openbsd is basically just the reference platform for openssh, and whatever the final name of their openssl gutting project is
AlSquirikou has quit [Client Quit]
SlvrDragn has quit [Ping timeout: 276 seconds]
_m_g_ is now known as SlvrDragn
<Lemur>
LibreSSL
<myke>
Lemur: openbsd hasn't been a serious server platform in some time
<arubin>
Ultimate edition is only $13,299!
AlSquirikou has joined #ruby
<Lemur>
I still deploy OpenBSD servers
<RubyPanther>
openbsd is widely used by people not kewl enough to have their OS choices talked about
<dseitz>
arubin: Newest version now supports HTML5!!!
<myke>
Lemur: and they probably all have horrible disk performance
Kruppe has joined #ruby
<Lemur>
Not really
AlSquirikou has quit [Client Quit]
<myke>
i still have an openbsd router at home, but with multi-core pf on freebsd now, that'll likely be the last one
<mordof>
so which distro do i go with? lol
<Lemur>
Never anything noticeable.
<Lemur>
Mint tends to be a nicer start
<myke>
mordof: ubuntu 14.04
<mordof>
not ubuntu >.>
<benzrf>
mordof: want something with a windows-y gu
<benzrf>
*gui
<Mark_>
ubuntu 14.04 is the easy choice
<s2013>
how does ruby interface with commandline tools like imagemagick? i am going through rmagic gem source code but not understanding it fully
<benzrf>
mordof: use mint
<Mark_>
hands down
AlSquirikou has joined #ruby
<benzrf>
it's an ubuntu fork with a more windows-like dev1x
<benzrf>
*DE
<s2013>
i thought it would just execute imagemagick in the background using `
<mordof>
easy, yes. absolutely gross, also yes
<Lemur>
Mint is based on Ubuntu, but looks more Windows
<benzrf>
^
<RubyPanther>
s2013: It doesn't, I think it uses the C api?
<dseitz>
mordof: Probably something with a quick upstart, Ubuntu is probably the easiest OS to install - from zero to up and ready faster than any OS I've ever installed
<dseitz>
I prefer Arch though :P
<benzrf>
mordof: naturally you could just set up cinnamon on ubuntu
<s2013>
how though
<benzrf>
mordof: works either way
<RubyPanther>
normally anything that is a CLI tool has a C api, and that is what is interfaced with
AlSquirikou has quit [Client Quit]
lethjakman has quit [Ping timeout: 264 seconds]
<benzrf>
you're not exactly tethered to any DE
<myke>
how's zfs on openbsd?
oo_ has joined #ruby
<s2013>
does it use ffi?
<Lemur>
Haven't had a need for it
bodeezl has quit [Ping timeout: 240 seconds]
<Mark_>
theres really no use case for openbsd
<Mark_>
sorry friends
<mordof>
benzrf: used lubuntu, mint, and cinnamon. i've jumped back and forth on those OS's based on ubuntu.. hmm actually i forget which distro i've got on my laptop now
<Lemur>
Zetabyte File System
<Mark_>
not trying to start a holy war or anything here
<myke>
ok, so we have different definitions of "server"
Milly_Bays has quit [Ping timeout: 264 seconds]
AlSquirikou has joined #ruby
crzrcn has joined #ruby
<Mark_>
but freebsd can barely keep up with linux, openbsd is basically playing with flowers in the corner
<mordof>
benzrf: i know enough to get around in linux - i also know enough about ubuntu to know that the main distro is bloated to hell and i won't touch it, lol. it's worse than windows 8 for me
<dseitz>
Oh on another note; Unreal Tech is support Linux again :)
<RubyPanther>
I recommend Fedora for 3 reasons: there are always paste-able lists of RPM dependencies for major software, it is very pragmatic and "business friendly" including being a good server and a good dev platform, and it is no longer trendy enough to be full of hipsters
<Lemur>
Mark: Facts
<myke>
mordof: try xubuntu then
AlSquirikou has quit [Remote host closed the connection]
<Lemur>
RubyPanther: Never Fedora
<myke>
none of the ubuntus are anywhere near as bloated as windows
<mordof>
myke: ah - that was the one i've got on my laptop. yeah
rylev has joined #ruby
<Lemur>
it's the alpha playground of Redhat.
AlSquirikou has joined #ruby
<mordof>
myke: no i know. windows 8 just doesn't "feel" like it to me, even though i know it is, heh
<Lemur>
minefield, that
<RubyPanther>
In fact, most hipsters react to Fedora almost as if they have allergies
<mordof>
myke: i hate unity though
<benzrf>
mordof: use mint
<iamayam>
^^
<mordof>
meh - xubuntu it is tomorrow
<myke>
mordof: xubuntu has xfce
<benzrf>
its basically ubuntu w/ cinnamon
<myke>
tho you can get even leaner setups
<Lemur>
Blanket statements a case does note make
AlSquirikou has quit [Client Quit]
<myke>
i had a nice icewm setup for xrdp going
<RubyPanther>
"Society is important because of ubuntu" -- President Clinton
<Lemur>
not*
<myke>
much leaner even than xfce
<Lemur>
TMUX
<dseitz>
xfce is nice; I ended up configuring AwesomeWM and sticking with that for quite some time
<dseitz>
Don't recommend it unless you have a few hours to kill
<Lemur>
I don't use a GUI unless I have to
AlSquirikou has joined #ruby
<Lemur>
but then again I'm also used to headless servers
<Lemur>
definitely not for everyone
<myke>
it's more than windows, it also gives you virtual desktops
<Lemur>
and as far as OpenBSD bashing, facts or it didn't happen
rkazak has joined #ruby
AlSquirikou has quit [Client Quit]
<Mark_>
=/
<Mark_>
nobody uses fbsd for new deployments
<Mark_>
not since like.. 5
<Mark_>
;/
AlSquirikou has joined #ruby
<Mark_>
they didnt get any real smp networking until fbsd 8 right?
<Lemur>
Not a fact
<Mark_>
let me check
<Lemur>
try again
AlSquirikou has quit [Client Quit]
<benzrf>
nixos looks to be good for servers
<benzrf>
i know almost nothing about it tho
<Lemur>
The point of OpenBSD is security, not speed. Full disk encryption will slow things down.
<RubyPanther>
You can actually turn that stuff off...
AlSquirikou has quit [Client Quit]
<Mark_>
yes because openbsd was immune to heartbleed rite
<Lemur>
Irrelevant
<myke>
does yahoo still run on freebsd?
<Lemur>
Why do you think they're forking the project?
AlSquirikou has joined #ruby
<Mark_>
lol
<Mark_>
i dunno, because they like to close the barn door after all the horses already escape?
<RubyPanther>
if your system is configured based on defaults, you shouldn't claim to have "performance" anyways, or to care about it. Or security, for that matter... installing OpenBSD is a good start but it doesn't teach you how to set up a server to run secured services
oo_ has quit [Ping timeout: 252 seconds]
<rkazak>
to many forks are a distraction…
<Lemur>
No OS can defend against bad 3rd party programs
<Mark_>
i can run a linux system just as secure as openbsd
AlSquirikou has quit [Client Quit]
<Mark_>
its called 'not running anything by default'
<Mark_>
its not hte kernel getting 'hacked' anyway, its the daemons
<Mark_>
and its not like you arent going be using the same old shit
<Mark_>
apache, nginx, isc bind, dhcp, etc
AlSquirikou has joined #ruby
<myke>
you guys know there's close ties between Apple and freebsd right?
<Mark_>
sooooooooo, that security high horse can eat a dick
<Mark_>
lol
<myke>
it's not just happenstance that freebsd is ported to clang these days
<rkazak>
Lol
<RubyPanther>
BSDs have a long history of defending against bad 3rd party programs, but aggressively altering the versions they ship. If they missed a few, that doesn't change that they're the best group at doing that.
<myke>
or that the osx userland is essentially the freebsd userland
<Mark_>
freebsd is moving away from gcc because of gpl3
<Mark_>
not 'apple ties'
AlSquirikou has quit [Client Quit]
<Mark_>
hey i like bsd's, competition is good, choices are good
<Lemur>
The amount of 'research' you've done regarding this isn't particularly impressive.
<mordof>
... i feel like i somehow spurred on this conversation after saying I use windows >.>;;; lol
<Mark_>
but that openbsd is the bees knees for security schtik is tired and old
AlSquirikou has joined #ruby
<Lemur>
regardless, mute, as I don't have time to deal with children
nolic has joined #ruby
<Mark_>
'those bad guys winnuking people wont get me, im running openbsd'
<Mark_>
:P
<RubyPanther>
openbsd being old, or having a security focus for a long time, doesn't mean it is tired, or that it is not still true
<myke>
Mark_: no
AlSquirikou has quit [Client Quit]
* mordof
wanders off to bed.
<myke>
you think it's just random that freebsd was the first os to be built with clang?
<rkazak>
can we talk about opensolaris … ;)
<RubyPanther>
They've had, what, 1 root exploit in 10 years? Nobody is perfect...
<Mark_>
rofl, opensolaris
<mordof>
i'll be bad tomorrow ready to set up a "real" dev environment to work in, lol
<Mark_>
aka 'that thing zfs came from right?'
<benzrf>
mordof: :^)
<myke>
i still remember when they got jordan hubbard to step down as freebsd project leader and go work for apple instead
<mordof>
back*
<RubyPanther>
my first *nix shell was on SunOS 4
AlSquirikou has joined #ruby
<myke>
zfs made opensolaris worth it
<rkazak>
yep and zones and dtrace....
<RubyPanther>
csh
AlSquirikou has quit [Client Quit]
<myke>
last i checked openzfs wasn't nearly as far along and btrfs is still essentially a lab project
oo_ has joined #ruby
x1337807x has joined #ruby
AlSquirikou has joined #ruby
<myke>
opensolaris.ko is still a prerequisite for zfs.ko
<benzrf>
and reiserfs kills ur wife
<rkazak>
:)
AlSquirikou has quit [Client Quit]
mary_synthesizin has joined #ruby
AlSquirikou has joined #ruby
mary_synthesizin has quit [Remote host closed the connection]
<mordof>
benzrf: only downfall - my entire data drive is ntfs / windows related files. blegh
<rkazak>
the god old day! HoHumm….
<mordof>
benzrf: it's read/writable now - but yeah.. kind of annoying
AlSquirikou has quit [Client Quit]
<mordof>
hmmm
AlSquirikou has joined #ruby
<mordof>
photoshop/illustrator/autocad.. wondering how those will work in a VM..
AlSquirikou has quit [Client Quit]
<Mark_>
all those major players really turning to openbsd for their killer apps right :P
<Mark_>
all those ec2 bsd instances
<Mark_>
oh and herokus bsd framework rite? :P
<Mark_>
and redhat openshift and microsoft azure and google cloud engine
AlSquirikou has joined #ruby
<Mark_>
openbsd is so prevalant throughout all of them, isnt it :P
yfeldblum has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlSquirikou has quit [Client Quit]
ericmathison has joined #ruby
oo_ has quit [Remote host closed the connection]
<Mark_>
if you're gonna use freebsd, rock on, but that security argument is bogus and a half :X
<Mark_>
err, openbsd * :P
johncjensen has quit [Remote host closed the connection]
<rkazak>
Mark_: was that a button we pressed ?
AlSquirikou has joined #ruby
AlSquirikou has quit [Client Quit]
oo_ has joined #ruby
<Mark_>
nah i just got distracted for a second
<Mark_>
:P
<rkazak>
:)
michaeldeol has joined #ruby
<Mark_>
i do get annoyed at obscuro evanglists though
AlSquirikou has joined #ruby
<rkazak>
anyway we are above that - it’s ruby were we-is @!!
<myke>
freebsd works great on ec2
<Mark_>
well, yea thats the best point of them all
<myke>
i've been using it for a few things now
<Mark_>
how often are we really touching bare os these days anyway
AlSquirikou has quit [Client Quit]
<rkazak>
right.
<Mark_>
90% of my stuff is 'git push' :P
<rkazak>
nice.
<Mark_>
even on azure, nicely enough
AlSquirikou has joined #ruby
<myke>
Mark_: ...which is the argument that started all this actually
<rkazak>
There has got to be some radical change until then we have what we have...
AlSquirikou has quit [Client Quit]
<myke>
nowadays your stack is almost entirely independent of the underlying OS
<myke>
everything's ported
<myke>
well almost
<myke>
lack of inotify in freebsd is a problem
AlSquirikou has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
akonny has joined #ruby
<rkazak>
I always wonder if the developer community is spreading itself too thin, choice is good to much choice is confusion and wasteful ?
isomorphismes has joined #ruby
<isomorphismes>
I'm stuck on ruby koan number 6
<mordof>
too much choice is only a problem for those that don't know what they want
AlSquirikou has quit [Client Quit]
<Mark_>
its not really spreading itself so thinly
<Mark_>
theres a herd mentality
yarou has joined #ruby
<Mark_>
which is why projects that were historically extremely strong, are more 'maintenance mode'
<Mark_>
its not just operating systems, its certainly languages
AlSquirikou has joined #ruby
<rkazak>
agreed.
sdouglas has joined #ruby
<isomorphismes>
The answers on stackoverflow are too cryptic for me to understand.
<Mark_>
ruby is still new, but look how many flavors are up and coming
<yarou>
ruby is new
<Mark_>
well, new to really heavy usage i suppose
<rkazak>
relatively…
AlSquirikou has quit [Client Quit]
<Mark_>
5 years ago it was all php or asp.net
jamto11 has quit [Remote host closed the connection]
<Mark_>
5ish years before that it was all perl/early php
<rkazak>
Ruby needs more ‘killer’ apps… Rails is the only thing at the moment?
<Mark_>
its an interesting time to be a web developer
AlSquirikou has joined #ruby
dcunit3d has quit [Ping timeout: 252 seconds]
<Mark_>
well, ruby has discourse, but its not really there yet, kind of a pita
<rkazak>
Yes, I would agree with that too.
<Mark_>
its nice looking forum software
<yarou>
yes ruby is so painful
<yarou>
compared to asp
AlSquirikou has quit [Client Quit]
<yarou>
...
<Mark_>
tbh i find php easier than anything
jlast has joined #ruby
<Mark_>
but its also the sloppiest and hackish of the bunch
<Mark_>
python is usually so clean to ready
<Mark_>
read*
AlSquirikou has joined #ruby
<myke>
perl is the most dramatic example
arietis has joined #ruby
<myke>
in the 90s the web ran on perl
AlSquirikou has quit [Client Quit]
<myke>
now you barely ever see it
<Mark_>
heroku and openshift are helping move languages like ruby and python into mainstream usage though
<Mark_>
the 'app stack' webdev mentality
<rkazak>
not sure about that…
<yarou>
just because you "barely ever see it" doesn't mean it's never used
<yarou>
lol
<Mark_>
yea well, i get paid to write .NET
AlSquirikou has joined #ruby
<yarou>
COBOL is still used
<yarou>
but you "never see it"
<Mark_>
as do most every other 'enterprise developer' i know
<yarou>
aka "it's never talked about"
<isomorphismes>
I'm copy-pasting error messages from irb like is suggested on SO. Maybe they need to be in quotes?
<Mark_>
well, would you talk about cobol if you still used it? lol
<rkazak>
COBOL - is still there from ye-old-days....
<Mark_>
like bragging about your vw rabbit
AlSquirikou has quit [Client Quit]
ce_afk is now known as cescalante
<myke>
yarou: i pay attention to what my programs run on...there's still a few perl ones but none on the web
<arubin>
myke: With modern URL rewriting, you would not know.
<yarou>
ok i wrote my latest web service in Go
<yarou>
am i cool kid now?
<rkazak>
Yo!
<myke>
arubin: i'm talking about what runs on my own servers
<Mark_>
cool dudes use clojure
AlSquirikou has quit [Client Quit]
<Mark_>
everyone knows that
<Mark_>
or scala
<certainty>
yarou: only if you also can play Go
<Mark_>
thats hip and trendy now right?
senayar has quit [Remote host closed the connection]
<Mark_>
fuck this passe ruby shit
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
<yarou>
i watched an anime about Go, does it count
<yarou>
i read a manga about it too
<certainty>
almost
AlSquirikou has joined #ruby
yfeldblum has joined #ruby
<yarou>
darn
<yarou>
almost famous
<rkazak>
I say trust in rust….
<myke>
the P in LAMP was originally perl
lukec has quit [Quit: lukec]
AlSquirikou has quit [Client Quit]
jlast has quit [Ping timeout: 264 seconds]
jacks_spleen has quit [Quit: Leaving]
<certainty>
Mark_: clojure calling into java calling into jruby interoping with scala is the next hot thing
AlSquirikou has joined #ruby
<Mark_>
i do kind of miss perl being a thing i actually wrote code in
<benzrf>
im be gone now for sleep
<Mark_>
and not just one liner i google now and then
<myke>
that's what i mean
* benzrf
zzz
<certainty>
benzrf: yo sleep well
<mordof>
benzrf: so.. i realized this was a giant rabbit hole for me
<rkazak>
night!
<mordof>
benzrf: i don't need to switch OS's to learn ruby - and that's my primary focus right now
AlSquirikou has quit [Client Quit]
<mordof>
so... yeah :p
benzrf is now known as benzrf|offline
<Mark_>
no, you just need to go to heroku.com or openshift.com and get to twerk
<myke>
mordof: i'm having a hard time thinking of a language that doesn't natively run on windows these days
<yarou>
heroku is actually great
<mordof>
hm?
<yarou>
honestly
<mordof>
myke: i know, heh
isomorphismes has left #ruby [#ruby]
AlSquirikou has joined #ruby
wiku5_ has joined #ruby
<yarou>
aws is like going to that strip club that charges more
<yarou>
but the models arent as great
<myke>
ballmer's gone...i say we give the new guy a chance
tkuchiki_ has quit [Ping timeout: 264 seconds]
<myke>
haha
AlSquirikou has quit [Client Quit]
<myke>
that's really a great analogy
<rkazak>
you can alwasy download Virtualbox and run ruby in a number of VMs….
mostlybadfly has quit [Quit: Connection closed for inactivity]
<myke>
i was thining today how relatively crappy a t1.micro is for $15/mo
<certainty>
myke: many, often libraries don't run on all platforms and windows is a prominent example of a platform being mostly ignored by some libraries
<mordof>
oh - i have a VPS that i can install stuff (ubuntu server) if i want to run linux stuff remotely
bodeezl has joined #ruby
<myke>
considering the indy vps you can get for that
<mordof>
Mark_: having a linux environment at my disposal remotely isn't an issue
AlSquirikou has joined #ruby
claymore has joined #ruby
<arubin>
myke: The state of Rust on Windows is pretty sad.
Kruppe has quit [Ping timeout: 258 seconds]
* mordof
is running his weechat through ssh tunnel of his vps
<myke>
certainty: libraries, sure, i'm talking about the core language
<certainty>
yeah there aren't many that don't target windows somehow
AlSquirikou has quit [Client Quit]
<certainty>
if any
sparrovv has joined #ruby
<rkazak>
Also ruby is on the RasberryPI….
_m_g_ has joined #ruby
<myke>
mordof: ssh tunnel, how quaint...why no openvpn?
<arubin>
The issues with Windows generally come from library support.
yfeldblum has quit [Ping timeout: 264 seconds]
<mordof>
myke: not sure how to set that up :p
SlvrDragn has quit [Ping timeout: 276 seconds]
_m_g_ is now known as SlvrDragn
AlSquirikou has joined #ruby
<mordof>
myke: putty -> weechat. easy
<myke>
i had a whole mess of nasty ssh and port forward hacks, set up openvpn and got rid of all that cruft
phansch has joined #ruby
<myke>
oh, that's just regular ssh
AlSquirikou has quit [Client Quit]
<myke>
ssh tunneling means something else
<yarou>
i don't know why ruby is considered a "hipster" language along with javascript
<myke>
yarou: you can thank RoR for that :/
<certainty>
because most ruby programmers don't look like the usual nerds? *wild guess*
tkuchiki has joined #ruby
AlSquirikou has joined #ruby
<yarou>
are we supposed to use C? lol
wiku5_ has quit [Client Quit]
<yarou>
with off by one and buffer, heap, and stack overflows
<yarou>
i don't get it
<myke>
as for javascript, all the kiddies did kewl javascript tricks in the browser, and it oozed out from there
AlSquirikou has quit [Client Quit]
<certainty>
yarou: you can still be off by one in ruby
<yarou>
true
<yarou>
but i have less things in my head
<rkazak>
off by one is the human condition....
AlSquirikou has joined #ruby
<certainty>
not using explicit loops helps a great deal though
cescalante is now known as ce_afk
AlSquirikou has quit [Client Quit]
dtr has joined #ruby
Kruppe has joined #ruby
AlSquirikou has joined #ruby
sparrovv has quit [Ping timeout: 264 seconds]
<certainty>
it's much more natural to stop if there are no more elements, rather than stopping because the value of some index variable holds a value that happens to be interpreted as an index into my structure
<jdjd>
So, should I move away from my current job or stay at my current location? I hate location, but IT job transfer is possible and clean air. No social life though.
AlSquirikou has quit [Client Quit]
omosoj has quit [Quit: Leaving]
<jdjd>
VS.
<certainty>
what's the new syntax? I've lost track since the old days. I used to be an early adopter of boost
<certainty>
ah ok
<jdjd>
leaving, no IT job, social life, but pollution.
<myke>
certainty: it's all changed again, that's a C++11 thing there
bodeezl has joined #ruby
<jdjd>
and risk of health issues and lose of job.
AlSquirikou has joined #ruby
<myke>
however C++ now essentially has foreach
mordof has quit [Quit: WeeChat 0.3.7]
AlSquirikou has quit [Client Quit]
wiku5_ has joined #ruby
AlSquirikou has joined #ruby
<Mark_>
if im going to dev something myself id probably use C#, its one of the best written language specs and frameworks there is
<Mark_>
.NET that is, too bad mono isnt there yet
<Mark_>
but ruby is good for a lot too :P
<myke>
i've heard C# is good
<certainty>
myke: i see. So no more std::for_each
<Mark_>
well, im biased since i make money writing C#
AlSquirikou has quit [Client Quit]
<Mark_>
butttttttt, i definitely havent touched C++11 and i probably wont
<myke>
certainty: nope, it's all been migrated into the core language
<Mark_>
lol
<myke>
Mark_: that's ok, you can wait for C++17
AlSquirikou has joined #ruby
<Mark_>
honestly i still dont even feel right using namespaces in C++
<myke>
why?
<Mark_>
feels like i should just say fuck it and use a managed language, so i do, C#
AlSquirikou has quit [Remote host closed the connection]
<myke>
i like how php has namespaces now, until you call a function
<Mark_>
cus when i learned most projects were mostly C with a taste of C++ here and there
sdwrage has quit [Quit: This computer has gone to sleep]
AlSquirikou has joined #ruby
<Mark_>
so im still used to that old way of writing C, not that whole C++.NET and msvc mess, and namespaces, and all that jazz
<Mark_>
basically my C++ knowledge is stale
<jdjd>
Ok, what should I do?
<myke>
you should basically consider it a new language
<myke>
it's all changed quite a bit
AlSquirikou has quit [Client Quit]
<certainty>
myke: i see. I read a blog post about std::future and how they slowly get where other languages long are :)
oo_ has quit [Remote host closed the connection]
<jdjd>
Anyone?
<Mark_>
yea but ruby and node are my new languages :P
<yarou>
hey is C++ template instantiation NP-complete
<myke>
i'm thinking of just throwing out my old C++ books, they're essentially history books now
<Mark_>
if i ever need to get nitty gritty, itll be in C anyway
<Mark_>
a la linux kernel or modules
<jdjd>
Should I stay in city with no social life but opportunity to go into IT and get CS degree, or move away, risk losing job, get pollution, but have social life?
RaptorJesus__ has joined #ruby
AlSquirikou has joined #ruby
<yarou>
a social life? that's overrated
<myke>
certainty: well, it's easy when you have a virtual machine style runtime like ruby, python, etc
<Mark_>
jdjd, do what makes you happy
<certainty>
yarou: i don't know. I know that the template language is turing complete though
<Mark_>
otherwise whats the point
<myke>
C++ is so hard because it still compiles to native code
<jdjd>
Mark_: IDK which would make my happy.
<yarou>
jdjd: i suggest using a prostitute
agjacome_ has quit [Ping timeout: 265 seconds]
AlSquirikou has quit [Client Quit]
<jdjd>
If I stay, I can be happy in 2-3 years.
<Mark_>
how would we know what would make you happy then, if you dont even know? :P
<jdjd>
Easy.
<dtr>
hookers and blow
<jdjd>
If I leave, I can be happy soon, but may get sick.
<jdjd>
Have issues wiht health again.
<arubin>
People are quite bad at knowing what will make them happy.
oo_ has joined #ruby
<jdjd>
Lose job connections.
<Mark_>
where do you live where pollution is such an issue
<Mark_>
lol
<yarou>
but make sure the prostitute doesn't have STDs
<jdjd>
And lose chance to go into IT.
AlSquirikou has joined #ruby
<yarou>
probably seattle
<yarou>
LAWL
<Mark_>
hes making it sound like beijing
<jdjd>
Its a city in the top 10 of pollution.
<Mark_>
lol
<jdjd>
For USA.
<Mark_>
vague much?
<jdjd>
Yes.
AlSquirikou has quit [Client Quit]
<yarou>
actually detroit is one of the up and coming IT spots
<Mark_>
well you're in the carolinas now
<jdjd>
Phoenix.
<Mark_>
i live in phoenix
<Mark_>
lol @ pollution
<metamaterial>
did they put the internet into guns, yarou?
<jdjd>
IDK about that Mark_ lol at pollution.
<Mark_>
its an upgrade
AlSquirikou has joined #ruby
<jdjd>
Its dry as shit.
<Mark_>
if you have the chance, ditch the east coast
AlSquire has quit [Remote host closed the connection]
AlSquire has joined #ruby
cpruitt has quit [Ping timeout: 252 seconds]
AlSquire has quit [Remote host closed the connection]
AlSquire has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
malida has joined #ruby
AlSquire has quit [Remote host closed the connection]
AlSquire has joined #ruby
AlSquire has quit [Client Quit]
AlSquire has joined #ruby
AlSquire has quit [Remote host closed the connection]
eka has joined #ruby
AlSquire has joined #ruby
AlSquire has quit [Remote host closed the connection]
thisirs has joined #ruby
AlSquire has joined #ruby
raul782 has quit [Ping timeout: 252 seconds]
AlSquire has quit [Client Quit]
tkuchiki has quit [Remote host closed the connection]
AlSquire has joined #ruby
<relix>
hey guys, I'm using a gem that uses httparty to call some HTTPS urls
tkuchiki has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
<relix>
I get the certificate verification failed error: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
<relix>
since I can't reach into the gem to fix the httparty calls, what's the best solution here?
<relix>
is there a way to set httparty up by default with a cacert.pem?
AlSquire has quit [Remote host closed the connection]
AlSquire has joined #ruby
AlSquire has quit [Remote host closed the connection]
chipotle has quit [Quit: cya]
AlSquire has joined #ruby
chipotle has joined #ruby
Hanmac1 has joined #ruby
AlSquire has quit [Remote host closed the connection]
AlSquire has joined #ruby
thisirs has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
jamto11 has joined #ruby
crzrcn has joined #ruby
AlSquire has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
Hanmac has quit [Ping timeout: 240 seconds]
AlSquire has joined #ruby
timonv has joined #ruby
AlSquire has quit [Remote host closed the connection]
popl has quit [Quit: Lost terminal]
jhass|off is now known as jhass
AlSquire has joined #ruby
carraroj has joined #ruby
jlast has joined #ruby
AlSquire has quit [Remote host closed the connection]
bradhe has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
Celm has joined #ruby
AlSquire has joined #ruby
AlSquire has quit [Remote host closed the connection]
crzrcn has quit [Ping timeout: 240 seconds]
jamto11 has quit [Ping timeout: 252 seconds]
thisirs has joined #ruby
AlSquire has joined #ruby
AlSquire has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
<skinkitten>
there's only one example of group_by there
<Hanmac>
i might learned to program at school a bit and later in a job, but i mostly learned ruby by my self from documentation (and rmxp scripts ;P )
jlast has quit [Ping timeout: 240 seconds]
fannye has joined #ruby
Celm has quit [Ping timeout: 252 seconds]
RaptorJesus_ has joined #ruby
aalmenar has quit [Quit: No Ping reply in 180 seconds.]
<Hanmac>
there is also #chunk log.chunk{|h|h[:time]}.map {|(_,v)| v.inject(:merge)} ... currently returns the same as group_by but its a bit more different
yfeldblu_ has joined #ruby
RaptorJesus has quit [Disconnected by services]
RaptorJesus_ is now known as RaptorJesus
mikecmpbll has joined #ruby
aalmenar has joined #ruby
aalmenar has quit [Changing host]
aalmenar has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
chipotle has quit [Quit: cya]
mengu has quit [Remote host closed the connection]
aspiers has joined #ruby
sparrovv has quit [Remote host closed the connection]
eval-in has quit [Remote host closed the connection]
eval-in has joined #ruby
Milly_Bays has joined #ruby
narcan has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
kirun has joined #ruby
eval-in has quit [Remote host closed the connection]
aagdbl has quit [Quit: Connection closed for inactivity]
ce_afk is now known as cescalante
mercwithamouth has quit [Ping timeout: 252 seconds]
raul782 has joined #ruby
jcs222_ has joined #ruby
tsnfoo has quit [Ping timeout: 265 seconds]
nerdman has quit [Quit: leaving]
`MArceLL` has quit []
juni0r has quit [Ping timeout: 240 seconds]
jcs222 has quit [Read error: Connection reset by peer]
cschneid has quit [Ping timeout: 265 seconds]
anicet has joined #ruby
anicet is now known as Guest86355
crystal77 has quit [Quit: Computer has gone to sleep.]
_axx has joined #ruby
<_axx>
Hello, i need to write a worker in ruby, that processes ~3500 jobs (https requests, ping requests etc) every minute or every five minutes. any idea on how to accomplish this, without to many problems? :)
<jhass>
hm, I think I'd just use sidekiq
IceDragon has quit [Ping timeout: 240 seconds]
IceDragon has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
troyronda has joined #ruby
tkuchiki has joined #ruby
ekinmur has joined #ruby
crystal77 has joined #ruby
<_axx>
hm
<_axx>
The problem i have, is that it seems like the tasks aren't getting finished fast enough, to be requeued
cschneid has joined #ruby
<jhass>
increase the concurrency and maybe add a second worker process?
einarj has joined #ruby
<jhass>
if a single job really takes > n minutes and you want to queue a new one <= n minutes, you should reconsider the every n minutes requirement
ylluminate has quit [Ping timeout: 252 seconds]
<jhass>
(a new one doing the same thing)
klaut has joined #ruby
kies has joined #ruby
kies has joined #ruby
kies has quit [Changing host]
ylluminate has joined #ruby
dawkirst has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
ekinmur has quit []
<apeiros>
_axx: also profile and improve performance
t3ch has quit [Ping timeout: 246 seconds]
jlast has joined #ruby
<_axx>
yeah, that's my "problem". i currently run 50 threads that take jobs from a queue
kitak has joined #ruby
jamto11 has joined #ruby
<_axx>
another queue checks if a task needs to push to the queue again and pushes it
t3ch has joined #ruby
<_axx>
one of those 50 threads takes the tasks, saves the next queueing time
crzrcn has joined #ruby
crzrcn1 has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AGreyCrane has joined #ruby
Celm has joined #ruby
troyronda has quit [Remote host closed the connection]
jamto11 has quit [Ping timeout: 240 seconds]
crzrcn has quit [Ping timeout: 252 seconds]
crzrcn1 has quit [Ping timeout: 252 seconds]
Celm has quit [Ping timeout: 255 seconds]
thomasxie has joined #ruby
lw has joined #ruby
meatherly has joined #ruby
bamyojo14335 has quit [Quit: bamyojo14335]
dawkirst has quit [Remote host closed the connection]
mikepack has joined #ruby
hermanmunster has joined #ruby
mikecmpbll has joined #ruby
ping-pong has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
fantasticsid has quit [Ping timeout: 252 seconds]
meatherly has quit [Ping timeout: 276 seconds]
troyronda has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
pika_pika has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
Kruppe has quit [Ping timeout: 258 seconds]
etqqkoiflwhb_ has joined #ruby
blackmesa has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
thomasxie has quit [Quit: Leaving.]
Kruppe has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lukec has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
mansi has quit [Ping timeout: 252 seconds]
meatherl_ has joined #ruby
ping-pong has joined #ruby
_Rahul_Roy_ has joined #ruby
timonv has joined #ruby
helpD has quit [Remote host closed the connection]
sparrovv has quit [Remote host closed the connection]
fantazo has joined #ruby
ponga_ has quit [Quit: Leaving :)]
helpD has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
oo_ has joined #ruby
Rahul_Roy has quit [Ping timeout: 240 seconds]
sparrovv has joined #ruby
troyronda has quit [Remote host closed the connection]
hrrz has joined #ruby
<hrrz>
how to count occurrences of hash's key in an array of hashes?
troyronda has joined #ruby
<yvemath>
Is there any opinionated suggesstion on How to go with learning RoR? I've already some experience with Python & Ruby, and build an application with Sinatra.
alem0lars has quit [Quit: alem0lars]
crystal77 has quit [Quit: Computer has gone to sleep.]
<hrrz>
yvemath: guides.rubyonrails.org is good
timonv has quit [Ping timeout: 252 seconds]
helpD has quit [Ping timeout: 240 seconds]
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
oo_ has quit [Ping timeout: 264 seconds]
centrx has joined #ruby
ylluminate` has joined #ruby
aspiers has joined #ruby
ndrei has joined #ruby
akonny has joined #ruby
relix has joined #ruby
ylluminate_ has joined #ruby
mr_snowf1ake has joined #ruby
troyronda has quit [Ping timeout: 252 seconds]
sparrovv has quit [Remote host closed the connection]
mansi has joined #ruby
timgauthier has joined #ruby
rylev has quit [Remote host closed the connection]
Kruppe has quit [Ping timeout: 258 seconds]
ylluminate has quit [Ping timeout: 276 seconds]
_Rahul_Roy_ has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
troyronda has joined #ruby
ylluminate` has quit [Ping timeout: 276 seconds]
havenwood has joined #ruby
troyronda has quit [Remote host closed the connection]
Kruppe has joined #ruby
sambao21 has joined #ruby
mansi has quit [Remote host closed the connection]
havenn has joined #ruby
mansi has joined #ruby
jack_rabbit has quit [Ping timeout: 240 seconds]
raul782 has quit [Remote host closed the connection]
simono has joined #ruby
frobrob_ has quit [Quit: :wq]
havenwood has quit [Ping timeout: 276 seconds]
mehlah has quit [Quit: Leaving...]
andy__ has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<shevy>
hrrz can you give minimal example
<shevy>
I dont understand the sentence
_Rahul_Roy_ has joined #ruby
<shevy>
there is always .select and .count with blocks
<hrrz>
I have an array of hashes [ {node_id: 12, rank: 0 } ,{node_id: 12, rank: 0 }, {node_id: 13, rank: 0 } ] required output: [ {node_id: 12, rank: 2 }, {node_id: 13, rank:1 } ]
lethjakman has joined #ruby
Slavox|AFK is now known as Slavox
AGreyCrane has quit [Quit: This computer has gone to sleep]
<mordof>
has anyone done benchmarks. js is pretty fast - as much as i'd like to see something like ruby step into the browser scope like that, i'd hate for it to be a slower language that does so
jlast has quit [Ping timeout: 240 seconds]
otherj has joined #ruby
<crome>
wut
CaptainKnots has joined #ruby
CaptainKnots has quit [Changing host]
CaptainKnots has joined #ruby
joast has quit [Quit: Leaving.]
<havenwood>
mordof: Opal and CoffeeScript compile to JavaScript.
<apeiros>
mordof: with the recent improvements of JS; I'd assume JS to be faster
nerium has quit [Read error: Connection reset by peer]
<havenwood>
mordof: Also Ruby isn't slow compared to JavaScript.
* mordof
nods
<apeiros>
JS is probably also easier to optimize. it's much simpler on a language level.
<havenwood>
faster for an event loop
<shock_one>
apeiros, it turned out that autoload_paths doesn't work for monkey patches. Thank you.
weems has quit [Read error: Connection reset by peer]
<apeiros>
shock_one: you need class_eval/module_eval for that, yes
<apeiros>
though, that still won't work
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shock_one>
apeiros, no way, I just created an initializer which requires that file.
Guest30046 has quit [Ping timeout: 258 seconds]
kevinykchan has quit [Quit: Computer has gone to sleep.]
weems has joined #ruby
weems has quit [Changing host]
weems has joined #ruby
etqqkoiflwhb___ has quit [Quit: Computer has gone to sleep.]
* havenwood
bemoans that Clojure didn't take JavaScript's place in the browsers.
binaryhat has joined #ruby
LiohAu has quit [Quit: LiohAu]
etqqkoiflwhb___ has joined #ruby
joast has joined #ruby
dyreshark has quit [Disconnected by services]
<havenwood>
shevy: every time JS is #1 a fairy loses its wings :(
<mordof>
lol
sdwrage has quit [Quit: This computer has gone to sleep]
<shock_one>
havenwood, do you use structural editing? I refused it for long time, but after learning shortcuts can't live without it.
dyreshark has joined #ruby
<mordof>
i haven't been dealing with ruby very long... but js has been my main language for quite some time xD we'll see how learning ruby and working with it influences that
zz_jrhorn424 has quit [Ping timeout: 258 seconds]
<Fire-Dragon-DoL>
havenwood: I'm using coffeescript, Opal don't support entire ruby syntax obviously
<shock_one>
mordof, you'll suffer from the fact the there is no HOF, I promise you.
sdwrage has joined #ruby
yfeldblum has joined #ruby
zz_jrhorn424 has joined #ruby
<Fire-Dragon-DoL>
havenwood: sorry not "ruby syntax", I mean entire ruby std lib
<mordof>
shock_one: HOF?
AGreyCrane has quit [Quit: This computer has gone to sleep]
etqqkoiflwhb____ has joined #ruby
etqqkoiflwhb___ has quit [Read error: Connection reset by peer]
<Fire-Dragon-DoL>
havenwood: but I'll wait, Opal it's one of my hope for the future :P
<havenwood>
shock_one: i do use some TM2 Ruby shortcuts, but no i've not really used any proper structural editor
<havenwood>
Fire-Dragon-DoL: It does look neat! I am curious if the current subset is enough for serious work but i haven't tried.
<shock_one>
havenwood, I mean for Clojure. There is Cursive for IntellijIdea.
sdwrage has quit [Client Quit]
jxf has quit [Ping timeout: 240 seconds]
xm has quit [Ping timeout: 258 seconds]
Rubeh has quit [Ping timeout: 252 seconds]
<shock_one>
mordof, Haskell: map reverse ["abc","cda","1234"] => ["cba","adc","4321"]. The first argument to map is a function.
xm has joined #ruby
Rubeh has joined #ruby
<Fire-Dragon-DoL>
havenwood: yea it is, I can't live without it, plain javascript is not something I like so much :P also, I really miss rspec, jasmine is not as good as rspec! (it tries too, but far from it, probably it's javascript limitation)
<havenwood>
shock_one: oh nice, i use LightTable with Clojure but i should check it out!
shashank_rs has quit [Quit: shashank_rs]
jwdunne has joined #ruby
<mordof>
shock_one: i don't know haskell all that well - lol. is that the same in ruby?
<shock_one>
havenwood, It's the most useful thing for AST languages ever!
<shock_one>
mordof, there is no HOF in Ruby. The basic idea is that you can pass functions into other functions and return functions from functions.
arietis has joined #ruby
<mordof>
shock_one: js being my primary language - i'm not seeing much difference. since I didn't use Haskell all that much, i guess i'm not missing anything? heh
<workmad3>
shock_one: you can do that in ruby through the use of procs and lambdas
<jwdunne>
Hi I was just wondering if anyone can help. I've installed ruby 2.1.1 using rvm. I cannot install mysql2 nor sqlite3 because it can't build native gem, which I'm assuming is to do with dev headers. Odd thing is these gems install fine for rubies < 2.0 so I'm v. confused!
<shock_one>
mordof, well, you use function expressions in JS, don't you?
<shock_one>
workmad3, of course, but I don't because it looks ugly.
<jwdunne>
Also, I think you miss much from Haskell in Javascript!
<workmad3>
shock_one: so you never do 'ary.each {|i| i.do_stuff}'? :)
etqqkoiflwhb____ has quit [Quit: Computer has gone to sleep.]
sdwrage has quit [Client Quit]
<shock_one>
workmad3, sorry, I meant separate Proc objects.
<mordof>
shock_one: yeah, quite regularly
danshultz has quit [Remote host closed the connection]
<havenwood>
jwdunne: You probably need to install build tools. What OS/distro?
<shock_one>
mordof, then you used higher order functions, even if you didn't know how it's called.
aspiers has joined #ruby
danshultz has joined #ruby
<workmad3>
shock_one: right... so you don't regularly pass around explicit procs... but you pass them around implicitly all the time
<mordof>
shock_one: ah, alright. terminology was never one of my strong suits, heh
<jwdunne>
havenwood: os x. odd thing is that this limited to only ruby 2+, these gems are working fine in versions less than 2!
<workmad3>
shock_one: I guess my objection was your claim 'there is no HOF in Ruby.' when what you probably meant was 'HOFs aren't used much in ruby because the syntax can be a bit clunky'
<havenwood>
jwdunne: ah, so you've already installed XCode and Command Line Tools?
<Fire-Dragon-DoL>
jwdunne: uhm I have ruby 2.0 and it's working fine on my O.S., you probably miss some packages. What OS?
<Fire-Dragon-DoL>
jwdunne: oh sorry, os x
AGreyCrane has joined #ruby
arietis has quit [Ping timeout: 255 seconds]
<shock_one>
workmad3, let's compare it to Clojure: (map inc ary). I changed each to map since each isn't a pure funcion, which is considered bad style. Don't you agree that it's a nicer syntax?
<jwdunne>
havenwood: I did a while ago. I just installed 1.9.3 and installed these gems.
<workmad3>
shock_one: sure... for functional programming, but ruby isn't primarily a functional language, it's primarily an OO language
george2 has joined #ruby
<workmad3>
shock_one: and as I said, your statement was that ruby *had no* HOFs, which is wrong ;)
<shock_one>
workmad3, I claim that there is no higher order functions in Ruby.
<shock_one>
Procs aren't functions.
<mordof>
indeed.. i was just going to mention
jcs222_ has quit [Quit: leaving]
<mordof>
Procs seem to behave somewhat similarly, but don't feel like normal functions - they're just blocks separated that can be paired differently right?
<workmad3>
shock_one: procs are anonymous methods
<workmad3>
shock_one: and you can get actual method objects if you want too... 'a = some_obj.method(:foo)' and then pass that around, wrap it up in something else, etc.
<shock_one>
workmad3, or callable objects, functors in C++ terminology. HOF is a different concept.
danshultz has quit [Ping timeout: 252 seconds]
<workmad3>
shock_one: a HOF is the idea of a method that returns another method...
sdouglas_ has quit [Remote host closed the connection]
<workmad3>
shock_one: e.g. Proc#curry
<jwdunne>
and also takes functions. one or the other.
sdouglas has joined #ruby
<jwdunne>
or both
<havenwood>
jwdunne: make sure you've got latest xcode and build tools: xcodebuild -version
<havenwood>
jwdunne: 5.1.1
<workmad3>
jwdunne: well, methods that take methods as arguments are pretty common in ruby (if you allow that a 'callable' is the ruby abstraction of a method)
<havenwood>
jwdunne: and version 2333 for: xcode-select -v
<jwdunne>
workmad3: but a function that takes a function or a function that returns a function is a higher-order function.
<workmad3>
jwdunne: right... and you can do that in ruby... it's just not common
<jwdunne>
workmad3: hence, fuby features HOF :)
<jwdunne>
*ruby
<workmad3>
jwdunne: shock_one's claim is that ruby has no HOF :)
<mordof>
there is a Ruby example in the wikipedia HOF page
<jwdunne>
workmad3: which I refute!
<workmad3>
jwdunne: I was also refuting it ;)
<havenwood>
jwdunne: if not latest, update XCode then xcode-select --install
<workmad3>
jwdunne: are we in violent agreement now? :)
<jwdunne>
workmad3: yes hahaha
nouitfvf has joined #ruby
binaryhat has quit [Quit: Leaving]
<jwdunne>
havenwood: I have Xcode 3.2.6 so that's where the problem is I think
<shock_one>
jwdunne, workmad3 I agree that Procs are a similar concept, but it's not HOF, come on. If I define a top level function I can't pass it around as a regular object.
<workmad3>
shock_one: yes you can
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3>
>> def foobar; end; a = method(:foobar); puts a
<shock_one>
mordof, you don't define functions with ->
<mordof>
shock_one: i was just going based off the wikipedia example
lw has quit [Quit: s]
<workmad3>
shock_one: -> is a stabby lambda in ruby 1.9+
psd has joined #ruby
<workmad3>
shock_one: now, strictly speaking, ruby doesn't have *functions*, it only has methods... so in that regard, you could be pedantic and claim that ruby has higher-order methods, not higher-order functions... but that's getting somewhat petty :)
<jwdunne>
shock_one: the fact Ruby doesn't make it easy to pass around defined functions doesn't stop functions that accept functions and functions that return functions from being HOF.
<workmad3>
shock_one: the ideas underlying HOFs are transferrable to ruby, just the syntax is a bit clunky at times, especially regarding a function that returns another function
<shock_one>
I was wrong.
einarj has quit [Remote host closed the connection]
<jwdunne>
In Scheme/JS the language was designed for this hence it's easy to write HOF functions that fit with the language. I think how Ruby handles HOF is due to the marriage of smalltalk and scheme - smalltalk wears the pants.
<shevy>
why did smalltalk fail
rkazak has joined #ruby
<workmad3>
jwdunne: there's also an aspect of the syntax flexibility getting in the way... in JS, you can pass the function around by doing 'my_thing.foo' while in ruby that would count as a method call... coffeescript hit the same problem, but went the other way to fit in closer to the underlying JS so 'my_thing.foo' is getting the foo function object, while 'my_think.foo some_arg' is calling the method
<shock_one>
I think the syntax is clumsy because they didn't manage to write a parser that would distinct niladic method call from method invocation.
<workmad3>
but in languages where () are always needed to call a function/method, the ambiguity doesn't exist
rkazak has left #ruby [#ruby]
<shock_one>
workmad3, in Haskell functions are called without parentheses, but they have types.
jacobsmith has quit [Ping timeout: 252 seconds]
<shock_one>
Even thought I'm not sure types are necessary in this case.
wallerdev has joined #ruby
ndngvr` has joined #ruby
<workmad3>
shock_one: I'm not sure a parser could exist for ruby's syntax that could distinguish between 'foo.bar' being 'pass the method foo.bar' in one context and 'call the method foo.bar and pass the result' in another...
<workmad3>
shock_one: it would need to always be one or the other... ruby went for that always being a method call, allowing you to drop the ()
<workmad3>
shock_one: but that's ok for ruby, because ruby is primarily an OO language, so calling methods on objects (or passing messages to objects, in more smalltalk parlance) takes primacy over passing functions/methods around
anaeem1 has joined #ruby
ndngvr has quit [Read error: Connection reset by peer]
jaimef has quit [Ping timeout: 258 seconds]
endash has quit [Quit: endash]
arubin has joined #ruby
<workmad3>
shock_one: 1. how about niladic functions?
<shock_one>
workmad3, at least we have a convenience of automatic conversion of symbols to procs.
blackmesa has joined #ruby
<workmad3>
shock_one: 2. haskell is primarily a functional language, so different choices on syntax come to the fore
<shock_one>
Primarily?
<shock_one>
So, it's also something else?
<workmad3>
shock_one: I kinda hold the view that just about any general purpose language could be used with a different paradigm if you were so inclined ;)
bthesorceror has joined #ruby
<workmad3>
shock_one: but yes, your point is correct... I should have said 'haskell is a functional language' in that case, not primarily
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
maletor has quit [Quit: Computer has gone to sleep.]
<shock_one>
workmad3, actually there is a function in Haskell that allows you to call functions as methods. I forgot its name, thoug.
<workmad3>
shock_one: and it's not a convenience of 'automatic conversion of symbols to procs'... it's that 'obj.meth(&anything)' calls .to_proc on anything and passes it as the block/proc argument... and then Symbol has a clever to_proc method :)
<shock_one>
workmad3, yes, I know.
mr_snowf1ake has quit [Ping timeout: 276 seconds]
imkmf has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<shock_one>
I would be happy if there was a similar way of calling a function with the block argument passed as the first argument.
jaimef has joined #ruby
Slavox is now known as Slavox|AFK
<shock_one>
To be clear like in JS array.forEach(foo), where foo takes one argument.
<shevy>
do you guys often use the new symbol syntax in a hash? { foo: true } ?
<shock_one>
shevy, always.
<iamayam>
indeed
<workmad3>
shock_one: fairly often nowadays... too much time spent writing JS
mikepack has joined #ruby
<shock_one>
workmad3, I wouldn't say that. I just mentioned JS as the language everybody knows.
jwdunne has left #ruby ["Killed buffer"]
<workmad3>
shock_one: sorry, that was meant to be directed at shevy :)
dorei has quit [Read error: Connection reset by peer]
shevy is now known as shevy_
<workmad3>
shevy: :P
eynj has joined #ruby
<shevy_>
ok there we go
ndrei has joined #ruby
<shevy_>
and how about the stabby proc ->
<shevy_>
do you use that one often?
dorei has joined #ruby
<shock_one>
shevy_, does it mean that there will be a modal window if I click on your nick?
nisstyre has joined #ruby
<shevy_>
shock_one no but something fancy happens when you click my nick
arietis has joined #ruby
bradhe has joined #ruby
<shock_one>
shevy_, also always. And even rewrite lambda whenever I see it.
<workmad3>
shevy_: sometimes... if I'm passing a proc inline (such as defining a scope with 'scope' in rails) I'll use ->... but I dislike it having args after the -> rather than before :(
mois3x has quit [Quit: mois3x]
tvw has joined #ruby
lw has joined #ruby
<shevy_>
hmm
<workmad3>
shevy_: I put that one down to too much coffee (script) :)
<shock_one>
workmad3, yeah, arguments before the arrow look logical. Like (input) -> { output }
SHyx0rmZ has joined #ruby
Slavox|AFK is now known as Slavox
<workmad3>
shock_one: it get's annoying... if I've gone ruby -> coffeescript, I write '->(input) ...' then go 'oh crap' and fix... and then the opposite when going back :)
mehlah has quit [Quit: Leaving...]
bamyojo14335 has joined #ruby
<shock_one>
workmad3, are you trying to add end in coffeescript?
bradhe has quit [Ping timeout: 276 seconds]
<workmad3>
shock_one: no... but that's because I rarely have to explicitly write it in ruby :)
nomadic_ has quit [Ping timeout: 246 seconds]
<workmad3>
shock_one: my vim is set up so that I write 'def foo', hit return and get the end... same with model, class, do/end and if/end regions :)
abdulsattar has quit [Ping timeout: 264 seconds]
dorei has quit [Ping timeout: 276 seconds]
<shock_one>
Mmm, vim. Good choice.
<workmad3>
ssh, don't let shevy_ hear that ;)
<shevy_>
well it's better than no editor
shevy_ is now known as shevy
<shock_one>
is he more like e-word guy?
<benzrf>
vim woot woot
<shevy>
what is e-word
<shock_one>
emacs.
<shevy>
when you mentioned both vim and emacs only one thing is for certain
<shevy>
there are two big losers
estaban has joined #ruby
<jwdunne>
Oh god here we go
<shock_one>
What's The Right Editor, shevy?
dawkirst has joined #ruby
<setient>
vim or emacs
<shevy>
shock_one unfortunately there is none. one would have to combine a set of useful features found in different editors
<workmad3>
jwdunne: it's ok... I drag shevy into this and now I'm running off :)
<shevy>
I don't have a problem with this at all
<setient>
shevy emacs and vim can literally do anything.
<benzrf>
no thats emacs
<shevy>
setient hey can I program in them
<setient>
no
<mordof>
i'm just gonna use notepad and be done with it
<workmad3>
'emacs... it's got a plugin for everything... except a decent text editor'
<mordof>
lol
<benzrf>
and whether or not vim *can* do literally anything
<benzrf>
it shouldnt
<setient>
what workmad3 said
<benzrf>
i like vim because vim is a text editor
<mordof>
so many opinions in this channel
<benzrf>
not because it is a text editor and a shell and a file manager and a debugger and a repl
<setient>
ya
<benzrf>
unix woo
<setient>
lets all use ed
<mordof>
hey guys - can we not do this conversation again?
nomadic has joined #ruby
<shevy>
vim is a keyboard stroker primarily
<benzrf>
setient: why
<mordof>
lasted 3 hours last night
<setient>
its the best
<workmad3>
right, time for food... have fun with the text editor bikeshed ;)
<mordof>
i'd rather discuss ruby
<benzrf>
setient: it's not as good for editing as vim
<setient>
ok
jlast has joined #ruby
<jwdunne>
It's funny because I'm using emacs IRC client
<workmad3>
mordof: compile your vim with ruby support... then you can discuss vim and ruby together? :D
<shevy>
emacs is a pretty solid OS
<setient>
i could make a funny
<mordof>
workmad3: ST with ruby build support. done, heh
<shevy>
you don't dare to make a funny
* mordof
doesn't care what OS, or Editor, people want to use.
<workmad3>
setient: 'linux... the most popular bootloader for emacs'?
<benzrf>
mordof: the vim-gtk package on debian-likes has ruby support in the cmdline version
<setient>
you know why dont you reinvent the wheel with a text editor written in ruby
MZAWeb has joined #ruby
<shevy>
ugh, debian
alem0lars has joined #ruby
<benzrf>
debian is fun
<setient>
like homebrew
<shevy>
debian is for people who fail at compiling
<setient>
but for text
jamto11_ has joined #ruby
bradhe has joined #ruby
dorei has joined #ruby
<setient>
and linux is for the peiple who fail unix
<setient>
lolol
<shevy>
homebrew is a nice idea except that it is so mac centric :(
nemesit|znc has quit [Ping timeout: 276 seconds]
echevemaster has quit [Remote host closed the connection]
<shevy>
setient can you tell me where unix is used heavily today
<setient>
have you seen netbsds pkgsrc
anaeem1 has quit [Remote host closed the connection]
estaban has quit [Ping timeout: 252 seconds]
<setient>
shevy on your macbook
<setient>
osx is actually inix and linux is just a clone
<shevy>
why would I use a mac
dawkirst has quit [Ping timeout: 252 seconds]
<setient>
bsd is more unix like
<shevy>
the bsd folks also fail at compiling
crzrcn has quit [Quit: Leaving.]
<setient>
pfft
<setient>
pkgsrc
<setient>
ports
seemant has left #ruby [#ruby]
<setient>
both completely from source
<shevy>
made available by other people for them
<shevy>
that's 100% the same as what distributions do
<setient>
you ever try lfs
<shevy>
sure
<setient>
do you use it daily
<shevy>
no, I don't adhere to the lfs in the slightest
<setient>
then you suck at compiling
<shevy>
gobolinux sold me on appdirs
<setient>
lol
<shevy>
setient a moment, let me output my current source archive, will take some minutes though
jlast has quit [Ping timeout: 255 seconds]
sgen has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
anaeem1_ has joined #ruby
timonv has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
<setient>
i remember this
nemesit|znc has joined #ruby
<setient>
fyi lxc is a better idea
<setient>
or fbsd jails
<shevy>
I have to adapt a ruby script quickly for it, it only gave out a collection of all tags (i.e. ruby tag, gnome tag, python tag) before
<setient>
or solaris zones but on the per app level
jamto11_ has quit [Ping timeout: 264 seconds]
<setient>
and really you can do the same with ojgsrc
anaeem1_ has quit [Read error: Connection reset by peer]
<setient>
pkgsr or ports just set different base dirs per install of an app
<setient>
with a different package db per basedir
anaeem1_ has joined #ruby
Ginfuru_ has joined #ruby
Hanmac1 has joined #ruby
sgen has quit [Quit: Leaving]
Lewix has quit [Remote host closed the connection]
weaksauce has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
Hanmac has quit [Ping timeout: 276 seconds]
brucelee_ has joined #ruby
klaut has quit [Remote host closed the connection]
Ginfuru_ has quit [Ping timeout: 265 seconds]
m8 has joined #ruby
wallerdev has quit [Quit: wallerdev]
larsam has quit [Ping timeout: 252 seconds]
s2013 has joined #ruby
michaeldeol has joined #ruby
benzrf is now known as benzrf|offline
etqqkoiflwhb____ has joined #ruby
cg433n has joined #ruby
cg433n has quit [Client Quit]
psd has quit [Ping timeout: 240 seconds]
omosoj has joined #ruby
bradhe has quit [Remote host closed the connection]
fly2web has left #ruby [#ruby]
otherj has quit []
Shidash has joined #ruby
klaut has joined #ruby
brain_shim has joined #ruby
<shevy>
damn it
brain_shim has quit [Read error: Connection reset by peer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sepp2k has quit [Quit: Leaving.]
toastynerd has joined #ruby
Kruppe has joined #ruby
MZAWeb has quit [Ping timeout: 240 seconds]
rylev has quit []
sdouglas has joined #ruby
crzrcn has joined #ruby
psd has quit [Ping timeout: 240 seconds]
toastyne_ has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
nisstyre has quit [Quit: bai]
toastynerd has quit [Ping timeout: 240 seconds]
imkmf has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
otherj has joined #ruby
ikaros has joined #ruby
<s2013>
anyone has some friendly intro to ruby metaprogramming? preferably a video
<BradPitt_>
s2013 RubyMonk has a decent section on it
<BradPitt_>
pretty gentle intro
MZAWeb has joined #ruby
<s2013>
thanks ill check it out
zz_jrhorn424 has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
Aaaal has joined #ruby
Mongey has joined #ruby
etqqkoiflwhb____ has quit [Quit: Computer has gone to sleep.]
meatherly has joined #ruby
zz_jrhorn424 has joined #ruby
etqqkoiflwhb____ has joined #ruby
toastyne_ has quit [Ping timeout: 240 seconds]
otherj has quit [Client Quit]
anaeem___ has quit [Remote host closed the connection]
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jlast has joined #ruby
jacks_spleen has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
jamto11 has quit [Remote host closed the connection]
etqqkoiflwhb____ has quit [Ping timeout: 265 seconds]
lolmaus has joined #ruby
SonicX has joined #ruby
anaeem1_ has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3]
jonno11 has joined #ruby
jamto11 has joined #ruby
dangerousdave has joined #ruby
maletor has joined #ruby
etqqkoiflwhb____ has joined #ruby
aspiers has quit [Ping timeout: 276 seconds]
toastynerd has quit [Ping timeout: 264 seconds]
MZAWeb has quit [Ping timeout: 255 seconds]
benzrf is now known as benzrf|offline
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
blackmesa has joined #ruby
Lewix has quit [Remote host closed the connection]
Xeago has joined #ruby
bthesorceror has quit [Remote host closed the connection]
bthesorceror has joined #ruby
benlieb has joined #ruby
agjacome has quit [Ping timeout: 255 seconds]
shadoi_ has joined #ruby
mercwithamouth has joined #ruby
s2013 has quit [Ping timeout: 264 seconds]
bthesorc_ has joined #ruby
bthesorceror has quit [Read error: Connection reset by peer]
agjacome has joined #ruby
rdark has quit [Quit: leaving]
MZAWeb has joined #ruby
Xeago has quit [Remote host closed the connection]
sparrovv has quit [Remote host closed the connection]
Aaaal has quit [Quit: Aaaal]
ddd has joined #ruby
shadoi_ has quit [Remote host closed the connection]
mrmargolis has joined #ruby
sparrovv has joined #ruby
mrmargolis has quit [Client Quit]
aspiers has joined #ruby
Rollabunna has quit [Remote host closed the connection]
bthesorc_ has quit [Remote host closed the connection]
VictorSK has joined #ruby
VictorSK_ has joined #ruby
senayar has joined #ruby
VictorSK_ has quit [Client Quit]
elico has quit [Ping timeout: 252 seconds]
aspiers has quit [Read error: Operation timed out]
ndrei has quit [Ping timeout: 240 seconds]
andrewlio has joined #ruby
linoespinoza has joined #ruby
sepp2k has joined #ruby
anarang has joined #ruby
maestrojed has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
anarang has quit [Remote host closed the connection]
mehlah has joined #ruby
MZAWeb has quit [Ping timeout: 252 seconds]
elico has joined #ruby
mikepack has joined #ruby
SHyx0rmZ has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
lukec has quit [Quit: lukec]
VictorSK has quit []
omosoj has quit [Ping timeout: 240 seconds]
Nexus_x1 has joined #ruby
orbisvicis has joined #ruby
jamto11 has quit [Remote host closed the connection]
<orbisvicis>
how do I uninstall ruby 1.9.1 from /usr/local. Is there a make target, or a list of installed files ?
jlast has quit [Remote host closed the connection]
heftig has joined #ruby
<shevy>
orbisvicis depends how you installed it
<shevy>
if you compiled from source yourself, "make uninstall" from that directory would work
mikepack has quit [Ping timeout: 265 seconds]
<shevy>
you can also do manual cleanup
<shevy>
it would be in /usr/local/lib/ruby
<shevy>
and the "binaries" should be: ruby irb ri rdoc
<shevy>
hmm possibly one or two more
<shevy>
gem
<shevy>
yeah
<orbisvicis>
shevy: I installed via autotools (makefile). I would do manual cleanup, but I need a list of files installed in the first place (/usr/local/bin,/usr/lib/lib/ruby,/usr/local/share/..., etc)
imkmf has joined #ruby
<orbisvicis>
shevy: no make uninstall target
<shevy>
huh
<shevy>
let me try
jamto11 has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
etqqkoiflwhb____ has quit [Quit: Computer has gone to sleep.]
<orbisvicis>
shevy: 1.9.1
MZAWeb has joined #ruby
etqqkoiflwhb____ has joined #ruby
<shevy>
ok into share/ I see 3 dirs, doc/ man/ ri/
<shevy>
orbisvicis /usr/lib/lib definitely is incorrect, how did you come to that?
<orbisvicis>
shevy: also, from ruby-forums, "1.9ish installs left a hidden file in the root directory indicating all
<orbisvicis>
installed files.". Which file is this ?
johncjensen has joined #ruby
<orbisvicis>
shevy: ah.. found it
estaban has joined #ruby
johncjensen has quit [Remote host closed the connection]
<orbisvicis>
just need similar list for rubygems
elico has quit [Ping timeout: 265 seconds]
<IceDragon>
Hey any GCC experts here, how do I include a file without preprocessing it?
<IceDragon>
#include "es.i"
<IceDragon>
wait a minute
<IceDragon>
D8 This is #ruby
drakedouay has joined #ruby
eka has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
lw has quit [Quit: s]
jxf has joined #ruby
bthesorceror has joined #ruby
estaban has quit [Ping timeout: 240 seconds]
anaeem1_ has joined #ruby
<drakedouay>
When I modify one element in an array I end up modifying all of them. This is my code: a = [[0,0]] * 5 a[0][1] = 4 for some reason this sets a to [0,4]*5
<drakedouay>
what am i doing wrong?
<alpha123>
drakedouay: * doesn't deep copy the array
<drakedouay>
how do i do that? alpha123
omosoj has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
elico has joined #ruby
<jhass>
a = Array.new(5) { [0, 4] }
<jhass>
or 0,5 or whatever
<alpha123>
jhass: That's... actually really cool, I didn't know Array.new could take a block.
<GrooveStomp>
When I run a local test in MRI 1.9.3 I am seeing the same behavior. It doesn't seem correct, but I want to verify. (Going to check the issue list now.)
MZAWeb has quit [Ping timeout: 240 seconds]
Hanmac1 has quit [Ping timeout: 265 seconds]
diegoviola has quit [Remote host closed the connection]
<GrooveStomp>
Hmm. Where's the Ruby issue tracker? (Not on Github, clearly.)
drakedouay has quit [Quit: leaving]
sdouglas has quit [Remote host closed the connection]
<GrooveStomp>
bugs.ruby-lang.org it appears.
timonv has quit [Ping timeout: 276 seconds]
fannye has quit [Remote host closed the connection]
maestrojed has quit [Quit: Computer has gone to sleep.]
Ginfuru_ has quit [Ping timeout: 240 seconds]
jamto11_ has joined #ruby
sambao21 has joined #ruby
timonv has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
senayar has joined #ruby
ixti has joined #ruby
senayar_ has quit [Ping timeout: 264 seconds]
omosoj has quit [Ping timeout: 240 seconds]
chrisseaton has quit []
kies has joined #ruby
kies has quit [Changing host]
kies has joined #ruby
m8 has quit [Quit: Sto andando via]
jamto11_ has quit [Ping timeout: 264 seconds]
jackneill has quit [Quit: WeeChat 0.4.3]
bluOxigen has joined #ruby
shevy has quit [Ping timeout: 276 seconds]
jheg_ has joined #ruby
evenix has joined #ruby
phutchins has quit [Ping timeout: 250 seconds]
s2013 has quit [Ping timeout: 252 seconds]
Cache_Money has joined #ruby
<jheg_>
o/
phutchins has joined #ruby
SilkFox has quit [Ping timeout: 246 seconds]
akonny has quit [Quit: akonny]
Nexus_x1_ has joined #ruby
Gooder has joined #ruby
Nexus_x1 has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
MZAWeb has joined #ruby
bamyojo14335 has quit [Quit: bamyojo14335]
benlieb has quit [Quit: benlieb]
senayar_ has joined #ruby
omosoj has joined #ruby
touzine has joined #ruby
endash has joined #ruby
shevy has joined #ruby
Ginfuru_ has joined #ruby
Es0teric has joined #ruby
pushpak has joined #ruby
<havenwood>
GrooveStomp: that is 2.0+ behavior
<havenwood>
GrooveStomp: ought fail on 1.9
senayar has quit [Ping timeout: 240 seconds]
<havenwood>
GrooveStomp: works in 2.0 and 2.1
aspiers has quit [Read error: Operation timed out]
pushpak has quit [Client Quit]
s2013 has joined #ruby
Arkaniad has joined #ruby
bthesorceror has quit [Remote host closed the connection]
michaeldeol has joined #ruby
Ginfuru_ has quit [Ping timeout: 240 seconds]
<apeiros>
havenwood: quoi?
<apeiros>
ah, lol. backlog
postmodern has joined #ruby
<havenwood>
:P
kaspergrubbe has quit [Remote host closed the connection]
<jheg_>
I'm kind of new to ruby ... well not kind of I actually am
srji has joined #ruby
<jheg_>
I've just tried to install rails in terminal and I thought it had installed but when I type rails --help it says it is not installed
<jheg_>
I ran sudo gem install rails and it did its thing for a while
carraroj has quit [Quit: Konversation terminated!]
<havenwood>
jheg_: what OS/distro? the rails channel is #rubyonrails by the way.
<jheg_>
I got a few ...
timonv has quit [Remote host closed the connection]
<jheg_>
ah OK thanks havenwood I'll check post there
<havenwood>
jheg_: but which are you having this issue on?
<Nowaker>
tobiasvl: people do use python for writing gui apps. maybe because python has better bindings to various gui libs like kde/qt? dont know.
<jheg_>
I'm on OSX 10.9.2
m3nTe has joined #ruby
m3nTe has quit [Changing host]
m3nTe has joined #ruby
<shevy>
Nowaker yeah and they have more devs, and python is easier to write interfaces to too
<havenwood>
jheg_: my guess would be that you're using brew ruby not system and you haven't put your gem bin dir in the PATH
Nexus_x1__ has joined #ruby
<havenwood>
jheg_: does it start working if you?: export PATH="$(brew --prefix ruby)/bin:$PATH"
<jheg_>
ruby was pre installed afaik
<havenwood>
jheg_: which ruby
<havenwood>
jheg_: what do you get for that ^ cmd?
<jheg_>
ruby 2
<havenwood>
jheg_: where was it though?
<jheg_>
jheg/.rvm/rubies/ruby-2.0.0-p353/bin/ruby
<shevy>
jheg_ come on man, be courageous
<havenwood>
so you're using rvm
<havenwood>
jheg_: #rvm is the RVM channel by the way
s00pcan has quit [Quit: Lost terminal]
Nexus_x1_ has quit [Ping timeout: 240 seconds]
<havenwood>
jheg_: i'd probably then start with updating RVM: rvm get latest
<havenwood>
jheg_: then read up on RVM basics, select the Ruby you want, and you're off!
<shevy>
or!
davedev2_ has joined #ruby
<shevy>
use the source!!!
<havenwood>
jheg_: also, i worry you've done a system install instead of user install of RVM, dunno
davedev24 has quit [Read error: Connection reset by peer]
<havenwood>
shevy: ruby-install you fiend!
<havenwood>
shevy: :P
zz_karupa is now known as karupa
<havenwood>
shevy: i need to remember -j8 with make..., really a nice speedup
Morkel has quit [Quit: Morkel]
<jheg_>
thanks for the help havenwood
razrunelord has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<havenwood>
jheg_: but it is a good idea to just go to Ruby 2.1.1 now that you have the chance. if you want to go the RVM route you might even want to `rvm implode` then install Ruby 2.1.1 with a fresh RVM.
einarj has quit [Ping timeout: 252 seconds]
<havenwood>
(`rvm implode` destroys RVM so you can install from scratch)
<jheg_>
So if i run dvm implode ...
ndrei has quit [Ping timeout: 240 seconds]
<jheg_>
I'll then need to reinstall ruby from terminal ?
<havenwood>
popl: ruby-install also has a -j option, passes it through to make
<popl>
yeah, that's right. I remember reading a joke about that
kaspergrubbe has joined #ruby
<havenwood>
popl: without an arg it uses an unlimited number of parallel jobs
<havenwood>
without the option, uses 1
<popl>
I could swear I just searchedf or it in the documentation unsuccessfully. oh well. thanks, havenwood.
<havenwood>
jheg_: yeah, then you either reinstall RVM from its install script or switch off RVM to a different switcher, or not use a switcher at all.
aspiers has joined #ruby
shevy has joined #ruby
<jheg_>
once thats done you think the rails install should work?
<havenwood>
jheg_: I use ruby-install/chruby. If you only need one Ruby, might as well use Brew or system Ruby.
razrunelord has quit [Ping timeout: 265 seconds]
<havenwood>
jheg_: yes
<havenwood>
jheg_: you just need to get at least one Ruby properly setup
<jheg_>
Thanks i'll give it go
maletor has quit [Quit: Computer has gone to sleep.]
YuCJ has joined #ruby
<havenwood>
jheg_: so `rvm implode` and then: \curl -sSL https://get.rvm.io | bash -s stable
sambao21 has joined #ruby
meatherly has quit [Remote host closed the connection]
<havenwood>
or actually, there should be a script to go ahead and get latest and install ruby 2.1.1, sec
Nexus_x1__ has quit [Quit: Computer has gone to sleep.]
<Nowaker>
havenwood: thanks. if i ever need to write some desktop gui i will use it. ...but i doubt i will ever need ;)
<Nowaker>
shevy: more people have java installed than ruby, no?
<shevy>
Nowaker no idea, I dont for instance
ddd has quit [Quit: kernel upgrade time]
lemur_ has quit [Ping timeout: 252 seconds]
<shevy>
the original shoes neither dependend on java, so this project is no longer shoes really
<Nowaker>
im fine with it, i code in what i like, and the app runs on java which almost everyone has installed, so its great
sdwrage has joined #ruby
<jheg_>
OK havenwood ran the installer following implode and I get
<jheg_>
Requirements installation failed with status: 1.
<havenwood>
shevy: one of the goals of shoes4 is to separate the DSL from the gfx implmentation. the reference implmementation of shoes4 is JRuby SWT but they've mentioned Qt and GTK for the future
maletor has joined #ruby
<havenwood>
shevy: it *is* the future of shoes! \o/
<havenwood>
shevy: if it succeeds, it could change things
jxf has quit [Quit: Leaving]
combusean has joined #ruby
<havenwood>
jheg_: i dunno what that means in RVM land. did RVM install?
fantazo has quit [Ping timeout: 265 seconds]
<havenwood>
jheg_: does the command `rvm` do anything?
<jheg_>
yep looks like that installed
<havenwood>
jheg_: if so: rvm list
<havenwood>
jheg_: did any Rubies install?
<jheg_>
rvm rubies ...
<havenwood>
jheg_: any listed?
<jheg_>
ruby-2.0.0-p353 [ missing bin/ruby ]
MZAWeb has quit [Ping timeout: 240 seconds]
<havenwood>
jheg_: rvm remove ruby-2.0.0-p353
<havenwood>
jheg_: rvm install ruby-2.1.1
lw has joined #ruby
<jheg_>
looking good so far ...
ndrei has joined #ruby
<jheg_>
dvm list again?
<jheg_>
*rvm
<jheg_>
rvm rubies
<jheg_>
ruby-2.0.0-p353 [ missing bin/ruby ]
<jheg_>
ruby-2.1.1 [ x86_64 ]
<havenwood>
jheg_: rvm --default use ruby-2.1.1
<havenwood>
jheg_: rvm cleanup all
<havenwood>
jheg_: gem update --system
<havenwood>
jheg_: gem install rails
<havenwood>
jheg_: (no sudo!)
<jheg_>
dvm --default use ruby-2.1.1 didn't work says RVM is not a function so ...
<havenwood>
rvm?
Spami has joined #ruby
<jheg_>
rvm alias create default ruby-2.1.1
<jheg_>
seemed to do it?
<jheg_>
type
<jheg_>
rvm
dangerousdave has quit []
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mercwithamouth has quit [Ping timeout: 240 seconds]
<jheg_>
I now have this ...
<jheg_>
rvm rubies
<jheg_>
ruby-2.0.0-p353 [ missing bin/ruby ]
<jheg_>
=* ruby-2.1.1 [ x86_64 ]
<havenwood>
jheg_: been a long time since i've used RVM, commands may have changed
<jheg_>
I'll run those other commands now thanks for this man!
Zesty has joined #ruby
<jheg_>
the last one (no sudo!)?
<havenwood>
jheg_: none with sudo
<jheg_>
cool
samfromat has joined #ruby
samfromat has quit [Max SendQ exceeded]
<jheg_>
I get a file permission message when trying to run gem update --system
<havenwood>
jheg_: sudo gem update --system
<havenwood>
jheg_: oops :P
YuCJ has quit [Ping timeout: 252 seconds]
<jheg_>
:)
lfox has quit [Quit: ZZZzzz…]
Hanmac1 has joined #ruby
<havenwood>
jheg_: though i think there's an rvm command to fix permissions, hrm
Hanmac has quit [Ping timeout: 240 seconds]
<havenwood>
jheg_: rvm fix-permissions
<jheg_>
need to run sudo on rails install to yeah?
musl has quit [Quit: WeeChat 0.4.3-dev]
<havenwood>
jheg_: no
<havenwood>
jheg_: don't use sudo, fix the permissions
<jheg_>
shit too late
<jheg_>
that bad?
lolmaus has quit [Ping timeout: 252 seconds]
<havenwood>
jheg_: not sure what all `rvm fix-permissions` does but i'd run that if not also `sudo chown -R $USER: $HOME/.rvm`
<havenwood>
jheg_: i'm not sure what you're `sudo gem` is at the moment >.>
Spami has quit [Read error: No route to host]
<havenwood>
jheg_: but just fix permissions and do a regular: gem install rails
gregf has quit [Quit: WeeChat 0.4.3]
<havenwood>
s/you're/your
<havenwood>
i need more caffeine, brb
<jheg_>
same
metamaterial has joined #ruby
<jheg_>
thanks for this help it's very kind of you
Ginfuru_ has joined #ruby
rkazak has joined #ruby
mehlah has quit [Quit: Leaving...]
hl has quit [Ping timeout: 255 seconds]
ixti has quit [Ping timeout: 265 seconds]
cover_ has joined #ruby
combusean has quit [Ping timeout: 264 seconds]
gregf has joined #ruby
cover has quit [Ping timeout: 265 seconds]
LiohAu has joined #ruby
mercwithamouth has joined #ruby
musl has joined #ruby
rm_ has joined #ruby
rm_ has quit [Remote host closed the connection]
SonicX has quit [Remote host closed the connection]
sparrovv has quit [Remote host closed the connection]
Spami has joined #ruby
rm_ has joined #ruby
aspiers has quit [Ping timeout: 240 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 252 seconds]
aspiers has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
Nexus_x1__ has joined #ruby
LiohAu has quit [Ping timeout: 252 seconds]
Spami has quit [Read error: Connection reset by peer]
<havenwood>
crucify_me: by convention the `|i|` should be on the line 3
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<crucify_me>
oh sorry
freerobby has quit [Ping timeout: 276 seconds]
<alpha123>
benzrf: How do you feel about chruby vs rbenv?
<benzrf>
havent used rbenv tbh :P
<benzrf>
im eminently unqualified
<popl>
I'm using rbenv. I haven't had any problems.
miles_ has joined #ruby
<benzrf>
all i know is that ruby-install and chruby have worked p well for me
rm_ has quit [Remote host closed the connection]
<alpha123>
Ah. I'm pretty fond of rbenv but haven't use chruby xP
<benzrf>
theyre dead simple
<benzrf>
ruby-install you call w/ a ruby version and it installs it
<havenwood>
alpha123: i prefer chruby for its simplicity and flexibility, plus never having to reshim
rm_ has joined #ruby
<benzrf>
chruby you call with a version and it switches your current shell to that version
<benzrf>
easy as shit
<alpha123>
havenwood: I rather like the .ruby-version functionality of rbenv, though to be honest I don't maintain many Ruby projects and keep them all on the latest version anyway.
miles_ has quit [Client Quit]
<benzrf>
alpha123: you can probably accomplish that through other means
<benzrf>
no need for your switcher to have that functionality
<alpha123>
fish is the only shell that I actually don't hate
<havenwood>
crucify_me: that code is a bit odd, since `loop_of_3` is an array you're calling Array#[] on line 4, then setting the index of the result of modulo 3 to i.
<mordof>
ooh so that changes it without messing up everything else
<havenwood>
mordof: yes, scoped to the current file and just the class `using` the refinement
johncjensen has joined #ruby
<mordof>
alright, cool
<havenwood>
mordof: so `refine` Array instead of monkey patching it :)
<mordof>
thanks very much for that added info ^_^
<ddd>
yeah, havenwood. best explanation yet.
omosoj has quit [Ping timeout: 240 seconds]
<crucify_me>
havenwood: that modulo problem was given to me with this one: http://pastie.org/9114000 so map and each yield different results, but I don't get that [i%3] = i part
<mordof>
still working on the modulo :)
<rkazak>
please what is monkey patchng?
<crucify_me>
mordof: yeah just overwhelmed ..!
<rkazak>
is that the same as greasemonkey…
<mordof>
rkazak: strapping something on haphazardly
pika_pika has joined #ruby
<rkazak>
ok… no relation to the extension then...
<mordof>
rkazak: no
sailias has joined #ruby
<rkazak>
more monkeying around with ruby… :)
<mordof>
rkazak: essentially what you're doing when you "monkey patch" something, is you just throw it onto the container and be done with it - however as havenwood pointed out, it can break things in other places.. and cause unexpected results
<rkazak>
thanks for the explaination.
<mordof>
so restricting it to a refinement in a particular scope, you reduce the risk of unexpected problems, because the person using it will be including the scope and, hopefully, expecting the modifications you included
iambic has joined #ruby
<mordof>
no problem :)
wald0 has quit [Read error: Connection reset by peer]
SonicX has joined #ruby
timonv has joined #ruby
decoponyo has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
franzip has quit [Quit: ...]
brucelee_ has joined #ruby
ixti has joined #ruby
franzip has joined #ruby
<ddd>
for some reason the scoping levels are a bit off kilter grasp-wise for me, but its coming (for refinements)
sdouglas_ has quit [Remote host closed the connection]
decoponio has quit [Disconnected by services]
decoponio_ is now known as decoponio
sailias has quit [Ping timeout: 264 seconds]
<mordof>
crucify_me: what's your question?
<benzrf>
crucify_me: that looks like expected behavior to me
<havenwood>
crucify_me: loop_of_3 << i % 3
<mordof>
benzrf: he's just trying to understand it i think
<mordof>
no no
<havenwood>
crucify_me: change link 4 to that ^
<mordof>
well that'll more properly demonstrate what's happening..
<crucify_me>
thnx line 4 has an array with indices calculated. havenwood link 4 ?
franzip has quit [Client Quit]
<havenwood>
crucify_me: what you're *doing* is setting the index of an array to i, what i think you mean to do is add the modulo result to the array
franzip has joined #ruby
gizmore has joined #ruby
wald0 has joined #ruby
<crucify_me>
a member here gave me this to work on the other day
<crucify_me>
havenwood:
<gizmore>
Is there a way to make threads reuse the same db connection?
<havenwood>
crucify_me: try changing line 4 as I suggest and check the result
<mordof>
crucify_me: essentially what's happening is i % 3 (1 - 10 range) is 1, 2, 0, 1, 2, 0, 1, 2, 0, 1. so really you will only have 3 unique id's in that array
<mordof>
crucify_me: since it keeps getting over-written
franzip has quit [Client Quit]
franzip has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
claymore has quit [Quit: Leaving]
<mordof>
crucify_me: so the last three occurances - 2, 0, 1 (8, 9, 10) and because then they are set in order with them being 0 1 2... that's why you see them in the order they are
<mordof>
1 % 3 == 1, 2 % 3 == 2, 3 % 3 == 0, 4 % 3 == 1, 5 % 3 == 2, and so on
<mordof>
crucify_me: go through understanding (a) modulo itself, (b) how looping 1 - 10 and just spitting out i % 3 affects things, etc
Cooler_ has quit []
<mordof>
yeah - and the fact that you're over-writing data as a result in that example like havenwood pointed out
<crucify_me>
yeah thanks mordof modulo I do have... working
jonr22 has joined #ruby
<crucify_me>
^^really appreciate it.
<mordof>
:)
<mordof>
ahh i like that i can follow that now in full, heh.. not super complex, but i've only been into ruby a couple days
dorei has quit []
* mordof
is excited
<crucify_me>
you mean the modulo thing?
<mordof>
havenwood: i just learned about yields, super awesome. i was asking and making my own additions to array to fiddle with different looping mechanisms playing with yield
<mordof>
crucify_me: well - i knew modulo from other languages. it's just a math operation
franzip has quit [Client Quit]
<mordof>
crucify_me: ruby in general.
<crucify_me>
cool
franzip has joined #ruby
Mongey has quit [Ping timeout: 264 seconds]
AlexRussia has quit [Ping timeout: 276 seconds]
mcrmfc has quit [Quit: mcrmfc]
michaeldeol has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mordof>
AntelopeSalad: that top part was one of the first bits of ruby i wrote, so.. yeah :p
omosoj has quit [Ping timeout: 276 seconds]
<AntelopeSalad>
mordof: ah, i didn't read the whole thing
omosoj has joined #ruby
<srji>
shevy: ty
bthesorceror has joined #ruby
<shevy>
sprintf("%6d", 123) # => " 123"
<mordof>
map and map! - is there a difference? or will it always create a new array
<shevy>
if you need padding with ' ' though, .ljust(20) and .rjust(20) is easier
franzip has quit [Client Quit]
<mordof>
map! being dangerous/destructive - it should overwrite, yes?
<shevy>
mordof yeah, .map! will replace
<mordof>
ok
<mordof>
cool :)
<shevy>
so:
<shevy>
x = x.map
<shevy>
won't be the same as
pu22l3r has joined #ruby
<shevy>
x = x.map!
phoo1234567 has quit [Quit: Leaving]
<mordof>
hm?
<mordof>
why not?
razrunelord has quit [Ping timeout: 252 seconds]
bthesorc_ has joined #ruby
<mordof>
since x = x.map overwrites
<shevy>
mordof because in the second case you already modified in place
<AntelopeSalad>
speaking of !, i'm surprised they didn't use ! on delete_if
<ddd>
1st will create new array (returning memory location of newly crated 'tmp' array) 2nd will modify original array giving back memory ref *of* the original, correct?
<mordof>
shevy: right - the outcome is the same though right?
<ddd>
to describe technical diff
bthesorceror has quit [Read error: Connection reset by peer]
<mordof>
shevy: even though internally it's better to use x.map!
<ddd>
what did i do wrong there? (isn't it .obj_id to return a Ruby object's id?
<ddd>
shevy yes :/
<shevy>
hehehe
Ginfuru_ has joined #ruby
<shevy>
object_id
bradhe has joined #ruby
<ddd>
i haven't touched it in months. absolutely freakin rusty
<shevy>
I can see you were too long away, you haven't written a lot of stuff in #ruby since AGES
<ddd>
ahh it was the full. 2nd guessed myself
saarinen has joined #ruby
<shevy>
omosoj why is it not working
<shevy>
omosoj do you not debug? you should do: p line
<ddd>
yeah, man. life has been kiling me here. off my pain meds now so had to wean off them all while going to school etc. Docs said they were killing my liver so the family and I decided to get me off them. Been concentrating on Life so much, I haven't really touched the computer in a dog's age.
<shevy>
omosoj btw what is the condition
<shevy>
all I see is an empty elsif check
Squarepy has quit [Quit: Leaving]
<shevy>
the family decides which drugs you have to take? :)
<omosoj>
Looks like there's a problem with if line == "2004"
<ddd>
yes.
<shevy>
omosoj what would you imagine the line to be anyway?
<ddd>
when its a matter of quantity of life vs. quality of life, they do
<shevy>
omosoj if you think the line would be '2004' then perhaps you might be wrong
<omosoj>
p line where?
<shevy>
omosoj before the first if check
maestrojed has joined #ruby
DouweM has quit [Remote host closed the connection]
<rkazak>
ddd: You have a good family.
<shevy>
then you will find out why the line == check does not work
<ddd>
rkazak they love me, i love them. :) all's well in the neighborhood hehe
<omosoj>
Aha! I'm missing the \n?
maestrojed has quit [Client Quit]
<shevy>
omosoj most lines in a file have a \n
<shevy>
you can kill them for instance via .chomp
Ginfuru_ has quit [Ping timeout: 252 seconds]
<shevy>
if line.chomp == '2004'
funburn has joined #ruby
<rkazak>
why don’t you chomp off anyway?
<omosoj>
Ok, cool. Thanks for the help!
jamto11 has quit [Remote host closed the connection]
caleb_io has joined #ruby
freerobby has joined #ruby
<atmosx>
aloha
caleb_io has quit [Client Quit]
SilkFox has joined #ruby
<ddd>
Mahalo
<ddd>
I probably should have said Pehea 'oe? first :)
iambic has joined #ruby
freerobby1 has joined #ruby
<omosoj>
Shevy, I fixed those parts up but I'm getting the same error
etqqkoiflwhb____ has quit [Quit: Computer has gone to sleep.]
<omosoj>
Does n turn into nil after each iteration?
chichou has joined #ruby
etqqkoiflwhb____ has joined #ruby
tacos1de has quit [Ping timeout: 272 seconds]
freerobby has quit [Ping timeout: 252 seconds]
freerobby2 has joined #ruby
iambic has quit [Client Quit]
freerobby1 has quit [Read error: Connection reset by peer]
<shevy>
omosoj I wrote you above something, please read it
<atmosx>
hello shevy
<shevy>
also, when you change code parts, re-upload the pastie
<shevy>
hey atmosx
<omosoj>
K, ty.
kith has quit [Ping timeout: 240 seconds]
tacos1de has joined #ruby
saarinen has quit [Quit: saarinen]
pu22l3r has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
jamto11 has joined #ruby
etqqkoiflwhb____ has quit [Ping timeout: 276 seconds]
freerobby2 has quit [Ping timeout: 252 seconds]
etqqkoiflwhb____ has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
n0n3 has joined #ruby
KanKava has quit [Remote host closed the connection]
jamto11 has quit [Remote host closed the connection]
<omosoj>
shevy, I figured it out... widened the scope of the variable. Thanks for the p line tip I'll use that to debug in the future.
sambao21 has joined #ruby
jxf has joined #ruby
Lewix has joined #ruby
jxf has quit [Remote host closed the connection]
<rkazak>
omosoj did you use gist as eval.in is down? or is the # of lines the issue?
jxf has joined #ruby
shock_one has joined #ruby
orbisvicis has left #ruby [#ruby]
jxf has quit [Client Quit]
aspiers has quit [Read error: Operation timed out]
<omosoj>
rkazak, I chose gist because I didn't know that eval.in would be better. :) I'm a newb so by definition I do everything incorrectly. heh
<rkazak>
me too ! :)
pskosinski has joined #ruby
combusean has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<omosoj>
Cool. How are you learning?
mikepack has joined #ruby
<rkazak>
try, try, try again….
<omosoj>
Heh. I just finished my first script. It's probably ugly and inefficient, and it took me probably 4 hours, but I did it. :)))
<rkazak>
well done.
<rkazak>
ruby can never be ugly???
<ddd>
omosoj awesome! keep driving forward!
mansi has joined #ruby
<ddd>
ask shevy, i'm a slowpoke at learning. (he's taken pity on me more than a few times). If I can learn it, you can. :-) Frustrating occasionally, but man that WOOHOO you get when you figure it out.. awesome-sauce
<omosoj>
ddd, thanks. Feeling pretty good. Took forever and was quite frustrating, but the first time I made a program to do something I wanted without copying a structure :)
<omosoj>
Cool
<rkazak>
Try is nothing wrong in copying… as long as you understand what it is....
<ddd>
yep, exact road i took. i followed The Well-Grounded Rubyist, then broke out on my own, referring back only for when I was totally lost and about to absolutely quit.
GrooveStomp has quit [Ping timeout: 265 seconds]
sambao21 has joined #ruby
<shevy>
ddd hehe
simono has joined #ruby
mikepack has quit [Ping timeout: 252 seconds]
<shevy>
I use ruby only in a minimal way
<ddd>
i'm super rusty as hell because i've been away from computers as a whole for months now (school). but i'd wager i remember enough of the rules from doing it that way to pick it back up in short order.
<shevy>
when I don't see something as useful or stylistic to the rest of my ruby code, I reject it instantly
<omosoj>
Yeah 90% of my learning comes from copying. I just need to repeat the basics for a while until something seeps in.
chrisseaton has joined #ruby
<ddd>
the expression use it or lose it aint no lie hehe
<rkazak>
let’s face it, in the real world how many people write from scratch? You may/will be reading other people’s code - so you are doing the best by learning from others …
bradhe has quit [Remote host closed the connection]
<omosoj>
True
kyb3r_ has quit [Read error: Connection reset by peer]
bthesorc_ has quit [Remote host closed the connection]
<omosoj>
Still cool to write personal scripts though :))
chichou has quit [Read error: Connection reset by peer]
<ddd>
omosoj like rkazak said, most of the jobs out there aren't these 'do it from total scratch' jobs. its fixing other people's code. which entails reading it. so long as you understand the basic syntax (what's a class, when to use {} vs () etc) its just a matter of doing it over and over again.,
<ddd>
not a thing wrong with C&P so long as you don't use it without trying to grok it
jonr22 has quit [Remote host closed the connection]
<shevy>
rkazak I write a lot of things from scratch; some stuff I re-use freely though, like coderay parser, or kramdown markdown parser - these I gladly reuse
<shevy>
or prawn
bradhe has joined #ruby
chichou has joined #ruby
<rkazak>
nice.
<shevy>
I think large projects are often significantly more useful than the smaller ones
jonr22 has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
<shevy>
smaller ones I can write from scratch quickly myself, larger ones however really often had a lot of work and testing go into them
brian___ has quit [Quit: brian___]
<rkazak>
or maybe ‘well written projects'
<shevy>
yeah
<omosoj>
hey shevy, do you have any general advice for newbs?
soulcake has joined #ruby
<ddd>
yeah i too would have to agree with the 'well written projects' being the better identifier
mansi has quit [Remote host closed the connection]
<shevy>
omosoj yeah, write as much as possible by yourself, over and over again
mansi has joined #ruby
<shevy>
ddd prawn is really great
<shevy>
I now use it to autogenerate .pdf documents here and there
mansi has quit [Read error: Connection reset by peer]
<omosoj>
Cool, that's what I'm trying to do
<shevy>
like tutorials or manuals (ok ok... I haven't autogenerated a tutorial yet, but a manual...)
<ddd>
and when you understand the basic syntax damned well, try adding in tests like rspec or using ruby's built in (MiniTest iirc) and then try writing code to make them pass (even if you don't ever reuse that code)
GrooveStomp has joined #ruby
<omosoj>
TDD, right?
<ddd>
ehh, forget the terms
mansi has joined #ruby
helpD has quit [Remote host closed the connection]
<ddd>
just use the tool
benzrf is now known as benzrf|offline
estaban has joined #ruby
<omosoj>
I've done some of that stuff through tutorials but I gotta learn how to do them more.
<srji>
just do it - nike :)
<shevy>
hmm
<ddd>
think of say something *really* simple like: it "should return false" ... end and do something in the block to make that assumption correct (and wrong at least once so you know the WHY of it)
jonr22 has quit [Ping timeout: 240 seconds]
<ddd>
just don't get caught up in writing the test and forget to contiue learning just how to 'do' hehe
stantona has joined #ruby
armyriad has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
estaban has quit [Read error: Operation timed out]
<ddd>
that was my mistake for a long time. got caught up on how this or that test framework did this that or the other thing and got focused away from just friggin learning
robustus has quit [Ping timeout: 252 seconds]
<rkazak>
lerning is the objective, the frameworks are the tools...
<ddd>
shevy oh wait, i got a good idea. What's that 3 word programmer's test? Foo Bar Baz?
<ddd>
rkazak yeah
sambao21 has quit [Quit: Computer has gone to sleep.]
<shevy>
ddd yeah
<shevy>
I go with... Foo bar bla baz or something like that
crystal77 has quit [Quit: Computer has gone to sleep.]
<shevy>
but my favourite name is _
robustus has joined #ruby
jonno11 has joined #ruby
<ddd>
it tests that you can A) cognitively understand a coding problem, and then B) define a solution to it. trying to find the one I wrote. think i kept the original URL to the original question phrasing.
<myke>
also quux
<ddd>
someone threw it at me for a coding contract
soulcake has quit [Ping timeout: 255 seconds]
havenwood has quit [Ping timeout: 276 seconds]
crucify_me has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
srji_ has joined #ruby
* shevy
throws some panties at ddd
<shevy>
I don't quite know what to use to test
<shevy>
I most definitely won't let the tests drive how I use my code
Hanmac has joined #ruby
JensOfSweden has quit [Read error: Connection reset by peer]
<shevy>
I also don't want to test every component, I am not writing a NASA lunar platform to warrant that
<centrx>
I am
<rkazak>
:)
yarou has quit []
<shevy>
I need some testing where the functionality is preserved without having to specify every individual component
<rkazak>
shevy:what if NASA wants to use your....
<ddd>
omosoj: "Count to 100. If divisible by 3 output Foo, if divisible by 5 output Bar, if
<shevy>
nah
<ddd>
divisible by both output Baz
<ddd>
"
<ddd>
that was it
patronus_ has joined #ruby
<shevy>
NASA pursues silly goals, like searching life... we already have found life, it's on a planet
<centrx>
How far away is that planet?
<ddd>
start small, morph to harder stuff. also, check out iwanttolearnruby.com
omosoj has quit [Quit: Leaving]
mengu has quit [Remote host closed the connection]
<shevy>
centrx very close
havenwood has joined #ruby
omosoj has joined #ruby
soulcake has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
srji has quit [Ping timeout: 252 seconds]
jkline has joined #ruby
Hanmac1 has quit [Ping timeout: 240 seconds]
<shevy>
ddd do you make use of databases for your stuff written in ruby?
<omosoj>
ddd, what's that?
<ddd>
shevy yeah
<ddd>
omosoj its a coder's quiz.
atmosx has quit [Remote host closed the connection]
<ddd>
helps to find out if you can cognitively break down a problem and then code a solution for it.
patronus has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
SilverKey has quit [Quit: Halted.]
<ddd>
since you have to know ruby syntax to solve it in ruby.. ;) just think on the problem and devise a solution. refine the solution once you have it working (can you make it better? *can* it get any better?)
atmosx has joined #ruby
etqqkoiflwhb____ has quit [Quit: Computer has gone to sleep.]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Hobogrammer has joined #ruby
<omosoj>
There are probably 15 syntax errors but that would be my general approach
Stalkr_ has quit [Quit: Leaving...]
<ddd>
just a starting point. you said you wanted from-scratch so don't google any answers. once you complete it and refine if (if its possible to, something you have to figure out) then move on to iwanttolearnruby.com and start digging through the individual sites on that list page for other projects that you might find cool.
<ddd>
hehe but see that is the point. get rid of the syntax errors. you got the general idea on how to solve, so, now, *actually* solve it :)
<ddd>
couple friends of mine had me do it when I got started. got me interested in moving forward. small victories add up :)
<rkazak>
yep!
<omosoj>
Yeah it's good to do these kinds of exercises.
<rkazak>
just open a ‘programming’ book and do the exercise in ruby…
<ddd>
i found the gist of my original solution. even now, its getting me back into hunting the bugs :)
<ddd>
i swear, once bitten, the programming bug never *really* goes away
<rkazak>
yep...
Astralum has quit [Ping timeout: 255 seconds]
<rkazak>
and programming is programming in whatever language you choose….
jack_rabbit has quit [Ping timeout: 276 seconds]
<rkazak>
always be open to new ideas.
<ddd>
i have absolutely dickall worth coding atm (except a rails site for animal rescue which i really don't have the bulk time it needs to have to be done right) but i can feel that rekindling of the desire to write *something*.
etqqkoiflwhb____ has quit [Ping timeout: 252 seconds]
<ddd>
I BLAME SHEVY!
<ddd>
oops
freerobby has joined #ruby
<ddd>
rkazak yeah. i did java for school. always came back to ruby, but what i learned from that class applies equally well
red234324 has quit [Quit: Leaving]
<ddd>
sorry, evangelizing a bit here. i'll stop now. just remember to keep driving forward and you'll be all right. if this is really something you want into, you'll make it happen
soulcake has quit [Ping timeout: 255 seconds]
<rkazak>
exactly… we are just implementing algorithms with a tool of choice. Sometime its useful to reimplement in another language to see the difference....
<ddd>
yeah, exactly what i wanted to say. great word choices
freerobby has quit [Client Quit]
mansi has quit [Remote host closed the connection]
<ddd>
yikes, my 7yo is getting a wee bit bored. something tells me this might be a recipe for disaster
mansi has joined #ruby
freerobby has joined #ruby
freerobby has quit [Client Quit]
<rkazak>
as long as you don’t just put him/her in front of the box of insanaity….
gigetoo has quit [Remote host closed the connection]
sparrovv has joined #ruby
gigetoo has joined #ruby
srji_ has quit [Quit: das beste was ich in meinem leben tun kann ist andere menschen dazu zu bringen mich toeten zu wollen]
troyronda has joined #ruby
<ddd>
omosoj so i quit blathering (and to make sure my kid doesn't go off and do something crazy, he *is* 7 after all), I'ma split for a bit. I'd be interested in your Final Solution for the FizzBuzz. Msg me the gist url if you post it up.
<ddd>
rkazak yeah, aint that the truth especially with the way TV shows are these days. Kid shows my ass!
<omosoj>
ddd, heh, cool. Thanks for sharing your thoughts.
<centrx>
My advice is: Whatever you do, don't use PHP.
<rkazak>
ddd: it only gets different…
einarj has quit [Remote host closed the connection]
<ddd>
omosoj np :) I tend to go on when I'm excited or want to pass on the 'torch' on something. :)
wald0 has quit [Ping timeout: 240 seconds]
soulcake has joined #ruby
<omosoj>
:)
<ddd>
rkazak heh. different. way with words.. way with words. :)
<rkazak>
:)
<ddd>
ok, later. &
<rkazak>
bye 4 now.
Thanatermesis has quit [Ping timeout: 252 seconds]
mansi has quit [Ping timeout: 255 seconds]
ktosiek has quit [Ping timeout: 240 seconds]
<omosoj>
Later
crystal77 has joined #ruby
IceDragon has quit [Ping timeout: 276 seconds]
matchaw has quit [Ping timeout: 276 seconds]
matchaw_ has joined #ruby
Nexus_x1__ has quit [Quit: Computer has gone to sleep.]
<rkazak>
who runs eval.in ? how does that work?
Nexus_x1__ has joined #ruby
shock_one has quit [Ping timeout: 240 seconds]
stantona has quit [Remote host closed the connection]
bthesorceror has joined #ruby
SilkFox has quit [Ping timeout: 252 seconds]
ikaros has quit [Quit: Ex-Chat]
benzrf|offline is now known as benzrf
<centrx>
rkazak, charliesome
eka has joined #ruby
<centrx>
rkazak, It runs a Ruby interpreter inside some kind of security box
<rkazak>
is he/are they in the chat room?
<centrx>
Sometimes
Slavox is now known as Slavox|AFK
blackmesa has joined #ruby
troyronda has quit [Remote host closed the connection]