shadoi

Activity Graph

Page 1 of 5 | Next »

2016-04-16

[00:14:49] shadoi: Quit: Leaving.

2016-04-15

[04:52:00] shadoi: Quit: Leaving.
[18:15:10] shadoi: has joined #ruby
[21:16:03] shadoi: https://www.p6r.com/articles/2008/05/06/xslt-and-xpath-for-json/
[21:17:04] shadoi: also see JQ and JO
[21:17:59] shadoi: there's definitely nothing magical that will just do the conversions you want though, it'll require a fair amount of work.

2016-04-14

[00:11:44] shadoi: Quit: Leaving.
[21:54:15] shadoi: has joined #ruby

2016-04-13

[18:17:28] shadoi: has joined #ruby
[21:41:55] shadoi: Ping timeout: 264 seconds
[21:42:44] shadoi: has joined #ruby

2016-04-12

[23:12:29] shadoi: Quit: Leaving.

2016-04-11

[19:25:46] shadoi: has joined #ruby

2016-04-08

[19:58:40] shadoi: has joined #ruby
[22:55:15] shadoi: Quit: Leaving.

2016-04-05

[18:18:07] shadoi: has joined #ruby
[22:25:24] shadoi: huh… you could do that in 1.9.3 with StringScanner#pos but I can't find an equiv in 2.x
[22:50:56] shadoi: goglosh: why do you say it's unpopular?
[22:51:10] shadoi: Java is the most widely used language by far and it's OOP.
[22:53:25] shadoi: goglosh: there will always be philosophical arguments about programming. Inescapable.
[22:55:22] shadoi: RickHull: of course YOU would show up for this argument. ;)
[23:01:43] shadoi: Quit: Leaving.

2016-04-01

[18:28:49] shadoi: has joined #ruby
[21:30:31] shadoi: Quit: Leaving.

2016-03-31

[02:42:43] shadoi: Quit: Leaving.
[18:44:45] shadoi: has joined #ruby
[21:38:31] shadoi: Quit: Leaving.

2016-03-30

[13:19:26] shadoi: Ping timeout: 248 seconds
[18:59:45] shadoi: has joined #ruby
[20:24:09] shadoi: Quit: Leaving.
[20:37:24] shadoi: has joined #ruby

2016-03-29

[19:03:15] shadoi: has joined #ruby

2016-03-22

[21:58:31] shadoi: has joined #ruby
[22:01:39] shadoi: has left #ruby: ()
[22:01:57] shadoi: has joined #ruby
[22:02:04] shadoi: has left #ruby: ()

2016-03-19

[03:04:14] shadoi: Quit: Leaving.
[06:29:32] shadoi: has joined #ruby
[06:29:41] shadoi: Client Quit

2016-03-18

[03:15:36] shadoi: Quit: Leaving.
[03:37:11] shadoi: has joined #ruby
[03:37:18] shadoi: Client Quit
[03:38:04] shadoi: has joined #ruby
[03:38:13] shadoi: Client Quit
[03:40:23] shadoi: Client Quit
[03:40:23] shadoi: has joined #ruby
[18:43:25] shadoi: has joined #ruby

2016-03-17

[19:59:37] shadoi: has joined #ruby

2016-03-12

[01:17:51] shadoi: Quit: Leaving.

2016-03-11

[18:23:11] shadoi: has joined #ruby
[18:23:53] shadoi: Client Quit
[18:24:07] shadoi: has joined #ruby

2016-03-10

[01:13:01] shadoi: Quit: Leaving.

2016-03-09

[18:26:23] shadoi: has joined #ruby

2016-03-08

[02:46:24] shadoi: has joined #ruby
[02:47:05] shadoi: Client Quit
[19:10:47] shadoi: has joined #ruby
[19:44:14] shadoi: Quit: Leaving.
[19:56:25] shadoi: has joined #ruby
[20:25:09] shadoi: Quit: Leaving.
[20:37:19] shadoi: has joined #ruby
[21:14:30] shadoi: Quit: Leaving.
[21:46:32] shadoi: has joined #ruby
[22:38:45] shadoi: Quit: Leaving.

