rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

How do you think you could do it? If you understand the capabilities of the module, then try some experimentation and don't steal from the experts until you have some understanding of what you are doing.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What do you want to do? I would have thought that you had read the book by now as your exam is coming up. We are not mind readers and the subject is vast. See Niklaus Wirth's seminal text "Algorithms + Data Stuctures = Programs".

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
  1. Asking us to analyze almost 300 lines of x86 assembler code 2 days before your project is due is not reasonable.
  2. Show us what is working, and where your problems seem to be. Have you run this in a debugger yet?
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

For an unlocked device that can use a SIM (assuming you are going with a GSM device) from any provider, then $200 is pretty cheap. Take a look on Amazon.com. I have several, ranging from an old Nexus One (freebee from Google), to a Nokia 920 (freebee from Nokia when I left their employ), to a OnePlusOne which I purchased to replace the Nexus One. That one cost me about $350 USD, is very capable, has great battery life, 64GB storage, and 2GB RAM. I also have a company Samsung Galaxy S5 that has similar capabilities to the OnePlusOne, but also has a swapable battery and a micro-sd card slot.

Both the Samsung and the OnePlusOne should work on any GSM network (international) and I think they also have non-GSM capabilities as well, but I haven't tried that. I think I would need to visit Japan to find out! :-)

Elvi commented: ok thanks for ur advice! +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If he meant a Mac PC (Apple), then the BT driver should be part of the basic OS and you should only need to pair the external device with the system. Most devices have a setting (such as holding down the power-on button until the light alternates between red and blue) that will signal it wants to be paired, at which point the system BT software should recognize it, and if needed, ask for the 4 digit pin code for the device that you want to connect. Many devices use a default of 0000 for the pin and will connect automatically, but this is not always the case.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok. To reply to each point...

  1. Most current distributions come with KVM built into the kernel.
  2. Why? There are a gazillion applications out there. Who decides which get your attention? Just look into your distribution's package list. You'll find what you want easily enough!
  3. You want 100% MS Office? Then use Office 365. It will run on most any Linux browser (Firefox, Chrome, Opera) without problems. Myself, I prefer LibreOffice.
  4. Not sure what you are getting at here. Write your own!
  5. BS! Linux provides a reasonable amount of feedback when plugging in new hardware.

And have a nice Christmas with all of your new Windows viruses!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As CimmerianX points out so correctly, Google is your friend! His link will let you get drivers and such for this printer for just about every operating system known, including many Linux versions. Enjoy!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Why did you have to restart? Linux is not like Windows where you need to reboot after installing software. One other thing, Fedora 14 used the old grub bootloader. Your current debian installations uses grub2 (depending upon version - what is it?).

So, I am saying that you need to provide more information.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Re Microsoft. Sometimes, the left hand doesn't know what the right hand is doing... My advice for MS WIndows systems is to NEVER allow automatic updates, but let them inform you when they are available. Then, wait 7 days before updating in case the changes may "brick" your system (not unheard of).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Send it in for repair? Can you boot into the BIOS? Have you run diagnostic checks on the system board and hard drive?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

OS? Driver version? Didn't you get a disc w/ driver and other stuff with the printer?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As a "desktop", is this something you want to be small, or an under-desk tower type of system? They are very different.

Remember, more powerful requires more power! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Do you have the pulseaudio plugins installed? Also, the alsa audio drivers are required.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You should not need device-specific drivers for a bluetooth keyboard, etc. You will need to use the system BT tools to pair them with the computer. Now, why do you think you need drivers for them?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

"Most modern" != "best". All in all, it depends largely upon what your usage intentions are. Is this a personal workstation, laptop, server, what? Each has very different characteristics and performance needs.

Ijvaadh commented: A desktop +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Nobody has mentioned ClamWIN/ClamAV - open source (free) AV for both Windows and Linux. I have found it generally effective on both systems, and the price is right! For Windows, MS Security Essentials is a reasonable choice, but it only works for MS systems.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Are you sure you have a big enough power supply? What happens if you remove one of the graphics cards (they use a lot of power)?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

