https://www.liquidpoker.net/


LP international Poland    Contact            Users: 211 Active, 0 Logged in - Time: 11:27

Just writing some code

New to LiquidPoker? Register here for free!
Forum Index > Poker Blogs
lhr0909   China. Apr 03 2014 03:52. Posts 423
My day job is a software developer. So I love tinkering things on a computer. Recently I hooked up my tracking program, fpdb (I am too lazy to buy HEM2/PT4), to my profolio page on the Internet, so it shows my poker graphs on a web page. Theoretically it should work for all tracking softwares, because they all use a database (PostgreSQL or MySQL, which are similar). With some sort of database reading software, I should be able to read the data out with relative ease.

So here are the steps I took to get this:



1. Get a server hosted on http://digitalocean.com (server is super cheap nowadays, and digital ocean offers even cheaper price! for $5/month you get a pretty good server with blazing fast network speed), then install a bunch of shit like LEMP (Linux, nginx (not sure why it is E), MySQL, and PHP) stack, phpmyadmin, and other shit.

2. Set your tracking software to take in that online database instead of the local database.

3. Write some code to surface the graphing data. This part is kinda tricky, because there is a query you have to call the database with, and you don't know what it is. So what I did is to make my database log all the queries, and as my fpdb refreshes the graph, fpdb will make a query to the database, and BAM! Copy-pasta, then code code code, and we got this (omitting a bunch of steps for the code/setting up the server to run the code and other tedious crap):



4. Then I graph the data with some javascript. There we have it!

As far as poker goes, I withdrew my 1 bitcoin from Seals and started fresh on Bovada. Not planning on taking the money out at all, but just sit down and actually learn how to play well. Cash graph (5NL only) seems break-even, and I think there were some bad beats here and there, and there were more hands that I just didn't play well at all. But since Bovada has more people, I got more game choice. I really enjoy playing Sit n Go's (I play $3-$4 SnG's with about $170 in the roll, should be decent BRM right?!) and from the graph, I think I am doing okay in it

As always, I thank everyone on LP that have given me help/advice and I will keep playing and getting better!

0 votes
Facebook Twitter
no pain no gainLast edit: 03/04/2014 03:54

bigredhoss   Cook Islands. Apr 03 2014 04:01. Posts 8648

gl gl

Truck-Crash Life 

PuertoRican   United States. Apr 03 2014 04:58. Posts 13037

gL yo~

Rekrul is a newb 

mnj   United States. Apr 03 2014 06:00. Posts 3848

Been playing on bovada for 3 months maybe 10 hours a week. A lot of free money to be collected

 Last edit: 03/04/2014 16:07

Silver_nz   New Zealand. Apr 04 2014 22:09. Posts 5647

cool coding. would love to get off my ass and make connections like this for better data display


 



Poker Streams

















Copyright © 2024. LiquidPoker.net All Rights Reserved
Contact Advertise Sitemap