kapil___ has quit [Quit: Connection closed for inactivity]
cagomez has joined #ruby
pastorinni has quit [Ping timeout: 264 seconds]
aScottishBoat has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
clemens3 has quit [Ping timeout: 260 seconds]
uZiel has joined #ruby
GodFather has quit [Ping timeout: 248 seconds]
funburn has joined #ruby
drcode has joined #ruby
John____ has quit [Remote host closed the connection]
naprimer2 has joined #ruby
selim has quit [Ping timeout: 272 seconds]
cagomez has quit [Ping timeout: 265 seconds]
ur5us_ has quit [Remote host closed the connection]
selim has joined #ruby
ur5us has joined #ruby
alfiemax has joined #ruby
ResidentBiscuit has joined #ruby
funburn has quit [Quit: funburn]
naprimer has quit [Ping timeout: 264 seconds]
houhoulis has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
ghoti has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
mim1k has joined #ruby
<zenspider>
damn cafe network...
<zenspider>
havenwood: I thought it should be using the threshold passed in to initialize?
vee__ has quit [Ping timeout: 264 seconds]
vee__ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drcode has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 265 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has joined #ruby
vee__ has quit [Ping timeout: 256 seconds]
code_zombie has quit [Read error: Connection reset by peer]
jdawgaz has joined #ruby
steveAT has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood>
zenspider: ahhh, gotcha
steph_ has joined #ruby
cdg has quit [Remote host closed the connection]
vee__ has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bonhoeffer has joined #ruby
vee__ has quit [Ping timeout: 272 seconds]
Puffball has quit [Ping timeout: 248 seconds]
mostly-harmless has joined #ruby
Puffball has joined #ruby
eckhardt has joined #ruby
alfiemax has joined #ruby
cagomez has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
alfiemax has quit [Ping timeout: 248 seconds]
<bonhoeffer>
do folks still use selenium?
lucz has joined #ruby
slester_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
leah2 has quit [Ping timeout: 240 seconds]
leah2 has joined #ruby
vee__ has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
steph_ has quit [Remote host closed the connection]
lucz has quit [Remote host closed the connection]
cagomez has joined #ruby
zautomata1 has joined #ruby
jdawgaz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 260 seconds]
bruce_lee has quit [Remote host closed the connection]
kryptoz has joined #ruby
cagomez has quit [Remote host closed the connection]
uZiel has quit [Ping timeout: 248 seconds]
cagomez has joined #ruby
ogres has joined #ruby
uZiel has joined #ruby
steph_ has joined #ruby
drcode has joined #ruby
cagomez has quit [Ping timeout: 248 seconds]
lucz has joined #ruby
lucz has quit [Remote host closed the connection]
x0f has quit [Ping timeout: 240 seconds]
herbmillerjr has joined #ruby
chocoelho has quit [Quit: chocoelho]
nopolitica has quit [Ping timeout: 256 seconds]
lucz has joined #ruby
houhoulis has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 265 seconds]
bmurt has joined #ruby
mtkd has quit [Ping timeout: 265 seconds]
mtkd has joined #ruby
mikecmpbll has joined #ruby
yeticry has joined #ruby
lucz has quit [Remote host closed the connection]
orbyt_ has joined #ruby
steveAT has quit [Quit: bye]
funburn has joined #ruby
funburn has quit [Client Quit]
steph_ has quit [Remote host closed the connection]
kryptoz has quit [Remote host closed the connection]
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
truenito has joined #ruby
kryptoz has joined #ruby
zautomata1 has quit [Ping timeout: 264 seconds]
vee__ has quit [Ping timeout: 256 seconds]
mikecmpb_ has joined #ruby
zautomata1 has joined #ruby
truenito has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Ping timeout: 265 seconds]
mikecmpb_ has quit [Ping timeout: 240 seconds]
uZiel has quit [Ping timeout: 248 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 272 seconds]
vee__ has joined #ruby
nowhere_man has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
nowhere_man has joined #ruby
code_zombie has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
rrutkowski has quit [Ping timeout: 248 seconds]
d^sh has quit [Ping timeout: 264 seconds]
bonhoeffer has quit [Ping timeout: 256 seconds]
dviola has quit [Quit: WeeChat 2.0]
d^sh has joined #ruby
mrBen2k2k2k has joined #ruby
ResidentBiscuit has quit []
gizmore has joined #ruby
gizmore|2 has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Quit: AJA4350]
mrBen2k2k2k has quit [Ping timeout: 256 seconds]
mikecmpb_ has joined #ruby
nofxx has joined #ruby
mikecmpbll has quit [Ping timeout: 265 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vee__ has quit [Ping timeout: 256 seconds]
mrBen2k2k2k has joined #ruby
nankyoku_ has joined #ruby
mikecmpbll has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
cschneid_ has joined #ruby
nofxx has quit [Quit: Leaving]
nofxx has joined #ruby
cdg has joined #ruby
mikecmpb_ has quit [Ping timeout: 265 seconds]
pilne has joined #ruby
kies has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 272 seconds]
ramfjord has joined #ruby
vee__ has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
shortdudey123 has quit [Ping timeout: 255 seconds]
shortdudey123 has joined #ruby
zautomata1 has quit [Ping timeout: 248 seconds]
ramfjord has joined #ruby
rrutkowski has joined #ruby
DmitryBochkarev has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 265 seconds]
uZiel has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
nofxx has quit [Ping timeout: 248 seconds]
ramfjord has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
enterprisey has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
nopolitica has joined #ruby
nofxx has joined #ruby
nopolitica has quit [Ping timeout: 265 seconds]
astronavt has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kies has joined #ruby
mikecmpbll has joined #ruby
mikecmpb_ has quit [Ping timeout: 265 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
hahuang65 has quit [Read error: Connection reset by peer]
nowhereman_ has joined #ruby
jdawgaz has joined #ruby
meshsmith has joined #ruby
meshsmith has quit [Changing host]
meshsmith has joined #ruby
hahuang65 has joined #ruby
jackjackdripper has joined #ruby
nowhere_man has quit [Ping timeout: 272 seconds]
bmurt has joined #ruby
jackjackdripper has quit [Ping timeout: 256 seconds]
cdg has quit [Remote host closed the connection]
x0f has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lucz has joined #ruby
jdawgaz has joined #ruby
ur5us has quit [Remote host closed the connection]
alfiemax has joined #ruby
ur5us has joined #ruby
mikecmpb_ has joined #ruby
lucz has quit [Ping timeout: 248 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
mim1k has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 264 seconds]
howdoi has joined #ruby
jnollette has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 265 seconds]
jnollette has joined #ruby
alex`` has joined #ruby
mikecmpbll has joined #ruby
steph_ has joined #ruby
mikecmpb_ has quit [Ping timeout: 265 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
astronavt has quit [Remote host closed the connection]
nopolitica has joined #ruby
enterprisey has quit [Remote host closed the connection]
meshsmith has quit [Remote host closed the connection]
nopolitica has quit [Ping timeout: 272 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 265 seconds]
KeyJoo has quit [Ping timeout: 256 seconds]
nofxx has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has quit [Remote host closed the connection]
nofxx has joined #ruby
mikecmpbll has joined #ruby
pilne has quit [Quit: Quitting!]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quobo has quit [Quit: Connection closed for inactivity]
mikecmpb_ has quit [Ping timeout: 240 seconds]
cloaked1 has quit [Ping timeout: 256 seconds]
jamesaxl has joined #ruby
dionysus69 has joined #ruby
meesles has quit []
cschneid_ has joined #ruby
ShekharReddy has joined #ruby
alfiemax has joined #ruby
mtkd has quit [Ping timeout: 272 seconds]
orbyt_ has joined #ruby
mtkd has joined #ruby
jackjackdripper has joined #ruby
alex`` has quit [Ping timeout: 248 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
johnzorn has quit [Read error: Connection reset by peer]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
mim1k has joined #ruby
zautomata1 has joined #ruby
steph_ has quit [Remote host closed the connection]
anisha_ has joined #ruby
mim1k has quit [Ping timeout: 265 seconds]
armyriad has quit [Ping timeout: 248 seconds]
armyriad has joined #ruby
zautomata1 has quit [Ping timeout: 265 seconds]
cschneid_ has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 265 seconds]
fclausen has quit [Quit: leaving]
nopolitica has joined #ruby
cloaked1 has joined #ruby
charliesome has joined #ruby
c0ncealed has quit [Remote host closed the connection]
c0ncealed has joined #ruby
cadillac_ has quit [Ping timeout: 272 seconds]
nopolitica has quit [Ping timeout: 240 seconds]
iamarun has joined #ruby
lucz has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
lucz has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
nofxx has joined #ruby
alfiemax has joined #ruby
anisha__ has joined #ruby
sleetdrop has joined #ruby
SuperLag has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
DmitryBochkarev has joined #ruby
anisha_ has quit [Ping timeout: 248 seconds]
nofxx has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
SuperLag has joined #ruby
sleetdrop has quit [Remote host closed the connection]
enterprisey has joined #ruby
_aeris_ has quit [Ping timeout: 248 seconds]
_aeris_ has joined #ruby
nofxx has joined #ruby
MrSparkle has quit [Quit: MrSparkle]
exhiled has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
lucz has joined #ruby
exhiled has quit [Client Quit]
alfiemax has quit [Ping timeout: 256 seconds]
exhiled has joined #ruby
ldepandis has joined #ruby
lucz has quit [Ping timeout: 256 seconds]
zautomata1 has joined #ruby
reber has joined #ruby
skweek has quit [Ping timeout: 264 seconds]
LocaMocha has joined #ruby
oleo has quit [Quit: Leaving]
dionysus69 has joined #ruby
cschneid_ has joined #ruby
cschneid_ has quit [Ping timeout: 264 seconds]
lucz has joined #ruby
alfiemax has joined #ruby
lucz has quit [Ping timeout: 256 seconds]
nofxx_ has joined #ruby
nopolitica has joined #ruby
nofxx has quit [Ping timeout: 248 seconds]
nopolitica has quit [Ping timeout: 264 seconds]
tvl has joined #ruby
tvl is now known as tobiasvl
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
p0p0pr37_ has joined #ruby
p0p0pr37 has quit [Ping timeout: 256 seconds]
p0p0pr37_ is now known as p0p0pr37
eckhardt has joined #ruby
apeiros has quit [Remote host closed the connection]
aef has quit [Remote host closed the connection]
aef_ has quit [Read error: Connection reset by peer]
lucz has joined #ruby
KeyJoo has joined #ruby
lucz has quit [Ping timeout: 264 seconds]
zautomata1 has quit [Ping timeout: 265 seconds]
yokel has quit [Ping timeout: 268 seconds]
karapetyan has joined #ruby
mikhael_k33hl has joined #ruby
<mikhael_k33hl>
I'm trying to setup rvm with jenkins, how do I install it as a single user to be within jenkins home directory?
yokel has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
plexigras has joined #ruby
cloaked1 has quit [Quit: Leaving]
ana_ has joined #ruby
apeiros has joined #ruby
pikislabis has joined #ruby
anisha_ has joined #ruby
anisha__ has quit [Ping timeout: 272 seconds]
ledestin has joined #ruby
ldepandis has quit [Ping timeout: 256 seconds]
nopolitica has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
kernelPaniq has joined #ruby
yeewos has joined #ruby
kapil___ has joined #ruby
nopolitica has quit [Ping timeout: 265 seconds]
lucz has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
quobo has joined #ruby
lucz has quit [Ping timeout: 240 seconds]
qba73 has joined #ruby
namho has joined #ruby
alfiemax has quit [Remote host closed the connection]
namho has left #ruby [#ruby]
alfiemax has joined #ruby
lucz has joined #ruby
drbrain has quit [Ping timeout: 246 seconds]
alfiemax has quit [Ping timeout: 272 seconds]
lucz has quit [Ping timeout: 264 seconds]
uZiel has joined #ruby
rhebz916 has joined #ruby
drbrain has joined #ruby
drbrain has quit [Changing host]
drbrain has joined #ruby
vondruch has joined #ruby
karapetyan has quit [Ping timeout: 265 seconds]
namho has joined #ruby
kapil___ has quit [Ping timeout: 240 seconds]
srandon111 has joined #ruby
<srandon111>
hello all, how do you structure your code in the presence of a database ? imean do you useually create a single class to deal with the database and put all the method representing the queries there or more classes ?
kapil___ has joined #ruby
rhebz916 has quit [Ping timeout: 256 seconds]
drbrain has quit [Ping timeout: 260 seconds]
lucz has joined #ruby
ramfjord has joined #ruby
kapil___ has quit [Ping timeout: 240 seconds]
kapil___ has joined #ruby
lucz has quit [Ping timeout: 260 seconds]
drbrain has joined #ruby
drbrain has quit [Changing host]
drbrain has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
rhebz916 has joined #ruby
claudiuinberlin has joined #ruby
Dimik has quit [Ping timeout: 268 seconds]
drbrain has quit [Ping timeout: 265 seconds]
nowhere_man has joined #ruby
nowhereman_ has quit [Ping timeout: 265 seconds]
lucz has joined #ruby
aufi has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mnemon>
srandon111: there's plenty of frameworks for DB's(probably most notable one being activerecord), essentially ruby object to DB "object" mapping with all the standard DB code already in place.
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
zautomata1 has quit [Ping timeout: 265 seconds]
bruce_lee has joined #ruby
zautomata1 has joined #ruby
bkxd has quit []
<srandon111>
mikecmpbll: well neural networks... and deep learning... such as tensorflow also would not be bad
<srandon111>
is there something for ruby ?
karapetyan has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lucz has joined #ruby
plexigras has quit [Quit: WeeChat 2.0]
<dminuoso>
ML with Ruby?
<dminuoso>
That requires some serious masochism.
nopolitica has joined #ruby
ana_ has quit [Quit: Leaving]
lucz has quit [Ping timeout: 248 seconds]
yaewa has joined #ruby
sepp2k has joined #ruby
nopolitica has quit [Ping timeout: 265 seconds]
moei has quit [Ping timeout: 256 seconds]
bkxd has joined #ruby
nowhere_man has joined #ruby
zautomata1 has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
Technodrome has joined #ruby
lucz has joined #ruby
uZiel has quit [Remote host closed the connection]
Beams has joined #ruby
mim1k has joined #ruby
uZiel has joined #ruby
mrBen2k2k2k has quit [Ping timeout: 256 seconds]
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
lucz has quit [Ping timeout: 260 seconds]
DarkUnicorn has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
RevanOne has quit [Ping timeout: 256 seconds]
Revan007 has joined #ruby
qba73 has joined #ruby
plexigras has joined #ruby
mim1k has joined #ruby
alex`` has quit [Ping timeout: 255 seconds]
miskatonic has joined #ruby
kedare has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
zautomata1 has quit [Ping timeout: 265 seconds]
Serpent7776 has joined #ruby
ramfjord has joined #ruby
GeorgesLeYeti has joined #ruby
<GeorgesLeYeti>
Hi
workmad3 has joined #ruby
<mnemon>
dminuoso: all the heavy lifting will be done with by the libs/native extensions anyways eh?
<GeorgesLeYeti>
I want to record some stats on my web application using a table Statistic. I want to record this stats every month, so I haded a column stated_at which is a datetime. But i'm confused about using DateTime or Time
mtkd has quit [Ping timeout: 272 seconds]
<GeorgesLeYeti>
I try to record my value as DateTime.new(year, month).beginning_of_month
nowhere_man has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
mtkd has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
zautomata1 has joined #ruby
ldnunes has joined #ruby
<GeorgesLeYeti>
But if i make s = Statistic.last; Statistic.where(stated_at: (s.stated_at - 1.month).beginnig_of_month) it didn't works.
<dminuoso>
mnemon: I'd hope so. Wouldn't want to train some rudimentary net for some weeks just to recognize digits.
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
DarkUnicorn has quit [Ping timeout: 240 seconds]
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
<mnemon>
dminuoso: It does require some additional throght to make sure ruby doesn't do anything beyond the coordinating :)
<mnemon>
*thought
DarkUnicorn has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 264 seconds]
cdg has joined #ruby
karapetyan has joined #ruby
Cavallari has joined #ruby
cdg has quit [Ping timeout: 265 seconds]
cdg_ has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
jaruga has joined #ruby
cdg has joined #ruby
srandon111 has quit [Quit: Page closed]
mim1k is now known as mim1k|w
exhiled has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
cdg_ has quit [Ping timeout: 265 seconds]
cdg has quit [Ping timeout: 265 seconds]
nopolitica has joined #ruby
eksi_ has joined #ruby
mrBen2k2k2k has joined #ruby
eksi_ has quit [Client Quit]
nopolitica has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby
yeewos has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exhiled has joined #ruby
fusta has joined #ruby
karapetyan has joined #ruby
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
alfiemax has quit [Read error: Connection reset by peer]
karapety_ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
alfiemax has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
nopolitica has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
zautomata1 has quit [Ping timeout: 248 seconds]
karapetyan has joined #ruby
exhiled has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapety_ has joined #ruby
zautomata1 has joined #ruby
karapety_ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
quobo has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
GeorgesLeYeti has quit [Quit: Leaving]
karapetyan has joined #ruby
KeyJoo has quit [Ping timeout: 240 seconds]
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
karapety_ has quit [Read error: Connection reset by peer]
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
karapety_ has quit [Read error: Connection reset by peer]
qba73 has quit [Ping timeout: 260 seconds]
<apeiros>
!fixcon karapetyan
bkxd has quit [Client Quit]
qba73 has joined #ruby
zautomata1 has quit [Quit: WeeChat 1.7]
Riddell has quit [Ping timeout: 264 seconds]
Riddell has joined #ruby
TvL2386_ has joined #ruby
lucz has joined #ruby
TvL2386 has quit [Ping timeout: 260 seconds]
hfp_work has quit [Quit: bye]
lucz has quit [Ping timeout: 264 seconds]
pikislabis has quit [Quit: pikislabis]
lucz has joined #ruby
hfp_work has joined #ruby
larcara has joined #ruby
Revan007 has quit [Ping timeout: 260 seconds]
RevanOne has joined #ruby
nowhere_man has quit [Remote host closed the connection]
pikislabis has joined #ruby
Ishido has joined #ruby
tvw has joined #ruby
Burgestrand has joined #ruby
zapata has quit [Read error: Connection reset by peer]
lucz has quit [Ping timeout: 248 seconds]
zapata has joined #ruby
anisha_ has quit [Ping timeout: 264 seconds]
anisha_ has joined #ruby
nowhere_man has joined #ruby
iamarun has quit [Remote host closed the connection]
tsglove has joined #ruby
jnollette has quit [Remote host closed the connection]
jamesaxl has quit [Read error: Connection reset by peer]
nathias has joined #ruby
jamesaxl has joined #ruby
jnollette has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shinnya has joined #ruby
alfiemax has quit [Remote host closed the connection]
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
workmad3 has quit [Ping timeout: 272 seconds]
larcara has quit [Remote host closed the connection]
larcara has joined #ruby
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
nowhere_man has quit [Remote host closed the connection]
cadillac_ has joined #ruby
tcopeland has quit [Quit: tcopeland]
rhebz916 has quit [Remote host closed the connection]
qba73 has quit [Ping timeout: 265 seconds]
larcara has quit [Ping timeout: 248 seconds]
qba73 has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
workmad3 has joined #ruby
anisha_ has quit [Ping timeout: 264 seconds]
DarkUnicorn has quit [Quit: Connection closed for inactivity]
Psybur has joined #ruby
cschneid_ has joined #ruby
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
uZiel has joined #ruby
larcara has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
mim1k|w has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
workmad3 has joined #ruby
KeyJoo has joined #ruby
bmurt has joined #ruby
KeyJoo has quit [Remote host closed the connection]
VladGh has quit [Remote host closed the connection]
VladGh has joined #ruby
nankyoku_ has quit []
AJA4350 has joined #ruby
alex`` has joined #ruby
GodFather has joined #ruby
chocoelho has joined #ruby
truenito has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
raynold has joined #ruby
pdcawley has joined #ruby
truenito has quit [Ping timeout: 265 seconds]
truenito has joined #ruby
lucz has joined #ruby
jdawgaz has joined #ruby
pikislabis has left #ruby [#ruby]
lucz has quit [Ping timeout: 265 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adaedra>
Don't we !fixcon them regularly or is it bad memory from me?
larcara has quit []
<adaedra>
xco: It compares two string while ignoring the case.
<adaedra>
two strings*
<xco>
thanks. when is the case 1, 0 or -1
uZiel has quit [Ping timeout: 248 seconds]
<xco>
when the strings match it’s 1 i guess
<adaedra>
no, it's 0
jdawgaz has quit [Client Quit]
<xco>
and when it’s 1?
<adaedra>
it's a relative comparaison, so the string are either the same or one is before the other, and in this case you have -1 or 1 depending which one
<xco>
ah!
<adaedra>
same as for <=>
<xco>
thanks
<xco>
got it now thank you
aScottishBoat has joined #ruby
Riddell has quit [Ping timeout: 264 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
hinbody has quit [Quit: leaving]
ski7777 has joined #ruby
pdcawley has quit [Quit: pdcawley]
uZiel has joined #ruby
Riddell has joined #ruby
funburn has quit [Ping timeout: 256 seconds]
hinbody has joined #ruby
lucz has joined #ruby
funburn has joined #ruby
KeyJoo has joined #ruby
my123_ has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
my123 has joined #ruby
my123 has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
lucz has quit [Ping timeout: 248 seconds]
jdawgaz has joined #ruby
DmitryBochkarev has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
cdg_ has joined #ruby
Cavallari has quit [Quit: Cavallari]
cdg has quit [Ping timeout: 264 seconds]
qba73 has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
Ltem has joined #ruby
huyderman has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 248 seconds]
mikkelsen has joined #ruby
huyderman has joined #ruby
aScottishBoat has quit [Ping timeout: 240 seconds]
aScottishBoat has joined #ruby
Cu5tosLimen has joined #ruby
<Cu5tosLimen>
hi
<Cu5tosLimen>
how do I determine if a package is loaded?
<Cu5tosLimen>
say I did require 'asciidoctor' - how can I see it is loaded?
mikkelsen has quit [Ping timeout: 264 seconds]
sameerynho has quit [Ping timeout: 248 seconds]
aScottishBoat has quit [Ping timeout: 265 seconds]
<Papierkorb>
Cu5tosLimen: What is your usecase? What are you trying to do?
jdawgaz has joined #ruby
<apeiros>
Cu5tosLimen: $LOADED_FEATURES contains all required files
<apeiros>
and wrt Papierkorb's question - this is something which should only be used for debugging purposes.
<Cu5tosLimen>
Papierkorb, actually I should maybe ask in jruby rather - but I'm having some issue with asciidoctor-gradle-plugin which uses jruby - if gradle is running in daemon mode then it only find asciidoctor-diagram on first build and on subsequent builds it does not find it
<Cu5tosLimen>
I'm trying to figure out why the module is not there on subsequent runs
<Cu5tosLimen>
apeiros, ok let me try dump that
<Papierkorb>
Cu5tosLimen: You can always just `require` asciidoctor, require will only load something that's not already loaded
<Cu5tosLimen>
Papierkorb, it is doing that though - but I'm not sure why it has no effect
<Cu5tosLimen>
I think the error is probbably some levels deeper than this though
pdcawley has joined #ruby
<apeiros>
Cu5tosLimen: sounds like something swallows a LoadError
<apeiros>
look out for code like `rescue Exception` and `rescue LoadError`
<Cu5tosLimen>
apeiros, ok
<Papierkorb>
Cu5tosLimen: You can also try to rescue Exception yourself, log it, and then reraise the error to make it 'transparent' to other logic.
<Papierkorb>
or rescue LoadError, same effect in this case
funburn has quit [Quit: funburn]
pastorinni has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
vee__ has quit [Ping timeout: 264 seconds]
aScottishBoat has joined #ruby
Strepsils has joined #ruby
Strepsils has quit [Client Quit]
elisaado has joined #ruby
Rapture has joined #ruby
sepp2k has quit [Quit: Leaving.]
pdcawley has quit [Quit: pdcawley]
<elisaado>
Is there a way I can listen for telegram updates but also listen for http things?
vee__ has joined #ruby
<apeiros>
yes
funburn has joined #ruby
safetypin has joined #ruby
lucz has joined #ruby
dinfuehr has quit [Ping timeout: 248 seconds]
hs366 has quit [Quit: Leaving]
dinfuehr has joined #ruby
xco has quit [Quit: xco]
uZiel has joined #ruby
Mon_Ouie has quit [Ping timeout: 260 seconds]
lucz has quit [Ping timeout: 240 seconds]
Psybur_ has joined #ruby
DLSteve_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Psybur has quit [Ping timeout: 264 seconds]
Psybur_ is now known as Psybur
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uZiel has quit [Remote host closed the connection]
kapil___ has quit [Quit: Connection closed for inactivity]
dinfuehr has quit [Ping timeout: 256 seconds]
funburn has quit [Quit: funburn]
skweek has joined #ruby
vichib has quit [Ping timeout: 272 seconds]
dinfuehr has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
polishdub has joined #ruby
pdcawley has joined #ruby
chocoelho has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
uZiel has joined #ruby
Lyubo1 has quit [Ping timeout: 272 seconds]
Lyubo1 has joined #ruby
Kristjan has joined #ruby
<Cu5tosLimen>
so I have a class here: Asciidoctor::Extensions.instance_variable_get('@groups').values[0].class => Proc
<Cu5tosLimen>
but I have no idea where it is defined
Kristjan has quit [Killed (Sigyn (Spam is off topic on freenode.))]
alfiemax has quit [Remote host closed the connection]
milardovich has joined #ruby
<al2o3-cr>
i'd call it Morphy, thats sounds like a legit name. :P
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
leitz: why do you have a class which modifies other objects? why is the modifying method not on the object itself?
slester_ has joined #ruby
milardovich has quit [Remote host closed the connection]
<leitz>
apeiros, because there are a dozen or more child classes that can potentially modifiy the MyObject instance. In general, only one does. But one of a dozen. Or two.
<leitz>
I'm back to the "Career" discussion.
<apeiros>
you realize that that's not actually an answer? it's just a proxy to: why do those dozen classes modify another object?
<apeiros>
yeah, thought so :) I remember
<apeiros>
but why is it: Career#modify(character) instead of Character#having(career) (better naming optional)
<leitz>
Ah, so "Class" seems to be a good thing to get better at, and inheritance on the Career bit seems to make it better as a class.
<leitz>
The current iteration is more like "Character#having(career)". Trying to figure out how to grow it better.
troys is now known as troys_
<craysiii>
So i'm trying to integrate typheous into a gem of mine, and im on windows. when i run "gem install typheous" it installs just fine, but when i add it to my gemspec and run "bundle install" bundler says it could not find a compatible version. what am i missing here?
<apeiros>
in OO, classes are usually nouns. and you have IMO properly identified the nouns to be "Career" and "Character". now the remaining thing is the operation. and mutating operations in OO usually belong to the object being mutated. try to mutate self, not an arg.
<apeiros>
craysiii: what's the precise error/message you get?
nofxx has joined #ruby
Guest21420 has quit [Ping timeout: 272 seconds]
nofxx_ has quit [Read error: Connection reset by peer]
<leitz>
apeiros, the issue with the object owning its own mutator is the need to swap out careers.
<apeiros>
I don't follow
<leitz>
Though I will admit this is right at, and just a little past, my understanding.
waveprop has joined #ruby
<apeiros>
care to elaborate on what the issue is with that?
selim has quit [Ping timeout: 264 seconds]
waveprop is now known as Guest27163
<leitz>
An instance of Character class stores data and has a few methods to present formatted data.
<apeiros>
as in: bonuses from one career might vanish once another career is applied?
nymous has joined #ruby
<nymous>
hey folks
<leitz>
A Character "goes through" a Career, but does not "have a" career as a tangible thing. The Career modifies the character, and mutltiple careers accumulate modifications.
<apeiros>
leitz: ok. makes me see even less problems :)
<nymous>
i have a rather strange question about modules and instance_eval
<leitz>
Conversely, a newly created Character may get sent through one of dozens of careers.
<apeiros>
leitz: seems to me like the character should ask the career how the modifications look and apply them
<nymous>
i wrote a DSL, most classes do use instance_eval for processing
<leitz>
apeiros, yup. So, back to your statement of xx:26 character.learn(career). How would "learn" activate different methods in career? When called that way how does the career reach up to the Character and modify it?
<apeiros>
career wouldn't
<apeiros>
character would ask "what would you modify on me?" and then apply the changes.
<nymous>
ERROR -- : undefined local variable or method `get_devs' for #<Salus::Group:0x00000002141980> (NameError)
* leitz
sits down with his whiteboard.
<apeiros>
e.g. for numerical stats: career = Careers::Adventurer.new(self); career.stats_modifications # => {health: -10, health: 20, …}
<apeiros>
so e.g.: character.learn(Careers::Adventurer), with: def learn(career_class); career = career_class.new(self); career.stats_modifications.each do |stat, change| @stats[stat] += change end; …
<leitz>
apeiros, so the Character would get passes the Career object?
Azure has joined #ruby
<al2o3-cr>
i've never seen so much evalualtioning
uZiel has joined #ruby
<al2o3-cr>
or whatever you call it
ramfjord has quit [Ping timeout: 264 seconds]
<apeiros>
depends, either the class, or if careers vary among the same career type, then an instance. latter is a bit more annoying as it makes it more difficult to keep the class/instance pattern (since you now have 3 levels instead of 2 as in normal class/instance)
ramfjord has joined #ruby
<apeiros>
nymous: that error is from your test.rb? which line?
<leitz>
Okay, lemme code for a bit and see if I get it.
roshanavand has joined #ruby
<nymous>
apeiros: 21
<apeiros>
nymous: where is group defined?
<nymous>
test.rb is a script which should be run by salus cli from this gem
<nymous>
strange enough, CONSTANTS works great for nested scopes
<apeiros>
you understand how lookup for method works versus how lookup for constants work?
alfiemax has joined #ruby
<apeiros>
their scoping rules are quite different
<nymous>
seems like not really, because i though they should be just symbols inside a scope
<al2o3-cr>
nymous: you should of been a week ago.
<al2o3-cr>
*here
<apeiros>
leitz: ah. some of what I gave you earlier?
<apeiros>
leitz: I try not to deviate too much from original code
<nymous>
al2o3-cr: a month, maybe, yes
synthroid has quit []
<al2o3-cr>
probably i don't keep track of time to good :P
<nymous>
apeiros: i can extend my var syntax or use lambdas, i just want to make my dsl less confusing
<apeiros>
leitz: i.e. I don't necessarily/always show you immediately how I would model something. sometimes because I don't (yet) have a full understanding of the problem domain, sometimes because too much change makes it difficult for the other person to embed it into their knowledge framework
<leitz>
apeiros, trust me, I get the "embed" issue. I have to think through these things a lot.
<al2o3-cr>
apeiros: absolutley true that
<leitz>
One of these days I'm going to figure out how to find a Ruby mentor that can survive looking at my code and offereing advice.
alfiemax has quit [Ping timeout: 256 seconds]
<leitz>
Would it help if I wrote up the projected use cases and (il)logic?
mikkelsen has quit [Quit: mikkelsen]
aScottishBoat has joined #ruby
<leitz>
And is 2.5 going to be released Christmas Day or sooner?
exhiled has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Ping timeout: 272 seconds]
<apeiros>
leitz: re mentor - I think people here try, no?
<apeiros>
or you mean as in a more stable/continuous fashion?
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leitz>
apeiros, I can't afford to pay what the folks here have done to help.
mikecmpbll has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
<apeiros>
oh sure you can. one day somebody else will need help ;-)
<leitz>
A mentor is more a continous thing: "Your next step is to learn X. Show me your progress next week."
<apeiros>
or maybe you already did
<leitz>
I try. In my limited newbie fashion. :)
<apeiros>
ok, I see. I'd love to do that, but I don't see myself having the time for it :(
ramfjord has joined #ruby
<apeiros>
or rather: if I took the time to do that, I'd feel even more guilt for all the stuff I'm not doing right now :o)
<leitz>
Understood. It's not everyone's shot of whiskey.
alfiemax has joined #ruby
<leitz>
hehe..
<al2o3-cr>
make that a rum :)
<leitz>
Oddly, we gave away our TV a few years ago. Found a lot of time shortly there after.
jenrzzz has joined #ruby
cagomez has quit [Remote host closed the connection]
<leitz>
The Career <=> Character thing has melted my brain for years.
d10n-work has quit [Quit: Connection closed for inactivity]
<al2o3-cr>
leitz: you got new one now tho?
<leitz>
And at least three languages.
nahra has joined #ruby
<leitz>
al203-cr, nope.
nofxx_ has quit [Read error: Connection reset by peer]
nofxx has joined #ruby
* al2o3-cr
al2o3-cr freaks out
<leitz>
Not much on then, either. That was about 15-20 years ago.
<leitz>
I think. Chronologically challenged.
<ljarvis>
not having a tv = winning
nofxx has quit [Remote host closed the connection]
<leitz>
ljarvis, not paying for cable means more money for technical books!
<ljarvis>
leitz: nice :)
<nymous>
i have a tv, i do play my PS4 on it
nofxx has joined #ruby
<nymous>
and Steam games too
chocoelho has quit [Quit: chocoelho]
<ljarvis>
i have a tv but no cable, and i seldom use it
<leitz>
Last electronic game I played was Neverwinter Nights. Only because they gave you the tools to build your own worlds.
<nymous>
not having a TV doesn't sound beneficial to me
<leitz>
Had to build a computer able to handle it.
<leitz>
nymous, you can get news from the web, and more interaction on IRC.
lytol_ has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 265 seconds]
<nymous>
i'm not about the cable, but a large screen to show things
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
leitz: re career <=> character - think about responsibilities
<leitz>
I'll be blunt; the average American watches life go by on a screen. They know more about Sheldon than their neighbors.
<apeiros>
career's responsibility is to know how a character would change. character's responsibility is to change :)
<leitz>
career actively changes; character gets changed.
<apeiros>
sheldon usually is more interesting than your neighbor
<ljarvis>
^
<nymous>
now i'm stuck searching how let from rspec is implemented
<apeiros>
leitz: ^ IMO not
<apeiros>
nymous: uh, don't
<apeiros>
it doesn't necessarily apply
<apeiros>
I gave you an implementation
<apeiros>
you can pass the defining block around and define a method at the right place
<apeiros>
or even invoke it upon method_missing
<leitz>
apeiros, at the reduced "thing" level a Character could almost be a hash and a Career a set of methods.
<nymous>
i'm doubt about the inheritance
<apeiros>
leitz: yeah and I'm trying to tell you that you got it wrong :)
<leitz>
Which was an early implementation.
nahra has quit [Remote host closed the connection]
<nymous>
i mean scoping
<leitz>
Understood on "wrong", just trying to comprehend.
krawchyk has quit [Quit: krawchyk]
DLSteve_ has quit [Quit: All rise, the honorable DLSteve has left the channel.]
ramfjord has quit [Ping timeout: 256 seconds]
<zenspider>
nymous: heh. good luck with that.
<zenspider>
minitest has a clean and easy to find version of let in minitest/spec.rb
brent__ has quit [Quit: Connection closed for inactivity]
<leitz>
The career subclasses just add arrays for options and the occasional method specific to that career.
<apeiros>
leitz: yes, I understand that *in your code* they do
<apeiros>
leitz: but I try to get you to understand that IMO they should only *inform* character on how a career would modify the character. and that the character then applies that modification.
mikecmpb_ has joined #ruby
ramfjord has joined #ruby
mikecmpbll has quit [Ping timeout: 272 seconds]
* apeiros
off to his own devices now, though
* leitz
is pondering.
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
bkxd has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Quit: WeeChat 2.0]
ramfjord has joined #ruby
mikecmpb_ has quit [Read error: Connection reset by peer]
John____ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
reber has quit [Remote host closed the connection]
<nymous>
zenspider: yeah, it looks easier to understand
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
<nymous>
my first quick and dirty solution is to extend var syntax to accept blocks as lazy eval vars and make a proxy functions inside Group
<zenspider>
it doesn't LOOK easier to understand. It IS easier to understand.
vtx has joined #ruby
<zenspider>
I don't know what that means
ramfjord has quit [Ping timeout: 260 seconds]
<vtx>
hi guys, is there a way to find out how many unused methods i have defined in my ruby code?
<zenspider>
vtx: the debride gem can help... but because ruby is so dynamic nothing can be truly definitive... what are you trying to do?
alfiemax has joined #ruby
<vtx>
um, i guess i just wanted to see if i had any unused code in my project
<zenspider>
nymous: that seems overly clever and not terribly clear.
<zenspider>
vtx: if you're wondering, you probably do. :P
<vtx>
lol, i agree
<zenspider>
vtx: debride will analyze the code and find any methods that aren't obviously called. Doesn't mean they're actually unused tho. Depends on how the code is set up, what it connects to, etc.
<baweaver>
vtx: if you test things well, you can get a code coverage report but that may mean you're testing things which are never actually used
<zenspider>
Object#send will guarantee incomplete analysis...
<baweaver>
Tree shaking in Ruby is hard
<zenspider>
it also provides a whitelist for things you know are called externally
<nymous>
zenspider: you mean my code or proposed approach?
ramfjord has quit [Ping timeout: 256 seconds]
<zenspider>
yes, probably
alfiemax has quit [Ping timeout: 256 seconds]
<zenspider>
starting with: def var(*args)
<leitz>
apeiros, if you meander back here, is this a path to take? "The instance of Character sends Career::Whatever two pieces of data; a number of terms and a set of stats. The Career returns a hash containing skills to be modified, cash and stuff, and optionally a Rank title."
mikecmpbll has quit [Ping timeout: 260 seconds]
<leitz>
Sending the stats is because the list of skills can vary based on the stats.
ramfjord has joined #ruby
<baweaver>
Too much magic and cleverness will bite you
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leitz>
apeiros was just giving me some ideas on the Character <=> Career bit. I'm back to trying to understand OOP via gaming.
<leitz>
With *trying* being the operative word.
milardov_ has joined #ruby
ramfjord has joined #ruby
amatas has quit [Quit: amatas]
jenrzzz has joined #ruby
<leitz>
vtx, I will occasionally just "grep" for methods in my code. If it's only found in the definition then I usually clean it up and see what breaks.
<leitz>
Not really. I install it. I run it. It works. If I want to change the setup then I do so, otherwise I take the defaults.
<leitz>
With py.test, I run it. It works. No configuration necessary.
steph__ has joined #ruby
JaccoP has quit [Quit: Cya guys]
<jhass>
not sure I'd call `require "minitest/autorun"` that much setup
<zenspider>
woosh. again. that IS setup. if you can't see that, then I don't see the point of this discussion in the slightest
steph_ has quit [Ping timeout: 265 seconds]
<zenspider>
jhass: eh. you need ruby. you need minitest (which does ship with ruby, fwiw)... you need a test file (ish)... the right code structure...
<zenspider>
but that's entirely true for py.test too... *shrug*
<jhass>
sorry should have said that much more setup than what you need for py.test
safetypin has quit [Ping timeout: 248 seconds]
<zenspider>
obtuse is obtuse. I can't do much about that.
bkxd has quit [Ping timeout: 264 seconds]
<leitz>
jhass, where does that require go? I have the unittests, just trying to figure out how to call every test file without having to track each one in a test suite.
<jhass>
at the top of each file
<jhass>
then run a file with ruby thefile.rb or all of them with a simple for loop or whatever
<zenspider>
or rake task
iszak has quit [Ping timeout: 264 seconds]
iszak has joined #ruby
iszak has quit [Changing host]
iszak has joined #ruby
<leitz>
Ah-HA! zenspider, that's what I was looking for. I thought I had done something like this already.
<leitz>
Thanks for the reminder!
bkxd has joined #ruby
<leitz>
Since I'm not using rake for much else there's a default task to run the tests.
<nymous>
what's the benefit of using minitest instead of rspec?
<jhass>
pure preference
<leitz>
nymous, I use unittest, too. jhass is right, though. I'd say mostly preference.
<nymous>
i'm ok with that, or i should be a python fan
ramfjord has quit [Ping timeout: 265 seconds]
<nymous>
i hate python for being to straightforward
<nymous>
*too
<leitz>
I like not having 27 layers of "end".
<leitz>
Just not as fun a language though. Not sure why.
ramfjord has joined #ruby
<nymous>
because it forbids you to make magic
<baweaver>
You use that word a lot, I do not think it means what you think it means
pilne has joined #ruby
<leitz>
hehe...
<nymous>
and as "language for learning how to program" it makes too much assumptions on it's side which you most likely can't avoid
<leitz>
Prepare to die!
<baweaver>
inconceivable
troys_ is now known as troys
<leitz>
"I'm left handed too."
<nymous>
baweaver: my english skills are too imperfect, so i can't argue with you in full
cagomez has joined #ruby
<baweaver>
Anyways, I know quite a few Python programmers who would be highly amused by that assertion
<leitz>
nymous, we have been quoting, or mis-quoting in my case, from "The Princess Bride".
<baweaver>
Yep, just asked Python, they're amused and say there's a lot of magic in Python
<leitz>
nymous, while your English isn't perfect it is a thousand times better than my Russian.
ramfjord has quit [Ping timeout: 272 seconds]
<baweaver>
Anyways, you have a fixation on using magic. That's dangerous
<baweaver>
It leads you to try and be clever where simple solutions would do the same
<baweaver>
and nothing is more dangerous than clever code which you don't truly understand
<nymous>
i have i guess 20+ years of programming (including pre-school and basic lol), and my first taste of python is that it makes me think dumb to do dumb things
ramfjord has joined #ruby
<nymous>
even C is much more flexible to me
<baweaver>
Yeah, definitely don't mention that on #python
<leitz>
nymous, think of coding like talking to someone not from that language. Simple and powerful.
<nymous>
i won't, because i won't go to #python
<nymous>
just avoiding things i hate
<nymous>
sound clever enough to me
<nymous>
leitz: i hated pascal, python is a new pascal
<baweaver>
Well that's enough for me then
<nymous>
so nothing is changed on that point
<leitz>
baweaver, you bouncing out?
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver>
I'm still on, but getting back to other things
pastorin_ has joined #ruby
<nymous>
i don't want to offend anyone, language choice is a matter of taste
<leitz>
Ah, enjoy. I'm still looking for thoughts on that duplicated roll_2 issue.
<nymous>
you don't have to know and use all them, right?
<baweaver>
pro tip, you can use kwargs in blocks
<nymous>
i don't like python and avoiding it, that's all
mostlybadfly has quit [Quit: Connection closed for inactivity]
pastorinni has quit [Ping timeout: 240 seconds]
* leitz
goes to get the book to read up on kwargs.
<nymous>
it's python's thing
alex`` has quit [Ping timeout: 265 seconds]
<zenspider>
<leitz> "I like not having 27 layers of 'end'". ... obvious response: don't design 27 layers. that's shit code in any language.
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
<baweaver>
super fun
steph_ has joined #ruby
aScottishBoat has quit [Quit: aScottishBoat]
mim1k has joined #ruby
Emmanuel_Chanel has joined #ruby
steph_ has quit [Remote host closed the connection]
alfiemax has joined #ruby
cdg has joined #ruby
tvw has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 256 seconds]
nopolitica has quit [Ping timeout: 256 seconds]
bkxd has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
pastorin_ has quit [Remote host closed the connection]
DmitryBochkarev has joined #ruby
pastorinni has joined #ruby
moei has quit [Quit: Leaving...]
ltp has quit [Ping timeout: 248 seconds]
TomyLobo has quit [Ping timeout: 255 seconds]
despai has quit [Quit: ...]
alfiemax has quit [Ping timeout: 248 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 265 seconds]
troys is now known as troys_
amatas has joined #ruby
priodev has quit [Ping timeout: 268 seconds]
priodev has joined #ruby
<nymous>
i got your point about *args btw, it was from function like somethg(name, *args, &block), the function later disappeared, and the code was just copy-pasted to different places
<nymous>
yeah, i can safely change it to just args