SeepingN

Activity Graph

Page 1 of 10 | Next »

2019-05-25

[06:13:39] SeepingN: Quit: The system is going down for reboot NOW!

2019-05-24

[05:47:58] SeepingN: Quit: The system is going down for reboot NOW!
[19:19:44] SeepingN: has joined #ruby

2019-05-23

[04:41:42] SeepingN: Quit: The system is going down for reboot NOW!
[20:26:09] SeepingN: has joined #ruby

2019-05-22

[04:06:42] SeepingN: has joined #ruby
[04:48:50] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:15:29] SeepingN: has joined #ruby
[20:31:14] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:18:21] SeepingN: has joined #ruby

2019-05-21

[00:03:18] SeepingN: I think using symbols saves space
[00:03:34] SeepingN: it doesn't actually ahve to store a string name you give it
[00:04:16] SeepingN: http://rubylearning.com/satishtalim/ruby_symbols.html
[00:04:36] SeepingN: read the gray box ;)
[00:13:14] SeepingN: yeah: use sysmbols. done. ;)
[00:13:58] SeepingN: I believe there are calls that can "convert" text into symbols in case you're bulding one of those dynamic lists based on input
[00:40:06] SeepingN: Quit: The system is going down for reboot NOW!
[18:38:46] SeepingN: has joined #ruby
[23:06:43] SeepingN: Ping timeout: 245 seconds

2019-05-20

[00:36:46] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[01:47:05] SeepingN: has joined #ruby
[03:06:51] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:35:12] SeepingN: has joined #ruby
[14:26:07] SeepingN: Quit: The system is going down for reboot NOW!
[14:26:39] SeepingN: has joined #ruby
[15:01:17] SeepingN: Quit: The system is going down for reboot NOW!
[18:41:41] SeepingN: has joined #ruby
[20:22:21] SeepingN: there's no.. java package manager????

2019-05-19

[03:53:16] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:36:41] SeepingN: has joined #ruby

2019-05-17

[00:22:27] SeepingN: Quit: The system is going down for reboot NOW!
[13:49:09] SeepingN: has joined #ruby

2019-05-16

[17:27:30] SeepingN: Quit: The system is going down for reboot NOW!
[19:16:16] SeepingN: has joined #ruby
[19:22:01] SeepingN: jesus. that's no guide

2019-05-15

[04:26:02] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:31:12] SeepingN: has joined #ruby

2019-05-14

[00:52:07] SeepingN: Quit: The system is going down for reboot NOW!
[13:48:36] SeepingN: has joined #ruby

2019-05-13

[16:06:59] SeepingN: has joined #ruby
[19:00:34] SeepingN: Ping timeout: 252 seconds
[19:45:38] SeepingN: has joined #ruby

2019-05-11

[05:58:00] SeepingN: Quit: The system is going down for reboot NOW!

2019-05-10

[05:36:03] SeepingN: Quit: The system is going down for reboot NOW!
[16:32:23] SeepingN: has joined #ruby

2019-05-09

[00:37:25] SeepingN: Ping timeout: 244 seconds
[17:37:06] SeepingN: has joined #ruby

2019-05-08

[00:04:53] SeepingN: Quit: The system is going down for reboot NOW!
[20:30:33] SeepingN: has joined #ruby
[20:32:36] SeepingN: Read error: Connection reset by peer
[20:33:08] SeepingN: has joined #ruby

2019-05-07

[01:01:16] SeepingN: Quit: The system is going down for reboot NOW!
[20:36:17] SeepingN: has joined #ruby

2019-05-06

[01:39:29] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:53:48] SeepingN: has joined #ruby
[18:49:49] SeepingN: Quit: The system is going down for reboot NOW!
[19:39:14] SeepingN: has joined #ruby
[21:44:10] SeepingN: Remote host closed the connection
[21:56:30] SeepingN: has joined #ruby
[22:15:22] SeepingN: Quit: The system is going down for reboot NOW!
[22:17:54] SeepingN: has joined #ruby

2019-05-05

[17:01:26] SeepingN: has joined #ruby

2019-05-04

[01:12:19] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…

2019-05-03

[04:29:33] SeepingN: has joined #ruby
[04:37:00] SeepingN: Ping timeout: 258 seconds
[13:30:15] SeepingN: has joined #ruby

2019-05-01