2016-03-07

[22:06:02] shadoi: has joined #ruby
[23:46:31] shadoi: Quit: Leaving.

2016-03-05

[23:26:31] shadoi: has joined #ruby
[23:29:11] shadoi: Client Quit

2016-03-04

[05:25:31] shadoi: Quit: Leaving.

2016-03-03

[01:11:27] shadoi: Quit: Leaving.
[19:42:54] shadoi: has joined #ruby

2016-03-02

[00:02:57] shadoi: Quit: Leaving.
[18:21:29] shadoi: has joined #ruby

2016-03-01

[03:37:01] shadoi: Quit: Leaving.
[03:41:24] shadoi: has joined #ruby
[03:59:02] shadoi: Quit: Leaving.
[04:27:12] shadoi: has joined #ruby
[04:31:02] shadoi: Client Quit
[04:31:20] shadoi: has joined #ruby
[04:31:34] shadoi: Client Quit
[04:32:44] shadoi: has joined #ruby
[05:05:12] shadoi: Quit: Leaving.
[18:22:09] shadoi: has joined #ruby
[18:22:21] shadoi: Client Quit
[18:22:52] shadoi: has joined #ruby
[18:25:33] shadoi: I wrote a method once, but it's super nasty :)
[18:27:26] shadoi: nerium: disgusting solution: https://gist.github.com/anonymous/677026973cb241819a23
[18:59:02] shadoi: Quit: Leaving.
[19:01:52] shadoi: has joined #ruby
[19:15:19] shadoi: Quit: Leaving.
[19:15:32] shadoi: has joined #ruby
[20:09:57] shadoi: nerium: about your question before about querying deeply nested hashes, I suggest using JQ (there are ruby bindings)
[20:10:38] shadoi: it's a query language for json
[20:10:48] shadoi: you can ask for nested values, etc.
[20:11:05] shadoi: https://stedolan.github.io/jq/
[20:18:59] shadoi: Ox0dea: yeah in 2.3, which most don't have in production yet :)
[20:19:42] shadoi: also doesn't let you query by values, etc.
[20:20:01] shadoi: jq is xpath-like
[20:26:22] shadoi: Papierkorb: https://github.com/winebarrel/ruby-jq
[20:35:28] shadoi: laphlaw: if cfpropertylist also contains a #to_plist method then it will take priority since it's loaded last.
[20:35:59] shadoi: don't load it last, or don't use one or the other libs.
[20:36:31] shadoi: move the require for plist to after cfpropertylist
[20:38:14] shadoi: really though, those gems should not be monkey patching core objects. That's really nasty.

2016-02-29

[19:18:09] shadoi: has joined #ruby

2016-02-27

[02:05:32] shadoi: Quit: Leaving.
[20:03:42] shadoi: has joined #ruby

2016-02-26

[01:36:39] shadoi: Quit: Leaving.
[18:29:47] shadoi: has joined #ruby

2016-02-25

[01:14:38] shadoi: Quit: Leaving.
[18:42:34] shadoi: has joined #ruby

2016-02-24

[18:07:20] shadoi: has joined #ruby

2016-02-23

[02:54:56] shadoi: Quit: Leaving.
[18:15:16] shadoi: has joined #ruby
[18:57:49] shadoi: Quit: Leaving.
[19:38:59] shadoi: has joined #ruby
[20:04:27] shadoi: Quit: Leaving.
[20:52:26] shadoi: has joined #ruby

2016-02-22

[18:20:08] shadoi: has joined #ruby

2016-02-21

[00:16:53] shadoi: has joined #ruby
[00:27:28] shadoi: Quit: Leaving.

2016-02-20

