<Limix>
Hi all, is it possible to add env variables into travis and then grab them inside the travis.yml? Example notifications for slack or similar. I want to store that as an env variable in travis so it’s not in the repo
<Limix>
or something like: <%= ENV["REDEPLOYMENT_HOOK"] %> in the travil.yml
TheRinger has joined #ruby
ptrrr has joined #ruby
_1_Andy has joined #ruby
<_1_Andy>
Hola
_1_Andy has left #ruby [#ruby]
TgMts has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
Beoran_ has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
bruno- has joined #ruby
Beoran has quit [Ping timeout: 255 seconds]
Senjai has quit [Ping timeout: 244 seconds]
felixjet_ has quit [Ping timeout: 255 seconds]
jlast has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
wldcordeiro has joined #ruby
bonhoeffer has joined #ruby
DonOtreply has joined #ruby
bruno- has joined #ruby
felixjet has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
piotrj has joined #ruby
ponga has joined #ruby
jlast has joined #ruby
multi_io_ has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
piotrj_ has joined #ruby
zorak8 has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
bwilson has quit [Ping timeout: 255 seconds]
Senjai has joined #ruby
shaquile has quit [Ping timeout: 246 seconds]
ponga has quit [Ping timeout: 265 seconds]
multi_io has quit [Ping timeout: 264 seconds]
jlast has quit [Ping timeout: 245 seconds]
<jhass>
Limix: Please do not crosspost without at least telling so. Experience shows that people don't bother to inform the other channels of provided solutions, therefore it is considered rude.
piotrj has quit [Ping timeout: 255 seconds]
<Limix>
jhass, ok
<Limix>
jhass, any ideas though?
<Limix>
btw just posted the following in angularjs: so if someone wanted to be mean, would it be possible to look at an open source projects travis.yml, if there was a redeployment hook, they could, even is encrypted, they could just keep hitting the hook and causing a redeploy?
shaquile has joined #ruby
starfox_sf has quit [Ping timeout: 250 seconds]
byprdct has joined #ruby
Jetchisel has quit [Ping timeout: 252 seconds]
davejacobs has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
Lemur has quit [Remote host closed the connection]
Lemur has joined #ruby
awerush has quit [Ping timeout: 256 seconds]
dmbennett has joined #ruby
chishiki has joined #ruby
<dmbennett>
is there a ruby for beginners channgel?
<dmbennett>
channel*
jerry_tao has quit [Ping timeout: 250 seconds]
jerry_tao has joined #ruby
jbw_ has joined #ruby
<zmisc>
No, there is not. Sorry
<dmbennett>
thanks
Guest123 has joined #ruby
Lemur has quit [Ping timeout: 245 seconds]
zmisc has quit [Remote host closed the connection]
<blizzy>
dam, he left.
<blizzy>
I would of said #learnprogramming
<dmbennett>
meh, no big worry
<dmbennett>
I'm putzing around, learning to make api calls with httparty
<blizzy>
nice.
jbw__ has quit [Ping timeout: 264 seconds]
Senjai has quit [Ping timeout: 244 seconds]
robbyoconnor has quit [Ping timeout: 250 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
there actually is #new2ruby
<dmbennett>
thanks!
<jhass>
or something like that
lioninawhat has joined #ruby
<jhass>
double hash, ##new2ruby
<dmbennett>
hahaha no one is home
<dmbennett>
oh
<dmbennett>
join /##new2ruby
<jhass>
but we totally welcome noob questions here too
iwishiwerearobot has joined #ruby
<dmbennett>
I appreciate that
Hobogrammer has quit [Ping timeout: 264 seconds]
iMe has quit [Ping timeout: 250 seconds]
silkfox has joined #ruby
beef-wellington has quit [Ping timeout: 250 seconds]
iwishiwerearobot has quit [Ping timeout: 246 seconds]
iMe has joined #ruby
<shevy>
nooo :(
<shevy>
stay here, ask questions, don't let jhass answer it all
<shevy>
he is just selfish
<shevy>
we promise to be faster and prettier than jhass!
<jhass>
I do not hang out in ##new2ruby much tbh
<jhass>
the chatter to topic ratio is even higher than here
robbyoconnor has joined #ruby
<shevy>
lies!
<shevy>
we are never off topic here
<jhass>
right....
<jhass>
let's play your game
<jhass>
00:05 <shevy> is there something like that too, where you can write a letter, and the content of that letter also becomes some kind of mini-code on the lower right side ...
<shevy>
that was an exception
Senjai has joined #ruby
<jhass>
2015-01-20 17:36:11 shevy ok who wants to be spanked
<shevy>
now now there
<jhass>
2015-01-28 15:49:25 shevy who wants to be spanked
<shevy>
man
Spami has quit [Quit: This computer has gone to sleep]
<shevy>
do you like log everything?
<work_op>
dont you?
<lampd1>
lolz
<waxjar>
#ruby is publicly logged ;)
<shevy>
not really, I kinda have just one neverending scroll bar here without timestamps and such
<shevy>
well "never ending"
<shevy>
I can scroll up to: <Timgauthier> aloha!
<shevy>
no idea when that happened
<shevy>
and please, don't try to find out :)
paulfm has joined #ruby
alameow has joined #ruby
<work_op>
i log everything and i read random days when im bored
<alameow>
hello
<work_op>
irc has hidden gems sometimes
<shevy>
irc can be super useful for learning secret snippets
CpuID2 has quit [Quit: This computer has gone to sleep]
TgMts has joined #ruby
jenrzzz has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sent1nel has quit [Ping timeout: 265 seconds]
TgMts has quit [Client Quit]
TgMts has joined #ruby
freerobby has quit [Quit: Leaving.]
jenrzzz has quit [Ping timeout: 246 seconds]
himera has quit [Remote host closed the connection]
<perturbation>
whenever you're using Ruby for standalone scripts, do you end up having to make some variables globals?
Kricir has quit [Remote host closed the connection]
ismaelga has quit [Ping timeout: 256 seconds]
<perturbation>
I run into issues with that sometimes, and I'm not sure if it's necessary or if I'm just being hackish
iMe has quit [Ping timeout: 250 seconds]
TgMts has quit [Client Quit]
iMe has joined #ruby
alameow has quit [Quit: Page closed]
lys has joined #ruby
ismaelga has joined #ruby
ravenzz has joined #ruby
Senjai has joined #ruby
fabrice31 has joined #ruby
<ravenzz>
hello
Guest123 has joined #ruby
nobitanobi has quit [Remote host closed the connection]
<weaksauce>
perturbation not really no
<weaksauce>
it's better to use modules to namespace things
claptor has quit [Quit: this channel is bakas]
Motoservo has quit [Quit: Shhh. I'm trying to get some sleep here.]
TgMts has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
dfinninger has joined #ruby
<perturbation>
thanks weaksauce... it just tends to sneak up on me if I'm writing something short since variables aren't out of scope until I define a method
adriancb has quit [Remote host closed the connection]
<perturbation>
but then I usually refactor anyways
djellemah has quit [Ping timeout: 245 seconds]
rbennacer has joined #ruby
<weaksauce>
make a class and make those class variables
j0n3 has quit [Read error: Connection reset by peer]
<weaksauce>
or instance variables
<weaksauce>
classes and modules are so cheap to create it almost doesn't make sense to not do it like that from the start
<weaksauce>
you have the side effect of every method being defined before you use it too.
<gut>
i realize that this is a super stupid question, but i'm a very novice programmer... what am i doing wrong here? https://gist.github.com/TannerFilip/ad2c6fdf53fe1588f61b when i run it in "irb" the code works like it should, but when i rub the script from shell it doesn't work
jerematic has joined #ruby
<mozzarella>
tejas-manohar: you need to update the view
<tejas-manohar>
o
silkfox has quit [Ping timeout: 250 seconds]
<mozzarella>
gut: newline character at the end
aphprentice_ has quit [Ping timeout: 240 seconds]
claptor has quit [Quit: this channel is bakas]
tmtwd has joined #ruby
<mozzarella>
just do "p logfile" and you'll see why it doesn't work
<gut>
mozzarella: yeah, I just realized that was probably it as you said that
<gut>
so i'll want to call gets.chomp, right?
startupality has joined #ruby
geefolk has quit [Max SendQ exceeded]
<gut>
aha, that worked. thanks!
iMe has quit [Ping timeout: 245 seconds]
geefolk has joined #ruby
jerematic has quit [Ping timeout: 264 seconds]
claptor has joined #ruby
geefolk has quit [Max SendQ exceeded]
adriancb has quit [Remote host closed the connection]
jlast has joined #ruby
iwishiwerearobot has joined #ruby
geefolk has joined #ruby
adriancb has joined #ruby
iMe has joined #ruby
geefolk has quit [Client Quit]
tejas-manohar has quit [Quit: Page closed]
blizzy has quit [Ping timeout: 245 seconds]
geefolk has joined #ruby
rbennacer has joined #ruby
iwishiwerearobot has quit [Ping timeout: 250 seconds]
jlast has quit [Ping timeout: 265 seconds]
Senjai has joined #ruby
geefolk has quit [Client Quit]
geefolk has joined #ruby
adriancb has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
zacstewart has joined #ruby
rbennacer has quit [Ping timeout: 264 seconds]
jlast has quit [Ping timeout: 245 seconds]
zacstewart has quit [Read error: Connection reset by peer]
joufflu has joined #ruby
larsam has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
daed has quit [Quit: Lost terminal]
billy_ran_away has quit [Ping timeout: 255 seconds]
aphprentice_ has joined #ruby
Troy^ has joined #ruby
hesco has quit [Ping timeout: 256 seconds]
starless has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
startupality has quit [Client Quit]
Lemur has quit [Remote host closed the connection]
geefolk has quit [Quit: Leaving]
geefolk has joined #ruby
Lemur has joined #ruby
Senjai has quit [Ping timeout: 246 seconds]
iMe has quit [Ping timeout: 250 seconds]
geefolk has quit [Remote host closed the connection]
geefolk has joined #ruby
iMe has joined #ruby
billy_ran_away has joined #ruby
ghostlines has joined #ruby
Lemur has quit [Ping timeout: 264 seconds]
Limix has joined #ruby
lioninawhat has quit [Remote host closed the connection]
blackjid has quit [Ping timeout: 245 seconds]
Klumben has quit [Ping timeout: 245 seconds]
Paradox has quit [Ping timeout: 245 seconds]
artgoeshere has quit [Ping timeout: 245 seconds]
rockdon has quit [Ping timeout: 245 seconds]
psmolen has quit [Ping timeout: 245 seconds]
g-nom3 has quit [Ping timeout: 245 seconds]
Paradox has joined #ruby
skmp has quit [Ping timeout: 245 seconds]
tylersmith has quit [Ping timeout: 245 seconds]
rockdon has joined #ruby
ghostlines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terrellt has quit [Ping timeout: 245 seconds]
amitchellbullard has quit [Ping timeout: 245 seconds]
skmp has joined #ruby
terrellt has joined #ruby
amitchellbullard has joined #ruby
blackjid has joined #ruby
artgoeshere has joined #ruby
psmolen has joined #ruby
tylersmith has joined #ruby
g-nom3 has joined #ruby
jaequery has joined #ruby
Senjai has joined #ruby
hamakn has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Klumben has joined #ruby
n008f4g_ has quit [Ping timeout: 240 seconds]
iMe has quit [Ping timeout: 244 seconds]
Jetchisel has quit [Ping timeout: 252 seconds]
Guest123 has joined #ruby
yfeldblu_ has quit [Ping timeout: 244 seconds]
iMe has joined #ruby
hesco has joined #ruby
Jetchisel has joined #ruby
davedev24_ has joined #ruby
geefolk has quit [Max SendQ exceeded]
geefolk has joined #ruby
geefolk has quit [Max SendQ exceeded]
ecksit has quit [Ping timeout: 264 seconds]
geefolk has joined #ruby
hesco has quit [Ping timeout: 255 seconds]
geefolk has quit [Max SendQ exceeded]
TgMts has joined #ruby
jud has joined #ruby
jud has joined #ruby
geefolk has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amacou has joined #ruby
dfinninger has joined #ruby
Senjai has quit [Ping timeout: 252 seconds]
Jetchisel has quit [Ping timeout: 252 seconds]
TgMts has quit [Ping timeout: 252 seconds]
starless has quit [Quit: Leaving]
jonr22 has joined #ruby
dfinninger has quit [Ping timeout: 240 seconds]
iMe has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Limix has quit [Quit: Limix]
claptor has quit [Quit: this channel is bakas]
jonr22 has quit [Ping timeout: 250 seconds]
rhg135 is now known as rhg135|zzz
agrinb has quit [Remote host closed the connection]
agrinb has joined #ruby
jlast has joined #ruby
Jetchisel has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Senjai has joined #ruby
Lemur has joined #ruby
work_op has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
jlast has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
wldcordeiro has joined #ruby
swgillespie has joined #ruby
bricker has joined #ruby
jlast has quit [Ping timeout: 244 seconds]
iMe has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
Spami has quit [Client Quit]
iMe has joined #ruby
davedev24_ has quit [Remote host closed the connection]
riotjones has joined #ruby
pu22l3r has joined #ruby
bluOxigen has joined #ruby
Senjai has quit [Ping timeout: 246 seconds]
fabrice31 has joined #ruby
pu22l3r has quit [Ping timeout: 264 seconds]
riotjones has quit [Ping timeout: 252 seconds]
Deele has quit [Ping timeout: 245 seconds]
amacou has quit []
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zorbsOne has joined #ruby
fabrice31 has quit [Ping timeout: 246 seconds]
Darryl___ has joined #ruby
ravenzz has left #ruby [#ruby]
tunaCanBruh has joined #ruby
iMe has quit [Ping timeout: 245 seconds]
sargas has quit [Quit: Leaving]
zachrab has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
hvxgr has quit [Ping timeout: 255 seconds]
Senjai has joined #ruby
iMe has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
zachrab has quit [Ping timeout: 250 seconds]
sleeper has joined #ruby
agrinb has joined #ruby
KnownSyntax has joined #ruby
bwilson has quit [Quit: bwilson]
agrinb has quit [Ping timeout: 265 seconds]
<ghormoon>
hi, is there any easy way to package gem to install on another system? I've got problem with building RedCloth on rhel7, co I'd rather uild it on centos7 which I have dedicated for building rpms and such, so it doesn't matter if I polute it with devel files and such
iMe has quit [Ping timeout: 264 seconds]
jerematic has joined #ruby
Senjai has quit [Ping timeout: 256 seconds]
iMe has joined #ruby
jerematic has quit [Ping timeout: 255 seconds]
iwishiwerearobot has joined #ruby
dfinninger has joined #ruby
LRgraham has quit [Ping timeout: 245 seconds]
wldcordeiro has quit [Ping timeout: 250 seconds]
iwishiwerearobot has quit [Ping timeout: 240 seconds]
dfinninger has quit [Ping timeout: 250 seconds]
speaking1ode has joined #ruby
speakingcode has quit [Ping timeout: 250 seconds]
wookiehangover has quit [Ping timeout: 245 seconds]
geefolk has quit [Quit: Leaving]
Senjai has joined #ruby
iMe has quit [Ping timeout: 245 seconds]
hvxgr has joined #ruby
jlast has joined #ruby
wookiehangover has joined #ruby
lolmaus has joined #ruby
iMe has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
jlast has joined #ruby
joufflu has quit [Read error: Connection reset by peer]
DEA7TH has joined #ruby
nii236|irssi has joined #ruby
joufflu has joined #ruby
duncannz has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
renier_ has joined #ruby
renier has quit [Ping timeout: 245 seconds]
rippa has joined #ruby
davejacobs has joined #ruby
Lewix_ has quit [Remote host closed the connection]
Senjai has quit [Ping timeout: 255 seconds]
Mon_Ouie has joined #ruby
towski_ has joined #ruby
davejacobs has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
towski_ has quit [Remote host closed the connection]
iMe has quit [Ping timeout: 240 seconds]
djellemah has joined #ruby
iMe has joined #ruby
Channel6 has quit [Remote host closed the connection]
Senjai has joined #ruby
rbennacer has joined #ruby
djellemah has quit [Quit: Leaving]
djellemah has joined #ruby
zyxelthrone has quit [Quit: WeeChat 1.1.1]
rbennacer has quit [Ping timeout: 244 seconds]
naftilos76 has joined #ruby
cajone has left #ruby [#ruby]
hollywood has joined #ruby
iMe has quit [Ping timeout: 246 seconds]
zorbsOne has quit [Quit: Leaving]
jonr22 has joined #ruby
iMe has joined #ruby
Morkel has joined #ruby
Senjai has quit [Ping timeout: 240 seconds]
nii236|irssi has quit [Remote host closed the connection]
terlar has joined #ruby
jonr22 has quit [Ping timeout: 255 seconds]
bunbury_ has joined #ruby
dfinninger has joined #ruby
aapole has joined #ruby
adriancb has joined #ruby
hesco has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
dfinninger has quit [Ping timeout: 245 seconds]
echevemaster has joined #ruby
adriancb has quit [Ping timeout: 250 seconds]
Caius has quit [Quit: ""]
Ca1us has joined #ruby
iMe has quit [Ping timeout: 265 seconds]
lessless has joined #ruby
<Cope>
given an array such as [1,2,3], i want to produce a single value by multiplying the first by x, the second by y and the third by z... this feels like a combination of zip and inject... i can bodge something together but is there something clever in the standard library that will help?
iMe has joined #ruby
<Nilium>
Ok, I'm drunk, everything is officially hilarious
Senjai has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jlast has joined #ruby
Takle has joined #ruby
nickjj has quit [Ping timeout: 252 seconds]
sEnC has joined #ruby
sEnC has left #ruby [#ruby]
jerry_tao has quit [Ping timeout: 256 seconds]
pu22l3r has joined #ruby
bMalum has quit [Read error: No route to host]
bMalum has joined #ruby
<sevenseacat>
awesome
jerry_tao has joined #ruby
__main__ has quit [Ping timeout: 246 seconds]
<Hanmac>
Cope like: or do you want to sum it in the end?
<Hanmac>
>> [1,2,3].zip([4,5,6]).map {|a,b| a * b}
<Hanmac>
ghormoon: the best way is to fix your building problems, precompiled packages doesnt always work
fabrice31 has joined #ruby
jlast has joined #ruby
Brando753 has quit [Quit: o_O_o]
pu22l3r has quit [Ping timeout: 246 seconds]
ValicekB has quit [Read error: Connection reset by peer]
<ghormoon>
well, i've already did in meantime, ut that meant pulling packages out of repositories, since some of the -devel packages are not present in rhel, only centos ...
lid_ has quit [Ping timeout: 245 seconds]
echevemaster has quit [Remote host closed the connection]
<Cope>
Hanmac: more like [1,2,3].zip([4,5,6]).flatten.reduce(:*)
<Cope>
Hanmac: right... yes, so my zip and inject feeling was right :)
<Mon_Ouie>
Yeah, that's one way, you could also avoid creating intermediary arrays with Enumerable#lazy, but I'm not sure it actually ends up being faster (or that it matters)
<Mon_Ouie>
(Especially if this is actually for linear algebra stuff)
zachrab has quit [Ping timeout: 250 seconds]
agrinb has joined #ruby
LetErikTry has quit [Quit: sleep]
Spami has joined #ruby
Senjai has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
gokul has quit [Ping timeout: 244 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jerematic has joined #ruby
Lemur has quit [Remote host closed the connection]
Lemur has joined #ruby
Baprath has joined #ruby
hesco has quit [Ping timeout: 252 seconds]
iMe has quit [Ping timeout: 245 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
Baprath has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
Lemur has quit [Ping timeout: 250 seconds]
jerematic has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
codecop has joined #ruby
iwishiwerearobot has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
decoponio has quit [Ping timeout: 264 seconds]
decoponio has joined #ruby
iwishiwerearobot has quit [Ping timeout: 264 seconds]
Senjai has quit [Ping timeout: 252 seconds]
hamakn has joined #ruby
lessless has joined #ruby
hesco has joined #ruby
wosk has joined #ruby
shredding has joined #ruby
govg has joined #ruby
vdamewood has joined #ruby
gokul has joined #ruby
dfinninger has joined #ruby
dfinninger has quit [Ping timeout: 244 seconds]
Lemur has joined #ruby
Senjai has joined #ruby
iMe has quit [Ping timeout: 252 seconds]
bMalum has joined #ruby
paulfm has quit [Quit: Zzzzz...]
wosk has quit [Remote host closed the connection]
iamninja has joined #ruby
The_Phoenix has joined #ruby
iMe has joined #ruby
jlast has joined #ruby
gokul has quit [Ping timeout: 264 seconds]
timmmaaaayyy_ has joined #ruby
felixjet_ has joined #ruby
mikemac has joined #ruby
Deithrian has quit [Read error: Connection reset by peer]
digifiv5e has joined #ruby
yeticry has quit [Ping timeout: 256 seconds]
michael_imac has joined #ruby
Deithrian has joined #ruby
digifiv5e is now known as Guest98385
yeticry has joined #ruby
xybr_ has joined #ruby
timmmaaaayyy has quit [Ping timeout: 264 seconds]
jlast has quit [Ping timeout: 265 seconds]
yfeldblu_ has joined #ruby
krisleech_ has joined #ruby
susmus_ has joined #ruby
jlast has joined #ruby
icarus_ has joined #ruby
pasv__ has joined #ruby
julie_harshaw has joined #ruby
phreakocious_ has joined #ruby
thejoecarroll_ has joined #ruby
hgl has quit [Max SendQ exceeded]
PaulePan1er has joined #ruby
wang_ has joined #ruby
s_e_ has joined #ruby
hesco has quit [Ping timeout: 246 seconds]
ezra_ has joined #ruby
hgl has joined #ruby
n88_ has joined #ruby
Takle has quit [Remote host closed the connection]
rvchangu- has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
Takle has joined #ruby
Akagi201_ has joined #ruby
gokul has joined #ruby
kke_ has joined #ruby
Senjai has quit [Ping timeout: 250 seconds]
Takle has quit [Ping timeout: 264 seconds]
vire has joined #ruby
Takle has joined #ruby
Some-body_ has joined #ruby
lessless has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
icarus has quit [*.net *.split]
felixjet has quit [*.net *.split]
rvchangue has quit [*.net *.split]
Dopagod has quit [*.net *.split]
Akagi201 has quit [*.net *.split]
xybre has quit [*.net *.split]
kt2 has quit [*.net *.split]
crazymykl has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
atourino has quit [*.net *.split]
daynaskully has quit [*.net *.split]
jkyle1 has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
susmus has quit [*.net *.split]
pasv_ has quit [*.net *.split]
lightstalker has quit [*.net *.split]
phreakocious has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
julieeharshaw has quit [*.net *.split]
krisleech has quit [*.net *.split]
n88 has quit [*.net *.split]
s_e has quit [*.net *.split]
ezra has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
wang has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
kke has quit [*.net *.split]
krisleech_ is now known as krisleech
s_e_ is now known as s_e
roger_rabbit has joined #ruby
Some-body_ is now known as DarthGandalf
lkba has quit [Read error: Connection reset by peer]
sleeper is now known as sleeper_
gokul has quit [Ping timeout: 244 seconds]
lightstalker has joined #ruby
hollywood has quit [Quit: Leaving]
gokul has joined #ruby
agrinb has joined #ruby
hollywood has joined #ruby
roger_rabbit has quit [Changing host]
roger_rabbit has joined #ruby
Takle has quit [Ping timeout: 246 seconds]
Takle_ has joined #ruby
hesco has joined #ruby
jerry_tao has quit [Quit: jerry_tao]
Deithrian has quit [Ping timeout: 252 seconds]
PaulePan1er is now known as PaulePanter
agrinb has quit [Ping timeout: 250 seconds]
shredding has quit [Quit: shredding]
Senjai has joined #ruby
roshanavand1 has joined #ruby
jokester has joined #ruby
yeticry has quit [Ping timeout: 250 seconds]
shredding has joined #ruby
<Hanmac>
hey using net/imap what is the best way to get the subject of a mail from a given message_id ?
Morkel has quit [Quit: Morkel]
roshanavand has quit [Ping timeout: 250 seconds]
yeticry has joined #ruby
jonr22 has joined #ruby
jayne_ has joined #ruby
jayne has quit [Read error: Connection reset by peer]
wosk has joined #ruby
TDJACR has quit [Ping timeout: 245 seconds]
Inv1s1ble has quit [Ping timeout: 245 seconds]
LBRapid has quit [Ping timeout: 245 seconds]
CustosL1men has quit [Ping timeout: 246 seconds]
codecop has quit [Quit: Išeinu]
jonr22 has quit [Ping timeout: 240 seconds]
Inv1s1ble has joined #ruby
Deithrian has joined #ruby
LBRapid has joined #ruby
sevenseacat has left #ruby [#ruby]
hmsimha has quit [Ping timeout: 252 seconds]
ByronJohnson has quit [Ping timeout: 256 seconds]
apeiros_ has joined #ruby
Senjai has quit [Ping timeout: 250 seconds]
Kilo`byte has joined #ruby
jimms has joined #ruby
Fire-Dragon-DoL has joined #ruby
TDJACR has joined #ruby
KC9YDN has quit [Ping timeout: 245 seconds]
Seich has quit [Ping timeout: 245 seconds]
larissa has quit [Ping timeout: 245 seconds]
t_p has joined #ruby
Takle_ has quit [Read error: Connection reset by peer]
wosk_ has joined #ruby
larissa has joined #ruby
Seich has joined #ruby
KC9YDN has joined #ruby
wosk has quit [Ping timeout: 255 seconds]
djellemah has quit [Ping timeout: 256 seconds]
BloodyMutt has quit [Read error: Connection reset by peer]
wosk_ has quit [Remote host closed the connection]
jkyle1 has joined #ruby
tvw has joined #ruby
dfinninger has joined #ruby
Senjai has joined #ruby
ByronJohnson has joined #ruby
CrazyM4n has joined #ruby
gokul has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
dfinninger has quit [Ping timeout: 264 seconds]
<crome>
fetch only the envelope
djellemah has joined #ruby
sevenseacat1 has joined #ruby
sevenseacat1 is now known as sevenseacat
<crome>
it's been a while ago since I was in that corner of the stdlib but I can take a look if you still need it
nickjj has joined #ruby
jlast has joined #ruby
adsfz has joined #ruby
Jetchisel has joined #ruby
adsfz has quit [Client Quit]
tunaCanBruh has joined #ruby
Rollabunna has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 250 seconds]
Rollabunna has joined #ruby
jlast has joined #ruby
roshanavand1 has quit [Remote host closed the connection]
Senjai has quit [Ping timeout: 244 seconds]
zachrab has joined #ruby
TgMts has joined #ruby
tunaCanBruh has quit [Ping timeout: 264 seconds]
shredding has quit [Quit: shredding]
Musashi007 has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
zachrab has quit [Ping timeout: 240 seconds]
sleeper_ has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: zzz]
agrinb has joined #ruby
george2 has quit [Ping timeout: 245 seconds]
DonOtreply has joined #ruby
agrinb_ has joined #ruby
etdev has quit [Ping timeout: 245 seconds]
duncannz has quit [Ping timeout: 245 seconds]
awerush has joined #ruby
hostess has quit [Ping timeout: 245 seconds]
KC9YDN has quit [Ping timeout: 245 seconds]
culturelabs has quit [Ping timeout: 245 seconds]
etdev has joined #ruby
epochwolf has quit [Excess Flood]
agrinb has quit [Ping timeout: 250 seconds]
skarn has quit [Ping timeout: 245 seconds]
DogHackit has quit [Ping timeout: 245 seconds]
postmodern has quit [Ping timeout: 245 seconds]
epochwolf has joined #ruby
skarn has joined #ruby
postmodern has joined #ruby
postmodern has joined #ruby
postmodern has quit [Changing host]
DogHackit has joined #ruby
george2 has joined #ruby
culturelabs has joined #ruby
sleeper has joined #ruby
agrinb_ has quit [Ping timeout: 250 seconds]
KC9YDN has joined #ruby
Senjai has joined #ruby
<Hanmac>
crome: i do "imap.fetch(message_id, "ENVELOPE")[0].attr["ENVELOPE"].subject" ... but imo its very long shit for only the subject :/
tens0r has joined #ruby
hostess has joined #ruby
jerematic has joined #ruby
<crome>
yeah, it rings a bell
<crome>
I don't think there is a neater solution using only the stdlib
Razor has joined #ruby
<crome>
let me check though
KC9YDN has quit [Ping timeout: 245 seconds]
sleeper has left #ruby [#ruby]
Razor is now known as Guest12797
Guest12797 has quit [Client Quit]
sudog has quit [Ping timeout: 245 seconds]
SumoBoy has joined #ruby
tens0r has quit [Quit: tens0r]
jerematic has quit [Ping timeout: 264 seconds]
suy|BNC has quit [Ping timeout: 245 seconds]
iMe has quit [Ping timeout: 255 seconds]
iwishiwerearobot has joined #ruby
User458764 has joined #ruby
KC9YDN has joined #ruby
sudog has joined #ruby
Musashi007 has quit [Quit: Musashi007]
suy|BNC has joined #ruby
lessless has joined #ruby
iMe has joined #ruby
Phagus has joined #ruby
elaptics is now known as elaptics_away
User458764 has quit [Read error: Connection reset by peer]
User458764 has joined #ruby
hgl has quit [Ping timeout: 264 seconds]
<Phagus>
What's a good way to store structured data produced by content creators? I don't want a huge system or anything, just something small like Access or Libre Office, but has a web frontend
charliesome has joined #ruby
davidhq has joined #ruby
iwishiwerearobot has quit [Ping timeout: 252 seconds]
KC9YDN has quit [Ping timeout: 245 seconds]
AlexRussia has quit [Ping timeout: 244 seconds]
hgl has joined #ruby
AlexRussia has joined #ruby
bricker has quit [Ping timeout: 250 seconds]
melmouss has joined #ruby
Senjai has quit [Ping timeout: 244 seconds]
joufflu has quit [Read error: Connection reset by peer]
KC9YDN has joined #ruby
SumoBoy has quit [Quit: Leaving]
<Deithrian>
A database?
<crome>
Hanmac: I don't think therei is a better way :/
<Deithrian>
guys is it only on Windows that you get errors like "You have to install development tools first." when trying to install mysql2, while you have the DevKit installed?
<Deithrian>
*mysql2 gem
<Hanmac>
crome hm ok i think i need to live with that ... (what my task is to group emails after some match in the subject)
<wasamasa>
Deithrian: it's on any system lacking a C compiler I assume
<Deithrian>
wasamasa, would ruby development be more carefree on a Linux system?
<wasamasa>
Deithrian: very likely
<crome>
Deithrian: installing the dev tools is not a big fuss, though, it's a one off thing, a few commands and you are set
<wasamasa>
I haven't tested ruby on windows yet, however from my experiences with windows on python it's a pain as soon as you use something wrapping a C library
jgt has joined #ruby
<wasamasa>
especially if you start combining them because there's at least two incompatible ways of building those on windows
<crome>
(but don't expect all the gems with C extension to work properly on windows)
<wasamasa>
then, the reason why I switched was support
<Deithrian>
crome, I have the dev tools installed already, trying to install them again says it skips because they're there, but gem install mysql2 fails with the "install dev tools" message :/
<crome>
oh
<Deithrian>
weird stuff
<Deithrian>
Oh well, gotta have fun testing Linux on SSD now :)
<crome>
or just use a VM
<wasamasa>
^
<wasamasa>
there's preconfigured virtualbox and vmware images
siso has joined #ruby
jimms has quit [Remote host closed the connection]
spider-mario has joined #ruby
<Deithrian>
They're so sluggish :( I can't stand it. My system is not a beast but it's an i5 with 8GB ram and SSD, still everything works as if it's running on 486 in a VM even with lots of ram and two cores allocated.
iMe has quit [Ping timeout: 246 seconds]
KC9YDN has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
<crome>
I think i5's also have the VT extensions
<crome>
so in this respect it's probably not much different from my notebook with an i7 and I run VMs in it
<crome>
depends on which i5 cpu though
<crome>
and which series
mostlybadfly has quit [Quit: Connection closed for inactivity]
Senjai has joined #ruby
iMe has joined #ruby
KC9YDN has joined #ruby
<Deithrian>
crome, it's an i5 2430m
hesco has quit [Ping timeout: 252 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tens0r has joined #ruby
elaptics_away is now known as elaptics
Mia has joined #ruby
<Deithrian>
Maybe it's just me, I'm real twitchy when it comes to performance. Used to reinstall windows every month XD
<wasamasa>
._.
* wasamasa
can't recall the last time he reinstalled his linux machine
CrazyM4n has quit [Remote host closed the connection]
elimS has joined #ruby
m8 has joined #ruby
Nahra has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Morkel has joined #ruby
<wasamasa>
it's kind of funny I'm busier tweaking my text editor than worrying about something as vague as "performance"
dfinninger has joined #ruby
<Deithrian>
wasamasa, I would use Linux too but the drivers for my laptop are not working at all. Last time I tried it wireless was loosing connection every 20 seconds, and no video drivers for switchable graphics that work.
KC9YDN has quit [Ping timeout: 245 seconds]
<wasamasa>
right, broadcom and optimus
* wasamasa
grabs a barf bag
jgt has quit [Ping timeout: 256 seconds]
<Deithrian>
Yeah, the solution on forums was to use another wireless nic, so I got an external one, which was performing well, but when you disable the internal one it disables the external one too lol...
starfox_sf has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
<crome>
but no worries, this years going to be the year of the linux desktop
<wasamasa>
lol
<Deithrian>
It's just a roller coaster of problems with my hardware :/
<Deithrian>
crome, how do you figure?
<wasamasa>
it's a running gag
<crome>
sorry, I forgot to wave my sarcasm sign
<crome>
ever since ubuntu started getting mainstream someone always said that year x was going to be the year linux is going to be as good for desktop as windows/osx
dfinninger has quit [Ping timeout: 246 seconds]
<crome>
"good"
<Deithrian>
They really could have done it when Win 8 came out XD
<wasamasa>
they don't care
<crome>
my notebook is coincidentally "ubuntu certified" or something like that
<wasamasa>
it's a loose collective of people writing and improving (mostly) free software
<crome>
in reality it means that the wifi drops every hour or so :)
<crome>
only
aapole has quit [Ping timeout: 265 seconds]
<wasamasa>
unlike a company like microsoft or apple
<crome>
well, there has been quite some improvement lately
<crome>
things like dbus
jlast has joined #ruby
<Deithrian>
crome same here, certified and wifi drops.
<crome>
you can always try newer kernels and firmware
<Deithrian>
I'll do just that, I think it's been a year since I last tried xubuntu :)
centrx has joined #ruby
hesco has joined #ruby
KC9YDN has joined #ruby
tkuchiki has joined #ruby
<Deithrian>
not holding my breath though, especially for the video drivers. Without them the machine is going hot, with them I can't use dual monitors because artifacts lol
<Deithrian>
I really wish they would focus on drivers instead of unity and gnome 12 and kde 44
<crome>
although until something is done with power management in linux it is always going to be just a weird toy on notebooks
Lemur has quit [Remote host closed the connection]
<Deithrian>
I thought they have it enabled by default now?
jlast has quit [Ping timeout: 265 seconds]
Lemur has joined #ruby
iMe has quit [Ping timeout: 265 seconds]
<crome>
it's incredibly complicated to configure
Senjai has quit [Ping timeout: 246 seconds]
<crome>
there are several packages that somehow make up the functionality
jlast has joined #ruby
<centrx>
Laptops are weird toys now unless they get 12 hours of power?
<crome>
centrx: I didn't mean battery life
akas has quit [Remote host closed the connection]
iMe has joined #ruby
Dopagod has joined #ruby
nfk has joined #ruby
<crome>
but rather things like telling the system what to do when I clsoe the lid
KC9YDN has quit [Ping timeout: 245 seconds]
<wasamasa>
that's an entry in /etc/systemd/logind.conf here
<wasamasa>
where I use a "HandleLidSwitch=ignore"
<crome>
that's a distro specific setting. and then you have event handlers wired by your desktop environment (if you use one)
<wasamasa>
no, it's not
tens0r has left #ruby [#ruby]
lid_ has quit [Ping timeout: 244 seconds]
<wasamasa>
thank systemd
<crome>
well, sure as hell I'm not using systemd
agrinb has joined #ruby
Lemur has quit [Ping timeout: 250 seconds]
<wasamasa>
it's only a matter of time
<crome>
right now it is a distro specific thing
jlast has quit [Ping timeout: 244 seconds]
<wasamasa>
soon pretty much everything relevant will be using it
<wasamasa>
even debian!
hesco has quit [Ping timeout: 252 seconds]
KC9YDN has joined #ruby
<crome>
haha :D
<wasamasa>
because someone decided to tackle the hard problems with init systems and whipped up something that works better
<wasamasa>
wayland is a similiar story, though it will take more time
<crome>
I don't have anything against systemd it just feels like early to switch to on distros that don't support it ouf of the box
<crome>
guess I would end up rewriting half my init scripts for it
wottam has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
<wasamasa>
the nice part is that most of these turn into config files
<wasamasa>
no silly race conditions, no boilerplate
<wasamasa>
you even have docs!
<crome>
I can see a problem with that
KC9YDN has quit [Ping timeout: 245 seconds]
<crome>
you can only rely on configuration directives provided by systemd
<wasamasa>
yes, there's going to be people who prefer reading a horrible shell script file
<wasamasa>
or actually rely on broken behaviour
<crome>
coming back to power management, if systemd doesn't have a "suspend only when there are no external displays or audio jack plugged in" setting then one would have to write their own handler scripts anyway
KC9YDN has joined #ruby
<wasamasa>
you can use a more advanced daemon, yes
<wasamasa>
like upowerd to handle low battery events
<wasamasa>
which is what pretty much all desktop environments do use already, mind you
<crome>
upowerd is almost a good thing
<crome>
but it ended up not being smart enough so distros started forking it :D
<crome>
and now it's a mess
djellemah has quit [Ping timeout: 245 seconds]
mahmoudmahfouz has joined #ruby
mahmoudmahfouz has quit [Client Quit]
timonv has quit [Ping timeout: 250 seconds]
Senjai has joined #ruby
jonr22 has joined #ruby
Morkel has quit [Quit: Morkel]
djellemah has joined #ruby
<crome>
and then there is acpid which has some overlapping functionality
psyprus has quit [Read error: Connection reset by peer]
mathie has joined #ruby
Brando753 has joined #ruby
Guest98385 has quit [Changing host]
Guest98385 has joined #ruby
Guest98385 is now known as daynaskully
psyprus has joined #ruby
chinmay_dd has joined #ruby
quazimodo has joined #ruby
<quazimodo>
yo anyone alive?
<wasamasa>
nope
<quazimodo>
hey wasamasa
<quazimodo>
oh you emacs too?
iMe has joined #ruby
<wasamasa>
yes
<quazimodo>
you're now my cool emacs and ruby friend
<quazimodo>
onto interesting stuff
Nahra has joined #ruby
Hobogrammer has quit [Ping timeout: 244 seconds]
<quazimodo>
dictionary.each_line do |line|; cleaned = line.gsub /[^A-Za-z0-9]/, ""; <- that takes *forever*
<quazimodo>
the gsub is slow as butts
<crome>
damn. emacs seems to have a lot nicer community
<crome>
I don't have any vim friends :'(
<wasamasa>
just walk over to your local hackerspace
gokul has joined #ruby
<yxhuvud>
quazimodo: are there any difference if you remove all objects you don't have to create inside the loop to the outside of it? I'm thinking of the regexp and of the empty string.
<apeiros_>
yxhuvud: with second arg == "", just use String#delete
blizzy has joined #ruby
kirun has joined #ruby
JBreit has joined #ruby
gokul has quit [Ping timeout: 246 seconds]
<yxhuvud>
apeiros: even better. My point was not to use a regexp for this.
<quazimodo>
apeiros_: i'm going through a dict to find anagrams, if i gsub the entire thing i lose lots of stuff. I want to gsub out non alphanumerics on a line (but keep the original string), then add the original string to a hash with a key being the sorted new string
<apeiros_>
quazimodo: unless you pasted fake code, it'd be equivalent
<quazimodo>
apeiros_: dog's is not the same as dogs
<apeiros_>
*sob*
<quazimodo>
but i'm assuming punctuation isn't part of the anagram (is it?)
<apeiros_>
not in the mood
<quazimodo>
what's wrong?
pu22l3r has joined #ruby
<quazimodo>
yxhuvud: so i'd have to give a 'blacklist' to tr to replace out, rather than a white list (alphanumerics) to keep
Brando753 has quit [Quit: o_O_o]
<quazimodo>
crome: emacs group is usually quite nice to me
mahmoudmahfouz has joined #ruby
fabrice31 has joined #ruby
iMe has quit [Ping timeout: 250 seconds]
pu22l3r has quit [Ping timeout: 240 seconds]
oleo has joined #ruby
<yxhuvud>
quazimodo: regardless, you are still creating twice the amount of objects each iteration compared to what you need to.
DadoCe has joined #ruby
<yxhuvud>
though I suppose the costs of the other lines may dominate that. You may have to benchmark to see exactly what part it is that is slow
User458764 has joined #ruby
iMe has joined #ruby
Notte has joined #ruby
n008f4g_ has joined #ruby
<quazimodo>
yxhuvud: yeah see i don't understand what you mean
<quazimodo>
i'm having a 'cloudy brain' day actually
<quazimodo>
i'm creating objects, ok hold up let me look
oleo__ has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
iamninja has quit [Ping timeout: 246 seconds]
<quazimodo>
so i end up with line, cleaned and sorted. well actually I'm not sure how else to do this without creating all 3?
dys has joined #ruby
<yxhuvud>
you can break out objects that you create over and over outside the loop, eg filter=/[^abc]/; es = ""; dict.each_line {|l| l.gsub filter, es }
Senjai has joined #ruby
<quazimodo>
yxhuvud: that's reasonable, i forgot that / / is syntactic sugar for creating a new regex object
<apeiros_>
-sugar
DadoCe has quit [Ping timeout: 264 seconds]
gokul has joined #ruby
<quazimodo>
is syntax for creating...
<yxhuvud>
I doubt you will get much improvement though, with the .chars later on which will end up creating lots of objects as well
<quazimodo>
yeah
<quazimodo>
didn't know how else to sanely sort a string
<quazimodo>
without writing something to do it anyway
Morkel has joined #ruby
maximski has joined #ruby
Deithrian has quit [Read error: Connection reset by peer]
User458764 has quit [Ping timeout: 255 seconds]
tunaCanBruh has joined #ruby
dfinninger has joined #ruby
Notte has quit [Remote host closed the connection]
timonv has joined #ruby
zachrab has joined #ruby
skj3gg has joined #ruby
Takle has joined #ruby
Xiti` has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
dfinninger has quit [Ping timeout: 256 seconds]
<quazimodo>
yxhuvud: pulling the filter out did not much actually
Troy^ has joined #ruby
mathie_ has joined #ruby
gokul has quit [Ping timeout: 256 seconds]
mostlybadfly has joined #ruby
zachrab has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
Darryl___ has quit [Quit: Connection closed for inactivity]
Xiti has quit [Ping timeout: 246 seconds]
gokul has joined #ruby
Takle_ has joined #ruby
mathie has quit [Ping timeout: 252 seconds]
Takle has quit [Ping timeout: 255 seconds]
mathie has joined #ruby
Troy^ has quit [Ping timeout: 246 seconds]
iMe has quit [Ping timeout: 264 seconds]
Senjai has quit [Ping timeout: 256 seconds]
mahmoudmahfouz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jlast has quit [Ping timeout: 250 seconds]
iMe has joined #ruby
timonv has quit [Ping timeout: 250 seconds]
mathie_ has quit [Ping timeout: 252 seconds]
jlast has joined #ruby
jerematic has joined #ruby
User458764 has joined #ruby
hesco has quit [Ping timeout: 264 seconds]
skj3gg has quit [Quit: ZZZzzz…]
jlast has quit [Ping timeout: 265 seconds]
gokul has quit [Ping timeout: 265 seconds]
jerematic has quit [Ping timeout: 246 seconds]
hiyosi has joined #ruby
gokul has joined #ruby
goodenough has quit [Remote host closed the connection]
mathie_ has joined #ruby
iwishiwerearobot has joined #ruby
jimms has joined #ruby
mathie has quit [Ping timeout: 245 seconds]
prasselpikachu has joined #ruby
mathie has joined #ruby
Senjai has joined #ruby
bonhoeffer has joined #ruby
naftilos76 has quit [Remote host closed the connection]
bMalum_ has joined #ruby
iwishiwerearobot has quit [Ping timeout: 255 seconds]
TgMts_ has quit [Quit: No Ping reply in 180 seconds.]
tunaCanBruh has joined #ruby
robbyoconnor has quit [Ping timeout: 255 seconds]
TgMts has joined #ruby
iMe has quit [Ping timeout: 256 seconds]
jerematic has quit [Ping timeout: 244 seconds]
monod has joined #ruby
iMe has joined #ruby
TripTastic has joined #ruby
aapole has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
serivich has joined #ruby
zachrab has joined #ruby
JBreit has quit [Ping timeout: 246 seconds]
hamakn has quit [Remote host closed the connection]
zyxelthrone has joined #ruby
iamjarvo has quit [Ping timeout: 255 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
druznek has joined #ruby
zachrab has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
lessless has joined #ruby
Senjai has joined #ruby
Notte has joined #ruby
atomical has joined #ruby
chinmay_dd has quit [Quit: Connection closed for inactivity]
Notte has quit [Client Quit]
TgMts has quit [Ping timeout: 246 seconds]
Phagus has quit [Quit: leaving]
dfinninger has joined #ruby
iMe has quit [Ping timeout: 245 seconds]
TgMts has joined #ruby
fantazo has quit [Quit: Verlassend]
dfinninger has quit [Ping timeout: 250 seconds]
chimmy has joined #ruby
iMe has joined #ruby
jlast has joined #ruby
djellemah has joined #ruby
iwishiwerearobot has joined #ruby
soxet has joined #ruby
Senjai has quit [Ping timeout: 255 seconds]
jlast has quit [Ping timeout: 250 seconds]
kostitas has quit [Quit: Leaving]
jlast has joined #ruby
jimms has quit [Remote host closed the connection]
jerius has joined #ruby
terlar has quit [Ping timeout: 250 seconds]
iwishiwerearobot has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
chimmy has quit [Remote host closed the connection]
druznek has quit [Quit: Leaving]
aapole has quit [Ping timeout: 246 seconds]
jlast has quit [Ping timeout: 250 seconds]
lys has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
Senjai has joined #ruby
tier has joined #ruby
jimms has joined #ruby
shaquile has quit [Ping timeout: 250 seconds]
Freelusion has joined #ruby
shaquile has joined #ruby
Freelusion has quit [Client Quit]
iMe has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
iMe has joined #ruby
mistnim has joined #ruby
TgMts has joined #ruby
Morkel has joined #ruby
riotjones has joined #ruby
tus has joined #ruby
<mistnim>
hello, I'm on fedora21, I do ruby install jekyll, it does install it, ok, than I go to install another package, and now "ruby install any_package" always gives me "/usr/bin/ruby-mri: No such file or directory -- install (LoadError)"
<centrx>
I think you are looking for: gem install <gem name>
aapole has joined #ruby
<centrx>
ruby install does not do anything
<mistnim>
oh
<centrx>
unless maybe if you happen to be in a directory with a file named "install.rb"
lxsameer has joined #ruby
<mistnim>
but is it ok to install packages without root?
<centrx>
yes
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
djellemah has quit [Ping timeout: 245 seconds]
mahyuddin has joined #ruby
mahyuddin is now known as panji_alam
riotjones has quit [Ping timeout: 250 seconds]
Senjai has quit [Ping timeout: 252 seconds]
Freelusion has joined #ruby
Freelusion has quit [Client Quit]
zyxelthrone has quit [Quit: WeeChat 1.1.1]
zyxelthrone has joined #ruby
zyxelthrone has quit [Client Quit]
zyxelthrone has joined #ruby
jerius has quit []
panji_alam has quit []
JBreit has joined #ruby
jimms has quit [Remote host closed the connection]
TripTastic has quit [Ping timeout: 265 seconds]
zyxelthrone has quit [Client Quit]
iMe has quit [Ping timeout: 264 seconds]
MasterPiece has quit [Quit: Leaving]
iMe has joined #ruby
<atmosx>
hello
leafybasil has joined #ruby
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
dreinull75 has quit [Remote host closed the connection]
dreinull75 has joined #ruby
mahmoudmahfouz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx>
Hm, jhass my integer are fixed size, but I'm not sure how the 32bit/64bit thing works here. It's just integers ranging say from 0 to 100000
<jhass>
it's simple, the maximum value you can store is 2**bitsize
r0bby_ has quit [Ping timeout: 250 seconds]
<jhass>
or rather that's the amount of values you can store
<jhass>
then there's signed and unsigned
<jhass>
that is whether you have negative values or not
<jhass>
if you have them, you need one bit to mark it positive or negative
<jhass>
since you don't, you can use an unsigned one
<atmosx>
Unsigned: From 0 to 4,294,967,295 which equals 232 − 1 (from wikipedia)
<atmosx>
so I can use 32bit unsigned
<atmosx>
I don't think anyone in my queue will need more than 4 billion numbers in 24 hours.
sivoais has quit [Ping timeout: 255 seconds]
zachrab has quit [Ping timeout: 264 seconds]
<jhass>
yeah, 24bit would be enough too, but pack doesn't seem to provide that directly
<jhass>
you need to split it up into a 8bit and 16bit one first
<jhass>
you would*
fabrice31 has joined #ruby
tmtwd has quit [Remote host closed the connection]
iMe has quit [Ping timeout: 264 seconds]
Morkel has quit [Quit: Morkel]
lioninawhat has joined #ruby
iMe has joined #ruby
<waxjar>
jhass, can you query on the array elements in psql? e.g. if you have a posts table and a tags table, does storing the tags in an array eliminate the need for creating a table linking a post_id to a tag_id?
tunaCanBruh has joined #ruby
<jhass>
you sort of can, but I'm not sure it would be more efficient
<jhass>
you would want an index on it and I can't imagine that would end up being smaller than with the classic approach
fabrice31 has quit [Ping timeout: 245 seconds]
<atmosx>
jhass: but you have to know the size of the array right?
OrbitalKitten has joined #ruby
<atmosx>
jhass: otherwise String#unpack doesn't know how chars to expect..
<atmosx>
hm no I don't wanna mess in to this right now, it's just a prototype. If it ever becomes a product then I'll look into it. Thanks
sivoais has joined #ruby
blizzy has quit [Ping timeout: 255 seconds]
<atmosx>
for the hint, it's cool stuff
<jhass>
oh, you don't need the size for String#unpack either
<jhass>
L* just eats as much as it can
tkuchiki has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 264 seconds]
<atmosx>
oh nice
<kr1shnak>
Hi. Has anyone ever try to launch the osacript command and pass it arguments from a Ruby script?
jerematic has quit [Ping timeout: 256 seconds]
<jhass>
what's osacript?
aapole has quit [Ping timeout: 264 seconds]
<kr1shnak>
its the command you use to run an Applescript from the terminal
User458764 has quit [Ping timeout: 246 seconds]
mahmoudmahfouz has joined #ruby
<jhass>
so you just shell out to it?
<kr1shnak>
yes
<jhass>
Kernel#system/Kernel#spawn/Kernel#` depending on your needs
<jhass>
open3/subprocess stdlib if the above don't feed your needs
<jhass>
*fit
Channel6 has joined #ruby
User458764 has joined #ruby
<kr1shnak>
well I have been trying some of those, and I get a problem where the AppleScript only seems to receive the first argument I pass to it, and then the shell tries to execute the second argument as if it was a command itself
zyxelthrone has joined #ruby
Hanmac has quit [Ping timeout: 244 seconds]
Senjai has quit [Ping timeout: 265 seconds]
<jhass>
show code
<shevy>
show skin!
dfinninger has joined #ruby
<kr1shnak>
ok hang on
<shevy>
jhass did you have a look at the language nim yet?
<shevy>
I know you are busy with crystal
<wasamasa>
nim isn't ruby-like enough
agrinb has joined #ruby
timonv has joined #ruby
<wasamasa>
how dare you suggest he had a look at it
iMe has quit [Ping timeout: 264 seconds]
<atmosx>
rust
<atmosx>
is nice
<atmosx>
and fast
<atmosx>
and rusty
<shevy>
wasamasa yeah the syntax is kinda strange
<shevy>
but let's be honest here, ruby has a very good syntax
<icbm>
Rust is the answer for those of us who want to be in the C++ solution space but hate C++.
r0bby_ has joined #ruby
<wasamasa>
shevy: well, I already have another language compiling to C, so I didn't look much at nim either
<darkswordchris>
havenwood: Thanks, now I know what to search for :)
<wasamasa>
kr1shnak: there's also a pretty interesting blog about another programming language that uses ruby as example to demonstrate what can go wrong when shelling out
TgMts has quit [Quit: No Ping reply in 180 seconds.]
confucius has joined #ruby
confucius has quit [Max SendQ exceeded]
aphprentice_ has quit [Ping timeout: 265 seconds]
Hanmac has joined #ruby
TgMts has joined #ruby
confucius has joined #ruby
confucius has quit [Max SendQ exceeded]
dfinninger has quit [Remote host closed the connection]
KC9YDN has quit [Ping timeout: 245 seconds]
iwishiwerearobot has quit [Ping timeout: 256 seconds]
thebastl has joined #ruby
twistedpixels is now known as zz_twistedpixels
confucius has joined #ruby
<kr1shnak>
I just tried using the array form of system() and it worked a treat
<kr1shnak>
:)
confucius has quit [Max SendQ exceeded]
<shevy>
\o/
confucius has joined #ruby
spider-mario has quit [Remote host closed the connection]
zorak8 has quit [Ping timeout: 240 seconds]
<shevy>
this is sparta!
jenrzzz has joined #ruby
<shevy>
sorry
<shevy>
wrong idiom
<shevy>
this is ruby!
confucius has quit [Max SendQ exceeded]
<atmosx>
hahaha
iMe has quit [Ping timeout: 250 seconds]
<atmosx>
Sparta
nobitanobi has joined #ruby
serivich has quit [Ping timeout: 252 seconds]
jlast has joined #ruby
confucius has joined #ruby
KC9YDN has joined #ruby
confucius has quit [Max SendQ exceeded]
<kr1shnak>
heh
iMe has joined #ruby
confucius has joined #ruby
<shevy>
atmosx how do greek people see that by the way? in like austria we'd say... athens, there were the clever people... and sparta, there were the rough brutal but strong barbarians
confucius has quit [Max SendQ exceeded]
confucius has joined #ruby
confucius has quit [Max SendQ exceeded]
jenrzzz has quit [Ping timeout: 264 seconds]
mistnim` has joined #ruby
<atmosx>
shevy: Well, hm. It's a little naive as a view. We study a lot both communities in school. It's more complicated than that, but you *could* say that. I mean the position of women for example in Sparta was paramount while in Athens they didn't have any rights.
<shevy>
the man is the king!
<atmosx>
I think, I have a pretty decent skeleton :D... I need to buy the hardware now.
jlast has quit [Ping timeout: 252 seconds]
confucius has joined #ruby
<centrx>
damn Lacedominians
<atmosx>
shevy: well, kinda. On the other hand Democracy and Philosophy were born in Athens so it's hard to argue that Sparta was more *advanced* at any level...
<atmosx>
at any definition of *clever*
confucius has quit [Max SendQ exceeded]
mistnim has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
confucius has joined #ruby
confucius has quit [Max SendQ exceeded]
<shevy>
oh yeah
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy>
I am reading a book about rhetorics right now. it kinda starts with... I forgot haha... I think it was Plato? or wait... his student I think... Sokrates right? I think Plato hated rhetorics and was suspicious
Morkel has joined #ruby
<shevy>
wait
<shevy>
it was Aristoteles I think
<atmosx>
Socrates -> Platoo -> Aristoteles
<shevy>
he wrote some famous book
confucius has joined #ruby
<shevy>
yeah!
<shevy>
see how good I remember stuff haha
zz_twistedpixels is now known as twistedpixels
confucius has quit [Max SendQ exceeded]
<shevy>
but it is cool how far the old greeks got without modern tools. like the democrit atom model
<centrx>
it's Playdoh
<atmosx>
Actually Platoo is the most famous philosophy in the history of the western world, but all he did was describe largely the life of Socrates through his eyes
<shevy>
hehe sounds like a lazy bum
confucius has joined #ruby
<atmosx>
Aristotle was the first 'scientist' of sorts. Tried to define some sort of scintific method, but also redefined some of Platoo's argumetns, etc.
darkswordchris has quit [Quit: Page closed]
confucius has quit [Max SendQ exceeded]
<atmosx>
shevy: Like the Sieve of Eratosthenes hehe
dfinninger has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
confucius has joined #ruby
<atmosx>
shevy: yeah it's fascinating stuff. I've not extremely proficient with Platoo's work, I know the titles, dates, but the texts per se the analysis. It's not easy, although they were 2.500 years back, many assertions are made mind-blowing.
x77686d has joined #ruby
<atmosx>
they *made* are mind-blowing.
confucius has quit [Max SendQ exceeded]
jlast has quit [Ping timeout: 250 seconds]
TgMts has joined #ruby
confucius has joined #ruby
<atmosx>
shevy: platoo was basically sayign that you already *know* ruby. All you have to do is remember that you know... Because knowledge is already within you.
havenwood has quit [Remote host closed the connection]
jaequery has joined #ruby
coinrookie has quit [Read error: Connection reset by peer]
banister has joined #ruby
havenwood has joined #ruby
coinrookie has joined #ruby
roolo has joined #ruby
MikeRogers0 has quit [Remote host closed the connection]
<SumoBoy>
folks i need to fully understand a very basic concept in ruby (the conversions)
MikeRogers0 has joined #ruby
<SumoBoy>
for instance 555.55.to_f ,,will not change any thing casuse basically this afloat ,
<SumoBoy>
85.333.to_i ----> will puts 85 cause that is a conversion from float to integer
<SumoBoy>
but what i can't understand well is (20.to_s) that's a conversion from number to a string whice i can't understand it well . how logically a number convert to a string
<SumoBoy>
?
MikeRogers0 has quit [Client Quit]
jlast has joined #ruby
<shevy>
SumoBoy it will return a string object
centrx is now known as HireThisJobAppli
<shevy>
the content of the string object can be "" or "20" or any other string
<reber>
hi. Got a problem after rvm install. I need to source ~/.rvm/scripts/rvm for every terminal i open. How to fix this please ? (sry it's a rvm problem but ...)
Troy^ has joined #ruby
timonv has joined #ruby
<zleslie>
waxjar: for some reason, its skilling the down and returning 'absent'
<zleslie>
*skipping
luriv_ has joined #ruby
x77686d has quit [Ping timeout: 264 seconds]
iMe has quit [Ping timeout: 246 seconds]
zachrab has quit [Ping timeout: 240 seconds]
<zleslie>
reber: put the source line in your bashrc or similar
<reber>
even if this source line is in my .bash_profile
riotjones has joined #ruby
<zleslie>
does $SHELL contain bash?
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lioninawhat has quit [Read error: Connection reset by peer]
amclain has joined #ruby
lioninawhat has joined #ruby
riotjones has quit [Ping timeout: 252 seconds]
<shevy>
is it code smell when we use .dup for input that derives from ARGV? such as def foo(i = ARGV); i = i.first.dup unless i.empty?
Yzguy has quit [Quit: I'm sleeping, go away.]
davejacobs has joined #ruby
mistnim` has quit [Remote host closed the connection]
mistnim` has joined #ruby
tjohnson has joined #ruby
Megtastique has joined #ruby
aapole has joined #ruby
Hanmac has joined #ruby
lioninawhat has quit [Remote host closed the connection]
<waxjar>
why would you do that shevy?
swgillespie has joined #ruby
mistnim` has quit [Remote host closed the connection]
<reber>
zleslie, no
JBreit has quit [Ping timeout: 245 seconds]
<shevy>
waxjar so I can freely modify e. g. @ivars that derive from external input
adriancb has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
hesco has quit [Ping timeout: 240 seconds]
davejacobs has quit [Ping timeout: 264 seconds]
Megtastique has quit [Client Quit]
athan has quit [Quit: No Ping reply in 180 seconds.]
swgillespie has quit [Client Quit]
bwilson has joined #ruby
crazysim has joined #ruby
athan has joined #ruby
<waxjar>
i wouldn't call it a code smell then, the mutating that happens afterwards might be, though
last_staff has joined #ruby
bMalum has joined #ruby
blackmesa has joined #ruby
agrinb has joined #ruby
swgillespie has joined #ruby
nolic has quit [Quit: Quitte]
JBreit has joined #ruby
athan has quit [Read error: Connection reset by peer]
tunaCanBruh has joined #ruby
User458764 has joined #ruby
daynaskully has quit [Quit: quit]
<reber>
zleslie, removed from .bash_profile to .bashrc it worked thanks
agrinb has quit [Ping timeout: 265 seconds]
starfox_sf has joined #ruby
athan has joined #ruby
freerobby has quit [Quit: Leaving.]
iMe has quit [Ping timeout: 240 seconds]
tunaCanBruh has quit [Ping timeout: 245 seconds]
Hanmac has quit [Ping timeout: 245 seconds]
quazimodo has quit [Ping timeout: 255 seconds]
iMe has joined #ruby
quazimodo has joined #ruby
hesco has joined #ruby
TripTastic has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
shredding has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JBreit has quit [Ping timeout: 264 seconds]
hollywood has quit [Quit: Leaving]
timonv has quit [Ping timeout: 246 seconds]
Rhainur has joined #ruby
scripore has joined #ruby
elaptics is now known as elaptics_away
<Rhainur>
hey guys, got a question about naming a method. If I have a model Employee who has certain times at which he/she is available for a meeting, and I want to write a method that takes a start and end time and returns true/false for availability, should I call that Employee.is_available_during(start_time, end_time) or Employee.available?(start_time, end_time) or something else?
xiq has joined #ruby
hesco has quit [Ping timeout: 264 seconds]
ponga has joined #ruby
razrunelord has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aapole has quit [Ping timeout: 244 seconds]
b4rbz has joined #ruby
<shevy>
Rhainur if shorter is possible then go for shorter
<Rhainur>
it's gotta be readable though
<shevy>
well
<shevy>
in one case you have a '?'
<shevy>
in the other you don't
<shevy>
so it is not trivial to want to compare
ponga has quit [Ping timeout: 256 seconds]
pu22l3r has joined #ruby
DouweM has quit [Quit: Leaving...]
phoo1234567 has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
pu22l3r has quit [Ping timeout: 240 seconds]
hesco has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
iMe has joined #ruby
davidhq has joined #ruby
phoo1234567 has joined #ruby
monod has quit [Ping timeout: 240 seconds]
Vivex has joined #ruby
jlast has joined #ruby
jonr22 has joined #ruby
bwilson has quit [Quit: bwilson]
bMalum has quit [Quit: bMalum]
Fractional has joined #ruby
bricker has joined #ruby
cocotton has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
<Fractional>
Hi, why does my gem have problem finding my classes? For instance when I write: require 'Gosuplus'; window = new Gosuplus::Window I get the error: Undefined method Window. Please help me! https://github.com/Freddan962/GosuPlus
zachrab has joined #ruby
jonr22 has quit [Ping timeout: 250 seconds]
Brando753 has joined #ruby
jlast has joined #ruby
athan has quit [Ping timeout: 244 seconds]
<Fractional>
It can however find the test method.
<Fractional>
Sorry the error was: unintializec constant Gosuplus::Window <NameError>
akkad has quit [Ping timeout: 245 seconds]
zachrab has quit [Ping timeout: 256 seconds]
jlast has quit [Ping timeout: 240 seconds]
athan has joined #ruby
<waxjar>
i think because you don't require your files properly
<Fractional>
waxjar, is my path wrong?
<waxjar>
Dir['/Gosuplus/.*rb'].each {|file| require file} will look at /Gosuplus on the top level of your file system i think
fantazo has quit [Quit: Verlassend]
<Fractional>
What path would you use in this case?
zleslie has left #ruby [#ruby]
<waxjar>
i'd just require my files manually, per file
<Fractional>
So many files to require though.. *cough*
lys has joined #ruby
<waxjar>
e.g. if lib/window.rb depends on lib/helpers/foo.rb, require it in lib/window.rb
<waxjar>
*lib/gosuplus
akkad has joined #ruby
athan has quit [Client Quit]
iMe has quit [Ping timeout: 255 seconds]
digifiv5e has joined #ruby
digifiv5e is now known as Guest30481
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
agrinb has joined #ruby
sent1nel has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
athan has joined #ruby
iMe has joined #ruby
razrunelord has quit []
pengin has joined #ruby
chrishough has joined #ruby
olivier_bK has quit [Ping timeout: 252 seconds]
agrinb has quit [Ping timeout: 265 seconds]
reber has quit [Remote host closed the connection]
joufflu has joined #ruby
cocotton has quit [Remote host closed the connection]
Hanmac has joined #ruby
Soda has joined #ruby
athan has quit [Ping timeout: 252 seconds]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
side notes then: ruby community standard is 2 spaces for indentation, if ! is better written as unless
<apeiros_>
xiq: you can probably make your code simpler if you calculate the theoretical new position first, then check for collision and then decide whether the new position will replace the current.
<xiq>
oh sorry, I forgot to point out
Megtastique has quit [Client Quit]
vozcelik has joined #ruby
<jhass>
the return keyword in 14 is not needed
hyperdrive has joined #ruby
<apeiros_>
and "check for collision" - pass in the new position. otherwise you do work twice.
Hanmac has joined #ruby
<xiq>
dudes wait a second :)
<apeiros_>
second is up! quick!
<apeiros_>
;-)
<jhass>
beeeep, times up, have a nice day!
<xiq>
not so fast my hand is hurt lol
<xiq>
the problem is different - i think I don't quit understand the concept of modularity or the implementation therof
jlast has quit [Ping timeout: 250 seconds]
<shevy>
your hand is hurting
<xiq>
the main class (a window) creates a scene - a scene is a switchable thing like a state that the game can be in
<shevy>
your head should rather be hurting!
twistedpixels is now known as zz_twistedpixels
<xiq>
it is too, trust me
<shevy>
hehe
<xiq>
now there's a scene called 'ScenePlayerInfo' that shows information about the player
jlast has joined #ruby
skj3gg has joined #ruby
shredding has quit [Quit: shredding]
<xiq>
and in this scene, a player object is instantiated
DadoCe has joined #ruby
<xiq>
the problem is, gosu wants you to declare a window when you load an image. But how can I reference the window from inside the player class?
<xiq>
so my problem is actually on line 5
<apeiros_>
you pass it in
<apeiros_>
and store it
gokul has quit [Ping timeout: 246 seconds]
<shevy>
yeah
<shevy>
like beer
<jhass>
you store beer?
<shevy>
ok you got me there
<jhass>
that's what I'm doing wrong all the time...
<apeiros_>
or you use the singleton pattern and have a globally accessible window instance
gokul has joined #ruby
<shevy>
yeah, I buy at max like only 1 beer per week and drink it
startupality has joined #ruby
zz_twistedpixels is now known as twistedpixels
juancaman has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
vozcelik has quit [Ping timeout: 250 seconds]
agrinb has joined #ruby
lessless has joined #ruby
twistedpixels is now known as zz_twistedpixels
agrinb has quit [Ping timeout: 250 seconds]
zz_twistedpixels is now known as twistedpixels
blackmesa has quit [Quit: WeeChat 1.1.1]
lightstalker has quit [Ping timeout: 246 seconds]
sent1nel has quit [Read error: Connection reset by peer]
sent1nel has joined #ruby
twistedpixels is now known as zz_twistedpixels
aapole has joined #ruby
pu22l3r has joined #ruby
MaciejCzyzewski has joined #ruby
<xiq>
apeiros_: i tried with using a global variable but that didn't quite work out
maletor has joined #ruby
<xiq>
I sometimes think that the more I learn, the more I start to overcomplicate stuff
<xiq>
and then it gets so much more complicated inside of my head than it really is
<xiq>
and as a result i'm endlessly procrastinating because I can't find a way to express my thoughts in code anymore
Dopagod has quit [Ping timeout: 245 seconds]
lidaaa has joined #ruby
<xiq>
also I wonder why a resource needs to declare a window in its creation
joufflu has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
Megtastique has joined #ruby
Megtastique has quit [Client Quit]
davejacobs has joined #ruby
gsd has joined #ruby
lightstalker has joined #ruby
dmbennett has quit [Remote host closed the connection]
<juancaman>
dat feel bro
<djellemah>
xiq: Sometimes it helps to think of what needs to be where so you can give the right things to the api you're using. And how to do that in the easiest (both for you and for the cpu) way.
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has quit [Ping timeout: 244 seconds]
gokul has quit [Ping timeout: 245 seconds]
Megtastique has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
uglybandersnatch has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
soxet has quit [Quit: Leaving]
zachrab has joined #ruby
<xiq>
still nothing
jonr22 has quit [Ping timeout: 252 seconds]
mikemac has joined #ruby
athan has quit [Ping timeout: 265 seconds]
zachrab has quit [Ping timeout: 250 seconds]
crazymykl has quit [Ping timeout: 252 seconds]
slyv has joined #ruby
<bradland>
xiq: i try to develop toward an API that makes sense to me, rather than trying to think too hard about the computer sciency bits
jlast has joined #ruby
bwilson has quit [Quit: bwilson]
<bradland>
i think about the things i'm trying to achieve, and how they group together logically
<bradland>
i have to refactor a lot, because i almost never get it right the first time
<bradland>
but it works better than dumping too much effort in up-front and stalling
nolic has quit [Remote host closed the connection]
<xiq>
yeah you're probably right
<bradland>
accepting that your first run will suck is a real life changer haha :)
<xiq>
everything went so smoothly until I added gosu
posixpascal has joined #ruby
<xiq>
I mean I'm a pretty decent rails dev and I've also developed quite some videogames already
<bradland>
game dev is some of the hardest dev (IMO), fwiw
<bradland>
i live in the land of CRUD, text mangling, and systems administration/devops
skj3gg has joined #ruby
<xiq>
but I don't know I feel like I need a good hit from the pipe
<xiq>
aye
<xiq>
the boring corporate world that has shaped me into this mess
lioninawhat has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
<xiq>
should have just gone to university
gokul has joined #ruby
agrinb has joined #ruby
jlast has joined #ruby
<bradland>
you in the UK? or on the continent?
<xiq>
I live in Germany but I'm originally from EX-YU
<bradland>
i'm in the US, and didn't go to university
<bradland>
everything seems to have worked out OK :)
<xiq>
but I thought to myself 'hah I don't need to finish the last year of school that qualifies me for university, I'll just do the practical apprenticeship'
<xiq>
lol
<xiq>
I'm glad it worked out for you
pu22l3r has quit [Remote host closed the connection]
swgillespie has joined #ruby
<bradland>
the cost/value proposition is a little different here in the states though
blackmesa has joined #ruby
<xiq>
but for me, I see that I have no real interest in practical programming, but for discovering and defining patterns, models and stuff like this
bluOxigen has quit [Ping timeout: 245 seconds]
<xiq>
you mean with the debt for students?
mxrguspxrt has joined #ruby
Morkel has quit [Quit: Morkel]
agrinb has quit [Ping timeout: 265 seconds]
swgillespie has quit [Max SendQ exceeded]
jlast has quit [Ping timeout: 250 seconds]
<bradland>
yeah, college is very expensive here.
<bradland>
not to say i didn't pay for an education, of sorts
<bradland>
just not in the sense that i wrote a check to a university, or took on any debt
swgillespie has joined #ruby
<xiq>
it's not really different here, germany is like the model-2-classes-society
<bradland>
rather, i spent a good portion of my early career earning very little and making mistakes on someone else's dime
unreal_ has joined #ruby
<xiq>
earning little sucks
<xiq>
if you aren't privileged and don't want to live like a motherfucker, then you don't even have to apply for university in germany, I guess
<bradland>
i'm a bit like a labrador retriever, so earning little didn't bother me too much.
<bradland>
i was just happy to be doing what i enjoyed
<xiq>
haha
elaptics_away is now known as elaptics
<xiq>
of course joy can compensate for a lot
yfeldblum has joined #ruby
unreal has quit [Ping timeout: 246 seconds]
bMalum has quit [Ping timeout: 250 seconds]
<xiq>
I mean I really that I get to work with ruby every day in my job but the place where I work just doesn't suit me at all
<xiq>
I get so depressed sitting there, because they're all acting serious. No creativity flowing there :p
Motoservo has joined #ruby
Megtastique has quit []
gokul has quit [Ping timeout: 250 seconds]
OrbitalKitten has quit [Read error: Connection reset by peer]
<xiq>
I'm just not the guy who likes to act dramatically when all the servers shut down and stuff happens
OrbitalKitten has joined #ruby
<xiq>
the IT doods always act like drama queens when some random bullshit happens and they appear to be so involved in it - you start asking yourself if they even have friends outside the company
<xiq>
or a social life. whatever.
<wasamasa>
this must be #rant
Lewix has quit [Remote host closed the connection]
bMalum has joined #ruby
<xiq>
sorry it just came over me lol
<shevy>
no this is either #sparta or #reallife
<wasamasa>
I mean, how the hell did "can somebody help me with a gosu related problem?" turn into "I'm someone you wouldn't want to work with!"
iwishiwerearobot has joined #ruby
* xiq
apologizes for the wall of OT
CpuID2 has joined #ruby
CpuID2 has joined #ruby
<shevy>
would you work with xiq wasamasa
<wasamasa>
shevy: no
adriancb has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Lewix has joined #ruby
chipotle has joined #ruby
* wasamasa
is also living in germany and writing ruby at his internship
<xiq>
well that's ok I blame it on my poor english skill
skj3gg has quit [Quit: ZZZzzz…]
<xiq>
I can't get across what I want to say
jhebden has quit [Ping timeout: 264 seconds]
<shevy>
don't worry wasamasa speaks german
<shevy>
strangely enough, really many people here actually do
Crisix has joined #ruby
iwishiwerearobot has quit [Ping timeout: 250 seconds]
adriancb has quit [Ping timeout: 246 seconds]
<xiq>
meh
djellemah has quit [Ping timeout: 252 seconds]
<xiq>
why exactly wouldn't you want to work with me, wasamasa
<wasamasa>
xiq: because you blame your procrastination on others doing their job instead of goofing around
bwilson has joined #ruby
binary1985 has joined #ruby
<xiq>
sorry but I never said anything like that
rubytor has joined #ruby
<shevy>
xiq wasamasa is the channel pessimist
<xiq>
as you can see I'm actively working on stuff that I want to understand
baweaver has joined #ruby
<shevy>
you won't be able to convince a pessimist :>
The_Phoenix1 has quit [Read error: Connection reset by peer]
<xiq>
It's just that without guidance, I get lost in my own web of questions
<shevy>
xiq you need to establish a way how you can work with code
jonr22 has joined #ruby
<shevy>
I am myself struggling often. right now I struggle with optionparser again... one day I will find the strength to either use something else or write my own way to handle ARGV
<wasamasa>
xiq: well, you wrote that you procrastinate because of your mental state, that your corporate life imposed that mental state on you and that people at your job aren't helping
iMe has quit [Ping timeout: 255 seconds]
<wasamasa>
xiq: from which I infer that you're blaming them
<wasamasa>
shevy: use slop?
<shevy>
one day I shall!
<wasamasa>
...
jonr22 has quit [Client Quit]
<xiq>
oh no, I procrastinate because I'm running in circles around my problem ( by reading walls upon walls of docs and references ) the corporate life thing was just a random throw-in
<wasamasa>
ok then
jaequery has joined #ruby
<wasamasa>
still doesn't change my opinion :P
iMe has joined #ruby
baweaver has quit [Remote host closed the connection]
<xiq>
It's like you're learning the same thing in 10 different ways, but you don't see that it's the same thing, so you keep learning it again and again
anarang has quit [Ping timeout: 246 seconds]
<shevy>
xiq you have used a programming language before right?
baweaver has joined #ruby
baweaver has quit [Remote host closed the connection]
<xiq>
yes, for 8 years already, oddly
<shevy>
k so things such as functions and methods are extremely similar in most programming languages
<xiq>
the problem is that I've teached myself the most so I have more of an intuition for it than a grounded knowledge
<xiq>
go on shevy
<shevy>
organization of projects - documentation, what and how to document, tests, bugs, bug reports, feature requests, changes
<shevy>
I am sure you already have habits and patterns that you use to organize knowledge or how you operate
tunaCanBruh has quit [Ping timeout: 246 seconds]
<shevy>
I tend to store stuff such as how to solve something into snippet-section
<shevy>
I mean, I have no idea how things are in haskell land for instance
<shevy>
probably they think completely differently
Megtastique has joined #ruby
spider-mario has joined #ruby
<shevy>
but this is not haskell here, this is ruby. ruby is somewhat complex if taken as a whole but in essence really simple. you have objects that may have data and behavior
<wasamasa>
shevy: they lift functions
<shevy>
and you can modify stuff at will
<shevy>
they lift functions?
<wasamasa>
shevy: and they eat monoids for breakfast
<shevy>
don't you normally lift weights or your face?
<wasamasa>
yes, lambda lifting is a thing
jottr has joined #ruby
<xiq>
lol
<shevy>
string lambda and string tanga
<wasamasa>
you promote a function to become more general
<shevy>
cool
<shevy>
so like a general on the battlefield
<wasamasa>
lol
<wasamasa>
no, you transform a function you're using locally into a function you can use globally
<wasamasa>
which is a pretty snazzy thing, however I've only found out it has a name thanks to haskell
<wasamasa>
you may know it as a more or less common way of refactoring
pdoherty has joined #ruby
Astrologos_ has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
<xiq>
so I know I can't be crazy or demented, but that there's some kind of bug
SumoBoy has joined #ruby
jonr22 has joined #ruby
posixpascal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Megtastique has quit []
decoponio has quit [Read error: Connection reset by peer]
thatslifeson has joined #ruby
decoponio has joined #ruby
ponga has joined #ruby
pierre1_ has joined #ruby
gokul has joined #ruby
speakingcode has joined #ruby
Crisix has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has quit [Ping timeout: 246 seconds]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfinninger has joined #ruby
Takle has joined #ruby
claptor has joined #ruby
iMe has quit [Ping timeout: 246 seconds]
Deithrian has joined #ruby
banister has joined #ruby
<Deithrian>
Aaaaannnd... backtowindows..
iMe has joined #ruby
jimms has quit [Remote host closed the connection]
SumoBoy has quit [Quit: Leaving]
SumoBoy has joined #ruby
jlast has joined #ruby
flaccid_ has joined #ruby
dfinninger has quit [Remote host closed the connection]
<flaccid_>
hey guys, i’m using Timeout::timeout(@timeout) { <multiple lines here> } and rubocop doesn’t like me using mutliple lines. what should i be using instead?
bogdanteleaga has joined #ruby
jenrzzz has joined #ruby
Motoservo has quit [Quit: Shhh. I'm trying to get some sleep here.]
bruno- has quit [Quit: Lost terminal]
<juancaman>
:t Monad
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
codecop has quit [Remote host closed the connection]
<juancaman>
sorry wring channel
<juancaman>
*wrong
jlast has quit [Ping timeout: 265 seconds]
agrinb has quit [Remote host closed the connection]
pu22l3r has joined #ruby
bruno- has joined #ruby
agrinb has joined #ruby
pu22l3r has quit [Remote host closed the connection]
zyxelthrone has quit [Quit: WeeChat 1.1.1]
jlast has joined #ruby
bruno- has quit [Remote host closed the connection]