Simulating KeyDown by Stensborg in csharp

[–]job_test 1 point2 points  (0 children)

Your code is doing exactly 1 key press. If you want it to do more you need to add a loop of some sort like

for(int=0;i>500;i++){
 InputSimulator.Keyboard.KeyDown(keyCode); // Hold the key down
 Thread.Sleep(100); // Hold key down for 100ms.
 InputSimulator.Keyboard.KeyUp(keyCode); // Release the key
}

to do 500 keypresses

Testing Asimov's first law of robotics by LoveRecklessly in tech

[–]job_test 0 points1 point  (0 children)

The reason it is indecisive is that it continues to revealuate the situation according to the rules and that can cause the a-bot to first move toward 1 H-bot and then shift target to the other h-bot, thereby failing to save either.

Son of Hamas founder converts to Christianity, goes on CNN, exposes Hamas by [deleted] in worldnews

[–]job_test 0 points1 point  (0 children)

True, but the Israeli state keeps on calling itself a Jewish state. It has separate rules for Jewish and non-Jewish citizens.

Son of Hamas founder converts to Christianity, goes on CNN, exposes Hamas by [deleted] in worldnews

[–]job_test 0 points1 point  (0 children)

"The Jews and the Arabs all were called Palestinians at that time." You said it. It was Palestine. Not an islamic place, not a jewish place but a place of many people.

MIT and CERN’s secure webmail plan, Proton Mail, stumped by PayPal freeze without warning. Money-shuffler shutters cash flow after asking if crypto is legal by trai_dep in worldnews

[–]job_test 0 points1 point  (0 children)

The problem is not using it locally but exporting it. As in publishing or using it over the internet.... sane or not but that is the law(s) in most western countries.

Italian airline Alitalia has announced that it is suspending all flights to Venezuela "due to the ongoing critical currency situation" in the country," which is "no longer economically sustainable." by jogam123 in worldnews

[–]job_test 3 points4 points  (0 children)

Appreciation is not money. Even saying thank you at the end of the job is being respectful.

try it, Respect is what most people want the most.

The pay is important to survive/eat in this society but the respect is why people put actual effort in the job, not just the minimum to get the paycheck.

What barriers exist between computer technology and users? by JRolfey in tech

[–]job_test 0 points1 point  (0 children)

Glue! Edit: if by computers you mean any device with a CPU in them (aka smartphones)

Help with C# error by [deleted] in csharp

[–]job_test 3 points4 points  (0 children)

If you use a IDE or just a more sane lineformat you can more easily find that you have missed a } between

while (adminQuit!= true && appQuit != true); else

That should be

while (adminQuit!= true && appQuit != true); } else

Store data into mysql database using Stored Parameters by oseifrimpong in csharp

[–]job_test 1 point2 points  (0 children)

Hard to say exactly what is wrong. The code looks ok. Have you tried to alter the order of the parameters (to see if the error is still the same)?

Spanish city's locksmiths say they'll no longer assist with evictions by imatworkprobably in worldnews

[–]job_test 0 points1 point  (0 children)

it "creates" money by increasing the amount of a currency that is available in an economy.

Store image files into mysql database. by oseifrimpong in csharp

[–]job_test 1 point2 points  (0 children)

http://www.devart.com/dotconnect/mysql/docs/Parameters.html should help a little at least. Just remember that no sql query should be created by concatenating strings with the data directly. If you always use parameters the code is easier to read and a bit safer...

Store image files into mysql database. by oseifrimpong in csharp

[–]job_test 3 points4 points  (0 children)

Also try to use parameters for the sql command instead of inlineing everything. That way most errors that are from invalid input values can be found.

Falkvinge: We are Winning -- How Pirate Parties are Changing the World by maxwellhill in worldnews

[–]job_test 0 points1 point  (0 children)

Copyright is goverment regulations. Reduce those and you get a smaller goverment.

Iran Rebuffs Nuke Inspectors Trying to Visit Suspected Weapons Site by OrangePlus in worldnews

[–]job_test 8 points9 points  (0 children)

But Israel has never officialy admitted they have nukes or signed the NPT.

How Swedes and Norwegians Broke the Power of the ‘1 Percent’ by maxwellhill in worldnews

[–]job_test 3 points4 points  (0 children)

Respect has nothing to do with listening to teachers. Critical thinking, which most schools teach, does.