[01:51:17] shadoi: Quit: Leaving.
[22:12:40] shadoi: has joined #ruby
[22:43:05] shadoi: Quit: Leaving.
[22:46:08] shadoi: has joined #ruby
[23:25:23] shadoi: Quit: Leaving.

2016-02-19

[19:58:02] shadoi: has joined #ruby

2016-02-18

[03:39:16] shadoi: Quit: Leaving.

2016-02-17

[04:12:32] shadoi: Quit: Leaving.

2016-02-16

[19:05:39] shadoi: has joined #ruby
[19:08:29] shadoi: aep: http://ruby-doc.org/core-2.1.0/String.html#method-i-scrub
[19:28:38] shadoi: Ping timeout: 265 seconds
[19:30:50] shadoi: has joined #ruby
[19:35:40] shadoi: Ping timeout: 260 seconds
[19:35:51] shadoi: has joined #ruby

2016-02-12

[18:39:48] shadoi: has joined #ruby
[20:45:47] shadoi: Ping timeout: 264 seconds
[20:47:57] shadoi: has joined #ruby
[21:59:58] shadoi: Quit: Leaving.

2016-02-10

[00:04:52] shadoi: Quit: Leaving.
[18:25:25] shadoi: has joined #ruby

2016-02-09

[01:16:17] shadoi: Quit: Leaving.
[18:56:18] shadoi: has joined #ruby
[20:08:29] shadoi: Quit: Leaving.
[21:18:48] shadoi: has joined #ruby
[21:48:57] shadoi: Quit: Leaving.
[21:58:21] shadoi: has joined #ruby
[23:00:16] shadoi: Quit: Leaving.
[23:11:35] shadoi: has joined #ruby

2016-02-08

[19:06:47] shadoi: has joined #ruby

2016-02-07

[06:28:49] shadoi: has joined #ruby
[06:34:38] shadoi: Quit: Leaving.
[18:47:33] shadoi: has joined #ruby
[19:17:08] shadoi: Read error: Connection reset by peer
[19:17:19] shadoi: has joined #ruby
[19:55:43] shadoi: Quit: Leaving.
[20:11:10] shadoi: has joined #ruby
[21:39:58] shadoi: Quit: Leaving.

2016-02-06

[02:47:21] shadoi: Quit: Leaving.

2016-02-05

[04:22:50] shadoi: Quit: Leaving.
[18:53:03] shadoi: has joined #ruby

2016-02-04

[00:41:37] shadoi: You might want String(baz['biff']) to coerce it.
[01:13:25] shadoi: Quit: Leaving.
[01:14:04] shadoi: has joined #ruby
[01:14:12] shadoi: Client Quit
[03:33:50] shadoi: has joined #ruby
[04:06:06] shadoi: Quit: Leaving.
[19:16:02] shadoi: has joined #ruby
[19:27:50] shadoi: sick ruby is surely in your future.

2016-02-03

[03:51:19] shadoi: Quit: Leaving.
[18:51:08] shadoi: has joined #ruby
[20:18:34] shadoi: Quit: Leaving.
[20:19:03] shadoi: has joined #ruby
[21:32:14] shadoi: kbni: you could customize the print setting
[21:32:27] shadoi: kbni: Pry.config.print = proc { |output, value| output.puts "=> #{value.inspect}" } # add your exceptions in here
[21:35:19] shadoi: kbni: probably, though I guess you could just override that object type's inspect method
[21:37:25] shadoi: well I'd probably just do it in pry only
[21:37:32] shadoi: for debugging
[22:29:33] shadoi: cschneid_: have you tried using $stdout.sync = true
[22:31:03] shadoi: well sync will make it unbuffered, should just make the issue go away.

2016-02-02

[03:01:48] shadoi: Quit: Leaving.
[19:57:58] shadoi: has joined #ruby

2016-02-01

[18:54:54] shadoi: has joined #ruby
[19:28:59] shadoi: Quit: Leaving.
[19:36:32] shadoi: has joined #ruby

