jidar

Activity Graph

Page 1 of 1

2018-11-15

[00:41:22] jidar: is there a nice way of doing two arrays intersections but with include? rather then exact matches?
[02:51:08] jidar: is there a nice way of doing two arrays intersections but with include? rather then exact matches?
[02:53:14] jidar: ["a1", "b1", "c1"] & ["a", "b"] # => ["a1", "b1"]
[02:54:12] jidar: I'd like to write that somehow better than O(n^2) ie: ary1.each { ary2.each }
[03:39:30] jidar: Radar: I'm not sure that works quite the way it needs too, here is a working example (but in O(n^2)) : https://gist.github.com/a54397a044799a422f1ed0cfec918392
[03:40:16] jidar: at the end of the day, I'm simply trying to find a short hostname inside of a fqdn to see if they exist and then return that as an array
[03:41:52] jidar: I read over zip, I don't think that's doing what needs to be done imho
[04:37:58] jidar: > /\.*\Z/
[04:38:00] jidar: ACTION groks
[04:38:29] jidar: no, that won't work either

2018-11-08

[14:02:33] jidar: *.net *.split
[17:04:52] jidar: has joined #ruby
[17:05:01] jidar: Quit: WeeChat 2.2
[17:05:21] jidar: has joined #ruby

2018-10-24

[18:48:52] jidar: *.net *.split
[18:50:04] jidar: has joined #ruby

2018-10-23

[01:49:28] jidar: Quit: WeeChat 2.2
[01:56:21] jidar: has joined #ruby
[02:14:13] jidar: Quit: WeeChat 2.2
[02:26:58] jidar: has joined #ruby

2018-10-09

[13:26:00] jidar: Read error: Connection reset by peer
[13:26:23] jidar: has joined #ruby

2018-09-14

[01:00:09] jidar: *.net *.split
[15:51:42] jidar: has joined #ruby

2018-08-21

[04:40:48] jidar: ... hours old!

2018-08-04

[17:37:48] jidar: Ping timeout: 256 seconds

2018-07-30

[06:52:41] jidar: Read error: Connection reset by peer
[06:53:06] jidar: has joined #ruby

2018-07-20

[00:07:10] jidar: *.net *.split
[00:15:37] jidar: has joined #ruby

2018-07-17

[17:47:13] jidar: Ping timeout: 248 seconds
[17:50:49] jidar: has joined #ruby
[23:47:18] jidar: https://gist.github.com/334536be2da5215864fe89b5b490a14a can somebody help me understand why L26 doesn't have the scope to put name?
[23:48:22] jidar: Radar: case creates it's own scope?
[23:48:29] jidar: similar to class?
[23:48:32] jidar: ACTION boggles
[23:50:37] jidar: I guess I figured assigning it to a new var would pull it out of the blocks scope

2018-07-08

[05:16:39] jidar: threads don't return to the calling process
[05:17:03] jidar: (unless the thread finishes)
[05:19:28] jidar: his/her question on stackoverflow hahaha https://stackoverflow.com/questions/51225986/is-it-possible-to-execute-a-sinatra-application-via-thin-as-a-background-proce
[05:20:23] jidar: that's how I read the question

2018-06-25

[22:08:11] jidar: I doubt ... is a valid tld
[22:11:17] jidar: elomatreb: oh, it generally depends on the terminal, lots of emoji don't show up

2018-06-13

[11:30:51] jidar: Ping timeout: 240 seconds
[12:54:57] jidar: has joined #ruby

2018-06-01

[20:28:33] jidar: Quit: WeeChat 2.1
[20:28:47] jidar: has joined #ruby

2018-05-29

[02:47:12] jidar: *.net *.split
[02:48:13] jidar: has joined #ruby

2018-04-25

[12:25:52] jidar: *.net *.split
[12:27:26] jidar: has joined #ruby
[15:01:23] jidar: *.net *.split
[15:03:10] jidar: has joined #ruby

2018-02-25

