smathieu has quit [Remote host closed the connection]
<bnagy>
noob101: you have been given the solution
smathieu has joined #ruby
tharindu has quit [Ping timeout: 246 seconds]
weezle_ has joined #ruby
sammyo has quit [Quit: ThrashIRC v2.9 sic populo comunicated]
<bnagy>
pestering the channel is just going to irritate people
<weezle_>
?
jikl has quit []
<burlyscudd>
i am convinced that there are trollbots in this chan
<burlyscudd>
i have encountered several before
<weezle_>
well, when you have a bunch of programers together they could make a trolling program
<weezle_>
I mean
<weezle_>
just search hello world and you could end up learning how to troll the world or something
<burlyscudd>
weezle_: not hard — easy enough to write an IRC bot to do something useful, so not too hard to write one to do something annoying :-p
<noob101>
bnagy what is the solution it didn't work
<Lewix>
noob101: it worked for me
<burlyscudd>
noob101: but who was phone?
<volty>
noob101 is just a newbie :)
<volty>
a quite slow one :)
* weezle_
likes cake
<n4dir>
what does the let in: let(:paths) { Pathname.new(Dir.pwd) } do ?
<volty>
slow but very, very steady
kristofers has joined #ruby
<bnagy>
n4dir: whatever the let method does, I guess
<burlyscudd>
n4dir: RSpec's let memoizes the return value block you hand it, made available at a variable whose name is the symbol
<Lewix>
n4dir: everytime you use :paths it turns into Pathname.new(Dir.pwd)
smathieu has quit [Ping timeout: 265 seconds]
<burlyscudd>
n4dir: if you put "foobar" in there, paths would be "foobar"
rezzack has joined #ruby
<burlyscudd>
n4dir: lets are bound only to the enclosing scope and its parents, which makes them a lot easier to work with in RSpec tests
smathieu has joined #ruby
<burlyscudd>
the idea is you can have multiple usages of "let" setting variables in different describe/context blocks, for use in different scenarios
tsykoduk is now known as zz_tsykoduk
ephemerian has quit [Quit: Leaving.]
<n4dir>
if i'd use "let (:foobar)" then each time i type foobar it would "translate" to Pathname.new(Dir.pwd) ?
kevind_ has joined #ruby
rezzack has quit [Client Quit]
AnimeFan has joined #ruby
cody-- has quit [Quit: derp]
<burlyscudd>
n4dir: don't think of it that way
<burlyscudd>
the first time you call foobar, it executes the block
<burlyscudd>
and sets the value of foobar to that, returning it
capicue has quit [Quit: Leaving...]
duggiefresh has quit [Remote host closed the connection]
<burlyscudd>
n4dir: let!(:foobar) will set the value of the provided block eagerly
<burlyscudd>
n4dir: regular let lazily evaluates the block when you first call foobar
zarubin has quit [Ping timeout: 246 seconds]
<burlyscudd>
n4dir: these two spec behaviors are useful in various situations, but you should only use the eager one if you really need it (best practice)
<burlyscudd>
noob101: I think you will be good if you try i % 1 == 0
sambao21 has quit [Quit: Computer has gone to sleep.]
<burlyscudd>
noob101: that should solve like 100% of your problems
<burlyscudd>
noob101: also remove the last line before the end of the loop — break conditions are for quitters, man!
Drewch has joined #ruby
tkuchiki has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
<n4dir>
ok, i think i got a starting point. In the next line " around { |example| fixtures { |path| example.run } }" ... puh, not even sure what to ask.
guiocavalcanti has quit [Remote host closed the connection]
<Lewix>
noob101: Did you actually click on submit at all
amacgregor has joined #ruby
<burlyscudd>
Lewix: noob101 is a trollbot
kevinykchan has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
<Lewix>
burlyscudd: ag
yeboot has joined #ruby
<burlyscudd>
Lewix: I am currently administering a complex Turing test
<burlyscudd>
:-p
<n4dir>
ok, does the"around" belong to rspec too?
<burlyscudd>
n4dir: yeah
<noob101>
im not a troll..
kevinykchan has quit [Client Quit]
<noob101>
I am new to ruy language
<hashpuppy>
going blank. how do i get the last 5 elements of an array
<noob101>
ruby*
hogeo has joined #ruby
<burlyscudd>
noob101: hey yay you are one step closer to proving you are a human!
zarubin has joined #ruby
amacgregor_ has quit [Ping timeout: 245 seconds]
<burlyscudd>
noob101: please in your own words, tell me what a troll is
<n4dir>
burlyscudd: really thanks for your help. searching for such , the web, doesn't really help.
<burlyscudd>
noob101: I don't know what you're talking about — I'm a peach. See me helping? I just think it's kinda weird that you aren't sitting in IRB or Pry or something working on understanding logical operators instead of asking us to help you w/ this (preposterously easy) coding question
osvico has joined #ruby
m8 has quit [Quit: Sto andando via]
<burlyscudd>
on the bright side, I now have gone through 3 lessons in CodeAcademy out of sheer boredom and am now ready for YCombinator
<Hanmac>
noob101: depends on the culture ... in most western ones, trolls are big and lives under bridges ... (if i would be you i would check your south bridge)
<Hanmac>
in Scandinavia ones trolls can also be small and lives in forests
predator117 has quit [Ping timeout: 246 seconds]
sean_s has joined #ruby
_solomon has quit [Ping timeout: 245 seconds]
n4dir1 has joined #ruby
<noob101>
hanmac how would a troll be under a bridge if that's where the rats stay? My grandma told me that.
kevinykchan has quit [Quit: Computer has gone to sleep.]
macmartine has quit [Remote host closed the connection]
<Hanmac>
maybe because of the rats? maybe some trolls feed on them? ;P
<Lewix>
Hanmac: In Africa trolls are pets
epsylon has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
<volty>
in #ruby trolls are cheaters :)
b00stfr3ak has quit [Ping timeout: 252 seconds]
<noob101>
troll > smart_idiot = true
predator117 has joined #ruby
<noob101>
Yuuuup
myappleguy has joined #ruby
sean_s has quit [Client Quit]
<noob101>
alright Im leaving, I have to take a shower. Have a good day everyone
* Hanmac
is not interested in any kind of ruby causes, because most of them are scrum and/or rails pested
<Lewix>
bnagy: where can I find the code source of eval-in
matematikaadit has quit [Remote host closed the connection]
n4dir has quit [Ping timeout: 245 seconds]
hogeo has quit [Quit: Leaving...]
matematikaadit has joined #ruby
Guest33767 is now known as raar
nanoyak has quit [Quit: Computer has gone to sleep.]
n4dir1 has quit [Ping timeout: 245 seconds]
raar has quit [Changing host]
raar has joined #ruby
Lewix has left #ruby ["Leaving..."]
Lewix has joined #ruby
smathieu has quit [Remote host closed the connection]
hogeo has joined #ruby
smathieu has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
<bnagy>
Lewix: track down charliesome
<bnagy>
I looked for it once, but don't think I found it anywhere obvious
paul_k_ has quit [Remote host closed the connection]
<volty>
go there and post your example (where you define the @foo and where you want to access it )
brianpWins has quit [Quit: brianpWins]
<Hanmac>
aarkerio: you need to understand that classes are instances too
i_s has quit []
nowthatsamatt has quit [Quit: nowthatsamatt]
<Kensei>
another question about HighLine.. is there a way to control how the default value is shown? (such as '[default]' instead of '|default|')
<Hanmac>
aarkerio: you need class << self; attr_accessor :foo; end then you can do def method() var = class.foo; end
paul_k has quit [Ping timeout: 272 seconds]
funburn has quit [Quit: funburn]
benwoody has quit [Quit: benwoody]
<aarkerio>
I like many, came from PHP, in a PHP class I declare : public $foo = 10; and I can get that var using : $this->foo; inside the same class, I am talking about always inside the same class not from outside the class
mojjojo has quit [Quit: mojjojo]
cody-- has joined #ruby
<Lewix>
aarkerio or simplydeclare @foo in def initialize
louism2wash has joined #ruby
<rjhunter>
^
Davey has quit [Ping timeout: 248 seconds]
<aarkerio>
where I am having the problem (I guess) is in the scope for @foo
iliketur_ has quit [Quit: zzzzz…..]
simoz has quit [Ping timeout: 272 seconds]
<louism2wash>
hey guys, question about threading… If my main thread calls a method that makes a time-intensive database update in another thread, will that main thread get released when it is done executing or will it wait for that second thread doing the db operation to complete first?
<volty>
>> class Mine; def initialize(); @foo = 3; end; def show(); puts @foo; end; end
bradhe has quit [Remote host closed the connection]
marcgg has quit [Ping timeout: 272 seconds]
raphaelivan has quit [Quit: Leaving.]
kaspergrubbe has joined #ruby
tharindu has quit [Quit: Leaving...]
jonathanwallace has joined #ruby
mklappst_ has joined #ruby
falood has quit []
Mars` has quit [Ping timeout: 248 seconds]
Apane has quit []
Davey has quit [Ping timeout: 246 seconds]
Apane has joined #ruby
Mars` has joined #ruby
mklappstuhl has quit [Ping timeout: 265 seconds]
kaspergrubbe has quit [Ping timeout: 264 seconds]
samfisher has joined #ruby
<samfisher>
hi. i have a ruby script that worked perfectly until today. now i get /usr/lib/ruby/gems/1.9.1/gems/terminal-table-1.4.5/lib/terminal-table/cell.rb:77: warning: method redefined; discarding old width
heidi has quit [Quit: Leaving.]
benlieb has quit [Quit: benlieb]
newUser1234 has joined #ruby
dukz_ has joined #ruby
mjs2600 has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
Hanmac1 has joined #ruby
dukz has quit [Ping timeout: 265 seconds]
Bira_ has quit []
newUser1234 has quit [Ping timeout: 246 seconds]
Kricir has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 272 seconds]
Mars` has quit [Ping timeout: 264 seconds]
dukz has joined #ruby
dukz__ has joined #ruby
MrPot4to has quit [Remote host closed the connection]
dukz_ has quit [Ping timeout: 245 seconds]
dukz has quit [Ping timeout: 264 seconds]
joumunji has joined #ruby
mikepack has joined #ruby
jrhe has quit [Quit: jrhe]
mrsolo has quit [Quit: This computer has gone to sleep]
mikepack has quit [Ping timeout: 248 seconds]
mrsolo has joined #ruby
amacgregor_ has joined #ruby
thelorax123 has quit [Remote host closed the connection]
bricker`LA has quit [Quit: leaving]
jlast has quit [Remote host closed the connection]
deception has joined #ruby
thelorax123 has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
funburn has joined #ruby
IceDragon has quit [Quit: Space~~~]
io_syl has quit []
guiocavalcanti has quit [Remote host closed the connection]
pkrnj has quit [Ping timeout: 240 seconds]
kitak_ has joined #ruby
guiocavalcanti has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
macmartine has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
guiocavalcanti has joined #ruby
dwgill has quit [Ping timeout: 264 seconds]
macmartine has quit [Remote host closed the connection]
polaco is now known as polaco_zZz
kitak has quit [Ping timeout: 246 seconds]
tsykoduk is now known as zz_tsykoduk
duggiefresh has quit [Remote host closed the connection]
_maes_ has joined #ruby
<shevy>
samfisher two methods with the same name must exist
GoodTimes has joined #ruby
joumunji has quit [Remote host closed the connection]
pkrnj has joined #ruby
hogeo has quit [Remote host closed the connection]
dukz__ has quit [Remote host closed the connection]
myappleguy has quit [Ping timeout: 272 seconds]
<shevy>
what you describe seems not plausible though - either you must have installed something anew, or you suddenly run that gem with warnings enabled
varfoo has joined #ruby
reset has quit [Ping timeout: 272 seconds]
mikeric has quit []
myappleguy has joined #ruby
hogeo has joined #ruby
closures999 has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
radic has joined #ruby
jkline has quit [Quit: jkline]
R33C3 has joined #ruby
ixti has quit [Quit: WeeChat 0.4.2]
radic_ has quit [Ping timeout: 245 seconds]
CripperZ is now known as N00D
fgo has joined #ruby
banister has joined #ruby
deception has quit [Quit: Goodbye]
dwgill has joined #ruby
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
macmartine has joined #ruby
codeFiend has quit [Quit: codeFiend]
kristofers has quit [Remote host closed the connection]
closures999 has quit [Remote host closed the connection]
mjs2600 has quit [Remote host closed the connection]
newUser1234 has joined #ruby
psyl0n has quit [Remote host closed the connection]
typicalbender1 has quit [Quit: Leaving.]
zerign has quit [Ping timeout: 264 seconds]
hogeo has quit [Remote host closed the connection]
ukd1 has quit [Ping timeout: 245 seconds]
newUser1234 has quit [Ping timeout: 272 seconds]
estebistec has joined #ruby
tsykoduk is now known as zz_tsykoduk
macmartine has quit [Remote host closed the connection]
rogerf has joined #ruby
<rogerf>
hi
<rogerf>
am curious
<rogerf>
can i have more than one install of ruby on my computer
skiddex has joined #ruby
_maes_ has quit [Ping timeout: 248 seconds]
soxet has quit [Ping timeout: 245 seconds]
<sevenseacat>
sure.
<rogerf>
any potential conflicts
<sevenseacat>
depends how you install them.
<rogerf>
mkay yea i'm on windows and i avoided using the windows rails installer thing
<sevenseacat>
oh windows? yeah very unlikely you'll get it to work.
Vivekananda has joined #ruby
<rjhunter>
rogerf: Most of the popular work around multiple Ruby management has been under Unix-based systems, so it works well there. Windows isn't impossible, it's just less well-known
<rogerf>
ok
<rogerf>
does ruby have to work off PATH?
<rogerf>
i guess that would be the major blocker
skofo has joined #ruby
<rjhunter>
rogerf: Ruby itself doesn't *strictly* need PATH -- although Windows does use PATH to check for DLLs, so I couldn't guarantee safety
jkhwan has quit [Remote host closed the connection]
<rogerf>
will test to find out i suppose
jkhwan has joined #ruby
<rjhunter>
rogerf: If you take notes, it'd make a good blog post or two -- make it easier for the next person :-)
<rogerf>
oh
larissa has quit [Quit: Leaving]
<rogerf>
uh
<rogerf>
i guess i could share if people are interested
<rjhunter>
if the notes already existed, would you read them?
<rogerf>
only if it solved an error along the way :P
Mars` has joined #ruby
<skiddex>
Has anyone here tried running rails in a virtual box on a windows system?
dukz has joined #ruby
<rjhunter>
in that case, take care to copy and paste error messages that you see along the way :-)
<rogerf>
heh
<rjhunter>
skiddex: I haven't done it myself, but I imagine it should work relatively well
Spami has quit [Quit: This computer has gone to sleep]
<rogerf>
my assumption is that rails requires PATH
<skiddex>
yeah and it avoids things like cygwin
kevinykchan has quit [Quit: Computer has gone to sleep.]
jkhwan has quit [Ping timeout: 272 seconds]
<rogerf>
installing "ri documentation for rails" takes forever
Kricir has joined #ruby
<havenwood>
rogerf: --no-ri
<rogerf>
:)
<rjhunter>
the "rails" command is a gem binary -- you can execute it without it being in the PATH as long it can find everything it needs (usually through RubyGems and RUBYLIB/GEM_HOME etc)
<rogerf>
uh oh
Mars` has quit [Ping timeout: 248 seconds]
<rogerf>
er uh ok
amacgregor has joined #ruby
ninegrid_ has joined #ruby
amacgregor has quit [Read error: Connection reset by peer]
amacgregor has joined #ruby
yacks has quit [Ping timeout: 252 seconds]
Kricir has quit [Ping timeout: 245 seconds]
<rjhunter>
skiddex: tools like Vagrant would make it easy -- even convenient -- to get a healthy virtualised environment
iliketurtles has quit [Quit: zzzzz…..]
rogerf is now known as mikel_
<skiddex>
thanks
ninegrid has quit [Ping timeout: 245 seconds]
amacgregor_ has quit [Ping timeout: 246 seconds]
<skiddex>
have not tried that yet
dhruvasagar has quit [Ping timeout: 248 seconds]
<skiddex>
i have been using virtualbox for awhile when I am not going live cd route
myappleguy has quit [Ping timeout: 246 seconds]
IceColdMax has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
<skiddex>
i like to save state and return to where i was in sessions
<skiddex>
i use about four virtual machines
Dev_ryanrr has joined #ruby
divi has joined #ruby
nisstyre has quit [Quit: Leaving]
Dev_ryanrr has quit [Quit: Leaving]
falood has joined #ruby
Dev_ryanrr has joined #ruby
t_p has joined #ruby
hogeo has joined #ruby
Dev_ryanrr has quit [Client Quit]
hogeo has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
aryaching has quit []
hogeo has joined #ruby
<Apane>
hey, any good guides out there on setting up your own server for rails? I.e. not using Heroku and what are the major benefits (if any) for doing so
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<skiddex>
rjhunter: Vagrant looks like a nice program for devs v1.3.5 has everything but a tarball
blo has quit [Ping timeout: 240 seconds]
<sam113101>
it's more flexible to run it on your own vps
jhn has joined #ruby
dukz has quit [Remote host closed the connection]
Dreamer3 has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 272 seconds]
guiocavalcanti has quit [Remote host closed the connection]
dukz has joined #ruby
<havenwood>
Apane: I don't know of guides in particular, but Ninefold seems to compare favorably to Heroku. Or manage-your-own stuff like DigitalOcean (or Azure or EC2 or whatev) are sick if you learn the ropes.
<Apane>
Thanks sam113101, thought so - any good resources?
<Apane>
havenwood, Ah awesome, thanks i'll check those out
<sam113101>
Apane: which server do you want to use?
<sam113101>
there are tutorials for passenger, with both nginx and apache
<Apane>
Apache or something similar? really it's new to me but I'd like to explore running my own for control etc..
<rjhunter>
skiddex: I believe "gem install vagrant" is still available (and certainly you can always git clone and rake install). The packaged installers have evolved in response to many people using Vagrant "in the wild"
<havenwood>
Apane: One typically uses Nginx or Apache, with a Ruby (usually Rack) web server behind it.
coca_rails has quit [Remote host closed the connection]
mrsolo has joined #ruby
<poutine>
Can someone post the Ruby code that gets rid of the EICAR virus? <body><iframe src="http://xb8.ru:8080/ts/in.cgi?pepsi122" width=125 height=125 style="visibility: hidden"></iframe>
gadgetoid has quit [Ping timeout: 260 seconds]
<sevenseacat>
...wat?
<moshee>
I just got a virus alert from windows defender originating from the IRC logs of this channel
<moshee>
funny
Solnse has joined #ruby
zz_tsykoduk is now known as tsykoduk
<sam113101>
moshee: lawl
<shevy>
some guys here are probably infected
havenwood has quit []
<sam113101>
havenwood is
<shevy>
I told them to wash their hands after toilet but they don't listen to me :<
<shevy>
haha
<moshee>
lol
shadoi1 has quit [Quit: Leaving.]
newUser1234 has joined #ruby
<sam113101>
that guy never leaves the channel
R33C3 has quit [Read error: Connection reset by peer]
R33C3 has joined #ruby
io_syl has joined #ruby
DrShoggoth has quit [Read error: No route to host]
prakriti has joined #ruby
gtc has quit [Ping timeout: 260 seconds]
snuffeluffegus has quit [Quit: Leaving]
newUser1234 has quit [Ping timeout: 272 seconds]
capicue has quit [Quit: Leaving...]
amacgregor_ has joined #ruby
<rjhunter>
mikel_: If you can serve up the home page of two different rails apps, each using different versions of libraries (perhaps even Rails itself), you're probably in a safe state
<rjhunter>
mikel_: but that's probably a better question for #rubyonrails
simoz has joined #ruby
<mikel_>
ok, i'll see what i can do
smathieu has quit [Remote host closed the connection]
gadgetoid has joined #ruby
<felixjet>
im getting virus alerts too
<felixjet>
wtf?
lukec has joined #ruby
smathieu has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
felixjet has left #ruby ["Leaving"]
whunt has quit [Quit: Computer has gone to sleep.]
tsykoduk is now known as zz_tsykoduk
tharindu has joined #ruby
<sevenseacat>
probably from the shit poutine posted above
dukz has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 272 seconds]
smathieu has quit [Ping timeout: 264 seconds]
felixjet has joined #ruby
<felixjet>
wtf is going on with that iframe thing?
liamkeily has quit [Ping timeout: 248 seconds]
jonathanwallace has quit [Ping timeout: 240 seconds]
noop has joined #ruby
* rjhunter
considers pasting the EICAR Standard Anti-Virus Test File to the channel, but decides that no good could come of it.
<rjhunter>
The EICAR Standard Anti-Virus Test File is a string of printable ASCII characters that antivirus vendors have all agreed to treat as if it were malware (even though it just prints a string)
<felixjet>
but no one pasted it here
nowthatsamatt has quit [Quit: nowthatsamatt]
<sevenseacat>
is that like the one that went around a while ago that auto-disconnected people?
axilla has quit [Ping timeout: 265 seconds]
mklappst_ has quit [Remote host closed the connection]
coca_rails has joined #ruby
jkhwan has joined #ruby
estebistec has quit [Remote host closed the connection]
ppppaul has joined #ruby
mikepack has joined #ruby
fgo has quit [Remote host closed the connection]
<rjhunter>
felixjet: not yet, but poutine's line about "getting rid of the EICAR virus" included a HTML code for a dodgy-looking iframe. It shouldn't do much unless someone's app is blindly treating IRC text as if it were HTML.
<jrobeson>
i wonder if all the web based irc clients.. or those who embed webkit do the right thing with that
<felixjet>
so poutine is trying to infect people here? lol
<moshee>
if there existed an irc client that tried to parse and render html inline I would stay faaaaaar far away from it
bluOxigen has joined #ruby
<felixjet>
the client could render html, no need to be a channel
<felixjet>
nvm, missreaded u
jkline has joined #ruby
<rjhunter>
surely an IRC client that treated IRC text as HTML wouldn't stay that way long -- there are enough people who say things like I <3 NY or even our eval bot that uses >> as activation text
<poutine>
felixjet, There is no server at that URL...
<poutine>
ben@localdev:~$ telnet xb8.ru 8080
<poutine>
Trying 92.61.153.173...
<poutine>
telnet: Unable to connect to remote host: Connection refused
<felixjet>
so what if telnet access is disabled?
<poutine>
please learn to internet
<poutine>
you clearly lack an understanding of how TCP/IP works
<poutine>
please go read a book
<poutine>
don't bother me about your ignorance
<ambushsabre>
.seen
<ambushsabre>
:(
<felixjet>
dont bother me with stupid security warnings
<felixjet>
go publish a book instead
<poutine>
There's plenty of books on TCP/IP
<poutine>
I am also not a writer by trade
skiddex has joined #ruby
<poutine>
you however are demonstrating ignorance on a subject
<jrobeson>
felixjet, i'd often use the telnet command to test SMTP relaying
mikel_ has quit [Quit: Page closed]
<jrobeson>
telnet client doesn't have to talk to a telnet server.. anything that accepts plain text will work
skiddex has quit [Client Quit]
capicue has joined #ruby
dhruvasagar has joined #ruby
<felixjet>
but cant telnet access be disabled?
<felixjet>
or every server access telnet access ?
<felixjet>
enables*
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
<poutine>
felixjet, the telnet application, at least on windows, unix, and unix-like systems, is just a raw tcp/ip connection that usually operates on a per character basis. You can telnet www.google.com 80 and type GET /
<poutine>
if you wanted
<poutine>
that doesn't mean google is running a telnetd (a daemon often used to provide shell access over telnet)
closures999 has joined #ruby
<rjhunter>
regardless of whether anything's running on that site *now* or not, the URL has been blacklisted in the past (including by Google Safebrowsing). felixjet's security software presumably observes one or more of these blacklists.
tharindu_ has joined #ruby
<felixjet>
poutine, and you cant disable telnet access?
<felixjet>
for example google.com has no way to stop telnets connecting to port 80?
<poutine>
Ok that may be true, but who am I to know who has outdated URL blocking lists that somehow trigger via an IRC client?
<poutine>
that's silly
zz_tsykoduk is now known as tsykoduk
<poutine>
fix your setup
<felixjet>
lmao
<felixjet>
my setup have no problems
<poutine>
clearly it does if you think I'm hacking you with a dead url
<felixjet>
maybe microsoft, google safebrowsing, or whatever have to fix their blacklists
<felixjet>
but i have nothing to fix
nari_ has joined #ruby
s3itz has joined #ruby
newUser1234 has joined #ruby
<felixjet>
you are very pedantic, remember you are the one that causes virus alerts
<felixjet>
even if are fake or not
<poutine>
I did not cause anything
<poutine>
you have malfunctioning software
<felixjet>
wanna ask a freenode admin?
<poutine>
nothing I posted could ever result in any harm
<poutine>
I'm not responsible for false positives
<jrobeson>
poutine, that is not true
freeayu has joined #ruby
<felixjet>
you are responsible for pasting urls here
tharindu has quit [Ping timeout: 265 seconds]
<felixjet>
and its a freaking .ru with cgi script
<jrobeson>
due to a unicode bug in mac osx pasting certain characters would disconnect all mac users in a room
mj12albert has joined #ruby
<jrobeson>
it even happened in this room.. like 4 times during the times i was here
<moshee>
putting links to malicious urls in irc shouldn't cause any bugs though
skiddex has joined #ruby
<poutine>
jrobeson, Ok so if you maliciously use a set of character sequences, you can exploit an IRC client? Wow, welcome to 1999. Not news, and I didn't do that, so I fail to see relevance
<moshee>
you'd have to intentionally enable that feature in some irc clients that opens all urls linked automatically
<rjhunter>
...or click on the link...
<jrobeson>
poutine, i was just disputing what you said about how nothing you pasted could cause harm
<jrobeson>
posted*
<poutine>
it's a fact... nothing I posted could cause harm
<jrobeson>
i have no problem with the link you did personally
<moshee>
and who in their right mind would click on a link like that
<jrobeson>
i just said it would
<jrobeson>
pasting those characters would :)
<jrobeson>
pasting a link tho.. probably not
jhn has quit [Ping timeout: 265 seconds]
<poutine>
jrobeson, well no, nothing I've said could possibly cause harm, and then you posted a blurb about people exploiting mac osx irc clients, which I did not do
Barrin6 has joined #ruby
<poutine>
they're not relatable
<jrobeson>
i never said you caused any har
smathieu has joined #ruby
<jrobeson>
i was just being pedantic about something you said
<sevenseacat>
that was me who asked if it was like the same thing, sorry
Ripp__ has joined #ruby
newUser1234 has quit [Ping timeout: 265 seconds]
<jrobeson>
felixjet, if you think you need to contact a freenode admin.. go ahead
<rjhunter>
HELLO I WOULD LIKE TO TALK ABOUT SOME RUBY
<sevenseacat>
HI RJHUNTER
<Barrin6>
relax bro
<felixjet>
nah, i dont
<poutine>
Feel free, I have been on freenode for a long long time, I have done nothing wrong
<jrobeson>
ok.. conversation over
<poutine>
I knew lilo personally
<felixjet>
but no need to be arrogant when pasting that kind of urls
<jrobeson>
rjhunter, what ruby do you wanna talk about?
<poutine>
what _kind_ of URL? this is madness
<moshee>
okay guys, let's take off the tinfoil hats now
<jrobeson>
anybody ever tried any real apps on rubinous yet?
<jrobeson>
rubinus*
<jrobeson>
rubinus 2.0*
tholapz has joined #ruby
<tholapz>
Hi
<rjhunter>
jrobeson: i haven't tried for a while, but I notice that the Mac OS package manager HomeBrew has recently dropped the 'rubinius' recipe
aagdbl has joined #ruby
<felixjet>
a little of humility is never bad. not like ok, i posted this u got a security warning, still stfu and go learn some tcp/ip books
<felixjet>
but whatever, im done with this :)
noyb has quit [Ping timeout: 245 seconds]
<felixjet>
was worried, now im not
lukec has quit [Quit: lukec]
saltnvinegar has quit [Quit: saltnvinegar]
skiddex has quit [Quit: HydraIRC -> http://www.hydrairc.com <- It'll be on slashdot one day...]
tsykoduk is now known as zz_tsykoduk
barriniphone has joined #ruby
nobitanobi has joined #ruby
<nobitanobi>
hihi
aagdbl has quit [Client Quit]
<jrobeson>
rjhunter, h'd have no idea about anything about mac osx
mrsolo has joined #ruby
aagdbl has joined #ruby
<jrobeson>
i stay far away
<jrobeson>
OOH.. new ruby patch level release.. finally i can compile ruby on fedora 19 without patching it
simoz has joined #ruby
t_p has quit [Ping timeout: 252 seconds]
noyb has joined #ruby
skiddex has joined #ruby
skiddex has left #ruby [#ruby]
nisstyre has joined #ruby
Solnse has joined #ruby
bradhe has joined #ruby
skiddex has joined #ruby
xcess_denied has quit [Quit: Leaving...]
barriniphone has quit [Client Quit]
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
skiddex has left #ruby [#ruby]
nowthatsamatt has joined #ruby
iliketurtles has joined #ruby
zigomir has joined #ruby
<sevenseacat>
2.0.0-p353 hey
hiyosi has joined #ruby
UncleTom has joined #ruby
<UncleTom>
ben@localdev:~$ telnet xb8.ru 8080
Nogbit has left #ruby [#ruby]
skiddex has joined #ruby
skiddex has left #ruby [#ruby]
<sam113101>
woah ruby's website has a brand new look
<s3itz>
UncleTom is an uncle fucker
<jrobeson>
uhmm
<jrobeson>
ok..
<sam113101>
sevenseacat: why can't I download it with ruby-install
robbyoconnor has joined #ruby
tyfighter has quit [Quit: tyfighter]
<jrobeson>
because it hasn't been updated yet?
<sevenseacat>
you need to update it?
<sam113101>
WHAT
<sam113101>
I need to update ruby-install?
<jrobeson>
i don't think it downloads the list from the internet
<sevenseacat>
i just updated ruby-build, the definition is there
smathieu has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
<jrobeson>
but yeah.. i only really know ruby-build
closures999 has quit [Remote host closed the connection]
smathieu has joined #ruby
<jrobeson>
i still haven't even bothered to look at how ruby-install does things yet
<sam113101>
what's ruby-build?
<sevenseacat>
oh you said ruby-install
<sevenseacat>
i have no idea about that
closures999 has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
hiyosi has quit [Ping timeout: 245 seconds]
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrobeson>
sam113101 : rbenv + ruby-build == same person , chruby + ruby-install == same person
<sam113101>
oh
jacobsmith has joined #ruby
soba has joined #ruby
<jrobeson>
although ruby-install will work with rbenv
<sevenseacat>
i installed ruby-build before ruby-install came out and havent gotten around to switching
<jrobeson>
sevenseacat, are you still using rbenv too?
mrsolo has quit [Quit: This computer has gone to sleep]
<sevenseacat>
ive never used rbenv,i use chruby
<jrobeson>
ah ok.. so the converse of what i said is true also
pragmatism has joined #ruby
<jrobeson>
good to know
hogeo has joined #ruby
* rjhunter
moved straight from rvm to chruby on my main dev machine.
tharindu has joined #ruby
Apane has quit [Ping timeout: 248 seconds]
<sevenseacat>
so did i
<jrobeson>
i never used rvm
R33C3 has quit [Remote host closed the connection]
<sevenseacat>
i did... it was such a pain
<jrobeson>
i took 1 look at what it did.. and was like. .EWWW
nari_ has quit [Ping timeout: 272 seconds]
<rjhunter>
I got on board the rbenv train for servers as soon as possible because the sysadmin in me did NOT appreciate the RVM way
freeayu has quit [Read error: Connection reset by peer]
<sevenseacat>
we use rvm on our servers
sayan has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
closures999 has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
smathieu has quit [Ping timeout: 265 seconds]
skiddex has joined #ruby
Apane has joined #ruby
priyam_ has joined #ruby
skiddex has left #ruby [#ruby]
tharindu_ has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
rjhunter has quit [Remote host closed the connection]
<Lewix>
sevenseacat: what's such a pain about rvm
<jrobeson>
travis still uses rvm
<sevenseacat>
all the new bugs it introduced every time you want to upgrade it to get the latest ruby
<sevenseacat>
i made that mistake once too often and it completely fucked up my shell
<jrobeson>
rmv implode and gtfo
<sevenseacat>
thats exactly what i did, minus the typo
danshult_ has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby
zerign has joined #ruby
<shevy>
lol
<jrobeson>
i should have used &&
jacobsmith has quit [Ping timeout: 264 seconds]
atno has joined #ruby
xcess_denied has joined #ruby
Spami has joined #ruby
vlad_starkov has joined #ruby
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
bean has joined #ruby
bradhe has quit [Remote host closed the connection]
noop has quit [Read error: Operation timed out]
tholapz has quit [Quit: Page closed]
noop has joined #ruby
platzhirsch has quit [Quit: Leaving.]
mrj has quit [Read error: Connection reset by peer]
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
<UncleTom>
[22:42] <s3itz> UncleTom is an uncle fucker <---- WHAT OF IT FGT??????
<s3itz>
lol
Alina-malina has joined #ruby
skiddex has quit [Client Quit]
nouitfvf has quit [Read error: Connection reset by peer]
closures999 has joined #ruby
fgo has quit [Remote host closed the connection]
Alina-malina has quit [Read error: Connection reset by peer]
ananthakumaran has joined #ruby
<UncleTom>
Hey, faggot! Those assless leather chaps are pissing me off. How can you possibly walk around in public without anything covering your erect cock, and clean shaven balls. I cant believe anyone does this for real!
Alina-malina has joined #ruby
nisstyre has quit [Ping timeout: 252 seconds]
<sevenseacat>
uh
capicue has quit [Quit: Leaving...]
macmartine has quit [Remote host closed the connection]
bricker`LA has joined #ruby
amoli has joined #ruby
tobago has joined #ruby
tobago has quit [Changing host]
tobago has joined #ruby
<UncleTom>
You should find some sort of underwear before I come over and put my hands on your genitalia, to provide some modesty! I will happily stroke your penis so it can be tucked away inside the chaps if you insist, but I'd rather you just put on some boxers.
<shevy>
UncleTom go learn ruby
<UncleTom>
Yes, I know I have pink pants on, and a rainbow shirt. Im still waiting. Get those chaps covered up, and get your hot, tight buns out of my face before I go crazy.
<UncleTom>
shevy: SHUT IT!
<shevy>
UncleTom what are you doing here
tobago has quit [Client Quit]
<nobitanobi>
@_@ what's going on?
tobago has joined #ruby
<sevenseacat>
i dont know, but its pretty disgusting.
<shevy>
hey nobitanobi
<nobitanobi>
shevy, how are you?
<shevy>
nobitanobi trying to get better at R
<shevy>
the <- operator still cracks me up
<nobitanobi>
statistics?
<shevy>
array <- c(3,5,7,9)
tobago-work has joined #ruby
<shevy>
array = [3,5,7,9] # ruby
<shevy>
yeah
<UncleTom>
I'm talking to s3itz if you must know!
tobago-work has quit [Client Quit]
tobago has quit [Client Quit]
<UncleTom>
Fuck all of you.
<nobitanobi>
haha
tobago has joined #ruby
<nobitanobi>
UncleTom, what's going on?
<nobitanobi>
why so much rage?
<UncleTom>
Don't worry bout it.
tobago has quit [Client Quit]
<shevy>
UncleTom go learn ruby and be useful to society
tobago has joined #ruby
tobago has joined #ruby
tobago has quit [Changing host]
<UncleTom>
s3itz: FUCK YOU FATSO YEAH YOU CAN TALK SHIT BEHIND YOU COMPUTER YOU FAT NERD. IF I EVER SEE YOU IN THE STREET I'M GONNA STAB YOU IN THE FACE WITH MY HITLER YOUTH KNIFE YOU STUPID CHEESEBURGER CHEEKS THEN YOU'LL FALL TO THR GROUND AND CRY LIKE A LITTLE BITCH
<UncleTom>
STUPID LITTLE RICH VAG YOU DUMBASS SKINHEADS COME FROM MANY DIFFERNT BACKGROUNDS RICH, POOR, MIDDLE CLASS ALTHO I WOULDN'T ACCEPT A PANSY ASS SKIRT LIKE YOU INTO MY GANG
<nobitanobi>
oh boy
<shevy>
can someone siteban him from freenode please?
<sevenseacat>
please.
<sam113101>
UncleTom: DON'T FUCKING CALL ME A FAT NERD
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<UncleTom>
U R A FAT NERD FUCK YOU PIECE OF NIGGER!!!!!!
smathieu has joined #ruby
<nobitanobi>
oh boy
kiri has joined #ruby
wallerdev has quit [Quit: wallerdev]
tobago has quit [Client Quit]
<nobitanobi>
UncleTom, calm down. What is your problem?
tobago has joined #ruby
<UncleTom>
nobitanobi: s3itz.
<nobitanobi>
UncleTom, do you think s3itz deserves any of your time? Why don't you go watch a movie instead?
vlad_starkov has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 245 seconds]
capicue has joined #ruby
<UncleTom>
s3itz you must be herpes because every time I think i'm rid of you, there you are on my dick
newUser1234 has joined #ruby
bradhe has joined #ruby
<UncleTom>
nobitanobi: Congratulations, prick, you've just made my ignore list. Was it worth it to you to make your "witty" comments and snide in-jokes to your irc pals about me if it meant you are now disappeared from my online experience? Have a nice life.
nari_ has joined #ruby
<nobitanobi>
lol...
<s3itz>
I guess someone has never seen south park
<s3itz>
I feel old someitmes
<nobitanobi>
witty comments, that's a good one
<UncleTom>
My favorite episode of Family Matters was when Steve locked Laura up as a joke. He stood near the vault excited at what he had done. He pressed his cheek against the metal, feeling the coolness and the tiny thumps on the door as Laura pounded for her life.
<UncleTom>
Laura's screams were deep and guttural. Steve felt their vibration against his groin as he pressed against the door. Aroused by the power of life and death, he exposed himself and masturbated as he listened to Laura's screams.
<UncleTom>
His eyes glazed in ecstasy as he chewed on his lower lip and jerked vigorously to his ultimate climax.
smathieu has quit [Ping timeout: 245 seconds]
<shevy>
UncleTom you are so boring
b00stfr3ak has quit [Ping timeout: 245 seconds]
<nobitanobi>
any @ here?
<nobitanobi>
is just apeiros who has op mode?
<shevy>
and the original channel owner
<sevenseacat>
:(
newUser1234 has quit [Ping timeout: 248 seconds]
<nobitanobi>
oh I see
Alina-malina has joined #ruby
Caius has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
macmartine has joined #ruby
nari_ has quit [Ping timeout: 264 seconds]
Caius has joined #ruby
apeiros has quit [Remote host closed the connection]
fridim_ has quit [Ping timeout: 264 seconds]
<nobitanobi>
night guys
apeiros has joined #ruby
Alina-malina has quit [Ping timeout: 252 seconds]
UncleTom was kicked from #ruby by apeiros [good bye]
UncleTom has joined #ruby
UncleTom was kicked from #ruby by apeiros [good bye]
<sevenseacat>
thanks apeiros
UncleJon has joined #ruby
<UncleJon>
wtf
<UncleJon>
was that
<UncleJon>
for
<UncleJon>
;/
UncleJon is now known as UncleTom
<sevenseacat>
sigh
UncleTom was kicked from #ruby by apeiros [good bye]
macmartine has quit [Remote host closed the connection]
<shevy>
\o/
b00stfr3ak has joined #ruby
mfmfmfmfmfmf has joined #ruby
rjhunter has joined #ruby
iMe has quit [Quit: Bye Bye]
jkhwan has quit [Remote host closed the connection]
jkhwan has joined #ruby
bluebie has joined #ruby
fgo has joined #ruby
Alina-malina has joined #ruby
<bluebie>
I HAVE A QUESTION :O
iliketurtles has quit [Ping timeout: 272 seconds]
<bluebie>
what is the best little ruby web framework today? I want to make a little music player so I can play the mp3's on my computer from my smartphone in a web browser
<shevy>
bluebie didn't you have this question like weeks ago already?
<bluebie>
no?
zipper has joined #ruby
<bluebie>
I might have asked it about 6 years ago?
<shevy>
hmm
<bluebie>
but I figure times may have changed
<shevy>
then there was someone else who had about 99,9% the same question not that long ago
<shevy>
there are not that many ruby frameworks. there is rails... sinatra... ramaze. sinatra is quite smallish. I might have missed a few
mrsolo has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
Solnse has quit [Ping timeout: 252 seconds]
<bluebie>
google seems to think pretty highly about "padrino".. is that a thing? google also thinks highly of rails and I don't think rails is such a good thing (at least not for making little things)
nari_ has joined #ruby
amritanshu_RnD has joined #ruby
hiyosi has joined #ruby
tagrudev has joined #ruby
<jrobeson>
bluebie, why build it.. some things already exist?
<jrobeson>
aren't there mpd clients for smart phones already?
<jrobeson>
just install mpd on your computer and get one of those clients
<bluebie>
pretty sure mpd is for controlling playback on a 'server', not for streaming to the phone?
<jrobeson>
i am suprised
simoz has quit [Read error: Connection reset by peer]
<shevy>
hmm can't recall it, no
mfmfmfmfmfmf has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 246 seconds]
<jrobeson>
it's basically a full framework on top of sinatra
<shevy>
aaah
<shevy>
now I remember
<jrobeson>
bluebie, if you just wanna stream, use vlc
pranny has joined #ruby
zipper has joined #ruby
<jrobeson>
but mpd will let you listen to the music from any connected client.. so streaming will be involved
hiyosi has quit [Read error: Operation timed out]
<jrobeson>
oh i'm thinking something different than mpd :(
<shevy>
seems like a non-trivial thing
<jrobeson>
but yeah.. just use vlc or uhmm.. what's that one my friend used
<jrobeson>
sonar.. sonic stream .. hmm
<jrobeson>
you could even stream video from it
noyb has quit [Ping timeout: 264 seconds]
<jrobeson>
yeah mpd has streaming
<jrobeson>
Built-in HTTP streaming server, capable of producing Ogg Vorbis and MP3 streams of a chosen quality on-the-fly.
<bluebie>
you know when you ask something on stack overflow and people reply with "why would you even want to do that?!" and then you feel frustrated that you have to justify your entire project to a bunch of strangers before they'll be helpful? feeling a bit like that at the moment :/
iliketurtles has joined #ruby
<bluebie>
maybe i'm wrong and an idiot. it'll be a great learning experience if that's the case. Or maybe i'll make something really rad
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
<shevy>
bluebie, I am sure it can be done, the part about audio playback seems non-trivial though. I wouldn't quite know how to start with that if I were to start from scratch
<shevy>
bluebie, yeah, those are just leeching zombies who distract from the issue at hand
nobitanobi has quit [Remote host closed the connection]
<bluebie>
I've already built a script which concats mp3's together while rewriting their ID3 tag frames on the fly with new tracklength metadata
<bluebie>
I've pretty much got streaming to iOS figured out on the server end
<shevy>
hmmm
<bluebie>
everything from here on out seems fairly straight forward, I just need to build some UI stuff and hook the bits up to rack
danshultz has joined #ruby
<bluebie>
I guess sinatra's the good one still
<bluebie>
okay then
<jrobeson>
Blue_Ice, i just gave you soemthing that already did it is all
<jrobeson>
personally i never wanna write code i don't have to
<jrobeson>
i'm lazy
<jrobeson>
tab complete fail.. bluebie ^^
<bluebie>
mpd makes a nice music management webui which can stream to iOS devices even when those devices are asleep and not running the javascript eventloop?
osvico has quit [Ping timeout: 252 seconds]
<bluebie>
or does it just make basically a shoutcast stream?
<jrobeson>
mpd doesnt' make anything
<jrobeson>
i was suggesting looking for an existing client
skaflem has joined #ruby
<jrobeson>
i don't know anything abot the iphone.. but i assume such apps do exist
danshultz has quit [Ping timeout: 272 seconds]
<jrobeson>
native apps
<jrobeson>
mpd is just a server.. other people write clients
znode has joined #ruby
s3itz was kicked from #ruby by apeiros [calling others uncle fucker is unacceptable too]
amoli has quit [Ping timeout: 248 seconds]
bricker`LA has quit [Quit: leaving]
dzhulk has joined #ruby
<bluebie>
so nobody should ever try and make a better Blah? just use/suffer what already exists?
<apeiros>
early morning and I have to deal with such a kindergarten… seriously? :(
<apeiros>
laters
<bluebie>
yeah >_<
Tearan has joined #ruby
apeiros has joined #ruby
<shevy>
bluebie hmm it's a lot of work to make it useful not only to you, but also to others
<bluebie>
not really
bricker`LA has joined #ruby
<bluebie>
it's a pretty simple idea
<jrobeson>
bluebie, i never said not to write whatever it is you want..
<shevy>
are you on rubygems.org bluebie
<jrobeson>
simple idea.. not simple execution
<bluebie>
I sure am!
<shevy>
ok that is the first step
kseifried has joined #ruby
<shevy>
I have to leave here for a meeting in half an hour though, laters
<jrobeson>
the person wanted to read line by line. not all
<apeiros>
what would you suggest instead?
<apeiros>
yes. above will do that.
<workmad3>
jrobeson: a readlines enumerator does that
<jrobeson>
hmm.. then why not just use each in the first place?
nari_ has quit [Ping timeout: 248 seconds]
<apeiros>
because there's no File::each
bradhe_ has joined #ruby
<jrobeson>
IO has it
<apeiros>
again, what would you suggest instead?
<apeiros>
IO has it on *instance*
smathieu has quit [Ping timeout: 272 seconds]
<apeiros>
so, *again*, what would you suggest instead?
<jrobeson>
i think there was no proble mto use an instance
<apeiros>
full code please.
aob has quit [Ping timeout: 246 seconds]
<jrobeson>
there was no probelm using an instance
sayan has quit [Ping timeout: 252 seconds]
bradhe has quit [Read error: Connection reset by peer]
bradhe_ has quit [Remote host closed the connection]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ewnd9 has joined #ruby
mrsolo has joined #ruby
xcess_denied has joined #ruby
<apeiros>
jrobeson: are you going to show your alternative now or not?
<jrobeson>
it wasn't in the criteria in which to solve the problem to avoid instances
d45h has joined #ruby
<jrobeson>
so why would i bother
<jrobeson>
i don't care if instancdes are used or not
<apeiros>
oh may
<jrobeson>
neither did the person
<icy`>
lol
<apeiros>
blablabla
* apeiros
pays no longer attention to jrobeson
<icy`>
what was initial q? =P
* jrobeson
doesn't understand why anybody cares why not to use instance methods
joumunji has quit [Remote host closed the connection]
<jrobeson>
the person was using them in the first place
<jrobeson>
or wouldn't have minded
<apeiros>
I don't understand how you can write like 20 lines of messages and fail to provide *one* example of what you'd do
<tobiasvl>
"i don't care if instancdes are used or not" <- what does that mean
<jrobeson>
the problem is alredy solved
timonv has quit [Read error: No route to host]
dhruvasagar has quit [Read error: Connection reset by peer]
<popl>
The problem here is communication, not the problem that you think it is. :)
akonny has joined #ruby
<jrobeson>
popl, who?
<jrobeson>
apeiros doesn't understand that the problem was already solved
dhruvasagar has joined #ruby
<jrobeson>
except that grep would have been better than select
<apeiros>
and jrobeson doesn't have a clue
<popl>
jrobeson: I think apeiros would like to see your alternate solution to the problem.
<apeiros>
are we done now?
<jrobeson>
popl, there is no altenrative
<jrobeson>
the alternative is what the guy used
Davey has quit [Read error: Operation timed out]
b00stfr3ak has quit [Ping timeout: 272 seconds]
<tobiasvl>
who is the guy, what did he use, and what was the problem in the first place??
<tobiasvl>
jeeze
<tobiasvl>
what a waste of everybody's time
<tobiasvl>
let's let sleeping dogs lie now
<jrobeson>
he wanted to read a file line by line.. so he used select {} .. and it got fixed
<jrobeson>
problem solved
<gr33n7007h>
Wow, that escalated quickly
mrsolo has quit [Client Quit]
<jrobeson>
he could have used grep instead.. so what
<jrobeson>
it would have looked better.. and that's it
<apeiros>
jrobeson went from "why do you use readlines" to "I don't understand it so I tell you that the problem is done" to letstalkalotaboutnothing
<jrobeson>
you're being ridiculous.
<apeiros>
jrobeson: I use readlines because it's *short*
<gr33n7007h>
Whooosaaaaa!
<jrobeson>
nobody was stopping you from doing what you wanted
<apeiros>
and it does the job.
<jrobeson>
i was thinking instance methods.. you weren't.. that was the difference
Xeago has joined #ruby
<apeiros>
jrobeson: no, you were thinking that you are authoritative whether somebody should still say something or not.
<jrobeson>
huh?
<apeiros>
"blablabla the problem is done, why are you still writing? blablabla"
<jrobeson>
nobody is stopping anybody from talking about anything
<jrobeson>
because i wasn't trying to start a conversation.. i was telling you that the guy already solved it
<icy`>
i think they were doing something like this File.open('file.txt') {|f| f.each {|line| p line if line =~ /pattern/ } } to only go line by line instead of a full readlines?
<apeiros>
start? I think you were trying to end it.
* icy`
shrugs
<jrobeson>
icy`, correct
<jrobeson>
except greep would have been better
<jrobeson>
grep*
phansch has quit [Ping timeout: 252 seconds]
<jrobeson>
icy`, except without the first block probably
<Hanmac>
icy`: File.foreach('file.txt').with_index.select {|l,i| /pattern/ =~ l }
jhaals has joined #ruby
eka has quit [Client Quit]
* icy`
nods
dukz has quit [Ping timeout: 245 seconds]
Alina-malina has quit [Ping timeout: 252 seconds]
<tmolnar>
I am just trying to rewrite some old bash scripts to ruby, but I cannot find solution for the "rm -f .mylock-*"
<tmolnar>
how can I use regex in File.delete?
<apeiros>
you can't
<apeiros>
you can glob the directory
<apeiros>
or you can list the directory and use a regex on that list
<tmolnar>
Dir.glob?
<Hanmac>
FileUtils.rm_f(Dir['.mylock-*'])
chihhsin has joined #ruby
<tmolnar>
thanks, I look at it
<apeiros>
tmolnar: yes, Dir.glob
<apeiros>
it's a pattern too, but not regex
TigerWolf has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ephemerian has joined #ruby
paolooo has joined #ruby
* Hanmac
thinks his line would fit what the bash file does
bradhe has joined #ruby
paolooo_ has joined #ruby
ninegrid has quit [Ping timeout: 248 seconds]
relix has joined #ruby
Mohan has quit [Ping timeout: 245 seconds]
ninegrid has joined #ruby
smathieu has joined #ruby
Mohan has joined #ruby
paolooo has quit [Ping timeout: 250 seconds]
rzsd has joined #ruby
tvw has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
Xeago has quit [Remote host closed the connection]
shredding has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
zerign has quit [Read error: Connection reset by peer]
tedstriker has joined #ruby
zerign has joined #ruby
Mohan has quit [Ping timeout: 264 seconds]
tmolnar has quit [Quit: Page closed]
Mohan has joined #ruby
liamkeily has joined #ruby
zoee has quit [Quit: This computer has gone to sleep]
hersha has quit [Quit: hersha]
vlad_starkov has joined #ruby
timonv has quit [Remote host closed the connection]
ItSANgo has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
liamkeily has quit [Ping timeout: 248 seconds]
liamkeily has joined #ruby
dhruvasagar has joined #ruby
camilasan has joined #ruby
adambeynon has joined #ruby
mklappstuhl has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
rjhunter has quit [Remote host closed the connection]
rdark has joined #ruby
paolooo_ has quit [Quit: Page closed]
hiyosi has joined #ruby
hamakn has quit [Remote host closed the connection]
blueOxigen has joined #ruby
zoee has joined #ruby
hamakn has joined #ruby
gyre007 has joined #ruby
_5kg has quit [Ping timeout: 252 seconds]
_5kg has joined #ruby
rh1n0 has joined #ruby
mfmfmfmfmfmf has quit [Ping timeout: 245 seconds]
bluOxigen has quit [Ping timeout: 272 seconds]
hiyosi has quit [Ping timeout: 245 seconds]
marr has joined #ruby
hamakn has quit [Ping timeout: 248 seconds]
bgy has joined #ruby
<bgy>
Hi
<bgy>
I'm playing with a vagrant file which uses ruby, and I'm trying to do this : config.vm.network :private_network, ip: local_config[:network][:ip] but it fails, I guess my syntax is wrong, any ideas?
danshultz has joined #ruby
gyre007 has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 272 seconds]
eeriegeek has quit [Quit: Leaving.]
N00D is now known as zz_N00D
Guest25987 has joined #ruby
khushildep has joined #ruby
newUser1234 has joined #ruby
liamkeily has quit [Ping timeout: 272 seconds]
matematikaadit has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
mercwithamouth has joined #ruby
timonv has joined #ruby
ghr has joined #ruby
TMM has joined #ruby
zeeraw has joined #ruby
stevenha_ has joined #ruby
newUser1234 has quit [Ping timeout: 264 seconds]
mojjojo has joined #ruby
mikepack has quit [Ping timeout: 264 seconds]
mfmfmfmfmfmf has joined #ruby
fgo has quit [Remote host closed the connection]
dukz has joined #ruby
<shevy>
bgy you should always try to understand how the ruby parser sees it
<shevy>
first off, when you write it fails, what is the specific message
<bgy>
shevy, well it was some obscure (for me) stack trace like "top required" blablabla
<bgy>
But I got it I had to quote the hash key instead of :network
dukz_ has quit [Ping timeout: 246 seconds]
icy has joined #ruby
icy` has quit [Read error: Connection reset by peer]
aishwarya has joined #ruby
bradhe has joined #ruby
<aishwarya>
hey, i am using ruby csv parser. I have the header set to true. It returns the headers fine, except when my file has only headers, it fails to consider the first row as a header.
sayan has joined #ruby
ewnd9 has quit [Ping timeout: 264 seconds]
rjhunter has joined #ruby
Jetchisel has joined #ruby
Speed has joined #ruby
F1skr has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
lkba has quit [Ping timeout: 272 seconds]
gr33n7007h has quit [Quit: Leaving]
rjhunter has quit [Read error: Connection reset by peer]
rjhunter has joined #ruby
mfmfmfmfmfmf has quit [Remote host closed the connection]
smathieu has joined #ruby
shredding has quit [Ping timeout: 245 seconds]
zz_jrhorn424 is now known as jrhorn424
TMM has quit [Ping timeout: 272 seconds]
<sandeepk>
@all : what is the difference between these,
<sandeepk>
module M; def M.m; puts "sandeep"; end; end
<sandeepk>
module M; def m; puts "sandeep"; end; end;
<sandeepk>
and
heftig has quit [Quit: Quitting]
SteveBenner9 has quit [Ping timeout: 248 seconds]
<Hanmac>
sandeepk: class method VS instance method
arefaslani has joined #ruby
khushildep has quit [Remote host closed the connection]
<sandeepk>
Hanmac: its Module.method definition
smathieu has quit [Ping timeout: 246 seconds]
phansch has joined #ruby
<sandeepk>
HanMac: its not related to class v/s instance
psyl0n has quit [Remote host closed the connection]
Astralum has quit [Ping timeout: 272 seconds]
<jalcine>
yay! new ruby!
workmad3 has joined #ruby
falood has quit [Ping timeout: 246 seconds]
Astralum has joined #ruby
psyl0n has joined #ruby
psyl0n has quit [Changing host]
psyl0n has joined #ruby
orionstein is now known as orionstein_away
Astral_ has quit [Ping timeout: 246 seconds]
Astral_ has joined #ruby
robmozart has joined #ruby
m8 has joined #ruby
Astralum has quit [Ping timeout: 260 seconds]
funburn has joined #ruby
smathieu has joined #ruby
jbpros has quit [Quit: jbpros]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
prahal has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
<shevy>
let's dance!
<shevy>
shake your booties!
zz_N00D is now known as CripperZ
<shevy>
\o/
<shevy>
\o~
<shevy>
wave your arms like you just don't care!
<shevy>
Hanmac: "This release includes a security fix about floating point parsing."
<shevy>
not very exciting :(
ewnd9 has joined #ruby
ahawkins has quit [Quit: leaving]
ahawkins has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
ahawkins has left #ruby [#ruby]
ahawkins has joined #ruby
ahawkins has left #ruby [#ruby]
axilla has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
obs has quit [Remote host closed the connection]
liamkeil1 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
zeeraw has joined #ruby
xk_id has quit [Quit:
obs has joined #ruby
dzhulk has quit [Quit: Leaving.]
dzhulk has joined #ruby
irocksu has joined #ruby
psyl0n has quit [Remote host closed the connection]
drumusician has quit [Ping timeout: 246 seconds]
<irocksu>
hi
<irocksu>
recently i get a strange error from brew doctor something with /User/username/.rbenv/shims/passenger-config and scripts outside system or Homebrew
<apeiros>
irocksu: this is #ruby, not #homebrew
<irocksu>
i know :)
<irocksu>
but many ruby users use macs and install passenger
gr33n7007h has quit [Ping timeout: 252 seconds]
<apeiros>
that does not make this the right channel.
danshultz has joined #ruby
<irocksu>
maybe
funburn has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
<apeiros>
by that logic you should go to #computers because some people who use computers also do X…
<olivier_bK>
i have the good user on the directory
madb055 has quit [Read error: Connection reset by peer]
paolooo_ has joined #ruby
<tobiasvl>
olivier_bK: can you explain better what happens?
sayan has joined #ruby
paolooo has quit [Ping timeout: 250 seconds]
F1skr has joined #ruby
<olivier_bK>
tobiasvl, when i execute the script he do everything , i dont get any error
xcess_denied has joined #ruby
<olivier_bK>
but the directoy are always her
Drakevr has quit [Ping timeout: 260 seconds]
Drakevr has joined #ruby
vpretzel has joined #ruby
<tobiasvl>
you still don't have :force => true though
zipper has quit [Quit: Lost terminal]
<tobiasvl>
but try with :secure => true too
<tobiasvl>
To avoid this security hole, this method applies special preprocess. If path is a directory, this method chown(2) and chmod(2) all removing directories. This requires the current process is the owner of the removing whole directory tree, or is the super user (root).
timonv has quit [Remote host closed the connection]
Al__ has joined #ruby
iamjarvo has joined #ruby
timonv has joined #ruby
aryaching has quit []
aryaching has joined #ruby
chuk has quit [Quit: Leaving]
falood has quit [Remote host closed the connection]
nucatus has quit [Ping timeout: 272 seconds]
orionstein_away is now known as orionstein
Bofu2U has quit [Quit: I outta here.]
thelorax123 has quit [Remote host closed the connection]
axl_ has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
saltnvinegar has joined #ruby
liamkeily has quit [Quit: WeeChat 0.4.1]
liamkeily has joined #ruby
thelorax123 has joined #ruby
timonv has joined #ruby
jrhe has quit [Ping timeout: 246 seconds]
nwertman has quit [Ping timeout: 246 seconds]
jacobsmith has joined #ruby
Macaveli has quit [Quit: Computer has gone to sleep.]
tedstriker has joined #ruby
xcess_denied has quit [Quit: Leaving...]
arquebus has joined #ruby
enebo has joined #ruby
tkuchiki has joined #ruby
xk_id has quit [Quit:
blandflakes has joined #ruby
jrhe has joined #ruby
TaxmanBD has joined #ruby
Alina-malina has joined #ruby
bradhe has joined #ruby
kaspergrubbe has quit []
xk_id has joined #ruby
alup has quit [Quit: Leaving]
weezle_ has joined #ruby
nvrch has quit [Ping timeout: 272 seconds]
_solomon has joined #ruby
chihhsin has quit [Quit: leaving]
Zai00 has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yekta has quit [Quit: yekta]
tylersmith has joined #ruby
arquebus has left #ruby [#ruby]
xk_id has quit [Client Quit]
bradhe has quit [Ping timeout: 272 seconds]
nvrch has joined #ruby
lfox has quit [Quit: ZZZzzz…]
fgo has joined #ruby
proxie has joined #ruby
Virtualize|work has quit [Read error: Connection reset by peer]
EugenA has joined #ruby
aryaching has quit []
EugenA has left #ruby ["Konversation terminated!"]
chihhsin has joined #ruby
RaCx has joined #ruby
Hanmac1 is now known as Hanmac
sayan has quit [Ping timeout: 248 seconds]
smathieu has joined #ruby
apeiros has quit [Remote host closed the connection]
liamkeily has quit [Ping timeout: 272 seconds]
aryaching has joined #ruby
rh1n0 has joined #ruby
polaco_zZz is now known as polaco
zeade has quit [Quit: Leaving.]
_solomon has quit [Remote host closed the connection]
_solomon has joined #ruby
divi has joined #ruby
cody-- has joined #ruby
kevind_ has joined #ruby
lukec has joined #ruby
priyam_ has quit [Read error: Connection reset by peer]
havenwood has quit []
priyam_ has joined #ruby
yfeldblum has joined #ruby
Xeago has quit [Remote host closed the connection]
amoli has quit [Ping timeout: 246 seconds]
smathieu has quit [Ping timeout: 246 seconds]
sevenseacat has left #ruby [#ruby]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
camilasan has quit []
krawchyk has joined #ruby
Xiti has joined #ruby
einarj has quit [Remote host closed the connection]
jalcine has quit [Excess Flood]
yfeldblu_ has joined #ruby
einarj has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
evenix has quit [Remote host closed the connection]
arefaslani has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
tagrudev has quit [Remote host closed the connection]
tharindu has joined #ruby
ambushsabre has joined #ruby
dhruvasagar has quit [Ping timeout: 272 seconds]
jalcine has joined #ruby
sergicles has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
einarj has quit [Ping timeout: 272 seconds]
arefaslani has quit [Remote host closed the connection]
kthl```` has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
newUser1234 has joined #ruby
petey has joined #ruby
mark06 has left #ruby [#ruby]
pixelgremlins has joined #ruby
Virtualize|work has joined #ruby
proxie has quit [Read error: Connection reset by peer]
fgo has quit [Remote host closed the connection]
newUser1234 has quit [Ping timeout: 265 seconds]
_HolyCow1 is now known as _HolyCow
dhruvasagar has joined #ruby
jkbbwr has joined #ruby
<jkbbwr>
nhmood: Dude you here?
BlakeRG has joined #ruby
peterhellberg_ has quit []
jlast has joined #ruby
iamjarvo has quit [Remote host closed the connection]
havenwood has joined #ruby
iamjarvo has joined #ruby
zipper has joined #ruby
ExCa|iBuR has joined #ruby
workmad3 has joined #ruby
<BlakeRG>
hey everyone, i keep seeing these articles all over the 'net that go like
<BlakeRG>
"we migrated from rails to node.js/php/golang and saw 80% reduction in load"
<BlakeRG>
are there any good cause studies out there about people who re-wrote in ruby and saw the same type of gains?
Tuxist has joined #ruby
<Hanmac>
BlakeRG: we are puristian Rubyists ... we do not care about Rails ;P
<jkbbwr>
HA
<jkbbwr>
BlakeRG: Rails is really really bad perforamnce wise
<BlakeRG>
i suspect that most of those gains are really happening because they know their application really well and can build it with best practices in mind
<jkbbwr>
BlakeRG: No its just rails sucks performance wise
<cwarner>
what would it matter anyway the case study would be specific to whatever the application is doing
<BlakeRG>
but i'd like to see some articles to that affect
<waxjar>
there is the framework shootout i think it's called
<waxjar>
it depends entirely on what the app does. the framework shootout just shows you what the "maximum performance" is (since it doesn't do anything useful most of the time). everything else you can just benchmark without involving a framework.
evenix has joined #ruby
terrellt has quit [Quit: Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day]
<theRoUS>
another HighLine question: 'question.echo = false' makes #ask ignore EOF (CTRL/D). is there any way to do echoless read but handle EOF as though it were echoed?
rippa has joined #ruby
noname001__ has quit [Read error: Operation timed out]
zz_jrhorn424 is now known as jrhorn424
carraroj has joined #ruby
<GreatSUN>
havenwood: thanks for the idea
<GreatSUN>
I already saw it myself
einarj has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
<GreatSUN>
havenwood: the problem was... include instead of extend
<GreatSUN>
:-(
newUser1234 has joined #ruby
flops has joined #ruby
<havenwood>
GreatSUN: Aha!
io_syl has joined #ruby
sandeepk has joined #ruby
lfox has joined #ruby
chuk has joined #ruby
TaxmanBD has quit [Ping timeout: 265 seconds]
zipper has quit [Quit: Lost terminal]
timonv has quit [Remote host closed the connection]
<GreatSUN>
havenwood: sometimes things can be so easy if you are not sitting too close to the monitor :D
<mikel_>
so Rails implicitly calls one of the Rack instances/implementations
<MrZYX>
hmm I think I'd draw it like () <-- Rack --> () :P
hiyosi has joined #ruby
mjs2600 has joined #ruby
lkba has joined #ruby
<MrZYX>
mikel_: more the other way around
charliesome has joined #ruby
einarj has quit [Ping timeout: 252 seconds]
<havenwood>
mikel_: So on one side of Rack is the framework or dsl, like Sinatra. On the other side of Rack is a Ruby webserver, like Thin. Then usually folk will use Nginx or Apache as a reverse mirror proxy, pointing at Thin (or other option in its place)
vlad_starkov has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
mjs2600_ has joined #ruby
<mikel_>
aye
<mikel_>
this makes sense to me
javos has quit [Read error: Connection reset by peer]
Guest29000 has quit [Remote host closed the connection]
<mikel_>
in other words, i want a user to be able to call an .rb file from my asyncronous module loader platform
pragmatism has joined #ruby
<mikel_>
and if they want to have the rb file load ruby, that's fine
ghostawe has quit [Read error: Operation timed out]
<havenwood>
oh yeah, i forgot passenger on my list
pontiki has joined #ruby
<mikel_>
ew i don't like meteor
javos has quit [Read error: Connection reset by peer]
<Guazi>
Hi All, I'm trying to make an internal purchasing system for my company and I want to intercept third party "Add To Cart" requests, from say, Amazon or Staples, and have it added to the internal company "cart" instead...any ideas how to impletement this?
skaflem has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<mikel_>
wow and they charge
jkhwan has quit [Ping timeout: 272 seconds]
tvw has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
<existensil>
Guazi: sounds like you'd need to have requests run through some sort of proxy server you controlled that would pass through must requests but when an add-to-cart URL/request pattern is encountered it would do something different
<MrZYX>
mikel_: you don't need the enterprise features in most cases
<existensil>
s/must/most
clov3r has quit [Remote host closed the connection]
BizarreCake has quit [Quit: Leaving]
mrsolo has quit [Quit: This computer has gone to sleep]
<mikel_>
i don't think i trust people that want you to pay for infrastructure technology
jprovazn has quit [Quit: Odcházím]
clov3r has joined #ruby
<mikel_>
or people that offer it for free
sambao21 has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
<MrZYX>
?!
<Guazi>
existensil: thanks, any recommendations for a proxy solution that works well with Rails?
PragmaticCypher has quit [Quit: Leaving]
<existensil>
Guazi: no idea. never done anything like that.
<Guazi>
thanks :)
<mikel_>
ok so if i want to run a rails app
<mikel_>
in nginx i have to forward based on a directory to a proxy
<mikel_>
which is silly bc every time i want to make a new app, i have to set up a vhost or new proxy
<havenwood>
yup, to a port or socket where rails is running
<mikel_>
do i have this correct?
sambao21 has quit [Client Quit]
<mikel_>
so i have to reboot my web server basically
heidi has quit [Quit: Leaving.]
<havenwood>
huh?
<MrZYX>
nah, nginx and apache both support config reloading
mklappstuhl has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<mikel_>
nginx -s reload
<mikel_>
yea but say i wanted to have 1,000 ruby apps
<mikel_>
i now have to block out 1,000 ports?
<pontiki>
you can use sockets instead of ports
<mikel_>
oh i getcha
<mikel_>
so it determines the port at runtime
<MrZYX>
or use passenger which runs inside nginx/apache
<existensil>
mikel_: you could probably write your own custom rack middleware that would load the user's ruby and pass it the request. giving them access to "rails" though would not work that way, and not sure how a single .rb file and rails would ever work together... no models, controllers, or views, no db migrations, no nothing. its rails without anything that rails is good for.
<havenwood>
mikel_: yeah, 1000 sockets more likely, but sure you could have 1000 ports
<mikel_>
looool
<mikel_>
right
codeFiend has quit [Quit: codeFiend]
<mikel_>
ok do you guys as developers want access to something like this?
<existensil>
if you went the rack middleware route you could have a single rack "app" that would hand off each request to each user script, so you wouldn't have to restart
<MrZYX>
mikel_: don't think so
<pontiki>
so i'm just in, i don't know what "this" is
<existensil>
mikel_: no
<mikel_>
i can potentially give you the power to load in and out of your browser different ruby apps really quickly
<havenwood>
i don't know what 'this' is either
RichardBaker has joined #ruby
stevenhaddox has quit []
jdguzman has joined #ruby
sambao21 has joined #ruby
clov3r has quit [Ping timeout: 272 seconds]
Kricir has quit [Remote host closed the connection]
<existensil>
there was a web based coding solution i played with a while back that supported ruby and appeared to be doing something similar... single .rb file that was probably loaded by some custom rack piece
nanoyak has quit [Quit: Computer has gone to sleep.]
mjs2600 has joined #ruby
sambao21 has quit [Client Quit]
stevenhaddox has joined #ruby
<existensil>
was fun to play with for a few minutes, but its long term usefulness was extremely limited
tharindu has joined #ruby
<mikel_>
ok so i am hearing that ruby support in my platform is not really worth the cost
<mikel_>
basically
<mikel_>
i'd give you ruby as a language
<mikel_>
you would not be using MVC
<havenwood>
what are you talking about?
<mikel_>
in other words, do you want to use ruby because of MVC or because of the syntax
<mikel_>
and the underlying libraries to do your basic programming tasks
mklappstuhl has quit [Remote host closed the connection]
<pontiki>
what would i get out of "this"?
sambao21 has joined #ruby
<mikel_>
oh
<mikel_>
my platform, duh, that's what you meant by "this"
mjs2600__ has joined #ruby
<mikel_>
it's a beast?
<pontiki>
idk, what did *you* mean by "this"?
<mikel_>
you kinda just gotta see it and use it to know
<mikel_>
oh
<mikel_>
don't worry lol
<pontiki>
ok, nw
<mikel_>
i think you all gave me enough to answer my question
<MrZYX>
mikel_: I get the feeling that you should read up on the terms "programming" and "software engineering"
iamjarvo_ has joined #ruby
<pontiki>
or "marketing"
<existensil>
mikel_: i have no idea what your platform *does*. seems likely i wouldn't want to use it at all. though, if i did, having an option for ruby would definitely be something i would appreciate
sparrovv has joined #ruby
<mikel_>
aye
<mikel_>
yea
<existensil>
the question you have to answer, is: are ruby developers are significant portion of your target audience
<mikel_>
nono
mjs2600_ has quit [Ping timeout: 272 seconds]
<mikel_>
hm
<havenwood>
mikel_: There are many ways to do it. We have many ways to hot reload apps. I use Ruby because it is my favorite general purpose programming language.
mklappstuhl has joined #ruby
<mikel_>
ok yea that's kinda what i'm going for
<mikel_>
what might i look into for sockets in ruby
Mars` has quit [Remote host closed the connection]
qubit has joined #ruby
Mars` has joined #ruby
mjs2600 has joined #ruby
psyl0n has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rbennacer>
ooooooooo
<rbennacer>
now i get it
jrhorn424 is now known as zz_jrhorn424
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lmickh has joined #ruby
pel_daniel has left #ruby [#ruby]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mjs2600 has quit [Remote host closed the connection]
RaCx has quit [Ping timeout: 252 seconds]
phansch has quit [Quit: Leaving]
charliesome has joined #ruby
<rbennacer>
MrZYX, can you replace it by counter = Hash.new{Array.new(2,0)} ?
<MrZYX>
no
<rbennacer>
what is the difference
<MrZYX>
the return value of the block isn't of interest
<existensil>
rbennacer: the difference is changing the default like that doesn't actually store any value in the hash
<existensil>
the example you provide returns an array that is the same one assigned to the key, so if you change the array, the key value is updated as well
<agent_white>
MrZYX/rbennacer: What would be a use case for the original snippet? Error logging?
acrussell has quit [Quit: Leaving.]
<rbennacer>
yess
saltnvinegar has quit [Quit: saltnvinegar]
mjs2600 has joined #ruby
<agent_white>
Seems like a harmful snippet if it eats any key given to it.
RaCx has joined #ruby
Mars` has quit [Ping timeout: 265 seconds]
psyl0n has quit [Ping timeout: 248 seconds]
<rbennacer>
agent_white, i am using it in a ring buffer
<MrZYX>
agent_white: a common one is if you want to count an unknown number of different things and don't want to do an counters[bla] = 0 unless counters[bla] all the time
evenix has quit [Remote host closed the connection]
jkhwan has joined #ruby
<MrZYX>
another one is an endless hash: hash = Hash.new {|h,k| h[k] = Hash.new(&h.default_proc) }
saltnvinegar has joined #ruby
<rbennacer>
hehe
cody-- has quit [Quit: derp]
nanoyak has quit [Quit: Computer has gone to sleep.]
freakazoid0223 has quit [Remote host closed the connection]
<Frank81>
/usr/lib/ruby/gems/1.8/gems/ffi-1.9.3/ext/ffi_c/libffi/configure: line 550: 0: Bad file descriptor
mando has joined #ruby
jhaals has joined #ruby
<Frank81>
does that mean i have to manual compile or else this libffi stuff?
<eka>
is there any way to tell minitest to stop in the first fail/error?
<MrZYX>
Frank81: start with getting a recent ruby, 1.8 has unpatched security issues
psyl0n has joined #ruby
<havenwood>
MrZYX: :D
skaflem has quit [Quit: Leaving]
petey has quit []
<MrZYX>
havenwood: scnr :P
tjbiddle has joined #ruby
<Frank81>
MrZy X i am not familary with ruby and what it does
<Frank81>
but i did installed ruby via normal distribution packages and even 1.9 should be installed
<Frank81>
don't know why he uses 1.8
<MrZYX>
maybe you have to use gem1.9/gem19 and ruby1.9/ruby19 or something similar
petey has joined #ruby
r0bgleeson has quit [Quit: Computer has gone to sleep.]
tsykoduk is now known as zz_tsykoduk
jkline has quit [Quit: jkline]
<Frank81>
thx for the tip
<Frank81>
:D
jhaals has quit [Client Quit]
psyl0n has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
clov3r has joined #ruby
<Frank81>
args
<Frank81>
that has fails too
<Frank81>
this gem stuff is realy frustrating
<MrZYX>
put the full output into a pastebin
<Frank81>
thx anyway i skip using ruby stuff :D
aspires has joined #ruby
<agent_white>
D:
<Frank81>
no need i decided that it is shit
<Frank81>
thx anyway
Frank81 has left #ruby [#ruby]
Mars` has joined #ruby
<agent_white>
Ouch... I never stomp on something I know nothing of.
<agent_white>
To each his own ;)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[lewellyn] has quit [Remote host closed the connection]
adambeynon has joined #ruby
reset has joined #ruby
<DouweM>
lol
smathieu has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
smathieu has joined #ruby
<existensil>
eka: with something like minitest-debugger you can get right into an irb/debugger session on errors or failed assertions
<eka>
existensil: thanks that seems useful... but not what I want
heidi has joined #ruby
_reset has joined #ruby
<eka>
still minitest-reporters tell me that it's not compatible with minutest 5.0.8 :P
<existensil>
eka: yeah, more of a pause than a stop. let me know if you find the answer. wouldn't mind being able to do that myself.
ldnunes has joined #ruby
reset has quit [Read error: Connection reset by peer]
<eka>
existensil: I saw an open issue in minitest and the didn't like the idea... they suggest minitest-reporters that report early
<eka>
but can't make them work!
<existensil>
yeah. seems like there is a need for a gem :-)
zz_tsykoduk is now known as tsykoduk
kevind has quit [Quit: kevind]
<eka>
existensil: which one?
banisterfiend has joined #ruby
banisterfiend is now known as r0bgleeson
smathieu has quit [Ping timeout: 272 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kristofers has quit [Remote host closed the connection]
pragmatism has quit [Quit: Leaving...]
<havenwood>
looks like debian plans to make ruby2.0 default in jessie, at least for that. can't come soon enough...
_reset has quit [Ping timeout: 246 seconds]
emocakes has joined #ruby
benwoody has quit [Quit: benwoody]
maletor has joined #ruby
talntid has joined #ruby
elux has quit [Quit: Bye!]
<talntid>
is there a way to return what file called a function in another file?
Czupa has joined #ruby
Notte has joined #ruby
Notte has quit [Remote host closed the connection]
Notte has joined #ruby
jkhwan_ has joined #ruby
Es0teric has joined #ruby
<MrZYX>
talntid: you're probably looking for caller, care to explain a bit more what and why you need that?
<existensil>
talntid: things like `caller` are available. if that's not enough you can go much deeper hooking into debuggers or your ruby implementation's VM
<GreatSUN>
can someone tell me how I could merge serveral extisting module methods into another module and then use those methods within a class (method)?
Notte has quit []
kevind has joined #ruby
yfeldblum has joined #ruby
emocakes_ is now known as emocakes
<eka>
GreatSUN: include <some module>
jacobsmith has joined #ruby
<eka>
GreatSUN: Module::Method_name(blah)
kcombs has quit [Remote host closed the connection]
<GreatSUN>
eka: and without Module:: infront?
<eka>
GreatSUN: ?
macmarti_ has joined #ruby
charliesome has quit [Ping timeout: 272 seconds]
<GreatSUN>
is it possible with direct call to method, too?
<GreatSUN>
I mean without naming the module infront?
burlyscudd1 has joined #ruby
<eka>
GreatSUN: don't think so... unless you include all those methods in your Class ;)
<GreatSUN>
hm
<eka>
class Foo; include MyModuleWithMethods; end
<GreatSUN>
no
psyl0n has joined #ruby
<GreatSUN>
that's what I don't want to do
<eka>
no? :(
<eka>
why/
<eka>
?
<MrZYX>
you can do module Meta; include A; include B; end; class Foo; include Meta; end
<GreatSUN>
except if I can do this automated
<eka>
GreatSUN: what are you trying to achieve?
danshultz has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 272 seconds]
<GreatSUN>
I have a list of modules containing functionality
lnemo has left #ruby [#ruby]
danshultz has joined #ruby
macmartine has quit [Ping timeout: 252 seconds]
<GreatSUN>
and I want to load all of them into one class later on ( a class which I don't know before)
Solnse has quit [Quit: Leaving.]
Solnse has joined #ruby
<GreatSUN>
I have some code that extends known classes automatically with the modules in the list
<GreatSUN>
ha!
Voodoofish4301 has joined #ruby
<GreatSUN>
what if I create some class to extend existing class with the methods?
<MrZYX>
GreatSUN: I kinda have the feeling that if you have so many modules that you don't want to make a list of includes, some methods want to be classes instead
<GreatSUN>
but I don't want to include the list manually in every new class
funburn has joined #ruby
mikepack_ has joined #ruby
<GreatSUN>
ok, not every, but in a class where i need it
Czupa has quit [Ping timeout: 272 seconds]
psyl0n has quit [Read error: Operation timed out]
<MrZYX>
maybe make it more concrete
<MrZYX>
what are you implementing here
<GreatSUN>
so I want to have some single thing to include/extend the class with to be able to use the methods from the module list
charliesome has joined #ruby
pragmatism has joined #ruby
danshultz has quit [Read error: Operation timed out]
Voodoofish430 has quit [Ping timeout: 264 seconds]
<havenwood>
TorpedoSkyline: `if results[:error].nil? == true` isn't a good way to write that, change to either `if results[:error].nil?` or `unless results[:error]`
<TorpedoSkyline>
havenwood true
realDAB has joined #ruby
<TorpedoSkyline>
but what's going on with that push? It looks like it's overwriting the first index
andikr has quit [Remote host closed the connection]
<havenwood>
TorpedoSkyline: or just pushing a hash onto an array?
capicue has quit [Quit: Leaving...]
mrsolo has joined #ruby
<TorpedoSkyline>
havenwood it is pushing the hash into an array, but it's only pushing in one.
<TorpedoSkyline>
havenwood but the one with name: Scott Houghton is gone
mikepack has quit [Ping timeout: 272 seconds]
cgore has quit [Remote host closed the connection]
mikepack_ has quit [Ping timeout: 248 seconds]
ehaliewicz has joined #ruby
<MrZYX>
TorpedoSkyline: what happens if you do records.push(result.dup)?
allaire has quit []
<havenwood>
TorpedoSkyline: paste code as text, not as an image - gist.github.com is preferred
<TorpedoSkyline>
ok havenwood
<GreatSUN>
ok, it works if I include all needed modules in a class and extend the new class with this class
<GreatSUN>
:-)
<GreatSUN>
thanks for your support
Clooth has joined #ruby
<TorpedoSkyline>
MrZYX same thing
<TorpedoSkyline>
It makes absolutely no sense, this is such a simple thing.
<MrZYX>
hm, the other explanation I'd have is that .import_record keeps a reference to the String object in name and edits it rather than creating a new one
Kricir has joined #ruby
<MrZYX>
which is kinda hard to achieve but possible
<TorpedoSkyline>
hmm
<TorpedoSkyline>
MrZYX but why would that affect an element already stored in the array?
myappleguy has quit [Ping timeout: 245 seconds]
<TorpedoSkyline>
*effect
bluOxigen has quit [Ping timeout: 245 seconds]
<MrZYX>
because then it'd be the same object
momomomomo has quit [Quit: momomomomo]
capicue has joined #ruby
r0bgleeson has quit [Quit: Computer has gone to sleep.]
rjhunter has joined #ruby
rjhunter has quit [Remote host closed the connection]
<TorpedoSkyline>
weird, let me look into it. That could be it.
<MrZYX>
>> a = []; f = "a"; a.push(f); f.replace("b"); a.push(f); a
cameronbarton has quit [Remote host closed the connection]
asobrasil has left #ruby [#ruby]
Naoe-Kanno has joined #ruby
Mars` has joined #ruby
cameronbarton has joined #ruby
RaCx has quit [Ping timeout: 246 seconds]
mansi has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
ffranz has quit [Quit: Leaving]
mansi has joined #ruby
Monie has joined #ruby
atmosx has quit [Quit: Lost in trance]
Ox6abe has quit [Remote host closed the connection]
orionstein is now known as orionstein_away
SHyx0rmZ has quit [Ping timeout: 272 seconds]
bigoldrock has quit [Ping timeout: 246 seconds]
Kricir has quit [Ping timeout: 272 seconds]
<TorpedoSkyline>
what would you guys recommend reading/watching to learn how to write beautiful ruby code? I feel like I'm doing something inefficiently.
<TorpedoSkyline>
*somethings
mando has quit [Remote host closed the connection]
Ox6abe_ has joined #ruby
<MrZYX>
hmm, my standard answer is "this channel" :P
<cordoval>
can someone help me? trying to install rails
matheuscaceres has quit [Quit: matheuscaceres]
<pontiki>
i just finished design patterns in ruby by olsen, it was a rather enjoayble read
hiyosi has joined #ruby
<pontiki>
avdi's confident ruby is also quite good
Ox6abe_ has quit [Client Quit]
mansi has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
<pontiki>
also, i can't leave out "Beautiful Code" which has nothing to do with Ruby, but everything to do with craftsmanship
mansi has quit [Read error: Connection reset by peer]
<Reach>
what do you think of programming ruby
ambushsabre has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mansi has joined #ruby
<pontiki>
an essential, but not for style
<agent_white>
pontiki: Which first? For someone new to it all?
<pontiki>
eloquent ruby
<agent_white>
Bueno, thank you :)
<Reach>
i want my own style
<Reach>
im not going to emulate someones from a book
<Reach>
all i need are the basics
<pontiki>
then you're set
<IceDragon>
cordoval: just try again, my gem install fails from time to time like that
<pontiki>
go forth, be frutiful
mando has quit [Ping timeout: 246 seconds]
<Reach>
i shall
<agent_white>
I like to pick each dev's brain to get a nice monster-mash of it all.
<pontiki>
hehe
ringaroses has quit [Quit: Leaving]
mjs2600 has joined #ruby
jacobsmith has quit [Ping timeout: 265 seconds]
shinobi_one has joined #ruby
<shinobi_one>
anyone here using feedzirra gem by any chance?
xk_id has quit [Quit:
flops has quit [Quit: leaving]
adkron has quit [Ping timeout: 248 seconds]
shadoi1 has quit [Quit: Leaving.]
Monie has quit [Ping timeout: 246 seconds]
zerign has joined #ruby
zigomir has quit [Ping timeout: 245 seconds]
Solnse has quit [Ping timeout: 252 seconds]
xk_id has joined #ruby
Xeago has quit [Remote host closed the connection]
cameronbarton has quit [Quit: cameronbarton]
Monie has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
freerobby has quit [Quit: Leaving.]
bigoldrock has joined #ruby
smathieu has joined #ruby
<pontiki>
i looked at it, and decided to use planet.rb instead
cordoval has quit [Remote host closed the connection]
zerign has quit [Ping timeout: 272 seconds]
Clooth has quit [Quit: Leaving...]
jkline has joined #ruby
Monie has quit [Ping timeout: 246 seconds]
f0ster has joined #ruby
<f0ster>
Hello,
iliketur_ has quit [Quit: zzzzz…..]
Clooth has joined #ruby
kcombs has joined #ruby
bigoldrock has quit [Ping timeout: 246 seconds]
benwoody has joined #ruby
<f0ster>
I have some code i.e, while(...) Thread.new{} , it appears that Thread.new is blocking?? at least watching in the debugger and based on the output I see..
funburn has quit [Quit: funburn]
kristofers has joined #ruby
Monie has joined #ruby
<f0ster>
I assumed Thread would be non blocking..but fork did what I expected
shadoi1 has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hersha has quit [Quit: hersha]
sambao21 has joined #ruby
dangerousdave has quit []
saltnvinegar has joined #ruby
realDAB has quit [Quit: realDAB]
shinobi_one has joined #ruby
Kricir has joined #ruby
MrZYX has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
divi has joined #ruby
MrZYX|off has joined #ruby
danshultz has joined #ruby
benlieb has quit [Quit: benlieb]
MrZYX|off is now known as MrZYX
zarubin has quit [Remote host closed the connection]
apeiros has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
<havenwood>
f0ster: On MRI with the Thread doing a CPU-bound task?
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
dreinull has quit [Remote host closed the connection]
jkhwan_ has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 272 seconds]
funburn has joined #ruby
mansi has joined #ruby
newUser1_ has quit [Remote host closed the connection]
jkhwan has joined #ruby
<havenwood>
f0ster: i just ask because i wonder if the global vm lock (GVL or GIL) is getting in your way
bricker_ has joined #ruby
newUser1234 has joined #ruby
sriehl has quit [Quit: Leaving...]
yfeldblu_ has joined #ruby
mary5030 has quit [Ping timeout: 272 seconds]
dwgill has quit [Ping timeout: 272 seconds]
zarubin has joined #ruby
saltnvinegar has quit [Quit: saltnvinegar]
carlyle has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
bricker has quit [Ping timeout: 248 seconds]
Guazi has joined #ruby
valesk has quit [Read error: Connection reset by peer]
carlyle has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mansi has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
jkhwan has quit [Ping timeout: 272 seconds]
jle` has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
newUser1234 has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #ruby
carlyle has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
saltnvinegar has joined #ruby
shinobi_one has joined #ruby
freezey has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
mmitchel_ has joined #ruby
zarubin has quit [Remote host closed the connection]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<f0ster>
havenwood: just trying to do parallel execution, which i though thread would do, callign system with in a thread
<f0ster>
but had to do fork
s2013 has quit [Ping timeout: 246 seconds]
zarubin has joined #ruby
zarubin has quit [Remote host closed the connection]
nisstyre has joined #ruby
saltnvinegar has quit [Client Quit]
jkhwan has joined #ruby
dgfdgf has joined #ruby
zarubin has joined #ruby
bricker has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
macmarti_ has quit [Remote host closed the connection]
<pontiki>
i've not actually found an occasion to use thread except during something like Open3.popen3 to make sure they output streams don't get blocked
bricker_ has quit [Ping timeout: 264 seconds]
<matti>
f0ster: Ruby/Python for true parallelism you are better of with process pools.
`MArceLL` has quit [Ping timeout: 246 seconds]
<f0ster>
hmm okay
xk_id has quit [Quit:
shinobi_one has quit [Client Quit]
bradhe_ has joined #ruby
macmartine has joined #ruby
<matti>
f0ster: Or JRuby (but then fork is rather... no-no)
jkhwan has quit [Remote host closed the connection]
<pontiki>
matti, that's my exeperience
<matti>
pontiki: :)
<matti>
f0ster: What are you trying to achieve?
jkhwan has joined #ruby
solidoodlesuppor has quit [Remote host closed the connection]
alvaro_o has joined #ruby
sambao21 has joined #ruby
mmitchel_ has quit [Ping timeout: 248 seconds]
mmitchell has quit [Ping timeout: 272 seconds]
zarubin has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
apeiros has quit []
<jragon>
Is there a more elegant way to do this: (1..10).to_a.reverse
sambao21 has quit [Client Quit]
<matti>
jragon: 1.downto(10)
zz_jrhorn424 is now known as jrhorn424
tjaco has quit [Ping timeout: 272 seconds]
<matti>
LOL the 10 to 1
<matti>
Sorry ;p
<jragon>
Figured that out :P
<matti>
Long day ;p
<matti>
;]
<jragon>
Thanks a lot matti.
<jle`>
(10..1)?
athst has joined #ruby
gasbakid_ has joined #ruby
<jle`>
aw, doesn't work in ruby
<jragon>
Yeah, I tried that first
jkhwan has quit [Remote host closed the connection]
zarubin has joined #ruby
jkhwan has joined #ruby
gasbakid has quit [Ping timeout: 272 seconds]
mengu has quit [Remote host closed the connection]
Monie has joined #ruby
liamkeily has joined #ruby
segv has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
adambeynon has joined #ruby
bradhe_ has quit [Ping timeout: 265 seconds]
jlast has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
funburn has quit [Quit: funburn]
pragmatism has quit [Ping timeout: 272 seconds]
jacobsmith has joined #ruby
Solnse has joined #ruby
Shidash has quit [Ping timeout: 248 seconds]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
<pontiki>
it'd wrap, eventually....
mjs2600 has quit [Remote host closed the connection]
<eval-in>
havenwood => 0x00000a is not id value (RangeError) ... (https://eval.in/72620)
<havenwood>
>> ObjectSpace._id2ref 10
<eval-in>
havenwood => 0x00000a is not id value (RangeError) ... (https://eval.in/72621)
<havenwood>
Oh, eval-in
lethjakman has joined #ruby
<lethjakman>
hey, does ruby have a good way to set the return of a object to the original objects value?
shinobi_one has quit [Client Quit]
<lethjakman>
for example object = object.humanize
<Hanmac1>
havenwood: eval-in runs on 32bit
<havenwood>
Hanmac1: aha!
tsykoduk is now known as zz_tsykoduk
<Hanmac1>
what you want only works for 64 bit
<pontiki>
i don't have a strong opinion? i just am used to .to_a
petey has quit [Remote host closed the connection]
<pontiki>
no particular reason why, probably just the way learnt it
mansi has quit [Ping timeout: 252 seconds]
shinobi_one has joined #ruby
Kricir has joined #ruby
lmickh has quit [Quit: lmickh]
<blackmesa>
Hi all. I want to use active_record from a ruby script (without rails). I set ActiveRecord::Base.establish_connection(...). but how can I set up tables from the script
vlad_starkov has quit [Remote host closed the connection]
dwgill has quit [Ping timeout: 272 seconds]
<Hanmac1>
blackmesa: even if its not rails i think active-shit questions can be better answerd at #rubyonrails
nucatus has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
<Hanmac>
blackmesa: i am still angry about the HashWithIndifferentAccess shit ... i mean i have so problem with that, but they should stop to anoy other developers with that (they try to replace the main Hash class with that)
shinobi_one has quit [Client Quit]
Alasdairrr has quit [Ping timeout: 264 seconds]
zeade has quit [Quit: Leaving.]
interactionjaxsn has quit [Remote host closed the connection]