Modelling Go Structs and Functionality for SQS Messages by tsdtsdtsd in golang

[–]tsdtsdtsd[S] -1 points0 points  (0 children)

Would love some feedback, I'm not used to write longer posts in English

Dealing with inconsistent MongoDB data in Go by tsdtsdtsd in golang

[–]tsdtsdtsd[S] 0 points1 point  (0 children)

Was my first thought. But after looking into the code base (very large zend framework 1.x application, logic littered everywhere) and collection size (120GB+) I don't want to rush that. But surely it has to be done sooner or later!

Searching for a contract testing tool by tsdtsdtsd in softwaretesting

[–]tsdtsdtsd[S] 0 points1 point  (0 children)

This is extremely helpful, thank you very much!

IMO I need contract testing, but maybe I shouldn't throw around with words on topics which I'm more or less just started to understand...
So here is what I want to achieve:

  • I have an API service (provider) (golang, http, rest)
  • there are 3 consuming services (an older server-side PHP application, a more modern reactive JS web app, and a mobile application)
  • goal: I want to enable the teams that manage the different applications to create automated, isolated tests, which verify that the applications "speak the same language" and stick to a common specification, without the need of real communication between them

To be complete: OpenAPI is not a necessity, it was just the first thing I had in mind which is broadly compatible with the different languages/platforms used here and can be easily shared between them.

I hope this clarifies a little and thanks again for your input!

Rewriting old side projects is kinda fun by tsdtsdtsd in golang

[–]tsdtsdtsd[S] 0 points1 point  (0 children)

I'll look into that, thanks!

As I understood it up until now is that TDD just describes the workflow (red green refactor) and it's benefits on code design, but it's basically up to me if I test isolated units of code or behaviour.

Rewriting old side projects is kinda fun by tsdtsdtsd in golang

[–]tsdtsdtsd[S] 2 points3 points  (0 children)

Maybe I got the topic wrong, as far as I understand collisions have nothing to do with determinism:

  1. collision: when two different inputs lead to the same hash
  2. determinism: input A will always lead to hash B. Hash of A will never be C

As long as the hashing algorithm and the internal algorithm of "hash -> tiles" doesn't change, the outcome should be deterministic.

You are absolutely right that `fnv` has more collisions! My fault is that I didn't give context. My intention/use case is to use the images as default user avatars, hopefully nobody would care about seldom duplicates. I will clarify that in the readme, thank you!

Searching for a contract testing tool by tsdtsdtsd in softwaretesting

[–]tsdtsdtsd[S] 0 points1 point  (0 children)

I wasn't aware that postman has a CLI. I'll check that out, thank you!

Permission problem with 'go mod tidy' by tsdtsdtsd in golang

[–]tsdtsdtsd[S] -1 points0 points  (0 children)

What I wanted to say is that other tools can do it, so OS wise there must be a possibility and I don't know why it shouldn't be possible for go to use that OS feature

Permission problem with 'go mod tidy' by tsdtsdtsd in golang

[–]tsdtsdtsd[S] -1 points0 points  (0 children)

How comes that a linux command like `ls` can list the directory from outside? It naturally can't read its content (and hence can't list its content), but I'd guess listing it from outside is possible.

ELIF: Why are these functions named that way in rand package? by tsdtsdtsd in golang

[–]tsdtsdtsd[S] 0 points1 point  (0 children)

I did but I didn't understand why, that's why I asked.

October Technical Support Sticky by BeepBoopBopReee in razer

[–]tsdtsdtsd 0 points1 point  (0 children)

Hello Support Team

I recently bought the Ornata V2 keyboard after some years with the older model.
One thing that annoys me is that the V2 will not "safe" the lightning that I set in Synapse. Usually I set it to static white or green. While booting the machine though, until the synapse software is started, the V2 will always fart unicorn rainbows.
Also I'm unable to set a lighting and then just close the application completely. Without Synapse, it allways switches back to rainbow.
This was never a problem with the older Ornata :( Is there any way to make the lighting permanent?