Author Topic: Test Equipment Anonymous (TEA) group therapy thread  (Read 14943509 times)

K0ELB and 184 Guests are viewing this topic.

Offline GregDunn

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: us
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18300 on: October 17, 2018, 04:28:13 pm »
Over my career from college through systems engineering through software development I think I've probably learned over 30 programming languages.  BASIC is fun to use, but you can't really extend the language without moving to a compiled version - which negates most of the instant feedback you get from an interpreter.  If I was after readability + speed, I always ended up using C (not C++, C# or the other horrid encumbered variations).  As part of my last job, I was essentially forced to program in Java; over the 18 years I used it, I developed a loathing for it that is hard to communicate in a few sentences. 

When I discovered Python, it was almost like that cartoon - a language which was powerful and yet reasonably efficient, and you weren't forced to use unnecessary layers of objects for simple things.  I found excuses to use it to replace Java everywhere I could.  I even prefer it to shell scripting if it's installed on a machine I use.

Yes, the "Hello World" program has always been a sharp test of how much overhead is required by a programming language; if you can perform it in a handful of machine language steps it shouldn't require a megabyte of Java libraries to do the same.
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23026
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18301 on: October 17, 2018, 04:34:28 pm »
Python seems to be a good language for getting things done quickly and I've been intending to learn it for a long time now but I never get around to it.

But I think it's kind of ironic that python fans brag about being able to do "Hello World!" in one line.  Seems to me we could all do that back in the 1980's with any computer that booted right into BASIC, or any computer that had a BASIC interpreter.   :)

This is my favorite way to do a Hello World program:



Python is one of those things. It's like a good box of tools. But all the tools are from Star Trek TNG.

Big fan of debug.  MSDOS and me go a loooong way back. One of my prized posessions back from the distant past. IBM PC UG meeting in the late 1980s I snagged this just before heading off to university...



 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18302 on: October 17, 2018, 04:45:04 pm »
What kind of crummy foreword is that!?
 
The following users thanked this post: GregDunn

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23026
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18303 on: October 17, 2018, 04:50:07 pm »
Hahaha  :-DD
 

Offline GregDunn

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: us
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18304 on: October 17, 2018, 05:08:44 pm »

I once found this quote in a book on Digital Electronics:

Nothing Dignifies labor so much as the saving of it.

A rule I try to live by.  ;D

We have gotten so far away from that in today's software.  I feel that a large part of the race toward faster machines with more memory was a direct result of programmers' unwillingness to exert a little more effort when coding.  That also leads to multi-megabyte programs which fail in subtle ways and require multi-megabyte monitoring and debugging suites to isolate (a large part of my job in the final years before I retired).  Any labor saved by bodging together huge libraries instead of writing more efficient programs is obliterated by the outages and recovery efforts resulting from that mass of ugly code.  Now that we've hit the wall and Moore's Law is no longer a valid guide, people are going to have to learn how to program smarter instead of just faster again.  You can't simply multi-thread an existing program and expect it to run faster.

And now, my Digi-Key order has arrived and I need to hunker down in the lab for a while.
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23026
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18305 on: October 17, 2018, 05:17:52 pm »
Incidentally you get paid better to handle this crap now though. The binary payload on the last .net thing I worked on was about 350mb (!)

Doug stuff properly means knowing what you’re doing which is in short supply.
 

Offline Specmaster

  • Super Contributor
  • ***
  • Posts: 14483
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18306 on: October 17, 2018, 05:50:30 pm »
Whats wrong with Sinclair basic?

10 PRINT "Hello World"
20 GOTO 10

That bloody simple.  :-DD
Who let Murphy in?

Brymen-Fluke-HP-Thurlby-Thander-Tek-Extech-Black Star-GW-Avo-Kyoritsu-Amprobe-ITT-Robin-TTi
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23026
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18307 on: October 17, 2018, 05:56:57 pm »
Mainly the shitty keyboard you have to use to get it in :)
 

Offline Specmaster

  • Super Contributor
  • ***
  • Posts: 14483
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18308 on: October 17, 2018, 05:58:17 pm »
Not on my Spectrum, it has a normal keyboard :)
Who let Murphy in?

