Latest LQ Deal: Linux Power User Bundle
Go Back > Blogs
User Name




Posted 02-28-2012 at 08:11 PM by lisle2011

I just finished being frustrated installing software that lets my LaserJet CP1525nw work; and as a bonus the color is really good for me.

But I have a little niggle after downloading stuff from the HPLIP site and I did download and read everything. I discovered that following compile instructions failed.

A person must configure as root, then run make as a regular user. I had my doubts and after make spewed about six lines of text everything came to a halt because the...
Posted in Uncategorized
Views 4785 Comments 1 lisle2011 is offline

VBS equivalents of some Linux date command format sequences

Posted 02-27-2012 at 10:13 PM by catkin

Here are some Visual Basic Script statements that generate the effect of the Linux date command used with format sequences %y, %Y, %b, %B, %n, %a, %A, %d, %H, %I, %p, %M and %S
Dim strValue

' %y for year, two digit
strValue = Right(DatePart( "yyyy", Now), 2)

' %Y for year, four digit
strValue = DatePart( "yyyy", Now))

' %b for month name, example Jan
LQ 5k Club
Posted in Uncategorized
Views 1355 Comments 0 catkin is offline

Why and how to use Mutex locks - Pthreads

Posted 02-27-2012 at 11:06 AM by TheIndependentAquarius
Updated 05-21-2012 at 01:51 AM by TheIndependentAquarius

Underlying operating system may schedule the threads on the basis of some algorithm which works on time limit (threads may be allowed to run only for certain durations of time, thus preventing the other threads from starvation), priority (higher priority threads may interrupt the lower priority threads during their execution), or some other factor.

These factors may cause a thread to sleep before it completes its task fully. Another thread may get scheduled meanwhile...
Senior Member
Posted in PThreads
Views 17449 Comments 3 TheIndependentAquarius is offline

LDAP Authentication

Posted 02-26-2012 at 11:16 PM by vijaykumar7474

Is it possible to connect openldap with IIS server ???
If possible How???
Please Help Me!!!!
LQ Newbie
Posted in Uncategorized
Views 408 Comments 0 vijaykumar7474 is offline

libLQ and/or Temp (recycling) formatted strings and blocks of memory

Posted 02-26-2012 at 11:02 AM by rainbowsally
Updated 05-06-2012 at 05:48 AM by rainbowsally

[Note: this refers to an obsolete implementation of the temp strings and libLQ sources but the concept of being able to pass a buffer containing a formatted string directly in the parameter list makes this both interesting and important regardless.

Also the peek into the asm code may be helpful for folks wishing to get into the really low level stuff. See how we can redirect a call to sprintf() instead of calling vsprintf() below. This may not be portable but then neither can QT...
Posted in Uncategorized
Views 432 Comments 0 rainbowsally is offline


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

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