[09:34:48] jidar: *.net *.split
[09:36:30] jidar: has joined #ruby

2018-02-17

[11:41:17] jidar: Read error: Connection reset by peer

2018-02-05

[01:51:40] jidar: soahccc: I'm not pg expert, but that sounds very wrong for DB's
[01:51:46] jidar: like very very wrong
[01:52:09] jidar: the whole point of FK is for data integrity
[01:56:10] jidar: sounds like you should pull it down into an ETL and never put it back

2018-01-18

[03:27:09] jidar: Quit: WeeChat 1.9.1
[03:27:26] jidar: has joined #ruby

2017-12-29

[05:23:52] jidar: sounds like a use for a unix socket

2017-12-01

[02:28:57] jidar: has joined #ruby

2017-11-18

[23:28:23] jidar: "hey guys, when I do X Y happens, can anybody explain how?" "well we need to understand X, and haven't been provided with the content" "now cwd doesn't work???"

2017-11-08

[09:43:28] jidar: *.net *.split
[09:49:04] jidar: has joined #ruby

2017-11-06

[09:00:00] jidar: Read error: Connection reset by peer
[09:00:28] jidar: has joined #ruby

2017-10-31

[04:22:01] jidar: Read error: Connection reset by peer
[04:22:24] jidar: has joined #ruby

2017-10-27

[03:05:37] jidar: rhel 7.4 defaults to ruby Version : 2.0.0.648, Release : 30.el7
[03:05:46] jidar: where that actually is, I do not know
[03:05:55] jidar: and yea, there's the SCL repos
[03:16:52] jidar: hurm? I don't have any issue with my versions, I was simply adding information to the conversation ;)
[14:29:51] jidar: Ping timeout: 248 seconds
[14:32:38] jidar: has joined #ruby

2017-09-16

[04:21:58] jidar: Ping timeout: 264 seconds

2017-08-14

[23:51:35] jidar: *.net *.split
[23:56:42] jidar: has joined #ruby

2017-07-27

[22:45:47] jidar: Ping timeout: 269 seconds
[22:46:46] jidar: has joined #ruby

2017-06-20

[00:17:15] jidar: *.net *.split
[00:22:59] jidar: has joined #ruby

2017-06-18

[02:53:51] jidar: Remote host closed the connection
[02:54:58] jidar: has joined #ruby

2017-05-30

[10:13:32] jidar: has joined #ruby

2017-05-18

[20:48:27] jidar: Ping timeout: 240 seconds
[20:50:02] jidar: has joined #ruby
[20:57:48] jidar: Ping timeout: 240 seconds
[20:59:09] jidar: has joined #ruby

2017-05-10

[10:08:51] jidar: Read error: Connection reset by peer
[10:09:19] jidar: has joined #ruby

2017-05-01

[16:35:35] jidar: Disconnected by services
[17:27:43] jidar: efficient for who?

2017-04-30

[01:23:08] jidar: Quit: WeeChat 1.7.1
[01:24:19] jidar: has joined #ruby

2017-04-15

[17:55:01] jidar: Quit: brb
[17:55:26] jidar: has joined #ruby

2016-07-10

[06:07:22] jidar: Quit: stuff.
[06:08:28] jidar: has joined #ruby

2016-07-01

[19:42:55] jidar: Ping timeout: 252 seconds
[19:55:33] jidar: has joined #ruby

2016-06-24

[18:34:07] jidar: chef should provide you a way of (either nativly or via some cookbooks) to execute those gem installs under a rvm
[18:34:30] jidar: you're likely not looking in the right place then

2016-06-13

[04:09:21] jidar: using base wouldn't explain the repeating of the same letter

2016-05-06

[16:29:52] jidar: Ping timeout: 264 seconds
[16:39:31] jidar: has joined #ruby

2016-04-17

[08:12:05] jidar: *.net *.split
[08:21:41] jidar: has joined #ruby

2016-04-15

