The post What are Boolean Operators? appeared first on Joes App Developer Q & A Site.

]]>Boolean operators are used to discern True or False Statements. George Boole who invented Boolean algebra wrote extensively about mathematical logic with a deeper meaning than just numbers like integers and real numbers.

NAND gates may to utilized to **produce any other type of logic gate function**, in reality, the NAND gate forms the basis of most applied logic circuits. Taking the action of connecting them together in various combinations the three basic gate types of AND, OR and NOT function can be formed using only NAND gates, as an example.

Citation: https://www.electronics-tutorials.ws/logic/logic_5.html

The post What are Boolean Operators? appeared first on Joes App Developer Q & A Site.

]]>The post Cartoon Boxes Funniest Deaths Cartoon appeared first on Joes App Developer Q & A Site.

]]>Funniest Death Cartoons.

My question to you is.. Can death be Funny?

https://www.youtube.com/watch?v=UP0-q7frq8k

These cartoon deaths are hilarious. Check out Cartoon boxes comics. The most unexpected punch lines are the funniest to watch! Don’t forget to keep writing down your jokes and sending them to me. I prefer to throw in some comic relief after a sincere or serious post or 2 about high-level computer engineering and digital technology, and electronics engineering or math.

The post Cartoon Boxes Funniest Deaths Cartoon appeared first on Joes App Developer Q & A Site.

]]>The post Cantor’s Theorem: This is that the real numbers can’t be represented exactly as finite strings. appeared first on Joes App Developer Q & A Site.

]]>Basically or to put simply it’s input A-> [] -> output B or input A passes through to output B.

This post will focus intensely on that what aspect of computing the product of a problem. The specs or factors of the math problem.

An example of binary computation is:

The program ? takes in ? as input” when ? might be a number, a vector, an array, a matrix graph, or any other type of object that isn’t necessarily static, when we really mean that ? takes as input the representation of ? as a binary string.

Prefix-free encoding allows us to represent complex binary 3d images, graphs from databases, and other complex things in simplified form.

There is more than one way to compute a the output of a product in a *F* Function.

A computational task is a task that specifies a map from an input to an

output -> of a function. It is crucially important to distinguish

between the “what” and the “how”, of the specification

and implementation (see Section 2.6.1).

A function at its simple or basic core defines which output corresponds to which input. It does not specify or tell us how to compute the output from that particular input. There is an array or range of ways of computing the same function or coding the same thing in math, and computational mathematics.

It’s important to separate the functions which ask “what” to the programs which which will show how a computation is performed for the output or abstraction of the program for the end- user.

Back to Cantor’s Theorem,

The reals aren’t countable That is, there does not exist an onto function ? ?? ∶ ℕ →ℝ.

The theory that reals aren’t countable was proven by Georg Cantor in 1874. This result (and the theory around it) was quite shocking to mathematicians at the time. By showing that there is no one-to-one map from ℝ to {0, 1}∗ (or ℕ), Cantor showed that these two infinite sets have “different forms or types of infinity”. The set of real numbers ℝ is in some way “bigger” than the infinite set {0, 1}∗.

The thought that there are “shades of infinity” was very deeply unthinkable and therefore scared math scholars and logic philosophers. The philosopher Ludwig Wittgenstein (whom we mentioned before) called Cantor’s results “laughable.”

The flow of thought primarily pointed against Cantor eventually turned. Today Cantor’s math work on real numbers in sets is universally accepted as the cornerstone of mathematical set theory one of the important theories in foundational mathematical computational theory.

The post Cantor’s Theorem: This is that the real numbers can’t be represented exactly as finite strings. appeared first on Joes App Developer Q & A Site.

]]>The post SEO is fixing code and web design appeared first on Joes App Developer Q & A Site.

]]>When explaining anything, which can get complex if you focus on it especially STEM fields, keep it simple. Part of your job as an app engineer, app developeer, mobile app developer or web engineer is to have leadership skills these days.

Companies hire small teams of uber talented computer scientists to fix websites.

SEO is just a fancy term for the focus on on fixing web app code so that it ranks higher in Google and other search engines like Yahoo, Baidu, Bing, DuckDuckGo, & more.

I could say more there are 400 plus SEO factors to study in Google’s algorithm now, however. that’s it put in simple terms for the non-SEO expert.

Somebody has to do it or else your business is losing out.

Number one SEO audit your site.

W3C. code validator code and code styling for Google.

What is SEO?

Coding.

The post SEO is fixing code and web design appeared first on Joes App Developer Q & A Site.

]]>The post Universal Computing in Computer Science appeared first on Joes App Developer Q & A Site.

]]>In STEMM fields there is no other practice in physics that can universally mimic each other.

In computing that isn’t the case. A single computer running an operating system can replicate all other computers.

So only one computer is required to study the limits of computers in computer science or computing theory. These limits, however. are hard to understand since a computer is so immensely powerful.