System (kernel) crash. Reboot into safe mode. Let the OS fix itself, and then reboot into normal mode again. Post the output of the bluescreen here if it happens again.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

ksh and bash are much the same critter, except that ksh is mostly Unix oriented. What OS are you running? You can also use perl or python (as mentioned by pyTony). You would probably use the 'find' command with the '-ctime' option (N*24 hours) to find the files in the time range you want, and then add the '-exec' option to 'find' to remove those files. Example (for files 3 days old):

find . -ctime 3 -exec rm -f {} \;

The find command is standard unix/linux stuff, so it should work on either system. So for files that have not been updated for at least 60 days (2 months more or less) use 60 for the -ctime option.

All that aside, do read the find command man page in detail. It will provide a lot of information about this and other options.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It means that you are not linking the library that contains that symbol (flushall). You need to add that to your link list.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

0x00 is a valid (null) character, and indicates the end of a string for C, C++, and other languages. Some languages encode strings with a length indicator (Java and others) and embedded 0x00 chars are just more data. 0x00 is only a problem if it is used to set a pointer to memory as it will then cause an exception (or segfault) when something tries to access it. Some poorly writtent languages may "go insane", but most will just give you an error and quit.

The bigger problem would be if a "valid" address (usually on the stack) is set to point to bogus/bad data, which could then result in "undesirable" results. This is how buffer overflows work for the most part.