[15:25:53] jidar: *.net *.split
[15:30:10] jidar: has joined #ruby
[17:20:13] jidar: Ping timeout: 250 seconds
[17:22:46] jidar: has joined #ruby
[20:04:33] jidar: Ping timeout: 276 seconds
[20:31:11] jidar: has joined #ruby

2016-04-14

[05:24:03] jidar: Ping timeout: 276 seconds
[05:28:14] jidar: has joined #ruby

2016-03-20

[21:10:46] jidar: not quotes

2016-02-27

[15:26:07] jidar: Ping timeout: 250 seconds
[22:54:01] jidar: Quit: stuff.
[22:54:02] jidar: has joined #ruby
[23:06:09] jidar: Quit: stuff.
[23:09:28] jidar: has joined #ruby

2016-02-18

[06:06:58] jidar: Quit: stuff.
[06:07:16] jidar: has joined #ruby

2016-02-08

[04:38:46] jidar: Ping timeout: 276 seconds

2016-01-31

[12:25:14] jidar: *.net *.split
[12:28:35] jidar: has joined #ruby

2016-01-22

[01:00:30] jidar: Ping timeout: 260 seconds
[01:03:45] jidar: has joined #ruby

2016-01-20

[13:56:08] jidar: *.net *.split
[14:04:30] jidar: has joined #ruby

2015-12-28

[08:25:00] jidar: what's the most correct way for loading a local file's class? "require './foo.rb'" ?
[22:40:45] jidar: what's the most correct way for loading a local file's class? "require './foo.rb'" ?
[22:51:54] jidar: hxegon: think this is what I was looking for, thanks,

2015-12-24

[08:08:47] jidar: camus: you pass it in as a parm to your block

2015-12-13

[19:35:51] jidar: *.net *.split
[19:36:01] jidar: has joined #ruby

2015-11-26

[19:01:55] jidar: *.net *.split
[19:08:06] jidar: has joined #ruby

2015-11-17

[05:00:10] jidar: Ping timeout: 246 seconds
[05:01:36] jidar: has joined #ruby

2015-11-14

[05:14:27] jidar: *.net *.split

2015-10-16

[00:18:02] jidar: has joined #ruby

2015-09-16

[00:21:45] jidar: Ping timeout: 264 seconds
[00:23:26] jidar: has joined #ruby

2015-09-07

[03:09:01] jidar: Ping timeout: 265 seconds
[03:21:34] jidar: has joined #ruby

2015-08-28

[10:27:05] jidar: *.net *.split
[10:30:06] jidar: has joined #ruby
[10:30:44] jidar: *.net *.split
[10:32:42] jidar: has joined #ruby

2015-07-16

[07:17:13] jidar: Ping timeout: 264 seconds
[07:44:03] jidar: has joined #ruby

2015-07-07

[17:35:30] jidar: for specific datasets

2015-06-20

[20:15:02] jidar: *.net *.split
[20:34:49] jidar: has joined #ruby
[21:38:07] jidar: Ping timeout: 255 seconds

2015-04-08

[23:54:13] jidar: slack is old
[23:54:32] jidar: I'd assume that's why

2015-02-23

[23:37:46] jidar: just fork debian again :)

2015-01-30

[06:01:50] jidar: what's the deal with calling external applications that seems to break all over the place with ruby?
[06:02:22] jidar: it looks like anything to do with Vagrant that another application calling it just breaks

2015-01-26

[05:15:23] jidar: is there a easy way to upgrade your ruby version with rbenv? I did a install 2.1.5 but now I've got to go manually get all the gems and such
[05:16:00] jidar: so I usually just do a gem list and copy that into a notepad/fixup then paste a gem install with a hundred items

2015-01-19

[23:49:36] jidar: those ri docks look pretty weak
[23:49:43] jidar: docks, lol... docs

2015-01-03

[08:27:31] jidar: mahtennek: http://stackoverflow.com/questions/5328863/autoincrement-in-redis might help?
[08:27:36] jidar: not sure that's much of a ruby issue

