Combine integer fields filter

Question: My need is to combine fields which their data type is integer.
I did not find a module for that. Or is there? The "Global: Combined fields" filter supports strings only.
Which approach would you recommend to achieve this? Thanks!
[Edit]
After seeing a comment from @scronide I am adding here some info (this is more generic so I do not comment his comment).
One might indeed choose the direction of saving a value in another field. It may be indeed as a computed field, but also as another integer field which - in its turn - holds the wanted value using code or rules.
However, I wanted to consider the on-the-fly retrieving the items.
Still, may be the separate field direction is better to go with. I will give here my exact situation, also as @Roy Segall suggested.
GIVEN
 - Using Search API indexes for the view's exposed filter;
 - Multiple integer field in a few content types. In the "Person" content type I have: "Year born", "Was active from", "Was a king from", etc. In another content type "Work" I have "Year written", "Year published", etc.
NEED
- The exposed filter is in a view where both content types are located and should return results of any item of any content type which holds a value bigger than or equal to the search value in any of the integer fields.
NOTE
As I am not an expert regarding performance, I am not sure which direction is the way to go; that is, saving a separated field (shared one across types) and index it for a simple filtering, or rather indeed filter on the fly among multiple fields.
Thanks for using your calories in your brain to help me think...
Amir
Answer: Add a Computed Field to the content type to calculate the sum of the other fields–stored as an integer–and then you can use it as a Views filter. You will need to re-save your nodes to generate the computed field values.

Combine integer fields filter


Looking for a late 1950s to early 1960s movie or TV show with some similarities to "The Zanti Misfits"

Question: Move over Zanti Misfits!
Though I chose Zanti Misfits as the primary reference I think that will have to change after viewing this video:

While Mad Ants is a mediocre parody of the type of science fiction movie that I am seeking, the visuals and scenes are very close in appearance to the fleeting scenes I can recall from decades ago. In fact the first animated scene of an enlarged ant crawling near a 1950s contemporary house with a fearful human inside is so close to a scene I referenced many times below that I'm left wondering if the creator of "Mad Ants" saw the same movie that I'm looking for. If the ants are reduced in size to about one to two feet long and have the grayish termite look I illustrated below, then the scene would be identical to the one I recall.
I will revise this question sooner rather than later because of this find which was the result of many months of searching into the early morning hours. I think this new video will help lead to an answer, finally.

In the side panel for this question is another question about a movie or show in which ants grow in size and eat everything in their sight. Here is the link to this question:
Movie about ants that eat everything and grow to be huge
Regarding the movie or show in my question, there could be the possibility that in the piece the termite or ant creatures grow in size. I can only recall several short but memorable and mesmerizing scenes in which the termite creatures do the following: 1) Swarm a house or building with a man inside and attempt to gain entry. One creature does get in and confronts a man and speaks to him in English. I don't recall what happened after that. 2) Swarm an automobile with a woman inside who prevents their entry by closing the auto's windows as the creatures crawl over the exterior. 3) A man and a woman watch as large numbers of the creatures mass in a desert plain and likely talk about what is happening.
Those three scenes comprise what remains in my memory of this movie or show. It is very possible that the creatures were eating whatever they could. It is also possible that the creatures grew in size from smaller, more normal size insects and grew even further to much larger sizes. Therefore the question asked by the other user may intersect with my question and an answer may solve both questions.
To aid in the identification of the piece I'm seeking, I will soon compact, summarize and organize the most relevant material from what I have added since asking the question. This will no doubt make the question more readable and coherent.

I might have to start searching through sci-fi literature of the 50s and 60s to try to find a story that is similar to the scenes I recall from the piece in question. My first attempt yielded this story by AC Clarke:
https://en.wikipedia.org/wiki/The_Next_Tenants
This story has an interesting twist in that man is to be replaced by techno-literate termites. This could possibly fit the scenes of the piece I saw which showed enlarged termite-like creatures seemingly taking control of human creations (houses, cars, etc.).

I could not find any full episodes of Out of the Unknown online but I did find a still photo synopsis of all of them on You Tube at the following address:

After carefully viewing this compilation I can say with certainty that the piece I seek is not an episode within that series. Out of the Unknown does have some element of the surreal in it, but it's primarily drama-oriented and doesn't fully engage the surreal element like the piece that I seek does.

Apparently France has produced a minimal number of sci-fi movies. While the list below is likely incomplete, it probably represents the bulk of them. I didn't find anything close to the piece in question though I did think that with movies from the 50s and 60s such as J. Tati's "Mr. Hulot on Vacation" and their minimalist dialog and unique POV an almost-silent movie about a termite-like creature invasion would not be far off at all.
In any case I did find a sci-fi piece with a surrealist mood though its a scene-by-scene movie composed of a series of still photos in black and white:
https://vimeo.com/138951063
If I understood French I'm sure I would have enjoyed this movie, however its another small piece in the puzzle of re-creating the movie or show I'm looking for.

"Out of the Unknown" is an English sci-fi series that ran from 1965 to 1971 with the earlier episodes in black and white:
https://www.imdb.com/title/tt0058836/?ref_=tt_ov_inf
Of the sci-fi/adventure/futurist/horror/mystery series made in England during the 1960s and 1970s that I searched, only this series shows some promise in terms of finding a possible match or clue to the piece in question. However its been removed from You Tube and is only available in DVD form (from BBC, I believe). Of the episodes that might be of interest, one in particular stands out: "The Uninvited." If anyone can offer links to episodes from this series it would be much appreciated.

A commenter below mentioned this 1951 sci-fi series:
https://www.imdb.com/title/tt0451557/?ref_=ttep_ep_tt
I cannot find any episodes of "Out There" on You Tube or similar video sites. If anyone can point me to one or more episodes it would be very helpful.

I should have found this information sooner, but better a little later than not at all. IMDB has a list of sci-fi and related anthologies of the 1950s and 1960s that seems to be mostly complete. In entries below I've already detailed my search of some of series that are on this list. Here it is:
https://www.imdb.com/list/ls060030280/
If anyone following or participating in this question would like to help feel free to choose a series (or more than one) and go through the episodes and check for any possible matches. You might want to re-search some of the series that I have already checked.

Because Alfred Hitchcock's TV series are within the 50s-60s time period, in black and white and can be a bit surreal I searched both runs of his shows. Virtually every one of his episodes involves a murder or other criminal mystery without a hint of sci-fi, though there is an undercurrent of horror. I could not find even a hint of a match.

After thoroughly searching the IMDB list of Mexican horror and sci-fi films of the 1950s and 1960s I can be certain that the movie or episode in question is not of Mexican origin. As with English sci-fi/horror of the same period, it seems that those two particular sub-industries in those two particular countries started off with a scant few titles.

Though the entry immediately below made only minutes ego has greater importance to the understanding the theme and plot of the piece in question, this short narrated piece about termites' immense capacity for cooperation and engineering on a grand scale (relative to their size) features footage of real termites in their nests:

In particular, the scenes of termites moving in groups bears a striking resemblance to the scenes that I can recall from the movie or episode in question. If the size of the termites were enlarged to 6-8 inches, their color shifted to a dull metallic gray, and their movements slowed to about 1/4 their real-time speed, the resulting footage would almost mirror what I can recall from many years ago. This is the closest I can get to the actual footage of what I originally saw without spending several months creating 3D models of the termite creatures and animating them for a short piece to briefly illustrate a glimpse from a scene.

From Japan in 1968 comes the movie "War of the Insects" also seen titled as "Genocide," in which insects decide to eliminate humans out of their fear of a nuclear war:

There are many parallels between this movie and the movie or episode I am seeking. The first and foremost of which is the plot, which gives the insects purpose. In the piece I'm seeking the basic story is unclear though its likely to revolve around a very similar theme. Depending on the origin of the termite-like creatures I describe in detail below the plot could be anything from a near match to something roughly similar.
The massing and swarming of the insects in "War of the Insects" also parallel the action scenes in the piece I'm seeking. Some specifics, such as the hornet or bee-like insects in that move have much in common with what I'm seeking, though it seems that real bees or hornets were used along with stock footage of the same, whereas the piece I'm seeking likely employs stop action models.
"War of the Insects" has several surreal moments though for the majority of the piece it maintains a typical doom-and-gloom atmosphere since the movie terminates with the detonation of a nuclear bomb. Nevertheless, here is another clue in the identification of the piece in question.

Below is a quick and rough sketch I made several weeks ago of the essential form of a Zanti ant creature vs the termite-like creature which is featured in the piece I'm seeking. While the sketch was executed with rapidity I can say that the essential forms of the two fictional creatures were captured to my satisfaction which relies on distant but distinct memory. I find that some of my memories of this piece are fading and any drawings or notes are important to maintaining my recollections.
You will note the considerable differences between the two creatures which upon study would not be mistaken. Likewise, the two stories are equally distinct. Since my sketch was done with pencil I enhanced the clarity of the scanned image and touched up the hand lettering.

In the link below to the movie "Carnival of Souls" I found a scene that closely duplicates a scene from the piece I am searching for. The scene begins at 1:08:12 and ends at 1:08:25:

While this particular segment is short, so is my memory of a very similar scene in the piece I search for. Also, this scene is from the approximate date of the show or movie I'm seeking and its in black and white with something of a surreal tone to it. However the filming is very sharp and clear unlike the piece I'm searching for which had a hazier look.
As for the action, the only missing element would be the termite-like creatures I described below, which would be attempting to enter the vehicle. This clip is now the closest actual material I have found to the scene in the piece in question. Hopefully this will ring a bell for some of the vintage sci-fi enthusiasts who visit this site.

Searching for surrealist sci-fi of the 1950s and 1960s brought me some interesting results, if not any direct clues as to the movie or show I continue to search for. One of the key elements that I cannot reinforce enough is that this mystery piece has a surreal, dreamy mood in direct contrast to shows such as The Outer Limits. While the latter must have been shot with very high quality optics and film of its time, it reaches for an extreme, immediate realism despite the often absurd appearance of its monsters and aliens. This sharpness of image and intimate look into the expressions and moods of its characters and scenes sets it distinctly apart from another show (or movie) that relies on something quite the opposite. Below is an altered image of actual termites, with the individual most resembling the ones in the piece in question encircled:

