LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old
Rating: 4 votes, 5.00 average.

"no virus" != "secure"

Posted 10-05-2011 at 12:43 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 01-14-2012 at 12:21 PM by rocket357 (spellcheck fail)

This seems to pop up a lot lately in Linux and Mac circles...

The presence of viruses for a particular platform does indeed point to security issues. However, supposing the reverse to be true in all manners is a logical fallacy (Denying the antecedent, for those interested in philosophy). It goes like this: "If a platform has viruses, it is insecure. Linux does not have viruses, so it is not insecure."

The problem with this logic is that viruses, while...
Member
Posted in Uncategorized
Views 14714 Comments 10 rocket357 is offline
Old
Rating: 2 votes, 5.00 average.

How to reverse a linked list? - C

Posted 02-01-2012 at 05:49 AM by TheIndependentAquarius



Code:
void reverseLinkedList ()
{
	linkedList *pointer1;
	linkedList *pointer2;
	
	pointer1 = NULL;
	pointer2 = head->next;
	
	while (pointer2 != NULL)
	{
		head->next = pointer1;
		
		pointer1     = head;
		head         = pointer2;
		pointer2     = pointer2->next;
	}
...
Attached Files
File Type: txt reverseLinkedList.txt (1.8 KB, 5 views)
Senior Member
Posted in Data structures
Views 1112 Comments 0 TheIndependentAquarius is offline
Old
Rating: 3 votes, 5.00 average.

Hero Honda Splendor fork oil change

Posted 02-11-2012 at 12:36 AM by catkin

The easiest way to do this job is to remove the drain plugs but the part that they screw into within the slider may turn. If that happens a special tool is required to hold it. The procedure described here avoids that danger; it does not need any special tools.

Note on terms: the fork tube (a.k.a. stanchion) is attached to the yokes (a.k.a. triple tree) which pivot in the frame while the slider (a.k.a tube) holds the wheel. The least ambiguous terms, "stanchion" and "slider",...
LQ 5k Club
Posted in Uncategorized
Views 2149 Comments 0 catkin is offline
Old
Rating: 2 votes, 5.00 average.

Fooling myself

Posted 03-23-2012 at 03:02 AM by TheIndependentAquarius
Updated 03-23-2012 at 03:19 AM by TheIndependentAquarius

Another problem that I have is that I keep on talking to
myself by visualizing the things that happened in my
past.
Example - Last week I somehow remembered a big incident
that happened in my life 8 years ago when I was in college.
Those college days were very painful for me. Now what I
do is to visualize those moments with those same people
around but with the situation in my favour. I try to
convience those people by telling them what...
Senior Member
Views 8175 Comments 4 TheIndependentAquarius is offline
Old
Rating: 2 votes, 5.00 average.

Why and how to use `pthread_join()`? - PThreads

Posted 05-23-2012 at 01:00 AM by TheIndependentAquarius
Updated 08-24-2012 at 01:50 AM by TheIndependentAquarius

  • Q: What is join with respect to Pthreads?
    A: Join is a functionality of Pthread library which allows the originating thread to wait for the completion of all its spawned thread's tasks.

    Without join the originating thread would exit as soon as it completes its chores, completely ignoring the states of its spawned threads. Due to this, even if any of the spawned threads is in middle of its chore, it'll simply get aborted.
  • Problem statement:
    In the below code I have
...
Senior Member
Posted in PThreads
Views 4620 Comments 0 TheIndependentAquarius is offline

  



All times are GMT -5. The time now is 06:06 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration