Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2005, 02:06 AM
12AX7 12AX7 is offline
Senior Member
 
Join Date: Jun 2004
Posts: 142
Default Best Programming Language for Analyzing Hand Histories?

Hi All,
I was wondering, if I want to collect information from hand histories, what's the best language to do it with?

Since the is PC based, I'll have to learn the language from scratch, so bear that in mind.

Also, anyone know how these real time analyzers like PokerSpy get thier data?

I was thinking, just as a test, to write something that would show me the two cards I have to run to the hand history to see. So I'd need a way to do that in real time, or at least as soon as the data is available in the hand history file.

Being unfamiliar with PC/Windows API's I'm not sure what's out there. (Mainframe guy here.)

I was thinking Perl is the way to go, but not really sure what else there is.
Reply With Quote
  #2  
Old 11-16-2005, 02:39 AM
tinhat tinhat is offline
Senior Member
 
Join Date: Apr 2005
Location: white courtesy phone
Posts: 288
Default Re: Best Programming Language for Analyzing Hand Histories?

[ QUOTE ]
Hi All,
I was wondering, if I want to collect information from hand histories, what's the best language to do it with?

[/ QUOTE ]

For text processing, perl; hands down (IMO). I run a perl debugger and full Info from within emacs; can't imagine doing it any other way. But I use *NIX so maybe there are some windows consideration(s) I'm unaware of...

Mike
Reply With Quote
  #3  
Old 11-16-2005, 04:23 AM
Guest
 
Posts: n/a
Default Re: Best Programming Language for Analyzing Hand Histories?

If you have Poker Tracker (a must, imo) and set it up to use a Postgres database, then SQL will probably get you there the quickest.
Reply With Quote
  #4  
Old 11-16-2005, 09:50 AM
just2pimp just2pimp is offline
Senior Member
 
Join Date: Jan 2005
Location: here and there...mostly there
Posts: 115
Default Re: Best Programming Language for Analyzing Hand Histories?

[ QUOTE ]
If you have Poker Tracker (a must, imo) and set it up to use a Postgres database, then SQL will probably get you there the quickest.

[/ QUOTE ]

this will only work after the hand has been imported. As far as I know poker tracker doesnt import incomplete hand which I think is what the op wanted, so he could test and see his hole cards as soon as possible
Reply With Quote
  #5  
Old 11-16-2005, 12:24 PM
MrMoo MrMoo is offline
Member
 
Join Date: Sep 2004
Posts: 43
Default Re: Best Programming Language for Analyzing Hand Histories?

Any language will be able to do this. The best language is going to be the one which you are most capable of programming in.
Reply With Quote
  #6  
Old 11-16-2005, 05:33 PM
SheridanCat SheridanCat is offline
Member
 
Join Date: Sep 2002
Location: Chicago
Posts: 86
Default Re: Best Programming Language for Analyzing Hand Histories?

As someone else said, whatever you're comfortable in is best. I like Perl, but that's just me. For someone who is learning the language from scratch, consider Python.

The high level languages, Perl/Python/Ruby, all sport regular expression engines that make parsing of text files simple once you get used to the regular expression syntax. Any basic "learning" book on these languages will give you the basic for regex also.

Regards,

T
Reply With Quote
  #7  
Old 11-16-2005, 09:20 PM
pokergrader pokergrader is offline
Senior Member
 
Join Date: Apr 2005
Posts: 210
Default Re: Best Programming Language for Analyzing Hand Histories?

I just used C++ with a regular expression library and it not only easy but also pretty damn fast.
Reply With Quote
  #8  
Old 11-16-2005, 11:56 PM
12AX7 12AX7 is offline
Senior Member
 
Join Date: Jun 2004
Posts: 142
Default So where is everyone picking the data up from?

OK, concensus seems to be "the specific language is not important, but a text parsing oriented on is best".

So where are you folks getting the data in real time from?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.