Brymen-Fluke-HP-Thurlby-Thander-Tek-Extech-Black Star-GW-Avo-Kyoritsu-Amprobe-ITT-Robin-TTi
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23026
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18309 on: October 17, 2018, 06:02:42 pm »
Waste of a good keyboard  :-DD
 

Offline GregDunn

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: us
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18310 on: October 17, 2018, 06:07:10 pm »
Incidentally you get paid better to handle this crap now though. The binary payload on the last .net thing I worked on was about 350mb (!)

Doug stuff properly means knowing what you’re doing which is in short supply.

I must admit we were paid well to do it; unfortunately, AT&T loves to cut corners up front and then pay out the arse to keep dodgy software working later.  Most of the sw "engineers" we worked with had no clue what debugging was.  They just slapped the code together and did no regression testing or trace analysis before dropping it into production - and remember, this code all directly or indirectly interacts with the phone system.  A careless DBM in a hurry to start their holiday deleted the wrong partition during a backup and took down our 600TB (that's not a typo) database for most of a week.  They had never tested the backup/restore function so it was a huge surprise that nothing had been backed up properly in two months.  That was a very entertaining Thanksgiving weekend, let me tell you...
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23026
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18311 on: October 17, 2018, 06:09:44 pm »
Unfortunately that hasn’t changed. I was shovelling similar smelling turds today :)
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 10576
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18312 on: October 17, 2018, 06:36:25 pm »
Today's XKCD:

Anybody got a syringe I can use to squeeze the magic smoke back into this?
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 10576
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18313 on: October 17, 2018, 06:49:02 pm »
...  Most of the sw "engineers" we worked with had no clue what debugging was.  ...

I'm of the opinion that there is no such thing as "software engineering" and am deeply suspicious of those who claim to be "engineers" in the realm of software. Some small part of the business of producing software is amenable to actual engineering, but most of it is not, and the activity of making it is a "craft" not engineering. Good software is craftsmanlike and the producers of the same are craftsmen and master craftsmen, titles anyone ought to be proud to be capable of wearing.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23026
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18314 on: October 17, 2018, 07:00:51 pm »
I don’t think it’s engineering or craft related. It’s neither. When even the best quality tools disintegrate in your hands, you’re no better than a monkey painting with its own excrement.
 
The following users thanked this post: GregDunn

Offline Carl_Smith

  • Frequent Contributor
  • **
  • Posts: 288
  • Country: us
    • MegaMicroWatt - Carl Smith's Blog
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18315 on: October 17, 2018, 07:07:43 pm »
Yes, the "Hello World" program has always been a sharp test of how much overhead is required by a programming language; if you can perform it in a handful of machine language steps it shouldn't require a megabyte of Java libraries to do the same.

And that is why I like the "debug" version of the Hello World program.  It produces a .com file that is 28 bytes long.   :)

I remember way back when I first learned a little about Visual Basic, probably version 4.  I was appalled when I made a program that produced a dialog box with nothing but the text "Hello World!" and an OK button and the resulting .exe file wouldn't fit on a 1.44MB floppy disk.  :palm:

Offline Carl_Smith

  • Frequent Contributor
  • **
  • Posts: 288
  • Country: us
    • MegaMicroWatt - Carl Smith's Blog
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18316 on: October 17, 2018, 07:10:11 pm »
Today's XKCD:




Every XKCD comic has "mouse over" text with another bit to the joke, which doesn't show when you link to the image here.   This one's mouse over text says:

Quote
I'm working on assembling a combination declinometer, sclerometer, viscometer, aleurometer, stalagmometer, and hypsometer. I'm making good progress according to my ometerometer, a device which shows the rate at which I'm acquiring measurement devices.

Offline Specmaster

  • Super Contributor
  • ***
  • Posts: 14483
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18317 on: October 17, 2018, 07:17:48 pm »
...  Most of the sw "engineers" we worked with had no clue what debugging was.  ...

