elcontrastador

Activity Graph

Page 1 of 3 | Next »

2019-05-20

[02:58:31] elcontrastador: haxx0r; glad we could help man
[03:13:57] elcontrastador: Any help on this has many, through form issue? https://gist.github.com/elcontrastador/3cd55f5dd065da00992cee65c5f0e87a
[03:14:24] elcontrastador: prob something simple...i'm getting tired now...blown a lot of time
[03:55:08] elcontrastador: Any experts out there that take venmo, apple pay, etc. and could spare a 1/2hr of time to help me on this?
[05:36:43] elcontrastador: $100 for someone to help me thru this jam...My brain is mush and I need to finish this tonight
[22:00:24] elcontrastador: Read error: Connection reset by peer

2019-05-19

[20:33:52] elcontrastador: has joined #RubyOnRails
[20:33:52] elcontrastador: has joined #ruby

2019-04-30

[17:08:21] elcontrastador: Ping timeout: 246 seconds

2019-04-29

[21:23:47] elcontrastador: has joined #RubyOnRails
[21:23:47] elcontrastador: has joined #ruby

2019-03-18

[00:47:49] elcontrastador: has joined #RubyOnRails
[00:47:49] elcontrastador: has joined #ruby
[16:49:01] elcontrastador: Read error: Connection reset by peer

2019-03-16

[15:35:34] elcontrastador: Ping timeout: 255 seconds

2019-03-15

[00:01:22] elcontrastador: Why the startup latency when executing from gem compared to running script as argument to ruby? See timings below each example. https://gist.github.com/elcontrastador/44f6beed60246296616f610c5025990a
[00:05:26] elcontrastador: zenspider; nope
[00:06:20] elcontrastador: Thinking it has something to do with the aws-sdk gemset
[00:07:04] elcontrastador: This is similar startup latency on the linux server this is deployed to, as well.
[00:07:41] elcontrastador: that server has very few gems installed
[00:08:18] elcontrastador: aws-sdk gemset is huge....only using aws-sdk-s3 but will have to look at all that pulls in or references
[00:11:29] elcontrastador: zenspider: Lots of aws-sdk warnings....
[00:13:33] elcontrastador: yeah... first pass groking thru outputs look similar/identical....will get into it
[00:13:43] elcontrastador: this is a great place to start tho

2019-03-14

[23:49:03] elcontrastador: has joined #RubyOnRails
[23:49:03] elcontrastador: has joined #ruby

2019-03-11

[00:05:02] elcontrastador: Ping timeout: 245 seconds

2019-03-09

[06:33:08] elcontrastador: Is there a pure ruby to modify file mtimes in the past (not using a system call)? I develop on a mac and deploy on both mac and linux. Need something more portable than using the system's 'touch', for instance
[06:48:28] elcontrastador: Ignore....touch options are similar enough between macos and linux.
[08:06:50] elcontrastador: woodruffw: Yes! Perfect! Can't believe I missed groking thru the docs

2019-03-06

[18:56:59] elcontrastador: has joined #RubyOnRails
[18:56:59] elcontrastador: has joined #ruby
[19:01:57] elcontrastador: What's the most accurate way of determining if a file is open/changing prior to performing an operation on that file? Similarly, what is the most pragmatic way? Using system calls like 'lsof' is very slow but may be my only option...
[19:30:58] elcontrastador: Even 'lsof' is not any guarantee...
[19:35:36] elcontrastador: al2o3-cr: No, that's an easier problem. I'm just processing files of arbitrary dir that could have files open by any app/process
[19:38:57] elcontrastador: al2os-cr: yeah, figured that, if possible at all, it would be a syscall or two
[19:39:12] elcontrastador: lsof is unbearably slow
[19:40:26] elcontrastador: lsof and it's options...looking at FD and such...
[19:42:13] elcontrastador: al2os-cr: yeah, sorry...that was confusing. system call
[19:42:46] elcontrastador: i'm getting pounded with texts and calls...shorthanding it

2019-02-23

[21:58:13] elcontrastador: Ping timeout: 246 seconds

2019-02-22

[02:40:20] elcontrastador: Holistic question: Looking for a <10k line ruby gem-packaged app on github that is a shining example of best practices to level up my game. Recommendations?
[06:15:56] elcontrastador: baweaver: particulary, just the best ruby form
[06:17:22] elcontrastador: I've met jim weirich before he left us...just reading thru rake code now.... much respect for jim
[18:35:48] elcontrastador: havenwood: Thanks for the code sample recommendations. Looking at Roda....looks good.

