Register | Sign In


Understanding through Discussion


EvC Forum active members: 65 (9162 total)
3 online now:
Newest Member: popoi
Post Volume: Total: 915,806 Year: 3,063/9,624 Month: 908/1,588 Week: 91/223 Day: 2/17 Hour: 0/0


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
Author Topic:   Quick Questions, Short Answers - No Debate
dwise1
Member
Posts: 5930
Joined: 05-02-2006
Member Rating: 5.8


Message 646 of 653 (884632)
02-27-2021 8:29 PM
Reply to: Message 640 by AZPaul3
02-26-2021 4:23 AM


I'm thinking it may be you as the problem. You crossing any unusual digits during composition? Have you checked your midichlorian levels?
Well, I did go through Ki development training in the early 70's (it's an Aikido thing) -- when Star Wars first came out in 1977 and Obi Wan was describing the Force to Luke, I immediately recognized it as Ki (translated as "life energy" or "mind"; transliterated from Chinese martial arts mysticism as "Qi", though it's written almost the same in both Chinese and Japanese with the rice-like radical in traditional Chinese being simplified into a kind of X)). But unlike in Scientology we didn't check any pseudo-scientific "midichlorian levels", but rather we would use Ki directly in our techniques which depended on us using Ki -- in Aikido, if you try to use physical strength to muscle your way through a move, then it will fail.
I also never crossed the streams (nor even realized why the very thought of it would freak out Ray Stantz so very much until two decades later).
Now, remember that I'm a retired software engineer with initial training as a computer electronics technician (which included chasing sparks through a CPU's logic diagrams). Combine my hardware training with working in C, which allows you to work very close to the metal, and I was very comfortable working with low-level operations, including bit-fiddling.
On my own I had learned sockets programming, which is how network programming is commonly done, about 20 years. While sockets supports upwards of 25 different networking protocol families, TCP/IP is the one used on the Internet and hence the predominant one. So in the process I also learned what I could of TCP/IP and its various protocols.
General networking theory is based on the OSI Protocol Stack which consists of 7 layers (hence the discussion of "layer"). TCP/IP commonly combines some of the OSI layers and is described with four layers which I discuss on my TCP/IP page.
As for HTTP message fields, ever since the mid-80's, I've had a personal programming project that I keep restarting every time technology changes. In 1981, Navy Reserve officer Larry Bond published his modern naval warfare miniatures game, Harpoon (he had designed it to help train fellow officers) and around 1985 a friend and I sat down to run a very simple introductory scenario involving a Kidd-class destroyer and three Osa-II missile boats. The engagement was for 10 to 20 minutes, but after three hours of graphing, measuring, and calculating by hand we weren't even half-way through the scenario. That's when I decided that I needed to develop a "Harpoon Helper" program that would do all that messy book-keeping work for us. Yes, Bond's game system has been converted to a series of computer games, but there your forces are pitted against the computer's and (in the first iteration at least) you have to micro-manage everything.
In the most recent development effort (circa 2013), I expanded my ideas to a networked system. That was inspired by the Distributed Interactive Simulation (DIS) standard in which each unit (including each piece of ordnance in flight) is a separate entity that communicates with all the others (and with the simulation monitor) via UDP datagrams. However, DIS uses multicast and the source code was mainly interface shells, but it got me thinking.
I chose to model the application protocol after the HTTP messages that the Web uses. I studied HTTP and started some prototype coding to process my version of HTTP messages. Again, HTTP request and response messages are how web pages operate as they GET resources and then receive them.
BTW, Larry Bond had worked with Tom Clancy on Clancy's break-out novel, "The Hunt for Red October", for which they used Harpoon to game out the "battle scenes". A major source of military hardware information that they used came from the well-known and authoritative Jane's books started by Fred T. Jane as reference books to support his naval war game (1906). Wargaming is also very much a part of the curriculum at the Naval War College -- Invicta's videos, eg at https://www.youtube.com/watch?v=lj42mzT06jo&t=841s
But ever since I retired three years ago, I've done almost no programming at all. I will undoubtedly never complete that project, but it's been a very interesting study.
Fun story. At my last job (my final 28 years of employment), because of my skills in bit-fiddling I would usually be given the task of interfacing our units with new GPS receivers, with the communications protocol of their serial comm ports.
Part of that was interpreting binary data fields. Most receivers would transmit their binary data using IEEE standards, so the biggest problem would be translating the data stream's big-endian data representation to Intel's little-endian data storage. Fairly trivial.
However, we started using a major GPS standard which used an entirely different format for floating-point data. It followed the same basic principles of IEEE-754, but the exponent and mantissa fields were different sizes (which also affected how to interpret the exponent field), along with being big-endian. Plus we had to be able to convert both ways, from RCVR (receiver) to IEEE as well as from IEEE to RCVR. The problem was definitely non-trivial are required concentration and a lot of attention to detail. One flipped or misplaced bit (out of upwards to 64 bits) would be disastrous.
At the same time, I assisted a West Coast Swing dance teacher with her classes, mainly minding the door, handling the sign-ins and the money, and demonstrating moves. One of her popular classes was ladies' styling. It didn't take me long to figure out that it wasn't polite to be the only guy present with nothing to do but sit and watch, so I developed the habit of always bringing something to read or to work on.
Such as this non-trivial floating-point format conversion problem from work. During one 1.5-hour class, I worked out the entire approach, then refined the approach, then sketched out most of the code. The next day at work all I had to do was type in the code, put on the finishing touches, and test it. Worked fine, so I submitted it for code review. I had mentioned where and under what conditions I had worked on it, so everybody, assuming that I had to have been distracted, did their best to find something, anything, that I had done wrong. They couldn't.
 