2014-12-29

[10:19:17] jidar: 614M ./2.0.0-p247, 978M ./2.1.3, 85M ./2.2.0
[10:19:19] jidar: that's interesting

2014-12-17

[18:59:34] jidar: is there a way to in pry, set a breakpoint of some sort to enter a debugger?
[18:59:45] jidar: is that a pry-debug thing?
[19:02:35] jidar: thanks havenwood

2014-12-10

[01:14:12] jidar: is there any way besides using Object.is_a?(Whatever::Foo) to get the object class?
[01:26:07] jidar: yea, switching around from a ton of languages, and I found a stackoverflow on using is_a?(String) etc, but wasn't sure how to get just the instance of it, plus the code I was looking at for Beaker just made use of a case statement
[01:26:14] jidar: but thank you, still getting my bearings
[01:27:39] jidar: indeed, this particular case I'm just trying to understand what the problem is
[01:27:42] jidar: so verification is important
[01:28:33] jidar: sitting in pry right now! so much better than irb
[01:28:48] jidar: reminds me a bit of ipython, which is also a great tool

2014-11-30

[06:05:11] jidar: having one hell of a time getting the windows gem to install on windows, get the following error: http://pastebin.com/tKCM0QAu I've done the required DevKit stuff via `ruby dk.rb init` `ruby dk.rb install` any ideas?
[06:05:45] jidar: tejas-manohar: tell me about it
[06:05:54] jidar: tejas-manohar: but customers want stuff and it pays ;)

2014-11-28

[23:17:44] jidar: is there some way to inspect variables in irb?
[23:18:22] jidar: or perhaps something a little more similar to how you can tab complete methods/properties
[23:19:42] jidar: there we go
[23:19:48] jidar: pry is totally what I was looking for, thanks.

2014-11-27

[01:05:20] jidar: zenspider: you are aware this is windows, right?

2014-11-26

[23:31:16] jidar: having one hell of a time getting the windows gem to install on windows, get the following error: http://pastebin.com/r4jPZxs3 I've done the required DevKit stuff via `ruby dk.rb init` `ruby dk.rb install` any ideas?

2014-09-12

[21:22:55] jidar: does this look correct or horribly stupid? <% for @repo in @host.params['subscription_manager_repos'].gsub(',', ' ') -%>
[21:34:20] jidar: benzrf: this is getting turned into shell executions, so it needs to loop a separate command per iteration. Should I use .split(',') then?
[21:36:04] jidar: benzrf: it's a erb template that deploys out kickstart scripts for rhel based boxes, just so you have some background.

2014-03-23

[16:52:51] jidar: how do I change the makefile that is getting spitout by the install of gem install json-1.8.1, the makefile that is getting created has an option 'multiply_definedsuppress' that my compiler can't use, so I want to just try and remove it
[18:23:30] jidar: shevy: the makefile gets created during the 'gem install foo.gem' process
[19:48:26] jidar: shevy: ahh, got it, let me try that
[19:54:50] jidar: shevy: success, after unpacking it, manually running make, building a new gem and then installing it the install worked fine. Now the next thing broke... *sigh*
[19:56:12] jidar: shevy: multiply_definedsuppress appears to be the heart of the issue as another gem seems ot want to use it
[19:56:20] jidar: ACTION wonders why the compiler keeps thinking this is valid
[19:57:49] jidar: https://bugs.ruby-lang.org/issues/9624
[19:57:52] jidar: well that explains it
[19:58:37] jidar: ACTION shrugs
[19:58:42] jidar: I'm not bothered
[19:59:09] jidar: looks like it's an apple issue
[19:59:29] jidar: oddly enough I am
[19:59:44] jidar: likely going to pick up a carbon x1 and run a kvm version of windows for the rest of my shit
[20:00:08] jidar: but for the next month or so it's this macbook pro
[20:00:20] jidar: too bad the carbons only do 8gigs of ram
[20:03:30] jidar: ah ha, got it