5,331 Posted Topics

Member Avatar for zelrick

Standard boot/partition sectors (old style DOS ones) cannot handle more than 2.2TB disc sizes. As the warning states, you need to use a GPT partition table type. I don't know if Windows supports that or not. Also, RHEL systems (5.x and later) can handle NTFS file systems just fine. What …

Member Avatar for zelrick
0
507
Member Avatar for MidiMagic

Open the Control Panel "Sound" option. Click on the "Recording" tab, and look for an entry for the microphone. Click on that, and then click on the "Properties" button. At the bottom of the window you will see a selection entry with the label "Device usage:". Click on that and …

Member Avatar for MidiMagic
0
584
Member Avatar for MidiMagic

It is probably a problem with the web site. Have you tried other browers, and if so, does the problem persist?

Member Avatar for MidiMagic
0
358
Member Avatar for joshl_1995

I haven't used the PayPal API's before, but looking at the samples provided I don't see that they have an API for shipping/delivery instructions. They have objects for shipping info (address, type, costs, etc). You will likely need to invent that wheel yourself, or find an API that supports it. …

Member Avatar for joshl_1995
0
460
Member Avatar for Ahmad_15
Member Avatar for screenedcreamy

You can call C++ methods from C#, but not the other way around, easily... If you have a C# service running (as a server I presume), then you can use tcp/ip to send an RPC (Remote Procedure Call) to the service from C++. The major issues will be formatting the …

Member Avatar for rubberman
0
312
Member Avatar for fallout4player

You probably ran out of RAM and don't have adequate swap space configured. Check memory usage, and increase swap space. The system will run slower as the swap file is in use, but it should run. If it continues to happen in much the same way, then you may have …

Member Avatar for rubberman
0
279
Member Avatar for Caldrifter

MS keys its system based upon certain hardware parameters. Sometimes if you add new cruft to the system, the key no longer "recognizes" the system. One of the reasons why I NEVER use Windows operating systems... Chances are that if you add a new video adapter, the same thing will …

Member Avatar for KumarPradeep
0
300
Member Avatar for theoryforlife

The obvious point of this exercise is to learn recursion, which is when a function calls itself, terminating when some barrier is reached. A symbol for this is the great worm Ouroboros who encircles the Earth, eating his tail. An interesting article about this is here: [url]http://en.wikipedia.org/wiki/Ouroboros[/url]. The process potentially …

Member Avatar for Lukas_1
0
2K
Member Avatar for Stefce

If you are using SSL (such as via https instead of plain old http) then this should not be necessary as it will be encrypted before it leaves your system. That said, you could configure your client-side web page to do that - probably using javascript.

Member Avatar for Stefce
-1
2K
Member Avatar for Roger_2

What do you specifically mean by "rank"? How far down the tree it is? A couple of things about b-trees - usually less-than values move to the left branch, and greater-than go right. Also, just start at the root and iterate: if key == node value, you are done. If …

Member Avatar for AssertNull
0
1K
Member Avatar for nitin1

I never do a software project before I model it in UML, including class design, state machines, work/process flows, etc. The visual components of this provide a very good view of what your system is doing, how stuff is related and interacts, etc. My favorite tool for this is Sparx …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Sarankulu

