Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

10-10-2012 , 05:27 PM
Quote:
Originally Posted by jjshabado
daveT - I think we'll have to agree to disagree. By your reasoning (I think) you don't think of things like Rails, Heroku, Github, ... progress because they're just wrapping an existing product and making it easier to use. I disagree.

Edit: And you probably wouldn't like what we're doing.
Remember that song "See You When You Get There"?

I'll see you when I get there.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-10-2012 , 11:18 PM
Oh, man, now I want to learn Prolog...

Question: Are they still doing research into aligning logic programming's use of logic to mathematical logic? I assume they are, but has any interesting progress been done on this? Not talking about SAT-level logic, just the basic stuff like NOT, etc.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-11-2012 , 04:47 AM
Quote:
Originally Posted by MrWooster
Pretty interesting read off HN about branch predictions, especially how different compilers produce different results

http://stackoverflow.com/q/11227809/399268
When I tried to learn a bit about buffer overflows and so forth I wrote C and compiled it and looked at the ASM. Pretty fun stuff actually, especially if you play around with different Ox flags.

It's actually a very good learning exercise for anyone interested in learning ASM. Write some basic control structures, hello world whatever in C and compile it.

I really enjoyed doing reverse engineering hackmes. Maybe I should do some of those again. I had no clue about ASM, read some 1337 tutorials and cracked away...kinda zen like reading through hex dumps or ASM code trying to spot some patterns and then reversing loop logic or 0x90-ing stuff.

Unfortunately I think I retained about 5-10% of that knowledge tops

Quote:
Originally Posted by daveT
Oh, man, now I want to learn Prolog...

Question: Are they still doing research into aligning logic programming's use of logic to mathematical logic? I assume they are, but has any interesting progress been done on this? Not talking about SAT-level logic, just the basic stuff like NOT, etc.
May I ask why you want to learn Prolog? Automated theorem proving and so forth used to be pretty big but these days I think constraint programming is the big application (I may be wrong on this but I think the better theorem provers these days are based on functional languages, specifically I remember there was a pretty potent one in Haskell). I dunno how much you know about Prolog but it basically is logic.

Pseudocode kind of looks like this

AND
Quote:
Conclusion :-
Premise 1,
Premise 2.
OR
Quote:
Conclusion :-
Premise 1.
Conclusion :-
Premise 2.
The language is based on Horn Clauses and backtracking search.

Last edited by clowntable; 10-11-2012 at 04:54 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-11-2012 , 05:05 AM
Can anyone recommend books/websites on unit testing? I'm a complete self-taught programming noob with 0 test experience. I just got Jenkins CI stood up to automate build and deployment of a few asp.net projects and it seems like a good time to learn how to test my code on a more thorough basis than "eh looks pretty good on my dev server".

Planning on using nunit but I'm really looking for high level concepts and goals here.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-11-2012 , 05:44 AM
the rspec book and the cucumber book are both good but are for ruby, but you did say high level concepts....

if you really want to not **** around and understand the deeper design benefits of a test driven approach, then look no further than:

http://www.amazon.com/Growing-Object...growing+object

The examples are in Java which should work for you if you use .NET.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-11-2012 , 11:13 AM
Quote:
Originally Posted by clowntable
When I tried to learn a bit about buffer overflows and so forth I wrote C and compiled it and looked at the ASM. Pretty fun stuff actually, especially if you play around with different Ox flags.

It's actually a very good learning exercise for anyone interested in learning ASM. Write some basic control structures, hello world whatever in C and compile it.

I really enjoyed doing reverse engineering hackmes. Maybe I should do some of those again. I had no clue about ASM, read some 1337 tutorials and cracked away...kinda zen like reading through hex dumps or ASM code trying to spot some patterns and then reversing loop logic or 0x90-ing stuff.

Unfortunately I think I retained about 5-10% of that knowledge tops
Was playing around with the C->Assembly a bit, was interesting to see how different compilers produce very different results. Would like to pursue it, but would be a steep learning curve.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-11-2012 , 09:26 PM
someone putting bret victor's brilliant ideas to use:

http://livecoding.io

awesome stuff. note how you can go into the CSS, ctrl click numbers and get a slider to interactively experiment with different values.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-12-2012 , 12:20 AM
Quote:
Originally Posted by Freakin
Can anyone recommend books/websites on unit testing? I'm a complete self-taught programming noob with 0 test experience. I just got Jenkins CI stood up to automate build and deployment of a few asp.net projects and it seems like a good time to learn how to test my code on a more thorough basis than "eh looks pretty good on my dev server".

Planning on using nunit but I'm really looking for high level concepts and goals here.
no specific recs but "uncle" bob martin's writing is largely focused on TDD and he is both accessible and provocative.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-12-2012 , 08:25 PM
question i'm sure some of you can definitely answer:

for multitabling, what are some good alternative controls to the standard mouse? i know there are special ergonomic mouses, but i've also heard of people using video game controllers. anyone experimented with these options and have specific recommendations? i think the main criteria would be natural comfort, avoiding wrist pains, etc.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-12-2012 , 09:03 PM
There's a decent thread in Internet Poker where many people post wrist-pain related reviews of various devices: http://forumserver.twoplustwo.com/28...t-pain-164294/

