Two Plus Two Publishing LLC
Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 09-23-2013, 10:41 PM   #10326
_dave_
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK (or what remains of it)
Posts: 12,948
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by daveT View Post
My job uses a program. I can't really describe what it does, but if there is a program that is worthy of the phrase "mission critical," this one certainly is. There's a million things I hate about this program, and most of those things stem from how gawd-awful slow it is.

The running joke is me saying "Oh, come on, [this program] can't be so bad that it can't do [obviously basic thing]" with the response "Yes, actually, [this program] is that bad."
lol HUSNG + PT4.
_dave_ is offline   Reply With Quote
Old 09-24-2013, 08:14 AM   #10327
Shoe Lace
Pooh-Bah
 
Join Date: Sep 2004
Posts: 3,654
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by gaming_mouse View Post
a bug that took only 15 minutes to find and fix.... pffff... i don't care how silly it was, there should be like a 3 hour rule before anything is worthy of being held up as an exemplar of the absurdities of the web development. i mean 15 minutes is the equivalent of someone complaining that villain hit his flush draw after getting all in on the flop
I think the scale of the code matters to determine the length of time before it gets silly.

In my case it was basically 1 line of code that was doing nothing more than calling a tested (passed) function and outputting the results to an element. It was also something that you couldn't google too.

I wish Opera's UI had an icon somewhere showing that scripts are disabled.
Shoe Lace is offline   Reply With Quote
Old 09-24-2013, 11:57 AM   #10328
MrWooster
veteran
 
MrWooster's Avatar
 
Join Date: Mar 2007
Location: Shoving AK
Posts: 2,984
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

If anyone ever asks you the difference between Java and JavaScript

"Java is to JavaScript what Car is to Carpet"

MrWooster is offline   Reply With Quote
Old 09-24-2013, 12:23 PM   #10329
jjshabado
Carpal Tunnel
 
jjshabado's Avatar
 
Join Date: Jul 2006
Posts: 22,554
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Nice.
jjshabado is offline   Reply With Quote
Old 09-24-2013, 10:01 PM   #10330
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: La La Land
Posts: 23,160
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I got more info on the C++ Cert class my buddy is taking. It is one year long, and the goal of the class is to recreate Space Invaders, I think. Not sure if the goal is to do it in 1mb or RAM, but apparently they will be using OOP.

In any case, he is having quite a bit of fun with it, but I'm still disturbed by the idea that he keeps saying the class is really easy. This is either a result of the fact that he is still in the early stages, the instructor is so amazing that it is easy, or that the class is watered down.

They have him working on Visual Studio and Mingw. And that is all I know right now.

Regardless of torturing a student with C++ as an intro to programming class and the apparent absurdity of certification, I think it is pretty cool that he is enjoying it and he is learning from someone that apparently knows what he is doing.
daveT is offline   Reply With Quote
Old 09-25-2013, 05:36 AM   #10331
Burnss
Pooh-Bah
 
Burnss's Avatar
 
Join Date: Feb 2012
Location: #TeamPingu
Posts: 4,539
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

hi guys again, so i decided that im going to do nlhe HU AI for my dissertation (third year), quick few questions:

1. What language would you guys do it in? i got most experience in java but for some reason i dont really like it all that much (dont know why), done a tron game in C++ but im not that great in it. Think its worth to learn c# to do this in? (always heard thats a good language to learn?)

2. is there any decent material/papers out there that i should read before i start?

3. people who done it before, any advice in general about making one?

sad thing about this project is that i know the bot is going to suck compared to what i want it to be like
Burnss is offline   Reply With Quote
Old 09-25-2013, 05:40 AM   #10332
animas
journeyman
 
Join Date: Nov 2012
Posts: 237
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

As someone who is looking to break into programming, that does sound like a pretty cool way to do it.