This is a situation where multiple threads may be appropriate. Have a thread for handling incoming messages, and another for communicating with the remote server (don't close the socket if possible). You have a mutex that controls access to the outgoing messages - grab the mutex from one thread, post …

Member Avatar for rubberman
0
316
Member Avatar for Emmanuel_6

One question I have is whether these directories are on the same file system, or other file systems (partitions) or drives? Even if same drive and/or partition, there could be file system corruption or disc issues going on. You need to run your chkdisk tools and check for bad blocks …

Member Avatar for rubberman
0
321
Member Avatar for Ilja.vas

Are you sure it is properly formatted and has a valid NTFS or FAT file system installed on it?

Member Avatar for CimmerianX
0
237
Member Avatar for joshl_1995

This should be fine, running an ethernet cable through a PVC pipe, although you will want to check with your city to verify whether you need a permit to do it. Also, make sure you get exterior-class cat 6 or cat 7 cable (not cheap) so that the signal will …

Member Avatar for rubberman
0
686
Member Avatar for Gudger

First, describe the problem, how you would solve it in plain language, and the step-by-step process that you would follow to implement the solution - this is sometimes called pseudo code. That will help you develop the logic needed for the program, which we can help you with. Then you …

Member Avatar for Emmanuel_6
0
192
Member Avatar for rproffitt

Microsoft has happily turned Win10 into a virus - "whatever is yours is ours" seems to be their attitude these days. Disabling this cruft is a total PITA. My attorney who is a very happy Mac user had to get a Win10 system recently and the first thing that happened …

Member Avatar for ronin7752
0
317
Member Avatar for Engr.

I had to do a bunch of code remediation for PHP 5.5.x with their http output handling (totally broken). Don't know about later versions as I haven't had the time or resources to analyze the code. My guess is that a lot of that has continued, but I cannot say …

Member Avatar for jkon
-2
189
Member Avatar for B0716L
Member Avatar for rubberman
0
245
Member Avatar for eliy

Go to zareason.com - lots of great linux-compatible laptops, and can ship without an OS installed if you prefer. Good people. Decent prices. Good options.

Member Avatar for rproffitt
0
556
Member Avatar for panduranga_1

You need to study object-oriented design and development a LOT more before you can deal with this. Consider PHP to be C++ for web programming. In any case, the answer to your question would require a 500 page book to cover in detail... :-(

Member Avatar for vps9.net
0
218
Member Avatar for Noureldin_1

Use a std::map<int,double> that maps the student id to their GPA. It will be sorted for you. The implementation I leave to you. Note that you got 2 down-votes, mostly because WE DO NOT DO YOUR HOMEWORK FOR YOU! Make an effort to solve the problem. Post the code and …

Member Avatar for Eng.
-3
266
Member Avatar for Saboor880

You really should not post the same query in multiple forums. I have answered your question elsewhere. :-(

Member Avatar for rubberman
-2
110
Member Avatar for Saboor880

Depending upon how many files you have added to your system, you may be able to recover most of them. This link may help: http://pcsupport.about.com/od/filerecovery/tp/free-file-recovery-programs.htm

Member Avatar for rubberman
0
244
Member Avatar for Jendalin23

Your assignment is a trivial one. Salary ($50K) + (sales * .15) == total compensation. Java is not difficult. Read some manuals/books/tutorials, all available online...

Member Avatar for AssertNull
-1
633
Member Avatar for Niels_1

OOP - object-oriented programming is just that, programming with objects. The code you show is function-oriented. For OOP you need classes with member variables and methods (functions that work on the data of a particular class). That encapsulates all that code and variables in a single object (or multiple objects …

Member Avatar for rubberman
0
255
Member Avatar for Prithiviraj_1

What are you trying to accomplish? You can set up SSH to only use RSA keys, or to allow logins with user id and password. Automated script? Back to the first question...

Member Avatar for rubberman
0
188
Member Avatar for holye459

There is a tool called dd that is on every Linux distribution. Boot from a Linux live CD/DVD and do this (assuming that the Apple drive is /dev/sda): dd if=/dev/zero of=/dev/sda bs=1M When it is done, the drive will be completely zeroed out. If you want, you can also specify …

Member Avatar for CimmerianX
0
349
Member Avatar for AleMonteiro

Start with a Linux virtual machine. Install VirtualBox on your Win7 system and create a Linux virtual machine. That way, you can experiment with a number of different distributions until you find one that you prefer. You can also use them to learn how to use the OS.

Member Avatar for BitBlt
1
632
Member Avatar for Zaal

@happygeek - I read that as well. Here is Bruce Schneier's post about it last Friday: https://www.schneier.com/blog/archives/2016/04/breaking_semant.html Basically, it all boils down to image analysis and pattern recognition. I used to do crude versions of this back when I was researching image processing algorithms (mid-1980's).

Member Avatar for happygeek
0
199
Member Avatar for ravikishorerk19

It boggles my mind how so many "universities" teaching computer science are utilizing outdated compilers and tools. It is as though they have never heard of Linux and virtual machines... Best, up-to-date compilers, tools (all free) available.

Member Avatar for rubberman
-1
154
Member Avatar for tagore_1

@Shantha_mh - good post. A thumbs up from me, and someone else as well. SIP - Session Initiated Protocol, used for VOIP (voice over internet phone) is very important these days. Good reference links are important to understand what this stuff does.

Member Avatar for ankitjaswal5044
0
325
Member Avatar for Gede_1

Simple: sum all of the data values and divide by the number of nodes in the list. I am guessing that you did not write the functions to add/remove/size the list, etc. We don't do your homework for you. This is very much elementary math... :-(

Member Avatar for AssertNull
0
6K
Member Avatar for MrX123

Ads suck up bandwidth and push data caps that are so ubiquitous these days. Ensure your publishers respect these facts by making their ads mostly static text with minimal graphics and NO video! Then, they can be whitelisted by the major ad blockers. IE, respect the reader/consumer...

Member Avatar for rubberman
0
182
Member Avatar for Apolonian

C++ is an object-oriented language which allows much more complex applications to be written in a shorter period of time than C. You can model the structure and behavior of the "things" you are dealing with using classes and inheritance with much less programming. You should do some reading about …

Member Avatar for CodingCricket
2
1K
Member Avatar for Suzie999

@Suzie999 - you are definitely NOT a noob! In any case, the problem has a couple of components. One is the loading of the DLL in your code - for Linux it is dlopen(), for Windows it is LoadLibrary(). Then there is code to map functions in the shared library …

Member Avatar for Suzie999
0
267
Member Avatar for SimonIoa

Not sure - not my domain of expertise - but don't you need to oauth the facebook site on yours?

Member Avatar for SimonIoa
0
414
Member Avatar for prakash2813

Write an insertion sort routine, based upon bsearch and qsort algorithms. Yes, they are C code, but are easily translated into Java. Basically you use an array - presize it to your expected maximum size + some space for overflow. When you do need to resize it, double the size. …

Member Avatar for rubberman
0
281
Member Avatar for Sarankulu

What operating system are you using? Also, are you using UDP packets, or TCP streams? TCP streams are simple - you connect a monitoring client to the address:port of the server with a Keep-Alive option, and if the server cannot connect or drops the connection, you will know about it.

Member Avatar for Mr.M
0
349
Member Avatar for justin_17

Sorry Justin, but this is a repost of the same cruft that I commented on before... I am downposting this as a result.

Member Avatar for Reverend Jim
-3
159
Member Avatar for Marco_4

I could not have said it better @AleMonteiro! I too am giving you a "thumbs-up" for your response.

Member Avatar for rubberman
0
152
Member Avatar for justin_17
Re: help

No description of problem - no help. Also, either declare the functions before you use them, or put them above main() and each other as an alternative. You want us to analyze 240 lines of code with no description of what your actual problem is, other than you obviously have …

Member Avatar for rubberman
-2
201
Member Avatar for AleMonteiro

Get more RAM if your laptop can handle it. Also, how are the VM's in VirtualBox configured with regard to number of cores, amount of RAM, etc? I would suspect that your performance issues are related to swapping of virtual memory to disc. A solid-state disc can help there. There …

Member Avatar for AleMonteiro
0
238
Member Avatar for saad_5

1. Make sure you have a high performance USB drive. They are much faster to read than write. 2. Disable memory swapping in the OS and remove the swap file. The performace of virtual (swap) memory is very dependent upon the write performance of your drive - see #1 above. …

Member Avatar for sashiksu
0
338
Member Avatar for ankit_21

As mentioned in the article posted by @ryantroop, fgets(stream) will also return the newline. If you don't want it, you will either have to trim it or use stream_get_line(). FWIW, you can't use STDIN if your script is being read from stdin... :-) Read this: http://php.net/manual/en/features.commandline.io-streams.php

Member Avatar for rubberman
0
956
Member Avatar for amvx86

What @rproffitt says, however in your case you do need the Windows API for this. What happens? Does it just hang, or does it give the negative answer? Also, what compiler are you using, MS's visual C compiler? Some other compiler that supports the win32 API? Nevermind. I see you …

Member Avatar for rubberman
0
275
Member Avatar for Simon180

Geeze - people are still using Pascal these days? Are you running a P-machine, or some version of Turbo Pascal? Ok. Better to use a timer interrupt instead of a constant loop, and if you need to do stuff before the timer kicks, then use a loop and check the …

Member Avatar for rubberman
0
650
Member Avatar for brandon66
Member Avatar for brandon66
0
519
Member Avatar for boomerang2711

DO NOT DO THAT!!! Assuming that /dev/sda1 is the root file system, then the problem is more difficult. If it isn't, then as root you will need to umount that file system with "umount /dev/sda1", and then run "fsck /dev/sda1". If it is the root file system, then you need …

Member Avatar for rproffitt
0
258

The End.