XMR-Stak-Nvidia miner running in docker

XMR-Stak is a universal Stratum pool miner. This is the NVIDIA GPU mining version; there is also an AMD GPU version, and a CPU version.

Docker® containers are often used to seamlessly deploy CPU-based applications on multiple machines. But Docker Engine does not natively support NVIDIA GPUs with containers.

I have dockerized the Nvidia GPU-mining version, so it is now running in nvidia-docker.

Containerizing GPU applications provides several benefits, among them:

  • Reproducible builds
  • Ease of deployment
  • Isolation of individual devices
  • Run across heterogeneous driver/toolkit environments
  • Requires only the NVIDIA driver to be installed
  • Enables “fire and forget” GPU applications
  • Facilitate collaboration

Check my  code at https://github.com/cedricwalter/docker-xmr-stak-nvidia

or pull the image from docker hub https://hub.docker.com/r/cedricwalter/xmr-stak-nvidia/ 

List of AMD Threadripper TR4 Socket Compatible CPU Coolers

AMD Ryzen™ Threadripper™ processors with 180W TDP require the type of robust cooling solutions  provided by premium liquid cooling. The following list contains some of the thermal solutions submitted by manufacturers with specifications to support the 180W Ryzen Threadripper Processors. Right now, there are around 20 different coolers with confirmed support, including models from Corsair, Fractal Design, Cooler Master and more. If you really want good performance, wait until there are custom made cooling solutions for threadripper. Asetek (AIO), EKWB and Alphacool (custom water) and Noctua (air) are all developing solutions that cover the WHOLE DIE right now.

Continue reading List of AMD Threadripper TR4 Socket Compatible CPU Coolers

Running an Ethereum Node with Docker

Docker is a powerful tool for managing containers and run-time environments and, besides its many advantages, Docker can also be handy to keep your server tidy and secure.

#Docker allows to run operating systems, applications and tools in so called Containers. A #Container is an isolated environments that represents a autonomous host on its own – a bit in the same way a Virtual Machine does. Yet, Docker Containers are much lighter. They do not start an entire full-blown operating system for each Container instance. Instead, Docker uses #Linux kernel isolation mechanisms to run applications on the top of the host’s operating systems, yet keeping them isolated.

The Ethereum Go (language) team builds a Docker image of a “geth” node as part of their continuous build chain. Their Howto is more then enough to run your full node, mine below is just an enhanced example with volume, name, .. nothing fancy.

# i want to persist the blockchain in a volume

docker volume create --name=ethereum-data

# and limit cpu usage to 20% of all 8 cores –cpus=”.2″, give a name to container, more command line options

docker run --cpus=".2" -d -p 8545:8545 -p 30303:30303 \
 --name=ethereum-node \
 -v ethereum-data:/root/.ethereum ethereum/client-go \
 --rpc --rpcaddr "127.0.0.1"

to stop and recreate the container

docker stop ethereum-node && docker rm ethereum-node

to go inside the container

docker exec -it ethereum-node bash

to test the RPC api

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' localhost:8545

or 

curl -H "Content-Type: application/json" -X POST \
 --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest", true],"id":1}' http://127.0.0.1:8545

see https://ethereum.gitbooks.io/frontier-guide/content/rpc.html 

You may want to register your node at The Ethereum (centralised) network status monitor , in that case just follow https://github.com/ethereum/wiki/wiki/Network-Status 

My Ethereum node is now running at http://ethereum.galaxiis.com

A better status page is in development using PHP with RPC

Vmware Virtual Appliance Ubuntu 11.10 x64 Server

Download and install the latest  VMware Player 4.0.2 to run this Virtual Appliance “Ubuntu 11.10 x64 Server”

ubuntu-logo_0

Ready to user stock #Ubuntu 64 bit Server 11.10 (Oneiric Ocelot) on Vmware

This virtual appliance may be used by multi purpose operations, such as source control management server, development server, ftp server, or for testing some changes before rolling them out against your productive server and so on…

 

 

Download for FREE  #Ubuntu 11.10 x64 Server.7z (2.2GB) for Vmware

From http://linux.waltercedric.com/

  • VM Information
    • CPU’s : 1
    • Memory : 1G
    • Disk : 20G
  • Authentication Credentials
    • Username : user
    • Password : user1234

Continue reading Vmware Virtual Appliance Ubuntu 11.10 x64 Server

Vmware Virtual Appliance Ubuntu 11.10 x64 Desktop

Download and install VMware Player 4.0.2 to run this Virtual Appliance “Ubuntu 11.10 x64 Server”