2019-02-14

[00:07:32] elcontrastador: has joined #RubyOnRails
[00:07:32] elcontrastador: has joined #ruby

2019-02-13

[02:49:51] elcontrastador: Any ruby UDP sockets programmers online that want to pair program a fun project for Polycom phone paging via multicast? Polycom has document the signaling and audio format here: https://support.polycom.com/content/dam/polycom-support/products/voice/polycom-uc/other-documents/en/2017/audio-packet-format.pdf
[23:53:00] elcontrastador: Quit: Textual IRC Client: www.textualapp.com

2019-02-12

[00:30:40] elcontrastador: has joined #RubyOnRails
[00:30:40] elcontrastador: has joined #ruby
[03:10:30] elcontrastador: Any expert ruby sockets developers online?
[03:10:43] elcontrastador: I'd like to hire for a pair programming session
[04:13:23] elcontrastador: Ping timeout: 245 seconds
[06:16:34] elcontrastador: has joined #ruby
[06:16:35] elcontrastador: has joined #RubyOnRails
[06:23:27] elcontrastador: Quit: My MacBook Pro has gone to sleep. ZZZzzz…
[06:39:57] elcontrastador: has joined #RubyOnRails
[06:39:57] elcontrastador: has joined #ruby
[07:42:22] elcontrastador: kevinsjoberg: Proprietary paging to polycom phones...via multicast. Polycom has this documented for 3rd party integrations...
[07:45:26] elcontrastador: https://supportdocs.polycom.com/PolycomService/support/global/documents/support/technical/products/voice/Audio_Packet_Format.pdf
[07:45:33] elcontrastador: seems pretty simple...
[07:48:11] elcontrastador: the signaling to the phones for them to accept/unacccept a stream...the subsequent stream, I believe, could be streamed by ffmpeg to the configured mcast addr
[07:49:18] elcontrastador: I have Cisco phones working tits...but they use an xml rpc for setup and tear down of their listening...much more open (go figure)
[08:51:30] elcontrastador: Quit: My MacBook Pro has gone to sleep. ZZZzzz…
[16:12:33] elcontrastador: has joined #RubyOnRails
[16:12:33] elcontrastador: has joined #ruby
[17:00:58] elcontrastador: Ping timeout: 272 seconds
[19:03:20] elcontrastador: has joined #RubyOnRails
[19:03:20] elcontrastador: has joined #ruby
[19:04:18] elcontrastador: Any ruby sockets programming experts here willing to do some pair programming contract work?
[19:20:31] elcontrastador: I was googling my ass off and all thru safari site too...didnt see this
[19:20:40] elcontrastador: havenwood: thank you!
[19:21:56] elcontrastador: havenwood: Just kicking off...
[19:22:08] elcontrastador: havenwood: Should be a fun project, actually...
[19:23:05] elcontrastador: havenwood: The timeline is tight tho...that's why I was trying to pair program...I normally enjoy the challenge of learning 1000 things along the way
[19:24:30] elcontrastador: Yeah...writing some last night...
[19:27:32] elcontrastador: havenwood: True...always nice to see good docs and know you can jump right into something

2019-02-09

[00:15:45] elcontrastador: Ping timeout: 246 seconds

2019-02-07

[18:14:41] elcontrastador: has joined #RubyOnRails
[18:14:41] elcontrastador: has joined #ruby

2019-02-06

[05:51:11] elcontrastador: has joined #RubyOnRails
[05:51:11] elcontrastador: has joined #ruby
[06:35:11] elcontrastador: Quit: My MacBook Pro has gone to sleep. ZZZzzz…
[15:32:21] elcontrastador: has joined #RubyOnRails
[15:32:21] elcontrastador: has joined #ruby

2019-02-05

[11:04:38] elcontrastador: Ping timeout: 245 seconds

2019-02-04

[21:53:25] elcontrastador: has joined #RubyOnRails
[21:53:25] elcontrastador: has joined #ruby

2019-01-26

[00:02:48] elcontrastador: Ping timeout: 246 seconds

2019-01-25

[00:43:33] elcontrastador: Quit: My MacBook Pro has gone to sleep. ZZZzzz…
[23:33:11] elcontrastador: has joined #RubyOnRails
[23:33:11] elcontrastador: has joined #ruby