My attempt at re-creating a bit of the mood of the piece in question was limited by my image editing skills and available time, yet it no doubt projects a different feel from the much more realistic photo in an entry below. From my memory I can clearly recall that the creatures were a dull to slightly metallic hue depending on the lighting of the scenes, so if you can project that onto my modified image in your mind you may momentarily transport yourself into the realm of the piece in question. Sometimes a brief entry into the twilight zone or a night gallery may be helpful.

Through discussion and reflection, it has occurred to me that the program (movie or episode) that I viewed almost 40 years ago could be a British or other foreign creation. If you read through this slowly enlarging "question" you will note that I mention numerous times an eerie, slightly surreal atmosphere that was established and maintained in what scenes I can recall. I have not often found this atmosphere in US American productions, and I was born and reside here. I have viewed many productions from around the world and have found that this type of atmosphere is much more common in foreign pieces than in US pieces. This particular mood also tends to be accompanied by minimalist dialogue, something that is uncommon in many US sci-fi productions.
In the comments below another appreciator and seeker of obscure sci-fi pieces mentioned that its likely the piece I seek is exactly one of those rare birds. I concur, and further, suggest that any and all whose curiosity is piqued by my inquiry review their memories for any foreign sci-fi movies or shows that have anything in common with my list and other descriptors below. It would also be helpful to consider any US-made pieces that did not conform to the common moods and themes prevalent in American productions.
I have seen at least several European movies and other pieces with virtually no verbal dialogue whatsoever, and this "silent treatment" of the viewing audience is something both striking and at odds with American sensibilities, this giving me reason to now suggest the pieces in question may likely be foreign (or very obscure American).

Since I added the termite photo I thought it would be helpful to add a list of dissimilarities with Zanti Misfits since the difference between the alien ants and termites is graphically illustrated now:

Zanti Misfits: a current model luxury car is seen with an ant on its roof. In the show or movie I look for the termite-like creatures are actively crawling on the windows of a similar car, terrorizing the female occupant who runs the windows up just in time to keep the termites out.
Zanti Misfits: The alien ants arrive in a typical alien saucer-type space ship. In the show or movie I seek, no space ship is shown. The termites are free ranging and seen across a wide, open area unlike the Zanti ants.
Zanti Misfits: The ants are seen sliding down an old stained glass window. Apparently the stop-action movements were too involved so the figures were simply lowered on a string. I found this to be a cheap shortcut that detracted a lot from the overall story. In the show or movie I am trying to find, the termite creatures were walking across what I think was a glass block wall or window of a house. Several termite creatures were shown at once and each moved in the same manner as in other scenes. This added considerably to the eerie, surreal mood that had been set.
Zanti Misfits: The Zanti ants have a jerky, twitchy type of movement, similar to real ants. The termite creatures had a smoother, slower gait similar to real termites.
Zanti Misfits: The ant misfits could speak their alien tongue but we never saw them actually speaking. They opened their human-like mouths but never spoke. We only hear them through a receiver speaker and their English was via computer translation. The termite creatures do speak, however, and in English with a metallic voice - no translation necessary. They are not wordy and their speech was slow, again adding to the surreal nature of the atmosphere created.
Zanti Misfits: The Zantis that arrived on earth were simply a small group of convicts or prisoners. They were accompanied by guards and the Zanti leadership spoke for them and gave orders to the ship's guards as to what action they would take, up until the prisoners decided to escape. The termite creatures I saw had no central leadership and therefore were not following direct orders. Apparently their massing and roaming was a group behavior and had nothing to do with any kind of higher authority.
Zanti Misfits: The Zanti prisoners focused their attack on the old building in which US military officers made their headquarters. The prisoners were not attempting an invasion or takeover of the planet - they were attempting to escape and eliminate their new jailers on earth. The termite creature, however, seemed to be roaming about in numbers in an attempt to subdue or control (if only out of fear) the human race.
Zanti Misfits: The entire episode focuses on a ghost town in CA and the surrounding terrain, which includes a high rock hill with many outcrops and other rock formations. What I recall of the piece in question is that it took place in an open plain, likely in CA but the location also could have been in UT or NV as the terrain seemed dry with minimal vegetation.
Zanti Misfits: One of two criminals in an automobile gets out and walks up the rocky hill described in #8. He peers into the Zanti ship and then chased and attacked by a solitary ant. He rolls down a rocky incline and seems to be stunned as the ant crawls up his arm. No such attack takes place in the piece I'm searching for. The termite-like creatures seem to be more intent on frightening humans - part of the eerie, surreal atmosphere created as opposed to the tense standoff and brief but hectic confrontation in Zanti.
Zanti Misfits: The ants emit an insect-like buzzing sound as they approach or attack. They do not speak though they do open and close their mouths. Only the unseen Zanti authority figures are heard speaking. The only other sound emitted by the Zanti misfits is a high-pitched shriek or shrill cry as they are killed. The termite-like creatures make no sounds or noises as they move and are only heard speaking on two occasions as they confronted trapped humans (one in a car and one in a house).

Hopefully this list will help differentiate the show or movie I'm looking for from Zanti Misfits so anyone with memories of it may recall some of these specific scenes.

Here is a photo of a real termite that closely resembles the enlarged termite-like creature depicted in the show or movie I'm seeking:

The particular individual I'm referring to is the second from the top and with the large head. In the clips that I can recall the creatures looked very much like this termite but in a dull metallic color and with some simplification, but its the closest I could find.

At this point I can add a rough summary of the movie or show I'm searching for as opposed to the silhouette below that I've patched together with comparisons to scenes in other movies.
1) A show or movie with a lower contrast, hazier esthetic that suits the low-key action and atmospheric scenes that comprise the piece
2) A story that centers around a massing of termite-like creatures. The creatures are unnaturally large for their type being approximately 1ft or 30cm in length and they are a dull metallic color. They walk on short legs  with a slow, steady gait unlike longer-legged ants or other insects with rapid, erratic motion. These creatures can also vocalize the English language and there are scenes where they speak to humans they are attacking. Its not clear whether they are aliens, mutants, or some form of life-like robots. They have simple heads with no human features and were able to tilt and swivel their heads.
3) The scenes that I can recall are:
a) The creatures terrorizing a human in an automobile and actively attempting to enter the car.
b) Terrorizing a human in a house in a group of a dozen or so. The creatures crawled across windows and on the outside of the house. There were close-up shots of them actively moving singly and in groups. Again, their movement was slow and steady. The human in the house was sitting on a chair or sofa in fear. One creature seemed to have slipped into the house and spoke to the man in the chair or sofa in a metallic voice.
c) Scenes of the creatures massed, being attacked and of individual humans speaking urgently with each other. These scenes are unfortunately very faint for me though they are definitely associated with the piece in question. I also recall some action scenes where the creatures were being attacked with possibly military weapons with fire and explosions among the creatures.
The above is my most complete recollection to date though with time more may surface.

This question is till open and unanswered since I haven't been able to offer the right clues and hints - yet.
However after viewing many alien or mutant insect movies the closest I could find yet would be Phase IV (1974). Being in color and from the 1970s separates is from 50's and 60's sci-fi in many ways, though the plot is what matters. Discarding the details, the plot is about alien or mutant ants with a higher level of intelligence or mental development than humans. Naturally in this genre the attacking aliens or mutants plan to take over the earth and in Phase IV, they preempt every move the heroes make and even communicate to the humans through their tactical moves what they are thinking and planning. The human heroes end up in a sealed dome where they struggle to find an answer. The ants almost taunt them and there is a scene where one of the people in the dome plead with the ants to leave go away.
This summarized plot and story seem very close to the older movie or show I'm looking for without the look and mood of the 70's sc-fi style. Also, footage of real ants was used in Phase IV whereas what I'm looking for used models of termite-like insects. The termite-like (or small ant-like) creatures are very deliberate and even talk to the humans trapped in a house or shelter as they enact their plan. This produces a very eery surreal mood as in Phase IV even though one uses special effect creatures and the other special footage of real ants. Unfortunately I can't recall anything about the ending of the movie or show I hope to find but now I believe I have the core of the story summarized. While Zanti Misfits has some similarities because of the size and type of creature, the entire plot is based on suspense and a quick resolution which is different than the slow deliberate plot of Phase IV and what I'm after.
It is possible that Phase IV is a take-off of the older movie or show I'm seeking. Phase IV was not a popular movie at all and it is the type of movie that is open to interpretation. What I'm looking for is much the same and at least Phase IV is a good reference point.

I just finished up my own search of The Outer Limits and found the old episode "The Zanti Misfits" (S1E14) which was one of the shows I have been looking for. After viewing it several times it occurred to me that there is another show/movie I had seen that had similar elements in it to "The Zanti Misfits" but I had no clue as to where to look for it.
"The Zanti Misfits" has a militaristic theme and military elements that the show I am seeking did not have. The shop on the main street of the ghost town in "The Zanti Misfits" that was used as military headquarters was not in the show I am seeking. There were ant or termite-like creatures in the show in question however they did not have human faces and they spoke to the humans they encountered. These creatures seemed more robot or machine like than the Zantis and outside of the house they were attempting to enter were many more roaming about than in "The Zanti Misfits". There were no humans in uniform and the part I recall seemed to have only one or two people as opposed to the many officers in "The Zanti Misfits". The interior of the house was modern '50s or '60s style as opposed to the 19th century look in "The Zanti Misfits". There is a scene that is similar in both shows: the hostile creatures climbing up (or down) a window to build fear and tension. However the "The Zanti Misfits" scene featured the Zantis sliding down a stained glass window whereas the other show had the creatures seemingly walking up glass block or something similar.
There was also a scene with an automobile as in "The Zanti Misfits" but the creatures were not sitting on the roof of the car. They were attempting to get in the vehicle and many more were moving about outside the car. In "The Zanti Misfits" there is only one Zanti ant attacking and it was waiting on the roof of the car as opposed to trying to get in.
I began looking through Twilight Zone episodes since it's a logical fit, but there are about 160 episode so I tried searching for what I described above but no similar story seems to exist in the series. It's more probable that the show I seek is a movie about some kind of alien invasion.
It's possible that my 30-some year old recollections of a Sunday afternoon re-run have melded elements of "The Zanti Misfits" with another show, however my recollections of another show are still clear after all that time and I'm sure that there is something else that will fit my description. I looked into all of the stories involving ants and other insects but simply haven't found my show but I'm sure it's out there.