[03:53:44] SeepingN: Quit: The system is going down for reboot NOW!
[14:35:59] SeepingN: has joined #ruby
[19:44:12] SeepingN: Ping timeout: 245 seconds
[20:50:38] SeepingN: has joined #ruby
[22:03:43] SeepingN: Disconnected by services
[22:11:19] SeepingN: has joined #ruby
[22:49:17] SeepingN: Quit: The system is going down for reboot NOW!

2019-04-30

[00:28:08] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[01:58:30] SeepingN: has joined #ruby
[04:53:31] SeepingN: Quit: The system is going down for reboot NOW!
[20:53:09] SeepingN: has joined #ruby

2019-04-29

[16:24:38] SeepingN: has joined #ruby

2019-04-27

[07:02:05] SeepingN: Quit: The system is going down for reboot NOW!

2019-04-26

[16:01:43] SeepingN: has joined #ruby

2019-04-25

[00:33:54] SeepingN: Quit: The system is going down for reboot NOW!
[14:30:38] SeepingN: has joined #ruby
[21:11:06] SeepingN: Quit: The system is going down for reboot NOW!

2019-04-24

[00:31:44] SeepingN: Quit: The system is going down for reboot NOW!
[15:04:29] SeepingN: has joined #ruby
[18:42:57] SeepingN: Quit: The system is going down for reboot NOW!
[19:36:39] SeepingN: has joined #ruby

2019-04-23

[00:26:09] SeepingN: Quit: The system is going down for reboot NOW!
[19:08:17] SeepingN: has joined #ruby

2019-04-22

[00:54:03] SeepingN: has joined #ruby
[05:37:00] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:33:21] SeepingN: has joined #ruby
[17:22:04] SeepingN: Quit: The system is going down for reboot NOW!
[18:48:04] SeepingN: has joined #ruby

2019-04-20

[00:47:22] SeepingN: Quit: The system is going down for reboot NOW!

2019-04-19

[14:42:26] SeepingN: has joined #ruby
[19:54:35] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[19:57:03] SeepingN: has joined #ruby

2019-04-18

[01:04:23] SeepingN: Ping timeout: 268 seconds
[13:58:47] SeepingN: has joined #ruby
[16:58:04] SeepingN: Ping timeout: 244 seconds

2019-04-17

[00:42:42] SeepingN: Ping timeout: 250 seconds
[13:28:41] SeepingN: has joined #ruby
[17:41:23] SeepingN: Quit: The system is going down for reboot NOW!
[20:21:49] SeepingN: has joined #ruby

2019-04-16

[00:47:28] SeepingN: Quit: The system is going down for reboot NOW!
[20:32:45] SeepingN: has joined #ruby
[22:18:41] SeepingN: Quit: The system is going down for reboot NOW!
[22:23:37] SeepingN: has joined #ruby

2019-04-15

[14:34:42] SeepingN: you may have to use some.... skills
[18:18:04] SeepingN: Ping timeout: 264 seconds
[19:53:40] SeepingN: has joined #ruby
[21:19:52] SeepingN: chop the first 3 chars off, add to back end, then normal .parse
[21:24:05] SeepingN: puts Time.parse( "UTC 2019-03-18 14:47:13".gsub(/(...)(.*)/,"\\2 \\1") )
[21:29:44] SeepingN: ah even better. I was thinking something to swap them would be neater

2019-04-13

[05:00:07] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:26:40] SeepingN: has joined #ruby
[14:13:20] SeepingN: an iOS client? becaue they don't stay running in the background
[14:13:47] SeepingN: so we end up seeing part/join messages on a regular basis. and users complain that they feel like they missed conversation (because they will)
[14:18:45] SeepingN: point proven I guess
[16:49:59] SeepingN: *.net *.split
[18:53:38] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:59:18] SeepingN: has joined #ruby

2019-04-12

[00:57:49] SeepingN: Quit: The system is going down for reboot NOW!
[23:10:54] SeepingN: has joined #ruby

2019-04-11

[00:44:48] SeepingN: Quit: The system is going down for reboot NOW!
[15:29:46] SeepingN: has joined #ruby
[17:50:40] SeepingN: Ping timeout: 268 seconds
[19:25:57] SeepingN: has joined #ruby

2019-04-10

