nickjj

Activity Graph

Page 1 of 9 | Next »

2018-11-15

[04:38:59] nickjj: Read error: Connection reset by peer
[11:11:11] nickjj: has joined #ruby
[11:11:11] nickjj: has joined #RubyOnRails

2018-11-08

[14:02:30] nickjj: *.net *.split
[14:04:37] nickjj: has joined #RubyOnRails
[14:04:37] nickjj: has joined #ruby

2018-10-21

[18:18:39] nickjj: dcope, i am with docker for windows and it's nearly as fast as native linux for typical rails app dev
[18:19:39] nickjj: rails picks up file changes in about 100ms and webpack compiles 100kb+ of CSS in about 3 seconds -- on a 5 year old workstation

2018-10-03

[13:07:55] nickjj: Read error: Connection reset by peer
[13:19:37] nickjj: has joined #ruby
[13:19:37] nickjj: has joined #RubyOnRails

2018-09-20

[05:07:07] nickjj: Ping timeout: 240 seconds

2018-09-13

[22:09:00] nickjj: Read error: Connection reset by peer
[22:24:24] nickjj: has joined #ruby
[22:24:24] nickjj: has joined #RubyOnRails

2018-09-10

[22:15:58] nickjj: Ping timeout: 244 seconds

2018-08-19

[15:26:15] nickjj: Read error: Connection reset by peer
[18:30:05] nickjj: has joined #ruby
[18:30:05] nickjj: has joined #RubyOnRails

2018-08-15

[01:11:58] nickjj: Read error: Connection reset by peer
[10:25:00] nickjj: has joined #RubyOnRails
[10:25:01] nickjj: has joined #ruby

2018-08-11

[23:42:02] nickjj: has joined #ruby
[23:42:02] nickjj: has joined #RubyOnRails

2018-08-01

[12:48:58] nickjj: *.net *.split
[22:29:40] nickjj: Ping timeout: 256 seconds

2018-07-25

[22:21:33] nickjj: Ping timeout: 244 seconds
[23:23:49] nickjj: has joined #RubyOnRails
[23:23:49] nickjj: has joined #ruby
[23:57:49] nickjj: Ping timeout: 260 seconds

2018-07-20

[00:07:02] nickjj: *.net *.split
[00:15:26] nickjj: has joined #RubyOnRails
[00:15:37] nickjj: has joined #ruby

2018-07-17

[22:49:27] nickjj: Ping timeout: 240 seconds

2018-07-11

[22:12:00] nickjj: Read error: Connection reset by peer
[23:29:34] nickjj: has joined #ruby
[23:29:34] nickjj: has joined #RubyOnRails

2018-07-09

[00:37:58] nickjj: Ping timeout: 240 seconds

2018-06-21

[04:22:22] nickjj: Read error: Connection reset by peer
[04:22:47] nickjj: has joined #RubyOnRails
[04:22:47] nickjj: has joined #ruby
[11:16:22] nickjj: Read error: Connection reset by peer
[11:16:49] nickjj: has joined #ruby
[11:16:50] nickjj: has joined #RubyOnRails

2018-06-20

[06:24:58] nickjj: Ping timeout: 264 seconds

2018-06-19

[23:40:11] nickjj: Read error: Connection reset by peer
[23:44:17] nickjj: has joined #ruby
[23:44:17] nickjj: has joined #RubyOnRails

2018-06-16

[12:45:05] nickjj: welch, when in doubt point him to contribute documentation enhancements

2018-06-15

[19:50:20] nickjj: when running bundle commands is there a global flag or ENV var you can set to use a custom Gemfile.lock location?
[19:50:58] nickjj: for clarity, not the Gemfile (or both), but just the Gemfile.lock

2018-06-14

[12:24:09] nickjj: does anyone know offhand if you can have rails return an empty head response directly from routes.rb?
[12:24:39] nickjj: (without having to set up a controller)
[13:55:10] nickjj: if anyone is interested, i answered my own question, and you can define a response in routes.rb without a controller , ex. get '/ok, to: ->(_) { [200, {}, ['']] }

2018-06-06

[22:40:45] nickjj: Jiaoyin, that would be a rash decision without first seeing what happens
[22:59:08] nickjj: baweaver, it's true. one day you could be 5k+ lines deep in a side project, the world is amazing, then you see a video about some other tech and you're like "my life isn't complete until I learn this" so you insta abort / rewrite
[22:59:13] nickjj: i used to do that stuff a lot like 5 years ago haha
[23:01:04] nickjj: i saw an advert for a new editor the other day and one perk was you could load a browser in a code editing tab
[23:01:42] nickjj: but it made me think of an old memory from back in the VB6 days which made me think "oh cool, i can finally see the output of the programs i'm writing in my browser... just like i was doing in 1997"
[23:01:56] nickjj: *in my editor