After allowing some time for the resurfacing of my own recollections I added some relevant comments that may now offer enough material for someone to make an ID.

The central plot of this movie or show could have been about mutation and/or invasion. I can't recall enough of the original to say which it might be but it could be either. I do recall that there were some fight scenes with weapons, which unlike ZM was not restricted to a particular location.
As I recall more about this movie or TV show I will add comments. The insect-like creatures of this film or show were much closer in appearance and movement to termites than ants. In the stop-motion segments of Zanti Misfits the Zantis move like typical black ants. The show or film I'm looking for has creatures with more deliberate, slower movements - like termites. Long ant-like legs are not seen. Also, the termite creatures had a dull metallic color and could possibly be mechanical or mutants. Here's a rough idea: https://www.alamy.com/stock-photo-gene-simmons-runaway-1984-30992729.html
I recall that the mood and filming of the movie or show I'm looking for was quite different from Zanti Misfits. The overall look was hazier and the mood was more withdrawn and impassive. If it is a movie, the scenes with the large (maybe 1ft long) termite-like creatures were a smaller part of the movie.
I checked every Twilight Zone story and its not there. I also checked the stories of several of the 50s and 60s science fiction series made in the US and England. Again, not there. Those series and other movies of the period all had story lines of the "problem-solver" variety: A threat would arrive and strong-minded characters would start seeking a solution. What I'm seeking seemed to have a dreamy or slightly surreal aspect to it. I can recall the characters reacting with fear to the large termite-like creatures (or robots) but it wasn't intense as in most monster or alien movies.

Before posting this answer I searched through all sci-fi movies listed in the IMDB pages on sci-fi movies of the 50's, 60's and early 70's. I also read every plot of the original Twilight Zone series and of several sci-fi series of the 1950s.
As a result of this search one thing I realized is that most shows and movies of the above period had more of a problem/solution utilitarian story line than the show in question, which had a dreamier quality to it. There was the usual problem of aliens or mutants threatening humans but without the usual urgent and/or militaristic solution dominating the story. This gave it a more elusive quality and thus makes it harder to recall and ID.
Comment: The central plot of this movie or show could have been about mutation and/or invasion. I can't recall enough of the original to say which it might be but it could be either. I do recall that there were some fight scenes with weapons, which unlike ZM was not restricted to a particular location.
Comment: As I recall more about this movie or TV show I will add comments. The insect-like creatures of this film or show were much closer in appearance and movement to termites than ants. In the stop-motion segments of Zanti Misfits the Zantis move like typical black ants. The show or film I'm looking for has creatures with more deliberate, slower movements - like termites. Long ant-like legs are not seen. Also, the termite creatures had a dull metallic color and could possibly be mechanical or mutants. Here's a rough idea: https://www.alamy.com/stock-photo-gene-simmons-runaway-1984-30992729.html
Comment: I recall that the mood and filming of the movie or show I'm looking for was quite different from Zanti Misfits. The overall look was hazier and the mood was more withdrawn and impassive. If it is a movie, the scenes with the large (maybe 1ft long) termite-like creatures were a smaller part of the movie.
Comment: I checked every Twilight Zone story and its not there. I also checked the stories of several of the 50s and 60s science fiction series made in the US and England. Again, not there. Those series and other movies of the period all had story lines of the "problem-solver" variety: A threat would arrive and strong-minded characters would  start seeking a solution. What I'm seeking seemed to have a dreamy or slightly surreal aspect to it. I can recall the characters reacting with fear  to the large termite-like creatures (or robots) but it wasn't intense as in most monster or alien movies.
Comment: The movies "Empire of the Ants" and "Them!" end up in my search results for the movie or show that I am seeking. Like Zanti Misfits, the tone & tenor of these movies is typical for most science fiction:  monster vs. human plots portrayed with much fear, anxiety & cliff-hanging antics of intrepid heroes. Scenes from the movie (or show) that I am seeking had elements of fear and anxiety but without the typical heroic problem-solver. While I am presently at a loss for any further concrete detail, I sometimes find that descriptions of this kind have helped me ID other obscure movies.
Comment: This is a stretch, but parts of the description remind me of the Martians in ["Five Million Years to Earth"/"Quatermass and the Pit"](https://en.wikipedia.org/wiki/Quatermass_and_the_Pit_(film))
Comment: I know that film well and liked the concept. The Martians were grasshopper/demon-like but never physically appeared nor directly attacked. The story focused on the power of projecting mind control. Thanks for the suggestion. Anything related helps at this point.
Comment: @hrh regarding your last edit and not understanding French - here you go, it's subbed on YouTube :) https://www.youtube.com/watch?v=aLfXCkFQtXw
Comment: La Jetée (the first link, to the French film composed of stills (with one scene with movement) is the movie 12 Monkeys is based on.
Answer: I've been searching on and off since posting the question. Since the movie (or show) I'm trying to identify has some elements of Zanti Misfits as I've described them I didn't think to search using that title. Today I did just that and found something that could possibly be what I'm looking for here:

Until 1:45 there is a clip from an obviously British science fiction movie with some features that match what I described in my question:

Ants exposed to radiation
Mutations causing increased intelligence
Ants observed and recorded communicating in what must be English
Ants with a plan to subdue humans by attacking their food supplies
A black and white film
The right time period for the film I seek

After the 1:45 mark begins a clip from Zanti Misfits for what reason I do not know. If the movie shown in the first 1:45s can be identified it may be the movie I'm seeking. Another clue is the Outer Limits trading card with one side showing strange ant-like creatures with human faces (not resembling the ones in Zanti Misfits) and the opposite describing a plot for a movie or story that fits with what I've described in my question, yet there is no other episode of Outer Limits with enlarged ant creatures.
Comment: The clips from the early point of the video are from a British movie called "The Strange World of Planet X" (1958), also known as "The Cosmic Monsters". It starred Forrest Tucker, and was often seen on a double bill with "The Crawling Eye", also starring Tucker. I don't think it is the movie you're looking for as it does not feature talking insects and only features giant insects. The giant insects are actual live photographically enlarged insects.
Comment: I found an obscure SF TV anthology show called "Out There" (1951-52). It might be this, but there is little info on this and it doesn't even list reviews or plot details for the episodes. There are a few shows like this. It might be a 'lost' TV show, but I would really like to find it. I will keep looking.
Comment: I'll look into this, but I'm sure you're correct and I just have to keep looking. Since you're knowledgeable of some of the older movies I would greatly appreciate your reading my full entry for this question to see if it rings any bells for you. Thank you.
Comment: Oh, I've read your question a few times, it's actually bugging me not knowing this. I've seen tons of old sci-fi films and it doesn't ring a bell. If you saw it on TV then it could be some obscure episode of an anthology series, maybe?
Comment: I checked the obvious first: Outer Limits, Twilight Zone, Night Gallery, and Tales of Tomorrow. If you could suggest some lesser known series to investigate I will dig into them. Since I saw this about 40 years ago as a child, its more likely that it was a movie aired on a weekend or weeknight movie special. It is quite distinct from Zanti Misfits and I recalled details from both years after seeing them. In fact I thought of them both as the large ant invasion shows with one being loud (Zanti) and one being quiet and dreamy.
Comment: the guest: Thinking about this again I added more concrete information and a photo to illustrate the termite-like creatures as possible. You could very well be correct that this was a series. I just waded through several dozen 50s and 60s sci-fi movies and nothing yet comes close. Its also possible this was a British, Japanese, Mexican or even Russian show.
Comment: Sounds like a good series to research based on this: Story editor Arthur Heinemann instructed his writers, "In general this program deals with the more human aspects of science fiction, centering around people as they are affected by phenomena of the world of the future, interplanetary communication and beings from other worlds."
Comment: "Out There" is very far out there and not available in any digital format from what I've read. You may be onto something with this series, but as you mentioned, even the plot summaries are not to be found on the internet. Here is something else interesting:  The series was one of the first to mix special effects with live action.
Comment: @the guest, I read several descriptions of "Out There" and one of the main points was that it was a low budget series filmed almost completed in a studio setting. This means it likely has the look of other series from the same time period which is not the look of the piece that I saw and therefore is not likely what I'm seeking. It would be interesting to see a few episodes of Out There nevertheless. At this point have the distinct feeling that the piece in question is foreign, being either British or with English dubbed over another language. I had seen a number of Mexican movies like that.
Comment: @the guest - About the Mexican movies, at the the time I saw them I had no idea they were from Mexico until recently when I researched the titles.
Comment: The video is unavailable


Can I ignore duplicate records of dataset for training?

Question: I have a a dataset that most of records and their corresponding labels are the same and only timestamp of each records is different from other record.
If I ignore duplicate records in for training some algorithm like DQN, is this a correct approach?
Answer: This depends on:

Whether the timestamp is additional information. I.e. is the temporal dimension relevant?
Removing samples will shift the distribution of the data set. I.e. if you have 2 possible states, with 90 copies of 1 and 10 copies of the other, removing all duplicates means the model will not come into contact with the 90/10 ratio in the data, but will see a 1/1 ratio, this can bias your model towards the underrepresented class, reducing performance.
Comment: Duplicate records will leak into test set. Isn't this important? Is there any workaround?
Comment: You're worried you'll have identical samples in both train and test? What are you using a test set for in the context of a DQN?
Comment: Yes, I'm using sensors and a actuator statuses as train set inorder to learn what action to take for the actuator, then I want to test the algorithm with test set to see the accuracy. and timestamp is not important
Comment: You're training a classifier, disguised as an RL algorithm. A DQN algorithm trains on reward, not labels, and so the concept of accuracy makes little sense. Also, because a DQN network learns sequentially, multiple identical sample are still relevant, because after each update, the output of the model is different, and thus the update is, too. For classification, the duplicated data is very much a problem. For reference: [On using test data in RL](https://ai.stackexchange.com/questions/32497/do-we-use-validation-and-test-sets-for-training-a-reinforcement-learning-agent)


USB programmer for SPANSION S25FL064P flash memory

Question: Can someone recommend a handy inexpensive USB programmer for SPANSION S25FL064P flash memory?
Answer: It's a SPI flash memory so most decent SPI flash programmers should do. They can be found below 30 USD. If you have a decent micro controller development board already you can probably program and read this chip easily. For instance the Arduino platform has SPI libraries. The pin pitch is 1.3 mm so you should be able to attach to the chip without even desoldering it using decent grabber probes.
Have you beep tested the board to see if any test points or headers connect to the flash memory pins?
If you don't want to hack something together yourself, here's what seems to be a competent and cheap SPI programmer on ebay. Which is supposed to support you chip. Although it is more fun to solve it yourself, you'll see how easy it is and next time you run into an unsupported SPI flash memory you'll solve it without issues.
Comment: I want ready device, I have no microcontroller development board. There is JTAG connector pads on PCB, but chipset specification is unavailable, anyway. I'm considering EZP2010 USB SPI Programmer.
Comment: @triwo You chip doesn't have JTAG pins so I doubt it's part of the JTAG chain. You could maybe JTAG the MCU then use the fact that the SPI flash is probably fully mapped on the bus in a linear fashion and read it out that way if you're lucky. It's probably easier to just use SPI.
Comment: MCU chipset specification is not available, I can no JTAG it. There is serial port that allows upload and flash the firmware, but not read or write NVRAM fully. Is it possible to define does setup allows reliably flash SPI chip without desoldering it from PCB? (using Test Clip for SOIC16 chip and in-circuit programming)
Answer: You shoudl use an SPI flash parallel port programmer. It is a simple and very accurate programmer using a single 74ls244 ic.
You can get it at: http://www.spiflash.org/


SonataMediaBundle and Amazon S3 not working

Question: I'm trying to get SonataMediaBundle working with Amazon S3 service,
I've tried the config as described in the bundle docs, but each time i try to upload a picture, i get this error:
cURL resource: Resource id #1014; cURL error: couldn't connect to host (cURL error code 7). See http://curl.haxx.se/libcurl/c/libcurl-errors.html for an explanation of error codes.

any help please ?
Answer: Had the same issue because I used the wrong region value. Changed region: eu-central to region: s3-eu-central-1.amazonaws.com and everything worked for me.


What are the differences and connections between UML Profile diagram & UML Class diagrams

Question: I am doing research for developing a software platform and I have created some class diagrams for the platform. My supervisor adviced me to use UML profiles as well to describe the platform in a more detailed way. However, after googling i still do not really get the difference between the Class diagrams and UML profiling. At the moment I do not think you can connect them. Can anybody help me with my question?
Comment: This may help:https://www.visual-paradigm.com/guide/uml-unified-modeling-language/what-is-profile-diagram/
Comment: https://creately.com/blog/diagrams/uml-diagram-types-examples/: may help you.
Answer: UML profiles are an extension mechanism of UML and they can be used to define new stereotypes, tagged values and constraints. These stereotypes etc., can then be used in your class diagram when, for example, classes share certain characteristics.
For example, you could define a profile for Enterprise Java Beans that contains the definition for a class stereotype for a Bean.
If you then annotate a class in your class diagram with the stereotype <<Bean>>, then readers and tools that know about the profile will also know what it means for a class to have the stereotype <<Bean>> and they can validate your diagram against the enhanced definitions.


Illustrator: complex artwork takes too long to redraw

Question: I have eliminated thousands of points on a map exported to Illustrator. The redraw time is still 10-15 seconds after each click, even in Outline mode. The file size is not that large. Any suggestions welcomed.
Comment: Can't help without seeing the file or the outlines. It might still be a complex vector, or have raster images linked, or both.
Comment: The only way I know to speed redraw when it's an issue is to utilize layers and/or hide portions of the artwork as you work. Even the beefiest, most powerful, best GPU, loaded with RAM system can be slow with Illustrator redrawing sometimes.
Answer: I have a K4000 Quadro card, Xeon e5-1650 v2, 850 Evo SSD and 16 GB of DDR3 with decent timings.  A redraw of any vector in the thousands of points gets laggy. I try to keep my pathing as simple as possible with the fewest points. Also make sure that if you are working with a decent GPU that you have updated drivers and that GPU acceleration is turned on in Illustrator preferences.
Answer: Access the Document Raster Effect Settings in the drop-down Effect menu:

Reduce the Resolution:

The lower you go, the more busted up it starts to look, but the quicker it gets.
It's useful as a temporary workaround.
I asked a similar question and this solution worked well for me.


Are questions asking how to do something insecure considered not useful?

Question: We are having a disagreement in this meta question about whether a question involving insecure practices is by itself a reason to downvote or close the question.  This would hypothetically be on the basis of insecure implementations being not useful.  If the asker can learn to do something useful, but the way they want to do this thing is insecure, should the question be closed?  Here's a great example.
Comment: @ErlVolton Voting on meta usually indicates disagreement. It does not affect your rep in any way and is generally not considered impolite. You should not take offense when someone downvotes you on meta.
Comment: Low quality is an aspect of in the mouseover for a down vote (lack of research and unclear).  *Useful* is another aspect.
Comment: Close on insecurity.. you mean burninate the C tag?
Comment: @ivarni: But this is not a [meta-tag:feature-request], nor can it be mis-construed as such. It's a discussion (and not a fake one), so what are you disagreeing with?
Comment: @MichaelT I updated my question to use the language "useful".  I also think downvoting my question because we disagree on possible answers wasn't very polite.  We both are wondering this same thing!
Comment: @Deduplicator What do you mean? I haven't voted on this question. You need to locate and ask the two people who did if you want to know their motive for doing so. I can't answer for them.
Comment: @MartinJames LOL!
Comment: @Deduplicator I think what ivarni is saying is that people are downvoting as a way of answering "No" to the question, in other words questions involving insecure practices are useful
Comment: @ErlVolton: Yes, I know. Some people will always try to vote agree/disagree, even if there is not actually a question to disagree with. There was a good post by a mod how one should vote on meta, and that bandying about "dv==disagree" is harmful.
Comment: @MartinJames: Sure you didn't mean [tag:php]?
Comment: @Deduplicator maybe.  I went for bull instead of treble-20.
Answer: whether a question involving insecure practices is by itself a reason to downvote or close the question
That alone is not one of the given reasons for downvoting a question, however, there's nothing stopping me or anyone else from downvoting for that reason. Whether or not someone finds it "not useful" because it's insecure is completely subjective. I could find it not useful for a very broad list of reasons that you may or may not agree with.
Voting is subjective in nature and always will be. If there was a clear always up or down case, we wouldn't need voting in the first place. (that's what close votes are for!)
Answer: Based on down votes which ATM we are interpreting to mean "disagree", it is not OK to downvote or close a question based on the security implications of the task the asker is trying to perform.
Comment: On Meta it is unclear whether a vote (up or down) is based on the quality of a post, or disagreement with the post, unfortunately.
Comment: Downvotes could be that people disagree with the proposition in the title. It could be that people find the question faulty. And the upvotes don't necessarily mean the folks agree. It could just mean the find it is a discussion worth having.
Comment: @Louis My feature request for feature requests is stalled because no feature request has been passed to change how consensus is collected for feature requests  :)
Comment: @Louis So votes are totally ambiguous?  I'm still going to interpret them in the way that best suits my personal agenda :)
Comment: OK so fair enough and I actually want a real answer, not just what I want to hear.  Do you have suggestions for how to get concrete feedback on this because I think it's an important question, it certainly has large implications.
Comment: There's no voting mechanism on the SE network that would give you a clear yea or nay picture, I'm afraid. On a feature request (rather than a discussion) that is well written, I'd expect votes to closely reflect "yes, I want this feature" vs "no, I don't want it". But for anything else... there's no simple way to know.
Comment: @Louis So you're saying that meta, in all of its widsom, is completely incapably of answering this question?  Is there a better way for me to ask it or do we just lack the tools needed to collect a consensus?
Comment: Yep. I recall feature requests made to disentangle the votes so that someone could vote a discussion up to mean "good post and a discussion worth having" and still vote it down to mean "however, I don't agree with the proposition". So posts would be voted on on two criteria: the quality of the post (as we do on the main site) and agree/disagree. No such feature request has ever been accepted.
Answer: I don't think opinion-based (down)voting is good for SO. By "opinion" I mean :

