PPC DVD HP-Calc Archive Disk "Slightly" Updated - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: PPC DVD HP-Calc Archive Disk "Slightly" Updated (/thread-192699.html) |
PPC DVD HP-Calc Archive Disk "Slightly" Updated - Jake Schwartz - 09-01-2011 Hi, Now that the 15C LE is announced, I did a slight update to the PPC HP-calc archive DVD disk to include the 53 HP15C-related pages distributed at the HHC2010 conference last year. Each attendee received an "HP15C+" prototype under NDA and they even based the annual programming contest on the 15C. (Can you imagine everyone keeping quiet for a year? It somehow worked out...) More info on the disk may be obtained by checking http://www.pahhc.org/ppccdrom on the web.
P.S. - HHC2011 is going to be amazing.....check http://hhuc.us/2011/index.htm for info
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - Gerson W. Barbosa - 09-01-2011 Quote:
You are a bunch of trustworthy people!
15c LE programming contest entry - Gene Wright - 09-01-2011 The contest for the 15c LE was to sort numbers in 0 through 9 in ascending order. Winning program was published here and was something like this:
LBL A That at least, was my program. :-) Richard Schwartz won the contest by replacing the NOP LBL 1 I used with MATRIX 9, certainly a more ingenious NOP. However, the contest for RPL machines was to sort a list of numbers in ascending order but to sort the odd numbers first, then the even numbers. So, given 1, 2, 3, 4, the result would have been 1, 3 then 2, 4 but for 10 values. After the conference, I wrote the program on the PDF attached so the 15c LE could sort numbers in 0 through 9 with the odd numbers sorted first and the even numbers sorted afterward. This took a LONG time with the 15c, but runs FAST on the 15c LE.
I expect a great deal of additional information will be presented at HHC 2011 in a few weeks.
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - robert rozee - 09-02-2011 any chance of the information (the 50+ pages) being made available online?
Re: 15c LE programming contest entry - Paul Dale - 09-02-2011 Quote: Why would this make the difference between winning and not?
Re: 15c LE programming contest entry - Gene Wright - 09-02-2011 Because it was considered more elegant. :-) It was funny...Richard and I *independently* came up with the exact same solution otherwise. Richard turned his in several hours before I did, which also properly figured into it, since the solutions were the same otherwise.
So, having lost the HHC contest, I programmed the RPL challenge on the 15c LE, which has now been shared in the PDF.
Re: 15c LE programming contest entry - Paul Dale - 09-02-2011 More elegant? No way. MATRIX 9 is a *two* byte command whilst LBL 1 is a *one* byte command. You lost unfairly ;-) Not being first is a good reason however.
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - Jake Schwartz - 09-02-2011
Quote: Here you go: http://dl.dropbox.com/u/33228006/HHC2010%20Programming%20Contest.pdf http://dl.dropbox.com/u/33228006/HP15C%2B%20Speed%20Comparison%20and%20Reference.pdf http://dl.dropbox.com/u/33228006/Programming%20the%2015C%2B.pdf
(I hope this works)
Re: 15c LE programming contest entry - for the 34s? - Gene Wright - 09-02-2011 Oh, I wasn't sad at all. Richard Schwartz is an amazing person and merely coming up with the same code as he did, even if a bit later, :-) made me feel very nice. Hey Pauli... how about a 34s program that does the same thing? Random positive integers stored in 0 through 9. Sort the odd numbers first, then the even numbers. Examples of input and output: Input stored in 0 through 9: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Output stored in 0 through 9: 1, 3, 5, 7, 9, 2, 4, 6, 8, 10. Input stored in 0 through 9: 2, 2, 5, 1, 9, 4, 8, 8, 6, 3 Output stored in 0 through 9: 1, 3, 5, 9, 2, 2, 4, 6, 8, 8.
etc. Be good to see just how small and fast a 34s version would be.
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - Gene Wright - 09-02-2011 Note: the 15c given to us at the conference was a beta version. There were a couple of issues that were fixed for the 15c LE, which increased speed on some things. The speed tests are for the BETA unit, not the shipping unit. I know many presentations will be made in a couple of weeks at the conference on this great machine.
This year's conference will truly be great.
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - Gene Wright - 09-02-2011 Here's a slightly better version of my 15c example presentation. I did the problem to be FUNNY with it and to see how fast the machine really is. Turns out this example pointed out a slight problem with the emulator which has been fixed and now this example runs at about 150X faster as well, which was not quite the case at the conference. Re: 15c LE programming contest entry - for the 34s? - Paul Dale - 09-02-2011 Quote: The base challenge for the 15c is kind of a non-event:
001: LBL A The odd/even version might be a fun challenge to pose. Maybe I should modify R-SORT to take a label argument that defines an ordering function. - Pauli
Edited: 2 Sept 2011, 8:11 a.m.
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - Paul Dale - 09-02-2011 Stop making those of us who cannot attend jealous :-(
Re: 15c LE programming contest entry - for the 34s? - Gene Wright - 09-02-2011 Agreed on the plain "sort 1 through 9" or "sort 0 through 9" part. :-) It is the odd / even distinction that makes it interesting! :-)
Is redefining how a function works considered cheating? :-)
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - robert rozee - 09-02-2011 all downloaded successfully :-)
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - Namir - 09-02-2011 Maybe Jake can post some of the sessions on YouTube???
Namir
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - Howard Owen - 09-02-2011 That reference document is priceless. The reprintings of Valantin Abillio's "Long Live the HP-15C!" and his polynomial fitting article lay out the case for the HP-15Cs worthiness better than any other documents I'm aware of. Then we find, later on in the appendices, John Dearing's 15C review in the PPC journal. Some of his complaints about the machine, coming from the perspective of a 41C user, echo many that I've seen here lately. His list of pros include many of Mr Abillio's points and few more. The rest of the material is extremely useful and interesting too. Kudos!
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - Gene Wright - 09-02-2011 Howard, see what happens when you skip an HHC? :-)
See you in a couple of weeks.
Re: PPC DVD HP-Calc Archive Disk "Slightly" Updated - Howard Owen - 09-02-2011 A fault I will remedy this year :)
HHC2010 Sessions - Jake Schwartz - 09-02-2011
Quote: Actually, if you search for "HHC2010" on YouTube, you will find many session videos up there, placed there by Eric Rechlin. It is still my goal to have the DVDs complete by conference time, and to have multiple sets on the door-prize table.
Jake
Re: HHC2010 Sessions - Howard Owen - 09-02-2011 If you do that search, you get a lot of hits related to Hip Hop. I know that fits the demographics here to a "T," but you might try going directly to Eric Rechlin's YouTube page instead :)
Re: 15c LE programming contest entry - for the 34s? - Paul Dale - 09-02-2011 Quote: Had a neat idea about this one last night while suffering a bit of insomnia. If we run the 34S in integer sign and mantissa mode and assume that the supplied integers are positive then we can apply this bit of code:
9 Then sort registers 1 - 9 however you want. R-SORT isn't viable here unfortunately here since we're in integer mode. Finally:
9 And you have you result. The clever trick I'm relying on here is that in sign and mantissa mode, NOT negates the number without reversing the apparent ordering of the numbers. For example, in 4 bit integer mode:
# NOT # This relies on having positive numbers in the registers. If negatives are permitted as well, the problem is a bit more interesting. RR 01 might be a viable transform.
Quote: Only if I can't justify the change as useful more globally :-)
Re: 15c LE programming contest entry - for the 34s? - Gene Wright - 09-02-2011 Quote:Gene -- Is redefining how a function works considered cheating? :-) Quote: Pauli -- Only if I can't justify the change as useful more globally :-)
I agree with that! I will key this in and play.
Re: 15c LE programming contest entry - for the 34s? - Howard Owen - 09-02-2011 Since we assume all were positive, we can do
RCL->I
in the second code block. I'm assuming we have "ABS" on the 35s. Mine is out of batteries too.
Re: 15c LE programming contest entry - for the 34s? - Paul Dale - 09-02-2011 Quote: Yes, the *34S* has ABS. ABS isn't sufficient in this case. The NOT used initially isn't just negating the number. It is making the number negative in a way such that the relative ordering of the (positive) numbers doesn't change. - Pauli
Edited: 2 Sept 2011, 7:35 p.m.
Re: 15c LE programming contest entry - for the 34s? - Paul Dale - 09-02-2011 Quote: How about this:
001: LBL A If I could be bothered counting steps and using SKIP and BACk, the total would reduce by four steps to 25. The final RTN could also be omitted by moving the LBL 01 block above LBL 90 to bring the total to 24.
Re: 15c LE programming contest entry - for the 34s? - Paul Dale - 09-02-2011 A bit of rearrangement and it is down to 24 steps without omitting the final RTN. 23 if it is omitted.
001: LBL A
|