Archivo de la categoría: Sysadmin

Crypto Mining – PPLNS or PPS rewards ?


  • PPLNS is a way of determining how many cryptocoins you get for your shares completed. This method of calculating payouts includes a «luck» factor. Using PPLNS your payout per share will have a large range (30% more or less on your payouts), but on average, PPLNS earns more than PPS (by 5% or so) in the long run (a month or more).
  • PPLNS is pay-per-last-N-shares, where N is some number. What this does is essentially cap the timeframe for which the percentage is calculated. So, if the round was 5 hours and it took 1000 hashes but the PPLNS was set to 1 hour, and you were some pool hopper that mined for an hour in hour #2 with 900 hashes, you get nothing.
  • PPS is also known as Pay Per Share. It is a more direct method where you get a standard payout rate for each share completed.This method eliminates the «luck» in your payout, but can decrease your total income per share by around 5%.Using PPS you get a set number of cryptocoins per share of work you have solved. It has no random involved so the payouts do not fluctuate.
  • PPS is pay per share, usually round-based. So, if a round (i.e., the time between last block was found and new block found) took 1000 hashes and took 5 hours and you, the miner, contributed 100 hashes, you can 10% of the block reward. So if the round was 5 hours and it took 1000 shares but the PPLNS was set to 1 hour, and you were some pool hopper that mined for an hour in hour #2 with 900 shares, you get 90% even though you stopped mining with the pool.

How many coins per month

So in this post i will show you how you can get a grand total monthly of your miner profits for stats and for supervising the production and overall get more info about your ops.

The first thing you have to do is go to your wallet transactions sections and select a time period available in the combo box like today – last month – last week, then you can export that to a cvs file that you can manipulate.

Seguir leyendo How many coins per month

How do I protect my bitcoin

So a lot a people is asking me about how to protect their cryptos assets, i will tell you in this post all i am doing to take care of my Satoshis.

Ok, so the first thing you need is a computer a formal one that means no smartphones, no laptops, no ledgers nanos you need a tower desk computer that act as server.

The computer must have new parts if you are going to hold 0.5 BTC you don’t want to hold it in a old hard drive buy a new one.

Seguir leyendo How do I protect my bitcoin

WhatsApp, Facebook e Instagram vuelven a fallar a nivel mundial

Las redes sociales presentan problemas de carga en varios países desde las 14:00 (hora de Argentina).

Las populares redes sociales Whatsapp, Facebook e Instagram, todas ellas propiedad de Facebook, han vuelto a fallar y presentan problemas de carga a nivel mundial, según reportan los usuarios de Downdetector.

Seguir leyendo WhatsApp, Facebook e Instagram vuelven a fallar a nivel mundial

Postgres: file -> Bytea

Antes que nada, creamos una tabla en la Base de datos:

prueba=# create table archivo (Id serial, Nombre varchar(20), Tipo varchar(20), Contenido bytea, primary key (Id));

Luego hay que crear un formulario sencillo HTML:

 <form action="dato_image.php" method="post" enctype="multipart/form-data">
           <tr> <td>
               <label for="archivo">Busque El archivo</label> </td>
               <input type="file" name="archivo" size="20"> </td></tr>
                <input type="submit" value="cargar archivo"></td></tr></table>    </form>
Seguir leyendo Postgres: file -> Bytea

Owncloud 10 fixing warnings

No memory cache has been configured

This issue can take a bit more time and decision making based on what memory cache you use. It is all well documented here. In my case I went with the recommended APCu solution. First I installed APCu with

sudo apt-get install php-apcu

Then you should restart your web server, with the first line below. Then you ned to go and edit the config file config.php which lives in /var/www/owncloud/config adding ‘memcache.local’ => ‘\OC\Memcache\APCu’,.

sudo service ngnix restart
Transactional file locking should be configured to use memory-based locking, not the default slow database-based locking.

This is also documented in the link for first issue. You need to install Redis like so

sudo apt-get install redis-server php-redis

Then to the config you need to add the following lines:

  'redis' => [
  'host' => 'localhost',
  'port' => 6379,
  'memcache.locking' => '\OC\Memcache\Redis',