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 03-25-2011, 10:54 PM   #1
jalexand42
Hypothetical Ubermonkey
 
jalexand42's Avatar
 
Join Date: Oct 2005
Location: Open Shoving My Range
Posts: 5,054
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Here's a thread for random crap.

If this forum becomes permanent, we can decide if we wanna recycle this thread periodically.

Welcome!
jalexand42 is offline   Reply With Quote
Old 03-25-2011, 10:58 PM   #2
Gullanian
Carpal \'Tunnel
 
Gullanian's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 14,008
Re: ** OFFICIAL CHATTER THREAD **

Hi!

00000001st
Gullanian is offline   Reply With Quote
Old 03-25-2011, 11:48 PM   #3
CPFB
Carpal \'Tunnel
 
CPFB's Avatar
 
Join Date: Nov 2005
Location: TEXAS, ya'll!
Posts: 7,210
Re: ** OFFICIAL CHATTER THREAD **

10th
CPFB is offline   Reply With Quote
Old 03-25-2011, 11:50 PM   #4
MNOWAX
old hand
 
MNOWAX's Avatar
 
Join Date: Jun 2010
Location: Phelps, NY
Posts: 1,233
Re: ** OFFICIAL CHATTER THREAD **

just wanted to say hi. I am mainly a hardware guy, I don't do much programming, but would love to learn more. Sounds like I'll be lurking a lot around here!
MNOWAX is offline   Reply With Quote
Old 03-25-2011, 11:59 PM   #5
Benholio
Carpal \'Tunnel
 
Benholio's Avatar
 
Join Date: Jun 2004
Location: Atlanta, GA
Posts: 8,292
Re: ** OFFICIAL CHATTER THREAD **

Heyo. Would anyone be interested in starting a book review/recommendation thread? There are so many programming books out there, it would be nice to separate the wheat from the chaff.

Things that would be nice to know about some of the popular books:

-Basic review (5/5 stars!)
-Prerequisite knowledge / difficulty level
-What is the goal of the book? (ie: Teach some design patterns, etc)
-Any particular chapters/items that helped you the most

I would start the thread myself if I had a good review. I do have a couple of books queued up to read sometime soon that I'd particularly enjoy feedback on:

Agile Software Development, Principles, Patterns, and Practices (recommended by Gaming Mouse)

Clean Code: A Handbook of Agile Software Craftsmanship

The Pragmatic Programmer: From Journeyman to Master
Benholio is offline   Reply With Quote
Old 03-26-2011, 12:01 AM   #6
jalexand42
Hypothetical Ubermonkey
 
jalexand42's Avatar
 
Join Date: Oct 2005
Location: Open Shoving My Range
Posts: 5,054
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by Benholio View Post
Heyo. Would anyone be interested in starting a book review/recommendation thread? There are so many programming books out there, it would be nice to separate the wheat from the chaff.

Things that would be nice to know about some of the popular books:

-Basic review (5/5 stars!)
-Prerequisite knowledge / difficulty level
-What is the goal of the book? (ie: Teach some design patterns, etc)
-Any particular chapters/items that helped you the most

I would start the thread myself if I had a good review. I do have a couple of books queued up to read sometime soon that I'd particularly enjoy feedback on:

Agile Software Development, Principles, Patterns, and Practices (recommended by Gaming Mouse)

Clean Code: A Handbook of Agile Software Craftsmanship

The Pragmatic Programmer: From Journeyman to Master

I'm definitely okay with trying this, and I expect that if someone read a fantastic book for Ruby for example, they could post a review in the Ruby discussion thread.

If anyone has some books they love, feel free to start a thread about them.
jalexand42 is offline   Reply With Quote
Old 03-26-2011, 12:04 AM   #7
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Glastonbury Grove
Posts: 11,256
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by Benholio View Post
Heyo. Would anyone be interested in starting a book review/recommendation thread?
Yeah, I think that would be a pretty good idea!

Juk
jukofyork is offline   Reply With Quote
Old 03-26-2011, 12:25 AM   #8
notthatphil
newbie
 
Join Date: Jul 2010
Posts: 26
Re: ** OFFICIAL CHATTER THREAD **

Not a book but a service. Books24x7 If your company doesn't offer it, get them to offer it. Its what O'Reilly's Safari is trying to be but it has more publishers.

For books
Learn Objective-C for Java Developers
by James Bucanek
Apress © 2009 (519 pages) Citation
ISBN:9781430223696