2016-01-31

[22:28:28] shadoi: has joined #ruby
[23:39:03] shadoi: Quit: Leaving.

2016-01-28

[12:01:00] shadoi: Quit: Leaving.
[12:01:30] shadoi: has joined #ruby
[12:41:40] shadoi: Quit: Leaving.

2016-01-27

[18:48:29] shadoi: has joined #ruby

2016-01-26

[03:30:38] shadoi: Quit: Leaving.
[19:32:55] shadoi: has joined #ruby
[22:34:02] shadoi: Quit: Leaving.
[22:35:04] shadoi: has joined #ruby
[23:42:16] shadoi: Quit: Leaving.
[23:43:32] shadoi: has joined #ruby
[23:54:24] shadoi: Quit: Leaving.

2016-01-25

[19:47:46] shadoi: has joined #ruby

2016-01-23

[03:56:06] shadoi: Quit: Leaving.
[21:52:16] shadoi: has joined #ruby
[21:55:19] shadoi: Client Quit

2016-01-22

[05:07:50] shadoi: Quit: Leaving.
[22:53:16] shadoi: has joined #ruby

2016-01-21

[02:52:04] shadoi: Quit: Leaving.
[18:27:47] shadoi: has joined #ruby

2016-01-20

[18:29:34] shadoi: has joined #ruby

2016-01-15

[18:23:48] shadoi: has joined #ruby
[19:04:36] shadoi: Quit: Leaving.

2016-01-14

[05:41:38] shadoi: Quit: Leaving.
[18:54:35] shadoi: has joined #ruby
[19:17:22] shadoi: Quit: Leaving.
[20:03:55] shadoi: has joined #ruby
[20:20:48] shadoi: Quit: Leaving.
[23:28:40] shadoi: has joined #ruby
[23:45:10] shadoi: Quit: Leaving.

2016-01-13

[00:09:44] shadoi: Quit: Leaving.
[18:09:23] shadoi: has joined #ruby

2016-01-12

[03:16:29] shadoi: Quit: Leaving.
[18:16:25] shadoi: has joined #ruby
[20:07:14] shadoi: Quit: Leaving.
[20:41:46] shadoi: has joined #ruby

2016-01-11

[00:01:26] shadoi: Quit: Leaving.
[00:12:10] shadoi: has joined #ruby
[01:14:06] shadoi: Quit: Leaving.
[19:08:26] shadoi: has joined #ruby

2016-01-10

[20:51:42] shadoi: has joined #ruby
[21:26:16] shadoi: Quit: Leaving.
[22:29:44] shadoi: has joined #ruby

2016-01-09

[18:14:40] shadoi: has joined #ruby
[18:41:45] shadoi: Quit: Leaving.
[18:50:57] shadoi: has joined #ruby
[19:07:57] shadoi: Quit: Leaving.

2016-01-08

[00:17:09] shadoi: has joined #ruby
[02:14:38] shadoi: Quit: Leaving.
[18:13:38] shadoi: has joined #ruby
[22:52:03] shadoi: Ping timeout: 260 seconds

2016-01-07

[05:39:21] shadoi: Quit: Leaving.

2016-01-06

[01:28:47] shadoi: Quit: Leaving.
[17:48:47] shadoi: has joined #ruby
[20:12:36] shadoi: Quit: Leaving.
[20:17:26] shadoi: has joined #ruby
[20:33:33] shadoi: Quit: Leaving.
[21:23:48] shadoi: has joined #ruby

2016-01-05

[02:44:40] shadoi: Quit: Leaving.
[17:59:16] shadoi: has joined #ruby

2016-01-04

[18:27:46] shadoi: has joined #ruby

2016-01-02

[04:18:36] shadoi: Quit: Leaving.

2016-01-01

[18:35:46] shadoi: has joined #ruby

2015-12-31

[22:45:29] shadoi: Quit: Leaving.