Circuits are only for finite solutions. For example finite automata can’t recognize palindromes so they can’t be computed with circuits

, as they are too finite in them. However, we can use math to code a solutions

They also can’t solve the Traveling Salesperson problem, Math and computer programming can however.

**Question:** Do programs always stop or halt?

Many viruses, and the meaning of an email or semantics can’t be ciphered by circuits.

However, we can work towards a mathematical proof using math and computer programming to make a solution or prove it.

Can the P vs. NP problem be solved?

The post Universal Computing in Computer Science appeared first on Joes App Developer Q & A Site.

]]>The post What is an APP API? Why are they so Important? appeared first on Joes App Developer Q & A Site.

]]>This video explains how APIs work to retrieve database info, urls, images, text, and more so that your app works well. https://play.vidyard.com/Le2QkL3lixu3GmssEXYyLg.jpg?

How much do API’s cost

They can be free but often require an updated plan or payment to use. Some free ones are IMDB, Yahoo Finance for example. Others aren’t free to use all of their db information

The post What is an APP API? Why are they so Important? appeared first on Joes App Developer Q & A Site.

]]>The post <span lang ="en">How to set cannonical link in WordPress</span> appeared first on Joes App Developer Q & A Site.

]]>Instruction steps:

- Log into your WordPress account.
- Hover over appearence (left vector list)
- choose theme editor
- select your theme or themes you using.
- add this universal PHP cannonical code to header.php

<link rel=”canonical” href=”https://www.kiwideas.com<?php echo $_SERVER[‘REQUEST_URI’];?>”>

Another Way to add canonical code to your WordPress Blog

Steps:

- Follow the steps 1-5 above
- Use this code

<?php $link = str_replace(‘content/’, ”, $_SERVER[‘REQUEST_URI’]); $linkstring = str_replace(‘ ‘,”,$link ); ?> <link rel=”canonical” href=”https://recetas1.com<?php echo $linkstring;?>”>

3. Be sure to change the url to the absolute url path that you need.

Example for https://www.joepfanning.com

<?php $link = str_replace(‘content/’, ”, $_SERVER[‘REQUEST_URI’]); $linkstring = str_replace(‘ ‘,”,$link ); ?> <link rel=”canonical” href=”https://joepfanning.com/blog1/2021/.com<?php echo $linkstring;?>”>

This code selects the $link PHP variable which equals = $linkstring variable – uses str_replace PHP code to fetch the $link object variable and returns the app developer blog that I want my users or readers to see and read and think about or use my coding solutions.

What was wrong? Previously when users clicked on the menu of joepfanning.com which has 2 blogs in the database, it loaded the wrong theme or blog which was Theme Hunk. I used the steps above in my WordPress powered blog on my app site to load the 2020 theme which is the app blog content that I want me users and readers to digest, use, see, comment on, link to, share, ect.

The post <span lang ="en">How to set cannonical link in WordPress</span> appeared first on Joes App Developer Q & A Site.

]]>The post Sample Spaces Algorithms appeared first on Joes App Developer Q & A Site.

]]>In algorithms, Omega is usually finite. It uses discrete probability which is easier and less complicated than general probability in mathematics.

**Probability Outcomes **

each outcome omega has probability pi > or equal to 0. Use The constraint the sum of sum Omega P (i) = 1

**Sample Space Algorithm Example**

Example # 1 Rolling 2 dice Omega

{(1,1), (2,1), (3,1), … , (5,6) (6,6)

This produces 36 ordered pairs. P(i) = 1/36 for all it52

Choose an arbitrary or random pivot in the outer quicksort call.

Omega {1,2, … in 3 (index of pivot) and p(i) in the outer quicksort call. All myriad changes can happen. and P(i) = 1/n for all E omega.

An event is simply a subset off all of the actions that could possibly happen.

An event is a subset of S<or= Omega.

The sum of all probabilities contained in that event is teh sum of all of the probabilities.

So the probability of event S is sum of igs p (i)

We have two dice and 36 possible outcomes.

Quiz Question: We have an event, this is the subset of outcomes for which the sum of two dice equals 7. What is the probability of the event?

S = {(1,6), (7,5), (3,4), (4,3), (5,2), (6,1),}

Pr [s] = 6/36 = 1/6.

Question:

In this event (example the subset of outcomes for which) “the chosen pivot gives a 25-75 split or better”. What is the probability of this event occuring?

This Answer is: 1/2

So this concludes this sample spaces algorithm academic tutorial with quiz questions. Keep coming back and practicing and you’ll master application engineering in no time.

The post Sample Spaces Algorithms appeared first on Joes App Developer Q & A Site.

]]>The post 2D Tree Construction appeared first on Joes App Developer Q & A Site.

]]>When we go one level below we go back to vertical. It’s a regular binary search tree but we switch. Five comes in to the left of four. Corresponding to the binary tree. The 9th point is above two and to left of 8. The 10th point is below one and to the right of two.

