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

Comment by Chris on Flutter read/write to external storage with Android SDK 30+

I ended up implementing MethodChannel calls in native Kotlin as I wasn't able to get it working in Dart

View Article


Comment by Chris on How to write large volumes of unique data to Postgres...

While this will reduce the memory consumption of each chunk, it still won't scale as eventually hashCodesOfSavedImages will consume more memory than allocated to the JVM

View Article


Comment by Chris on How to write large volumes of unique data to Postgres...

@jjanes read it again and check the try/catch block.

View Article

Comment by Chris on Trying to record computer audio (not Microphone)

I'd argue allowing access to the microphone would be a much larger risk than simply the audio stream being sent to the output... anyway; I've seen a bunch about being able to use the Mixer class and...

View Article

Comment by Chris on Unable to use Spring cloud to connect with AWS SES

A good thing you don't need the link to solve the problem.

View Article


Comment by Chris on Can't get sub directories of a ACTION_OPEN_DOCUMENT_TREE...

No, but new to android and kotlin so made a bunch of assumptions :D

View Article

Comment by Chris on Android snackbar looks to be attached to a nested scrollview

I tried that, but as per my question then the CollapsingToolbarLayout breaks and no longer collapse, as well as clips through the content.

View Article

Comment by Chris on Spring reactive OAuth2 resource-server: include both...

Yeah I'm aware of this 'feature' of Cognito, I guess my question is more focused on around how do I go about converting the JWT I get into a more feature rich user object, using the oauth2/userInfo...

View Article


Comment by Chris on Spring reactive OAuth2 resource-server: include both...

7/7 answer. Exactly what I was looking for.

View Article


Comment by Chris on Webflux with reactive redis cache

I've updated the question, if I understood you correctly. I'm just doing a standard @Cacheable on the service class

View Article

Comment by Chris on Firebase Authentication and Crashlytics Issues in Android...

Unfortunately it does not.

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

Answer by Chris for Jackson deserialise JSON with many dynamic nodes

Yeah was clearly overthinking it. As @chrylis suggested a Map was the right direction to go in.Simple as:final TypeReference<HashMap<String, Language>> typeRef = new TypeReference<>()...

View Article


Jackson deserialise JSON with many dynamic nodes

I'm trying to deserialize a JSON file with the format of{"English": {"hex": "FF0000" },"Spanish": {"hex": "0000FF" },"Japanese": {"hex": "FFFF00" }}But I don't want to create a class for each language...

View Article

Answer by Chris for AngularFire Missing or insufficient permissions on login,...

I was able to solve the error by replacing the standard subscription with a switchMapconstructor( private angularFireAuth: AngularFireAuth, private firestore: AngularFirestore,) {...

View Article


AngularFire Missing or insufficient permissions on login, works after refresh

I have a very standard Angular 12 application where a user logs in with Firestore and can then perform CRUD operations over their own documents.As soon as you login to the application it...

View Article

Answer by Chris for Jackson YAML Serialization Object Arrays Format

In today's environment using at least version 2.12.x of jackson-dataformat-yaml thanks to the introduction of YAMLGenerator.Feature.INDENT_ARRAYS_WITH_INDICATOR, you can simply just do:public...

View Article


Answer by Chris for Firestore listener subscription triggers random number of...

Well I've solved my actual problem by setting a timestamp on the object via another firestore listener, then comparing the current and previous to only trigger once.I'll post this code if anyone comes...

View Article

Firestore listener subscription triggers random number of times

I have a Firestore listener that seems to trigger a random number of times. On the first page load, it might trigger 5 times, refreshing the page and it fires 13 times.@Injectable({ providedIn:...

View Article

Firestore rule split a custom token and see if it matches

I have custom claims set on users, the claims look likeorganizations [ 933219123_Project-name, 311239123_Different-Project-name]The first part is the DocumentId in Firestore. is it possible to split or...

View Article
Browsing all 39 articles
Browse latest View live


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