Quantcast
Channel: User BvuRVKyUVlViVIc7 - Stack Overflow
Browsing latest articles
Browse All 42 View Live

Comment by BvuRVKyUVlViVIc7 on How to fix helm namespaces when specified...

This is not what I'm asking about. I dont want to change the namespace, I want to remove the key namespace complately to be compliant with the best practice to not include the namespace in the...

View Article



Comment by BvuRVKyUVlViVIc7 on How to fix helm namespaces when specified...

No it's not possible for us to delete everything, since we cannot accept any downtime.

View Article

Comment by BvuRVKyUVlViVIc7 on Android - WorkManager - Result.success()...

Did you found a solution? My workmanager also triggers wayyyy to often

View Article

Comment by BvuRVKyUVlViVIc7 on Bitnami Redis Sentinel & Sidekiq on Kubernetes

Whoo looks nice, will try this later!! Thank you! Will mark as accepted when it works!

View Article

Comment by BvuRVKyUVlViVIc7 on Redis self-healing cluster or alternative in...

take care, the bitnami/redis sentinel integration is really fragile and not stable. didnt even run smoothly in the first production tests and never recovered successfully.

View Article


Comment by BvuRVKyUVlViVIc7 on How to make reliable, scalable redis on...

not really stable, take care.

View Article

Comment by BvuRVKyUVlViVIc7 on Plyr audio player muted for the first second...

For me it works under FF in OSX?

View Article

Comment by BvuRVKyUVlViVIc7 on Helmfile with additional resource without chart

Thank you so much, the hint with the extraDeploy key is really helpfull also!

View Article


Comment by BvuRVKyUVlViVIc7 on Ruby & IMAP - Accessing Office 365 with Oauth 2.0

Does this still work? We try to use the connection token with the net/imap library but we only get failed authentication errors?

View Article


Comment by BvuRVKyUVlViVIc7 on Aws cloud watch log insight vs Aws Athena

and how did it work out? I have the same question right now.

View Article

Comment by BvuRVKyUVlViVIc7 on Ace Editor Emmet extension does not work with...

Link not working anymore

View Article

Comment by BvuRVKyUVlViVIc7 on Redis sentinel HA on Kubernetes

bitnami was really awfull at our recovery tests, many broken or wrong recoveries during our random-pod-killing-tests

View Article

Comment by BvuRVKyUVlViVIc7 on Rails: Unable to overwrite...

did you found a solution? I have the same problem

View Article


Comment by BvuRVKyUVlViVIc7 on Bitnami Redis Sentinel & Sidekiq on Kubernetes

No since the bitnami redis helm chart worked out to be pretty unreliable

View Article

Permanent daemon for quering a web resource

I have a rails 3 application and looked around in the internet for daemons but didnt found the right for me..I want a daemon which fetches data permanently (exchange courses) from a web resource and...

View Article


Answer by BvuRVKyUVlViVIc7 for Errno::ENOENT: No such file or directory @...

I'm not sure what you mean with the exception happens after the test?Test should be usually atomic and independent, so all resources you create should be removed immediately after your test...

View Article

Answer by BvuRVKyUVlViVIc7 for Puma zero downtime deployment with cluster...

Ok, I tested it myself: new connections get stuck and you have to wait until your workers have finished loading. Existing connections are not closed. So for zero downtime deployments, you really need...

View Article


TestUnit outdated with Rails 4?

I read that TestUnit was replaced in Ruby 1.9.3 itself with Minitest and that Rails 4 is using MiniTest.Should I move all my TestUnit Tests to MiniTest or is this not necessary?

View Article

Answer by BvuRVKyUVlViVIc7 for How much disk space do heroku plans have?

https://policy.heroku.com/aup#quotaNetwork Bandwidth: 2TB/month - SoftShared DB processing: Max 200msec per second CPU time - SoftDyno RAM usage: Determined by Dyno type - HardSlug Size: 500MB -...

View Article

Ruby-BCrypt: Specify salt

Is it possible to specify which salt is used when encrypting strings with ruby-bcrypt?I know it's not very safe, but I only use it for not-high security data:I have a plattform, and when a user deletes...

View Article

Puma zero downtime deployment with cluster mode and preload_app - what...

Right now I have my puma setup successfully running, with zero downtime deployment via phased restarts (served behind nginx).It works pretty nice, since no connections are lost and the new versions are...

View Article


Answer by BvuRVKyUVlViVIc7 for Naming conventions for Rails migrations

I would split up multiple schema changes into multiple migrations so that you can easily name the single migrations!

View Article


Answer by BvuRVKyUVlViVIc7 for Shrine gem - how to prevent deletion of...

