Zendesk and the importance of development environments

Back when I worked for a big software house, before the days of git repositories, our clients would have 4 installs of our software – development, testing, staging, and production. Bugs didn’t get past our awesome test teams and rollbacks were rare.

I’ve worked with a client more recently and we still had 3 environments but git made the development environment almost 2 tiered.
SEMrush

So, it’s with amazement that I’m watching the meltdown at Zendesk where “pods” (servers?) are unstable, needing a rollback and have even taken down Zendesk’s own chat service.

upload_2021-6-11_11-25-54.png

Their social media team is doing really well and they’re being open about the issue: https://support.zendesk.com/hc/en-us/articles/4402552467994-Service-Incident-June-10th-2021

Something to remember when you’re having a bad day, even the big guys screw up!

 

How to not sync applications across desktop environments in windows 10?

I like to keep two desktops on my Windows 10 machine. However, I prefer these to work mostly independent of each other. I would like the apps to not be spread across both desktops. Let me show you what I mean.

Here is the taskbar on Desktop 1:

enter image description here

Now if I go to Desktop 2 using the task view button shown here:enter image description here

The taskbar also looks like this:

enter image description here

I would like it to have no apps open at the bottom in Desktop 2. I find it annoying that when I open Chrome now on Desktop 2 it sends me over to Desktop 1. Do you know how to make the two desktops operate mostly independent of each other?

ssl – we are performing mysql crawling on 4 different client environments which has centos7 by upgrading maven dependecy jar version from 5.1.6 to 8.0.2

we are performing crawling on our four different client environments by upgrading maven dependecy jar version from 5.1.6 to 8.0.2.

As per below mysql link connection should be established to mysql server from client environment using ssl(i.e through SSL Handshake.)after upgrading to maven dependency jar version 8.0.2.

https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-using-ssl.html

it is performing ssl handshake by using code itself for connecting to mysql server from 3 environments as expected and as per given in documentation.

But in one environment after upgrading to maven dependency jar version 8.0.2. it is not using ssl handshake to connect to mysql server rather it is connecting through jdbc url with username and password to connect to mysql server which was the case in previous version of maven dependency jar version 5.1.6.


mysql
mysql-connector-java
8.0.12

Steps Taken to trouble shoot the issue- we have downgraded the maven dependency jar version from 8.0.2 to5.1.6 and upgraded again to 8.0.2.
still it is asking for username and pass which is the case of lower maven dependency jar version 5.1.6.

Would any of you please guide us how to proceed further in order to trouble shoot this issue.

Spinning multiple environments from single backup file

I am having a unique situation where my production database size 5TB (SQLSrv) which needs to be replicated across 4 servers daily. I am looking for an option where all 4 environments can use a single backup file as the source and continue to perform the write operation in isolation thereafter. It will save a lot of disk space and restoration time (3hours per env)

Date calculations give different results in different environments

This query:

WITH RECURSIVE
cte AS ( SELECT 0 n
         UNION ALL
         SELECT n + 1 FROM cte WHERE n < 20)
SELECT n, ('2020-04-13 00:00:00 Europe/Berlin'::timestamptz - make_interval(days => n)) AT TIME ZONE 'Europe/Berlin'
FROM cte
ORDER BY n

On my machine it gives this result:

screenshot

Note that the time switches from 00:00 to 23:00 on the day of the DST switch.

On dbfiddle.uk (Link) the query gives this result:

screenshot

Note that it shows 00:00 for all days, there is no change on the day of the DST switch.

And then on sqlfiddle.com (Link) the result is:

screenshot

Here we have the switch again, but something else is strange here: The time zone of the result is given as Z (UTC) even though everything before was in time zone Europe/Berlin.

desktop environments – Only the first four letters are visible on Ubuntu 20.04 LTS

enter image description here
enter image description here
enter image description here
enter image description here
I’m able to see only the first four letters of a file manager, terminal, and other default tools of Ubuntu 20.04 after updating today’s update.

Does anyone have the same issue? How can I resolve it?

Only web browsers are working correct output. Even the terminal has the same issue. I can’t even run commands!

Note: I have tried to change the font through Tweak Tools, and I’ve also tried from the setting.

node.js – Set ENV variables in different Environments with Kubernetes (Hooks, CI, …)

node.js – Set ENV variables in different Environments with Kubernetes (Hooks, CI, …) – Software Engineering Stack Exchange

java – How to use single Spring-Boot instance for handling multiple environments?

We have a Spring-Boot Web application currently deployed to 7 environments (DEV, SIT, UAT, Pre-Prod, Prod, etc.). This application connects to other REST services, which has different URLs for each of 7 environments and are maintained in environment specific property file for our application.

We are planning to reduce number of environments to 3 (DEV, Staging, Prod) for our application.
So, in the non-prod environments, the consumers of our application will call staging environment of our app and pass an additional header in request telling us which environment they are calling from.

And, our app should call other REST service URLs specific to environment header in request.

I was thinking, we can create beans for each of the REST endpoints for each environment for eg UserServiceDev, UserServiceUat, etc. And we create a factory class where these beans will be injected and based on the environment header it can return appropriate bean.

But this will involve replacing all injected service beans with infecting beans of this factory and will require changes to lot of files.

Is there any easier and cleaner way to do this?

configuration – Deploying appconfigs to different environments

I have a project on Azure DevOps that uses an appconfig.

The appconfig holds sensetive data like usernames and passwords and is committed empty to the repo.

I have to deploy the project on two different environments that need two different appconfigs to run.

What would be the best practice in this case?

I’m conflicted between saving the appconfigs for the different environments and selecting the appropriate one to deploy vs them holding sensitive data and not wanting to save it anywhere.

programming practices – Managing Development Environments

I wanted to get some feedback on how folks manage there development environments.

I am java developer by trade and work personal projects at home.

At work, the environment tends to standardize on specific versions with updates less frequent.

At home, working personal projects, I tend to attempt to upgrade at a more rapid pace, but in doing so end up spending a majority of my time upgrading the tools (i.e. Java, Git, IDEs – Eclipse, IntelliJ, NetBeans, Visual Studio Code, Game frameworks – Unity, etc.) in the environment before actually getting productive on the projects themselves.

To add to the mix, it then also becomes necessary to consider multiple development and target environments (i.e. OS – Windows vs Linux, different runtime/SDKs – java versions, and frameworks).

Further, if specific toolset is expected is there an easy way of managing this and/or replicating a similar setup on separate environment? I would consider having some form of VM (although then it’s still necessary to update the VM, capture in a repository and replicate to the alternative environment). TO a degree something like managing a Docker Image/Continuer seemed a possible way, but presently this seems less practical in trying to containerizing GUIs and IDEs related tools.

How do other developers manage there environment efficiently to reduce the down time while waiting for updates to be installed?

DreamProxies - Cheapest USA Elite Private Proxies 100 Cheapest USA Private Proxies Buy 200 Cheap USA Private Proxies 400 Best Private Proxies Cheap 1000 USA Private Proxies 2000 USA Private Proxies 5000 Cheap USA Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Proxyti.com Buy Quality Private Proxies