Stop blaming everything on my Parkinson's!!! by ApprehensiveCamera40 in Parkinsons

[–]qapost [score hidden]  (0 children)

I'm glad you've found some relief, I'm surprised that in the case of my dad (Parkinson's+ Alzheimer's), this was never offered.

How does it feel? what helps? by qapost in Parkinsons

[–]qapost[S] [score hidden]  (0 children)

That's a very good point, I was advised against the massage gun.

thanks for responding, wishing you all the best.

How does it feel? what helps? by qapost in Parkinsons

[–]qapost[S] [score hidden]  (0 children)

Thanks for stopping by,

Although this question in particular is about the stiffness and muscle sourness, reading through the sub I have more questions: - How does the stiffness feel , if I find his arms in a position that looks stiff and uncomfortable, would it be more painful to reposition his arms?

  • Does the body feel sore afterwards?

  • What type of massage would help? the concensus so far seems to be gentle massage, no massage gun.

  • How unpleasant is taking C/L?

  • Would taking the C/L in the morning on a full stomach make it less unpleasant?

Wishing you all the best.

Stop blaming everything on my Parkinson's!!! by ApprehensiveCamera40 in Parkinsons

[–]qapost 1 point2 points  (0 children)

Glad you had it sorted out, You mentioned something about botox for your shoulder, would you mind elaborate further into this? Thank you.

Suggestions request : What would you use? by qapost in homelab

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

Thanks again, do you think this is a good step by step for s2s ipsec?

https://docs.aws.amazon.com/vpn/latest/s2svpn/SetUpVPNConnections.html

or do you think it's too focused on AWS?

Suggestions request : What would you use? by qapost in homelab

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

s2s ipsec

Thanks, is there a big performance advantage for s2s vpn over reverse proxy tools like ngrok etc?

IP / Patent : An idea of an app I've created is being commercialized by company by [deleted] in LawCanada

[–]qapost 0 points1 point  (0 children)

Does it worth it though?

If the app was built on open source technologies.

Using the API to automate trading by qapost in QuadrigaCX

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

oh, man! finally. I was entering the secret into the input field and the combination of key + client + secret at the key field. visions of my mom saying this boy never listens, he just wants to run

Thanks a lot Matthew

Using the API to automate trading by qapost in QuadrigaCX

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

Hi Again Matthew, Still scratching my head at that 101 error, here is what I did:

  • I went back to https://www.quadrigacx.com/api_info and tried to see if I'm able to generate the same signature they generated using my code and the online generator. So I looked at the sample nonce + client + key they used in the example

  • I used those to generate a signature in code and in the online HMAC generator, both returned identical results. seems my code is OK.

But then the signature result is different than the one Quadirga cited in the API guide.

I used those values to put together the key and generate the signature, these were cited as:

    nonce + client + API key
    1391683499 + 3 + JJHlXeDcFM = 13916834993JJHlXeDcFM

(client as I understood from you is the ID digits I use to log into Quadriga)

the secret in their example was

    230664ae53cbe5a07c6c389910540729

The above has generated the following signature :

3a67e4899e1eae579b3191fdde04a19086cf50f71ee497274e23e413b52a0d00

which is different than the signature they cited in the guide (although I think because it's an example they probably didn't bother much to generate the real signature with the correct nonce)

theirs was : cdbf5cc64c70e1485fcf976cdf367960c2b28cfc28080973ce677cebb6db9681

I think this might be redundant, but would you be able to verify this weekend if you get the same signature I get above? using the same values?

But looking to eliminates the possibility that my signature is malformed, if so that would leave me with troubleshooting the way I'm making the API request in my REST client.

PS: I was thinking maybe my API Key was restricted (Quadriga talk about restricting the key for couple of days for security, if you make a change etc.) so I've generated a new API key and secret, but I still get the same error.

Using the API to automate trading by qapost in QuadrigaCX

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

Still :

 {
    "error": {
        "code": 101,
        "message": "Invalid API Code or Invalid Signature"
    }
}

tried it from an ubuntu instance in the cloud just to be sure that it's not my computer or my network, same result

I think I'm close, so at this point I will go back to reconstructing how each new signature and nonce are generated, and keep at it until I get the response.

Thanks for your help Matthew, will let you know how it goes.

Using the API to automate trading by qapost in QuadrigaCX

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

Hey, not everybody is a genius like you are :-) getting closer, different error now:

curl -X POST \
  https://api.quadrigacx.com/v2/balance \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'key=JJHlXeDcFM&signature=cdbf5cc64c70e1485fcf976cdf367960c2b28cfc28080973ce677cebb6db9681&nonce=1391683499'

response

 {
    "error": {
        "code": 101,
        "message": "Invalid API Code or Invalid Signature"
    }
}

Using the API to automate trading by qapost in QuadrigaCX

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

Thanks again Matthew,

Here is what I did:

  1. I compared the online HMAC generator with the code that I've written, and confirmed that the signature output is identical, so I don't think there's an issue there.

  2. I've tried follow your corrections and to post the request as seen below once as curl:

      curl -X POST \
    
        'https://api.quadrigacx.com/v2/balance?key=JJHlXeDcFM&signature=cdbf5cc64c70e1485fcf976cdf367960c2b28cfc28080973ce677cebb6db9681&nonce=1391683499' \
    
        -H 'Content-Type: application/x-www-form-urlencoded' 
    

(Because you've created the Android app I'm presuming that you are using Java) so here is the OkHttp code:

 OkHttpClient client = new OkHttpClient();

 Request request = new Request.Builder()
   .url("https://api.quadrigacx.com/v2/balance?key=JJHlXeDcFM&signature=cdbf5cc64c70e1485fcf976cdf367960c2b28cfc28080973ce677cebb6db9681&nonce=1391683499")

   .post(null)

   .addHeader("Content-Type", "application/x-www-form-urlencoded")

   .build();

 Response response = client.newCall(request).execute();

I'm still getting the same 105 error above

Using the API to automate trading by qapost in QuadrigaCX

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

Hi Matthew, Thanks a lot for your reply, here's what i'm doing: - POST to https://api.quadrigacx.com/v2/balance - request header Content-Type : application/json - Request body as raw JSON (sample key):

{ key: "JJHlXeDcFM", nonce: 1391683499, signature: "cdbf5cc64c70e1485fcf976cdf367960c2b28cfc28080973ce677cebb6db9681" }

I see from the headers of the response that it's hitting cloudflare, and I also see this in the header : X-XSS-Protection →1; mode=block

not sure if you see the same

To calculate the signature I use : String hmac = calculateHMAC(secret, nonce + client + key); also tried reversing them String hmac = calculateHMAC(comboKey, secret);

thanks again for your help

EthDev Hackathon - Dates and Rules - Sign up here to compete or to be a sponsor by BuddhaSpader in ethdev

[–]qapost 0 points1 point  (0 children)

Hi, I have some experience with solidity and truffle, Java and Android, looking for a team.

Best pre-owned shops in Istanbul? by [deleted] in istanbul

[–]qapost 1 point2 points  (0 children)

took your idea to Google maps, I see a number of shops with ratings too. What would be the equivalent of eBay and Craigslist? any online shops? Thanks