Thursday, July 30, 2009

AC Power Control through USB

AC Power Control through USB: "Second Implementation: User space

* libusb library
* usb_control_msg: USB_PORT_FEAT_POWER"

Wednesday, July 29, 2009

"THE YEAR OF SPAGHETTI by HARUKI MURAKAMI

Nineteen-seventy-one was the Year of Spaghetti.

In 1971, I cooked spaghetti to live, and lived to cook spaghetti.

Steam rising from the pot was my pride and joy, tomato sauce bubbling up in the saucepan my one great hope in life."

Tuesday, July 28, 2009

Python Module of the Week - Python Module of the Week

Python Module of the Week - Python Module of the Week: "The Python Module of the Week series, or PyMOTW, is a tour of the Python standard library through short examples."

Conway's Game of Life - Experiment Garden

Conway's Game of Life - Experiment Garden: "Finally, I recorded an amazing video of a complex spaceship construction device running in Conway's Game of Life. The device is made up hundreds of modified Gosper guns synchronized so that they shoot the right gliders and spaceships at just the right time such that when they collide it creates a larger traveling spaceship."

Saturday, July 25, 2009

Blunt warning about greens under the bed | Antonia Senior - Times Online

Blunt warning about greens under the bed | Antonia Senior - Times Online: "Britain is, thankfully, an ideologically barren land. The split between Right and Left is no longer ideological, but tribal. Are you a nice social liberal who believes in markets, or a nasty social liberal who believes in markets? Anthony Blunt’s memoirs, published this week, reveal a different age, one in which fascism and communism were locked in a seemingly definitive battle for souls.

Blunt talks of “the religious quality” of the enthusiasm for the Left among the students of Cambridge. There is only one ideology in today’s developed world that exercises a similar grip. If Blunt were young today, he would not be red; he would be green."

Installing Oracle 11g on CentOS under VMWare on a Macbook - Oracle Wiki

Installing Oracle 11g on CentOS under VMWare on a Macbook - Oracle Wiki: "Here is how I’ve set up my Macbook to be my DBA Playground. You can have Oracle 11gR1 and 10gR2 installed on two operating systems, Red Hat Linux 4 and Solaris 10. Both are 64bit and both can be running simultaneously for easy comparisons. This guide shows you how to install Oracle 11g on CentOS under VMWare Fusion on a Macbook."

Friday, July 24, 2009

Tuesday, July 21, 2009

Instapundit � Blog Archive � INDEED: “A rule we can rely on to be unfailingly applied is this: No matter how much the government…

Instapundit � Blog Archive � INDEED: "A rule we can rely on to be unfailingly applied is this: No matter how much the government controls the economic system, any problem will be blamed on whatever small zone of freedom that remains.”"

Monday, July 20, 2009

61 essential postmodern reads: an annotated list | Jacket Copy | Los Angeles Times

61 essential postmodern reads: an annotated list | Jacket Copy | Los Angeles Times: "Below is our list of the 61 essential reads of postmodern literature. It's annotated with the attributes below -- the author is a character, fiction and reality are blurred, the text includes fictional artifacts, such as letters, lyrics, even whole other books, and so on."

Sunday, July 19, 2009

10 Business Lessons I Learned from Playing Dungeons & Dragons | JavaWorld's Daily Brew

10 Business Lessons I Learned from Playing Dungeons & Dragons | JavaWorld's Daily Brew: "Throughout my 20s and 30s, I played D&D and other fantasy role playing games at least once a week. Doing so did more than teach me the rules of combat or proper behavior in a dragon's lair. I gained several skills that truly did help me in my career."

just ping - Online ping - Online web-based ping: remote ping a server or web site using our network with 37 checkpoints worldwide

just ping - Online ping - Online web-based ping: remote ping a server or web site using our network with 37 checkpoints worldwide: "Online web-based ping: remote ping a server or web site using our network with 37 checkpoints worldwide"

Sunday, July 12, 2009

Cars-Pixar

Cars-Pixar: "The Renderfarm at Pixar is a computer cluster that is used to render computer generated imagery for their animated films. We made this two-sided sign that hangs above the main entrance to the Renderfarm using 10mm, 8mm and 7mm tubing."

Saturday, July 11, 2009

Python Package Index : pudb 0.92.2

Python Package Index : pudb 0.92.2: "PuDB is a full-screen, console-based visual debugger for Python.

Its goal is to provide all the niceties of modern GUI-based debuggers in a more lightweight and keyboard-friendly package. PuDB allows you to debug code right where you write and test it--in a terminal. If you've worked with the excellent (but nowadays ancient) DOS-based Turbo Pascal or C tools, PuDB's UI might look familiar."

Thursday, July 09, 2009

Hadoop Training: Virtual Machine | Cloudera

Hadoop Training: Virtual Machine | Cloudera: "n order to make it easy for you to get started with Hadoop and complete our various training exercises, we have created a virtual machine with everything you need. The VM includes Cloudera's Distribution for Hadoop, all of our example code, as well as eclipse and other standard tools."

Wednesday, July 08, 2009

EWD Mathematics Inc Papers

The following are Documents regarding Mathematics Inc.

