Unix/Linux Go Back    


War Stories Tell your work related tech stories and share experiences here. Share your successes and failures and other "war stories" in this forum.

The n-queens problem

War Stories


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 08-01-2013   -   Original Discussion by figaro
figaro's Unix or Linux Image
figaro figaro is offline
Registered User
 
Join Date: Jan 2007
Last Activity: 27 August 2016, 2:57 PM EDT
Posts: 842
Thanks: 93
Thanked 29 Times in 25 Posts
The n-queens problem

Our first computer science semester involved programming recursively. The teacher riled against the fact that we were learning our programming skills on an old DEC-VAX machine. He therefore challenged us to bring the system to its knees using a program of our choice, because he argued it would confront the university directors with the fact that the machine needed replacement with something more modern and stable.
So a co-ed of mine and I set out to program the n-queens problem, recursively mind you, and gradually increased the value of n. At some point we felt the calculations were taking too long and still in hope that we would finally meet the challenge, we stepped into the teacher's office. Unfortunately the teacher we were supposed to see wasn't there, but his colleague was, who was also less than impressed with our initiative. He told us off by saying that the machine should be used by other people too. The machine was still in use after 2 semesters of computer science classes.

Last edited by figaro; 08-01-2013 at 08:01 PM..
Sponsored Links
    #2  
Old Unix and Linux 08-02-2013   -   Original Discussion by figaro
rbatte1's Unix or Linux Image
rbatte1 rbatte1 is offline Forum Staff  
Root armed
 
Join Date: Jun 2007
Last Activity: 12 December 2017, 10:44 AM EST
Location: Lancashire, UK
Posts: 3,407
Thanks: 1,477
Thanked 669 Times in 602 Posts
So you flogged the server and caused yourself trouble, well, perhaps you need to consider working within the limitations. Sometimes the cash for a replacement is just not there.

It does remind me of someone sacked for exhausting a mainframe by calculating natural factors of ever higher numbers in an attempt to find some large prime numbers. It ground it to a near dead stop for all other users (they multi-threaded the logic too) so I would take that as a caution.




Robin

Last edited by rbatte1; 08-02-2013 at 09:15 AM..
Sponsored Links
    #3  
Old Unix and Linux 08-02-2013   -   Original Discussion by figaro
Corona688's Unix or Linux Image
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 11 December 2017, 5:38 PM EST
Location: Saskatchewan
Posts: 22,546
Thanks: 1,159
Thanked 4,286 Times in 3,955 Posts
A VAX? Your teacher's kind of right -- you've got mounds more computing power in your average graphics card these days.
    #4  
Old Unix and Linux 10-22-2013   -   Original Discussion by figaro
lupin..the..3rd's Unix or Linux Image
lupin..the..3rd lupin..the..3rd is offline
Registered User
 
Join Date: Jul 2011
Last Activity: 9 November 2017, 5:49 PM EST
Posts: 109
Thanks: 23
Thanked 10 Times in 9 Posts
Quote:
Originally Posted by Corona688 View Post
A VAX? Your teacher's kind of right -- you've got mounds more computing power in your average graphics card these days.
I disagree. A VAX makes a fantastic learning tool. Any undergraduate CS assignment will run just fine on a VAX. Undergrads are learning how this stuff works, they don't need monster power.

Just as a 16 year old with a shiny new driver's license does not need a Ferrari, as he does not yet have the skills to use that much performance.
Sponsored Links
    #5  
Old Unix and Linux 10-22-2013   -   Original Discussion by figaro
Corona688's Unix or Linux Image
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 11 December 2017, 5:38 PM EST
Location: Saskatchewan
Posts: 22,546
Thanks: 1,159
Thanked 4,286 Times in 3,955 Posts
It's certainly not useless, I'm sure it could anchor a number of boats. Linux Probably more qualified to drive, in age and talent, than some students too.

It's the kind of system sysadmins keep out of affection and must invent uses for. Certainly they're good educational systems. I cut my teeth on one. [edit] My mistake, it was a Sun system, anyway.

Assuming your don't need the power is, still, sometimes an unfortunate assumption.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem with forwarding emails (SPF problem) carwe IP Networking 0 08-16-2011 07:17 AM
user login problem & Files listing problem. pernasivam AIX 1 06-18-2009 10:09 AM
problem in finding a hardware problem girish.batra Solaris 8 09-09-2008 11:10 AM
problem with dd command or maybe AFS problem Anta Shell Programming and Scripting 0 08-25-2006 11:10 AM



All times are GMT -4. The time now is 01:41 PM.