I'm of the opinion that there is no such thing as "software engineering" and am deeply suspicious of those who claim to be "engineers" in the realm of software. Some small part of the business of producing software is amenable to actual engineering, but most of it is not, and the activity of making it is a "craft" not engineering. Good software is craftsmanlike and the producers of the same are craftsmen and master craftsmen, titles anyone ought to be proud to be capable of wearing.
I agree with you, its not engineering, its a form of technical writing. You don't call an author of a book, no matter how important or big seller it is etc. an "engineer" of any sort, they are writers or authors so why should a person who writes software code be an engineer?  :-//
« Last Edit: October 17, 2018, 07:24:08 pm by Specmaster »
Who let Murphy in?

Brymen-Fluke-HP-Thurlby-Thander-Tek-Extech-Black Star-GW-Avo-Kyoritsu-Amprobe-ITT-Robin-TTi
 

Offline GregDunn

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: us
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18318 on: October 17, 2018, 07:42:48 pm »
...  Most of the sw "engineers" we worked with had no clue what debugging was.  ...

I'm of the opinion that there is no such thing as "software engineering" and am deeply suspicious of those who claim to be "engineers" in the realm of software. Some small part of the business of producing software is amenable to actual engineering, but most of it is not, and the activity of making it is a "craft" not engineering. Good software is craftsmanlike and the producers of the same are craftsmen and master craftsmen, titles anyone ought to be proud to be capable of wearing.
I agree with you, its not engineering, its a form of technical writing. You don't call an author of a book, no matter how important or big seller it is etc. an "engineer" of any sort, they are writers or authors so why should a person who writes software code be an engineer?  :-//

I had one software job which did require engineering - we were writing the control code for a programmable airborne radar system.  It had to be able to talk flawlessly to the hardware at every level and be able to withstand the most egregious abuse from the end users.  The amount of regression testing and timing analysis which went into that code was extreme.  When you're approaching a target at 600 knots and tracking it in 2D, the last thing you want is for the UI to freeze or the tracking algorithm to lose its mind; you don't get a do-over.

The language we used, incidentally, was not Java, Ada, or C - it was PL/M, which unquestionably produced the most efficient code I've ever seen.  We actually inspected the compiler output on a couple of occasions in hope of improving a few things and finally gave up because none of us could write better machine code by hand.  That software was a wonder.

I ended up using PL/M to write a real-time AGO keyboard scanner with force and velocity detection, using a 12 MHz 8051 and very little added hardware.  It's still working well 30 years later...
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23026
  • Country: gb
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18319 on: October 17, 2018, 07:51:26 pm »
That's the sort of job I'd have liked to have done if I'm honest.

Really I think modern programming is a result of the ability to quickly screw things up and then quickly unscrew them in a never ending cycle. People tread more carefully when they had an EPROM erase / burn cycle every time they did something.  Engineering has a long lead time between design and outcome thus the risk benefit is balanced differently.

Edit: most fun I ever had in this space was hand assembling Z80 code with a pencil and paper. Took forever but it worked every time as I was scared of getting it wrong.
« Last Edit: October 17, 2018, 07:53:15 pm by bd139 »
 

Offline GreyWoolfe

  • Supporter
  • ****
  • Posts: 3651
  • Country: us
  • NW0LF
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18320 on: October 17, 2018, 08:36:39 pm »
I love it when I am actually good for something instead of good for nothing!! :-DD

Hey what's the status with your meter?

It is supposed to be landing at ordinaryman1971's domicile today for calibration.  I included a return sticker to send it back.  I can't wait to have it back.  With the buttons replaced and feet added, it already has its spot ready on the bench.  That will be the first meter the DMM Check plus will attach itself to when it arrives next month.
"Heaven has been described as the place that once you get there all the dogs you ever loved run up to greet you."
 

Offline mnementh

  • Super Contributor
  • ***
  • Posts: 17541
  • Country: us
  • *Hiding in the Dwagon-Cave*
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18321 on: October 17, 2018, 09:03:42 pm »
...  Most of the sw "engineers" we worked with had no clue what debugging was.  ...
I'm of the opinion that there is no such thing as "software engineering" and am deeply suspicious of those who claim to be "engineers" in the realm of software. Some small part of the business of producing software is amenable to actual engineering, but most of it is not, and the activity of making it is a "craft" not engineering. Good software is craftsmanlike and the producers of the same are craftsmen and master craftsmen, titles anyone ought to be proud to be capable of wearing.