ABE:
Oh, and yes, there must be something about my site, which is where I place my images, that the forum software doesn't like. I even placed an HTML IMG tag for that Vienna French Toast in the page I'm working on now and it displays just fine, but when I copy-and-pasted that tag to this reply as a test it was "Image Not Found" all over again.
Edited by dwise1, : ABE

This message is a reply to:
 Message 640 by AZPaul3, posted 02-26-2021 4:23 AM AZPaul3 has not replied

  
Admin
Director
Posts: 12995
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.3


Message 647 of 653 (884648)
02-28-2021 3:43 PM
Reply to: Message 631 by dwise1
02-25-2021 5:34 PM


Re: What French Toast (Pain Perdu) is Called Elsewhere
I haven't been able to fix this but will continue to look at it. The image displays fine in Firefox, displays displaced to the right in Safari (will be fixed), but won't display in Chrome or Edge. Both Chrome and Edge display the image fine in a separate tab but get an error when they try to load the image for display in an EvC message.

--Percy
EvC Forum Director

This message is a reply to:
 Message 631 by dwise1, posted 02-25-2021 5:34 PM dwise1 has not replied

  
Admin
Director
Posts: 12995
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.3


Message 648 of 653 (884649)
02-28-2021 4:05 PM
Reply to: Message 631 by dwise1
02-25-2021 5:34 PM


Re: What French Toast (Pain Perdu) is Called Elsewhere
Just figured it out. It's a security issue. Chrome will not display http images on an https page. The problem should have begun for you as soon as I moved the website into the cloud, because I changed it from http to https at the same time. That would have been January of 2019.
I know how to work around this and should have it fixed soon.
If it's possible to flip your site into https mode, that would also fix the problem.

--Percy
EvC Forum Director

This message is a reply to:
 Message 631 by dwise1, posted 02-25-2021 5:34 PM dwise1 has not replied

Replies to this message:
 Message 652 by Stile, posted 05-24-2023 10:58 AM Admin has replied

  
ringo
Member (Idle past 411 days)
Posts: 20940
From: frozen wasteland
Joined: 03-23-2005


Message 649 of 653 (884660)
03-01-2021 11:14 AM
Reply to: Message 645 by dwise1
02-27-2021 6:06 PM


Re: [qs]Re: Cost of Gasoline/Petrol/Benzine in Europe
dwise1 writes:
Was selling it by the half-gallon the standard convention in Canada established decades before?
I never saw it anywhere else before or since. I was used to the Saskatchewan prices, Alberta's were a little bit lower than ours and BC's were a little bit higher than ours.

