LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

news, sorta

Posted 01-10-2013 at 04:48 PM by rainbowsally

The new parser that will be in mc2 3.1 (currently 3.0) is really very nice (based on but changed a bit from the test files recently posted.)

You'll never find a parser that's super-easy to use, but this one is in C (no intermediate file), makes sense in C, and is debuggable in C so debugging both the code and the algorithms is much much easier than something like flex, lemon, or the gazillion other alternatives.

As kind of a challenge, we started the first few passes...
Member
Posted in Uncategorized
Views 370 Comments 0 rainbowsally is offline
Old

Installed Nix

Posted 01-09-2013 at 02:49 PM by hydraMax (Bits and Pixels)
Tags nix

I recently installed the Nix package manager on my system:

https://nixos.org/nix/

Nix is an intriguing idea: a purely functional and deterministic package management system. Nix allows you to install, upgrade, and remove packages on your system without ever having to worry about breaking the dependencies of other packages already installed on your system. This is impossible, by design. Likewise, after installing new packages, you are free to roll back those changes...
Member
Posted in Uncategorized
Views 516 Comments 0 hydraMax is offline
Old

A Shell to End All Others

Posted 01-08-2013 at 06:00 PM by 2ck

Xiki: what your unix shell wants to be when it grows up.

Demo: http://youtu.be/bUR_eUVcABg
2ck
Member
Posted in Uncategorized
Views 577 Comments 0 2ck is offline
Old

Using a script to get your IP address

Posted 01-07-2013 at 12:33 PM by sag47

A friend of mine was complaining today how their work place doesn't parse the IP address from ifconfig but asks for manual input from the user. This is the dumbest thing ever. In case you're ever encountered by this here's a horrible one liner to get the job done quick and dirty.

Also, you may need to replace eth2 with your correct interface (such as eth1).
Code:
ifconfig | sed -ne '/^eth2/,/^\s\+Interrupt/p' | awk '$0 ~ /inet addr/ { print $2 }' | cut -d: -f2
It...
Senior Member
Posted in Uncategorized
Views 5086 Comments 2 sag47 is offline
Old

Parser Test 3 (A Return Stack & Compiler)

Posted 01-03-2013 at 10:53 AM by rainbowsally
Updated 01-10-2013 at 07:05 PM by rainbowsally

Parser Test 3 (A Return Stack & Compiler)

A self extractor for the 'lib' files that we include for this (pretty cute) little calculator are here.
http://www.linuxquestions.org/questi...wsally-615861/

Re: the compiler part. It's not much of a compiler, but it serves as a proof of concept. (It's used internally, the program is not compiled.)

Before we dig in here, I should say...

Bug in Parser Test 2.

...
Member
Posted in Uncategorized
Views 681 Comments 0 rainbowsally is offline

  



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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration