5,331 Posted Topics

Member Avatar for jc.king95

Depending upon a lot of unknowable stuff, a laptop battery can last from 1 to 5 years, though it will gradually lose its ability to hold a charge over that time. I've had batteries die in less than 1 year (still under warranty), and in 2+ years (not under warranty …

Member Avatar for Dardan89
0
281
Member Avatar for DavidB

It depends upon the Linux OS you are going to use. Myself, I prefer to have a pure Linux host OS, and then use a virtual machine to run Windows. This is MUCH more secure, and you don't need to reboot the system to run the virtual machine. I also, …

Member Avatar for PhilEaton
0
201
Member Avatar for dawsonrose

As WaltP said. In addition, once you read all of the student records into an array, you can sort it as you wish using the qsort() function / algorithm. You just need to specify the comparison function to use to determine which record is to be sorted ahead of another. …

Member Avatar for WaltP
0
787
Member Avatar for Carpetfizz

Private: This is only stuff that I can access directly or change. Protected: This is only stuff that I, or my children (derived classes) can directly access or change. Public: This is what I let the world access. Then, we have "friends". Our friends can access/change private and protected elements …

Member Avatar for Carpetfizz
0
315
Member Avatar for love_you_4rever

Here is some code to convert gregorian (yyyy/mm/dd) dates to julian numbers, and to determine the day-of-week, and name-of-day that you need. I wrote this stuff some 15-20 years ago to run major semiconductor fabs: typedef uint32 julian_t; #define FWBAD_DATE (julian_t)UINT_MAX // --------------------------- Static Data ------------------------- // daysInMonth and firstDayOfMonth …

Member Avatar for rubberman
0
467
Member Avatar for matt.malone.921

We will help those who make a sincere effort to do the work. We aren't here to do your homework for you... Given that major companies pay me $200USD / hour to write software for them, why should I help you cheat on your school work? :-(

Member Avatar for Vish0203
-1
160
Member Avatar for dinohead

What deceptikon said, except instead of "redirect stdin", it should read "redirect stdout"... :-) Another case of the keyboard mis-interpreting the user's intent... :-)

Member Avatar for deceptikon
0
160
Member Avatar for ankit.shah.54584982

There are some good resources online to help with this. One is "Linux Device Drivers" here free: http://lwn.net/Kernel/LDD3/ It can also be purchased from O'Reilly, or Amazon. Another good resource is "Linux Kernel Development" by Robert Love, published by Addison-Wesley. It is also available online (3rd edition) for free. Not …

Member Avatar for rubberman
0
126
Member Avatar for kentzia

There are a number of IM protocols that are in common use, one of which is ICMP. Look at Pidgin, a popular IM application that handles most protocols. It is open source, so you can see how each protocol it supports (almost 20 differenct protocols) is implemented.

Member Avatar for kentzia
0
190
Member Avatar for chaacoali

Your loop `for(j=k-1;j=0;j--)` is wrong. Try `for(j=k-1;j>=0;j--)` You are assigning j in the test condition instead of testing it to be >= 0.

Member Avatar for chaacoali
0
131
Member Avatar for max.dahinten.3

There are open source packages for voice recognition. As for whether or not they would be suitable for this purpose, I don't know. Try a Google search.

Member Avatar for tompatrick
0
116
Member Avatar for JustmeVSI

It depends upon the CPU you have in the system. Current/recent Intel chips have the ability to support virtual machines at the hardware level, allowing you to install/run them directly on the hardware. However, VMware Workstation does not support that as far as I am aware. Some of their higher-end …

Member Avatar for JorgeM
0
321
Member Avatar for r0cks

I don't suppose you went to the cti web site and looked at the specs and software developer documentation, did you? The plus model uses a com port (RS-232 serial port) to communicate with the PC. It will only send you data, in a message format described in detail in …

Member Avatar for rubberman
0
125
Member Avatar for khallebal

Somehow I don't think you will find many people here familiar with Haiku. I am considered something of an expert on many systems (Windows, DOS, CP/M, Amiga, QNX, Linux, Unix including BSD, Solaris, HPUX, AIX, and Tru64), but I don't know anything about Haiku. I would strongly suggest that you …

Member Avatar for rubberman
0
177
Member Avatar for fatzky_04

I assume these branches are geographically separated (in different buildings/towns/states/whatever). In such a case, you will need what is called a "Virtual Private Network", or VPN for short. There are a lot of devices and software that will let you set up such a network, allowing your offices to connect …

