• Member Avatar for rubberman
    rubberman

    Replied To a Post in Simple Booking Sytem

    FWIW, the php.net web site has very extensive reference documentation, and some decent examples of usage of the language. In my efforts at Nokia, I found it invaluable. Decent search …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Simple Booking Sytem

    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 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Unable to complete install: 'Unable to read from monitor: Connection reset

    I've had very good luck with VirtualBox - been using it constantly for almost 10 years now. Very solid. At work we use VMware and have a tonne of ESXi …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Parse Notification Receiver

    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 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in define an equation in c++

    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 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How to insert different values but the same id

    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 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C: Two closest integers in an array

    Create a separate results array, one element less than the array that contains the numbers. Iterate through the array and store the deltas between each pair to the results array. …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Multiple marks total calculation

    First of all, insert your code example inside code blockes, as in My sample Code: <table class="display" id="example" width="100%" border="1" cellpadding="0" cellspacing="1" bgcolor="#000033" style="border:1px #000066 solid; text-align:center;" > <thead> <tr> …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in No sounds while defrag

    What was the application, and why didn't just use the tools provided by the operating system?
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to Shabbir_2 in Data Storage

    Check out the link below: http://datastickies.com/what.html Any thoughts?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Cisco Switchport Modes

    Time for you to read the Cisco documentation. I'm sure they cover that in the installation/configuration docs for the switches in question.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Error when trying to install Microsoft SQL Server 2012 Native Client

    If you are running SQL Server 2012 on Windows Server 2008, there is a patch you need to install. Don't remember what it is, but you should be able to …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Verify if data sent by servers? How do bigger companies do that?

    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 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in A couple of basic PHP questions

    Which brackets are you talking about? The squiggly brackes such as {...}, or the <?php...?> ones?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Monitor won't start

    First, check the cables and connections. I assume it has power. It is possible that a connection is bad, a cable is bad, or the video card is bad. If …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in logical operators applied to a double

    Comparing integers? Not such a problem. Floating point numbers? Gah!
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in logical operators applied to a double

    And that is just the beginning of your problems... There are things like the fact that floating-point values on computer hardware aren't always exactly what you think. The fact is, …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in logical operators applied to a double

    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 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Build and Release Engineering

    Build software. Test it, and if it passes systems-level testing, then you release it. This is an important job in the software enginering world.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Fatal error: Call to undefined function

    Typo? Ok. But the function does nothing. Again, what is your intention?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Fatal error: Call to undefined function

    So, where is this function defined? I don't see a definition anywhere in your code. Also, please make clear what your intentions for this are.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Design Flaw solution for c++ code

    Why not derive MyClass from MyOtherClass, and make the DoSomething() function virtual? Then, you don't need to implement it in the MyClass class...
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Installing operational Environment for C++ on my computer.

    Accidental double posing?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Installing operational Environment for C++ on my computer.

    Also you can get MingW which a GCC compiler which works well with Windows. Then, there is Cygwin which is a Linux-like bash shell that runs on Windows and has …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Linux audio not much good?

    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 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in FUJITSU LIFBOOK T series t900

    How old is it? Have you tried cleaning the dust out? Did you spill anything on the keyboard?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Unable to complete install: 'Unable to read from monitor: Connection reset

    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 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Fastest Way to Find Prime

    The only algorithm I used in commercial software was, before AES and all that good stuff, triple DES. Still pretty secure. So, unless you are a serious math wiz and …
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to invisal in Fastest Way to Find Prime

    How large is your prime number? The fastest way (if not the fastest) to determine if *N* is a prime number is to have a pre-calculated of all prime number …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in for_each usage with map in c++

    Well, your last for_each() statement doesn't do anything. Neither does your last std::cout << '\n'; other than output a newline just before you terminate the program. Why not use std::endl …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C: What is the output in the code?

    It is saying basicially that the first argument is a type for x and y. Then it assigns to x the value of y, and then increments y. Next it …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in What mac is right for me?

    My wife is a physicist and her systems are all Mac's - a Mac Pro for work-type stuff, and iBook for gaming, internet, and such. Assuming you have a good …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in How to be a good programmer

    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.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Centos 5.11 hacked

    Is this a web server? Or just a system that is accessible via the internet?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Malware "wonderlandads.com' is creating lot of trouble for me..

    One guess is that this is a virus that has embedded itself in the BIOS firmware. You need to reset / clear that, which will probably require that you short …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in problem using php variables in mysql query

    Just remember that the mysql... code in PHP has been deprecated in favor of mysqli... Eventually, the older stuff will not be supported, and possibly not available.
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in 10 random numbers Array, their average & the amount of larger numbers

    So, without any error or other output, there isn't much we can do, other than analyze your code. Also, why are you using pascal? That is just such a dead …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in problem using php variables in mysql query

    So, why are you using mysql arguments (deprecated) instead of mysqli? Also, your argument to mysql_select() is incorrect. I think you should be using $dbcnx instead of $db_database. $db_database is …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Can mkdosfs create bootable FAT?

    First, the partition that you are going to load the OS on has to be flagged as bootable (using fdisk). Next you need to install a bootable OS on that …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Can't format my USB 64GB anymore

    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 …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in What is SSH commands for this: run 20 times, break 2 seconds, and repeated

    As per andy1973's question, there is no ssh in the provided code. The wget command has nothing to do with ssh.
  • Member Avatar for rubberman
    rubberman

    Gave Reputation to Arch Stanton in What is SSH commands for this: run 20 times, break 2 seconds, and repeated

    What do you mean by "SSH command"? Are you looking for a way to ssh in to a computer and then run a script that does as you described?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in USB is partitioned into 2. how to remove or merge one?

    Assuming you don't need anything on the device, just reformat it as a raw drive. Then, add a partition, and format that with the file system you want to use. …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in C: Shortest path in a graph between two vertices

    I haven't gotten that far into your code yet, but WHY are you writing those silly temp_sqrt(int) and similar functions? That just so unnecessary. If you need to compute the …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in another SQL syntax error

    You probably need single quotes around $userid like what you did with main_image. Next question. What is the definition of this table. IE, what types are user_id and main_image?
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in My Laptop keeps shutting down after multiple web pages are opened

    Anyway, that's what IBM, Zenith, HP, and Apple taught back when I was managing a tech consulting firm that sold that gear, and I still have the certs/diplomas to prove …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in My Laptop keeps shutting down after multiple web pages are opened

    Also, don't blow the dust out. Use a vacuum instead. Blowing puts the dust in places where you don't want it, causing problems like this. After vacuuming, then plow with …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Linked list coding for CPU scheduling algorithms help with pointers

    1. Don't hijack a 6 year old (or someone else's) thread. 2. See #1. 3. Don't point to a web site to show your code. Post it in a code …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Looking to buy refurbished desktop

    I've purchased refurbs from Dell in the past and had no problems with them. You might want to check what is available on their web site. They come with factory …
  • Member Avatar for rubberman
    rubberman

    Replied To a Post in Javascript Replace Bewteen Selected Div

    So, have you tried it? Did it work? If not, let us know. Please test these snippits before posting here. If it works, then you are wasting a lot of …

The End.