<jhass>
Diabolik: check the docs, they'll get you started with the project setup
gkra has joined #ruby
<jhass>
claw: you did notice the .lazy. in there?
Limix has joined #ruby
<claw>
i just looked that up jhass
<claw>
did not know lazy before
<claw>
and thats what i was searching
mello has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby
bkxd has joined #ruby
Agoldfish has quit [Quit: G'Bye]
bruno- has quit [Ping timeout: 256 seconds]
codeFiend has quit [Quit: codeFiend]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
railsForDaiz has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
Lucky__ has joined #ruby
iamninja has joined #ruby
davedev24_ has quit [Ping timeout: 276 seconds]
davedev24_ has joined #ruby
OrbitalKitten has joined #ruby
sinkensabe has joined #ruby
veduardo has quit [Ping timeout: 272 seconds]
railsForDaiz has quit [Read error: Connection reset by peer]
lennae has joined #ruby
Kevifo has joined #ruby
<Kevifo>
So in Ruby, private protects against an explicit receiver?
<Xtopherus`>
exactly
zarubin has joined #ruby
spiderbyte has quit [Ping timeout: 265 seconds]
<Kevifo>
What's the point really?
jenrzzz has joined #ruby
arescorpio has quit [Quit: Leaving.]
zarubin has quit [Ping timeout: 255 seconds]
spiderbyte has joined #ruby
gluten_hell_ has joined #ruby
<jhass>
declaring intent
mistermocha has joined #ruby
_ht has quit [Remote host closed the connection]
_ht has joined #ruby
cryptarium has joined #ruby
kayloos has joined #ruby
bogdanteleaga has quit [Ping timeout: 246 seconds]
gluten_hell_ has quit [Ping timeout: 265 seconds]
kalusn has quit [Ping timeout: 265 seconds]
Muhannad has joined #ruby
mistermocha has quit [Ping timeout: 265 seconds]
<Kevifo>
In the pickaxe book, are there only the first 400 pages that describes the language?
robustus has quit [Ping timeout: 255 seconds]
Muhannad has quit [Max SendQ exceeded]
<Kevifo>
I think the other pages describe the modules and standard class methods etc.
Muhannad has joined #ruby
asteros has joined #ruby
Limix has quit [Quit: Limix]
jenrzzz has quit [Ping timeout: 272 seconds]
asteros has quit [Client Quit]
bogdanteleaga has joined #ruby
kinduff has quit [Ping timeout: 244 seconds]
robustus|Off has joined #ruby
robustus|Off is now known as robustus
ddarkpassenger has joined #ruby
<Jello_Raptor>
aargh :/
RegulationD has joined #ruby
Hijiri has quit [Ping timeout: 272 seconds]
chipotle has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Jello_Raptor>
when I try to use "require 'rake'" it immidiately turns my application into a full rake task, before I can actually monkey-patch the internals.
knowtheory has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
codeFiend has joined #ruby
ghr has joined #ruby
cubesandcode has joined #ruby
c_u_u_n_t_ has joined #ruby
<c_u_u_n_t_>
hi
<jhass>
!kick c_u_u_n_t_ try a better nick
c_u_u_n_t_ was kicked from #ruby by ruboto [try a better nick]
c_u_u_n_t_ has joined #ruby
<c_u_u_n_t_>
what is wrong with my nick?
kinduff has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
<jhass>
don't argue, you have one minute
<c_u_u_n_t_>
I'm not arguing. you're being disrespectful
<jhass>
30 seconds
<c_u_u_n_t_>
#Ruby does not kindly welcome new users
<c_u_u_n_t_>
the #Ruby community is very hostile and toxic
<ScriptGeek>
I'm looking to make a UI menu system for a text console program that uses recursion to navigate through a nested set of hashes and at some point I need to make calls to methods from within this recursive conundrum.
<ScriptGeek>
havenwood: what does the >> mean ?
S3thc0n has joined #ruby
_ht has quit [Quit: Konversation terminated!]
<havenwood>
ScriptGeek: Just tells the bot to eval it.
<ruboto>
kinduff # => undefined local variable or method `hi' for main:Object (NameError) ...check link for more (https://eval.in/373156)
<postmodern>
if i include the same module into multiple classes, and it defines the same protected method, can those classes access it from each other?
ag4ve has joined #ruby
<ag4ve>
any intro tutorials for ruby syntax/parsing, variable types, blocks, scoping, sourcing/requiring
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ag4ve>
i want intro, but not the hello world stuff - i'm quite familiar with bash, perl, and some python, so don't want "this is a loop" but "this is how you uxe x feature of another language here" or "this is different"
<ag4ve>
ah yeah, quickref looks like what i want - thanks
havenwood has quit [Remote host closed the connection]
<jhass>
ag4ve: also good might be to port one of your smaller scripts with that to ruby and then ask for style review here ;)
<ag4ve>
hmmm, i don't see any discussion on scope or sourcing/namespace in that ref
kayloos has quit []
<ag4ve>
s/ref/quickref/
Brozo has quit [Remote host closed the connection]
<jhass>
modules are used as namespace, there's no "load file under this namespace"
<jhass>
the toplevel is Object
<jhass>
classes are modules, so they can be used as namespace too
<ag4ve>
so you can't import functions from a module?
<jhass>
no
<jhass>
you load files in ruby, not modules
<jhass>
the files may define whatever, it's just convention
Exponential has joined #ruby
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
<ag4ve>
and documentation in ruby? pod or something else?
aphprentice_ has quit [Ping timeout: 246 seconds]
cubesandcode has quit [Remote host closed the connection]
<jhass>
rdoc and yard are the major formats, cli tool for accessing rdoc docs is ri, cli tool for yard docs is yri. rdoc comes with ruby, yard is a gem (library)
Brozo has joined #ruby
<jhass>
notations are Class#instance_method and Class:class_method
<jhass>
for doc
<jhass>
er, ::, not :
axilla has quit [Quit: Lost terminal]
<jhass>
popular online docs are ruby-doc.org and rubydoc.info
<ag4ve>
i can handle rdoc :)
mello has joined #ruby
pengin has quit [Ping timeout: 255 seconds]
ghr has joined #ruby
<ag4ve>
ah, so rdoc is just formatted comments?
<jhass>
both are, yup
<ag4ve>
weird, ok
User458764 has joined #ruby
EllisTAA has joined #ruby
mello has quit [Ping timeout: 264 seconds]
<EllisTAA>
can anyone tell me how to use ARGV? i googled it but nothing good came up
juanda has quit [Quit: juanda]
<jhass>
treat it like an array
Soda has joined #ruby
<jhass>
put p ARGV into a foo.rb
<jhass>
do ruby foo.rb; ruby foo.rb a b c
ghr has quit [Ping timeout: 264 seconds]
<ag4ve>
ok, i don't get this and pp isn't showing me why:
<EllisTAA>
so do i always have to put the p for it to work?
<jhass>
no
<EllisTAA>
so i put p argv anywhere where i want user input?
<jhass>
the p is puts ARGV.inspect
<jhass>
it's just so you can look at it
<jhass>
as said, treat it like an array
<EllisTAA>
so i put p ARGV in a file and when i ran it it returned an empty array. how could i get stuff into it?
<jhass>
EllisTAA: I gave you two commands
<EllisTAA>
ok intersting. how does it know to put a b and c into the argv?
<jhass>
it's what ARGV is
<jhass>
the commandline arguments
<jhass>
experiment with calling it in different ways with different arguments
<EllisTAA>
gotcha so argv is used specifically for command line programs? like i would write a file and the user would run it and add in some things that could be treated as options? like git commit -m “asdfad” could be using argv?
allcentury has quit [Ping timeout: 265 seconds]
<jhass>
it could, yes
<EllisTAA>
when would i use argv and not gets?
<jhass>
they're vastly different
<EllisTAA>
seems like they both accept input
<jhass>
gets reads from standard input, ARGV are the programs arguments (in fact any method of invoking a program can provide these)
<EllisTAA>
ok so argv is for program arguments so it wouldn’t be used for regular input
Azure has quit [Remote host closed the connection]
<ScriptGeek>
What is the meaning of this syntax? {newline: method(:puts)}[:newline].call
powder has quit [Quit: leaving]
havenwood has joined #ruby
<shevy>
and I get line-by-line input in a: loop { line = std_out.gets
<shevy>
but line may be nil, and I assume it happens because some error happens
<shevy>
ScriptGeek this seems to be a hash
<MrBeardy>
ScriptGeek: Seems redundant, send(:puts) looks like it would achieve the same result
<shevy>
method() is a method -> method :puts # => #<Method: Object(Kernel)#puts>
[A]rmandoo has left #ruby [#ruby]
<MrBeardy>
unless the hash is related to something, other than just being written as a standalone hash
<shevy>
yeah it looks as if someone made a puts call more complicated than necessary
<ScriptGeek>
yeah, I'm trying to put a method reference into a hash value
zarubin has joined #ruby
<shevy>
ScriptGeek the part [:newline] is simply on a hash object, you ask for the value of the symbol-key called :newline
<ScriptGeek>
so like this: hash[:newline] ?
<mistergibson>
ScriptGeek : you might try MyHash[:key] = &method(:the_method_name)
<mistergibson>
just off the top of my head
<shevy>
ScriptGeek yeah
codeFiend has quit [Quit: codeFiend]
juanda has quit [Quit: juanda]
<ScriptGeek>
mistergibson: I'll give that a shot
<shevy>
I solved my problem, I needed to call the read() method on the stderror fd object std_error.read
zarubin has quit [Ping timeout: 258 seconds]
RegulationD has joined #ruby
mrsolo has joined #ruby
mistermocha has quit [Ping timeout: 265 seconds]
balazs has quit [Remote host closed the connection]
choke has quit [Ping timeout: 256 seconds]
ohaibbq has joined #ruby
TDJACR is now known as NotTheNSA
Tuccuay has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
Tuccuay has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 272 seconds]
Limix has joined #ruby
Limix has quit [Client Quit]
roolo_ has joined #ruby
<shevy>
hmm sinatra code has curious tidbits:
<shevy>
@@eats_errors = Object.new
<shevy>
def @@eats_errors.flush(*) end
<shevy>
the .flush(*) part is to allow as many arguments as you want to?
<centrx>
yeah they all get thrown away
<centrx>
but that's not weirdest part
<shevy>
:)
roolo has quit [Ping timeout: 264 seconds]
centrx has quit [Quit: Shutting down, Please wait...]
last_staff has joined #ruby
chipotle has quit [Quit: cheerio]
mrsolo has quit [Quit: This computer has gone to sleep]
<Diabolik>
shevy i decided to make my prime_finder.rb a module
bkxd has joined #ruby
darkf has joined #ruby
choke has joined #ruby
<Jello_Raptor>
bah :/ I've no idea how to get this monkey patch working. I'm trying to patch rake internals, and a few functions out of "Rake::Module::TaskManager" I want to replace (they already exist in the original) but creating a new module with them and including it with "Rake::TaskManager" and "Rake::Application" isn't doint anything :/
prereflect has joined #ruby
NotTheNSA is now known as TDJACR
<Jello_Raptor>
i'm also including it in "Rake::Application" which imports "Rake::TaskManager" but that doesn't do anything either.
sdwrage has quit [Quit: This computer has gone to sleep]
prereflect has quit [Client Quit]
ghr has joined #ruby
<Jello_Raptor>
some of the functions work one (overwriting initialize for one) but others refuse to over ride ("enhance_with_matching_rule")
mrsolo has joined #ruby
<Jello_Raptor>
best I can tell, the latter set of functions tend to on;y be called relative to self
<doctorly>
Hello guys, I am having a problem when trying to use `green_shoes`. I cant seem to get anything to flow even when I do something as simple as: http://pastebin.com/Z3XXntgY it seems to stack elements instead of flow them. Is there something obvious I am missing or is this probably a system issue?
<MrBeardy>
doctorly: Do you need a separate flow call for each flowed block of code? Never used green_shoes, just going off one of the samples in the github repo
<havenwood>
Diabolik: So you assign it there but don't later use it.
<pontiki>
note: that is a warning, not an error
<havenwood>
Diabolik: Why do you assign it if you're not going to use it?
<havenwood>
Diabolik: Are you using it for the side effects? Should be map be an each and there be no multi assignment? Or do you mean to be using multi and something is amiss?
DerisiveLogic has quit [Ping timeout: 265 seconds]
<Diabolik>
it feeds into the matrix
<Diabolik>
in prime_grid
<Diabolik>
it was one of those "i don't know why this works but it does" moments that im trying to figure out
<doctorly>
MrBeardy: putting each element in it's own block doesn't work either, having them in a block together should work too. I have seen so many examples, and just have no idea why it won't work, it should be pretty simple.
Exuma has joined #ruby
<havenwood>
Diabolik: Ah, looking at the code you're just returning the map from that method. So just drop `multi =` since as the warning says it's unused.
<doctorly>
MrBeardy: also, I did try to put them in their own blocks when you suggested it, I wasn't dismissing it.
bkxd_ has quit [Ping timeout: 264 seconds]
doctorly has quit [Quit: leaving]
<Diabolik>
so havenwood
<Diabolik>
having done all of this
<MrBeardy>
doctorly: strange. Could it be the missing width and height? Maybe the result is being shrunk to fill the items.
<Diabolik>
typing in just prime_time into terminal doesn't launch it
<MrBeardy>
Oh, he left.
<MrBeardy>
might need bin/prime_time
<havenwood>
Diabolik: If you installed it as a gem, it would make the executable in bin/ as referenced in your gemspec available in your PATH.
<havenwood>
Diabolik: You can cd to bin/ and run ./prime_time after you `chmod +x prime_time`.
cubesandcode has joined #ruby
<havenwood>
Diabolik: To make a file executable via its shebang you need to change the file mode to allow execution.
<Diabolik>
ok i did that
chipotle has joined #ruby
<Diabolik>
but now in order to make it runnable from the home directory i need to make it a gem
<Diabolik>
?
<havenwood>
Diabolik: Like any other executable you can create a shim in a directory that's already in your PATH or make a symlink.
chipotle has quit [Client Quit]
<havenwood>
Diabolik: But yeah, if you go ahead and create a gemspec and install the gem it'd be a nice way to do all that.
<havenwood>
Diabolik: It's a good exercise to learn to create a gem.
<Diabolik>
ive built a gem before
<havenwood>
Diabolik: If I create a script I often first create a single file executable then extract it into a gem.
<pontiki>
is starting these things off by doing `bundle gem my_script -b` considered passé?
cubesandcode has quit [Remote host closed the connection]
charliesome has joined #ruby
doctorly has joined #ruby
<doctorly>
I have another question for you guys, is green_shoes the best cross-platform and easy gui gem?
mrsolo has joined #ruby
<havenwood>
pontiki: I think that's a fine way to start.
<Diabolik>
havenwood do you think the code/explanations are ok
choke has joined #ruby
<MrBeardy>
doctorly: since you left earlier: <MrBeardy> doctorly: Could it be the missing width and height? Maybe the result is being shrunk to fill the items.
bkxd has joined #ruby
<doctorly>
MrBeardy: sorry, I accidentally dc'd. I was trying to make it very big earlier to make sure, and that wasn't helping. I will try again really fast though
<MrBeardy>
doctorly: No worries about the d/c. Sorry I can't really help much other than speculate either, since I've never used the gem.
<havenwood>
Diabolik: I like the Module with module_function. I don't think 10 makes sense as a default n parameter for find_primes.
<doctorly>
MrBeardy: Yeah, that didn't work either. I am convinced it is a system issue or something now. This is supposed to be very easy haha. Thanks for the help though.
<havenwood>
Diabolik: I prefer: infinity = Float::INFINITY
<havenwood>
Diabolik: I think it's better to use the constant than rely on division to get there.
<havenwood>
Diabolik: #none? instead of !#any?
Exuma has quit []
<Diabolik>
great idea
<MrBeardy>
doctorly: I looked at the tutorials: coult it be that `para` is automatically creating a line break because it's a paragraph?
<MrBeardy>
doctorly: try edit_line and button after each other in a flow block
mistermocha has joined #ruby
baweaver has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 252 seconds]
<MrBeardy>
Oh, I was looking at the `shoes`, but `green_shoes` might have the same functions and functionality
starless has quit [Quit: Leaving]
starless has joined #ruby
kappy has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
cats has joined #ruby
codeFiend has joined #ruby
<doctorly>
MrBeardy: Ok, I got it working now. It was that I needed to specify a width for each flow. I think that is what you were saying before but I misunderstood and thought you meant width for the entire window. The flows were definitely defaulting to maximum window length and then wrapping. I am pretty sure all the guides I have been looking at are really old haha. Thanks for the help, should be pretty easy now.
Guest50824 has quit [Quit: This computer has gone to sleep]
oo_ has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
Xoro has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
oo_ has joined #ruby
<MrBeardy>
doctorly: I did mean the entire window, heh. Good job on getting it to work!
ghr has joined #ruby
rhg135 has joined #ruby
DerisiveLogic has joined #ruby
<doctorly>
MrBeardy: Oh well you were steering me in the right direction. Hopefully the chat log can help someone else in the future. Seeya, thanks again.
macmartine has joined #ruby
pengin has joined #ruby
Limix has joined #ruby
charliesome has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
Guest50824 has joined #ruby
_seanc_ has quit [Quit: _seanc_]
djbkd has quit [Quit: Leaving...]
codeFiend has quit [Ping timeout: 265 seconds]
Ropeney_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pocketprotector has quit [Ping timeout: 272 seconds]
duderonomy has quit [Ping timeout: 246 seconds]
nuck has quit [Ping timeout: 246 seconds]
ByronJohnson has quit [Ping timeout: 252 seconds]
rkazak has quit [Ping timeout: 264 seconds]
NightMonkey has quit [Ping timeout: 264 seconds]
ByronJohnson has joined #ruby
mrsolo has joined #ruby
nuck has joined #ruby
pengin has quit [Remote host closed the connection]
rkazak has joined #ruby
pengin has joined #ruby
jpfuentes2 has quit [Ping timeout: 264 seconds]
choke has quit [Quit: Leaving]
braincra- has joined #ruby
charliesome has quit [Quit: zzz]
djbkd has joined #ruby
mrsolo has quit [Ping timeout: 244 seconds]
choke has joined #ruby
Limix has quit [Ping timeout: 256 seconds]
NightMonkey has joined #ruby
braincrash has quit [Ping timeout: 265 seconds]
pengin has quit [Ping timeout: 246 seconds]
djbkd has quit [Client Quit]
scripore has quit [Quit: This computer has gone to sleep]
EllisTAA has quit [Quit: EllisTAA]
jpfuentes2 has joined #ruby
macmartine has quit [Remote host closed the connection]
jpfuentes2 has quit [Client Quit]
pocketprotector has joined #ruby
nuck has quit [Read error: Connection reset by peer]
scripore has joined #ruby
macmartine has joined #ruby
EllisTAA has joined #ruby
last_staff has quit [Quit: last_staff]
darkf has quit [Read error: Connection reset by peer]
Hobogrammer has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
nuck has joined #ruby
darkf has joined #ruby
nateberkopec has joined #ruby
choke has quit [Quit: This computer has gone to sleep]
choke has joined #ruby
RegulationD has joined #ruby
Musashi007 has quit [Quit: Musashi007]
RegulationD has quit [Ping timeout: 246 seconds]
scripore has quit [Quit: This computer has gone to sleep]
jenrzzz has joined #ruby
towski_ has joined #ruby
betahikaru has quit []
commondream has quit [Remote host closed the connection]
zarubin has joined #ruby
commondream has joined #ruby
arescorpio has quit [Quit: Leaving.]
towski_ has quit [Ping timeout: 252 seconds]
The_Phoenix has joined #ruby
zarubin has quit [Ping timeout: 245 seconds]
towski_ has joined #ruby
Brozo has quit [Quit: Leaving...]
<EllisTAA>
can anyone recommend some good code for me to read?
jenrzzz has quit [Ping timeout: 252 seconds]
Xiti has quit [Quit: Xiti]
scripore has joined #ruby
balazs has joined #ruby
commondream has quit [Remote host closed the connection]
Xiti has joined #ruby
commondream has joined #ruby
commondream has quit [Remote host closed the connection]
<EllisTAA>
existensil: what should i read after the readme
ismaelga has joined #ruby
<existensil>
the examples. learning the concurrency patterns is super useful. Then, I'd move on to looking at the code which enables the various patterns.
<existensil>
to see how they implemented them in Ruby
Exuma has joined #ruby
commondream has joined #ruby
Exuma has quit [Client Quit]
ismaelga has quit [Remote host closed the connection]
ghr has joined #ruby
ohaibbq has quit [Quit: Leaving...]
techsilo has quit [Quit: Leaving]
ismaelga has joined #ruby
<existensil>
To really answer what code to read you first have to answer what you want to learn
<EllisTAA>
existensil: i want to learn whatever will make me attractive to employers, then i want to learn things that will allow me to build cool software, but first just what employers want
<existensil>
in that case you should probably be reading guides.rubyonrails.org and github.com/rails/rails
<EllisTAA>
cool ty
commondream has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 265 seconds]
<EllisTAA>
what do companies use sinatra for?
<existensil>
You should also come up with something to learn other than "what looks good to employers". What looks good is the ability to see a problem and solve it, so find one and learn what you need to solve it with software.
<existensil>
sinatra is used for small web services, APIs, or really anything. It's a tool to make applications that communicate over http, just like rails.
<existensil>
It's just much smaller and simpler than rails
<existensil>
easier to get started, but does less for you
<EllisTAA>
i see… what’s an example of a small web service?
balazs has quit [Remote host closed the connection]
macmartine has quit []
_seanc_ has joined #ruby
<skinny_much>
i used Sinatra to quickly get and show a Slack.com's chatrooms messages and other basic info with the database that I was putting the data into when I was messing around because of Slack's free tier 10K message limit
<existensil>
I'm using it right now for a simple bookmark sync service
<existensil>
API only, few endpoints, speaks in JSON. Rails would be overkill.
watchtheblur has joined #ruby
sjums has left #ruby [#ruby]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
Xiti has quit [Quit: Xiti]
riotjone_ has joined #ruby
<EllisTAA>
:)
tesuji has joined #ruby
<EllisTAA>
can someone help me understand databinding? it sounds like it connects the view to the controller?
lindii_ has quit [Ping timeout: 245 seconds]
Xiti has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
riotjone_ has quit [Ping timeout: 240 seconds]
cubesandcode has joined #ruby
cubesandcode has quit [Remote host closed the connection]
yh has quit [Ping timeout: 252 seconds]
haxrbyte has joined #ruby
A205B064 has joined #ruby
joneshf-laptop has quit [Ping timeout: 256 seconds]
haxrbyte_ has joined #ruby
mistermocha has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marsjaninzmarsa has quit [Ping timeout: 246 seconds]
doodleha_ has quit [Read error: Connection reset by peer]
starless has quit [Quit: Leaving]
towski_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
doodleha_ has joined #ruby
Igorshp has joined #ruby
Asher has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
towski_ has quit [Ping timeout: 256 seconds]
blackmesa has joined #ruby
Musashi007 has joined #ruby
doodleha_ has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
bkxd has joined #ruby
iamdoo2 has joined #ruby
sandstrom has joined #ruby
oo_ has quit [Ping timeout: 245 seconds]
Jackneill has joined #ruby
doodleha_ has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
meph has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
Joufflu has quit [Read error: Connection reset by peer]
mujou has joined #ruby
<whomp>
say i have a var, "s", and i want to either get nil if s is nil or else get s.strip. how can i do this? i tried s.try(:strip) but i guess nil doesn't have the method try
<apeiros>
whomp: try is a rails method. in rails, nil has try (it'd be pointless otherwise), but plain ruby doesn't have try
<apeiros>
in plain ruby, you can so: s && s.strip
<apeiros>
or you use the active_support gem which provides try.
<whomp>
apeiros, thx :)
<apeiros>
yw
doodleha_ has joined #ruby
randiman has quit [Quit: (null)]
doodleh__ has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
doodleh__ has quit [Read error: Connection reset by peer]
sinkensabe has quit [Remote host closed the connection]
doodleha_ has joined #ruby
sinkensabe has joined #ruby
TinkerTyper has quit [Ping timeout: 244 seconds]
doodleha_ has quit [Read error: Connection reset by peer]
CloCkWeRX has quit [Ping timeout: 256 seconds]
sinkensabe has quit [Remote host closed the connection]
psy_ has joined #ruby
IrishGringo has quit [Ping timeout: 256 seconds]
mello has joined #ruby
TinkerTyper has joined #ruby
kristofferR has quit [Read error: Connection reset by peer]
doodleha_ has joined #ruby
Igorshp has quit [Ping timeout: 264 seconds]
doodleha_ has quit [Read error: Connection reset by peer]
lkba has joined #ruby
kristofferR has joined #ruby
pengin has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #ruby
kristofferR has quit [Read error: Connection reset by peer]
lkba_ has quit [Ping timeout: 272 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has joined #ruby
ghr has joined #ruby
doodleha_ has joined #ruby
DexterLB has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
lkba has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 272 seconds]
pengin has quit [Remote host closed the connection]
DexterLB has joined #ruby
pengin has joined #ruby
cryptarium has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.2]
hmnhf has joined #ruby
pengin has quit [Ping timeout: 256 seconds]
pandaant has joined #ruby
bluish has joined #ruby
doodleha_ has joined #ruby
ismaelga has quit [Remote host closed the connection]
jamesbrink has quit []
chinmay_dd has quit []
toretore has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
zipace has joined #ruby
mistermocha has joined #ruby
Musashi007 has quit [Quit: Musashi007]
doodleha_ has joined #ruby
TinkerTyper has quit [Ping timeout: 250 seconds]
zotherstupidguy has joined #ruby
konsolebox has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
doodleha_ has quit [Read error: Connection reset by peer]
konsolebox has quit [Read error: Connection reset by peer]
meph has quit [Quit: Leaving.]
doodleha_ has joined #ruby
hardlin3r has joined #ruby
doodleha_ has quit [Read error: Connection reset by peer]
zotherstupidguy has quit [Client Quit]
TinkerTyper has joined #ruby
mistermocha has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1.1]
oo_ has joined #ruby
doodleha_ has joined #ruby
peteykun has joined #ruby
baweaver has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
Rollabunna has joined #ruby
doodleha_ has quit [Ping timeout: 265 seconds]
mandarinkin has joined #ruby
konsolebox has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
platzhirsch has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
platzhirsch has left #ruby [#ruby]
cubesandcode has joined #ruby
<ddfreyne>
I'm interested in trying out whether using a Some(x)/None style in Ruby works well. I suppose a None could implement #nil? and #! and it'd behave pretty normally.
<ScriptGeek>
Is it possible to store parameters along with its method within the same hash value?
Narzew has joined #ruby
<Mon_Ouie>
Not really though. 'if !x' and 'if x' would do the same thing if you redefine '!', that's probably what makes custom null-objects most confusing.
<ddfreyne>
Mon_Ouie: Yeah, I guess.
The_Phoenix has quit [Quit: Leaving.]
Guest50824 has quit [Quit: This computer has gone to sleep]
bruno- has joined #ruby
bosma has quit [Quit: Leaving]
watchtheblur has quit [Ping timeout: 276 seconds]
<jhass>
ScriptGeek: just store an array of them
<ScriptGeek>
jhass: you mean store an array of parameters as another value separate from the method value?
<jhass>
ScriptGeek: key => [method(:x), params]
<jhass>
or maybe a proc is better in your case
<jhass>
key => proc { a.x(params) }
<ScriptGeek>
I'm not sure, I'm building a nested hash that acts as the entire UI for my console program
<jhass>
yeah, sounds a bit like you're reinventing the class system
m8 has joined #ruby
<jhass>
why not create a standard class hierarchy? component pattern or something
<ScriptGeek>
I thought it might be nifty to use nested hashes like a menu tree
<shevy>
Diabolik the main point is that your bin/prime_finder file right now calls 4 different classes; that is not good. push that functionality into your module
<jhass>
kubunto: seems properly released as gem, gem install exifr
lukequaint has joined #ruby
<shevy>
Diabolik my (forever unfinished) diamond shell has essentially these two lines: http://pastie.org/10216270
<kubunto>
sweet
woodennails has joined #ruby
mcpierce has joined #ruby
<kubunto>
how do i get a list of my current gems?
<shevy>
Diabolik also make sure you listen to proper music while you are coding
<Diabolik>
jhass i was having a direct conversation with shevy
<Diabolik>
but ok
Rollabunna has quit [Quit: Leaving...]
<shevy>
I don't mind
<shevy>
btw Diabolik
kinduff has joined #ruby
kinduff has joined #ruby
<jhass>
Diabolik: well, wasn't sure whether you've seen my earlier nudge when you clearly weren't having any and called people out
<shevy>
not important, but I think it may be better if you word documentation in an objective manner
<Diabolik>
when i try to run the code
<Diabolik>
i get
<shevy>
I mean it's ok if you use it as a reminder of what you did and such
<Diabolik>
from bin/prime_time:7:in `<main>'
<Diabolik>
/Users/andrew/code/PrimeTime/lib/prime_finder.rb:8:in `run': undefined local variable or method `primes_count' for PrimeFinder:Module (NameError)
<Diabolik>
from bin/prime_time:7:in `<main>'
<shevy>
but the first/primary objective should be to describe what the method should do
<shevy>
well
<shevy>
you use lots of references to undefined local variables
<shevy>
where did they come from?
<shevy>
and if it is a method, then it just can not be found there
<shevy>
what is primes_count
<shevy>
a variable?
ghr has quit [Ping timeout: 272 seconds]
ChoiKyuSang has left #ruby ["Closing Window"]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kinduff_>
could someone help me out refactoring that last method?
<kinduff_>
Was using case statemets but they worked a little bit weird
cubesandcode has quit []
cubesandcode has joined #ruby
cubesandcode is now known as saadq
Scully has joined #ruby
<Scully>
hi
ChoiKyuSang has joined #ruby
edwinvdg_ has quit [Ping timeout: 240 seconds]
<kinduff_>
\quit
kinduff_ has quit [Quit: leaving]
kinduff has joined #ruby
kinduff has quit [Changing host]
kinduff has joined #ruby
<Scully>
ayone wanna chat?]
zotherstupidbot has joined #ruby
<zotherstupidbot>
exit
<penpen>
Scully: On "the truth is out there"?
zotherstupidbot has quit [Client Quit]
<Scully>
exactly...
balazs has joined #ruby
<penpen>
Wrong channel I'd say
zotherstupidguy has joined #ruby
<Scully>
uhm...so what channel should i be?
balazs has quit [Remote host closed the connection]
balazs has joined #ruby
<penpen>
yikes, freenode has an awful lot of channels
<Scully>
actually i´d say i am a litlle bit lost
sinkensabe has joined #ruby
<havenwood>
Scully: Do you want to discuss Ruby?
_seanc_ has joined #ruby
<havenwood>
kinduff: How about?: case [from_month, to_month]
<Scully>
you mean ruby, the stone ruby?
wildroman2 has quit [Ping timeout: 265 seconds]
<penpen>
Scully: nope, Ruby is a programming language
<jhass>
Scully: /join ##social
<penpen>
at least in the context of this channel
<kinduff>
havenwood: is that possible? like case [from, to], when "from", "to" then "this"?
<havenwood>
kinduff: when ['from', 'to'] then 1
<MrBeardy>
kinduff: I've replied to the gist. Not sure if it's the most efficient solution, but I think it makes the concept clearer and makes it easier to change later.
<Scully>
oh Lord...i´m actually very very lost...
<Scully>
thank you people
whomp has quit [Quit: Lost terminal]
victorkohl has joined #ruby
nateberkopec has quit [Quit: Leaving...]
<MrBeardy>
Scully, make sure you have your towel and don't panic
saadq has quit [Remote host closed the connection]
victorkohl has quit [Max SendQ exceeded]
zotherstupidguy has quit [Quit: WeeChat 1.2]
<Scully>
kkkkkkk
<kinduff>
MrBeardy: nice thinking there! ty
<Scully>
i really wanna know how to deal with it again...
<penpen>
MrBeardy: Towel day is over but you are right, you should ALWAYS know where your towel is
<jhass>
kinduff: not as efficient as the case when either, but periods = {"one" => 1, "two" => 2, "three" => 3}; from, to = [from_month, to_month].map {|m| periods[m[/[^_]+/]] }; to - from
victorkohl has joined #ruby
Soda has joined #ruby
victorkohl has quit [Max SendQ exceeded]
zarubin has joined #ruby
randiman has joined #ruby
<jhass>
or just periods = {"one_month" => 1, "two_months" => 2, "three_months" => 3}; [to_month, from_month].map {|m| periods[m] }.inject(:-) even
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Master44>
whats the different between " and ' in ruby
<Master44>
?
<waxjar>
" allows string interpolation, ' doesn't
<jhass>
also " interprets more escapes
jacor has joined #ruby
gambl0re has quit [Ping timeout: 258 seconds]
chenillen has quit [Quit: chenillen]
Channel6 has quit [Quit: Leaving]
gambl0re has joined #ruby
postmodern has joined #ruby
<miah>
' creates string literals. '\nfoo#{ baz}' will result in a string that contains '\nfoo#{ baz }', whereas " would interpolate the \n as a new line and execute `baz` in your #{}
mrmargolis has quit [Remote host closed the connection]
<toretore>
EllisTAA: you test against the desired state of @recipes after it's run
mrmargolis has joined #ruby
<EllisTAA>
test against?
despai has quit [Quit: This computer has gone to sleep]
<EllisTAA>
so does that mean test to see if i got an array of objects?
<miah>
that you can perform specific actions against the object and they return useful data
<miah>
sure
<toretore>
EllisTAA: your method is supposed to add objects to @recipes; test that it actually does this by inspecting @recipes after
spider-mario has joined #ruby
<toretore>
ideally, you'd decouple the i/o and the manipulation of @recipes so you could test each part in isolation
<EllisTAA>
hmmm
<toretore>
i.e. the method as-is does too much
jpfuentes2 has joined #ruby
RegulationD has joined #ruby
<EllisTAA>
how would u write the test?
edwinvdgraaf has joined #ruby
<toretore>
i wouldn't, it's not my code
<havenwood>
EllisTAA: In Minitest. :)
<EllisTAA>
lol
yh has quit [Ping timeout: 272 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gambl0re has quit [Ping timeout: 272 seconds]
rodfersou has quit [Quit: leaving]
<toretore>
yeah i wouldn't be doing this `expect().to eq` bs
towski_ has joined #ruby
<toretore>
assert_equal ought be enough for everybody
<toretore>
+to
mrmargolis has quit [Ping timeout: 276 seconds]
platzhirsch has joined #ruby
marr has joined #ruby
<Master44>
Array.new its the same as []
sandelius has joined #ruby
<Master44>
?
RegulationD has quit [Ping timeout: 265 seconds]
<Andriamanitra>
yup
<Master44>
so why write Array.new
<Master44>
why not just []
<Andriamanitra>
except with Array.new you can do Array.new(0)
<havenwood>
EllisTAA: Looking at your code, why are you skipping the first index? Is there a nice CSV way of getting what you're after? Consider using map if you're mapping.
<Andriamanitra>
etc
<havenwood>
Master44: If you're simply creating an Array, use the Array literal: []
<EllisTAA>
havewood: i bet there is ….
<EllisTAA>
so how could i use the first line?
<EllisTAA>
as a key for the restof the lines
<Master44>
when do I use Array.new then havenwood?
<Master44>
when I can just []
towski_ has quit [Ping timeout: 264 seconds]
<Master44>
or someone else here? why do we have Array.new??
bricker has quit [Ping timeout: 245 seconds]
<miah>
when you want to ensure a object is an array; eg Array.new(foo)
<Jello_Raptor>
hmm, if I have a function 'a' in a class 'Foo' that references 'self' is there a way to automagically get a function 'Foo.a' that takes an object of 'Foo' as the first parameter?
ismaelga has joined #ruby
lala has joined #ruby
veduardo has joined #ruby
casadei has joined #ruby
<Master44>
mia?
jacor has quit [Read error: Connection reset by peer]
<Master44>
when should you use %m in your array
moretti has joined #ruby
jacor has joined #ruby
yh has joined #ruby
<miah>
i dont think i know %m
<Master44>
you know ruby good right?
towski_ has quit [Ping timeout: 272 seconds]
woodennails has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<miah>
the modern haircuts are for show and not hunting =)
mistermocha has quit [Ping timeout: 265 seconds]
iamninja has quit [Read error: Connection reset by peer]
<miah>
"The modern Standard retains many of the traits prized by their original owners: a keen working intelligence that makes the dog easy to command, webbed feet that make it an agile swimmer (all of the poodle's ancestors and descendants had or share the love of water) athletic stamina, and a moisture-resistant, curly coat that acts like a wool jumper in damp conditions."
iamninja has joined #ruby
edwinvdg_ has joined #ruby
m8 has quit [Quit: Sto andando via]
<shevy>
now that's some poodle love there
<shevy>
I totally must get me a poodle
_orangejuice has joined #ruby
_orangejuice has left #ruby [#ruby]
woodennails has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mhoungbo__ has quit [Ping timeout: 246 seconds]
<shevy>
and some noodles
bMalum has quit [Quit: bMalum]
mhoungbo_ has quit [Ping timeout: 256 seconds]
Limix has quit [Quit: Limix]
<miah>
speaking of food.. i will eat some.
<shevy>
don't eat the poodle!!!
edwinvdgraaf has quit [Ping timeout: 256 seconds]
<EllisTAA>
im testing this instance method and it depends on some data created by another instance method, how can i get my test to run the contingent test before the dependent test?
<EllisTAA>
or independet test before the dependent one*
<Jello_Raptor>
now i can mark a rule as optional, and if the components to perform it aren't there to use it will move onto the next one
Outlastsheep is now known as zz_Outlastsheep
edwinvdgraaf has joined #ruby
ddv has quit [Changing host]
ddv has joined #ruby
allcentury has joined #ruby
Limix has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
Lucky has quit [Disconnected by services]
ismaelga has quit [Remote host closed the connection]
edwinvdg_ has quit [Ping timeout: 258 seconds]
edwinvdgraaf has joined #ruby
starless has joined #ruby
<jhass>
EllisTAA: don't, tests should be idempotent
<EllisTAA>
:\
Lucky__ has joined #ruby
<EllisTAA>
can u explain idempotence, wiki is just so broad
<jhass>
"not affect the result of others when run in any order" should be good enough for this case
woodennails has joined #ruby
woodennails has quit [Client Quit]
<jhass>
you likely want before/setup all/each hooks
ringarin has joined #ruby
<shevy>
impotence!
<shevy>
wikipedia says this is a good example
<shevy>
1 × 1 = 1
juanda has joined #ruby
<Jello_Raptor>
jhass: you want 'independent' not 'idempotent' for that case.
<Jello_Raptor>
jhass: the pure maths version of idempotency applies to functions and says that for any idempotent function x and any input 'f(x) == f(f(x))' (this assumes the functions are purely functional, no external state, etc)
<jhass>
well, I kind of do want the latter for my tests, the world should be exactly the same before and after
allcentury has quit [Ping timeout: 276 seconds]
<Jello_Raptor>
the CS version thereof says that for an entire system s and an idempotent function f and any input x replacing an invocation of "f(x)" with "{f(x);f(x)}" will not change anything
_seanc_ has quit [Quit: _seanc_]
catcher has quit [Ping timeout: 264 seconds]
balazs has quit [Remote host closed the connection]
<Jello_Raptor>
jhass: that's independance, idempotency can change the system. consider "$foo = 1; def func { $foo = 3 } end " given that setup running both 'func()' and 'func();func()' will leave you in the same state after, but that state is *different* from the one you started with.
balazs has joined #ruby
ringarin has quit [Quit: Leaving]
_seanc_ has joined #ruby
<jhass>
yes, independence is sufficient, but idempotency should be ideal, if it might not matter
<jhass>
*eve nif
<Jello_Raptor>
running 'puts $foo' and 'func(); puts $foo' will produce different output, but we only care about the fact that the cases 'func(); puts $foo' and 'func();func(); puts $foo' are the same for idempotence.
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Jello_Raptor>
jhass: idempotence is a strictly weaker property than independence. some 'func()' is independant of '$foo' if both 'puts $foo' and 'func(); puts $foo' have the same result, and that ( by definition) means it's idempotent.
RegulationD has joined #ruby
platosha_ has joined #ruby
<jhass>
mh, I have to admit my CS might be a bit weak here, still have to pick up an FP lang :/ so thanks I guess :)
balazs has quit [Remote host closed the connection]
platosha has quit [Ping timeout: 264 seconds]
<Jello_Raptor>
(note: the cs sems of idempotence reduces to the maths sense if for some function 'f()' in cs land there's a math's land function 'f'(x)' that takes the entire system state as the input and returns the entire system state as output, so 'f();f()' is the same as "f'(f'(x))"
<Jello_Raptor>
... i should be better about mixing prime ticks, and single quotes in ascii :P
<Jello_Raptor>
jhass: yes but your ruby fu is strong :) you advice yesterday helped me a bunch. If only i hadn't lost 6 hours to forgetting that ruby uses 'elsif' instead of 'else if' :P
SouL_|_ has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
Vile` has quit [Quit: .]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vile` has joined #ruby
veduardo has quit [Ping timeout: 250 seconds]
<baweaver>
What FP now?
* baweaver
reads back a bit
sinkensabe has quit [Remote host closed the connection]
_seanc_ has quit [Quit: _seanc_]
<baweaver>
Ruby is actually pretty functional in some regards
<baweaver>
The running joke I have is that Python is the imperative scripting language and ruby is the functional one
__chris has quit [Quit: This computer has gone to sleep]
<baweaver>
Though really if you know Ruby well, a language like Scala or Standard ML will be very familiar.
<baweaver>
heard of, skimmed, but wouldn't say really checked out
<havenwood>
baweaver: It actually does run scripts now on OS X even though the docs say it's non-functional.
<baweaver>
People are a bit too religious with the word functional if you ask me
<gambl0re>
guys, i just installed photoshop.
scripore has quit [Quit: This computer has gone to sleep]
<havenwood>
gambl0re: Ruby?
* baweaver
stares blankly
<gambl0re>
no, photoshop
<baweaver>
As in this is the Ruby channel
<baweaver>
why are you mentioning photoshop
<lala>
Lol.
<gambl0re>
guys, sorry. wrong channel.
<lala>
Hahaha!
* baweaver
shakes head
<havenwood>
baweaver: I meant non-functioning not non-functional. Heh.
<baweaver>
ah
<baweaver>
well, point still stands
<havenwood>
So much functional talk I typo'd.
seitensei has quit [Ping timeout: 240 seconds]
<jhass>
so your keyboard is infunction...i give up
scripore has joined #ruby
seitensei has joined #ruby
seitensei has joined #ruby
__chris has joined #ruby
Ox0dea has joined #ruby
lala has left #ruby [#ruby]
sinkensabe has joined #ruby
platzhirsch has quit [Ping timeout: 264 seconds]
davedev2_ has joined #ruby
zarubin has joined #ruby
Kozen has quit [Ping timeout: 256 seconds]
davedev24_ has quit [Ping timeout: 264 seconds]
armyriad has joined #ruby
SouL_|_ has quit [Remote host closed the connection]
Papierkorb has quit [Read error: Connection reset by peer]
<Jello_Raptor>
so I'm trying to monkey patch a function that uses the splat, and ampersand for block operator, how i do i call 'super' so that it won't barf? example: http://hastebin.com/ruxicitidu.rb
Papierkorb has joined #ruby
<Ox0dea>
Jello_Raptor: super()
<Jello_Raptor>
... that was easy
<Jello_Raptor>
thanks
<Ox0dea>
Just another of Ruby's many idiosyncracies.
<Mon_Ouie>
super() calls the super method with no arguments except for the block argument, super(&nil) calls the super method with absolutely no arguments, and super calls the super method with the same arguments as the current method
<Jello_Raptor>
ahh okay
bMalum has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
randiman has quit [Quit: (null)]
zarubin has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
balazs has joined #ruby
s2013 has joined #ruby
<Ox0dea>
Mon_Ouie: How does that work, given NilClass#to_proc is undefined?
<havenwood>
baweaver: It'll be interesting to see if Ruby 3.0 goes with agents or Koichi-san's idea for objects being mutable in the thread that currently possesses ownership while being immutable from other threads.
gkra has joined #ruby
Soda has quit [Remote host closed the connection]
Channel6 has joined #ruby
Vile` has quit [Remote host closed the connection]
<havenwood>
baweaver: I think the immutability from the outside route might bode really well for functional programming in Ruby.
<Diabolik>
i reverted to having prime_grid handle all the logic. I realised that this was the only way id be able to confidently explain what i had done
<shevy>
prime_grid = PrimeGrid.new prime_matrix
<shevy>
prime_grid.render
<shevy>
are you sure you want to call render manually?
<Diabolik>
so straight up prime_grid?
<shevy>
well perhaps you had a reason to do so
<shevy>
perhaps you did not :)
<Diabolik>
i thought it was the only way to get it to run
<shevy>
why? you already instantiate a new object
<shevy>
the render call could become mandatory of your class PrimeGrid
<jhass>
well actually you never really know, except for a few exceptional cases. One of the unsolved CS problems
<jhass>
you can only get confident that it works for all your usecases
Brando753 has quit [Quit: o_O_o]
<pontiki>
yes, but we're humans, and perfect knowledge is never available to us
Musashi007 has joined #ruby
<jfarmer>
gunthler Be forewarned, the first question I (or anyone else here) will ask is: "What do you expect your code to do, what is it doing instead, and how can you tell?"
<pontiki>
as such, human speech is full of such fuzzy generalizations
eggoez has quit [Ping timeout: 276 seconds]
iamninja has quit [Read error: Connection reset by peer]
joelataylor has quit [Ping timeout: 240 seconds]
<Ox0dea>
pontiki: Did you mean to imply that we can never know anything for certain?
joelataylor has joined #ruby
<pontiki>
Ox0dea: i'm going to really stretch it and say that "knowing" is just a feeling, a result of biochemical processes in your brain
davedev2_ has quit []
<pontiki>
therefore, temporary
ismaelga has quit [Remote host closed the connection]