Little Blue Technology Wiki

Getting Started

Recent Additions

Blog

phusion

phusion_irc.log
<phusion> +100 char
<teatime> That would be 'd', my good man.
...
<phusion> you lost me paul

   :(
phusion.c
/* paul prince, 2011-01-13
    see also (inspired by):
     http://bytes.com/topic/c/answers/477545-unsigned-char-char-print
       */
#include <stdio.h>   
 
int main(void) {
 
	signed    char	foo_s	=   100;
	signed    char	bar_s	=   'd';
	unsigned  char	foo_us	=   100;
	unsigned  char	bar_us	=   'd';
 
        printf("signed:\n\tfoo_s = 0x%x(%d) aka '%c'.\n\tbar_s = 0x%x(%d) aka '%c'.\n",
			foo_s,foo_s,foo_s,	bar_s,bar_s,bar_s	);
 
	printf("unsigned:\n\tfoo_us = 0x%x(%d) aka '%c'.\n\tbar_us = 0x%x(%d) aka '%c'.\n",
			foo_us,foo_us,foo_us,	bar_us,bar_us,bar_us	);
 
	return 0;
}
phusion_terminal_session.log
pprince@flake ~/phusion/new % gcc -o phusion phusion.c
pprince@flake ~/phusion/new % ./phusion
signed:
	foo_s = 0x64(100) aka 'd'.
	bar_s = 0x64(100) aka 'd'.
unsigned:
	foo_us = 0x64(100) aka 'd'.
	bar_us = 0x64(100) aka 'd'.
pprince@flake ~/phusion/new % 
2011/01/13 01:18 · Paul Prince · 0 Comments · 0 Linkbacks

Keymaster, BA♮!

My friend Jerry mentioned a problem his trumpet teacher has, and inquired as to whether I could write a computer program to solve it.

Since it looked like an interesting yet simple task, and I have been wanting to try out Qt4 anyway for cross-platform Linux/Windows/Mac GUI applications development, I told him I'd give it a shot.

He had hoped to give it to him as Christmas gift, but I told him that was not very likely… instead, even though his requirements were simple, I expected that together feature creep, the difficulty of learning a completely new widget toolkit, and my rusty C++ would push the delivery date well into the new year.

I was wrong. Within the first 48 hours, I have most of the core functionality, as well as a slick installer for Windows.

→ Read more...

2010/12/12 17:18 · Paul Prince · 0 Comments · 0 Linkbacks

A couple of git command lines…

I'm preserving these here so that I don't forget to them some more.

echo "# non-global:"
git config -l | sed -e 's/=/ "/' -e 's/$/"/' \
    -e 's/^/git config --replace-all /'

echo "# global:"
git config --global -l | sed -e 's/=/ "/'    \
    -e 's/$/"/' -e 's/^/git config --global --replace-all /'

And the output looks like this:

# non-global:
git config --replace-all user.name "Paul Prince"
git config --replace-all user.email "paul@littlebluetech.com"
# global:
git config --global --replace-all user.name "Paul Prince"
git config --global --replace-all user.email "paul@littlebluetech.com"

→ Read more...

2010/12/12 16:36 · Paul Prince · 0 Comments · 0 Linkbacks

Google is Not an Evil Overlord

Ok, so, I took a couple of Instructional Design Technology classes at WVU this summer. One on social media sites like Facebook, and one about future trends for the net.

I may have mistaken IDT for Industrial Design and Technology.. it still turned out well. There were many interesting prompts, and it caused me to more deeply investigate some of my assumptions.

→ Read more...

2010/07/20 01:51 · Paul Prince · 0 Comments · 0 Linkbacks

As I boldy step into the blagosphere...

This is my first blog entry, ever.

2010/07/05 19:31 · Paul Prince · 91 Comments · 0 Linkbacks

Get In Touch!

Paul Prince
Address 1204 Van Voorhis Rd. Apt. I
Morgantown, WV 26505
Phone +1 304-278-4401
Email Paul Prince
Facebook Paul Prince
Little Blue Technology
LinkedIn paulprincewv

Diversions

  • xkcd, a webcomic of romance, sarcasm, math, and language.
  • FIXME more diversions…

Another Box

FIXME what should we put here?

Little Blue Wiki is a current work-in-progress.

Navigation
Print/export
Toolbox