[01:15:18] SeepingN: Quit: The system is going down for reboot NOW!
[18:07:26] SeepingN: has joined #ruby
[18:58:51] SeepingN: Ping timeout: 246 seconds
[20:05:39] SeepingN: has joined #ruby

2019-04-09

[21:45:13] SeepingN: has joined #ruby

2019-04-08

[15:39:21] SeepingN: has joined #ruby
[19:52:15] SeepingN: Ping timeout: 246 seconds
[20:22:03] SeepingN: has joined #ruby
[23:35:56] SeepingN: Disconnected by services

2019-04-05

[00:51:29] SeepingN: Quit: The system is going down for reboot NOW!
[13:46:28] SeepingN: has joined #ruby
[21:56:47] SeepingN: Disconnected by services

2019-04-04

[00:48:09] SeepingN: Quit: The system is going down for reboot NOW!
[20:31:17] SeepingN: has joined #ruby
[21:07:50] SeepingN: Quit: The system is going down for reboot NOW!
[21:13:56] SeepingN: has joined #ruby

2019-04-03

[01:07:47] SeepingN: Quit: The system is going down for reboot NOW!
[19:17:43] SeepingN: has joined #ruby

2019-04-02

[06:11:20] SeepingN: Quit: The system is going down for reboot NOW!
[15:43:34] SeepingN: has joined #ruby
[19:26:09] SeepingN: Read error: Connection reset by peer
[20:31:25] SeepingN: has joined #ruby

2019-04-01

[14:37:23] SeepingN: has joined #ruby

2019-03-30

[00:07:12] SeepingN: Quit: The system is going down for reboot NOW!

2019-03-29

[04:53:44] SeepingN: Quit: The system is going down for reboot NOW!
[19:55:28] SeepingN: has joined #ruby

2019-03-28

[00:50:07] SeepingN: Quit: The system is going down for reboot NOW!
[15:03:57] SeepingN: has joined #ruby
[15:07:09] SeepingN: no one's answering
[15:07:14] SeepingN: just like real IRC wow!

2019-03-27

[01:19:04] SeepingN: Ping timeout: 250 seconds
[05:27:58] SeepingN: has joined #ruby
[06:39:44] SeepingN: Ping timeout: 250 seconds
[13:41:45] SeepingN: has joined #ruby
[18:34:56] SeepingN: Quit: The system is going down for reboot NOW!
[20:09:24] SeepingN: has joined #ruby

2019-03-26

[04:39:39] SeepingN: Quit: The system is going down for reboot NOW!
[21:14:01] SeepingN: has joined #ruby
[23:32:57] SeepingN: wow. don't use that gem!

2019-03-25

[17:23:32] SeepingN: has joined #ruby

2019-03-23

[05:52:53] SeepingN: Quit: The system is going down for reboot NOW!

2019-03-22

[06:32:19] SeepingN: Quit: The system is going down for reboot NOW!
[15:30:22] SeepingN: has joined #ruby

2019-03-21

[06:39:38] SeepingN: Quit: The system is going down for reboot NOW!
[19:21:10] SeepingN: has joined #ruby

2019-03-20

[08:05:03] SeepingN: Read error: Connection reset by peer
[08:05:19] SeepingN: has joined #ruby
[08:25:12] SeepingN: Quit: The system is going down for reboot NOW!
[18:40:08] SeepingN: has joined #ruby

2019-03-19

[05:55:02] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[07:25:31] SeepingN: has joined #ruby
[08:08:24] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[08:11:23] SeepingN: has joined #ruby
[08:15:38] SeepingN: Ping timeout: 250 seconds
[14:00:51] SeepingN: has joined #ruby
[14:05:34] SeepingN: Ping timeout: 255 seconds
[15:08:49] SeepingN: has joined #ruby
[16:17:01] SeepingN: Disconnected by services
[20:06:48] SeepingN: has joined #ruby

2019-03-18

[15:43:13] SeepingN: has joined #ruby

2019-03-17

[00:46:56] SeepingN: Quit: The system is going down for reboot NOW!

2019-03-16

[01:02:35] SeepingN: Quit: The system is going down for reboot NOW!
[19:23:52] SeepingN: has joined #ruby

2019-03-15

[04:11:16] SeepingN: Quit: The system is going down for reboot NOW!
[19:03:33] SeepingN: has joined #ruby

2019-03-14

[01:00:31] SeepingN: Quit: The system is going down for reboot NOW!
[15:21:39] SeepingN: has joined #ruby

