Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs
User Name



C++ had lambda functions!

Posted 01-31-2013 at 01:21 AM by hydraMax (Bits and Pixels)

I'm doing a CS class which forces me to use C++. I was not very excited about this. However, I have recently be greatly encouraged by the discovery that C++ does, in fact, have lambda functions (or, more properly, anonymous functions) at least in the C++11 standard:

Basically, the big deal here is that I can construct new functions /inside/ of other functions, and even capture variables from the context. This,...
Posted in Uncategorized
Views 836 Comments 0 hydraMax is offline

Controlling VLC via openbox key bindings... and wget(!)

Posted 01-28-2013 at 10:21 AM by the dsc (linux-related notes)
Updated 01-28-2013 at 06:10 PM by the dsc (fixing some stuff, redirection didn't work that way)

On openbox' rc.xml, in the corresponding section:

    <keybind key="W-z">
      <action name="Execute">
<execute>wget -O /dev/null</execute> 
    <keybind key="W-x">
      <action name="Execute">
Posted in Uncategorized
Views 1152 Comments 0 the dsc is offline

Aye, aye, My Pi!

Posted 01-28-2013 at 08:45 AM by brianL

Been having tons of fun with my recently acquired Raspberry Pi, and a few ounces of frustration. So far I've got three distros to play with: Raspbian (based on Debian "Wheezy"), that came ready installed on an SD card; Arch Linux Arm, and SlackwareArm, which I've installed on SD myself. It's a bit particular about SD cards, the Pi. Some work, some don't. That was a source of some of the frustration. Another was because Arch has changed to systemd, which made some online info obsolete....
LQ 5k Club
Posted in Uncategorized
Views 24693 Comments 9 brianL is offline

rsh issue

Posted 01-27-2013 at 07:57 AM by vikky

[root@host ~]# rsh localhost uptime
connect to address port 544: Connection refused
Trying krb4 rsh...
connect to address port 544: Connection refused
trying normal rsh (/usr/bin/rsh)
Permission denied.
[root@host ~]#
[root@host~]# rpm -qa |grep rsh
[root@host ~]#
[root@host ~]# cat /etc/securetty
[root@host ~]# chkconfig...
LQ Newbie
Posted in Uncategorized
Views 8509 Comments 3 vikky is offline

Sockets -- A Chat Server with a non-blocking 'select' (i.e., GUI ready)

Posted 01-27-2013 at 06:47 AM by rainbowsally
Updated 08-06-2014 at 07:29 AM by rainbowsally (fix bad edit)

Sockets -- A Chat Server with a non-blocking 'select' (i.e., GUI ready)

[GUI-ready but no GUI in this version. Terminal only.]

Today's feature is
  • A chat server.
  • Non blocking 'select' (which we need for importing into an lqMiniTerm).
  • A web link to more generic sockets code that I wish I had found earlier.
  • Tarred up example code with makefile for all the code examples at bgnet.

Here's a chat-server you can use to communicate between folks on your computer...
Posted in Uncategorized
Views 1503 Comments 0 rainbowsally is offline


All times are GMT -5. The time now is 12:35 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