« Back to channel list

#ruby - 01 June 2019

« Back 1 day Forward 1 day »
[00:00:15] agent_white: has joined #ruby
[00:00:17] agent_white: has joined #ruby
[00:10:13] AJA4351: has joined #ruby
[00:10:56] skryking: has joined #ruby
[00:11:08] esp32_prog: has joined #ruby
[00:13:36] orbyt_: has joined #ruby
[00:25:42] jcalla: has joined #ruby
[00:28:47] haxx0r: has joined #ruby
[00:30:06] brandoncc: has joined #ruby
[00:32:18] fphilipe: has joined #ruby
[00:39:12] al2o3-cr: has joined #ruby
[00:44:55] bambanxx: has joined #ruby
[00:51:09] weteamsteve: has joined #ruby
[00:52:12] weteamsteve2: has joined #ruby
[00:52:37] bambanx: has joined #ruby
[01:01:27] graft: has joined #ruby
[01:01:27] graft: has joined #ruby
[01:03:07] brandoncc: has joined #ruby
[01:06:45] ixti: has joined #ruby
[01:08:36] doodlebug: has joined #ruby
[01:09:56] jcalla: has joined #ruby
[01:10:59] apparition: has joined #ruby
[01:22:21] Swyper: has joined #ruby
[01:22:34] roadt: has joined #ruby
[01:23:29] orbyt_: has joined #ruby
[01:23:40] Swyper: has joined #ruby
[01:31:49] garyserj: has joined #ruby
[01:32:37] doodlebug: has joined #ruby
[01:33:45] garyserj: is this a valid json? JSON.parse('{"a":"1","a":"2"}') (I ask because I notice that in irb when I do require 'json', and I enter that line, it shows only {"a"=>"2"}
[01:36:11] weteamsteve: has joined #ruby
[01:36:49] bambanxx: has joined #ruby
[01:40:14] mozzarella: garyserj: it probably is valid json, not 100% sure, but that's also the result to be expected
[01:40:20] jeremycw: has joined #ruby
[01:41:26] nowhere_man: has joined #ruby
[01:54:06] xco: has joined #ruby
[01:59:21] esp32_prog: has joined #ruby
[02:01:32] CJKinni: has joined #ruby
[02:03:05] mr_rich101: has joined #ruby
[02:04:18] AndroidKitKat: has joined #ruby
[02:06:00] jidar: has joined #ruby
[02:06:24] Fire-Dragon-DoL: has joined #ruby
[02:07:58] weteamsteve: has joined #ruby
[02:11:41] Swyper: has joined #ruby
[02:12:52] weteamsteve1: has joined #ruby
[02:13:42] jeremycw: has joined #ruby
[02:15:33] weteamsteve1: whats up guys
[02:28:40] Swyper: has joined #ruby
[02:32:14] Matho: has joined #ruby
[02:32:24] DTZUZO: has joined #ruby
[02:32:46] fphilipe: has joined #ruby
[02:35:37] xco: has joined #ruby
[02:38:13] doodlebug: has joined #ruby
[02:41:46] Swyper: has joined #ruby
[02:48:02] jeremycw: has joined #ruby
[02:54:36] duderonomy: has joined #ruby
[03:11:12] Harlin: I have a question about some code I've been testing. I've tried to break it down to something very simple. This seems to work in Python but not in Ruby. What am I doing wrong? https://gist.github.com/hseritt/a8338a88e717d5ebf7baafc3f7b3ebc7
[03:11:28] braincrash: has joined #ruby
[03:13:51] Azure: has joined #ruby
[03:18:45] lele: has joined #ruby
[03:29:54] gix: has joined #ruby
[03:34:51] matheusmoreira: has joined #ruby
[03:39:26] mozzarella: Harlin: times2 on line 12 is a function call, not a function pointer to times2
[03:47:36] esp32_prog: has joined #ruby
[03:47:57] fphilipe: has joined #ruby
[03:48:55] jenrzzz: has joined #ruby
[03:57:11] _whitelogger: has joined #ruby
[04:01:13] nowhereman: has joined #ruby
[04:14:42] Guest7: has joined #ruby
[04:24:11] _whitelogger: has joined #ruby
[04:29:21] orbyt_: has joined #ruby
[04:33:40] haxx0r: has joined #ruby
[04:37:27] pitastrudl: has joined #ruby
[04:38:20] kyrylo: has joined #ruby
[04:44:33] dellavg_: has joined #ruby
[04:46:40] zipkid: has joined #ruby
[04:50:43] pilcrow: has joined #ruby
[04:51:37] gmcintire: has joined #ruby
[04:52:27] timeless: has joined #ruby
[04:52:43] Mutsuhito: has joined #ruby
[04:52:44] darthThorik: has joined #ruby
[04:53:29] fowlduck: has joined #ruby
[04:54:04] mattwc: has joined #ruby
[04:54:58] teej: has joined #ruby
[04:55:42] pitastrudl: has joined #ruby
[05:19:38] duderonomy: has joined #ruby
[05:34:14] duderonomy: has joined #ruby
[05:35:54] esp32_prog: has joined #ruby
[05:40:51] codefriar: has joined #ruby
[05:41:28] duderonomy: has joined #ruby
[05:44:27] laaron: has joined #ruby
[05:47:10] duderonomy: has joined #ruby
[05:49:13] jenrzzz: has joined #ruby
[05:49:40] laaron: has joined #ruby
[05:53:54] duderonomy: has joined #ruby
[06:08:35] duderonomy: has joined #ruby
[06:08:54] nwradio878887987: has joined #ruby
[06:12:20] sauvin: has joined #ruby
[06:12:55] codefriar: has joined #ruby
[06:23:59] codefriar: has joined #ruby
[06:30:11] _whitelogger: has joined #ruby
[06:31:55] duderonomy: has joined #ruby
[06:34:49] duderonomy: has joined #ruby
[06:40:30] laaron: has joined #ruby
[06:49:21] reber: has joined #ruby
[06:55:42] Ai9zO5AP: has joined #ruby
[06:56:54] sameerynho: has joined #ruby
[06:59:42] duderonomy: has joined #ruby
[07:11:07] snowyrooftops: has joined #ruby
[07:11:52] snowyrooftops: Is anyone here using Ruby for anything other than Rails?
[07:18:11] n13z: has joined #ruby
[07:23:31] Arahael: has joined #ruby
[07:24:11] esp32_prog: has joined #ruby
[07:26:07] laaron: has joined #ruby
[07:39:29] laaron: has joined #ruby
[07:43:44] laaron: has joined #ruby
[07:45:31] esp32_prog: has joined #ruby
[07:46:40] laaron: has joined #ruby
[07:49:27] jenrzzz: has joined #ruby
[07:50:11] pwnd_nsfw: has joined #ruby
[07:57:40] laaron: has joined #ruby
[08:03:26] duderonomy: has joined #ruby
[08:17:36] duderonomy: has joined #ruby
[08:26:08] matheusmoreira: has joined #ruby
[08:35:41] ixti: has joined #ruby
[08:37:07] laaron: has joined #ruby
[08:47:05] ravenousmoose: has joined #ruby
[09:01:12] dhollin3: has joined #ruby
[09:09:02] xco: has joined #ruby
[09:15:46] tdy1: has joined #ruby
[09:28:17] AJA4350: has joined #ruby
[09:28:58] skryking: has joined #ruby
[09:31:11] schne1der: has joined #ruby
[09:33:14] jefffrails35: has joined #ruby
[09:37:03] thinkpad: has joined #ruby
[09:37:45] salerace: has joined #ruby
[09:45:22] jenrzzz: has joined #ruby
[09:50:53] ravenousmoose: has joined #ruby
[10:12:28] esp32_prog: has joined #ruby
[10:23:10] Guest42: has joined #ruby
[10:36:57] xco: has joined #ruby
[10:37:46] Mike11: has joined #ruby
[10:46:25] haxx0r: has joined #ruby
[10:48:31] Swyper: has joined #ruby
[10:51:03] laaron: has joined #ruby
[11:01:19] agent_white: has joined #ruby
[11:04:03] Swyper: has joined #ruby
[11:06:31] Swyper: has joined #ruby
[11:12:47] Dbugger: has joined #ruby
[11:18:11] _whitelogger: has joined #ruby
[11:20:59] Swyper: has joined #ruby
[11:31:16] Swyper: has joined #ruby
[11:31:45] pwnd_nsfw`: has joined #ruby
[11:45:41] jenrzzz: has joined #ruby
[12:02:35] esp32_prog: has joined #ruby
[12:04:24] Fridtjof: has joined #ruby
[12:39:13] iNs: has joined #ruby
[12:55:44] snowyrooftops: has joined #ruby
[13:01:50] kyrylo: has joined #ruby
[13:07:43] esp32_prog: has joined #ruby
[13:16:42] jenrzzz: has joined #ruby
[13:27:42] jpaulo6ba: has joined #ruby
[13:41:08] Fridtjof: has joined #ruby
[13:41:38] doodleb81: has joined #ruby
[13:42:26] ltem: has joined #ruby
[14:06:02] sh7d: has joined #ruby
[14:07:03] fphilipe: has joined #ruby
[14:08:33] Esa_: has joined #ruby
[14:18:40] doodlebug: has joined #ruby
[14:31:15] sh7d: has joined #ruby
[14:34:06] yxhuvud: has joined #ruby
[14:39:10] Fridtjof: has joined #ruby
[14:50:32] troulouliou_div2: has joined #ruby
[14:55:56] esp32_prog: has joined #ruby
[14:57:31] Fridtjof: has joined #ruby
[15:04:00] codefriar: has joined #ruby
[15:09:00] Hanmac: has joined #ruby
[15:20:23] fphilipe: has joined #ruby
[15:25:06] yqt: has joined #ruby
[15:42:11] _whitelogger: has joined #ruby
[15:53:40] xco: has joined #ruby
[15:59:39] fphilipe: has joined #ruby
[16:04:42] salerace: has joined #ruby
[16:07:51] laaron: has joined #ruby
[16:19:13] Swyper: has joined #ruby
[16:30:39] doodleb72: has joined #ruby
[16:31:57] tdy1: has joined #ruby
[16:44:13] esp32_prog: has joined #ruby
[16:48:40] doodlebug: has joined #ruby
[16:50:11] Some-body_: has joined #ruby
[16:52:52] cd: has joined #ruby
[16:56:37] orbyt_: has joined #ruby
[17:01:28] yokel: has joined #ruby
[17:04:32] troulouliou_div2: has joined #ruby
[17:08:53] nowhereman: has joined #ruby
[17:12:47] kashike: has joined #ruby
[17:12:50] yqt: has joined #ruby
[17:13:09] Exuma: has joined #ruby
[17:15:55] kyrylo: has joined #ruby
[17:17:31] yokel: has joined #ruby
[17:21:31] codefriar: has joined #ruby
[17:22:08] cd: has joined #ruby
[17:22:36] kyrylo: has joined #ruby
[17:24:46] Swyper: has joined #ruby
[17:31:05] doodleb29: has joined #ruby
[17:32:35] naltun: has joined #ruby
[17:33:07] naltun: How's the Saturday going
[17:33:57] naltun: I've been using Python at my new job for the last 3 months...
[17:34:14] naltun: Been missing some Ruby action, although I've been using Go for a while now. And lots of shell scripting.
[17:35:33] ytti: python and go make me unhappy, ruby and kotlin make me happy
[17:35:59] ytti: but i do have to write some python to get money
[17:38:44] naltun: I love Go. I first tried Kotlin years ago (2014/15?), and I loved the native compiler. But I've never used the JVM ecosystem and found getting into Kotlin a bit wonky. All the best to the project though
[17:38:55] naltun: ytti: What do you not like about Go?
[17:39:08] ytti: i've also never used java at all, but kotlin drove me to it
[17:39:21] Swyper: has joined #ruby
[17:39:23] ytti: naltun, i think i'm partial to OO
[17:39:44] naltun: Ahh, fair.
[17:39:58] ytti: both ruby and kotlin have terrific design, and offer lot out of the box in terms of convenience and beauty (subjective) of code
[17:40:04] naltun: I've a Rails question, but #rubyonrails seems a bit dead. Mind if I ask it here?
[17:40:28] ytti: in python and go i feel like i constantly need to NIH simple things, and if NIH them, it's less thought design than what ruby and kotlin have out of the box
[17:40:35] naltun: ytti: I love Go because it's native API is _vast_, but each package is _small_. I don't have to worry about remembering how to program in Go.
[17:40:41] ytti: arbitrary example, 'partition'
[17:40:54] ytti: i loooove object.method lambda style
[17:40:59] ytti: not-invented-here
[17:41:31] naltun: I find that to be true of Python, but not so much of Go.
[17:41:33] ytti: go is simple, in my opinion, to a fault
[17:41:42] naltun: I should give Kotlin another go though, for kotlinc.
[17:41:47] ytti: but then again, for me, something like rust or c++ is too complex
[17:42:09] ytti: because my main responsiblity isn't programming, inveseting time to learn rust or c++ doesn't seem to pay dividends
[17:42:15] ytti: kotlin hits sweet spot for me
[17:42:33] ytti: honestly if you're gonna do kotlin, you're probably much happier in jvm world, because you'll have so much more libraries to use
[17:42:40] naltun: Well, if you want a binary you can always use kotlinc. No need to just target the JVM
[17:42:50] ytti: you could still compile the JAR to native binary with 'graalvm' native-compile
[17:43:00] naltun: oh I didn't know that.
[17:43:04] ytti: and get *coughcough* 20MB binary for small program :)
[17:43:15] naltun: So TruffleRuby (which uses GraalVM) is compiled to native?
[17:43:25] ytti: and as someone with 0 java background, kotlin communities seem very java focused
[17:43:30] naltun: How many lines of code for that 20MB binary>
[17:43:39] ytti: you get weird reception if you don't have java background
[17:43:49] ytti: it was maybe 50lines, but it included ssh library
[17:44:12] ytti: i'm not sure if graalvm can do any-to-native
[17:44:20] ytti: i know it can do JAR to native, and it even worked
[17:44:48] ytti: most work for me learning kotlin, has nothing to do with kotlin, it's trying to understand the ecosystem, which is old news to java people
[17:44:49] naltun: Hmmm. 20MB seems a bit large for a 50 LOC program, buut if you're including a ssh library, it's a bit alright. Actually, maybe you haven't even compiled with optimization
[17:45:14] ytti: i definitely didn't give any optimization parameters
[17:45:32] ytti: but just interesting point on how many ways you can skin the avocado in that world
[17:45:49] ytti: that was my initial attraction to kotlin, i can target so many domains with single language
[17:46:05] ytti: and then when i found similar beauty in kotlin as i've only found in ruby, i was sold
[17:47:07] naltun: ytti: what's your job title?
[17:47:54] ytti: dunno, some network monkey probably
[17:49:14] naltun: Is it okay to ask Rails Q's here? #rubyonrails is pretty dead
[17:49:55] Xiti: has joined #ruby
[17:51:18] ytti: no objections here, havent written line of rails tho, so can't help
[17:53:01] naltun: I'm using Rails 5.2.2. I have two rails projects in 2 directories (`ls # => dir1/ dir2/`). In dir2, I migrate the db (`rake db:migrate`) and a migration file from `dir1` is applied to the schema.rb file for dir2.
[17:53:35] naltun: Now... That sounds crazy to me lol and it definitely is. I've moved dir2 to another directory, git checkout'd all files, and yet the problem still occurs.
[17:54:02] naltun: Question is: Why is rake db:migrate taking a migration file from one Rails project but applying it to another.
[18:00:54] KeyJoo: has joined #ruby
[18:03:43] DTZUZO: has joined #ruby
[18:20:17] pwnd_nsfw: has joined #ruby
[18:20:25] nowhere_man: has joined #ruby
[18:23:52] Nicmavr: has joined #ruby
[18:29:05] hiroaki: has joined #ruby
[18:32:25] esp32_prog: has joined #ruby
[18:34:07] leitz: has joined #ruby
[18:34:53] rafadc: has joined #ruby
[18:35:46] orbyt_: has joined #ruby
[18:43:26] Hanmac: has joined #ruby
[18:46:00] yokel: has joined #ruby
[18:48:36] Swyper: has joined #ruby
[19:01:17] Nicmavr: has joined #ruby
[19:02:26] yokel: has joined #ruby
[19:03:30] ravenousmoose: has joined #ruby
[19:11:41] pwnd_nsfw: has joined #ruby
[19:11:50] laaron: has joined #ruby
[19:15:00] doodlebug: has joined #ruby
[19:18:54] yokel: has joined #ruby
[19:22:43] AJA4351: has joined #ruby
[19:31:18] Kestrel-029: has joined #ruby
[19:35:49] ravenousmoose: has joined #ruby
[19:36:24] yokel: has joined #ruby
[19:38:28] codefriar: has joined #ruby
[19:39:24] doodlebug: has joined #ruby
[20:01:36] Swyper: has joined #ruby
[20:03:00] yokel: has joined #ruby
[20:06:13] troulouliou_div2: has joined #ruby
[20:08:37] yokel: has joined #ruby
[20:08:58] weteamsteve: has joined #ruby
[20:10:51] fphilipe: has joined #ruby
[20:13:46] laaron: has joined #ruby
[20:20:50] esp32_prog: has joined #ruby
[20:21:08] weteamsteve1: has joined #ruby
[20:23:26] yokel: has joined #ruby
[20:26:27] maryo: has joined #ruby
[20:35:44] yokel: has joined #ruby
[20:36:45] codefriar: has joined #ruby
[20:40:05] jpaulo6ba: has joined #ruby
[20:40:47] jpaulo6ba: has joined #ruby
[20:41:34] jpaulo6ba: has joined #ruby
[20:41:55] yokel: has joined #ruby
[20:43:51] Swyper: has joined #ruby
[20:44:45] Swyper_: has joined #ruby
[20:55:32] yokel: has joined #ruby
[21:02:30] maryo: Can someone tell me the recommended way to install rvm?
[21:05:21] tdy: has joined #ruby
[21:22:14] AJA4350: has joined #ruby
[21:25:25] codefriar: has joined #ruby
[21:25:41] Swyper: has joined #ruby
[21:37:16] sameerynho: has joined #ruby
[21:45:17] houhoulis: has joined #ruby
[21:46:02] Macrobiotic: has joined #ruby
[21:47:51] fphilipe: has joined #ruby
[21:50:48] gb_away: has joined #ruby
[22:05:32] bambanx: has joined #ruby
[22:08:54] esp32_prog: has joined #ruby
[22:14:43] leitz: maryo, it is generally best on RHEL to use gem for installing. Does that not work?
[22:23:41] Swyper: has joined #ruby
[22:25:22] fphilipe: has joined #ruby
[22:40:48] Swyper: has joined #ruby
[22:41:54] bambanxx: has joined #ruby
[22:43:14] bambanxx: has joined #ruby
[22:45:24] doodlebug: has joined #ruby
[23:03:39] RiPuk: has joined #ruby
[23:04:05] phaul: has joined #ruby
[23:09:24] doodlebug: has joined #ruby
[23:11:07] gravitation: has joined #ruby
[23:26:14] Esa_: has joined #ruby
[23:36:38] Swyper: has joined #ruby
[23:51:18] fphilipe: has joined #ruby
[23:57:22] esp32_prog: has joined #ruby
[23:57:51] Swyper: has joined #ruby
[23:58:20] AJA4350: has joined #ruby