because SO is going to be read by newbees looking for easy quick copy/paste answer codes, questions with (obvious or not) security breaches must be closed/deleted ? Newbees doing it wrong takes full responsibility for themselves, not the OP.
because answering the question can make OP and other programmers less attentive, and do things wrong in jobs and missions ? No ! You're fired (if not more) when you do it wrong; good programmers never blindly copy/paste and always try to write safer code whenever required. If he/she doesn't like rigor, that means he/she isn't a that good (yet).
because you've encountered countless times the same failure to check security issues doesn't mean it's always the case.
What is amazing today is that you can think of thousands of patterns to achieve one thing by code. But only few of them are perfect. However, we don't live in a perfect world. "Never create a class B subscribing on events raised by class A, that contains a reference to class A..." Sometimes you can't do otherwise. Failing to help OP in his requirements - even complicating and overloading the code alot - end in a Not answered question. Not because the question doesn't have an answer, but because (some) answerers think that "a->z" codes are only the usefull answer, but "abcdefghijkl->z" codes are total non-sense.

^^ all that are opinion-based and IMHO are irrelevant reasons to downvote/flag a question.
From the moment the OP is notified in comments of the insecure aspects of his doings, and replies I'm fully aware of that -like confirmation, I will upvote the question if it meets the requirements of SO (clear title, good choice of tags, clear starting context, clear goal, clear issue, some background tries to find a workaround, and a precise question, no duplicate)
But I'll never downvote first without knowing anything about the OP's background in security awareness and coding context.
Why ? -> Because SO is about Q&A. ie, from the moment an answer can be formulated for this question regardless of its nature, poster, aspect, formatting or outer context, ... , answerers should try to provide an answer, or leave a(n usefull) comment if they have an idea (and have time for).

Side note : there are tons of new questions every day on SO. Many of them are questions not meeting the requirements of SO. However, I'm not of the type "downvote and flag immediately" but the type "give hints to improve the question in comments and see if OP is willing to - then come back twelve hours later and downvote/flag if no improvement so far". The SO community is often reffered as a tight group of failsafe super experts type programmers that doesn't want new members (this is a long-lived debate on SO) I'm not adding oil on the fire and I don't want to discuss further, just to underline "The SO community is responsible of the image it gives to newcomer". But since the community is hunderds of thousands of single ones, that makes almost as many ways to think/interpret/behave.. we don't live in a perfect world, but we must deal with.
I'm not saying [Do my Homework/Write me a code (now) pliiiz] like questions have their place on SO either. (in fact I don't like them) But there are some interresting questions that lacks enough attention even with an extensive help of friend Google worth to exist on SO, when almost all researches on the web are garbage...
Back on topic, almost all researches on the web are garbage when it's about obvious security breaches because people tend to refuse to answer the question. Do you think this will stop someone else to ask the same question again (here and elsewhere) ?
Those "Does questions of type X have its place on SO ?" concerns cannot never be settled once and for all because the community grows and evolves. Every community (society/civilization) that failed to adapt tend to disappear.
Wow.. X_X my mind gets so far ?? Sorry ! XP. Just wanting to say : you can always to better example (than not answering)