ubuntu-logo_05

Ready to user stock #Ubuntu 64 bit Desktop 11.10 (Oneiric Ocelot) on Vmware

This virtual appliance may be used by multi purpose operations, such as source control management server, development server, ftp server, and so on…

 

Download for FREE #Ubuntu 11.10 x64 Desktop.7z (4.65GB) for Vmware 

From http://linux.waltercedric.com/

  • VM Information
    • CPU’s : 1
    • Memory : 1G
    • Disk : 20G
  • Authentication Credentials
    • Username : user
    • Password : user1234

Continue reading Vmware Virtual Appliance Ubuntu 11.10 x64 Desktop

Speeding up Apache Maven Builds

The obvious things to do first in no particular order

  • Use a better build server, CPU power is cheap today,
  • Throw more memory, as #Maven run in a JVM the more you have the better it may behave, you may want also to increased the perm gen space,
  • Use the latest  version of JVM!
  • Switch as many plugins as possible as long as there are not needed in the main build loop: Use profile to modularize your build and trigger some additional build/reporting plugins when needed. You want your build to be fast to provide fast feedback to your developers.
  • Optimize your test cases, some may take longer than other, use @BeforeClass or Lazy initialization to cache some heavy to create objects,
  • Tune the garbage collector according to your build behavior, number of CPU core:  use parallel garbage collector for example,
  • Carefully review your dependencies as the less Apache #Maven has to load while building the faster it will get.
    • Are they all needed?
    • No duplicates dependencies?
    • Do you miss some <exclusions>? are all these transitive dependencies to your 3rd party needed?
    • No dependencies cycles? check the order in reactor. A developer should understand, and not be surprised by  the order of the modules calculated by #Maven (as long as you have layers in your software, you expect some modules to be build before some others) .
  • Review ALL logs files
    • The one created by #Maven to avoid any warnings and
    • All your application logs (do you log too much data during the build?)
Continue reading Speeding up Apache Maven Builds

SNK Neo Geo CDZ # 0013836

The CDZ was released in 1996 as the Japanese market replacement for SNK’s previous efforts (the “front loader” and the “top loader”). The Neo Geo CD had met with limited success due to it being plagued by slow loading times that could vary from 30 to 60 seconds between levels, depending on the game. Although SNK’s American home entertainment division quickly acknowledged that the system simply wasn’t capable of competing with 3D-capable powerhouse systems of the day like Sega’s Saturn and Sony’s PlayStation, SNK corporate of Japan felt they could continue to maintain profitable sales in the Japanese home market by shortening the previous system’s load-times.

SNK NEO GEO CDZ #0013836
Neo Geo CDZ #0013836 private collection Cédric Walter – http://www.waltercedric.com

Popular speculation suggests that SNK made several changes to the CD hardware to end up with the CDZ, most prominent is the rumor that they increased the CD-ROM drive speed from 1x to 2x. The truth of the matter is that the CDZ had a larger amount of cache. Though the CD-ROM motor in the CDZ may have been more efficient than the one in the original, it was still a 1x speed CD-ROM.

SNK NEO GEO CDZ #0013836
Neo Geo CDZ #0013836 private collection Cédric Walter – http://www.waltercedric.com

The console had a design flaw which sometimes caused it to overheat after certain periods of time, breaking the console in the process and making it hard to repair. This was a result of a lack of ventilation in the cramped housing of the smaller unit and the inability to dissipate heat generated by the newer drive, which could damage the circuit board.

SNK NEO GEO CDZ #0013836
Neo Geo CDZ #0013836 private collection Cédric Walter – http://www.waltercedric.com

CDZ availability

The CDZ was only officially sold in Japan during its production. However, its lack of a “region lock,” and the fact that it could play older CD software, made it a popular import item for enthusiasts in Europe and North America. Today they can be found sporadically on the internet, especially through auction sites such as eBay.

SNK NEO GEO CDZ #0013836
Neo Geo CDZ #0013836 private collection Cédric Walter – http://www.waltercedric.com

Technical specifications

  • Main Processor: Motorola 68000 running at 12 MHz
    • Although the 68000 CPU was designed by Motorola, there were many other clones of this CPU found in the Neo Geo hardware. The most common CPU is the TMP68HC000 manufactured by Toshiba. This is essentially a Motorola 68000 clone.
  • Co-Processor: Zilog Z80 running at 4 MHz
  • Colors On Screen: 4,096
  • Colors Available: 65,536
  • Resolution: 304 x 224
  • Max Sprites: 380
  • Max Sprite Size: 16 x 512
  • Number of Planes: 3
