jmbrown412 has quit [Remote host closed the connection]
tokik has quit [Ping timeout: 260 seconds]
mikepack_ has quit [Ping timeout: 260 seconds]
jmbrown412 has joined #ruby
jerikl has quit [Quit: jerikl]
m8 has quit [Read error: Connection reset by peer]
Azure has quit [Quit: Blue Sky Fish]
fabrice31 has quit [Ping timeout: 250 seconds]
pietr0 has quit [Quit: pietr0]
Azure has joined #ruby
jerikl has joined #ruby
ddv has quit [Ping timeout: 260 seconds]
Dreamer3__ has quit [Quit: Computer has gone to sleep.]
tusmuertos has quit [Quit: Page closed]
sepp2k1 has joined #ruby
toastynerd has joined #ruby
jmbrown412 has quit [Ping timeout: 255 seconds]
benzrf|offline is now known as benzrf
sepp2k has quit [Ping timeout: 264 seconds]
seamon has joined #ruby
asteve has joined #ruby
ddv has joined #ruby
saarinen has quit [Quit: saarinen]
[gmi] has joined #ruby
dgutierrez1287 has joined #ruby
crdpink has joined #ruby
crdprink2 has quit [Ping timeout: 260 seconds]
MatthewsFace has joined #ruby
asteve has quit [Client Quit]
earthquake has joined #ruby
_sillymarkets has joined #ruby
tylerkern has joined #ruby
starless has joined #ruby
ari-_-e has joined #ruby
tokik has joined #ruby
<_sillymarkets>
What's the best way to convert a CSV file to XLSX ?
[gmi] has quit [Client Quit]
<Radar>
_sillymarkets: File->Import
<Radar>
Probably
newton has joined #ruby
KnownSyntax has quit [Ping timeout: 240 seconds]
<shevy>
prayers
AlSquire has quit [Quit: This computer has gone to sleep]
ffranz has quit [Quit: Leaving]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
Aaaal has quit [Quit: Aaaal]
nobitanobi has quit []
thams has quit [Quit: thams]
icebourg has joined #ruby
Girakrok has joined #ruby
icebourg has quit [Client Quit]
benlieb has quit [Quit: benlieb]
linojon has joined #ruby
b00stfr3ak has quit [Ping timeout: 255 seconds]
sylvanica has joined #ruby
oo_ has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
britneywright has joined #ruby
yetanotherdave has quit [Ping timeout: 255 seconds]
Akagi201_ has quit [Ping timeout: 255 seconds]
blackgoat has quit [Ping timeout: 272 seconds]
blackgoat has joined #ruby
lyuzashi has joined #ruby
Kricir has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
britneywright has quit [Ping timeout: 250 seconds]
gkagan has joined #ruby
avi__ has quit [Quit: Reconnecting]
avi__ has joined #ruby
hamakn has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
ghr has joined #ruby
avi__ has quit [Client Quit]
emmesswhy has quit [Quit: This computer has gone to sleep]
oo_ has quit [Remote host closed the connection]
AlexBlom has joined #ruby
oo_ has joined #ruby
emandari has quit [Ping timeout: 260 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gkagan has quit [Ping timeout: 264 seconds]
gerep has quit [Ping timeout: 255 seconds]
patrick99e99 has joined #ruby
lw has quit [Read error: Connection reset by peer]
hamakn has quit [Ping timeout: 250 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
lw has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
ghostmoth has quit [Quit: ghostmoth]
oo_ has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
yubrew has joined #ruby
mary5030 has joined #ruby
jhass is now known as jhass|off
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
PanPan has joined #ruby
toastynerd has joined #ruby
gkagan has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thams has joined #ruby
avi__ has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
asteve has joined #ruby
toastynerd has quit [Ping timeout: 240 seconds]
hooper has quit [Quit: Leaving.]
gkagan has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
seamon has quit [Quit: Zzzzzzz]
bricker`work has quit [Ping timeout: 240 seconds]
iamjarvo has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
jay___ is now known as rubyonrailed
toastynerd has joined #ruby
TorpedoSkyline has joined #ruby
oo_ has joined #ruby
echooo has joined #ruby
marr has quit []
Channel6 has joined #ruby
sevenseacat has joined #ruby
wjimenez_ has quit [Remote host closed the connection]
zoo-zed has joined #ruby
TheNet has quit [Quit: Leaving...]
jerikl has quit [Quit: jerikl]
sylvanica has quit [Ping timeout: 260 seconds]
jfutbol has quit [Ping timeout: 255 seconds]
ringaring has joined #ruby
Wolland has joined #ruby
klmlfl has quit [Read error: Connection reset by peer]
starless has quit [Ping timeout: 260 seconds]
klmlfl has joined #ruby
lw has quit [Quit: s]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has joined #ruby
TorpedoSkyline has joined #ruby
tylerkern has joined #ruby
jfutbol has joined #ruby
Kricir has quit [Remote host closed the connection]
skysploit has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
sylvanica has joined #ruby
starless has joined #ruby
crdprink2 has joined #ruby
RustyShackleford has joined #ruby
sdouglas has joined #ruby
crdpink has quit [Ping timeout: 246 seconds]
todor_ has quit [Read error: Connection reset by peer]
todor has joined #ruby
duellsy has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
sparrovv has joined #ruby
linojon has quit [Quit: enuf of this]
deric_skibotn has quit [Ping timeout: 240 seconds]
<duellsy>
hey gang, searched high and low for a solution to this... last resort is here. when I try "get inatall vagrant-notify" I'm getting the following:
<duellsy>
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
orison has quit [Remote host closed the connection]
tylerkern has joined #ruby
<duellsy>
worked a treat, thanks wallerdev gr33n7007h sevenseacat
ringaring has quit [Ping timeout: 250 seconds]
toastynerd has quit [Remote host closed the connection]
cocotton has joined #ruby
<wallerdev>
:)
<wallerdev>
sorry you live in australia
Brycetron has quit []
<wallerdev>
lol
<sevenseacat>
:(
<sevenseacat>
but we are the lucky country
<duellsy>
haha
<wallerdev>
i heard you have like 1gb data caps and horrible internet there
<pontiki>
♫ tie yer kangaroo down ♫
<duellsy>
happy to live here, US seems pretty broken to me
JoshGlzBrk has joined #ruby
Cache_Money has joined #ruby
<wallerdev>
US is crazy but we just ignore the craziness most of the time
tkuchiki_ has joined #ruby
<newton>
I've got a strange issue with sqlite-ruby making a query: http://pastie.org/9493211 - has anyone seen something like this? if I nick = 'newton', it also works. :s
deric_skibotn has joined #ruby
goshdarnyou has joined #ruby
<wallerdev>
maybe it got added to the db in between the time you made the calls
<wallerdev>
:p
fgo has quit []
<newton>
I put it in the db before running :(
<wallerdev>
yeah no idea
<wallerdev>
sorry
AlexBlom has quit [Quit: This computer has gone to sleep]
tkuchiki has quit [Ping timeout: 250 seconds]
IcyDragon has joined #ruby
iteratorP has quit [Remote host closed the connection]
InhalingPixels has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 272 seconds]
iteratorP has joined #ruby
IcyDragon is now known as IceDragon
yubrew has joined #ruby
ghr has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
jkline has quit [Quit: jkline]
philcrissman has joined #ruby
AlexBlom has joined #ruby
MatthewsFace has quit [Ping timeout: 246 seconds]
qmfnp has joined #ruby
OrkzRule has quit [Ping timeout: 240 seconds]
Soliah has quit [Read error: Connection reset by peer]
Soliah has joined #ruby
Vektyr has quit [Read error: Connection reset by peer]
narcan has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 260 seconds]
OrkzRule has joined #ruby
philcrissman has quit [Ping timeout: 255 seconds]
Zenigor has joined #ruby
banister has joined #ruby
tylerkern has quit [Ping timeout: 264 seconds]
Lewix has joined #ruby
tylerkern has joined #ruby
rostam has quit [Remote host closed the connection]
sylvanica has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
klmlfl has quit [Quit: klmlfl]
toastynerd has joined #ruby
cocotton_ has joined #ruby
SilkFox_ has joined #ruby
gkagan has joined #ruby
RustyShackleford has quit [Ping timeout: 260 seconds]
toastynerd has quit [Remote host closed the connection]
cocotton has quit [Ping timeout: 245 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patrick99e99 has quit [Ping timeout: 240 seconds]
tkuchiki_ has quit [Remote host closed the connection]
SilkFox_ has quit [Ping timeout: 240 seconds]
banister has quit [Ping timeout: 246 seconds]
i8igmac has quit [Ping timeout: 246 seconds]
tkuchiki has joined #ruby
rostam has joined #ruby
gkagan has quit [Ping timeout: 260 seconds]
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
testcore has joined #ruby
ghostmoth has joined #ruby
erts has joined #ruby
erts has quit [Remote host closed the connection]
PanPan has joined #ruby
erts has joined #ruby
RustyShackleford has joined #ruby
fabrice31 has joined #ruby
Zenigor has quit [Remote host closed the connection]
tectonic has joined #ruby
mikepack has joined #ruby
bmurt has joined #ruby
mikepack has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 250 seconds]
jkline has joined #ruby
mikepack has joined #ruby
Wolland has joined #ruby
Kricir has joined #ruby
sdouglas has joined #ruby
RustyShackleford has left #ruby ["Leaving"]
beemo_ has joined #ruby
MatthewsFace has joined #ruby
havenwood has quit []
beemo_ has quit [Remote host closed the connection]
deric_skibotn has quit [Ping timeout: 245 seconds]
orison has joined #ruby
beemo_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
beemo has quit [Ping timeout: 255 seconds]
cocotton_ has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
orison is now known as sylvanica
Wolland has quit [Ping timeout: 255 seconds]
dorei has quit []
Bumptious has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
goleldar has quit [Remote host closed the connection]
goleldar has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
jmbrown412 has joined #ruby
InhalingPixels has joined #ruby
Kricir has quit [Remote host closed the connection]
Girakrok has quit [Ping timeout: 255 seconds]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
TorpedoSkyline has joined #ruby
goleldar has quit [Ping timeout: 255 seconds]
andrewjanssen has joined #ruby
rezzack has quit [Quit: Leaving.]
gregf has quit [Ping timeout: 255 seconds]
jmbrown412 has quit [Ping timeout: 240 seconds]
emmesswhy has joined #ruby
nateberkopec has joined #ruby
GeekOnCoffee has quit [Ping timeout: 264 seconds]
GeekOnDecaf has joined #ruby
jerikl has joined #ruby
GeekOnDecaf is now known as GeekOnCoffee
Kricir has joined #ruby
Wolland has joined #ruby
echooo has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
jonahR has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andrewjanssen has quit [Quit: Leaving...]
jfutbol has quit [Remote host closed the connection]
havenwood has joined #ruby
hamakn has joined #ruby
yubrew has joined #ruby
mikepack has quit [Remote host closed the connection]
sylvanica has quit [Remote host closed the connection]
gregf has joined #ruby
echooo has joined #ruby
Lexun has joined #ruby
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
<jamesfordummies>
so i'm teaching ruby to someone who has never programmed before soon - anyone have suggestions for where to start, fun things to start with (or guides on this matter)
<sevenseacat>
Brycetron: the advice i would give is the same as the advice on the page
<jamesfordummies>
never done this before
<sevenseacat>
jamesfordummies: chris pine's learn to program?
<asteve>
jamesfordummies: make it interesting
<jamesfordummies>
lol
Cache_Money has joined #ruby
<jamesfordummies>
oh sick never heard of this book
<asteve>
I remember when I first started that I was frustrated at how difficult it was to get output from a terminal
<asteve>
start with taking in input, doing something interesting and returning output
<pontiki>
2nd for pine's book
<asteve>
then do what these guys are saying
<pontiki>
if they're a reader, give them sproul's book as well
<sevenseacat>
i havent read the book personally but ive seen a lot of people vouch for it
<sevenseacat>
i cant remember, it was a long time ago
<sevenseacat>
i honestly think it would be crazily overwhelming to get started in programming, especially web development, nowadays
Kricir has joined #ruby
<jamesfordummies>
i did it a few years ago and yes. it was.
infinitone has quit [Ping timeout: 240 seconds]
<jamesfordummies>
less hackernews, more books :)
<sevenseacat>
'lets put an autocomplete box on a page that feeds from a list of things i specify in my admin area' well there's html + css + js + ajax + ruby + rails + sql
<jamesfordummies>
ha
yubrew has quit [Ping timeout: 255 seconds]
<sevenseacat>
(well ,not necessarily rails, but you get the idea)
<Brycetron>
railsinstaller instals ruby and rails right?
GeekOnCoffee has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
<jamesfordummies>
i think so yes Brycetron
<Brycetron>
Ty
<sevenseacat>
railsinstaller? they think of everything these days
_shrine has joined #ruby
<sevenseacat>
though i suppose the windows folks need it
<_shrine>
yooo
<jamesfordummies>
indeed
<_shrine>
anyone got any ideas for stupid scripts to do stupid things
<jamesfordummies>
write a bitcoin trading bot
<jamesfordummies>
that loses money
<_shrine>
that's stupid
<_shrine>
but that's too stupid
<jamesfordummies>
that makes you money i guess
goshdarnyou has quit [Quit: Connection closed for inactivity]
<_shrine>
also, I lost all my bitcoin when dell reinstalled my operating system
<_shrine>
stupid dell
<jamesfordummies>
time to make it back
<_shrine>
I'm using linux now
<_shrine>
dude
<_shrine>
I mined that
<_shrine>
all that 0.1227
<jamesfordummies>
time to make it back
<_shrine>
>.<
jerikl has quit [Quit: jerikl]
<_shrine>
other ideas?
GeekOnCoffee has joined #ruby
<jamesfordummies>
yeah
InhalingPixels has quit [Remote host closed the connection]
<jamesfordummies>
write a scripts that detects when someone port scans your server and in return port scans them back
<jamesfordummies>
script
earthquake has quit [Quit: earthquake]
<_shrine>
lol
<_shrine>
I want one use stupid tools
<_shrine>
for example porn downloading bots
beemo has joined #ruby
beemo has quit [Remote host closed the connection]
<jamesfordummies>
wa
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jamesfordummies>
t
<sevenseacat>
make the script equivalent of a useless box >_> somehow
<sevenseacat>
i so want a useless box
<_shrine>
uh
<_shrine>
$. is current file, right?
beemo has joined #ruby
<_shrine>
I'll make a useless box script
<_shrine>
brb
nateberkopec has quit [Ping timeout: 240 seconds]
<sevenseacat>
:D
duggiefresh has quit [Remote host closed the connection]
<jamesfordummies>
see i'm not sure if it's better to start with this chris pine book - or to start from the ground up in OO and how ruby uses the paradigm
<sevenseacat>
i think it would be hard to start with theory
<sevenseacat>
i think you would want to see results really fast
<jamesfordummies>
true true
mary5030 has joined #ruby
<jamesfordummies>
i just hate when I learn languages and then *really* learn the language later, peeling back the abstraction
<sevenseacat>
'i made a program that can add 2+2! I R 1337 PROGRAMMAR'
<asteve>
I have an excellent programming challenge to give them, it's taken me 6 days to complete to satisfaction (that's not even true, I'm not sure I'm at satisfaction yet)
<asteve>
but I've taken logic from O(n^2) to O(nlogn) which is nice
goshdarnyou has joined #ruby
nobitanobi has quit []
yfeldblum has joined #ruby
Channel6 has quit [Ping timeout: 240 seconds]
mary5030 has quit [Ping timeout: 250 seconds]
Shidash has joined #ruby
mikepack has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 245 seconds]
brothmars has joined #ruby
zkay11 has left #ruby [#ruby]
Channel6 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jfutbol has quit [Remote host closed the connection]
<_shrine>
because it takes more time than I'd like to use
<_shrine>
useful involves more debugging and making more user friendly
<_shrine>
mostly because it's meant to be used more than once
<_shrine>
I guess small useful things
crdprink2 has joined #ruby
rubyshop has joined #ruby
rubyshop has quit [Remote host closed the connection]
crdpink has quit [Ping timeout: 260 seconds]
beemo has quit [Ping timeout: 245 seconds]
<jamesfordummies>
little command line tools only for yourself?
<_shrine>
I guess
<jamesfordummies>
so fun, minimal debugging
<_shrine>
yeah
tectonic has quit []
<_shrine>
useful for a couple people and me, but not for much else
tlarevo_ has quit [Read error: Connection reset by peer]
<jamesfordummies>
what's wrong with that
<_shrine>
nothing?
gkagan has joined #ruby
tlarevo has joined #ruby
<_shrine>
the string on my tea bag fell off
<_shrine>
now my tea bag is loose in a cup of boiling hot water
<jamesfordummies>
the spoon was a brilliant invention
<jamesfordummies>
:P
AlexBlom has quit [Quit: This computer has gone to sleep]
crantron has quit [Ping timeout: 260 seconds]
<_shrine>
I don't have a spoon near me
<_shrine>
I can't fabricate a spoon using ruby because I don't have anything to fabricate it with
fwaokda has quit [Ping timeout: 250 seconds]
DivineEntity has joined #ruby
freerobby has quit [Quit: Leaving.]
gkagan has quit [Ping timeout: 250 seconds]
crdpink has joined #ruby
crdprink2 has quit [Ping timeout: 260 seconds]
timonv_ has joined #ruby
emocakes has quit []
Kricir has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
timonv_ has quit [Ping timeout: 245 seconds]
chipotle has quit [Quit: cya]
duncannz has joined #ruby
DEA7TH has quit [Ping timeout: 245 seconds]
michaeldeol has joined #ruby
threesixes has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
apeiros has quit [Ping timeout: 246 seconds]
beemo has joined #ruby
beemo has quit [Remote host closed the connection]
Cache_Money_ has joined #ruby
beemo has joined #ruby
saarinen has joined #ruby
Cache_Money has quit [Ping timeout: 240 seconds]
Cache_Money_ is now known as Cache_Money
emocakes has joined #ruby
emocakes has quit [Client Quit]
Channel6 has quit [Quit: Leaving]
echooo1 has joined #ruby
_tpavel has joined #ruby
echooo has quit [Ping timeout: 240 seconds]
Cache_Money has quit [Client Quit]
oo_ has joined #ruby
arup_r has joined #ruby
yubrew has joined #ruby
yfeldblum has joined #ruby
philcrissman has joined #ruby
yubrew has quit [Ping timeout: 246 seconds]
Spami has joined #ruby
timonv_ has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 246 seconds]
philcrissman has quit [Ping timeout: 245 seconds]
cy has quit [Quit: >:C]
sinkensabe has joined #ruby
Skwallinux has joined #ruby
Jackneill has joined #ruby
whyy has joined #ruby
threesixes has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has joined #ruby
Photism has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
InhalingPixels has joined #ruby
kyb3r_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
GeekOnCoffee has quit [Ping timeout: 240 seconds]
mr_snowf1ake has quit [Quit: Leaving]
nateberkopec has quit [Ping timeout: 240 seconds]
emocakes has joined #ruby
havenwood has joined #ruby
teddyp1cker has joined #ruby
tectonic has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
bluOxigen has joined #ruby
peret has quit [Remote host closed the connection]
GeekOnCoffee has joined #ruby
mengu has joined #ruby
JoshGlzBrk has joined #ruby
tylerkern has quit [Ping timeout: 246 seconds]
InhalingPixels has quit [Ping timeout: 240 seconds]
dawkirst has joined #ruby
fabrice31 has joined #ruby
tylerkern has joined #ruby
Brycetron has quit []
ht__th has joined #ruby
apeiros has joined #ruby
teddyp1cker has joined #ruby
<benzrf>
use haskell
<benzrf>
it's quite good
karmatr0n has quit []
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
yacks has joined #ruby
ghr has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bluOxigen has quit [Ping timeout: 255 seconds]
x1337807x has joined #ruby
<_shrine>
some ruby gems are cheating
toastynerd has quit [Remote host closed the connection]
bluOxigen has joined #ruby
oo_ has joined #ruby
troyready has quit [Remote host closed the connection]
thomasxie has left #ruby [#ruby]
<sevenseacat>
only some?
ghr has quit [Ping timeout: 260 seconds]
tagrudev has joined #ruby
Sauvin has joined #ruby
AlexBlom has joined #ruby
havenwood has quit [Remote host closed the connection]
kenndel has joined #ruby
emocakes has quit []
<benzrf>
haskell is cool cuz it's simpler than ruby
<benzrf>
or even C
Lewix has quit [Read error: Connection reset by peer]
<benzrf>
well, i think its simpler than C. its certainly in the same range
timonv_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lewix has joined #ruby
kenneth has joined #ruby
sinkensabe has quit [Remote host closed the connection]
xenomorph is now known as {xenomorph}
gkagan has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
speaking1ode has joined #ruby
craigp has quit [Remote host closed the connection]
starkhalo has quit [Ping timeout: 245 seconds]
relix has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
{xenomorph} is now known as xenomorph
speakingcode has quit [Ping timeout: 260 seconds]
timonv_ has quit [Remote host closed the connection]
gkagan has quit [Ping timeout: 240 seconds]
madzhuga has joined #ruby
ringarin has joined #ruby
mercwithamouth has quit [Quit: Lost terminal]
toastynerd has joined #ruby
djbkd has quit [Quit: My people need me...]
RTG` has quit [Disconnected by services]
RTG`` has joined #ruby
axsuul has joined #ruby
JoshGlzBrk has joined #ruby
jprovazn has joined #ruby
RTG` has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
tylerkern has joined #ruby
oo_ has joined #ruby
pietr0 has quit [Quit: pietr0]
Sgeo has quit [Read error: Connection reset by peer]
Sgeo has joined #ruby
RTG`` has quit [Ping timeout: 260 seconds]
thomasxie has joined #ruby
FarlaTux has joined #ruby
yubrew has joined #ruby
emocakes has joined #ruby
RTG` has quit [Ping timeout: 264 seconds]
RTG` has joined #ruby
sinkensabe has joined #ruby
sdwrage has joined #ruby
xenomorph is now known as {xenomorph}
pencilcheck has joined #ruby
Dev-Gitter has joined #ruby
<apeiros>
benzrf: should change your nick to haskell_evangelist ;-)
yubrew has quit [Ping timeout: 246 seconds]
benzrf is now known as haskell_evangeli
<haskell_evangeli>
sorry i canyt
haskell_evangeli is now known as benzrf
<benzrf>
it's true tho haskell is the Best
<apeiros>
heh
<apeiros>
silly nickname restrictions
<benzrf>
on SYNIRC we can do that
<benzrf>
why cant u be cool like synirc mom
<benzrf>
i mean uh freenode
roolo has joined #ruby
Shidash has quit [Ping timeout: 260 seconds]
echevemaster has quit [Quit: Leaving]
sparrovv has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 246 seconds]
teddyp1cker has quit [Remote host closed the connection]
ringarin has quit [Ping timeout: 240 seconds]
mbuf has joined #ruby
mijicd has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
mengu has quit [Remote host closed the connection]
tobago has joined #ruby
adac has joined #ruby
mijicd has joined #ruby
agent_white has joined #ruby
gauke has joined #ruby
<MarcWeber>
benzrf: Learn about impredicative.com/ur or disciple to understand that even Haskell lovers found that there could be use cases where you need different tools .. :)
poulet_a has joined #ruby
GeekOnCoffee has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
teddyp1cker has quit [Ping timeout: 246 seconds]
HelperW__ has joined #ruby
GeekOnCoffee has joined #ruby
michaeldeol has joined #ruby
{xenomorph} is now known as xenomorph
nateberkopec has joined #ruby
flowerhack has quit [Remote host closed the connection]
<benzrf>
i never said haskell is the best tool for alll purposes just
<benzrf>
that it's awesome & good
AlexBlom has quit [Quit: This computer has gone to sleep]
<benzrf>
i dislike conflation of comparison & binding operators
<recurrence>
Is there an automated mechanism to determine if a gem is thread safe? I suppose this is a long shot :)
ringarin has joined #ruby
<benzrf>
do you have any idea how hard static analysis of ruby is
mockra_ has quit [Remote host closed the connection]
<benzrf>
ruby is one of the most dynamic languages there is
mockra has joined #ruby
<benzrf>
off the top of my head i can only think of the lisps and machine language as more dynamic
ghostmoth has quit [Quit: ghostmoth]
flowerhack has joined #ruby
crantron has joined #ruby
teddyp1cker has joined #ruby
aganov has joined #ruby
poulet_a has quit [Quit: Quitte]
ringarin has quit [Ping timeout: 240 seconds]
emocakes has quit []
gauke has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mockra has quit [Ping timeout: 260 seconds]
gauke has joined #ruby
MatthewsFace has quit [Ping timeout: 255 seconds]
mockra has joined #ruby
fabrice31 has joined #ruby
InhalingPixels has joined #ruby
ghr has joined #ruby
iteratorP has quit [Remote host closed the connection]
recurren_ has joined #ruby
<recurren_>
benzrf: Thanks, I assumed this was very unlikely but thought I'd ask :)
<benzrf>
i mean
<benzrf>
i guess it could exist
<benzrf>
i just dont find it likely
<apeiros>
recurren_: to answer your question: no
<apeiros>
recurren_: also, anything not explicitly stating to be threadsafe is to be considered NOT threadsafe.
<recurren_>
oh that's a good piece of info
Morkel has joined #ruby
<apeiros>
and: even if something states to be threadsafe, it doesn't mean it'll prevent all thread related issues
recurrence has quit [Ping timeout: 240 seconds]
recurren_ is now known as recurrence
GeekOnCoffee has quit [Ping timeout: 240 seconds]
gauke has quit [Client Quit]
iteratorP has joined #ruby
dudepdx has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
teddyp1cker has quit [Remote host closed the connection]
<MarcWeber>
recurrence: If you have to ask that question then maybe you should not touch threading :) - seriously, best you can do is grep documentation or sources for usages of Queue or Mutex - if such exist then there are chances that some thread safety has been taken care of - but in which way depends on the exact implementation - thus there is either "feeling lucky" or "reading/understanding docs & code"
HelperW has joined #ruby
mockra_ has joined #ruby
InhalingPixels has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
<MarcWeber>
Or using Haskell .. ^^
iteratorP has quit [Remote host closed the connection]
<recurrence>
I used to run thread safety analyzers on C++ and was hopeful there would be something for ruby :)
iteratorP has joined #ruby
<recurrence>
thanks for the feedback!
GeekOnCoffee has joined #ruby
mockra has quit [Ping timeout: 272 seconds]
banister has joined #ruby
thomasxie has quit [Read error: Connection reset by peer]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
<benzrf>
recurrence: if u want a REALLY analyzable language, use HAS-*gets shot*
<recurrence>
lol
anaeem1_ has joined #ruby
oo_ has joined #ruby
tylerkern has joined #ruby
gkagan has joined #ruby
echooo1 has quit [Quit: echooo1]
gauke has joined #ruby
banister has quit [Ping timeout: 240 seconds]
abuzze has joined #ruby
echooo has joined #ruby
SilkFox_ has quit [Ping timeout: 264 seconds]
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
kies has quit [Quit: baaaaiiiiiiiiiii~]
gkagan has quit [Ping timeout: 255 seconds]
FarlaTux has quit [Changing host]
FarlaTux has joined #ruby
kies has joined #ruby
agent_white has quit [Ping timeout: 260 seconds]
oo_ has joined #ruby
abuzze has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
shredding has quit [Quit: shredding]
xenomorph is now known as {xenomorph}
IceDragon has quit [Quit: Space~~~]
yubrew has joined #ruby
craigbowen3 has quit [Ping timeout: 264 seconds]
mityaz has joined #ruby
philcrissman has joined #ruby
iteratorP has quit [Remote host closed the connection]
kenndel has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: This computer has gone to sleep]
kenndel has joined #ruby
teddyp1cker has quit [Ping timeout: 245 seconds]
olivier_bK has joined #ruby
iteratorP has joined #ruby
mkaesz has joined #ruby
krisquigley has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
GeekOnCoffee has quit [Ping timeout: 264 seconds]
sparrovv has quit [Remote host closed the connection]
GeekOnCoffee has joined #ruby
sparrovv has joined #ruby
w09x has joined #ruby
philcrissman has quit [Ping timeout: 272 seconds]
mockra_ has quit [Remote host closed the connection]
mockra has joined #ruby
agent_white has joined #ruby
agent_white has quit [Client Quit]
emocakes has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
sparrovv has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
mockra has quit [Ping timeout: 240 seconds]
thomasxie has joined #ruby
CaptainJet has quit []
roolo has quit [Quit: Leaving...]
ndrei has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba has joined #ruby
alexju has quit [Remote host closed the connection]
Fractional has joined #ruby
starless has joined #ruby
beemo has quit [Remote host closed the connection]
<Fractional>
How do I specify in my class what self will return?
jamesfordummies has quit [Remote host closed the connection]
craigp has joined #ruby
kiri has quit [Ping timeout: 255 seconds]
<apeiros>
Fractional: you can't change what self returns
beemo has joined #ruby
<Fractional>
apeiros: Nevermind
<sevenseacat>
yeah i was looking at the question thinking it didnt make sense to me, but i figured it might have been one of those crazy ruby things
sdwrage has quit [Quit: This computer has gone to sleep]
lkba has quit [Read error: Connection reset by peer]
<apeiros>
evil.rb maybe :D
lkba has joined #ruby
<apeiros>
does that still exist?
<sevenseacat>
ruby has a lot of crazy things
Darkchaos has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
<agent_white>
ruby is silly putty
mengu has quit [Remote host closed the connection]
emocakes has quit []
jpierre03 has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
* apeiros
doesn't mind
jpierre03 has joined #ruby
poulet_a has joined #ruby
recurrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brothmars has quit [Ping timeout: 245 seconds]
kiri has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
starless has quit [Quit: Leaving]
noop has joined #ruby
w09x has quit [Remote host closed the connection]
crdprink2 has joined #ruby
kiri has quit [Ping timeout: 255 seconds]
crdpink has quit [Ping timeout: 246 seconds]
w09x has joined #ruby
w09x has quit [Read error: Connection reset by peer]
w09x has joined #ruby
goleldar has joined #ruby
w09x has quit [Client Quit]
Morkel has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
Fractional has quit [Remote host closed the connection]
mijicd has quit [Remote host closed the connection]
<workmad3>
hendricius: you do get told that in your IRC client's status window btw ;)
peret has joined #ruby
<shevy>
nobody looks there
<shevy>
it's like putting dust under the carpet while cleaning up the house
TorpedoSkyline has joined #ruby
<hendricius>
from time to time I get dced from freenode
<hendricius>
weird things happen then :D
arya_ has quit [Ping timeout: 240 seconds]
mijicd has joined #ruby
<adironduck>
Hi peeps, I’m refactoring a HAL wrapper for ruby and stumbled upon an interesting ”problem”: correctness versus ease of use regarding HAL relations. The thing is: a HAL relation map has keys and values. The values can be a single object or an array of objects. I see that existing HAL wrappers tend to always return an array. This is convenient when using the lib (no checking for single value / array, you can always just iterate
<adironduck>
take the first value), but I feel that this obscures the underlying data - it could be valuable to be able to discriminate between single objects and single object arrays.
chipotle has joined #ruby
<jhass>
I think always returning an array is a valid and useful abstraction
<jhass>
after all the point of wrapper is to hide the details of the underlying API and data structure
<adironduck>
Indeed
DEA7TH has quit [Ping timeout: 252 seconds]
chipotle has quit [Client Quit]
<jhass>
at most I'd add a second method, get_first or so, that returns the first item if it's a collection or just the item if it's a single item
<adironduck>
Consider this tho: wouldn’t you want to be able to parse the HAL object from json and dump it back, and have it be exactly the same?
<jhass>
You could return a proxy that remembers whether it was a single item or not and add API to dump back to HAL (note I've no idea what HAL is ;) )
_alexandros_ has joined #ruby
nateberkopec has joined #ruby
claymore has joined #ruby
<adironduck>
Thank you for your input, it is valuable even if you don’t know what HAL is :)
jusmyth has joined #ruby
jusmyth has left #ruby [#ruby]
dudepdx has joined #ruby
phutchins has quit [Ping timeout: 264 seconds]
dmst has quit []
<maasha>
if you fork something inside a Thread you will die miserable?
OrkzRule has quit [Ping timeout: 260 seconds]
yubrew has joined #ruby
marr has joined #ruby
JBreit has joined #ruby
dawkirst has quit [Read error: Connection reset by peer]
dawkirst_ has joined #ruby
LeShadow has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
<LeShadow>
so I have the following “problem"
nuck has quit [Ping timeout: 264 seconds]
<LeShadow>
inside my ruby code, there is online that executes a system command with “exec"
ldnunes has joined #ruby
olausm has quit [Ping timeout: 240 seconds]
<LeShadow>
now the program just quits after that line, even when there is code after that
<LeShadow>
how do I prevent that?
dudepdx has quit [Ping timeout: 260 seconds]
nuck has joined #ruby
maximski has quit []
<jhass>
maasha: should work and even duplicate the other threads. Note that every process has always at least one thread and there's actually not really anything special about it
yubrew has quit [Ping timeout: 260 seconds]
<jhass>
LeShadow: don't use exec, use `, %x, system, spawn or one of the popen calls. exec replaces the current process with the specified command
<LeShadow>
okay jhass thanks for the info
dudepdx has joined #ruby
JBreit has left #ruby ["Leaving"]
dudepdx has quit [Ping timeout: 255 seconds]
dorei has joined #ruby
<jheg>
hey all
maximski has joined #ruby
<jheg>
can someone tell me how to continue my script when I've used pry
<jheg>
:)
<jheg>
forgotten and stuck in mid program
InhalingPixels has joined #ruby
<dorei>
jheg: i think "conitinue"
<dorei>
jheg: aint sure if it needs some plugin, if it doesnt work, try "disable-pry"
arup_r has quit [Remote host closed the connection]
adironduck has quit [Quit: adironduck]
<jheg>
It's working OK I just can't remember how to continue the programs execution in terminal once I interrupted it using pry
<dorei>
yeap, continue is part of pry-debugger, so try disable-pry
Skwallinux has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
<jhass>
jheg: press ctrl-d
<jheg>
thanks jhass
sepp2k has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TorpedoSkyline has joined #ruby
beemo has joined #ruby
c_nick has joined #ruby
InhalingPixels has quit [Ping timeout: 272 seconds]
whyy has joined #ruby
patrick99e99 has joined #ruby
gauravagarwalr has joined #ruby
why_away has joined #ruby
<maasha>
so in a forked process errs, may it do so with no trace?
iteratorP has joined #ruby
Takle has quit [Remote host closed the connection]
gkagan has joined #ruby
patrick99e99 has quit [Ping timeout: 250 seconds]
<c_nick>
I want to use bundler behind a proxy.. for my RubyMine to download the gems .. i am setting http_proxy as http://user:password@host:port .. but my password contains special characters : @
<c_nick>
Do you know how I can bypas it ?
whyy has quit [Ping timeout: 245 seconds]
gogohome has joined #ruby
<gogohome>
hello
DEA7TH has joined #ruby
Hobogrammer has quit [Ping timeout: 255 seconds]
freerobby has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<gogohome>
i received arduino finally from ebay.com
<gogohome>
then i will make drone to attack and watch someone.
crodas has joined #ruby
seph42_ has quit [Ping timeout: 240 seconds]
rodasc has quit [Read error: Connection reset by peer]
gkagan has quit [Ping timeout: 250 seconds]
cn28h has quit [Ping timeout: 250 seconds]
w1xz has quit [Ping timeout: 255 seconds]
dudepdx has joined #ruby
gtc has quit [Ping timeout: 260 seconds]
dudepdx has quit [Read error: Connection reset by peer]
fold has quit [Ping timeout: 255 seconds]
Sgeo has quit [Read error: Connection reset by peer]
TheMoonMaster has quit [Ping timeout: 255 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<c_nick>
hello
crodas has quit [Ping timeout: 260 seconds]
rodasc has joined #ruby
cn28h has joined #ruby
<jhass>
wasamasa: look who's back
dbugger has joined #ruby
<wasamasa>
gogohome: haha
cocotton has joined #ruby
OrkzRule has joined #ruby
<wasamasa>
jhass: back again!
<gogohome>
:D back with arduino
cocotton has quit [Remote host closed the connection]
arup_r has joined #ruby
<dbugger>
Hello guys. I started trying to start ruby on rails, first with rbenv, and it was not working and then with rvm and somehow I think it got messed up. I would like to start right from the beginning. You guys know how can I delete everything ruby and rails?
<jhass>
dbugger: rm -Rf .rvm .rbenv; remove any source and PATH lines added by those from your .bashrc/.bash_profile/.profile/.zshrc/.zprofile
<jhass>
open a new shell
seph429 has joined #ruby
TheMoonMaster has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
<gaussblurinc1>
hi!
agjacome has quit [Quit: leaving]
<matti>
Hi
<gaussblurinc1>
can anybody advise good network manager?
freerobby has quit [Quit: Leaving.]
<dbugger>
jhass: I have no .zprofile. is that ok?
<wasamasa>
gaussblurinc1: that's no ruby question, you fool
<jhass>
dbugger: yes
<jhass>
gaussblurinc1: NetworkManager
<gaussblurinc1>
wasamasa: wow, and what is it? I want good ruby implementation of network manager
<dbugger>
jhass: ok. I have done that. But if I type "rails" on the command like, I still get the terminal help. Doesnt that mean that is not all uninstalled?
<wasamasa>
gaussblurinc1: that gem doesn't do what you think it does
iteratorP has quit [Remote host closed the connection]
<jhass>
dbugger: "terminal help"?
gtc has joined #ruby
abuzze has quit [Ping timeout: 240 seconds]
osvico has joined #ruby
<dbugger>
jhass: I mean the "usage" instructions
<jhass>
dbugger: what does which rails say?
<dbugger>
jhass: Instead shouldnt it say "command not found"?
yacks has quit [Ping timeout: 245 seconds]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dbugger>
if i do "rails -v" it says "Rails 3.2.16"
abuzze has joined #ruby
<jhass>
dbugger: `which rails` what does say that
<dbugger>
Which would indicate that is not uninstalled, no?
<dbugger>
ah ok
<dbugger>
says /usr/bin/rails
<jhass>
so you did sudo gem install rails instead of just gem install rails I presume
<waxjar>
looks like you installed rails on the system ruby as well
<jhass>
try sudo gem uninstall rails
yacks has joined #ruby
seanmarcia has quit [Ping timeout: 250 seconds]
iteratorP has joined #ruby
<dbugger>
Oh wait, I did some "autoremove" in aptitude and now it works. It is uninstalled :)
<gaussblurinc1>
wasamasa: brrrr, ruby does not have good network manager like perl does? LWP? no? brrr
<dbugger>
But shouldnt "gems" also be uninstalled, if I deleted ruby and rails?
<wasamasa>
gaussblurinc1: are you an idiot?
<jhass>
rails is gem and not necessarily
<jhass>
*is a
<wasamasa>
gaussblurinc1: lwp is no network manager
<wasamasa>
gaussblurinc1: it's a http library
osvico has quit [Ping timeout: 255 seconds]
<dbugger>
But isnt "gems" pointless without ruby installed?
<jhass>
pretty much
<dbugger>
jhass: so I should uninstall it too... how do I go about that?
<DaniG2k>
has anyone been having problems with jquery-ui recently?
startupality has joined #ruby
<Psy-Q>
what's the current way to do amazon s3-compatible stuff on servers that aren't amazon's? i'm getting errors that look like ruby 2.1 incompatibilities from the aws/s3 gem, and i think amazon's own only works on amazon's servers, right?
<DaniG2k>
specifically, couldn't find file 'jquery-ui' in application.css
ndrei has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
<jhass>
dbugger: I'd just run sudo gem uninstall for all the gems listed by gem list and keep it that way
mengu has quit [Remote host closed the connection]
krisquigley has joined #ruby
<dbugger>
jhass: ok, wait.
philcrissman has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
W0rmDr1nk has quit [Quit: Leaving]
paulfm has joined #ruby
HelperW_ has quit [Ping timeout: 250 seconds]
Xiti has quit [Quit: Leaving]
lukeholder has joined #ruby
<jhass>
dbugger: then when you decide to install rvm or rbenv again, make sure to avoid sudo completely.
<dbugger>
jhass: How do I do that? When I do "sudo gem uninstall bundler", I get a "INFO: gem "bundler" is not installed"
lukeholder has quit [Max SendQ exceeded]
shredding has joined #ruby
<jhass>
then ignore that
HelperW__ has quit [Ping timeout: 255 seconds]
SilkFox_ has quit [Ping timeout: 260 seconds]
lukeholder has joined #ruby
<dbugger>
jhass: ok... then how do I delete the gems?
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
nateberkopec has joined #ruby
lukeholder has joined #ruby
<jhass>
you probably could empty the first two directories in the GEM PATHs, but I just wouldn't bother
yubrew has quit [Ping timeout: 255 seconds]
lukeholder has quit [Max SendQ exceeded]
philcrissman has quit [Ping timeout: 240 seconds]
<Psy-Q>
it seems the aws-s3 gem is very outdated, anyway
lukeholder has joined #ruby
zorak8 has quit [Ping timeout: 260 seconds]
iteratorP has quit [Remote host closed the connection]
britneywright has joined #ruby
Xiti has joined #ruby
iteratorP has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
<crome>
le Psy-Q o/
<Psy-Q>
crome: oh, le crome! o/
<DefV>
Psy-Q: Fog gem
dbugger has quit [Quit: Leaving]
<DefV>
or amazon-sdk gem
<Psy-Q>
DefV: aws-sdk supports non-amazon server addresses?
<Psy-Q>
i didn't find the details about that yet
<Psy-Q>
but i'll look at fog as well, thanks
<DefV>
Fog does
AlSquire has joined #ruby
workmad3 has quit [Ping timeout: 272 seconds]
osvico has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
sorpaas has joined #ruby
LeShadow has quit [Quit: LeShadow]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
phoo1234567 has joined #ruby
seanmarcia has joined #ruby
Dr3amc0d3r is now known as Dr3amc0d3r|away
nahob has joined #ruby
dmst has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
startupality has quit [Quit: startupality]
yfeldblum has joined #ruby
startupality has joined #ruby
lkba has joined #ruby
sorpaas has quit [Client Quit]
sorpaas has joined #ruby
gerep has joined #ruby
crdpink has joined #ruby
InhalingPixels has joined #ruby
crdprink2 has quit [Ping timeout: 240 seconds]
sorpaas has left #ruby [#ruby]
mr_snowf1ake has joined #ruby
phutchins has joined #ruby
<Psy-Q>
thanks, Fog seems to support it, it just fails at resolving names
<Psy-Q>
i think it's ignoring /etc/hosts
<Psy-Q>
so the internal VM cluster won't work on it right now
<lupine>
plus, they're not in Thread.list so I don't think they exist any more
<jhass>
will probably gone with next GC run, yeah. Until then
<Hanmac>
jhass: why not ObjectSpace._id2ref ?
<jhass>
Hanmac: because .each_object is the only one I can remember there
<Hanmac>
hm ok now you know
<lupine>
I do have one thread hanging around, but #backtrace is empty so I'm not sure what it's up to
<Hanmac>
hm ok but ObjectSpace._id2ref does throw a RangeError if object does not exist
<Hanmac>
hm maybe that thread is lazy and now its "hanging around" with his friends?
InhalingPixels has joined #ruby
ArchBeOS-work has quit [Quit: Leaving]
<lolmaus>
How do i define an optional argument without a default value? I need an equivalent of JS's `undefined`.
mockra has joined #ruby
jerius has joined #ruby
momomomomo has joined #ruby
failshell has joined #ruby
mengu has joined #ruby
InhalingPixels has quit [Ping timeout: 272 seconds]
<lupine>
think how useful it'd be if Thread.new put caller into a thread-local :origin
mockra has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
ndrei has joined #ruby
dkamioka has joined #ruby
patrick99e99 has joined #ruby
agjacome has joined #ruby
geggam has joined #ruby
pakcjo has joined #ruby
arup_r has quit [Remote host closed the connection]
<jhass>
lolmaus: use nil as default
Channel6 has joined #ruby
Cheezebox has joined #ruby
<lolmaus>
jhass: uh-huh, that's what i've been doing. Just thought that there might be a sugary approach.
mary5030 has quit [Remote host closed the connection]
<lolmaus>
jhass: thx.
craigp has quit [Remote host closed the connection]
davedev2_ has joined #ruby
dudepdx has joined #ruby
<Hanmac>
jhass: did you know that "def func(x = raise TypeError); end" is valid ruby? ;P
patrick99e99 has quit [Ping timeout: 255 seconds]
davedev24_ has quit [Read error: Connection reset by peer]
<Hanmac>
hm huch last time i checked it was ...
<Hanmac>
but that works: "def func(x = raise(TypeError)); end"
kaspertidemann has quit []
<jhass>
Hanmac: you should make a blog post or website with all your ruby curiosities so that I can filter that out :P
earthquake has quit [Quit: earthquake]
<pakcjo>
hello, I think I have a mess in my system (regarding ruby/gems/rails versions) could someone give me hand? I'm using ubuntu and I have read that it is best to upgrade/install by gem rather than package management, just not sure if this applies here as well?
timonv_ has joined #ruby
dkamioka has quit [Remote host closed the connection]
TorpedoSkyline has joined #ruby
<havenwood>
pakcjo: what kinda mess do you have? having issues? what Ruby are you on?
centrx has joined #ruby
cocotton has quit [Remote host closed the connection]
dudepdx has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
<havenwood>
pakcjo: there're many ways to do it, but installing a supported Ruby by apt package, selecting it with update-alternatives, and installing gems yourself is fine.
<pakcjo>
havenwood: I don't even know, dpkg --get-selections shows gem, rubygems, rubygems1.9.1 (deinstalled)
<pakcjo>
Now I'm with: Gem::LoadError: You have already activated rake 10.3.2, but your Gemfile requires rake 10.1.1
aaronrl_ has quit [Quit: Leaving]
<havenwood>
pakcjo: prefix `bundle exec` before your command
<pakcjo>
gem list shows: rake (10.3.2, 10.1.1)
larissa has joined #ruby
Brycetron has joined #ruby
<pakcjo>
thanks havenwood
yfeldblu_ has quit [Ping timeout: 240 seconds]
Advocation has joined #ruby
TorpedoSkyline has joined #ruby
InhalingPixels has joined #ruby
tobago has quit [Remote host closed the connection]
qmfnp has joined #ruby
qmfnp has quit [Client Quit]
startupality has quit [Quit: startupality]
<atmosx>
jhass: you here?
<jhass>
why?
Macaveli has quit [Read error: Connection reset by peer]
snath has joined #ruby
<jhass>
just ask your questions, don't try to find the right people for it
Macaveli has joined #ruby
<gogohome>
hello
<havenwood>
g'morning
<atmosx>
hello gogohome
Channel6 has quit [Quit: Leaving]
<gogohome>
atmosx: how do you do?
<Brycetron>
anyone know how to install devise to my rails?
<atmosx>
jhass: yesterday, while talking about using global vars ($) on sinatra app, you told me to access the variable creating an instance in config.ru: so try defining an initialize (call super) and set an instance var there
<havenwood>
Brycetron: try in #RubyOnRails
<Brycetron>
Tried
<Brycetron>
:)
<jhass>
try harder
<jhass>
(=show patience)
InhalingPixels has quit [Ping timeout: 250 seconds]
<Brycetron>
Jhass are you in there right now?
<jhass>
no
steepingnosher has joined #ruby
Takle has quit [Remote host closed the connection]
<havenwood>
Reminds me of Dark Highway.
apeiros has quit [Remote host closed the connection]
infinitone has joined #ruby
apeiros has joined #ruby
<Brycetron>
How would you know if i've been patient or not
speaking1ode is now known as speakingcode
sinkensabe has quit [Remote host closed the connection]
<shevy>
he knows a lot
<Brycetron>
apparently
<Brycetron>
:)
craigp has joined #ruby
<jhass>
you didn't even took the time to mention that you already asked in #rubyonrails
ndrei has quit [Ping timeout: 245 seconds]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeroNones has joined #ruby
jusmyth has quit [Quit: Leaving.]
<havenwood>
Brycetron: do please mention if you must cross-post ;) but #rubyonrails is the on-topic place for this one
craigp has quit [Remote host closed the connection]
amargherio has joined #ruby
craigp has joined #ruby
guardian has joined #ruby
<guardian>
hello
<havenwood>
hi
<guardian>
is there a PEG library for Ruby that stands out these days?
sparrovv has quit [Read error: Connection reset by peer]
gaussblurinc1 has quit [Quit: Leaving.]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
jmbrown412 has joined #ruby
mr_snowf1ake has joined #ruby
DEA7TH has quit [Ping timeout: 245 seconds]
anaeem1 has joined #ruby
dudepdx has quit [Ping timeout: 240 seconds]
gaussblurinc11 has joined #ruby
alanzo has quit [Remote host closed the connection]
dudepdx has joined #ruby
adac has quit [Ping timeout: 255 seconds]
alanzo has joined #ruby
starless has joined #ruby
shredding has quit [Quit: shredding]
emocakes has joined #ruby
postmodern has joined #ruby
SilkFox_ has joined #ruby
geggam has quit [Ping timeout: 240 seconds]
FarlaTux has quit [Quit: Leaving]
Dev-Gitter has quit [Quit: Leaving]
craigp has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
craigp has joined #ruby
anaeem1 has quit [Remote host closed the connection]
mr_snowf1ake has quit [Quit: Leaving]
geggam has joined #ruby
dudepdx has quit [Ping timeout: 255 seconds]
alanzo has quit [Ping timeout: 250 seconds]
toastynerd has quit [Remote host closed the connection]
carraroj has joined #ruby
Lexun has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
claymore is now known as claymore_
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claymore_ is now known as claymore
klmlfl has quit [Quit: klmlfl]
klmlfl has joined #ruby
AlexBlom has quit [Quit: This computer has gone to sleep]
aspires has joined #ruby
jherbst has joined #ruby
lw has quit [Quit: s]
alanzo has joined #ruby
yfeldblum has joined #ruby
Xiti has joined #ruby
AlexBlom has joined #ruby
zeroNones has joined #ruby
saarinen has quit [Quit: saarinen]
dumdedum has quit [Quit: foo]
gogohome has left #ruby [#ruby]
krisquigley has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
froggy_ has joined #ruby
joonty has quit [Quit: Leaving]
dumdedum has joined #ruby
osvico has quit [Ping timeout: 240 seconds]
kp666 has quit [Ping timeout: 246 seconds]
<miah>
it is the internets favorite food
apeiros has quit [Remote host closed the connection]
<IotaSpencer>
in str.gsub, what /exactly/ are {|match| block } supposed to refer to, especially, if I'm trying to say lreply = $4.gsub(/^\:Welcome to the (\S+) IRC Network.*/) { |match| block }
froggo has quit [Ping timeout: 240 seconds]
jobewan has quit [Ping timeout: 272 seconds]
krisquigley has quit [Read error: Connection reset by peer]
mistergibson has joined #ruby
krisquigley has joined #ruby
<shevy>
IotaSpencer what is th at
<shevy>
|match| is the name of the variable for the block
InhalingPixels has quit [Ping timeout: 245 seconds]
jamesfordummies has joined #ruby
ghostmoth has joined #ruby
sysx1000 has quit [Quit: sysx1000]
patrick99e99 has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
centrx has quit [Quit: Mead error: Connection reset by beer]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
IceDragon has joined #ruby
Kricir has joined #ruby
dkamioka has quit [Remote host closed the connection]
thousandwich has joined #ruby
jobewan has joined #ruby
claw___ has joined #ruby
dumdedum has quit [Quit: foo]
<jhass>
IotaSpencer: we don't know what you want from it
pandaant has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 245 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
jkline has joined #ruby
claw__ has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby
asteve has joined #ruby
renderful has joined #ruby
b00stfr3ak has joined #ruby
Zenigor has quit [Ping timeout: 246 seconds]
tylerkern has joined #ruby
Lewix has quit [Remote host closed the connection]
toastynerd has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
yubrew has joined #ruby
jusmyth has left #ruby [#ruby]
AlexBlom has quit [Quit: This computer has gone to sleep]
Hanmac has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
philcrissman has joined #ruby
gauke has joined #ruby
mikecmpbll has joined #ruby
klmlfl_ has joined #ruby
sambao21 has joined #ruby
gauke has quit [Client Quit]
renderfu_ has quit [Ping timeout: 264 seconds]
sparrovv_ has quit [Remote host closed the connection]
lw has joined #ruby
sparrovv has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
klmlfl has quit [Ping timeout: 250 seconds]
klmlfl_ is now known as klmlfl
philcrissman has quit [Ping timeout: 260 seconds]
zoo-zed has joined #ruby
michaeldeol has joined #ruby
timonv_ has quit [Remote host closed the connection]
piranha93 has joined #ruby
timonv_ has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
michaeldeol has quit [Client Quit]
sparrovv has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mattmcclure has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gauravagarwalr has quit []
starless has quit [Remote host closed the connection]
bricker`work has joined #ruby
agent_white has joined #ruby
einarj has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 246 seconds]
pierre1_ has joined #ruby
AlexBlom has joined #ruby
<agent_white>
Mornin
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dudepdx has joined #ruby
sdwrage has joined #ruby
romanparish has joined #ruby
jerius has quit []
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
<_shrine>
has anyone used IronRuby, or is it a waste of time?
Kricir has quit [Remote host closed the connection]
kristofferR has joined #ruby
diegoviola has quit [Ping timeout: 250 seconds]
piranha93 has quit [Quit: Sto andando via]
crazed has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
<pontiki>
that's a hecka tip on a buck and half
michaeldeol has joined #ruby
LBRapid has quit [Ping timeout: 260 seconds]
crazed has joined #ruby
icebourg has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby
dudepdx has quit [Ping timeout: 246 seconds]
havenwood has quit [Remote host closed the connection]
paulfm_ has quit []
crdprink2 has joined #ruby
deric_skibotn has joined #ruby
sambao21 has joined #ruby
emmesswhy has joined #ruby
icarus has joined #ruby
icarus has quit [Changing host]
icarus has joined #ruby
crdpink has quit [Ping timeout: 255 seconds]
troyready has joined #ruby
agent_white has quit [Quit: brb]
LBRapid has joined #ruby
hoelzro has quit [Ping timeout: 272 seconds]
bbloom_ has quit [Ping timeout: 240 seconds]
<shevy>
_shrine I think it died years ago
hoelzro has joined #ruby
echevemaster has joined #ruby
apeiros has joined #ruby
gerep is now known as gerep-lunch
<shevy>
why did matz not come up with something like gems ?
aspires has quit []
AlexBlom has quit [Quit: This computer has gone to sleep]
abuzze has joined #ruby
mikepack has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
yfeldblum has joined #ruby
wmoxam has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 260 seconds]
wmoxam has joined #ruby
seamon has joined #ruby
lfox has quit [Ping timeout: 240 seconds]
abuzze has quit [Ping timeout: 250 seconds]
<bricker`work>
lol what
romanparish has left #ruby [#ruby]
SilkFox_ has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 255 seconds]
lw has quit [Quit: s]
romanparish has joined #ruby
apeiros has joined #ruby
jdj_dk has joined #ruby
diegoviola has joined #ruby
romanparish has quit [Quit: leaving]
<wasamasa>
shevy: why did you come up with that question?
<shevy>
wasamasa mruby has no support for gems
emocakes has quit []
lfox has joined #ruby
<shevy>
without the authors behind rubygems, I am quite sure that ruby would not have anything like gems
jkline has quit [Quit: jkline]
<wasamasa>
!whoosh
<wasamasa>
meh
aclearman037 has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zenigor has joined #ruby
<workmad3>
shevy: it would have something like it, in the sense that it would have a package manager, I have no doubt
tlarevo has joined #ruby
charliesome has quit [Quit: zzz]
lw has joined #ruby
jahrichie has joined #ruby
benzrf|offline has quit [Ping timeout: 240 seconds]
jdj_dk has quit [Ping timeout: 245 seconds]
apeiros has quit [Ping timeout: 260 seconds]
aspires has joined #ruby
Cheezebox has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 246 seconds]
<jahrichie>
Is there a programitc means to getting a list of a instance methods arguments?
<jahrichie>
say UserMailer.send_some_email(foo,bar)
<jahrichie>
id like an array of the argument local variable names
<jahrichie>
[foo,bar]
<jahrichie>
or anything like that
<jahrichie>
does that make sense, and does anyone know the best way
aspires has quit [Client Quit]
<shevy>
workmad3 hmm one article says that rubygems was created in 2003
<cschneid>
say I have a hash, and I want to see if it contains {:a => 1, :b => 2} with no other cares about the contents. `.include` doesn't work since its key only. The closest I can see is `values_at(:a, :b) == [1,2]` but that's hard to scale up to more keys to check
<cschneid>
is there a "contains subset" method (in either plain ruby or AS)
Zenigor has quit [Ping timeout: 240 seconds]
Cheezebox has joined #ruby
<shevy>
cschneid how about .has_key?()
<workmad3>
shevy: sounds about right
<jahrichie>
+1
jfutbol has joined #ruby
<cschneid>
shevy: I want to check keys & values, across several pairs. Basically I want to say: "is this parameter hash a subset of the hash I have"
Akagi201 has quit [Remote host closed the connection]
ndrei has joined #ruby
dawkirst has quit [Remote host closed the connection]
mr_snowf1ake has joined #ruby
wallerdev has quit [Quit: wallerdev]
sarlalian has quit [Quit: WeeChat 0.4.2]
<shevy>
well you can add a contains? method to class Hash
ptrrr has quit [Quit: ptrrr]
<jhass>
jahrichie: you can define a method like foo(*args) to get the passed values as an array. If you call local_variables in the first line of a method you get an array of symbols with the names of the arguments. Not sure what you want
<jahrichie>
yeah sorry, having trouble articulating myself
<shevy>
I don't think default ruby has a way to check for deep inclusion queries without you having to write that method yourself
<shevy>
perhaps you can use an Enumerator to find out
<cschneid>
shevy: yeah, did it. Weird that there's just not something I can do built in. "is this hash a subset of that hash" seems like a thing I sometimes want.
sarlalian has joined #ruby
jgrevich has joined #ruby
<cschneid>
ok, here's the impl I used - is there a nicer way? `class Hash; def contains?(h2); (h2.to_a & self.to_a).length == h2.keys.length; end; end;`
Lewix has quit [Remote host closed the connection]
<cschneid>
I like that I don't have to manually loop, but I dislike that I have to `to_a` and `length` twice
<jhass>
use .size, it's shorter :P
agent_white has joined #ruby
alanzo has quit [Quit: Leaving...]
InhalingPixels has joined #ruby
jamesfordummies has quit [Remote host closed the connection]
<shevy>
:P
Lewix has joined #ruby
georgesmith has quit [Quit: georgesmith]
ssvo has quit [Ping timeout: 260 seconds]
<cschneid>
in rails land, I use `.length` for arrays, `.size` for AR collections. Otherwise you accidentally start doing db calls :)
<Hanmac>
cschneid: class Hash; def contains?(h2); h2.all? {|k,v| self[k] == v}; end
<cschneid>
Hanmac: ah, sure. There's probably weirdness around nils as values, but I don't really care :)
jerius has joined #ruby
<cschneid>
Hanmac: in both solutions I realize.
JoshGlzBrk has joined #ruby
<cschneid>
I really start missing option types after going to scala & haskell for a while, then coming back :)
beef-wellington has joined #ruby
qba73 has quit [Remote host closed the connection]
InhalingPixels has quit [Ping timeout: 246 seconds]
ssvo has joined #ruby
saarinen has joined #ruby
<shevy>
rails land sounds scary
<shevy>
I always use .size
SilkFox has quit [Ping timeout: 260 seconds]
<pipework>
size is good stuff
Fire-Dragon-DoL has joined #ruby
fabrice31 has joined #ruby
asteve has quit [Ping timeout: 260 seconds]
thedude has joined #ruby
xcv has joined #ruby
adac has joined #ruby
momomomomo_ has joined #ruby
mkaesz has quit [Quit: Leaving...]
adac has quit [Max SendQ exceeded]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jfutbol has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 250 seconds]
momomomomo_ is now known as momomomomo
adac has joined #ruby
ghr has joined #ruby
treehug88 has joined #ruby
jfutbol has joined #ruby
yubrew has joined #ruby
asteve has joined #ruby
nobitanobi has joined #ruby
<cschneid>
shevy: size works fine, except when it bites your hand off.
<cschneid>
then, lets not forget about `count`. :) Boy does ruby like synonyms.
<pipework>
cschneid: But count isn't synonymous, right.
<nobitanobi>
morning folks
<pipework>
It behaves entirely differently.
diegoviola has quit [Remote host closed the connection]
tlarevo_ has joined #ruby
<TTilus>
nobitanobi: good night :)
dudepdx has joined #ruby
<nobitanobi>
TTilus: sweet dreams ~
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TTilus>
pipework: well not quite entirely, but different
<pipework>
TTilus: Pretty entirely, though they both output numeric values.
thedude has quit [Ping timeout: 240 seconds]
maximski has quit []
fabrice31 has quit [Ping timeout: 250 seconds]
<pipework>
One checks the size of the array, and the other enumerates the contents of the array.
binaryhat has joined #ruby
timonv_ has joined #ruby
michaeldeol has joined #ruby
<jhass>
isn't count in Enumerable even?
<pipework>
It is.
AlexBlom has joined #ruby
AlexBlom has quit [Client Quit]
<pipework>
To quote, "Returns the number of items in enum through enumeration."
rezzack has joined #ruby
tlarevo has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 260 seconds]
agjacome has quit [Ping timeout: 260 seconds]
hooper has joined #ruby
<Hanmac>
cschneid: "[1,2,3].cycle.size" vs "[1,2,3].cycle.count"
<crome>
ocx: you don't use puts in sinatra, what happens is the handler returns the last evaluated object, which is d.each and sends it to the response output
<wallerdev>
wowww
<ocx>
Ankhers: still outputs everything
<wallerdev>
who puts if statements in each instead of using select
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
<ocx>
still outputs everything Ankhers
<crome>
ocx: #each returns all the elements, you really want to use #select
havenwood has joined #ruby
michaeldeol has joined #ruby
<crome>
ocx: you expect to see only what you "puts", but it's not how sinatra works
robustus has quit [Ping timeout: 255 seconds]
<ocx>
euh confused
ixti has quit [Ping timeout: 245 seconds]
<Ankhers>
ocx: I thought it was just ruby script.
Wolland has joined #ruby
<Ankhers>
d.select {|x| x if x.end_with? '.sh' }
ixti has joined #ruby
<Ankhers>
will return a list of items that ends with .sh
<ocx>
d.select { |x| if (x.end_with?(".sh")) "Got #{x}" end ?
szuletett has joined #ruby
postmodern has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<crome>
Ankhers: you don't actually need the "x if" bit
Kricir has joined #ruby
sparrovv has joined #ruby
robustus has joined #ruby
sdouglas has quit [Ping timeout: 245 seconds]
<ocx>
crome: looking gooood?
<crome>
not really
<Ankhers>
true
jgrevich_ has joined #ruby
<ocx>
it retusn them luike this file1.mp4test.mp4file2.mp4small.mp4
<ocx>
or sh
jgrevich has quit [Ping timeout: 255 seconds]
jgrevich_ is now known as jgrevich
<crome>
yes, it is doing exactly what it is supposed to do
<crome>
d.select {|x| x.end_with? '.sh' }
<crome>
as per Ankhers's suggestion
<havenwood>
or: #grep(/.sh\z/) { |match| ... }
<crome>
and you should really read a bit more about sinatra and how ruby works
mikepack has quit [Remote host closed the connection]
<shevy>
but the above works
dawkirst has joined #ruby
cocotton has quit [Ping timeout: 245 seconds]
<shevy>
\o/
nanoyak has quit [Quit: Computer has gone to sleep.]
<Sou|cutter>
ah but the resulting file is tiny
<ocx>
Ankhers: can i do this? ary = [d.select { |x| x.end_with?(".mp4") }]
<shevy>
wat
mikepack has joined #ruby
<Sou|cutter>
I need the file size to be large
<shevy>
aha
yfeldblum has quit [Ping timeout: 240 seconds]
<shevy>
you want a fat image file
<Sou|cutter>
all white compresses really well I guess :P
<Sou|cutter>
maybe there's a way to pipe in noise
<shevy>
sure
<wald0>
i want to create a github project about a cinch "fully ready" bot, I assume that i need to learn about gems, bundle, etc... i want also it being able to be packaged, where i can read a brief introduction of what of each (gem/bundle, etc) is for ?
<Sou|cutter>
or reduce/eliminate compression
<shevy>
write some crazy stuff into that pic
<shevy>
there is probably a much simpler way too
<shevy>
perhaps set all available pixels to different states
<shevy>
random ones
jgt has joined #ruby
<shevy>
you could even draw chaotic images like that!
robbyoconnor has joined #ruby
<Ankhers>
ocx: You can, but that will return a multi-dimensional array. Which I doubt you want.
<kongthap>
_shrine, mysql or mysql2 ? which one should be good to go for beginner?
<_shrine>
uh
<zorak8>
that arrays!!!
<_shrine>
what are you doing specifically?
nanoyak_ has quit [Ping timeout: 255 seconds]
<wallerdev>
arrays!!!!!
ptrrr has quit [Quit: ptrrr]
<lagweezle>
wallerdev: Well, the assumption being that you do something with the value, not just create it then let it drop to the floor. hash.each_value { |x| @accumulator += x.to_time.to_i } or something
saarinen has quit [Quit: saarinen]
babykosh has quit [Client Quit]
georgelappies has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby
<wallerdev>
ah makes sense
cndiv has quit [Ping timeout: 260 seconds]
<kongthap>
i want to do some util app like read from mysql and create csv something like that
<_shrine>
kongthap: use mysql2
<kongthap>
_shrine, ok that's the top download, i will go with it, thanks
<_shrine>
I'm going to assume you know how to use sql
<zorak8>
i need transform the values from html5 datetime to unix time
<kongthap>
what is build tool? i got error at gem install mysql
<captproton>
has anyone seen anything like this before:
<captproton>
client, drive = setup()
danijoo has quit [Read error: Connection reset by peer]
<captproton>
client and drive are variables
<kongthap>
is this essential for ruby environment?
<zorak8>
but i have i in an array dont work so easy
beef-wellington has quit [Ping timeout: 250 seconds]
lolmaus has quit [Ping timeout: 250 seconds]
seamon has quit [Quit: Zzzzzzz]
<wallerdev>
are you on windows kongthap
Spami has joined #ruby
momomomomo has joined #ruby
danijoo has joined #ruby
<kongthap>
wallerdev, yes on windows 7 64 bit
<wallerdev>
mysql requires native code
<_shrine>
I'm on ubuntu and I got an error building native gem file lol
szuletett has quit [Ping timeout: 240 seconds]
exgf has quit [Remote host closed the connection]
jgt has joined #ruby
<wallerdev>
so it would have to compile it on your machine
<_shrine>
it's an API binding
<wallerdev>
i would just give up now if i were you and pick a language built for windows like c# lol
<kongthap>
wallerdev, you meant i must download source code and build it myself?
<_shrine>
joovoo
_sillymarkets has joined #ruby
<wallerdev>
nah depending on the error, youd have to do different things, might have to install cygwin or something
<wallerdev>
might have to install mysql, it might come with windows binaries, who knows
<kongthap>
wallerdev, by the way before that do i need to install what's called build tool too? or it already come with ruby?
<anime4christ>
I have a class Field, and I want to prepend a module which overrides the initialize method with one that will recursively add sub-fields to a field if it is a collection. However, while I am successful at overriding the initialize method, I get this error when calling Field.new from the Collection module: undefined method `new' for Collection::Field:Module Here's the code:
<wallerdev>
why do you have a module and class named the same thing
<_sillymarkets>
If I am printing an array, how can I remove the quotes without converting to a string? I have an array = [ "Day" , "1-24-44", "HR", "4144"] and I split and copy it o Excel cells. Except the quotes are remaining there. If I use gsub, Excel thinks the numbers are entered as text, not allowing it to be maniuplated (for automatic graph building)
Kricir has joined #ruby
<wallerdev>
name your module something else anime4christ
<wallerdev>
or use ::Field.new instead
kyb3r_ has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
<anime4christ>
wallerdev: Thank you. So obvious, yet I was so frustrated. :)
babykosh has quit [Quit: babykosh]
everett has quit [Ping timeout: 240 seconds]
emmesswhy has joined #ruby
britneywright has joined #ruby
<wallerdev>
_sillymarkets: you're not making any sense, how do you split an array, thats a string method
DEA7TH has joined #ruby
bwilson has quit [Quit: +++CARRIER LOST+++]
ldnunes has quit [Quit: Leaving]
axsuul has joined #ruby
everett has joined #ruby
seamon has joined #ruby
startupality has joined #ruby
claw has quit [Ping timeout: 255 seconds]
dawkirst has quit [Quit: Leaving...]
saladspork has quit [Quit: saladspork]
caveat- has quit [Ping timeout: 240 seconds]
<_sillymarkets>
hm, okay... thats definitely a problem. So, if I have an array with a large row that has commas separating it. And suppose that row has varying forms of data, how can I access those data without converting to a string?>
vyorkin has quit [Quit: WeeChat 0.4.3]
<_sillymarkets>
since I used .split, which I guess is making it all a string
beef-wellington has joined #ruby
<wallerdev>
i dont think you understand whats going on lol
<_sillymarkets>
i definitely don't know what's going on ;\
hamakn has joined #ruby
<_shrine>
looks like you need some perl!!!
<wallerdev>
if you have an array try using "p my_cool_array" and then putting the output of that in a pastebin or something
olivier_bK has quit [Ping timeout: 260 seconds]
<_shrine>
he could trace it
<kongthap>
ruby can be both 32 and 64 bit right?
<eam>
kongthap: yes
<eam>
or rather it can be 32 OR 64bit
<kongthap>
eam, can i verify which one is installed on my windows?
<wallerdev>
ruby -v probably tells you
krisquigley has joined #ruby
<kongthap>
ruby 2.0.0p481 (2014-05-08) [x64-mingw32], 64 right? just wanna make sure
everett has quit [Ping timeout: 272 seconds]
<wallerdev>
looks like it
jkline has quit [Quit: jkline]
<jheg>
is it possible to put a time delay on the contents of a method executing?
MatthewsFace has joined #ruby
hamakn has quit [Ping timeout: 240 seconds]
<wallerdev>
sleep 5
<wallerdev>
or you can use speedup loops
<shevy>
speedup loops?
jds has quit [Quit: Connection closed for inactivity]
<wallerdev>
refernece to a really old thedailywtf
<eam>
is that where you remove the delays as a "feature" later on?
<wallerdev>
they would add huge useless for loops, and then when they didnt get anything done all week they would delete one and say they fixed performance issues
<wallerdev>
lol
<eam>
minimum viable product as in make it intentionally as shitty as you're allowed to
<jheg>
thanks wallerdev so simple!
<eam>
and then remove the parts that make it shitty in future revs
<eam>
brilliance
<wallerdev>
brillant
<pipework>
jheg: That sounds sorta silly
<wallerdev>
lol
yubrew has joined #ruby
<pipework>
jheg: Are you really certain you want to do that?
cndiv has joined #ruby
<lagweezle>
_sillymarkets: I'm confused... what is this thing which has values that are comma separated?
<wallerdev>
lol
jkline has joined #ruby
jamesfordummies has joined #ruby
<jheg>
pipework: I have an assignment to build a game of tic tack toe
<pipework>
jheg: tic tac toe, rite
<jheg>
it just helps the player feel like the game goes at a more natural pace
<jheg>
right
<wallerdev>
sounds good to me
philcrissman has joined #ruby
<wallerdev>
computer is thinking
<wallerdev>
lol
<pipework>
jheg: ah that's not so bad.
<pipework>
I was worried it'd be something a little more... productiony
MatthewsFace has quit [Ping timeout: 245 seconds]
everett has joined #ruby
<_sillymarkets>
lagweezle, I'm confused too. Let me try to understand the issue further and Ill get back here
<_sillymarkets>
i dont know enough, and there's so much to know!
nateberkopec has joined #ruby
startupality has quit [Quit: startupality]
SilkFox_ has joined #ruby
poulet_a has quit [Quit: Quitte]
Mon_Ouie has joined #ruby
Wolland has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
mikepack has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
lolmaus has joined #ruby
<shevy>
yeah
<shevy>
there is always a lot to know
<shevy>
you need a way to package knowledge neatly into convenient tidbits
Ilyas has quit [Ping timeout: 255 seconds]
<shevy>
today I replaced apache with lighttpd \o/
<wallerdev>
why not nginx
Akagi201 has joined #ruby
<shevy>
the struggle was with the configuration files
philcrissman has quit [Ping timeout: 272 seconds]
<shevy>
I cant read russian
<wallerdev>
doesnt lighttpd crash all the time
<shevy>
has not crashed on me yet so far
caveat- has joined #ruby
m8 has quit [Read error: Connection reset by peer]
Cheezebox has joined #ruby
<wallerdev>
thats just what ive heard
<wallerdev>
never used it
codecop has quit [Remote host closed the connection]
<wallerdev>
mightve been another one with similar name
cy has quit [Read error: Connection reset by peer]
nateberkopec has quit [Ping timeout: 240 seconds]
everett has quit [Ping timeout: 245 seconds]
SilkFox_ has quit [Ping timeout: 245 seconds]
Lightsword has quit [Quit: Lightsword]
m8 has joined #ruby
Kricir has quit [Remote host closed the connection]
zorak8 has quit [Ping timeout: 250 seconds]
Akagi201 has quit [Ping timeout: 245 seconds]
Shidash has joined #ruby
<shevy>
apache
Wolland has quit [Ping timeout: 255 seconds]
lolmaus has quit [Ping timeout: 250 seconds]
DrCode has quit [Ping timeout: 264 seconds]
kongthap has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
chipotle has joined #ruby
<wallerdev>
nah apache is a little bloated but works well
timonv_ has quit [Remote host closed the connection]
failshell has quit []
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
testcore has quit [Ping timeout: 264 seconds]
St_Marx has quit [Ping timeout: 264 seconds]
end_guy has quit [Ping timeout: 264 seconds]
bthesorceror has joined #ruby
teddyp1cker has joined #ruby
IceDragon has quit [Ping timeout: 245 seconds]
Lightsword has joined #ruby
puppeh has joined #ruby
existensil has joined #ruby
Kricir has joined #ruby
IceDragon has joined #ruby
cocotton_ has joined #ruby
rbenv has joined #ruby
cy has joined #ruby
_2_Gyna3104 has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
<_2_Gyna3104>
Hi plp
teddyp1cker has quit [Ping timeout: 250 seconds]
SloggerKhan has quit [Quit: Leaving.]
afhammad has quit []
bthesorceror has quit [Ping timeout: 250 seconds]
_2_Gyna3104 has left #ruby [#ruby]
_2_Gyna3104 has joined #ruby
_2_Gyna3104 has left #ruby [#ruby]
Lightsword has quit [Ping timeout: 260 seconds]
cocotton has quit [Ping timeout: 246 seconds]
everett has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lolmaus has joined #ruby
startupality has joined #ruby
brothmars has quit [Ping timeout: 255 seconds]
mikepack has quit [Remote host closed the connection]
cocotton_ has quit [Ping timeout: 272 seconds]
jkline has quit [Quit: jkline]
nateberkopec has quit [Ping timeout: 240 seconds]
gregf has quit [Ping timeout: 260 seconds]
dc has quit [Remote host closed the connection]
DrCode has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
szuletett has joined #ruby
realDAB has joined #ruby
nateberkopec has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
testcore has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
beemo has joined #ruby
tylerkern has joined #ruby
mikesplain has joined #ruby
zorak8 has joined #ruby
patrick99e99 has joined #ruby
havenwood has joined #ruby
snath has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
jgt has quit []
lolmaus has quit [Read error: Connection reset by peer]
<Cheezebox>
hello
havenn has joined #ruby
lolmaus has joined #ruby
St_Marx has joined #ruby
beemo has quit [Ping timeout: 250 seconds]
anaeem1 has quit [Remote host closed the connection]
<shevy>
hi cheeze
patrick99e99 has quit [Ping timeout: 245 seconds]
adac has quit [Ping timeout: 264 seconds]
Kricir has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
terrell_t has joined #ruby
deric_skibotn_ has joined #ruby
end_guy has joined #ruby
txdv has quit [Read error: Connection reset by peer]
deric_skibotn has quit [Ping timeout: 250 seconds]
<shevy>
"Out of the wonderful Google Summer of Code for Rails campaign comes Web Console. It's an IRB console available in the browser. In development mode, you can go to /console and do your work right there."
wjimenez_ has joined #ruby
<shevy>
now that is actually cool
InhalingPixels has joined #ruby
<shevy>
debugging in the browser!
djbkd has quit [Remote host closed the connection]
gkagan has joined #ruby
jdj_dk_ has joined #ruby
jdj_dk has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
tlarevo has quit [Ping timeout: 240 seconds]
wjimenez5271 has quit [Ping timeout: 246 seconds]
timonv_ has joined #ruby
sinkensabe has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
gkagan has quit [Ping timeout: 250 seconds]
andrewlio has quit [Remote host closed the connection]
maroloccio has quit [Ping timeout: 260 seconds]
crdpink has quit [Quit: q term]
nateberkopec has joined #ruby
emandari has quit [Ping timeout: 240 seconds]
Rahul_Roy has quit [Quit: Connection closed for inactivity]
kaspertidemann has quit []
TorpedoSkyline has joined #ruby
havenwood has quit []
djbkd has quit [Remote host closed the connection]
havenn is now known as havenwood
crdpink has joined #ruby
emandari has joined #ruby
riotjones has joined #ruby
Xeago has quit [Remote host closed the connection]
vyorkin has joined #ruby
vyorkin has quit [Client Quit]
jdj_dk_ has quit [Ping timeout: 245 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
beef-wellington has quit [Ping timeout: 250 seconds]
kirun has quit [Ping timeout: 250 seconds]
seamon has quit [Quit: Zzzzzzz]
riotjone_ has quit [Ping timeout: 250 seconds]
cocotton has joined #ruby
apeiros has joined #ruby
error_mess has joined #ruby
fabrice31 has joined #ruby
jamesfor_ has joined #ruby
hamakn has joined #ruby
yubrew has joined #ruby
lidaaa has joined #ruby
saladspork has joined #ruby
ramin has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
ramin has left #ruby [#ruby]
dbck has joined #ruby
jamesfordummies has quit [Ping timeout: 260 seconds]
lolmaus has quit [Read error: Connection reset by peer]
lolmaus_ has joined #ruby
shackleford has quit [Remote host closed the connection]
saladspork has quit [Client Quit]
error_mess has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 245 seconds]
hamakn has quit [Ping timeout: 245 seconds]
cocotton has quit [Remote host closed the connection]
threesixes has joined #ruby
yubrew has quit [Ping timeout: 246 seconds]
szuletett has quit [Ping timeout: 246 seconds]
sinkensabe has quit [Remote host closed the connection]
mikepack has quit [Read error: Connection reset by peer]
vyorkin has joined #ruby
mikepack has joined #ruby
vyorkin has quit [Client Quit]
GeekOnCoffee has joined #ruby
gkagan has joined #ruby
teddyp1cker has quit [Ping timeout: 246 seconds]
<gr33n7007h>
punk
DrShoggoth has quit [Quit: Leaving]
<shevy>
wat
<shevy>
I have to reinstall everything here
seamon has quit [Quit: Zzzzzzz]
<gr33n7007h>
learn boy
<shevy>
/usr/lib/libpthread.a is broken, I can not compile anything that depends on -pthread, and sound also died suddenly for no reason and no way to bring it up
nobitanobi has joined #ruby
m8 has quit [Quit: Sto andando via]
<gr33n7007h>
shevy, wtf?
gkagan has quit [Ping timeout: 240 seconds]
<shevy>
yeah
<shevy>
some things are subtly broken here and I don't know how
<wallerdev>
stop storing your system files on an SD card
<shevy>
sh: line 1: 8393 Segmentation fault kde4-config --kde-version 2>&1
<wallerdev>
if you put the windows disc in the drive it should be able to just restore all your system files
<gr33n7007h>
shevy, tee
kristofferR has quit [Remote host closed the connection]
<shevy>
wallerdev but I don't have windows
<shevy>
I have always wondered whether I could go back to windows
<shevy>
I'd have ruby after all
emmesswhy has quit [Quit: This computer has gone to sleep]
<wallerdev>
youd have "ruby"
<wallerdev>
lol
<shevy>
yeah
<wallerdev>
no terminal to run it in
<shevy>
ruby-gnome also works
<shevy>
msys works as replacement
<wallerdev>
it really doesnt
<shevy>
I'd have to compile a lot of stuff
pietr0 has quit [Quit: pietr0]
<shevy>
sure it does, even kde works on windows
britneywright has joined #ruby
<gr33n7007h>
shevy, bullshit
<wallerdev>
windows commandline is the worst piece ive ever seen