similar to: Which object have my association extension method?

Displaying 20 results from an estimated 2000 matches similar to: "Which object have my association extension method?"

2013 Jun 30
1
Sidekiq on Heroku
Hi I want to use Sidekiq to run some jobs in the background. The jobs will be created by the whenever gem (or similar) which creates a Sidekiq worker at a specific time. This worker will in turn create a few hundred Sidekiq jobs. So, I''m using Heroku and wonder if I need to use a separate worker dyno for these jobs? Or can I use, for example, Unicorn to run Sidekiq "inside"
2017 Oct 13
2
sidekiq receives SIGHUP when started via ssh -t
Hi, I have a couple of ideas how to fix it, but I'm trying to figure out what's going on first. I mainly start this program (sidekiq) on Debian systems, and it might be my first time running it under CentOS, so my conjecture is that it has to do with differences between distributions... Now then, when I run it this way: ssh user at example.com '. ~/.bash_profile && rvm 2.3.1
2013 Jun 03
1
sidekiq: push background results to front
Rails 3.2.11 Sidekiq latest My app continues background jobs that generate texts as the output. class ProcessText include Sidekiq::Worker def perform(name, count) puts "executing..." @feed = Feed.first @feed.process # here it returns String results! end end What I want is basically how to send (or push?) the result texts to a particular web
2013 Jul 09
0
How to move create method into worker(sidekiq)?
how to move create method into worker(sidekiq)? photos_controller.rb def create @project = Project.find(params[:project_id]) @photo = @project.photos.build(params[:photo]) @photo.user = current_user if @photo.save redirect_to image_upload_project_path(@project) endend -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2013 May 25
1
Silent Failure when starting Unicorn on Heroku
Switched my RoR (3.1.3, 1.9.2) app from Thin to Unicorn (4.6.2). It ran fine in development (Mac OSX), but when deploying to production on Heroku, it fails silently (no backtrace, no error detail). Log looks like: Starting process with command `bundle exec unicorn start -p 6069 -c ./config/unicorn.rb` /app/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.2/lib/unicorn/configurator.rb:634:in
2014 Jan 09
1
OSX - SSH agent functionality differing based upon CLI arguments
Trying to get SSH agent forwarding working for a popular open source configuration management system called Ansible. I?ve had some unexpected behaviour, the only cause of which I can find is how I express the command line arguments. http://stackoverflow.com/questions/20952689/vagrant-ssh-agent-forwarding-how-is-it-working?noredirect=1#comment31511341_20952689 In summarise: In the first
2024 Feb 24
1
Interactions in regression
Hi All, I stumbled upon some topics regarding interactions in anova and regression and packages for tabulating and visualizations the results of them. Here we are: https://stackoverflow.com/questions/77933272/how-to-add-a-reference-level-for-interaction-in-gtsummary-and-sjplot/77935742#77935742 ,
2013 Jul 18
0
url_helpers in /lib
Hi, I''m trying to generate some static feeds using a script in /lib that I will later call from a sidekiq worker and I need to access the URL helpers from my library, how can I do it? What I tried so far is including Rails.application.routes.url_helpers in my class but it doesn''t seem to work. I''ve also tried to follow this blog post
2018 Jun 22
1
Bug in as.Date or strptime?
Hello, This just came up in SO, sessionInfo() at the end. https://stackoverflow.com/questions/50988018/seeking-explanation-for-as-date-function-in-r?noredirect=1#comment88971055_50988018 # example 1 # not even the month is right as.Date(x = 1, format = '%j', origin= '2015-01-01') #[1] "2018-07-21" # example 2a # nonsense output as.Date(x = 1, origin=
2024 Feb 25
1
Interactions in regression
It is trivial in R to add whatever decorations to a plot that you would like, but that requires that you go beyond point and click production of graphics and write actual code. If you are unwilling or unable to do this, you are stuck with whatever various packaged graphics functionality provides.So you might want to search on "interaction plots for linear models in R" or similar at
2017 Aug 08
0
Obtaining estimates and significance of random factors
0down votefavorite <https://stats.stackexchange.com/questions/296786/obtaining-parameter-estimates-and-significance-of-random-effects?noredirect=1#> I'm looking for way to obtain parameter estimates (such as *beta*, *SE* and *t* scores) and *P* values of random factors after GLMM in R. My model is:mod<-glmer(Boldness~Trial+(1|ID). The model with random effects is a better model
2020 Feb 18
0
Possible Regression in setClassUnion between 3.5.0 and 3.6.0
Hi Robert, This looks like a bug to me (tested in R 3.6.2 on Windows), f(new("a")) should return "hi!". I'll add that this DOES work properly in 3.6.1 which leads me to suspect this could be due to the subtle change in the way method dispatch was performed to fix a different bug, in 3.6.2. Can anybody else confirm that? On 2/18/2020 9:32 AM, Robert Harlow wrote: >
2020 Feb 18
2
Possible Regression in setClassUnion between 3.5.0 and 3.6.0
I am trying to create a class union of class unions to facilitate method dispatch. When I execute code in the global environment, everything acts as expected, however when I put the same code in the context of a package, selectMethod can no longer find the correct method. This first block below puts the code in the context of a package: fn <- "codefile.R" writeLines( c(
2017 Aug 06
0
Crash when installing heavy packages in remote server with R and Rstudio server
On 06/08/2017 9:17 AM, Jorge Cimentada wrote: > Hi, > > I've been trying to install some very heavy packages from Github (~ 100MB - > 300 MB) on my remote server using Rstudio server and I keep getting some > crashes. These packages are pretty much datasets. Based on your description, this is RStudio Server specific. You'll need to write to their tech support for help.
2017 Aug 06
2
Crash when installing heavy packages in remote server with R and Rstudio server
Hi, I've been trying to install some very heavy packages from Github (~ 100MB - 300 MB) on my remote server using Rstudio server and I keep getting some crashes. These packages are pretty much datasets. I try doing it with this code and get the error below. > install.packages("devtools") > devtools::install_github("pbiecek/PISA2000lite") Downloading GitHub repo
2024 Feb 25
1
Interactions in regression
Hi, I do not want to make a plot, I try to make an output table in R, (in GUI like Stata this is trivially easy task) with regard to SO OP question. As I mentioned, in paper I would not do this, but out of curiosity I use R this time trying to create it. If in R this is trivial task as well, could you please show how to do it ? After googling a lot I did not find solution. regards, Jacek niedz.,
2020 Feb 25
0
Possible Regression in setClassUnion between 3.5.0 and 3.6.0
This seems to work as expected (returning "hi!") in R-devel, but there have been so many destabilizing changes to methods that it would be tough to port this to release. Probably should just wait for 4.0. Michael On Tue, Feb 18, 2020 at 8:00 PM Michael Lawrence <michafla at gene.com> wrote: > > Thanks, I'll look into it. > > On Tue, Feb 18, 2020 at 8:32 AM Ezra
2017 Sep 07
1
Redis db permission issue while running GitLab in Kubernetes with Gluster
Hello, I am trying to setup GitLab, Redis and PostgreSQL containers in Kubernetes using Gluster for persistence. GlusterFS nodes are setup on machines (CentOS) external to Kubernetes cluster (running on RancherOS host). Issue is that when GitLab tries starting up, the login page doesn't load. It's a fresh setup and not something that stopped working now. root at
2020 Feb 19
2
Possible Regression in setClassUnion between 3.5.0 and 3.6.0
Thanks, I'll look into it. On Tue, Feb 18, 2020 at 8:32 AM Ezra Tucker <ezztucker at gmail.com> wrote: > > Hi Robert, > > This looks like a bug to me (tested in R 3.6.2 on Windows), f(new("a")) > should return "hi!". I'll add that this DOES work properly in 3.6.1 > which leads me to suspect this could be due to the subtle change in the > way
2020 Feb 26
1
Possible Regression in setClassUnion between 3.5.0 and 3.6.0
Okay - that makes sense and thanks for looking into this! As an aside, from R-devel's perspective would you say methods are stabilizing again or do you foresee a lot of changes coming in the 4.* series? On Tue, Feb 25, 2020 at 3:39 PM Michael Lawrence via R-devel < r-devel at r-project.org> wrote: > This seems to work as expected (returning "hi!") in R-devel, but there