Monday, January 04, 2010

Autohotkey Eases Command Prompt Navigation

You're looking at a folder with Windows Explorer. Can you click in the path (which means windows will now select it) and hit a hotkey combo to open a Command Prompt window ready at that path?

With Autohotkey, yes.

(without AHK, it's this incredibly complex procedure)

But, we're saved :

Windows 2K :

#c::
Send ^c ; copy the text
CoordMode, Mouse, Relative
Run cmd.exe
WinWaitActive,cmd,,0.5
Send cd{Space}
Click right 110,70
Send {Enter}
CoordMode, Mouse
Return

Windows XP :

#c::
Send ^c ; copy the text
CoordMode, Mouse, Relative
Run cmd.exe
WinWaitActive,cmd,,0.5
Send cd{Space}
Click right 110,70
Send {Down}{Down}{Down}
Send {Enter}{Enter}
CoordMode, Mouse
Return

It's not pretty:) but it works. Sure, there's more than one way to do it.

Sunday, January 03, 2010

MyFav : AHK : Suspend

That's a really useful hotkey - suspend all the other hotkeys.

If you're using the Easy Window Drag (KDE Style) script, be sure to put this line after the "CoordMode, Mouse" segment, or you'll see some funny stuff.

All you need is

^!Rbutton::Suspend

Just one small line for you, one giant leap for your productivity. Choose any other key combo you like - I picked CTRL-ALT-RIGHTMOUSE here.

Another one to consider :

#c::Run calc.exe

See, that's the smart way to launch the calculator when you need it. Cavemen go through the Start menu, to accessories, then whatever. Same for Paint. All you have to do is launch the task manager and find out what the name of the program is - you usually can find it because it'll be named meaningfully.

Friday, January 01, 2010

C.a.r.e.s.s. the Art of Listening

Day eight of the mastery course.

C : concentrate
a : acknowledge
r : respond
e : emotional control - don't get your buttons pushed and tune out
s : sensing the non-verbals - vocal and visual
s : structure - paying attention to the verbal

Tuesday, December 29, 2009

Retired Life

I have read some good trading books.

There is the classic "Technical Analysis of Stock Trends" by Edwards, Magee,
and Bassetti.
Another is "Trade Your Way to Financial Freedom" by Van K Tharp.

I have a long reading list that I am still working my way through.

(from an older, wiser friend)

Sunday, December 27, 2009

Articulation - The Power of Communication

Why are social skills so important (coming from someone who wished he had started training much earlier :) ). Here's one angle to consider : The better you are with people, the easier you open up and talk about what's important to you. Smart people discuss ideas. Ideas are your real children. Have you thought about why you have ideas that you never talk about? Because you're afraid of having them mocked at. You want to protect your children. But, with good social skills, you can create a safe place for your ideas in minutes. I was surprised today to hear myself articulate how what I really want to be doing is building security systems and applications - how I want to be in surveillance and remote monitoring. That is the key to this country going green and cutting costs in healthcare and achieving energy independence. We can do it if we approach it the right way. We are spending way too much money having people watch our backs when they could be doing more useful work.

Thursday, December 17, 2009

How Fast is a Wilson Current Mirror?

Assuming you want a reasonable phase margin (meaning, if you have two poles, keep the 2nd one at 2x UGB).

You'll see why your PMOS mirror usually gets away without any explicit compensation cap..

If we assume,

Then, assuming the source follower works good (i.e., its Cgs doesn't come into play because its V(S) = V(S) due to unity gain.. (nice, in reality, you don't get that because of the gmbs - so, straightaway, some of the CGS *has* to come into play)

Also, assuming that 
We get, if you go around the loop,
and 

So, if one substitutes the expression for gm, one gets, again, using 
What we are interested in is, how fast will the cap that the input current sees take to charge to the final voltage. Or, how does this Cc (which is what the I_in now sees) compare with the effective input cap for a simple current mirror? If you call that cap C_simple, it has to be 2 * W1 * L1 *Cox

Giving

Moral? If you want to see a benefit, keep the mirror devices' aspect ratio as low as possible and the aspect ratio of the cascode (which does the unity gain buffer role) devices as large as possible.

Saturday, October 17, 2009

NEdit word delimiters

For some reason, unknown to me, on RHEL4, with Gnome, the word delimiters in my .Xdefaults weren't taking effect - so '/' was a delimiter, due to which I couldn't select a whole pathname with a double-click.

Fixed by

ln -s .Xdefaults .Xresources

Sunday, October 11, 2009

I Could Pick Up Julia Roberts if She Were Single

Also sprach meine freund. He says there are three rules :

1) Eliminate all desire
2) Do something nice with the girl
3) Retreat. Don't pursue

You should make a spiritual non-religious connection with the girl. What they are thinking about is :

1) How interesting will their life be with you
2) How good a father will you make

There you have it. Now go forth and multiply.

Richard Mulvey : The 4 Minute Man

Check out a segment by this South African. Might be useful.

http://www.youtube.com/watch?v=yPzclUzBa1I

Maybe you need to buy new clothes if a certain meeting is important to you.

Wednesday, October 07, 2009

Conner's Specialty : Stating the Obvious

He had to write a book after a great year. Problem is, he did it because he had to do it. Result, a painfully mediocre effort. The only useful stuff is on pgs 13-15 :

Self-image : make mental affirmations to improve your behaviour. Your conduct must reinforce the positive image you have of yourself.

How do you come across? Dress? Resume? Homework? Think ahead of what kind of image you'll be projecting in the moment of truth.

How do you speak about your expectations? Salary? You must know what you want and where you want to go. Responsibilities you'd like to have? Think about all this in advance. You must have a clear statement when faced with these questions. What questions do you have for your interviewer? Consider "Where do you expect this co to be in x years?", "Whom do u consider your biggest c?", "What's been your most successful line de prods?" worthwhile, as opposed to "What kind of quals are you lookng for?", "Is there room for promo?", "When will I have my first PR?".

Like I said, obvious.