EWD442. Inside ``Mathematics Inc''
EWD539. Mathematics Inc., a private letter from its chairman
EWD743. A new policy for Mathematics Inc.?
EWD1224. Hm++, a new Professional Standard (From the desk of the chairman of the Board of Mathematics Inc.)
Randell.pdf. Revenue Sharing Agreement (from counsel to the chairman of the Board of Mathematics Inc.)

George Washington's Rules of Civility and Decent Behavior @ Foundations Magazine

George Washington's Rules of Civility and Decent Behavior @ Foundations Magazine: "By age sixteen, Washington had copied out by hand, 110 Rules of Civility & Decent Behavior in Company and Conversation. They are based on a set of rules composed by French Jesuits in 1595. Presumably they were copied out as part of an exercise in penmanship assigned by young Washington's schoolmaster. The first English translation of the French rules appeared in 1640, and are ascribed to Francis Hawkins the twelve-year-old son of a doctor."

Perforce Knowledge Base: Working Disconnected From The Perforce Server

Perforce Knowledge Base: Working Disconnected From The Perforce Server: "How can I reconcile my workspace once I am reconnected to the server?"

Tuesday, July 07, 2009

Simply Scheme: Introducing Computer Science

Simply Scheme: Introducing Computer Science: "Below this short table of contents is an expanded table of contents including sections within each chapter. Click on the chapter name to jump down. You can also download the complete text of each chapter in PDF format for elegant printing, or browse the HTML version. Part introductions are included in the PDF of the following chapter. Projects are included in the PDF of the preceding chapter."

Monday, July 06, 2009

Reverse Engineering a Data Model using the Oracle Data Dictionary

Reverse Engineering a Data Model using the Oracle Data Dictionary: "All of the above tables (the USER_* tables) only contain objects defined by the current Oracle user. Oracle also maintains a set of tables of identical structure that start with ALL_*. These show you every object that you have access to, regardless of whether you created that object (e.g., our beloved friend DUAL). Similarly, Oracle provides DBA_* tables that contain info about all users' objects, but this group of tables is only accessible to the database administrator."

cdto - Google Code

cdto - Google Code: "Finder Toolbar button to open a Terminal window"

Sunday, July 05, 2009

Python Call Graph

Python Call Graph: "pycallgraph is a Python module that creates call graphs for Python programs."

Saturday, July 04, 2009

Bootleggers and Baptists � Brad Taylor’s Blog

Bootleggers and Baptists � Brad Taylor’s Blog: "Indeed, the pages of history are full of episodes best explained by a theory of regulation I call “bootleggers and Baptists.” Bootleggers, you will remember, support Sunday closing laws that shut down all the local bars and liquor stores. Baptists support the same laws and lobby vigorously for them. Both parties gain, while the regulators are content because the law is easy to administer."

Thursday, July 02, 2009

Battle of Gonzales

Battle of Gonzales: "Recall of the Gonzales Cannon. As part of the disarmament of Texians or the consolidation of armaments for suppression of Federalist sentiments by the Centralista (Santanista) dictatorship, the military authorities in San Antonio requested the return of a cannon which had been 'loaned' to the DeWitt Colonists in 1831 for protection against Indians."

Drawger.com

Drawger.com: "Welcome to The Museum of Forgotten Art Supplies... where tools of the trade that have died or have just about died a slow slow death are cheerfully exhibited."

Bruce Yandle on Bootleggers and Baptists | EconTalk | Library of Economics and Liberty

Bruce Yandle on Bootleggers and Baptists | EconTalk | Library of Economics and Liberty: "Bruce Yandle of Clemson University explains why politics makes such strange bedfellows and the often peculiar alliance of self-interested special interests with more altruistic motives. He uses his insights to explain some of the seemingly perverse but politically understandable effects of the Clean Air Act, the tobacco settlement and other regulation."

Wednesday, July 01, 2009

Saturday, June 27, 2009

CS145 - Autumn, 2007

CS145 - Autumn, 2007: "Oracle gives mysterious error numbers when you do something wrong. Using the error-messaage number as a Google query often gives you an answer from some newsgroup that has discussed the problem."

Thursday, June 25, 2009

Tuesday, June 23, 2009

13 Enabling Advanced Features of Oracle Net Services

13 Enabling Advanced Features of Oracle Net Services:

"What TAF Restores

TAF automatically restores some or all of the following elements associated with active database connections. Other elements, however, may need to be embedded in the application code to enable TAF to recover the connection."

Business soaring at Oakland's Fenton's, thanks to 'Up!' - San Jose Mercury News

Business soaring at Oakland's Fenton's, thanks to 'Up!' - San Jose Mercury News: "The ice cream parlor is the most recent in a long line of local connections integrated into Emeryville-based Pixar's films. 'The Incredibles' featured a police chase down San Pablo Avenue, which runs from Oakland to West Contra Costa. Much of 'Monsters vs Aliens' took place between San Francisco and Modesto. Even the flying house from 'Up!' is based on a Victorian in West Berkeley."

Monday, June 22, 2009

xdotool - fake keyboard/mouse input :: semicomplete.com - Jordan Sissel