I found a nice and clean way...In your shrine.rb initializer just create a custom class:class NoDeletionShrineS3Storage < Shrine::Storage::S3 def delete(id) true end def...

View Article

Answer by BvuRVKyUVlViVIc7 for How to find the longest string in a column...

With MySql:# Change your model name and field to your needsParticipant.order("MAX(CHAR_LENGTH(first_name)) desc").limit(1)# works too:Participant.order("MAX(CHAR_LENGTH(first_name)) desc").first# and...

View Article

Can a node autoscaler automatically start an extra pod when replica count is...

our autoscaling (horizontal and vertical) works pretty fine, except the downscaling is not working somehow (yeah, we checked the usual suspects like...

View Article


Answer by BvuRVKyUVlViVIc7 for How to connect to primary database and shards...

In general it's absolutely fine to switch connections with an around filter, we have been doing this for years (even before Rails 6) in my previous company.Btw: did you see that the guide is mentioning...

View Article

How to upgrade Rancher 2.4, created by quicksteps on Digital Ocean

some weeks ago we created our rancher installation on Digital Ocean by following these steps: https://rancher.com/docs/rancher/v2.x/en/quick-start-guide/deployment/digital-ocean-qs/Now we want to...

View Article

Answer by BvuRVKyUVlViVIc7 for How to upgrade Rancher 2.4, created by...

We just removed the old installation and imported the cluster again in the new rancher installation.

View Article

Answer by BvuRVKyUVlViVIc7 for Possible to remove cluster from 2.4.8 server...

Just to give some feedback after we solved it by our selfes:We removed the old installation and imported the cluster again in the new installation, worked fine wihtout problems.We also had another...

View Article



Possible to remove cluster from 2.4.8 server and import it on a fresh 2.5...

due to a wrong installation method (single node) we would like to migrate our existing kubernetes cluster to a newer and HA-rancher-kubernetes cluster.Can someone tell me if it’s safe to do...

View Article

MiniTest - ReRun only failed tests

Is it possible to let minitest run only the failed tests via rake task?Couldnt find anything in internet about this...With rspec or cucumber it worked.. Is there any possibility here?

View Article

helmfile best practices with multiple customers

We would like to have some recommendations, since we want to integrate helmfile in our deployment process...Our infrastructure has following details:we have many customersall customers have the same...

View Article

Answer by BvuRVKyUVlViVIc7 for Android - WorkManager - Result.success()...

I had a similar problem, and it looks like the queue was full from previous Workmanager enqueuings.I did following during application start and now it works fine:...

View Article


Rails - Best-Practice: How to create dependent has_one relations

What's the best practice to create has_one relations?For example, if I have a user model, and it must have a profile...How could I accomplish that?One solution would be:# user.rbclass User <<...

View Article

Answer by BvuRVKyUVlViVIc7 for Rails - Dynamic query all records from...

You should take a look at the named routes feature in Ruby on Rails: https://guides.rubyonrails.org/routing.html#path-and-url-helpersCreating a resourceful route will also expose a number of helpers to...

View Article

Decode base45 string

We are trying to implement the verification of the new EU corona virus test/vaccination certificates, but can't get the base45 decoding working.Specification is here:...

View Article


Answer by BvuRVKyUVlViVIc7 for Devise login succeed when not confirmed

argh...I set the wrong configuration in devise.rb # ==> Configuration for :confirmable # The time you want to give your user to confirm his account. During this time # he will be able to access your...

View Article


Devise login succeed when not confirmed

Could you tell me how to integrate the confirmed? attribute into the session-login process?I've set up a working app with devise with confirmable and authenticatable enabled...But I can log in with a...

View Article

Answer by BvuRVKyUVlViVIc7 for Dynamic concerns with inheritance not loading...

Actually it's a feature of Rails that the same module doesn't get loaded multiple times.We started to use the normal ruby module inclution hooks and it worked fine!module CustomConcern def...

View Article

Dynamic concerns with inheritance not loading twice, but only once

We are loading code dynamically with concerns, based on some environment variables, which works pretty nice.Something like this:# User classclass User include DynamicConcernendmodule DynamicConcern...

View Article

Helmfile with additional resource without chart

I know this is maybe a weird question, but I want to ask if it's possible to also manage single resources (like f.e. a configmap/secret) without a seperate chart?F.e. I try to install a nginx-ingress...

View Article


Rabbitmq set name for webstomp / stompjs temporary queues

I just wanted to ask if it is possible to specify the name for the temporary auto-delete queues, which are bound to the destination when I subscribe to a webstomp queue/exchange.The reason is, that I...

View Article
Browsing latest articles
Browse All 42 View Live




Latest Images