rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Is there a configure script or Makefile or install script (maybe called "install.sh")? What about read-me files? If there is a Makefile, run "make install", ditto if there is an install script, run that (you may need to set the executable bits on it), ditto a configure script which you should run first if it exists. IE, best to post the contents of the root directory you downloaded to your desktop.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Make an effort to solve this, post your PHP code here, and then we may be able to help.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

We do NOT do your homework for you! Please read the terms of use/service for this site. That is made perfectly clear. Make an honest attempt to solve the problem, post the code and any errors you are getting here, and then we may help you.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please don't double-post. I already answered this in your other post... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You should be able to fix this with the recovery partition. You will need to boot into safe mode to do that. My brother-in-law had this problem and that's how he fixed it.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You might want to try this open source Blu-Ray to MKV conversion tool. Many video players, especially VLC, can handle MKV (Mastroika) files without problems.

http://www.makemkv.com/download/

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you tried VLC? Also, what is on the BR disc, and where did you get it?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You can use either GET or POST variables for the message from the client, and then simple HTML for the output. GET variables go on the URL line. POST variables are embedded in the message from client to server and cannot be seen by outside entities, especially if you are using an https connection. Passwords are a good example of when you should use POST variables.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Show a sample of the output please.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sorry, but we don't do your homework for you. Please try to do it yourself, and if you are still having problems then post your code here and we can try to help you. No effort, no help.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A lot of people (including my group at Panasonic) use CSV files to cache data that will be uploaded to the database. You can also use XML files, but they are more verbose, and a lot of databases will require a translater program on the front-end. Most will allow direct import of CSV files if the data is in column order.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The Reverend Jim is correct. You need to access the admin web page on the router, which means you need to directly connect your computer to it with an ethernet cable since you don't have WiFi access. There, you can either view the password, or if it is obscured, you can reset it.

If you reset the admin password and forgot that also, you may have to do a hard reset (there is a recessed button on most routers to do that) and set it up again. Most of the time, the default admin password is either empty, or simply "admin" without the quotes.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There are times when C api's are appropriate in what is mostly a C++ application. Low level system and network programming often require C code. as for STL collections, strings, and such, they are VERY powerful and you would be well served to learn them. They can save you tonnes of coding and time, and be easier to read.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

That's a nice tutorial. I also wrote one for Daniweb a year or so ago when I was doing a lot of PHP programming at Nokia. Here is the link: https://www.daniweb.com/programming/web-development/tutorials/484310/why-you-dont-want-to-mix-php-and-html-directly-

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Yes, I was going to suggest using the Lame mp3 encoding library. Also, there is open source code out there to do this, such as is used by the ffmpeg audio/video conversion tool.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most web traffic now is encrypted with SSL. It's nice that Wireshark can determine the decryption certificate to use from the stream, which is why it can turn it into plain text (unmask it). That is also how your browser knows what to do to decode it into a real web page. When your browser makes a connection with an https url, it sends it's public key to the site, which uses that to encrypt the page data before sending it to you. Then your browser uses your private key to decrypt it. Without your private key, no one should be able to see what you are doing! That's what malware trojans do to compromise you - they can steal your private keys!

Chris.T commented: It's not ssl, so i reposted because you didn't give me the right answer. +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, is your code supposed to be written in BORG, or C++? That is not clear.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

In this section of code

        medium = opts.breakpoints[0] || 480;
        large = opts.breakpoints[1] || 900;

You will notice that there is no entry for small. I think this is a bug.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

On using Linux I presume? There is a "Linux for Dummies" book, and this article may help point you in the right direction: http://www.linfo.org/newbies.html

Current versions of Linux for desktops have good GUI's where most tools have decent graphical components to do stuff like configuring the desktop, network, etc. It doesn't take a rocket scientist. If you can deal with Windows, then Linux will not be difficult to get comfortable with.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@johnruelle - yes that is exactly correct. My suggestion however, is to switch to LibreOffice... :-) Free, full-featured, and compatible with MS Office. They have done a LOT of work so that Office documents work correctly. That wasn't the case for OpenOffice and LibreOffice when it was forked from OpenOffice, but I have been very happy with it, especially the current versions. It won't cost you anything to check it out, and it won't interfere with you running MS Office either.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There is a lot of useful documentation on the LibreOffice web site. I would suggest you go there first: www.libreoffice.org

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Configure your web browser to NOT use a proxy. For your home network, it is not only unnecessary, but will block you as you have found. Proxy's are only suitable for corporate networks, not home ones.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please show ALL of your PHP code!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Your example of summing a rance of columns or rows should work with LibreOffice Calc just like it does with Excel. Have you tried that?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Do you know how to program in Java?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Either is a valid approach, but for a better "native" mobile experience the first option would be preferable.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Either is a valid approach, but for a better "native" mobile experience the first option would be preferable.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is a well known problem with floating point numbers. Even if your software displays 0.0000, it is probably a truncated value that may really be 0.00001, hence the mismatch when compairing to 0. Also, 0 is an integer, not a floating point, value which just exacerbates the issue.