Do I need an anti-microbial additive in my plum brandy mash?

Question: Basically I pitted and smashed 10 lbs. of very ripe plums; heated the pulp, skins and juice to like 120°F and added 3 gals. of distilled water and 5 lbs. of sugar. Waited for it to cool below 90°F then strained it into a bucket and added 1-2 tbsp. of bread yeast. Then put it in a carboy with an airlock, it has been only one day and the airlock is already bubbling madly. I am going to distill it in my pot still and hope for a delicious plum brandy. I am concerned about bacterial or mold growth but am not sure if I need to be. I am thinking it should be done fermenting in like a week. Do I need one of these additive tablets or will it not be a big deal because I will distill immediately after my airlock stops bubbling?
Answer: At this point in the process, you're pretty much committed to letting the ferment continue to completion. With fruit wine, the usual course of action is to add meta-bisulphite to the juice or pulp, and leave it for 24 hours before adding the yeast. The sulphite reduces the activity of wild yeasts and bacteria, giving the brewer's yeast a head start.
If the fruit is in good condition (i.e. no bruising or rot), some wine-makers will skip this step entirely. Pitching a lot of healthy, active yeast is usually sufficient.
Adding sulphite while fermentation is active will just reduce the activity of the brewer's yeast, which is not at all helpful.
Answer: According to this fellow's site, just throw the plums in a bucket and wait, agitate after a month to shake out the pits, wait a bit more, then run the plum wine through your still.
https://slivovice.org/slivovice.html
Na zdraví!
Answer: Don't use the sulphite if you want to distill because there is a chance to get bad smell into the distillate. If you want to protect your wine or beer from lactic bacterium you can use antibiotics: amoxicillin or doxycycline. Don't worry, it will not get into your distillate. The best defense from wild yeast is to make right start for your bread yeast. The best defense from acetic acid bacteria is to distill in time.


Covariance of a simple option portfolio

Question: Suppose that you have an option portfolio composed by two plain vanilla call options. Each option has, as underlying, a different share following a different Brownian stochastic process. The two shares are correlated. Does it exist an analytical formula for this portfolio covariance?
Answer: Let's work under Black-Scholes, with two correlated GBMs:
$$
dX = \sigma X dW, \quad dY = \nu Y dZ, \quad dWdZ =\rho dt
$$
I've taken interest rate is zero for simplicity, does not influence the covariation anyway.
Suppose $F$ is a claim on $X$ and $G$ is a claim on $Y$. Both satisfy the BS PDE, hence
$$
dF = \left(\frac{\sigma X}{F}\frac{\partial F}{\partial X}\right) F dW = \sigma_F F dW
$$
and
$$
dG = \left(\frac{\nu Y}{G}\frac{\partial G}{\partial Y}\right) G dZ = \nu_G G dZ
$$
The instantaneous correlation is therefore
$$
\frac{dF}{F} \frac{dG}{G} = \rho_{FG} dt = \rho\sigma_F \nu_G dt
$$
The instantaneous correlation between the two options is as you can see state-dependent, but for any $t$ you can in principle calculate it.
Generalization to stochastic volatility is similar, but there will be additional terms due to correlation between and with the stochastic instantaneous volas.
Answer: To add to @ilovevolatility 's answer, in brevity no.
The covariance of a portfolio consisting of two options $O_1$ and $O_2$ on assets $S_1$ and $S_2$ is
$$
Cov=\mathrm{E}_\mathbb{P}\left[\left(O_1(S^{(1)}_t,t)-\mathrm{E}\left[O_1(S^{(1)}_t,t)\right ]\right)\left(O_2(S^{(2)}_t,t)-\mathrm{E}\left[O_2(S^{(2)}_t,t)\right ]\right)\right]
$$
Let's have a look at the very first term when factoring the expectation:
\begin{align}
\mathrm{E}_\mathbb{P}\left[O_1(S^{(1)}_t,t)O_2(S^{(2)}_t,t)\right]=&\int_x\int_yO_1(S^{(1)}_0e^x,t)O_2(S^{(2)}_0e^y,t)f(x,y;t)dxdy\\
=&\int_x\int_y\mathrm{E}_\mathbb{Q}\left(e^{-r(T-t)}\phi_1\left(x,K_1\right)|x\right)\mathrm{E}_\mathbb{Q}\left(e^{-r(T-t)}\phi_2\left(y,K_2\right)|y\right)f(x,y;t)dxdy
\end{align}
AFAIK, this four-dimensional integral is not easily solved in (semi)closed form. The 'usual' approximations, though, can still be applied.

Monte Carlo: Simulate asset paths (under $\mathbb{P}$) and price the options.
Approximation: Use first order ("Delta-Normal") and or first-and-second-derivatives ("Delta-Gamma-Normal")
Valuation of the expectation $\mathrm{E}\left[(S_1-K_1)^+(S_2-K_2)^+\right]$ via a traffic light option (still very involved...)

HTH?

Covariance of a simple option portfolio


Encryption method with master key and user keys

Question: I am working on a concept for a game that in the end will allow data sharing via plain text, but I would like to give the user the option of encrypting the data so that other players cannot modify it, but the program/game will still be able to read the data for use otherwise.  My question then would be, is there a method of encryption where the game/program has a master key that can decrypt the data, but also the user can input their own password as a key to modify the data?  Thank you for your time.
Comment: Yes. $\:$ Do other players need to be able to verify a user's changes on their own? $\:$ Should the game/program not know the passwords? $\;\;\;\;$
Comment: The situation isn't quite clear. If it is client/sever case with somewhat trustable middle boxes you don't even need the cryptography. If you mean an offline game in a gaming device if the game can manipulate the data the user will be able to do it as well no matter which method you use. If it is the latter case you can only obtain security through obscurity at best but if you mean the scheme that allow one to decrypt the data but not encrypt other data to the same format you probably looking for digital signature scheme.
Comment: Thanks both for your replies.  I'm really not after something super secure to be honest.  I may not even bother with encrypting the data should it prove to be overkill for the project.  I should probably go into a touch more detail of what I'm looking for.

@Ricky Demer:  I definitely don't want to go through the trouble of setting up any sort of central database for passwords.  Ideally, the program/game would not know the user passwords/keys.
Answer: I'll show a scheme with the following presumption:

the game has its own server key, this key is hidden in the game data somewhere (this usually cannot be secured completely, the game has to store the key somewhere);

So what you can do is to encrypt your game data with a randomly generated data key. If you use GCM mode of operation then you can verify if the data was tampered as well during decryption. This data key itself you encrypt (wrap) with the game key and the user key.
Now the game can always access and change the data. But the user needs to supply the user key. However, the user only has a password, so we need to convert that password to a user key. The way to do that is to use a Password Based Key Derivation Function such as PBKDF2, and use the output as the user key (note that you need to supply the PBKDF2 with a random salt that you generated & stored when the user account is created).

In the end you can make it as easy or hard as you want. One very interesting feature would be to let the user sign the game data as well; in that case the game can reject tampered game data.
It may also be a good idea to encrypt game data values separately, you can use a hash of the identifier of the specific data as Initialization Vector for the encryption/decryption.
Comment: Sorry, data flow/sequence diagrams were not enabled in the web based software :)


Bhagavad Gita and views on other religions?

Question: I love the Bhagavad Gita's take on everything and I am very pro-Krishnaism, however I am slightly confused on the Gita's view on other religions. Does the Gita claim that the "god" described in Christianity, Islam, etc. is ultimately the same in the form of the Supreme Godhead? Is this interpretation correct?
Comment: Neither Christianity nor Islam existed at the time of deliverance of Bhagavad Geeta by Lord Krishna, some 5000 and odd number of years back.
Comment: There is no equivalent for the word religion in Gita or any Indian scripture.
Comment: Dude Bhagwad Gita never talks about the sect of people, it always talk about the act for people and it also say that what ever path you take to achieve the divine source, if you are true follower of your belief you will achieve god..
Answer: @Krishna's comment above to your question is right; the Gita was spoken long before any of the other great world religions were around.
Krishna says (Gita IV. 7-8):

Whenever there is a decline of dharma, O Bharata, and a rise of adharma, I incarnate Myself.
For the protection of the good, for the destruction of the wicked, and for the establishment of dharma, I am born in every age.

So Krishna says that he will incarnate Himself again and again when needed; many people believe that Krishna Himself incarnated as Christ. To answer your question, yes, the same God worshiped in other religions is the same Supreme Godhead of the Gita.
and in Gita IV. 11:

In whatsoever way men approach Me, even so do I reward them; for it is My path, O Partha, that men follow in all things.

God does not belong to one religion, all religions belong to God. You can approach Him through all paths, all religions lead to Him. Different approaches will have different views of the same thing, one view does not invalidate the other. Ramakrishna Paramahamsa said (Gospel of Sri Ramakrishna):

He who is called Krishna is also called Siva, and bears the name of the Primal Energy, Jesus, and Allah as well--the same Rama with a thousand names. A lake has several ghats. At one the Hindus take water in pitchers and call it 'jal'; at another the Mussalmans take water in leather bags and call 'pani'. At a third the Christians call it 'water'. Can we imagine that it is not 'jal' but only 'pani' or 'water'? How ridiculous! The substance is One under different names, and everyone is seeking the same substance; only climate, temperament, and name create differences. Let each man follow his own path. If he sincerely and ardently wishes to know God, peace be unto him! He will surely realize Him.

And Gita (VII. 7):

There exists nothing whatsoever higher than I am, O Dhanajaya. All is strung on Me as a row of gems on a thread.