2018-06-02

[07:02:50] nickjj: Ping timeout: 276 seconds

2018-06-01

[03:44:46] nickjj: *.net *.split
[07:47:35] nickjj: has joined #ruby
[07:47:37] nickjj: has joined #RubyOnRails

2018-05-29

[02:46:56] nickjj: *.net *.split
[02:47:45] nickjj: has joined #RubyOnRails
[02:47:57] nickjj: has joined #ruby
[02:50:08] nickjj: *.net *.split
[02:51:44] nickjj: has joined #ruby
[02:51:45] nickjj: has joined #RubyOnRails
[18:53:00] nickjj: *.net *.split

2018-05-27

[14:51:18] nickjj: Read error: Connection reset by peer
[21:58:42] nickjj: has joined #RubyOnRails
[21:58:43] nickjj: has joined #ruby

2018-05-26

[03:15:15] nickjj: Ping timeout: 245 seconds

2018-05-21

[19:49:33] nickjj: Read error: Connection reset by peer
[19:51:24] nickjj: has joined #ruby
[19:51:24] nickjj: has joined #RubyOnRails

2018-05-19

[04:14:57] nickjj: Ping timeout: 240 seconds

2018-05-18

[09:00:14] nickjj: Ping timeout: 265 seconds
[11:56:52] nickjj: Read error: Connection reset by peer
[17:46:07] nickjj: has joined #ruby
[17:46:07] nickjj: has joined #RubyOnRails

2018-05-17

[22:07:01] nickjj: ericx2x, try adjusting your try_files to load your upstream before an index.html
[22:07:39] nickjj: it follows the order you place them, so if your upstream doesn't match it will fallback to index.html -- which means if you don't supply your upstream, it won't even know to look for it

2018-05-12

[14:06:59] nickjj: Read error: Connection reset by peer
[14:08:16] nickjj: has joined #ruby
[14:08:16] nickjj: has joined #RubyOnRails
[14:55:17] nickjj: Read error: Connection reset by peer
[15:17:09] nickjj: has joined #ruby
[15:17:09] nickjj: has joined #RubyOnRails
[15:24:11] nickjj: Read error: Connection reset by peer
[15:25:55] nickjj: has joined #ruby
[15:25:55] nickjj: has joined #RubyOnRails

2018-05-10

[01:09:59] nickjj: Read error: Connection reset by peer
[09:46:19] nickjj: has joined #ruby
[09:46:19] nickjj: has joined #RubyOnRails

2018-05-08

[08:42:19] nickjj: Ping timeout: 260 seconds

2018-05-06

[10:56:47] nickjj: Read error: Connection reset by peer
[10:57:51] nickjj: has joined #ruby
[10:57:51] nickjj: has joined #RubyOnRails

2018-05-05

[15:24:26] nickjj: Read error: Connection reset by peer
[16:49:51] nickjj: has joined #ruby
[16:49:51] nickjj: has joined #RubyOnRails
[16:51:42] nickjj: Read error: Connection reset by peer
[20:38:58] nickjj: has joined #ruby
[20:38:58] nickjj: has joined #RubyOnRails
[22:21:01] nickjj: Read error: Connection reset by peer
[22:22:24] nickjj: has joined #ruby
[22:22:24] nickjj: has joined #RubyOnRails

2018-05-01

[11:06:31] nickjj: has joined #RubyOnRails
[11:06:32] nickjj: has joined #ruby

2018-04-30

[18:07:42] nickjj: Read error: Connection reset by peer
[21:21:00] nickjj: has joined #ruby
[21:21:00] nickjj: has joined #RubyOnRails
[23:28:57] nickjj: Read error: Connection reset by peer

2018-04-26

[01:34:31] nickjj: Read error: Connection reset by peer
[03:02:01] nickjj: has joined #ruby
[03:02:01] nickjj: has joined #RubyOnRails

2018-04-25

[02:21:31] nickjj: Read error: Connection reset by peer
[02:23:02] nickjj: has joined #ruby
[02:23:02] nickjj: has joined #RubyOnRails
[12:25:36] nickjj: *.net *.split
[12:27:08] nickjj: has joined #ruby
[12:27:30] nickjj: has joined #RubyOnRails
[12:57:43] nickjj: Read error: Connection reset by peer
[17:31:21] nickjj: has joined #ruby
[17:31:21] nickjj: has joined #RubyOnRails

2018-04-24

[14:29:49] nickjj: that's cool, i missed that feature in the changelog
[14:30:07] nickjj: i used redis-rails for years previously

2018-04-13

