<zenspider>
load "blah.rb"; load "blah.rb" will warn about redefined methods and the like... but you can shut that up by turning off $-w and/or redirecting $stderr temporarily
<zenspider>
see Minitest::Assertions#capture_io for an example
<bootstrappm>
i've never been good w/ consistently writing tests either, usually starts happening when too many preventable bugs are popping up on my team
charliesome has joined #ruby
<Aeyrix>
zenspider: Have you read that? ^
<Aeyrix>
Also jhass
<zenspider>
bootstrappm: that's certainly a good time to start if you haven't already... add a test per regression so they can't come back
<Aeyrix>
this is an IRC channel about an open source programming language
<Aeyrix>
not about the Dow Jones
<Aeyrix>
jokes are okay.
x1337807x has quit [Ping timeout: 246 seconds]
<bootstrappm>
you speak truth zenspider
<zenspider>
bootstrappm: but I find that my designs are stronger if I start with tests and figure out from there how I want the code to work
creakybones has quit [Remote host closed the connection]
thatslifeson has joined #ruby
<Aeyrix>
zenspider: What do you use for projects not involving Rails?
ortuna has joined #ruby
<zenspider>
not just more testable, but more solid in general, because I've isolated each piece and worked on the edge cases until the thing is done.
aspiers has quit [Ping timeout: 256 seconds]
rodfersou has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
<al2o3-cr>
Aeyrix: bots ;p
<zenspider>
al2o3... thermite?
mikecmpbll has quit [Quit: i've nodded off.]
GriffinHeart has joined #ruby
<al2o3-cr>
?
oo_ has joined #ruby
<Aeyrix>
I think zs has ignored me or something for making a joke about general channel saltiness.
<Aeyrix>
#rip
wildroman2 has quit [Remote host closed the connection]
<zenspider>
ah. no. end of thermite: Fe2O3 + 2 Al → 2 Fe + Al2O3
<bootstrappm>
<3 chemistry
<zenspider>
I knew I recognized it, somewhat...
<bootstrappm>
i miss hard sciences
mikecmpbll has joined #ruby
Guest38312 has quit [Quit: Leaving]
<zenspider>
ok. study group for reasoned schemer... yay for computing backwards
shakes has joined #ruby
maletor has joined #ruby
Rollabunna has joined #ruby
<bootstrappm>
lost me on that last comment zs
turtil has quit [Ping timeout: 246 seconds]
<Aeyrix>
Yeah same.
Ropeney has quit [Max SendQ exceeded]
<zenspider>
book called "reasoned schemer"... implementing a logic programming system on top of scheme. (depending on how you code in it) it allows you to give an answer, and it'll spit out the questions
<Aeyrix>
Wait what
oo_ has quit [Ping timeout: 250 seconds]
shuber_ has joined #ruby
<Aeyrix>
So like a programming language version of Jeapordy?
bayed has quit [Quit: Connection closed for inactivity]
<sevenseacat>
i like jeopardy.
<Aeyrix>
It's pretty good sometimes.
<Aeyrix>
Can we get it on Foxtel?
<sevenseacat>
yes. on arena.
<Aeyrix>
I don't actually have a TV that I use for TV.
<shevy>
youtube!
<sevenseacat>
its on at like 7pm EST every day.
ortuna has quit [Quit: WeeChat 1.1.1]
<Aeyrix>
shevy: Can't youtube.
<Aeyrix>
I'm currently without Internet.
<Aeyrix>
(At home)
oo_ has joined #ruby
<Verelia>
How can I really understand blocks in Ruby, it seems a bit weird to me coming from another language.
jerius has quit [Quit: /quit]
Rollabunna has quit [Ping timeout: 258 seconds]
<eam>
Verelia: what other language?
mistermocha has quit [Ping timeout: 255 seconds]
<shevy>
Verelia think of them as (optional) extra arguments passed to the specific method at hand; they help run stuff automatically too, such as the block form of File.open {} <-- will close the file handle for you
<zenspider>
Verelia: any language with a lambda?
<zenspider>
(ie anonymous functions)
<Verelia>
A C guru..no lambdas :/
shuber_ has quit [Ping timeout: 265 seconds]
<zenspider>
well... you can think of it (sorta) like passing a function pointer to another function. that 2nd function can yield (dereference and call) data to the FP
<Aeyrix>
It's a nice article explaining blocks and lambdas.
malcolmva has joined #ruby
<Aeyrix>
Old, but the fundamental concepts haven't changed.
<Aeyrix>
Unless someone can chime in and tell me I'm a moron, before you waste your time.
<zenspider>
Verelia: the main difference is that an FP is _just_ an FP. a block has a closure attached to it as well. a closure is a copy of the variable scopes at the time the block was created that travels around with it.
<Verelia>
For example, array.collect! do |n| I mean where did that n come from?
veduardo has joined #ruby
<al2o3-cr>
Verelia: than n is each element in the array
<shevy>
you gave it a name there
<Aeyrix>
Verelia: for x in y
<Aeyrix>
or
robustus has joined #ruby
<eam>
Verelia: in the C world, it's just a parameter from the call stack stack
Lucky__ has joined #ruby
GaryOak_ has joined #ruby
<Aeyrix>
for n in array
<zenspider>
Verelia: that n gets yielded into the block by the calling method (collect)
laurentide has joined #ruby
<zenspider>
think of (*fp)(42)
<eam>
Verelia: you're familiar with the quicksort function from libc?
<Verelia>
eam, Yes.
<zenspider>
rough impl: module Enumerable; def collect; r = []; each do |obj| r << obj if yield obj; end; end; end
<zenspider>
that's the non-bang version
<zenspider>
oops. return r
<eam>
Verelia: well, the {} block is like passing in a *compar pointer to a function
mjuszczak has quit []
<zenspider>
module Enumerable; def collect; r = []; each do |obj| r << obj if yield obj; end; r; end; end
<eam>
and the |args| are analagous to the calling convention of that function
Jandre has joined #ruby
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Jandre is now known as Guest34607
<eam>
so with qsort(int(*compar)(const void *, const void *)) it's very much like obj.qsort { |arg1, arg2| }
rahult has joined #ruby
<Verelia>
I see, I will read more about it. Also, some say that {} should be avoided and go with do/end despite of the block size.
<Verelia>
For not confusing {} with hashes.
ortuna has joined #ruby
<zenspider>
Verelia: I like the weirich method. {} to be used for functional blocks, do/end to be used for imperative
DerisiveLogic has quit [Remote host closed the connection]
<Verelia>
Yes I know, I said some say to avoid {} even if the block is one line.
GaryOak_ has quit [Ping timeout: 256 seconds]
mikecmpbll has joined #ruby
<zenspider>
Verelia: the rationale for it is that you can look at the delimiters and know what sort of block it is... one where you're calculating a value vs running for side-effects
DerisiveLogic has joined #ruby
CloCkWeRX has joined #ruby
<zenspider>
Verelia: meh. I'd discount that opinion. If you're getting confused with hashes, you're doing it wrong.
<Verelia>
Is this similar to lambdas? Because I have an article on lambdas also.
lidenskap has quit [Remote host closed the connection]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Verelia>
zenspider, Doing it wrong? Professionals said that not me.
casadei has joined #ruby
<Verelia>
I have this Eloquent Ruby book I'm reading, I can keep going but sometimes I stop and Google for things since it's not for beginners. Should I keep going or get another book?
<jhass>
"professionals" is like "experts". You always have to ask "professional/export what for? What makes them one?"
<Aeyrix>
Verelia: Nope.
<Aeyrix>
Verelia: Oh, sorry, that was one or the other.
<Aeyrix>
If you understand after Googling, keep going.
<Verelia>
Yea I do, also asking here so I get the answers.
<Verelia>
Alright, it's a nice book.
<Aeyrix>
Yeah keep reading yo.
<Aeyrix>
If you are understanding what you're reading after looking / asking, then you're doing it right.
<jhass>
Verelia: when you say "like lambdas", talking about Ruby lambdas (the special type of proc) or anonymous functions?
tuelz has joined #ruby
<Verelia>
jhass, Anonymous functions.
<jhass>
then I'd say you can view blocks as lambdas that have access to the scope they were defined in. Often also called closures
<Aeyrix>
Closures is the "proper name".
<Verelia>
Yea, as in CS.
<Aeyrix>
Yeah.
<Verelia>
I will check it out more later.
<zenspider>
Verelia: I've heard good things about that book... but yeah, you might want something to read alongside
<Verelia>
zenspider, Yea.
<zenspider>
jhass: I'm a bit confused by your statement... blocks and procs are both closures.
casadei has quit [Ping timeout: 276 seconds]
<jhass>
zenspider: I asked whether we're talking about Ruby lambdas or the general thing (anonymous functions)
<jhass>
they said the latter, so I based my statement on that
tuelz has quit [Ping timeout: 272 seconds]
Schwarzbaer__ has joined #ruby
doodlehaus has joined #ruby
greenbagels has joined #ruby
wallerdev has joined #ruby
<zenspider>
gotcha
bruno-_ has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
Schwarzbaer_ has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
bronson has quit [Remote host closed the connection]
Sawbones has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
Lucky__ has joined #ruby
ValicekB has quit [Ping timeout: 258 seconds]
mikecmpbll has joined #ruby
airdisa has joined #ruby
MasterPiece has quit [Remote host closed the connection]
Verelia has quit [Remote host closed the connection]
jimms has quit [Read error: Connection reset by peer]
jimms has joined #ruby
doodlehaus has quit [Remote host closed the connection]
shakes has quit [Quit: Leaving]
echosystm has joined #ruby
doodlehaus has joined #ruby
<bootstrappm>
just FYI formal closures bind the variables outside them as well, not sure if procs / lambda's do that
swgillespie has quit [Read error: Connection reset by peer]
mary5030 has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
lidenskap has quit [Remote host closed the connection]
swgillespie has joined #ruby
mikecmpbll has joined #ruby
lidenskap has joined #ruby
Papierkorb_ has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
baweaver has joined #ruby
rbennacer has joined #ruby
shuber_ has joined #ruby
shuber_ has quit [Remote host closed the connection]
swgillespie has quit [Client Quit]
shuber_ has joined #ruby
nateberkopec has quit [Ping timeout: 265 seconds]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GriffinHeart has quit [Remote host closed the connection]
duderonomy has joined #ruby
RegulationD has joined #ruby
Sawbones has joined #ruby
GriffinHeart has joined #ruby
Sawbones has quit [Remote host closed the connection]
tjohnson has quit [Quit: Connection closed for inactivity]
RegulationD has quit [Ping timeout: 258 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
lidenska_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
lidenskap has quit [Ping timeout: 256 seconds]
neohunter has joined #ruby
bronson has joined #ruby
rahult is now known as rahult_
Musashi007 has joined #ruby
Rollabunna has joined #ruby
ismael has joined #ruby
ismael is now known as Guest914
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Spami has joined #ruby
dseitz has joined #ruby
gusrub has joined #ruby
ismaelga has quit [Ping timeout: 240 seconds]
keen______ has joined #ruby
baroquebobcat has joined #ruby
Rollabunna has quit [Ping timeout: 255 seconds]
keen_____ has quit [Ping timeout: 255 seconds]
iamninja_ has quit [Read error: Connection reset by peer]
bb010g has quit [Quit: Connection closed for inactivity]
Sawbones has joined #ruby
claptor has joined #ruby
macmartine has joined #ruby
wolfleemeta_ has joined #ruby
iamninja_ has joined #ruby
kappy has quit [Quit: leaving]
Hijiri has quit [Quit: WeeChat 1.0.1]
wolfleemeta has quit [Ping timeout: 255 seconds]
claptor has quit [Client Quit]
n008f4g_ has quit [Ping timeout: 255 seconds]
xaxisx has quit [Quit: xaxisx]
DerisiveLogic has quit [Remote host closed the connection]
airdisa has joined #ruby
DerisiveLogic has joined #ruby
Musashi007 has quit [Quit: Musashi007]
Guest914 has quit [Remote host closed the connection]
ciopte7 has joined #ruby
ciopte7 has quit [Client Quit]
idafyaid has joined #ruby
idafyaid has joined #ruby
idafyaid has quit [Max SendQ exceeded]
_seanc_ has joined #ruby
idafyaid has joined #ruby
idafyaid has quit [Changing host]
idafyaid has joined #ruby
airdisa has quit [Ping timeout: 256 seconds]
ciopte7 has joined #ruby
rahult_ is now known as rahult
ramfjord has quit [Ping timeout: 276 seconds]
avahey has joined #ruby
reinaldob has joined #ruby
wallerdev has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
Sawbones has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
konsolebox has joined #ruby
casadei has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
xjstin has joined #ruby
casadei has quit [Ping timeout: 245 seconds]
justinxr- has quit [Ping timeout: 252 seconds]
nabn has quit [Ping timeout: 256 seconds]
tubuliferous has quit [Ping timeout: 246 seconds]
<xxneolithicxx>
echosystm: timing like that is absolutely useless because the time it takes that to finish does not take into account context switching between threads and delays for when they were blocked from
<xxneolithicxx>
running by other processes
_seanc_ has quit [Quit: _seanc_]
braincrash has joined #ruby
taiansu has joined #ruby
yh has quit [Ping timeout: 264 seconds]
lidenska_ has quit [Remote host closed the connection]
lidenskap has joined #ruby
yh has joined #ruby
sn0wb1rd has quit [Ping timeout: 256 seconds]
sn0wb1rd has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
ebbflowgo has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
yh has quit [Ping timeout: 272 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
cyberarm has joined #ruby
rrichardsr3 has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
lidenskap has quit [Remote host closed the connection]
rotcetorptekcop has quit [Remote host closed the connection]
<echosystm>
can anyone tell me what happens if you .run a thread that is already running?
jbomo has left #ruby [#ruby]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 256 seconds]
jamesfordummies has joined #ruby
RegulationD has joined #ruby
Brozo has joined #ruby
<Brozo>
hi all
<jamesfordummies>
hi
sent1nel has quit [Remote host closed the connection]
<zotherstupidguy>
hi Brozo
aganov has joined #ruby
<Radar>
hello
<Brozo>
how do yall use rake?
juanpaucar has joined #ruby
<jamesfordummies>
can you be more specific?
RegulationD has quit [Ping timeout: 255 seconds]
<Aeyrix>
Generally from the terminal.
<Aeyrix>
`rake db:migrate`.
Musashi007 has quit [Quit: Musashi007]
xybre has quit [Quit: oh shit its the fbi]
<Brozo>
are there any good sources for learning how to use rake? I've only been able to finde very basic tutorials that either don't explain basic components or tutorials that go over my head?
juanpaucar has quit [Ping timeout: 258 seconds]
<jamesfordummies>
Brozo: what would you like to use rake for, specifically? rails? or to create your own rake tasks?
<sevenseacat>
rake field manual?
wallerdev has joined #ruby
tubuliferous_ has quit [Ping timeout: 256 seconds]
<Brozo>
I'm building a project in ruby and want to simplify running it to a single rake command
sonOfRa has quit [Quit: Bye!]
sonOfRa has joined #ruby
jamesfordummies has quit [Quit: jamesfordummies]
tagrudev has joined #ruby
sandelius has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Ping timeout: 240 seconds]
rahult is now known as rahult_
rotcetorptekcop has joined #ruby
ballpointcarrot has quit [Remote host closed the connection]
jenrzzz has joined #ruby
ebonics has quit [Ping timeout: 264 seconds]
GriffinHeart has joined #ruby
nii236 has joined #ruby
reinaldob has joined #ruby
arietis has joined #ruby
reinaldob has quit [Remote host closed the connection]
hanmac1 has joined #ruby
rahult_ is now known as rahult
funburn has quit [Quit: funburn]
nii236 has quit [Client Quit]
arietis has quit [Client Quit]
wookiehangover has quit [Ping timeout: 265 seconds]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdrew has joined #ruby
devoldmx has joined #ruby
ravenreborn has quit [Ping timeout: 256 seconds]
krz has quit [Quit: WeeChat 1.0.1]
chinmay_dd has quit [Remote host closed the connection]
reinaldob has joined #ruby
joonty has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
P1RATEZ has joined #ruby
SouL_|_ has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
A205B064 has joined #ruby
sdrew has quit [Ping timeout: 264 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
airdisa has joined #ruby
wookiehangover has joined #ruby
yaw has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
joonty has quit [Ping timeout: 246 seconds]
Musashi007 has joined #ruby
joonty has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
airdisa has quit [Ping timeout: 265 seconds]
reinaldob has quit [Remote host closed the connection]
SouL_|_ has quit [Ping timeout: 272 seconds]
<flughafen>
morning
<ScriptGeek>
hi there
neanderslob has joined #ruby
SpicyMagpie has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
Musashi007 has quit [Quit: Musashi007]
BlackGear has joined #ruby
reinaldob has quit [Remote host closed the connection]
Sirilia has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<hanmac1>
Radar: you dont need &block when you are using yield
reinaldob has quit [Remote host closed the connection]
<Radar>
hanmac1: oh nice :)
<Radar>
old habit
<SpicyMagpie>
yep, I don't get used to not use &block either.
reinaldob has joined #ruby
codecop has joined #ruby
mase-chatter has quit [Quit: Leaving]
<Sirilia>
Radar, And what about |config|, why can you do that really and what is it really in-depth? is it possible to pass more such as |config, settings| ?
<echosystm>
its the nested hash that causes problem
<Aeyrix>
That'd have been the error.
loadhigh has joined #ruby
loadhigh has quit [Client Quit]
sinkensabe has joined #ruby
<echosystm>
it should be "x a: 1, b: { c: 3 }"
<echosystm>
not "x { a: 1, b: { c: 3 }}"
<Aeyrix>
That's really unreadable.
<Aeyrix>
The former, that is.
<Sirilia>
Radar, Ok so when you do yield , you also say how many block arguments are accepted? For example, yield a,b,c then I can do ... do |foo, boo, roo| .. end ?
<Aeyrix>
The latter, with braces, is far cleaner.
<Aeyrix>
You should use parentheses imo.
<Radar>
echosystm: Ruby is interpreting you're passing a block to the method, not an argument
<echosystm>
yeah
<echosystm>
i got that
<Radar>
Sirilia: yes htat's right
<echosystm>
thanks
fabrice31 has joined #ruby
reinaldob has quit [Ping timeout: 276 seconds]
taiansu has quit [Remote host closed the connection]
unshadow has quit [Quit: leaving]
<Sirilia>
Radar, Oh I see :), so the .each method yields one argument?
<Radar>
Sirilia: one object, yes
taiansu has joined #ruby
<Sirilia>
Radar, Ahh I see thank you :D
lidenskap has quit [Ping timeout: 258 seconds]
anisha has joined #ruby
<Sirilia>
Radar, We will have a long talk when I get your book and start reading it :)
arturaz has joined #ruby
<Radar>
:)
<Sirilia>
Radar, I hope it's suited for beginners?
MatthewsFace has quit [Remote host closed the connection]
<Radar>
Rails 4 in Action? yes.
<hanmac1>
Sirilia: i dont think you can say that ... Hash#each for sample has two block arguments
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<Sirilia>
hanmac1, I guess it then yields something like *args ?
<Sirilia>
hanmac1, Or at least checks how many block arguments are passed and yields it/them?
<Sirilia>
Radar, Great!
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
taiansu has quit [Ping timeout: 256 seconds]
<Sirilia>
Radar, Is the book aimed to give the reader the fundamentals only or does it go more in-depth also?
<Radar>
Sirilia: Mainly the fundamentals with Rails, but there are some parts in the later chapters we go more in-depth.
arietis has quit [Quit: Leaving.]
taiansu has joined #ruby
<Sirilia>
Radar, Great I can't wait :D
lidenskap has joined #ruby
bronson has quit [Remote host closed the connection]
icebourg has quit []
bronson has joined #ruby
lidenskap has quit [Remote host closed the connection]
clauswitt has joined #ruby
sigurding has joined #ruby
charliesome has quit [Quit: zzz]
baroquebobcat has quit [Quit: baroquebobcat]
rrichardsr3 has quit [Quit: The road to hell is paved with good intentions...]
andikr has joined #ruby
kaspernj has joined #ruby
Rollabunna has joined #ruby
sinkensabe has quit [Remote host closed the connection]
swgillespie has joined #ruby
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
loadhigh has joined #ruby
loadhigh has quit [Client Quit]
xybre has joined #ruby
<Sirilia>
What file includes the method each?
ChampS_ has joined #ruby
Rollabunna has quit [Ping timeout: 244 seconds]
djellemah_ has quit [Ping timeout: 272 seconds]
clauswitt has quit [Ping timeout: 256 seconds]
<hanmac1>
Sirilia: depends on the class, Array and Hash have their own each methods, also checkout the Enumerable module which does depend on the each method
tubuliferous has joined #ruby
reinaldob has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
reinaldob has quit [Remote host closed the connection]
<Sirilia>
hanmac1, Alright I will thank you.
lidenskap has joined #ruby
reinaldob has joined #ruby
ta has quit [Remote host closed the connection]
zotherstupidguy has quit [Ping timeout: 272 seconds]
krz has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
reinaldob has joined #ruby
zotherstupidguy has joined #ruby
MasterPiece has quit [Quit: Leaving]
chinmay_dd has quit [Client Quit]
<Sirilia>
hanmac1, I guess those classes are built-in so we can't access them?
<Radar>
Access them how?
gagrio has joined #ruby
<Sirilia>
As I can open and read the set.rb file
charliesome has joined #ruby
<sevenseacat>
if its part of the stdlib, you can
<sevenseacat>
core is written in c, so not as nice
<Radar>
They're written in C.
rahult is now known as rahult_
reinaldob has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
thatslifeson has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
oo_ has quit [Remote host closed the connection]
<sevenseacat>
hanmac1: lol
j416 has joined #ruby
bluOxigen has quit [Ping timeout: 265 seconds]
<hanmac1>
sevenseacat: imo the most interesting part is that printer ink cost more than human blood ;P
<sevenseacat>
yeah I've heard that printer ink is the most expensive fluid on the planet
<pontiki>
Sirilia: opinions vary. i still find it useful, but not as useful as the online documentation
oo_ has joined #ruby
jottr has joined #ruby
<Radar>
Solution: print using human blood
<Radar>
Would be hard to stop it coagulating.
<Sirilia>
How come Eloquent Ruby is still relevant it's from 2011.
<mozzarella>
how print using water
<mozzarella>
or* print
<Radar>
Sirilia: because Ruby hasn't changed that much since thne.
<pontiki>
Sirilia: because eloquent ruby is not about the specifics of language syntax and much much more about the idea of proper coding
rahult_ is now known as rahult
<pontiki>
you can take the concepts presented in Eloquent Ruby and apply them to other languages as well, though not as well, and with having to dig more out of that other language
<hanmac1>
there are new features in syntax like key arguments in ruby 2.0+ but the core stuff of ruby might be ok in the books
<pontiki>
i don't believe there's been any breaking syntax in 2.1 and beyond, has there?
Guest24 is now known as lele
<sevenseacat>
i think 2.1 was mostly optimizations and new features
<Radar>
when were kwargs added?
<sevenseacat>
like refinements or whatever theyre called
<Radar>
I thought refinements were in ruby 2.2.
<sevenseacat>
oh.
<Radar>
Ruby 2.0 was kwargs
loadhigh1 has joined #ruby
loadhigh1 has quit [Client Quit]
St1gma has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
* sevenseacat
has never used kwargs
<hanmac1>
Radar: and 2.1 was non-optional kwargs
asmodlol has quit [Ping timeout: 250 seconds]
yaw has quit [Ping timeout: 244 seconds]
jottr has quit [Ping timeout: 258 seconds]
RegulationD has joined #ruby
Hirzu_ has joined #ruby
bronson has quit [Remote host closed the connection]
gusrub has quit [Quit: Leaving]
<hanmac1>
there is the list of all possible argument types i know:
<adaedra>
he may have done all updates (site and tls) at the same time
helpa has joined #ruby
helpa has quit [Remote host closed the connection]
reinaldob has quit [Ping timeout: 272 seconds]
helpa has joined #ruby
<shevy>
well it was not just that guy, I think 2 days ago I also noticed a http-to-https change, and before that, I read this... let me fetch the blog post...
<zotherstupidguy>
the heartbleed fix was for what?
leafybasil has quit [Remote host closed the connection]
joast has quit [Ping timeout: 252 seconds]
leafybasil has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zotherstupidguy>
ok, so man-in-the-middle doesnt work with ssl?
djbkd has quit [Ping timeout: 240 seconds]
<zotherstupidguy>
i think it does
<adaedra>
you get encrypted data in that case
<shevy>
zotherstupidguy to me it seems a lot as if the firefox team got completely stunned by the chrome browser; it's as if their "innovation" is largerly driven to look at what chrome has got, and adjust to that as a default. For example, the menu bar on top is hidden by default when I download a new firefox version; I have to specifically click on enabling this hidden widget. In the past, it was always there. I a
<shevy>
m scared to see that the menu bar will be removed altogether one day, in which case I will dump firefox altogether (but I have no other browser, so that sucks too)
Spami has joined #ruby
<adaedra>
I don't think the menu bar will disappear soon
<rdark>
zotherstupidguy: you can decrypt the data if you have access to the keys, or can control DNS and present a 'valid' certificate to clients
<zotherstupidguy>
i think chrome google account is the killer feature, as it stores your history and passes and provide it back to you after a new installation, talkin about hacking stuff, right?
<shevy>
adaedra I just anticipate the worst to come ;)
<zotherstupidguy>
rdark i think if the attacker captures the session or rest it to get the first handshak, it is all the same
Igorshp has quit [Remote host closed the connection]
<adaedra>
they have to keep the menu bar for OS X anyway, so removing it doesn't seems smart...
<shevy>
zotherstupidguy dunno. the less I depend on google, the better
<exons>
zotherstupidguy: it's a trust issue in this case (regarding google)
<zotherstupidguy>
privacy is dead, lets move on
guardianx has joined #ruby
<rdark>
I use vimperator/pentadactyl anyway so no menu bars for me
<adaedra>
no.
<shevy>
nah
<shevy>
you can move on though :)
Ropeney has joined #ruby
<shevy>
vimperator is that vim-keybindings thingy?
<adaedra>
yep
<zotherstupidguy>
all our data is stored today to be analyzed by young digital anthropology researchers in the future :)
<rdark>
yup
Spami has quit [Client Quit]
<zotherstupidguy>
its kinda cool!
echosystm has quit [Ping timeout: 276 seconds]
<shevy>
zotherstupidguy not cool when others make money with my data without paying me!
<exons>
zotherstupidguy: I don't think than the next generation will be interested in the past
<zotherstupidguy>
we all be dead, our data will not
<zotherstupidguy>
i think as always the past is important
<exons>
but people care less and less about the past
n008f4g_ has quit [Ping timeout: 244 seconds]
Igorshp has joined #ruby
<zotherstupidguy>
exons thats saying we don't care who enisten discovered emc2, we just gonna use it anyway
<zotherstupidguy>
the story matters dude
<shevy>
exons your nick is a strange one
jimms has joined #ruby
<zotherstupidguy>
or gal :P
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
michael_mbp has quit [Excess Flood]
lordkryss has joined #ruby
<exons>
shevy: yeah I joined #ruby this morning
<shevy>
reminds me of molecular biology
michael_mbp has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<exons>
It's the goal :)
senayar has quit [Remote host closed the connection]
doertedev has joined #ruby
fabrice31 has quit [Remote host closed the connection]
User458764 has joined #ruby
taiansu has quit [Remote host closed the connection]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
sdothum has joined #ruby
<platzhirsch>
Is this Latin or what
* platzhirsch
pokes exons
bigsky_ has quit [Read error: Connection reset by peer]
taiansu has joined #ruby
helpa has quit [Remote host closed the connection]
bigsky has joined #ruby
helpa has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
helpa has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
devoldmx has joined #ruby
reinaldob has joined #ruby
helpa has joined #ruby
reinaldob has quit [Remote host closed the connection]
helpa has quit [Remote host closed the connection]
mikecmpbll has quit [Read error: Connection reset by peer]
<adaedra>
so, if your data can only be Symbol or String, you can just do .to_sym
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
ldnunes has joined #ruby
DaniG2k has quit [Quit: leaving]
<shevy>
we should write a pseudo language
<shevy>
that generates ruby code
<Darkwater>
call it sapphire
fabrice31 has quit [Remote host closed the connection]
kedare has joined #ruby
<Darkwater>
but how about a preprocessor for sapphire
<adaedra>
this is getting too meta
jmignault has joined #ruby
<adaedra>
sometimes, you don't need to go deeper
<shevy>
well we have all sort of language generators
<shevy>
coffeescript!
Criztian has quit []
<adaedra>
I don't like coffee
<adaedra>
I'll make teascript
<Darkwater>
IcedCoffeeScript
<adaedra>
That's cold
shuber_ has joined #ruby
Zai00 has joined #ruby
CamonZ has joined #ruby
rodfersou has joined #ruby
DigitalDayTrader has joined #ruby
<maasha>
adaedra: but if the value is nil or Fixnum ...
<adaedra>
In that case no.
abuzze has quit [Remote host closed the connection]
einarj_ has joined #ruby
einarj has quit [Ping timeout: 276 seconds]
chinmay_dd has joined #ruby
ravenreborn has joined #ruby
<shevy>
well
edwinvdgraaf has quit [Remote host closed the connection]
<shevy>
something where you can omit "end" :)
doodlehaus has quit [Remote host closed the connection]
<ponga>
shevy: is your first language german
edwinvdgraaf has joined #ruby
<shevy>
ponga yeah
<shevy>
ponga your first language is korean?
<ponga>
are you more confident with english?
<ponga>
yop
<ponga>
iirc you said somthing like that
<shevy>
nah, I am more confident with german... my brain has it easier to "think" in german, just as I guess matz has it easier to think in japanese as he is talking in english
<shevy>
english sort of has more words though
<ponga>
but i don't think you would have any delay thinking in English to use it
<shevy>
Like you know, when you try to express something, and you have a similar word in your native tongue, but it is not 100% the same as in english (or another language)
shazaum has joined #ruby
<shevy>
I dunno... take the japanese word kaizen
hoov has joined #ruby
<ponga>
what, improve?
<shevy>
yeah precisely
<shevy>
continuous improvement
shazaum has joined #ruby
shazaum has quit [Changing host]
<shevy>
it's like a different philosophy... take the samurai. they would want to perfect the drawing of the sword alone... nobody in europe could have had such a high dedication towards optimizing that (I dunno the word... iaiutsu or what was the name...)
ita-ness has joined #ruby
hectortrope has quit [Quit: WeeChat 0.4.2]
<ponga>
shevy: just to add, kaizen is preferred to be used onto non material improvement, and kairyou is used for materialistic one
<ponga>
just to add
<ponga>
teaching you japanese!
hectortrope has joined #ruby
sigurding has joined #ruby
guardianx has quit [Remote host closed the connection]
gizmore has joined #ruby
gizless has quit [Ping timeout: 276 seconds]
chinmay_dd has quit [Remote host closed the connection]
trampi has joined #ruby
chinmay_dd has joined #ruby
Xoro has quit [Read error: Connection reset by peer]
keen________ has joined #ruby
keen_______ has quit [Ping timeout: 245 seconds]
einarj has joined #ruby
kaspernj has quit [Quit: Leaving]
mengu has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
einarj_ has quit [Ping timeout: 272 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
thatslifeson has joined #ruby
<shevy>
ponga cool
<shevy>
so they even have separate words for rather similar concepts :)
streaxy has quit [Quit: Connection closed for inactivity]
senayar has joined #ruby
<shevy>
kaizen as word is known here but kairyou ... never heard that one before
<ponga>
shevy: its because kor/jap rely heavily on chinese characters for nouns
michaelreid has quit [Ping timeout: 252 seconds]
<ponga>
nearly every one of them is compound word
HotCoder has joined #ruby
michaelreid has joined #ruby
qwertme has joined #ruby
einarj_ has joined #ruby
bruno- has quit [Ping timeout: 276 seconds]
einarj has quit [Ping timeout: 245 seconds]
senayar has quit [Remote host closed the connection]
<ponga>
btw, for example, kairyou is more likely to be used for stuff like electronics, car, etc where kaizen its more about 'he is better treated now'
Xoro has joined #ruby
<ponga>
however even japanese public don't often use two words distinctively
<ponga>
;p
chinmay_dd has quit [Remote host closed the connection]
airdisa has joined #ruby
gizless has joined #ruby
rahult has joined #ruby
thatslifeson has quit [Ping timeout: 244 seconds]
tubuliferous_ has joined #ruby
rahult is now known as rahult_
gizmore has quit [Ping timeout: 250 seconds]
rahult_ is now known as rahult
but3k4 has joined #ruby
<shevy>
hmm
<shevy>
there is some chinese word... molue or so
<shevy>
it means something like "super-strategeme"... like to not just have a longer strategy, but a strategy of strategies
chinmay_dd has joined #ruby
senayar has joined #ruby
<shevy>
hard to describe a symbol with characters :\
ramfjord has quit [Ping timeout: 264 seconds]
<ponga>
i'd have no idea of chinese word until i see the actual words.. the reading is different among chn/kor/jap
<flughafen>
an ya ha se yo
<ponga>
like euro has different readings of latin adopted words
<ponga>
hi flughafen
<flughafen>
hi ponga
<ponga>
impressive korean btw
<flughafen>
thanks!
SouL_|_ has joined #ruby
<flughafen>
i did't know korean used chinese characters too?
<flughafen>
i've never seen it
lordkryss has quit [Quit: Connection closed for inactivity]
<ponga>
flughafen: its only got readings left
<ponga>
they ditched it around 40 yrs ago
<flughafen>
ponga: ok.
<ponga>
chinese for korean is more of latin to English now
tubuliferous_ has quit [Ping timeout: 256 seconds]
<ponga>
flughafen: japanese can also throw away using chinese , but kana system is kinda fucked up for readability without chinese
<flughafen>
yeah.
<flughafen>
i've studied a little japanese
HotCoder has quit [Read error: Connection reset by peer]
lidenskap has joined #ruby
<ponga>
whereas korean alphabet can handle it alone, hence removal of chinese in kor
einarj has joined #ruby
<ponga>
flughafen: trust me ,japanese does not even use whitespace, japanese without chinese & whitespace is like reading java code
<flughafen>
ha
<ponga>
that's why japanese pokemon game only uses kana with whitespace(its very rare!) cos its for kids
* hanmac1
likes the korean alphabet because the letters does look so SYFY like, like from aliens ;P
mrdmi_ has joined #ruby
edwinvdg_ has joined #ruby
<ponga>
really? does it look syfy to euros?
ebbflowgo has joined #ruby
<flughafen>
"euros?"
<flughafen>
haha
n008f4g_ has joined #ruby
<Papierkorb>
It does look quite distinct
<hanmac1>
hm or was it the thai one? hm i need to look at my charmap
<flughafen>
ponga: do you live in korea?
metadave__ has joined #ruby
<ponga>
flughafen: yeah at the moment, im returning to NZ next month
ebbflowgo has left #ruby [#ruby]
<shevy>
ponga yeah that was cool that the korean managed to simplify; I suppose written chinese is the most complicated written language
<flughafen>
ponga: why korea?
nfk|laptop has quit [Quit: yawn]
<ponga>
flughafen: cos im korean ser
nfk|laptop has joined #ruby
<flughafen>
i figured since it's your first language.
<Papierkorb>
hanmac1: thai letters look like a rain forest with chimps hanging from trees
<ponga>
shevy: i still believe that if japanese adopted using whitespace, they could ditch chinese too
mrdmi has quit [Ping timeout: 256 seconds]
<flughafen>
ponga: have they said why thye don't want to?
<ponga>
flughafen: i can't understand 'why korea?' did you mean 'why nz?'
rodferso1 has joined #ruby
ahmetkapikiran has joined #ruby
lidenskap has quit [Ping timeout: 258 seconds]
<ponga>
flughafen: 1) consensus that teaching chinese is a root of being japanese and SOPHISTICATED
<flughafen>
ponga: oh, i just mean, i thought you would have lived in korea, but since you are returning to nz, are but you live in korea now. it's weird.
<ponga>
2) even if with Kana system and whitespace, readability is fucked up
edwinvdgraaf has quit [Ping timeout: 252 seconds]
<ponga>
flughafen: staying with family sir
<ponga>
but i miss my friends in NZ too
<flughafen>
ponga: so just a vacation?
HotCoder has joined #ruby
<ponga>
dunno, a long one tho, i will get a job and stay for couple of years
<flughafen>
i'd love to stay in japan for a little bit
airdisa_ has joined #ruby
rodfersou has quit [Ping timeout: 246 seconds]
<flughafen>
i just looked at a trip to japan next january. i'd like to go to a car show
<ponga>
hanmac1: but korean letters consist more of straight lines! haha i see what you see there too
<flughafen>
ponga: it could have easily replaced the writing from the predator
metadave__ has quit []
clauswitt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
metadave_ has joined #ruby
livathinos has joined #ruby
lektrik has quit [Ping timeout: 255 seconds]
nfk|laptop has quit [Quit: yawn]
<ponga>
speaking of japanese, i believe using chinese letters is what blocks many westerners to learn japanese
airdisa has quit [Ping timeout: 265 seconds]
<flughafen>
ponga: it's not so bad.
fabrice31 has joined #ruby
<ponga>
japanese language is too minor considering its nation's popularity
<flughafen>
ponga: it's more of a mental block
<sandelius>
is autoload deprecated, or will be, or not?
<ponga>
flughafen:yes i agree
<ponga>
i was only speaking of linguistic barrier
<ponga>
autoload?
<flughafen>
i thought it would be hard learning the writing just because it looks so weird, bu i elarned the hirigana and katakana in an hour or something, then it was easy.
<flughafen>
i mean, kanji is more difficult
<flughafen>
obviously but once you learn the radicals, ... have you seen that chineasy? thing
quimrstorres has quit [Remote host closed the connection]
nfk|laptop has joined #ruby
<flughafen>
ponga: ^^
<tacotaco_>
that's basically noobified "remembering the kanji"
<ponga>
oh good
<ponga>
i still hate kanji
<flughafen>
tacotaco_: yeah, but it's cool
<flughafen>
ponga: how many do you know?
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ponga>
flughafen: as good as japanese adults do
<flughafen>
1998!
ahmetkapikiran has joined #ruby
<ponga>
learning japanese for korean is like learning portugueses for spanish flughafen
<ponga>
it took me 5 months to make subtitles for anime
<flughafen>
i took tae kwon do for a little while so i learned some korean words.
<ponga>
flughafen: ironically, kanji serves superbly well for NLP purposes
<ponga>
if you think of homonym issues!
<flughafen>
hehe, yeah
<ponga>
korean NLP is nightmare for that
chinmay_dd has quit []
<ponga>
and tell you what flughafen , nobody on earth is compelety sure about korean grammar anyway
<ponga>
its too fucked up
Chicken_John1 has joined #ruby
ebbflowgo has joined #ruby
echosystm has joined #ruby
Squarepy has joined #ruby
RegulationD has joined #ruby
<ponga>
chief headmaster of korean national language centre said in interview that even he's not confident of using korean 100% accurate
<ponga>
me niether
<ponga>
that's why my ruby chatbot is based on japanese, not korean ;p
<flughafen>
ponga: which chat bot?
Chicken_John1 has left #ruby [#ruby]
Rollabunna has joined #ruby
<ponga>
flughafen: its my personal project, a chatbot that could serve as waifu
<tacotaco_>
I still struggle with kanji (readings) and I've been on/off studying Japanese for 10 years now
Squarepy_ has joined #ruby
<tacotaco_>
but that's because I'm lazy..
<ponga>
"occasionally giving consolation and comfort communication"
juanpaucar has joined #ruby
<ponga>
what i said to shevy
<ponga>
;p
metadave_ is now known as metadave
jottr has joined #ruby
<flughafen>
takotako!
sepp2k has joined #ruby
echosystm has quit [Ping timeout: 244 seconds]
Axy has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
lordkryss has joined #ruby
Squarepy has quit [Ping timeout: 272 seconds]
agent_white has quit [Read error: Connection reset by peer]
Rollabunna has quit [Ping timeout: 244 seconds]
juanpaucar has quit [Ping timeout: 265 seconds]
phutchins has joined #ruby
Mia has quit [Ping timeout: 258 seconds]
<shevy>
ponga lol
<shevy>
robots are cool, but I will never be able to understand the japanese fascination there
charliesome has quit [Quit: zzz]
<shevy>
flughafen yeah I can count from 1 to 10 in korean too because of taekwondo... we had to do pushups, but strangely enough, we only counted from 1 to 10, then started at 1 again... we never counted to 20 :P
<ponga>
shevy: to give you a hint, men are ravaged by feminism in japan
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
thatslifeson has joined #ruby
dstarh has joined #ruby
<hanmac1>
ponga: apropos "waifu" checkout the cartoon: "GravityFalls" specially Season2 Episode: "a Girl for Soos" ;P
yh has joined #ruby
<ponga>
hanmac1: im watching it
<ponga>
thanks
krz has joined #ruby
bmurt has joined #ruby
oo_ has quit [Remote host closed the connection]
DigitalDayTrader has quit [Ping timeout: 250 seconds]
jottr has quit [Ping timeout: 255 seconds]
andrew-l has quit [Read error: Connection reset by peer]
andrew-l has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
lektrik has joined #ruby
<hanmac1>
ponga: hm you can also watch the other episodes before it (so you might watch the season before to understand what the cartoon is about)
<ponga>
hanmac1: omg im gonna destroy japan lol
<ponga>
that's exactly what im creating!
<hanmac1>
;P
clauswitt has joined #ruby
<hanmac1>
ponga: its a american cartoon, not a japanise anime ;P
<ponga>
i know but they kinda nailed the point
AxonetBE has joined #ruby
anaeem1__ has joined #ruby
einarj_ has joined #ruby
anaeem1__ has quit [Remote host closed the connection]
<hanmac1>
norc hm looks like a binary string printed with less
agent_white has quit [Read error: Connection reset by peer]
sent1nel has quit [Ping timeout: 276 seconds]
haxrbyte has joined #ruby
[k- has joined #ruby
JDiPierro has joined #ruby
xxtjaxx has joined #ruby
fabrice31 has quit [Ping timeout: 276 seconds]
<xxtjaxx>
Hi! I'm playing around with a local copy of discourse, however the javascript when fetched from the server by the browser is packed in eval()'s how can I disable this?
bruno- has quit [Ping timeout: 245 seconds]
djbkd has quit [Ping timeout: 265 seconds]
joast has joined #ruby
<hanmac1>
xxtjaxx: are you sure you are in the right channel? this is #ruby and not javascript, or you might want #rubyonrails
dblessing has joined #ruby
jpstokes has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
arup_r has quit [Remote host closed the connection]
freerobby has joined #ruby
cosmicexplorer has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
idafyaid has joined #ruby
unshadow has quit [Quit: leaving]
<xxtjaxx>
hanmac1: it's a ruby on rails application and the source scripts in the tree are not wrapped in eval(). Equally when I added a new script that got turned into an eval() call
allenn has joined #ruby
jerius has joined #ruby
<hanmac1>
xxtjaxx: yes for ruby on rails please use this channel #rubyonrails we are mosty not qualified enough to answer rails questions
rodferso1 has quit [Quit: leaving]
<xxtjaxx>
ah my bad then cheers!
rodfersou has joined #ruby
Rapier- has joined #ruby
Stalkr_ has joined #ruby
jerius has quit [Client Quit]
sgambino has joined #ruby
jimms has quit [Ping timeout: 258 seconds]
kaspernj has joined #ruby
unshadow has joined #ruby
allenn has quit [Remote host closed the connection]
allenn has joined #ruby
chrissonar has quit [Remote host closed the connection]
einarj_ has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
tier has joined #ruby
norc has quit [Ping timeout: 246 seconds]
einarj has joined #ruby
User458764 has joined #ruby
freerobby has quit [Quit: Leaving.]
kies has quit [Ping timeout: 264 seconds]
gizmore has joined #ruby
gizless has quit [Ping timeout: 258 seconds]
mary5030 has joined #ruby
CloCkWeRX has joined #ruby
kies has joined #ruby
TinkerTyper has quit [Ping timeout: 258 seconds]
enebo has joined #ruby
doodlehaus has joined #ruby
mengu has quit [Remote host closed the connection]
diegoviola has joined #ruby
<hfp>
Hi all, this is my Rakefile: https://gist.github.com/anonymous/82a1fdf94724cfd111f7. When I run `rake spec`, it says there are 0 tests to be run. But if I do `rspec spec/call_controllers/outbound_controller.rb` then it finds 2 tests to run. Why is my rake task not seeing them?
ismaelga has joined #ruby
TinkerTyper has joined #ruby
yh is now known as yh_
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mikecmpb_ is now known as mikecmpbll
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
sent1nel has joined #ruby
RegulationD has joined #ruby
JDiPierro has quit [Remote host closed the connection]
<sevenseacat>
hfp: because your spec file doesnt have the suffix _spec.rb
<hfp>
sevenseacat: oh I see
fabrice31_ has joined #ruby
User458764 has joined #ruby
<hfp>
that was it... Thanks!
<sevenseacat>
np
shadeslayer has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 246 seconds]
yh_ is now known as yh__
taiansu has joined #ruby
sent1nel has quit [Ping timeout: 255 seconds]
yh__ has quit [Quit: Reconnecting]
maasha has quit [Ping timeout: 246 seconds]
yh__ has joined #ruby
hectortrope has quit [Quit: WeeChat 0.4.2]
RegulationD has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 250 seconds]
arup_r has joined #ruby
umgrosscol has joined #ruby
shadeslayer has joined #ruby
unshadow has quit [Quit: leaving]
arup_r_ has joined #ruby
tier has quit [Remote host closed the connection]
<fmcgeough>
new to Ruby. using Postgres pg gem. Is it possible to use parameter for IN criteria in SELECT? I can’t seem to get it to be happy with what I’m passing.
fella5s has quit [Ping timeout: 252 seconds]
tier has joined #ruby
qwertme has joined #ruby
platzhirsch has left #ruby [#ruby]
JDiPierro has joined #ruby
kies has quit [Ping timeout: 252 seconds]
arup_r has quit [Ping timeout: 252 seconds]
einarj has quit [Ping timeout: 264 seconds]
fella5s has joined #ruby
ita-ness has quit [Remote host closed the connection]
<fmcgeough>
I was hoping it’d expand out what I pass… so in ($1) gets replaced by a first element of array that is also an array. but that obviously is wrong.
tautvydas has quit [Ping timeout: 256 seconds]
anisha has quit [Quit: Leaving]
einarj has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Ropeney has joined #ruby
psy_ has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
<apeiros>
yay, just wasted half an hour to figure that I forgot to remove the "https://" in the host part of Net::HTTP#start(host, …)
macmartine has joined #ruby
klue has left #ruby [#ruby]
speakingcode has joined #ruby
justinxr- has quit [Quit: what a turn of events]
jimms has joined #ruby
sent1nel has joined #ruby
<shevy>
aha
<shevy>
secure http biting you in the butt as well!
macmartine has quit [Remote host closed the connection]
thatslifeson has quit [Remote host closed the connection]
<apeiros>
shevy: no. same thing happens if you'd leave "http://" in
freerobby has joined #ruby
<apeiros>
the host is supposed to be there without the protocol.
zotherstupidguy has quit [Quit: leaving]
<adaedra>
time to find a bug seems to be proportional to how stupid it is.
livathinos has quit []
unshadow has joined #ruby
xjstin has joined #ruby
mistermo_ has joined #ruby
ta has joined #ruby
<shevy>
very true
<shevy>
def intialize took me also half an hour
<shevy>
I think it also has to do with how inconspicuous some bugs appear
mistermo_ has quit [Remote host closed the connection]
Spami has joined #ruby
iamninja_ has quit [Ping timeout: 265 seconds]
elfuego has joined #ruby
<elfuego>
is it possible to change memory allocated to ruby on windows?
mengu has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
senayar has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 272 seconds]
davedev24_ has joined #ruby
allenn has quit [Remote host closed the connection]
mengu has joined #ruby
momomomomo has joined #ruby
senayar has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
chinmay_dd has joined #ruby
allenn has joined #ruby
<ChampS_>
mh "Could not start the spawn server: /home/Ben/.rvm/wrappers/ruby-2.2.1/: Permission denied (13)" <<< anyone an idea why passenger could not be started?
haxrbyte_ has joined #ruby
bkxd has joined #ruby
edwinvdg_ has quit [Remote host closed the connection]
<adaedra>
check permissions on this folder and folders above.
davedev2_ has quit [Ping timeout: 246 seconds]
edwinvdgraaf has joined #ruby
terlar has quit [Ping timeout: 256 seconds]
allenn has quit [Remote host closed the connection]
leafybas_ has joined #ruby
allenn has joined #ruby
einarj has joined #ruby
tubuliferous has quit [Ping timeout: 256 seconds]
<shevy>
folder? :D
<ChampS_>
all folders have 755
mengu has quit [Remote host closed the connection]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
trips has quit []
__chris has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<__chris>
howdy.
crack_user has joined #ruby
haxrbyte has quit [Ping timeout: 276 seconds]
<adaedra>
shevy: ?
<__chris>
Is it bad practice to use 'MethodNotImplemented' exceptions when creating a base class for duck typing?
poguez_ has joined #ruby
<shevy>
adaedra directory!!!
<jhass>
yes, you just duplicate NoMethodError
selu has joined #ruby
<adaedra>
shevy: same f(beep)g thing
<__chris>
so is a base class even needed? I mean, /something/ should define the methods right?
Schwarzbaer has joined #ruby
casadei has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
<ChampS_>
folder/directory all the same :P
andrew-l has quit [Remote host closed the connection]
BlackGear has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ChampS_>
adaedra all dirs have 755 so i think apache could read
<Mon_Ouie>
A base class (or a module to be included) is only needed if there are method implementations that need to be inherited
<adaedra>
yeah I read that
leafybasil has quit [Ping timeout: 264 seconds]
ahmetkapikiran has joined #ruby
sevenseacat has quit [Quit: Me dun like you no more.]
<__chris>
Mon_Ouie, that makes sense to me. However, I'm not sure if those method bodies should just be a "# implement this method" or if they should return expected types as reponses etc..
<[k->
there is a NotImplementedError i think
ahmetkapikiran has quit [Client Quit]
Kricir has joined #ruby
<Mon_Ouie>
If there's no sensible default implementation for a method, just let the subclasses implement it (and if there is, just use that)
lidenskap has joined #ruby
rahult is now known as rahult_
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
edwinvdgraaf has quit [Ping timeout: 255 seconds]
rahult_ is now known as rahult
<__chris>
Mon_Ouie, my situation is I'm writing an API wrapper using the strategy pattern. Whats best practice to define the required methods for a strategy?
rahult is now known as rahult_
alex88 has quit []
allenn has quit [Remote host closed the connection]
thatslifeson has joined #ruby
tubuliferous has joined #ruby
airdisa_ has quit [Remote host closed the connection]
That1Guy has joined #ruby
riotjones has quit [Remote host closed the connection]
<shevy>
hidden = STDIN.noecho(&:gets)
<Mon_Ouie>
Just document them where they can be used, just like Enumerable documents how #each should be implemented in a class where you want to include Enumerable
<shevy>
hmm what is this wicked magic
IrishGringo has quit [Remote host closed the connection]
Soda has joined #ruby
lidenskap has quit [Ping timeout: 240 seconds]
<Mon_Ouie>
shevy: noecho from io/console runs a block during which, as the name implies, you can't see what is being typed on the terminal
<shevy>
oh
crack_user has quit [Quit: Leaving.]
stoffus has quit [Quit: leaving]
crack_user has joined #ruby
<shevy>
now I see... STDIN.noecho is not there by default but added by io/console
konsolebox has quit [Read error: Connection reset by peer]
CloCkWeRX has quit [Quit: Leaving.]
ebonics has joined #ruby
User458764 has joined #ruby
LiquidInsect has quit [Quit: leaving]
icebourg has joined #ruby
Squarepy has joined #ruby
icebourg has quit [Max SendQ exceeded]
LiquidInsect has joined #ruby
ta has quit [Remote host closed the connection]
shuber_ has quit [Ping timeout: 276 seconds]
icebourg has joined #ruby
CorySimmons has joined #ruby
sankaber has quit [Ping timeout: 250 seconds]
bkxd has quit [Ping timeout: 255 seconds]
ortuna has quit [Ping timeout: 250 seconds]
fabrice31 has quit [Remote host closed the connection]
sigurding has joined #ruby
fabrice31 has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
fabrice31 has quit [Remote host closed the connection]
<havenwood>
Yeah, HTTP, quit yelling "verbs" at us!
casadei has quit []
<adaedra>
shevy: not too bad currently.
<shevy>
it's raining here right now :(
<adaedra>
Know that somewhere in Australia, it's literally raining spiders.
<tejasmanohar>
lol sorry
echosystm has joined #ruby
<shevy>
raining spiders?
riotjones has joined #ruby
<shevy>
shame that sevenseacat is not connected right now
xxtjaxx has quit [Remote host closed the connection]
xxtjaxx has joined #ruby
wookiehangover has quit [Ping timeout: 265 seconds]
<tejasmanohar>
HTTP.post("http://atol.to/rpc/setLink", :body => "originalURL=https://google.com/") - anyhow this is not hitting the right endpoint but the curl -d request is . if anyone knows why please let me know thanks
<adaedra>
We got hail yesterday, maybe it crossed germany and got to you, shevy
ravenreborn_ has quit [Ping timeout: 246 seconds]
mjmac has quit [Ping timeout: 256 seconds]
<shevy>
then I should be safe since I am not in Germany \o/
<adaedra>
no, you're at the other side of it.
haxrbyte_ has quit [Ping timeout: 256 seconds]
einarj has quit [Ping timeout: 250 seconds]
sigurding has quit [Quit: sigurding]
juanpaucar has joined #ruby
<shevy>
to the west of here are the Alps, they are fairly big. I guess that influences bad weather to the west... but here in the east it's all superflat
einarj has joined #ruby
<adaedra>
Actually, I don't know how weather works over Europe.
<adaedra>
All I know is that radioactive clouds stops at the French boundaries. :x
cyrus_mc has left #ruby [#ruby]
mjmac has joined #ruby
rahult_ is now known as rahult
rahult is now known as rahult_
echosystm has quit [Ping timeout: 252 seconds]
riotjones has quit [Ping timeout: 272 seconds]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
that is very kind of you guys
<adaedra>
?
taiansu has joined #ruby
<shevy>
that you don't send radioactive clouds over a border :)
<bootstrappm>
is Aeyrix around? One of our AWS servers ran out of space this morning and we're running high on costs ... re-reconsidering DigitalOcean again :$
<shevy>
ruboto's output is a bit confusing
hanmac has left #ruby [#ruby]
<shevy>
I think the first part, hi joe, should instead become "hi joe"
lotherk has quit [Client Quit]
<shevy>
that was the old way with eval-in, wasn't it?
harleypig has quit []
lotherk has joined #ruby
harleypig has joined #ruby
anaeem1_ has joined #ruby
<shevy>
Aeyrix is sleeping like a baby!
<shevy>
send a SWAT team over to wake him up
<bootstrappm>
haha shame. I'll just read reviews online
bigsky has joined #ruby
tejasmanohar has quit [Quit: WeeChat 1.1.1]
* dudedudeman
is awake
* dudedudeman
knows that doesn't help
<shevy>
dudedudeman you may be awake but what is this good for
<eam>
poll: raise on missing entry? or how else to communicate back record not found when querying a k/v store?
yh__ has joined #ruby
<eam>
should I just emulate Hash with [] vs fetch()?
<bootstrappm>
depends if mission critical or not. If mission critical and user facing output error message and exit immediately. If not user facing, raise error. If not mission critical, existence check in code and carry on
vickleton has joined #ruby
vcoinminer has quit []
vcoinminer has joined #ruby
<shevy>
wow
<shevy>
bootstrappm talks in working pseudo-code
<bootstrappm>
hahaha
ravenreborn has joined #ruby
cosmicexplorer has quit [Ping timeout: 256 seconds]
RegulationD has quit [Remote host closed the connection]
konsolebox has joined #ruby
mikecmpbll has joined #ruby
<eam>
pretty sure that's legal ruby syntax
baroquebobcat has joined #ruby
iliketurtles has joined #ruby
shuber_ has quit [Remote host closed the connection]
<eam>
bootstrappm: this would be implementing the db interface
<eam>
as in, I'm writing Hash
<eam>
what I'm hearing is, supply both interfaces
einarj has quit [Ping timeout: 246 seconds]
<bootstrappm>
ahh, I see. IMO then [] should raise, fetch should return false
<bootstrappm>
[] to me implies get something thats there, fetch implies go see if its there
<eam>
bootstrappm: that's opposite what Hash does, though?
<ruboto>
eam # => key not found: :missing (KeyError) ...check link for more (https://eval.in/367811)
wallerdev has joined #ruby
wildroman2 has joined #ruby
ravenreborn has quit [Ping timeout: 256 seconds]
<eam>
the other complication is that this k/v store allows various behaviors for storing and fetching keys
<eam>
like dup entries (allow, overwrite, fail)
yh__ has quit [Ping timeout: 258 seconds]
<bootstrappm>
I see. Then it's your call. I think my opinions come from some other ORMS / db interfaces I've used. I'd compare it w/ other db interfaces instead of native hashes.
rdark has quit [Quit: leaving]
arietis has quit [Client Quit]
<bootstrappm>
what does the k/v store do when you fetch something thats not there?
shuber_ has joined #ruby
sigurding has quit [Quit: sigurding]
<eam>
it returns an indicator saying "nothing there"
<eam>
C doesn't have exceptions so there's no design issue
<eam>
everything is call, check returned value
<tejasmanohar>
if i just want to separaate out some code thats going to be used in a bunch of parts of my project
<tejasmanohar>
module is the best way?
<eam>
I'm gonna just supply two methods, one for sloppy "nil on failure" and one that raises
DexterLB has quit [Read error: Connection reset by peer]
DanKnox has joined #ruby
rahult_ is now known as rahult
rahult is now known as rahult_
<bootstrappm>
eam good plan. Is the whole thing in C or is this some native extension for ruby? if so the ! comes to mind as a way to differentiate nil on failure vs raise on failure
<tejasmanohar>
i need it in models too, i need shorten everywhere hehe
elfuego has quit [Quit: elfuego]
<eam>
bootstrappm: making a native extension for ruby
<eam>
I'll link it in a bit, would love to avoid making idiomatic errors
<bootstrappm>
IIRC in rails3 if it was loaded as a helper it was included by default in the controllers as well. Could be wrong about that though, its been years
<bootstrappm>
tejasmanohar from your article " So basically you define a helper module (or let Rails generators define it for you) which will be auto-magically included in the controller and available to both the controller and the view."
<tejasmanohar>
yeah but its for view helpers
<tejasmanohar>
like im not going to ever use this in the view
<tejasmanohar>
only controller...
alnklkn has quit [Quit: Page closed]
<bootstrappm>
and model?
<tejasmanohar>
also, i need it in the models so scratch that ;)
<tejasmanohar>
yeah
<tejasmanohar>
models + controllers
<tejasmanohar>
i think this lib/atol.rb is my best bet. right bootstrappm ?
jeregrine has quit []
jeregrine has joined #ruby
<bootstrappm>
one way to do it, sure. Going back to logistics, put "include Atol" in your model, making sure the file is required
<bootstrappm>
that's how you have #shorten in your model
<tejasmanohar>
in controller i dont need to tho?
<tejasmanohar>
bootstrappm: does that go above or below class User < ActiveRecord::Base
kinduff has quit [Ping timeout: 264 seconds]
Beamed is now known as beamed_down
<bootstrappm>
goes below but the require should go at the top of the file
<bootstrappm>
in controller you wouldn't need to if you put that method in helpers.rb, but since you're putting it in lib you need to also
CorySimmons has quit [Quit: Bye!]
<tejasmanohar>
ah ok
ciopte7 has quit [Quit: ciopte7]
arietis has joined #ruby
freerobby has joined #ruby
anaeem1_ has quit [Quit: Leaving...]
<tejasmanohar>
bootstrappm: and then can i call shorten at the top level or is it Atol.shorten?
cosmicexplorer has joined #ruby
<bootstrappm>
nope, if you use 'include' that method becomes a part of the class you've included it into
<bootstrappm>
it would be Model#short
alol___ has quit []
shevy has quit [Ping timeout: 276 seconds]
<bootstrappm>
shorten*
<tejasmanohar>
ah
<tejasmanohar>
:)
alol___ has joined #ruby
<tejasmanohar>
wait, it becomes User.shorten weirdd
<GaryOak_>
__chris: It might also encourage better dev practices since other people would have access to it
<__chris>
true
inspiron has joined #ruby
<inspiron>
i'm on a system that doesn't have a ~/.gemrc but the proxy settings are working. i'm not sure where they have it or what their doing. is there a way to find out where .gemrc is from the commandline ?
<inspiron>
like ruby --get-config-path or something
einarj has quit [Ping timeout: 276 seconds]
yh__ has joined #ruby
A205B064 has joined #ruby
jimms has quit [Read error: Connection reset by peer]
jimms_ has joined #ruby
gusrub has joined #ruby
jimms_ is now known as jimms
mtakkman has joined #ruby
chipotle has quit [Quit: cheerio]
chinmay_dd has quit []
lxsameer has joined #ruby
tjbiddle has joined #ruby
choke has joined #ruby
thatslifeson has quit [Remote host closed the connection]
einarj has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
echosystm has joined #ruby
dumdedum has quit [Ping timeout: 245 seconds]
mary5030 has quit [Remote host closed the connection]
ciopte7 has quit [Quit: ciopte7]
thatslifeson has joined #ruby
mary5030 has joined #ruby
pokui has quit [Ping timeout: 240 seconds]
RegulationD has joined #ruby
juanpaucar has joined #ruby
djellemah has quit [Ping timeout: 256 seconds]
woodruffw has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
echosystm has quit [Ping timeout: 250 seconds]
wildroman2 has joined #ruby
<adaedra>
~/.gemrc is user rc file, there may be one in /etc/gemrc
chrisja has joined #ruby
mary5030 has quit [Ping timeout: 255 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
iliketurtles has joined #ruby
n008f4g_ has joined #ruby
macmartine has quit []
juanpaucar has quit [Ping timeout: 272 seconds]
mtakkman has quit [Ping timeout: 255 seconds]
zotherstupidguy has joined #ruby
<adaedra>
proxy settings can also be set from environment for some programs
RegulationD has joined #ruby
lidenskap has joined #ruby
casadei_ has joined #ruby
lidenskap has quit [Remote host closed the connection]
commondream has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lidenskap has joined #ruby
arup_r has joined #ruby
ciopte7 has joined #ruby
Hounddog has quit [Read error: Connection reset by peer]
endash has joined #ruby
casadei has quit [Ping timeout: 272 seconds]
lidenskap has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
lidenskap has joined #ruby
irc2samus has joined #ruby
freerobby has joined #ruby
devoldmx has quit [Ping timeout: 272 seconds]
devoldmx has joined #ruby
<irc2samus>
hello guys, I'm trying to run some tests for a gem but I'm getting `require': cannot load such file -- boss_struct (LoadError) and I don't know which gem has that file, I have boss 0.4 installed and `gem install boss_struct` does not find anything
<irc2samus>
also tried `gem install boss-struct` same
bjeanes has quit []
doodlehaus has quit [Ping timeout: 258 seconds]
bjeanes has joined #ruby
kirun has joined #ruby
TheNet has joined #ruby
devoldmx has quit [Remote host closed the connection]
poguez_ has quit [Quit: Connection closed for inactivity]
mjuszczak has joined #ruby
<havenwood>
irc2samus: That's an ancient gem... What are you doing to get that LoadError? There's no `require 'boss_struct'` in boss 0.4 so, something is amiss.
sent1nel has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
bigsky has quit [Read error: Connection reset by peer]
bigsky has joined #ruby
<irc2samus>
yeahh everything is a bit out of date in this project at the moment, I'll check with some coworkers to see how they run these then, thought it might be some common error. thanks havenwood
<havenwood>
irc2samus: It looks like there are newer gems that are maintained and have stuff like tests and ci. If you can swap it out I would.
kinduff has quit [Ping timeout: 272 seconds]
<havenwood>
irc2samus: Using a gem with no updates since 2008 with no tests is generally irksome. Flee!
<irc2samus>
I'll make the recommendation, they should update Rails and even Ruby as well
lordkryss has quit [Quit: Connection closed for inactivity]
<irc2samus>
not bad people honestly just a bit understaffed atm
<havenwood>
irc2samus: yboss or bossman-gem maybe, the former looks pretty good but i've not used it
qwertme has joined #ruby
pandaant has quit [Remote host closed the connection]
<havenwood>
irc2samus: yeah, seems easier to keep rails updated incrementally than letting it fall behind. i don't know if the total time of incremental upgrade is actually less but it sure feels like it compared to having things get dated and having to upgrade multiple generations at once.
<havenwood>
irc2samus: good luck!
<irc2samus>
thanks!
featheryahn_ has quit []
featheryahn_ has joined #ruby
creakybones has joined #ruby
jottr has joined #ruby
cmckee has joined #ruby
ravenreborn has quit [Ping timeout: 255 seconds]
hellschreiber has quit []
xxneolithicxx has quit [Ping timeout: 255 seconds]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
endash has quit [Quit: endash]
hellschreiber has joined #ruby
joonty has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
cmckee has quit [Remote host closed the connection]
Papierkorb has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
<pokui>
hi all, is there a way to tell attr_accessor :foo that it should raise an error if it's set to the wrong kind of value? (or doesn't have responds_to?)
<adaedra>
havenwood: are u a wizard
ki0 has quit [Client Quit]
<adaedra>
pokui: just implement foo= yourself
jottr has joined #ruby
<pokui>
adaedra: ok. was being lazy :)
kappy has joined #ruby
<adaedra>
Mh, general question
<adaedra>
How do we protect e-mails on webpages from being crawled by evil bots in 2015?
<baweaver>
images
<baweaver>
gets most of them at least
<bootstrappm>
in my experience doing something like email (at) domain (dot) com still works pretty well adaedra
<adaedra>
images - 1, (at) (dot) - 1
<baweaver>
Problem is that a clever bot is going to find both
aspiers has quit [Ping timeout: 250 seconds]
<adaedra>
image of (at) (dot)?
<adaedra>
:p
<baweaver>
security through obscurity
einarj_ has quit [Ping timeout: 245 seconds]
<bootstrappm>
def, image of (at) (dot) hahaha
xxtjaxx has quit [Remote host closed the connection]
xxtjaxx has joined #ruby
kyle____ is now known as kyle__
tjbiddle has quit [Quit: tjbiddle]
einarj has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
michael_mbp has quit [Excess Flood]
mengu has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hostess has quit [Quit: No Ping reply in 180 seconds.]
devoldmx has joined #ruby
epochwolf has quit [Excess Flood]
hostess has joined #ruby
epochwolf has joined #ruby
towski_ has quit [Quit: Leaving...]
michael_mbp has joined #ruby
baweaver has quit [Remote host closed the connection]
iamninja_ has joined #ruby
sigurding has quit [Quit: sigurding]
shuber_ has quit [Remote host closed the connection]
Kricir has joined #ruby
kenneth has joined #ruby
sent1nel has joined #ruby
jottr has quit [Read error: Connection reset by peer]
lidenskap has joined #ruby
cirn0 has quit [Remote host closed the connection]
jottr has joined #ruby
lkb has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
cirn0 has joined #ruby
enebo has joined #ruby
bruno- has joined #ruby
jokke has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
bb010g has joined #ruby
devoldmx has quit [Remote host closed the connection]
lidenskap has quit [Ping timeout: 250 seconds]
tvw has quit [Remote host closed the connection]
Beoran has joined #ruby
iamninja_ has quit [Quit: WeeChat 1.1.1]
iamninja has joined #ruby
bruno- has quit [Ping timeout: 244 seconds]
lkba has joined #ruby
echosystm has joined #ruby
lkb has quit [Quit: Wychodzi]
einarj has quit [Ping timeout: 240 seconds]
redondo has joined #ruby
einarj has joined #ruby
tautvydas has quit [Remote host closed the connection]
<redondo>
hi all, what does mean when the irb shows '?' in the prompt?
xxneolithicxx has joined #ruby
echosystm has quit [Ping timeout: 252 seconds]
<bootstrappm>
need to replace the hard drive redondo
<bootstrappm>
(that's a joke ;) )
<redondo>
:)
<bootstrappm>
did you just start irb up or did you do something?
<redondo>
I did something
<redondo>
I tried to do a for loop
Beoran has quit [Ping timeout: 256 seconds]
wallerdev has quit [Quit: wallerdev]
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bootstrappm>
put the code you tried in a gist and send it
mjuszczak has quit []
rocknrollmarc has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yh__ has joined #ruby
Beoran has joined #ruby
Prysm has joined #ruby
<That1Guy>
My understanding is that I shouldn't really have to know what those are yet for this part of the class. They said it should all be set up for me to download and I just need to make a method that follows their instructions and then paste their short thing into terminal to see if it worked.
<bootstrappm>
yeah ... how's that working out for you?
<That1Guy>
I just want to make sure that I'm not too in over my head.
<bootstrappm>
that may have been good advice if, as they said, you copied and pasted and it worked
<bootstrappm>
but it didn't
pokui has quit [Remote host closed the connection]
<bootstrappm>
so now as the learner you have more to do :)
<bootstrappm>
at the very least bundle install should have worked
<bootstrappm>
what did it tell you?
jerius has quit [Quit: /quit]
<umgrosscol>
That1Guy: Are you on a windows machine?
<That1Guy>
bundle install said that it complete
<That1Guy>
osx umgrosscoi:
<That1Guy>
then I tried to run the thing they told me to paste again and I got
<That1Guy>
ration.rb:896:in `load': cannot load such file -- /Users/TheMoores/Documents/Work/Ruby/Repos/prep-work-master/coding-test-2/practice-problems/spec/spec/00_nearest_larger_spec.rb (LoadError)
<That1Guy>
from /Users/TheMoores/.rvm/gems/ruby-2.1.3/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `block in load_spec_files'
<That1Guy>
from /Users/TheMoores/.rvm/gems/ruby-2.1.3/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `each'
Igorshp has quit [Remote host closed the connection]
<That1Guy>
from /Users/TheMoores/.rvm/gems/ruby-2.1.3/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb:896:in `load_spec_files'
<That1Guy>
from /Users/TheMoores/.rvm/gems/ruby-2.1.3/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:22:in `run'
<That1Guy>
from /Users/TheMoores/.rvm/gems/ruby-2.1.3/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
<That1Guy>
from /Users/TheMoores/.rvm/gems/ruby-2.1.3/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `block in autorun'
<umgrosscol>
bootstrappm: Odd that they threw the gemfile lock in there.
<That1Guy>
... sorry
<umgrosscol>
That1Guy: Use a paste bin like service or gist if you want to copy in code or outputs
qwertme has joined #ruby
<bootstrappm>
I always include my Gemfile.lock too :), IIRC Heroku makes you do it too
<That1Guy>
Will do.
rotcetorptekcop has quit [Remote host closed the connection]
<umgrosscol>
That1Guy: What directory are you in when you try to run the rspec command?
Spami has quit [Quit: Leaving]
turtil has quit [Ping timeout: 265 seconds]
<That1Guy>
I've tried it from a few of them
<That1Guy>
I tried lib
<That1Guy>
spec
<umgrosscol>
can you stat or ls that file? does it actually exist?
<umgrosscol>
It's looking in spec/spec/ which is not right.
einarj has quit [Ping timeout: 272 seconds]
<umgrosscol>
run the command from the practice-problems/ dir
<That1Guy>
I've also tried it from the parent dir
<bootstrappm>
do it from the root directory That1Guy
<That1Guy>
I'm going to do that again
jerius has joined #ruby
<bootstrappm>
the one above spec
treehug88 has joined #ruby
<umgrosscol>
The project root directory. Should be coding-test-2/practice-problems/
<That1Guy>
I got a different error this time
<umgrosscol>
Gist your new error.
<That1Guy>
This looks right
einarj has joined #ruby
Spami has joined #ruby
<umgrosscol>
or it's rspec output about failed tests?
sumark has quit [Remote host closed the connection]
That1Guy has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<adaedra>
mmh, code duplication
<apeiros>
mwlang: rescue A, B, C => ex
kenneth has quit [Read error: Connection reset by peer]
sumark has joined #ruby
einarj_ has joined #ruby
<mozzarella>
mwlang: did you know that you don't need the begin block in that case? it's implicit inside a function
<mwlang>
aperios, and with that, all specs pass! thanks. I was doing A => ex, B => ex, C => ex
<mwlang>
mozzarella: yeah, I know.
einarj has quit [Ping timeout: 272 seconds]
<mozzarella>
ok
<apeiros>
mwlang: tab completion for nicks
<mwlang>
apeiros: heh, I thought the tab was broke, but I was just plain misspelling
<adaedra>
It's ok, mlwang.
vdamewood has quit [Quit: Life beckons.]
lidenskap has quit [Remote host closed the connection]
<adaedra>
mh, maybe I shouldn't have swapped these two :x
<mwlang>
adaedra: :-) I’ve been programmin’ since 4am. about to wrap this thing up because I ain’t exactly thinking straight any more.
Zai00 has joined #ruby
<adaedra>
get this man a bed
Rapier- has quit [Quit: (null)]
haxrbyte has joined #ruby
<mwlang>
I agree!
aryaching has quit []
haxrbyte has quit [Remote host closed the connection]
devoldmx has joined #ruby
baroquebobcat has joined #ruby
lidenskap has joined #ruby
Rollabunna has joined #ruby
failshell has joined #ruby
<mwlang>
if there’s one thing to be said about TDD…when you’re bone-frickin-tired and you complete a feature and get specs passing, you can *still* deploy with confidence that the whole website ain’t gonna stop workin’.
zotherstupidguy has quit [Quit: leaving]
WildBamboo-Josh has joined #ruby
tvw has joined #ruby
<xxneolithicxx>
its pfchangs, what
<dudedudeman>
mwlang: please teach me the ways of the test
pizzaops has quit []
<GaryOak_>
mwlang: unless of course you don't have confidence in your tests
<dudedudeman>
but not today. tomorrow, when you're not sleeping. :P
<adaedra>
mwlang: now that you broke everything, go to sleep, before you break yourself.
<dudedudeman>
mwlang: ugh, spec style. :(
baweaver has joined #ruby
rocknrollmarc has quit []
<dudedudeman>
is there something like this for test unit style?
<mwlang>
dudedudeman: No idea. I left unit test behind years ago. I only do unit test when contributing on other people’s gems
Rollabunna has quit [Ping timeout: 258 seconds]
einarj_ has quit [Ping timeout: 276 seconds]
commondream has quit [Remote host closed the connection]
<mwlang>
dudedudeman: even so, the principals should be roughly the same.
<mwlang>
structure and naming and so on.
<dudedudeman>
right
<mwlang>
The best tests tell the user stories.
einarj has joined #ruby
<dudedudeman>
i guess, since i"m just wading in to the realm of testing, and actually caring about it, i'm looking for rich guides or thought processes to go with it
imkmf has quit [Ping timeout: 264 seconds]
<mwlang>
dudedudeman: Probably a good book on the Pragmatic bookshelf for that.
<adaedra>
tests are for the weak who can't code right the first time. :x
<eam>
adaedra: or the second time, or who share work with others who ... :D
<eam>
how will you know which you are without tests? ;)
<mwlang>
heh…problem is, those who can’t code right the first time often can’t code tests, either. :-)
<adaedra>
:-)
<adaedra>
is this why I don't do tests? :x
<eam>
mwlang: but people who can code right and who get pull requests ...
einarj has quit [Ping timeout: 256 seconds]
kenneth has joined #ruby
multi_io has quit [Ping timeout: 256 seconds]
einarj has joined #ruby
kenneth has quit [Max SendQ exceeded]
Beamed is now known as beamed_down
kenneth has joined #ruby
multi_io has joined #ruby
black_ has joined #ruby
<mwlang>
personally, I’m glad to see that the dogma has largely disappeared (I don’t see ppl running around yellin’ “TATFT”) and everyone collectively glaring down the newbies with “why aren’t you testing?” bullying glares.
baweaver has quit [Remote host closed the connection]
inspiron has quit [Ping timeout: 240 seconds]
kenneth has quit [Read error: Connection reset by peer]
jespada has quit [Ping timeout: 244 seconds]
mjuszczak has joined #ruby
<mwlang>
its just another tool in the tool box of the well-balanced developer’s repertoire
<eam>
absolutely
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
bmurt has quit []
io_syl has joined #ruby
bashusr has quit [Ping timeout: 272 seconds]
<adaedra>
but it's sooo boring to do :'(
sdothum has joined #ruby
bashusr has joined #ruby
IrcDroidClient has joined #ruby
einarj has quit [Ping timeout: 258 seconds]
<bootstrappm>
i like 'em
<bootstrappm>
don't do 'em much
<bootstrappm>
but like when i do them. its like a level of satisfaction and peace of mind that you don't get when you just write something
<dudedudeman>
our office has about a 1:2 ratio of code to tests
<dudedudeman>
1 line of code for every 2 lines of testing
TheNet has joined #ruby
CaptainCibai has joined #ruby
einarj has joined #ruby
umgrosscol has quit [Quit: Quit]
<adaedra>
that's good
<adaedra>
I've been taught that it's coverage the metric to look at, though.
wildroman2 has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
wildroman2 has joined #ruby
RegulationD has quit [Remote host closed the connection]
<eam>
there isn't really a meaningful metric
jenrzzz has quit [Ping timeout: 265 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam>
eg what's "coverage" on a method called add(i,j)
JDiPierro has quit [Remote host closed the connection]
n1ftyn8 has quit []
julieeharshaw has quit [Ping timeout: 255 seconds]
<eam>
if I'm implementing an add method I'm going to need tests for all the tricky corner cases, there's no generic metric to tell me if I've enumerated them
n1ftyn8 has joined #ruby
<adaedra>
yes, true
<adaedra>
there's also rules for that, but not really measurable
<adaedra>
At least coverage is measurable
Pumukel has joined #ruby
leafybasil has joined #ruby
<eam>
yeah it's an ok minimal check "you didn't even try over here"
kenneth has joined #ruby
iliketurtles has quit [Read error: Connection reset by peer]
einarj has quit [Ping timeout: 276 seconds]
crack_user has quit [Quit: Leaving.]
iliketurtles has joined #ruby
einarj has joined #ruby
vikaton has joined #ruby
ldnunes has quit [Quit: Leaving]
Juanchito has quit [Quit: Connection closed for inactivity]
kobain has quit [Ping timeout: 265 seconds]
julieeharshaw has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
CaptainCibai has quit [Remote host closed the connection]
failshell has quit []
CaptainCibai has joined #ruby
reprazent has quit [Quit: Bye]
<dudedudeman>
meh. puma is freaking out on me when i try to start my app... tells me my connection_adapter isn't set? but... i'd like to argue with the computer and say that it is...
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has quit [Quit: zzzzz…..]
Jarboe has joined #ruby
julieeharshaw has quit [Ping timeout: 250 seconds]
ismaelga has joined #ruby
St1gma has quit [Quit: Leaving]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra>
You can yell at it
<dudedudeman>
done that
kirun has quit [Quit: Client exiting]
kobain has joined #ruby
einarj has quit [Ping timeout: 265 seconds]
aspiers has quit [K-Lined]
Jackneill has quit [Remote host closed the connection]
__chris has quit [Quit: This computer has gone to sleep]
<adaedra>
Louder.
einarj has joined #ruby
julieeharshaw has joined #ruby
doodlehaus has quit [Remote host closed the connection]
crdpink has quit [Quit: q term]
__chris has joined #ruby
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/20150513174244]]
RegulationD has joined #ruby
kenneth has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 255 seconds]
einarj has joined #ruby
Aww is now known as PrincessAww
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ravenreborn_ has quit [Ping timeout: 258 seconds]
<havenwood>
xxneolithicxx: The whole of chruby is less code than the plugin. I'd use chruby with --user-install gems for what I consider a much simpler setup. But for your issue, have you tried $HOME instead of ~?
<havenwood>
xxneolithicxx: oh, you were saying that fixed it, nevermind me. just reread and it clicked.
reinaldob has joined #ruby
baweaver has quit [Remote host closed the connection]
ravenreborn has joined #ruby
casadei_ has quit [Remote host closed the connection]
casadei has joined #ruby
speakingcode has quit [Ping timeout: 246 seconds]
fmcgeough has quit [Quit: fmcgeough]
khebbie has joined #ruby
qwertme has joined #ruby
Rollabunna has joined #ruby
bashusr has quit [Ping timeout: 246 seconds]
reinaldob has quit [Ping timeout: 252 seconds]
casadei has quit [Remote host closed the connection]
<weaksauce>
ProLoser you do validation with validations not through strong_params
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
cmckee has joined #ruby
KasMage has joined #ruby
DigitalDayTrader has joined #ruby
djbkd has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 244 seconds]
cosmicexplorer has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
bashusr has quit [Ping timeout: 264 seconds]
jespada has quit [Ping timeout: 246 seconds]
bashusr has joined #ruby
rodferso1 has quit [Remote host closed the connection]
ravenreborn has quit [Ping timeout: 255 seconds]
maZtah has quit []
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenreborn has joined #ruby
That1Guy has joined #ruby
elfuego has quit [Quit: elfuego]
maZtah has joined #ruby
mjuszczak has quit []
jenrzzz has quit [Ping timeout: 256 seconds]
ciopte7 has joined #ruby
cirn0 has joined #ruby
ciopte7 has quit [Client Quit]
<zenspider>
xxneolithicxx: I use my 'ohmygems' lib for private gem repos (current: `omg bisectbug`), but it really is just a matter of setting GEM_HOME and extending your path.
bashusr has quit [Ping timeout: 245 seconds]
einarj has quit [Ping timeout: 240 seconds]
elfuego has joined #ruby
einarj has joined #ruby
cirn0 has quit [Remote host closed the connection]
gambl0re has quit [Ping timeout: 258 seconds]
bashusr has joined #ruby
chrisja has quit [Quit: leaving]
mhib has quit [Remote host closed the connection]
jenrzzz has joined #ruby
ravenreborn_ has joined #ruby
thatslifeson has quit [Remote host closed the connection]
shevy has joined #ruby
elfuego has quit [Client Quit]
shevy has quit [Client Quit]
creakybones has quit [Ping timeout: 240 seconds]
Rarikon has quit [Read error: Connection reset by peer]
shevy has joined #ruby
ravenreborn has quit [Ping timeout: 244 seconds]
ravenreborn has joined #ruby
casadei has quit [Remote host closed the connection]
Hijiri has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<xxneolithicxx>
poor souls, this rbenv install is using stuff still managed in subversion
* xxneolithicxx
forces self to install subversion for first time ever
havenwood has quit []
airdisa_ has joined #ruby
airdisa has quit [Ping timeout: 265 seconds]
ChampS_ has quit []
ravenreborn_ has quit [Ping timeout: 244 seconds]
baweaver has joined #ruby
creakybones has joined #ruby
creakybones has quit [Changing host]
creakybones has joined #ruby
renier has joined #ruby
x1337807x has joined #ruby
jtdowney has quit []
iliketurtles has joined #ruby
gizless has quit [Ping timeout: 245 seconds]
ravenreborn has quit [Ping timeout: 272 seconds]
einarj has quit [Ping timeout: 256 seconds]
einarj has joined #ruby
DerisiveLogic_ has quit [Ping timeout: 276 seconds]
kenneth__ has joined #ruby
renier has quit [Client Quit]
kenneth has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Ping timeout: 252 seconds]
crack_user has joined #ruby
RegulationD has quit [Remote host closed the connection]
<Aeyrix>
Gross, no.
<Aeyrix>
Use Mercurial.
kenneth__ has quit [Read error: Connection reset by peer]
kenneth has joined #ruby
DigitalDayTrader has quit [Read error: Connection reset by peer]
cirn0 has joined #ruby
Lucky__ has joined #ruby
khebbie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bogdanteleaga has quit [Ping timeout: 250 seconds]
<shevy>
Gross.
<xxneolithicxx>
:-) i love my old git
kenneth has quit [Read error: Connection reset by peer]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
PrincessAww is now known as Aww
einarj has quit [Ping timeout: 252 seconds]
kenneth has joined #ruby
reinaldob has joined #ruby
<xxneolithicxx>
so what he learned today folks
<xxneolithicxx>
*have we
<Aeyrix>
The fact that some of Git is in C, some in Python, some in Tcl irks me.
<xxneolithicxx>
hit me wit some knowledges, johnny 5 needs input
x1337807x has quit [Ping timeout: 265 seconds]
<Aeyrix>
I have no actual reasonable justification for being irked by it, but I am.
Vile` has joined #ruby
einarj has joined #ruby
<xxneolithicxx>
christ that reminds me of a very particular airplane engine manufacturing company that used Tcl/Tk for just about all their tools
<xxneolithicxx>
love motif anyone?
<shevy>
I thought Git is in perl
<xxneolithicxx>
no, i think its a mix of bash and C
ciopte7 has joined #ruby
ciopte7 has quit [Client Quit]
elfuego has joined #ruby
<xxneolithicxx>
or at least gitweb was when i compiled it months ago
<shevy>
man
<shevy>
look at what I found just now:
psy_ has quit [Ping timeout: 265 seconds]
<shevy>
git-2.3.5/t/gitweb-lib.sh:
<shevy>
an innocent .sh script
<shevy>
and here comes the big one
<shevy>
t/gitweb-lib.sh:#!/usr/bin/perl
<shevy>
IT GENERATES SOME PERL CODE!!!
<shevy>
is this madness?
spider-mario has quit [Read error: Connection reset by peer]
<xxneolithicxx>
why even call it .sh then
<xxneolithicxx>
not that it matters
reinaldob has quit [Ping timeout: 252 seconds]
kenneth has quit [Max SendQ exceeded]
<xxneolithicxx>
i distinctly remember compiling gitweb, did they change it
kenneth has joined #ruby
<shevy>
it generates some perl code
<shevy>
perhaps it bootstraps or something
<xxneolithicxx>
kernel hacker level
<shevy>
it's the linux tradition xxneolithicxx
<shevy>
it's all shit
<shevy>
but it works
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<xxneolithicxx>
ill take that shit over Windows any day buddy
icebourg has quit []
bogdanteleaga has joined #ruby
<shevy>
windows is just worse shit
<eam>
shevy: at least it's not generating ruby eh
lkba has quit [Ping timeout: 256 seconds]
<shevy>
eam oh but there is!
<eam>
I know you think perl is ugly but everyone knows true beauty is on the inside
sepp2k has quit [Quit: Leaving.]
<shevy>
git-instaweb.sh:#!/usr/bin/env ruby
<shevy>
here is the line preceding that
<shevy>
cat >"$fqgitdir/gitweb/$httpd.rb" <<EOF
airdisa_ has quit []
<shevy>
Aeyrix so now you see, we also have perl and ruby there!
blackmesa has quit [Quit: WeeChat 1.1.1]
danman has quit [Quit: danman]
<xxneolithicxx>
eam: is that the line you give your friend when talking about your fat girl Perl?
nso95 has joined #ruby
<xxneolithicxx>
:-P
kenneth has quit [Read error: Connection reset by peer]
<eam>
ok so it's a HEREDOC? ruby supports heredoc too
<eam>
xxneolithicxx: more cushin' for the pushin'
kenneth has joined #ruby
thatslifeson has joined #ruby
TigerWolf has joined #ruby
Soda has quit [Remote host closed the connection]
<xxneolithicxx>
i have to say its a hell of a creative mix
havenwood has joined #ruby
<eam>
here's the same line in ruby, you tell me what's more ugly: print "#{$fqgitdir}/gitweb/#{$httpd}.rb" <<EOF
shazaum has quit [Quit: Leaving]
<shevy>
this is ugly
<shevy>
why don't you write beautiful ruby code eam
<eam>
I do :(
<shevy>
the wicked perl is still ingrained in your brain
<eam>
at least in perl, sprintf is actually sprintf, and there's a clear "q" around stringy quote with variable delimiters
Lucky__ has quit [Client Quit]
blizzy has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
<eam>
anyone here good with ruby c extensions? my extension isn't building
saadq has joined #ruby
<eam>
works fine with `rake compile` but for some reason the gem "extensions" field is not actually driving a build at install time
<shevy>
I realized that in order to write ruby c extensions
einarj has quit [Ping timeout: 246 seconds]
<shevy>
one should first get to understand C
<ebonics>
you know when you leave a codebase for a couple months then get back and expect your task to be the worst thing in your life
<saadq>
hey guys, i just installed ruby and rails, and my terminal has become weird. It shows the current version of Ruby instead of my name and it switched to zsh I think it used to be bash before http://i.imgur.com/Y5ZzvpP.png
<ebonics>
then you come back and realise past you accounted for the possibility of that happening and implemented code to ease the pain
<ebonics>
i actually love past me
<saadq>
any help would be appreciated
_blizzy_ has quit [Ping timeout: 244 seconds]
<shevy>
ebonics I feel like that ALL the time
<shevy>
my code has a life on its own
<ebonics>
shevy, same lol
<ebonics>
it feels so good
<ebonics>
you're like FML
<shevy>
I hate this
<ebonics>
then you're like :))))))))))))))
<shevy>
I am like :((((
crack_user has quit [Quit: Leaving.]
<ebonics>
:o why
Agoldfish has quit [Ping timeout: 258 seconds]
einarj has joined #ruby
<shevy>
because it's like stealing time
<shevy>
I don't want to spend time creating things
<shevy>
I want to create things
cirn0 has quit [Remote host closed the connection]
kenneth has joined #ruby
ismaelga has quit [Remote host closed the connection]
veduardo has joined #ruby
yh__ has quit [Ping timeout: 246 seconds]
kenneth has quit [Read error: Connection reset by peer]
Agoldfish has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
kenneth has joined #ruby
einarj has quit [Ping timeout: 252 seconds]
cirn0 has joined #ruby
casadei has joined #ruby
jpstokes has quit [Ping timeout: 265 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
jespada has joined #ruby
ortuna has joined #ruby
<bootstrappm>
ebonics past you sounds like a cool dude / dudette
kenneth has quit [Read error: Connection reset by peer]
Lucky__ has joined #ruby
<bootstrappm>
I tend to leave behind comments like "You know this shouldn't work like this"
<bootstrappm>
then I come back and re-read the code and I'm like oh yeah, whoa, definitely shouldn't work like that
jackjackdripper has quit [Quit: Leaving.]
einarj has joined #ruby
<havenwood>
saadq: How would installing Rails switch your shell? Did you just have some shell plugin you were already using that changes your prompt when Rails is detected?