All the different religions are simply gems strung around the Supreme Godhead.
Comment: Nowhere in the Gita Krishna explicitly mentions that other religions surrounding his name will be created. Thusly I disagree that gods of other religions are the one and same since there is no evidence of this in the gita.
Answer: First addressing your confusion about Gita's view on other religions.
Gita has never opinionated on any religion; not even Hinduism! Historically the term "Hindu" itself was originated in Iran. Ofcourse, Hinduism carried the Gita forward. (Don't mistake "Hinduism" to be a religion, it's a "way of life", according to Indian Supreme Court.)
The only (falsely interpreted) mention about other "Religions" is here:
Chapter-18, Verse-66

sarva-dharmān parityajya mām ekaṁ śaraṇaṁ vraja ahaṁ tvāṁ
sarva-pāpebhyo mokṣayiṣyāmi mā śucaḥ
Abandon all varieties of religions and just surrender unto Me. I shall
deliver you from all sinful reactions. Do not fear.

Since there is no single word translation in western language for Dharma, people often label "Religion" as "Dharma" which not right, though Religion plays important part in defining Dharma. Dharma can be appx termed as "Conformance of own duties with righteousness".
Now answering your question:
NO Gita does Not claim that god described in Christianity and Islam are ultimately same in form of Supreme Godhead.
For below reasons:

Islam & Christianity did not exist when Gita was said. Though some
scholars  like Zakir Naik has claimed that Islam existed with
beginning of humanity, there is no evidence of that.
Gita advocates that "Formful God" is easier to achieve than
"Formless God". It directly contradicts with Islam. You may refer
beginning of Chapter-12
With respect to Christianity, many concepts are matching with
Hinduism like Oneness of god who created everything, trinity,
multiple gods. But again, there is no such claim in Gita.
Answer: Apart from Abrahamic religions, If I take the liberty to quote Bhagavad Gita and its commentary by Srila Baladev Vidyabhushan called   , regarding its views on other Indian religions like Buddhism, Jainism, then these  would be some of the relevant quotes of the Gita Verses along with the commentary.
  -  2.  26.
atha cainaṁ nitya-jātaṁ
nityaṁ vā manyase mṛtam
tathāpi tvaṁ mahā-bāho
nainaṁ śocitum arhasi
            ,     ,  - ❗
https://archive.org/details/GitaBhusana1.KrsnadasBaba/page/n29/mode/2up
  Commentary
'Having given his own opinion on why one should not lament for the soul, the Lord now speaks of the opinion of others, in order to give other viewpoints.  The student, knowing these viewpoints and consequently destroying them along with their contamination, , should  remain fixed, victorious, in the Lord's viewpoint.  Endowed with a body such as human form, composed of the four elements, consciousness arises from that, just as red color arises from  betel nut or the potency arises in liquor. That body made of four elements is itself the ätmä.
   ,             ,       .      .
             ,    ,         .
In both these philosophies, there should be no lamentation for the ätmä.   The word  atha  in this verse indicates other opinions.  Ca  means  api, even.  If you cannot understand My words about the nature  of the soul, then you can take the support of other doctrines such as that of  the  .
In this philosophy which claims that the body is the ätmä, you consider that this self, the body, is continually born and continually dies. The word  vä  means "and."  Therefore you should not lament for this self (body), with such words as "Alas, how strange it is that we are preparing to commit greatly sinful acts. Driven by the desire to enjoy royal happiness, we are intent  on killing our own kinsmen."  (BG 1.44)  This is because in these two philosophies there is no fear of sin continuing into next life, since there is no next birth, and there is unavoidable creation and destruction of the selves (body), whose very nature is change.
        .  " -  ! ,         ,      .❞
 -   16.  8
asatyam apratithishtam te  jagad ähur anishvaram | aparaspara-sambhutam kim anyat käma-haitukam ||8||
     ,   ,   .       .     .
https://archive.org/details/GitaBhusana3.KrsnadasBaba/page/n33/Commentary
  Commentary
'The Lord shows the conclusions of the  demons.  He speaks first of one soul (impersonal) philosophy. This world is false (asatyam), filled with error, like thinking shell is silver.  The world has  no basis (apratithishtam), like a flower in the sky. It has no God as a cause for its creation, maintenance  and destruction (anishvaram).  Being of  this nature, it is just composed of an illusion.   If there were a Supreme Lord within the world, the world He created would not be so ephemeral. Therefore they consider that the world must be false. This one soul without qualities, known by all sources of knowledge, because of error in knowledge, reflects itself through ignorance as another entity--in the form of the material  world, the individual jivas and the Lord.  From the time of realizing ones real nature as the one soul, there is no contradiction, there is only oneness.  Until that time of awakening, everything is like elephants, horses and chariots in a dream.  In realizing ones  true nature, what was imagined out of ignorance should disappear along with the notion of being a separate jiva, just as the chariots and  horses disappear during deep sleep. The Lord then describes the theory of svabhäva or nature, advocated by the   . The world does not arise from the intercourse between men and women (aparaspara sambhütam) or like a potter produces a pot (with intention), since the parents produce a child with lack of knowledge.   Even after men and women enjoy one time only, children appear, and scorpions appear  from sweat spontaneously. Thus creation takes place by its own nature, spontaneously, by natures inherent properties.  The Lord describes the theory of the   (Carvaka).  What more can be said? There is no purpose of the world except to  fulfill lust. The lust between men and women alone is the cause of the world, being the motive for  all action.Haitukam  from hetu  indicates some motive.  Or the  say that is the cause is ones own will-whatever one can imagine according  to his reasoning power, he will say that is the cause of the world.'
   18.  21
pṛthaktvena tu yaj jñānaṁ
nānā-bhāvān pṛthag-vidhān
vetti sarveṣu bhūteṣu
taj jñānaṁ viddhi rājasam
❞                                 .❞
https://archive.org/details/GitaBhusana3.KrsnadasBaba/page/n51/Commentary
  Commentary
'This verse speaks of knowledge in the mode of passion. That knowledge which accepts that  a different jiva ( pṛthaktvena ) assumes successive forms of  deva, man and other creatures, where the jiva is destroyed with the destruction of each body;                  (nānā-vidhān bhāvān ),   ⃨⃨⃨⃨⃨⃨⃨⃨⃨ ⃨⃨⃨⃨⃨⃨⃨⃨⃨,⃨ ⃨⃨⃨⃨⃨  ,⃨ ⃨⃨⃨⃨⃨⃨⃨⃨,⃨ ⃨⃨ ⃨⃨⃨⃨⃨ ,       .      :        ();               ();       (); the ätmä is God, consisting of  eternal knowledge alone (Mäyäväda); the ätmä, different from the body, is a conscious,  all pervasive entity giving  shelter to nine particular qualities (Nyäya philosophy).'
Comment: If you could format the answer it would be really nice and make it a little readable. :)


How to solve Free Cell games fast? (in under 2 min)

Question: In freecell, I make the same number of moves as the best player, but she wins the game in a 1.5 minutes while I need 5.5 minutes.  Is there a trick to play fast?
Comment: And "winner of my game" is confusing if your talking about the solitaire game Free Cell. Assuming you are talking about a competitive computer version of the game; the question could be improved by simply asking for strategies on how to solve Free Cell games faster.
Comment: I've never done it in 2 minutes
Comment: The OP is surely talking about some electronic version of the game, which could be considered off-topic. But since speed is based on strategy, it could be considered on-topic.
Answer: My best time in Expert in FreeCell in Microsoft's Solitaire Collection is 1:04.
I think I obtained that time in one of the "Daily Challenges", so it may not have been a "real game". That said, I have reached close to that time on other occasions. In fact, while trying to obtain a screenshot of the score screen to include in this post, I believe I have gotten my second best time ever.

(I play all games to completion now, but I abandoned some games early on. My goal is to get the win rate to 99%, which requires playing another 2692 games.)
Rather than spending time pondering my next move, I prefer to experiment and use Undo with impunity. Undo can be performed rapidly by pressing Ctrl-Z. (Holding allows to quickly undo multiple moves, and even reset the board.)
Additionally, the discovery of "Single Tap To Move" option has greatly sped up my game significantly (although my best time was made without it this setting off).

With this option, I regularly get times around 2:00, which I would have considered exceptionally good before.
As for my actual strategy? I really wouldn't know how to describe it.
Answer: One thing to improve speed is turn on "single tap to move" in the settings.  With that (and some luck of the draw), I've done 0:48
Comment: please note that i have "single tap to move" turned on in the settings
Answer: My fastest game thus far has been 1:08 on a regular game. I play all games at medium difficulty and I currently have an average time of 3:08, with a 99% win rate. I am over 2,500 games right now. Since my time has gotten better, most games now are played in under 3 minutes.
My strategy is, before starting the game, identify the location of all the aces. Of course, those cards have to be uncovered first. Make getting the aces out a priority. Then work on the 2s, etc.
Hint: It helps to clear a row, if possible; that allows you to move more cards, and it gives you a chance to move a bunch of cards off another row.
On the more difficult games, I have to think out some moves, but I often let the cards play themselves. That is, I just see what cards are available to play and use those, and go from there.
Be mindful of playing patterns. There are certain types of moves of the cards you will use over and over. Be aware of how you are playing. I've never developed names for these moves, though I started to do so once, but just be aware of the type of moves you are making. It helps your awareness, and it helps you better understand your options.
I hope that helps.


How can I print a set of images from different folders in Lightroom?