xdotool - fake keyboard/mouse input :: semicomplete.com - Jordan Sissel: "This tool lets you programatically (or manually) simulate keyboard input and mouse activity, move and resize windows, etc"

wmctrl - A command line tool to interact with an EWMH/NetWM compatible X Window Manager.

wmctrl - A command line tool to interact with an EWMH/NetWM compatible X Window Manager.: "The wmctrl program is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager.

The tool provides command line access to almost all the features defined in the EWMH specification. It can be used, for example, to obtain information about the window manager, to get a detailed list of desktops and managed windows, to switch and resize desktops, to make windows full-screen, always-above or sticky, and to activate, close, move, resize, maximize and minimize them."

Sunday, June 21, 2009

Oracle: tracing a session

Method A (for your own session):

SQL> ALTER SESSION SET SQL_TRACE={True|False};


Method B (for your own session):

SQL> EXECUTE dbms_session.set_sql_trace ({True|False});


Method C (for super user to trace other sessions):

SQL> EXECUTE dbms_system.set_sql_trace_in_session (sid,serial#,{True|False});

Taco Sauce

Mild version:

3c water
2t cornstarch
1 6-oz can tomato paste
3T white vinegar
4t chili powder
2t salt
1t cayenne pepper

Dissolve cornstanch in water in medium saucepan.
Add remaining ingredients and stir well. Bring to a
boil over medium heat. Reduce heat and simmer for
5 minutes. Cover till cool, refrigerate.

Makes 3 cups.

Hot and spicy version:

1 6-oz can tomato paste
3c water
3T white vinegar
3t minced jalepeno
1T chili powder
1t dried minced onion
2t salt
2t cornstarch
1t cayenne pepper
1t sugar
1/4t onion powder
1/4t garlic powder

White House Chocolate Chip Cookies

3c + 3t all-purpose flour
1t baking soda
1/4t salt
1c (2 sticks) unsalted butter, softened
1c granulated sugar
2/3c packed light brown sugar
2 large eggs
1/4c molasses
1T vanilla extract
2c (12 oz bag) chocolate chips
1c chopped walnuts

Combine flour, baking soda, and salt in a medium mixing bowl.

Cream together butter, granulated sugar and brown sugar. Beat in eggs, molasses and vanilla. Stir in the flour mixture until just incorporated. Stir in the chocolate chips and walnuts. Chill dough for 1 hour.

Preheat oven to 400 F. Line several baking sheets with parchment paper or Silpat pads.

Drop heaping tablespoons or No. 40 ice-cream scoops of dough 2 inches apart on prepared baking sheets, flattening slightly by hand.

Bake until just light golden, 8 to 10 minutes. Cool cookies for 5 minutes on baking sheets before transferring to wire rack.

Cookies will keep in an airtight container for 2 to 3 days.

Advance Preparation: Place balls of dough on parchment and freeze. Balls may be stored frozen in freezer bags for up to 1 month. Place frozen cookies on prepared sheets as above, and defrost on the counter for 30 minutes before baking.

Mark's Famous Chili

Famous on three continents!

"Chili meat" is coarsly ground beef. You can substitute any kind of ground beef if you can't find the chili grind.

1 onion, finely chopped
4 cloves garlic, finely chopped
3 lb chili meat
1 Tbsp paprika
5-6 Tbsp chili powder
1 Tbsp cumin
1 tsp ground oregano
1 can tomato sauce
1 cup water
1 tsp salt
1/2 tsp cayenne pepper, to taste
1/2 tsp jalepeno pepper, to taste

Brown chili meat. Add all ingredients except peppers. Simmer 1 hr
covered. Add peppers. Simmer 1/2 hr covered. Serve with pinto
beans if desired. Garnish with chopped onions and grated cheese.
If in competition, defer adding spices until just before judging.

Pachelbel Bedtime lyrics

Bathtime and Bedtime at the Crawford house inspired this little ditty.

Why don't you wanna say goodnight
Why is it that you do not go to your bed and sleep tight
until the morning light is coming,
casts its face upon your eyes,
and then you wake to greet the day God has made
and rejoice that you are part of it.

Why do you insist upon the crying and the moaning
and the whining and the screaming and the tantrums and the yelling
and the kicking and the smacking and the biting and the hissies
the one more drink of water and the "one more book please daddy"

and now,

I just want you to go to sleep, I don't want to hear a peep,
from either one, the day is well past done.

And I'm about to lose my mind,
Im gonna tear up your behind,
So nighty night,
Aand don't let the bedbugs bite.

Now it is so quiet and so peaceful
In this once chaotic house
We are are sleeping and we're dreaming
And it's as quiet as a mouse
But what is that familiar sound tiptoeing nearer?

Little steps approaching closer,
No, it can't be what i'm fearing

And it's not - it's just the cat
And she is purring so contently
and she snuggles at my feet,
to be sure it's quite endearing,
my lids relieve my eyes of all the stress that they were feeling
and i turn my head to sleep
but i feel somebody staring
and it's - augh!

She's staring right at me
her eyes are glazed with sleep,
I nearly wet, the sheets upon my bed,
Her lips, are trembling as she speaks,
Now there's color in her cheeks,
She looks so frail,
my heart begins to swell

Now she lays beside me and
she breathes so easily
her dreams are happy
and she sighs a tender sigh so peacefully
she knows her mommy and her daddy and her sissy love her greatly
and we sleep throughout the nighttime
never ever more sedately

and now

morning casts its light upon the pillow
where her head begins to stir
I try to wake her so her kind and gentle dreams
I don't disturb
but as I pull her from her slumber
ever slowly
I know in my heart of hearts exactly where this all is going

and the crying and moaning
and the whining and the screaming and the
"Daddy, you're so mean, how could you interrupt my dreaming",
the brushing of the hair,
and then the clothes they hate to wear,
i need to check the (?) and care
I gave her teddy bear.

And a son, in din in her own school, ???
all the work i travel to,
my mind's a wreck,
i keep hearing songs from Shrek,
I work all day and then go home,
all my stress is mostly gone,

my kids I see, and i pull them in closely,

then we start to do the homework
and the dinner must be started
and gymnastics and piano
and then groceries must be carted
and the smallest one is crying, "won't you hold me" like she's dying
and the oldest one's frustrated with her homework
though she's trying

and dinner's on the table but it's cold
because we waited for the children to get back
from practicing all their cheerleading
now the brocolli is so nasty,
the macaroni's pasty, the meat is tough as leather,
really nothing is quite tasty

so the crying and moaning
and the screaming and the whining
start again, but now the target is asleep
and sometime dining(?)

And I raise my hand in wonder
as I look around the table
how can anyone survive,
is anyone out there enabled

and I think about the laughter, when times are not so hectic,
and I know that though my stomach can get slightly nongo(?) peptic,
when I see their smiling faces when on swings I push them gently,
when I hold their little hands, life could not go more contently,

So the crying and the moaning and the screaming and the kicking
play a very tiny part of all the time my life is ticking,
and the good outweighs the bad, I am more happy than I'm sad,
For all of this I should be glad, I've had it better than my Dad,
You bet I have.

Mark Harrison - Google Profile

Mark Harrison - Google Profile: "Programmer at Pixar
Piedmont, CA"

Hardware/software co-debugging in a hardware description language Nils Endric Schubert et al

Hardware/software co-debugging in a hardware description language Nils Endric Schubert et al:
"signals etc 20 determined using design portions for tagging and can boost lor users TT f jit The button verify and debug written some locatlonf Ts or when used by 25 ments of a XJUI used for GUI implemented

Patent number: 7240303
Filing date: Jun 6, 2003
Issue date: Jul 3, 2007
Inventors: Nils Endric Schubert, Kenneth S. McElvain, John Mark Beardslee, Mario Larouche
Assignees: Synplicity, Inc."

Ironic Sans: Celebrity Patents

Ironic Sans: Celebrity Patents: "So, inspired by Google’s new easy-to-use patent search, I decided to dig up some of the celebrity patents that have been issued over the years. The following 18 20 patents are all by celebrities not usually known for being inventors. You can follow the links to the actual patents to learn more about each one."

Saturday, June 20, 2009

Font Generator - Make Your Own Handwriting Font With Your Fonts

Font Generator - Make Your Own Handwriting Font With Your Fonts: "YourFonts.com is an online font generator that allows you to create your own OpenType fonts within a couple of minutes. Go make your own handwriting as a font!"

Font Garden | Download free fonts | Unique Handwriting Fonts

Font Garden | Download free fonts | Unique Handwriting Fonts: "This is where I write about fonts, me, web design, things I found useful and font deals I find."

Tuesday, June 16, 2009

Weed, Booze, Cocaine and Other Old School "Medicine" Ads - Pharmacy Technician Schools

Weed, Booze, Cocaine and Other Old School "Medicine" Ads - Pharmacy Technician Schools: "Granted, hindsight is 20/20, but some awfully strange substances have been used for pharmaceutical purposes in the past -- and some might argue, continue to be used today. Here are some vintage advertisements touting items that we might balk at taking today."

Monday, June 15, 2009

working with stackoverflow xml dump

Even though the extension says .zip, it is actually 7zip.

Add some newlines to make it easier to fiddle with:

mh@schrute /Volumes/data/Users/mh/so/xml --> cat splitxml.c

#include
int main()
{
int c;
int first = 1;
while ((c = getchar()) != EOF) {
if (c == '<') {
if (first == 1)
first = 0;
else
putchar('\n');
}
putchar(c);
}
}

python xml.sax reports errors on these chars:

grep -l '&#x[0-9][0-9];' *.xml

to fix:

perl -pi -e 's/&#x[0-9][0-9];//g' *.xml

Principles of XML design: When to use elements versus attributes

Principles of XML design: When to use elements versus attributes: "The oldest question asked by adopters of XML is when to use elements and when to use attributes in XML design. As with most design issues, this question rarely has absolute answers, but developers have also experienced a lack of very clear guidelines to help them make this decision. In this article, Uche Ogbuji offers a set of guiding principles for what to put in elements and what to put in attributes."

GovTalk – e-Government Schema Guidelines for XML

GovTalk – e-Government Schema Guidelines for XML: "This document contains guidelines for developing XML Schemas for e-GIF compliant systems. These guidelines include mandatory requirements for XML Schema structure and content, as well as best practice recommendations for schema design."

Friday, June 12, 2009

Fantasy literature: Some magical offerings | The Scriptorium Daily: Middlebrow

Fantasy literature: Some magical offerings | The Scriptorium Daily: Middlebrow: "“Sing, O Muse, of Gollum, of Mr. Tumnus, of Pantalaimon, of the Dementors, of the elfstones, of the black cauldron, of the Old Ones, and of the Aes Sedai”!
What would Homer and Virgil have thought of that?"

Thursday, June 11, 2009

'How the Mighty Fall' - MarketWatch

'How the Mighty Fall' - MarketWatch: "Given the sad fate of General Motors, Fannie Mae, Bear Stearns and scores of other companies that fell on hard financial times, it's a smart time for a best-selling business writer to pen a book titled 'How the Mighty Fall.'"

Wednesday, June 10, 2009

killing session with instance id

SQL> select inst_id,sid,serial# from gv$session where username='SCOTT';

INST_ID SID SERIAL#
---------- ---------- ----------
1 130 620

SQL> alter system kill session '130,620,@1';

Saturday, June 06, 2009

The Volokh Conspiracy - -

The Volokh Conspiracy - -: "Exposure to the wider world, however, has left me persuaded that abstract libertarianism must sometimes give way to the realities of cultures and actual conditions."

Tuesday, June 02, 2009

Easter Eggs in Pixar’s Up | /Film

Easter Eggs in Pixar’s Up | /Film: "Pixar loves to hide Easter eggs in their films, little references to movies and characters from the animation studio’s past and future. Last year we put together a compilation of WALL-E easter eggs, so I thought we’d do the same thing for Pixar’s new film Up. If you haven’t seen the film, be warned that this article references scenes from the film which may be considered spoilers."

Pixar perfect: The people at this studio have important lessons to teach - Kansas City Star

Pixar perfect: The people at this studio have important lessons to teach - Kansas City Star: "Pixar has refined a way of working and living that should be obvious, but that so few other movies - that so few other human beings - are able to follow: Work hard. Surround yourself with the brightest people you know, and put your faith in their opinions. Check your ego at the door."

Saturday, May 30, 2009

Thursday, May 28, 2009

Re: Select failover ORA-25401 when data is imported from an export on a RAC cluster - oracle-l - FreeLists

Re: Select failover ORA-25401 when data is imported from an export on a RAC cluster - oracle-l - FreeLists: "The first issue is that in 10.2, the server-side service-level settings will override the client-side settings. So, you'll need to consult the DBA_SERVICES view (specifically the FAILOVER_TYPE column) to determine if the IUAT_TAF1.ascentanalytics.com service is configured for SELECT failover. If you need to modify the service, consult DBMS_SERVICE.MODIFY_SERVICE."

Publications : Ardent Performance Computing

Publications : Ardent Performance Computing: "This is a collection of links to various guides, articles, papers, and presentations related to Oracle which I have written."

Wednesday, May 27, 2009

Spotify vs OllyDbg

Spotify vs OllyDbg: "sudo dtrace -n 'syscall::write*:entry /execname == 'Spotify' && arg0 == 2/ { trace(copyinstr(arg1)); ustack(); }'"

Monday, May 25, 2009

Gamedesign - Free games and Flash games

Gamedesign - Free games and Flash games: "This site offers Flash and other types of games that are free to download."

Sunday, May 24, 2009

Lileks, Friday, May 22

Lileks, Friday, May 22: "Live long enough, and you’re guaranteed to see the next new thing arrive, thrive, and die. And then comes the next new thing, heralded by those who believe the world began yesterday."

� Blog Archive � Friday, May 22

Lileks: Friday, May 22: "To quote 10 eminent economists: duh."

Friday, May 22, 2009

TAF References

TAF References: "Metalink Notes

97926.1 Failover Issues and Limitations (Connect-time failover and TAF)
231996.1 Quickstart Guide: Setup of Transparent Application Failover (TAF)
276225.1 JDBC Sample on How to Implement OCI TAF callbacks with DML and PL/SQL
226880.1 Configuration of Load Balancing and Transparent Application Failover
404644.1 Configuration of Transparent Application Failover (TAF) with server-side service
453293.1 10g: Configuration of TAF (Transparent Application Failover) and Load Balancing
460982.1 How to Configure Server Side Transparent Application Failover
271297.1 Troubleshooting TAF issues in 10g RAC
337178.1 Which are the Oracle Errors (TAF Events) to be handled for RAC Failover
415245.1 How to make a PRO*C application TAF/RAC aware
428515.1 How to use TAF with instant client
399453.1 How to set up Database Link for Connect Time Failover or Transparent Application Failover
205637.1 Data Guard 9i: Configuring Transparent Application Failover in a Data Guard Environment
"

Saturday, May 16, 2009

Letter from Japan: I ♥ Novels: Reporting & Essays: The New Yorker

Letter from Japan: I ♥ Novels: Reporting & Essays: The New Yorker: "The cell-phone novel, or keitai shosetsu, is the first literary genre to emerge from the cellular age. For a new form, it is remarkably robust. Maho i-Land, which is the largest cell-phone-novel site, carries more than a million titles, most of them by amateurs writing under screen handles, and all available for free. According to the figures provided by the company, the site, which also offers templates for blogs and home pages, is visited three and a half billion times a month."

Tuesday, May 12, 2009

Famous People Painting with Wiki Links | Historical Figures With Image Mapping

Famous People Painting with Wiki Links | Historical Figures With Image Mapping:

"Discussing the Divine Comedy with Dante
Painting by Dai Dudu, Li Tiezi, and Zhang An, 2006, oil on canvas - Image mapping with titles and wikipedia links"

Sunday, May 10, 2009

Toilet Valves, HydroClean, Toilet Parts, Toilet Plumbing, Water Conservation – MJSI

Toilet Valves, HydroClean, Toilet Parts, Toilet Plumbing, Water Conservation – MJSI: "The HydroRight quickly and easily converts your toilet into a water-saving dual flush toilet. Quick flush for liquids and paper. Full flush for solids."

Friday, May 08, 2009

IEEE Spectrum: 25 Microchips That Shook the World

IEEE Spectrum: 25 Microchips That Shook the World: "For each chip, we describe how it came about and why it was innovative, with comments from the engineers and executives who architected it. And because we’re not the IEEE Annals of the History of Computing, we didn’t order the 25 chips chronologically or by type or importance; we arbitrarily scattered them on these pages in a way we think makes for a good read. History is messy, after all."

Saturday, April 25, 2009

Learning Python, Linux, Java, Ruby and more with Videos, Tutorials and Screencasts

Learning Python, Linux, Java, Ruby and more with Videos, Tutorials and Screencasts: "Showmedo is about learning and (Free and) Open-source software (FOSS). We were inspired to start Showmedo by watching some very effective web video-tutorials/screencasts. These convinced us that web-videos can be a great way to quickly and efficiently acquire knowledge. It can even be fun, or at least painless. For some things there is no substitute to seeing it done."

Pittsburgh Pattern Recognition

Pittsburgh Pattern Recognition: "Here we illustrate the face mining concept for the TV series Star Trek. Specifically, we applied our state-of-the art algorithms in face detection, face tracking and face recognition to 67 Star Trek episodes over three seasons. This process automatically extracts all visible face tracks, and clusters these into a small number of same-person groupings. Currently, we recognize frontal or near-frontal tracks. In the near future, we will extend our results to non-frontal tracks as well.

Given our face mining output, it took a person less than five minutes to assign names to all the main characters (Kirk, Spock, Mccoy, Uhura, Scotty, Sulu and Chekov) and a couple of minor ones (Janice, Nurse Chapel) across all 67 episodes."

Reading for Pleasure and Instruction - John Derbyshire - The Corner on National Review Online

Reading for Pleasure and Instruction - John Derbyshire - The Corner on National Review Online: "Reading for duty is a miserable business, from which little is gained. It's much better, certainly for teens, to read second-rate stuff that engages one's attention, than classics that leave you cold."

The Corner on National Review Online

The Corner on National Review Online: "Reading for duty is a miserable business, from which little is gained. It's much better, certainly for teens, to read second-rate stuff that engages one's attention, than classics that leave you cold. In my own teens I read almost nothing but science fiction." - John Derbyshire

Tuesday, April 21, 2009

Exclusive Toad World Freeware

Exclusive Toad World Freeware: "The PL/Vision Code Library provides over 1,000 PL/SQL functions and procedures that extend the capabilities of the PL/SQL language."

Greg Mankiw's Blog: Fiscal Responsibility

Greg Mankiw's Blog: Fiscal Responsibility: "To put those numbers in perspective, imagine that the head of a household with annual spending of $100,000 called everyone in the family together to deal with a $34,000 budget shortfall. How much would he or she announce that spending had to be cut? By $3 over the course of the year--approximately the cost of one latte at Starbucks. The other $33,997? We can put that on the family credit card and worry about it next year."

OTL 4.0, Example 585 (Oracle Change Notification via otl_subscriber)

OTL 4.0, Example 585 (Oracle Change Notification via otl_subscriber): "This example demonstrates Oracle Change Notification Interface via otl_subscriber."

Monday, April 20, 2009

understanding hype cycles

understanding hype cycles:

A Hype Cycle is a graphic representation of the maturity, adoption and business application of specific technologies.

1. 'Technology Trigger'
2. 'Peak of Inflated Expectations'
3. 'Trough of Disillusionment'
4. 'Slope of Enlightenment'
5. 'Plateau of Productivity'

Friday, April 17, 2009

Building Ruby on Rails with Oracle Instantclient

- build ruby, gem, rails as per http://rubyonrails.org/download
build ruby
build gem
use gem to install rails
- get instantclient
instantclient-basic
instantclient-sdk

note: build against this, ok to run against the .so's in /usr/lib
- on mac, make this link
cd .../instantclient_10_2
ln -s libclntsh.dylib.10.1 libclntsh.dylib
- build ruby-oci8 from http://ruby-oci8.rubyforge.org/en/index.html
export DYLD_LIBRARY_PATH=.../instantclient_10_2
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
- test (this is on one line)
ruby -r oci8 -e "OCI8.new('nm/pass@db').exec('select * from user_tables') do |r| puts r.join(','); end"
- Install the activerecord-oracle_enhanced-adapter gem, NOT, as many pages out-of-dately specify, activerecord-oracle-adapter
gem install activerecord-oracle_enhanced-adapter
config/database.yml:
development:
adapter: oracle_enhanced
database: orcl # or, host:
username: scott
password: tiger
- do that sweet rails thing:
rails mhtest
cd mhtest
ruby script/generate scaffold comic title:string issue:integer publisher:string
rake db:migrate
ruby script/server
- hooray, it works
http://localhost:3000/comics
- references:

http://emphaticsolutions.com/2008/05/22/connecting-to-oracle-from-ruby-on-rails.html
http://www.oracle.com/technology/pub/articles/saternos-ror-faq.html
http://drawohara.com/post/37166893/rails-unsucking-oci-oracle-on-rails-2-1
http://www.oracle.com/technology/pub/articles/haefel-oracle-ruby.html

HowStuffWorks "How Corrective Lenses Work"

HowStuffWorks "How Corrective Lenses Work": "Corrective lenses can be made with glass or plastic, but nowadays, plastic is the most common. While several different types of plastic are used in making lenses, all of them follow the same general manufacturing procedures. Most of the steps outlined also apply to glass, although a few important differences are noted at the end.

A lab, even an automated one, follows 12 steps to make prescription lenses:"

Connecting to Oracle from Ruby on Rails

Connecting to Oracle from Ruby on Rails: "I’ll assume that the desired goal is to have an “application server”, which hosts your Rails app, connect to a remote database server, running some recent version of Oracle (8i )."

Laramy-K Optical Lab - Lens Form: Sphere, Cylinder, and Axis

Laramy-K Optical Lab - Lens Form: Sphere, Cylinder, and Axis: "Practically speaking, the laboratory has a limited number of curve combinations with which to work. Lens blanks come from manufacturers with a limited selection of front curves, also known as base curves, with suggested power ranges for each. Furthermore, since aberrations occur as the eye moves away from the optical center of the lens, the lab will choose curves that minimize aberrations. Lenses with curves chosen to minimize aberrations are called 'corrected curve' or 'best form' lenses."

Monday, April 13, 2009

Ask Tom: On Top-n and Pagination Queries

Ask Tom: On Top-n and Pagination Queries: "Our technologist gets more results using ROW_NUMBER, RANK, and DENSE_RANK."

Saturday, April 11, 2009

InfoQ: Facebook: Science and the Social Graph

InfoQ: Facebook: Science and the Social Graph: "In this presentation filmed during QCon SF 2008, Aditya Agarwal discusses Facebook’s architecture, more exactly the software stack used, presenting the advantages and disadvantages of its major components: LAMP (PHP, MySQL), Memcache, Thrift, Scribe."

Friday, April 10, 2009

Mt. Holly Mayor's Office: World War I re-enacted by dogs!

Mt. Holly Mayor's Office: World War I re-enacted by dogs!: "More from the Dogville Shorts! 'Vell Mr. Schmartalec, zoon you will be a frankfurrrrtar!!!!!'"

IP address geolocation SQL database

IP address geolocation SQL database: "The SQL database behind iplocationtools.com is offered for free."

The 48 Laws of Power

The 48 Laws of Power: "by Robert Greene and Joost Elffers"

Wednesday, April 08, 2009

FT.com / Comment / Opinion - Ten principles for a Black Swan-proof world

FT.com / Comment / Opinion - Ten principles for a Black Swan-proof world: "Then we will see an economic life closer to our biological environment: smaller companies, richer ecology, no leverage. A world in which entrepreneurs, not bankers, take the risks and companies are born and die every day without making the news.

In other words, a place more resistant to black swans."

Tuesday, April 07, 2009

jQuery plugin: Tablesorter 2.0

jQuery plugin: Tablesorter 2.0: "tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell."

James Gardner � My Experience of Using reStructuredText to Write The Definitive Guide to Pylons

James Gardner � My Experience of Using reStructuredText to Write The Definitive Guide to Pylons: "All in all I thoroughly enjoyed working with reStructuredText. As is described in the book, it is possible to generate a PDF directly from reStructuredText using a tool called Sphinx and although I know the styling and level of control isn’t sufficient for a production book yet I’d very much look forward to the day when I can write a book with production-quality formatting directly from reStructuredText without needing to jump through the Word and PDF hoops."

Saturday, April 04, 2009

Trifocal Glasses, Trifocal Eyeglasses, Tri focal, Trifocal Lenses,

Trifocal Glasses, Trifocal Eyeglasses, Tri focal, Trifocal Lenses,: "Trifocal Glasses Lenses contain three focal points, usually for distance, intermediate and near vision. A tri focal lens has an added segment above the bifocal for viewing objects in the intermediate zone, which is approximately arm's length away. Trifocal lenses are available with the reading segments in a variety of shapes and widths. The most popular is the flat-top (also known as straight-top or D-segment), 28 millimeters wide. Eyeglass Lens Direct offers a number of options for the trifocal lens wearer. To find out more about our selection of lenses for trifocal eyeglasses, search for Regular Plastic (CR-39) Trifocals, Polycarbonate Trifocals, High Index Trifocals, Photochromic Lenses, including Transitions Trifocals, Polarized Trifocals, and other eyeglass and sunglass tri focal lens options."

JEMoptical YOUR ONLINE EYEGLASS STORE - Re-lens your frame

JEMoptical YOUR ONLINE EYEGLASS STORE - Re-lens your frame: "Re-Lens your old (own) frames
$24.95 - Includes Single Vision Lenses

Have an old frame you just love? Buy a frame on eBay? Given a frame? We can help. Let us put your new prescription in that frame.

We make it simple for you. Just select your options below, enter your new RX when requested and send your frame to us at:

JEMoptical
12951 Walsingham Rd
Largo, Fl 33774"

Mu Dynamics Research Labs � Blog Archive � Interactive CouchDB

Mu Dynamics Research Labs � Blog Archive � Interactive CouchDB: "Interactive CouchDB is an emulator written in 100% JavaScript with tons of jQuery thrown in. It also implements the collation schemes as well as the map/reduce algorithms. While it doesn’t demonstrate replication, conflict management and a host of other capabilities in CouchDB, it does strive to illustrate concepts like schema-less JSON documents, map/reduce and how these things fit together.

You can try out the emulator here. Let us know what you think."

It’s very easy to underprice your product - Venture Hacks

It’s very easy to underprice your product - Venture Hacks: "And Sandy gulped and picked the biggest number she thought anybody would ever rationally pay. And said, “$75,000″. And she said all the buyer did was write down $75,000.

And she realized, shit, she left money on the table. Sandy Kurtzig was awesome. And she said, “Per year.”

And the buyer wrote down, “Per year.”

And she went, oh, crap what else? She said, “There’s maintenance.”

He said, “How much?”

“25 percent per year.”

And he said, “That’s too much.”

She said, “15 percent.”

And he said, “OK.”"

Sunday, March 29, 2009

Internet Anagram Server / I, Rearrangement Servant : anagram, anagram, software, anagramme, anagrama, wordplay, word play, anagram creator, anagram solver, anagram finder, anagram generator, anagram maker, anagram unscrambler, anagram machine, crossword, transmogrify, pangram, shuffle

Internet Anagram Server / I, Rearrangement Servant : anagram, anagram, software, anagramme, anagrama, wordplay, word play, anagram creator, anagram solver, anagram finder, anagram generator, anagram maker, anagram unscrambler, anagram machine, crossword, transmogrify, pangram, shuffle: "Did you know that parliament is an anagram of partial men? Or, Clint Eastwood an anagram of Old West Action? Someone once said, 'All the life's wisdom can be found in anagrams. Anagrams never lie.' Here is your chance to discover the wisdom of anagrams."

Tolkien Reading Day - The Tolkien Society

Tolkien Reading Day - The Tolkien Society: "That enquiry was sent to the Tolkien Society in January 2002. The then committee liked the idea and after a certain amount of discussion picked March 25th as “Tolkien Reading Day”. The rest, as they say, is history!"

DVD | Brain Rules |

DVD | Brain Rules |: "Welcome paper back readers

Watch the DVD as an introduction to the book"

Saturday, March 28, 2009

Balsamiq Mockups Home | Balsamiq

Balsamiq Mockups Home | Balsamiq: "Using Balsamiq Mockups feels like you are drawing, but it's digital, so you can tweak and rearrange controls easily, and the end result is much cleaner. Teams can come up with a design and iterate over it in real-time in the course of a meeting."

Thursday, March 26, 2009

Mastering Oracle SQL: Chapter 7: Set Operations

Mastering Oracle SQL: Chapter 7: Set Operations: "As we can see the CUSTOMER_KNOWN_GOOD and CUSTOMER_TEST tables have the same structure, but different data. Also notice that none of these tables has a primary or unique key; there are duplicate records in both. The following SQL will compare these two tables effectively:

(SELECT C1.*, COUNT(*)
FROM CUSTOMER_KNOWN_GOOD C1
GROUP BY C1.CUST_NBR, C1.NAME
MINUS
SELECT C2.*, COUNT(*)
FROM CUSTOMER_TEST C2
GROUP BY C2.CUST_NBR, C2.NAME)
UNION ALL
(SELECT C3.*, COUNT(*)
FROM CUSTOMER_TEST C3
GROUP BY C3.CUST_NBR, C3.NAME
MINUS
SELECT C4.*, COUNT(*)
FROM CUSTOMER_KNOWN_GOOD C4
GROUP BY C4.CUST_NBR, C4.NAME);

CUST_NBR NAME COUNT(*)
----------- ------------------------------ ----------
2 Samsung 1
3 Panasonic 3
2 Samsung 2
3 Panasonic 1"

Oracle PL/SQL Code Library and Resources

Oracle PL/SQL Code Library and Resources:
"(Formerly known as 'Morgan's Library)"

Tuesday, March 24, 2009

TigerMikeMemos - very funny

TigerMikeMemos - very funny: "Described as 'real man memos,' these inter-office communications from Tiger Oil Company owner Edward Mike Davis are a hoot!"