Larkin, Power BASIC cannot be THAT good:

I think you have missed the point of spreadsheets and other scratchpad tools. They allow accountants and scientists to get results from modest amounts of data without them having to learn how to program in detail.

They are also excellent for creating test data using a method that has completely different characteristic modes of failure to classical programming languages.

Your hardware is cute. But some of the statements you make about software engineering are risible.

Most of the fast binary search methods rely on an ordered array of target data. You have to pay for that sort at some stage.

But if you want a pure O(1) solution to replace a linear search then hash tables can be extremely effective.

If it doesn't need to scale then it makes no difference at all. But you need to be *very* sure of that. Programs that originally run inefficiently on small datasets tend to get used on bigger ones until they grind to a standstill.

Regards, Martin Brown

Reply to
Martin Brown
Loading thread data ...

No it isn't. A 32 bit fixed point or scaled integer can represent and specify a position with 1 micron resolution over a 4km range.

The largest commonly used plotters are about A0 or a couple of metres wide. You can do 1000ppi and 65.535" width in 16 bits though it tends to be limiting.

It only gets really hairy if you want to zoom in dynamically. Floating point for graphics is certainly *easier* to work with but it isn't essential.

Integer or fixed point implementations are one of the ways it is done - especially on smaller portable systems with limited grunt like phones.

Regards, Martin Brown

Reply to
Martin Brown

On a sunny day (Tue, 9 Jun 2009 16:01:21 -0700 (PDT)) it happened snipped-for-privacy@gmail.com wrote in :

Nice site :-) Too bad the moron did everythin gin .pdf that loads slow and is useless in a browser. Blame that o adobe (WTF source code in pdf??????). So I deleted that bookmark again.

Reply to
Jan Panteltje

On a sunny day (Tue, 9 Jun 2009 16:00:51 -0700 (PDT)) it happened snipped-for-privacy@gmail.com wrote in :

I use PostgresQL, IIRC it is written in C. And I use PhpPgAdmin as frontend (written in php). Who needs MS SQL server? The whole source is small: -rw-r--r-- 1 root root 11609501 2006-05-24 11:20 postgresql-8.1.4.tar.bz2 Here is some more info on their site:

formatting link

Runs on MS windows too it seems. Did you by any chance *pay* anything for the MS SQL thing?

Reply to
Jan Panteltje

On a sunny day (Tue, 09 Jun 2009 16:58:05 -0700) it happened John Larkin wrote in :

Good business decision.

Reply to
Jan Panteltje

Google "spreadsheet errors." It's hard to imagine a more dangerous way to program important stuff.

My hardware and my software work. Both are reliable, documented, reproducible, formerly controlled, bug-free, and profitable.

Do you find that amusing?

You can only reasonably hash on one field, and I know of no way to, say, search for embedded substrings using hashing.

A lot of old tricks made up for limited memory or slow CPUs. Nowadays, with GHz processors and Gbyte rams and 7200 RPM disks, brute force is better than that stuff. It's not elegant, but it works. Some people love the tricks for their own sake.

John

Reply to
John Larkin

Yes. Most programming, as a process, is broken.

John

Reply to
John Larkin

I recently hired our first official Software Engineer. Up to now, various engineers programmed as needed. He's very good - does some good hobby-level electronics already - and really wants to learn more about hardware. We're going to let him do a pc board, layout and all, by himself. Rare animal.

Still scary, though, letting the software culture into our shop.

John

Reply to
John Larkin

bz2

Our data are hosted by MS SQL Server. I didn't personally buy it - my department did, from various outside contractors. If I told you the full story your eyes would burn out in horror.

Michael

Reply to
mrdarrett

n a browser.

You're impatient. Consider that the book, new, costs US$100+ on amazon.com.

In Firefox I just right-click, Save Link As. I did it while reading the various chapters.

Check out Chapter 6, and re-evaluate whether this is junk to you. I had no idea the LEA instruction could add so efficiently.

formatting link

Michael

Reply to
mrdarrett

^^^^^^^ formally

Good one, huh?

John

Reply to
John Larkin

Databases can be problematical. Lots of big organizations have been pitched into chaos for a year or so by signing up with Oracle.

John

Reply to
John Larkin

Only if you look at it from a technical or academic perspective. From a business perspective, the process is quite well tuned.

Like anything, performance and reliability are worth whatever the market is willing to pay for them, no more and no less. If the market prefers cheap crap over paying for quality, you get cheap crap.

Reply to
Nobody

ar.bz2

Ah, Oracle. We may go there yet.

Michael

Reply to
mrdarrett

But in my experience, the worst software is the most expensive. A lot of the best software is free.

John

Reply to
John Larkin

One of my biggish customers, in one annual report, notes that "we have almost recovered from the Oracle conversion." Occasionally I get their ECOs and they make absolutely no sense; they don't seem to understand them either.

Wasn't it Oracle that trashed HP server deliveries for about 6 months?

John

Reply to
John Larkin

On a sunny day (Wed, 10 Jun 2009 08:42:12 -0700 (PDT)) it happened snipped-for-privacy@gmail.com wrote in :

So I looked up that chapter. But you know. these days, I write in C, and use gcc as compiler. I have come to trust gcc, its code generation, its libraries. So I could not care less if the processor targeted (I use other platforms then x86 too) had a hardware instruction to do every thing my program needs, As long the as the compiler knows it :-)

This is the advantage of C, or as J. Larkin would state: 'Power BASIC', or any high level language. I did some asm programming of x86 in the long ago past, but since 486 DX2 66 MHz I have not kept up with what Intel did, and do not care. The only time I may ever look at x86 or similar complex processor's asm is for fun at the gcc output to see what it generates.

I use asm on PIC (only asm, I have that C compiler, but asm is closer to the hardware for me). In my view with good compilers for the sort of thing I do no asm is needed. It may be needed if you write a codec and need max speed perhaps.

There are several useful graphics APIs that can be called from C.

How fast do you have to go anyways? The latest H264 encoders use Nvidia graphics cards as hardware accelerator. that is so specialised, if you design that sort of soft, then yes, maybe you need to be wizard in x86 asm:

formatting link
Do they use asm? perhaps?

Reply to
Jan Panteltje

See what happens when you send too much time arguing with dimbulb?

--
You can\'t have a sense of humor, if you have no sense!
Reply to
Michael A. Terrell

that

for

No kidding. We had a half dozen programmers at Microdyne. They had to be separated from everyone else in the complex. I always found it quite odd that any decent tech or engineer can remember the details on dozens of products, but most programmers can't remember anything from the last program they completed. My guess is that real engineering requires real logic, and most programmers just fake it.

--
You can\'t have a sense of humor, if you have no sense!
Reply to
Michael A. Terrell

Then tell Sloman. No one would miss him.

--
You can\'t have a sense of humor, if you have no sense!
Reply to
Michael A. Terrell

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.