"I've been to Moose Jaw, now I can die." -- John Wing

This message is a reply to:
 Message 645 by dwise1, posted 02-27-2021 6:06 PM dwise1 has not replied

  
dwise1
Member
Posts: 5930
Joined: 05-02-2006
Member Rating: 5.8


Message 650 of 653 (887471)
08-04-2021 4:52 PM


Looking for Cardboard Morse Code Practice Devices
When I was a Scout, there was a simple cardboard (ie, like a playing card is made out of) device for practicing Morse code. We had obtained it already made, so this was not a craft project.
The whole thing measured about 4 inches (10 cm) square and was a dark gray color. It was folded into itself in about three layers. On the front layer, there were cut into it horizontal rows of slits which overall formed a circle about 3 to 3.5 inches (7.5 to 8 cm) across. On the inner layer right behind it was painted with a circle of the same size consisting of same-width stripes alternating between the same dark color as the outside and a light whitish color (possibly also luminescent for a glow-in-the-dark feature). The back of the outside is not important, but I seem to recall that it had the Morse code printed on it for reference.
The way it operated was that at you would hold it by the top and the bottom between your thumb and your fingers and squeeze it or release it. At the default rest position, the inside dark stripes would line up with the front's slits and the front would appear to be dark. But when you squeezed it, the inside light stripes would line up with the slits and you'd get the "lit up" circle.
My question is where and how to obtain them. I know that Morse code is no longer required and has fallen out of use, but I'd like to be able to pass that knowledge on to my grandsons some day.
 
ADDENDUM:
Googling for more info (mainly a photo of one), I stumbled upon it as "WW2 NAVY TRAINING AID CARDBOARD MORSE CODE FLASHER" at https://www.worthpoint.com/...-aid-cardboard-morse-130619847 . That site appears to be a kind of antique auction site and the going price for one of those (you need at least two for practice) on eBay is about $30. At least by going there you can see what I was just describing.
My father had been in the Navy (WWII plus about a decade in the reserves), so that is probably how we had acquired them.
So my question shifts to whether something like that is still being made and where I could acquire them. $30 each (plus $5 for shipping) is a bit stiff for me.
 
ABE:
PS

I found them on amazon.com at $3 for a pair.
Edited by dwise1, : PS ABE

Edited by dwise1, : added "(mainly a photo of one)"


  
dwise1
Member
Posts: 5930
Joined: 05-02-2006
Member Rating: 5.8


(1)
Message 651 of 653 (910891)
05-24-2023 12:39 AM