[22:13:00] nickjj: Read error: Connection reset by peer
[22:15:44] nickjj: has joined #ruby
[22:15:44] nickjj: has joined #RubyOnRails

2018-04-12

[04:41:12] nickjj: Ping timeout: 260 seconds

2018-04-08

[01:36:55] nickjj: has joined #ruby
[01:36:55] nickjj: has joined #RubyOnRails

2018-03-14

[05:08:00] nickjj: Read error: Connection reset by peer
[12:20:10] nickjj: has joined #ruby
[12:20:10] nickjj: has joined #RubyOnRails

2018-03-05

[14:57:36] nickjj: Ping timeout: 276 seconds

2018-02-27

[04:26:05] nickjj: Ping timeout: 255 seconds

2018-02-20

[20:41:44] nickjj: tycoon177, that sounds about normal
[20:41:56] nickjj: but usually you need to account for double that if you plan to run sidekiq too
[20:42:09] nickjj: since it would have its own memory usage separate from your rails app server
[20:42:37] nickjj: but the whole "start small, grow grow grow... level off" pattern is something i see too
[20:44:54] nickjj: did you run a rake stats?

2018-02-08

[07:22:10] nickjj: Ping timeout: 240 seconds

2018-02-03

[19:40:55] nickjj: Read error: Connection reset by peer
[20:40:24] nickjj: has joined #ruby
[20:40:24] nickjj: has joined #RubyOnRails

2018-02-02

[15:07:11] nickjj: Ping timeout: 248 seconds
[15:14:40] nickjj: Ping timeout: 240 seconds
[15:18:29] nickjj: has joined #RubyOnRails
[15:18:29] nickjj: has joined #ruby
[20:19:38] nickjj: Read error: Connection reset by peer
[20:21:35] nickjj: has joined #ruby
[20:21:35] nickjj: has joined #RubyOnRails

2018-01-23

[17:35:14] nickjj: Ping timeout: 255 seconds
[17:42:25] nickjj: has joined #RubyOnRails
[17:42:25] nickjj: has joined #ruby
[17:50:09] nickjj: Ping timeout: 256 seconds

2018-01-18

[17:30:50] nickjj: crova, are you using bootstrap-sass? i never had any probs with it and turbolinks
[17:33:19] nickjj: crova, what does your application.js look like?
[17:35:09] nickjj: i never used jquery.turbolinks, what if you just use turbolinks?
[17:35:47] nickjj: and then have that dropdown() function get called in a turbolinks:load event
[17:35:59] nickjj: sort of like document ready, but turbolinks:load instead
[17:39:13] nickjj: are you doing this: $(document).on('turbolinks:load', function() { $('.dropdown-toggle').dropdown(); }
[17:40:04] nickjj: also paste the heroku url
[17:41:38] nickjj: set up a demo user

2018-01-16

[18:29:14] nickjj: would you be upset if a tool auto-ran a migration every time your rails app started? if so, would you be happy if an option were given to disable that?

2018-01-13

[15:50:29] nickjj: Ping timeout: 265 seconds

2018-01-07

[03:08:53] nickjj: Ping timeout: 256 seconds
[20:53:22] nickjj: toit, if docker isn't an option i would use chruby
[20:53:52] nickjj: https://github.com/postmodern/chruby and https://github.com/postmodern/ruby-install
[21:34:10] nickjj: toit, that is what chruby solves
[21:34:19] nickjj: it lets you switch between whatever versions of ruby you want

2017-12-22

[18:17:57] nickjj: Read error: Connection reset by peer
[19:16:42] nickjj: has joined #ruby
[19:16:42] nickjj: has joined #RubyOnRails

2017-12-14

[22:14:04] nickjj: Read error: Connection reset by peer
[22:16:02] nickjj: has joined #ruby
[22:16:02] nickjj: has joined #RubyOnRails

2017-12-12

[20:45:15] nickjj: *.net *.split
[20:45:45] nickjj: has joined #RubyOnRails
[20:45:45] nickjj: has joined #ruby

2017-12-03

[06:07:14] nickjj: Read error: Connection reset by peer

2017-12-01

[02:28:49] nickjj: has joined #ruby

2017-11-19

[15:18:42] nickjj: SSDs and only running tests against the code we're actively developing
[15:24:34] nickjj: apeiros, assert_equal 1, 1 -- x a million?
[15:33:22] nickjj: i tend to run a smaller amount of end to end tests, but they also run fast enough if i stick to testing what i'm actively working on (then i run full tests when i'm ready to push a new build)
[15:33:39] nickjj: but that is in the context of developing web applications
[16:19:37] nickjj: damn, that article is epic

2017-11-16

