Quantcast
Channel: User Chris - Stack Overflow
Browsing all 40 articles
Browse latest View live

Answer by Chris for How to Delete all documents in collection in Firestore...

Really surprised nobody has recommended to batch these delete requests yet.A batch of writes completes atomically and can write to multiple documents. Batched Writes are completely atomic and unlike...

View Article


Answer by Chris for Flutter read/write to external storage with Android SDK 30+

This is going to be a long answer and a lot of the code is specific to my use case so if someone wants to reuse it, you might need to tweak things.Basically with the changes in Android 30+ I wasn't...

View Article


Answer by Chris for How do I get xjc?

If you're just looking to parse XML as a one off, and you don't want to deal with downloading random binaries, or messing about with your PATH, you can easily get access to xjc by installing any JDK...

View Article

Amazon S3 java sdk - download progress

Trying to find how to output a clean count of 0 - 100% while downloading a file from amazon. There are plenty of examples of how to do this for uploading but they don't seem to directly translate to...

View Article

Answer by Chris for Spark Cannot detect ES version - AWS OpenSearch

You need to configure your OpenSearch to be running in compatibility mode. There is a flag during setup/creation which will enable this.This can also be done via an API call:PUT...

View Article


Answer by Chris for How to return validation error messages with Springboot...

I was able to solve this by deleting the ErrorController and going back to what I had previously tried which was writing a custom implementation of WebExceptionHandlerThe important thing to note here...

View Article

How to load ESB Volume by ID via .ebextensions

I'm trying to mount the same volume for a Beanstalk build but can't figure out how to make it work with the volume-id. I can attach a new volume, and I can attach one based on a snapshot ID but neither...

View Article

RabbitMQ send messages to specific queue for a specific user

I'm trying to set up a STOMP relay using RabbitMQ, Springboot, and ReactJS. I just want to be able to send a specificnotification to a specific userId.At this stage I'm not trying to secure anything,...

View Article


Android MenuItem only showing in second load of fragment

I have a single activity android app, when the first fragment loads the toolbar doesn't show the menuItem but it does show the title. If I navigate to any other fragment, then back to the home fragment...

View Article


Answer by Chris for Firebase Authentication and Crashlytics Issues in Android...

The problem was with Proguard/R8 and how it handles minifying the Firebase SDK. This was resolved in an update a week or so ago (Issue had been open since 2020)Fixed an issue with Proguard rules when...

View Article

Colima, PyCharm, and AWS SAM - cannot find pydevd.py

Running a Mac M1 trying to start AWS SAM inside a Docker container through PyCharm fails withSTART RequestId: 35db17a5-d684-4ffa-b3ad-d50e253561b7 Version: $LATEST/var/lang/bin/python3.9: can't open...

View Article

How to return validation error messages with Springboot WebFlux

How do I return the custom validation errors for Springboot 3.0 with WebFlux?I have wired up the following controllerimport...

View Article

Dynamic tables via DMS -> Kinesis -> Iceberg (Transactional data lake)

Using a Glue Streaming job, receiving events from DMS via Kinesis how do I take those events and push them into a Iceberg table in S3?The problems I'm running into is when I get the event from the...

View Article


Firestore replying entire document changeset/history

I have two cloud functions, when a user authenticates with my frontend web app, it sets a flag on the user object, this triggers the first cloud function to execute:exports.observeUserUpdate =...

View Article

SSLHandshakeException when connecting to OpenSearch (AWS) via Spark

I'm trying to write data into a OpenSearch managed service in AWS when running my code locally via IntelliJ. However everything I've tried and I can't seem to get past:24/05/08 15:38:00 ERROR...

View Article


AWS CDK Setup cognito + lambda - Forbidden

I'm attempting to set a simple "Hello Word" example where a user can access a lambda endpoint only after authenticating with Cognito via social login.I have all the code which deploys succesfully and I...

View Article

Reactor core, take 30 then wait before taking another 30

Using reactor.core.publisher.Flux, how can I take n number of values from a Flux and then wait for a duration before taking the next batch?onboardService .loadRepositories(user) // Flux of values...

View Article


Calculate difference between each time value in a flat array

I'm having issues looping through an array and comparing each value to the next. Currently my function works, but it only compares values in sets of two. For example if in the 'Start' value I...

View Article

Reactor core, take 30 then wait before taking another 30

Using reactor.core.publisher.Flux, how can I take n number of values from a Flux and then wait for a duration before taking the next batch?onboardService .loadRepositories(user) // Flux of values...

View Article

Firestore replying entire document changeset/history

I have two cloud functions, when a user authenticates with my frontend web app, it sets a flag on the user object, this triggers the first cloud function to execute:exports.observeUserUpdate =...

View Article
Browsing all 40 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>