Member Avatar for rubberman
0
165
Member Avatar for vermeil
Member Avatar for rubberman
0
60
Member Avatar for Staric

Warranty or not, emachines (or whoever is the manufacturer of this unit) should be willing to provide you with a list of boot-up error codes, or an online accessible version of the user documentation that provides that information. If they don't, then run, don't walk, to another vendor and get …

Member Avatar for Staric
0
265
Member Avatar for spyros.lois

How did you install/copy Windows from the old to the new IDE drive? Also, are they the same size and configuration (heads, cylinders, sectors)?

Member Avatar for JorgeM
0
99
Member Avatar for menukadevinda

Even root can be protected (prohibited) from creating files or sub-directories if the permissions of the directory are so set. Make sure that the directory is owned by root and has read+write+execute permissions for the owner. You can do that with these commands: chown root dirname chmod u+rwx dirname

Member Avatar for rubberman
0
163
Member Avatar for XodoX

There are also a LOT of open source projects that are written in C++ that you can review for examples. Look on SourceForge.net, a leading site that hosts many major open source projects.

Member Avatar for rubberman
0
232
Member Avatar for ayush1440

As caperjack suggested, verify that you have properly applied thermal conducting paste/tape between the CPU and heatsink. Also, make sure that the motherboard is not driving the CPU faster than it's rated speed. CPU temperatures much over 50C are not good. My memory temperature is usually higher than that, but …

Member Avatar for ayush1440
0
1K
Member Avatar for lewashby

Actually, /mnt should not be cleaned up, as /tmp may be upon rebooting. It is possible that the user has /mnt mounted (sic) from a volatile device, such as a ram disc. In any case, I have never had a problem with stuff in /mnt going away. Normally, dynamic device …

Member Avatar for lewashby
0
108
Member Avatar for chixm8_49

`int var = (x) ? y : z;` is equavalent to this: `int var; if (x) var = y; else var = z;` Do note that inline conditional statements like this can only reliably return an integer or compatible type, though you can return pointers with the appropriate casts. Caveat …

Member Avatar for Banfa
0
96
Member Avatar for cynusalisa

I like to say that Java is C++ with training wheels, and a 1 speed transmission... :-) For whatever it's worth, I do professional systems development with both languages, but for speed and efficiency, C++ wins hand's down. That said, Java has a LOT of support for stuff that would …

Member Avatar for rubberman
-1
234
Member Avatar for resmi sanker
Member Avatar for rithish

Read the wikipedia article shown above. For simple programming effort, use the high/low method. First, you have to decide how many decimals of precision you need, and whether or not it preferable for the final result to be low or high. Using a binary search method, you can find the …

Member Avatar for rubberman
0
374
Member Avatar for ejohnson

Try downloading and installing ClamWin, and then scanning your system (both files and memory) with that. It is free, open source, and works quite well.

Member Avatar for gerbil
0
507
Member Avatar for fbudek

Do what the original PC BIOS did: 1. read the boot sector into memory 2. execute 3. read the first boot partion sector into memory 4. execute FWIW, I had to solve this problem in 1986 for our OEM version of QNX.

Member Avatar for prashant14214
0
704
Member Avatar for _rational_

I just started a new position at a major corporation, and my company-issued laptop/workstation is a Lenovo. It seems to be a very nice system - my personal laptop is a Dell D630. In any case, the Lenovo has an i7 quad-core @ 2.8GHz, 8GB of RAM, and a 17" …

Member Avatar for dawidbrook
0
368
Member Avatar for will.lbyrd

Have you tried booting a live Linux CD/DVD/USB drive to see if it recognizes the device? Are you sure it is installed properly? It is a Sata device, not an IDE one?

Member Avatar for caperjack
0
341
Member Avatar for opbasu

You might want to be sure that either the board has a built-in speaker, or that the computer case speaker is properly connected to the board. If so, then it is probable that this board won't beep when it boots without problems; however, you might want to verify that with …

Member Avatar for rubberman
0
151
Member Avatar for soapyillusion

Some nice pre-built systems with Linux installed at the factory (everything is guaranteed to work): http://zareason.com/shop/Desktops/

Member Avatar for soapyillusion
0
129
Member Avatar for VEL Hassan

Ok. This is not particularly useful. What is your OS+distribution? Have you installed all the NIS packages and tools? Have you configured NIS? Are you trying to run an NIS server, or just as a client? All of these questions need to be answered to move forward.

Member Avatar for VEL Hassan
0
147
Member Avatar for lewashby

