Categories
Mastering Development

ECS Fargate 1.4 Not Using VPC Endpoints

This is an odd one. I have an ECS service using Fargate v1.4 in a private subnet. Since the tasks don’t have access to the Internet, I had to configure VPC Endpoints so that tasks could load what they needed from AWS services (e.g. secrets from SSM, the image from ECR, etc.). This was all […]

Categories
Database Development

SQL Azure Indexes need Rebuilding for Foreign Keys to work

We have a product that runs off SQL databases. Until recently, each of our clients had their own fileserver running SQL Server, however we have now started hosting on Azure for some existing and some new clients. Attempting to roll out the latest version of the software to our clients, we’ve run into an issue […]

Categories
Ask Engineering

Fail-safe joystick connection

I am looking for ideas to implement fail-safe function in joystick control box. At present, the 5V joystick HF11S10 is connected to STM32 ADC inputs via simple 5.1k:9.1k divider. We are revising the schematics to conform to all requirements for powered medical devices, so we would like to be able to detect the disconnected or […]

Categories
Linux Mastering Development Ubuntu

No Audio in laptop speakers or headphones after suspension, but sound plays in screen (HDMI connection), fixes with reboot

I couldn’t hear the songs in my headphones after I had left my laptop and the screen went off (it probably suspended, I can’t remember). It started a few weeks ago and has continued since. I haven’t had this problem before, and there are no significant changes I can think of that could have caused […]

Categories
Development System & Network

Can Azure Dev Ops On Premise actually run jobs in parallel?

Interesting, how hard it is to understand whether or not Azure Dev Ops actually supports executing arbitrary operations in parallel. I see that I can run different build configurations in parallel, have parallel deployments and parallel tests but what I am not getting: Does Azure Dev Ops 2019 on Premise supports executing two unrelated tasks […]

Categories
Development

addArrangedSubview is overlapping views

My problem – when I add arranged subviews to a stackview programmatically, they just pile up in the upper right-hand corner as shown below. Why aren’t they stacking up? I’ve tried many, many things including using views that have an intrinsic size. The stackview is called mainStack and comes from a xib. mainStack is a […]

Categories
Development

addArrangedSubview is overlapping views

My problem – when I add arranged subviews to a stackview programmatically, they just pile up in the upper right-hand corner as shown below. Why aren’t they stacking up? I’ve tried many, many things including using views that have an intrinsic size. The stackview is called mainStack and comes from a xib. mainStack is a […]

Categories
Development

Visual Studio/Xamarin No rsc found that matches the given name

So basically I was trying to to add a cover image on my application but unfortunately when trying to build the application it came up with one of the errors I couldn’t solve out I was trying to add a cover image with different name however it didn’t work out at all. Nota Bene I’m […]

Categories
Development

Albert_base : Inference from ckpt different from inference from saved_model

I wanted to fine-tune Albert_base with further mlm task, but I realized there is no pretrained ckpt file provided for albert-base. So my plan was to convert the saved_model(or model loaded from tf-hub) to checkpoint myself, and then pretrain albert-base using the code provided (https://github.com/google-research/ALBERT/blob/master/run_pretraining.py). Before further pretraining, to check whether the conversion to ckpt […]

Categories
Development Linux Ubuntu

GNOME: supend on laptop lid close no longer works since 19.10 upgrade

I’m quite positive that this used to work flawlessly in 19.04 (and past releases) but no longer does after a release-upgrade to 19.10 (kernel 5.3.0-24, ThinkPad X1 Carbon gen 5 in case this matters). I have the corresponding switch set in GNOME-Tweaks and have also attempted to manually edit /etc/systemd/logind.conf as suggested here, namely uncomment […]