2019-01-24

[18:26:20] elcontrastador: has joined #RubyOnRails
[18:26:20] elcontrastador: has joined #ruby

2019-01-16

[03:59:00] elcontrastador: Ping timeout: 246 seconds

2019-01-15

[02:20:12] elcontrastador: Quit: My MacBook Pro has gone to sleep. ZZZzzz…
[17:51:39] elcontrastador: has joined #RubyOnRails
[17:51:39] elcontrastador: has joined #ruby

2019-01-14

[16:28:18] elcontrastador: has joined #RubyOnRails
[16:28:18] elcontrastador: has joined #ruby

2019-01-13

[05:04:03] elcontrastador: has joined #RubyOnRails
[05:04:03] elcontrastador: has joined #ruby
[05:14:23] elcontrastador: the URI module is part of stdlib for <=2.5.3 right? I have a system that when i require 'uri' from within irb gives me false
[05:22:45] elcontrastador: i see that...must be loading aleady
[05:23:40] elcontrastador: i dont have an .irbrc file on this system...weird that it's loading on from somewhere
[05:24:01] elcontrastador: thx for help...
[06:10:14] elcontrastador: Read error: Connection reset by peer

2019-01-04

[03:33:19] elcontrastador: Quit: Textual IRC Client: www.textualapp.com

2018-12-20

[21:31:19] elcontrastador: has joined #RubyOnRails
[21:31:19] elcontrastador: has joined #ruby

2018-12-11

[02:23:12] elcontrastador: Ping timeout: 246 seconds
[05:39:38] elcontrastador: has joined #RubyOnRails
[05:39:38] elcontrastador: has joined #ruby
[05:40:52] elcontrastador: https://gist.github.com/elcontrastador/0023c30a7851b43d0063d328f423136d
[05:41:27] elcontrastador: how do i use nokogiri builder when i have elements that use hyphens and not underscores?
[05:42:22] elcontrastador: what's the best way to handle these non-ruby-word element names?
[05:54:16] elcontrastador: al2o3-cr: thanks!
[18:33:34] elcontrastador: Quit: Textual IRC Client: www.textualapp.com

2018-12-10

[23:03:51] elcontrastador: has joined #RubyOnRails
[23:03:51] elcontrastador: has joined #ruby
[23:45:47] elcontrastador: Ping timeout: 240 seconds
[23:53:54] elcontrastador: has joined #RubyOnRails
[23:53:54] elcontrastador: has joined #ruby

2018-12-09

[05:04:07] elcontrastador: has joined #RubyOnRails
[05:04:07] elcontrastador: has joined #ruby
[20:07:24] elcontrastador: Ping timeout: 246 seconds

2018-12-08

[03:32:49] elcontrastador: Ping timeout: 268 seconds

2018-12-07

[01:09:27] elcontrastador: radar: what's the best pagination library to use, in your opinion
[01:36:07] elcontrastador: radar: thanks man...was reading about that...didn't want to waste time implementing old libs.
[02:02:16] elcontrastador: Radar: works bitchin'
[03:24:48] elcontrastador: Ping timeout: 250 seconds
[19:16:45] elcontrastador: has joined #ruby
[19:16:46] elcontrastador: has joined #RubyOnRails

2018-12-06

[19:17:19] elcontrastador: has joined #RubyOnRails
[19:17:19] elcontrastador: has joined #ruby
[19:20:10] elcontrastador: When using a javascript library, like chart.js, is it typical practice to use erb to load the data in the script? Is it common practice to write a rest api and pull with native js?
[19:23:04] elcontrastador: inside: checking it out now. Thanks for response!
[19:25:29] elcontrastador: inside: The charts require flash?
[19:26:47] elcontrastador: http://googlevisualr.herokuapp.com/examples/interactive/annotated_time_line
[19:28:53] elcontrastador: looks like it may be ONLY the sample chart i first picked
[19:29:05] elcontrastador: others are working
[19:29:43] elcontrastador: http://googlevisualr.herokuapp.com/examples/interactive/calendar
[19:29:48] elcontrastador: this one is bomb
[19:31:02] elcontrastador: that is exactly what i need for one chart...was trying to figure out best way to show it...this is so clear
[19:35:01] elcontrastador: I'd say poke around Udemy and feel out where your skills are...rails guides (https://guides.rubyonrails.org/) and Rails API (https://api.rubyonrails.org/) and Ruby Docs (https://ruby-doc.org/core-2.5.3/)
[19:41:05] elcontrastador: inside: Check out chart_kick
[19:56:22] elcontrastador: ruby rocks....i use it constantly...ex-Perl fanatic...been using Ruby for years...dabble in rails