So, if you want to compare a float to integer 0, cast the float to an integer first.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Amazing that there are still companies so far behind the wave that they are continuing to run Novell servers... That's almost like using a horse and buggy to commute 60 miles to work... Well, I suppose the Amish would do that, but I prefer my Toyota!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@alek - no problem! I'll look at it after it is posted. At earliest it will be this time tomorrow. I don't get home from work until late.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If you free an already freed memory block, usually your program with crash with a SEGFAULT error. As deceptikon said, you cannot be guaranteed that reallocation of a block after freeing another, even if it is of the same size, will return the same block of memory. A lot of allocators will use a LRU (Least Recently Used) algorithm when getting memory out of the available pool. They will also try to merge adjacent freed blocks for bigger allocations to succeed without asking the operating system for more heap space. This is a complex subject. I spent several years working on memory allocators for Unix back when, including reference counting allocators (assign a pointer to multiple entities will increase the reference count and freeing one instance will just decrement the count until the count gets to zero, when the allocator will return the memory to the pool).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What does MVC mean to you? To me it is Model-View-Controller. This wikipedia article does a pretty decent job of helping one understand the concepts: https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller

What you are describing doesn't say MVC to me.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sorry. Mr. Clueless here! Is there a web site? Do they have a user/support forum? That's where I would start.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There are a LOT of errors in this code. Look at it analytically, refactor it, and reflect upon what you are doing. I could point to at least a half-dozen serious issues, but that wouldn't help you learn from your mistakes.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Show all of the relevant code, including headers (class definitions and function declarations), as well as implementation code for the classes/functions that are failing. You are not providing enough information. We especially need the entire section of code where the errors are occuring and you are only providing segments.

alek.mieczkowski commented: I'm sorry, Ill update it +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Think of an operating system (Linux) as a seed or nut like an almond or walnut. There is the outer part (the applications and system services), and then there is the inner part that contains all the stuff needed for the rest (the kernel). It is generally (with luck) quite small. They are complex and provide all the services needed to deal with hardware, memory, etc.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You need to read Knuth's work on Sorting and Searching. Remember the KISS (Keep It Simple Stupid) principle. Read this in Wikipedia: https://en.wikipedia.org/wiki/Heapsort

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

And this question is in Software Development because?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You only want one router per subnet. Most can be configured for some number of dhcp (dynamically assigned addresses) as well as some number of static local addresses. If you need more dhcp addresses, then reduce the number of static addresses (while making sure you don't need them for things like local servers).

Commercial routers can handle multiple subnets, but SOHO ones (small office / home routers) cannot.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you communicated with your domain registrar about this?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Designing a strong hash function is a hard encryption problem. Verifying your own work is futile and usually wrong. Read Bruce Schneier's Applied Cryptography. Until you do, don't even think for a second that your work is "secure". I have written and adapted hashing functions in my work over the years, and I NEVER was able to equal the strength of those worked out by the experts in the field. Good stuff, perhaps. Adequate for our corporate internal use, maybe. But suitable for general use? I'm not that stupid!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What file? Windows environment variables are stored in the registry, and can be accessed via the system tools menu (right click on a disc drive).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Simple. Outer loop == n iterations. Inner loop == m iterations. Total iterations? n * m. It really is not a complexity problem since the problem is linear.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Definitely, running an ARM emulator on an x86 box will be slow. Since Android code is just Java using the Dalvik compiler and bit-code interpretor, using an Intel Android emulator will work must faster (or should anyway). Your code should be directly transferable to an ARM system for hardware testing.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, is this hardware going to be open sourced? Or will it still be proprietary, requiring custom device drivers and OS versions?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Neither. Study open sourced systems such as Linux and BSD Unix (which OSX is based upon).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If it is the BIOS password, there is a means to reset the BIOS flash memory, erasing the old password, but it will require removing the cover and keyboard, and then shorting out a couple of contacts on the motherboard. My grandson knows how to do this, but I haven't had to deal with that. My attorney gave him one of his HP laptops - it took him about 5 minutes to do this... If it is the operating system password, then you may need to reinstall the OS and set your own admin/user password.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

How did you delete them?

south51 commented: got frustrated one night and just hit delete on the file +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

No proprietary operating system can be "good" since you have no way to know what they are doing with your data/information. Windows 10 is especially egregious in this regard. They own you, and your data. They can download it, sell it, do with it what they want. I will only run Windows systems in a sandboxed VM on an enterprise class Linux system. They don't get ANYTHING I don't want them to!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

And BTW, a stack overflow like this is a perfect attack vector for malware!