x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moted has joined #ruby
<benzrf>
duper: y do u need to
BeanDip has quit [Ping timeout: 250 seconds]
Zesty has joined #ruby
lbrown has joined #ruby
Cheezebox has quit [Remote host closed the connection]
moted has quit []
elementz has joined #ruby
<bricker>
lame question
benlieb has joined #ruby
<benlieb>
I'm fixing a failing test after upgrading to 1.9.3 from 1.8.7. The following test fails in 1.9.3, but passes in 1.8.7 assert p.sale_commissions.first.transactable_price == 0.69
GriffinHeart has joined #ruby
<benlieb>
it seems now transactable_price is <BigDecimal:7fa6ad92cb78,'0.69E0',9(18)>
<benlieb>
so transactable_price.to_f == 0.69
<benlieb>
should I just tack on to_f and call it a day or should I be more concerned about this?
<pontiki>
why not compare it to BigDecimal('0.69') ?
InhalingPixels has quit [Remote host closed the connection]
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
<pontiki>
.to_f and equality are sometimes problematic
elementz has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
<benlieb>
I guess I'd have to convert it one way or the other. I'm not sure why it's a big decimal though.
x1337807x has quit [Max SendQ exceeded]
<benlieb>
I don't remember manually making any BigDecimal things
x1337807x has joined #ruby
<pontiki>
it's better (and recommended) to use BigDecimal for financial stuff nowadays, anyway
starless has quit [Quit: Leaving]
GriffinHeart has quit [Ping timeout: 255 seconds]
Bumptious has joined #ruby
bmurt has quit [Ping timeout: 250 seconds]
Cheezebox has joined #ruby
Bumptious has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
optiz0r has quit [Ping timeout: 240 seconds]
emocakes has quit []
guiguidoc has quit [Ping timeout: 246 seconds]
toretore has quit [Quit: This computer has gone to sleep]
<frjkafk>
hello all, why do all threads pause when a thread accesses operating system?
<armanghassemi_>
how do I push to a folder inside a git repository? I tried making the link to the folder the remote but then I get the repository not found error
<frjkafk>
have you heard of the git book?
<frjkafk>
im not a git expert but i could do a read along
charliesome has joined #ruby
whatasunnyday has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<frjkafk>
do u need help?
fabrice31 has quit [Ping timeout: 250 seconds]
<frjkafk>
i'll help you if you help me
ARCADIVS has joined #ruby
gsd has joined #ruby
froggy__ has joined #ruby
tectonic has joined #ruby
goodenough has joined #ruby
michaeldeol has joined #ruby
emmesswhy has joined #ruby
froggy_ has quit [Ping timeout: 255 seconds]
<pontiki>
armanghassemi_: you don't push to a folder within a repo, you push the entire repo to a remote repo
whatasunnyday has quit [Quit: whatasunnyday]
kachi8 has joined #ruby
nhhagen has joined #ruby
whatasunnyday has joined #ruby
charliesome has quit [Quit: zzz]
x1337807x has joined #ruby
nhhagen has quit [Ping timeout: 260 seconds]
mkaesz has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cheezebox has quit [Remote host closed the connection]
agent_wh1te has quit [Quit: leaving]
bearish has joined #ruby
jko_ has joined #ruby
juz88 has quit [Ping timeout: 250 seconds]
<frjkafk>
hello all, why do all threads pause when a thread accesses operating system?
dorei has quit []
lxb has joined #ruby
mkaesz has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
bearish has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
Alina-malina has joined #ruby
AweyTare has joined #ruby
<waxjar>
because the operating system needs to share resources between every process fairly
<frjkafk>
ruby doesnt spawn its own process huh?
ghr has joined #ruby
<frjkafk>
that came from the other room heh
klmlfl has joined #ruby
<frjkafk>
great point, thanks
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zubov has quit [Ping timeout: 240 seconds]
<frjkafk>
also, .join is for pausing main during threading?
<waxjar>
it does, but ruby is not the only process running.
<waxjar>
no, it is not
Fire-Dragon-DoL has quit [Quit: Leaving.]
<frjkafk>
im sorry?
<frjkafk>
join pauses thread main?
<waxjar>
it may be a side effect but it's not what it's for
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<waxjar>
it's for waiting until a thread is finished
ghr has quit [Ping timeout: 245 seconds]
klmlfl has quit [Ping timeout: 245 seconds]
<frjkafk>
yeah, i am having trouble finding any docs on .join
<frjkafk>
ruby-doc is unclear
Takle has joined #ruby
grenierm has joined #ruby
gsd has joined #ruby
wjimenez5271 has quit [Remote host closed the connection]
wjimenez5271 has joined #ruby
benlieb has quit [Quit: benlieb]
juz88 has joined #ruby
kachi8 has quit [Ping timeout: 255 seconds]
benlieb has joined #ruby
benlieb has quit [Client Quit]
Takle has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nhhagen has quit [Ping timeout: 240 seconds]
mkaesz has joined #ruby
tlarevo has quit [Remote host closed the connection]
Ankhers has quit [Ping timeout: 264 seconds]
tlarevo has joined #ruby
decoponio has joined #ruby
mkaesz has quit [Ping timeout: 240 seconds]
Ilyas has joined #ruby
Ilyas has quit [Max SendQ exceeded]
wjimenez5271 has quit [Remote host closed the connection]
Ilyas has joined #ruby
benzrf is now known as benzrf|offline
wjimenez5271 has joined #ruby
TheTopBloke has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ValicekB has quit [Ping timeout: 255 seconds]
terlar has joined #ruby
jay_ has joined #ruby
wjimenez5271 has quit [Ping timeout: 260 seconds]
mockra has joined #ruby
klmlfl has joined #ruby
ghr has joined #ruby
Channel6 has quit [Quit: Leaving]
<pagioss>
hi all, so i would like to create a program in ruby that stores some permanent variables. Means if i set a variable to value X, exit and restart the program the variable value needs to be preserved. Is there any other way than using a standard db to accomplish this task?
kachi8 has joined #ruby
mockra has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 250 seconds]
klmlfl has quit [Ping timeout: 250 seconds]
RyanV has joined #ruby
lkba has joined #ruby
Tom__Orrow has joined #ruby
fabrice31 has joined #ruby
wjimenez5271 has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lxb>
pagioss: Write a file somewhere?
<pagioss>
lxb: yea i was thinking of using a file and storing values seperated by some semi-colons as seperators, is there an easy method to manipulate such files?
juz88 has joined #ruby
ValicekB has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
TheNet_ has quit [Quit: Leaving...]
Kricir has quit [Remote host closed the connection]
DEA7TH has joined #ruby
DEA7TH has joined #ruby
Kricir has joined #ruby
nhhagen has joined #ruby
anshin has joined #ruby
anshin has quit [Client Quit]
SilkFox_ has joined #ruby
goodenough has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 250 seconds]
SilkFox_ has quit [Ping timeout: 260 seconds]
bluOxigen has joined #ruby
starless has joined #ruby
kachi8 has quit [Ping timeout: 240 seconds]
DEA7TH_ has joined #ruby
terlar has quit [Quit: WeeChat 1.0]
toastynerd has joined #ruby
<vinky>
pagioss: something like yaml or similar?
goodenough has joined #ruby
DEA7TH has quit [Ping timeout: 260 seconds]
ferr has quit [Ping timeout: 250 seconds]
browndawg has joined #ruby
mockra has joined #ruby
GriffinHeart has joined #ruby
ValicekB has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
toastynerd has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 240 seconds]
mockra has quit [Ping timeout: 255 seconds]
toastynerd has joined #ruby
bearish has joined #ruby
m8 has joined #ruby
ValicekB has joined #ruby
oo_ has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
lbrown has quit [Quit: WeeChat 1.0]
ndrei has joined #ruby
emocakes has joined #ruby
toastynerd has quit [Remote host closed the connection]
timonv_ has joined #ruby
sarkis has quit [Ping timeout: 245 seconds]
mkaesz has joined #ruby
emocakes__ has joined #ruby
jay_ has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 255 seconds]
emocakes has quit [Ping timeout: 245 seconds]
mkaesz has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
timonv_ has joined #ruby
nemesit|- has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
<RyanV>
is there anyway to define a destructive instance method which will change the instance's class?
starless has quit [Quit: Leaving]
alexju has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
nemesit|znc has joined #ruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
ghr has joined #ruby
klmlfl has joined #ruby
juz88 has quit [Ping timeout: 240 seconds]
sectionme has joined #ruby
klmlfl has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 245 seconds]
juz88 has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
yosafbridge has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
IRLeif has joined #ruby
LangeOortjes has joined #ruby
ferr has joined #ruby
Takle has joined #ruby
GriffinHeart has joined #ruby
Takle has quit [Read error: Connection reset by peer]
ferr has quit [Read error: Connection reset by peer]
Takle has joined #ruby
mkaesz has joined #ruby
browndawg has quit [Ping timeout: 255 seconds]
yosafbridge has joined #ruby
drawingthesun has quit [Ping timeout: 260 seconds]
mskaesz has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
SilkFox_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
juz88 has quit [Ping timeout: 245 seconds]
sparrovv has quit [Ping timeout: 250 seconds]
SilkFox_ has quit [Ping timeout: 260 seconds]
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
<Tom__Orrow>
Hi. Need help with Sidekiq. I know that for Unicorn there is a nice gem called 'unicorn-worker-killer' and I need something simillar for Sidekiq to kill worker if its memory size exceeds given value.
jhass|off is now known as jhass
<Tom__Orrow>
Well not just kill, but restart.
sparrovv has joined #ruby
tanath has quit [Quit: Quit]
oo_ has quit [Ping timeout: 245 seconds]
poulet_a has joined #ruby
tskogberg has joined #ruby
IRLeif is now known as IRLeif_AFK
mengu has joined #ruby
browndawg has joined #ruby
andrewlio has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
IRLeif_AFK is now known as IRLeif
lkba has quit [Ping timeout: 260 seconds]
mengu has quit [Remote host closed the connection]
wjimenez5271 has quit [Remote host closed the connection]
wjimenez5271 has joined #ruby
dmyers1 has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Remote host closed the connection]
thomasxie1 has joined #ruby
robbyoconnor has joined #ruby
AlexRussia has joined #ruby
toretore has joined #ruby
thomasxie has quit [Ping timeout: 250 seconds]
DEA7TH_ is now known as DEA7TH
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
AweyTare has quit [Ping timeout: 240 seconds]
wjimenez5271 has quit [Ping timeout: 260 seconds]
Alina-malina has quit [Ping timeout: 240 seconds]
Alina-malina has joined #ruby
arup_r has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
Envek has joined #ruby
txdv has quit [Read error: Connection reset by peer]
txdv has joined #ruby
chihhsin_ is now known as chihhsin
Jackneill has joined #ruby
browndawg has quit [Read error: Connection reset by peer]
browndawg has joined #ruby
claymore has joined #ruby
shredding has joined #ruby
IRLeif is now known as IRLeif_AFK
Takle has quit [Remote host closed the connection]
yezzie has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
fabrice31 has joined #ruby
Photism has quit [Ping timeout: 240 seconds]
diegoviola has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 260 seconds]
lemur has quit [Remote host closed the connection]
browndawg has quit [Remote host closed the connection]
browndawg has joined #ruby
lemur has joined #ruby
klmlfl has joined #ruby
mengu has joined #ruby
IRLeif_AFK has quit [Quit: I'm away at the moment.]
lemur has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
parduse has joined #ruby
klmlfl has quit [Ping timeout: 250 seconds]
frjkafk has quit [Quit: Page closed]
Guest32009 has quit [Ping timeout: 245 seconds]
elementz has joined #ruby
carraroj has joined #ruby
mike32 has joined #ruby
KnownSyntax has joined #ruby
<mike32>
hi, i try use SOCKSProxy but all request go direclty , without using proxy
<mike32>
could you help to show how correct use proxy in ruby
mengu has quit [Remote host closed the connection]
shevy has quit [Read error: Connection reset by peer]
Takle has joined #ruby
sarkis has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
sparrovv has quit [Remote host closed the connection]
IRLeif has joined #ruby
marr has joined #ruby
sparrovv has joined #ruby
SilkFox_ has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
fredsir has joined #ruby
autochthon has joined #ruby
sarkis has quit [Ping timeout: 260 seconds]
anaeem1 has quit [Ping timeout: 260 seconds]
Blaze_Boy has joined #ruby
sparrovv has quit [Ping timeout: 240 seconds]
SilkFox_ has quit [Ping timeout: 272 seconds]
thomasxie1 has quit [Remote host closed the connection]
Urocyon has joined #ruby
Kruppe has joined #ruby
mikecmpbll has joined #ruby
xiphias has joined #ruby
poulet_a has quit [Quit: Quitte]
Symbiosisz_ has joined #ruby
mike32 has quit [Quit: Leaving]
Symbiosisz_ has quit [Client Quit]
KnownSyntax_ has joined #ruby
perryb has joined #ruby
mockra has joined #ruby
shevy has joined #ruby
KnownSyntax__ has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
Blaze_Boy has quit [Quit: Leaving]
mikecmpbll has quit [Quit: i've nodded off.]
cirn0 has joined #ruby
mockra has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby
sarkis has joined #ruby
browndawg has quit [Quit: Leaving.]
cirn0 has quit [Ping timeout: 240 seconds]
sectionme has quit [Ping timeout: 240 seconds]
goshdarnyou has quit [Quit: Connection closed for inactivity]
sarkis has quit [Ping timeout: 240 seconds]
duncannz has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
einarj has joined #ruby
e4xit has joined #ruby
AndChat| has joined #ruby
smss1995 has joined #ruby
smss1995 has quit [Changing host]
smss1995 has joined #ruby
Nahra has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
drawingthesun has joined #ruby
ta_ has joined #ruby
klmlfl has joined #ruby
spider-mario has joined #ruby
Xeago has quit [Remote host closed the connection]
claymore has quit [Quit: Leaving]
klmlfl has quit [Ping timeout: 240 seconds]
Takle has quit [Ping timeout: 240 seconds]
carraroj has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: zzz]
carraroj has joined #ruby
banister has joined #ruby
jaffachief has joined #ruby
phoo1234567 has joined #ruby
ctp has joined #ruby
SilkFox_ has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
digitera has joined #ruby
phoo1234567 has joined #ruby
zettam has joined #ruby
narcan has joined #ruby
Takle has joined #ruby
AweyTare has joined #ruby
wallerdev has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
sevenseacat has quit [Quit: Leaving.]
yezzie has joined #ruby
sectionme has joined #ruby
Ilyas has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
digitera has left #ruby [#ruby]
yezzie has quit [Ping timeout: 245 seconds]
digitera has joined #ruby
darkxploit has quit [Ping timeout: 240 seconds]
Takle has quit [Ping timeout: 245 seconds]
bearish has quit [Remote host closed the connection]
marr has quit []
bearish has joined #ruby
jonathan_alban has joined #ruby
Hobogrammer has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
io_syl has quit []
bearish has quit [Ping timeout: 240 seconds]
claw__ has quit [Read error: Connection reset by peer]
drawingthesun has quit [Ping timeout: 255 seconds]
sarkis has joined #ruby
Envek has quit [Quit: Good bye, see you soon!/]
ctp has quit [Ping timeout: 245 seconds]
cousine has joined #ruby
ctp has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
darkxploit has joined #ruby
Wolland_ has quit [Remote host closed the connection]
oo_ has joined #ruby
fabrice31 has joined #ruby
Wolland has joined #ruby
sectionme has quit [Ping timeout: 260 seconds]
sarkis has quit [Ping timeout: 240 seconds]
buto has joined #ruby
ptrrr has joined #ruby
xp_prg has quit [Quit: This computer has gone to sleep]
carraroj has quit [Ping timeout: 240 seconds]
Wolland has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 260 seconds]
sparrovv has joined #ruby
postmodern has quit [Quit: Leaving]
wildroman2 has joined #ruby
sparrovv has quit [Remote host closed the connection]
gccostabr has joined #ruby
ctp has quit [Ping timeout: 245 seconds]
ghr has joined #ruby
oo_ has quit [Remote host closed the connection]
sheath__ has quit [Quit: This computer has gone to sleep]
perryb has quit [Remote host closed the connection]
klmlfl has joined #ruby
kirun has joined #ruby
lxsameer has quit [Quit: Leaving]
Rydekull_ is now known as Rydekull
danijoo has quit [Read error: Connection reset by peer]
Rydekull has quit [Changing host]
Rydekull has joined #ruby
ta_ has quit [Remote host closed the connection]
danijoo has joined #ruby
ta_ has joined #ruby
klmlfl has quit [Ping timeout: 250 seconds]
oo_ has joined #ruby
cousine has quit [Remote host closed the connection]
W0rmDr1nk has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
ctp has joined #ruby
emmesswhy has joined #ruby
IRLeif is now known as IRLeif_AFK
a____ has joined #ruby
a___ has joined #ruby
SilkFox_ has joined #ruby
Takle has joined #ruby
KnownSyntax has quit [Quit: Connection closed for inactivity]
SilkFox_ has quit [Ping timeout: 240 seconds]
kachi8 has joined #ruby
yacks has quit [Ping timeout: 245 seconds]
crdpink has quit [Read error: Connection reset by peer]
yacks has joined #ruby
IRLeif_AFK has quit [Quit: I'm away at the moment.]
<shevy>
code code code code
nfk has joined #ruby
Mon_Ouie has joined #ruby
shredding has quit [Quit: shredding]
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
tvw has quit []
ctp has quit [Ping timeout: 245 seconds]
bearish has joined #ruby
gaussblurinc1 has joined #ruby
goodenough has quit [Remote host closed the connection]
axilla has joined #ruby
bearish has quit [Ping timeout: 250 seconds]
JBreit has joined #ruby
Cer3bus has quit [Ping timeout: 245 seconds]
wildroman2 has quit [Remote host closed the connection]
cirn0 has joined #ruby
JBreit has left #ruby [#ruby]
sectionme has joined #ruby
sarkis has joined #ruby
IRLeif has joined #ruby
cirn0 has quit [Ping timeout: 245 seconds]
sarkis has quit [Ping timeout: 245 seconds]
sectionme has quit [Ping timeout: 255 seconds]
ctp has joined #ruby
kachi8 has quit [Ping timeout: 245 seconds]
_foka has joined #ruby
_foka has quit [Remote host closed the connection]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
ctp_ has joined #ruby
wildroman2 has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
dawkirst has joined #ruby
ctp has quit [Ping timeout: 260 seconds]
sectionme has joined #ruby
Akagi201 has joined #ruby
hellangel7 has joined #ruby
dawkirst has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
darkxploit has quit [Read error: Connection reset by peer]
sectionme has quit [Ping timeout: 260 seconds]
narendraj9 has joined #ruby
timonv_ has quit [Remote host closed the connection]
Cheezebox has joined #ruby
klmlfl has joined #ruby
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
<shevy>
what ways exist to store data in modules?
Squarepy has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
<jhass>
CONSTANTS and module level @instance_variables come to mind
<shevy>
hmm
<jhass>
one could say @@class_vars, but they aren't really contained to modules IMO
<shevy>
yeah... my gripe with constants is that the name implies "do not change" :(
<shevy>
aha
<shevy>
I forgot about @@vars
<shevy>
I think I used them only in classes so far
<jhass>
I prefer module level @instance_vars for dynamic data
<shevy>
hmm
<shevy>
would these module level @instance_vars not leak into a class once the module gets included?
klmlfl has quit [Ping timeout: 245 seconds]
<jhass>
no
<jhass>
thus module level
ctp_ has quit [Ping timeout: 245 seconds]
<jhass>
module Foo; class << self; attr_accessor :foo; end; end;
<jhass>
Foo.foo = :bar
<shevy>
cool
<shevy>
that looks better than @@
<jhass>
@@ would leak into included classes btw
gccostabr has joined #ruby
nhhagen has quit [Ping timeout: 250 seconds]
<shevy>
ewwwwwwwww
dRbiG has quit [Ping timeout: 250 seconds]
testcore has quit [Ping timeout: 264 seconds]
W0rmDr1nk has joined #ruby
V_ has quit [Ping timeout: 264 seconds]
<a____>
I was going to say, shevy - it's probably not a totally bad thing that @@ doesn't come completely naturally to you :)
<shevy>
well you would have almost tricked me into trying to use them
<shevy>
but when jhass wrote that they leak into included classes like an evil virus, that shut down that line of thought quickly :(
Cheezebox has quit [Remote host closed the connection]
testcore has joined #ruby
V_ has joined #ruby
dRbiG has joined #ruby
darkxploit has joined #ruby
<Mon_Ouie>
Thankfully you can't include a class so that's not a big deal :p
<Mon_Ouie>
They are inherited like constants are though
SilkFox_ has joined #ruby
<apeiros>
but! but! but! I want to include classes!
<apeiros>
also it's funny that classes are the only subclass of module which can't be included
ndrei has joined #ruby
sevenseacat has joined #ruby
<shevy>
hehe
<apeiros>
well, technically you include instances of module subclasses - so it's funny that Class is the only subclass of Module whose instances can't be included
<shevy>
now we know why apeiros worked on his own language
<apeiros>
because I'm bored all the time? :)
jaffachief has quit [Quit: Connection closed for inactivity]
smss1995 has quit [Remote host closed the connection]
sigurding has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
monse has joined #ruby
yfeldblum has quit [Remote host closed the connection]
ziggy_client has joined #ruby
yezzie has joined #ruby
claymore has joined #ruby
browndawg has joined #ruby
Cheezebox has joined #ruby
monse has left #ruby [#ruby]
yezzie has quit [Ping timeout: 240 seconds]
smss1995 has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.4.3]
e^0 has joined #ruby
timonv_ has joined #ruby
pandaant has joined #ruby
browndawg has quit [Ping timeout: 240 seconds]
ziggy_client has quit [Remote host closed the connection]
<michele>
Hi there. I developed a Ruby CLI application and I want to distribute it. This application consists in some ruby scripts, a sqlite3 db file, a log file (logger) and a config file (json). How can I efficiently distribute it? I read that I can build a gem that ships all of these files and add an executable that actually launches my program. However, my doubt is that all additional files (sqlite3 db file, log file, config.json) will be installed in ...
<michele>
... the default path for gems (e.g. /var/lib/gems/*). Is this the correct way to distribute Ruby software?
shevy has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 245 seconds]
oso96_2000 has quit [*.net *.split]
minecoins has quit [*.net *.split]
cibs has quit [*.net *.split]
zz_karupa has quit [*.net *.split]
eshy has quit [*.net *.split]
cousine has quit [Remote host closed the connection]
<jhass>
michele: there's the Gem.datadir stuff
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
oso96_2000 has joined #ruby
eshy has joined #ruby
zz_karupa has joined #ruby
cibs has joined #ruby
minecoins has joined #ruby
Insti has quit [Ping timeout: 240 seconds]
nhhagen has joined #ruby
abuzze has joined #ruby
sarkis has joined #ruby
Fire-Dragon-DoL has joined #ruby
einarj_ has joined #ruby
<jhass>
michele: though I'd consider just writing that stuff to $XDG_DATA_HOME/gemname
garethrees has joined #ruby
parduse has quit [Killed (dickson.freenode.net (Nickname regained by services))]
parduse has joined #ruby
Cheezebo_ has joined #ruby
mage__ has joined #ruby
parduse is now known as Guest72189
<jhass>
the log maybe even to $XDG_RUNTIME_DIR
bmurt has joined #ruby
<jhass>
note you need fallbacks for these vars, they're not reliably set
<Tom__Orrow>
Who can help to understand whats going on here?
Dev-Gitter has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
<Tom__Orrow>
Actually why does ram usage increased at all if I use the same variable for the same amount of data?
Dev-Gitter has quit [Max SendQ exceeded]
jds has joined #ruby
smss1995 is now known as smss
peckermanzzz has quit [Ping timeout: 276 seconds]
Boohbah has joined #ruby
klmlfl has joined #ruby
InhalingPixels has joined #ruby
Dev-Gitter has joined #ruby
Cheezebox has quit [Ping timeout: 255 seconds]
Ilyas has joined #ruby
<jhass>
it's not the variable that's consuming the memory, the assigned objects do
Dev-Gitter has quit [Max SendQ exceeded]
<Tom__Orrow>
so I have 2kk of strings in memory. How can I remove them?
<jhass>
so, iirc ruby doesn't release memory it once allocated, it just reuses it when it's (internally) free again
Dev-Gitter has joined #ruby
Scotteh has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
cajone has joined #ruby
<jhass>
my guess it that the GC run consumes that much memory
Bumptious has quit [Remote host closed the connection]
<jhass>
so after it, the process has allocated that memory but might not actually use it
<a____>
Does anybody favour any frameworks over Rails, here?
Dev-Gitter has quit [Max SendQ exceeded]
<a____>
Obviously there's Sinatra, but naturally that's lightweight - and I know there's Padrino, which attempts to bridge the gap
Takle has joined #ruby
<a____>
Rails just seems full of anti-patterns to me.
Dev-Gitter has joined #ruby
browndawg has joined #ruby
Bumptious has joined #ruby
<jhass>
Tom__Orrow: try comparing to require 'objspace'; ObjectSpace.memsize_of_all
<jhass>
also ObjectSpace.count_objects
peckermanzzz has joined #ruby
klmlfl has quit [Ping timeout: 240 seconds]
<Tom__Orrow>
thx. ill try
Caius has quit [Ping timeout: 276 seconds]
Deele has quit [Ping timeout: 276 seconds]
<jhass>
and ObjectSpace.count_objects_size
soulcake has quit [Ping timeout: 276 seconds]
jonathan_alban has joined #ruby
soulcake has joined #ruby
Caius has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
Caius has quit [Changing host]
Caius has joined #ruby
Deele has joined #ruby
rikai has quit [Quit: No Ping reply in 180 seconds.]
Takle has quit [Ping timeout: 240 seconds]
rikai has joined #ruby
camt has joined #ruby
wchun has joined #ruby
fsapo has joined #ruby
pandaant has quit [Remote host closed the connection]
kachi8 has joined #ruby
ylluminarious has joined #ruby
rikai has quit [Client Quit]
ylluminarious has quit [Client Quit]
agjacome_ has joined #ruby
michele has left #ruby [#ruby]
SilkFox_ has joined #ruby
banister has joined #ruby
yfeldblum has joined #ruby
ndrei has joined #ruby
agjacome has quit [Ping timeout: 260 seconds]
nhhagen has joined #ruby
thomasfedb_ has joined #ruby
rikai has joined #ruby
tekku has joined #ruby
Photism has joined #ruby
Logiztik_ has joined #ruby
SilkFox_ has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
mnemon2 has joined #ruby
thomasfedb has quit [*.net *.split]
mnemon has quit [*.net *.split]
Olipro has quit [*.net *.split]
tekk has quit [*.net *.split]
<banister>
anyone here from holland and has a decent gaming rig? (tower)
cajone has quit [Remote host closed the connection]
mockra has joined #ruby
ndrei has quit [Read error: Connection reset by peer]
avelldiroll has quit [Quit: WeeChat 0.3.8]
AlSquire has joined #ruby
mockra has quit [Ping timeout: 260 seconds]
avelldiroll has joined #ruby
Bingo has joined #ruby
ndrei has joined #ruby
andrewlio has quit [Quit: Leaving.]
sarkis has joined #ruby
<mostlybadfly>
has anyone made their own square root method? I'm trying to solve this problem without necessarily using Math.sqrt
crdpink has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
Olipro has joined #ruby
michele has joined #ruby
rikai has quit [Quit: No Ping reply in 180 seconds.]
browndawg has quit [Ping timeout: 245 seconds]
<michele>
Hi there. Are Ruby arrays accessible by multiple threads (of the same Ruby script) simultaneously?
smss has quit [Quit: Leaving]
<jhass>
mostlybadfly: x**(1/2.0) ? :P
awestroke has joined #ruby
rikai has joined #ruby
<jhass>
michele: yes, and index access should be pretty thread safe. Write access and iterating while modifying not so much
cajone has joined #ruby
sarkis has quit [Ping timeout: 240 seconds]
<michele>
jhass: what if I need to write multithread safe?
<jhass>
use a thread safe array implementation or a specialized data structure
<mostlybadfly>
jhass: uh wow haha, i was way overthinking this
<gr33n7007h>
jhass, how would you do cube root?
<jhass>
2 -> 3
gccostabr has quit [Quit: ZZZzzz…]
<gr33n7007h>
oh yeah cool
michele has left #ruby [#ruby]
<apeiros>
jhass: "and index access should be pretty thread safe" no
rdavila has joined #ruby
<jhass>
while no other party is writing? sure
<apeiros>
at that point you already started making assumptions
cryptoca has joined #ruby
cryptoca has quit [Excess Flood]
drawingthesun has joined #ruby
<jhass>
MRI shouldn't allow access while the internal state is inconsistent though, so even while other parties are writing, you only have the usual outdated information problems
hellangel7 has quit [Remote host closed the connection]
awestroke has quit [Remote host closed the connection]
dorei has joined #ruby
sectionme has joined #ruby
freerobby has joined #ruby
GriffinHeart has joined #ruby
log has joined #ruby
txdv has quit [Read error: Connection reset by peer]
Takle has joined #ruby
txdv has joined #ruby
<apeiros>
jhass: "MRI" is the next assumption
<apeiros>
unless a datastructure explicitly states to be thread safe, it's to be considered not thread safe
<jhass>
gosh, I'm human! that's how we work!
AweyTare has quit [Read error: Connection reset by peer]
<jhass>
:P
rdavila has quit [Quit: rdavila]
<apeiros>
well, above is a perfectly human broad generalization - but one which holds true :-p
<a____>
Do you guys have your unit tests touch the DB?
<apeiros>
humane?
Ice has joined #ruby
<apeiros>
a____: depends on the SUT
<a____>
I'm spending ages trying to have them *not* - I'm not sure if it's a waste of time, or if I'm learning profound design lessons that using a DB obscures
Ice is now known as Guest62308
<apeiros>
also depends on whether I actually write unit tests :-S
<apeiros>
a____: should be trivial in ruby to have your SUT not touch the db
<apeiros>
I mean… you can easily stub/mock db calls
<a____>
apeiros: yup.
sectionme has quit [Ping timeout: 245 seconds]
<a____>
apeiros: I think the core of my problem at the moment, is that I'm mocking things, which have to return mocks, and things get complicated
<a____>
Maybe this is where FactoryGirl comes in
andrewlio has joined #ruby
<a____>
I haven't used - but I'm guessing FactoryGirl prevents the need for manually creating mock dependency graphs
<apeiros>
factorygirl is more a way to generate test data for integration tests
GriffinHeart has quit [Ping timeout: 240 seconds]
<apeiros>
btw., IMO it's perfectly valid to not mock out everything. it's a tradeoff like everything else.
cajone has quit [Remote host closed the connection]
startupality has joined #ruby
Guest62308 has left #ruby [#ruby]
gccostabr has joined #ruby
<apeiros>
you lose pinpointing precision on test failure the more participants your test integrates
<a____>
apeiros: yup. I'm starting to see the merits in the classicist approach of only mocking out external services
<apeiros>
you lose execution performance
<a____>
apeiros: at the same time, I don't want to choose alternative strategies because *I* suck, rather than because a strategy does :)
<apeiros>
otoh you win testing multiple things at once, which wins you development time
Azulinho has joined #ruby
<apeiros>
a____: well, try different approaches, see how it goes.
<a____>
Yup. I'm exploring this one (further)
log has left #ruby ["Leaving"]
<a____>
The humbling thing is, is that I can talk tremendously about everything, but doing a simple app in pure TDD with best practices like this, *without* taking shortcuts, is... humbling
<a____>
s/humbling/thing/ :) # you get the point ;)
cajone has joined #ruby
cryptoca has joined #ruby
klmlfl has joined #ruby
Kricir has joined #ruby
mike32 has joined #ruby
starkhallo has joined #ruby
<apeiros>
a____: like all things, TDD takes time to learn doing properly and quickly
<a____>
apeiros: it's taking a while :) I work for a large TDDing organisation which can make you complacent
<a____>
TDDing an existing system composed into services etc. does not require the same skills as puristically making stuff from scratch
klmlfl has quit [Ping timeout: 240 seconds]
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spastorino has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
yfeldblum has joined #ruby
AlSquire has quit [Quit: Quitte]
AlSquire has joined #ruby
fold has joined #ruby
rdavila has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
TheKruex has joined #ruby
Cheezebox has joined #ruby
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
SilkFox_ has joined #ruby
fabrice31 has joined #ruby
lw has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
OffTheRails has joined #ruby
<apeiros>
a____: I can imagine :)
<apeiros>
adding tests later, especially for foreign code, makes you think whether your test is wrong or the code once a mismatch happens… (also all the other issues)
yezzie has joined #ruby
Azulinho has quit [Ping timeout: 260 seconds]
cousine has joined #ruby
bmurt has quit []
BeanDip has quit [Ping timeout: 245 seconds]
yezzie has quit [Ping timeout: 240 seconds]
gccostabr has quit [Quit: ZZZzzz…]
darkxploit has quit [Read error: Connection reset by peer]
cajone has quit [Remote host closed the connection]
cajone has joined #ruby
banister has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
startupality has quit [Quit: startupality]
arup_r has quit [Ping timeout: 250 seconds]
havenwood has joined #ruby
sarkis has joined #ruby
cousine has quit [Remote host closed the connection]
arup_r has joined #ruby
rdavila has quit [Quit: rdavila]
TheKruex has quit []
timonv_ has joined #ruby
InhalingPixels has joined #ruby
rdavila has joined #ruby
shredding has quit [Quit: shredding]
benvds has joined #ruby
<shevy>
only wimps have to test
benvds has left #ruby [#ruby]
sarkis has quit [Ping timeout: 245 seconds]
<a____>
I'm getting to the point where I'd like to be able to just write code and have "Developers in Test" around to boss about :)
sevenseacat has quit [Quit: Leaving.]
narendraj9 has quit [Quit: Connection closed for inactivity]
codecop has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
InhalingPixels has quit [Ping timeout: 250 seconds]
northfurr has joined #ruby
danijoo has joined #ruby
<shevy>
is your code really that awful
<dorei>
shevy: tests help you with regressions
<shevy>
you have regressions in your code?
cajone has quit [Read error: Connection reset by peer]
rdavila has quit [Quit: rdavila]
<shevy>
I am doing an extremely boring task right now
sectionme has joined #ruby
<shevy>
I am converting a single config text file, with key: value entries
<shevy>
into individual yaml files
<shevy>
it also had comments of course
startupality has joined #ruby
rdavila has joined #ruby
<shevy>
500 lines left to do ...
GriffinHeart has joined #ruby
<pontiki>
why not script it?
User458764 has joined #ruby
<a____>
shevy is a YAML programmer
rdavila has quit [Client Quit]
<a____>
YAML doesn't do that
<a____>
;)
OffTheRails has quit [Ping timeout: 260 seconds]
<shevy>
pontiki well there are top comments, and individual comments, I'd have to extract the comments away first
<shevy>
and I have to use my brain
<shevy>
right now I am in zombie mode
sectionme has quit [Ping timeout: 250 seconds]
GriffinHeart has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
marr has joined #ruby
<a____>
hurrr. How do the following parse differently?
<a____>
let :key { "lol" } # let(:key) { "lol" }
Sht0 has joined #ruby
<shevy>
yeah
foobarbaz has joined #ruby
<shevy>
like in sinatra where you can do
<shevy>
post '/' do"
<shevy>
oops
<shevy>
post '/' do
<shevy>
some_method()
<shevy>
end
<shevy>
but not
<foobarbaz>
Hi guys, when testing is it possible to spy on a class method call?
<shevy>
post '/' {
<shevy>
a____ the ruby parser is not always a pretty, consistent beast... ask eam :-)
klmlfl has joined #ruby
<a____>
shevy: sounds like a can of worms. I'll put a lid on it :)
<shevy>
well it's ok
chihhsin has quit [Quit: leaving]
<shevy>
you just need to keep in mind that with a lot of freedom, and lots of options "more than one way", one may have to be more disciplinized when writing code
<shevy>
or limit your code to less options
<shevy>
let :key { "lol" } is nicer to read for the human eye than let(:key) { "lol" }
<a____>
Afraid so. using do/end works, but it suddenly becomes a 3-line affair
chihhsin has joined #ruby
chihhsin has quit [Client Quit]
chihhsin has joined #ruby
<apeiros>
a____: precedence
klmlfl has quit [Ping timeout: 250 seconds]
<apeiros>
foo bar { … } --> foo(bar { … })
<apeiros>
foo bar do … end --> foo(bar) do … end
<foobarbaz>
Hi guys, when testing is it possible to spy on a class method call? using rspec in particular
<apeiros>
(that's the difference between {} and do/end btw.)
<apeiros>
foobarbaz: yes
axilla has quit [Ping timeout: 240 seconds]
<foobarbaz>
apeiros: How so? I noticed rspec-mocks doesn't support class_spy anymore?
<foobarbaz>
or am i looking at the wrong classes
<apeiros>
I don't use rspec, so no idea.
<apeiros>
but it certainly is possible
<dorei>
any idea how can i write powers in a stackoverflow question?
DrCode has joined #ruby
buto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Read error: Connection reset by peer]
cajone has joined #ruby
<foobarbaz>
apeiros: what search terms would you recommend?
<foobarbaz>
I've come up blank
<jokke>
hi
<apeiros>
foobarbaz: I'd go to your mock/stub lib's API docs
tvw has joined #ruby
<jokke>
are there any projects like drbfire, that are still maintained
<apeiros>
jokke: checked ruby-toolbox.com?
<jhass>
foobarbaz: expect/allow(Foo).to receive(..) should just work
<jokke>
apeiros: i don't know what to search for...
<apeiros>
jokke: I'd search for drbfire itself and see if it mentions "similar"
<foobarbaz>
jhass: and_call_original
<foobarbaz>
i think?
<jokke>
apeiros: couldnt find it
shredding has joined #ruby
TheKruex has joined #ruby
<foobarbaz>
jhass: in conjunction with and_call_original? *
<jhass>
foobarbaz: depends on the behavior you want
<jhass>
and_call_original, and_return etc
<foobarbaz>
I'm hoping to just 'spy' on the Model's new call
<foobarbaz>
and just verify i passed in what i thought i passed in
<edwardloveall>
although I'm hoping for something automatic
lucianosousa has quit [Ping timeout: 250 seconds]
lucianosousa_ is now known as lucianosousa
<edwardloveall>
the problem is sometimes i'll begin to write an it block, set some vars or whatever, and then never finish it
<edwardloveall>
and it just shows up green when i run through
<edwardloveall>
which IMO, it shouldn't
klmlfl has quit [Ping timeout: 255 seconds]
sectionme has quit [Ping timeout: 240 seconds]
mockra has joined #ruby
banister has joined #ruby
<havenwood>
edwardloveall: hem, in RSpec 3 a #pending will actually error if the test passes and there's a new #skip
browndawg has left #ruby [#ruby]
<edwardloveall>
havenwood: can you explain that a little more?
shredding has quit [Quit: shredding]
<edwardloveall>
i'm using Rspec 3
<dcoxall>
In my experience the best way to go about it is just to lay out the spec file with out specifying the block for your test but just to get a collection of describes, contexts and its with descriptions. These will then all show as pending and then you can go about one at a time. From my understandiong though I don't know a conveniant way to automate it.
<jhass>
edwardloveall: sed -i s/it /pending / :P
Sonny|3oy has quit [Quit: Leaving]
<havenwood>
edwardloveall: okay, so if you put pending all your specs then they'll throw an error until you get that test failing
<havenwood>
edwardloveall: then when you get the test passing, they'll throw an error again
<havenwood>
adam_: and you can remove the :pending
<edwardloveall>
oh i se
<edwardloveall>
e
yfeldblum has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
<edwardloveall>
yeah i have to add pending to everything though
<apeiros>
IMO the second one should have the same result
<momomomomo>
tl;dr: context
<momomomomo>
no
<momomomomo>
it shouldn't
<apeiros>
momomomomo: and why?
<momomomomo>
read the link
<momomomomo>
"However def behaves differently, it does not operate on the self but instead on the default definee. In the case of class_eval the default definee is the same as self but for instance_eval it is instead the metaclass of self."
<shevy>
huh
<apeiros>
momomomomo: that link does not apply
<momomomomo>
lol
<a____>
momomomomo: I don't think "spoon-feeding" is a concern given the discussion :)
<apeiros>
I call attr_accessor on the same object in both cases
<momomomomo>
right
<momomomomo>
but what does attr_accessor have as context to define the method
<apeiros>
momomomomo: self
<momomomomo>
the metaclass
<apeiros>
just as every method
<apeiros>
ruby has settled on singleton_class
<momomomomo>
you can class_eval on the singleton class
<apeiros>
attr_accessor operates - like every method - on self
<momomomomo>
and get what you're asking for
<momomomomo>
but you can't do it via send
<apeiros>
momomomomo: you are missing the point
<havenwood>
the latter still defines the methods, just as private
* momomomomo
sighs
<apeiros>
havenwood: yes, I noticed. but why?
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<momomomomo>
o = Object.new; o.singleton_class.class_eval do attr_accessor :foo; end; p o.methods(false)
<apeiros>
momomomomo: the receiver of attr_accessor is both times the same object - the singleton_class. there is no difference in how you invoke a method.
<momomomomo>
that should work
LangeOortjes has joined #ruby
<momomomomo>
you're right
<momomomomo>
>> o = Object.new; o.singleton_class.class_eval do attr_accessor :foo; end; p o.methods(false)
<shock_one>
Actually I'm writing a switch, where I pass a variable, which is a number to when, and my case is Fixnum. This case is never executed.
<apeiros>
this is idiotic. while def is a syntax construct, attr_* is not. it's a method. yet it makes use of an unattainable context. *sob*. IMO horrible, but well.
<apeiros>
momomomomo: thanks for the link.
Ishiro has joined #ruby
<shevy>
apeiros just got more motivation to continue on halsbe
Guest72189 has quit [Ping timeout: 240 seconds]
<shevy>
+25 points
parduse has joined #ruby
LangeOortjes has joined #ruby
<momomomomo>
no problem; didn't mean to be a dick, but next time maybe consider someone's answer before rejecting it outright, none of us always have a completely correct understanding of everything :p
<momomomomo>
apeiros: ^
ptrrr has quit [Quit: ptrrr]
<jhass>
shock_one: is it a big number? maybe it's not a Fixnum anymore, try Numeric
<jhass>
or Integer
jheg has joined #ruby
<apeiros>
momomomomo: well, in my defense - it's rather rare nowadays that I'm unaware of a quirk. so my default stance with ruby is "I'm quite probably right" :)
<edwardloveall>
attempting to answer questions in here is making me realize how much ruby I don't know
<shevy>
I'd say it is time for a kick-ban against momomomomo
<apeiros>
this time, quite evidently, I was not
klmlfl_ has quit [Ping timeout: 260 seconds]
<shevy>
you were
<shevy>
DEAD WRONG!!!
<apeiros>
thanks for sticking to it and linking good references
farid has quit [Read error: Connection reset by peer]
<apeiros>
(+of a quirk *in ruby*)
<shevy>
edwardloveall I gave up on that a long time ago
<momomomomo>
just here to learn and help
<havenwood>
filberts or hazelnuts?
<shevy>
edwardloveall I try to write ruby in a way that it becomes "intuitive" so that I never ever have to think when churning out code
<shevy>
filnuts
<shevy>
when I have to use regexes though, the simplicity of ruby code almost always becomes more complex
farid has joined #ruby
SilkFox_ has joined #ruby
<shevy>
it's ok for small or short regexes
wildroman2 has joined #ruby
<shevy>
but then again, how do you use a regex?
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
<centrx>
/ ||= //
danijoo has quit [Read error: Connection reset by peer]
<centrx>
:crap
danijoo has joined #ruby
<a____>
/\/\\\// # like this
<shevy>
that is not complete
<a____>
handy if you've just eaten dinner
hellangel7 has joined #ruby
<shevy>
for instance - how do you use capture groups
<shock_one>
Did you guys know about CDPATH? If you have projects in ~/projects, say, ~/projects/fb, and you set "export CDPATH=:~/projects", then you can "cd fb" from any directory.
<shevy>
I actually added something to my own scripts not long ago
<shevy>
that does almost the same as "The bump command" seems to be doing
<canton7>
ooh, I did not, thanks shock_one
decoponio has quit [Quit: Leaving...]
ndrei has quit [Ping timeout: 255 seconds]
<dorei>
shock_one: thanx :)))
Cache_Money has joined #ruby
robustus has quit [Ping timeout: 250 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
sectionme has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
<shock_one>
You're welcome. Useful for often visited directories. Note the : at the beginning. It means an inplicit . or current directory, so . always takes priority. If you have some questions about shells, I'm glad to answer, probably privately since it's a channel about Ruby.
yfeldblum has joined #ruby
agjacome has joined #ruby
Jake232 has joined #ruby
george2 has quit [Ping timeout: 240 seconds]
george2 has joined #ruby
<waxjar>
i spend way too much time on a few functions that do almost exactly what $CDPATH does :(
txdv has quit [Read error: Connection reset by peer]
txdv has joined #ruby
<shock_one>
Nobody reads documentation.
robustus has joined #ruby
agjacome_ has quit [Ping timeout: 250 seconds]
<centrx>
Code should be self-documenting!
<centrx>
Ruby wins again!
Hobogrammer has joined #ruby
agjacome has quit [Client Quit]
wildroman2 has quit [Remote host closed the connection]
ghr has joined #ruby
<shock_one>
Even fewer people read BASH source code.
<shevy>
ack
IceDragon has joined #ruby
<shock_one>
Fewer than nobody.
Cer3bus has joined #ruby
jokke has quit [Quit: WeeChat 1.0]
bearish has joined #ruby
garethrees has quit [Ping timeout: 260 seconds]
jonathan_alban has joined #ruby
<shock_one>
Here's another one: if you're in a directory ~/project/app/controllers/admin/ and you want to cd into ~/project/app/views/admin/, type "cd controllers views". In other words, passing two arguments to cd makes at work as replace. s/controllers/views/
claymore has quit [Ping timeout: 245 seconds]
<a____>
If a programming language isn't DSL friendly, it can't be self-documenting
<a____>
simples
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shock_one>
a___: sometimes it's much easier to explain what's going on and why in English than in even the most DSL friendly language.
Akagi201 has quit []
heftig-android has joined #ruby
ndRx has quit [Ping timeout: 240 seconds]
jokke has joined #ruby
toastynerd has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
claymore has joined #ruby
lucianosousa has quit [Read error: Connection reset by peer]
bearish has quit [Ping timeout: 245 seconds]
<a____>
shock_one: well, the most DSL-friendly language has the smallest disconnect with English
wildroman2 has joined #ruby
awestroke has joined #ruby
lucianosousa has joined #ruby
Takle has joined #ruby
<shock_one>
Maybe if your domain is English Linguistics. DSL for calculus will not look like English at all.
<jhass>
one plus two should equal three
<a____>
That's a good point
<jhass>
not a DSL?
<jhass>
:P
<a____>
Well, some domains are better explained in languages other than english
<a____>
But they are niches
toastynerd has quit [Ping timeout: 250 seconds]
Cache_Money has quit [Quit: Cache_Money]
tylerkern has joined #ruby
tlarevo has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 250 seconds]
<shock_one>
jhass: I might dissappoint you, but addition is studied by a different branch of mathematics.
gtrak has joined #ruby
<jhass>
bah, semantics!
bashrw has joined #ruby
<jhass>
I don't do much math
<jhass>
and less in English ;)
MCDev has quit [Ping timeout: 250 seconds]
<shock_one>
It's never too late.
<jhass>
I'm through the exams, what do I want more
bashrw has quit [Client Quit]
kaspergrubbe has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
einarj has joined #ruby
wildroman2 has quit [Remote host closed the connection]
einarj has joined #ruby
User458764 has quit [Ping timeout: 260 seconds]
goodenough has joined #ruby
<pskosinski>
10.to_s(2) => to_s': wrong number of arguments (1 for 0) Why?
<edwardloveall>
there's a pretty funny jab at ruby in there
cajone has joined #ruby
buto has quit [Read error: Connection reset by peer]
ewilliam has quit [Quit: Connection closed for inactivity]
Cheezebox has joined #ruby
wildroman3 has joined #ruby
axsuul has quit [Ping timeout: 260 seconds]
wildroman2 has quit [Ping timeout: 240 seconds]
startupality has joined #ruby
DEA7TH has quit [Remote host closed the connection]
DEA7TH has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<Hanmac>
"usually only used because of how shiny it is." XDDD
dopie has quit [Quit: Leaving]
lucianosousa_ has joined #ruby
lucianosousa has quit [Ping timeout: 255 seconds]
lucianosousa_ is now known as lucianosousa
<edwardloveall>
my favorite was JS
jheg has quit [Quit: jheg]
gregf has joined #ruby
mijicd has joined #ruby
SilkFox_ has joined #ruby
mijicd has quit [Client Quit]
axsuul has joined #ruby
lw has quit [Read error: Connection reset by peer]
reset has joined #ruby
lw has joined #ruby
SouL__ has joined #ruby
timonv_ has quit [Remote host closed the connection]
<shevy>
wat
<shevy>
lol
<shevy>
java
<edwardloveall>
yeah that was also good
<shevy>
"Java is a belt fed 240G automatic weapon where sometimes the belt has rounds, sometimes it doesn?t, and when it doesn?t during firing you get an NullPointerException, the gun explodes and you die."
vyorkin has joined #ruby
<shevy>
HAHA
<shevy>
javascript is even better
<shevy>
how it starts
<shevy>
JavaScript is a sword without a hilt.
<shevy>
TOP: good part
TheTopBloke has joined #ruby
<shevy>
BOTTOM: bad part
<shevy>
lol
<shevy>
"bash is a cursed hammer, when wielded everything looks like a nail, especially your thumb."
vyorkin has quit [Client Quit]
klmlfl has joined #ruby
<shevy>
"C# is a powerful laser rifle strapped to a donkey, when taken off the donkey the laser doesn?t seem to work as well."
<shevy>
the picture for Prolog is damn scary
LangeOortjes has quit [Quit: WeeChat 1.0]
axilla has joined #ruby
<shevy>
does OptionParser.new respond to options like:
<shevy>
--set_base_dir=/tmp
<shevy>
?
<shevy>
or only
<shevy>
--set_base_dir /tmp
startupality has quit [Quit: startupality]
TheTopBloke has quit [Ping timeout: 245 seconds]
klmlfl has quit [Ping timeout: 240 seconds]
<centrx>
hahaha PHP is a hose, you usually plug one end into a car exhaust, and the other you stick in through a window and then you sit in the car and turn the engine on.
<yxhuvvd>
momomomo: the precision of it wouldn't matter if, for example, BigDecimal#** is implemented in terms of Float#**, and converting back and forth could increase errors
Takle has quit [Remote host closed the connection]
<and77>
ok, thanks for your links
<and77>
anyhow, i'll stick with Rational
<and77>
I like it
bbloom has joined #ruby
pu22l3r has joined #ruby
axilla has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
edwardloveall has quit [Quit: Leaving.]
codecop has quit [Remote host closed the connection]
pu22l3r_ has joined #ruby
mary5030 has quit [Remote host closed the connection]
pu22l3r has quit [Read error: Connection reset by peer]
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
edwardloveall has joined #ruby
Tom__Orrow has quit [Ping timeout: 240 seconds]
armyriad has quit [Ping timeout: 255 seconds]
armyriad has joined #ruby
iamjarvo has joined #ruby
and77 has quit [Ping timeout: 246 seconds]
Jackneill has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 260 seconds]
benzrf|offline is now known as benzrf
Kricir has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: zzz]
pu22l3r_ has quit [Ping timeout: 245 seconds]
pu22l3r has joined #ruby
Takle has joined #ruby
tvw has quit []
timonv_ has quit [Ping timeout: 255 seconds]
Ilyas has quit [Read error: Connection reset by peer]
gaussblurinc11 has quit [Quit: Leaving.]
reset has quit [Quit: Leaving...]
spastorino has joined #ruby
bashrw has quit [Quit: bashrw]
ghr has quit [Ping timeout: 250 seconds]
pu22l3r has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
pu22l3r has joined #ruby
hellome has joined #ruby
pu22l3r has quit [Remote host closed the connection]
klmlfl has joined #ruby
claymore has quit [Quit: Leaving]
Cache_Money has joined #ruby
Azure has quit [Read error: Connection reset by peer]
klmlfl has quit [Ping timeout: 240 seconds]
mengu has quit []
mskaesz has quit [Remote host closed the connection]
GinoMan has joined #ruby
Azure has joined #ruby
cirn0 has joined #ruby
nfk has quit [Quit: yawn]
birkoff has joined #ruby
<benzrf>
heyimwill:
<benzrf>
er
<benzrf>
hey
<benzrf>
i have a rack session cookie dump
<benzrf>
how can i decode it into a HashNuke
<benzrf>
*hash
cirn0 has quit [Ping timeout: 240 seconds]
Squarepy has quit [Quit: Leaving]
gaussblurinc1 has joined #ruby
hiyosi has joined #ruby
qba73 has joined #ruby
qba73 has quit [Remote host closed the connection]
starless has joined #ruby
<jhass>
still pressing tab after every second letter, eh?
KnownSyntax_ has quit [Read error: Connection reset by peer]
newmanships has joined #ruby
newmanships is now known as jesse1234
<shevy>
hehehe
fabrice31 has joined #ruby
AzureDiamond has quit [Ping timeout: 250 seconds]
Azure has quit [Ping timeout: 240 seconds]
<jhass>
benzrf: I'd expect some decode method on some class/module under Rack::Session::Cookie to work
benlieb has joined #ruby
hiyosi has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
charliesome has quit [Quit: zzz]
axilla has joined #ruby
fold has quit [Ping timeout: 245 seconds]
lw has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
niklasb has quit [Ping timeout: 255 seconds]
startupality has quit [Quit: startupality]
<mostlybadfly>
hi guys, i'm working on solving this problem http://projecteuler.net/problem=3 and I can get the example output to show, but for the actual exercise the large number just causes it run very very long. any tips on how to make it more efficient?
<jhass>
Prime.prime_factors or something should exist too :P
<mostlybadfly>
i'm trying to do it without additional libraries or whatever
<mostlybadfly>
that's the challenge anyway
<mostlybadfly>
i would have to require Prime for that i believe
<benzrf>
wait up
<jhass>
yeah
gaussblurinc1 has quit [Quit: Leaving.]
<jhass>
it's in stdlib
<benzrf>
Rack::Session::Cookie stores the session data server side?!
startupality has joined #ruby
<jhass>
mostlybadfly: one obvious optimization is to cache intermediate values and results, you got a lot of the same ones there
<mostlybadfly>
i only need the largest number, but i'm guessing i would still need to run though all to get to it
axsuul has quit [Ping timeout: 245 seconds]
<mostlybadfly>
i'm not sure i follow. i know someone helped me with memoizing another method, is that similar? I never really heard of it until the other day
sectionme has joined #ruby
MCDev has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Nine out of ten l33t h4x0rz prefer it]
<shock_one>
mostlybadfly: what OS do you use? Some linux distributions come with a 'factor' system command that does prime factorization.
<mostlybadfly>
it's linux mint
<shock_one>
Does the command exist?
reset has joined #ruby
<mostlybadfly>
yeah i see it
<mostlybadfly>
i'm trying to write this in ruby
<shock_one>
I missed it, could you please repeat what you want to achieve?
Neomex has joined #ruby
chrishough has joined #ruby
<centrx>
mostlybadfly, What is your algorithm?
<mostlybadfly>
shock_one: i'm working on solving this problem http://projecteuler.net/problem=3 and I can get the example output to show, but for the actual exercise the large number just causes it run very very long. any tips on how to make it more efficient? this is what i wrote so far: https://www.irccloud.com/pastebin/gQzdM9YO
soxet has quit [Quit: Leaving]
kaspergrubbe has joined #ruby
<centrx>
mostlybadfly, When checking primes you only have to check up to n/2
ctp has quit [Ping timeout: 245 seconds]
<mostlybadfly>
oh i see, let me update this
Kricir has joined #ruby
<mostlybadfly>
it'll still run for a bit it seems, given that half of the number i need to input is still pretty huge
TheNet has quit [Ping timeout: 240 seconds]
<centrx>
mostlybadfly, Something is strange about your algorithm
sectionme has quit [Ping timeout: 245 seconds]
reset has quit [Ping timeout: 245 seconds]
<centrx>
mostlybadfly, if num % count == 0 would give you factors, not primes no?
Azure has quit [Excess Flood]
TheNet has joined #ruby
sparrovv has quit [Remote host closed the connection]
<centrx>
mostlybadfly, and that logic in #prime_factors looks the same as the logic in #check_primes
ndrei has quit [Ping timeout: 240 seconds]
<mostlybadfly>
i'm first taking out the factors, then finding the factors of the original number that are primes
sparrovv has joined #ruby
<shock_one>
mostlybadfly: I guess the idea of ProjectEuler is to solve problems by yourself.
pu22l3r has joined #ruby
<centrx>
mostlybadfly, How about putting the prime checking and the factor checking in the same loop
bking39116 has quit [Quit: bking39116]
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
sparrovv has quit [Ping timeout: 260 seconds]
<mostlybadfly>
centrx: thanks
toastynerd has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
lagweezle has quit [Quit: leaving]
lw has quit [Quit: s]
sepp2k has quit [Read error: Connection reset by peer]
toastynerd has quit [Ping timeout: 240 seconds]
bking39116 has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
Kricir has joined #ruby
sepp2k has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlSquire has quit [Quit: Quitte]
ptrrr has quit [Quit: ptrrr]
Kricir has quit [Ping timeout: 240 seconds]
<a____>
Design question here - anyone familiar with Data Mapper pattern? (Should hope so :)
<a____>
Was wondering: should a model AND its corresponding data mapper be visible within a controller, or just one?
BeanDip has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
mferrier has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
mferrier has joined #ruby
dopie has joined #ruby
sectionme has joined #ruby
jesse1234 has quit [Ping timeout: 255 seconds]
GodPuppet has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 240 seconds]
Channel6 has joined #ruby
gsd has joined #ruby
mferrier has quit [Ping timeout: 240 seconds]
reset has joined #ruby
sheath__ has joined #ruby
jay is now known as rubyonrailed
TheDerpSquad has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
klmlfl has joined #ruby
sectionme has quit [Ping timeout: 240 seconds]
W0rmDr1nk has quit [Ping timeout: 245 seconds]
WormDrink has quit [Ping timeout: 250 seconds]
axilla has quit [Ping timeout: 255 seconds]
Cer3bus has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
klmlfl has quit [Ping timeout: 250 seconds]
relix has joined #ruby
InhalingPixels has quit []
Cache_Money has quit [Quit: Cache_Money]
gtrak has quit [Ping timeout: 264 seconds]
KnownSyntax has joined #ruby
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
einarj has joined #ruby
bking39116 has quit [Quit: bking39116]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xp_prg has quit [Quit: This computer has gone to sleep]
benzrf is now known as benzrf|offline
hiyosi has joined #ruby
W0rmDr1nk has joined #ruby
WormDrink has joined #ruby
einarj has quit [Remote host closed the connection]
Tentra has quit [Read error: Connection reset by peer]
Tentra has joined #ruby
<heyimwill>
benzrf: ?
reset has quit [Ping timeout: 245 seconds]
Tentra has quit [Read error: Connection reset by peer]
bking39116 has joined #ruby
Tentra has joined #ruby
<mostlybadfly>
nice i got it thanks centrx , i had to stop the loop up until a certain point. i printed out the results and i got my answer right away, it was just checking unecessary numbers
hiyosi has quit [Ping timeout: 240 seconds]
<mostlybadfly>
that is anything above the square root of the number i was checking
chrishough has joined #ruby
rubyonrailed has quit []
timonv_ has joined #ruby
shock_one has quit [Quit: Computer has gone to sleep.]
timonv_ has quit [Ping timeout: 245 seconds]
mferrier has joined #ruby
edwardloveall has quit [Quit: Leaving.]
TheNet has quit [Quit: Leaving...]
TheNet has joined #ruby
mferrier has quit [Ping timeout: 240 seconds]
Tentra_ has joined #ruby
catbusters_ has quit [Quit: Connection closed for inactivity]
Mon_Ouie has quit [Ping timeout: 250 seconds]
sheath__ has quit [Quit: This computer has gone to sleep]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lw has joined #ruby
axsuul has joined #ruby
naw has quit []
aoeu256 has joined #ruby
Aranshada|W__ has joined #ruby
moxtree has joined #ruby
tylerkern has quit [Quit: Connection closed for inactivity]
Tentra__ has joined #ruby
tectonic has quit []
pu22l3r has joined #ruby
moxTreeDev has quit [Ping timeout: 260 seconds]
Aranshada|W_ has quit [Ping timeout: 260 seconds]
Tentra_ has quit [Ping timeout: 240 seconds]
lw has quit [Quit: s]
<a____>
Very frustrating
<a____>
I have a model, which I want to contain an id attribute. I want to obtain that from the DB after inserting it. But I need to create the model before inserting (due to the ORM)
pu22l3r has quit [Ping timeout: 240 seconds]
<a____>
Instantiating an incomplete model object, just to stick an ID into it later - seems wrong
Neomex has quit [Quit: Leaving]
<a____>
Anybody have any immediate thoughts there? :)
ta_ has quit [Remote host closed the connection]
<benzrf>
hmmmmmmmmmmm
GinoMan has quit [Ping timeout: 240 seconds]
<benzrf>
sinatra is bein weird
<benzrf>
oh
<benzrf>
bleh
tectonic has joined #ruby
<a____>
I did have a Q I was hoping to attract the attention of great minds to, but please feel free to spam meaningless drivel :)
SouL_ has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
Tentra has joined #ruby
banister has joined #ruby
banister has quit [Client Quit]
CodeBunny has joined #ruby
bking39116 has quit [Quit: bking39116]
sea_local has joined #ruby
charliesome has quit [Quit: zzz]
andrewlio has quit [Quit: Leaving.]
threesixes has joined #ruby
edwardloveall has joined #ruby
edwardloveall has left #ruby [#ruby]
startupality has quit [Quit: startupality]
lw has joined #ruby
Tentra__ has quit [Ping timeout: 260 seconds]
Gurpartap has joined #ruby
<Gurpartap>
Does any here use Docker? Are you familiar with ruby gem extensions not installing/compiling properly?
User458764 has joined #ruby
IanMalco_ has joined #ruby
IanMalco_ has quit [Remote host closed the connection]
banister has joined #ruby
reset has joined #ruby
<a____>
Gurpartap: not a Docker problem
<a____>
That would be something to do with the base image, as it would on any other bare metal OS
<Gurpartap>
a____: I used ubuntu:14.04.1
sectionme has joined #ruby
Tentra_ has joined #ruby
<Gurpartap>
a____: although there are no issues when I do the same on actual ubuntu 14.04 machine.
phoo1234567 has quit [Quit: Leaving]
<Gurpartap>
Someone on #docker suggested me to build my images on the host machine isntead of the docker’s registry server.
froggy_ has quit [Quit: Leaving]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<Gurpartap>
for any difference in header files, he said.
<a____>
Without any actual, like, details from the compilation process, I couldn't help you any more
iamjarvo has joined #ruby
reer has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<a____>
Gurpartap: sounds like B.S. to me mate
<a____>
That would contravene the whole intent and purpose of docker
<a____>
Gurpartap: don't you want to ADD your app *before* trying to install its bundle?
<benzrf>
gaaah
<benzrf>
i need an expert here
iamjarvo has joined #ruby
<a____>
benzrf: you're in luck
iamjarvo has quit [Max SendQ exceeded]
<a____>
I'm an expert in palindromes
<a____>
Did you know: racecar is racecar backwards
<Gurpartap>
omg
<Gurpartap>
haha
sea_local has quit [Remote host closed the connection]
<a____>
Gurpartap: which two revelations that i just dropped in the past 30 seconds are you omg'ing at
<Gurpartap>
the latter
<a____>
:)
fabrice31 has joined #ruby
<Gurpartap>
a____: That is how I did it before. For a reason I haven’t had time to find yet docker didn’t set the correct workdir for bundle exec to work. I used this particular sequence based on how fig suggests: http://www.fig.sh/rails.html
<a____>
Gurpartap: now I look at it again, my suggestion shouldn't really make a differnce, if you're using a Gemfile (rather than a gemspec, say)
<Gurpartap>
lol RIP english
klmlfl has quit [Ping timeout: 240 seconds]
<a____>
Obviously compilation error details are necessary
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snowyfalse has joined #ruby
snowyfalse has quit [Remote host closed the connection]
Azure has joined #ruby
jxport_ is now known as jxpoirt
jxpoirt is now known as jxport
<benzrf>
arughghughughu
spider-mario has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<a____>
wtf, is there no rails channel here?
marr has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
cirn0 has joined #ruby
EasyCo has joined #ruby
fathogwash has joined #ruby
Tentra_ has quit [Ping timeout: 240 seconds]
Tentra__ has joined #ruby
fathogwash has quit [Remote host closed the connection]
<havenwood>
a____: #rubyonrails
<a____>
havenwood: bah. ta :)
rutheniumbuttere has joined #ruby
tectonic has quit []
jcxau has joined #ruby
dRbiG has quit [Ping timeout: 255 seconds]
cirn0 has quit [Ping timeout: 240 seconds]
<jcxau>
Hey all, is there a difference between nesting modules with the 'module' keyword vs defining on one line with :: ?
jottr has joined #ruby
skysploit has joined #ruby
fold has quit [Ping timeout: 250 seconds]
skysploit has quit [Changing host]
skysploit has joined #ruby
hiyosi has joined #ruby
<Gurpartap>
a____: rebuilding the image. i’ll get back with results as soon as it finishes.
<a____>
Gurpartap: I might not still be here (I have a complaining girlfriend calling from bed) - best of luck if I am not
<a____>
If I am, have some compilation logs ;)
Tentra has joined #ruby
<Gurpartap>
a____: there aren’t enough palndromes if your sentences. i thought you were an expert
startupality has joined #ruby
<Gurpartap>
except the single letter words
GinoMan has joined #ruby
<Gurpartap>
s/palndromes/palindromes/
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<a____>
Gurpartap: here's another mindblower for you then. deified
axsuul has quit [Read error: No route to host]
jottr has quit [Ping timeout: 250 seconds]
lucianosousa has quit [Quit: lucianosousa]
Tentra__ has quit [Ping timeout: 240 seconds]
<Gurpartap>
a____: i was first amazed by palindromes when i was around 5 years old. one of our class mate has the name nitin
<Gurpartap>
had*
nszceta has joined #ruby
rutheniumbuttere has quit [Remote host closed the connection]
<a____>
Gurpartap: I appreciate the anecdote, I just hope the age reference wasn't an subversive attempt to undermine my lifelong area of study and expertise
startupality has quit [Quit: startupality]
benlieb has joined #ruby
lucianosousa has joined #ruby
digitera has quit [Quit: digitera]
Kerber0s has quit [Ping timeout: 240 seconds]
redlegion has quit [Ping timeout: 260 seconds]
redlegion has joined #ruby
banister has joined #ruby
bikeclutching has joined #ruby
Scripore has joined #ruby
jmbrown412 has joined #ruby
crazydiamond has joined #ruby
bikeclutching has quit [Remote host closed the connection]
Tentra_ has joined #ruby
banister has quit [Client Quit]
DEA7TH has quit [Remote host closed the connection]
crdprink2 has joined #ruby
crdpink has quit [Ping timeout: 255 seconds]
Tentra has quit [Ping timeout: 240 seconds]
reset has quit [Ping timeout: 255 seconds]
axilla has joined #ruby
CaptainJet has quit [Ping timeout: 245 seconds]
sparrovv has joined #ruby
benlieb has quit [Quit: benlieb]
CaptainJet has joined #ruby
nhhagen has quit [Remote host closed the connection]