Skip to content

Posts...

Page 9 of 42

Vega 56 and ETH - Keep Your Cool

September 18, 2017Category: Hardware
TL;DR: Keep your Vega cool if you want high hash rates! Recently, I've got a AMD Vega RX 56, to see for myself how good it is on mining. If you ignore the power consumption, it's quicker than my RX580 cards. I'm getting 33+MH/s consistently: At the beginning of the session I even got 36MH/s, but…

Check Computer Started without Admin Provileges

September 12, 2017Categories: IT, Tutorial
TL;DR : open the Event viewer , select the Windows Logs > System and Filter Current Log to the desired interval. Or you can scroll to the earliest entry of the day you need (more irritating because the event window doesn't refresh when scrolling). The other day I needed to find out when an…

Ethereum - Fix Slow Sync

September 2, 2017Category: Tutorial
To fix the slow sync problem in the ethereum miner, you need to: backup your account(s) and application data (from the eth wallet if you're using it) remove the chaindata content via delete the directory (easiest/quickest way) use the geth removedb command to do it properly reload the database…

Mining Rig Build Log - 1

September 1, 2017Categories: Hardware, Tutorial
I've decided to join the recent trend of mining cryptocoins with GPUs. First, I got a GPU (an EVGA 1070) to complement my 970 and stuck it in my desktop. This is nowhere near profitable because I'd have to block an I7 machine to mine on 2 cards, and also get annoyed because I can't use it. also…

Convert Timestamp to DateTime for Pandas DataFrame

August 8, 2017Categories: Software, Tutorial
To convert a pandas data frame value from unix timestamp to python datetime you need to use: where: timestamp is the column containing the timestamp value unit='s' defines the unit of the timestamp (seconds in this case) You can actually replace the column altogether: Unfortunately, the…

Save Pandas DataFrame as Django Model

August 7, 2017Categories: Software, Tutorial
TL;DR: use bulk_upload coupled with a comprehension to speed up loading. Initially, I started to convert the data frame to a Model object row by row and save it. While easy, it's also arguably the slowest method to load records, because the save() call performs a commit . Then I looked up…

Styling HTML to PDF with iText 2.1.7

July 8, 2017Categories: Software, Tutorial
There are various solutions for producing PDFs from a HTML file, some with excellent results (e.g. ones based on the chrome renderer). Unfortunately, they usually mean adding more dependencies to an existing system. To keep things in check, we've chosen to use iText to generate PDFs. Following the…

HTML to PDF with iText 2.1.7

July 7, 2017Categories: Software, Tutorial
Sometimes you need to use an older version of a product die to e.g. licensing changes. It's my case with iText. While the new version looks fantastic, their changes (and removal of e.g. RTF output) are deal breakers for the feature set we need to maintain. Therefore, 2.1.7 is the most recent version…

Load Templates with Pebble

July 7, 2017Categories: Software, Tutorial
Pebble is a templating engine. It looks particularly familiar to me because I have been using Django . You have access to blocks, include/import features, loops etc. This post is a simple exercise in loading some templates. Prerequisites I've been using Eclipse IDE, but you can use whatever you…

Display a Function's Errors in Oracle

June 30, 2017Categories: Software, Tutorial
TL;DR: Use the power of DBMS_OUTPUT.PUT_LINE , Luke! I've built a function along the lines of: When using the function, I got some 0 results and I wanted to know why. The solution I got was using DBMS_OUTPUT.PUT_LINE : Now, all you have to do is enable DBMS_OUTPUT in your environment and you…
PreviousNext

All tags