narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
lazyguru has joined #ruby
_lexjm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GinoMan has quit [Ping timeout: 245 seconds]
_lexjm has joined #ruby
fgo has joined #ruby
aspires has quit []
gsd has quit [Ping timeout: 240 seconds]
BTRE has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
gsd has joined #ruby
<bricker`LA>
I need to update the PID file of a running god watch, is this a solved problem?
Asher has quit [Quit: Leaving.]
<j_mcnally>
bricker`LA: why would the pid change?
<bricker`LA>
j_mcnally: it's for searchd, sometimes we need to stop, index, and start it again
<bricker`LA>
j_mcnally: and I need god to pickup the new pid
<j_mcnally>
that makes sense
Asher has joined #ruby
<bricker`LA>
I know there are a bunch of other ways to do it, but I'm trying to accomplish this without having to unmonitor the process, because the users running the searchd commands won't have sudo access
Vile` has quit [Remote host closed the connection]
<bricker`LA>
(which is required by god.rb)
<j_mcnally>
bricker`LA: so that excludes using god to stop and start searchd?
ClarusCogitatio has quit [Ping timeout: 245 seconds]
<j_mcnally>
update a new pid only solves part of the problem, as soon as you stop searchd its gonna start it again unless you unmonitor no?
<bricker`LA>
j_mcnally: the users (rundeck mostly) won't be able to do that either, basically all they can do is use the Thinking Sphinx rake interface
<bricker`LA>
j_mcnally: I made a special poll conditon for that case
<bricker`LA>
it works, it just comes back up with a different PID
Vile` has joined #ruby
<bricker`LA>
and then god can no longer manage that process
<j_mcnally>
would w.pid_file help
<j_mcnally>
you could just write the new pid to a file?
<bricker`LA>
j_mcnally: ah, that's an easy solution I hadn't considered
<bricker`LA>
well
<bricker`LA>
actually
<bricker`LA>
nevermind
<bricker`LA>
searchd is already doing that
<j_mcnally>
did u tell your watcher to use the pid file?
<bricker`LA>
God must store the PID in memory instead of reading it from the file every time it needs it (understandably)
<bricker`LA>
yes
ClarusCogitatio has joined #ruby
<bricker`LA>
I guess I could pass the watch object into the condition, and then update the PID file from inside of the condition
klaut has quit [Remote host closed the connection]
cina has quit [Quit: leaving]
marr has joined #ruby
carraroj has joined #ruby
teddyp1cker has quit [Ping timeout: 246 seconds]
mkaesz has joined #ruby
teddyp1cker has joined #ruby
mkaesz has quit [Remote host closed the connection]
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
ValicekB has quit []
juzdan_ has quit [Remote host closed the connection]
ineb has joined #ruby
Juzdan has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
<ineb>
are 'threads.each { |thread| thread.join }' and 'threads.each(&:join)' equivalent?
klaas has quit [Read error: Connection reset by peer]
klaas has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
Juzdan has quit [Ping timeout: 245 seconds]
Imofftopic has joined #ruby
tectonic has quit []
<gr33n7007h>
ineb, exactly the same
Imofftopic has quit [Client Quit]
<ineb>
gr33n7007h: whats with the ampersand in the 2nd statement? i thought it was a reference to the current element, but [1,2,3].each{ puts &:to_s } f.eks is not working
siwica has joined #ruby
jhass|off is now known as jhass
<apeiros_>
ineb: & tells ruby to convert the object into a block
<siwica>
Do you know of an irc channel to discuss general questions about rest apis?
Px12 has quit [Ping timeout: 245 seconds]
<apeiros_>
ineb: it does so by first converting the object to a Proc, by calling .to_proc on it
<apeiros_>
siwica: #rubyonrails, #sinatra, #nodejs I guess
timonv_ has quit [Ping timeout: 272 seconds]
<siwica>
apeiros_: I am not concerned with a specific framework though
thomasxie has joined #ruby
<apeiros_>
siwica: I understood that. but I doubt that there's #restapi
<siwica>
apeiros_: I am using neither of these and I am not interested in the actual implementation
ClarusCogitatio has quit [Ping timeout: 272 seconds]
tskogberg has joined #ruby
<siwica>
wel ok
<apeiros_>
siwica: then why do you ask here? :-p
apeiros_ is now known as apeiros
<siwica>
apeiros_: you gotta start somewhere :P
<apeiros>
see
ClarusCogitatio has joined #ruby
<siwica>
a book recommendation would be appreciated too
<ineb>
apeiros_: & represents proc from the current element?
<apeiros>
ineb: it's just a syntax element informing ruby about your intent
sectionme has joined #ruby
<apeiros>
ineb: similarly like "" for strings tell ruby that the string starts and ends there
<ineb>
sweeper_: RESTful Web Services maybe
<ineb>
mhhhh
<apeiros>
siwica: google for steve klabnik. I think he wrote one on how to design APIs
<siwica>
apeiros: ok, cool. thanks
<siwica>
ineb: Ok, I will check this
<ineb>
sorry, i highlighted the wrong user
HeartbrokenTR has joined #ruby
tvw has joined #ruby
ClarusCogitatio has quit [Ping timeout: 245 seconds]
Imofftopic has joined #ruby
Imofftopic has quit [Remote host closed the connection]
yfeldblum has joined #ruby
sectionme has quit [Ping timeout: 245 seconds]
ClarusCogitatio has joined #ruby
HeartbrokenTR is now known as Heartbroken
fgo has joined #ruby
<shevy>
siwica there is #rest
AndChat| has quit [Ping timeout: 240 seconds]
aspiers has joined #ruby
<shevy>
hmmmmm
<shevy>
does Regexp.quote() change the encoding?
fgo has quit [Ping timeout: 260 seconds]
<shevy>
wow
<shevy>
it does
<shevy>
x = "abc"; x.encoding # => #<Encoding:US-ASCII>
<Hanmac>
hm yeah ok, but how often do you use symlinks with require relative?
Juzdan has quit [Ping timeout: 245 seconds]
<atmosx>
shevy: hehe yeap
chihhsin has quit [Quit: leaving]
pandaant_ has quit [Remote host closed the connection]
chihhsin has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
<shevy>
Hanmac I don't
<shevy>
because of two reasons
<shevy>
I don't use require_relative
<shevy>
and I just about have no symlinks in my ruby projects to other .rb files
<shevy>
I do have one symlink in a ruby project to a directory with 2784 yaml files though
<shevy>
I don't quite know why he uses symlinks hahaha
abuzze_ has joined #ruby
abuzze has quit [Ping timeout: 250 seconds]
HelperW has joined #ruby
wolf__ has quit [Ping timeout: 245 seconds]
GriffinHeart has joined #ruby
pasties has quit [Read error: Connection reset by peer]
InhalingPixels has joined #ruby
SouL_ has joined #ruby
Jackneill has joined #ruby
cirn0 has joined #ruby
pasties has joined #ruby
GriffinHeart has quit [Ping timeout: 250 seconds]
hellangel7 has quit [Read error: Connection reset by peer]
InhalingPixels has quit [Ping timeout: 260 seconds]
cirn0 has quit [Ping timeout: 272 seconds]
Wolland_ has joined #ruby
Wolland_ has quit [Remote host closed the connection]
p0sixpscl has joined #ruby
Wolland_ has joined #ruby
sparrovv has quit [Remote host closed the connection]
sparrovv has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
sparrovv has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
Wolland_ has quit [Ping timeout: 260 seconds]
teddyp1cker has joined #ruby
txdv has quit [Read error: Connection reset by peer]
txdv has joined #ruby
Advocation has joined #ruby
siwica has quit [Remote host closed the connection]
siwica has joined #ruby
abuzze has joined #ruby
teddyp1cker has quit [Ping timeout: 246 seconds]
GriffinHeart has joined #ruby
abuzze_ has quit [Ping timeout: 272 seconds]
nfk has joined #ruby
duncannz has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
Advocation has quit [Client Quit]
evrei_ has joined #ruby
cougarten has joined #ruby
carraroj has joined #ruby
Rollabunna has joined #ruby
codecop has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
GriffinHeart has quit [Ping timeout: 260 seconds]
fabrice31 has joined #ruby
<bricker`LA>
what's a good word for "backups which are historical", vs "backup which gets overwritten every time". I'm tired and can't think of a better way to explain it
<bricker`LA>
for something like databases, you migt want to rollback to a specific time, but additive data doesn't need to have rollback states like that
Scotteh has joined #ruby
mikecmpbll has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
tobyo3 has joined #ruby
DaniG2k has joined #ruby
<apeiros>
bricker`LA: archive vs. stand-by?
<apeiros>
maybe somebody has better terms, though
Juzdan has joined #ruby
LeVoDECoM has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AxonetBE has joined #ruby
Juzdan has quit [Ping timeout: 245 seconds]
qualiabyte has quit [Quit: Leaving]
arup_r has quit [Quit: Leaving.]
ringarin has quit [Ping timeout: 240 seconds]
LeVoDECoM has quit [Client Quit]
chipotle has joined #ruby
tobyo3 has quit [Ping timeout: 250 seconds]
thumpba_ has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
tlarevo_ has joined #ruby
tlarevo has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
stardiviner has joined #ruby
Imofftopic has joined #ruby
king414 has quit [Read error: Connection reset by peer]
Rollabunna has quit [Quit: Leaving...]
tkuchiki has quit [Remote host closed the connection]
kirun has joined #ruby
AlSquire has joined #ruby
cougarten has quit [Ping timeout: 250 seconds]
AxonetBE has quit [Quit: AxonetBE]
sigurding has joined #ruby
tlarevo_ has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
tlarevo has joined #ruby
coderhs has joined #ruby
fgo has joined #ruby
marr has quit [Ping timeout: 240 seconds]
InhalingPixels has quit [Ping timeout: 245 seconds]
BlkDynmt has joined #ruby
tlarevo has quit [Ping timeout: 272 seconds]
Imofftopic has quit [Quit: Leaving]
SCHAAP137 has joined #ruby
descala has quit [Ping timeout: 260 seconds]
carraroj has quit [Ping timeout: 245 seconds]
king414 has joined #ruby
W0rmDr1nk has quit [Ping timeout: 260 seconds]
zegerjan has joined #ruby
ringarin has joined #ruby
yxhuvud has quit [Remote host closed the connection]
yfeldblum has joined #ruby
thomasxie has left #ruby [#ruby]
kristofferR has joined #ruby
tlarevo has joined #ruby
xenomorph is now known as {xenomorph}
Azure has joined #ruby
dangerousdave has joined #ruby
ptrrr has quit [Quit: ptrrr]
yfeldblum has quit [Ping timeout: 245 seconds]
kristofferR has quit [Client Quit]
Soda has joined #ruby
dangerousdave has quit [Client Quit]
blackmesa has joined #ruby
zegerjan has quit [Quit: WeeChat 1.0]
dapz has joined #ruby
charliesome has quit [Quit: zzz]
ptrrr has joined #ruby
dapz has quit [Client Quit]
charliesome has joined #ruby
Juzdan has joined #ruby
zettam has joined #ruby
dideler has joined #ruby
spider-mario has quit [Ping timeout: 245 seconds]
tlarevo has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 250 seconds]
tlarevo has joined #ruby
wolf__ has joined #ruby
Juzdan has quit [Ping timeout: 250 seconds]
emocakes__ has joined #ruby
tkuchiki has joined #ruby
tlarevo has quit [Ping timeout: 246 seconds]
p0sixpsc_ has joined #ruby
jottr_ has joined #ruby
p0sixpscl has quit [Ping timeout: 272 seconds]
emocakes has quit [Ping timeout: 260 seconds]
{xenomorph} is now known as xenomorph
yeticry has quit [Ping timeout: 240 seconds]
odlox has joined #ruby
freelusion has joined #ruby
gauke has joined #ruby
yeticry has joined #ruby
odlox_ has joined #ruby
gauke has quit [Client Quit]
Px12 has joined #ruby
odlox has quit [Ping timeout: 246 seconds]
ValicekB has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Akagi201 has quit [Ping timeout: 240 seconds]
manzo has joined #ruby
Akagi201 has joined #ruby
VBlizzard has joined #ruby
freelusion has quit [Quit: freelusion]
mkaesz has joined #ruby
Px12 has quit [Ping timeout: 272 seconds]
sectionme has quit [Ping timeout: 272 seconds]
realDAB has joined #ruby
sectionme has joined #ruby
davispuh has joined #ruby
chipotle has quit [Read error: Connection timed out]
spider-mario has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
cirn0 has joined #ruby
sevenseacat has joined #ruby
sinkensabe has joined #ruby
chipotle has joined #ruby
xenomorph is now known as {xenomorph}
HelperW has quit [Ping timeout: 272 seconds]
marr has joined #ruby
jottr_ has quit [Ping timeout: 272 seconds]
realDAB has quit [Quit: realDAB]
vyorkin has joined #ruby
matty1234 has joined #ruby
<matty1234>
Hi, has anyone here tried installing discourse?
<shevy>
matty1234 I think others tried it
cirn0 has quit [Ping timeout: 250 seconds]
<matty1234>
For the life of me i can't get the mail settings to work
<vyorkin>
hi everyone! i've have a problem with rmagick, all i need is to draw a gradient line on a canvas... i know that i can do this using 'montage' utility from imagemagick, but how i can do that with RMahick?
<matty1234>
so I'm stuck trying to figure out how to access the DB directly. I'm a LAMP person not a ruby so this is particularly painful
sinkensabe has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
<matty1234>
Would anyone know what Database discourse uses?
Guest75779 is now known as BLuEGoD
bogeyd6 has quit [Quit: Leaving]
teddyp1cker has joined #ruby
diegoviola has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
Px12 has joined #ruby
<sevenseacat>
check the database.yml?
vyorkin has quit [Ping timeout: 246 seconds]
sparrovv has quit [Remote host closed the connection]
ringarin has quit [Ping timeout: 260 seconds]
<sevenseacat>
its postgres by default
e4xit has joined #ruby
phoo1234567 has joined #ruby
a has joined #ruby
a is now known as Guest2744
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
teddyp1cker has quit [Ping timeout: 272 seconds]
fabrice31 has quit [Ping timeout: 246 seconds]
vitaly1 has joined #ruby
<vitaly1>
hi guys
<matty1234>
when i try to access psql i get this error
<quux>
pontiki: the first thing that came to mind was "I can't draw" - but more pertinently, I should have wondered WTF would even go into them. :)
BlkDynmt has joined #ruby
<arup_r>
I love duck typing.. "quack quack"..
bruno- has joined #ruby
kaspergrubbe has joined #ruby
* Hanmac
know images a Dragon wearing a fake duck costume with the image title "the danger of duck-typing"
sigurding has quit [Quit: sigurding]
<arup_r>
heheheh
<shevy>
I love duck shooting
<quux>
Here's a realistic idea to appear in a Ruby comic, that I am completely relating to at this very moment.
<arup_r>
shevy: You can't do so.. I gurantee
<quux>
The moment where a code review turns into a complete rewrite, because code review advice would barely scratch the surface.
GodPuppet has joined #ruby
Urocyon has joined #ruby
<Hanmac>
quux: yeah ... or you rewrite everything below but the surface-API does still look the same, even if you changed everything else
GriffinHeart has quit [Ping timeout: 272 seconds]
thoolihan has joined #ruby
PhilK has joined #ruby
<shevy>
what
<shevy>
is that how you guys do it
<quux>
Hanmac: unfortunately I'm taking the surface API into my rewrite too.
quux has quit [Quit: Reconnecting]
realDAB has quit [Quit: realDAB]
quux has joined #ruby
<quux>
them damn internets disconnecting
<quux>
who needs em
<Hanmac>
quux hm yeah a surface Api rewrite can happen too if you rewrite the below ... but for sample in one of my c++ bindings i did an big rewrite how the pointers are stored ... and i think i am still not finish with rewriting
sfix_ has quit [Remote host closed the connection]
xiphias has joined #ruby
Kruppe has joined #ruby
quux has quit [Client Quit]
Guest61637 has quit [Ping timeout: 272 seconds]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has quit [Remote host closed the connection]
{xenomorph} is now known as xenomorph
virtualize has joined #ruby
mary5030 has joined #ruby
a_____ has joined #ruby
sevenseacat has quit [Quit: Leaving.]
sectionm1 has joined #ruby
BraddBitt has quit [Ping timeout: 260 seconds]
Waheedi has quit [Quit: Waheedi]
a____ has joined #ruby
jottr_ is now known as jottr
Cheezebox has joined #ruby
sectionme has quit [Read error: Connection reset by peer]
tamtitam` has quit [Ping timeout: 245 seconds]
gregf has quit [Quit: WeeChat 1.0]
tlarevo has quit [Remote host closed the connection]
DaniG2k has joined #ruby
tlarevo has joined #ruby
blackmesa has joined #ruby
Splintor has joined #ruby
<Splintor>
heyas
ericwood is now known as ericwood__
relix has joined #ruby
ericwood has joined #ruby
Evan- is now known as EvanGuru
sectionme has joined #ruby
Envek has joined #ruby
ericwood__ has quit [Quit: leaving]
sectionm1 has quit [Ping timeout: 260 seconds]
Cheezebox has quit [Remote host closed the connection]
Cheezebox has joined #ruby
flowerhack has joined #ruby
havenwood has joined #ruby
startupality has quit [Quit: startupality]
weems_ has joined #ruby
voldie_ has joined #ruby
zorak8 has joined #ruby
zettam_ has joined #ruby
yfeldblum has joined #ruby
bogeyd6 has joined #ruby
mary5030_ has joined #ruby
Cheezebox has quit [Ping timeout: 272 seconds]
a has joined #ruby
AlexRussia_ has joined #ruby
a is now known as Guest40340
klmlfl_ has joined #ruby
p0sixpscl has quit [Read error: Connection reset by peer]
Blizzy has joined #ruby
hsps_ has joined #ruby
p0sixpsc_ has joined #ruby
a____ has quit [Quit: leaving]
radic has quit [Disconnected by services]
radic_ has joined #ruby
Nilium_ has joined #ruby
sepp2k1 has joined #ruby
Mon_Ouie has quit [Ping timeout: 250 seconds]
diegoviola has quit [Remote host closed the connection]
flowerha_ has joined #ruby
mackinto1h has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
shredding has quit [Quit: shredding]
binaryhat_ has joined #ruby
Ulrike_Rayne has quit [Ping timeout: 246 seconds]
AlexRussia has quit [Ping timeout: 246 seconds]
mary5030 has quit [Ping timeout: 246 seconds]
VBlizzard has quit [Ping timeout: 246 seconds]
coderhs has quit [Ping timeout: 246 seconds]
Vile` has quit [Ping timeout: 246 seconds]
djstorm has quit [Ping timeout: 246 seconds]
Alina-malina has quit [Ping timeout: 246 seconds]
weems has quit [Ping timeout: 246 seconds]
a_____ has quit [Ping timeout: 246 seconds]
sepp2k has quit [Ping timeout: 246 seconds]
zettam has quit [Ping timeout: 246 seconds]
Ilyas has quit [Ping timeout: 246 seconds]
Nilium has quit [Ping timeout: 246 seconds]
klmlfl has quit [Ping timeout: 246 seconds]
binaryhat has quit [Ping timeout: 246 seconds]
flowerhack has quit [Ping timeout: 246 seconds]
mackintosh has quit [Ping timeout: 246 seconds]
Devr3d has quit [Ping timeout: 246 seconds]
Ulrike_Rayne has joined #ruby
Nilium_ is now known as Nilium
DaniG2k has quit [Ping timeout: 244 seconds]
Devr3d_ has joined #ruby
djstorm has joined #ruby
Splintor has quit [Quit: Leaving]
gondalier has joined #ruby
lkba has joined #ruby
Takle has quit [Remote host closed the connection]
Vile` has joined #ruby
gondalier has left #ruby [#ruby]
zettam has joined #ruby
xiq_ has joined #ruby
skip_freely_ has joined #ruby
mercwith2mouth has joined #ruby
jzigmund_ has joined #ruby
cougarten has joined #ruby
twobit__ has joined #ruby
speakingcode has joined #ruby
Alina-malina has joined #ruby
VBlizzard has joined #ruby
kriskropd has joined #ruby
bmurt has joined #ruby
m_3_ has joined #ruby
AlexRussia_ has quit [Ping timeout: 272 seconds]
davispuhh has joined #ruby
ndrei has joined #ruby
freerobby has joined #ruby
mary5030_ has quit [Remote host closed the connection]
bluenemo has joined #ruby
HeartbrokenTR has joined #ruby
Blizzy has quit [*.net *.split]
zettam_ has quit [*.net *.split]
linojon has quit [*.net *.split]
fold has quit [*.net *.split]
xiq has quit [*.net *.split]
davispuh has quit [*.net *.split]
dideler has quit [*.net *.split]
kirun has quit [*.net *.split]
Heartbroken has quit [*.net *.split]
mofai has quit [*.net *.split]
drawingthesun has quit [*.net *.split]
mercwith1mouth has quit [*.net *.split]
speaking1ode has quit [*.net *.split]
twobit has quit [*.net *.split]
FL1SK has quit [*.net *.split]
Miron has quit [*.net *.split]
m_3 has quit [*.net *.split]
kriskrop1 has quit [*.net *.split]
phreax_ has quit [*.net *.split]
skip_freely has quit [*.net *.split]
r4v5 has quit [*.net *.split]
jzigmund has quit [*.net *.split]
20WABIFZL has quit [*.net *.split]
kaichanvong has quit [*.net *.split]
havenwood has quit [*.net *.split]
tanath has quit [*.net *.split]
DrCode has quit [*.net *.split]
end_guy has quit [*.net *.split]
St_Marx has quit [*.net *.split]
HeartbrokenTR is now known as Heartbroken
skip_freely_ is now known as skip_freely
realDAB has joined #ruby
kaichanvong___ has joined #ruby
kaichanvong___ is now known as kaichanvong
Heartbroken is now known as Guest36341
rimenes_ has quit [Read error: Connection reset by peer]
phreax has joined #ruby
drawingthesun has joined #ruby
Px12 has quit [Read error: Connection reset by peer]
rimenes has joined #ruby
RealMarc has joined #ruby
bmurt has quit []
fold has joined #ruby
r4v5 has joined #ruby
bmurt has joined #ruby
sectionm1 has joined #ruby
dideler has joined #ruby
kirun has joined #ruby
bricker`LA has joined #ruby
Px12 has joined #ruby
bmurt has quit [Client Quit]
GriffinHeart has joined #ruby
gregf has joined #ruby
sectionme has quit [Ping timeout: 272 seconds]
davispuhh is now known as davispuh
AlexRussia_ has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
bricker`LA has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 272 seconds]
weems_ is now known as weems
weems has quit [Changing host]
weems has joined #ruby
jzigmund_ has quit [Changing host]
jzigmund_ has joined #ruby
Guest36341 has quit [Changing host]
Guest36341 has joined #ruby
GriffinHeart has quit [Ping timeout: 260 seconds]
gauke has joined #ruby
Guest36341 is now known as Heartbroken
tobyo3 has joined #ruby
teddyp1cker has joined #ruby
Guest40340 has quit [Ping timeout: 250 seconds]
marcanuy has joined #ruby
PigDude has left #ruby [#ruby]
benzrf|offline is now known as benzrf
<marcanuy>
I've defined a layout in a .html file in a jekyll page file but the template code is being added to all the files that the layout loads (css files, etc) any ideas? (I have an empty defaults item in _config.yml)
a___ has joined #ruby
<marcanuy>
It only happens when the file is in a subdirectory, at the root level works fine
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
HelperW_ has joined #ruby
sectionme has joined #ruby
sevvie has joined #ruby
hsps_ has quit [Ping timeout: 272 seconds]
teddyp1cker has quit [Remote host closed the connection]
Takle has joined #ruby
teddyp1cker has joined #ruby
realDAB has quit [Quit: realDAB]
ndrei has quit [Ping timeout: 250 seconds]
fabrice31 has joined #ruby
sectionm1 has quit [Ping timeout: 250 seconds]
HelperW has quit [Ping timeout: 246 seconds]
InhalingPixels has joined #ruby
evrei_ has quit [Ping timeout: 272 seconds]
mengu has quit [Ping timeout: 245 seconds]
whitewalrus has joined #ruby
Miron has joined #ruby
terlar has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
gsd has joined #ruby
szich has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
descala has joined #ruby
yfeldblum has joined #ruby
szich has quit [Client Quit]
kenneth has joined #ruby
sectionme has quit [Ping timeout: 272 seconds]
HelperW_ has quit [Remote host closed the connection]
HelperW_ has joined #ruby
freerobby has quit [Quit: Leaving.]
maestrojed has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
klap has joined #ruby
jottr has joined #ruby
wald0 has joined #ruby
matty1234 has quit [Quit: Connection closed for inactivity]
cirn0 has joined #ruby
poulet_a has joined #ruby
atmosx has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
<atmosx>
hello
carraroj has joined #ruby
ndrei has joined #ruby
carraroj has quit [Client Quit]
carraroj has joined #ruby
marcanuy has quit [Remote host closed the connection]
wolf__ has quit [Quit: Leaving]
cirn0 has quit [Ping timeout: 258 seconds]
emocakes__ has quit []
nfk has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba has quit [Ping timeout: 272 seconds]
nfk has joined #ruby
claymore has quit [Ping timeout: 250 seconds]
<siwica>
what is the default location for ruby logfiles?
flowerha_ has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 260 seconds]
<yxhuvud>
what do you even mean by a ruby logfile?
<Hanmac>
/dev/null ;P
claymore has joined #ruby
<yxhuvud>
siwica: I guess you are trying to run some app. What app are you running?
<siwica>
yxhuvud: grape
freerobby has joined #ruby
<siwica>
yxhuvud: I only get an instance of the Ruby logger and thus can't specify a location for the logfiles
bluenemo has quit [Read error: Connection reset by peer]
king414 has quit [Quit: .]
ndrei has quit [Ping timeout: 272 seconds]
Seraff has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
tamtitam has joined #ruby
<yxhuvud>
then I don't know. I'd assume that you can assign a new logger when setting up config somehow, though
lkba has joined #ruby
tlarevo has quit [Remote host closed the connection]
claymore has quit [Ping timeout: 255 seconds]
wallerdev has joined #ruby
Advocation has joined #ruby
<Envek>
siwica: try logger.instance_variable_get(:@logdev).filename (where logger is your instance)
<Hanmac>
might return nil if STDOUT or STDERR is used, but there still should be some better way
ClarusCogitatio has quit [Ping timeout: 272 seconds]
claymore has joined #ruby
m8 has joined #ruby
ericwood has quit [Quit: leaving]
maestrojed has quit [Quit: Computer has gone to sleep.]
ClarusCogitatio has joined #ruby
hellangel7 has joined #ruby
Tuxero has joined #ruby
ericwood has joined #ruby
GriffinHeart has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
maestrojed has joined #ruby
hellangel7 has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
GodPuppet has quit [Ping timeout: 240 seconds]
<siwica>
ok, this gives nil
mary5030 has joined #ruby
<siwica>
This is probably a stupid question but how can I access messages written to STDOUT?
arup_r1 has joined #ruby
<ericwood>
they're written to stdout, so it's just outputted by the program, if that makes any sense?
<ericwood>
whatever stdout is redirected to
<ericwood>
it's all dependent on how the program is being run
<Hanmac>
you could use IO#reopen
maestrojed has quit [Quit: Computer has gone to sleep.]
GriffinHeart has quit [Ping timeout: 260 seconds]
<siwica>
ericwood: it's a rack application run by passenger
<ericwood>
ah okay
arup_r has quit [Ping timeout: 260 seconds]
<ericwood>
probably to a log file, then
mary5030 has quit [Ping timeout: 258 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
jottr has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
<siwica>
ericwood: I didn't find it in my apache logs, but probably there is some passenger log directory then that I am not aware of
<ericwood>
otherwise it's a great font, but the word "all" just looks completely jacked
BraddBitt has joined #ruby
atmosx has joined #ruby
<mozzarella>
use inconsolata then
<ericwood>
I use Menlo, but github uses Consolas. I should add a userstyle to fix that
* apeiros
uses dejavu
<ericwood>
menlo 4 lyfe
<mozzarella>
ericwood: are you on a mac?
poulet_a has quit [Ping timeout: 245 seconds]
<siwica>
ericwood: you are definitely right and I will do some reading on setting up a logging system. But since I am learning a lot of other stuff right now (Apache/Passenger/Rack/Grape are all new to me) I want to spend my time on s/th else right now
<ericwood>
mozzarella: yah
<mozzarella>
ericwood: can you use menlo on linux or is it illegal?
<ericwood>
siwica: for sure! As the app grows you'll find the need for a logging system more and more important. Best of luck!
<ericwood>
mozzarella: I won't tell on you
<ericwood>
it can be our little secret
ndrei has joined #ruby
sparrovv has quit [Remote host closed the connection]
SCHAAP137 has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
damada has quit [Quit: Page closed]
ndrei has joined #ruby
damada has joined #ruby
AndChat| has joined #ruby
damada has quit [Client Quit]
<mozzarella>
apeiros: yeah, I think I'm going to stick to dejavu sans mono, menlo doesn't look to good when the font is small
sectionme has quit [Ping timeout: 258 seconds]
mary5030 has joined #ruby
paolooo has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sagittarian has quit [Ping timeout: 240 seconds]
mocfive has joined #ruby
sinkensabe has joined #ruby
fennec has joined #ruby
<fennec>
i'm looking for rspec advice
lw has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
<fennec>
in a just and perfect world it would be easy to do the thing I want to do and I don't know if it's easy to do the thing I want to do but I'm hopeful
arup_r has joined #ruby
<centrx>
try minitest instead?
* fennec
is trying to write an expectation that a certain operation does not change several values, and chain them together with 'and' but can't figure out how to put in the negative
LeVoDECoM has joined #ruby
Tomasso has joined #ruby
cirn0 has joined #ruby
mocfive has quit [Remote host closed the connection]
DrCode has quit [Write error: Connection reset by peer]
kireevco has joined #ruby
pandaant has joined #ruby
St_Marx has joined #ruby
cirn0 has quit [Ping timeout: 260 seconds]
DrCode has joined #ruby
mocfive has quit [Ping timeout: 272 seconds]
WormDrink has joined #ruby
WormDrink has quit [Changing host]
WormDrink has joined #ruby
<waxjar>
what's wrong with something like this: code; assert_equal val1, "whatever val 1 should be"; assert_equal val2, "etc"
<waxjar>
all these weird dsls :|
ptrrr has quit [Quit: ptrrr]
<Hanmac>
hm imo minitest/testunit is more readable than rspec ...
mercwithamouth has quit [Ping timeout: 272 seconds]
mercwith2mouth has quit [Ping timeout: 260 seconds]
<waxjar>
minitest isn't too bad. i love cutest tho
ptrrr has joined #ruby
<fennec>
gentlemen there are advantages and disadvantages to both minitest and rspec as expectations frameworks
Lewix has quit [Remote host closed the connection]
<centrx>
impossible!
<fennec>
however i am not here to solicit advice on which testing framework i should use but rather to solicit advice on using rspec :)
<ericwood>
wait, are you telling me that none of them are perfect and you can use them for different situations?!
yacks has quit [Quit: Leaving]
<ericwood>
:o
mr-foobar has quit [Quit: Leaving...]
end_guy has joined #ruby
grenierm has joined #ruby
atmosx_ has joined #ruby
hellangel7 has quit [Read error: Connection reset by peer]
<waxjar>
can't you have two expects fennec?
sigurding has joined #ruby
kireevco has quit [Quit: Leaving.]
bruno- has joined #ruby
atmosx has quit [Ping timeout: 272 seconds]
InhalingPixels has quit []
tanath has joined #ruby
GriffinHeart has joined #ruby
tcrypt has joined #ruby
<fennec>
waxjar- well the way it works in the simple case is to expect { code which does something }.to change { statement that returns state of some object }
<fennec>
optionally, append that change with .from(initial).to(expected)
<Hanmac>
fennec: did you try {code}.not_to change { [val1, val2] } ?
asmodlol has joined #ruby
<fennec>
and it's easy to make code.not_to change
livingstn has quit []
<fennec>
and it's easy to say expect {code}.to change {x}.and change {y}
postmodern has joined #ruby
<fennec>
but I can't figure out how to __negate__ changing x and y
<fennec>
and yes, I could just share the test setup and run the code again with a different set of expectations attached to it
<fennec>
or manually copy the before-state and test that the after-state is the same
bruno- has quit [Ping timeout: 272 seconds]
bricker`LA has joined #ruby
<fennec>
but i'm strongly under the impression that rspec is ought to have tools to make this business less obnoxious than all that
<Hanmac>
fennec: hm that sound like a logic problem ... the negation of an AND is a NOR ... {code}.not_to change {x}.or change {y} (thats my idea without testing)
<fennec>
hmm maybe
GriffinHeart has quit [Ping timeout: 272 seconds]
qohelet_ has joined #ruby
blackmesa has joined #ruby
<fennec>
ah joy
<fennec>
`expect(...).not_to matcher.or matcher` is not supported, since it creates a bit of an ambiguity. Instead, define negated versions of whatever matchers you wish to negate with `RSpec::Matchers.define_negated_matcher` and use `expect(...).to matcher.or matcher`.
mofai has joined #ruby
<ericwood>
IO::read blocks until the operation completes; but will it block until bytes become available?
<ericwood>
right now I have code that uses a sleep to wait for data to become available from the serial device I'm reading from
sparrovv has joined #ruby
<fennec>
and of course not_change doesn't exist... aaaargh thanks for nothing rspec
<ericwood>
I'd prefer it to not have the sleep, though, but it doesn't work unless I have the sleep there :(
<ericwood>
can anyone think of a better way to go about that?
* fennec
is writing a solitaire game as an exercise and it would be __real nice__ to be able to say "trying to move the king of clubs to an empty discard pile should return a helpful message to the command loop and not change the contents of any pile" but noooo that'd be too easy
fabrice31 has joined #ruby
* fennec
forces all the brutes instead. remind me why i'm not just using minitest? ;P
realDAB has joined #ruby
threesixes has joined #ruby
voldie__ has joined #ruby
LeVoDECoM has quit [Quit: Leaving]
gr33n7007h has quit [Ping timeout: 245 seconds]
Wolland has joined #ruby
gsd has joined #ruby
KC9YDN has quit [Quit: beebop]
GinoMan has joined #ruby
MeltedLux has joined #ruby
circ-user-vLIQW has joined #ruby
circ-user-vLIQW has left #ruby [#ruby]
fabrice31 has quit [Ping timeout: 260 seconds]
voldie_ has quit [Ping timeout: 245 seconds]
KC9YDN has joined #ruby
lw has quit [Quit: s]
terlar has quit [Quit: WeeChat 1.0]
<waxjar>
ericwood: use IO.select to wait until an IO is readable/writeable?
Advocation has quit [Quit: Advocation]
Wolland has quit [Remote host closed the connection]
Wolland has joined #ruby
raddazong is now known as madhatter
realDAB has quit [Quit: realDAB]
madhatter is now known as Guest68284
Guest68284 has quit [Changing host]
Guest68284 has joined #ruby
<ericwood>
waxjar: I'm considering that
Guest68284 is now known as madhatter
Wolland has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
realDAB has joined #ruby
paolooo has quit [Ping timeout: 246 seconds]
mityaz has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
Wolland has quit [Ping timeout: 258 seconds]
voldie__ has quit [Quit: Leaving]
zorak8 has quit [Ping timeout: 250 seconds]
ringarin has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
St_Marx has joined #ruby
Tomasso has quit [Ping timeout: 246 seconds]
ringaring has joined #ruby
havenwood has joined #ruby
<ericwood>
waxjar: based on what the #ruby-lang peeps have been saying, setting the read_timeout to 1000 might fix this
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
Wolland has joined #ruby
ringarin has quit [Ping timeout: 260 seconds]
KC9YDN has quit [Remote host closed the connection]
sectionme has joined #ruby
ringaroses2 has joined #ruby
mocfive has joined #ruby
lw has joined #ruby
mitchejj has joined #ruby
Rollabunna has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Wolland has quit [Ping timeout: 246 seconds]
mitchejj has left #ruby [#ruby]
GinoMan has quit [Ping timeout: 272 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ringaring has quit [Ping timeout: 260 seconds]
KC9YDN has joined #ruby
sectionme has quit [Ping timeout: 246 seconds]
KC9YDN has quit [Client Quit]
gsd has joined #ruby
jheg has joined #ruby
Juzdan has joined #ruby
chrishough has joined #ruby
gsd has quit [Client Quit]
<waxjar>
ericwood: strange that #read did not block tho, the #reads in core all do. oh well
<ericwood>
waxjar: I think it's timing out instantly if there's nothing available
<ericwood>
more of a function of the serialport stuff
realDAB has quit [Quit: realDAB]
starkhallo has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
kireevco has quit [Quit: Leaving.]
BlkDynmt has joined #ruby
Wolland has joined #ruby
nairys has joined #ruby
oleo has quit [Ping timeout: 245 seconds]
qohelet_ has quit [Read error: Connection timed out]
Wolland_ has joined #ruby
qohelet_ has joined #ruby
axsuul_ has quit [Ping timeout: 240 seconds]
dapz has joined #ruby
Wolland has quit [Ping timeout: 255 seconds]
bruno- has joined #ruby
poulet_a has quit [Quit: Quitte]
<bricker`LA>
Why is knife so rude? "I have no idea what to do with ''... Just say 'Y' or 'N', please" Ruby devs man...
Wolland_ has quit [Ping timeout: 258 seconds]
* apeiros
doesn't see how that's rude
arup_r has quit [Quit: Leaving.]
tamtitam` is now known as tamtitam
claymore has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
<bricker`LA>
It's an impatient computer program for some reason
claymore has joined #ruby
<bricker`LA>
like it's on the clock
* apeiros
doesn't see how that's impatient either
Soda has quit [Remote host closed the connection]
<bricker`LA>
*shrug*
<apeiros>
I think you're being a tad bit oversensitive there. but maybe having this opinion is rude too? :-)
KC9YDN has joined #ruby
mofai has quit []
bruno- has quit [Ping timeout: 250 seconds]
<bricker`LA>
nah
ClarusCogitatio has quit [Ping timeout: 250 seconds]
<bricker`LA>
I love me some knife
qohelet_ has quit [Quit: qohelet_]
GriffinHeart has joined #ruby
ClarusCogitatio has joined #ruby
emmesswhy has joined #ruby
Rollabunna has quit [Remote host closed the connection]
modernbob has quit [Ping timeout: 255 seconds]
echevemaster has joined #ruby
thejamespinto has quit [Ping timeout: 245 seconds]
lolmaus has quit [Read error: Connection reset by peer]
niklasb has joined #ruby
GriffinHeart has quit [Ping timeout: 258 seconds]
thejamespinto has joined #ruby
klmlfl_ has quit [Remote host closed the connection]
lolmaus has joined #ruby
robustus has quit [Ping timeout: 250 seconds]
oleo has joined #ruby
a___ has quit [Ping timeout: 272 seconds]
Scotteh has quit [Ping timeout: 260 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
<shevy>
what a rude channel
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
<shevy>
and why are there only 842 ... yesterday there were almost 1000 :(
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
<wasamasa>
it's mostly lurkers anyways
<wasamasa>
I'm still baffled why the hell they're here
<wasamasa>
passive learning?
kireevco has joined #ruby
<wasamasa>
logging?
<wasamasa>
are they ghosts in the shell?
<ericwood>
they log in but just never go back to the channel
<shevy>
yeah, a lot of lurkers
j_mcnall_ has joined #ruby
ringaroses2 has quit [Quit: Leaving]
<shevy>
in my peak days of using IRC, I had open like +13 channels. nowadays I try to stay smaller... 6 channels right now, and always trying to see if I can drop more
nanoyak has joined #ruby
robustus has joined #ruby
manzo has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 272 seconds]
<centrx>
what's "irc"
tamtitam` has joined #ruby
rkalfane has joined #ruby
dopie has joined #ruby
kireevco has quit [Quit: Leaving.]
saarinen has joined #ruby
realDAB has joined #ruby
<j_mcnall_>
"Internet relay chat"
tamtitam has quit [Ping timeout: 245 seconds]
<j_mcnall_>
centrx: the thing you are using
j_mcnall_ is now known as j_mcnally
o0oo0o has joined #ruby
<shevy>
centrx it is a chat program for php elite coders
<centrx>
never heard of him, is he friends with Yukihero Matzumoto
Jackneill has quit [Remote host closed the connection]
JayLeon has joined #ruby
JayLeon has left #ruby [#ruby]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Remote host closed the connection]
Takle has joined #ruby
wallerdev has quit [Quit: wallerdev]
fabrice31 has joined #ruby
teddyp1cker has joined #ruby
mocfive_ has joined #ruby
mocfive has quit [Read error: Connection reset by peer]
o0oo0o has quit [Quit: WeeChat 0.4.3]
ClarusCogitatio has quit [Ping timeout: 255 seconds]
o0oo0o has joined #ruby
melik_ has joined #ruby
matty1234 has joined #ruby
GriffinHeart has joined #ruby
txdv has quit [Read error: Connection reset by peer]
fabrice31 has quit [Ping timeout: 246 seconds]
txdv has joined #ruby
oivoodoo_ has joined #ruby
ClarusCogitatio has joined #ruby
jackyalcine is now known as jalcine
mary5030 has quit [Remote host closed the connection]
realDAB has joined #ruby
mary5030 has joined #ruby
Takle has quit [Ping timeout: 250 seconds]
icedp has quit [Quit: _]
ValicekB has quit []
GriffinHeart has quit [Ping timeout: 255 seconds]
shredding has joined #ruby
icedp has joined #ruby
icedp is now known as Guest27302
mary5030 has quit [Ping timeout: 246 seconds]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axsuul has joined #ruby
troyready has joined #ruby
realDAB has quit [Quit: realDAB]
tcrypt has quit [Remote host closed the connection]
tcrypt has joined #ruby
tectonic has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tectonic has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
diegoviola has joined #ruby
zeroNones has joined #ruby
tcrypt has quit [Ping timeout: 246 seconds]
<matty1234>
Hi, can anyone please tell me how I can edit my discourse SMTP settings? I want to move over from MailGun to ManDrill. I can't seem to find the settings file, I even tried doing a grep and find search already
oleo is now known as Guest4024
oleo__ has joined #ruby
minichiello has joined #ruby
startupality has joined #ruby
Wolland has joined #ruby
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest4024 has quit [Ping timeout: 245 seconds]
a___ has joined #ruby
lw has joined #ruby
claymore has quit [Quit: Leaving]
Wolland has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
ghr has joined #ruby
<matty1234>
?
KLVTZ has joined #ruby
bruno- has joined #ruby
banister has quit [Read error: Connection reset by peer]
sectionme has quit [Ping timeout: 246 seconds]
banister has joined #ruby
felixjet_ has joined #ruby
ValicekB has joined #ruby
minichiello has quit [Ping timeout: 246 seconds]
volty has joined #ruby
grenierm has quit [Quit: grenierm]
gccostabr has joined #ruby
KLVTZ has quit [Ping timeout: 255 seconds]
felixjet has quit [Ping timeout: 240 seconds]
esoghroih has joined #ruby
felixjet has joined #ruby
havenwood has quit [Remote host closed the connection]
mityaz has quit [Quit: See ya!]
oivoodoo_ has quit [Remote host closed the connection]
<esoghroih>
*** hey we want to make a free ruby session/class in phsyical space for total new people -- wanted to know if you thought that would be worthwhile for them -- the goal is really just exposure, so they gain an interest in the future
mitchejj has joined #ruby
startupality has quit [Quit: startupality]
felixjet_ has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
gr33n7007h has joined #ruby
<esoghroih>
*** hey we want to make a free ruby session/class in phsyical space for total new people -- wanted to know if you thought that would be worthwhile for them -- the goal is really just exposure, so they gain an interest in the future
testy has joined #ruby
testy is now known as Guest25190
Guest25190 has quit [Client Quit]
o0oo0o has quit [Quit: WeeChat 0.4.3]
mistergibson has quit [Quit: Quitting ... be good to each other :)]
maestrojed has joined #ruby
<shevy>
Does one of you know if I can become another user during a ruby process?
<shevy>
e. g. I start as the superuser, then I wish to create some directories + files as another user
maestrojed has quit [Client Quit]
Px12 has quit [Ping timeout: 260 seconds]
bricker`LA has quit [Ping timeout: 260 seconds]
<fennec>
shevy -- Process::UID?
<shevy>
aha lemme check
mitchejj has quit [Quit: mitchejj]
<volty>
shevy you should consider using su // or creating the dirs and then changing the owner [and rights]
nanoyak has quit [Quit: Computer has gone to sleep.]
Juzdan has quit [Remote host closed the connection]
mocfive_ has quit [Remote host closed the connection]
mocfive has joined #ruby
Juzdan has joined #ruby
<shevy>
volty yeah, that would be plan B to modify ownership lateron. The problem is that I need to automate everything, in other words think of a linux from scratch program implemented in pure ruby alone
juzdan_ has joined #ruby
Juzdan has quit [Read error: Connection reset by peer]
zettam is now known as settam
settam is now known as zettam
tkuchiki has joined #ruby
mocfive has quit [Ping timeout: 245 seconds]
minichiello has joined #ruby
djbkd has quit [Remote host closed the connection]
<fennec>
isn't that called puppet? ;P
mocfive_ has joined #ruby
<shevy>
hmm
jgt has joined #ruby
<shevy>
do you compile xorg through puppet?
<jgt>
howdy rubyists
<jgt>
I have a float, and I’d like to present it nicer
vieq has quit [Ping timeout: 272 seconds]
postmodern_ has joined #ruby
shosti has joined #ruby
<jgt>
if the float is 3.5, then I’d like to display it as 3.5
postmodern_ has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
icebourg has joined #ruby
postmodern has joined #ruby
<jgt>
if the float is 5.0, I’d like to display it as 5
<jgt>
how should I go about that?
<jgt>
modulus against 1?
bluOxigen has quit [Ping timeout: 272 seconds]
asmodlol has quit [Ping timeout: 258 seconds]
Sonny|3oy has joined #ruby
<jgt>
maybe that’s the right way to go
<jgt>
if Ruby has anything built in, would be cool to hear about it
<jgt>
in any case, grazie for lending me your ears
codecop has quit [Remote host closed the connection]
<jgt>
I shall now jump back on my liger and ride off into the sunset
<jgt>
farewell brave soldiers
<volty>
i doubt something like that is built-in
<esoghroih>
*** hey we want to make a free ruby session/class in phsyical space for total new people -- wanted to know if you thought that would be worthwhile for them -- the goal is really just exposure, so they gain an interest in the future
chipotle has joined #ruby
jgt has quit [Quit: WeeChat 1.0]
<volty>
esoghroih: you should try to restate your question
benzrf|offline is now known as benzrf
Splintor has joined #ruby
juzdan_ has quit [Remote host closed the connection]
<esoghroih>
*** hey we want to give a free ruby session/class OFFLINE for totally new people -- wanted to know if you thought that would be WORTHWHILE FOR THE LEARNERS -- the goal is really JUST TO INSPIRE PEOPLE
<Bish_>
hi, can iterate over a virtual array which only exists because of the [] method?
vieq has joined #ruby
<fennec>
shevy- you totally _could_, though you might need some custom extension. :) not going to say it's the best idea
<fennec>
esoghroih- you're starting to sound like spam it's not nice
<volty>
Bish_: yes, and everywhere under the condition that the iterator uses []
<volty>
(enumerator!)
<Bish_>
well, there is no enumarator that is the problem, the class only provides []
<esoghroih>
fennec, you're starting to sound useless, i restated the question
<Splintor>
no need to call someone useless if i'm honest
<volty>
esoghroih: nobody can extract a bit of sense out of your question
Rollabunna has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
icebourg has quit [Ping timeout: 255 seconds]
<Splintor>
are you offering mentoring/lessons for people or what is the case esoghroih ?
GriffinHeart has joined #ruby
<shevy>
yeah he is spam advertizing
Rollabunna has quit [Read error: Connection reset by peer]
<volty>
my idea is that he (esoghroih) would be more useful if he just limits himself to just praying (for the progress of ruby) :)
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
<esoghroih>
Splintor, free session/class for a GROUP, "what is the case" -- the goal is ultimately to exposure programming, and inspire people
tobyo3 has quit [Ping timeout: 260 seconds]
echevemaster has quit [Quit: Leaving]
<volty>
Bish_: if I remember well you have to mixin Enumerable and implement each (i'm sure here are rubyist that don't pause like me)
<Bish_>
well hm , stupid design then
<Bish_>
having an array without knowing the size, sucks
<Splintor>
my advice is that if you want to keep people from thinking its worthwhile and not spam, please ensure your sentences make sense, otherwise, as people said, it reads like spam
<volty>
esoghroih: or you are trolling or your brain is trolled // you are asking a quite naive (if not stupid) question like «Should I write a nice, useful, book?» (no writer asks such a question)
mary5030 has joined #ruby
<esoghroih>
volty, that's why you're stupid if you think it's a stupid question
klaut has quit [Ping timeout: 240 seconds]
<Splintor>
esoghroih, i'm not being smart here, but i didn't even realise it was a question
<volty>
Bish_: it depends on what your elf is supposed to do, what else you are going to add etc etc
<Bish_>
im just playing around with elf files a bit.. in order to learn how they work
<Bish_>
so i wanted to iterate over the strings inside one
<esoghroih>
Splintor, the people in the session, not you, nobody cares what you think if you think it's spam
<volty>
esoghroih: your last is fuzzy // anyway the answer my answer to your (initial) question is : «you think you could write something nice? Just do it!»
olekenne1h is now known as olekenneth
jottr_ has joined #ruby
<esoghroih>
oh well, waste of my 1 minute to have asked in this waste of a site called freenode, bunch of wasteful people, cya
esoghroih has quit [Quit: Page closed]
<Nilium>
Sounds like someone's butthurt?
<Bish_>
what a nice fella
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<volty>
Bish_: my advice for the novices is «just do it by brute force and refine it (if necessary) later»
Bish_ is now known as Bish
<Splintor>
anyway, hi folks, new bloke from irish just dropped in to say hello :)
<Nilium>
My advice for novices is just write whatever you want and be prepared to fail.
<Nilium>
Though that made more sense back when everyone was asking how to make their own MMORPG.
<volty>
more time (fail) ! :)
<Bish>
volty, im not a novice, just need to know elfs in detail ;)
<Bish>
decided for ruby to learn, since i f***in love ruby
<volty>
s/time/times/
<Nilium>
ELF the executable or some other elf-like thing?
klaut has joined #ruby
ht has quit [Read error: Connection reset by peer]
<Bish>
executeable
rimenes has joined #ruby
<Nilium>
I'd guess it's pretty well-documented at this point.
tamtitam` has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
<Bish>
yeah i know, but learning by doing rocks
jottr has quit [Ping timeout: 260 seconds]
<shevy>
Bish what languages did you use before ruby?
<shevy>
Nilium on my todo list is still "implement a MUD in ruby"
<Bish>
alot :)
<Nilium>
That'd actually be pretty interesting to do.
<Nilium>
And probably doable.
<volty>
btw i am learning haskell // though almost sure it is a useless language, i am going to continue
mitchejj has joined #ruby
<shevy>
I failed when I made everything too complicated
<Bish>
i needed to look at it, because i was searching a good tiling windowmanager, and monad does configure in haskell
<Nilium>
Probably useless at the moment.
tamtitam` has joined #ruby
melik_ has quit [Quit: Computer has gone to sleep.]
<Bish>
didn't like it really much.
tectonic has quit []
<Nilium>
Only tiling WM I've liked has been Awesome.
xiq_ has quit [Remote host closed the connection]
<Bish>
it's like lisp and ruby had an ugly child.
yfeldblum has joined #ruby
<volty>
cute!
<Bish>
it's not fast, nor is it pretty
<centrx>
I'll bet benzrf has something to say about that
<volty>
in that lang you are lost when you go beyond fibonacci crap
<Nilium>
The problem I mostly see with Haskell is that functional programming isn't what everything else plays nice with
<Bish>
Nilium, i tried ALL of them.. and tried i3 at last, which is the best, imho
<Bish>
it's not as customizeable as the other ones ( since the configuration files, are running scripts.. i guess.. ) but, it does the most important things.
Devr3d_ has quit [Quit: Quitte]
<Nilium>
Don't think I've tried i3, but it's been a while since I tried running Linux on my machine
<Nilium>
Don't really like setting up Ubuntu and don't really have the patience to set up Slackware anymore
klmlfl has quit [Remote host closed the connection]
<volty>
look: complexity of programming is exponential (big program much bigger gets the complexity), add to that that haskell in itself is exponentially difficult to trace in your mind (when you go beyond the usual tricks / cute single-liner code)
<Bish>
well, i couldn't use something else, i'd get mad
<Nilium>
I use OS X because it's a nice compromise between having POSIX-y stuff and a shell and having software that doesn't make me want to strangle the people who wrote it
<Nilium>
Also, BSD tools.
<centrx>
BeOS
<Nilium>
Reminds me, need to see what Haiku's doing these days
<Bish>
i woudln't be happy with paying so much for a name
yfeldblum has quit [Ping timeout: 258 seconds]
<Bish>
don't want to start that war tho :3
<shevy>
Bish it's a cult
<centrx>
emacs sucks
<volty>
i find the gui of os x a nightmare
<Nilium>
Then you shouldn't start saying stuff to start a war.
<shevy>
Bish you remember the movie fightclub? that's how OSX is
teddyp1cker has quit [Remote host closed the connection]
<Bish>
well, they sure didn'T read rule no.1 of the club
<shevy>
haha
<Nilium>
It's like when I talk about vim, I'm not going to start badmouthing emacs
<shevy>
vim sucks
* Nilium
drags shevy outside and beats him to death
<Nilium>
Anyway, like I said, not going to badmouth emacs.
<sdegutis>
I did, but I would prefer to link against the system's Ruby instead.
<sdegutis>
(OS X)
t0rc has left #ruby ["WeeChat 1.0"]
<sdegutis>
It sounds like I have to have a single Ruby runtime running throughout my program's whole lifetime. That's fine.
<sdegutis>
Does ruby_init() affect any global variables or anything?
minichiello has left #ruby [#ruby]
<Nilium>
Alternatively, keep a subprocess running for spawning new Ruby runtimes?
<sdegutis>
I would like to embed Python and Ruby side-by-side in the same process.
AlSquire has quit [Quit: This computer has gone to sleep]
<sdegutis>
No, that won't do. It must be the same address space.
<Nilium>
Ah, yeah, probably boned then.
<sdegutis>
:'(
<sdegutis>
Oh well.
<Freeaqingme>
centrx, it should work the same with keys, right? I'm using this, but it doesn't seem to work yet (still debugging though...): hash.reject { |k,v| k.start_with?(substring) }
<centrx>
"doesn't work"
andrewlio has quit [Quit: Leaving.]
<shevy>
centrx yeah he said that
<shevy>
it does not work
<Freeaqingme>
:)
nobitanobi has joined #ruby
<shevy>
I think his cat sabotaged him
<centrx>
||=*;
<shevy>
Freeaqingme does it work now?
mitchejj has quit [Quit: mitchejj]
<shevy>
and you know the difference between .reject and .reject! ?
<Freeaqingme>
shevy, I'm trying to rule things out. But it's behind many layers of puppet encapsulation. Hence I was wondering if it was supposed to work in the first place based on keys. Which I'd guess it would
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
<Freeaqingme>
shevy, first returns a new value, second manipulates it in place?
<wasamasa>
sdegutis: why both?
<sdegutis>
Because money.
<shevy>
Freeaqingme yeah
<sdegutis>
wasamasa: also JS and Lua
cougarten_ has joined #ruby
<Freeaqingme>
shevy, I'm running my puppet run again. That may very well be/have been it
* wasamasa
is not sure whether trolling or stupid
<sdegutis>
wasamasa: neither
<wasamasa>
.-.
<sdegutis>
wasamasa: although I am a bit insulted by that
<sdegutis>
but i dont take it personally; you just dont know the context
fabrice31 has joined #ruby
<shevy>
Freeaqingme the way you described it scares me immensely
<shevy>
I hate remote debugging
Jamo has quit [Ping timeout: 260 seconds]
cougarten has quit [Ping timeout: 272 seconds]
benzrf is now known as benzrf|offline
adamski2600 has quit []
<Freeaqingme>
shevy, I'm able to do most of it in separate files first. But Puppet doesn't support removing elements from an array (each variable is considered immutable). So this is what I'm doing right now: $discard_service = inline_template('<%= @exported_services.reject!{ |k,v| k.start_with?(scope.lookupvar("::fqdn") + "-") } %>')
<Freeaqingme>
That gives you an idea ;)
Jamo has joined #ruby
<ericwood>
there's a puppet channel iirc
axsuul_ has joined #ruby
<sdegutis>
wasamasa: im embedding 4 languages into my app; ive embedded all 4 of them before, so i know thats not dumb; im assuming you suggest its dumb to embed them all simeltnaously'
<Freeaqingme>
ericwood, I know. I'm there as well. My question however was a specific ruby question
<ericwood>
ah okay
<sdegutis>
wasamasa: and my JS and Lua libs are very self-contained and play nicely with the environment
<ericwood>
just makin sure :D
fabrice31 has quit [Ping timeout: 272 seconds]
<sdegutis>
wasamasa: ive heard Python is a mostly-good citizen too; but Ruby is a bit rude
machty_ is now known as machty
<wasamasa>
:|
<sdegutis>
Does ruby_init() hijack any global state, i.e. signal handlers or anything?
<sdegutis>
wasamasa: whats with the flat mouth?
axsuul has quit [Ping timeout: 272 seconds]
axsuul has joined #ruby
saarinen has quit [Quit: saarinen]
sinkensabe has quit [Remote host closed the connection]
lw has quit [Quit: b]
n_blownapart has quit []
gauke has quit [Quit: gauke]
ringarin has quit [Quit: Leaving]
ammar has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axsuul_ has quit [Ping timeout: 246 seconds]
rikai has quit [Remote host closed the connection]
jbueza has joined #ruby
Splintor has quit [Quit: Leaving]
preyalone has joined #ruby
blackmesa has joined #ruby
Freeaqingme has quit [Ping timeout: 245 seconds]
Nahra has joined #ruby
GriffinHeart has joined #ruby
EasyCo has joined #ruby
ammar has left #ruby [#ruby]
emmesswhy has quit [Quit: Leaving]
inversesquarelaw has joined #ruby
Scotteh has joined #ruby
GriffinHeart has quit [Ping timeout: 258 seconds]
inversesquarelaw has quit [Client Quit]
Synthead has joined #ruby
inversesquarelaw has joined #ruby
tectonic has joined #ruby
ryanleesipes has quit [Ping timeout: 245 seconds]
Scotteh has quit [Ping timeout: 260 seconds]
inversesquarelaw has quit [Client Quit]
zorak8 has joined #ruby
ptrrr has quit [Quit: ptrrr]
benzrf|offline is now known as benzrf
ptrrr has joined #ruby
inversesquarelaw has joined #ruby
inversesquarelaw has quit [Client Quit]
spicerack has joined #ruby
Xeago has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.0]
inversesquarelaw has joined #ruby
autochthon has joined #ruby
inversesquarelaw has quit [Client Quit]
BlkDynmt_ has quit [Quit: BlkDynmt_]
emmesswhy has joined #ruby
ryanleesipes has joined #ruby
amystephen has joined #ruby
shredding has quit [Quit: shredding]
Lewix has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
bittyx-desktop has quit [Ping timeout: 240 seconds]
jottr_ has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
Iota-Spencer` is now known as IotaSpencer
rikai has joined #ruby
<sdegutis>
My questions are too hard.
<centrx>
sdegutis, also try #ruby-lang
<sdegutis>
thx
<centrx>
sdegutis, also weekdays during the day (America/Europe) are the most active in general
<Lewix>
hello
kireevco has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
nobitanobi has quit [Remote host closed the connection]
jottr_ has joined #ruby
drizz has quit [Ping timeout: 245 seconds]
nobitanobi has joined #ruby
kireevco has quit [Ping timeout: 245 seconds]
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
ta__ has quit [Ping timeout: 250 seconds]
Synthead has quit [Ping timeout: 246 seconds]
kaspertidemann has quit []
<ericwood>
hi
nobitanobi has quit [Remote host closed the connection]
hanjianwei has joined #ruby
m8 has quit [Read error: Connection reset by peer]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has joined #ruby
Synthead has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
j_mcnally has joined #ruby
kireevco has joined #ruby
inversesquarelaw has joined #ruby
cougarten_ has quit [Ping timeout: 245 seconds]
kirun has quit [Quit: Client exiting]
rkalfane has joined #ruby
inversesquarelaw has quit [Client Quit]
nobitanobi has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
ixti has joined #ruby
inversesquarelaw has joined #ruby
teamplayer has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
drizz has joined #ruby
kireevco has quit [Ping timeout: 255 seconds]
lolmaus has joined #ruby
GinoMan has quit [Ping timeout: 245 seconds]
WillAmes has joined #ruby
Synthead has quit [Ping timeout: 255 seconds]
robbyoconnor has joined #ruby
nanoyak has joined #ruby
Synthead has joined #ruby
HelperW__ has joined #ruby
GinoMan has joined #ruby
ta has joined #ruby
HelperW_ has quit [Ping timeout: 246 seconds]
Guest27302 has quit [Quit: _]
ptrrr has quit [Quit: ptrrr]
ptrrr has joined #ruby
volty has joined #ruby
ptrrr has quit [Client Quit]
icedp has joined #ruby
HelperW__ has quit [Ping timeout: 255 seconds]
icedp is now known as Guest60507
Rollabunna has joined #ruby
realDAB has joined #ruby
Rollabunna has quit [Read error: Connection reset by peer]
GriffinHeart has joined #ruby
Synthead has quit [Ping timeout: 245 seconds]
inverses2uarelaw has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
rkalfane has joined #ruby
DaniG2k has joined #ruby
inversesquarelaw has quit [Quit: leaving]
freerobby has quit [Quit: Leaving.]
Synthead has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
Guest60507 is now known as icedp
icedp has quit [Changing host]
icedp has joined #ruby
GriffinHeart has quit [Ping timeout: 260 seconds]
inverses2uarelaw has quit [Quit: leaving]
p0sixpsc_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phoo1234567 has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 250 seconds]
inversesquarelaw has joined #ruby
icedp has quit [Quit: _]
siwica has quit [Ping timeout: 245 seconds]
msx has quit [Ping timeout: 272 seconds]
kireevco has joined #ruby
icedp has joined #ruby
WildBamboo-Josh has joined #ruby
melik_ has joined #ruby
DaniG2k has quit [Quit: leaving]
w09x has joined #ruby
mozzarella has quit [Quit: WeeChat 0.4.3]
mozzarella has joined #ruby
mocfive_ has quit [Read error: Connection reset by peer]
kireevco has quit [Ping timeout: 272 seconds]
Tomme has quit [Ping timeout: 272 seconds]
mocfive has joined #ruby
tamtitam` has quit [Ping timeout: 245 seconds]
BlkDynmt has joined #ruby
postmodern has quit [Quit: Leaving]
kobain has quit [Ping timeout: 246 seconds]
inverses2uarelaw has joined #ruby
inverses2uarelaw has quit [Client Quit]
_lexjm has quit [Ping timeout: 245 seconds]
teddyp1cker has joined #ruby
diegoviola has joined #ruby
fold has quit [Ping timeout: 250 seconds]
nobitanobi has quit [Remote host closed the connection]
yfeldblum has joined #ruby
nobitanobi has joined #ruby
HelperW__ has joined #ruby
mocfive has quit [Remote host closed the connection]
Guest11099 has joined #ruby
mocfive has joined #ruby
flagg0204 has quit [Ping timeout: 240 seconds]
teddyp1cker has quit [Ping timeout: 246 seconds]
mocfive has quit [Remote host closed the connection]
mocfive has joined #ruby
HelperW__ has quit [Read error: Connection reset by peer]
Guest11099 has quit [Client Quit]
HelperW__ has joined #ruby
GinoMan has quit [Ping timeout: 272 seconds]
msx1 has joined #ruby
<pontiki>
sdegutis: are you embedding JS in your app?
msx1 is now known as msx
msx has quit [Changing host]
msx has joined #ruby
doodlehaus has joined #ruby
johnhamelink has quit [Ping timeout: 272 seconds]
inversesquarelaw has quit [Changing host]
inversesquarelaw has joined #ruby
klaut has quit [Remote host closed the connection]