Category Archives: Uncategorized

Negating the minimal integer result in an overflow in C++

The code below compiles with a warning:

#include <iostream>
#include <limits>
#include <cstdint>

int main()
{  
    int64_t m1 = -std::numeric_limits<int64_t>::min();
    int64_t m2 = -m1;
    
    std::cout << m1 << std::endl << m2 << std::endl << std::numeric_limits<int64_t>::max() << std::endl;
    
    return 0;
}
(more…)

Setting Google AdMob Seller information

There is a new Seller information option in Google AdMob that may affect the advertising revenue. I set it up in Google AdMob Console on Settings page as follows:

See some link about this.

‘Timestamp for this request is outside of the recvWindow’ error in CCXT

If I use CCXT on my Windows machine I periodically get ‘Timestamp for this request is outside of the recvWindow’ error.

Exchange has the following options by default:

(more…)

Updating my Google Play app settings.

I switched the advertising on at Store Presence->Pricing & Distribution page:

(more…)