I've been chugging away at introduction books and tutorials, and I've come to the realization that this is something I'm going to need to be taught to me. I was reading The C++ Programming Language text tonight, and got stuck on a number of concepts within the first minutes. Things like the difference between constants and constant expressions, pointers, vectors, etc. It's all chinese to me.

It sucks not being able to make any progress, but I'm going to be headed back to uni to learn all this stuff the right way, and will probably do codeacademy and intro to programming MIT ocw to stay busy.
animas is offline   Reply With Quote
Old 09-25-2013, 08:15 AM   #10333
clowntable
Carpal \'Tunnel
 
clowntable's Avatar
 
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 45,562
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

That's the second time ITT I have gone "huh" at a proposed dissertation project. Maybe I'm misunderstanding but dissertation=stuff for a PhD, right? Typically in the 250 pages+ range and published as a book.

I'm curious because I am working on a dissertation in the same field and am developing multiple AIs for NL along with the framework for executing them but all of that is pretty much the appendix of the paper. Granted I'm not focusing on building the best possible AI but on another angle but still.

Developing a single AI doesn't seem to be a huge project (enough for a PhD) unless you come up with some pretty spectecular/new ideas. More like journal article at best, probably conference paper. Hope that doesn't sound like dick comment. Either way you need to figure out why your AI is needed, how it compares to/improves on existing AIs, what existing problems it solves etc..."I want to do it because it sounds like fun" generally won't fly as an explanation in academics (even if it's usually the real reason).

Either way, check out the AAAI poker bot challange:
http://www.computerpokercompetition.org/

Teams tend to publish about their bots, there's a bunch of limit in there as well.

Last edited by clowntable; 09-25-2013 at 08:20 AM.
clowntable is offline   Reply With Quote
Old 09-25-2013, 08:32 AM   #10334
Burnss
Pooh-Bah
 
Burnss's Avatar
 
Join Date: Feb 2012
Location: #TeamPingu
Posts: 4,539
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

you asked me this last time ive just gone into my third year of university. Havent got a qualification from it yet. Final year project is called a dissertation (in the UK that is). phd is years away lol

its why i said my bot wont be good at all and nothing to the level i want it to be at. (because i havent got THAT much experience/research in programming, just two years, with the first being all introduction)

but ty

Last edited by Burnss; 09-25-2013 at 08:44 AM.
Burnss is offline   Reply With Quote
Old 09-25-2013, 08:38 AM   #10335
jjshabado
Carpal Tunnel
 
jjshabado's Avatar
 
Join Date: Jul 2006
Posts: 22,554
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Clowntable - I keep getting confused too. Are you working on a PhD now?
jjshabado is offline   Reply With Quote
Old 09-25-2013, 08:41 AM   #10336
gaming_mouse
Carpal \'Tunnel
 
gaming_mouse's Avatar
 
Join Date: Oct 2004
Location: taking notes on u (see profile)
Posts: 13,782
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by clowntable View Post
Developing a single AI doesn't seem to be a huge project (enough for a PhD) unless you come up with some pretty spectecular/new ideas. More like journal article at best, probably conference paper. Hope that doesn't sound like dick comment.
Not dickish, but just not true. I have no idea if it would meet the othe criteria of a dissertation, but it would meet the scope criteria. Writing a truly strong poker AI is massive in scope. It took the UofA team like 7 years before they produced Polaris, which was their first really decent effort.

If it doesn't have to be very good, then sure, it's not that hard.....
gaming_mouse is offline   Reply With Quote
Old 09-25-2013, 08:46 AM   #10337
Gullanian
Carpal \'Tunnel
 
Gullanian's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 14,008
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

My dissertation project was a HU limit holdem AI bot. It was pretty **** (not hard at all to beat), and it was difficult to write. Actually writing the rules for HU holdem I found to be the bulk of the work and quite tricky before I could apply any AI. I compesnated for this with brute forcing all in HU hand combos and worked those numbers into the AIs strategy. Got a 1st for that dissertation and thoroughly enjoyed doing it. Wrote it as a C console application.