2019-03-13

[00:58:21] SeepingN: Quit: The system is going down for reboot NOW!
[14:25:49] SeepingN: has joined #ruby
[16:06:26] SeepingN: Ping timeout: 250 seconds
[16:37:05] SeepingN: has joined #ruby

2019-03-12

[01:02:43] SeepingN: Quit: The system is going down for reboot NOW!
[20:29:41] SeepingN: has joined #ruby
[22:54:05] SeepingN: Quit: The system is going down for reboot NOW!
[23:01:46] SeepingN: has joined #ruby

2019-03-11

[19:33:53] SeepingN: has joined #ruby

2019-03-09

[02:34:01] SeepingN: Quit: The system is going down for reboot NOW!

2019-03-08

[02:07:10] SeepingN: Quit: The system is going down for reboot NOW!
[06:08:29] SeepingN: has joined #ruby
[20:43:32] SeepingN: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:01:26] SeepingN: has joined #ruby

2019-03-07

[01:48:38] SeepingN: ugh damnit. I'm trying to find all Devices of a certain type. That type is referred to as Device.product, which is a lookup from another table. We want to match all part_numbers with a certain string in them. Device.where(:product =~ /IQ6/).last.product ...does not give me "IQ6". It seems the where filters out nothing and I can put almost any garbage in there and get back the full Device list
[01:52:00] SeepingN: activerecord. mysql backend.
[01:52:30] SeepingN: .. the events table is in a separate database that I can't access, otherwise I'd be done with an SQL query :\
[01:53:25] SeepingN: Devices.product is defined simply as: PartNumber.product_for_part_num(part_num)
[01:55:54] SeepingN: from /enphase/enlighten/shared/bundle/ruby/2.2.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in `_query'
[01:55:54] SeepingN: Unknown column 'product' in 'where clause': SELECT `devices`.* FROM `devices` WHERE (product LIKE '%IQ6%') ORDER BY `devices`.`id` DESC LIMIT 1
[01:56:05] SeepingN: it's unfortunately not a column of Device
[01:57:32] SeepingN: it's defined in PartNumber as PartNumber.product_for_part_num(part_num)
[01:58:29] SeepingN: part_numbers is a table with id, part_num, product (the english desc of the product), and 2 unrelated columns
[01:59:39] SeepingN: Device.part_num... but that part_num is a longer form. THe ones in the lookup table "part_numbers" are truncated to the first 9 characters... no subversions
[02:00:59] SeepingN: I want all devices marked as "IQ7" qhich may include "IQ7+" and "IQ7 vartiation 9482". ie: regex. or I could just list them all in the query aqnd do an "IN" equiv
[02:01:16] SeepingN: I have no code. I'm trying to start a query to build a data report
[02:01:42] SeepingN: I usually do this in SQL. Maybe I should try to get that to work and just pass a full query to the connection
[02:01:56] SeepingN: hmmmm ok thanks
[02:03:18] SeepingN: well they'll all match. need to filter to a specifci substring
[02:03:29] SeepingN: every Device will have a matchin in that lookup table
[02:05:36] SeepingN: but the substring is not from part_num, it's from the table "part_numbers", column "product".
[02:05:46] SeepingN: that's the part that's tripping me up
[02:06:05] SeepingN: but I think I can modify that last line to work
[02:10:09] SeepingN: I gotta head home, will be looking at this more later. thanks havenwood
[02:16:17] SeepingN: Ping timeout: 245 seconds
[05:31:33] SeepingN: has joined #ruby
[08:05:53] SeepingN: Ping timeout: 245 seconds
[14:33:06] SeepingN: has joined #ruby
[16:23:39] SeepingN: sure it's equal. but is it realy REALLY equal?
[16:25:33] SeepingN: entire_ruby_app ===== other_ruby_app ?
[19:19:57] SeepingN: Quit: The system is going down for reboot NOW!
[20:41:02] SeepingN: has joined #ruby

2019-03-06

[02:47:13] SeepingN: Quit: The system is going down for reboot NOW!
[20:12:27] SeepingN: has joined #ruby

2019-03-05

[01:56:03] SeepingN: Quit: The system is going down for reboot NOW!
[17:22:31] SeepingN: has joined #ruby

2019-03-04

[20:20:44] SeepingN: has joined #ruby