Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
04-07-2009, 09:20 AM
|
#16
|
|
Member
Registered: Sep 2002
Location: Cincinnati
Distribution: Debian GNU/Linux
Posts: 310
Rep:
|
Quote:
Originally Posted by jglands
He should use windows, because you get what you pay for. If it's free it must be junk.
|
I have heard of this thing called the "10% Rule". Basically, you have to be smarter than 10% of all 4-year-olds to be able to use Linux.
|
|
|
|
04-07-2009, 09:24 AM
|
#17
|
|
LQ Newbie
Registered: Apr 2009
Posts: 17
Rep:
|
That comes from a pimple faced teenager who has no life. Use windows and you don't have to spend your nights home alone.
|
|
|
|
04-07-2009, 09:28 AM
|
#18
|
|
Member
Registered: Sep 2002
Location: Cincinnati
Distribution: Debian GNU/Linux
Posts: 310
Rep:
|
This coming from an MCSE who gets down on his knees and prays to his gods: Ballmer and Gates. Use Linux and you don't have to spend your weekends re-installing your relatives' computers. Antivirus 2009 LOLOLOLOL.
|
|
|
|
04-07-2009, 09:31 AM
|
#19
|
|
LQ Newbie
Registered: Apr 2009
Posts: 17
Rep:
|
I got my MCSE in six months and at least I can pronounce my guys name. What kind of guy has a name of the thumbsucker off of peanuts?
|
|
|
|
04-07-2009, 09:34 AM
|
#20
|
|
Member
Registered: Sep 2002
Location: Cincinnati
Distribution: Debian GNU/Linux
Posts: 310
Rep:
|
Oh I know let's re-use the same horrible kernel over and over and just put a different UI over it. Leave the real computer science to the computer scientists and enjoy your sheltered existence at the help desk.
|
|
|
|
04-07-2009, 09:37 AM
|
#21
|
|
LQ Newbie
Registered: Apr 2009
Posts: 17
Rep:
|
If it works why create a new kernel? At least I have a job. Most companies don't use linux and if they do they use it because they have no real budget. So how well does McDonalds pay?
|
|
|
|
04-07-2009, 09:39 AM
|
#22
|
|
Member
Registered: Sep 2002
Location: Cincinnati
Distribution: Debian GNU/Linux
Posts: 310
Rep:
|
McDonalds is a multinational corporation with more locations than whatever lame .NET fail company you work for. Which business will survive the recession?
|
|
|
|
04-07-2009, 09:41 AM
|
#23
|
|
Member
Registered: May 2007
Distribution: Debian
Posts: 754
Rep:
|
@ int0x80: jglands has posted only to this thread and only to troll. Please stop feeding him.
|
|
|
|
04-07-2009, 09:42 AM
|
#24
|
|
LQ Newbie
Registered: Apr 2009
Posts: 17
Rep:
|
Microsoft has billions in the bank and sells their products for a good profit. How much profit do you get for a Linux download/big mac? More Linux companies have went under then Microsoft has sold in copies of Windows.
.NET is setting the standard out there. If the original poster was smart he would use that over C or PERL. It's so much better!
|
|
|
|
04-07-2009, 09:42 AM
|
#25
|
|
Senior Member
Registered: Aug 2006
Posts: 2,695
|
where's the moderator?
|
|
|
|
04-07-2009, 09:44 AM
|
#26
|
|
Member
Registered: Sep 2002
Location: Cincinnati
Distribution: Debian GNU/Linux
Posts: 310
Rep:
|
If the OP paid for a Microsoft OS/compiler/rip-off, would they solve his query for free? Or would they try to nickel and dime even more money out of him? More like Windows Genuine FAILAGE, imo.
|
|
|
|
04-07-2009, 09:44 AM
|
#27
|
|
Senior Member
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 4,554
|
 Stick to the subject, please... "Cheap beer and forums do not mix."
No, it probably won't be "better than awk."
"awk" is a very well-written program that is specialized for doing what you are doing.
All of the delays associated with this task will be mechanical ones: disk I/O times and network time. But "awk" knows to tell the operating-system that the file is being read sequentially, and therefore the operating system will know how to line-up lots of file buffers and other tricks to streamline the operation as much as the hardware will allow.
If the time required to do this task is problematic to the business, then there are various things that you can do: - Invest in fast storage-hardware... SATA, FireWire.
- Instead of using the disk controllers built into the motherboard, buy a controller card. An inexpensive unit can make a dramatic difference.
- Put the input file and the output file on different disk volumes.
- Do not follow the siren that says, "put it all in memory..." Abandon all hope, ye who enter there!
Face it: when you're dealing with 10 gigabytes of data, "some things take time." If you're doing the task in "awk," and doing it well, then you are using a robust tool that was specifically designed for the task. You have not erred in the approach that you are using right now. "Diddling with it" will not improve it.
Last edited by sundialsvcs; 04-07-2009 at 09:45 AM.
|
|
|
|
04-07-2009, 09:45 AM
|
#28
|
|
Member
Registered: May 2007
Distribution: Debian
Posts: 754
Rep:
|
For the record, it would be unfortunate to lock the whole thread. The question (How do I deal with a mega-sized file and the associated I/O problems?) is a serious one and deserves some discussion.
Last edited by Telemachos; 04-07-2009 at 09:46 AM.
|
|
|
|
04-07-2009, 09:50 AM
|
#29
|
|
LQ Newbie
Registered: Apr 2009
Posts: 17
Rep:
|
Well he would at least have support? What does he have from linux now? Some pimple faced kids telling him he is wrong instead of helping him.
|
|
|
|
04-07-2009, 09:50 AM
|
#30
|
|
Member
Registered: Sep 2002
Location: Cincinnati
Distribution: Debian GNU/Linux
Posts: 310
Rep:
|
Quote:
Originally Posted by sundialsvcs
 Stick to the subject, please... "Cheap beer and forums do not mix."
|
Sorry, I just get frustrated when people reply with stupid responses that are irrelevant to the original issue ("use an interpreted language", "perl can do regex", "windows > linux", etc). The last one strikes a nerve as you can imagine ;]
Last edited by int0x80; 04-07-2009 at 09:53 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|