havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.0, 2.3.3 & 2.2.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby
montanonic has quit [Ping timeout: 256 seconds]
markholmes has joined #ruby
cdg__ has quit [Ping timeout: 256 seconds]
cschneid_ has quit [Ping timeout: 240 seconds]
jenrzzz_ has joined #ruby
OTORelic has quit [Ping timeout: 255 seconds]
cdg_ has joined #ruby
aryaching_ has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
<markholmes> @zenspider i agree. some languages have a very high entry barrier, which i would not recommend. in my opinion, ruby has the nicest mix of "easy to get started" and "easy to understand"
msmith has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 245 seconds]
gloscombe_ has quit [Quit: gloscombe_]
SuperLag_ is now known as SuperLag
SuperLag has quit [Changing host]
SuperLag has joined #ruby
mtkd has quit [Ping timeout: 252 seconds]
adgtl- has quit [Remote host closed the connection]
mtkd has joined #ruby
devgiant has joined #ruby
benlieb has quit [Quit: benlieb]
devgiant has quit [Client Quit]
chrisja has quit [Quit: leaving]
montanonic has joined #ruby
CloCkWeRX has joined #ruby
RickHull has joined #ruby
Exuma has joined #ruby
<RickHull> Hi, looking for some quick feedback / validation for this approach with "require structure": https://github.com/SciRuby/daru/pull/304
benlieb has joined #ruby
<RickHull> is there a name for this methodology? blog posts? agree/disagree?
<RickHull> where is drbrian when needed?
<RickHull> ;)
alveric1 has joined #ruby
Immune_ has quit [Ping timeout: 255 seconds]
Bounga has joined #ruby
<RickHull> zenspider: banisterfiend: zzak: al2o3-cr: forgive me
elifoster has joined #ruby
alveric has quit [Ping timeout: 276 seconds]
adgtl has joined #ruby
<RickHull> i bet drbrian is fixing his inkjet ;)
benlieb has quit [Quit: benlieb]
hutch34 has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 252 seconds]
cdg has joined #ruby
<RickHull> ljarvis: awake? apologies
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zotherstupidguy has joined #ruby
Rodya_ has joined #ruby
fclausen has joined #ruby
cdg_ has quit [Ping timeout: 260 seconds]
zotherstupidguy has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 252 seconds]
Bounga has joined #ruby
xen0fon has joined #ruby
xen0fon has quit [Client Quit]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bougyman> Fetching: coderay-1.1.1.gem (100%)
<bougyman> ERROR: While executing gem ... (Errno::ENOENT)
<bougyman> No such file or directory - /set GEM_INSTALL_ROOT environment variable to $(pwd)/build
<bougyman> never seen that before, when installing a gem.
<bougyman> and never remember setting that variable
jenrzzz_ has quit [Ping timeout: 255 seconds]
<bougyman> and it doesn't show up in `gem env`
Rodya_ has quit [Ping timeout: 255 seconds]
johnzorn has quit [Read error: Connection reset by peer]
johnzorn has joined #ruby
Bounga has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
harai has quit [Ping timeout: 252 seconds]
<RickHull> what's ENOENT?
JeanCarloMachado has joined #ruby
<RickHull> no entity, file or dir name?
gbt has joined #ruby
<markholmes> it's a unix term, it means "error, no entry"
<markholmes> which basically means "thing not found"
<markholmes> and it looks like there's no $GEM_INSTALL_ROOT set, but i haven't seen that before either
<RickHull> which files set it?
<RickHull> (just thinking out loud, pay me no mind)
JeanCarloMachado has quit [Ping timeout: 264 seconds]
JeanCarloMachado has joined #ruby
<markholmes> not sure. some kind of path issue i'm guessing? any environment details, bougyman?
harai has joined #ruby
ixti has joined #ruby
ixti has quit [Client Quit]
toretore has quit [Ping timeout: 240 seconds]
Bounga has joined #ruby
zeroDi has quit [Quit: WeeChat 1.7]
markholmes has quit [Remote host closed the connection]
Bounga has quit [Ping timeout: 252 seconds]
duderonomy has joined #ruby
Asher has quit [Quit: Leaving.]
lmc has joined #ruby
jhack has joined #ruby
Technodrome has left #ruby ["Textual IRC Client: www.textualapp.com"]
marr has quit [Ping timeout: 276 seconds]
mlkkk has quit [Remote host closed the connection]
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jhack has quit [Quit: jhack]
jhack has joined #ruby
zotherstupidguy has joined #ruby
mumm-ha has quit [Remote host closed the connection]
Exuma has joined #ruby
whiteline has quit [Ping timeout: 240 seconds]
Exuma has quit [Client Quit]
agent_white has joined #ruby
Chagel has joined #ruby
AndrewIsHere has joined #ruby
<agent_white> Evenin' folks
marxarelli is now known as marxarelli|afk
xen0fon has joined #ruby
xen0fon has quit [Client Quit]
<RickHull> aloha :)
sagax has joined #ruby
dmin7b5 has quit [Quit: Textual IRC Client: www.textualapp.com]
mikecmpbll has joined #ruby
cschneid_ has joined #ruby
username1 has quit [Ping timeout: 255 seconds]
username_ has quit [Ping timeout: 252 seconds]
whiteline has joined #ruby
felltir has quit [Remote host closed the connection]
felltir has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
felltir has quit [Ping timeout: 264 seconds]
Channel6 has joined #ruby
swills has quit [Read error: Connection reset by peer]
TheHodge has quit [Quit: Connection closed for inactivity]
jhack has quit [Quit: jhack]
swills has joined #ruby
antgel has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
milardov_ has quit [Remote host closed the connection]
Definity has joined #ruby
milardovich has joined #ruby
cyphase has quit [Ping timeout: 240 seconds]
_sfiguser has quit [Quit: Leaving]
milardovich has quit [Ping timeout: 264 seconds]
LoneHerm_ has joined #ruby
cyphase has joined #ruby
brent__ has joined #ruby
brent__ has quit [Read error: Connection reset by peer]
brent__ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
LoneHerm_ has quit [Ping timeout: 264 seconds]
jhack has joined #ruby
lmc has quit [Remote host closed the connection]
lmc has joined #ruby
snguyen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brent__ has quit [Remote host closed the connection]
negatifze has joined #ruby
karapetyan has joined #ruby
AndrewIsHere has quit []
nankyokusei has joined #ruby
SeepingN_ has quit [Quit: The system is going down for reboot NOW!]
karapetyan has quit [Remote host closed the connection]
AustinMatherne has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 256 seconds]
AustinMatherne has joined #ruby
Dimik has quit [Ping timeout: 255 seconds]
gbt has quit [Remote host closed the connection]
kira has quit [Ping timeout: 258 seconds]
karapetyan has joined #ruby
kristofferR has joined #ruby
Chagel has quit [Ping timeout: 264 seconds]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
antgel has quit [Remote host closed the connection]
daivyk has quit [Quit: Quit]
jenrzzz has quit [Ping timeout: 255 seconds]
devon21 has quit [Quit: devon21]
Liothen has quit [Ping timeout: 240 seconds]
AustinMatherne has quit [Ping timeout: 240 seconds]
markholmes has joined #ruby
vondruch has quit [Remote host closed the connection]
AustinMatherne has joined #ruby
Liothen has joined #ruby
vondruch has joined #ruby
jzigmund has quit [Ping timeout: 259 seconds]
jzigmund has joined #ruby
lmc has quit [Quit: Leaving...]
cpruitt has quit [Quit: cpruitt]
msmith has joined #ruby
jhack has quit [Quit: jhack]
mlkkk has joined #ruby
jhack has joined #ruby
jameser has joined #ruby
sneakers has quit [Ping timeout: 256 seconds]
karapetyan has quit [Remote host closed the connection]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
OTORelic has joined #ruby
harai has quit [Ping timeout: 264 seconds]
kira has joined #ruby
RickHull has quit [Quit: Leaving.]
jhack has quit [Quit: jhack]
newrubycoder has joined #ruby
banisterfiend has quit [Remote host closed the connection]
cdg has joined #ruby
bungoman has quit [Ping timeout: 255 seconds]
mlkkk has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
jameser has joined #ruby
devon21 has joined #ruby
devon21 has quit [Client Quit]
<newrubycoder> hey guys can i ask a ruby question about if lines?
A_Drone has joined #ruby
msmith has quit []
blackmesa has quit [Ping timeout: 276 seconds]
jameser has quit [Max SendQ exceeded]
Bounga has joined #ruby
harai has joined #ruby
Bounga has quit [Ping timeout: 252 seconds]
jameser has joined #ruby
blackmesa has joined #ruby
devon21 has joined #ruby
JoshS has joined #ruby
d^sh has quit [Ping timeout: 255 seconds]
jhack has joined #ruby
Joufflu_ has joined #ruby
cagmz has joined #ruby
hahuang61 has joined #ruby
Guest69 has joined #ruby
Cohedrin_ has joined #ruby
kitallis has quit [Ping timeout: 252 seconds]
duracrisis has quit [Ping timeout: 252 seconds]
railswebdev has joined #ruby
d^sh has joined #ruby
hahuang62 has quit [Ping timeout: 252 seconds]
freeze has quit [Ping timeout: 252 seconds]
midacts has quit [Ping timeout: 252 seconds]
jtperreault has quit [Ping timeout: 252 seconds]
jtperreault has joined #ruby
Cohedrin has quit [Ping timeout: 252 seconds]
Joufflu has quit [Ping timeout: 252 seconds]
danielpclark has quit [Ping timeout: 252 seconds]
koldbrutality has quit [Ping timeout: 252 seconds]
AKPWD has quit [Ping timeout: 252 seconds]
genta has quit [Ping timeout: 252 seconds]
gnarf has quit [Ping timeout: 252 seconds]
rizonz has quit [Ping timeout: 252 seconds]
amagawdd has quit [Remote host closed the connection]
amagawdd has joined #ruby
freeze has joined #ruby
genta has joined #ruby
saneax-_-|AFK is now known as saneax
JeanCarloMachado has quit [Ping timeout: 240 seconds]
gnarf has joined #ruby
AKPWD has joined #ruby
kitallis has joined #ruby
amagawdd has quit [Ping timeout: 258 seconds]
duracrisis has joined #ruby
JeanCarloMachado has joined #ruby
devon21 has quit [Quit: devon21]
devon21 has joined #ruby
<markholmes> don't ask to ask, just ask newrubycoder
hutch34 has joined #ruby
rizonz has joined #ruby
midacts has joined #ruby
<newrubycoder> markholmes: okay so i wonder what is the difference between a line such as "return x if y" and "if x\n return y"
AustinMatherne has quit [Remote host closed the connection]
mlkkk has joined #ruby
AustinMatherne has joined #ruby
danielpclark has joined #ruby
koldbrutality has joined #ruby
mlkkk has quit [Remote host closed the connection]
<markholmes> what do you mean? what type of difference?
hutch34 has quit [Ping timeout: 276 seconds]
<newrubycoder> like they both seem to do the same thing, but is there a difference in efficiency etc.?
cpruitt has joined #ruby
sarbs has quit [Ping timeout: 264 seconds]
<markholmes> i'm not sure of the actual performance cost - i doubt there's much if any
harai has quit [Ping timeout: 258 seconds]
cpruitt has quit [Client Quit]
sarbs has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
montanonic has quit [Ping timeout: 255 seconds]
<baweaver> If there is it's so trivial you'd be wasting your time to think about it
JeanCarloMachado has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
<newrubycoder> okay thanks
JeanCarloMachado has joined #ruby
supsup has joined #ruby
<supsup> can i ask a middleman question in here?
jhack has quit [Ping timeout: 264 seconds]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
harai has joined #ruby
harai has quit [Read error: Connection reset by peer]
JeanCarloMachado has quit [Ping timeout: 252 seconds]
montanonic has joined #ruby
enterprisey has joined #ruby
JeanCarloMachado has joined #ruby
harai has joined #ruby
saneax is now known as saneax-_-|AFK
LoneHermit has joined #ruby
kallisti5 has joined #ruby
<kallisti5> ok. I have a tough one. Anyone know of an example writing large amounts of data in ruby to a file / block device?
harai has quit [Read error: Connection reset by peer]
<kallisti5> Thinking I might have to use IO. I pretty much want a "ruby native" dd
harai has joined #ruby
markholmes has quit [Quit: Leaving]
<kallisti5> ack. got it with a read nested in a write reading 4k at a time
devon21 has quit [Quit: devon21]
harai has quit [Read error: Connection reset by peer]
LoneHermit has quit [Ping timeout: 240 seconds]
antoniobeyah has quit [Quit: Connection closed for inactivity]
harai has joined #ruby
cdg has quit [Remote host closed the connection]
<supsup> when i override def header(text, header_level) in a renderer in middleman ...it works in Mac / Linux fine, but in windows it encodes the text, is this a known bug?
<supsup> also the text does not come back full, it's truncated
harai has quit [Read error: Connection reset by peer]
harai has joined #ruby
<supsup> i've tried it with ruby 2.2.6, and 2.3.3
harai has quit [Read error: Connection reset by peer]
mlkkk has joined #ruby
mlkkk has quit [Remote host closed the connection]
Phenix has joined #ruby
govg has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
dkphenom has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
nankyokusei has quit [Ping timeout: 258 seconds]
dkphenom has quit [Quit: Textual IRC Client: www.textualapp.com]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harai has joined #ruby
shinnya has joined #ruby
harai has quit [Read error: Connection reset by peer]
Phenix is now known as MarkeCubon
speakingcode has joined #ruby
gix has quit [Ping timeout: 258 seconds]
xall has joined #ruby
MarkeCubon is now known as TheIliad
gix has joined #ruby
mlkkk has joined #ruby
patarr has joined #ruby
nofxxx has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
mlkkk has quit [Remote host closed the connection]
mlkkk has joined #ruby
nofxx has quit [Ping timeout: 258 seconds]
patarr has quit [Ping timeout: 256 seconds]
hutch34 has joined #ruby
fuzzyfuzz has quit [Remote host closed the connection]
supsup has quit [Quit: Page closed]
mlkkk has quit []
xall has quit [Ping timeout: 276 seconds]
amagawdd has joined #ruby
govg has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
ledestin has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Channel6 has quit [Quit: Leaving]
cschneid_ has joined #ruby
Guest69 has joined #ruby
railswebdev has joined #ruby
benlieb has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
speakingcode has quit [Ping timeout: 255 seconds]
Asher has joined #ruby
JeanCarloMachado has quit [Ping timeout: 258 seconds]
JeanCarloMachado has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
newrubycoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Bounga has joined #ruby
funnel has quit [Ping timeout: 240 seconds]
matp has quit [Remote host closed the connection]
matp has joined #ruby
Bounga has quit [Ping timeout: 252 seconds]
saneax-_-|AFK is now known as saneax
funnel has joined #ruby
kies has quit [Ping timeout: 255 seconds]
xall has joined #ruby
gnufied has quit [Ping timeout: 255 seconds]
cschneid_ has joined #ruby
cschneid_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
Derperperd has quit [Quit: WeeChat 1.5]
Derperperd has joined #ruby
jameser has joined #ruby
bmurt has joined #ruby
kies has joined #ruby
matp has quit [Remote host closed the connection]
harai has joined #ruby
skweek has joined #ruby
Definity has quit [Ping timeout: 258 seconds]
etehtsea has joined #ruby
DaveTaboola has joined #ruby
harai has quit [Read error: Connection reset by peer]
matp has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harai has joined #ruby
saneax is now known as saneax-_-|AFK
harai has quit [Read error: Connection reset by peer]
harai has joined #ruby
OTORelic has quit [Ping timeout: 240 seconds]
harai has quit [Read error: Connection reset by peer]
simmib has joined #ruby
LoneHermit has joined #ruby
jeyraof has joined #ruby
LoneHermit has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
harai has joined #ruby
D9- has quit [Quit: Quit]
D9 has joined #ruby
pilne has quit [Quit: Quitting!]
harai has quit [Read error: Connection reset by peer]
squ has quit [Remote host closed the connection]
harai has joined #ruby
<zenspider> baweaver: zero difference it parse tree for x if y vs if y x end... just scoping differences
harai has quit [Read error: Connection reset by peer]
harai has joined #ruby
harai has quit [Read error: Connection reset by peer]
Bounga has joined #ruby
harai has joined #ruby
jshjsh has joined #ruby
harai has quit [Read error: Connection reset by peer]
renchan has joined #ruby
harai has joined #ruby
Bounga has quit [Ping timeout: 252 seconds]
JoshS has quit [Ping timeout: 256 seconds]
harai has quit [Read error: Connection reset by peer]
DaniG2k has joined #ruby
harai has joined #ruby
harai has quit [Read error: Connection reset by peer]
aglorei has quit [Ping timeout: 240 seconds]
wopi has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
aglorei has joined #ruby
wopi has joined #ruby
funnel has quit [Ping timeout: 276 seconds]
harai has joined #ruby
UnknownSoldier has joined #ruby
nankyokusei has quit [Ping timeout: 245 seconds]
harai has quit [Read error: Connection reset by peer]
harai has joined #ruby
hahuang61 has joined #ruby
cschneid_ has quit [Remote host closed the connection]
harai has quit [Read error: Connection reset by peer]
jshjsh has quit [Ping timeout: 256 seconds]
funnel has joined #ruby
saneax-_-|AFK is now known as saneax
hahuang61 has quit [Ping timeout: 276 seconds]
RyanMcCoskrie has joined #ruby
xen0fon has joined #ruby
grh has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
ta__ has quit [Remote host closed the connection]
segy has quit [Ping timeout: 240 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ifctj has joined #ruby
naprimer_3 has joined #ruby
squ has joined #ruby
jameser has joined #ruby
naprimer_2 has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
Raboo has quit [Ping timeout: 258 seconds]
wopi has quit [Ping timeout: 260 seconds]
fclausen has quit [Ping timeout: 252 seconds]
Raboo has joined #ruby
tildes has joined #ruby
nofxxx has quit [Ping timeout: 240 seconds]
etehtsea has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 276 seconds]
wopi has joined #ruby
etehtsea has joined #ruby
aryaching has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cagmz has quit [Read error: Connection reset by peer]
Guest69 has joined #ruby
railswebdev has joined #ruby
renchan_ has joined #ruby
dn`_ has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgnagy_ has joined #ruby
Asher1 has joined #ruby
TheMoonMaster has quit [Ping timeout: 240 seconds]
Asher1 has quit [Client Quit]
Asher1 has joined #ruby
Asher1 has quit [Client Quit]
xen0fon1 has joined #ruby
electrostat_ has joined #ruby
HashNuke_ has joined #ruby
jameser has joined #ruby
chrisseaton_ has joined #ruby
digitalfiz_ has joined #ruby
mroth_ has joined #ruby
pfg_ has joined #ruby
MrBloo_ has joined #ruby
TheMoonMaster has joined #ruby
whiteline_ has joined #ruby
whiteline has quit [Disconnected by services]
whiteline_ is now known as whiteline
pabs_ has joined #ruby
Liothen- has joined #ruby
MrBloo has quit [Ping timeout: 240 seconds]
opt9 has quit [Ping timeout: 240 seconds]
chrisseaton has quit [Ping timeout: 240 seconds]
Asher has quit [Ping timeout: 240 seconds]
electrostat has quit [Ping timeout: 240 seconds]
BackEndCoder has quit [Ping timeout: 240 seconds]
jgnagy has quit [Ping timeout: 240 seconds]
klaas has quit [Ping timeout: 240 seconds]
dn` has quit [Ping timeout: 240 seconds]
pfg has quit [Ping timeout: 240 seconds]
ifctj has quit [Ping timeout: 240 seconds]
renchan has quit [Ping timeout: 240 seconds]
HashNuke has quit [Ping timeout: 240 seconds]
mroth has quit [Ping timeout: 240 seconds]
snapcase has quit [Ping timeout: 240 seconds]
xen0fon has quit [Ping timeout: 240 seconds]
D9 has quit [Ping timeout: 240 seconds]
Liothen has quit [Ping timeout: 240 seconds]
minimalism has quit [Ping timeout: 240 seconds]
digitalfiz has quit [Ping timeout: 240 seconds]
pabs has quit [Ping timeout: 240 seconds]
hanmac has quit [Ping timeout: 240 seconds]
electrostat_ is now known as electrostat
FastJack has quit [Ping timeout: 240 seconds]
opt9 has joined #ruby
xen0fon1 is now known as xen0fon
snapcase has joined #ruby
klaas has joined #ruby
dn`_ is now known as dn`
MrBloo_ is now known as MrBloo
chrisseaton_ is now known as chrisseaton
Liothen- is now known as Liothen
minimalism has joined #ruby
HashNuke_ is now known as HashNuke
pfg_ is now known as pfg
mroth_ is now known as mroth
BackEndCoder has joined #ruby
digitalfiz_ is now known as digitalfiz
D9 has joined #ruby
dionysus69 has joined #ruby
FastJack has joined #ruby
edgr- has quit [Quit: ZNC - http://znc.in]
grh has quit [Ping timeout: 255 seconds]
moei has quit [Ping timeout: 240 seconds]
edgr has joined #ruby
moei has joined #ruby
tildes has quit [Ping timeout: 255 seconds]
jameser has quit [Max SendQ exceeded]
last_staff has joined #ruby
enterprisey has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
hanmac has joined #ruby
jameser has joined #ruby
danguita has joined #ruby
Asher has joined #ruby
harai has joined #ruby
johnzorn has quit [Read error: Connection reset by peer]
enterprisey has joined #ruby
johnzorn has joined #ruby
jameser has quit [Max SendQ exceeded]
jameser has joined #ruby
jameser has quit [Client Quit]
tlahtoani has quit [Quit: Connection closed for inactivity]
benlieb has quit [Quit: benlieb]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kernelPaniq has joined #ruby
Anonymoose2 has joined #ruby
RyanMcCoskrie has quit [Quit: Konversation terminated!]
hahuang61 has joined #ruby
segy has joined #ruby
reverberations has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
bocaneri has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
hahuang61 has quit [Ping timeout: 240 seconds]
jameser has quit [Max SendQ exceeded]
ponga has joined #ruby
jameser has joined #ruby
Macaveli has joined #ruby
jgnagy_ has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
anisha has joined #ruby
ur5us has joined #ruby
jameser has quit [Client Quit]
aryaching has quit [Ping timeout: 264 seconds]
andream has joined #ruby
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
aryaching has joined #ruby
johnzorn has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 260 seconds]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
last_staff has quit [Quit: last_staff]
johnzorn has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
sdrew has joined #ruby
jdm_ has joined #ruby
aganov has joined #ruby
JeanCarloMachado has quit [Ping timeout: 264 seconds]
JeanCarloMachado has joined #ruby
Guest69 has joined #ruby
jdm has quit [Ping timeout: 258 seconds]
railswebdev has joined #ruby
jameser has joined #ruby
elifoster has quit [Quit: sleep]
andikr has joined #ruby
Qchmqs has joined #ruby
Cohedrin has joined #ruby
koldbrutality has quit [Quit: Leaving]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Psy-Q_ is now known as Psy-Q
speakingcode has joined #ruby
kies has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
shinnya has quit [Ping timeout: 264 seconds]
djbkd has quit [Quit: My people need me...]
grh has joined #ruby
dn` has quit [Quit: dn`]
dn` has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
charliesome has joined #ruby
andream is now known as andrax
montanonic has quit [Ping timeout: 258 seconds]
TomyWork has joined #ruby
andrax has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Ping timeout: 245 seconds]
xen0fon has quit [Quit: xen0fon]
andrax has joined #ruby
nankyokusei has joined #ruby
vuoto has joined #ruby
lxsameer has joined #ruby
Dimik has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
enterprisey has quit [Remote host closed the connection]
ta_ has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
nankyokusei has quit [Ping timeout: 245 seconds]
conta has joined #ruby
dionysus69 has joined #ruby
montanonic has joined #ruby
DaniG2k has quit [Ping timeout: 240 seconds]
andrax has quit [Remote host closed the connection]
andrax has joined #ruby
xall has quit [Read error: No route to host]
andrax has quit [Max SendQ exceeded]
andrax has joined #ruby
xall has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
vuoto has quit [Remote host closed the connection]
simmib has quit [Ping timeout: 240 seconds]
cibs has quit [Ping timeout: 256 seconds]
Guest69 has joined #ruby
djbkd has joined #ruby
cibs has joined #ruby
simmib_ has joined #ruby
dn` has quit [Quit: dn`]
CrazyEddy has quit [Ping timeout: 240 seconds]
railswebdev has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
aufi has joined #ruby
dn` has joined #ruby
biberu has joined #ruby
armyriad has joined #ruby
andrax has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nofxx has quit [Ping timeout: 240 seconds]
tonini has joined #ruby
biberu has quit [Client Quit]
ur5us has joined #ruby
cschneid_ has joined #ruby
biberu has joined #ruby
csk157 has joined #ruby
jameser has quit [Read error: Connection reset by peer]
xen0fon has joined #ruby
patarr has joined #ruby
jameser has joined #ruby
larcara has joined #ruby
xen0fon has quit [Client Quit]
cschneid_ has quit [Ping timeout: 255 seconds]
<larcara> Hello guys! I'm experiencing a strange behaviour with Date , DateTime and CEDT/CEST Time Zone. Could I ask you some infos?
<dminuoso> Dont ask to ask.
last_staff has joined #ruby
<larcara> you are right. I'm using ruby 2.4.0
dionysus69 has joined #ruby
patarr has quit [Ping timeout: 258 seconds]
<larcara> puts Time.parse("Fri, 23 Dec 2016 05:32:52 CEST")
<larcara> puts DateTime.parse("Fri, 23 Dec 2016 05:32:52 CEST")
<larcara> give me the same value 2016-12-23 05:32:52 +0200
mark_66 has joined #ruby
kies has joined #ruby
<larcara> and
<larcara> puts DateTime.parse("Fri, 23 Dec 2016 05:32:52 CEDT")
<larcara> puts Time.parse("Fri, 23 Dec 2016 05:32:52 CEDT")
<larcara> give me different timezone
<dminuoso> larcara: https://xkcd.com/1179/
<larcara> so with differnt date, not in Daylight. for example DateTime.parse("23 jun 2016 05:32:52 CEDT")
<dminuoso> This is not meant as a joke.
aufi has quit [Ping timeout: 240 seconds]
<dminuoso> larcara: If you have some input that is not in your control, use strptime -> otherwise use ISO 8601
<larcara> the problem was found in Mail gem
<larcara> i have all message parsed form a Lotus Domino Server that use "CEDT" timezone
<larcara> Mail gem seems to use DateTime class... so all messages was imported in GMT time (2 hours in the future!!)
<dminuoso> &ri Time#strptime larcara
<`derpy> No results
<dminuoso> &ri DateTime#strptime larcara
<`derpy> No results
<dminuoso> &ri DateTime#strptime
<`derpy> No results
<dminuoso> What the heck?
<al2o3-cr> &ri Time.strptime DateTime.strptime larcara
<dminuoso> Oh.
<dminuoso> That.
<al2o3-cr> ;)
dionysus69 has quit [Quit: dionysus69]
<dminuoso> ;)
nofxx has joined #ruby
<dminuoso> larcara: The reason is outlined in xkcd.
teclator has joined #ruby
<dminuoso> You follow some random convention, and expect Ruby to do the right thing.
<dminuoso> Either follow ISO 8601, or tell Ruby about this weird format.
<dminuoso> (If you do neither, Ruby will end up guesstimating what you possibly meant with that string)
maloik has joined #ruby
<larcara> ok. so i can tell my customer that IBM don't follow ISO 8601
<dminuoso> larcara: I told you two options.
vuoto has joined #ruby
<dminuoso> 09:27 < dminuoso> larcara: If you have some input that is not in your control, use strptime -> otherwise use ISO 8601
<larcara> but i don't understand why Time.strptime has a different implementation from DateTime.strptime
<dminuoso> larcara: You are confusing strptime with parse.
<larcara> Yes _dminuoso, now i have checked for this timezone
kernelPaniq has quit [Ping timeout: 240 seconds]
aupadhye has joined #ruby
kernelPaniq has joined #ruby
Cain has joined #ruby
<larcara> Sorry, I think i'm not able to explain the problem
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Cain is now known as Guest28873
<dminuoso> larcara: Time and DateTime are two subtly different implementations from different times from different people.
<dminuoso> They behave differently, yes.
<dminuoso> Don't rely on #parse, it just gives you random behavior.
<dminuoso> Unless you follow ISO 8601.
Mortomes|Work has joined #ruby
<dminuoso> Use strptime and specify the format string, and both will work.
<Guest28873> Hello! Im really new to ruby but I'll try to explain the problem. I'm trying to install ruby gems without using gcc. Does anybody know anything about that?
<dminuoso> Guest28873: You will need a compiler if you want to install gems with native extensions.
<larcara> i use the mail gem to pas an existing EML. Teorically i can't change EML content. Mail gem fail whne original message use CEDT timezone... Before open a issue to Mail mainteiner i have tried to nderstand what kind of parsing is used
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<larcara> And i have found that DateTime and Time have different parse result.
<Guest28873> There is no way to pack my gem to .deb package or something
<dminuoso> larcara: Is the Time.parse from you or from someone else?
<dminuoso> larcara: Please gist your broken code.
<herwin> that's probably the easiest way
<herwin> will still require a compiler on the system where it is packaged
soc42 has joined #ruby
<Guest28873> The problem is that my company feels like having gcc installed on the machines is a security risk
<larcara> puts Time.strptime("2016-07-23 05:32:52 CEDT",'%Y-%m-%d %H:%M:%S %z') #2016-07-23 05:32:52 +0200
<larcara> puts DateTime.strptime("2016-07-23 05:32:52 CEDT",'%Y-%m-%d %H:%M:%S %z') #2016-07-23T05:32:52+00:00
<larcara> dminuoso: you mean this
<larcara> ?
<dminuoso> larcara: use %Z instead of %z
skarlso_ has joined #ruby
aufi has joined #ruby
<dminuoso> Mmm
troulouliou_div2 has joined #ruby
<dminuoso> larcara: How do you obtain the time string?
minimalism has quit [Ping timeout: 276 seconds]
Guest28873 has quit [Quit: Page closed]
<larcara> _dminuoso: the time string is in the EML message. I have no control on this
jaruga______ has joined #ruby
<dminuoso> larcara: My guess is the issue is that CEDT is fairly uncommon (the more correct abbreviatoin is CEST)
dagelf has quit [Remote host closed the connection]
dagelf has joined #ruby
<dminuoso> larcara: something like applying gsub("CEDT", "CEST") first will give you predictable behavior.
<larcara> And it is my guess to...
jaruga_______ has joined #ruby
Pumukel has joined #ruby
<dminuoso> larcara: Print out xkcd and send it to them.
<dminuoso> ;)
<larcara> Actually i'm re-parsing the string with Time. I don't know if there are any uncommon TZone....
<larcara> xkcd?... could you explain?
<dminuoso> larcara: https://xkcd.com/1179/
<larcara> :D !!! +1
Silthias1 has joined #ruby
speakingcode has quit [Ping timeout: 240 seconds]
jaruga______ has quit [Ping timeout: 240 seconds]
djbkd has quit []
howdoi has joined #ruby
Silthias2 has joined #ruby
Silthias has quit [Ping timeout: 260 seconds]
<larcara> Thanks dminuoso!
xen0fon has joined #ruby
Silthias1 has quit [Ping timeout: 258 seconds]
xen0fon has quit [Client Quit]
hahuang61 has joined #ruby
mikecmpbll has joined #ruby
xall has quit [Ping timeout: 256 seconds]
xall has joined #ruby
QoQOoO has joined #ruby
emilkarl has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 255 seconds]
Joufflu_ has quit [Quit: Leaving]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
CrazyEddy has joined #ruby
Dimik has quit [Ping timeout: 245 seconds]
jgnagy has joined #ruby
vuoto has quit [Remote host closed the connection]
tomphp has joined #ruby
Tharbakim has quit [Ping timeout: 240 seconds]
duper has quit [Read error: Connection reset by peer]
blaxter has joined #ruby
jgnagy has quit [Ping timeout: 255 seconds]
nettoweb has joined #ruby
blaxter has quit [Client Quit]
Bounga has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
SesMan has joined #ruby
Tharbakim has joined #ruby
ur5us has quit [Remote host closed the connection]
Pumukel has quit []
duper has joined #ruby
omphe has joined #ruby
teclator has quit [Remote host closed the connection]
Ishido has quit [Ping timeout: 260 seconds]
A124 has quit [Ping timeout: 240 seconds]
A124 has joined #ruby
nofxx has joined #ruby
Bounga has quit [Ping timeout: 240 seconds]
montanonic has quit [Ping timeout: 255 seconds]
DaveTaboola has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CloCkWeRX has joined #ruby
DaveTaboola has joined #ruby
jaiks has quit [Quit: Leaving]
grh has quit [Ping timeout: 240 seconds]
CloCkWeRX has quit [Ping timeout: 255 seconds]
jaiks has joined #ruby
JeanCarloMachado has joined #ruby
tildes has joined #ruby
Ishido has joined #ruby
mtkd has quit [Ping timeout: 255 seconds]
jaiks has quit [Client Quit]
mtkd has joined #ruby
Tharbakim has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
Tristan-Speccy has quit [Remote host closed the connection]
Tharbakim has joined #ruby
tildes has quit [Ping timeout: 255 seconds]
vuoto has joined #ruby
jsrn has joined #ruby
Shashikant86 has joined #ruby
avril14th has joined #ruby
ferr1 has joined #ruby
newrubycoder has joined #ruby
danguita has quit [Remote host closed the connection]
<newrubycoder> hey guys i wonder if it's possible to remove the last 3 characters of a string?
vuoto has quit [Client Quit]
<avril14th> newrubycoder: "dsqdsqdsqd"[0..-3]
<newrubycoder> ty
<elomatreb> That will remove the last two though, you need -4 for the last three
teclator has joined #ruby
<rob__> or use 3 dots which is inclusive of range
CloCkWeRX has joined #ruby
ocbtec has joined #ruby
facest has joined #ruby
grh has joined #ruby
<newrubycoder> here is my code for putting a new line for each: poem.split(". ").map { |a| a+".\n" }.join[0..-3]
<newrubycoder> it's probably lazy lol but i passed
Beams has joined #ruby
faces has quit [Ping timeout: 255 seconds]
nankyokusei has joined #ruby
LoneHerm_ has joined #ruby
Fernando-Basso has joined #ruby
dionysus69 has joined #ruby
<newrubycoder> wow i could just do poem.split(". ").join(".\n") lol
<elomatreb> There Is More Than One Way To Do It (tm9
<elomatreb> *(tm)
nankyokusei has quit [Ping timeout: 240 seconds]
gevans has joined #ruby
SesMan has quit [Read error: Connection reset by peer]
<newrubycoder> yeah but mine has a lot more code, well at least i learned it's possible to add stuff when you join arrays back together
SesMan has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
A_Drone has quit []
<canton7> newrubycoder, or, poem.gsub(". ", "\n")
<newrubycoder> that's probably the best practice, but i'm not familiar with gsub yet
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
qchmqs_ has joined #ruby
DaveTaboola has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has quit [Quit: Textual IRC Client: www.textualapp.com]
tvw has joined #ruby
c0t0d0s1 has quit [Remote host closed the connection]
Qchmqs has quit [Ping timeout: 240 seconds]
DaveTaboola has joined #ruby
isendra has joined #ruby
isendra has quit [Client Quit]
sarbazx has joined #ruby
Tristan-Speccy has joined #ruby
Tristan-Speccy is now known as Guest8180
omphe has quit [Ping timeout: 276 seconds]
byte512 has joined #ruby
Shashikant86 has joined #ruby
<dminuoso> elomatreb: True. There's many ways to do one thing: There's the right way, and a gazillion other ways.
TvL2386 has joined #ruby
QoQOoO has quit [Ping timeout: 240 seconds]
qchmqs_ has quit [Quit: Konversation terminated!]
qchmqs_ has joined #ruby
qchmqs_ has quit [Client Quit]
patarr has joined #ruby
Qchmqs has joined #ruby
CloCkWeRX has quit [Ping timeout: 264 seconds]
patarr has quit [Ping timeout: 255 seconds]
Snowy has joined #ruby
Snowy has quit [Client Quit]
vuoto has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
emilkarl has quit [Quit: emilkarl]
mtkd has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
cgfbee has quit [Remote host closed the connection]
grh has quit [Ping timeout: 245 seconds]
emilkarl has joined #ruby
<marahin> https://gist.github.com/Marahin/21cce19d98c5209911368c58f0d6974b - how can I achieve memoization & DRY code in case that I have this code?
pandaant has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
Coldblackice_ has quit [Ping timeout: 255 seconds]
<marahin> or, a different question: if I define an instance vairable:
[spoiler] has quit [Quit: WeeChat 1.4]
xen0fon has joined #ruby
<marahin> Is the above @val in MethodToBeMemoized memoized? Will initializing class A & B use a memoized value instead of calculating it again?
xen0fon has quit [Client Quit]
CloCkWeRX has joined #ruby
JeanCarloMachado has joined #ruby
zwezdek has joined #ruby
<A124> Hey. Is there a simple way to change where the autocomplete gets the list of the methods from?
<skarlso_> marahin: you are calling the function over and over. Whatever your construction of a method architecture is, the point of memoization is to save some output
<A124> * um, in pry.
charliesome has joined #ruby
<skarlso_> and than recall that output if it is there, and it's the same output you require without change.
<marahin> skarlso_ that is what I exactly want to do (save the output). The issue is that I'm monkey-patching stuff, so in that particular model there are _couple_ of classes
grh has joined #ruby
<marahin> and _some_ of these classes need to make a use of that additional method
<marahin> so I'm wondering how would be the most efficient and ruby-way to do this?
<zwezdek> Hi all, i'm having trouble executing system command in rails. It works in development enviroment, but in production it always returns Nil, any ideas?
<skarlso_> But that's not what you are doing... You aren't checking anything there, if the val is provided, or not, or search that first, or put it somewhere shared. :)
<marahin> to save the output once during module/class initialization, and then use that output over and over in those nested classes
<skarlso_> MethodToBeMemoized ->> this is missleading. you aren't memoizing a method you are memoizing a method output. : ) so put that into a Map / Hash whatever you want, and in the other methods see if that map / hash / whatever / struct has something that you can use.
<skarlso_> If yes, use that. If not. Call a method to generate data.
<skarlso_> than you could use something like: @val ||= Kappa.MethodToBeMemoized + (...)
<skarlso_> because of ||= it will only assign it, if it is empty.
charliesome has quit [Ping timeout: 240 seconds]
<skarlso_> Before hand assign @val to whatever stuff you use to save output.
scootaloo has joined #ruby
<marahin> skarlso_ I think I managed to make it work - is this what you are talking about? https://gist.github.com/Marahin/a1adbc21a194a9199d243a28fd0b6b24
<marahin> (the sleep is just to see if memoization actually works)
<marahin> is this a moderately good approach?
<marahin> to create Kappa.parser method, which is calculated only once (it seems) during first initialization of any class that calls it
lxsameer has joined #ruby
<skarlso_> Well. I guess if that's what you want, then yes this works fine. :)
<skarlso_> But this is not memoization.
<skarlso_> This is creating a module variable and assigning something to it, and sharing that variable between classes of that module.
JeanCarloMachado has quit [Ping timeout: 264 seconds]
<skarlso_> It's fine if this is what you are aiming for :)
<skarlso_> Indeed, everything that afterwards will try and do something to @name will have John in it.
marr has joined #ruby
<dminuoso> 11:48 < skarlso_> because of ||= it will only assign it, if it is empty.
<dminuoso> It will assign if it's falsey.
<skarlso_> Well. I guess it's sort of memoization since it remembers a call from a function that's supposed to be running for a long time. :)
<dminuoso> >> a = false; a ||= 1; puts a
<ruby[bot]> dminuoso: # => 1 ...check link for more (https://eval.in/733697)
<dminuoso> It's not true memoization because of that.
<skarlso_> dminuoso: absolutely right, thanks.
<marahin> skarlso_ well.. I think I don't get it. How is that not memoization? If you take out sleep(5) the Kappa.parser method would just be @name ||= 'John'. I read at http://www.justinweiss.com/articles/4-simple-memoization-patterns-in-ruby-and-one-gem/ that's the "super basic example of memoization"
<marahin> good point dminuoso also :)
<skarlso_> marahin: > <skarlso_> Well. I guess it's sort of memoization since it remembers a call from a function that's supposed to be running for a long time. :) <
<marahin> oh, haven't seen that message, sorry
<skarlso_> No worries.
<skarlso_> So yeah. :)
<marahin> allright. Thank you very much for making it clear :-) skarlso_ dminuoso
<skarlso_> yw :)
DaveTaboola has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
JeanCarloMachado has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
blackmesa has joined #ruby
genpaku has joined #ruby
xall has quit [Ping timeout: 245 seconds]
aufi has quit [Ping timeout: 240 seconds]
xen0fon has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
pandaant has quit [Remote host closed the connection]
patarr has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
<dminuoso> skarlso_: The problem is how Ruby works, true memoization is not possible unless you have an invalid value (such as nil).
<dminuoso> Variables have a default value of nil if you don't assign anything to them (I can prove that).
aufi has joined #ruby
<apeiros> you can always carry along a second variable
DaveTaboola has joined #ruby
<dminuoso> Or that :)
patarr has quit [Ping timeout: 245 seconds]
<apeiros> @memoized ? @computed : (@computed = compute)
<apeiros> + set @memoized
<dminuoso> >> + set @memorized
<ruby[bot]> dminuoso: # => /tmp/execpad-db09072f3ebd/source-db09072f3ebd:2: syntax error, unexpected tIVAR, expecting keyword_d ...check link for more (https://eval.in/733773)
xall has joined #ruby
<dminuoso> what is a tIVAR ;o
<dminuoso> oh.
<dminuoso> That's interesting, is that new?
<dminuoso> 19>> + set @memorized
<ruby[bot]> dminuoso: # => /tmp/execpad-d4489ba70bd7/source-d4489ba70bd7:2: syntax error, unexpected tIVAR, expecting keyword_d ...check link for more (https://eval.in/733774)
<dminuoso> Seems not
Chagel has joined #ruby
<dminuoso> Didn't know that instance variables were part of the grammar. Told someone the opposite the other day. :(
<skarlso_> dminuoso: true. In fact, I would use a different variable just like apeiros suggested. :)
<dminuoso> skarlso_: Yeah. Im fairly sure that's what rspec does under the hood with let too.
<dminuoso> That let abstraction is pretty neat :)
<skarlso_> humm hummm.... Could be. :) I'm not too much familiar with rspec code under the hood. :)
<skarlso_> indeed, it is. :)
<skarlso_> I do like it. At first, for me, it was a very hard switch from minitest.
<skarlso_> I got the concept, but writing proper spec files was a bitch.
<skarlso_> setting up context and shit. and than came frigging fakefs.
<skarlso_> I love that stuff, but damn was it hard to use at first.
DaveTaboola has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m1dnight1 has quit [Quit: WeeChat 1.5]
xen0fon has quit [Quit: xen0fon]
jgnagy has joined #ruby
avril14th has quit [Remote host closed the connection]
agent_white has quit [Quit: gnight]
<apeiros> dminuoso: lol, wut? I meant "don't forget to set @memoized"
dionysus69 has quit [Remote host closed the connection]
<apeiros> because it's not obvious from `@computed = compute`
toretore has joined #ruby
<dminuoso> apeiros: Dont mind me, Im going crazy.
sarbazx has quit [Read error: Connection reset by peer]
<dminuoso> Sniffing a real Edding doesn't help.
<apeiros> how come? did you try the tripple-espressi coffee drink?
JeanCarloMachado has quit [Ping timeout: 260 seconds]
<dminuoso> Funny that you mention it. I discovered the best coffeeshop in the world.
dionysus69 has joined #ruby
<dminuoso> Wanted to tell that really cute girl: "You're nothing compared to your coffee"
eblip has joined #ruby
<apeiros> I don't think that'd have come across right :)
scootaloo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> "If I wasn't doing the coffee, the next best thing would you"
<dminuoso> That perhaps?
catbusters has quit [Quit: ZNC - http://znc.in]
jeyraof has quit [Quit: This computer has gone to sleep]
catbusters has joined #ruby
<dminuoso> Honestly, if I had to pick between her and the coffee, it would be quite clear.
jaruga_______ has quit [Ping timeout: 276 seconds]
<catbusters> Hey guys!
<catbusters> I'm coming from a Python background, and just getting started in Ruby
<tobiasvl> welcome catbusters
<catbusters> And one thing I'm having a little trouble with is a virtualenv equivalent. Say I'm setting up a Jekyll blog, am I supposed to sudo gem install jekyll and any dependencies I've got, like pygments?
<canton7> catbusters, I'm not too clear on what virtualenv does, but it sounds like you might want to look at Bundler?
<catbusters> @canton7: Virtualenv is something similar to rvm I'd say. You can cleanly separate dependencies on a per project basis without polluting your global Python install
* xpt thinks it's something like chruby-exec
<tobiasvl> is rbenv dead?
<catbusters> You activate your virtualenv, and that updates your $PATH, so all new package installs happen in an isolated python environment
<canton7> catbusters, ok, so rvm is about selecting which version of ruby you want to work with. Bundler is about having a set of dependencies which is specific to your project, and is used by your project
<elomatreb> bundler is kind of like that, but only for gems (not Ruby interpreter versions). It still installs the gems globally, but manages them to match the required versions of your project
nankyokusei has joined #ruby
<canton7> bundler can install the dependencies into your project as well
<elomatreb> It can, but it doesn't by default
<canton7> ... and indeed, that's often the mode it's used in when deploying something
JeanCarloMachado has joined #ruby
DaveTaboola has joined #ruby
snuz has joined #ruby
LoneHermit has joined #ruby
<catbusters> Okay, that makes sense. So is bundler what I should go with or rbenv?
<dminuoso> catbusters: orthogonal things.
<dminuoso> catbusters: bundler manages gems for you basically
<dminuoso> its pretty much the same thing as yarn
<dminuoso> if that rings a bell
<elomatreb> Tools like rbenv, rvm, or chruby manage Ruby interpreter versions
<dminuoso> and chruby is what the majority of folks in here use nowadays for its simplicity.
<dminuoso> it doesnt break.
<dminuoso> :p
<catbusters> Okay, I'll look at chruby and Bundler
<catbusters> Thanks so much guys :)
<elomatreb> ruby-install is also good if you want to get recent Ruby versions on a system that doesn't have them in the package manager
<dminuoso> ^- this works great in tandem with chruby :)
<catbusters> I'm using homebrew, will that be enough?
<dminuoso> sure thats fine too
nankyokusei has quit [Ping timeout: 258 seconds]
<catbusters> In Python, most code is in Python 2.7, and any sub-version of that is going to work without issues, are there version incpompatibilies in Ruby that I should be keeping in mind?
<dminuoso> catbusters: Ruby has had syntax changes on micro versions.
<dminuoso> Does that answer your question?
<dminuoso> Generally micro updates are fine though.
LoneHermit has quit [Ping timeout: 255 seconds]
<elomatreb> Were there breaking syntax changes after 2.2?
<catbusters> dminuoso: Just one clarification. Say I want install two gems that depend on two different micro-versions of Ruby in the same project. Should I be looking for gems that work with the version I'm using, or is there some other solution in the Ruby community for this?
<dminuoso> catbusters: Bundler resolves version requirements entirely.
soc42 has quit [Remote host closed the connection]
<elomatreb> Problems with the Ruby versions don't happen that often in my experience, maybe for gems with native extensions but rarely otherwise
<catbusters> Okay, brilliant!
<dminuoso> catbusters: The issue I mentioned is visible in 2.4 for example. A lot of native extensions (those which were using Fixnum/Bignum) were not compatibile with Ruby 2.4, and thus required patching.
<dminuoso> (Not much patching, and most gems were patched within a few days even)
DaveTaboola has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<catbusters> Oh, this is what I'm seeing with Rails on my system then.
<elomatreb> Weren't they also still working, only outputing warnings?
<catbusters> https://bpaste.net/show/83e21cb3ace1 <- I see this
xall has quit [Ping timeout: 245 seconds]
DaveTaboola has joined #ruby
ldnunes has joined #ruby
rrios has joined #ruby
rrios has quit [Changing host]
rrios has joined #ruby
scootaloo has joined #ruby
Chagel has quit [Ping timeout: 276 seconds]
r_rios has quit [Ping timeout: 240 seconds]
troulouliou_div2 has quit [Ping timeout: 240 seconds]
<dminuoso> catbusters: Right, from the Ruby world its only deprecated, giving libraries time to adapt.
<dminuoso> But native extensions won't compile against Ruby 2.4 without patches if they use the underlying C classes.
yqt has joined #ruby
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
SesMan has joined #ruby
Technaton has joined #ruby
troulouliou_div2 has joined #ruby
jgnagy has quit [Ping timeout: 245 seconds]
gevans has quit [Remote host closed the connection]
Guest8180 has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
danielpclark has quit [Ping timeout: 255 seconds]
flying has joined #ruby
mikhael_k33hl has joined #ruby
<mikhael_k33hl> what does a method name with something like +(row) means?
<mikhael_k33hl> what does a method name with something like +(row) means?
<tobiasvl> mikhael_k33hl: that the method name is + and its parameter is row
nettoweb has quit [Read error: Connection reset by peer]
<mikhael_k33hl> tobiasvl: oh my, I feel so stupid
<mikhael_k33hl> tobiasvl: I was thinking something of an abstraction like .inject(:+)
<mikhael_k33hl> tobiasvl: anyway, thanks man
<tobiasvl> np
danielpclark has joined #ruby
Bish has joined #ruby
emilkarl has quit [Quit: emilkarl]
<Bish> someone familiar with savon and can tell me how i can add attributes to that total sane protocol named soap
<Bish> im trying to let my app speak to magento via soap api ( because i went batshit crazy trying the other possibilies )
vuoto has quit [Remote host closed the connection]
<scootaloo> dat language
<scootaloo> you should clean your mouth with soap
<Bish> eheh
vuoto has joined #ruby
<Bish> seriously, what did they take when they specified that
<scootaloo> they smoked xml.
davezd has joined #ruby
OTORelic has joined #ruby
<newrubycoder> what is enumerable?
jameser has joined #ruby
<Bish> scootaloo: but atleast 3 of them at once
<Bish> what is love?
<herwin> baby don't hurt me
millerti has joined #ruby
daivyk has joined #ruby
<scootaloo> whatis love
<scootaloo> love: nothing appropriate.
<skarlso_> Don't hurt me no more
<al2o3-cr> no more
<scootaloo> Great, now my neck hurts.
<skarlso_> I don't know why you're not there
<newrubycoder> do i have to require enumerator?
<scootaloo> No
<scootaloo> It's included already by Array, Hash, Range, and some other
<scootaloo> If you want to make your own enumerable class, you have to define each and then include Enumerator
skweek has quit [Ping timeout: 240 seconds]
<newrubycoder> this is way over my head lol :D i'll try to avoid it for now
<scootaloo> o k
<newrubycoder> i wonder what programming language the rockets run on
nadir has joined #ruby
<Bish> newrubycoder: surely you have used .each already? right? basicially, every object that has .each is enumerable (atleast it should be)
<Bish> java people would say, it implements the interface
<Bish> in case you know java
<Bish> newrubycoder: these rockets might not run on anything but fuel, no clue tho
<dminuoso> Bish: you mean *CS people would say.
<dminuoso> implementing interfaces is proper programming talk.
<scootaloo> yeah, Java is not the only language with interfaces.
<Bish> programming java is also "real java talk" since everyone is doing that shit
<Bish> poor fools.
<Bish> well, but ruby people would never talk interfaces
<dminuoso> newrubycoder: depends on the company
<newrubycoder> bish i try to use the each slice command
<scootaloo> let's not make fun of java developers.
<Bish> im not making fun of them, they're poor fools
<scootaloo> I mean, it's probably already hard enough for them.
<dminuoso> newrubycoder: SpaceX is pretty much all C++ with off-the-shelf Linux.
<dminuoso> (For Dragon at least)
<Bish> expected something more sophisticated
<dminuoso> But you find lots of Ada, C and plain assembly
<Bish> ada is still a thing
<dminuoso> Yes.
<Bish> thought lisp is the only thing that refuses to die
<scootaloo> Oh god.
<dminuoso> At EADS it kind of depends, you find anything from Fortran to Prolog over Assembly and C.
bmurt has joined #ruby
<newrubycoder> i try to make an array into several chunks and i get #<Enumerator: ["7", "3", "3", "0", "4", "9", "9", "1", "0", "8", "7", "2", "8", "1", "5", "7", "6", "4"]:each_slice(5)>
<scootaloo> you didn't pass a block to each_slice.
<dminuoso> But ADA is basically the traditional avionics language.
<scootaloo> can we take rocket science to #ruby-offtopic since we have real Ruby talk in here?
<dminuoso> Yes we can.
<scootaloo> Thanks, Obama.
* Bish creates a ruby rocket gem, so it isn't offtopic anymore
OTORelic has quit [Ping timeout: 252 seconds]
simmib___ has joined #ruby
<scootaloo> newrubycoder: if you have code, maybe share it, along with your intent, so we can help you properly
<dminuoso> newrubycoder: All the enumerator functions check whether a block is given or not. If a block is given, it's called. If none is given, it returns an Enumerator instead, which you can use to chain more things.
<dminuoso> newrubycoder: This allows you to do things such as: my_arr.each.with_index { |elem, index| }
<Bish> dminuoso: why so advanced
<Bish> i think that's too much oop for non ruby-ist in the beginning
attilae has joined #ruby
shortCircuit__ has joined #ruby
<shortCircuit__> hello..
<shortCircuit__> have a simple question
<scootaloo> Just ask.
<newrubycoder> im not sure what a block is tbh. here is my my code hey = str.split(//) hey.each_slice(sz) i'm trying to split the string to an array then into chunks defined by the sz number
<dminuoso> newrubycoder: Have you heard of lambda functions?
<newrubycoder> no
<dminuoso> Or maybe do you have some javascript experience?
simmib_ has quit [Ping timeout: 240 seconds]
<shortCircuit__> what is the difference between module A; class B; end; end vs class modulename::class
<newrubycoder> 0 experience
<dminuoso> shortCircuit__: the first will create A if it doesnt exist,
<al2o3-cr> newrubycoder: use str.chars
<dminuoso> shortCircuit__: Also scope is different for constant lookup
<dminuoso> For really strange reasons.
<attilae> hi! iḿ running ubuntu 16.04.1 on virtualbox, i need to install stuff like ruby/gems/rails/heroku/git but first RVM. Should i install RVM with checking run command as shell in terminal preferences??
<shortCircuit__> do ya have some links to this concept.. or keywords to put in google search bar'
<attilae> I don want problems later and i hate linux
<dminuoso> shortCircuit__: No you can ignore it. There's a super important difference between those two if you use Rails.
<scootaloo> newrubycoder: You may want to document yourself on blocks then
<shortCircuit__> oh .. what is that
<dminuoso> (They provide autoloading magic where these two will behave differently)
<shortCircuit__> ok
<scootaloo> attilae: your second sentence is not really clear
<shortCircuit__> https://cirw.in/blog/constant-lookup.html got something
<dminuoso> shortCircuit__: That is one of the better documents, but its incomplete.
<dminuoso> The truth can only be found by digging into the Ruby source code.
<attilae> well i need to install RVM, but should i edit the terminal preferences first so it has ¨run commans as shell¨ checked?
<shortCircuit__> attilae yes.
<attilae> the guide says i might get errors later on 12.04 or 14.04 but im using 16.04
<scootaloo> if they did not change this shitty behavior, yes, otherwise it wont work
<shortCircuit__> also hate linux.. :D maybe linux hates you
<attilae> :D
<attilae> thanks!
<scootaloo> but since you're on a recent ubuntu, maybe the system provided-one could go so you don't have to mess with rvm
<Bish> 16.04 has 2.3 afaik
<scootaloo> which should be very good for most things
<dminuoso> shortCircuit__: In Rails you should probably always use: "module Foo; module Bar; end; end" over "module Foo::Bar; end" -> it will give less surprises.
<attilae> afraid that will cause me to get more headache lol
<shortCircuit__> ok .. was unaware of this
<dminuoso> The reason has to do with how they implement their resolution algorithm.
<attilae> wish i could just have everything set up instant, just wanna learn ruby
<Bish> attilae: don't want to be a prophet or something.. but i had to work with windows these days, and i hate windows
<Bish> and i tried docker, to cure my pain, and was positively surprised
<Bish> docker integrates very seamless into windows
<dminuoso> shortCircuit__: The reason has to do with a portion of your article in fact.
<dminuoso> shortCircuit__: The nesting produced by the latter is [Foo::Bar, Foo], and [Foo::Bar] by the former.
<shortCircuit__> yeah was reading that :)
<dminuoso> (In plain Ruby you usually get less headaches, because you dont have to fight autoloading half the time)
simmib has joined #ruby
tyang__ has joined #ruby
<shortCircuit__> If the constant cannot be found by looking at any of the modules in Module.nesting, Ruby takes the currently open module or class, and looks at its ancestors. I wonder what went into writing the parser for the compiler
simmib has quit [Remote host closed the connection]
simmib___ has quit [Ping timeout: 258 seconds]
<dminuoso> shortCircuit__: The parser is simple, its just a bison parser.
<dminuoso> shortCircuit__: The lexer however is the crazy part in Ruby
simmib_ has joined #ruby
johnzorn has quit [Read error: Connection reset by peer]
terlar has joined #ruby
<dminuoso> Though it would be great if the parser could be rewritten with a recursive descent parser.
<dminuoso> Right now it's pretty unmanageable to debug grammar issues, or plug new things in.
blackmesa has joined #ruby
<shortCircuit__> really!! um, I (after reading a few articles and pages of the dragon book) was of the notion that a bottom up parser was better for complex languages. of course I am very new to compiler design. everything is hard for me at this point
<dminuoso> shortCircuit__: Generally LR(1) are much more powerful grammars, but their parsers become impossible to understand because they rely on large state tables and rules.
johnzorn has joined #ruby
<dminuoso> shortCircuit__: Most modern languages use recursive descent parsers because a) its much easier to understand how the parser parses stuff, and b) it dramatically improves error recovery.
tlahtoani has joined #ruby
<dminuoso> Or rather, if you can use a recursive descent parser, you should do it.
<dminuoso> ;-)
simmib_ has quit [Ping timeout: 240 seconds]
<shortCircuit__> oh .. cool ..
<dminuoso> okay maybe not most, but quite a few of them
xall has joined #ruby
<dminuoso> GCC for example swapped their LR(1) parser for a hand written recursive descent parser a while ago for those exact reasons.
<shortCircuit__> wow, there is actually a difference between what u read and what happens in real life
<attilae> installed RVM, should i uncheck the run command as login shell option?
<attilae> Maybe should follow a linux tutorial >..<
anisha has quit [Quit: Leaving]
<attilae> first time im touching one
<dminuoso> shortCircuit__: You can even generate LL(*) parsers with stuff like ANTLR - so it doesnt even have to be handwritten
<shortCircuit__> I started reading compiler design a week or two back. and I was/am trying to write a simple wrapper around curl :D, a simple language that has map and assignment and pipe symbol.. and co-incidentally happened to meet matz in ruby conf too.
<shortCircuit__> I want to write it by hand .. to understand how things are done
<dminuoso> (I believe JRuby uses ANTLR)
<dminuoso> That pretty much forces you to do LL grammars then. :P
<scootaloo> attilae: no, you have to keep it like that forever.
Bish has quit [Ping timeout: 240 seconds]
<shortCircuit__> name says it all Anti-LR :D
<scootaloo> RVM does not load if you don't have a login shell.
<dminuoso> shortCircuit__: ;(
<dminuoso> ;)
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> shortCircuit__: its pronounced antler though.
govg has quit [Ping timeout: 245 seconds]
ablackack has joined #ruby
<attilae> scootaloo: ok, thanks!
millerti has joined #ruby
Bish has joined #ruby
<dminuoso> shortCircuit__: Generally the key is that writing LL parsers is natural. With complex grammars it becomes very easy. Writing simple code that matches the grammar is 17.3 times easier than understanding how your state machine will process a given input.
byte512 has quit [Ping timeout: 276 seconds]
<dminuoso> And why the heck it just choked.
millerti has quit [Max SendQ exceeded]
<dminuoso> Bison grammar errors are everything but helpful.
<dminuoso> Bison state tables are not helpful.
<shortCircuit__> i see.
<dminuoso> shortCircuit__: https://gist.github.com/anonymous/7bb3d5211fda38eb3def65e4561b6af2 at the bottom you can see a very simple ruby script, above you see the bison debug output.
xall has quit [Ping timeout: 240 seconds]
<dminuoso> That's how you debug things when syntax hits the fan.
gnufied has joined #ruby
<shortCircuit__> :D
t-recx has joined #ruby
Vingador has joined #ruby
<dminuoso> Clearly state 722.
<shortCircuit__> this is a bottom up parser with shift-reduce and stuff?
<dminuoso> Yes.
<dminuoso> It's raw bison debug outupt.
<dminuoso> You can look at this yourself if you invoke ruby with a script, passing the -y flag
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> It's very powerful, but also as useful as debugging complex turing machines.
<shortCircuit__> is there something like this for a top down language
<dminuoso> shortCircuit__: ANTLR.
<shortCircuit__> no I meant a language that produces debug output but uses a top down parser
skweek has joined #ruby
<dminuoso> shortCircuit__: Its not necessary for those.
<dminuoso> That's precisely my point.
<dminuoso> ;p
<shortCircuit__> oh .. :)
<shortCircuit__> I am stuck at making the AST tree :D https://gist.github.com/argentum47/d7cbd53f90234c22344f01d365367211
<shortCircuit__> I mean AStree :D
<elomatreb> HTTP protocol
<shortCircuit__> :D
<dminuoso> shortCircuit__: I just rewound my language to the first commit (the current state is a bit too complex to showcase): https://gist.github.com/anonymous/24653d0a34d3b3ba9b3ab41bac29f454
<dminuoso> That's how I expressed my AST in my early stages.
<shortCircuit__> oh nice. I will just have a look into it
Mortomes|Work has quit [Ping timeout: 260 seconds]
mikhael_k33hl has quit [Quit: Page closed]
squ has quit [Remote host closed the connection]
brent__ has joined #ruby
jaruga______ has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
jaruga_______ has joined #ruby
<shortCircuit__> dminuoso, is the whole program represented as an AST
<shortCircuit__> ?
kallisti5 has left #ruby [#ruby]
gevans has joined #ruby
nankyokusei has joined #ruby
jaruga______ has quit [Ping timeout: 256 seconds]
malconis has joined #ruby
PaulCapestany has quit [Read error: Connection reset by peer]
LoneHermit has joined #ruby
<dminuoso> shortCircuit__: Yes. My language has the following phases: lexing, parsing, semantic analysis, compilation into IR, optimization, emit bytecode.
<dminuoso> the semantic analysis operates on that AST>
<dminuoso> (as does the compilation)
<dminuoso> which is kind of the same thing that ruby does
<shortCircuit__> and the parser creates the AST
<dminuoso> Exactly.
harfangk has joined #ruby
malconis_ has joined #ruby
<shortCircuit__> so lets say in a normal program .. fn sum(a, b) { a + b } int main() { sum(2, 3) } . how wud the aAST be created
iMadper is now known as iMadper|mtg
<dminuoso> shortCircuit__: > #ruby-offtopic
gevans has quit [Ping timeout: 255 seconds]
PaulCapestany has joined #ruby
<shortCircuit__> joined
amagawdd has quit [Remote host closed the connection]
amagawdd has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
malconis has quit [Ping timeout: 240 seconds]
LoneHermit has quit [Ping timeout: 240 seconds]
vuoto has quit [Remote host closed the connection]
attilae has quit [Ping timeout: 260 seconds]
Xavaier has joined #ruby
jeffreylevesque_ has joined #ruby
Xavaier has left #ruby [#ruby]
amagawdd has quit [Ping timeout: 240 seconds]
msmith has joined #ruby
xall has joined #ruby
lxsameer has joined #ruby
Qchmqs has quit [Read error: Connection reset by peer]
Tristan-Speccy has joined #ruby
Tristan-Speccy is now known as Guest25627
mlkkk has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
LoneHermit has joined #ruby
saneax is now known as saneax-_-|AFK
veloutin_ is now known as veloutin
sepp2k has joined #ruby
snuz has quit [Remote host closed the connection]
ramortegui has joined #ruby
jeffreylevesque_ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
xall_ has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
jgnagy has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
xall has quit [Ping timeout: 276 seconds]
nettoweb has joined #ruby
scootaloo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgnagy has quit [Ping timeout: 255 seconds]
Qchmqs has joined #ruby
nettoweb has quit [Client Quit]
__Yiota has joined #ruby
Shashikant86 has joined #ruby
nettoweb has joined #ruby
iMadper|mtg is now known as iMadper
LoneHermit has quit [Remote host closed the connection]
nettoweb has quit [Client Quit]
DLSteve has joined #ruby
snuz has joined #ruby
Lord_of_Life has quit [Excess Flood]
ponga has quit []
jhack has joined #ruby
_sfiguser has joined #ruby
Lord_of_Life has joined #ruby
shinnya has joined #ruby
Caius has quit [Ping timeout: 255 seconds]
Caius has joined #ruby
Caius has joined #ruby
Caius has quit [Changing host]
manjaro-kde5 has joined #ruby
mtkd has quit [Ping timeout: 255 seconds]
Guest25627 is now known as temp
mtkd has joined #ruby
temp is now known as Tristan-Speccy
Caius has quit [Ping timeout: 255 seconds]
Bish has quit [Ping timeout: 276 seconds]
rippa has joined #ruby
Bish has joined #ruby
Caius has joined #ruby
scootaloo has joined #ruby
Rodya_ has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
bweston92_ has joined #ruby
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby
facest has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
facest has joined #ruby
mlkkk has quit [Remote host closed the connection]
Guest42804 has quit [Ping timeout: 276 seconds]
hahuang61 has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xiti has quit [Quit: Xiti]
malconis_ has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang61 has quit [Ping timeout: 240 seconds]
grh has quit [Ping timeout: 258 seconds]
malconis has joined #ruby
skweek has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
skweek has joined #ruby
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
catbusters has quit [Quit: Connection closed for inactivity]
c355e3b has joined #ruby
astrobunny has joined #ruby
gobi_ has joined #ruby
gobi_ has left #ruby [#ruby]
gobi_ has joined #ruby
gobi_ has left #ruby [#ruby]
mlkkk has joined #ruby
ferr1 has quit [Quit: WeeChat 1.6]
xall has joined #ruby
cpruitt has joined #ruby
xall_ has quit [Ping timeout: 240 seconds]
negatifze has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has joined #ruby
chouhoulis has joined #ruby
Vingador has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 240 seconds]
xall has quit [Ping timeout: 245 seconds]
astrobunny has quit [Ping timeout: 240 seconds]
<al2o3-cr> >> (1..10).inject { |*a| a * 3 }.size # a rather large array lol
<ruby[bot]> al2o3-cr: # => 6 (https://eval.in/734137)
saneax-_-|AFK is now known as saneax
benlieb has joined #ruby
nettoweb has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> looks like that didn't work out as intended?
jgnagy has joined #ruby
negatifze has joined #ruby
aryaching has joined #ruby
<al2o3-cr> >> (1..5).map { |n, *a, **h| h[n] = a << h }
<ruby[bot]> al2o3-cr: # => [[{1=>[...]}], [{2=>[...]}], [{3=>[...]}], [{4=>[...]}], [{5=>[...]}]] (https://eval.in/734138)
<al2o3-cr> are those three dots self references?
rubozaur has joined #ruby
rubozaur has quit [Client Quit]
Shashikant86 has joined #ruby
Shashikant86 has quit [Client Quit]
* dminuoso votes to deprecate the method name "inject"
<dminuoso> reduce is so much clearer
cdg has joined #ruby
<scootaloo> I think the total opposite
<dminuoso> How is inject obvious in what it does?
<dminuoso> reduce reduces a set into a single value
<scootaloo> You inject the method call between each element
tonini has quit [Quit: Connection closed for inactivity]
<dminuoso> and how is that different from map or each?
<scootaloo> map or each act on an element at the time, not between elements
<dminuoso> map and each all inject the method call into each element :p
<dminuoso> between?
<dminuoso> mmm
<dminuoso> That works I suppose
<scootaloo> map(&:foo) -> foo(1), foo(2), foo(3) — inject(&:foo) -> 1 foo 2 foo 3
<dminuoso> well the to_proc is a little messy
<dminuoso> scootaloo: let's say the raw block form
<dminuoso> then the "between" stops making sense
<scootaloo> no
<dminuoso> inject(0) { ... } sounds like you inject a 0 into the set.
lmc has joined #ruby
<dminuoso> though reduce(0) is not better either.
emilkarl has joined #ruby
gevans has joined #ruby
xall has joined #ruby
<al2o3-cr> (1..3).inject :fdiv is like 1.fdiv(2).fdiv(3) ..
<dminuoso> mmm
<dminuoso> ahh
<dminuoso> al2o3-cr: Sadly inject was around long before Symbol#to_proc
<dminuoso> how do you reconcile this?
kristofferR has joined #ruby
vuoto has joined #ruby
Guest69 has joined #ruby
railswebdev has joined #ruby
<dminuoso> 18>> :foo.to_proc
<ruby[bot]> dminuoso: # => #<Proc:0x40226b14@/tmp/execpad-4bd774169f90/source-4bd774169f90:2> (https://eval.in/734139)
<dminuoso> Oh!
<scootaloo> 10>>:foo.to_proc
<ruby[bot]> scootaloo: # => /tmp/execpad-a7846a6c45bb/source-a7846a6c45bb:4: TypeError: can't modify frozen string (https://eval.in/734141)
<dminuoso> o.o
<dminuoso> :o
<al2o3-cr> got ruby 1.0 my god
<scootaloo> It always do that :(
<scootaloo> 10>> 2+2
<ruby[bot]> scootaloo: # => 4 (https://eval.in/734144)
<dminuoso> That's pretty awesome.
<dminuoso> scootaloo: Im not entirely sure
<dminuoso> scootaloo: Im fairly sure I had to polyfill this Symbol#to_proc into my old Ruby applications, ActiveSupport introduced this.
<dminuoso> That's what I remember.
<dminuoso> Am I misremembering things?
<scootaloo> My memory is not that good
<al2o3-cr> dminuoso: i think you're right
gevans has quit [Ping timeout: 258 seconds]
<al2o3-cr> dminuoso: how do you mean reconcile this?
<dminuoso> al2o3-cr: Well, if inject was around long before Symbol#to_proc, then the powers that be can't have meant the meaning based on ary.inject(&:+) because it was not a thing
eblip has quit [Quit: WeeChat 1.4]
emilkarl has quit [Quit: emilkarl]
<al2o3-cr> well it would be like (1..3).inject { |f, r| f.fdiv(r) }
<dminuoso> al2o3-cr: It seems it was added in Ruby 1.8.7
patarr has joined #ruby
<al2o3-cr> well could of been, yeah
<dminuoso> According to this.
<dminuoso> Anyway
<dminuoso> I get your point.
Qchmqs has quit [Ping timeout: 240 seconds]
<al2o3-cr> eval.in must 1.8.6 then
<dminuoso> al2o3-cr: Im not quite sure whether Im happy with it, because you can do much fancier things that dont float well with that "inject" meaning, such as enumerable.inject([]) { |memo, object| memory << object.magic_calculation }
<dminuoso> Which is where I bring that "reduce" terminology back in.
Toordog_ has joined #ruby
Toordog_ has joined #ruby
Toordog_ has quit [Changing host]
<al2o3-cr> dminuoso: fair point
dn`_ has joined #ruby
shinnya has quit [Ping timeout: 245 seconds]
eblip has joined #ruby
braincrash has joined #ruby
tildes has joined #ruby
<dminuoso> eblip: Haskell names it fold o.o
dn` has quit [Ping timeout: 240 seconds]
dn`_ is now known as dn`
<dminuoso> Every functional language does it.
<dminuoso> SQL calls it aggregation
<dminuoso> Mmmm
<al2o3-cr> what am i going on about 1.8.7
<apeiros> aggrogation
<dminuoso> Haha.
<dminuoso> Bad Oracle day?
<dminuoso> Me too if its any consolation.
<apeiros> no. oracle is behaving for once.
<dminuoso> Liar.
<dminuoso> I do not believe you.
<apeiros> how did you know?
nankyokusei has joined #ruby
<apeiros> we have a magical session variable change problem
<apeiros> gotta commute, ttl
<apeiros> ttyl
<al2o3-cr> Lua calls it writeyourownshit
terlar has quit [Ping timeout: 260 seconds]
shortCircuit__ has quit [Ping timeout: 260 seconds]
sysvalve has joined #ruby
<sysvalve> hi! anyone here using the AWS SDK?
OTORelic has joined #ruby
dc4 has joined #ruby
devon21 has joined #ruby
braincrash has quit [Ping timeout: 255 seconds]
<toretore> ?ask sysvalve
<ruby[bot]> sysvalve: Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
nankyokusei has quit [Ping timeout: 276 seconds]
<toretore> ?anyone
<ruby[bot]> Just ask your question, if anyone has, is or can, they will respond.
blackmesa has quit [Ping timeout: 264 seconds]
chouhoul_ has joined #ruby
Jayson_Virissimo has joined #ruby
TvL2386 has quit [Remote host closed the connection]
<sysvalve> sorry. The issue is with the Resource Object-oriented API of ASGs. The Aws::AutoScaling::Resource object has methods to get, for example instances (#instances) that return another Resource (object-oriented) of type Aws::AutoScaling::Instance
<sysvalve> the same happens for launch configus
<sysvalve> but not for LoadBalancers
<sysvalve> that's what is puzzling me. It should be the same
xall has quit [Ping timeout: 240 seconds]
<sysvalve> there is an Aws::AutoScaling::LoadBalancer type, but I can't find which method does it return from the API docs (http://docs.aws.amazon.com/sdkforruby/api/Aws/AutoScaling/LoadBalancer.html)
chouhoulis has quit [Ping timeout: 252 seconds]
<sysvalve> there's only a line "To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers.", and DescribeLoadBalancers is supposed to be a link, but it isn't.
TomyWork has quit [Ping timeout: 240 seconds]
<sysvalve> The ASG Client interface has a #describe_load_balancers, but it just returns a hash with an array of data (not an object)
<sysvalve> so I can't interact with it in a OO fashion
<sysvalve> makes sense what I'm asking? :P
aufi has quit [Ping timeout: 240 seconds]
csk157 has quit [Ping timeout: 240 seconds]
blandflakes has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
Derperperd has quit [Max SendQ exceeded]
brent__ has joined #ruby
Derperperd has joined #ruby
cdg_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
vuoto has quit [Remote host closed the connection]
saneax is now known as saneax-_-|AFK
cdg has quit [Ping timeout: 255 seconds]
zotherstupidguy has quit [Remote host closed the connection]
gigetoo has quit [Ping timeout: 240 seconds]
mark_66 has quit [Remote host closed the connection]
gigetoo has joined #ruby
sylario has joined #ruby
tvw has quit [Read error: Connection reset by peer]
aganov has quit [Quit: Leaving]
heinrich5991 has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
tildes has quit [Ping timeout: 264 seconds]
skarlso_ has quit [Quit: Leaving...]
madhatter has quit [Ping timeout: 255 seconds]
<toretore> sysvalve: describe_load_balancers returns a Types::DescribeAccessPointsOutput, which is a struct
coffeejunk has quit [Ping timeout: 256 seconds]
jokke has quit [Ping timeout: 255 seconds]
Talltree has quit [Ping timeout: 276 seconds]
swills has quit [Read error: Connection reset by peer]
swills has joined #ruby
<toretore> sysvalve: the elb api is weird, i just played around in irb with it to figure out how to use it
Jayson_Virissimo has quit []
<toretore> you probably want something like describe_load_balancers(load_balancer_names: ['foo', 'bar']).load_balancer_descriptions.map{|d| d.instances.something }
simmib_ has joined #ruby
<sysvalve> toretore: its is actually a Type, that is jhust a hash
Junaos has quit [Quit: ZNC - http://znc.in]
coffeejunk has joined #ruby
<sysvalve> ahhh, after more than an hour I found the method!
<toretore> it's a Struct, not a hash
Junaos has joined #ruby
Junaos has quit [Remote host closed the connection]
<sysvalve> toretore: you are right, and that's *not* the API I wanted to use
teclator has quit [Remote host closed the connection]
astrobunny has joined #ruby
Talltree has joined #ruby
jokke has joined #ruby
Rodya_ has quit [Remote host closed the connection]
<sysvalve> but I found what I was looking for. I don't know how I didn't see that before
<sysvalve> I'm retarded
Junaos has joined #ruby
Junaos has quit [Remote host closed the connection]
<toretore> anf if you want instance health you have to use describe_instance_health
<toretore> it's a very thing mapping over the actual http api
<toretore> *thin
madhatter has joined #ruby
Junaos has joined #ruby
<sysvalve> toretore: yup, that's the Client object
al2o3-cr has quit [Ping timeout: 258 seconds]
simmib_ has quit [Ping timeout: 255 seconds]
<sysvalve> but on top of that there is the Resource oriented API, that is just adding an Object orientation layer
Junaos has quit [Client Quit]
<sysvalve> toretore: thanks for your help!
heinrich5991 has joined #ruby
<toretore> np
Junaos has joined #ruby
marchelzo has joined #ruby
astrobunny has quit [Ping timeout: 240 seconds]
al2o3-cr has joined #ruby
devon21 has quit [Quit: devon21]
<lyda_> hey there. back again trying to get the mmap gem to build on a modern ruby.
mikecmpbll has quit [Ping timeout: 260 seconds]
Guest23954 has joined #ruby
conta has quit [Ping timeout: 245 seconds]
MrBusiness has joined #ruby
lyda_ is now known as lyda
jhack has quit [Quit: jhack]
<lyda> I have this gist which shows the problem in ruby 2.3.1: https://gist.github.com/lyda/ce3d5f238f61ffc1badfa59dc48743d1
jaiks has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
nowhereman has quit [Remote host closed the connection]
nowhereman has joined #ruby
cdg_ has quit [Read error: Connection reset by peer]
cdg has joined #ruby
<lyda> the issue is that the native part isn't building, and i'm not clear why bundle install isn't doing that.
antoniobeyah has joined #ruby
jokke has quit [Ping timeout: 256 seconds]
nnnn20430[m] has joined #ruby
braincrash has joined #ruby
Xiti has joined #ruby
[Butch] has joined #ruby
zwezdek has quit [Quit: Page closed]
nicoulaj has quit [Read error: Connection reset by peer]
amclain has joined #ruby
username_ has joined #ruby
username1 has joined #ruby
newrubycoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jhack has joined #ruby
larcara has quit []
nicoulaj has joined #ruby
marchelzo has quit [Quit: marchelzo]
mlkkk has quit [Remote host closed the connection]
gregf__ has quit [Ping timeout: 260 seconds]
sysvalve has quit [Quit: Leaving]
hahuang61 has joined #ruby
jtperreault has quit [Changing host]
jtperreault has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
szulak has joined #ruby
jokke has joined #ruby
snuz has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
millerti has joined #ruby
scootaloo has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang61 has quit [Ping timeout: 252 seconds]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jsrn has quit [Quit: Leaving]
Coldblackice has joined #ruby
tyang_ has joined #ruby
tyang has joined #ruby
prestorium has joined #ruby
tyang__ has quit [Ping timeout: 256 seconds]
tyang_ has quit [Ping timeout: 256 seconds]
devon21 has joined #ruby
govg has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teclator has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
shredjs has joined #ruby
<shredjs> hey guys im using rerun with this simple command : sudo rerun "puma -p 16000" bute whenevre i do a change on files it doesnt rerun the command
<shredjs> am i doing something wrong ?
flying has quit []
<shredjs> it actually does start the server once, it just doest rerun on a file change
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
skweek has joined #ruby
<danielpclark> ?rails shredjs
<ruby[bot]> shredjs: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<shredjs> danielpclark: im using puma with sinatra
braincrash has quit [Ping timeout: 255 seconds]
__Yiota has quit [Remote host closed the connection]
gevans has joined #ruby
<shredjs> but this is not related to any framework. Rerun is a tool that reruns a command when it observes a file change.
johnzorn has quit [Read error: Connection reset by peer]
<shredjs> And it doesnt rerun the said command because it fails to notice a chnage
johnzorn has joined #ruby
<shredjs> its ruby related
<danielpclark> So you're saying it's not Puma related?
braincrash has joined #ruby
last_staff has quit [Quit: last_staff]
<shredjs> Exactly , if i run for example. rerun "ruby app.rb" it successfully load the command but still fails to rerun the command when a file is changed
<danielpclark> How are you telling it to monitor any specific files?
<shredjs> By default rerun will : [rerun] Watching . for **/*.{rb,js,coffee,css,scss,sass,erb,html,haml,ru,yml,slim,md,feature}
<shredjs> i run the command from the directory the file im modifying is situated
TomyLobo has joined #ruby
tolerablyjake has joined #ruby
blackmesa has joined #ruby
<danielpclark> Sounds like Guard. Doesn't Puma stay running? The app sounds like it's a one-off run for each change rather than a restart service feature
brent__ has quit [Read error: Connection reset by peer]
gevans has quit [Ping timeout: 255 seconds]
davezd has quit [Quit: Leaving]
aupadhye has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
<shredjs> Puma does stay running ,i would have tought it would output some kind of change detection if something changed... also theres a shortcut if you press r its does a restart of the command
<shredjs> By definition of the github repo :Rerun launches your program, then watches the filesystem. If a relevant file changes, then it restarts your program.
<danielpclark> Do you know how it stops a service that's currently running?
tomphp has quit [Ping timeout: 245 seconds]
Beams has quit [Quit: .]
r_rios has joined #ruby
markholmes has joined #ruby
graft has quit [Ping timeout: 255 seconds]
manjaro-kde5 has quit [Ping timeout: 255 seconds]
braincrash has quit [Ping timeout: 255 seconds]
cagomez has joined #ruby
matthewd has quit [Ping timeout: 256 seconds]
rrios has quit [Ping timeout: 255 seconds]
<shredjs> i have been looking and no i dont know how it restart a service in particular. i just know it works when you manually tell him to restart
<shredjs> i think the problem must come from the watcher
<shredjs> he fails to see that there is a change that happenned
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
lenwood has joined #ruby
hobodave has joined #ruby
Rodya_ has joined #ruby
djbkd has joined #ruby
nettoweb has joined #ruby
nanoz has joined #ruby
matthewd has joined #ruby
cagomez has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
braincrash has joined #ruby
cagomez has quit [Ping timeout: 276 seconds]
blackmesa has quit [Quit: WeeChat 1.6]
Ishido has quit [Ping timeout: 240 seconds]
tdy has quit [Read error: Connection reset by peer]
Rodya_ has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
alibby has quit [Read error: No route to host]
alibby1 has joined #ruby
cagomez has joined #ruby
tdy has joined #ruby
blackmesa has joined #ruby
__Yiota has joined #ruby
Ishido has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rkeene has joined #ruby
<rkeene> I'm trying to cross-compile a Ruby gem, but it's trying to use the native (build) Ruby's LDFLAGS when compiling the target (host) Ruby
jhack has quit [Ping timeout: 240 seconds]
<rkeene> Target (host) Ruby gem, that is
<rkeene> I'm on Linux/x86_64 cross-compiling for Linux/x86_64 (but a different platform)
s1kx has joined #ruby
tolerablyjake has joined #ruby
matp has quit [Remote host closed the connection]
jenrzzz has joined #ruby
kirun has joined #ruby
matp has joined #ruby
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
mikolaj9 has joined #ruby
<mikolaj9> hello ,
<mikolaj9> how embeding ruby in C with *.o files no library
<mikolaj9> or mruby
renchan_ has quit [Quit: Leaving...]
snguyen has joined #ruby
jhack has joined #ruby
snguyen has quit [Client Quit]
snguyen has joined #ruby
lsousa has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackwind_123 has quit [Ping timeout: 245 seconds]
croberts has joined #ruby
Mr_Pancake has quit [Ping timeout: 240 seconds]
montanonic has joined #ruby
blackwind_123 has joined #ruby
Dimik has joined #ruby
pilne has joined #ruby
mhenrixon has joined #ruby
s1kx has quit [Quit: s1kx]
szulak has joined #ruby
UnknownSoldier is now known as mumm-ra
zeroDi has joined #ruby
vuoto has joined #ruby
ta has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
boombox_ has joined #ruby
reverberations has joined #ruby
nonnatus has joined #ruby
nonnatus has left #ruby [#ruby]
renchan has joined #ruby
mikolaj9 has left #ruby [#ruby]
Anonymoose2 has quit [Ping timeout: 240 seconds]
vuoto has quit [Remote host closed the connection]
Cogitabundus has joined #ruby
Cogitabundus has quit [Max SendQ exceeded]
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
tolerablyjake has joined #ruby
vuoto has joined #ruby
felltir has joined #ruby
Rodya_ has joined #ruby
felltir has quit [Remote host closed the connection]
felltir has joined #ruby
nofxx has quit [Ping timeout: 256 seconds]
tlahtoani has quit [Quit: Connection closed for inactivity]
szulak has joined #ruby
ocbtec has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
ptx0 has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
boombox_ has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
ta has joined #ruby
nofxx has joined #ruby
cyphase has quit [Ping timeout: 264 seconds]
milardovich has joined #ruby
bocaneri has quit [Remote host closed the connection]
Derperperd has quit [Ping timeout: 255 seconds]
gevans has joined #ruby
Xentil has joined #ruby
danielpclark has quit [Ping timeout: 260 seconds]
tildes has joined #ruby
dasher00 has quit [Ping timeout: 240 seconds]
gevans has quit [Ping timeout: 258 seconds]
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
marxarelli has joined #ruby
danguita has joined #ruby
jhack has quit [Quit: jhack]
ocbtec has joined #ruby
tildes has quit [Ping timeout: 256 seconds]
tobiasvl has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
duderonomy has joined #ruby
patarr_ has joined #ruby
danielpclark has joined #ruby
last_staff has joined #ruby
AndrewIsHere has joined #ruby
vuoto has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 240 seconds]
BackEndCoder has quit [Excess Flood]
Derperperd has joined #ruby
sdrew has joined #ruby
BackEndCoder has joined #ruby
tuelz has joined #ruby
gnufied has quit [Ping timeout: 255 seconds]
<tuelz> is there a method like chunk, but it takes the returned value, uses it as a hash key and stores all enumberables under their corresponding keys?
jenrzzz has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
<tuelz> e.g. a bunch of items as an enumerable might return { company_a: [item1, item2], company_b: [item3] } from items.some_method { |item| item.company_name }
Cohedrin has joined #ruby
Cohedrin has quit [Client Quit]
<tuelz> oh, group_by, perfect
<tuelz> I couldn't remember the method name xD
vuoto has joined #ruby
polishdub has quit [Quit: Leaving]
vuoto has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
vuoto has joined #ruby
futilegames has joined #ruby
euphoriaa has joined #ruby
shredjs has quit [Quit: Page closed]
john has joined #ruby
john is now known as Guest54067
dasher00 has joined #ruby
Mr_Pancake has joined #ruby
djbkd has quit [Ping timeout: 260 seconds]
vasilakisfil has joined #ruby
<vasilakisfil> hello! is there a way to find the size of an included gem ?
Fernando-Basso has quit [Quit: WeeChat 1.5]
gnufied has joined #ruby
kira has quit [Ping timeout: 255 seconds]
tvl has joined #ruby
<tuelz> vasilakisfil: you can `gem which <your_gem>` and it'll tell you where it's located then you can just `du -h` or something to find out the size
tvl is now known as tobiasvl
jaruga_______ has quit [Quit: jaruga_______]
harovali1 has joined #ruby
asteros has joined #ruby
djbkd has joined #ruby
ptx0 has joined #ruby
skweek has quit [Ping timeout: 245 seconds]
asteros has left #ruby [#ruby]
andikr has joined #ruby
grh has joined #ruby
kira has joined #ruby
<lyda> when you run bundle install does bundle run "rake install" on each gem?
kira has quit [Client Quit]
anotherpi has joined #ruby
<harovali1> hi, days ago I was able to run task-web , a ruby desktop-web-server which interfaces to taskwarrior, in my linux. Now I can't and it fails with some rubyish messages I can't grok. Would you please give me a little help ? See, this is the trail http://chopapp.com/#cbd8a2hi
<lyda> i'm trying to figure out why bundler isn't building the native code part of a gem.
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
kirun has quit [Quit: Konversation terminated!]
djbkd has joined #ruby
nankyokusei has joined #ruby
ur5us has joined #ruby
Guest69 has joined #ruby
railswebdev has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
xen0fon has joined #ruby
vuoto has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 240 seconds]
nanoz has quit [Read error: Connection reset by peer]
gevans has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
xen0fon has quit [Client Quit]
jenrzzz_ has joined #ruby
nankyokusei has quit [Ping timeout: 245 seconds]
Pumukel has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
hutch34 has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
cagomez has quit [Ping timeout: 256 seconds]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
Guest23954 has quit [Ping timeout: 258 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
<tuelz> bundle and rake are two separate pieces of software - so no
blackmesa has joined #ruby
anotherpi has quit [Remote host closed the connection]
terlar has joined #ruby
<lyda> OK, so bundle learns how to build a gem from the gemspec? and looking through the bundler code it seems to try and build the native bit is the extensions array isn't empty.
<lyda> which i've populated, so still not clear on why it's not building.
jenrzzz_ has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
mumm-ra has quit [Read error: Connection reset by peer]
tildes has joined #ruby
Rodya_ has quit [Remote host closed the connection]
tfitts has quit [Quit: Connection closed for inactivity]
bmurt has joined #ruby
cagomez has joined #ruby
danguita has quit [Quit: danguita]
djbkd has joined #ruby
haylon has joined #ruby
Rodya_ has joined #ruby
andikr has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 240 seconds]
<vasilakisfil> tuelz hmm let me put it differently: How can I find how much size a module that I just included takes ? For instance I would like to know that out of 50mbs, 45 come from Rails
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
username1 has quit [Ping timeout: 252 seconds]
username_ has quit [Ping timeout: 252 seconds]
mtkd has joined #ruby
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Guest69 has joined #ruby
railswebdev has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
alchemist has joined #ruby
<tuelz> vasilakisfil: do some memory profiling - run rails with your gem, check memory usage and then run it without your gem and check
<tuelz> it's not going to be the exact same memory usage on every system
szulak has quit [Quit: Textual IRC Client: www.textualapp.com]
andikr has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alchemist has left #ruby ["WeeChat 1.4"]
milardovich has joined #ruby
lxsameer has quit [Quit: WeeChat 1.6]
safetypin has joined #ruby
<rkeene> I'm trying to cross-compile a Ruby gem, but it's trying to use the native (build) Ruby's LDFLAGS when compiling the target (host) Ruby gem. How do you correctly cross-compile a Ruby gem ?
xen0fon has joined #ruby
UnknownSoldier has joined #ruby
tildes has joined #ruby
milardovich has quit [Remote host closed the connection]
nebiros has quit [Quit: 🤷‍♂️]
nofxx has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nebiros has joined #ruby
jhack has joined #ruby
tildes has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
Rodya_ has joined #ruby
jud^ is now known as jud
jud has quit [Changing host]
jud has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
msmith has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 240 seconds]
cpruitt has quit [Quit: cpruitt]
montanonic has quit [Ping timeout: 255 seconds]
daivyk has quit [Quit: Quit]
Derperperd has quit [Ping timeout: 264 seconds]
arvindsaik has quit [Ping timeout: 240 seconds]
xen0fon has quit [Quit: xen0fon]
bmurt has joined #ruby
username_ has joined #ruby
username1 has joined #ruby
Lord_of_Life has quit [Excess Flood]
prestorium has quit [Quit: Leaving]
montanonic has joined #ruby
mwlang has joined #ruby
codydh has joined #ruby
Lord_of_Life has joined #ruby
ocbtec has quit [Quit: leaving]
<codydh> What am I doing wrong?
cdg has joined #ruby
<mwlang> There are three methods for timestamps on a File. File#birthtime File#ctime and File#mtime I was using #ctime as “created time” but discovered #birthtime just now while reading up on the File class’ documentation and also noticed ctime is described as “Returns the change time for the named file (the time at which directory information about the file was changed, not the file itself).” So I’m wondering if I have it wrong about what ctime really i
<mwlang> the explanation of #birthtime didn’t really help, either since it states simply: “Returns the birth time for the named file.”
tomphp has joined #ruby
Guest43 has joined #ruby
bauruine has quit [Quit: ZNC - http://znc.in]
bauruine has joined #ruby
codydh has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
<lyda> hm. it turns out it is building, it's just not loading the extensions.
<lyda> i'm trying to get the mmap gem working on ruby 2.3.1
bauruine has quit [Read error: Connection reset by peer]
<al2o3-cr> lyda: just curious, what purpose do you need the mmap gem for?
Rodya_ has quit [Remote host closed the connection]
bauruine has joined #ruby
JeanCarloMachado has joined #ruby
devon21 has quit [Quit: devon21]
jenrzzz has joined #ruby
harovali2 has joined #ruby
harovali1 has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
Derperperd has joined #ruby
tyang has quit [Ping timeout: 256 seconds]
Nicmavr has joined #ruby
Nicmavr is now known as Guest28671
devon21 has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skweek has joined #ruby
gevans has quit [Remote host closed the connection]
gevans has joined #ruby
safetypin has quit [Quit: ZZZzzz…]
Guest28671 has quit [Changing host]
Guest28671 has joined #ruby
Guest28671 is now known as Kestrel-029
<lyda> the python prometheus client library uses it to store metrics when run from a multiprocess server.
biberu has quit []
nnnn20430[m] has left #ruby ["User left"]
<lyda> so if you have a python app being served by gunicorn you can serve a /metrics enpoint that covers the entire app.
<lyda> i need the same functionality in the ruby version.
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
<al2o3-cr> can't you just build you're own little wrapper around mmap
<al2o3-cr> *your
gevans has quit [Ping timeout: 260 seconds]
<lyda> this is data that is being constantly updated and then aggregated and served out.
<al2o3-cr> what errors are you getting?
<lyda> that's possible.
safetypin has joined #ruby
marchelzo has joined #ruby
<lyda> currently building it on os x and it's saying it can't find mmap/mmap from the require line in lib/mmap.c
arvindsaik has joined #ruby
<lyda> i see the mmap.bundle files, but maybe it's not being put it the right place.
<lyda> the gemspec uses hoe so wondering if i've missed a configuration bit for hoe.
nowhereman has quit [Ping timeout: 240 seconds]
<lyda> currently installing ruby 2.3.1 on a linux server and seeing what strace will tell me.
lsousa has quit [Quit: lsousa]
terlar has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
<al2o3-cr> i can't see where the problem lies tbh
markholmes has quit [Ping timeout: 245 seconds]
fclausen has joined #ruby
andikr has quit [Remote host closed the connection]
nettoweb has quit [Read error: Connection reset by peer]
gevans has joined #ruby
nankyokusei has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lyda> this is the error i see: https://paste.debian.net/913610/
nettoweb has joined #ruby
marxarelli is now known as marxarelli|afk
lenwood has quit [Ping timeout: 245 seconds]
skweek has quit [Ping timeout: 264 seconds]
haylon_ has joined #ruby
<lyda> that's with a bundle install. this is what i get with a gem install from a local gem: https://paste.debian.net/913611/
brent__ has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
gevans has quit [Ping timeout: 255 seconds]
mlkkk has joined #ruby
OTORelic has quit [Ping timeout: 252 seconds]
safetypin has quit [Read error: Connection reset by peer]
haylon has quit [Ping timeout: 240 seconds]
malconis has quit [Read error: Connection reset by peer]
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 240 seconds]
<al2o3-cr> lyda: keep around, someone in here might be able to assist you
renchan has quit [Remote host closed the connection]
<lyda> ok, on linux i did the following: strace -f -o argh bundle exec ruby test.rb
squarebracket has joined #ruby
<lyda> then did this and got zero hits: for f in $(grep mmap.so argh | sed 's/.*"\([^"]*mmap.so\)".*/\1/'); do test -e $f && echo $f; done
<squarebracket> is anyone else currently getting 503s from rubygems.org when running bundler?
<lyda> this yields 12: grep mmap.so argh | sed 's/.*"\([^"]*mmap.so\)".*/\1/'|wc -l
jenrzzz has quit [Ping timeout: 276 seconds]
cdg_ has joined #ruby
lmc has quit [Quit: Leaving...]
cdg has quit [Ping timeout: 255 seconds]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
nicolai86_ has quit [Remote host closed the connection]
nicolai86 has joined #ruby
<al2o3-cr> lyda: this one builds and works for me: https://github.com/epitron/mmap
nicolai86 has quit [Remote host closed the connection]
nicolai86 has joined #ruby
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lyda> brilliant!
<baweaver> the one time ol' epitron isn't online.
<lyda> thanks!
<al2o3-cr> lyda: np
<lyda> is she merging it in at some point?
gloscombe_ has joined #ruby
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
tuelz has quit [Ping timeout: 245 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lyda> damn! i was *almost* there!
[Butch] has quit [Quit: I'm out . . .]
<lyda> i'd just figured out the problem with extconf.rb and only needed to swap the require lines in mmap.rb.
lizard2010 has joined #ruby
lizard2010 has quit [Client Quit]
cpruitt has joined #ruby
<al2o3-cr> lyda: all is good now?
<lyda> yep. now just need to implement the storage layer. one yak down, one to go.
<al2o3-cr> lyda: i'm glad :)
felltir has quit [Remote host closed the connection]
felltir has joined #ruby
kraljev11 has joined #ruby
kraljev11 has quit [Remote host closed the connection]
ramortegui has quit [Quit: Ex-Chat]
<rkeene> Bleh, this Ruby thing is terrible
l4v2 has joined #ruby
felltir has quit [Ping timeout: 264 seconds]
<baweaver> and why is that?
<rkeene> Trying to compile a Ruby gem, and it keeps using compiler/linker flags for the running Ruby instead of the Ruby I'm trying to compile the gem for -- which of course doesn't work
chouhoul_ has quit [Remote host closed the connection]
<rkeene> Compiling Ruby gems, as far as I can tell, is just entirely broken -- it looks at the running Ruby to figure out how to invoke the compiler ?!
chouhoulis has joined #ruby
<baweaver> So which gem against which versions?
milardovich has quit [Remote host closed the connection]
_sfiguser has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
<rkeene> The first gem that fails is rubygem-curb 0.9.3 with native (build) Ruby 2.4.0 and remote (host) Ruby 2.4.0
<zenspider> "compiling ruby gems ... is just entirely broken"... so true. those thousands of websites using nokogiri must be broken
milardovich has quit [Read error: Connection reset by peer]
<baweaver> what's the error?
<rkeene> zenspider, It may happen to work when the compiling platform == the destination platform, but that's just coincidence
<baweaver> because it may very well be that JSON error with 1.8.x
<zenspider> rkeene: obviously... you've given your assessment. it must all otherwise be broken
<rkeene> x86_64-co-linux-gnu-ld: unrecognized option '--compress-debug-sections=zlib'
<rkeene> zenspider, Indeed, it appears that it is -- it passes compiler flags from the Ruby that is running to try to compile a gem, this is fundamentally broken (but may work under some circumstances)
<zenspider> fundamentally. yes.
chouhoulis has quit [Ping timeout: 252 seconds]
<baweaver> https://github.com/Rakashazi/emu-ex-plus-alpha/issues/13 - you absolutely sure it's a ruby issue and not a C/libs one?
<rkeene> My build environment has a newer version of gcc (5.3.0) than the host environment (4.9.3) and a newer version of binutils (ld) (2.26 vs. 2.25)
minimalism has joined #ruby
<rkeene> baweaver, Definitely
<zenspider> such certainty
<baweaver> Does the same happen if you try against 2.3.3?
<rkeene> baweaver, Ruby's Gem compiler is passing that flag to my linker. It's passing that to my linker because that's how it (the native/running/build Ruby) was compiled. It's an entirely different platform from what the Gem is being built for.
grh has quit [Ping timeout: 245 seconds]
<rkeene> baweaver, It worked under 2.3.1, probably because the native Ruby didn't include that linker flag -- but it was still broken
<baweaver> that last one read kinda contradictory.
<baweaver> It worked but was still broken?
<baweaver> Mind, I don't have an immediate answer because I rarely bother with C-extensions. Digging about to see if I can find anything
mlkkk has quit [Remote host closed the connection]
TomyLobo has quit [Ping timeout: 255 seconds]
futilegames has quit [Quit: futilegames]
CloCkWeRX has joined #ruby
<zenspider> baweaver: why bother... the problem is fundamentally broken. clearly.
<zenspider> rkeene: go file a bug with curb. The problem isn't with ruby or rubygems
<rkeene> It also happened with 3 other Ruby gems, before the build aborted
<rkeene> (Out of 3 it tried)
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
marxarelli|afk is now known as marxarelli
<rkeene> It's anything that uses rbconfig.rb, provided by Ruby
nettoweb has joined #ruby
<zenspider> blah blah blah. go file bugs. you aren't providing info to get help here, you're just bitching and I am tired of your tone
jhack has quit [Quit: jhack]
_sfiguser has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
jhack has joined #ruby
jgnagy has quit [Remote host closed the connection]
<rkeene> Where do I file bugs against Ruby ?
astrobunny has joined #ruby
pandbearit has joined #ruby
bigtawm has joined #ruby
pandabearit_ has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
CloCkWeRX has joined #ruby
CloCkWeRX has quit [Client Quit]
CloCkWeRX has joined #ruby
Pumukel has quit [Quit: ChatZilla 0.9.93 [Firefox 51.0.1/20170125094131]]
<bigtawm> Im trying to implement a linked list that takes a node but I want the node to be an abstract class that get inherited by a child so I can use one linked list file that can hold and type of node. Can anyone answer a few questions? Coming from a java background.
<bigtawm> any*
negatifze has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sembei has quit [Ping timeout: 255 seconds]
Derperperd has quit [Max SendQ exceeded]
<zenspider> bigtawm: just ask
Derperperd has joined #ruby
<zenspider> but I'll recommend up front that coming from java you're going to be tempted to check types... and that's usually a code smell in ruby
<zenspider> usually -> often
Pisuke has joined #ruby
markholmes has joined #ruby
<bigtawm> I have a prepend and append method in my linked list class but how would I pass a parameter to it considering I could have a node that has a (key, value)
<bigtawm> and then another one that is just (num)
<bigtawm> For my initialize functions in the child nodes
Toordog_ has quit [Read error: Connection reset by peer]
<bigtawm> Would posting a gist of my code help?
<toretore> yes
Derperperd has quit [Ping timeout: 240 seconds]
cpruitt has quit [Quit: cpruitt]
jenrzzz has joined #ruby
Lyfe_ is now known as Lyfe
Derperperd has joined #ruby
<bigtawm> My issue right now is in the #prepend and #append. I commented where I would put my tmp reference, but I dont know how it would work it I was using different types of nodes. Is this concept not practiced in ruby? I have to do it this way for school so it is like a java generic.
tvw has joined #ruby
<toretore> you have to use subclassing?
tlahtoani has joined #ruby
<bigtawm> Would it be better to just create a StringNode class and then say a StudentNode class and modify my linked list to fit those types of nodes? I feel like trying to create an abstract data type is not too friendly in ruby. My teacher wants us to have a node that is a parent to many children that would then be put into a linked list
<toretore> what does parent mean?
montanonic has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
<toretore> are you supposed to be doing this in a different language?
hobodave has quit [Ping timeout: 240 seconds]
<bigtawm> The class that gets inherited. My teacher is teaching the class in java, but said im good to go for ruby. Would something like this go against development methodolodies of ruby?
<toretore> yes
<toretore> your Node already takes anything you want to put in it
connor_goodwolf has quit [Ping timeout: 245 seconds]
fedruantine has joined #ruby
dkphenom has joined #ruby
Batholith has quit [Ping timeout: 240 seconds]
<bigtawm> So would I have to append an object reference to my linked list for the data. Say I have a student class the to append a new student it would be list.append(Student.new(values), nil)?
<toretore> why the nil?
harovali2 has quit [Remote host closed the connection]
<bigtawm> Nevermind I was thinking that you had to pass a next parameter but then I realized the method handles that lol
<bigtawm> so list.append(Student.new(val1,val2,..,ect)
Batholith has joined #ruby
<marchelzo> bigtawm: what kind of class is it
<bigtawm> I was going to have Node be an abstract class but now Im just going to make it a Node that takes a reference for data and a pointer to the next object
<marchelzo> i meant like what is the subject of the course
<bigtawm> Sorry for all the confusion I'm trying to transfer from Java to Ruby
<bigtawm> Oh its a data structures class and Im using this to create stacks and queues
<marchelzo> cool
<marchelzo> why do you want Node to be abstract?
botri has joined #ruby
Derperperd has quit [Ping timeout: 240 seconds]
<bigtawm> Thats how my teacher wants us to do it but I think that is a C++ and java concept because you have to worry about type
dc4 has quit [Ping timeout: 276 seconds]
<marchelzo> if it's abstract it can't be instantiated. you'd have to subclass it.
<bigtawm> Subclassing wouldnt be the best solution for this either huh?
<marchelzo> in java i feel like you'd use Node<T>, but it wouldn't be abstract
<marchelzo> right there's no need to create a hierarchy of classes for this
<marchelzo> you just need Node. then you can use that in both Stack and Queue.
<bigtawm> Yeah he wants us to create generics but I can just use node to contain any type of data I want
<bigtawm> Since this is a ruby implementation
<marchelzo> right
<toretore> subclassing is not the best solution most of the time
<bigtawm> Okay so Ruby you can avoid sub classing since it is free of type so you can make almost anything generic
Derperperd has joined #ruby
<marchelzo> subclassing and generics are orthogonal concepts
<bigtawm> I get it now haha thank you guys so much
<marchelzo> you don't need sublcassing in either the java or ruby implementation
<bigtawm> I go to a community college and I think my teacher just isnt that great to be honest...
<marchelzo> very possible
<bigtawm> Not saying that CC is bad but this guy just is
<marchelzo> even at universities you get people who don't know what they're doing when it comes to various programming languages
<marchelzo> they're there because they did a Ph.D in computer science, not because they know any particular language well
connor_goodwolf has joined #ruby
<bigtawm> Yeah my teacher explains in a java and C++ way so it makes it hard for me to get how to do it in ruby so I occasionally have to ask specifics here
<botri> I have a packet generator that generates ~200000 packets per second and send packets through udp. I wrote a server using eventmachine that open a udp socket that the packet generator is sending the packet to. Right now I'm only able to receive ~2080 packets per second using eventmachine. Am i missing something? I wanna receive much more packets but based on benchmark that run, i can only receive ~2080 packets
<marchelzo> bigtawm: why are you using ruby and not java?
<botri> I've asked the question on #eventmachine but have not got answer.
<botri> Anybody can help here?
ramortegui has joined #ruby
<bigtawm> I want to learn ruby so I can try to pick up some rails cause I want to get an internship somewhere and web seems like a good entry point
<marchelzo> cool
<marchelzo> ruby is 🔥
<bigtawm> I also live in northern california and it seems that many startups are using rails and node.js right now so I figured this was the way to go to get my foot in the door and also build some side projects
<marchelzo> awesome
<marchelzo> i want to move to california one day
connor_goodwolf has quit [Ping timeout: 240 seconds]
connor_goodwolf has joined #ruby
<bigtawm> Dream would be to start my own company with my best friend hes studying CS at UC Berkeley and hopefully I'll get accepted there for next year haha California is awesome once you get over how expensive it is but there is tons of work and they pay really well for dev positions here
kht has joined #ruby
<marchelzo> yeah
<kht> can anyone recommend a good place to start learning ruby online?
astrobunny has quit [Remote host closed the connection]
csaunders has quit [Ping timeout: 240 seconds]
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bigtawm> theodinproject.com
nikivi has quit [Ping timeout: 240 seconds]
mlehrer_ has quit [Ping timeout: 240 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
JoL1hAHN has quit [Ping timeout: 240 seconds]
<marchelzo> bigtawm: what sort of company would you want to make
astrobunny has joined #ruby
DarthGandalf has quit [Quit: Bye]
DarthGandalf has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
csaunders has joined #ruby
mlehrer has joined #ruby
JeanCarloMachado has joined #ruby
karapetyan has joined #ruby
yokel has joined #ruby
<kht> bigtawm: thanks for that link, looks like a great site
nikivi has joined #ruby
<bigtawm> I really like finance that is something I think would be cool so maybe in that field. If not that maybe some sort of web app, which is why I want to learn ruby on rails.
JoL1hAHN has joined #ruby
Guest23954 has joined #ruby
<bigtawm> Yeah I would do the ruby section of web 101 then skip straight to the ruby section of the whole website. I just finished beginning ruby which is the book they have you read and it is really solid.
<marchelzo> kht: are you an absolute beginner or do you know another programming language?
connor_goodwolf has quit [Ping timeout: 255 seconds]
_sfiguser has quit [Ping timeout: 260 seconds]
astrobunny has quit [Ping timeout: 255 seconds]
botri has quit [Remote host closed the connection]
MMZF has quit [Ping timeout: 276 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
<kht> marchelzo: beginner
botri has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
<havenwood> kht: Here are some links: https://ruby-community.com/pages/links
Cyrus has quit [Quit: WeeChat 1.6]
<havenwood> kht: And some more links: https://www.ruby-lang.org/en/documentation/
<marchelzo> hi havenwood
<havenwood> marchelzo: Howdy
<marchelzo> how are you today
<havenwood> marchelzo: Good!
<marchelzo> nice
<kht> ty
MMZF has joined #ruby
MMZF has joined #ruby
MMZF has quit [Changing host]
<havenwood> kht: Ask here if you have any questions!
connor_goodwolf has joined #ruby
yqt has quit [Read error: Connection reset by peer]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
Cyrus has joined #ruby
yqt has joined #ruby
nunchuck has joined #ruby
gevans has joined #ruby
patarr_ has quit [Ping timeout: 252 seconds]
botri has quit []
electrostat has quit [Quit: uwotm8]
haylon_ has quit [Quit: Leaving]
_sfiguser has joined #ruby
<zenspider> bigtawm: no tabs... 2 spaces
JeanCarloMachado has joined #ruby
gevans has quit [Ping timeout: 255 seconds]
Lildirt has quit [Ping timeout: 255 seconds]
<zenspider> bigtawm: you straightened out? I had to go fix something and push it.
connor_goodwolf has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
electrostat has joined #ruby
pandabearit_ has quit [Quit: This computer has gone to sleep]
pandbearit has quit [Quit: This computer has gone to sleep]
kht has quit [Quit: leaving]
teclator has quit [Ping timeout: 240 seconds]
teclator has joined #ruby
millerti has joined #ruby