English Lit Question
Two questions, actually.
1) There is a truism mentioned in many literature classes that there are only a small number of different stories such that the thousands of stories we see are just retelling those few basic stories. A good example is the many retellings of Romeo and Juliet; eg, as West Side Story. Or of Joseph Campbell's example of the Journey of the Hero in which the inexperienced and not ready hero embarks on a journey in which he learns and grows into the hero that he must eventually become.
We see this all the time in movies and TV shows -- my father used to get a rise from us when we'd be watching a new episode on TV and he'd say that he had seen this one before and we'd argue that it had never aired before now. That was taken to the ridiculous when I returned home from duty at midnight (1977) and my wife told me about having watched back-to-back episodes of Charlie's Angels and Mod Squad. They were the exact same story (armed robber ditching his gun in a park, a kid finds it and accidentally shoots one of the main characters who falls out of sight in the bushes so the rest of the team has to find him/her), the only difference being different characters. We assumed that a writer just resold the script figuring that no one would catch on. A few years ago for fun I searched through Wikipedia's episode lists for those episodes and found them. They were indeed written by the same screenwriter and Wikipedia noted that duplication.
My question on this one is: How many basic stories are there? I seem to recall fifteen (15), but I guess it depends on the lecturer.
2) There's a basic story that has cropped up a number of times and which seem to be based on a classic story which I heard mentioned in a lecture half a century ago (like everything I seem to recall).
I think it's called "A Sailor's Story" and that it's supposed to be Chaucer, though I'm undoubtedly wrong. A sailor falls overboard and just as he is about to drown, he is rescued by a mermaid who takes him to the shore of a fantastic land. He has many fabulous adventures and acquires great wealth, etc, until he finishes drowning. IOW, everything he had experienced was an illusion in the fraction of a second before death.
What is the name of that classic story?
Ambrose Bierce's version was An Occurence at Owl Creek Bridge, of which a French version was filmed and released in 1963 and was shown on The Twilight Zone (I watched that broadcast). Union troops capture a man and hang him as a spy, but as he drops the rope breaks and he falls into the creek and is swept to safety by the current. He flees to his home where his wife is waiting for him, evading capture all along the way. He makes it to his home, his wife rushes to greet him with open arms, and that is when he hits the end of the rope.
There was a film, Clay Pigeon (1971), which starts with a squad on patrol in Nam. A VC lobs a grenade into their midst and one GI throws himself onto the grenade to save the rest, but it doesn't explode. Flash forward to him having returned to Los Angeles and now he's a street hippie. A narc (Telly Savalas) decides to use him as bait to lure out a drug lord (Robert Vaughn), a "clay pigeon" to get shot at. A number of scenes are surrealistic, like the drug lord's obsession with hats. In the end, everybody he loved has been killed and he just barely survived, so he lunges in anger at Savalas, at which point the grenade explodes.
In his Nobel Prize winning novel, The Glass Bead Game (1943), Hermann Hesse describes an academia in which, as a side note, students were to write a "life", casting themselves as a person in some past time, a past life. In "The Indian Life", he tells the story of a prince whom, to keep him from getting killed in palace intrigue (his stepmother wanted her own son from a previous marriage to be Raj, like Livia wanted her son, Tiberius, to be Caesar so she killed off all other heirs; Claudius only survived because he was deemed harmless), was sent to be raised by a peasant. He marries and is happy, but the Raj (his stepmother's son) arrives and takes his wife, so he kills the Raj and escapes. He happens upon a yogi in the woods whom he tells his story to, to which the yogi just laughs and says, "Maya!" ("illusion", but very much more than simply that). In response to the boy's pleas to explain Maya, the yogi tells him to fetch a pot of water. When he is at the river, he sees his wife who explains that his true identity had been discovered, that he is the rightful Raj, and they have come to take him home to his palace. He rules wisely and has a son whom he loves very much, so he is very happy for years. But then a neighboring raj wages war with him and conquers his city, killing his son. Devastated, he is put in chains and thrown in the dungeon. Crying over his plight, he notices the light having turned green and instead of being bound behind his back, his hands were holding something, that pot for fetching water for the yogi. Understanding Maya, he returns to the yogi and never leaves the forest.
And there are many more examples of that particular story.

  
Stile
Member
Posts: 4295
From: Ontario, Canada
Joined: 12-02-2004


Message 652 of 653 (910893)
05-24-2023 10:58 AM
Reply to: Message 648 by Admin
02-28-2021 4:05 PM


Re: What French Toast (Pain Perdu) is Called Elsewhere
Confirmed Chrome user unable to see the picture here.
Just let me know if you want a Chrome user to attempt viewing again at a later date.

This message is a reply to:
 Message 648 by Admin, posted 02-28-2021 4:05 PM Admin has replied

Replies to this message:
 Message 653 by Admin, posted 05-25-2023 10:12 AM Stile has seen this message but not replied

  
Admin
Director
Posts: 12995
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.3


Message 653 of 653 (910910)
05-25-2023 10:12 AM
Reply to: Message 652 by Stile
05-24-2023 10:58 AM


Re: What French Toast (Pain Perdu) is Called Elsewhere
Sorry, I just haven't been able to get to this.

--Percy
EvC Forum Director

This message is a reply to:
 Message 652 by Stile, posted 05-24-2023 10:58 AM Stile has seen this message but not replied

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2023 by EvC Forum, All Rights Reserved

™ Version 4.2
Innovative software from Qwixotic © 2024