Question: Is it possible to create a set of prints from different folders? I have tried but when I enter another folder the images from the previous folder disappear from the layout.
Comment: Why would you want to do that?
Do you have the same pictures in 2 separate folders? And if so, what would be the purpose of that?
Did you try experimenting with "Collections"?
Answer: From memory the best thing to do would be to create a collection first. If you are likely to do this sort of thing often, you could create a collection set, naming it something like 'Print sets', and have several collections within it. When you go to the Print screen, you can choose the collection to print from.
If you want to make adjustments to the images specific to printing (for example, my printer darkens everything, so I would increase the exposure to allow for that, but that means it doesn't  display correctly onscreen), then when you add the images to the collections, you can choose to create virtual copies, so that a new copy of the image is what gets adjusted instead
Comment: I see what you're saying and to be honest this is the only method I could think of but it's a bit annoying to have to do it this way. I just had a thought that perhaps rather than clicking on the sub folder, if I click the parent folder which shows all images within it, this could work?
Comment: There's a "Quick collection" tool (the little dot at the top of images) that can make for a simple way to do this without creating a specific collection for each printout.
Comment: @connersz Presumably you can, but then you'd have to search through lots of images. I'm not sure if you can apply filters in this view? I'd have to check on that when I next get into Lightroom
Answer: A few solutions from the top of my head, all of which involve you selecting the right images.

Make a collection, above post.
Make a tag, color it or mark it somehow, and select only those by sorting
If you aren't planning to edit post print, output each folder and what you want.


DTFT of sine wave using freqz

Question: As mentioned in the title, is it possible to use freqz to find the DTFT of a sine wave? I am confused about what the 'a' and 'b' vectors would look like, since there are only impulses in the numerator.
Comment: hm, why do you think `freqz` is the tool of choice here?
Comment: Yes, it's possible. No, it's not a good idea. Needlessly complicated and not intended for this application
Answer: The MATLAB / OCTAVE function freqz(b,a) is typically used for displaying the magnitude and the phase of a Frequency Response function $H(e^{j\omega})$ associated with a discrete-time, linear time-invariant (LTI), system with rational transfer function $H(z)$ (having a corresponding LCCDE representation) given by
$$H(z) = \frac{ \sum\limits_{k=0}^{M} b_k z^{-k} }{\sum\limits_{k=0}^{N} a_k z^{-k} } \tag{1}$$
where the numerator and denominator coefficients $b_k$ and $a_k$ represent such systems.
It's not meant to display spectrum of signals. Of course, an impulse response $h[n]$ associated with an LTI system can also be considered as a signal, and therefore its Frequency Response function $H(e^{j\omega})$ can also be considered as a Fourier transform of a signal ($h[n]$ in this case) too.
However, for such an interpretation to make sense, the signal $h[n]$ should be the impulse response of an LTI system. Stated in other words, to display the spectrum of $h[n] = \cos(\omega_0 n ) $, you should find the coefficients $a_k$ and $b_k$ that constructs a LCCDE whose impulse response solution is $h[n]$.
Consider a first order LCCDE (with initial rest):
$$ y[n] - A y[n-1] = x[n] \tag{2}$$
taking its Z-transform
$$ Y(z)(1 - A z^{-1}) = X(z) \tag{3}$$
and the System Function is
$$ H(z) = \frac{Y(z)}{X(z)} = \frac{1 }{1 - A z^{-1}}  \tag{4}$$
and the impulse response is (assuming causal)
$$ h[n] = A^n u[n] \tag{5} $$
If we let $A = e^{j\omega_0} $ , then the impulse response becomes
$$ h[n] = e^{j \omega_0 n} u[n] \tag{6} $$
From Eq-6, we have a single complex-exponential, by the choice of the coefficient $A =e^{j\omega_0}$. When combined with Euler identity of a causal cosine wave, we can see that
$$ h[n] = \cos(\omega_0 n) u[n]= 0.5( e^{j \omega_0 n} + e^{-j \omega_0 n} ) u[n] \tag{7} $$
Which can also be written with $A$ as
$$ h[n] = \cos(\omega_0 n) = 0.5( A^n + (A^*)^n ) u[n] \tag{8} $$
where $A^*$ is the complex-conjugate of $A$. Using the relation between Eqs.4&5, we can find the Z-transform of $h[n]$ as
$$ H(z) = \frac{0.5}{1- A z^{-1}} + \frac{0.5}{1 - A^* z^{-1} } \\ \tag{9} $$
equivalently
$$ H(z) = \frac{1 - 0.5(A+A^*) z^{-1}}{ 1- (A + A^*) z^{-1} + |A|^2 z^{-2} } \\ \tag{10} $$
we can construct back the differential equation that corresponds to this $H(z)$ as
$$ y[n] - 2\mathcal{Re}\{A\} y[n-1] + |A|^2 y[n-2] = x[n] -\mathcal{Re}\{A\} x[n-1] \\ \tag{11}$$
Plugging $A = e^{j\omega_0 n}$ into Eq-11 yields
$$ y[n] - 2 \cos(\omega_0) y[n-1] + y[n-2] = x[n]-\cos(\omega_0) x[n-1] \tag{12}$$
from Eq-12, you find the corresponding coefficients $a_k$ and $b_k$ as:
$$ b_k = [1, -\cos(\omega_0)] \tag{13}$$
and
$$ a_k = [1, -2 \cos(\omega_0), 1] \tag{14} $$
Now, you can display the Fourier transform of $h[n] = \cos(\omega_0 n)$ by using the freqz(b,a) function, with the coefficeints in Eqs-13,14.
Note that, $h[n]$ is only a causal sine wave valid for $n>0$. It's not the ideal two sided sine wave. Furthermore, I hope you are aware that the ideal sine wave's Fourier transform is a dirac impulse function. And what you can view freqz(b,a) or any other function is actually the spectrum of teh windowed cosine wave of a finite length.
The following MATLAB/ OCTAVE code shows you the implementation of above:
% spectrum of h[n] = cos(w0*n) to be displayed by freqz(b,a) function

N = 128;               % number of samples to evaluate the impulse response

w0 = 3*(2*pi/N);       % frequency of the cosine h[n] = cos(w0*n)
b = [1,-cos(w0)];      % coefficients b[k] of the LCCDE
a = [1,-2*cos(w0),1];  % coefficients a[k] of the LCCDE

h = impz(b,a,N);       % N samples of h[n] in n=[0:N-1] evaluated

figure,stem([0:N-1],h);
title('imp-resp of y[n] - 2 cos(\omega_0) y[n-1] + y[n-2] = (1-cos(\omega_0)) x[n]');

K = 1024;              % number of frequency points to be evaluated.
figure,freqz(b,a,K);
title('Freq-Response of the system: y[n] - 2 cos(\omega_0) y[n-1] + y[n-2] = (1-cos(\omega_0)) x[n]');

The outputs look like :

and

Note that I have chosen a perfect frequency for the cosine wave, so that it displayed almost like an impulse. It will not be the case in general.
Answer: In short, and importantly, YES you can absolutely and simply use freqz if desired to compute the samples on the DTFT of a signal. The following produce identical results:
DTFT_1 = freqz(signal, 1, N, 'whole')
DTFT_2 = fft(signal, N)

Note the second form is simpler and is the zero padding of the waveform signal out to N samples, which produces N samples on the DTFT. freqz as shown produces the identical result.
But the form
DTFT_3 = freqz(signal)

just returns the first half of DTFT_2 for the default case of 512 samples so can be just as simple when that is sufficient.
As for answering does it make sense to use freqz for that purpose, in some simple profiling, the freqz() approach takes approximately 3 times longer than fft(), so I would say no if computation time is of any concern. And similarly for all the same reasons described, if you need to compute the frequency response for an FIR system with coefficients a, and don't need the convenient formatted plots freqz can provide, then the fir(a, 512) approach would be the preferred method over using freqz(a) for that purpose as well (Or whatever number of samples desired in the more general freqz(a,1,N) form.)
Bottom line, they are indeed equivalent when used as shown in case that point was missed, and given the convenience of the formatted plots returned by the freqz command, this may be a good enough and practical reason to use freqz for a quick inspection of the DTFT.

DTFT of sine wave using freqz


Why can't I edit "multiple ssl identities for this web site" in IIS?

Question: I am a newbie in SSL setting in IIS.
I want to edit the "multiple ssl identities for this web site". But it just shows "default" and I can't edit it.
What's wrong with that?
Comment: Is this IIS 6? Does your server have multiple IP addresses available to bind to?
Answer: SSL certificates are exchanged between client and server before the client asks for a particular object.  This is important because one of the qualifiers to the object is the server name.  When multiple "names" are put on a site with a single IP, the server uses the requested server name to figure out which object the client really wants.
So if you have multiple sites on a single IP (aka virtual hosting -- for example, the server is www.mysystem.com, and has a virtual site of www.foofoo.com), there is no way for the server to know at SSL-link-time what site the client is going to ask for.  This is important because if you have different site names, you (probably) have different SSL certificates that you want to present.
So the server is only going to present a single certificate, which relates to the default site on the IP address.  This will cause problems if the client is requesting an object from www.foofoo.com, when the server's default site is www.mysystem.com.  In other words, the user is going to get a browser error window saying the presented cert doesn't match the requested site name.  (Now we all know the user is 99% probably going to ignore this error page and click through anyways, but it is still unprofessional-looking.  And will scare off 1% of the customers trying to connect.)
The solution is to use multiple IP addresses, then bind individual sites to individual IP addresses.  You should then be able to add site-specific certs to each individual site.
Answer: What about SAN certificates.... multiple sites on a single certificate.


why has my username changed?

Question: I was roux. I am now user456. what happened? (yes I have flushed my cache etc).
Comment: Yea that's totally bizarre. I thought you might have done it, but it showed you hadn't been online in 6 hours. I was participating in one of the questions you had answered and you showed up as roux about 40 mins ago. Next thing I know I saw you were user456.
Comment: I think the team checks meta for bug reports so they should see this and be able to answer it definitively, possibly. :) We've left it unchanged (blank) on the parent site.
Comment: Ahhhhh! It changed again. Now it's daniel. That's confusing...
Comment: Pretty sure he changed it himself, @yossarian; he even put a reference to the old name in his profile.
Comment: @aaron, hehe, I know. I was just taking the piss.
Answer: This was actually a site-wide problem affecting the entire SE network.
It happened because they changed the authentication mechanism so that it's easier for people to sign in on multiple SE sites (some members here, myself included, participate on several).  Not all OpenID providers were affected, but myopenid (the one you're using) was one of them.
The issue didn't seem to affect people who changed their user name after registering, but for those people who use any of the affected OpenID providers and whose names were directly derived from their OpenID (never changed) - their display names disappeared.
It is possible that they'll fix this, but seeing as how it was a one-time incident, I doubt it; it'll be easier for you to edit your profile and manually change your name, as hobodave suggests.
Answer: We no longer infer username from OpenID urls.
(this was never really correct anyway, and it meant nobody could respond to you in comments)
If you had a username that was inferred from your OpenID, you will now have to enter a real username.
Answer: seems your display name became blank somehow.
I changed it back to roux just now
not sure how that might have happened... didn't even realise it was something mods could change
Comment: that only worked on meta...
Comment: @roux: You can edit your profile by going to your user page and clicking the "edit" link by your picture. We left it as-is on the parent site.

why has my username changed?


