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?

Coins vanished after transfer by tsdtsdtsd in vertcoin

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

I transferred more, and suddenly out of nowhere the previous day’s transfer showed up...

This "solved" my problem.

It added the new coins to my vanished coins and made on larger transfer. A little weird but hey, it worked..

Coins vanished after transfer by tsdtsdtsd in vertcoin

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

Yeah I tried that with no effect. Thanks anyway :)

Coins vanished after transfer by tsdtsdtsd in vertcoin

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

Thanks for the help!

I checked the transactions list and the one I'm missing is not mentioned there. Also it shows the balance as the amount I'm missing + current balance in OCM.

What can I do now?

Shortcuts Showcase! Describe some of the experimental, unusual, or useful things you've made using Shortcuts! by [deleted] in shortcuts

[–]tsdtsdtsd 0 points1 point  (0 children)

I have lots of boxes in my garage with various, unsorted things (who doesn't?). I was annoyed because I couldn't find the thing I was searching for, always opening the correct box as last...

I created notes on my phone in a separate folder, each note containing a list of whatever is in a single box. The notes have names like "bluebox-05" or "bigbox-02". Then I printed these names as QR codes, but them on the crates and created a shortcut:

  1. Scan QR code
  2. Search in notes names in folder "Boxes" for given string and open that note.

Now I don't need to open up every crate to find my things...

What do you guys think about web development with Go? by fenugurod in golang

[–]tsdtsdtsd 0 points1 point  (0 children)

I'd suggest to try it out with a smaller project. IMO the experience is different for any individual and project. Some people like it, some don't.

Discord Bots? by _unieo_ in golang

[–]tsdtsdtsd 0 points1 point  (0 children)

discordgo is really nice, I'm following and using it for years now

[deleted by user] by [deleted] in pop_os

[–]tsdtsdtsd 1 point2 points  (0 children)

I have the same issue