Little explorations with HP calculators (no Prime)
|
04-02-2018, 01:53 PM
Post: #301
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
good point!
Wikis are great, Contribute :) |
|||
04-02-2018, 02:24 PM
Post: #302
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
rprosperi Wrote:My suggestion is to leave the miniUSB cables plugged-in to both calculators, and only plug/unplug the USB-A (PC side) connector as needed. The USB-A connectors are much more robust than the small and delicate mini-USB. Apparently not....., the opposite in fact USB-A has a mere 1500 mating cycle rating See section 5.3 of this current example by molex https://www.molex.com/pdm_docs/ps/PS-48037-001-001.pdf (same story with the A socket) https://www.molex.com/pdm_docs/ps/TS-48037-001-001.pdf Mini-B is 5000 mating cycle rated See section 4.2.2 of this active current example by molex: https://www.molex.com/pdm_docs/ps/PS-51387-003-001.pdf and Micro USB socket is 10,000 mating cycle durable See section 3.3.2 on this active current example by molex again: https://www.molex.com/pdm_docs/ps/PS-47589-001-001.pdf Goes against what you intuitively think based on the size of it, but there it is. |
|||
04-02-2018, 05:34 PM
Post: #303
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(04-02-2018 02:24 PM)Zaphod Wrote: Goes against what you intuitively think based on the size of it, but there it is. Interesting theory.... my real-world experience is different. I have been asked to replaced many device-side connectors, but rarely a PC-side. No doubt this is due to more careless handling/operation, but whatever the reason, these simply fail more often. But more importantly, if the USB-A socket on the PC fails, it is easily replaced (even if needed, most PCs have more than needed), and cost is about $10 for a new board, or cheap hub. If the mini-USB port of the 50g is damaged, you must replace the 50g. --Bob Prosperi |
|||
04-02-2018, 06:17 PM
Post: #304
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(04-02-2018 05:34 PM)rprosperi Wrote: I have been asked to replaced many device-side connectors, but rarely a PC-side. No doubt this is due to more careless handling/operation, but whatever the reason, these simply fail more often. It's not exactly a theory , these are manufacturers specs. I would suggest failure is pretty much always prematurely down to careless handling/accidents, but the micro/mini have a better chance of serious board damage... for it to actually 'wear out' as per the data-sheet is virtually unheard of. Two distinct kinds of failure. The plug will act as a lever when an external 'accident' happens and rips the tracks off (if you're very very lucky and the board is tough enough, the lead-free soldering breaks free before the actual tracks, otherwise an accident will just rip the tracks to bits, often destroying any chance of repair.) They rely on two soldered lands on the board for physical security (as well as a small amount offered by the connection tracks.) USB A sockets are a bit more substantial and sometimes (but not always) have 'through-hole soldered' lugs for physical security. micro and mini sockets just aren't big enough for this kind of help. For actual plugging in and unplugging if you're gentle doing so, the micro and mini stand a better chance of wear resistance. Quote:If the mini-USB port of the 50g is damaged, you must replace the 50g. Particular reason ? If the socket itself is damaged and still secure on the board , surely a replace of the socket is on the cards (with the appropriate smd rework kit) ? |
|||
04-02-2018, 08:53 PM
Post: #305
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(04-02-2018 06:17 PM)Zaphod Wrote:Quote:If the mini-USB port of the 50g is damaged, you must replace the 50g. I'm really making a general statement for that set of the audience that aren't skilled enough to do their own SMD-level repairs (maybe 98%). More than likely, these folks are careful enough to not damage stuff anyhow, though of course accidents can happen to anyone. Though the specs you cite are indeed interesting (and somewhat surprising to me) I stand with my earlier advice. Real world behavior has proven that you're more likely to damage the 50g than the PC if you constantly are connecting/disconnecting the device. While an argument could be made that by leaving the miniUSB connected to the 50g all the time, you are in fact more likely to cause damage as a fall landing on the top of the machine with cable inserted could break the connector or its interface to the board more easily than if it fell alone, such contrived conditions are outside the 'normal' use scenario, IMHO. --Bob Prosperi |
|||
04-02-2018, 08:55 PM
(This post was last modified: 04-02-2018 08:58 PM by pier4r.)
Post: #306
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(03-17-2018 08:55 PM)pier4r Wrote: A question still remains. A kind user solved this problem for me in PM. Code:
edit: and while I thank Zaphod for the manufacturer datasheet, I prefer to destroy 10 PC hubs than one 50g. No I am not skilled enough to fix the board components. Wikis are great, Contribute :) |
|||
04-02-2018, 09:11 PM
Post: #307
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
I seldom use the USB port for data transfer, mostly the SD card. OTOH, I'm not sure how rugged the SD card slot is either.
|
|||
04-02-2018, 09:16 PM
(This post was last modified: 04-02-2018 09:19 PM by Zaphod.)
Post: #308
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
rprosperi Wrote:I'm really making a general statement for that set of the audience that aren't skilled enough to do their own SMD-level repairs (maybe 98%). More than likely, these folks are careful enough to not damage stuff anyhow, though of course accidents can happen to anyone. Ah right , gotcha , yes , even I’m careful of products when a micro usb is plugged in , because it’s ‘prone’ ... a potential accident waiting to happen... I try and place the cable on a hard surface with little chance of the cable imparting any force on the socketry. I do this sort of repair work as a day job, so whilst I can do the repair, it’s something I’d rather avoid causing in the first place .... but I don’t have any qualms about actually plugging in and out per se. Quote:I'm not sure how rugged the SD card slot is either. Hmmmm, there’s another problem socket (not particularly on the 50), often gives me headaches. Lol |
|||
05-05-2018, 02:22 PM
(This post was last modified: 05-05-2018 03:16 PM by pier4r.)
Post: #309
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
For the ones going to paste their text with rpl and digraph in emu48 the following link may be interesting, because otherwise one has errors and may be puzzled.
https://groups.google.com/forum/#!topic/...kKpV03RRk4 In short the digraph have to be converted to go in the emulator. There is also a program reported in this page http://hp.giesselink.com/emu48.htm and Tim W. suggested also that would be possible to connect the conn4x (that includes the ability to convert text to hp obects) to emu48 using a virtual COM port. For example this: http://com0com.sourceforge.net/ . Another possibility is using DDE, but with that I am not sure the text is converted to an object. PS: although I know that emulators are a great work, I normally try to use the real 50g. Only when I have to transfer back and forth a lot of data then I have to admit that emulators / desktop app are more handy. Update: the ascii to bin conversion program did not work. Likely due to my encoding settings in notepad++ or notepad2-mod. I used the com0com null modem, set the emulator using the COM7 and the conn4x works, seeing the calculator on COM7. In this way it is relatively easier to pass text to the emulator. It is a bit less faster than before, but still faster than a real 50g, if the data to pass is a lot. Wikis are great, Contribute :) |
|||
05-06-2018, 06:13 AM
(This post was last modified: 05-09-2018 12:28 AM by RMollov.)
Post: #310
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(03-27-2017 07:39 PM)Gerson W. Barbosa Wrote:(03-27-2017 12:14 PM)pier4r Wrote: Would you show those steps here? I stopped before them thinking that's enough... Thanks, *** edit: I mean only if you derived this solution directly from the geometry and not by playing with the equation WolframAlpha style |
|||
05-21-2018, 12:53 PM
(This post was last modified: 05-21-2018 12:54 PM by pier4r.)
Post: #311
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
Some notes for those that are in my previous situation and for myself in the future (when I will forget).
1. simple but effective backups on the SD card (50g). Of course one can make or search proper backup programs that do everything automatically but in the worst case do: (a) tidy up the SD card main folder with the help of libraries like the sdfiler (see http://www.hpmuseum.org/forum/thread-10644.html ) (b) select all the things in port0 (HOME) to be copied with the built in filer (the same can be done with port1 and port2 files) (c) copy them on the SD card (d) with the SDfiler tidy up again the sd card, for example moving the new files to a proper folder. (e) repeat as wished but be careful, the sdfiler sometimes doesn't really see many files in a folder 2. enjoy the power of conn4x (connectivity kit software between PC and 50g plus usb drivers for the 50g). This will require winXP (mostly). Wait a moment, it means that you should keep a winXP functioning device as well for your hp 50g! Or you play around with virtual machines. conn4x can quickly transfer data in textual form. Use the "edit as text file". It is really flexible. You can create new folders, rename them, and then edit the content (converting them to programs or so) with ease. Also you can discover how folder works, seeing the content (as text) of one filled folder on the 50g. Alternatively go search threads like this: http://www.hpmuseum.org/forum/thread-8054.html with the explanations of DavidM. also conn4x is useful to pass a lot of data in text format (plus digraphs) to the virtual calculator as well. The virtual calculator doesn't swallow easily digraphs or line endings. Wikis are great, Contribute :) |
|||
05-21-2018, 01:04 PM
Post: #312
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(05-21-2018 12:53 PM)pier4r Wrote: 2. enjoy the power of conn4x (connectivity kit software between PC and 50g plus usb drivers for the 50g). This will require winXP (mostly). Wait a moment, it means that you should keep a winXP functioning device as well for your hp 50g! Or you play around with virtual machines. The 50g connectivity kit works fine on any version of Windows as long as you remember to deactivate driver signing enforcement on versions of Windows that support this when you install the USB driver. |
|||
05-21-2018, 06:02 PM
Post: #313
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(05-21-2018 01:04 PM)grsbanks Wrote: The 50g connectivity kit works fine on any version of Windows as long as you remember to deactivate driver signing enforcement on versions of Windows that support this when you install the USB driver. 1 + I've used conn4x for years under Win-7 Pro x64 with no issues at all with a 50g. With a 48GX, I can't seem to get conn4x to capture screen shots, but otherwise no issues with 48GX either. --Bob Prosperi |
|||
05-22-2018, 03:03 AM
Post: #314
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(05-06-2018 06:13 AM)RMollov Wrote:(03-27-2017 07:39 PM)Gerson W. Barbosa Wrote: Let's divide one of the right-triangles into four right-triangles (two with sides lengths equal to r and x and two with side lengths r and 1-x) and a square with side r. Then it's area is Sorry for the late reply! I stopped following this thread since page 8 or 9, so I’ve completely missed your request. The next steps are simply the manual solution of the second-degree equation using Baskhara’s formula: r = (-4 + sqrt(4^2 - 4*8*(-1)))/(2*8) ... r = (-4 + sqrt(48))/16 ... r = (sqrt(3) - 1)/4 Pier has provided a drawing that illustrates the solution. Gerson. |
|||
05-23-2018, 11:04 AM
Post: #315
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(05-22-2018 03:03 AM)Gerson W. Barbosa Wrote:(05-06-2018 06:13 AM)RMollov Wrote: Would you show those steps here? I stopped before them thinking that's enough... Thanks, Gerson As I already mentioned, I'd be interested if that could be derived directly from geometry. Now I'm happy that's not the case. |
|||
12-26-2018, 09:34 PM
Post: #316
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
The following problem can be used to explore list functions. For example on the 50g. Useful list libraries that expands the built in ones: listExt ( http://www.hpmuseum.org/forum/thread-8555.html ) , goferlist ( https://www.hpcalc.org/details/6529 ) and lsort ( https://www.hpcalc.org/details/2828 ).
The problem: there are 100 blue Christmas balls and 40 white Christmas balls in a line, randomly ordered. There are Anna and Berta that needs balls for their Christmas trees. They decide that Anna will pick a continuous chunk of the line of length 70, for example between the position 3 and the position 72, the rest will be picked by Berta. Could they find a way to ensure that Anna and Berta pick both 50 blue balls and 20 white balls? If yes, is a special arrangement of the balls needed to achieve it? Wikis are great, Contribute :) |
|||
12-26-2018, 11:41 PM
Post: #317
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(12-26-2018 09:34 PM)pier4r Wrote: The problem: there are 100 blue Christmas balls and 40 white Christmas balls in a line, randomly ordered. There are Anna and Berta that needs balls for their Christmas trees. There will always be a contiguous segment of 70 balls containing exactly 50 blue balls and 20 white balls. If there is a starting position that produces more than 50 blue balls, then to even things out there must be some other starting position that produces fewer than 50 blue balls. Since shifting the starting position by one place changes the number of blue balls by at most 1, there must be some starting position between those two positions that produces exactly 50 blue balls. (This uses a discrete variant of the intermediate value theorem.) — Ian Abbott |
|||
12-27-2018, 03:22 PM
Post: #318
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
To explore this, I put together a couple of helper apps.
The first simply creates a randomized list of 1s (blue balls) and 0s (white balls): Code: Balls "Balls" creates a randomized list of 100 1s and 40 0s in about 0.1s. To see how many contiguous runs of 50 blue/20 white "balls" there were in a list, I created this routine: Code: AnnaBerta "AnnaBerta" takes the list created by "Balls" and checks each contiguous subgroup of 70 elements for the proper mixture of blue/white elements. I assumed that no wrap-around is appropriate for contiguous groups, so I only check starting positions of 1-71. The smallest result I recall seeing was 1, ie. a single contiguous group in the target list. The largest would be 71, since it's possible to come up with an ordered list where all contiguous subgroups meet the criteria. I've yet to see that in random testing, though. Execution time of "AnnaBerta" varies depending on the number of found starting points. A list with only 1 "match" completes in about 2.4s, and the opposite extreme (71 matches) completes in about 3.1s. |
|||
12-27-2018, 04:59 PM
Post: #319
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
After running a bunch of iterations of the previously-posted routines, I became curious about the distribution of counts of matches (where a "match" is defined by a proper mix of 50/20 colored balls).
Knowing that it would be too slow to attempt this on a 50g, I opted to attempt this with python running on my laptop (I'm still in a learning mode with python -- please be kind). I came up with the following to generate one million random lists of 100 blue/40 white balls, then summed the individual counts to see how they were distributed: Code: import random The final result of the above is a tab-delimited list of counts and quantities, and the following is a sample of one run: Code: 1 60726 Placing that data into an Excel spreadsheet and plotting the result gives a very familiar shape: I suspect the probability of randomly generating a list that has 71 "matches" is quite small. |
|||
12-27-2018, 06:52 PM
Post: #320
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
David I am not sure I understood your test. I am not sure I decoded the data properly.
For example: Code:
It means that out of 1 million attempts, 60726 of them had at least one list of 70 elements that matches the requirement? 60743 times there were two matching lists? Wikis are great, Contribute :) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 9 Guest(s)