5,331 Posted Topics
Re: This is why I hate WordPress. They totally misuse PHP, mixing their PHP and HTML code. I would fire the lot of their developers if I was a senior/principal/managing engineer there. PHP should be written much like C++. Place the HTML and other client-side code (javascript, etc) in string variables … | |
Re: Also, at the root, Android is Linux. So, become a proficient Android programmer and you will learn both Java and Linux. You can also use other low-level languages with Android such as C, C++, and Python. | |
Re: It should be RelayRace implements Runnable, not RelayRacer. Or in the immortal words of Captain Kidd - ARR! | |
Re: Try running fsck on the partition of the sd card. Unfortunately, most use FAT file systems, so you may need to use fsck.fat to fix it. | |
Re: Try a major SQL DBMS such as MySQL or Postgres. They are free, and are better than SQLCE. | |
Re: Android is NOT an RTOS. It is Linux with some RT extensions, but is is not hard real time. The QNX OS (used on some Blackberry phones) is a hard RTOS. You can make sure that certain operations and interrupt handlers will meet hard deadlines in terms of system response. | |
Re: $value is a dynamic variable that only lives within the scope of the loop it is used in. You have declared it with the loop declaraction. ![]() | |
Re: Any particular reason why you are using the Boost serialization library? Also, what is the raw format that Boost puts the data into? XML? TCL? Proprietary? | |
Re: Homework I presume. We don't do your homework for you. Make an honest effort to do the work and when you run into coding problems, post the code and errors here and then we may be able to help you. | |
Re: Dani, did you install Zend "out-of-the-box", or did you rebuild it for OSX? I've had to rebuild it in the past for specific versions of Linux. | |
Re: You just need a standard GNU C compiler to build a kernel module. You have to learn how to unpackage kernel source with dependencies so you get the headers and such that you need to build the module. In any case, your question indicates that you have some serious studying … | |
Re: You need a list of structures that are arranged by title, with a sub-structure of the comments associated. Then you can use either an array of structures (or in C++ a map ordered by title) or linked list. Make an effort to solve this and then post your code here … | |
Re: Have you looked on the Microsoft web site? This is not likely a problem we can answer for you without more information. | |
Re: So, what happened earlier today with the forums? There was no response until just a bit ago. It looked like your ISP or other service provider was totally down. Anyway, glad you are back. | |
Re: Booleans are integral values. Floating point values (including doubles) are not. Comparing one to the other results in NAN (not a number) result. Time for you to refresh your math. | |
Re: I always cap them because then you can detect them in your code a LOT easier! Also, I am not sure, but they may need to be all caps anyway. I'd have to refer to the reference documentation to be sure. ![]() | |
Re: So, what does the SQL Server documentation tell you? Do you know enough Transact-SQL to process this in a stored procedure? | |
Re: Not enough information. Need server specs, operating system, and a lot of other stuff. With this "nugget" of information, you are on your own! | |
Re: Just get your timezone set properly and the proper clock time will take care of itself. When I go elsewhere, in another timezone, I just reset the clock timezone, and the rest is handled for me! | |
Re: What the Reverend said - 5 meters is a REALLY long USB cable and unless it is designed to handle those distances (double-shielded tight twisted pair wires in the cable) you are not going to get much power through. Also, your system may not recognize the device. Post the output … | |
Re: The pointer just points to NULL. It has no storage space. you need to allocate space. You could use strdup to do that. IE, `sentence = strdup("helloworld");` strdup will allocate space for the string (including terminating NUL character) and copy the string to the newly allocated space that "sentence" now … | |
Re: I had to write barcode scanning and decoding software back in the mid-1980's so our customers could use barcode scanners to log in/out workers from the plant (a major steel manufacturer). I had to research all of that so that the software could store the data (login/logout times) into the … | |
Re: I think that Android is trying to tell you that "D:\MyApplication3.idea\workspace.xml" is not a valid key file. Not sure how to fix other than going to the Android web site and doing some research on keystore files. | |
![]() | |
Re: This cruft is why I refuse to use Windows. I run Linux on my systems, even my laptop. | |
Re: Note that Java is not deterministic. You can do and time an operation once, but the next time the timing may be completely different. If you do this, and the garbage collector kicks in, your times will be wildly different. Do a hundred measurements of the same operations and average … | |
Re: So, where is your finite state machine (FSM)? A state machine looks at the state of the system and acts appropriately (hopefully) to transition to the next run state. Do you really understand them? | |
Re: I would agree with rproffitt. It will probably be cheaper (as well as faster and easier) to get something from Fry's or Best Buy or wherever. It will be new, and have a warranty. | |
Re: What rproffitt said. In addition, FYI, pen/thumb drives (and sd cards) have a limited number of write cycles for each sector (512+ bytes). As that number is approached, the write time slows down, and then that sector is no longer accessible. There is more recent software that will attemp to … | |
Re: You can use select() with multiple file descriptors. You should also set a timeout value which is one of the arguments to select(). You need to more reading on this. It is very basic TCP/IP programming. | |
Re: What's with the array declaration on line 35? Do you need that? Also, knowing where the error is occuring would be helpful. ![]() | |
Re: RTFM? The differences between them are minor, but significant. There is no "magic" way to convert mysql to mysqli. It has to be done manually, and painstakenly. Not hard, but patience and attention to detail is important. | |
Re: Very good questions, and none of them have simple answers. It is after midnight here right now so I will try to respond to some of them tomorrow. Bed is calling. :-) | |
Re: You should check the POST (power-on self test) error log in the BIOS. Also, configure the BIOS to report all errors when booting up. | |
![]() | Re: I started with PHP 5.4.1 some years ago when it first came out. It had a built-in web server that allowed me to test code without a full LAMP stack. It did have home serious errors with its outgoing HTTP code that I had to patch at the source level, … |
Re: This is not enough information. Please show what you have done. | |
Re: Well, we don't call it Comcrap for nothing! :-) Good speed though, but I hate their data caps and such. Let us know how it works out for you. I don't know when I'll be out in PA again, though I have family in Sacramento and PA/East PA. If you … | |
Re: Usually, formatting wipes the drive completely and makes recovery very difficult, if not impossible. :-( Sorry, but you may be SOL... | |
Re: Posting 200+ lines of code for a simple problem is disrespectul of the time we spend to help you. Please show the relevant code for review. | |
Re: Some of us are professional software engineers. For long term contracts I get $70-100USD per hour. For short term ones, $200. So you can see that the time I spend here and on the Linux Forums is valuable to me. Happygeek and Armand_2 have it just right. | |
Re: Show your work where you try to deal with this and then we can help you. FWIW, it isn't difficult and you may want to read the manual (they are online at google.com). | |
Re: We don't do your homework for you. Make an effort and code it as you think it should be, and then we may be able to help you. | |
Re: Why I don't use BluRay. When you buy it, you don't own it. You are only renting it! | |
Re: RTFM! This is a simple system configuration setting, to instruct the system to restart on power-on. If you can't figure it out by yourself, you should not be doing what you are trying to do! Google will help... | |
Re: Books by Niklaus Wirth and Donald Knuth are good for this. Not cheap, but worth having on hand - they all have places of honor on my book shelf. | |
Re: This is a good academic paper on function programming in C++: https://people.cs.umass.edu/~yannis/fc++/fc++.main.pdf | |
Re: Please read the terms of service for these forums. We don't do your homework for you. Make an effort to solve this on your own, post your code and issues/errors you are getting, and then we can help. |
The End.