00:00
jhass has joined #ruby
00:08
howdoicomputer has joined #ruby
00:09
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:14
lxsameer has quit [Ping timeout: 252 seconds]
00:24
nchambers has quit [Ping timeout: 272 seconds]
00:30
dkmueller has quit [Quit: Lost terminal]
00:32
daemonwrangler has quit [Ping timeout: 246 seconds]
00:34
jcalla has quit [Read error: Connection timed out]
00:35
jcalla has joined #ruby
00:38
cd has joined #ruby
00:41
patr0clus has quit [Quit: WeeChat 2.1]
00:41
queip has quit [Read error: Connection reset by peer]
00:47
howdoicomputer has quit [Quit: WeeChat 2.3]
00:51
queip has joined #ruby
00:56
AJA4350 has quit [Quit: AJA4350]
00:56
jcalla has quit [Ping timeout: 252 seconds]
00:58
asphyxia has joined #ruby
01:02
nchambers has joined #ruby
01:10
chouhoulis has joined #ruby
01:21
sgen has joined #ruby
01:22
chouhoulis has quit [Remote host closed the connection]
01:27
chihhsin has quit [Ping timeout: 244 seconds]
01:28
thejs has quit [Quit: Leaving]
01:40
chihhsin has joined #ruby
01:40
Guest24308 has joined #ruby
01:41
queip has quit [Read error: Connection reset by peer]
01:47
queip has joined #ruby
01:49
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:54
dviola has quit [Ping timeout: 252 seconds]
02:08
Freshnuts has joined #ruby
02:10
Freshnuts has quit [Max SendQ exceeded]
02:10
Freshnuts has joined #ruby
02:21
Exuma has joined #ruby
02:27
jrhorn424 has joined #ruby
02:28
jrhorn424 has quit [Client Quit]
02:29
jrhorn424 has joined #ruby
02:42
queip has quit [Read error: Connection reset by peer]
02:44
sgen has quit [Ping timeout: 260 seconds]
02:45
DTZUZO has quit [Ping timeout: 268 seconds]
02:45
jrhorn424 is now known as jrhorn424_away
02:46
jrhorn424_away is now known as jrhorn424
02:50
esrse has joined #ruby
02:52
queip has joined #ruby
02:58
jrhorn424 is now known as jrhorn424_away
02:59
jrhorn424_away has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:00
jrhorn424 has joined #ruby
03:01
leah2 has quit [Ping timeout: 268 seconds]
03:02
bmurt has joined #ruby
03:02
dinfuehr has quit [Ping timeout: 252 seconds]
03:05
dinfuehr has joined #ruby
03:06
Fusl has quit [Excess Flood]
03:06
nertzy has joined #ruby
03:07
Fusl has joined #ruby
03:21
elphe has quit [Ping timeout: 268 seconds]
03:21
themsay has quit [Read error: Connection reset by peer]
03:22
themsay has joined #ruby
03:25
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:29
elphe has joined #ruby
03:32
Nicmavr has quit [Read error: Connection reset by peer]
03:34
paulscoder has quit [Quit: paulscoder]
03:35
Nicmavr has joined #ruby
03:38
ByronJohnson has quit [Ping timeout: 272 seconds]
03:48
RougeR has quit [Ping timeout: 244 seconds]
04:05
braincrash has quit [Quit: bye bye]
04:06
ivanskie has joined #ruby
04:10
braincrash has joined #ruby
04:10
ivanskie has quit [Client Quit]
04:12
asphyxia has quit [Ping timeout: 240 seconds]
04:14
ivanskie has joined #ruby
04:19
arescorpio has joined #ruby
04:21
bairyn has joined #ruby
04:25
MoritaShinobu has joined #ruby
04:37
arescorpio has quit [Quit: Leaving.]
04:38
nima_m has joined #ruby
04:41
nima_m has quit [Client Quit]
04:52
asphyxia has joined #ruby
05:04
ChatCodingLab has joined #ruby
05:05
cliluw has quit [Ping timeout: 272 seconds]
05:06
cliluw has joined #ruby
05:06
nima_m has joined #ruby
05:08
nima_m has quit [Read error: Connection reset by peer]
05:14
maximjaffe has quit [Ping timeout: 272 seconds]
05:17
nima_m has joined #ruby
05:21
nicesignal has quit [Remote host closed the connection]
05:21
nicesignal has joined #ruby
05:22
tdy has quit [Ping timeout: 250 seconds]
05:33
tdy has joined #ruby
05:48
Guest24308 has quit [Ping timeout: 252 seconds]
05:53
rawrg has joined #ruby
06:03
marz_d`ghostman has joined #ruby
06:03
ChatCodingLab has quit [Read error: Connection reset by peer]
06:04
ChatCodingLab has joined #ruby
06:06
nima_m has quit [Quit: nima_m]
06:09
nima_m has joined #ruby
06:14
nima_m has quit [Quit: nima_m]
06:19
nima_m has joined #ruby
06:24
Inline has quit [Quit: Leaving]
06:26
ChatCodingLab has quit [Quit: This computer has gone to sleep]
06:31
nima_m has quit [Quit: nima_m]
06:32
jrhorn424 is now known as jrhorn424_away
06:32
jrhorn424_away has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:32
jmcgnh has quit [Ping timeout: 252 seconds]
06:33
jaddison has joined #ruby
06:36
nima_m has joined #ruby
06:39
jaddison has quit [Quit: jaddison]
06:39
jrhorn424 has joined #ruby
06:40
elphe has quit [Ping timeout: 268 seconds]
06:41
aufi has joined #ruby
06:44
luhn has joined #ruby
06:46
luhn has quit [Client Quit]
06:48
nertzy has quit [Quit: This computer has gone to sleep]
06:50
jrhorn424 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:51
nima_m has quit [Quit: nima_m]
06:53
conta has joined #ruby
06:54
jrhorn424 has joined #ruby
06:55
aufi has quit [Ping timeout: 246 seconds]
06:57
teardown has quit [Ping timeout: 246 seconds]
07:04
nchambers has quit [Quit: WeeChat 2.2]
07:09
elphe has joined #ruby
07:10
marmotini_ has joined #ruby
07:11
marmotini_ has quit [Remote host closed the connection]
07:11
roshanavand has quit [Remote host closed the connection]
07:11
marmotini_ has joined #ruby
07:12
roshanavand has joined #ruby
07:13
marmotini_ has quit [Remote host closed the connection]
07:14
marmotini_ has joined #ruby
07:14
marmotini_ has quit [Max SendQ exceeded]
07:15
marmotini_ has joined #ruby
07:15
dionysus69 has quit [Remote host closed the connection]
07:16
marmotini_ has quit [Remote host closed the connection]
07:16
marmotini_ has joined #ruby
07:17
dionysus69 has joined #ruby
07:17
marmotini_ has quit [Remote host closed the connection]
07:18
marmotini_ has joined #ruby
07:18
jrhorn424 is now known as jrhorn424_away
07:20
<
marz_d`ghostman >
I'm trying to test the format of logger, is there like a test specific stream I can use instead of a file?
07:21
marmotini_ has quit [Remote host closed the connection]
07:22
marmotini_ has joined #ruby
07:28
roshanavand has quit [Remote host closed the connection]
07:28
roshanavand has joined #ruby
07:30
BH23 has quit [Ping timeout: 240 seconds]
07:32
roshanavand has quit [Client Quit]
07:37
jrhorn424_away is now known as jrhorn424
07:39
marmotini_ has quit [Remote host closed the connection]
07:40
lomex has joined #ruby
07:40
marmotini_ has joined #ruby
07:41
queip has quit [Read error: Connection reset by peer]
07:51
queip has joined #ruby
07:59
DTZUZO has joined #ruby
08:05
whysthatso has joined #ruby
08:05
elphe has quit [Ping timeout: 252 seconds]
08:05
marmotini_ has quit [Remote host closed the connection]
08:06
marmotini_ has joined #ruby
08:08
jamied has joined #ruby
08:09
weaksauce has quit [Ping timeout: 245 seconds]
08:12
clemens3 has joined #ruby
08:14
jcarl43 has joined #ruby
08:15
marmotini_ has quit [Remote host closed the connection]
08:16
marmotini_ has joined #ruby
08:17
marmotini_ has quit [Remote host closed the connection]
08:17
marmotini_ has joined #ruby
08:22
venmx has joined #ruby
08:23
Burgestrand has joined #ruby
08:24
whysthatso has quit [Quit: whysthatso]
08:25
whysthatso has joined #ruby
08:31
elphe has joined #ruby
08:33
phaul has joined #ruby
08:33
jamied has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:34
venmx has quit [Ping timeout: 252 seconds]
08:36
elphe has quit [Ping timeout: 252 seconds]
08:41
queip has quit [Read error: Connection reset by peer]
08:49
marmotini_ has quit [Remote host closed the connection]
08:50
marmotini_ has joined #ruby
08:51
vondruch has joined #ruby
08:52
queip has joined #ruby
08:53
gix has joined #ruby
08:55
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:56
jamied has joined #ruby
08:57
lomex has joined #ruby
09:01
elphe has joined #ruby
09:03
apparition has joined #ruby
09:05
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:09
themsay has quit [Ping timeout: 240 seconds]
09:09
roshanavand has joined #ruby
09:14
roshanavand has quit [Remote host closed the connection]
09:14
roshanavand has joined #ruby
09:18
themsay has joined #ruby
09:18
Freshnuts has quit [Quit: Leaving]
09:20
themsay has quit [Read error: Connection reset by peer]
09:21
themsay has joined #ruby
09:24
sameerynho has joined #ruby
09:24
roshanavand has quit [Remote host closed the connection]
09:24
sameerynho is now known as Guest61808
09:26
themsay has quit [Ping timeout: 246 seconds]
09:26
themsay has joined #ruby
09:28
keden has joined #ruby
09:30
themsay has quit [Ping timeout: 244 seconds]
09:33
pskosinski has quit [Ping timeout: 244 seconds]
09:35
marmotini_ has quit [Quit: Leaving]
09:35
marmotini_ has joined #ruby
09:36
Guest24308 has joined #ruby
09:37
jcarl43 has quit [Quit: WeeChat 2.3]
09:38
pskosinski has joined #ruby
09:39
jmcgnh has joined #ruby
09:41
queip has quit [Read error: Connection reset by peer]
09:43
BH23 has joined #ruby
09:46
leah2 has joined #ruby
09:49
queip has joined #ruby
09:52
themsay has joined #ruby
09:53
BH23 has quit [Ping timeout: 240 seconds]
09:55
aufi has joined #ruby
09:56
lomex has joined #ruby
09:57
jrhorn424 has quit [Ping timeout: 250 seconds]
09:57
roshanavand has joined #ruby
10:01
dhollin3 has joined #ruby
10:01
venmx has joined #ruby
10:02
roshanavand has quit [Remote host closed the connection]
10:03
BH23 has joined #ruby
10:04
BH23 has quit [Remote host closed the connection]
10:11
roshanavand has joined #ruby
10:20
roshanavand has quit [Remote host closed the connection]
10:20
roshanavand has joined #ruby
10:26
roshanavand has quit [Remote host closed the connection]
10:26
za1b1tsu has joined #ruby
10:27
TheBloke has quit [Ping timeout: 252 seconds]
10:32
aufi has quit [Ping timeout: 252 seconds]
10:34
c0ncealed4 has quit [Remote host closed the connection]
10:34
<
Iambchop >
marz_d`ghostman: not "test specific", but look at StringIO?
10:35
c0ncealed4 has joined #ruby
10:37
yohji has joined #ruby
10:37
dviola has joined #ruby
10:39
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:40
esrse has quit [Ping timeout: 272 seconds]
10:41
za1b1tsu has quit [Quit: WeeChat 2.3]
10:42
queip has quit [Read error: Connection reset by peer]
10:42
lomex has joined #ruby
10:44
roshanavand has joined #ruby
10:52
themsay has quit [Ping timeout: 240 seconds]
10:53
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:53
themsay has joined #ruby
10:53
queip has joined #ruby
10:58
jordila has joined #ruby
11:03
roshanavand has quit [Remote host closed the connection]
11:10
marmotini_ has quit [Ping timeout: 268 seconds]
11:11
Guest24308 has quit [Remote host closed the connection]
11:12
nowhere_man has joined #ruby
11:15
GodFather has joined #ruby
11:16
jrhorn424 has joined #ruby
11:16
jrhorn424 has quit [Client Quit]
11:24
marmotini_ has joined #ruby
11:35
GodFather has quit [Ping timeout: 252 seconds]
11:38
paraxial has quit [Ping timeout: 245 seconds]
11:39
paraxial has joined #ruby
11:40
AJA4350 has joined #ruby
11:41
Spitfire has quit [Ping timeout: 264 seconds]
11:41
Spitfire has joined #ruby
11:43
nertzy has joined #ruby
11:43
roshanavand has joined #ruby
11:43
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
11:43
raggi has quit [Ping timeout: 264 seconds]
11:45
raggi has joined #ruby
11:48
aufi has joined #ruby
11:48
roshanavand has quit [Remote host closed the connection]
11:48
dviola has quit [Quit: WeeChat 2.3]
11:50
roshanavand has joined #ruby
11:50
jamied has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:52
yohji has quit [Remote host closed the connection]
11:56
roshanavand has quit [Remote host closed the connection]
12:08
thinkpad has quit [Quit: lawl]
12:14
Danielss89 has joined #ruby
12:17
thinkpad has joined #ruby
12:18
marmotini_ has quit [Remote host closed the connection]
12:18
marmotini_ has joined #ruby
12:25
Guest61808 has quit [Ping timeout: 240 seconds]
12:26
Guest61808 has joined #ruby
12:31
Guest61808 has quit [Ping timeout: 246 seconds]
12:34
LinuxKnight has quit [Remote host closed the connection]
12:35
keden has quit [Ping timeout: 272 seconds]
12:35
LinuxKnight has joined #ruby
12:36
marmotini_ has quit [Ping timeout: 268 seconds]
12:37
roshanavand has joined #ruby
12:37
ur5us has joined #ruby
12:40
Guest61808 has joined #ruby
12:41
ur5us has quit [Ping timeout: 252 seconds]
12:41
queip has quit [Read error: Connection reset by peer]
12:42
yohji has joined #ruby
12:46
gregf_ has joined #ruby
12:53
apparition has quit [Quit: Bye]
12:53
queip has joined #ruby
12:55
jordila has quit [Ping timeout: 252 seconds]
12:57
yohji has quit [Quit: Leaving]
12:57
roshanavand has quit [Remote host closed the connection]
12:58
roshanavand has joined #ruby
13:00
keden has joined #ruby
13:00
jamied has joined #ruby
13:01
<
marz_d`ghostman >
Iambchop: thanks I'll look into it
13:02
marz_d`ghostman has quit [Quit: Page closed]
13:03
nowhere_man has quit [Ping timeout: 252 seconds]
13:06
nowhere_man has joined #ruby
13:07
nowhere_man has quit [Remote host closed the connection]
13:07
hiroaki has joined #ruby
13:08
GodFather has joined #ruby
13:09
TheBloke has joined #ruby
13:12
roshanavand has quit [Remote host closed the connection]
13:14
keden has quit [Ping timeout: 268 seconds]
13:17
vondruch_ has joined #ruby
13:19
vondruch has quit [Ping timeout: 260 seconds]
13:19
vondruch_ is now known as vondruch
13:20
roshanavand has joined #ruby
13:23
roshanavand has quit [Remote host closed the connection]
13:29
bmurt has joined #ruby
13:33
bmurt has quit [Client Quit]
13:37
bmurt has joined #ruby
13:38
maximjaffe has joined #ruby
13:42
keden has joined #ruby
13:43
crankhar1er has joined #ruby
13:47
keden has quit [Ping timeout: 268 seconds]
13:50
vonfry has joined #ruby
13:59
vondruch has quit [Quit: vondruch]
13:59
vondruch_ has joined #ruby
14:01
vonfry has quit [Quit: WeeChat 2.2]
14:03
jcalla has joined #ruby
14:04
roshanavand has joined #ruby
14:04
paraxial has quit [Ping timeout: 246 seconds]
14:04
alan_w has joined #ruby
14:05
paraxial has joined #ruby
14:11
discopatrick has joined #ruby
14:12
Nicmavr has quit [Read error: Connection reset by peer]
14:15
Nicmavr has joined #ruby
14:16
crankhar1er has quit [Ping timeout: 268 seconds]
14:17
crankhar1er has joined #ruby
14:19
nertzy has quit [Quit: This computer has gone to sleep]
14:22
awkwords has joined #ruby
14:31
paulscoder has joined #ruby
14:31
donofrio has joined #ruby
14:39
jsc has joined #ruby
14:40
jsc is now known as status402
14:42
GodFather has quit [Ping timeout: 252 seconds]
14:48
RougeR has joined #ruby
14:48
<
RougeR >
hello, has anyone got experience running resque/resque scheduler with docker
14:52
rippa has joined #ruby
15:00
daemonwrangler has joined #ruby
15:01
Guest61808 has quit [Ping timeout: 264 seconds]
15:01
Guest61808 has joined #ruby
15:01
arup_r has joined #ruby
15:12
Rapture has joined #ruby
15:14
MoritaShinobu has quit [Ping timeout: 244 seconds]
15:15
keden has joined #ruby
15:17
cmckee has joined #ruby
15:19
paulscoder has quit [Quit: paulscoder]
15:21
cmckee has quit [Quit: cmckee]
15:21
troulouliou_div2 has joined #ruby
15:22
vondruch_ has quit [Quit: vondruch_]
15:22
vondruch has joined #ruby
15:23
kaleido has joined #ruby
15:25
keden has quit [Ping timeout: 245 seconds]
15:26
akaiiro has joined #ruby
15:28
keden has joined #ruby
15:28
arup_r has quit [Remote host closed the connection]
15:29
GodFather has joined #ruby
15:30
arup_r has joined #ruby
15:30
Inline has joined #ruby
15:33
akaiiro has quit [Remote host closed the connection]
15:34
Inside has joined #ruby
15:38
Tuor has joined #ruby
15:38
dviola has joined #ruby
15:40
akaiiro has joined #ruby
15:41
whysthatso has quit [Quit: whysthatso]
15:41
queip has quit [Read error: Connection reset by peer]
15:49
aufi has quit [Ping timeout: 250 seconds]
15:53
queip has joined #ruby
15:53
status402 has quit [Ping timeout: 272 seconds]
15:55
akosednar has quit [Ping timeout: 244 seconds]
15:55
dinfuehr has quit [Ping timeout: 252 seconds]
15:56
troulouliou_div2 has quit [Read error: Connection reset by peer]
15:56
dinfuehr has joined #ruby
15:57
status402 has joined #ruby
15:57
Burgestrand has quit [Quit: Closing time!]
16:02
themsay has quit [Ping timeout: 244 seconds]
16:02
akosednar has joined #ruby
16:02
status402 has quit [Quit: status402]
16:03
ellcs has quit [Ping timeout: 268 seconds]
16:05
ujjain has joined #ruby
16:08
saltsa has joined #ruby
16:11
desperek has joined #ruby
16:12
conta has quit [Ping timeout: 272 seconds]
16:17
aufi has joined #ruby
16:19
GodFather has quit [Ping timeout: 250 seconds]
16:23
mostlybadfly has joined #ruby
16:27
Exuma has joined #ruby
16:27
aufi has quit [Read error: Connection reset by peer]
16:28
aufi has joined #ruby
16:33
maximjaffe has quit [Ping timeout: 260 seconds]
16:34
elphe has quit [Ping timeout: 264 seconds]
16:38
elphe has joined #ruby
16:41
queip has quit [Read error: Connection reset by peer]
16:42
jetchisel has joined #ruby
16:44
NL3limin4t0r has joined #ruby
16:45
NL3limin4t0r has quit [Client Quit]
16:47
whysthatso has joined #ruby
16:51
queip has joined #ruby
16:52
lomex has joined #ruby
16:53
jaddison has joined #ruby
16:53
cow[moo] has joined #ruby
16:54
dhollin3 is now known as dhollinger
16:54
AJA4350 has quit [Quit: AJA4350]
16:56
nowhere_man has joined #ruby
16:56
Guest61808 has quit [Ping timeout: 260 seconds]
16:57
Guest61808 has joined #ruby
16:58
clemens3 has quit [Ping timeout: 252 seconds]
17:01
Guest61808 has quit [Ping timeout: 246 seconds]
17:02
Guest61808 has joined #ruby
17:03
nchambers has joined #ruby
17:12
Guest61808 has quit [Ping timeout: 252 seconds]
17:12
aces1up has joined #ruby
17:13
<
aces1up >
just asking here this ROR question as you guys seem more active
17:13
<
aces1up >
hey all i have been searching around but can not find an answer to this. when i save a datetime to column in rails I know it saves it as utc.. How can I later do a query on that datetime to see if it has passed a certain time in another timezone?
17:13
<
aces1up >
<aces1up> it is as simple as querying the database using a datetime object set with a different timezone and AR knows what to do from there?
17:15
jordila has joined #ruby
17:15
Guest61808 has joined #ruby
17:16
<
RougeR >
aces1up, what db
17:16
jaddison has quit [Quit: jaddison]
17:18
<
RougeR >
might be of interest
17:18
<
RougeR >
could be that you have to write a sql method otherwise you are going to be doing the checks in rails
17:19
<
aces1up >
RougeR mysql
17:19
<
aces1up >
RougeR shouldnt i be having AR do the checks?
17:19
<
aces1up >
this is actually a standalone ruby project not rails
17:19
<
aces1up >
but i use active record for dbase stuff
17:21
<
RougeR >
aces1up, ah okay, i dont use rails much either
17:21
<
RougeR >
mostly pure ruby/sinatra
17:21
<
aces1up >
yeh i use unicorn for web stuff
17:21
<
RougeR >
aces1up, AR is just a DSL for sql
17:22
<
RougeR >
i dont think what you want can be done in active record
17:22
<
RougeR >
and you dont want to load all the objects into memory
17:22
<
bougyman >
AR is an orm
17:22
<
aces1up >
but activ support has new timezone stuff i should be using in my queries
17:22
<
bougyman >
arel is the dsl for sql, no?
17:22
<
RougeR >
idont know how mysql stores timestamps
17:22
<
RougeR >
i mostly stick to postgres
17:22
<
RougeR >
ill have a look
17:22
<
RougeR >
timezones*
17:23
<
aces1up >
right now i have an app where i was storing all things as unix timestamp, now i need to adapt it to retreieve stuff based on biz location / timezone
17:23
GodFather has joined #ruby
17:23
<
aces1up >
from what i seeing i need to create new columns of datetime.
17:23
<
RougeR >
same as postgres
17:23
<
RougeR >
aces1up, it doesnt store a timezone field though i think
17:23
<
aces1up >
and do comparisons with date time objects in AR instead of unix timestamps.
17:23
<
RougeR >
it just stores adds an offset
17:24
<
RougeR >
youll want to compare against created_at or maybe current_time
17:24
<
aces1up >
RougeR as long as AR gets the queries right im good
17:24
<
RougeR >
aces1up, how are you storing the objects
17:24
<
aces1up >
i understand it stored things as UTC.
17:24
<
RougeR >
id add a column for timezone
17:25
<
aces1up >
RougeR everything based off unix time stamp using Time.now.to_i
17:25
<
aces1up >
i have column now for timezone..
17:25
<
aces1up >
need to integrate it.
17:25
<
RougeR >
you already do, or you just made one?
17:25
<
aces1up >
but can i use my timestamps?
17:25
<
RougeR >
aces1up, maybe, im just trying to think how to do it
17:26
<
aces1up >
or should i just switch over everything to date time object so AR can do queries against timezone of business?
17:26
<
RougeR >
aces1up, how often will this query be run
17:26
<
RougeR >
and against how big a db
17:26
jrhorn424 has joined #ruby
17:27
<
aces1up >
its polling businesses for new leads that come in.. so i have a cron job running every 30 secs.
17:27
<
RougeR >
you could just do
17:27
<
aces1up >
not too big a db now.
17:27
cthulchu has joined #ruby
17:28
<
RougeR >
sorry i gotta be brb
17:28
<
RougeR >
im not being much help, trying to finish something at work
17:29
<
aces1up >
sure let me know your thoughts if i can adapt just Timestamps to work with timezones.
17:29
<
RougeR >
yeah i will do. i honestly might not be back for a while. :(
17:29
<
aces1up >
i guess i need to convert the timestamp to time object then convert to timezone but then how would I do a query with all those conversions.
17:29
<
RougeR >
i would recommend reading this
17:29
<
RougeR >
and related
17:29
<
RougeR >
seems similar
17:30
<
aces1up >
sure man will do
17:30
<
aces1up >
thanks for the help
17:32
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:32
Guest61808 has quit [Ping timeout: 268 seconds]
17:37
RougeR has quit [Ping timeout: 268 seconds]
17:39
mangold has joined #ruby
17:41
queip has quit [Read error: Connection reset by peer]
17:42
crankhar1er has quit [Ping timeout: 252 seconds]
17:44
\void has joined #ruby
17:44
Dbugger has joined #ruby
17:46
jcarl43 has joined #ruby
17:48
GodFather has quit [Ping timeout: 250 seconds]
17:49
mistergibson has quit [Remote host closed the connection]
17:49
maximjaffe has joined #ruby
17:50
queip has joined #ruby
17:52
sanscoeur has joined #ruby
17:54
elphe has quit [Ping timeout: 244 seconds]
17:55
aufi has quit [Ping timeout: 240 seconds]
17:56
dkmueller has joined #ruby
17:56
venmx has quit [Ping timeout: 244 seconds]
18:00
jetchisel has quit [Ping timeout: 246 seconds]
18:02
jetchisel has joined #ruby
18:05
GodFather has joined #ruby
18:06
keden has quit [Quit: WeeChat 2.3]
18:08
crankhar1er has joined #ruby
18:11
fmccann has joined #ruby
18:13
crankhar1er has quit [Ping timeout: 268 seconds]
18:15
<
baweaver >
What's the latest hotness for Timeout in Ruby?
18:15
dviola has quit [Quit: WeeChat 2.3]
18:15
<
baweaver >
Timeout::timeout is still its regular old fun self.
18:17
Arkantos has joined #ruby
18:18
reber has joined #ruby
18:18
Tuor has quit [Quit: Konversation terminated!]
18:19
joufflu has joined #ruby
18:19
<
joufflu >
sup dudes
18:20
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:24
lytol has joined #ruby
18:33
elcontrastador has joined #ruby
18:34
crankhar1er has joined #ruby
18:34
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:39
lxsameer has joined #ruby
18:41
queip has quit [Read error: Connection reset by peer]
18:43
gregf_ has quit [Ping timeout: 256 seconds]
18:43
awkwords has quit [Quit: sleepy time]
18:45
GodFather has quit [Ping timeout: 260 seconds]
18:49
awkwords has joined #ruby
18:50
tdy has quit [Ping timeout: 246 seconds]
18:51
sgen has joined #ruby
18:51
Puffball has quit [Remote host closed the connection]
18:53
Puffball has joined #ruby
18:54
queip has joined #ruby
18:54
jrhorn424 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:57
awkwords has quit [Quit: sleepy time]
18:58
dellavg_ has joined #ruby
18:59
awkwords has joined #ruby
18:59
awkwords has quit [Client Quit]
19:00
<
phaul >
&list timeout
19:00
<
rubydoc >
OpenSSL::SSL::Session#timeout, Object#timeout, Timeout.timeout, WEBrick::Utils.timeout
19:01
<
phaul >
&ri Object#timeout
19:01
jrhorn424 has joined #ruby
19:01
<
al2o3-cr >
Object.timeout is deprecated.
19:01
awkwords has joined #ruby
19:02
awkwords has quit [Client Quit]
19:02
<
al2o3-cr >
*Object#timeout
19:04
tdy has joined #ruby
19:23
jordila has quit [Ping timeout: 240 seconds]
19:25
goatish has joined #ruby
19:26
sauvin has quit [Read error: Connection reset by peer]
19:31
emerson has quit [Quit: WeeChat 2.3]
19:37
Arkantos_ has joined #ruby
19:40
aces1up has quit []
19:41
queip has quit [Read error: Connection reset by peer]
19:42
OrangeManBad has quit [Ping timeout: 260 seconds]
19:43
OrangeManBad has joined #ruby
19:49
SeepingN has joined #ruby
19:49
cd has quit [Quit: cd]
19:53
reber has quit [Remote host closed the connection]
19:55
queip has joined #ruby
19:57
cagomez has joined #ruby
20:00
jobewan has joined #ruby
20:05
Mike11 has joined #ruby
20:18
hiroaki has quit [Ping timeout: 252 seconds]
20:22
Puffball has quit [Remote host closed the connection]
20:23
OrangeManBad has quit [Ping timeout: 260 seconds]
20:24
Puffball has joined #ruby
20:24
Ghosties has joined #ruby
20:25
gnufied has joined #ruby
20:26
<
Ghosties >
hello, are there any ruby gems for screen recording?
20:28
pabs has joined #ruby
20:30
cagomez has quit [Remote host closed the connection]
20:30
cagomez has joined #ruby
20:31
cagomez has quit [Remote host closed the connection]
20:31
cagomez has joined #ruby
20:32
cagomez has quit [Remote host closed the connection]
20:32
cagomez has joined #ruby
20:32
cagomez has quit [Remote host closed the connection]
20:33
cagomez has joined #ruby
20:33
cagomez has quit [Remote host closed the connection]
20:33
cagomez has joined #ruby
20:34
cagomez has quit [Remote host closed the connection]
20:35
phaul has quit [Ping timeout: 246 seconds]
20:35
sgen has quit [Ping timeout: 252 seconds]
20:36
OrangeManBad has joined #ruby
20:37
tdy has quit [Ping timeout: 272 seconds]
20:38
Ghosties has left #ruby ["fat people are easier to kidnap"]
20:41
sgen has joined #ruby
20:41
queip has quit [Read error: Connection reset by peer]
20:42
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:42
mostlybadfly has quit [Quit: Connection closed for inactivity]
20:42
elphe has joined #ruby
20:44
cow[moo] has joined #ruby
20:46
Puffball has quit [Remote host closed the connection]
20:47
Puffball has joined #ruby
20:48
nowhere_man has quit [Ping timeout: 252 seconds]
20:54
queip has joined #ruby
20:55
impermanence has joined #ruby
20:55
dkmueller has quit [Quit: Lost terminal]
20:56
sgen has quit [Remote host closed the connection]
20:58
akem has joined #ruby
20:58
joufflu has quit [Ping timeout: 256 seconds]
20:59
conta has joined #ruby
21:02
conta has quit [Client Quit]
21:04
sanscoeu_ has joined #ruby
21:07
sanscoeur has quit [Ping timeout: 268 seconds]
21:11
dellavg_ has quit [Ping timeout: 244 seconds]
21:22
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:22
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:25
Azure has joined #ruby
21:26
cow[moo] has joined #ruby
21:28
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
21:31
saltsa has quit [Quit: leaving]
21:33
sanscoeu_ has quit [Remote host closed the connection]
21:33
goatish has quit [Quit: bye]
21:33
sanscoeur has joined #ruby
21:36
sanscoeur has quit [Remote host closed the connection]
21:39
Arkantos_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:40
minimal_life has joined #ruby
21:41
queip has quit [Read error: Connection reset by peer]
21:42
akem has quit [Read error: Connection reset by peer]
21:44
sanscoeur has joined #ruby
21:46
themsay has joined #ruby
21:47
jobewan has quit [Quit: jobewan]
21:49
jetchisel has quit [Ping timeout: 252 seconds]
21:50
Dbugger has quit [Ping timeout: 252 seconds]
21:50
nowhere_man has joined #ruby
21:51
queip has joined #ruby
21:54
patr0clus has joined #ruby
21:56
sagax has joined #ruby
21:57
whysthatso has quit [Quit: whysthatso]
21:57
nowhere_man has quit [Ping timeout: 252 seconds]
21:58
Inline has quit [Read error: Connection reset by peer]
22:02
dviola has joined #ruby
22:07
Arkantos has joined #ruby
22:18
moei has quit [Quit: Leaving...]
22:20
akem has joined #ruby
22:21
patr0clus has quit [Quit: WeeChat 2.1]
22:22
akem__ has joined #ruby
22:24
akem has quit [Ping timeout: 240 seconds]
22:29
akem__ has quit [Quit: Leaving]
22:30
discopatrick has quit [Quit: Connection closed for inactivity]
22:32
jcarl43 has quit [Quit: WeeChat 2.3]
22:34
quipa_ has joined #ruby
22:36
dionysus69_ has joined #ruby
22:37
catsed has joined #ruby
22:37
duckpuppy has joined #ruby
22:38
Puffball_ has joined #ruby
22:38
elphe_ has joined #ruby
22:38
DTZUZO_ has joined #ruby
22:38
jokke2 has joined #ruby
22:39
Xeago_ has joined #ruby
22:39
asphyxia_ has joined #ruby
22:39
funnel_ has joined #ruby
22:39
bmurt has quit [Ping timeout: 268 seconds]
22:39
NightMonkey has quit [Ping timeout: 268 seconds]
22:39
DTZUZO has quit [Ping timeout: 268 seconds]
22:39
Fire-Dragon-DoL has quit [Ping timeout: 268 seconds]
22:39
Xeago has quit [Ping timeout: 268 seconds]
22:39
cats has quit [Ping timeout: 268 seconds]
22:39
KazeFX has quit [Ping timeout: 268 seconds]
22:39
duckpupp- has quit [Ping timeout: 268 seconds]
22:39
impermanence has quit [Ping timeout: 268 seconds]
22:39
maximjaffe has quit [Ping timeout: 268 seconds]
22:39
vondruch has quit [Ping timeout: 268 seconds]
22:39
akosednar has quit [Ping timeout: 268 seconds]
22:39
dionysus69 has quit [Ping timeout: 268 seconds]
22:39
segy has quit [Ping timeout: 268 seconds]
22:39
nicolasb has quit [Ping timeout: 268 seconds]
22:39
jokke has quit [Ping timeout: 268 seconds]
22:39
j416 has quit [Ping timeout: 268 seconds]
22:39
havenwood has quit [Ping timeout: 268 seconds]
22:39
Puffball has quit [Ping timeout: 268 seconds]
22:39
asphyxia has quit [Ping timeout: 268 seconds]
22:39
Tom-_ has quit [Ping timeout: 268 seconds]
22:39
eckhardt has quit [Ping timeout: 268 seconds]
22:39
funnel has quit [Ping timeout: 268 seconds]
22:39
Liothen has quit [Ping timeout: 268 seconds]
22:39
elphe has quit [Ping timeout: 268 seconds]
22:39
catsed is now known as cats
22:39
chongtxtx has quit [Ping timeout: 268 seconds]
22:39
Xeago_ is now known as Xeago
22:39
dionysus69_ is now known as dionysus69
22:39
funnel_ is now known as funnel
22:40
havenwood has joined #ruby
22:40
NightMonkey has joined #ruby
22:40
j416 has joined #ruby
22:40
chongtxtx has joined #ruby
22:40
Fire-Dragon-DoL has joined #ruby
22:41
segy has joined #ruby
22:41
akosednar has joined #ruby
22:41
queip has quit [Read error: Connection reset by peer]
22:43
beowuff has joined #ruby
22:43
spiette has joined #ruby
22:45
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:47
cow[moo] has joined #ruby
22:47
crankhar1er has quit [Ping timeout: 245 seconds]
22:52
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:53
queip has joined #ruby
22:54
dviola has quit [Quit: WeeChat 2.3]
22:57
postmodern has joined #ruby
23:01
alan_w has quit [Ping timeout: 244 seconds]
23:01
tdy has joined #ruby
23:02
AJA4350 has joined #ruby
23:04
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:04
Tom-_ has joined #ruby
23:05
dachi` has joined #ruby
23:05
<
dachi` >
how do you do
23:05
<
dachi` >
something like
23:05
<
dachi` >
public_send(res.reason_phrase == "Created" ? *[:a, "PR Created"] : *[:a, "PR not created"])
23:06
<
dachi` >
I mean the :a in last would be :b
23:06
BH23 has joined #ruby
23:06
<
baweaver >
dachi`: What's the full code there?
23:06
<
baweaver >
You should probably break it into multiple methods
23:07
<
baweaver >
99% of the time you don't need send
23:07
<
dachi` >
So I'd like to convert [:smth, "Arg"] to argument that I can pass to function
23:07
<
dachi` >
baweaver: Ok i'll break it down then
23:08
cow[moo] has joined #ruby
23:08
nfk has joined #ruby
23:09
dachi has joined #ruby
23:09
<
zenspider >
dachi: that looks like an if statement to me. Don't be clever when you don't need to be
23:10
<
dachi` >
zenspider: thanks
23:10
<
Radar >
strong agree with zenspider
23:11
cow[moo] has quit [Client Quit]
23:12
<
dachi` >
Radar: thanks I broke it down, I was just thinking that one line would be better, but still this looks nicer now
23:12
<
Radar >
Out of those three options I would pick B. Ternaries are good for short bits of code and I think the string there makes it too long.
23:12
<
Radar >
lines of code are cheap
23:14
<
dachi` >
yep thanks guys. i'll leave, i had this bnc but seems something went wrang. I'm in a hurry, tty later maybe, I remember Radar and some other names for 4-5 years already
23:15
dachi` has quit [Quit: Page closed]
23:17
discopatrick has joined #ruby
23:20
<
zenspider >
I could use some jruby help. I posted 2 questions in #jruby but they're dead
23:22
desperek has quit [Quit: xoxo]
23:23
sanscoeur has quit [Remote host closed the connection]
23:29
<
Radar >
zenspider: fire away
23:32
<
zenspider >
first foray into jruby in a looong time. Having some problems. Installed 9.2.4.0 via rbenv, but I'm getting heavy handed warnings on every invocation about reflection & security? Is there something I should be doing?
23:32
awkwords has joined #ruby
23:32
<
zenspider >
I've literally just installed and fired off
23:33
<
zenspider >
Second problem: rbenv seems to hate jgem and probably everything else? stubs just bitch and give up. I have to full path everything. Clue?
23:33
<
zenspider >
java is openjdk 11 2018-09-25 via homebrew
23:38
sanscoeur has joined #ruby
23:42
queip has quit [Read error: Connection reset by peer]
23:47
queip has joined #ruby
23:48
OrangeManBad has quit [Ping timeout: 260 seconds]
23:48
DTZUZO_ has quit [Quit: WeeChat 2.0]
23:51
dubuc has joined #ruby
23:51
<
dubuc >
Hello channel
23:51
sagax has quit [Remote host closed the connection]
23:51
<
dubuc >
I have a ruby noob question probably
23:52
hutch has joined #ruby
23:52
<
dubuc >
I am using Puppet provided by my platform team. And for some reason, an Array.to_yaml.lines returns Enumerable instead of Array.
23:53
<
dubuc >
Ruby 2.1.9 apparently.
23:54
<
zenspider >
that is expected
23:54
<
zenspider >
what are you actually trying to do?
23:54
<
zenspider >
you probably don't want `to_yaml.lines` at all, right? what would you be doing with the yaml?
23:55
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
23:55
<
dubuc >
Well this got committed into the puppet module I am using
23:55
quipa_ has quit [Ping timeout: 240 seconds]
23:56
<
zenspider >
that's old / bad code. hands down
23:56
<
dubuc >
and essentially dooes to_yaml.lines[1..-1].join()
23:56
<
zenspider >
that worked in... 1.9, maybe? 1.8 definitely
23:56
<
zenspider >
they're trying to drop the first line
23:56
<
zenspider >
for whatever reason
23:56
<
zenspider >
you can modify it to be lines.to_a[1..-1]
23:56
<
dubuc >
yeah because the to_yaml adds ["--- blah blah"]
23:57
<
dubuc >
and it doesnt want the "---"
23:57
<
zenspider >
but really, what they're doing is stupid
23:57
<
zenspider >
that first line is absolutely valid yaml.
23:57
<
dubuc >
it is! but it's a yaml config file. I think they wanted a workaround
23:57
<
dubuc >
So what would be the best practice way to drop the "---"?
23:58
<
zenspider >
there's a lot wrong with that diff fragment already
23:58
awkwords has quit [Quit: sleepy time]
23:58
<
zenspider >
ah. ok. I see. they're doing this in a yml.erb file... so no, the --- isn't valid at that location... the problem is using to_yaml at all. sec.
23:59
SeepingN has quit [Ping timeout: 272 seconds]
23:59
<
dubuc >
btw thanks a lot for your insight zenspider
23:59
awkwords has joined #ruby
23:59
awkwords has quit [Client Quit]