[02:09:01] nickjj: Read error: Connection reset by peer
[12:17:42] nickjj: has joined #ruby
[12:17:42] nickjj: has joined #RubyOnRails

2017-11-09

[06:15:03] nickjj: Ping timeout: 248 seconds

2017-11-06

[06:31:50] nickjj: *.net *.split
[07:11:58] nickjj: has joined #RubyOnRails
[07:12:00] nickjj: has joined #ruby

2017-10-28

[22:40:42] nickjj: c-c, keep in mind you might not get a lot of usage if it's GPL
[22:41:48] nickjj: Papierkorb, come at it from a game developer's POV -- unless your game is entirely open source, i would be very hesitant to use a GPL licensed engine
[22:42:05] nickjj: because it's so essential to my bottom line
[22:42:23] nickjj: and chances are i would modify it, but if it's a closed source game selling for a profit, i might not want to push those changes upstream
[22:42:38] nickjj: so i would simply choose another engine with a more flexible license?
[22:50:44] nickjj: c-c, i think it really boils down to if you're ok with someone using your engine in any way they see fit (including selling a game based on it and modifying it without making their modifications public)
[22:50:58] nickjj: if you're cool with that, then MIT is your best bet

2017-10-25

[22:04:37] nickjj: Read error: Connection reset by peer
[22:06:56] nickjj: has joined #ruby
[22:06:56] nickjj: has joined #RubyOnRails
[23:55:09] nickjj: zanoni, what if you proxied it with nginx?

2017-10-23

[18:13:06] nickjj: are you checking for 1 or more nils?
[18:13:41] nickjj: because then you can just use .any? , and it'll return true if it finds 1 or more nils

2017-10-18

[00:02:03] nickjj: Read error: Connection reset by peer
[00:12:21] nickjj: has joined #ruby
[00:12:21] nickjj: has joined #RubyOnRails
[00:26:12] nickjj: Read error: Connection reset by peer
[00:31:29] nickjj: has joined #ruby
[00:31:29] nickjj: has joined #RubyOnRails

2017-10-16

[17:04:21] nickjj: Read error: Connection reset by peer
[17:04:54] nickjj: has joined #RubyOnRails
[17:04:54] nickjj: has joined #ruby
[22:36:27] nickjj: Read error: Connection reset by peer
[22:37:40] nickjj: has joined #ruby
[22:37:40] nickjj: has joined #RubyOnRails

2017-10-14

[08:05:30] nickjj: Ping timeout: 258 seconds
[17:21:16] nickjj: Read error: Connection reset by peer
[21:15:07] nickjj: has joined #ruby
[21:15:07] nickjj: has joined #RubyOnRails

2017-10-13

[16:24:10] nickjj: Skull0inc, if you do use enums saved as integers you'll probably want to map them as a hash instead of an array
[16:24:47] nickjj: this way you're free to re-order them as you please
[16:24:57] nickjj: and even add/remove new ones without affecting the previous values
[16:44:28] nickjj: Skull0inc, exactly, so something like enum roles: { member: 0, admin: 1 } , would work a lot better than enum roles: [:member, :admin]
[16:46:42] nickjj: yeah, then at the db level you can have it default to 2 or 3, whatever makes sense for your app
[16:48:53] nickjj: havenwood, the problem with that is if you remove accountant then superadmin becomes 1
[16:49:22] nickjj: but if you hardcode the key/value then superadmin will always be a 2, even if you remove accountant
[16:54:21] nickjj: what's cool is you could even save them as an array of ints instead of an int, and now suddenly it supports multiple roles or whatever

2017-10-12

[01:03:39] nickjj: Read error: Connection reset by peer
[09:46:07] nickjj: has joined #ruby
[09:46:07] nickjj: has joined #RubyOnRails

2017-10-07

[16:15:30] nickjj: hi, it's been a while since i worked on a rails app, can someone help me out on how to wire up a routes.rb to fulfill my URL goals? https://gist.github.com/nickjj/548e28b18318d97ba0a58e0b42c077b5
[16:17:54] nickjj: if it helps, imagine github's settings area https://github.com/settings/profile -- this is what i'm trying to pull off except in my case, there's multiple appointments so there needs to be an ID in the url too

2017-09-22

[05:27:27] nickjj: Ping timeout: 246 seconds
[06:00:47] nickjj: has joined #ruby
[06:00:48] nickjj: has joined #RubyOnRails
[07:33:51] nickjj: Ping timeout: 248 seconds

2017-09-19

[06:05:24] nickjj: *.net *.split
[06:05:51] nickjj: has joined #RubyOnRails
[06:05:51] nickjj: has joined #ruby

2017-09-14

[09:46:47] nickjj: has joined #ruby