Great book to learn objective-c if you know java.
4 out 5 five stars (not a great reference after you've read what you need).
notthatphil is offline   Reply With Quote
Old 03-26-2011, 12:54 AM   #9
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Glastonbury Grove
Posts: 11,256
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by Benholio View Post
Heyo. Would anyone be interested in starting a book review/recommendation thread?
Perhaps the same could be done for podcasts too? There seems to be an almost infinite amount of them; varying vastly in quality and content.

Juk
jukofyork is offline   Reply With Quote
Old 03-26-2011, 06:52 AM   #10
goofyballer
 
goofyballer's Avatar
 
Join Date: Jun 2005
Posts: 60,555
Re: ** OFFICIAL CHATTER THREAD **

Programming TR:

I just wrote my first Python script a couple days ago. I had a memory dump of a text file in the debugger (it was a debug log that hadn't been flushed to disk) and I wanted to convert it from hex to readable text.

Results: it was really easy! Python is kool.
goofyballer is offline   Reply With Quote
Old 03-26-2011, 09:29 AM   #11
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Glastonbury Grove
Posts: 11,256
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by goofyballer View Post
Programming TR:

I just wrote my first Python script a couple days ago. I had a memory dump of a text file in the debugger (it was a debug log that hadn't been flushed to disk) and I wanted to convert it from hex to readable text.

Results: it was really easy! Python is kool.
The "indentation scope" thing always seemed a bit weird to me: people argue that since you already indent things as part of standard programming practices it doesn't matter, but if you add more scope around some already heavily indented code you have no curly brackets or begin/end statements to "remind" you what the original scope looked like (probably negated by using a decent IDE though).

Juk
jukofyork is offline   Reply With Quote
Old 03-26-2011, 11:35 AM   #12
kerowo
lolcat
 
kerowo's Avatar
 
Join Date: Nov 2005
Posts: 33,689
Re: ** OFFICIAL CHATTER THREAD **

Moving python scripts between vi and text wrangler tends to screw up the white space and causes errors, which gets annoying, but I was able to parse XML in a python script by using google so that's pretty cool. Now I just need to learn enough to make it look a little less preschool.
kerowo is offline   Reply With Quote
Old 03-26-2011, 01:43 PM   #13
swrittenb
enthusiast
 
swrittenb's Avatar
 
Join Date: Jul 2009
Location: Ontario, Canada
Posts: 58
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by goofyballer View Post
Results: it was really easy! Python is kool.
Yay, Python! I got started in Python about five or six years ago, and it just keeps getting more and more powerful. For simple tasks, you can really save a lot of time with a good general scripting language.
swrittenb is offline   Reply With Quote
Old 03-26-2011, 02:40 PM   #14
wellju
BSOD and racetrack Ninja
 
wellju's Avatar
 
Join Date: Feb 2010
Location: ALL OF THEM
Posts: 5,247
Re: ** OFFICIAL CHATTER THREAD **

We should be glad that Bill Gates was wrong with "640K ought to be enough for anybody".

Otherwise beautiful languages like Python and Ruby wouldn't exist and we would be busy typing 1000 lines in C instead of a single "optparse".
wellju is offline   Reply With Quote
Old 03-26-2011, 03:12 PM   #15
tesuji
centurion
 
tesuji's Avatar
 
Join Date: Jan 2011
Location: UK
Posts: 108
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by jukofyork View Post
The "indentation scope" thing always seemed a bit weird to me: people argue that since you already indent things as part of standard programming practices it doesn't matter, but if you add more scope around some already heavily indented code you have no curly brackets or begin/end statements to "remind" you what the original scope looked like (probably negated by using a decent IDE though).

Juk
Or your editing someone else's code and realise they've used spaces instead of tabs (or vice versa). I like the way Haskell indentation works.
tesuji is offline   Reply With Quote
Old 03-26-2011, 03:37 PM   #16
Zurvan
Retired
 
Zurvan's Avatar
 
Join Date: Apr 2005
Location: On the front porch, yelling at kids
Posts: 32,281
Re: ** OFFICIAL CHATTER THREAD **

The best programming book I ever read is Code Complete 2. Reading and absorbing even a little of what's in there is enough to start you down the path to being a real-life good programmer
Zurvan is offline   Reply With Quote
Old 03-26-2011, 03:39 PM   #17
well named
Carpal \'Tunnel
 
well named's Avatar
 
Join Date: Jun 2007
Location: esse est coesse
Posts: 73,475
Re: ** OFFICIAL CHATTER THREAD **

I am doing some cheap side work on a website for a small business a friend of mine runs and it's the worst. code. ever. There are literally 9 copies of every single goddamn page. Copy. Paste. Make 14 changes. change name from x_foo_bar.php to y_foo_bar.php

I should be charging more for putting up with this.

</rant>
well named is offline   Reply With Quote
Old 03-26-2011, 03:45 PM   #18
Zurvan
Retired
 
Zurvan's Avatar
 
Join Date: Apr 2005
Location: On the front porch, yelling at kids
Posts: 32,281
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by well named View Post
I am doing some cheap side work on a website for a small business a friend of mine runs and it's the worst. code. ever. There are literally 9 copies of every single goddamn page. Copy. Paste. Make 14 changes. change name from x_foo_bar.php to y_foo_bar.php

I should be charging more for putting up with this.

</rant>
Just refactor it. Create include files with the template, and then every time you touch a file, switch it over to the new version. Life is good again
Zurvan is offline   Reply With Quote
Old 03-26-2011, 03:47 PM   #19
well named
Carpal \'Tunnel
 
well named's Avatar
 
Join Date: Jun 2007
Location: esse est coesse
Posts: 73,475
Re: ** OFFICIAL CHATTER THREAD **

it would take a lot longer than I want to spend to refactor this and I has a schedule and I'm not doing it for free, friends or not. I did try to sell them the idea of a refactor though. ah well

i'm getting paid by the hour anyway. So I told them the overhead the bad code causes and as long as that's what they want to do for now c'est la vie. I just get to be annoyed for a few more hours today
well named is offline   Reply With Quote
Old 03-26-2011, 05:42 PM   #20
mutigers
Carpal \'Tunnel
 
mutigers's Avatar
 
Join Date: Jun 2006
Posts: 35,554
Re: ** OFFICIAL CHATTER THREAD **

I dont know anything at all about programming but it has always been something i'm interested in...does anyone think it would be a good idea to have something in the FAQ about what kind of resources to look at for a complete noob to possibly learn the basics of programming without taking a class..there has to be some websites one would think

Not sure if this forum is meant to just be geared towards people who aren't complete beginners or not
mutigers is offline   Reply With Quote
Old 03-26-2011, 06:33 PM   #21
Nookx
journeyman
 
Nookx's Avatar
 
Join Date: Jun 2006
Posts: 359
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by mutigers5591 View Post
I dont know anything at all about programming but it has always been something i'm interested in...does anyone think it would be a good idea to have something in the FAQ about what kind of resources to look at for a complete noob to possibly learn the basics of programming without taking a class..there has to be some websites one would think

Not sure if this forum is meant to just be geared towards people who aren't complete beginners or not
This would be extremely nice. I really want to learn how to program and would love some more info.
Nookx is offline   Reply With Quote
Old 03-26-2011, 07:31 PM   #22
goofyballer
 
goofyballer's Avatar
 
Join Date: Jun 2005
Posts: 60,555
Re: ** OFFICIAL CHATTER THREAD **

I found this page with a list of resources for learning Python if you haven't programmed before; the first link, How to Think Like a Computer Scientist, is an online book that teaches the basics of programming using Python. Maybe try that out?

Python is probably a good language for beginners because it doesn't take long to get set up with (you don't need to compile code into an executable, you just run it) and is lax with things like declaring variables and types that might annoy or intimidate the beginning programmer.

Where you go from there depends on what you hope to accomplish with programming. If you dive into that and have questions, I'm sure a "Beginner questions" thread would be fine if you want to start one, there are plenty of people who can help answer whatever questions you have.
goofyballer is offline   Reply With Quote
Old 03-26-2011, 08:08 PM   #23
rt1
adept
 
Join Date: Jun 2004
Location: just one rt
Posts: 1,099
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by goofyballer View Post
Python is probably a good language for beginners because it doesn't take long to get set up with (you don't need to compile code into an executable, you just run it) and is lax with things like declaring variables and types that might annoy or intimidate the beginning programmer.
I'll second this. I think python is a really good language to learn programming with. Most of the syntax is natural and there is a ton of documentation. It is a dynamic language with strong typing, which allows a lot of flexibility without being too reckless.

Also, once you get the hang of some basic python there is a lot you can do. Building web apps and/or desktop apps is no problem. You can also do OO programming or functional programming with python, whatever floats your boat.
rt1 is offline   Reply With Quote
Old 03-26-2011, 08:29 PM   #24
Neil S
King of the sidebar
 
Neil S's Avatar
 
Join Date: Sep 2004
Location: Northern Virginia
Posts: 18,090
Re: ** OFFICIAL CHATTER THREAD **

Quote:
Originally Posted by jalexand42 View Post
If this forum becomes permanent, we can decide if we wanna recycle this thread periodically.!
Surely there's better garbage collection available than just recycling the whole thread.
Neil S is offline   Reply With Quote
Old 03-27-2011, 04:57 AM   #25
frinxor
adept
 
Join Date: Dec 2006
Location: SF
Posts: 723
Re: ** OFFICIAL CHATTER THREAD **

Guys,

What are some good resources for salaries? I feel like I'm paid way under market. Indeed.com seems to give me some pretty high numbers, but I don't know. (2.5 years of exp, programming 99% in c++, in LA area...)

http://www.indeed.com/salary?q1=soft...+Angeles%2C+CA
frinxor 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 05:41 AM.


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