Install the gnu compiler tools. Make will come with that. Most installations of Ubuntu/Debian already include the GNU compiler suite, including make/gmake. If you need some other make, such as cmake, then you will need to install that package specifically. So, let me ask, just what are you trying to …

Member Avatar for rubberman
0
145
Member Avatar for crazyred

Go to the BT Linux site. This is a distribution intended for security professionals who need to do sophisticated system/network penetration testing. If that is your intended goal, then great! If not, then you should try another, more user friendly, distribution, such as Ubuntu, Mint, etc. Anyway, here is a …

Member Avatar for rubberman
0
53
Member Avatar for crystalrod00

Worst case? Send it to a certified data recovery firm. It will cost you (possibly as much as $1000). The actual cost will be determined whether they can access the data without disassembling the drive and using specialized equipment to read the data from the platters directly. I mention $1000 …

Member Avatar for firdousahmad
0
1K
Member Avatar for wallet123

Many Lenovo laptops have dual video adapters - the built-in Intel one, as well as often an nVidia one. If yours is such a system, then you can go into the BIOS and set it up to only use the nVidia hardware, which is a LOT better for graphics processing …

Member Avatar for sheikhali449
0
207
Member Avatar for data recpver
Member Avatar for JacobJMLP

You are going to need to purchase a retail version of Windows for this system. HP versions of Windows are locked to HP hardware (sometimes specific models). They are OEM copies that check for identifying information on the system when they boot up.

Member Avatar for rubberman
0
244
Member Avatar for swissknife007

Do you plan on running Linux on this machine? If so, check out [url]www.zareason.com[/url]. With 2.3GHz i5 processor, their Alto unit will set you back $798 USD. The Dell Inspirion 14r at $649 (currently) w/ 2.4GHz i5, 500GB disc, and 6GB of RAM is more for the $$. But then, …

Member Avatar for sheikhali449
0
363
Member Avatar for orionscode

I am a senior systems engineer for a tier-one mobile phone company. I do systems and performance engineering to support 100M+ customers world-wide. What do I look for in new hires for my team? Math skills, networking knowledge, network management protocols, Linux system programming, ability to think "outside of the …

Member Avatar for ThatGuyEli
0
1K
Member Avatar for sblass92

Basically, you are on the right track, but you need to make the member variables pointers, and don't instantiate them in the derived classes. IE, something like this: class X { A* m_myA; // I know this doesn't work due to the abstract definition, but this is my goal public: …

Member Avatar for sblass92
0
349
Member Avatar for zachattack05

I have a rule of thumb for this cruft that I have found to result in much fewer buffer overflow issues - provide double the theoretical maximum (plus a terminating null character). So, in this case I'd simply use a buffer size of 1024 and be done with it. There …

Member Avatar for zachattack05
0
188
Member Avatar for trishtren

This bit of code isn't particulary useful in showing us how you are decoding the data. Provide more source code please.

Member Avatar for trishtren
0
260
Member Avatar for Aatif1156

Well, if the CPU fan is not running, then there may be a power supply (or fan) problem. I doubt your issue is the monitor, though possibly the video board (integrated or otherwise) may be fubar. I assume you get no BIOS splash/boot screen?

Member Avatar for sheikhali449
0
1K
Member Avatar for sgunnery

Most motherboards these days are dual channel boards, often requiring that you install RAM in sets of 2. My advice is to visit the vendor/manufacturer's web site and see what the specs are for this board. Anything else is a SWAG and will probably leave you with either a non-functional …

Member Avatar for sheikhali449
0
993
Member Avatar for Richard7

It shut itself off in order to avoid damage. That said, it is likely that your system doesn't have enough cooling capacity to deal with high performance computing. Mine used to have a problem with overheating memory chips until I reorganized them so they got better airflow. I now monitor …

Member Avatar for sheikhali449
0
254
Member Avatar for malrofo

Adjusting the CPU and memory speed downward will help a great deal. Depending upon your power settings, both Linux and Windows will do this for you automatically when on battery power.

Member Avatar for sheikhali449
0
191
Member Avatar for Usman.199

Upgrading or replacing any sony laptop stuff with non-sony gear is an exercise in futility. Don't bother trying.

Member Avatar for rubberman
0
212
Member Avatar for coroll

currentLink is pointing to head.next, which may well be null, hence the null pointer exception. Test it first using some code like this if (null == currentLink) { // have null pointer } else { // Search or manipulate currentLink }

Member Avatar for JamesCherrill
0
124

The End.