SNK NEO GEO CDZ #0013836
Neo Geo CDZ #0013836 private collection Cédric Walter – http://www.waltercedric.com

The system is also capable of reading Redbook standard compact disc audio.

SNK NEO GEO CDZ #0013836
Neo Geo CDZ #0013836 private collection Cédric Walter – http://www.waltercedric.com

In addition to the multi-AV port all Neo Geo CD models had composite RCA A/V and S-Video out jacks on the rear of the console.

The CD system’s 58 Mbit / 7 MB of RAM was split accordingly:

SNK NEO GEO CDZ #0013836
Neo Geo CDZ #0013836 private collection Cédric Walter – http://www.waltercedric.com
  • 68000 Program Memory: 2 MB
  • Fix Layer Memory: 128 KB
  • Graphics Memory: 4 MB
  • Sound Sample Memory: 1 MB
  • Z80 Program Memory: 64 kB
  • VRAM: 512Kb (For graphics attributes)
  • SRAM: 2 KB (For high scores / general save data)
SNK NEO GEO CDZ #0013836
Neo Geo CDZ #0013836 private collection Cédric Walter – http://www.waltercedric.com

© Copyright Authors – Source : http://en.wikipedia.org/wiki/Neo-Geo_CD – Article under CC-BY-SA

SNK NEO GEO CDZ #0013836
Neo Geo CDZ #0013836 private collection Cédric Walter – http://www.waltercedric.com

Bought on eBay with 21 CD games.

Digital watermarking with PHP and GD2

joomla_cms

php.logo  

Digital watermarking is the process of possibly irreversibly embedding information into a digital signal. The signal may be audio, pictures or video, for example. If the signal is copied, then the information is also carried in the copy. In visible watermarking, the information is visible in the picture or video. Typically, the information is text or a logo which identifies the owner of the media. [Wikipedia]

If you decide to go with an online watermarking, you can let watermark picture on the fly using php and .htaccess (at the cost of additional CPU server resources).

Continue reading Digital watermarking with PHP and GD2

Boost Eclipse speed performances part 2

eclipse_home_header  After the huge success and feedback of my first tips on how to speed eclipse, here are more performances tips, some are obvious some not:

Disabled/Exclude the virus scanner for the eclipse directory: while obvious It will or may be difficult to achieve if you’re not administrator on your machine (while not impossible) and that may not make some people happy especially security officers 😉 It is obvious that scanning on the fly every resources in a workspace, is detrimental for speed. You’ll get at least 15 to 20% more raw input output speed and gain 5 to 15% CPU cycles.

Continue reading Boost Eclipse speed performances part 2

Tux Droid Plugin for Atlassian Bamboo continuous integration server

tux-droid-linux-companion

Tux Droid is a #Linux wireless Tux mascot (210mm x 180mm x 140mm – with lowered wings) with a programmable interface, allowing it to announce events by its gestures and by ALSA driven sound. The events are detected by specific gadgets, which are handled by the Tux Gadget Manager. The Tux Droid supports #Linux kernel 2.4 or later and needs a 800 MHz CPU and 128 MB RAM. It communicates by infrared to the USB port (1.1 or 2.0) and for media detection it needs an internet connection. The mascot is driven by Atmel AVR RISC microcontrollers. From http://en.wikipedia.org/wiki/Tux_Droid

 

Bamboo is a continuous integration server from Atlassian Software Systems, the makers of JIRA, Confluence and Crowd. Bamboo is free for philanthropic and open-source projects. Academic and commercial organizations are charged based on type of license. Some other features of Bamboo are its unlimited build plans and unlimited projects that provide instant feedback and a platform to collaborate with other team members for build projects, and its ability to run distributed builds. It integrates with existing development tools, and it can be integrated with popular source code systems.

With this plugin

You can notify your Tux Droid with your TeamCity build results!

After login you can find the new notificator Tux Droid in your notification settings. You need your Tux Droid server IP and port  to connect your Tux to Bamboo. After you have saved the parameters you can configure your individual notification settings for just all projects/specific projects/build failures/…

Each registered User can customize Tux Droid messages or choose different Attitunes.

 

Some useful resource how to develop a Bamboo plugin with #Maven 2

Plugin will appear soon at

http://tuxdroid-bamboo.waltercedric.com/

Note you may be interested by the TeamCity continuous integration server version at http://tuxdroid.waltercedric.com/