RikTelner commented: Yea, heard about buffer overflows. +2
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is either a recovery system bug or the results of a corrupted image (such as a failing hard drive). I would guess the latter. Bug HP for new installation media and a new hard drive. If the system is still under warranty it may not cost you anything. If not, then... In any case HP has some pretty decent diagnostic tools so you may be able to determine if the hard drive is really failing or not.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@Phaelax
Yes, most new monitors seem to be going to LEDs. I have 2 Dell monitors, one a few years older than the other. I think one is fluorescent and the other LED, but I'm not 100% sure. It is difficult to get them close in color balance... :-) Works ok though. They are 24" 1920x1200 displays.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A lot depends upon the rendering requirements of the game (more realistic video == more bandwidth required) and resolution you want to use. Most recent cards that are in the under $200 USD category will do quite nicely unless your wishes are to play the most current top-end games. In that case, you will spend more like $500 USD for such cards. Myself, I like nVidia cards. Others prefer AMD devices. One of my friends and former colleages who is a serious gamer likes nVidia cards. You can connect 2 together with what is called SLI in order to get even higher performance. These cards suck up a lot of power, so you will want a system with at least a 1KW power supply, and lots of cooling! Cheap? Not! So, what is your budget for an entire system? Let us know, and we can better advise you as to what you can get for that investment.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You haven't defined the Stacknode class, but are trying to instantiate constructors and other methods inside the template Dynstack class. This is not valid C++ code, at least to my knowledge.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Chances are that the server is not listening on port 14. Port 13 is used for daytime services. Also, you may want to connect with an NTP server, which would be listening on port 123.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You make no sense.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I think you need to get the WiFi drivers for the computer from the system vendor(s) for Vista. BTW, why Vista? That was an abomination. Try Windows-7 instead.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sorry. We don't do your homework for you. Make an attempt, post your output here, and we may decide to provide some guidance.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Very elegant, and low cost! Of course, this $0.25 fix will never be incorporated by Dell - too expensive! In my professional opinion (as an electrical and software engineer) this is a design flaw, and should be fixed at no cost to users. Yeah, that and $5 will get you a nice latte from Starbucks!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As noted by Rev. Jim - ripping "protected" media is technically illegal. There are tools that will allow you to covert Blu-Ray movies to mkv (Mastroika) format, but you will have to find them on your own. From there, you can use tools like ffmpeg and DeVeDe to convert the mkv files into mpeg-2 files and then DVD's you can play on other devices. Again, the legality of this is questionable (although objectionable to me). If I buy something, then I should own it to the point that I can do with it what I want, other than giving a copy to someone else!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Huh? Apples are NOT Windows machines. Yes they have services that you can view, but they are NOT Windows services. Have you tried to read any of the operating system documentation yet?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Good answer Beginnerdev. Reformatting the drive means that if you want to use it as a system drive, you will need to re-install the operating system. No Windows installation disc? Need Windows? Contact Microsoft and pay a couple hundred $$ for one, or see if your system vendor can help (don't hold your breath). Don't need Windows? Then get Linux. You can get DVD's from many Linux distributions for basically the cost of shipping and media (a few $$). Don't have a CD/DVD drive (too often the case these days), then pay a little more for a bootable USB drive.

Rule 1: NEVER purchase a system without appropriate recovery media (this does NOT include a recovery partition).
Rule 2: See Rule 1...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

My thinking is that this may be normal behavior - a system-level POST (Power-On Self Test). Use the HP diagnostics as Beginnerdev suggests to see if they determine there is a problem. If not, then ignore it would be my recommendation.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What error? You say it has "recovered"? Then why do you need help?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If this system was still under warranty, then insist that Asus provides you a new installation disc gratis! If not, then caveat emptor - never purchase a system without recovery devices, or a means to re-install the operating system if there is a major failure such as this!

This is why I will NEVER purchase a Windows system - Linux for me thanks. At least I can download/install new versions without paying through the nose!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most systems will enter the bios setup if you hold down any key (like esc) when starting to boot.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You say you wiped the system and installed Linux Mint (a Ubuntu derivative)? Why does the virus scanner still show windows files?

  1. Reset bios and wipe firmware (may require removing battery and shorting out some contacts on the motherboard).
  2. Boot from a live cd/dvd/usb linux drive and use the "dd" command to wipe the entire drive (including the boot sector).
  3. Re-install the operating system.

Many of the more pernicious viruses these days will be installed in the bios firmware and/or boot sector of the system drive, resulting in re-infecting the system on next boot. I've had to perform the above (1,2,3) for clients in the past to deal with this cruft.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sorry, but we don't do your homework for you. Make an effort to solve the problem, post your code and compiler and/or runtime errors here, and we may give you assistance.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Yes, the variable 'a' is const (you cannot change it), but the VALUE of the variable is a standard scalar value, which is not necessarily const. You need to cast the value to a const, as in:

const int b = (const int)a;

I agree that this should not be required, and it may be a bug in gcc 4.7.2. Have you asked the user forums at GNU for GCC about this?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@Maritimo
You could have simply commented about my lack of knowledge about C++11 in this regard (curly-braces vs parens) instead of a down-vote. The nice thing about "standards" is that there are so many! So, you get one also... :-(

P.S. Let's not let this degrade into a flame-war.

BTW, was there a real reason why the C++11 standard moved from parens to brackets? If so, can you tell me? Reply in private email if you prefer, or here if you wish to educate the rest of the community.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What do you know about Linux? Have you tried to use it? Things that come to mind:

  1. touch filename
  2. echo "" >filename

amongst others.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Probably not. Ask Apple... That and $5000 will get you a nice new system!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok. Do you understand recursive functions? The simplest way is recursive, deleting the items from the tail of the list, otherwise you will have to keep storing the address of the next item, until the 'next' item is null. I'm not going to write your code for you since this is a class assignment. You write what you think is appropriate code, and we will help you debug it.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, there are a number of problems with your code. Example, in the class B constructor, this

 B(int i1_, int i2_) : A{i1_}, i2{i2_} {}

should be this

 B(int i1_, int i2_) : A(i1_), i2(i2_) {}

Watch your parens vs brackets!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Assuming that the strings are dynamically allocated (with operator new or the C-style malloc/calloc functions) then they will remain around after the list pointer is deleted. More code would be helpful to enable us to better advise you.

senait.kifle.127 commented: It's a type of linked lists in C++ +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is likely a code editor issue. What editor are you using? The Windows VS editor, Eclipse, or something else?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

And your problem is?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What do you consider a virus signature?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Also, we don't do your homework.