January 2007 Archives

Log4net

| | Comments (0) | TrackBacks (0)

Log4net is the .NET version of log4j. In order to use it you must do the following:

  1. Reference log4net-net-1.1.dll
  2. In each class include the following
    1. using log4net;
    2. private static log4net.ILog s_log = 
        LogManager.GetLogger(
          System.Reflection.MethodBase.
          GetCurrentMethod().DeclaringType);
  3. Goto Project->Add New Item->Application Configuration File. This will create a file called App.Config
  4. Enter log4net config info into App.Config. Here is a sample file: SampleAppConfig
  5. In AssemblyInfo.cs add the following to the end of the file: [assembly: log4net.Config.DOMConfigurator(Watch=true)]

Security and passwords

| | Comments (0) | TrackBacks (0)
  1. Store
    1. username
    2. salt
    3. hash(salt+password)
  2. Retrieval
    1. User prompted for username and password
    2. client code retrieves salt, calculates hash of salt+password
    3. passes username/salted&hashed password for authentication

[Excerpted from MSDN]

Release of ASP.NET Ajax 1.0

| | Comments (0) | TrackBacks (0)
*Release of ASP.NET Ajax 1.0 http://weblogs.asp.net/scottgu/archive/2007/01/23/asp-net-ajax-1-0-released.aspx

Stock Screeners

| | Comments (0) | TrackBacks (0)
*Stock Screeners http://www.thekirkreport.com/2007/01/24/index.html

The Real Hustle

| | Comments (0) | TrackBacks (0)
[The Real Hustle - How To Get Free Drinks 2]
[The Real Hustle - The Bag & Pin Snatch]
[The Real Hustle - The Cash Card Switch]
[The Real Hustle - Home Alone]
[The Real Hustle - The Drop Box]
[The Real Hustle - The Long Stick]
[The Real Hustle - Keylogger Scam]
[The Real Hustle - The Jewellery Shop Scam]
[The Real Hustle - The Mustard Dip]
[The Real Hustle - PickPocket]
[The Real Hustle - Laptop Theft]
[The Real Hustle - The Window Tap]
[The Real Hustle - The WiFi Scam]
[The Real Hustle - The Hardware Hustle]
[The Real Hustle - Scratch Card Swindle]
[The Real Hustle - The Booster Bag Scam]
[The Real Hustle - The Lottery Scam]
[The Real Hustle - The Jam Auction]
[The Real Hustle - The Laptop Switch]
[The Real Hustle - Fairground Scam - Tin Cans]
[The Real Hustle - Fairground Scam - Hoops]
[The Real Hustle - The I.D Theft Hustle]
[The Real Hustle - FairGround Scam]
[The Real Hustle - The Jacket PickPocket]
[The Real Hustle - Fake Estate Agent]
[The Real Hustle - The Counterfeit Cash Con]
[The Real Hustle - The Change Raising Con]
[The Real Hustle - The CoinToss Con]
[The Real Hustle - The Monte]
[The Real Hustle - The Customs Sieze Scam]
[The Real Hustle - Organic Skin Care Scam]
[The Real Hustle - The Courier con]
[The Real Hustle - The Counterfeit Cash Con]
[The Real Hustle - The Car Park Con]
[The Real Hustle - Fake Waiter Scam]
[The Real Hustle - auction/sale scam]
[The Real Hustle - Daily Cons And How to stop them]
[The Real Hustle - House Burglary Without Breaking In!!]
[The Real Hustle - Make easy money in 2 minutes (Con)]

March of the Emperors

| | Comments (0) | TrackBacks (0)
*March of the Emperors http://www.youtube.com/watch?v=fZ_mlwnAmr0

Jerry Seinfeld

| | Comments (0) | TrackBacks (0)

Jerry Seinfeld's place on 139 West 83rd

Ruling against Seinfeld that he must pay realtor money for home he bought.

The address: 155 West 82nd Street

Map of the location

PropertyShark listing
Registration shows that it sold for 3.95 million on 20 Apr 2005. (The NY Times story says it sold in Feb 2005.) Title shows it was sold by Ray M. Mayeri to Amsterdam 82 LLC.

Amsterdam 82, LLC
2971 Bellmore Ave
Bellmore, NY 11710-4313
12/9/2005

A google shows that a permit was issued to Amsterdam LLC on 2006-02-27, and the business owner of Amsterdam 82 LLC is Caroline Liebling.

A google of "Caroline Liebling" shows that she is Jerry Seinfeld's sister.

Panoramic view of the house

This story claims that the property was bought for staff and guests.

And, this address was the home of Fidel Castro in 1949.

Phone call encryption

| | Comments (0) | TrackBacks (0)
*Phone call encryption http://gizmodo.com/gadgets/gadgets/the-secure-phone-miser-telephone-conversation-encryption-device-175953.php