Personally I've never had a problem since I got a posh mouse with "thumb support" and many buttons (Logitech MX Revolution), set to very high speed and use only it for pokering. When this eventually dies I'll prob get a RAT-9. But I've also used Xbox360 pad (awesome imo), PS3 Sixaxis (cheaper, almost as comfy - some would prefer). And an old PS2 Dualshock (cheap, decent, not wireless, maybe hard to find USB adapters now?)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-12-2012 , 09:56 PM
Quote:
Originally Posted by _dave_
There's a decent thread in Internet Poker where many people post wrist-pain related reviews of various devices: http://forumserver.twoplustwo.com/28...t-pain-164294/

Personally I've never had a problem since I got a posh mouse with "thumb support" and many buttons (Logitech MX Revolution), set to very high speed and use only it for pokering. When this eventually dies I'll prob get a RAT-9. But I've also used Xbox360 pad (awesome imo), PS3 Sixaxis (cheaper, almost as comfy - some would prefer). And an old PS2 Dualshock (cheap, decent, not wireless, maybe hard to find USB adapters now?)
dave,

tyvm for the info. looks like i can get the PS3 Sixaxis for $26 on ebay, seems worth a shot. then would i need another program to map the joystick buttons to keystrokes, and then finally a program like mergekeys to map those keystrokes to fold/call/raise buttons?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-12-2012 , 10:09 PM
g_m,

i can't stand the ****ing things, but i know a few people who use trackballs instead of mice for RSI issues. i know some others who use an external bluetooth mac touchpad.

i know a guy who just taught himself to mouse with his left hand. not a solution so much as a workaround (horizontal scaling!).
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-12-2012 , 10:36 PM
Quote:
Originally Posted by gaming_mouse
dave,

tyvm for the info. looks like i can get the PS3 Sixaxis for $26 on ebay, seems worth a shot. then would i need another program to map the joystick buttons to keystrokes, and then finally a program like mergekeys to map those keystrokes to fold/call/raise buttons?
Yes, that's the usual technique, although some programs (and any AHKs) can support the gamepads natively. This is from the MergeKeys thread:
Quote:
Originally Posted by LawJik-
You guys can definitely use those gamepads, you just may need to use a program like Xpadder or Joy2Key to map your gamepad buttons to keys. I am currently using merge keys with a wireless gamepad.
I'd almost certainly run something like this AHK script too, modified to taste: http://forumserver.twoplustwo.com/28...t-pain-164294/ - It gives example how to replicate all mouse functions using one of the analog sticks and a few buttons.

Very Simple AHK can be used to send keypresses if need be:
Code:
Joy1::
Send {Enter}
return
for example

For a PS3 Sixaxis prety sure you'll need to google for drivers, but this shouldn't be an issue these days.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-12-2012 , 10:38 PM
perfect, thx again
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-13-2012 , 03:58 AM
Quote:
Originally Posted by clowntable

May I ask why you want to learn Prolog? Automated theorem proving and so forth used to be pretty big but these days I think constraint programming is the big application (I may be wrong on this but I think the better theorem provers these days are based on functional languages, specifically I remember there was a pretty potent one in Haskell). I dunno how much you know about Prolog but it basically is logic.
Well, I built a half-assed Prolog interpretor and then I see how well it ties into databases. I feel like a sicko, but databases sort of excite me.

Fast Forward to 20:50 for wonderful restraint on Prolog-bashing.
http://www.youtube.com/watch?v=OjP9npYysoc

Isn't PostgreSQL sort of a Prolog-like language interpreted, or compiled to, C?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-13-2012 , 03:59 AM
I am pretty sure I will have the Alpha of my project uploaded to AWS or Heroku this weekend! If it's okay with mods, I can show off what I have and field questions about the development process if you guys are interested.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-13-2012 , 07:58 AM
Definitely!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-13-2012 , 01:54 PM
Quote:
Originally Posted by gaming_mouse
question i'm sure some of you can definitely answer:

for multitabling, what are some good alternative controls to the standard mouse? i know there are special ergonomic mouses, but i've also heard of people using video game controllers. anyone experimented with these options and have specific recommendations? i think the main criteria would be natural comfort, avoiding wrist pains, etc.
I love my evoluent mouse...not sure if it counts as not a mouse but it's vertical!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-13-2012 , 02:37 PM
Quote:
Originally Posted by clowntable
I love my evoluent mouse...not sure if it counts as not a mouse but it's vertical!
only thing is this requires a surface right? i want something that i could also use like lying back on the sofa. so i am really looking for the "evolazyslobulent mouse," and i think video game controllers fit the bill
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-13-2012 , 02:48 PM
People still play poker?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-13-2012 , 04:14 PM
Quote:
Originally Posted by Neko
People still play poker?
Haven't been but gonna start again
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-13-2012 , 11:05 PM
Quote:
Originally Posted by gaming_mouse
Haven't been but gonna start again
I just started again last month. Loving zoom - I've been able to put in way more hands then I ever could before.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-14-2012 , 02:24 AM
ugh, i miss rush poker. it was like stealing candy from a candy store run by babies.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
10-14-2012 , 06:28 AM
Quote:
Originally Posted by gaming_mouse
only thing is this requires a surface right? i want something that i could also use like lying back on the sofa. so i am really looking for the "evolazyslobulent mouse," and i think video game controllers fit the bill
Ah yeah sorry missed that requirement...yeah not usefull for your usecase. I think controller is the way to go.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m