Code is the same for binary search trees. Which we use for the coordinates is the only difference.

We have a range search for a 2d tree. Use the 2d tree to represent the points. Use the structure of the tree to find that point in the rectangle. If the rectangle lies to the left of the root node that rely to the left. Check if the rectangle contains the root is our mission find all points in a query axis-aligned rectangle. check if point in the mode lies in a given rectangle. Recursively search left/bottom if and could fan in rectangle). Recursively search right/top (if could fall in rectange). Search the ubtree of point three. Searth the left subtree of point six. return from function call.

Even if the tree is balanced the worst case would be the square root of N. The goad is the find the closest point to a query point.

Nearest neighbor search in a 2d tree demo.

Check distance from pin tin the node to the query point. Recursively we’ll search the left/bottom if it coudl contain a closer point. Recursively then search right/top if it could possibly contain a closer poin in space time. Organize a method so it beings searching for the querying point.

When we get back to point one, we won’t search the subtree. The nearest neighbor. We look at both subtrees but as we get close we just look at one of them.

Be sure to check the distance form point in the node to a query point.

Recursivlely search teh left/bottom if it could contain a closer point. 5 would be the clossed point. Is there a closer node in the right rub-tree of four. No there can’t be a closer point to the right sub-tree of four. nearest neighbor would be five. We cut out of the subtrees along the way Typical case log N Worst case even tree is balances.

Question: When performign the nearest neighbor search function, organize the recursvie method so that wehne thera re two possible sub trees to down alwys choose the subtre that is on the same side of the splitting ine as teh query point as the first subtree to explore. Main reason is?

A. Improve the performance in the worst possible case?

**B. Improve the performance in practice. **

C. Ensure correctness.

D Simplify the code.

It is very important or necessary optimization. this is because the points encountered whilst the exploration of the 1st subtree could make pruning of the 2nd subtree. For the normal inputs choosing the direction that goes toward the query point makes it more likely that could encounter points close to the query point.

Greg Remolds created this model. The Boyd uses three simple rules to get close to the flocking behavior. Collison avoidance point always for the nearest.

Flock centering point toward the center. Kd trees velocity matches to the nearest k voids .

KD Trees are highly effective in recursively cutting a k-dimensional space plane into two halved spaces.

2d trees are only a horizontal vertical. Kd trees are much more smart or versitile. BST however cycle through the dimension via the two dimensional trees.

left points of ith coordinates are less than p’s. The right points of the ith coordinates are greater than p’s.

John Bently discovered this data structure in Stanford in a algorithms class. It’s an efficient and simple data structure for processing k dimensioanl data. It’s very popular in use. It adaptos very well to the higher dimensional and clustered data. It was discovered in in class! A lot of discoveries and inventions that we have were college and university projects.

N-Body simulation

Goald Simulate the motion of N particles, mutually affected by gravity. Use brute forece earch pari is computed force: F+= Gm1m2 divided by r two. the progress of scientific investigation is based off the particles. You can’t do the calcualtion for N.

N body simulation Andrew cull. if some particle is way away form particles we can treat the particle as individual particles. The algorithm used was based on the use of three D trees. To compute the force of all trees acting on a particle traverse the tree, then stop as soon as distance is good.

The post 2D Tree Construction appeared first on Joes App Developer Q & A Site.

]]>The post Java Inheritance Explained: One Class Takes the Properties of a Different One appeared first on Joes App Developer Q & A Site.

]]>With the use of inheritance the info is made manageable in a hierarchy.

**extends** is the keyword used to inherit the properties of a class. Following is the syntax of extends keyword.

**Syntax**

class Super { ..... ..... } class Sub extends Super { ..... ..... } The Following is an example that demonstrates Java inheritance. In this sample you can see two classes: Calculation and My_Calculation. Using extends keyword, the My_Calculation inherits the methods addition() and Subtraction() of Calculation class. Copy and paste this code. Name the file this: My_Calculation.java class Calculation { int z; public void addition(int x, int y) { z = x + y; System.out.println("The sum of the given numbers:"+z); } public void Subtraction(int x, int y) { z = x - y; System.out.println("The difference between the given numbers:"+z); } } public class My_Calculation extends Calculation { public void multiplication(int x, int y) { z = x * y; System.out.println("The product of the given numbers:"+z); } public static void main(String args[]) { int a = 20, b = 10; My_Calculation demo = new My_Calculation(); demo.addition(a, b); demo.Subtraction(a, b); demo.multiplication(a, b); } } Compile and execute the above code as shown below. javac My_Calculation.java java My_CalculationCode OutputThe sum of the given numbers:30 The difference between the given numbers:10 The product of the given numbers:200

The post Java Inheritance Explained: One Class Takes the Properties of a Different One appeared first on Joes App Developer Q & A Site.

]]>