Third year dissertation is completely different to a PHD dissertation. I think a HU bot is a great project, if you have a genuine interest and passion in it you inevitably will do well. There's a lot to write about, and it's not a usual dissertation which works to your advantage when it's being marked imo.
Gullanian is offline   Reply With Quote
Old 09-25-2013, 08:58 AM   #10338
jjshabado
Carpal Tunnel
 
jjshabado's Avatar
 
Join Date: Jul 2006
Posts: 22,554
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by gaming_mouse View Post
Not dickish, but just not true. I have no idea if it would meet the othe criteria of a dissertation, but it would meet the scope criteria. Writing a truly strong poker AI is massive in scope. It took the UofA team like 7 years before they produced Polaris, which was their first really decent effort.

If it doesn't have to be very good, then sure, it's not that hard.....
I suspect you have to look at the state of the art though. What made an acceptable PhD project 5-10 years ago probably wouldn't be acceptable now.
jjshabado is offline   Reply With Quote
Old 09-25-2013, 09:45 AM   #10339
gaming_mouse
Carpal \'Tunnel
 
gaming_mouse's Avatar
 
Join Date: Oct 2004
Location: taking notes on u (see profile)
Posts: 13,782
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Gullanian View Post
Got a 1st for that dissertation
what is a 1st?

Spoiler:
gaming_mouse is offline   Reply With Quote
Old 09-25-2013, 12:21 PM   #10340
clowntable
Carpal \'Tunnel
 
clowntable's Avatar
 
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 45,562
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by jjshabado View Post
Clowntable - I keep getting confused too. Are you working on a PhD now?
Yes

And lol me..yeah same guy and not a PhD and same answer as before it's an excellent project for a final project or something heh. If you don't mind you could use Clojure and build on dave's infrastructure.
If you build a bot, check out the AAAI competition and their playing framework and write it for that imo.

Quote:
Originally Posted by gaming_mouse View Post
Not dickish, but just not true. I have no idea if it would meet the othe criteria of a dissertation, but it would meet the scope criteria. Writing a truly strong poker AI is massive in scope. It took the UofA team like 7 years before they produced Polaris, which was their first really decent effort.

If it doesn't have to be very good, then sure, it's not that hard.....
Completely agree with this but the post read more like "I'll do my best and see what happens". That being said "I built a better mousetrap" PhDs are usually fairly hard to justify and the mousetrap needs to be quite a bit better than existing ones. Hyperborean, Polaris etc. are already really good and in combination use most of the interesting AI techniques out there (imo).

Last edited by clowntable; 09-25-2013 at 12:29 PM.
clowntable is offline   Reply With Quote
Old 09-25-2013, 08:21 PM   #10341
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: La La Land
Posts: 23,160
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I'm not sure of its worth his time to use my bot if he doesn't use Lisp already. Also, the command live version on github has a few bugs and hangs up a bit. I'm not ready to release an update, and I won't be for at least 3 weeks.

I could push a jar up, but I suspect there are faster, more accurate, and more complete jars on the internet.
daveT is offline   Reply With Quote
Old 09-26-2013, 02:41 PM   #10342
Grue
Pooh-Bah
 
Grue's Avatar
 
Join Date: Mar 2004
Location: It is pitch black.
Posts: 5,638
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Grue is offline   Reply With Quote
Old 09-26-2013, 04:00 PM   #10343
Larry Legend
Celtic Pride
 
Larry Legend's Avatar
 
Join Date: Jul 2009
Location: Kyrie's earth
Posts: 42,699
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I do that all day checking to see if sites are responsive
Larry Legend is offline   Reply With Quote
Old 09-26-2013, 04:42 PM   #10344
clowntable
Carpal \'Tunnel
 
