LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

New-Make And MC2, Meet MPG123 (terminal app to play MP3 and other file formats)

Posted 12-25-2012 at 08:11 PM by rainbowsally
Updated 08-06-2014 at 08:47 AM by rainbowsally (wrong acronym for alsa)

After that last rant about screwy software, I found some GREAT software. mpg123 is outstanding.

Today's Features
  • Me eating my words, even about assembler coding. ;-)

Famous last words galore! I even have to eat my words about asm. In fact this app is so cool I had to add the ability to compile asm and C sources in the same directory to the mc2 code.

MPG123 (sandboxed relocatable binary installation OR compile from code, modify, experiment, etc.) is linked...
Member
Posted in Uncategorized
Views 612 Comments 0 rainbowsally is offline
Old

Hashing for ID generation (hash32_enum algorithm and ASM)

Posted 12-24-2012 at 10:45 AM by rainbowsally

You're not going to get fool-proof uniqueness from a 32 bit hash, but this one gets pretty close.

[cont'd from previous blog entry where the C/C++ version can be seen (and tested). http://www.linuxquestions.org/questi...-lists-35223/]

If you're curious about what the hash32_enum thing in the previous blog entry would look like in assembler, this is the output using the --save-temps gcc flag.

Code:
;
...
Member
Posted in Uncategorized
Views 346 Comments 0 rainbowsally is offline
Old

STL Template Experiment (Lists)

Posted 12-24-2012 at 10:24 AM by rainbowsally
Updated 08-06-2014 at 09:00 AM by rainbowsally (added link, grammar error, makefile line correction)

We've resurrected some dead code that was pretty ugly but the only worse MESS (officially sanctioned, no less) than STL that we've ever seen is the spaghetti in lex/flex output. -- The Computer Mad Science Dept.

So...

Now what?

Well...

...what would ANY good Computer Mad Scientist do in a situation like this?

Today's features are
  • Creating lists using the std::list STL template.
  • Identifying the critical 'operators'
...
Member
Posted in Uncategorized
Views 774 Comments 1 rainbowsally is offline
Old

Setting up Gitso on Ubuntu to provide remote support

Posted 12-23-2012 at 10:28 PM by trevorparsons
Updated 12-23-2012 at 10:33 PM by trevorparsons

I have quite a few Ubuntu installations in the wild, set up for friends and clients. I support them all -- well, those of them that require support -- using Gitso, which is a nice little front end to x11vnc and vncviewer, with connections tunnelled over ssh.

The only work that needs doing at the support end is to set one's router to forward port 5500 to the machine on which you'll be doing the remote support. Then it's just a case of running Gitso, switching the radio button to 'Give...
LQ Newbie
Posted in Uncategorized
Views 676 Comments 0 trevorparsons is offline
Old

What do you install on an Asus eeepc 701 in 2012?

Posted 12-23-2012 at 10:13 PM by trevorparsons

My school keeper friend Tony has discovered a stash of half a dozen Asus Eee PC 701 netbooks, apparently an unused donation to the school where he works. These are the original netbook, which we were all very excited about when it came out five years ago. I still have mine, currently running Ubuntu 10.04 LTS, and although my Android phone has replaced many of its functions, I still use it now and then when I need a rugged, portable machine with a keyboard.

These 701s are as they came...
LQ Newbie
Posted in Uncategorized
Views 3630 Comments 0 trevorparsons is offline

  



All times are GMT -5. The time now is 02:41 AM.

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