## Macbook gets confused by changing external USB keyboard

I have two different slots to use my MacBook Pro and connect an external USB keyboard to both places. They are both 104keys and have identical provisions.

When I plug in the keyboard for the first time, it often stops (not always) working properly. The modifier keys will be completely incorrect and most normal keys will also be incorrectly translated.

What I did was a little DIY with the keyboard built into a laptop for a moment (a few tens of seconds to about a minute) before the keyboard functionality d & # 39; habit returns to normal.

I have not been able to choose a model that works better than the previous ones – which is messy and rather unpredictable.

Has anyone encountered this difficulty and proposed a better solution?

• reboot has no effect: this behavior has been around for at least months
• "identical place" do not know what it means, but both USB ports have been tried many times and do not affect the result

## mysql – Confused with a specific SQL query, AvgPrice

Please let me know if this is correct, and if not, what would be the best or the best way to write the SQL query. I am a beginner, so I apologize if it seems obvious to you. I think I have to use a JOIN, but I do not know how.

THIS REQUIRES ONE QUESTION C) Get the average price of the products manufactured by each product line. Name the average price "AvgPrice".

``````        SELECT AVG (price) AS "Average price"
FROM product_line
GROUP BY line_product;
``````

## Confused about pumping the lemma, what am I missing?

When I apply the pumping lemma on this language:
$${L = {010 ^ n: n ge0 }}$$ on the alphabet $${ Sigma = {0,1 }}$$ I understand that it is not regular whereas it is regular.

1. let $${n = 4}$$then $$w = 010000$$
2. $$w = xyz$$ , $${ mid xy mid leq n}$$ and $${ mid y mid geq 1}$$
3. $$x = 0$$ , $$y = 10$$ , $$z = 000$$
4. let $$i = 2$$
5. $$xy ^ 2z = 01010000$$ $$not in L$$ therefore L is not regular.

so, what do I miss?

## Programming languages ​​- Confused between Javascript or Python or Go

Simple and straight

I am a PHP programmer (6+ years of experience). I really want to work in advanced technologies to earn better. But I am confused in the options below

• Python as a secondary language
• Go as a secondary language
• Node.js
• AWS certificates for a developer and an associated solution architect
• To become DevOps engineer
• Microsoft Azure or Google Cloud or IBM Cloud?
• Become a MEAN stack developer (Keep in mind that I want to master the backend mainly)

Or:

• I want to work in India right now (But open for all over the world)
• Plus, put my shoe on the track
• Go Language does not have a vast market in India
• The Indian market mainly requires a full battery developer.

• Worked closely with Node.js / Angular.js / React.js
• Mainly worked with PHP & Relational DB (does a project in NoSQL firebase)
• Develop a mobile app in React Native (as I was part of the service-based organization)
• Interest for the cloud (AWS is mainly used to deploy GIT code)
• I want to buy housing for my family, my father, my mother, my wife
• Do you want to teach students about free programming
• Want to make young people aware of job opportunities so that they have at least one hope (My youngest brother at age 29 has completely lost hope)
• I want to become a freelancer or consultant so I can use my free time and teach college and school students for free
• You want to visit the world, small towns and villages, inform students of the programming and motivate them
• Want to buy freedom for my future children for all their lives

Please, suggest friends if it is not the right page, I will post elsewhere, but I need it.

## SO CONFUSED * Need to transfer CPANEL + WHMCS to a new VPS – HELP PLEASE!

Hello, you can really use your help, we have a website hosted on VPS.net with CentOS 6.X + Cpanel and we run WHMCS on it, we have been in the business world … | Read the rest of http://www.webhostingtalk.com/showthread.php?t=1752591&goto=newpost

## [ Politics ] Open question: Why do Republicans act in a confused way when they call themselves racists?

[ Politics ] Open question: Why do Republicans act in a confused way when they call themselves racists? .

## basic language – Iconize [ ] behaves in a confused way

If I evaluate `iconiser[Range[10], "range10"]`it returns an icon called "range10", which, if evaluated, returns {1,2,3,4,5,6,7,8,9,10}. If I change the original input cell to `iconiser[Range[5], "range10"]` and evaluate it, it returns a new icon called "range10", evaluated at {1,2,3,4,5}. If I now evaluate the original "range10" icon, it is evaluated at {1,2,3,4,5,6,7,8,9,10}. It's a bit confusing for me. What is happening?

## graphs – Confused as to the proof of Dijkstra's algorithm

In the proof of the accuracy of the Dijkstra algorithm, there is a lemma worded as follows:

Let u be the predecessor of v on the shortest path P: s -> …-> u-> v from s to
v. Then, if d (u) = δ (s, u) and the edge (u, v) is released, we have d (v) =
δ (s, v), where the funciton δ (x, y) designates the minimum weight of the path
from x to y.

I wonder why we need the condition d (u) = δ (s, u) in this lemma. If the path P: s -> …-> u-> v is the shortest path from s to v, then, by the optimal substructure property, the subpath s -> …-> u of P must also be a shortest path from s to u. Therefore, d (u) must be equal to δ (s, u).

Is there the case where d (u) δ (s, u) but P: s -> …-> u-> v is the shortest of s to v? If so, can anyone offer an example here?

any help would be appreciated

PS: if you are interested in the whole proof. Check here, the proof starts at 45:30

## java – confused with this code

Find this code by looking for comparisons and differences between imperative programming and functional programming languages ​​in programming paradigms.

It has been written that this code below is the recursion for functional programming.

(def (dup a)
(con ((null? a) (1)
(else (against (ara) dup (csd r a))))

``````    (def (dup a)
(con ((null? a) (1)
(else (against (ara) dup (csd r a)))
``````

Is this code correct? If it is correct, what does it mean?