5,331 Posted Topics
Re: Some channels are defaults (6 and 11 typically) so as more people connect over those channels, the performance drops. When both are in use you should be able to select the channel your adapter will connect with for that specific SSID. You may not get better speeds, but you may … | |
Re: Some applications, such as Firefox, remember where they were last opened, and if at that time you had 2 displays, that might explain your experience. Go to the icon bar (usually at the bottom of the screen, right click on the application icon, and select "Move". That should let you … | |
Re: This is possible, but not simple or trivial. Try some Internet searching for tools that can extract text from photo images. I'm sure they exist - some commercial, and some (possibly) open source (free). | |
Re: 1. Make the disc have a standard Linux file system such as ext3 or ext4. 2. Have the PI system mount the disc file system in a local directory such as /mnt/backup 3. Have the PI export the file system (/mnt/backup if as above) as an NFS share. 4. On … | |
Re: Good start Viny. Also, remember the KISS principle - complex code is fragile and difficult to understand or debug. Let each function do one thing perfectly. | |
Re: First, erase the boot/partition sector - with linux: dd if=/dev/zero of=/dev/sdX count=1 This will erase the boot/partition sector. Then use fdisk to create a new partition for whatever file system type you want. Then format that with the file system desired as in: mkfs -t fs-type /dev/sdX1 The fs-type option … | |
Re: The mysql api's in PHP have been deprecated in favor of the mysqli api's. You seriously need to change your code if you are running PHP 5.0 or later. If you are running earlier versions of PHP then you are operating out of the Dark Ages! | |
Re: There are a ton of javascript tools / api's out there to do just about anything you want. Use PHP on the server and HTML/JS on the client. Use PHP to build up the output strings with HTML and JS and then send them in a single message to the … | |
Re: 1. Design 2. Code 3. Debug 4. Re-design 5. Re-code 6. Debug 7. Goto #4 until stuff works as you wish and any idiot can understand the design. | |
Re: Save it as a csv file and then do this: http://php.net/manual/en/function.fgetcsv.php | |
Re: Just because a process is "sleeping" doesn't mean it isn't running. It is just waiting for a timer or wakeup event to happen. | |
Re: In Java you first have to import (similar to #include) the package that defines the method. So no, there is no function prototype AFAIK in Java. | |
Re: Forget strtok. It is useful for some stuff, but it DOES modify the input string. Write your own parser that walks through the string and extracts the numbers as needed. I do this sort of thing all the time - one of my jobs is to write parsers for customer … | |
Re: Quicksort (or qsort in C nomenclature) is an array-based sorting algorithm and a standard tool for every C/C++ compiler known. I used to use it for sorting linked lists, but the first thing you have to do is put the list elements in an array, create a compare() function, and … | |
Re: Are these sorted arrays? If so, can't you use bsearch to find the position needed? And if you need to insert a new element, then use a modified bsearch algorithm that will return the insert position in a passed pointer or reference variable (depending upon whether you want a C … | |
Re: Also, don't ask us to do your homework for you. Make an effort, post your code and errors/problems you are having, and then we can help you much more effectively. | |
Re: Connect with and login to master, get the userids and passwords for beta and gamma (comma?), then connect with and login separately to each client database. | |
Re: Given the missing system files, I think your system has been infected with some trojan/virus/malware. What is your normal A/V program? And is it active? | |
Re: Since an external display works fine, it is not likely a driver or system problem, other than the fact that the display is probably failing. The controller also handles external displays, so it isn't the video controller. | |
Re: Show the code that calls/includes this page. | |
Re: This is what internet search engines are for. There are plugins for excel that can "pretty print" your data, but I don't personally know what they are. Others here may be more knowlegable than I am about that. | |
Re: Show what you have done. This is a common CS problem and whether you want the consumers in the same process, other processes on the same host, or other processes on other hosts, will change how you deal with the problem. There are tools to do this, such as MPI … | |
Re: Posting links like that here is frowned upon as we have no way to know if it will infect our system with a trojan. Please post the requirements, code, and such here directly. ![]() | |
Re: Sorry, but according to the terms of usage for Daniweb (which you agreed to when you signed up) we don't do your homework for you. You need to get started on this, and when you hit a wall with your design and code, then post that with your questions here. | |
Re: First, map each grade to a number, such as F == 0 D == 3, D+ == 4, D- == 2 C == 6, C+ == 7, C- == 5 B == 9, B+ == 10, B- == 8 A == 12, A+ == 13, A- == 11 Then, finding … | |
Re: Here are a some links that may help: http://code.tutsplus.com/tutorials/how-to-send-text-messages-with-php--net-17693 https://www.clickatell.com/developers/scripts/php-library/ http://www.nowsms.com/doc/submitting-sms-messages/send-sms-text-message-with-php I found these with a simple DuckDuckGo (Google without the ads) search: Sending SMS messages from PHP There were a bunch more that came back with in the results. | |
Re: Please be more specific. Linux uses networks just like any operating system, to communicate with other computers, and even itself (localhost). | |
Re: How are you generating your random numbers? Show your code please. Assuming you have assigned a random number (usually using the rand() function if C or C++) to randomnumber1 and randomnumber2, then your computation should be correct. You initialize your random number generator with a seed value - often the … | |
Re: In this code, as tinstaafl mentions, you may be geting the -1 index of word in the else branch. You need a test for isMobile being less than 0. if(i != 0){ if( word[i] > word[i - 1] ){ if(counter == 0){ counter++; isMobile = i; }else if ( word[i] … | |
Re: HTTPS / ssh encrypt the data stream. There are some issues with that, depending upon the hash and encryption algorithms your particular implementation is using. However, they are mostly pretty secure. As for blocking specific implementations of the game code / data stream, that is up to the implementors. They … | |
Re: try `int dir[]` in the function definition (the declaration is in the header - the definition is in the source file by standard convention). Another thing, you will be making a copy of the array this way. If the array is big, It is better to use a pointer to … | |
| |
Re: Seems that they are taking some visual clues from Mozilla / Firefox. :-) | |
Re: We don't do your homework for you. Try to solve the homework problem and if you are still having difficulties then post your code here. | |
Re: Contact HP tech support. They will probably have you send it in for repair. | |
Re: It seems your code has defined the function pointer that returns scal has no matching version that takes a `void*` argument. Post the function declarations that may be relevant. | |
| |
Re: It depends upon the browser. For example, Firefox will allow you to specify in the configuration pages that opening a shortcut or new link will open a new tab or window. | |
Re: 1. The mysql_connect() function returns a resource if the connection succeeded, or boolean false if not. 2. Use the mysqli api's for MySQL connectivity - the mysql functions are deprecated for more current PHP versions. Your updated version is more correct. Your problem regarding the "access denied" error is in … | |
Re: I listen to audio on my Linux system all the time. High def stuff without problems. I use VLC as my media player, and my system runs pulse audio and alsa sound libraries. I do have a good pair of Bose speakers... Windows never sounded so good. | |
Re: What? Besides the fact that this is a terrible piece of code? You are mixing doubles, integers, and floating point values. You need to cast everything to a double to compare them, otherwise the math co-processor will mis-interpret what you want. | |
Re: Good post. I left a comment using my Discus Rubberman48 ID. | |
Re: You are accessing the array as a 1 dimentional one, but you have defined it as a 2 dimensional array. Your readarray() method is only assigning numbers to array[1][0...9], so your sum loop is wrong. | |
Re: It depends upon the table definition. If a_id is unique, then you need to alter the table structure so that a_id is no longer unique and the primary key is composed of a_id and to_user_id. Then, you can have multiple rows to the same a_id, but each a_id can only … | |
Re: Your code isn't complete the X and Y Diffusion functions do nothing, and you never call them from your base code. Think about what you are doing, and make sure that the code reflects that thinking, algorithmically speaking. | |
Re: The thing about arrays that are dynamically updated (new or changed entries) is that to keep it sorted is expensive. Myself I have resorted usually to using an insertion sort algorithm where when you insert or modify an entry that will change the order it should be in, you do … | |
Re: Make some effort to code this yourself first. As a bit of advice, use PHP as the object-oriented (C++ like) language that it is. Create your classes with the member variables and methods you need. Build up strings with the html and javascript you want the client to process, and … ![]() | |
Re: Sorry, but we don't do your work for you. Make an effort to code this in the language of your preference and then we can help. | |
Re: When it crashed, did you get a traceback of the crash? Java (and Dalvik) will provide a nice stack trace to show you where the problem actually occurred. Since you say it only happens when closing the application, then I suspect you have munged something in your code that on … | |
Re: I have to assume you are running VMware and VirtualBox? In either case, I haven't seen this error. It may be that your OS image that your are trying to install is corrupted. Try another. |
The End.