2018-12-05

[04:50:13] elcontrastador: has joined #RubyOnRails
[04:50:13] elcontrastador: has joined #ruby
[21:58:49] elcontrastador: Quit: Textual IRC Client: www.textualapp.com

2018-11-27

[16:31:58] elcontrastador: Ping timeout: 268 seconds

2018-11-26

[06:24:19] elcontrastador: is there a way i can termporarily disable sprockets while in "design" mode? It's annoying AF to wait for assets to compile each reload
[07:31:21] elcontrastador: @sevenseacat: i'm designing...every time i change css, it changes

2018-11-25

[04:09:40] elcontrastador: has joined #RubyOnRails
[04:09:40] elcontrastador: has joined #ruby
[04:45:34] elcontrastador: Shouldn't this line in my assets.rb initializer load all stylesheets/js within node_modules? Rails.application.config.assets.paths << Rails.root.join('node_modules')
[04:46:39] elcontrastador: Shouldn't this path work to load within application layout? <%= stylesheet_link_tag 'bootstrap.css', media: 'all' %>
[05:02:23] elcontrastador: I figured this out. Missing from application.css
[08:09:36] elcontrastador: required for each lib?
[08:09:36] elcontrastador: I've read the rails guid on the asset pipeline...I'm still missing something. I require bootstrap in the application.css the call the application stylesheet from my application layout...viewing rendered html source shows it listed and you can click the src in the rendered html. Yet, it doesn't style my views unless it's directly called from the application layout AND initialized in assets.rb. Is that
[08:14:30] elcontrastador: If I'm having to explicitly precompile them in assets.rb and call them explicitly in a layout, then it's pointless to list them in application.js/css right? What am I missing?
[08:33:26] elcontrastador: @Andr3as: ATimport bootstrap, ATimport mycss within mylib.scss located in app/assets/stylesheets and require mylib in application.css?
[08:45:56] elcontrastador: @andre3as I've installed boostrap via yarn as an npm_module. Will I need my import path to be @import 'boostrap/dist/css/boostrap'?
[08:47:25] elcontrastador: hmm...i might switch if I blow too many more hours on this...
[08:47:54] elcontrastador: no...just yarn and std sprockets pipeline
[08:49:13] elcontrastador: I may use webpack if I get my arms around this...I mean, i can get it working by adding it to precompile list in assets initializer and then listing directly in applicaiton layout
[08:50:18] elcontrastador: i did that but it still requires me to list explicitly in app layout and precompile it in assets.rb
[08:51:39] elcontrastador: i'm sure this is just a knowledge hole i have...
[08:53:16] elcontrastador: yes! great idea
[09:06:21] elcontrastador: @Andr3as: webpacker looks good, I'll need to spend some time on that after I understand what i'm missing here... i think looking for a few real rails app would make it immediately clear to me...
[09:11:10] elcontrastador: this is interesting
[09:11:10] elcontrastador: /= require bootstrap-sprockets

2018-11-22

[19:03:55] elcontrastador: Ping timeout: 272 seconds

2018-11-19

[18:33:04] elcontrastador: has joined #ruby
[18:33:05] elcontrastador: has joined #RubyOnRails

2018-11-16

[21:12:40] elcontrastador: Ping timeout: 252 seconds

2018-11-15

[00:32:39] elcontrastador: has joined #ruby
[00:32:40] elcontrastador: has joined #RubyOnRails
[00:35:45] elcontrastador: Is there a recommended irc channel for web design?

2018-11-14

[03:19:27] elcontrastador: Ping timeout: 240 seconds
[03:26:58] elcontrastador: has joined #ruby
[03:26:59] elcontrastador: has joined #RubyOnRails
[05:58:23] elcontrastador: Quit: My MacBook Pro has gone to sleep. ZZZzzz…

2018-11-13

