1
vote
0answers
71 views

reduce CPU usage in while loop

How do you limit the CPU of a while loop? (cpu usage 100%) In this case, the code which is inside the while loop: Sub start() listenerThread = New Thread(AddressOf Listen) ...
0
votes
0answers
59 views

C++ While Loop, continue by inserting same line

I am new to this forum, although I regularly visit for research purposes. I am finding an issue with the following script. The idea of the script if to get a user, find the user within a file, ...
0
votes
0answers
55 views

Set based query to insert multiple records in a new table for each record in the parent table. MySQL

Imagine I have to insert a number of records in a new table for each record in an old table. As a (hopefully not over-) simplified example I have a table containing linestrings of variable lengths ...
0
votes
0answers
42 views

PHP error in code, help debugging

This is a Wordpress project (using Advanced Custom Fields) but the error I am getting is due to plain PHP code that I do not have a good enough grasp of. The code below returns a server error and is ...
0
votes
0answers
30 views

ajax php add to sql stuck in infinite loop i think

Firstly, this might be a related issue, but I think he's able to cut it off somehow. SQL query stuck in infinite loop My problem is that I was messing with an Ajax PHP script that access mySQL and ...
0
votes
0answers
32 views

save loop cell data to new row in one cell array

ok. I have a tiny question. I have a loop that returns six variables with data. two of those variables consists look like this or similar: X_Dates = [321,12] X_Times = [21,33,45,667,887]. those ...
0
votes
0answers
67 views

Array with multiple Arrays from CSV PHP

I'm trying to learn PHP and so developing a PHP script that will read a CSV file and place it in a array with multiple arrays inside. The CSV is composed by this structure ...
0
votes
0answers
41 views

How to render a database with javascript

I was wondering if anyone could be of some assistance to me. I'm trying to render tables from the application database of an app I've created with TideSDK. So it'd render each table on the same page ...
0
votes
0answers
41 views

Is there a way of going to a specfic line in python?

I'm new to python and I was making a small program with 'easygui' when i hit a wall. I wanted to get the button called "Back" to take me back to a previous line, but I had no idea how. I searched ...
0
votes
0answers
44 views

Simple general programming loop logic

I'm learning to program by making a simple time manager application. Although I'm making it in python, I have a question about the logic involved and it should be the same (or very similar) across ...
0
votes
0answers
59 views

Selenium loops while used with hudson

I would like to implement a while loop in selenium used in hudson I use the js script goto_sel_ide.js to while loops in the browser, but the hudson script does not work. Do you know if there is a way ...
0
votes
0answers
18 views

Animation not playing correctly with while loop

Ok, so here's my problem, I'm currently trying to play an animation for my program then create a .5s gap between it and the next animation that plays: (this is just one of the snipets, but the next ...
0
votes
0answers
78 views

SQL Switch Case Query Statement Function Cycle Dates?

I am trying to work out some logic here. No clue how to apply it in SQL. I have a view With ID, Name, Worked_Date, Work_Type, Work_Category, Work_Location, Total_Worked_Dates_in_Table and Fees I ...
0
votes
0answers
46 views

Start Cronjob when php file Loading Finish

sorry for my bad english. i have many PHP Files/Scripts. I start all with a Cron Job every minute. These always need all different time to be finish. This is impractical Now i will restart the job ...
0
votes
0answers
54 views

Thread - While Loop Kills Other Threads

I have a thread that works when I use a while loop to keep it active however when done this way it my other thread which is a socket does not seem to spawn. When I replace the while loop with a ...

1 2 3 4 5 6
15 30 50 per page