My geek thread
#276
**** that
Join Date: Dec 2006
Location: CALI
Posts: 15,402
Mentioned: 151 Post(s)
Tagged: 0 Thread(s)
Quoted: 1099 Post(s)
Liked 104 Times
in
30 Posts
They are easier since you don't have to worry about dereferncing pointers or null-terminating strings, two huge gotchas in unmanaged/native languages.
As for Verilog, etc, I'm with ya: ugh!
#277
**** that
Join Date: Dec 2006
Location: CALI
Posts: 15,402
Mentioned: 151 Post(s)
Tagged: 0 Thread(s)
Quoted: 1099 Post(s)
Liked 104 Times
in
30 Posts
I have a really weird one.
Many years ago (mid-1970's) I was working for an engineering firm in Chicago doing some heat transfer calcs. They had access to a computer somewhere and I would dial in on an acoustic coupler modem. I thought that my code was correct (in some bastard language called "super" fortran), but it kept crashing. I put in all kinds of diagnostics (print out values of this and that, etc.) and when I did the code ran perfectly. I took them all out and it crashed.
Then I started taking out the diagnostic lines of code one by one. I could take them all out but one. If I took that line out the program crashed, but if I left it in the code ran just fine. It was a real head scratcher. Finally I replaced that line with a CONTINUE statement. And the code ran perfectly.
To this day have don't know for sure what was going on. But I was never fully confident of anything that came out of that computer after that.
Many years ago (mid-1970's) I was working for an engineering firm in Chicago doing some heat transfer calcs. They had access to a computer somewhere and I would dial in on an acoustic coupler modem. I thought that my code was correct (in some bastard language called "super" fortran), but it kept crashing. I put in all kinds of diagnostics (print out values of this and that, etc.) and when I did the code ran perfectly. I took them all out and it crashed.
Then I started taking out the diagnostic lines of code one by one. I could take them all out but one. If I took that line out the program crashed, but if I left it in the code ran just fine. It was a real head scratcher. Finally I replaced that line with a CONTINUE statement. And the code ran perfectly.
To this day have don't know for sure what was going on. But I was never fully confident of anything that came out of that computer after that.
So timing issues can arise by putting in or removing basic trace statements. Anyway, maybe your CONTINUE statement was like a NOOP that made the timing work out? Just a guess..
#278
Elite Fred
Thread Starter
Join Date: Aug 2005
Location: Edge City
Posts: 10,945
Bikes: 2009 Spooky (cracked frame), 2006 Curtlo, 2002 Lemond (current race bike) Zurich, 1987 Serotta Colorado, 1986 Cannondale for commuting, a 1984 Cannondale on loan to my son
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
Quoted: 60 Post(s)
Liked 42 Times
in
19 Posts
I thought that Java was easy to pick up, but I learned C first.
#279
Elite Fred
Thread Starter
Join Date: Aug 2005
Location: Edge City
Posts: 10,945
Bikes: 2009 Spooky (cracked frame), 2006 Curtlo, 2002 Lemond (current race bike) Zurich, 1987 Serotta Colorado, 1986 Cannondale for commuting, a 1984 Cannondale on loan to my son
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
Quoted: 60 Post(s)
Liked 42 Times
in
19 Posts
Trace/debug/logging can definitely mess with threading-type issues, since your whole app will ususally block to write out the buffer.
So timing issues can arise by putting in or removing basic trace statements. Anyway, maybe your CONTINUE statement was like a NOOP that made the timing work out? Just a guess..
So timing issues can arise by putting in or removing basic trace statements. Anyway, maybe your CONTINUE statement was like a NOOP that made the timing work out? Just a guess..
#281
slow up hills
Join Date: Mar 2006
Location: Seattle, WA
Posts: 4,931
Bikes: Giant TCR, Redline CX, Ritchey Breakaway, Spec S-works epic
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
I have a really weird one.
Many years ago (mid-1970's) I was working for an engineering firm in Chicago doing some heat transfer calcs. They had access to a computer somewhere and I would dial in on an acoustic coupler modem. I thought that my code was correct (in some bastard language called "super" fortran), but it kept crashing. I put in all kinds of diagnostics (print out values of this and that, etc.) and when I did the code ran perfectly. I took them all out and it crashed.
Then I started taking out the diagnostic lines of code one by one. I could take them all out but one. If I took that line out the program crashed, but if I left it in the code ran just fine. It was a real head scratcher. Finally I replaced that line with a CONTINUE statement. And the code ran perfectly.
To this day have don't know for sure what was going on. But I was never fully confident of anything that came out of that computer after that.
Many years ago (mid-1970's) I was working for an engineering firm in Chicago doing some heat transfer calcs. They had access to a computer somewhere and I would dial in on an acoustic coupler modem. I thought that my code was correct (in some bastard language called "super" fortran), but it kept crashing. I put in all kinds of diagnostics (print out values of this and that, etc.) and when I did the code ran perfectly. I took them all out and it crashed.
Then I started taking out the diagnostic lines of code one by one. I could take them all out but one. If I took that line out the program crashed, but if I left it in the code ran just fine. It was a real head scratcher. Finally I replaced that line with a CONTINUE statement. And the code ran perfectly.
To this day have don't know for sure what was going on. But I was never fully confident of anything that came out of that computer after that.
bane of my existence
#282
Banned
Join Date: Sep 2005
Location: Santa Barbara, CA
Posts: 28,387
Bikes: Specialized Tarmac SL2, Specialized Tarmac SL, Giant TCR Composite, Specialized StumpJumper Expert HT
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 2 Times
in
2 Posts
I had a program that would always crash on one particular test machine. I figured that it must have been memory related and eventually convinced someone to replace the memory (it was expensive back then!). Problems gone.
#283
Senior Member
Join Date: Sep 2008
Location: Murrieta, CA
Posts: 1,035
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
That "4:" is a label. You can actually use old BASIC syntax like "GOTO 4" to jump to that line. It wasn't really "best practices" even for VB6.
#285
Senior Member
Join Date: Sep 2008
Location: Murrieta, CA
Posts: 1,035
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
#286
negligent.
Join Date: Aug 2005
Location: White Plains, NY
Posts: 837
Bikes: a few
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
Can any of you guys recommend a web monitoring tool, one that tracks what an end user does on the internet and can report back? One of my clients wants to watch his employees. I looked at work examiner, seems to have a bunch of bells and whistles but all I need is web monitoring. Many moons ago we used webtrends at work, other then that I haven't used anything.
#287
Elite Fred
Thread Starter
Join Date: Aug 2005
Location: Edge City
Posts: 10,945
Bikes: 2009 Spooky (cracked frame), 2006 Curtlo, 2002 Lemond (current race bike) Zurich, 1987 Serotta Colorado, 1986 Cannondale for commuting, a 1984 Cannondale on loan to my son
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
Quoted: 60 Post(s)
Liked 42 Times
in
19 Posts
#288
negligent.
Join Date: Aug 2005
Location: White Plains, NY
Posts: 837
Bikes: a few
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
#289
negligent.
Join Date: Aug 2005
Location: White Plains, NY
Posts: 837
Bikes: a few
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
speaking of VB, my first introduction to programming (other than LOGO, haha..) was watching my buddy write a D&D character generator in VB - I suppose v2? - on his desktop while we downloaded Linux (slackware I think, kernel v .96) from AOL on to floppy disks. I actually have a pretty vivid memory of this.
#291
Senior Member
Join Date: Sep 2008
Location: Murrieta, CA
Posts: 1,035
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
don't be a language snob. VB3-VB6 got the job done for millions of small/medium (and quite a few large) companies back in the day. Yes you could make a mess of things with it. But you can do that with any language. (I made quite a bit of money with it so I'm a bit prejudiced.)
#292
Elite Fred
Thread Starter
Join Date: Aug 2005
Location: Edge City
Posts: 10,945
Bikes: 2009 Spooky (cracked frame), 2006 Curtlo, 2002 Lemond (current race bike) Zurich, 1987 Serotta Colorado, 1986 Cannondale for commuting, a 1984 Cannondale on loan to my son
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
Quoted: 60 Post(s)
Liked 42 Times
in
19 Posts
I learned VB back in the early to mid 1990's. The reason was that I was running my department's first webserver off of my desktop and that was "running" Windows 3.1. I found that running CGI scripts in anything other than a "native" language would quickly crash the server due to horrible memory leakage and there wasn't that much memory in that old 486 machine. Each "call" invoked a virtual machine and you never did get all of the memory back. Can you imagine running Perl scripts in that environment? Running CGI's in VB solved that problem.
#293
negligent.
Join Date: Aug 2005
Location: White Plains, NY
Posts: 837
Bikes: a few
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
yikes, i was just poking a bit of fun! ;p
i've got my opinions and preferences sure, but there's no way i could ever be a real language snob - not at the company i work for. we've got products dozens of years old with ingrained dependencies on languages that are even older.
i've got my opinions and preferences sure, but there's no way i could ever be a real language snob - not at the company i work for. we've got products dozens of years old with ingrained dependencies on languages that are even older.
#294
**** that
Join Date: Dec 2006
Location: CALI
Posts: 15,402
Mentioned: 151 Post(s)
Tagged: 0 Thread(s)
Quoted: 1099 Post(s)
Liked 104 Times
in
30 Posts
I learned VB back in the early to mid 1990's. The reason was that I was running my department's first webserver off of my desktop and that was "running" Windows 3.1. I found that running CGI scripts in anything other than a "native" language would quickly crash the server due to horrible memory leakage and there wasn't that much memory in that old 486 machine. Each "call" invoked a virtual machine and you never did get all of the memory back. Can you imagine running Perl scripts in that environment? Running CGI's in VB solved that problem.
#295
Senior Member
Join Date: Sep 2008
Location: Murrieta, CA
Posts: 1,035
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
Sorry if this is old but it's good geek humor:
Step 1: Go to Google Maps.
Step 2: Write Japan as your departure point.
Step 3: Write United States as your arriving point.
Step 4: Get Directions
Read step No. 27
Step 1: Go to Google Maps.
Step 2: Write Japan as your departure point.
Step 3: Write United States as your arriving point.
Step 4: Get Directions
Read step No. 27
#296
Banned
Join Date: Sep 2005
Location: Santa Barbara, CA
Posts: 28,387
Bikes: Specialized Tarmac SL2, Specialized Tarmac SL, Giant TCR Composite, Specialized StumpJumper Expert HT
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 2 Times
in
2 Posts
yikes, i was just poking a bit of fun! ;p
i've got my opinions and preferences sure, but there's no way i could ever be a real language snob - not at the company i work for. we've got products dozens of years old with ingrained dependencies on languages that are even older.
i've got my opinions and preferences sure, but there's no way i could ever be a real language snob - not at the company i work for. we've got products dozens of years old with ingrained dependencies on languages that are even older.
#297
negligent.
Join Date: Aug 2005
Location: White Plains, NY
Posts: 837
Bikes: a few
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts
don't be a language snob. VB3-VB6 got the job done for millions of small/medium (and quite a few large) companies back in the day. Yes you could make a mess of things with it. But you can do that with any language. (I made quite a bit of money with it so I'm a bit prejudiced.)
#299
Senior Member
Join Date: Sep 2008
Location: Murrieta, CA
Posts: 1,035
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times
in
0 Posts