topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 9:12 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: The DC Coders' Breakfast Club  (Read 33667 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #25 on: March 15, 2008, 09:15 AM »
app,
motherboards are really cheap.  find out the brand of your best friend and see if you can buy his brother or if someone has a spare to send you.

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #26 on: March 18, 2008, 06:15 AM »
Ok, so today I was using some of those 30,000+ lines of generated plumbing code to process a file and prep it for insertion into the database. The database is pretty complex and the data needs to be massauged, so it's not trivial, but with all that plumbing code, it's super easy.

I think I really pity people that "work hard" instead of "work smart".

The point for me is to get things done, and working smart is just soooooooo much easier!

Really - inserting a record is 1 line of code with not a hint of SQL in sight!
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #27 on: March 18, 2008, 06:50 AM »
30k+ lines to process files and insert to database? Do you have really complex input files and an overcomplex database transport, or is it's some shiiiiiitty code? :)
- carpe noctem

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #28 on: March 18, 2008, 07:12 AM »
Today I am going to spend time going through the iPython docs and learning some new tricks.

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #29 on: March 18, 2008, 07:21 AM »
30k+ lines to process files and insert to database? Do you have really complex input files and an overcomplex database transport, or is it's some shiiiiiitty code? :)

Hahahaha!

It's generated code, and there are a lot of things that likely will never be used. I think the stored procs are somewhere north of 10k LOC.

However, if I need to make a database change, or tweak something, I can do it real fast without breaking anything -- I can be done in less than 10 minutes if I'm slow and take my time to be careful. And with all the extra stuff, if it's ever needed, it's there.

Thing is it just doesn't matter. The code is tight and works really fast. I've actually been surprised at just how fast it is considering some of the (bad) things I've been doing. :)

Optimization can come later. But the generated code itself is lightning fast.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #30 on: March 18, 2008, 07:23 AM »
Today I am going to spend time going through the iPython docs and learning some new tricks.

I don't do any Python stuff, so for a while there I thought you were talking about Iron Python! :)
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #31 on: March 18, 2008, 07:26 AM »
Hm, thanks for pointing me at iPython, tinny - seems like it could be pretty useful when prototyping stuff.
- carpe noctem

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #32 on: March 25, 2008, 11:09 AM »
Right now, I'm developing a .NET Tetris clone solely for the purpose of adding to my C# know-how.

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #33 on: March 30, 2008, 09:11 PM »
First day without a dayjob!

YEAH~!

So, what's up for today? Got some running around to do, but other than that, I'll be doing some cool FFT stuff and working on Guitar & Drum Trainer! :)

I am SOOOOO stoked about this! I'm going to get more done in the next month than I have in the last year!

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #34 on: April 01, 2008, 07:35 PM »
Ok -- this is not working very well... Nobody is posting much.

How about people join Twitter and post stuff there?
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #35 on: April 01, 2008, 08:17 PM »

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #36 on: April 02, 2008, 01:21 AM »
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #37 on: April 02, 2008, 01:05 PM »

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,884
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #38 on: April 02, 2008, 08:53 PM »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #39 on: April 03, 2008, 07:29 AM »
Maybe it's time for someone to code a Twitter Plugin for FARR?

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,884
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #40 on: April 04, 2008, 05:58 AM »
I was actually thinking of coding an entire Twitter client, since I can't find one that even remotely resembles what I think one should be.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #41 on: April 04, 2008, 10:07 AM »
Maybe it's time for someone to code a Twitter Plugin for FARR?

I might try to take that one on :)

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #42 on: April 08, 2008, 07:52 AM »
Planning on working some more on Click2LogIt today.

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #43 on: April 22, 2008, 10:40 AM »
Been awfully busy lately with work and homelife.  Yesterday, I got my DSL hooked up to a LinkSys wireless router, so now I can sit out on my deck with my laptop (or lie in bed) ;)

Back to work today on my GDI+ learning project -- the coding of .NET Tetris.  I've sorta lost interest somewhat, but I'm probably 75% of the way to a completed game, so I'm trying to work on it at least weekly, so that the code doesn't sit around and age, and then look totally foreign to me when I open the project up again months down the road...

« Last Edit: April 22, 2008, 10:43 AM by kyrathaba »

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,832
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #44 on: August 07, 2008, 01:35 AM »
An update (because I liked the idea of this thread, and because I'm rather pleased with my 'solution')

Use VBA to generate a graphical representation of a hierarchical data structure in Excel

I finally came up with a solution to the above. 

After much research and a considerable amount of hair pulling I discovered there is a known bug in office 2003 that prevents you from doing this (and of course, office 2003 is SOE around here...)

there is a workaround (do it in word, then paste/embed the result in a worksheet), but I was starting to lose heart by this time...

then I had an epiphany about what constituted graphical - my thought was that the tree view we all see in explorer or <insert your favourite program here> would be just as effective.  From here it was a short step to an unordered HTML list, and a bit of googling turned up some javascript to make the 'tree' dynamic.

the end result was a rather negligible bit of code that produces a dynamic tree view of my hierarchies in HTML (WOOHOO!) - way simpler and far faster than my original approach

gotta love it when a solution comes from an unexpected quarter!!

 

mahesh2k

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,426
    • View Profile
    • Donate to Member
Re: The DC Coders' Breakfast Club
« Reply #45 on: August 15, 2008, 06:24 AM »
Mahesh on Twitter
http://twitter.com/maheshkale

People use Twittdeck client to group your following/followers, you can ease out a lot with your twit experience..