AlexRussia has quit [Quit: No Ping reply in 180 seconds.]
alec-c4 has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
cheem has joined #ruby
AlexRussia has joined #ruby
alec-c4 has joined #ruby
ringaring has quit [Ping timeout: 260 seconds]
dayepa has quit [Quit: dayepa]
agjacome has joined #ruby
icole has quit [Remote host closed the connection]
oo_ has joined #ruby
dayepa has joined #ruby
Inside has joined #ruby
Altonymous has joined #ruby
__class__ has quit [Ping timeout: 245 seconds]
<Altonymous>
I opened this issue, https://github.com/brianmario/yajl-ruby/issues/143. However, it's not specific to his gem. It appears to be ruby specific. If anyone can lend a hand parsing that JSON file I'd really appreciate it.
sputnik13 has joined #ruby
nanoyak has joined #ruby
arrubin has joined #ruby
bubbajones has joined #ruby
andrewjanssen has joined #ruby
cheem has quit [Quit: cheem]
edgarjs is now known as edgarjs_afk
nanoyak has quit [Client Quit]
emptyflask has quit [Ping timeout: 248 seconds]
tyfighter has quit [Quit: <3]
emptyflask has joined #ruby
superscott[8] has quit []
bricker`work has quit [Ping timeout: 264 seconds]
icole has joined #ruby
wowXD has joined #ruby
zz_karupa is now known as karupa
marr has quit [Ping timeout: 255 seconds]
paulinc23 has quit []
emptyflask has quit [Remote host closed the connection]
andrewjanssen has quit [Quit: Leaving...]
alec-c4 has quit [Ping timeout: 255 seconds]
oo_ has quit [Remote host closed the connection]
prathamesh has quit [Remote host closed the connection]
b00stfr3ak has quit [Ping timeout: 264 seconds]
prathamesh has joined #ruby
EminenceHC has quit [Remote host closed the connection]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Hobogrammer has quit [Ping timeout: 240 seconds]
prathamesh has quit [Ping timeout: 252 seconds]
thesheff17 has joined #ruby
jcromartie has joined #ruby
mercwithamouth has quit [Ping timeout: 255 seconds]
dukedave has joined #ruby
mercwithamouth has joined #ruby
Channel6 has joined #ruby
jcromartie has quit [Ping timeout: 264 seconds]
d34th4ck3r has quit [Quit: zzz]
Hobogrammer has joined #ruby
sunya7a has joined #ruby
benzrf|offline is now known as benzrf
razrunelord has joined #ruby
prathamesh has joined #ruby
mrevd has quit [Quit: Leaving.]
oo_ has joined #ruby
Georg3 has joined #ruby
razrunelord has quit [Ping timeout: 255 seconds]
rdavila has quit [Quit: rdavila]
GriffinHeart has joined #ruby
ARCADIVS has joined #ruby
prathamesh has quit [Remote host closed the connection]
Georg3 has quit [Ping timeout: 240 seconds]
Timmee has joined #ruby
prathamesh has joined #ruby
GriffinHeart has quit [Ping timeout: 248 seconds]
Takle has joined #ruby
maestrojed has joined #ruby
tkuchiki has quit [Remote host closed the connection]
x1337807x has joined #ruby
jxf has quit [Ping timeout: 245 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
cantonic has quit [Read error: Connection reset by peer]
prathamesh has quit [Ping timeout: 260 seconds]
cantonic has joined #ruby
sevenseacat has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
njs126 has joined #ruby
ephemerian has quit [Ping timeout: 240 seconds]
Takle has quit [Ping timeout: 240 seconds]
diegoviola has quit [Ping timeout: 252 seconds]
alexju has quit [Remote host closed the connection]
yetanotherdave has quit [Ping timeout: 245 seconds]
fgo has joined #ruby
yetanoth1rdave has quit [Ping timeout: 240 seconds]
Photism has quit [Ping timeout: 244 seconds]
tokik has joined #ruby
moritzschaefer has joined #ruby
Photism has joined #ruby
s2013 has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
jonahR has quit [Remote host closed the connection]
codabrink has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tobago has joined #ruby
emptyflask has quit [Ping timeout: 260 seconds]
aspiers has quit [Ping timeout: 260 seconds]
brunops has quit [Quit: leaving]
<n88>
ok so can someone look at my code without hating me... it's supposed to loop through an array of webhosts and check whether they are up in down.. it works when I use it as an instance method on one object but doesn't fail gracefully in an array of sites that may or may not be up
garndt has quit [Quit: Connection closed for inactivity]
hamakn_ has joined #ruby
<shevy>
well you place them into your array there
<shevy>
but that's the point of variables isn't it? so you can refer to them throughout your entire program
<dopie>
shevy, sevenseacat thank you just got mixed up :)
<shevy>
\o/
mattmcclure has quit [Quit: Connection closed for inactivity]
hamakn has quit [Ping timeout: 248 seconds]
mgberlin_ has joined #ruby
JBreit has joined #ruby
wowXD has quit [Ping timeout: 252 seconds]
echevemaster has quit [Quit: Leaving]
mgberlin has quit [Ping timeout: 264 seconds]
lethjakman has quit [Ping timeout: 240 seconds]
buub_ has quit [Ping timeout: 248 seconds]
coderhs has joined #ruby
j_mcnally has joined #ruby
Morkel has joined #ruby
agent_white has quit [Ping timeout: 260 seconds]
sunya7a has quit [Ping timeout: 264 seconds]
monzie|home has joined #ruby
apeiros has quit [Remote host closed the connection]
monzie|home is now known as monzie
apeiros has joined #ruby
stytown has joined #ruby
sinkensabe has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lw has quit [Quit: s]
Valesk has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.3]
yfeldblum has joined #ruby
pu22l3r has quit [Remote host closed the connection]
olduseless has joined #ruby
lw has joined #ruby
juboba has joined #ruby
<juboba>
where should I find the 'bundle' installer?
mercwithamouth has joined #ruby
<juboba>
I want to install it and don't know if it is included in a package or if it has its own package
<sevenseacat>
in the bundler gem
<juboba>
uhm
<juboba>
got it!
<juboba>
thanks!
<sevenseacat>
:)
<juboba>
can I install ruby2 along with ruby 1.9?
naiyte has left #ruby [#ruby]
<sevenseacat>
depends how youre installing them
<juboba>
system-wide
<sevenseacat>
no, with what tools
<sevenseacat>
eg. rvm, compile from source
<juboba>
compile from source
<juboba>
ok, I'll remove my 1.9 then
DanielRb has quit [Ping timeout: 252 seconds]
<juboba>
I don't work with ruby, but now I'm joining a ruby2 project
oo_ has quit [Remote host closed the connection]
alec-c4 has joined #ruby
DanielRb has joined #ruby
oo_ has joined #ruby
sinkensabe has joined #ruby
mgberlin_ has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
jprovazn has joined #ruby
Azure has joined #ruby
<cantonic>
hey there. I am working on an app which calculates Grades for students and courses. Therefore I am passing around grade values (decimal) from one class to an other and to a lot of calculations on them. Is it better to use BigDecimal instead of just passing around a float? I am asking because I am not sure whether there could be rounding errors without using BigDecimal
sdouglas has joined #ruby
ringaroses2 has joined #ruby
<RubyPanther>
cantonic: I make sure to always use BigDecimal when I care about exact numbers
alec-c4 has quit [Ping timeout: 255 seconds]
<cantonic>
RubyPanther: thank you. Since it is about school grades I should care about it ;)
j_mcnall_ has joined #ruby
<RubyPanther>
cantonic: in my dec_number gem I use a backwards #coerce method so that if either side is a decnumber, then it returns a decnumber. Normally if the types don't match you get floats back
<RubyPanther>
You can use the same trick if you monkeypatch BigDecimal's coerce method to be backwards
<RubyPanther>
or, just be careful to initialize all your values...
<cantonic>
hmm…. that’s interesting.
<cantonic>
thank you for the tip
jackneill has joined #ruby
guideX has joined #ruby
juboba has quit [Quit: leaving]
j_mcnally has quit [Ping timeout: 264 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tagrudev has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
DanielRb has quit [Ping timeout: 248 seconds]
heftig has quit [Quit: Quitting]
johnmolina has joined #ruby
razrunelord has joined #ruby
sdouglas has quit [Remote host closed the connection]
DanielRb has joined #ruby
DanielRb has quit [Changing host]
DanielRb has joined #ruby
guideX has quit [Quit: nexIRC]
wowXD has joined #ruby
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
alem0lars has joined #ruby
johnmolina has quit [Ping timeout: 264 seconds]
sdouglas_ has joined #ruby
razrunelord has quit [Ping timeout: 240 seconds]
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
jamto11 has joined #ruby
DanielRb has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
DrCode has quit [Remote host closed the connection]
wowXD has quit [Ping timeout: 245 seconds]
lewix has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 245 seconds]
d34th4ck3r has joined #ruby
DrCode has joined #ruby
sdouglas_ has quit [Remote host closed the connection]
monzie has quit [Ping timeout: 264 seconds]
rkazak_ has joined #ruby
monzie has joined #ruby
j_mcnall_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DanielRb has joined #ruby
jamto11 has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 255 seconds]
nfk has joined #ruby
wowXD has joined #ruby
DanielRb has quit [Ping timeout: 252 seconds]
atraylen has joined #ruby
benlieb has joined #ruby
<benlieb>
I would like to make a visualization of an audio track. Does ruby have any tools for turning audio in to "data". I'm not even sure where to start...
DanielRb has joined #ruby
kaspergrubbe has joined #ruby
x1337807x has joined #ruby
<cantonic>
RubyPanther: in the database I am saving decimals with a precision of 5. Do you still think that I should use BigDecimal? Because float is faster and in the end I need a precision of 2
Hanmac has quit [Ping timeout: 264 seconds]
fgo has quit [Remote host closed the connection]
bal has joined #ruby
lw has quit [Quit: s]
DanielRb has quit [Ping timeout: 245 seconds]
<sevenseacat>
if you care about precision, use decimal
zkay11 has left #ruby [#ruby]
charliesome has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
<cantonic>
sevenseacat: yes I do care. But it doesn’t have to be highly precise. It is about school grades…
<sevenseacat>
that seems like an oxymoron
<cantonic>
:)
oo_ has quit [Remote host closed the connection]
x1337807x has quit [Ping timeout: 264 seconds]
johnmolina has joined #ruby
DanielRb has joined #ruby
<cantonic>
sevenseacat: thank you :)
<sevenseacat>
np
Hanmac has joined #ruby
johnmolina has quit [Client Quit]
anaeem1_ has joined #ruby
Bira has joined #ruby
fgo has joined #ruby
sepp2k has joined #ruby
lfox has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
blueOxigen has joined #ruby
bluOxigen has quit [Ping timeout: 248 seconds]
hobodave has quit [Quit: Computer has gone to sleep.]
vinleod has joined #ruby
lfox has joined #ruby
olduseless has quit [Ping timeout: 240 seconds]
Bira has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
Arkaniad has quit [Ping timeout: 248 seconds]
DanielRb has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
stytown has quit [Quit: stytown]
apeiros has joined #ruby
kireevco has joined #ruby
timonv has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
DanielRb has joined #ruby
klaut has joined #ruby
ctp has joined #ruby
fgo has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 245 seconds]
phinfonet has quit []
mercwithamouth has joined #ruby
alexju has quit [Remote host closed the connection]
Arkaniad has joined #ruby
DanielRb has quit [Ping timeout: 264 seconds]
kireevco has quit [Quit: Leaving.]
chrishough has quit [Quit: chrishough]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
Gooder has joined #ruby
DanielRb has joined #ruby
fabrice31 has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
ndrei__ has quit [Ping timeout: 252 seconds]
aganov has joined #ruby
ndrei_ has quit [Ping timeout: 244 seconds]
ndrei has quit [Ping timeout: 264 seconds]
kireevco has joined #ruby
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ctp has joined #ruby
kiri has joined #ruby
jackneill has quit [Quit: No Ping reply in 180 seconds.]
kireevco has quit [Client Quit]
narendraj9 has joined #ruby
Valesk has joined #ruby
jackneill has joined #ruby
timonv has joined #ruby
jacobat has joined #ruby
mercwithamouth has joined #ruby
d34th4ck3r has quit [Quit: zzz]
monzie has quit [Remote host closed the connection]
lmickh has quit [Remote host closed the connection]
atraylen has quit [Ping timeout: 245 seconds]
relix has joined #ruby
ndrei has joined #ruby
ndrei_ has joined #ruby
ndrei has quit [Remote host closed the connection]
ndrei_ has quit [Read error: Connection reset by peer]
kp666 has joined #ruby
mercwithamouth has quit [Ping timeout: 255 seconds]
ndrei has joined #ruby
Morkel has quit [Quit: Morkel]
DanielRb has quit [Ping timeout: 264 seconds]
sk87 has joined #ruby
doev has joined #ruby
DanielRb has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chris123456789 has joined #ruby
jottr_ has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
ephemerian has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has quit [Remote host closed the connection]
fella6s has quit [Ping timeout: 255 seconds]
DanielRb has quit [Ping timeout: 255 seconds]
northfurr has quit [Quit: northfurr]
beneggett has joined #ruby
DanielRb has joined #ruby
Poky has joined #ruby
kireevco has joined #ruby
Gooder` has joined #ruby
Shidash has joined #ruby
kireevco has quit [Client Quit]
isodude has joined #ruby
Gooder has quit [Ping timeout: 245 seconds]
fella5s has joined #ruby
<isodude>
Hi, I have a stupid problem. My ruby installation doesn't search in /usr/lib64, and thus not finding augeas. Where is the search paths defined?
kireevco has joined #ruby
kireevco has quit [Client Quit]
kireevco has joined #ruby
kireevco has quit [Client Quit]
benlieb has quit [Quit: benlieb]
Hobogrammer has quit [Ping timeout: 255 seconds]
jottr_ has quit [Ping timeout: 248 seconds]
kireevco has joined #ruby
kireevco has quit [Client Quit]
lkba has joined #ruby
greenarrow has joined #ruby
DanielRb has quit [Ping timeout: 252 seconds]
wiscas has quit [Ping timeout: 240 seconds]
kireevco has joined #ruby
kireevco has quit [Client Quit]
<Hanmac>
isodude: it seems something did fuckup your ruby system ... let me guess, centos?
<dopie>
/home/guspares/Projects/ruby/fund.rb:36:in `<main>': undefined method `new_project' for Fly with Stripes is a Fundraiser:Fundraiser (NoMethodError)
<dopie>
why am i getting this error
kireevco has joined #ruby
kireevco has quit [Client Quit]
<dopie>
i created a new project
timonv has quit [Ping timeout: 264 seconds]
<dopie>
and then i appended it to fund1
<sevenseacat>
where are you defining Fundraiser#new_project ?
ringaroses2 has quit [Quit: Leaving]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
ws2k3 has left #ruby [#ruby]
<sevenseacat>
your Fundraiser and Project classes are terribly mixed up
<dopie>
fund1 creates the fundraiser project 1 creates the project fund1.new_project(project1) doesnt add the project 1 to fund1?
<sevenseacat>
not when you havent defined the functionality to do so
<dopie>
wouldn tthat be line 23
<sevenseacat>
and look what class that is in
<dopie>
Project
<sevenseacat>
(hint: its not the Fundraiser class)
datafirm has joined #ruby
<sevenseacat>
so why are you calling it on a Fundraiser?
kireevco has joined #ruby
kireevco has quit [Client Quit]
<dopie>
because i want the fundraiser to have many projects
* sevenseacat
blinks
<sevenseacat>
so you're calling a method defined on the Project class, on a Fundraiser object, and you have no idea why this isnt working?
<dopie>
no
<certainty>
tagrudev: yolo
<dopie>
i do...
<dopie>
hmmmm...
kireevco has joined #ruby
kireevco has quit [Client Quit]
<sevenseacat>
great, so untangle your two classes and put the functionality in the right ones
<tagrudev>
certainty, sup mate
<certainty>
tagrudev: i've ported some of jim weirich's refactoring code to refactory.el. Be sure to check it out.
<tagrudev>
will do
kireevco has joined #ruby
kireevco has quit [Client Quit]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
gverri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
IceDragon has quit [Quit: Space~~~]
alem0lars has quit [Quit: Going AFK...]
jezen has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
kireevco has quit [Remote host closed the connection]
DanielRb has quit [Ping timeout: 252 seconds]
kireevco has joined #ruby
alem0lars has joined #ruby
kireevco has quit [Remote host closed the connection]
p0sixpscl has joined #ruby
fgo has quit [Remote host closed the connection]
beardtree has left #ruby ["WeeChat 0.4.3"]
JoshGlzBrk has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
jezen has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
ponga has joined #ruby
cantonic has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
kireevco has joined #ruby
kireevco has quit [Client Quit]
kalusn has joined #ruby
DanielRb has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
cantonic has quit [Client Quit]
cantonic has joined #ruby
dreamchaser has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
kireevco has joined #ruby
kireevco has quit [Client Quit]
kireevco has joined #ruby
kireevco has quit [Client Quit]
razrunelord has joined #ruby
benlieb has joined #ruby
DanielRb has quit [Ping timeout: 252 seconds]
<isodude>
so it works if I do ruby -I/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/ -raugeas -e 'print "hello world"'
<isodude>
RbConfig::CONFIG.select {|k,v| $:.include?(v) } didn't include that path.
<isodude>
It does however on another installation.
kireevco has joined #ruby
kireevco has quit [Client Quit]
<isodude>
My problem is that I don't have no clue where the ruby config is :)
<isodude>
for $LOAD_CONFIG
DanielRb has joined #ruby
<isodude>
LOAD_PATH*
kireevco has joined #ruby
kireevco has quit [Client Quit]
<dopie>
sevenseacat, now i got a nomethod error on my each statement
Takle has quit [Remote host closed the connection]
<goleldar>
anyone know how to create an rspec test that expects and error to be received and_call_original method after an expect_any_instance_of mock has been created for that method?
Takle has joined #ruby
funktor has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
<goleldar>
or how to override a allow_any_instance_of declaration
fgo has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
bluOxigen has joined #ruby
blueOxigen has quit [Remote host closed the connection]
Azure has quit [Ping timeout: 245 seconds]
mehlah has joined #ruby
mehlah has quit [Client Quit]
kireevco has joined #ruby
kireevco has quit [Remote host closed the connection]
kp666 has quit [Ping timeout: 252 seconds]
coderhs has joined #ruby
dontwork has joined #ruby
anaeem___ has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
anaeem1_ has quit [Read error: Connection reset by peer]
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dapz has joined #ruby
fabrice31 has quit [Remote host closed the connection]
einarj has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
edmellum has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
kireevco has joined #ruby
kireevco has quit [Client Quit]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has quit [Ping timeout: 248 seconds]
elaptics`away is now known as elaptics
kireevco has joined #ruby
kireevco has quit [Client Quit]
kireevco has joined #ruby
kireevco has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
benlieb has quit [Quit: benlieb]
kireevco has joined #ruby
kireevco has quit [Client Quit]
Macaveli has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
ctp has joined #ruby
hackeron has joined #ruby
olivier_bK has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
ringarin has joined #ruby
goleldar has quit []
sk87 has joined #ruby
abdulsattar has joined #ruby
abdulsattar_ has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
pavelz_ has left #ruby [#ruby]
kireevco has joined #ruby
blackmes2 has quit [Ping timeout: 248 seconds]
Inside has quit [Ping timeout: 264 seconds]
kireevco has quit [Client Quit]
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has joined #ruby
kireevco has quit [Remote host closed the connection]
AndChat| has joined #ruby
abdulsattar has quit [Read error: No route to host]
dangerou_ has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
dangerousdave has quit [Ping timeout: 264 seconds]
timonv has quit [Remote host closed the connection]
workmad3 has joined #ruby
chris123456789 has quit [Read error: Connection reset by peer]
Shidash has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
greenarrow has joined #ruby
blackmes2 has joined #ruby
d34th4ck3r has quit [Quit: zzz]
Arkaniad has joined #ruby
pipework has joined #ruby
coderhs has quit [Ping timeout: 240 seconds]
razum2um1 has quit [Ping timeout: 240 seconds]
razum2um has joined #ruby
sigurding has joined #ruby
sevenseacat has quit [Remote host closed the connection]
ringaring has joined #ruby
JasonG_ has joined #ruby
razum2um has quit [Ping timeout: 240 seconds]
razum2um has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
JasonG_ has quit [Ping timeout: 240 seconds]
<isodude>
Actually I solved my problem, there had been a manual install of ruby along with the one from rpm. So I removed the one that wasn't reported by yum whatprovides and ran ldconfig. Done.
rat_thing has joined #ruby
blackmes2 has quit [Quit: WeeChat 0.4.3]
blinkdesign has joined #ruby
tvw has joined #ruby
sk87 has joined #ruby
timonv has joined #ruby
mk2014 has joined #ruby
ag4ve__ has quit [Ping timeout: 244 seconds]
andrewlio has joined #ruby
etqqkoiflwhb has joined #ruby
<mk2014>
hello, I am trying to use an augmented assignment on attr_accessor :number which I pre-defined as a fixnum upon initialize.
<Mon_Ouie>
That's because you can't just substitute things in the lhs, it makes no sense
<Mon_Ouie>
You don't set a value to something else, you set a variable to a new value
anisha has joined #ruby
<workmad3>
mk2014: as I said... 'x += 1' expands to 'x = x + 1' then 'x=' *immediately* creates a local variable called 'x' which is valued as 'nil' and hides your attr_accesor created method 'x'
tkuchiki has quit [Ping timeout: 264 seconds]
<mk2014>
Yea but isn't that the whole point of augmented assignments?
<workmad3>
mk2014: so when the interpreter then looks at 'x + 1', it uses the local variable 'x'
ringaring has joined #ruby
<mk2014>
not to set a new variable to an already existing one?
doev has joined #ruby
<mk2014>
@workmad3 yea that's accurate
<Mon_Ouie>
There was no variable called x before you run 'x += args'
rat_thing has quit [Remote host closed the connection]
jacobat has quit [Ping timeout: 245 seconds]
<workmad3>
mk2014: yeah... but 'x' is nil
decoponio has joined #ruby
<mk2014>
@Mon_Ouie I see
<mk2014>
@workmad3 Makes perfect sense now
timonv has joined #ruby
<workmad3>
mk2014: I agree that it's definitely a violation of the principle of least surprise btw ;)
<workmad3>
mk2014: I can understand exactly how it happens... but it's definitely surprising the first time it happens, IMO :)
ringarin has quit [Ping timeout: 240 seconds]
ringaroses2 has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby
ringarin has joined #ruby
<Mon_Ouie>
Principle of least Matz's surprise
<workmad3>
I'm not sure how it could easily change in the interpreter without special-casing things like ||= though...
moritzschaefer has joined #ruby
<workmad3>
because it's exactly the behaviour that makes 'x ||= 2' work :)
<mk2014>
@workmad3 Yes it definitely made me curious to know the process. At first I thought it was an attr_accessor limitation of some sort haha
Shidash has quit [Quit: Leaving.]
fgo has quit [Remote host closed the connection]
Takle_ has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
bakedb has joined #ruby
fgo has joined #ruby
shvelo has quit [Ping timeout: 248 seconds]
minver has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
<minver>
Any ideas how I get can Sidekiq to start up and process like 100 jobs and then quit?
<Hanmac>
jassk: "@movies.sort {|a, b| a.title.downcase <=> b.title.downcase}" can be replaced by "@movies.sort_by {|m| m.title.downcase }" or with casecmp "@movies.sort {|a, b| a.title.casecmp(b.title)}"
rdavila has quit [Quit: rdavila]
<Hanmac>
damm
s2013 has quit [Remote host closed the connection]
hobodave has joined #ruby
jassk has joined #ruby
<jassk>
Hanmac: got dc
<Hanmac>
jassk: "@movies.sort {|a, b| a.title.downcase <=> b.title.downcase}" can be replaced by "@movies.sort_by {|m| m.title.downcase }" or with casecmp "@movies.sort {|a, b| a.title.casecmp(b.title)}" .casecmp is Case-insensitive version of String#<=>.
pasties has quit [Ping timeout: 252 seconds]
<jassk>
oh, I see
buub has joined #ruby
<jassk>
I am taking this edx course and there was suggestion of using <=> operator. Didn't think about this alternative, thanks
<apeiros>
jassk: note that String#downcase only maps A-Z
<skmp>
but there's no reason to assume we have tools anywhere near our brains
<shevy>
skmp I say that everyday when I try to find something in my flat but entropy is stronger than my abstractions :(
<skmp>
that's just plain false
<skmp>
we're at least 20-30 years behind that state
Malwurf has joined #ruby
<eam>
skmp: aaaah, not so sure about that
<skmp>
or more
<skmp>
imho
<shevy>
brains are the ultimate tools
<shevy>
they build stuff!
<shevy>
fusion reactors!!!
<skmp>
eventually we're make AI that can code
<skmp>
I guess that'll be the end of the human race
<eam>
we don't have the software, that's for sure, but we can make rough estimates on brain capacity and compute throughput
<eam>
and we're certainly in the ballpark already
<shevy>
the problem is that the AIs don't really think
<terrellt>
30 years seems pretty soon, even.
<skmp>
eam: no?
<skmp>
:P
<shevy>
my estimate is that it would require different hardware
sdouglas has joined #ruby
<skmp>
imho we're still grossly underestimating the computing power of the brain
<shevy>
my computer calculates faster than my brain!
<skmp>
and I don't think the current electronics/digital logic idea will be able
<skmp>
to work at such large scales
* skmp
run out of battery
<skmp>
laters ~
joonty has quit [Quit: WeeChat 0.4.2]
<shevy>
lol
<shevy>
best finish line ever
dontwork has quit [Remote host closed the connection]
sepp2k has joined #ruby
dontwork has joined #ruby
sinkensabe has joined #ruby
<eam>
skmp: estimates are around Pb sized storage
proxie has quit [Ping timeout: 240 seconds]
mgomezch has joined #ruby
<eam>
we have compute clusters that almost certainly can process on par or above what a brain does, though they still take up buildings
fgo has joined #ruby
mgomezch_ has quit [Ping timeout: 245 seconds]
<eam>
it's perhaps more interesting to observe that if you agree the brain is a turing machine then even the first processor is "on par" with a brain -- simply slower
maletor has joined #ruby
Zenigor has quit [Remote host closed the connection]
olivier_bK has quit [Ping timeout: 248 seconds]
pietr0 has joined #ruby
<eam>
but any two turing machines can calculate the same results
codeurge has quit [Quit: Quit.]
sdouglas has quit [Ping timeout: 240 seconds]
<eam>
the problem's not hardware - the problem is we don't know how to express the software
AlSquirrel has joined #ruby
dontwork has quit [Ping timeout: 252 seconds]
Valesk has joined #ruby
kireevco has joined #ruby
Pwnna has left #ruby ["Leaving"]
kireevco has quit [Max SendQ exceeded]
ag4ve____ has joined #ruby
aspires has joined #ruby
kireevco has joined #ruby
codeurge has joined #ruby
Snarkz has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<mozzarella>
meh
Zenigor has joined #ruby
<mozzarella>
I don't see the brain as a normal computer
ephemerian has left #ruby [#ruby]
tjr9898 has joined #ruby
AlSquire has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 264 seconds]
anisha has quit [Quit: Leaving]
<mozzarella>
I'm pretty sure there's quantum mechanics involved, which would make it very hard for a classical computer to replicate
lkba has joined #ruby
shevy has quit [Ping timeout: 245 seconds]
guyz has quit [Quit: quit]
j_mcnally has joined #ruby
<havenwood>
mozzarella: quantum brain? literature or it didn't happen!
<xybre>
Modern CPUs rely on and compensate for quantum effects already.
<havenwood>
s/literature/pics
<eam>
mozzarella: quantum or not, you either agree it's a turing machine or you think it's magic/metaphysical
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
<eam>
and if it's a turing machine, we can express its calculations today no matter what they are (albeit, slowly)
sunya7a_ has joined #ruby
<mozzarella>
xybre: are you talking about the quantum tunneling happening in transistors?
SCHAAP137 has joined #ruby
mikepack has quit [Remote host closed the connection]
<xybre>
mozzarella: Thats one effect, yes.
aspires has quit [Client Quit]
aspires has joined #ruby
tjr9898 has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
<havenwood>
mozzarella: afaik no qubits in the brain :P
sunya7a has quit [Ping timeout: 248 seconds]
<mozzarella>
no but there might be quantum entanglement I heard
<mozzarella>
which would allow neurons to talk to each other without being physically connected, IIRC
wowXD has quit [Remote host closed the connection]
<mozzarella>
not sure if that has been proven to be true or not
<eam>
isn't it interesting to see parts of physics described as non-physical?
geggam has joined #ruby
<xybre>
If that was true, it'd make for a very strange model of the brain, but the upside it would mean that making ansibles would be trivial if such a simple meat machine could do it.
<eam>
xybre: randomness isn't simple
<xybre>
(I mean a cell)
mg^ has joined #ruby
<xybre>
Randomness is quite simple, by definition. Complexity arises out of a system with simple rules.
graydot has joined #ruby
<eam>
examining the output of a function is equally complex regardless of the function source
<havenwood>
mozzarella: i think that is solely in the realm of hypothesis, though if there is any experimental evidence i'd love to see it
donnoc has quit [Quit: WeeChat 0.4.3]
graydot has quit [Client Quit]
<mozzarella>
havenwood: you know what? now I recall
railzForDaiz has quit [Ping timeout: 260 seconds]
mgomezch has quit [Read error: Connection reset by peer]
<mozzarella>
I think it only happens when someone sleep or something along those lines
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has quit [Ping timeout: 248 seconds]
digifiv5e has joined #ruby
graydot has joined #ruby
railzForDaiz has joined #ruby
digifiv5e is now known as Guest59131
<havenwood>
i'll stick with meat-based turing machine
andrewjanssen has quit [Remote host closed the connection]
railzForDaiz has quit [Client Quit]
mikecmpbll has joined #ruby
razrunelord has joined #ruby
causasui has joined #ruby
trepidaciousMBR has quit [Quit: trepidaciousMBR]
scarolan has joined #ruby
mijicd has joined #ruby
scarolan has quit [Client Quit]
Olipro has quit [*.net *.split]
mgomezch has joined #ruby
kireevco has quit [Quit: Leaving.]
shevy has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
scarolan has joined #ruby
mikepack has joined #ruby
zchrykng has left #ruby ["Leaving"]
<havenwood>
i'm worried we 1) don't understand much about the mind (we don't), 2) don't understand much about quantum physics (we don't), so 3) we imagine they're related (maybe they are?)
benzrf|offline is now known as benzrf
<Senjai>
Physics and chemistry? Of course they're related
<havenwood>
well, quantum effects being actually responsible for consciousness i mean, not just present as always
axl_ has quit [Quit: axl_]
scarolan has quit [Client Quit]
_maes_ has joined #ruby
<eam>
quantum effects are, along with all other aspects of physics, responsible for everything
s2013 has quit [Ping timeout: 240 seconds]
<havenwood>
eam: sure, computers don't exist without the quantum, but that isn't what "quantum mind" is contemplating
harryk has quit [Ping timeout: 245 seconds]
diegoviola has joined #ruby
cuppscak_ has joined #ruby
cuppscak_ has quit [Max SendQ exceeded]
<havenwood>
eam: just like computer != quantum computer
tjr9898 has joined #ruby
<havenwood>
ruby
<havenwood>
quantum ruby is for the birds
cuppscak_ has joined #ruby
cuppscak_ has quit [Max SendQ exceeded]
harryk has joined #ruby
cuppscak_ has joined #ruby
<shevy>
lol
<shevy>
the birds in havenwood's garden are brogrammers
<shevy>
BIRD-programmers!
jamto11 has quit [Remote host closed the connection]
cuppscakes has quit [Ping timeout: 248 seconds]
<havenwood>
shevy: i've never paired with a bird
<havenwood>
and my cat is terrible
doev has quit [Ping timeout: 240 seconds]
tier has joined #ruby
mikepack has quit [Remote host closed the connection]
axl_ has joined #ruby
aloysius21 has joined #ruby
<shevy>
lol
sailias has quit [Quit: Leaving.]
Spami has joined #ruby
alex88 has quit [Quit: Leaving...]
cocotton has joined #ruby
cocotton_ has joined #ruby
dANOKELOFF has quit [Remote host closed the connection]
s2013 has joined #ruby
sailias has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cocotton has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
<Hanmac>
havenwood: i have cats too ... they catch everything that moves in the yard ... once they captured a mole
kalusn has quit [Read error: No route to host]
kalusn has joined #ruby
ascarter has joined #ruby
momomomomo has joined #ruby
cocotton_ has quit [Ping timeout: 240 seconds]
Olipro has joined #ruby
trepidaciousMBR has joined #ruby
IcyDragon has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
<shevy>
cool
<shevy>
our cats here only catch mice and birds
IceDragon has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
wowXD has joined #ruby
timonv has quit [Remote host closed the connection]
wowXD has quit [Read error: Connection reset by peer]
edgarjs is now known as edgarjs_afk
wowXD has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wendly has quit [Remote host closed the connection]
<skmp>
eam: the traditional turing machine is fully deterministic, you can't have original content within a fully deterministic system, so, imo, that's not how teh brains work
cocotton has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
<skmp>
i guess you can add some random source to extend it
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
<eam>
skmp: no evidence brains produce original content
relix has joined #ruby
<RubyPanther>
Of course you can have original content, for values of "original content" that match real "original content."
<skmp>
there's also the fact that (digital) electronics are designed as huge systems (like, HUGE) that never fail. Extremely huge.
<RubyPanther>
None of that was entirely "original" anyways, except the wild mumblings of bat boy
wowXD has quit [Ping timeout: 252 seconds]
kalusn has quit [Remote host closed the connection]
IcyDragon is now known as IceDragon
relix has quit [Client Quit]
<skmp>
The brain works in an entierly different way
yfeldblum has joined #ruby
edgarjs_afk is now known as edgarjs
<skmp>
it has a cluster of extremly fail prone systems
<RubyPanther>
If you can figure out what "original content" even means, it would be trivial to write a bot to generate it
<skmp>
RubyPanther: entropy
<skmp>
you can't generate it
<skmp>
;p
cocotton has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
<RubyPanther>
The state of that art is more about teaching an expert system what "good" literature is, rather than some hang-up about being "original."
jottr_ has quit [Ping timeout: 264 seconds]
mikepack has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<skmp>
the state of the art is computers that don't really "think" or work like us
<skmp>
even though they might trick us some times
apeiros has joined #ruby
<skmp>
that's why the systems fail so bad
mgomezch has quit [Read error: Connection reset by peer]
<skmp>
and in ways a undeveloped human brain (baby) doesn't
<RubyPanther>
That is nonsense, systems that fail are poorly programmed
cocotton has quit [Remote host closed the connection]
<skmp>
the main function of the brain is to fail
yfeldblu_ has joined #ruby
<havenwood>
RubyPanther: or not designed :O
<skmp>
yet it somehow manages to create a very convincing delusion of coherence :p
<RubyPanther>
Software can and does write decent literature. The state of the art is not failure. Nor is it a "brain simulator."
cocotton has joined #ruby
yfeldbl__ has joined #ruby
<skmp>
well, I guess that totally depends on what "decent literature" classifies as
<RubyPanther>
It has no meaning, it is like complaining that jets are fake because they don't have feathers
<skmp>
the point isn't to apply stored knowledge
<skmp>
imo the point is to generate new knowledge
<RubyPanther>
You'd have to read it and realize that there is nothing different about _the_creative_content_ than content created by humans.
<skmp>
just like you can't iterate a code base without changing a bit the rules/design
<havenwood>
we all agree that Jane Eyre was actually an AI bot i'm sure, but was it "literature"?
<skmp>
Except RubyPanther, that the exact "create content" was examined before that
<RubyPanther>
The supposed difference is in the creative _process_ which isn't even the same for different humans, isn't understood, and isn't attempted to be measured in computers the way it is measured in humans
<skmp>
while, the first human that created had not
<RubyPanther>
skmp: That's a dodge
<RubyPanther>
A weak one, too. No human artist would meet the standard.
jonahR has joined #ruby
<skmp>
I haven't seen, heard, or read about a software simulation that generates something of sufficientl complexity that it wasn't designed to
<skmp>
well, except in the case of very interesting hardware bugs
yfeldblum has quit [Ping timeout: 264 seconds]
mgomezch has joined #ruby
<RubyPanther>
Right, but that is not the computer failing, that is just you not reading. ;)
<skmp>
(which, imo, classify as a source of chaotic randomness)
<skmp>
maybe
<skmp>
i mostly ponder about that stuff in my free time
testottot has joined #ruby
<skmp>
(aka, feel free to send amazing papers my way)
<RubyPanther>
My advice, read more journals, ponder less
<diegoviola>
i have two arrays, is there a way to merge the data of the arrays providing that the arrays have a common ID?
apeiros has quit [Ping timeout: 264 seconds]
testottot is now known as noeden
Kricir has joined #ruby
<skmp>
make me that device that the day has more than 300 hours
<diegoviola>
all the other data is different
<skmp>
and i'll do that RubyPanther :p
yfeldblu_ has quit [Ping timeout: 264 seconds]
<RubyPanther>
diegoviola: #+ and #& are my first 2 ideas depending on what "merge" means
<diegoviola>
ty
jprovazn_afk has quit [Quit: Odcházím]
<skmp>
RubyPanther: so, which is a great starting point? which journals?
jacobat has joined #ruby
mikepack has joined #ruby
<skmp>
I happen to be in a country that has no education, so haven't had the time dig that much into institutional stuff
<skmp>
+to
<RubyPanther>
skmp: I start at New Scientist magazine and mostly read things referenced there.
<RubyPanther>
Journals aren't necessary, I was just being snooty, the important thing is to read first and then integrate, instead of ponder and integrate
sdouglas has joined #ruby
<diegoviola>
RubyPanther: some of the columns in these array are the same on both arrays
<katlogic>
skmp: There's this whole theoretical field which studies 'Emergent behaviour'
mgomezch has quit [Read error: Connection reset by peer]
<katlogic>
skmp: Schoolbook example being game of life and similiar automata
<diegoviola>
RubyPanther: i want to be able to get the "floor" with the "number of garages" from the different arrays (link them together)
<skmp>
heh, maybe. I don't put that much trust though on unis, mostly from extremely bad past expirience
<diegoviola>
RubyPanther: but the data are in different arrays
<skmp>
katlogic: yeah i know, ofc :p
<diegoviola>
number of garages per floor
fgo has joined #ruby
<RubyPanther>
diegoviola: Why don't you just create an OO object that holds your data, then parse it in.
<skmp>
RubyPanther: most of the great ideas have come from random pondering, and that goes into many non coding related fields (painting, writing music, etc)
<skmp>
especially in music, most of it is just random mistakes that integrate into coherent ideas
<skmp>
but that could be me sucking at music ;p
<diegoviola>
RubyPanther: this data is coming from a "web service" via SOAP and XML, so if i were to create a OOP version of this, then I still would have to go through all that trouble of parsing the data and manipulating the arrays, etc
trepidaciousMBR has quit [Quit: trepidaciousMBR]
<katlogic>
skmp: The keyspace is too big for completely random pondering, there are strong rules to restrict the bounds ...
rurban_ has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
hy2guru_ has joined #ruby
<skmp>
life it too short to not randomly ponder, and follow someone else's random pondering
<RubyPanther>
skmp: No, most of the great ideas have come from directed pondering by people well educated in the field who get a surprising (not random) epiphany while working on a problem. Often it is about a different problem than they were working on, but that is part of the process.
<skmp>
i can't say I have examples of this
sdouglas has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
<skmp>
but that also makes sense
<RubyPanther>
Just grab at any great idea from history
<katlogic>
What RubyPanther said, It's always an educated guess, not a sudden spurr of savant genius.
<skmp>
certainly though, life itself wasn't created by a big mind
<skmp>
(well, that depends on your views on life, i guess)
<RubyPanther>
A great symphony isn't a random batch of ideas, it is a master work that was created with intention
<skmp>
see
<skmp>
the "created" part
<skmp>
for me means random batch o ideas
<RubyPanther>
Well, that is you misusing words
<skmp>
how they were integrated, refined, and organised is the master work
<katlogic>
Truly original memes are exceedingly rare, usually it's just mutated meme.
schaerli has joined #ruby
<RubyPanther>
The word is wrong, and so it shelters the difference in ideas from analysis.
fgo has quit [Ping timeout: 260 seconds]
<skmp>
yes katlogic, but why did you decide to put your cat in the ceiling and then take a picture of a soldering iron and add captions to it?
<skmp>
:p
jobewan has quit [Quit: Leaving]
<katlogic>
Because tomorrow is caturday?
<skmp>
that is a perfectly valid reason
<skmp>
;p
<RubyPanther>
Because the internet is made of cats, and adding captions is an old idea
mgomezch has joined #ruby
<skmp>
yeah, but the precise composition is new
Morkel_ has joined #ruby
<skmp>
(or at least, new to you)
alem0lars has quit [Quit: Going AFK...]
<RubyPanther>
Yeah, so is a used bike
shinobi_one has joined #ruby
Morkel has quit [Ping timeout: 255 seconds]
Morkel_ is now known as Morkel
<skmp>
thats not the same though
<katlogic>
skmp: Internet memes and pop song riffs are clear example of this indeed. Even classical music is mostly just clever arrangement of existing riffs.
<skmp>
uness you mean there's some mystical connection betwen brains that transfer knowledge
<RubyPanther>
No, it is _exactly_the_same_ and claims of "true" originality are all fake
<skmp>
yes, i don't disagree with that
m8 has joined #ruby
gygar_ is now known as Gygar|afk
<skmp>
when does new content come from then?
<katlogic>
Inherently you're arguing difference what muse really is, whether the motivation to arrange memes, or genuinely creating new ones.
axl_ has quit [Quit: axl_]
Trynemjoel has quit [Ping timeout: 245 seconds]
<katlogic>
RubyPanther: I'd avoid blanket term "all" with "most of the time".
<katlogic>
Emergence clearly exists, its just very rare for completely unrelated things to randomly arrange in something new and meaningful.
<RubyPanther>
I normally avoid blanket terms, but in this case I will defend "all." The egg comes before the chicken because that is where the mutation is first expressed.
<skmp>
katlogic: https://www.youtube.com/watch?v=YuokANvtjCM -- getting there from a symphony is quite a long way. An extreme amount of content reuse, but i sure think there have to be some *new* ideas inbetween
mgomezch has quit [Read error: Connection reset by peer]
<skmp>
same thing RubyPanther
<RubyPanther>
An original idea would be completely useless to a human brain.
<skmp>
mutations are random or not?
axl_ has joined #ruby
<RubyPanther>
Not
<RubyPanther>
Mutations are not, and _can_not_ be random!
<skmp>
why not?
<katlogic>
Genetic programming much?
<katlogic>
Literally monte carlo search for best fit.
<skmp>
so you think there's a self-assembling global "entire existance" plan and we just flow along its lines?
axl_ has quit [Client Quit]
<RubyPanther>
because you can only have coding errors in the specific ways that the gene transfers can fail, and the new value is derived from the old values
<RubyPanther>
We can't predict a mutation, but it is not, can not be, random
<skmp>
i've had bugs turn into great features
<katlogic>
Oh, sure, thats definition of mutation.
<katlogic>
Take the original, adjust a bit.
<Hanmac>
havenwood: "What would happen if you were to gather a mole (unit of measurement) of moles (the small furry critter) in one place?" http://what-if.xkcd.com/4/
maasha has joined #ruby
<skmp>
bugs are like mutations ;p
atraylen has joined #ruby
<skmp>
i've also had random bit flips make things work
<skmp>
while working with electronics
<skmp>
and EMI + thermal noise *is* mostly random
<RubyPanther>
Almost nothing can be random, things simply "appear random" because they're distributed in a way that was don't have more information about
<katlogic>
Quake strafe-jumping is unintended mutation exploited as part of gaming strategy.
<katlogic>
There was clearly no intention to implement it, yet it's inherently part of the game
<Senjai>
!this channel
<skmp>
well, thats mostly a phisosophical point though
<RubyPanther>
When physicists talk about things being "random" they're not talking about things being creatively new, they're talking about not having information other than some known distribution
nateberkopec has joined #ruby
kirun has joined #ruby
<skmp>
you're arguing that there's no new entropy, i'm arguing that the world is based on cheap entropy
<skmp>
both things make sense
<skmp>
I used to support that opinion tbh
<RubyPanther>
Entropy is just disorder, it isn't a thing that can be new, it is just a distribution
mgomezch has joined #ruby
<skmp>
i just drifted away from it lately (the past 4-5 years)
<RubyPanther>
and the distribution is never the same as in the past, but plagiarism can still exist
<skmp>
oh sure
luksaur has joined #ruby
luksaur has joined #ruby
luksaur has quit [Changing host]
<skmp>
plagiarism is almost 100% of the body
<katlogic>
RubyPanther: Whether quantum noise or even heat death is just statistical concept or inherent feature of nature is not even known to theoretical physicists.
mgomezch has quit [Read error: Connection reset by peer]
<skmp>
i don't think one bit every lots and lots of petabytes is real new entropy
noeden has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<RubyPanther>
katlogic: Yeah, thankfully they stopped asking most of those questions. Praise the logical positivists! lol
alem0lars has joined #ruby
* skmp
loves RubyPanther now
tvw has quit []
<maasha>
shevy: ?
<skmp>
RubyPanther: I believe creation comes from disorder, when it is processed by py information processing machines/systems and combined with the huge existing data set
<skmp>
-py
<katlogic>
skmp: It's the other way around. Adjust existing data with just tiny bit of entropy.
<eam>
is that why GC languages are popular then, ingrained and unescapable entropy
<katlogic>
eam: :)))
thesheff17 has quit [Ping timeout: 248 seconds]
mgomezch has joined #ruby
<skmp>
katlogic: yeh that makes sense (from my PoV)
Poky has quit [Remote host closed the connection]
<katlogic>
skmp: Well, technically both approaches exist. Either monte carlo search (somewhat unbound brute force attempt, then check result for fitness) vs genetic programming (mutate existing model by small bits, check for fitness).
axl_ has joined #ruby
ag4ve____ has quit [Ping timeout: 244 seconds]
<skmp>
i'm combining js knowledge with JIT/hw design nowdays, the fact that I know js is cus I broke up, and was too drunk to refuse a very bad job some night many months ago
St_Marx has joined #ruby
<skmp>
i consider that fact kind of random
mgomezch has quit [Read error: Connection reset by peer]
tjr9898 has quit [Remote host closed the connection]
<skmp>
but the rest of the knowledge (js, jit, h/w) is ofc pre-existing
<maasha>
!seen shevy
<katlogic>
Nah, JS is made of almost pure entropy. Just take JS operator rules matrix, that _is_ pure entropy.
<eam>
cosmic rays knocking bits of DNA around is pretty random
<katlogic>
As there is no rational reason for that whatsoever.
<skmp>
yup
<skmp>
;p
tjr9898 has joined #ruby
cocotton has quit [Remote host closed the connection]
<skmp>
though, to be fair, it does make much more sense than BASH programming
<skmp>
certainly an improvement
<eam>
I don't know much js, are its operators that much worse than say ruby's?
<skmp>
in practice, no
<skmp>
i've never had an operator bug bite me, even after a lot of code
mgomezch has joined #ruby
craigp has joined #ruby
<wasamasa>
I'd rather say the weak typing bit me
<skmp>
if you want to have a working mental model of js? forget it, that won't happen
<eam>
what little of js I know seems more or less similar to how perl works (which is very similar to ruby)
danman has joined #ruby
<skmp>
js is like html/css layout. You think you know how display: whatever; will do with mode: catnip; til the animal: catfish; just doesn't work quite right
<skmp>
and then you read the doc and realise that every 4th catnip element that has a boder color is actually hidden by default in the spec
<eam>
I'm blissfully unaware of browser markup
cj has joined #ruby
<cj>
hey folks
<skmp>
well, it has its elegance at some moments -- i'm really grateful of the new abstractions and ideas i've learnt
tjr9898 has quit [Ping timeout: 255 seconds]
<skmp>
(*some* moments)
<cj>
could someone recommend a good example of launching a shell script from ruby with a system call?
kireevco has quit [Quit: Leaving.]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby
<RubyPanther>
cosmic rays can only "knock" DNA from the current position into one of a few known possible other conditions. The case for randomness would fall on splitting hairs specifically within the cases of complete DNA failure, but those are not useful cases and won't instruct much
<bricker`work>
:|
<RubyPanther>
cj: beware of placing the words "system call" next to each other, because then it means something extra
gr33n7007h has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 255 seconds]
rurban has joined #ruby
stytown has joined #ruby
<RubyPanther>
which is to say, calling #system is not a system call :P
<skmp>
RubyPanther: btw, if you believe that there's some hidden variable behind complexity, and not true randomness, there's the random argument that there is an infinitive amount of hidden variables, thus, it is random
jamto11 has joined #ruby
<skmp>
isn't it an exec? :p
<skmp>
well, fork/exec
<eam>
RubyPanther: you just described the post-randomness selectivity
saarinen has quit [Client Quit]
<RubyPanther>
skmp: "true" in "true randomness" has no meaning. If there is hidden complexity is a known unknown that is widely believed to be unknowable.
<katlogic>
Whether the cosmic ray hits or no is random, the result of that impact is not random.
mgomezch has quit [Read error: Connection reset by peer]
<skmp>
true, as in, no finite amount of information will ever be sufficient to model it
doev has joined #ruby
<havenwood>
cj: do you want to replace the ruby process or just shell out?
mehlah has quit [Quit: Leaving...]
<RubyPanther>
Well, that is nonsense, if there is hidden complexity that is unknown, we won't be able to make any claims about if modeling it is easy or hard until/unless it is a known known
<skmp>
i'm not arguing that infinitive knowledge would result in perfect knowledge of the global state
<skmp>
i'm just saying that *finite* knowledge, no matter how big, won't
<cj>
havenwood: just shelling out is good. if I can do it in a non-blocking way, that'd be best
<katlogic>
skmp: I'm not reconciled with such statements. I hold slight hopes that our reality is just a sim running on god's quantum desktop PC.
<katlogic>
you know, like we play The sims.
<cj>
system("/usr/local/foo&") might work, eh?
<havenwood>
cj: checkout the difference between backticks `ls` and system('ls')
relix has joined #ruby
<skmp>
katlogic: i love that idea
<RubyPanther>
You can't know that without knowing it. You can't know what would be available from finite knowledge except for the things you have knowledge about already.
<skmp>
but then, god himself must be simulated ;p
<skmp>
or it makes no sense
<havenwood>
cj: do you need a return value? io or compute bound?
kaspergrubbe has joined #ruby
postmodern has joined #ruby
<havenwood>
cj: a thread or fork in Ruby
<RubyPanther>
If you read Richard Feynman: A Life in Science, they spend a bunch of pages on logical positivism and this sort of question
* skmp
puts that into the list
gnephiak has joined #ruby
<cj>
havenwood: no return value necessary. the called script will likely be waiting on things like DNS and ping
<skmp>
I love Feynman, but mostly seen videos and stuff
nanoyak has joined #ruby
oo_ has joined #ruby
<skmp>
but, tbh, that's just my prediction/model for the world
Kricir has quit [Remote host closed the connection]
<cj>
he's the one who quoted the baghvad gita that one time, isn't he? "I have become death, the destroyer of worlds."
<eam>
if you're going to fork, use exec
cocotton has joined #ruby
<havenwood>
good point eam
thesheff17 has joined #ruby
cocotton has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
sigurding has joined #ruby
<skmp>
(and i'm always looking around for new data that challenges my assumptions)
<cj>
okay, fork / exec it is
einarj has joined #ruby
cocotton has joined #ruby
<cj>
no, that was oppenheimer
icole has joined #ruby
<eam>
also, I just spent 5 minutes trying to come up with some snark about ruby -e'syscall 59, "/bin/sh", ...' but I can't marshall a char** without too much work
<RubyPanther>
according to Feynman's "reverse wave hypothesis" the cosmic ray actually interacts with the DNA it is going to fiddle _before_ being emitted from the solar body
<havenwood>
eam: although he doesn't want to replace his ruby process
<eam>
havenwood: it'll replace the forked copy
<havenwood>
open3
<RubyPanther>
So rather than random, it is actually premeditated by both the cosmic ray, and the DNA
<skmp>
that requires global (universe wise) conceous
<eam>
system() is identical to fork { exec() } ; wait()
<havenwood>
eam: ah, just got what you meant - i need coffee
<skmp>
i don't think that's efficient or archivalbe
<RubyPanther>
Nope, just a "reverse wave"
mgomezch has joined #ruby
bousquet has joined #ruby
<skmp>
so, each side needs to somehow have knowledge
<skmp>
i don't think matter is so heavily networked ;p
<RubyPanther>
Right, the theory is that every single photon exchange has a _different_ information exchange first, traveling backwards in time
<skmp>
that seems inefficient
aerook has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
<skmp>
i'd think the world would be self assembled into something more efficient
<skmp>
(with less information going on)
bousquet has quit [Client Quit]
rdavila has quit [Quit: rdavila]
<RubyPanther>
Yeah, to measure where 1 photon will go, you have to collapse a whole universe full of wave functions to find the one that reinforces
tjr9898 has joined #ruby
bousquet has joined #ruby
<skmp>
but it is an interesting idea
x1337807x has joined #ruby
<RubyPanther>
what looks "efficient" at the human level is somewhat arbitrary
kireevco has joined #ruby
<skmp>
yeah ofc
<havenwood>
cj: then `Process.detach pid` or wait or whatever your logic dictates
<skmp>
but then, that goes for every theory
<havenwood>
oh though exec
saarinen has joined #ruby
Hobogrammer has joined #ruby
<skmp>
so its mostly a philosophical decision rather than a data-driven one
<skmp>
(as Feynman said, 'I have various degrees of certainly about different things, but i'm not absolutely sure about anything')
<havenwood>
still
einarj has quit [Remote host closed the connection]
<havenwood>
zombies!
<cj>
havenwood: I was hoping to avoid thinking about those...
gigetoo has quit [Remote host closed the connection]
mgomezch has quit [Read error: Connection reset by peer]
<wasamasa>
it's not like ruby's a programming language that doesn't offer writing better bindings to c libraries
gigetoo has joined #ruby
<eam>
yeah but he specifically said system call ;-)
rurban has left #ruby ["Leaving"]
GriffinHeart has joined #ruby
<apeiros>
won't `` result in system calls either?
<jhass>
maybe he meant a Kernel#system-call? :P
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrCode has quit [Remote host closed the connection]
jacobat has quit [Ping timeout: 248 seconds]
sdouglas has joined #ruby
tjr9898 has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Remote host closed the connection]
<eam>
apeiros: well that's no fun at all
<apeiros>
if you want fun, use malbolge!
fgo has joined #ruby
DrCode has joined #ruby
<eam>
is there a gem for inline malbolge in ruby yet?
djbkd has joined #ruby
tjr9898_ has joined #ruby
pp_ has quit [Quit: leaving]
setra has joined #ruby
hy2guru has joined #ruby
doev has quit [Ping timeout: 260 seconds]
pp_ has joined #ruby
hy2guru has quit [Remote host closed the connection]
ylluminate has joined #ruby
SBoolean has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has quit [Ping timeout: 240 seconds]
DrShoggoth has joined #ruby
chipotle has quit [Quit: cya]
olduseless has joined #ruby
<apeiros>
eam: I bet you could use inline assembler to do that
yetanotherdave has quit [Read error: Connection reset by peer]
larissa has quit [Quit: Leaving]
gnephiak has quit [Quit: Konversation terminated!]
sdouglas has quit [Ping timeout: 240 seconds]
yetanotherdave has joined #ruby
fgo has quit [Ping timeout: 248 seconds]
mgomezch has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
aspires has quit []
CaptainJet has quit []
thrownaway has quit [Ping timeout: 240 seconds]
prathamesh has quit [Remote host closed the connection]
larissa has joined #ruby
maasha has quit [Quit: Page closed]
axl_ has quit [Quit: axl_]
aspires has joined #ruby
djbkd has quit [Remote host closed the connection]
ppinto has joined #ruby
Gonzih has joined #ruby
rdark has quit [Quit: leaving]
oo_ has joined #ruby
aloysius21 has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 245 seconds]
Shidash has quit [Quit: Leaving.]
Azure has joined #ruby
oo__ has joined #ruby
jacobat has joined #ruby
edgarjs is now known as edgarjs_afk
oo_ has quit [Ping timeout: 260 seconds]
sdelmore has joined #ruby
axl_ has joined #ruby
Kricir has joined #ruby
<sdelmore>
I've been messing with time zone for a few hours and can't figure out how to get rid of it. Is there a ruby class for time without zone?
<sdelmore>
Or a way to force everything to always be utc?
andrewjanssen has joined #ruby
datafirm has quit [Ping timeout: 245 seconds]
oo__ has quit [Ping timeout: 264 seconds]
mikepack has quit [Remote host closed the connection]
benzrf is now known as muchbot
muchbot is now known as benzrf
mgomezch has quit [Read error: Connection reset by peer]
edgarjs_afk is now known as edgarjs
<RubyPanther>
sdelmore: Normally you would cast all your inputs to UTC
<RubyPanther>
There is nothing full-featured like SQL has
<sdelmore>
I am trying, but something seems to keep turning them back. Maybe it is a rails thing, not a ruby thing.
<Hanmac>
RubyPanther: there should be a gem named "blue-box" for messing with time & zones ;P
<Sou|cutter>
Time.zone = 'UTC'
<RubyPanther>
Time and dates are Ruby's weak area, because the stdlib is mostly just centered around providing an interface to the crufty old unix C libs
edgarjs is now known as edgarjs_afk
<sdelmore>
I can create them as utc, but when I cast them as dates, then back to times it puts local time back in.
edgarjs_afk is now known as edgarjs
<sdelmore>
Maybe I just need to stay away from the date.to_time method. I was creating a method to give me the full days from a time interval, but it keeps putting them back in local time.
<RubyPanther>
My typical strategy is to stuff them in a database, and do the time/date math in SQL, then hide all that behind a Ruby method
mgomezch has joined #ruby
<sdelmore>
Interesting.
gruz0[russia] has quit [Quit: Leaving]
<RubyPanther>
"substantially non-optimal" but it gets me there
jcromartie has joined #ruby
datafirm has joined #ruby
Poky has joined #ruby
bartdorsey has quit [Ping timeout: 264 seconds]
jcromartie has quit [Client Quit]
Kricir has quit [Remote host closed the connection]
Ankhers has quit [Ping timeout: 264 seconds]
<sdelmore>
I may just have to make my own version of to_time which does a to_time then subtracts the offset.
tus has joined #ruby
<sdelmore>
Thought there might be something already built in to do it better.
tus has quit [Excess Flood]
tus has joined #ruby
tus has quit [Excess Flood]
benzrf is now known as benzrf|offline
postmodern has quit [Quit: Leaving]
<sdelmore>
Aha….to_time can take a parameter but I didn't see it in the docs. I can do date.to_time(:utc)
bartdorsey has joined #ruby
benzrf|offline is now known as benzrf
benzrf is now known as benzrf|offline
<jhass>
looks like a AS extension
tus has joined #ruby
jezen has quit [Remote host closed the connection]
hobodave has joined #ruby
tus has quit [Excess Flood]
larissa has quit [Quit: Leaving]
pietr0 has quit [Quit: pietr0]
Kricir has joined #ruby
tus has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
ndrei has joined #ruby
tesaf has quit [Quit: Lost terminal]
<banister>
jhass 'an'
<banister>
;)
wowXD has joined #ruby
mapimopi has joined #ruby
julian-delphiki has quit [Ping timeout: 240 seconds]
tjr9898_ has quit [Remote host closed the connection]
tier has quit []
diegoviola has joined #ruby
phutchins has quit [Ping timeout: 260 seconds]
WormDrink has quit [Quit: Leaving]
dukedave has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wowXD has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
setra has quit [Ping timeout: 240 seconds]
WormDrink has joined #ruby
dfinly has joined #ruby
dfinly has quit [Max SendQ exceeded]
jottr_ has joined #ruby
Gonzih has quit [Quit: IRC is just multiplayer vim.]
ItSANgo has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
jonahR has quit [Remote host closed the connection]
hakunin has quit [Ping timeout: 264 seconds]
fresham has joined #ruby
ctp has joined #ruby
ItSANgo_ has joined #ruby
alvaro_o has joined #ruby
jonahR has joined #ruby
enebo has joined #ruby
chridal has joined #ruby
keystonelemur has joined #ruby
lemur has quit [Read error: Connection reset by peer]
tjr9898 has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
whowantstolivef3 has joined #ruby
fortunamajor has joined #ruby
vifino has quit [Quit: Ze Cat now leaves...]
benlieb has joined #ruby
benlieb has quit [Client Quit]
aspires has joined #ruby
dergeperng has joined #ruby
ViperChi- has joined #ruby
jonahR has quit [Ping timeout: 264 seconds]
axl_ has joined #ruby
jeevesmoss has joined #ruby
glowcoil_ has joined #ruby
metadave_ has joined #ruby
shtirlic_ has joined #ruby
camilasann has joined #ruby
<jeevesmoss>
hey guys. I don't get this. if I run gem list opengl, it shows I have version 0.8.0 installed, but when I run bundle install, it fails on opengl.
emdub has joined #ruby
yeltzooo4 has joined #ruby
m_3_ has joined #ruby
razrunelord has quit [Remote host closed the connection]
redondos- has joined #ruby
mjc_ has quit [Ping timeout: 240 seconds]
cHarNe2_ has joined #ruby
jorendorff has quit [Ping timeout: 240 seconds]
Sammael has quit [Ping timeout: 240 seconds]
jeregrine has quit [Ping timeout: 240 seconds]
octarine has quit [Ping timeout: 240 seconds]
yeltzooo has quit [Ping timeout: 240 seconds]
dodgepong has quit [Ping timeout: 240 seconds]
RandyT has quit [Ping timeout: 240 seconds]
daxroc has quit [Ping timeout: 240 seconds]
ViperChief has quit [Ping timeout: 240 seconds]
shtirlic has quit [Ping timeout: 240 seconds]
jinie has quit [Ping timeout: 240 seconds]
glowcoil has quit [Ping timeout: 240 seconds]
ggherdov has quit [Ping timeout: 240 seconds]
metadave has quit [Ping timeout: 240 seconds]
aep has quit [Ping timeout: 240 seconds]
kartouch has quit [Ping timeout: 240 seconds]
CJD14__ has quit [Ping timeout: 240 seconds]
ericboehs has quit [Ping timeout: 240 seconds]
lele has quit [Ping timeout: 240 seconds]
m_3 has quit [Ping timeout: 240 seconds]
ji0n has quit [Ping timeout: 240 seconds]
emdub_ has quit [Ping timeout: 240 seconds]
franka_ has quit [Ping timeout: 240 seconds]
gogiel has quit [Ping timeout: 240 seconds]
zonetti has quit [Ping timeout: 240 seconds]
zartoosh has quit [Write error: Connection reset by peer]
artmann_ has joined #ruby
CJD14___ has joined #ruby
redondos has quit [Excess Flood]
jorendorff has joined #ruby
olivier_bK has quit [Ping timeout: 240 seconds]
tobago has quit [Ping timeout: 240 seconds]
phoo1234567 has quit [Ping timeout: 240 seconds]
Beoran__ has quit [Ping timeout: 240 seconds]
cHarNe2 has quit [Ping timeout: 240 seconds]
rotor has quit [Ping timeout: 240 seconds]
aboudreault has quit [Ping timeout: 240 seconds]
zz_LoRdToLsToI has quit [Ping timeout: 240 seconds]
artmann has quit [Ping timeout: 240 seconds]
maloik has quit [Ping timeout: 240 seconds]
nug has quit [Ping timeout: 240 seconds]
micah` has quit [Ping timeout: 240 seconds]
AlHafoudh has quit [Ping timeout: 240 seconds]
cuqa has quit [Ping timeout: 240 seconds]
zarul has quit [Ping timeout: 240 seconds]
Gate has quit [Ping timeout: 240 seconds]
camilasan has quit [Ping timeout: 240 seconds]
weems has quit [Ping timeout: 240 seconds]
whowantstolivefo has quit [Ping timeout: 240 seconds]
<cj>
hey folks, could I get a quick code review here? This is my first ruby change, and I wanted to get a sanity check before I set up an environment on which to test it
bartdorsey has quit [Ping timeout: 264 seconds]
ELLIOTTCABLE has quit [Ping timeout: 264 seconds]
FL1SK has quit [Ping timeout: 264 seconds]
diegok has joined #ruby
gzl has quit [Ping timeout: 264 seconds]
kapowaz has quit [Ping timeout: 264 seconds]
Shidash has joined #ruby
rickruby has quit [Ping timeout: 264 seconds]
Karunamon has quit [Ping timeout: 264 seconds]
Karunamon|2 is now known as Karunamon
dayepa has quit [Ping timeout: 264 seconds]
msch has quit [Ping timeout: 264 seconds]
kirun has quit [Ping timeout: 264 seconds]
s2013_ has joined #ruby
kapowaz_ is now known as kapowaz
ELLIOTTCABLE_ is now known as ELLIOTTCABLE
rickruby_ is now known as rickruby
msch_ is now known as msch
d3scala has quit [Ping timeout: 264 seconds]
descala has joined #ruby
dayepa has joined #ruby
TTilus has quit [Remote host closed the connection]
ihme-TTilus has joined #ruby
hakunin_ has joined #ruby
ctp has joined #ruby
BackEndCoder has quit [Ping timeout: 264 seconds]
jpinnix_____ has quit [Ping timeout: 264 seconds]
qwyeth has quit [Quit: Leaving]
benzrf has quit [Ping timeout: 240 seconds]
rebelshrug has joined #ruby
sailias has quit [Quit: Leaving.]
hakunin has quit [Ping timeout: 264 seconds]
s2013 has quit [Ping timeout: 264 seconds]
jpinnix_____ has joined #ruby
BackEndCoder has joined #ruby
avelldiroll has quit [Ping timeout: 264 seconds]
sinkensabe has joined #ruby
oo_ has joined #ruby
fgo has joined #ruby
pu22l3r_ has joined #ruby
avelldiroll has joined #ruby
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
sdouglas has joined #ruby
datafirm has joined #ruby
pu22l3r has quit [Ping timeout: 264 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
RaCx has joined #ruby
trepidaciousMBR has left #ruby [#ruby]
brian___ has joined #ruby
oo_ has quit [Ping timeout: 260 seconds]
dontwork has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
pickle__ has joined #ruby
pietr0 has quit [Quit: pietr0]
DrShoggoth has quit [Quit: Leaving]
benzrf has quit [Ping timeout: 240 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
pasties has quit [Ping timeout: 245 seconds]
danman_ has joined #ruby
RaCx_ has joined #ruby
chridal_ has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Sigma00_ has joined #ruby
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
jaredrhine_ has joined #ruby
AndChat| has joined #ruby
razum2um1 has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
bradleyprice has joined #ruby
moted_ has joined #ruby
ever_daniel has joined #ruby
_KaszpiR___ has joined #ruby
Gnubie__ has joined #ruby
klaut_ has joined #ruby
pu22l3r_ has quit [Read error: Connection reset by peer]
Drakevr_ has joined #ruby
ponyflei1ch has joined #ruby
Fraeon has joined #ruby
diego_k has joined #ruby
Anarch_ has joined #ruby
philtr_ has joined #ruby
b00stfr31k has joined #ruby
pu22l3r has joined #ruby
raddazong has joined #ruby
catepill1r has joined #ruby
jiriki- has joined #ruby
Killerkeksdose_ has joined #ruby
emdub_ has joined #ruby
isomorph1smes has joined #ruby
m_3 has joined #ruby
ged_ has joined #ruby
Elfix_113 has joined #ruby
Rubeh_ has joined #ruby
Sp4rKy_ has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
kyb3r_ has joined #ruby
oo_ has joined #ruby
jackneill has quit [Ping timeout: 260 seconds]
Drakevr has quit [Disconnected by services]
pietr0 has joined #ruby
djbkd has joined #ruby
graydot has quit [Quit: graydot]
benzrf has quit [Ping timeout: 260 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m8 has quit [Quit: Sto andando via]
cocotton has quit [Ping timeout: 245 seconds]
s2013_ has quit [Ping timeout: 260 seconds]
cantonic has quit [Ping timeout: 240 seconds]
slowcon has quit []
babykosh has quit [Quit: babykosh]
Trynemjoel has joined #ruby
wiscasss has joined #ruby
codeurge has quit [Quit: Sleep.]
sindork has joined #ruby
sindork has joined #ruby
TakumoKatekari has joined #ruby
Drakevr_ is now known as Drakevr
TakumoKatekari has joined #ruby
TakumoKatekari has quit [Changing host]
xargoon_ has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
Urocyon has joined #ruby
phinfonet has quit [Read error: Connection reset by peer]
xMopxShe- has joined #ruby
dhruvasagar_ has joined #ruby
tchebb_ has joined #ruby
lemur has quit [Remote host closed the connection]
JZTech102 has joined #ruby
_Andres has quit [Ping timeout: 255 seconds]
RaCx has quit [*.net *.split]
Shidash has quit [*.net *.split]
jpinnix_____ has quit [*.net *.split]
hakunin_ has quit [*.net *.split]
diegok has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
heftig has quit [*.net *.split]
shanlar has quit [*.net *.split]
adnauseam has quit [*.net *.split]
phoo1234567 has quit [*.net *.split]
rdavila has quit [*.net *.split]
glowcoil has quit [*.net *.split]
chridal has quit [*.net *.split]
camilasann has quit [*.net *.split]
m_3_ has quit [*.net *.split]
emdub has quit [*.net *.split]
ggherdov has quit [*.net *.split]
danman has quit [*.net *.split]
luksaur has quit [*.net *.split]
lkba has quit [*.net *.split]
AlSquirrel has quit [*.net *.split]
bradleyp_ has quit [*.net *.split]
ged has quit [*.net *.split]
Hanmac has quit [*.net *.split]
b00stfr3ak has quit [*.net *.split]
jxf has quit [*.net *.split]
moted has quit [*.net *.split]
wiscas has quit [*.net *.split]
everdaniel has quit [*.net *.split]
pickle_ has quit [*.net *.split]
klaut has quit [*.net *.split]
razum2um has quit [*.net *.split]
ashleah_ has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
Takumo has quit [*.net *.split]
grn has quit [*.net *.split]
Dwarf has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
adambeynon has quit [*.net *.split]
bjeanes has quit [*.net *.split]
natewalck has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
zz_jrhorn424 has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
Hien has quit [*.net *.split]
sfr^ has quit [*.net *.split]
gwb3 has quit [*.net *.split]
paulog has quit [*.net *.split]
pagioss has quit [*.net *.split]
cj has quit [*.net *.split]
MetaCosm has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
frode15243 has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
go|dfish has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
catepillar has quit [*.net *.split]
dioms_ has quit [*.net *.split]
Anarch has quit [*.net *.split]
fearoffish has quit [*.net *.split]
sindork_ has quit [*.net *.split]
philtr has quit [*.net *.split]
Macacity has quit [*.net *.split]
jayne has quit [*.net *.split]
pusewicz has quit [*.net *.split]
Mars` has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
xargoon has quit [*.net *.split]
jiriki has quit [*.net *.split]
tchebb has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
rtlong has quit [*.net *.split]
callumacrae has quit [*.net *.split]
cmaxw_____ has quit [*.net *.split]
madhatter has quit [*.net *.split]
JZTech101 has quit [*.net *.split]
Rubeh has quit [*.net *.split]
qpls has quit [*.net *.split]
jimeh has quit [*.net *.split]
_KaszpiR_ has quit [*.net *.split]
Elfix has quit [*.net *.split]
sfiggins has quit [*.net *.split]
isomorphismes has quit [*.net *.split]
jeekl has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
ponyfleisch has quit [*.net *.split]
wiscasss is now known as wiscas
xargoon_ is now known as xargoon
tchebb_ is now known as tchebb
moted_ is now known as moted
danman_ is now known as danman
oo_ has quit [Ping timeout: 245 seconds]
RaCx_ is now known as RaCx
Sigma00_ is now known as Sigma00
olivier_bK has quit [Ping timeout: 240 seconds]
callumacrae has joined #ruby
fearoffish has joined #ruby
_Andres has joined #ruby
Tricon has joined #ruby
qpls has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
Sammael has joined #ruby
phinfonet has joined #ruby
Olipro has quit [Ping timeout: 246 seconds]
kaspergrubbe has quit [Remote host closed the connection]
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
razum2um1 has quit [Quit: Leaving.]
BradLsys has joined #ruby
sigurding has quit [Quit: sigurding]
causasui has left #ruby ["0.4.3"]
jamto11 has quit [Remote host closed the connection]
catepill1r is now known as catepillar
diegoviola has joined #ruby
Hanmac has joined #ruby
_Andres_ has joined #ruby
tjr9898 has joined #ruby
phoo1234567 has joined #ruby
jxf has joined #ruby
axl_ has joined #ruby
mikespla_ has joined #ruby
_Andres has quit [Ping timeout: 255 seconds]
jeekl has joined #ruby
Shidash has joined #ruby
pietr0 has quit [Quit: pietr0]
mikespla_ has quit [Client Quit]
Kricir has quit [Ping timeout: 240 seconds]
go|dfish has joined #ruby
enebo has quit [Quit: enebo]
razum2um has joined #ruby
pietr0 has joined #ruby
jerius has quit []
lemur has joined #ruby
mikesplain has quit [Ping timeout: 252 seconds]
mijicd has quit [Ping timeout: 264 seconds]
Olipro has joined #ruby
spider-mario has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
Valesk has joined #ruby
dblessing has quit [Quit: dblessing]
BradLsys has quit [Quit: Leaving]
shanlar has joined #ruby
andrewlio has quit [Remote host closed the connection]
natewalck has joined #ruby
terrell_t has quit [Remote host closed the connection]
terrellt has joined #ruby
emptyflask has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
GriffinHeart has joined #ruby
djbkd has quit [Remote host closed the connection]
jonahR has joined #ruby
emptyflask has quit []
RaCx has joined #ruby
djbkd has joined #ruby
GriffinHeart has quit [Ping timeout: 260 seconds]
Takle has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
RaCx has quit [Client Quit]
zigomir_ has joined #ruby
djbkd has quit [Remote host closed the connection]
jheg_ is now known as jheg
dukedave has left #ruby ["Leaving"]
Anarch_ is now known as Anarch
RaCx has joined #ruby
Darkchaos has quit [Ping timeout: 248 seconds]
edgarjs is now known as edgarjs_afk
Kricir has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<drizz>
is it possible to allocate a fixed size mutable string, for say, using as a buffer?
zigomir has quit [Ping timeout: 264 seconds]
lemur has quit [Remote host closed the connection]
<apeiros>
drizz: you could implement one
cuppscak_ has quit [Quit: Disconnected]
djbkd has joined #ruby
<apeiros>
drizz: or you can use an ordinary string and never change its size
wowXD has joined #ruby
pu22l3r_ has joined #ruby
Takle has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
pu22l3r has quit [Ping timeout: 245 seconds]
<drizz>
apeiros: and that won't make it realloc()?
pietr0 has quit [Quit: pietr0]
Georg3 has joined #ruby
<apeiros>
you might be using the wrong language if you care about such minutiae
<apeiros>
why would it realloc?
<drizz>
it's actually just idle curiosity, it's not really a requirement
<drizz>
and because many string implementations do that
<apeiros>
realloc when you don't change the size? again, why'd they do that?
pu22l3r_ has quit [Ping timeout: 252 seconds]
<apeiros>
realloc happens when your string grows beyond capacity
_Andres_ has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
wowXD has quit [Ping timeout: 264 seconds]
pu22l3r has joined #ruby
pu22l3r has quit [Read error: Connection reset by peer]
chrishough has quit [Quit: chrishough]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<drizz>
because they're sloppy :p
pu22l3r_ has joined #ruby
zorak has quit [Quit: Saliendo]
zorak has joined #ruby
Dr3amc0d3r|away has quit [Ping timeout: 272 seconds]
djbkd has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
<drizz>
anyway, keeping a string a fixed size (i.e. manually filling it with nonsense) would get quite ugly rather fast
Mongey has joined #ruby
<drizz>
it'd be rather trivial to write an extension like this, no?
schaerli has quit [Remote host closed the connection]
mapimopi has quit [Remote host closed the connection]
schaerli has joined #ruby
<drizz>
a gem like iobuffer seems to do this
riotjone_ has joined #ruby
fgo has joined #ruby
cpruitt has joined #ruby
jonahR has quit [Remote host closed the connection]
<apeiros>
drizz: what do you think a native implementation does? if it does it properly, it'll null the alloced area out. but that's about the same as "filling it with nonsense".
tjr9898 has quit [Remote host closed the connection]
<apeiros>
and if you don't do it properly: hellloooo security bug.
sdouglas has joined #ruby
<apeiros>
and yes, I think it shouldn't be too hard to write it as a native extension. wouldn't be too hard as a plain ruby thing either.
riotjones has quit [Ping timeout: 260 seconds]
pothibo has joined #ruby
tjr9898 has joined #ruby
tjr9898 has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 240 seconds]
<drizz>
apeiros: in ruby's case, when manipulating data from a buffer, I'd imagine it'd allocate a new string, copy the contents, and send the old one off to garbage collecting since the original buffer could easily be 16K in size when the contents is only 12 bytes
nanoyak has quit [Quit: Computer has gone to sleep.]
<drizz>
but perhaps it just keeps the maximum capacity until the string is no longer referenced and then gc'd?
vifino has quit [Ping timeout: 245 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
<apeiros>
I'm not quite following your reasoning. but it sounds like your scenario involves changing the buffers size. which is what I said not to do.
Gygar|afk has quit [Ping timeout: 260 seconds]
tjr9898 has joined #ruby
<apeiros>
drizz: the source is there. you can check what ruby does in which situation and what its allocation pattern is.
<drizz>
yeah, I really should check it
lmickh has quit [Remote host closed the connection]
DanielRb has quit [Read error: Connection reset by peer]
Georg3_ has quit [Quit: Computer has gone to sleep.]
brunops has joined #ruby
chridal has joined #ruby
<ebbel>
Hi, I'm looking for a way to merge 2 http sessions into one. Something like a proxy which can enable sharing of cookies and sessions.
charliesome has joined #ruby
razum2um has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
pu22l3r_ has quit [Remote host closed the connection]
Kricir has joined #ruby
duncannz has joined #ruby
oo_ has joined #ruby
geggam has quit [Quit: Leaving]
dangerousdave has quit [Ping timeout: 255 seconds]
wowXD has joined #ruby
Zackio has joined #ruby
sylphiae has quit [Quit: Leaving]
sent-hil has joined #ruby
Kricir has quit [Ping timeout: 255 seconds]
<sent-hil>
does `Tempfile` have any automatic size management?
pietr0 has quit [Quit: pietr0]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codeurge has quit [Quit: Sleep.]
oo_ has quit [Ping timeout: 240 seconds]
jrichocean has joined #ruby
wowXD has quit [Ping timeout: 240 seconds]
ctp has joined #ruby
CodeBunny has joined #ruby
lemur has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
adamnbowen has joined #ruby
Hobogrammer has quit [Read error: Connection reset by peer]
Takle has joined #ruby
smathieu has joined #ruby
Alina-malina has quit [Ping timeout: 245 seconds]
Alina-malina has joined #ruby
oo_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lemur has quit [Ping timeout: 260 seconds]
fgo has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
chrishough has joined #ruby
zigomir_ has quit [Remote host closed the connection]
razum2um has quit [Quit: Leaving.]
baroquebobcat has quit [Quit: baroquebobcat]
djbkd has joined #ruby
zigomir has joined #ruby
r_rios has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
sdouglas has joined #ruby
zigomir_ has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
oo_ has quit [Ping timeout: 248 seconds]
fgo has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
<CodeBunny>
Is there anyone around that can help me with rake, and minitest. I am having trouble accessing globally scoped variables when I run my test:all task, and I can't figure out why. I can get to them when I run tasks that grab tests from individual folders.
IceDragon has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
alec-c4 has quit [Remote host closed the connection]
zigomir_ has quit [Ping timeout: 255 seconds]
r_rios has quit [Ping timeout: 255 seconds]
Takle has quit []
Takle has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
r_rios has joined #ruby
oo_ has joined #ruby
rebelshrug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Poky has quit [Ping timeout: 248 seconds]
pu22l3r has joined #ruby
<matti>
sent-hil: Size management?
Georg3_ has joined #ruby
<matti>
CodeBunny: Any errors?
adamnbowen has quit [Quit: Computer has gone to sleep.]
rhg has joined #ruby
edgarjs is now known as edgarjs_afk
rhg has quit [Excess Flood]
oo_ has quit [Ping timeout: 255 seconds]
rhg has joined #ruby
<rhg>
warning
<rhg>
you may be watched
<rhg>
do usa&israel use the internet(facebook,youtube,twitter, chat rooms ..ect)to spy??
<rhg>
do they record&analyse everything we do on the internet,,can they harm you using these informations??
<rhg>
do usa&israel use the internet 2 collect informations,,can we call that spying??
<rhg>
warning
<rhg>
ÊÍÐíÑ
rhg has quit [Excess Flood]
rhg has joined #ruby
rhg has quit [Excess Flood]
djbkd has quit [Remote host closed the connection]
rhg has joined #ruby
rhg has quit [Excess Flood]
Takle has quit []
rhg has joined #ruby
rhg has quit [Excess Flood]
tjr9898 has quit []
rhg has joined #ruby
rhg has quit [Excess Flood]
rhg has joined #ruby
rhg has quit [Excess Flood]
<CodeBunny>
matti no errors
brianherman has joined #ruby
rhg has joined #ruby
jumblemuddle has joined #ruby
Georg3_ has quit [Ping timeout: 245 seconds]
<CodeBunny>
the @vars are just not available
<CodeBunny>
I set them in setup, and call them in a test...
rhg has quit [Excess Flood]
kame355 has joined #ruby
<CodeBunny>
I can do it when I ren the tests individually, rake the folder, etc.... but not when I rake test:all
IceDragon has joined #ruby
mehlah has joined #ruby
Nahra has quit [Remote host closed the connection]