Video: Understanding the Chances of Winning Lotto 6 49


Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94


Understanding the Chances of Winning Lotto 6 49

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube

How to install Docco.coffee on Windows 7


Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94

Docco.coffee requires the following to run.

  1. Node.js
  2. Python
  3. CoffeeScript
  4. Pygments
  5. Docco

Step 1:
Download and install Node.js and Python 2.7. Python 3.2 might work but I haven’t yet tried it out.

Step 2:
Add the root and ‘node_modules’ directories for node.js and the root and “Script” directory for python 2.7 to your path environment variable.
C:\nodejs;%userprofile%\node_modules\.bin;C:\python27;C:\Python27\Scripts;

Step 3:
Open up a command prompt, start -> run -> type “cmd”.

Type npm install coffee-script
*You should see installation output on the screen*

Type npm install docco
*You should see installation output on the screen*

Step 4:
Download ez_setup
In command prompt, navigate to where you downloaded ez_setup.py.
Type in python ez_setup.py.

Step 5:
In command prompt type easy_install pygments to install Pygments.

Done.

Test
Download ‘underscore.js’ to your desktop.

Open up a command prompt and type in docco %userprofile%\desktop\underscore.js.
You should see two output files, “p” and “docs”.
The annotated source code is the html file in the docs folder.

Enjoy!

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube

IT Business Start Up Guide


Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94

IT Business Start up Guide

By Larry Battle
The following are 10 simple steps that you can take to successfully turn your idea into a marketable product or service. This guide is more geared to software startups.

  1. Create a Business Plan & Product Document
    Construct a product or service that solves a problem.
    Verify with others that the product or service is marketable.
    Or find at least 3 potential customers willing to buy your product or service.
    Note that you need to involve at least one customer throughout the entire start up process.
    Process: Develop a document that describes the following information.

    • Your product or service
    • Audience / Marketplace
    • Competition
    • Schedule with deadlines
    • Financial Projections
    • Startup cost
    • Business Plan (How are you going to make money?)
    • Market and Sells Strategy
    • Limitations
    • Team Members
    • Exit Plan
  2. Create a Requirements Document
    Define what your product or service does, what it come with and how you’re going to make the customer happy.
    Process: Develop a document that contains the following information.

    • Product Name
    • Deliverables (what is it you’re making)
    • Customer Requirements (What are the customer wants)
    • Functional Requirements (What are the functionalities)
    • Environment / System Requirements (What will this work with)
    • External components
    • Diagrams for Overview, Software and /or hardware
    • Hardware components
    • Limitations
    • Assumptions
    • Team Roles

  3. Create a Architecture Document
    This documents converts the requirement/product/services into simple abstract layers.
    Process: Develop a document that contains the following information.

    • Programming Language / Framework / Software Used
    • Layers
    • Customer Requirements to Layers Matrix
    • Diagrams of Layers and Data Flow
    • Simple Data flow
    • Use Cases
    • Simple GUI Mock-up
  4. Create a Detailed Design Document
    This document will discuss the sub-layers within the layers and define data-flow between them.
    Process: Develop a document that contains the following information.

    • Layers
    • Sub-layers
    • Diagrams of Layers, sub-layers and Data Flow
    • Data Flow Definitions
  5. Create a Test Plan Document
    Create Test cases.
    Process: Develop a document that contains the following information.

    • System Test Plan
    • Integration Test Plan
    • Unit Tests Plan

  6. Develop a working prototype of your Product or Service
    Develop a prototype of the working system.
    I prefer to use test driven development (TDD).
    TDD steps are to Write a test case, watch it fail, program it to pass, re-factor.
  7. Convert your product from beta to a final product / service
    Work with beta testers and customers to improve your product / service to a final working product or service.
  8. Perform System Verification
    Check to see if the system works and have fulfilled all the requirements.
  9. Get ready for release
    Create the following items

    • Product/Service Packaging
    • License and warranty
    • Support information
    • Company website release page
    • Demo setup
    • Payment System
    • User guide and other documentation
  10. Release and start marketing
    Release to the public, market the product/service and rake in the cash.
    You can do stuff like …

    • Video Demonstrations
    • Buy Ads
    • Press Release
    • Attention getting stunts

Done.

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube

10 Minute Tutorial over Logarithms with a Mix of Javascript


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/bateeqjg/public_html/news/wp-content/plugins/wp-syntax/wp-syntax.php on line 380

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/bateeqjg/public_html/news/wp-content/plugins/wp-syntax/wp-syntax.php on line 380

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/bateeqjg/public_html/news/wp-content/plugins/wp-syntax/wp-syntax.php on line 380

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/bateeqjg/public_html/news/wp-content/plugins/wp-syntax/wp-syntax.php on line 380

Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94


Summary:
This tutorial will provide a simple overview of logarithms.

What are Logarithms?
Logarithms are used to determine the exponent needed to receive a certain value with a particular base.

Example: Log 100 = 2. Since 10^2 = 100.

Here’s a short video explaining logarithms more in-depth with a practical example.

The most common bases used for logarithms are base 10 and E. With base E logarithms normally referred to as the natural logarithm.
In Javascript, the function Math.log returns the natural logarithm of the argument instead of a base 10 logarithm. This can cause some confusion for those unaware of this fact.

Math.log( 100 ) == 2 // returns false
Math.log( 100 ) // returns 4.605170185988092

So how can one use a different base other than E? Well, it simple. All you have to do is take the log of the value that you want, then divide that by the log of the desired based.
Like so.

Math.log( x ) / Math.log( desiredBase );

Here’s a user defined function that does the same operation.

/**
* @function Math.logx
* @purpose: To provide the logarithm for any base desired. Default base is 10.
* @returns a number.
*/
Math.logx = function(x,base) {
    return (Math.log(x)) / (Math.log(base | 10 ));
}

And now, we can calculate log 10 as 2 instead of another number.

Math.log( 100 ) == 2    // returns false
Math.logx( 100 ) == 2   // returns true

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube