LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Haskell solves the problem of unexpected IO side effects

Posted 12-20-2012 at 03:40 PM by hydraMax (Bits and Pixels)
Updated 12-20-2012 at 03:46 PM by hydraMax
Tags haskell, humor

Programmers are universally familiar with the challenges of dealing with unwanted side effects in IO operations. Few are aware, however, that the Haskell programming language provides a very straightforward approach to dealing with this problem, packaged in a convenient module:

http://hackage.haskell.org/packages/...RealWorld.html

The solution involves making available a full existential state as a retrievable value. This value...
Member
Posted in Uncategorized
Views 589 Comments 0 hydraMax is offline
Old

More Tooling Up Stuff

Posted 12-19-2012 at 12:52 PM by rainbowsally
Updated 08-06-2014 at 10:30 AM by rainbowsally (skip rant, typo correction)

About the commandline

Today's features:
  • Why the commandline rocks and GUI apps have rocks in their heads at times.

You can skip this somewhat rambling rant by going down to "CONTINUE" below.

[Note for KDE users: Konqueror has a nice konsole terminal that can be opened with F4. It's much MUCH better than Dolphin, if you're a programmer. See recent blog including 'launch' and shell-exec if you have trouble executing these files when you click on them...
Member
Posted in Uncategorized
Views 384 Comments 0 rainbowsally is offline
Old

Legacy still lives.

Posted 12-19-2012 at 11:54 AM by peonuser

openbsd 5.2 seems to be an interesting choice for old pentium one computers.
Member
Posted in Uncategorized
Views 430 Comments 0 peonuser is offline
Old

hplip error: Unable to communicate with device (code=12)

Posted 12-19-2012 at 12:00 AM by vik
Updated 07-06-2013 at 12:16 PM by vik

I have a wireless networked HP printer and was getting this error: Unable to communicate with device (code=12). I ran hp-check, hp-setup, hp-plugin, etc. After a few days' worth of frustration, I've figured it out.

The key was this: http://hplipopensource.com/node/216
So after running
Code:
snmpwalk -Os -c public -v 1 ip.address.of.printer 1.3.6.1.4.1.11.2.3.9.1.1.7.0
I got this message: Timeout: No Response from ip.address.of.printer

Then I remembered...
vik
Member
Posted in Uncategorized
Views 2782 Comments 2 vik is offline
Old

An STL Template Experiment

Posted 12-18-2012 at 06:05 PM by rainbowsally

Today's features:
  • Getting an address of an iterator from stl.
  • Creating a foreach() macro.
  • A couple of ways to work around unwanted C++ compiler warnings.

STL is a freaking nighmare to trace in a debugger so it's not too easy to tell what goes on in them but one thing became quite clear and that is that iterators are generic pointer types internally, which makes sense since STL needs to deal with so many different types.

Here's a little test to play with to show how...
Member
Posted in Uncategorized
Views 523 Comments 0 rainbowsally is offline

  



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

Main Menu
Advertisement

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