How do I make a flot chart use values from a database?

Question: I want to bind the stacked bar chart with some database values. I've got it working using hard-coded values. How do I make it use values from a database?
At present, I've got this code in a JavaScript file:
<code>$(function () {
    var css_id = "#placeholder";
    var data = [
        {label: 'Strong', data: [[1,250], [2,250], [3,250], [4,250], [5,250], [6,250], [7,250], [8,250], [9,250], [10,250], [11,250], [12,250]]},
         {label: 'Weak', data: [[1,200], [2,200], [3,200], [4,200], [5,200], [6,200], [7,200], [8,200], [9,200], [10,200], [11,200], [12,200]]},
          {label: 'Medium', data: [[1,50], [2,50], [3,50], [4,50], [5,50], [6,50], [7,50], [8,50], [9,50], [10,50], [11,50], [12,50]]},
    ];
    var options = {
        series: {stack: 0,
                 lines: {show: false, steps: false },
                 bars:  {show: true, barWidth: 0.9, align: 'center'},
                },
        xaxis: {ticks: [[1,'Jan'], [2,'Feb'], [3,'March'], [4,'April'], [5,'May'],[6,'June'],[7,'July'],[8,'August'],[9,'Sept'],[10,'Oct'] ,[11,'Nov'],[12,'Dec'] ]},
    };

    $.plot($(css_id), data, options);
});
</code>
Answer: The easiest way is to generate this file on server-side. It means, that your PHP code is echoing the whole stuff, gets numbers from the database.
Make a copy from this js file and replace numbers with placeholders, to make it a template:

{label: 'Strong', data: [[1,#STRONG_1], [2,#STRONG_2]...]}

From this, your PHP (or which server-side language you're using) program comes:

Load your template
Read data from the database
Replace placeholders with values in the template
Echo it

You may use URL parameter for telling the program which data is have to read, e.g. mygraph.php?date=20100629
Also, you have to insert this code (step 1-4.) to your page generator script. Don't forget to add opening and closing "script" tags before and after your JS code.
If you're done this, you should learn how to do the similar job with AJAX.


Selenium - To compare and verify image in PDF file with front end

Question: I have a requirement to compare the images in the PDF file to the font end of the web application. I am using the Selenium Web Driver and I have tried to compare with PDFBox but it won't read the images. Is there any way to achieve this? please suggest
Comment: Please delete your comment and put the key information into a new answer. Old comments are periodically deleted, where answers are not.
Comment: Can you clarify the requirement? Do you need to test that the data in the PDF is the same as the website?
Is this some sort of form?
Do you have access to the code which is generating the PDF?
Answer: Selenium can not do this out of the box, but you can combine it with Sikuli. Or you use a web testing software with built-in PDF testing support.
Answer: With Selenium, you can take a screenshot.
You can try to create a PDF file with the same structure as you the one you have, and compare both.


Check Engine light came on, turns out, i had a bad battery but it threw a bunch of codes?

Question: Okay, so I drive a 13 Hyundai Genesis Coupe 2.0T. Last night my check engine light came on. I took it to advance auto today to have the code read. It threw a bunch of codes which were Throttle Actuator Control Motor Current Range/Performance, Turbocharger Boost Control Position Sensor A Circuit Low, ECM/PCM Internal Eng Off Timer Perf, Clutch Switch Input Circuit, and Warning Lamp Failure. They checked the battery and it had gone bad. On my way to advance the car started acting weird. I was driving when all of a sudden it seemed to have lost acceleration. It was just slowing down. When i parked it, it was idling weird. I turned the car off, and started it again without a problem and would drive normally again for a little while. I had the battery replaced, but it still seems to be doing it. Anyone have any ideas on whats going on?
Comment: @CharlesBillings worth a shot. Make sure you have them documented so you know what to check if it doesnt resolve, and so you can compare codes if it starts kicking them again.
Comment: Given that the battery was just replaced, maybe check the battery and make sure it's charged and that the terminals are securely connected. It might be a loose grounding wire or something similar.
Comment: You could have faulty diodes in the alternator which is causing a lot of ripple on the electrical supply.  The ripple could cause the ECUs to behave strangely.  It could also cause the battery to fail.  This is just a guess, but is worth checking.
Comment: I did not have the codes cleared (didnt think about it) and read that those codes could make your car do that as a safety measure? Should i try clearing them?
Comment: Maybe it just needs some time to reset?
Answer: Checking Alternator output and Alternating Current on the line can be a great help.
Low Alternator output can be caused by bad Diodes and can allow AC voltage to confuse processors and generate random codes.One quick test would be to feel the alternator when cold, if Diodes are passing current the alternator will be warm, the all inclusive test would be to have the Alt Output checked with a Digital Storage Oscilloscope
 and Load tester.


QoS at the edge of branch

Question: I have a question about QoS design in branch. The main place to deploy qos in branch - edge between edge router and ISP. At this edge we have voice traffic to SIP provider, copr. external email and other users traffic (web, torrent).

We can implement effective qos for outgoing traffic, priority queue for voice and rest for other traffic (general description, I understand that real implementation seems to be more complex). But what to do with incoming traffic? For example, I have SIP incoming traffic and torrent to my users, and I think that this p2p traffic will make big latency or even packet loss for my voice traffic.
Comment: Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
Answer: There is no way for receiver to affect scheduling of sender. You should just work on getting QoS configured at sender.
Theoretically if the frames are correctly classified and your receiver and sender supports 802.1Qbb (essentially CoS aware pause frame) then you could request pausing of BE traffic without causing pausing of EF traffic.
Answer: Your provider will need to set up QoS on the PE-CE link. You'll more than likely need to pay for this.
As you noted already, you can only control the CE-PE link which you are already doing.
Answer: Some shaping devices such as the Riverbed Steelhead line and the Exinda portfolio offer inbound shaping. These essentially throttle outbound TCP requests as to limit the inbound traffic. In my experience these solutions work decently over low-latency links but give poor results over high latency (satellite) connections.
Comment: The problem with this is that by the time your device has shaped inbound, your WAN link has already been filled with non critical traffic. i.e. it happens too late
Comment: For large requests in particular this is true. For smaller requests, however, it does provide some benefit. You'll never achieve true shaping though unless you're shaping outbound from both ends - which as @mellowd stated, requires an agreement with your provider.

QoS at the edge of branch


Should I use rudder to recover from power-on stalls?

Question: I was executing a power-on stall, and upon stalling the nose dropped and the plane rolled hard right.  I promptly applied left rudder and released yoke backpressure to recover, and the plane recovered normally.  However, my instructor told me that I should not use rudder when recovering from a power-on stall, even when the plane rolls one way or the the other.  This confused me, because a DPE had told me not to use ailerons when recovering from a power-on stall if the plane rolls one way or other other, so I'm not sure how I'm supposed to level the plane if I can't use either rudder or aileron.  Also, I had thought the roll was the beginning of a spin, but my instructor told me that it was not and that we were nowhere near a spin.  Can someone clarify the use of rudder (or aileron) on recovery from a power-on stall?  And if I'm in a situation where my plane is stalled and I'm rolling hard one direction, if that's not a spin, can someone please clarify what a spin is?
Comment: You were uncoordinated when you stalled, that's why it rolled, you need to be using the rudder in the approach to stall to stay coordinated. What aircraft are you flying?
Comment: I'm flying a Cessna 172.
Comment: It sounds like the beginning of a spin entry to me. You reacted the way I was taught. Using ailerons at slow speed can have the opposite effect. I suspect you were not balanced as Ron mentioned, as if you were the engine torque would tend to break to the left.
Answer: Your instructor is correct.
I've never seen a C172 where the POH actually discusses stall recovery besides saying it's 'standard'. I was taught to keep the airplane in balance using rudder in the approach to the stall, and manage any wing drops with rudder in a fully developed power off stall (I'm in the UK, not sure how the US is different). However, that isn't the procedure for a power on stall. The FAA Airplane Handling Handbook section 4-8 on power on stalls states:

The pilot must promptly recognize when the stall has occurred and take
action to prevent a prolonged stalled condition. The pilot should
recover from the stall by immediately reducing the AOA and applying as
much nose-down control input as required to eliminate the stall
warning, level the wings with ailerons, coordinate with rudder, and
smoothly advance the power as needed. Since the throttle is already at
the climb power  setting,  this  step  may  simply  mean  confirming
the  proper power setting.

In a power on stall if you get a big wing drop the rudder is not going to lift the wing, and coarse rudder movements could stress the airplane, see the AA 587 crash. So balance with rudder, but most importantly reduce your angle of attack with as much forward stick as you need.
Answer: Interesting discussion on the topic here.
Most notably, the Australian aviation authority updated their guidance to add:

apply rudder to prevent the nose of the aeroplane yawing into the direction of the dropped wing

I believe this recognizes that there is a very short duration in the maneuver where coordinated rudder inputs are not possible yet, but where a spin can be prevented by stopping the yaw using rudder inputs. Almost immediately this is followed by:

ailerons should be held neutral until control is regained, when the wings should be levelled using coordinated inputs
Answer: My suggestion right now is do as your instructor says. Next lesson Ask to get a demonstration or try for yourself.
The full answer is to follow the operations manual. Airplane types vary a lot. The 172 is a very benign type as far as they go. A bit of performance has been traded for simple and safe (well) handling. Other types can be quite nasty, given wrong control inputs they bite.
Answer: Rudder is not used for recovery but is an extremely valuable tool to control yaw while plane is being unstalled by reducing AOA.
Ailerons should not be used as a roll control reversal can happen if the lowered aileron causes its wing to stall, while the other wing (with the raised aileron) remained unstalled.
Reducing power also makes the situation less complicated by reducing P and engine torque effects. There will be schools of thought depending on the type of aircraft.  A very large or heavily loaded aircraft needs power and airspeed.  Push the yoke forward first if signs of stall develop.  Many times this is all that is needed.
Applying opposite rudder in an incipient spin (ok, its not fully developed yet but let's act now) is not a bad move as the control input to stop the spin is now already in.  With a dropped wing the plane will be in a side-slip. Not a major issue provided the plane is promptly unstalled by reducing AOA (with elevator).
Speaking of incipient spin, we also have the incipient stall: the buffet and stick shake.  There is also the stall warning horn.
Do not ignore these.  Be proactive and reduce AOA immediately, rather than falling further and further into trouble.