Computer Science
Subforums
3275 topics in this forum
-
Situation 1) setPriority(int adsa) public class ThreadPrioDemo1 { static class Demo1 implements Runnable{ public void run(){ //blablabla} } public static void main(String[] asdf){ Runnable r = new Demo1(); Thread myThread = new Thread(r); Thread mainT = Thread.currentThread(); //mainT's priority is 5, so as myThread. mainT.setPriority(10); //mainT's priority to MAX, this simultaneously changes myThread to 10 as well. //or myThread.setPriority(10); //myThread priority to MAX, however, this does not change mainT to 10 } } Question 1), why if main Thread i…
-
0
Reputation Points
- 0 replies
- 1.1k views
-
-
Here is some progress on the Major/Minor Data Protocol that I am developing to make a two-way Outernet access which, once completed, will be implemented into a package which I will be releasing for people to use to make access points. Here is a diagram. The algorithm is similar to LinkedList algorithms, but with some different aspects: Essentially, what will happen is the program will search for any connection to another similar device(most likely through different types of checks). Once it finds random devices, it will record their pings, store the information both about the device and connection name. It will compare the pings of each device, and store it so o…
-
0
Reputation Points
- 6 replies
- 1.7k views
-
-
I'm trying to get access to Twitter feed about bail bond information. We want to get all the info we possibly can by scraping the "firehose" as they call it. My boss told me that this should be a pretty simple project and take a day to work out at most. I've already spent 3 and a half hours working on it, so I'm wondering if anyone else knows anything about this that may help me finish this project. Thanks in advance
-
0
Reputation Points
- 4 replies
- 1.6k views
- 1 follower
-
-
I don't understand why this is happening. On my own PC, my program works flawlessly. It's using the TwitterAPI to find data specifically useful for my industry. Like I said, it works fine on my own PC, but I'm trying to set it up on the server right now and I keep getting this message- Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> Tweeter() File "C:\Python27\lib\site-packages\Tweeter.py", line 16, in Tweeter for item in s.get_iterator(): File "C:\Python27\lib\site-packages\TwitterAPI\TwitterAPI.py", line 198, in __iter__ yield json.loads(item.decode('utf-8')) File "C:\Python27\lib\json\__init__.py", line 338, …
-
0
Reputation Points
- 8 replies
- 11k views
- 1 follower
-
-
I need help and I don't have the brainpower to research anymore (for today at least... that typically happens when I'm focusing all my mental energy on technicalities). I need to know 1. how to (here's an example) download the pdf automatically (using python) from a link, (i.e. http://www.xxx.gov/18746/app=get%20inmates.pdf) and 2. how to convert the pdf to a file that can be processed by OCR (such as pytesser).
-
0
Reputation Points
- 3 replies
- 1.8k views
- 1 follower
-
-
Well, as the title suggests, i want to make a quiz. This is how i want to quiz to be: There should be a range of different types of solutions. Like 1 of 4 options, text input, or even, more than one choice. After the form has been submitted, there should be a brief on the questions that are answered. like the following: 1.You answered blah blah. This is correct 2.You answered blah. This is incorrect, the correct answer is blah blah it should work out the final score, like 10 out of 12 etc And it should also wor out the percentage. Thanx for ur help. I know its a little complex, but any help would be good. Thanx again
-
0
Reputation Points
- 7 replies
- 2.1k views
-
-
Ok this is really annoying me, when i use Internet explorer 6, I can only open one window, if I try to open another the previous one dissapears. Its driving me crazy.
-
0
Reputation Points
- 5 replies
- 1.7k views
-
-
I picked up an old Dell computer for free. The copyright on the mother board says 1998 so that gives you some idea of how old it is. Its got everything it needs to run, minus the case, so I figure I'll just make a case and give it to my sister for her to use. Everything goes well, case gets built and everything fits no problem. But I want to make custom power/reset buttons for it. The original Dell power/reset buttons are on a circuit board thats attached to the mobo via a small ribbon cable. (I'll try and get a picture of it tomorrow) Anyway, I take a switch from Radio Shack and I attach it to the two pins on the mobo that I believe to be for the power switch. …
-
0
Reputation Points
- 7 replies
- 2.6k views
-
-
Hi, Im trying to create a constraint which will have a fixed length of 10. The constraint i have used is: CHAR(10)constraint Now according to the books "CHAR" should be a fixed length, in my terms a fixed length of 10, however, i have just tried to insert some values consisting of 9 characters and it was accepted. Do i need to add something to the constraint to allow the user to input exactly a fixed length of 10?
-
0
Reputation Points
- 8 replies
- 2.6k views
-
-
Ok I have a problem ive got one html file with this form: <form method=POST action="http://omegamp.com/test.php"> First Name: <input type="text" name="First Name" size=15><br> Last Name: <input type="text" name="Last Name" size=15><br> Phone Number: <input type="text" name="Phone Area Code" size=3> -<input type="text" name="Phone Number Part 2" size=3> -<input type="text" name="Phone Number Part 3" size=3><br> Address: <input type="text" name="address" size=28><br> City: <input type="text" name="city" size=12><br> State: <input type="text" name="state" size=12><br> Zip Code: <i…
-
0
Reputation Points
- 18 replies
- 5.2k views
-
-
...to program something simple in VisualBasic for example. It's the language the book I'm reading uses - what exactly do you need to program in this language? Provide some type of link please, thanks!
-
0
Reputation Points
- 14 replies
- 2.9k views
-
-
Weird. I keep seeing favicons on tabs, seemingly at random. Sometimes it's an "S", sometimes a "B". I know these are not part of the site, because they sometimes appear on domains I control. Anyone know what they are? Are they a feature of some extension I didn't bother to read the documentation for?
-
0
Reputation Points
- 21 replies
- 3.5k views
-
-
Hello friends, I am a Windows user and recently I am encountering a serious problem on Windows 10 search bar. When I go to type something in the search bar of Windows 10, I fail to type there. Has anyone encountered such a problem before? Please help me to fix the issue.
-
0
Reputation Points
- 3 replies
- 925 views
-
-
Greetings all... i just need guide or opinion from all.. i need to develop the compiler word for short form words to full words.. example: B4U ---> before you so what kind of technique can i implement for this?? it is decision tree??or else? or what kind of programming language that can i use to develop this?? C#??C++?? or JAVA? hope anybody could give opinion..and help me. many thanks.
-
0
Reputation Points
- 41 replies
- 5.1k views
- 1 follower
-
-
hello...i would like to ask some opinion here... how i want to search/detecting the value without filtering the data? currently i'm using double hashing to search the the value... for example: i have 1000 tags with the value and will transferred to the database. however, the value considered missing when there are unable to detect the value which it is actually exist in the database.. collision could be happen within the value... so, i would like to read some opinion that possibly could help me to detect the missing value in fast way without filtering the data... thanks...
-
0
Reputation Points
- 0 replies
- 952 views
- 1 follower
-
-
Hi there... I'm here to ask some opinion about indicator for trace the missing RFID tag? currently, there are some example that i have read such as adaptive window RFID data cleaning model (SMURF), static window RFID data cleaning and naive bayes classifier... so i would like to ask if there are other model or techniques that can be used for trace the missing RFID tags? or if anybody do not mind to share any papers or journal that related with this... Thank You..
-
0
Reputation Points
- 3 replies
- 1.3k views
-
-
Geetings to all... currently im studying about RFID in Internet of things, for example how internet of things (IoT) can be used to predict breakdown in aircond? the sensor supplied the data to the sistem.. from the data, what kind of algorithm can be used? is it binary tree? anti-collision algo? thanks in advance.
-
0
Reputation Points
- 5 replies
- 1.6k views
-
-
Hello. I recently signed up here and thought I would present a question for my first post. Good Luck. If you have troubles understanding any parts, just ask and I will be glad to explain. This is based on intels x86 architecture. It is NOT a program. You just assign the values and solve. void ***q=malloc(8); *q=q; *((long long *)*q)=0x012345678abcdef; what is the value of (int)*((char *)q) ?
-
0
Reputation Points
- 10 replies
- 2.5k views
-
-
if the Battery for a Laptop, has "Warranty: DOA" written in the sales specs, what does it mean?
-
0
Reputation Points
- 2 replies
- 1.1k views
-
-
Hi, we are looking for best solution to configure CFP MSA compatible PHY with MDIO interface. The best would be to have some USB to MDIO adapter with LabView support.
-
0
Reputation Points
- 0 replies
- 1k views
-
-
A Canadian blogger has offered $1000 to anyone who can trace the source of a death threat posted on his blog. Anyone here up to the task and fancy making a bit of money? http://ezralevant.com/ ''Tonight at 10:30 p.m. MT I received this comment posted to my blog: ezra you will be killed by my hands The IP address from which the comment was made is 72.137.199.43 I'm not a good Internet sleuth; I think that's a Rogers account. That's all I know. But I'd like to know more.'' ''UPDATE: Here are some more clues for you. I searched for the above IP address within my blog's statistics program, and I came up with the information here. The user is in Tor…
-
0
Reputation Points
- 6 replies
- 2k views
-
-
I want to aplly the 1 Recursion Thorem and find fix for this function: 0 if x=0,1 f(x)={ f(f(x+2))+1 if x>=2 Can anyone help me to slove this?
-
0
Reputation Points
- 0 replies
- 845 views
-
-
I am needing to create a 128bit hashing function for a look up table of running objects that are indexed by UUID! The typical hash<T> is not liking the 128bit unsigned integer I am passing it as it cannot be converted to the 64bit size_t internally specified in the algorithm. Why not just store a pointer to the UUID in question? Well this would be terribly convenient wouldn't it? Regardless of the underlying problem I wish to learn the best design policies of developing a hashing function as this is something I haven't directly attempted as of yet. I am analyzing this from a purely Set and Group Theoretic standpoint and am using the very few Abstract Algebra…
-
0
Reputation Points
- 13 replies
- 6.6k views
-
-
I saw a 1gig "speed stick" for $90 at staples and then for $25 at http://www.newegg.com. What is with this big price difference?
-
0
Reputation Points
- 2 replies
- 1.1k views
-
-
i have dual monitors working with seperate graphics cards (not a splitter or anything). i am using Ultramon so i can set up things like different screensavers and desktops. but i want to be able to watch a movie on one screen and play a game on the other. i start the movie, but then when i go to play my game it says something about direct draw resources and closes the movie. is there anyway i can make this work?
-
0
Reputation Points
- 34 replies
- 4.9k views
-