Microsoft SQL Server 2005 Compact Edition

| | Comments (0) | TrackBacks (0)

Spread trade systems

| | Comments (0) | TrackBacks (0)
System requires confirmation and validation from all three signals
(1) 5-day MA vs. 20-day MA
buy on 5-day crossing above 20-day sell on 5-day crossing below 20-day
(2) RSI bullish
RSI crosses above 50 bearish RSI crosses below 50
(3) MACD
Hist rising MACD Hist

close protective puts on bullish signal bull put spread http://www.investopedia.com/terms/b/bullputspread.asp add protective put - on a sell signal - before earnings announcement I WILL HOLD MY PROTECTIVE PUT UNTIL THE STOCKS HAS FOUND A LEVEL OF SUPPORT BEFORE I MAKE ANY ADJUSTMENTS TO MY PROTECTIVE PUTS

Reminiscences of a Stock Operator

| | Comments (0) | TrackBacks (0)

New Year's Resolution: Avoid Traders' Top 10 Mistakes

New Year's Resolution: Become a more profitable trader.

Easier said than done.

Achieving sustained success in trading requires avoiding numerous pitfalls as much as it does seeking out and executing winning trades. In fact, most professional traders will tell you that it's not any specific trading methodologies that make them successful but rather the overall rules to which they adhere that keep them "in the game" long enough to achieve success.

Following are 10 of the more prevalent mistakes I believe traders make in trading stocks and other markets. This list is in no particular order of importance.

  1. Failure to have a trading plan in place before a trade is executed. Without a specific plan, a trader does not know, among other things, when or where he will exit the trade or how much money may be made or lost. Traders with no predetermined trading plan are flying by the seat of their pants, and that's usually a recipe for a "crash and burn."
  2. Inadequate trading assets or improper money management. It does not take a fortune to trade the stock or futures markets successfully. Traders with less than $10,000 in their trading accounts can and do trade successfully. And traders with $50,000 or more in their trading accounts can and do lose it all in a heartbeat. Part of trading success boils down to proper money management and not gunning for those high-risk "home-run" type trades that involve too much capital at one time.
  3. Expectations that are too high, too soon. Beginning traders who expect to quit their "day jobs" and make a good living trading in their first few years are usually disappointed. You don't become a successful doctor or lawyer or business owner in the first couple of years of the practice. It takes hard work and perseverance to achieve success in any field of endeavor -- and trading is no different. Trading markets is not the easy, "get-rich-quick" scheme that a few unsavory characters make it out to be.
  4. Failure to use protective stops. Using protective buy or sell stops upon entering a trade provide a trader with a good idea of how much money he or she is risking on that particular trade, should it turn out to be a loser. Protective stops are a good money-management tool, but they're not perfect. There are no perfect money-management tools in futures trading.
  5. Lack of "patience" and "discipline." While these two virtues are overworked and very often mentioned when determining what unsuccessful traders lack, not many will argue with their merits. Indeed: Don't trade just for the sake of trading or just because you haven't traded for a while. Let those very good trading "setups" come to you, and then act upon them in a prudent way. The market will do what the market wants to do -- and nobody can force the market's hand.
  6. Trading against the trend -- or trying to pick tops and bottoms in markets. It's human nature to want to buy low and sell high (or sell high and buy low for short-side traders). Unfortunately, that's not a proven means of making profits in futures trading. Top-pickers and bottom-pickers are usually trading against the trend, which is a major mistake.
  7. Letting losing positions ride too long. Most successful traders will not sit on a losing position for very long. They'll set a tight protective stop, and if it's hit, they'll take their losses (usually minimal), then move on to the next potential setup. Traders who sit on a losing trade "hoping" the market will soon turn in their favor are usually doomed.
  8. "Overtrading." Trading too many markets at one time is a mistake -- especially if you are racking up losses. If losses are piling up, it's time to cut back on trading, even though the temptation is to make more trades to recover the recently lost assets. It takes keen focus and concentration to be a successful futures trader. Having "too many irons in the fire" at one time is a mistake.
  9. Failure to accept complete responsibility for your actions. When you have a losing trade or are in a losing streak, don't blame your broker or someone else. You are responsible for your own success or failure in trading. You make the decisions. If you feel you are not in firm control of your own trading, then why do you feel that way? You should make immediate changes that put you in firm control of your own trading destiny.
  10. Not getting a bigger-picture perspective on a market. One can look at a daily bar chart and get a shorter-term perspective on a market or stock trend. But a look at the longer-term weekly or monthly chart for that same market can reveal a completely different picture. It is prudent to examine longer-term charts for that bigger-picture perspective when contemplating a trade.

About this Archive

This page is an archive of entries from January 2007 listed from newest to oldest.

December 2006 is the previous archive.

February 2007 is the next archive.

Find recent content on the main index or look in the archives to find all content.