How Dangerous 2012-10-09

Need to talk about the day's episode of Wapsi? This is the place to do it. Play nice! ^_^

Moderators: Bookworm, starkruzr, MrFireDragon, PrettyPrincess, Wapsi

Forum rules
When two threads are posted for a day's comic, the thread posted first becomes the starting post. Please delete the second thread and add your post to the first thread. When naming the thread: Comic Name YYYY-MM-DD
Thanks guys! This keeps the forum nice and neat.
User avatar
shadowinthelight
Posts: 2571
Joined: Mon Jul 30, 2012 11:49 pm
Location: Somewhere, TX
Contact:

Re: How Dangerous 2012-10-09

Post by shadowinthelight »

The only language I ever got semi fluent in was Turbo Pascal. My high school switched to teaching C++ the year after I graduated. Image
Julie, about Wapsi Square wrote:Oh goodness yes. So much paranormal!

Image My deviantART and YouTube.
I'm done thinking for today! It's caused me enough trouble!
User avatar
MerchManDan
Posts: 1674
Joined: Fri Aug 03, 2012 3:40 am
Location: Somewhere else.
Contact:

Re: How Dangerous 2012-10-09

Post by MerchManDan »

NOTDilbert wrote:I took Programming in the late 70's - I learned FORTRAN, WATFOR, and WATFIV.
Almost sounds like a programming joke.

Dexter: I finally learned FORTRAN!
Ernest: What for?
Dexter: I already know that one, but I don't use it as much.
"Give orange me give eat orange me eat orange give me eat orange give me you." - Nim the chimp
Image
Animation courtesy of shadowinthelight (thanks again!)
User avatar
Haylo
Posts: 33
Joined: Thu Oct 04, 2012 8:33 pm
Contact:

Re: How Dangerous 2012-10-09

Post by Haylo »

NOTDilbert wrote:I took Programming in the late 70's - I learned FORTRAN, WATFOR, and WATFIV. And punched unending stacks of Hollerith Cards.....
I haven't understood how computer programs work since BASIC Compiler.... :(
You young whippersnappers! Luxuriating in all those newfangled Hollerith cards! In my day we saved our BASIC code on paper tape that we had to roll up, uphill both ways! And we were glad of it! :D
User avatar
Dave
Posts: 7586
Joined: Tue Jul 31, 2012 5:58 pm
Location: Mountain View, CA, USA

Re: How Dangerous 2012-10-09

Post by Dave »

Haylo wrote:You young whippersnappers! Luxuriating in all those newfangled Hollerith cards! In my day we saved our BASIC code on paper tape that we had to roll up, uphill both ways! And we were glad of it! :D
You had paper tape? and BASIC?

Luxury.

Back in my day, we had to scrape the machine-code bits directly into clay tablets with our fingernails, and drag the tablets to the computer room on a platform of logs while fending off attacks by sabretooth tigers. And nobody ever bothered to empty the bit bucket, so all the clay dust we scraped off blew around everywhere and got into everything, and we all died of silicosis before our programs finished running.

And we liked it!
User avatar
Jabberwonky
Posts: 2963
Joined: Sun Aug 12, 2012 8:11 am
Location: Houston, Texas

Re: How Dangerous 2012-10-09

Post by Jabberwonky »

Should that be prounounced 'loo-jher-ree!'?

Ha-Haa! :lol:
"The price of perfection is prohibitive." - Anonymous
User avatar
lake_wrangler
Posts: 4300
Joined: Sun Aug 05, 2012 8:16 am
Location: Laval, Québec, Canada

Re: How Dangerous 2012-10-09

Post by lake_wrangler »

What I find annoying is that, having graduated from computer college "only" 15 years ago (that long already???), my knowledge is close enough to what's happening, or what was happening just a few years ago, that I feel like I just missed the boat, rather than having been left behind so long ago... I'm just not quite good enough...
User avatar
alj_ws
Posts: 58
Joined: Tue Aug 07, 2012 4:50 pm
Location: on the other side pf the pond

Re: How Dangerous 2012-10-09

Post by alj_ws »

Haylo wrote:
NOTDilbert wrote:I took Programming in the late 70's - I learned FORTRAN, WATFOR, and WATFIV. And punched unending stacks of Hollerith Cards.....
I haven't understood how computer programs work since BASIC Compiler.... :(
You young whippersnappers! Luxuriating in all those newfangled Hollerith cards! In my day we saved our BASIC code on paper tape that we had to roll up, uphill both ways! And we were glad of it! :D
In the day of programming CNC lathes and mills, i used punched rolls. Now the really harcore ones were able to read the ISO code directly from the band without bothering to use a reader ;)
Always forgive your enemies; nothing annoys them so much.
Oscar Wilde
User avatar
Fairportfan
Posts: 3283
Joined: Wed Aug 01, 2012 12:14 am
Location: Atlanta (well, Gainesville)
Contact:

