rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I have libreoffice 5.1.6.2 on my Mint system. Works fine with the default Java runtime. No JRE required.

rproffitt commented: Bring out your dead (versions.) +12
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

FWIW, I have been programming C++ professionally for 25 years. When I am writing code I keep cplusplus.com open in my browser. Over the years, the language has evolved and how you deal with stuff depends upon the version (C++11, C++14, etc). This helps keep one from using the wrong version for projects, especially those that are built on older versions and require older compilers.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, at its simplest level, it is mostly correct PHP code.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@diafol - WP could fix this if they wanted to make the effort. It isn't rocket science, just simple object-oriented programming. I did a lot of PHP at Nokia, including fixing up other folks' code that was in the WP mish-mosh format. Gee, after rewriting the code, suddenly we had a 2-order-of-magnitude speed up in client response! Complex stuff that took minutes to render suddenly took a couple of seconds. My QA director thought there was something wrong! Nope. Just something quite right! He loved me after that because stuff that used to take him 2 weeks to analyze (new phone firmware for example) was now only taking him a few hours! His group was able to increase their workflow tremendously, and with less effort!

rproffitt commented: Clean code and design that runs faster? I like it. +12
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Some sites allow you to give them permission to track your location. Is that what you are looking for?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rproffitt commented: Let's also add we get to learn XML and much more. However I do run into folk that bristle when I hit my laptop to google it. Learn to google it. +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It should be RelayRace implements Runnable, not RelayRacer. Or in the immortal words of Captain Kidd - ARR!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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 within a class method. Once it is fully formed, then output the method data. There are several advantages to this. First is that you can debug it. Next is that it is a LOT more efficient time-wise since there is only one large message from server to client, and not a gazillion small ones. Suddenly, adding an image to the header becomes a trivial exercise.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Maybe he just wants to illustrate proper PHP or HTML code? :-)

rproffitt commented: If so, it would be nice to get the rest of the tutorial in the work. +12
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Great C++ web site with tutorials, reference documentation, etc. www.cplusplus.com

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What deceptikon said. We don't do your homework for you. Make an honest attempt to do the assignment, and post your code with errors here in order to get our help.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Do you see /dev/sdf1 in /dev? If so, that is the partition that you need to mount, not /dev/sdf. IE: mount /dev/sdf1 /home/me/Desktop/mnt/

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

C# is not C, and your question cannot be answered without more information.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try a major SQL DBMS such as MySQL or Postgres. They are free, and are better than SQLCE.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Re. Tinstaafl's suggestion. Just make sure you guard the header from being included multiple times, or you will will have the same problem. Do you know how that works?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Word supports regular expression operations that will do this. RTFM.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If it is a laptop, you may have to remove the battery and short out a couple of contacts on the motherboard. Check with the Samsung web site's support pages for this system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try ClamWin - open source and free. I use it on Windows, and the ClamAV version for my Linux systems.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

$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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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 and experimentation to do before you are ready for this, unless that module has already packaged it to build easily, much like nVidia kernel modules. Even in that case, you still need the kernel headers and such to build them.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, what does the SQL Server documentation tell you? Do you know enough Transact-SQL to process this in a stored procedure?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Not enough information. Need server specs, operating system, and a lot of other stuff. With this "nugget" of information, you are on your own!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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 from lsusb (assuming you are running a Linux system) here for analysis.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Backup data. Install new system. Re-install your applications (hope you have the license keys if needed), restore data, and have "fun". I'm sure Win10 will provide you with all the "fun" you need for a long time to come - NOT!

rproffitt commented: A fresh machine is more fun. +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you looked on the Microsoft web site? This is not likely a problem we can answer for you without more information.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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 owns.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There are articles for these on Wikipedia.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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 if you want more substantial help.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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 them out, and you may get a "reasonable" value.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try www.php.net.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I think Microsoft's philosophy is "if it ain't broke, break it anyway"...

rproffitt commented: Also, many engineers. +12
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try copying it, not dragging/dropping it.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What's with the array declaration on line 35? Do you need that? Also, knowing where the error is occuring would be helpful.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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. :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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, but I was able to use it to build a cellphone emulator for Nokia where I worked at the time. From what I am hearing, I look forward to working with version 7. I just hope they fixed those HTTP problems! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

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.