The dingle who coined the phrase was probably a fucking MBA... their entire degree consists of learning the same hundred or so ways to make numbers tell lies that have been taught for generations, and the current buzzwords in use for those lies. Of course they wouldn't get why the two are an oxymoron.  :palm:

An engineer deals in absolutes and concrete (sometimes literally) concepts; what you put in your brain, what comes out of it and what goes down on paper are all representations of tangibles in the real world, and that translate directly to THINGS.

Programming is by definition almost entirely abstract, the polar opposite; even when you start out with something concrete, you disintegrate it into a collection of interdependent abstact objects that don't really exist anywhere until somebody makes the thing those abstracts represent.

Yes, there's a LOT of hard math involved... and that usually represents some real physics in the real world... but it's STILL ABSTRACT objects used to describe abstract concepts to represent reality. It is more a high-precision art than any kind of science.

*Currently overrun with two small children*
« Last Edit: October 17, 2018, 09:12:11 pm by mnementh »
alt-codes work here:  alt-0128 = €  alt-156 = £  alt-0216 = Ø  alt-225 = ß  alt-230 = µ  alt-234 = Ω  alt-236 = ∞  alt-248 = °
 

Offline GregDunn

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: us
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18322 on: October 17, 2018, 09:21:26 pm »
That's the sort of job I'd have liked to have done if I'm honest.

Really I think modern programming is a result of the ability to quickly screw things up and then quickly unscrew them in a never ending cycle. People tread more carefully when they had an EPROM erase / burn cycle every time they did something.  Engineering has a long lead time between design and outcome thus the risk benefit is balanced differently.

Edit: most fun I ever had in this space was hand assembling Z80 code with a pencil and paper. Took forever but it worked every time as I was scared of getting it wrong.

It was a lot more rewarding than what I ended up doing at AT&T; and yes, we had to mass-burn EPROMs every time there was a software change.  I believe there was just over a megabyte of code in that three-processor system; all 8086 mil parts running at a whopping 5 MHz.

Before we had a native assembler, a friend and I used to hand-assemble all our 6502 code; it was easy to test small routines that way.  Even today, he or I will msg one another with a string of hex bytes to make the other laugh, because we remember the story behind much of it.
 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18323 on: October 17, 2018, 10:29:43 pm »
I agree with you, its not engineering, its a form of technical writing. You don't call an author of a book, no matter how important or big seller it is etc. an "engineer" of any sort, they are writers or authors so why should a person who writes software code be an engineer?  :-//
If writing code is technical writing then drawing up a schematic or blueprints with the correct numbers in the right places and testing it is just technical drawing. I'm not sure what would constitute an EE, because you just end up with people who draw and technicians.
 

Offline mnementh

  • Super Contributor
  • ***
  • Posts: 17541
  • Country: us
  • *Hiding in the Dwagon-Cave*
Re: Test Equipment Anonymous (TEA) group therapy thread
« Reply #18324 on: October 17, 2018, 10:36:29 pm »
That's the sort of job I'd have liked to have done if I'm honest.

Really I think modern programming is a result of the ability to quickly screw things up and then quickly unscrew them in a never ending cycle. People tread more carefully when they had an EPROM erase / burn cycle every time they did something.  Engineering has a long lead time between design and outcome thus the risk benefit is balanced differently.

Edit: most fun I ever had in this space was hand assembling Z80 code with a pencil and paper. Took forever but it worked every time as I was scared of getting it wrong.

It was a lot more rewarding than what I ended up doing at AT&T; and yes, we had to mass-burn EPROMs every time there was a software change.  I believe there was just over a megabyte of code in that three-processor system; all 8086 mil parts running at a whopping 5 MHz.

Before we had a native assembler, a friend and I used to hand-assemble all our 6502 code; it was easy to test small routines that way.  Even today, he or I will msg one another with a string of hex bytes to make the other laugh, because we remember the story behind much of it.

I think you plucked a cosmic string with that one... I mean, I traded ASCII humor with friends back in the day, but jokes in hex?

That's like finding your girlfriend's phone number in your own DNA... :-DD



mnem
alt-codes work here:  alt-0128 = €  alt-156 = £  alt-0216 = Ø  alt-225 = ß  alt-230 = µ  alt-234 = Ω  alt-236 = ∞  alt-248 = °
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf