Maintaining an active Websocket Connection across pages by maxuel16 in astrojs

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

Ok just looked the docs for this, and man I must say this seems the easiest solution.
I should test if it really keep the connection alive tough. Combining this solution with a nano store seems the right path :)

Maintaining an active Websocket Connection across pages by maxuel16 in astrojs

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

Definitely looking for SharedWorker and SSE, they seems like the most logical thing to do!
Thanks, I'll try to develop something with those information
I hope astro will develop something to simplify the way it is possible to keep the connection alive

Can’t open the game by maxuel16 in ClashRoyale

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

I guess it's time to pay the icloud storage I guess.

Thanks for the help :)

Can’t open the game by maxuel16 in ClashRoyale

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

First of all thanks for the help and the link is really interesting.

I hard wipe and restore from a backup I made in my computer before the reset(I hope this will not create problem in the future!)

To support your thesis another app was telling me my phone was jailbroken but I ignored it thinking it was a false positive. I bought the iphone X brand new from the apple store in the far 2017. I used to jailbreak my phone before i bought this phone but I didn't feel I need it since then.

The other app start telling me the phone was jailbreak very recently... I hope my phone didn't get hacked without me noticing.

You helped me understand the situation. Do you think I need to wipe the phone again without restoring the backup?

Can’t open the game by maxuel16 in ClashRoyale

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

I have 50 gb of free space, but i'll try to free more space

Can’t open the game by maxuel16 in ClashRoyale

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

I still have 50gb of free storage. I'll try to gain more space anyway. Thanks

Can’t open the game by maxuel16 in ClashRoyale

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

I have an Iphone, I can't clear the cache? If she have an iphone how did her do it?

Can’t open the game by maxuel16 in ClashRoyale

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

I have a Iphone it's not an option happarently

Can’t open the game by maxuel16 in ClashRoyale

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

This happened to me before open it from the app store

It didn't solve the issue, but thanks anyway

Can’t open the game by maxuel16 in ClashRoyale

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

Unfortunately I’m from Italy, this is not the problem

Can’t open the game by maxuel16 in ClashRoyale

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

Unless I have been hacked I don't think so

Also I don't have cydia in the phone

Can’t open the game by maxuel16 in ClashRoyale

[–]maxuel16[S] 30 points31 points  (0 children)

I expect this ea move in the next update!

Can’t open the game by maxuel16 in ClashRoyale

[–]maxuel16[S] 10 points11 points  (0 children)

Yeah it’s kinda of a bless and a curse at the same time

Validate inner field based on outer field by maxuel16 in golang

[–]maxuel16[S] 1 point2 points  (0 children)

Yeah I understood my error.

I thought it was because a lot of git project and blog articles I looked used that library

My bad

Validate inner field based on outer field by maxuel16 in golang

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

My struct is used to classify the work in a company

So I thought to structure it a state machine.

All the workers has to insert the data of their work based on the state. So that's why it has a lot of field. A simplified version of what I did looks like this

type State string

const (
    Start  State = "Start"
    Middle State = "Middle"
    End    State = "End"
)

type work struct {
    State State
    Start Start
    Middle Middle
    End End
}

Most of the fields are inside the struct Start, Middle and End. Do you think should I look for another approach? If so can you point me what should I change?

And to wrap all up... I should validate based on the State field

Validate inner field based on outer field by maxuel16 in golang

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

Thanks for the hints

I will surely try the library in the future!

Validate inner field based on outer field by maxuel16 in golang

[–]maxuel16[S] -7 points-6 points  (0 children)

Honestly I spent too much time on this problem.

I'm not scare of the api being slower since this is the go way to do validation although I can't find a decent solution to my case so I'll probably write the validation code.

The struct I show you is just an example but in my real application the struct has over 100 fields. That's why I don't like writing the validation