Re: How Dangerous 2012-10-09

Post by Fairportfan »

alj_ws wrote:
Haylo wrote:
NOTDilbert wrote:I took Programming in the late 70's - I learned FORTRAN, WATFOR, and WATFIV. And punched unending stacks of Hollerith Cards.....
I haven't understood how computer programs work since BASIC Compiler.... :(
You young whippersnappers! Luxuriating in all those newfangled Hollerith cards! In my day we saved our BASIC code on paper tape that we had to roll up, uphill both ways! And we were glad of it! :D
In the day of programming CNC lathes and mills, i used punched rolls. Now the really harcore ones were able to read the ISO code directly from the band without bothering to use a reader ;)
Heh. My former boss, Shankar Subramonian, could write 386 machine code straight (out of his head, no references) ... and it ran.

(Before founding AMI, Shankar was the leader of the team of Indian contract engineers who designed the first working 386 motherboard. Another of the team - and also at AMI - Sukha Ghosh designed the first hardware caching system.)
Not even duct tape can fix stupid. But it can muffle the noise.
=====================
Peace through superior firepower - ain't nothin' more peaceful than a dead troublemaker.
=====================
mike weber
User avatar
jwhouk
Posts: 6053
Joined: Wed Aug 01, 2012 7:58 am
Location: The Valley of the Sun, Arizona
Contact:

Re: How Dangerous 2012-10-09

Post by jwhouk »

Ah, Turbo PASCAL. Good times. Completely useless, but good times.
"Character is what you are in the dark." - D.L. Moody
"You should never run from the voices in your head. That's how you give them power." - Jin
User avatar
Atomic
Posts: 2948
Joined: Tue Jul 31, 2012 12:39 am
Location: Central PA
Contact:

Re: How Dangerous 2012-10-09

Post by Atomic »

Applesoft Basic
Apple 6502 Machine language
UCSD Pascal
Forth
Turbo Pascal
Visual Basic
C++
HTML by hand
JavaScript
CSS
ColdFusion
SQL
blah, blah, blah........

Of all the garbage language programming languages and structures I've had to work with, the two most valuable weren't languages, but concepts. The book Starting Forth, and understanding Arrays.

Starting Forth taught me about Inside Out vs Outside In programming, by way of a marvelous cartoon. One side showed a wolf slavering at a baby in a baby crib, the other showed the baby laughing at the wolf in a cage. There are many ways of doing things!

Understanding Array structures (tables, etc) and the use of Rational Expressions pointed my way to everything from simplifying program structures and understanding database design. 3rd Normal Form, anyone?

Once you have the structural concepts down, it's just a case of learning the vocabulary (language) and grammar to apply those concepts.

I'm sooo glad I no longer have to carve my electrons by hand, too. Those days are long gone! I still know how to card and spin cotton/wool for thread/yarn if need be, though. Weaving is another thing entirely.
Last edited by Atomic on Sun Oct 14, 2012 7:41 pm, edited 1 time in total.
Don't let other peoples limitations become your constraints!

My Deviant Art scribbles
The Atomic Guide to Basic GIMP Stuff
User avatar
Mark N
Posts: 1370
Joined: Tue Jul 31, 2012 11:51 pm
Location: Central Florida

Re: How Dangerous 2012-10-09

Post by Mark N »

Atomic wrote: I'm sooo glad I no longer have to carve my electrons by hand, too. Those days are long gone! I still know how to card and spin cotton/wool for thread/yarn if need be, though. Weaving is another thing entirely.
At least you will have a useful skill when the lights go out permanently.
This message is brought to you by the "Let the artist know how much you LOVE his work" council.
User avatar
lake_wrangler
Posts: 4300
Joined: Sun Aug 05, 2012 8:16 am
Location: Laval, Québec, Canada

Re: How Dangerous 2012-10-09

Post by lake_wrangler »

Atomic wrote:Of all the garbage language programming languages and structures I've had to work with, the two most valuable weren't languages, but concepts. The book Starting Forth, and understanding Arrays.

Starting Forth taught me about Inside Out vs Outside In programming, by way of a marvelous cartoon. One side showed a wolf slavering at a baby in a baby crib, the other showed the baby laughing at the wolf in a cage. There are many ways of doing things!
Thanks for the tip. Found it online for free: http://www.forth.com/starting-forth/index.html
Now I "only" need to find time to read it...
Atomic wrote:Understanding Array structures (tables, etc) and the use of Rational Expressions pointed my way to everything from simplifying program structures and understanding database design.
Could you be more specific about the book title?