clowntable's Avatar
 
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 45,562
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Lol Samsung region locking new cell phones (can't switch in a cheapo simcard from another country). As a S4 owner that tends to travel...I am not amused.
What a dumb business decision though.

Also anyone curious/exited about SteamOS/the hardware?
clowntable is offline   Reply With Quote
Old 09-26-2013, 04:42 PM   #10345
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: La La Land
Posts: 23,160
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Win + <-

Using a mouse for that is terribly inneficient.
daveT is offline   Reply With Quote
Old 09-26-2013, 08:09 PM   #10346
suzzer99
Save the Cheerleader, Save the World
 
suzzer99's Avatar
 
Join Date: Nov 2005
Location: on top of the bell curve
Posts: 92,122
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Larry Legend View Post
I do that all day checking to see if sites are responsive
Sadly so does our creative team and the business leaders at my company. They've come to think resizing the browser is a requirement. They're going to be very disappointed when I have to explain to them that because they designed a completely different nav for phones - I'm not going to bring back unnecessary mobile nav data across the wire to the desktop. So when they resize their desktop browser to phone-size, they're going to see an ugly refresh.

I'm waiting until after all their testing is done.
suzzer99 is offline   Reply With Quote
Old 09-26-2013, 10:10 PM   #10347
Larry Legend
Celtic Pride
 
Larry Legend's Avatar
 
Join Date: Jul 2009
Location: Kyrie's earth
Posts: 42,699
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

What about tablets yo
Larry Legend is offline   Reply With Quote
Old 09-26-2013, 10:22 PM   #10348
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: La La Land
Posts: 23,160
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by clowntable View Post
Lol Samsung region locking new cell phones (can't switch in a cheapo simcard from another country). As a S4 owner that tends to travel...I am not amused.
What a dumb business decision though.

Also anyone curious/exited about SteamOS/the hardware?
Honestly, I can't see any good reason to use a Sumsung. Why would anyone want a phone that is filled up with a bunch of bloatware they never use? The number one question I get asked by people with a Samsung is if there "is any way to get rid of all these stupid programs."

I simply tell them that this would require rooting, which will void their warranty. Then I say they probably have enough memory to handle it. I hear people here in LA make pretty good money rooting and jail-breaking phones @ $50+ a pop.

I've had an Android for nearly 2 years now. I rooted it a while back and I'm way over the initial awe of it. Unfortunately, Blackberry is apparently out of business and it is nearly impossible to roll back to a dumb phone these days.

All I use the phone for is sending texts, making phone calls, listening to music and, once in a while, looking at the internet.

I hate my phone and I hate phone manufacturers more for limiting my choices.

EDIT 2 +: That ****ing battery, man...
daveT is offline   Reply With Quote
Old 09-26-2013, 11:25 PM   #10349
daveT
S.A.G.E. Master
 
daveT's Avatar
 
Join Date: Jun 2005
Location: La La Land
Posts: 23,160
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Does anyone have any ideas why this might not be working?

Code:
server{
     listen          80;
     server_name     www.mySite.com;
     return          301 $scheme://mySite.com$request_uri;
}

server {
     listen       80;
     server_name  mySite.com;

      location / {
           proxy_pass http://localhost:3000 ;
      }

      .....
I'm trying to redirect www to not www.

I set up the CNAME on DO. When I go to www(dot)mySite(dot)com, I simply get a 404.

I tried a bunch of variations on the theme, but none of them seem to work:

http://nginx.org/en/docs/http/conver...ite_rules.html

http://stackoverflow.com/questions/7...-www-to-no-www

http://rtcamp.com/wordpress-nginx/tu...w-redirection/

Last edited by daveT; 09-26-2013 at 11:35 PM.
daveT is offline   Reply With Quote
Old 09-27-2013, 05:59 AM   #10350
Shoe Lace
Pooh-Bah
 
Join Date: Sep 2004
Posts: 3,654
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Not offhand but wouldn't the $scheme always be http since you're dealing with only port 80?
Shoe Lace is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

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 04:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2008-2017, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online