Encoder/decoder

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Wyatt_Irk
Posts: 6
Joined: Sun Jun 30, 2019 11:25 pm

Re: Encoder/decoder

Post by Wyatt_Irk » Sat Jul 06, 2019 1:25 pm

Depending upon the size of the program, uploading as a text file could be easier. Outside of that, what functions do the “choose file” and “upload” buttons serve? What file type(s) are expected?

grsbanks
Posts: 856
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK
Contact:

Re: Encoder/decoder

Post by grsbanks » Sat Jul 06, 2019 1:42 pm

Wyatt_Irk wrote:
Sat Jul 06, 2019 1:25 pm
Depending upon the size of the program, uploading as a text file could be easier. Outside of that, what functions do the “choose file” and “upload” buttons serve? What file type(s) are expected?
The size of the text file makes no difference to how easy it is to copy and paste. Unless you're using prehistoric software that did sometimes limit the size of the clipboard to 64KB (that would be one hell of a program already!) you're not limited in that respect.

As for the file types expected, I suppose this is not explicit enough:

Image
Not SwissMicros staff, just an enthusiast.

Wyatt_Irk
Posts: 6
Joined: Sun Jun 30, 2019 11:25 pm

Re: Encoder/decoder

Post by Wyatt_Irk » Sat Jul 06, 2019 5:56 pm

I tend to do preliminary work in Free42 on my iPhone, where I don’t have access to ctrl-a, ctrl-c, ctrl-v because it is easier for me, and selecting and copying sometimes is problematic. But moving them from Free42 isn’t as easy, though you do copy them in Free42. But when trying to encode a file (rather than decode a *.raw file), I tried to use the select and upload buttons on the encode side.

I try to keep versions of programs stored in iCloud as text files because that process works for me. But I can’t import those directly to the DM42. I still don’t understand how to use the encode part of the encode/decode program by uploading a file. If it only works by pasting then okay, I misunderstood the intent.

User avatar
Walter
Posts: 1057
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: Encoder/decoder

Post by Walter » Sat Jul 06, 2019 7:17 pm

Sounds like a real-life customer problem. Alas, that's business! (The only nuisance factor is the customer. (S)he does things no reasonable person would ever do.)
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

Thomas Okken
Posts: 616
Joined: Tue May 02, 2017 3:48 pm
Contact:

Re: Encoder/decoder

Post by Thomas Okken » Sat Jul 06, 2019 8:11 pm

Here's how I transfer programs from Free42 on my iPhone to my DM42:
  1. On the iPhone, copy the program: in Free42, GTO the program in question, then switch to PRGM mode, tap in the top of the screen to bring up the main menu, and then select Copy. This copies the entire program to the system clipboard, as text
  2. On the iPhone, paste the program into an email, and send it to myself
  3. On my laptop, open the email, and copy the program listing
  4. Convert the program listing to raw. I use Free42 for this, out of habit more than anything else; the on-line encoder is probably a bit more convenient
  5. Transfer the raw file to the DM42. I won't go into the specifics of that; I think that part is well documented.

toml_12953
Posts: 523
Joined: Wed May 03, 2017 5:46 pm
Location: Malone, NY USA

Re: Encoder/decoder

Post by toml_12953 » Sat Jul 06, 2019 9:00 pm

grsbanks wrote:
Sat Jul 06, 2019 12:06 pm
ijabbott wrote:
Sat Jul 06, 2019 9:21 am
It doesn't support uploading program listings in text files, so you have to select and copy the text (e.g. from a text editor) and paste it into the "DM42 Listing" text box of the decoder/encoder page.
Egads -- it never crossed my mind that anyone would ever want to do that! I mean, how much quicker than "Ctrl-A Ctrl-C click Ctrl-V" do people expect a file upload to be?
But that means you have to touch the keyboard! That's something we Windows users aren't used to. We like choosing files from dialog boxes.
Tom L

My father was a man of the cloth. He was a tailor.

DM42 SN: 00025 (Beta)
SN: 00221 (Shipping)

Thomas Okken
Posts: 616
Joined: Tue May 02, 2017 3:48 pm
Contact:

Re: Encoder/decoder

Post by Thomas Okken » Sat Jul 06, 2019 9:38 pm

Well, Select All, Copy, and Paste are all in the Edit menu. You can do the whole sequence with the mouse if you prefer. The keyboard shortcuts are just for those of us whose computer habits were formed before 1984. :lol:

rprosperi
Posts: 489
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: Encoder/decoder

Post by rprosperi » Sat Jul 06, 2019 9:59 pm

toml_12953 wrote:
Sat Jul 06, 2019 9:00 pm
That's something we Windows users aren't used to. We like choosing files from dialog boxes.
Not this Windows user. 8-) Keyboard shortcuts are easier, faster and not as prone to oops. And even if you do somehow oops, Ctrl-Z fixes that too.

My fingers have done this for so long, I sometimes have to look at the keyboard to see what they already know.

One of the reasons Windows-10 is great is there are more key assignments available than in any prior version. Often a single key assignment substitutes for 3 to 4 mouse gestures, making them well worth learning.

And yes, I admit it, a lot of the common use keys I use go back to DOS days... but that's an advantage, not a handicap. :lol:
--bob p

DM42: β00071 & 00282

toml_12953
Posts: 523
Joined: Wed May 03, 2017 5:46 pm
Location: Malone, NY USA

Re: Encoder/decoder

Post by toml_12953 » Sun Jul 07, 2019 1:18 am

rprosperi wrote:
Sat Jul 06, 2019 9:59 pm
toml_12953 wrote:
Sat Jul 06, 2019 9:00 pm
That's something we Windows users aren't used to. We like choosing files from dialog boxes.
Not this Windows user. 8-) Keyboard shortcuts are easier, faster and not as prone to oops. And even if you do somehow oops, Ctrl-Z fixes that too.

My fingers have done this for so long, I sometimes have to look at the keyboard to see what they already know.

One of the reasons Windows-10 is great is there are more key assignments available than in any prior version. Often a single key assignment substitutes for 3 to 4 mouse gestures, making them well worth learning.

And yes, I admit it, a lot of the common use keys I use go back to DOS days... but that's an advantage, not a handicap. :lol:
You're a closet Linux user! :lol:
Tom L

My father was a man of the cloth. He was a tailor.

DM42 SN: 00025 (Beta)
SN: 00221 (Shipping)

User avatar
akaTB
Posts: 298
Joined: Tue May 02, 2017 11:56 am

Re: Encoder/decoder

Post by akaTB » Sun Jul 07, 2019 11:10 am

toml_12953 wrote:
Sun Jul 07, 2019 1:18 am
rprosperi wrote:
Sat Jul 06, 2019 9:59 pm
toml_12953 wrote:
Sat Jul 06, 2019 9:00 pm
That's something we Windows users aren't used to. We like choosing files from dialog boxes.
Not this Windows user. 8-) Keyboard shortcuts are easier, faster and not as prone to oops. And even if you do somehow oops, Ctrl-Z fixes that too.

My fingers have done this for so long, I sometimes have to look at the keyboard to see what they already know.

One of the reasons Windows-10 is great is there are more key assignments available than in any prior version. Often a single key assignment substitutes for 3 to 4 mouse gestures, making them well worth learning.

And yes, I admit it, a lot of the common use keys I use go back to DOS days... but that's an advantage, not a handicap. :lol:
You're a closet Linux user! :lol:
We, old DOS users, came before any linux user. 8-)
Greetings,
    Massimo

-+×÷ left is right and right is wrong :twisted: Casted in gold

Post Reply