Meanwhile, much of my database design knowledge comes from Systems analysis & Design Methods (Third Edition), by Whitten, Bentley and Barlow. (I referred to it on a regular basis while normalizing my friend's database...)
Atomic wrote:3rd Normal Form, anyone?
You wouldn't want to see what my friend's database looked like, before I normalized it for him... and even now, I'm not always convinced I did it all properly, but I still continue to program it for him... (At first, it was for his own use, for a gymnastics club, but he has since sold a version of it to some kind of school, for which I am currently busy making modifications to adapt to their needs... keeping me busy, I tell ya!)
Atomic wrote:Once you have the structural concepts down, it's just a case of learning the vocabulary (language) and grammar to apply those concepts.
Yep. But even that still takes time, which is something I do not have much to spare...
User avatar
bmonk
Posts: 661
Joined: Wed Aug 01, 2012 5:19 pm

Re: How Dangerous 2012-10-09

Post by bmonk »

Dave wrote:
Haylo wrote:You young whippersnappers! Luxuriating in all those newfangled Hollerith cards! In my day we saved our BASIC code on paper tape that we had to roll up, uphill both ways! And we were glad of it! :D
You had paper tape? and BASIC?

Luxury.

Back in my day, we had to scrape the machine-code bits directly into clay tablets with our fingernails, and drag the tablets to the computer room on a platform of logs while fending off attacks by sabretooth tigers. And nobody ever bothered to empty the bit bucket, so all the clay dust we scraped off blew around everywhere and got into everything, and we all died of silicosis before our programs finished running.

And we liked it!
Reminds me of the demonic computer in Riddle of the Seven Realms by Lyndon Hardy.
User avatar
bmonk
Posts: 661
Joined: Wed Aug 01, 2012 5:19 pm

Re: How Dangerous 2012-10-09

Post by bmonk »

jwhouk wrote:Ah, Turbo PASCAL. Good times. Completely useless, but good times.
Was PASCAL the language where every program was actually a subroutine?
User avatar
Atomic
Posts: 2948
Joined: Tue Jul 31, 2012 12:39 am
Location: Central PA
Contact:

Re: How Dangerous 2012-10-09

Post by Atomic »

lake_wrangler wrote:
Atomic wrote:Understanding Array structures (tables, etc) and the use of Rational Expressions pointed my way to everything from simplifying program structures and understanding database design.
Could you be more specific about the book title?
My bad -- I meant to say Regular Expressions. The O'Reily series has it covered, for example, and I'm sure there are plenty of online resources to poke at.

The point is, once you understand that an array can represent any arbitrary organization of arbitrary data, the question becomes how to arrange it for minimal (preferably no) duplication (3NF at least), and how to access it (rational expressions). SQL, et al, is simply a styled manifestation of this concept, providing both the array (database) and the access tools (SQL coding). Drupal, for example, is an example of the box in a box in a box (Outside In programming) for web pages. You establish a hierarchy of containers (think CSS name= attribute), set them in a database, establish layout with item locations, then finally populate the containers with whatever you like. Want to change a price? Poke the database, not re-write the whole page. Lather, rinse, repeat.

Glad you found Starting Forth online. That's the book I was referring to. Granted, it's tailored for the Forth language, but the concepts are what counts. Learn what tools can do, then learn to apply the specific tool to meet your needs. That's why you really need a handle on Algebra and the various math operators in any decent spreadsheet program to build good Regular Expressions!

Happy coding!

P.S. -- Geez are we off topic here! Probably should have relocated this stuff to the Pub somewhere, eh?
Don't let other peoples limitations become your constraints!

My Deviant Art scribbles
The Atomic Guide to Basic GIMP Stuff
User avatar
Atomic
Posts: 2948
Joined: Tue Jul 31, 2012 12:39 am
Location: Central PA
Contact:

Re: How Dangerous 2012-10-09

Post by Atomic »

bmonk wrote:
jwhouk wrote:Ah, Turbo PASCAL. Good times. Completely useless, but good times.
Was PASCAL the language where every program was actually a subroutine?
Basically, yes, which was a break from GOTO programming by line numbers. GOSUB programming always intended a return, forcing you to consider handlers for them. By quitting the line number structure, you could build by function and not fuss about lines at all. Stylistically, you really need to keep a Subroutine down to 100 lines or less if you can, because it makes for easier documentation and maintenance. Also, if forces you to look for common code, which you can then generalize and make one Sub with 20 calls instead of 20 variations of the nearly same function scattered through the program.

If you were really good, you could basically flowchart your entire program, then code from the chart. Say some, anyway!
Don't let other peoples limitations become your constraints!

My Deviant Art scribbles
The Atomic Guide to Basic GIMP Stuff
Post Reply