[02:11:00] elcontrastador: "validates :department, presence: false, length: { maximum: 20 }" doesn't pass unit tests when given nil but works thru form because params assign empty string. Am I missing a way to use a rails validates() validation to make a field non-reqd but not to exceed 20chars if provided? I can easily roll this into a custom validator...so easily that I question that it isn't already baked in.
[02:30:46] elcontrastador: disregard prior: validates :department, allow_nil: true, allow_blank: true, length: { in: 1..20 }
[04:31:09] elcontrastador: ahh... allow_blank is superset of both nil and empty. Def cleaner. Thank u
[04:32:41] elcontrastador: cool...changed...tests pass. thx again

2018-11-12

[04:26:12] elcontrastador: Radar: Shrine is pimp..thx. Working bitchin'

2018-11-11

[23:10:47] elcontrastador: Ping timeout: 240 seconds
[23:15:25] elcontrastador: has joined #RubyOnRails
[23:15:25] elcontrastador: has joined #ruby
[23:16:37] elcontrastador: Greetings, What's the most recommended solution/approach to file uploads lately? Carrierwave or other?
[23:18:25] elcontrastador: cool...i'll look it up. Appreciate it!
[23:27:27] elcontrastador: Yeah, it looks very straightforward and well documented
[23:29:48] elcontrastador: i looked they dry-validations you mentioned last week. I'm sticking with custom validations classes for now...It's just straight ruby and seemed to just feel more comfortable to me than another dsl to dink with. I will revisit that later when the pressure is off
[23:31:20] elcontrastador: I def will. It looks really clean and well designed. I appreciate your opinions/suggestions

2018-11-09

[02:11:59] elcontrastador: has joined #ruby
[02:12:00] elcontrastador: has joined #RubyOnRails
[02:17:16] elcontrastador: greetings, getting back to rails after years. Researching custom validator classes...all clear to me except for where to physically locate the classes that are included in the search path. Do I just put them in <prj_root>/lib ?
[16:57:43] elcontrastador: radar: I'm not using dry-validation...just googled it. Looks interesting.
[16:57:58] elcontrastador: tbuehlmann: thank you!
[17:07:56] elcontrastador: Ping timeout: 272 seconds
[21:08:13] elcontrastador: has joined #RubyOnRails
[21:08:13] elcontrastador: has joined #ruby

2018-11-06

[02:52:11] elcontrastador: Quit: Textual IRC Client: www.textualapp.com

2018-11-04

[07:17:39] elcontrastador: has joined #RubyOnRails
[07:17:39] elcontrastador: has joined #ruby
[07:19:52] elcontrastador: Is cancancan the way to go for authorization with devise? Been out of rails for awhile...
[08:31:53] elcontrastador: damn...already deep into with cancancan. I can still switch... What, in short, do you find better about it?
[08:37:40] elcontrastador: Just started the AA portion of it today... can3 seems really easy and intuitive...i'll look into pundit tomorrow...Thanks for feedback

2018-11-03

[18:39:41] elcontrastador: has joined #ruby
[18:39:42] elcontrastador: has joined #RubyOnRails
[18:41:08] elcontrastador: Getting back into rails after several years... What's the best (general consensus) Authorization gem to work with devise?
[18:41:36] elcontrastador: I need 4-5 levels of authorization for this app
[19:08:45] elcontrastador: Ping timeout: 268 seconds

2018-10-08

[17:47:02] elcontrastador: has joined #RubyOnRails
[17:47:02] elcontrastador: has joined #ruby

2018-05-02

[07:08:45] elcontrastador: Ping timeout: 264 seconds

2018-05-01

[18:35:20] elcontrastador: has joined #RubyOnRails
[18:35:20] elcontrastador: has joined #ruby

2018-03-14

[04:14:53] elcontrastador: Ping timeout: 240 seconds

2018-03-13

[04:18:33] elcontrastador: has joined #RubyOnRails
[04:18:33] elcontrastador: has joined #ruby
[05:53:56] elcontrastador: Quit: My MacBook Pro has gone to sleep. ZZZzzz…
[18:17:56] elcontrastador: has joined #RubyOnRails
[18:17:56] elcontrastador: has joined #ruby

2018-03-04

[02:57:35] elcontrastador: has joined #RubyOnRails
[02:57:35] elcontrastador: has joined #ruby
[07:24:07] elcontrastador: Just learning about engines. My reading skipped a fundamental question that I have that seems easily answered. Can the engine run completely autonomously? Is it created inside or outside of the main rails application directory?
[19:53:23] elcontrastador: Quit: My MacBook Pro has gone to sleep. ZZZzzz…