Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~4K People Reached
Favorite Tags
Member Avatar for John Linux

In a past prac. exam for an algorithm course I'm doing is the challenge below, and their are no solutions but it seems like a really interesting one to solve. Can someone please help and point me in the right direction, I would like to try this on my own, …

Member Avatar for Sergio_1
0
498
Member Avatar for John Linux

Hi, I am looking to write a internet scraper, and have considered the following languages: Python C++ Java The scraper will need to: - Retrieve HTML code from a page - Select a link, name and description from a section of the page - Ask for user confirmation (non gui …

0
76
Member Avatar for John Linux

Hi, I am trying to write a Bash Script to sort some images but I am new to Bash and not having any luck. I have a folder of images. Example: P100.jpg P172.jpg P342.jpg P400.png I need to change these filenames to <filename>_DEFAULT<extension>. ie. P100_DEFAULT.jpg and then move the file …

Member Avatar for KenJackson
0
235
Member Avatar for John Linux

Hi, I am trying to write a Bash Script to sort some images but I am new to Bash and not having any luck. I have a folder of images. Example: P100.jpg P172.jpg P342.jpg P400.png I need to change these filenames to <filename>_DEFAULT<extension>. ie. P100_DEFAULT.jpg and then move the file …

Member Avatar for histrungalot
0
248
Member Avatar for John Linux

Hi, If i have a vector in MATLAB v; [CODE]v = [1 2][/CODE] How can i push a value say '7' to the vector. ie. v = 1 2 7 I am currently doing it in a loop: count = 0 ie. for 1 to 10 count = count + …

Member Avatar for Thisisnotanid
0
374
Member Avatar for John Linux

I am using a) Linux b) Pthreads I want to write a program, with two pthreads, to cater for two queues of people. People arrive at each queue at a random interval of 1 - 10 seconds. Each time a person arrives, print out the number of people in each …

Member Avatar for John Linux
0
178
Member Avatar for John Linux

Hi, I need to create a program to do a threaded merge sort (kinda), but in the meantime I am trying to pass a struct through the the Merge method (thread runs this method), but I keep getting seg faults. I am sure its something obvious, please help me out. …

Member Avatar for pseudorandom21
0
877
Member Avatar for John Linux

Hi, I am about to format my pc and need to recover some of my passwords from Opera. I have searched the internet and found a viable solution OperaPassView. The application works and recovered my passwords fine (I have no master password), however passwords that are network related, eg. Proxy …

Member Avatar for crunchie
0
96
Member Avatar for John Linux

I have a DB with two tables schoolresults; uniresults; Extracts are as follows: [B]schoolresults[/B] stuID Name Surname Gender Schoolname etc. (irrelevant to q) 1001 John Dawson M PretoriaHS 1002 Peter Zondi M Hillcrest (only one entry here for each stuID) [B]uniresults:[/B] stuID course mark symbol seniorCourse 1001 ECO1 54 3 …

Member Avatar for d5e5
0
164
Member Avatar for John Linux

Hi, I have the following extract from a table called results. StudentID Course Percent 1005 MAM1 63 1006 PHY2 55 1006 MAM1 71 I need to produce a list of student ID's WHO take MAM1 AND PHY2. I first selected all rows where course is MAM1 OR PHY2, but then …

Member Avatar for John Linux
0
132
Member Avatar for John Linux

Hi, One of my portfolios for a university canoe club committee is to run the website in 2010/2011 season. I would like to improve the photo gallery substantially, and am looking for a ready-made, preferably freeware solution with the following features. - Display photo's from a directory on the server, …

Member Avatar for pritaeas
0
134
Member Avatar for John Linux

Hi, I am not sure whether I should be posting this in the Windows forum or the PC Hardware because it involves both. I have an external 320 GB Transcend Drive with a lot of important data. Recently, I unplugged it from my PC and took to another to get …

0
109
Member Avatar for John Linux

What is a pre-processor macro and how is it processed by the C++ system? Demonstrate a potential problem with this approach by referring to the macro [CODE]#define SQR(t) t*t[/CODE] what is wrong here... besides the fact that if you put a type that cant use the * operator you'll get …

Member Avatar for Banfa
0
83
Member Avatar for John Linux

Past paper question from 2007: Source University of Cape Town - CSC2001F - 2007 Which of the two statements shown below will provide an lexicographical (alphabetic) string comparsion? why? [code=C++] char *mesg1 = "Hello", *mesg2 = "world"; string s1 = "Hello", s2 = "world"; if (s1 != s2) {...} // …

Member Avatar for thelamb
0
136
Member Avatar for John Linux

I am reading in data from a textfile, specified by command line args eg.. <app> inputfile outputfile I have not yet done any file output, yet have developed some code. What I'm aiming for is printing out the shortest route from one node to another in a graph. *The graph …

Member Avatar for John Linux
0
206