Chris West's Blog

  • Home
  • Site Search
  • About Me
  •  YourJS
  • Search for:

JavaScript, Math, and much more.

Blog

JavaScript – Semicolons Are Almost Never Needed

Instead of rewriting the article myself, I figured it is better to simply link to it: http://mislav.uniqpath.com/2010/05/semicolons/. After reading this article, do remember that just because it is stated that they are not needed doesn’t mean that it is bad Read more…

By Chris West, 13 years ago May 8, 2012
Blog

POW Answer – Differences In Languages

This is the answer to the Problem of the Week that was posted on April 30. The desired answer is 0. The reason is because “11” in binary is actually equal to 3. Therefore 3 – 3 = 0. On Read more…

By Chris West, 13 years ago May 7, 2012
Blog

POW – 0.99999 Repeating Equals One?

How can you prove or disprove that 1 = 0.999999…? The answer to this Problem of the Week can be found here.

By Chris West, 13 years ago May 7, 2012
Blog

JScript – Copy Text To Clipboard

If you are writing a JScript and need a way to copy some text to the clipboard, you can use the following definition: Here is an example code block that calls this function: This function relies on the existence of Read more…

By Chris West, 13 years ago May 4, 2012
Blog

JScript – Recursively Call A Script

Have you ever wondered how you can recursively call a JScript? Here is an example which shows how it can be done: It is important to note that the above example will not pass any variables that were passed to Read more…

By Chris West, 13 years ago May 3, 2012
Blog

JavaScript – String.prototype.times Imitation

One of my favorite things about JavaScript is the ability to use certain functions to do unexpected things. The following shows you the code that could be used to imitate Prototype’s corresponding function: Basically the above code creates a new Read more…

By Chris West, 13 years ago May 2, 2012
Blog

Regular Expression Examples

One of the things that I love about string manipulation is the existence of regular expressions. For this reason, I have decided to share a few examples that may help those who are learning about regular expressions so that can Read more…

By Chris West, 13 years ago May 1, 2012
Blog

POW – Differences In Languages

Did you know that the language can at times dictate the way people view math? The following is a slight modification of a problem given to me by Matt Emschweiler: A children’s math problem was translated by two different people Read more…

By Chris West, 13 years ago April 30, 2012
Blog

PostgreSQL – Example Query As A Function

One of the things that I am not all that thrilled about is the fact that at times it is hard to find examples of PostgreSQL queries or plpgsql functions. For this reason, I want to help out anyone who Read more…

By Chris West, 13 years ago April 12, 2012
Blog

POW Answer – Party Balloons

This is the answer to last week’s Problem of the Week: One thing that I like to do when solving these types of problems is determining what percentage of the work each participant will do. The problem stated that Tasheera Read more…

By Chris West, 13 years ago April 9, 2012

Posts navigation

Previous 1 … 24 25 26 … 36 Next
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Archives
Categories
Blog (346) CSharp (1) Games (3) HTA (2) Java (5) JavaScript (220) JScript (149) Math (49) Microsoft Office (16) Movie Trailers (2) PHP (13) POW Answer (2) Problem of the Week (31) Python (15) Reporting (1) Salesforce (6) SQL (28) VBA (6) VBScript (8) Videos (10)
Tags
Apache (1) Apex (3) Array (37) Audio (2) Bash (3) Canvas (7) Chrome (3) CSS (12) CSS3 (2) Curry (1) Date (6) EcmaScript 6 (8) Encryption (2) Español (2) Excel (20) Function (136) GitHub (12) Hack (9) HTML (4) HTML5 (2) JasperReport (2) JasperServer (1) jPaq (35) JSON (2) JSONP (2) JW.org (5) Logic Puzzle (2) LWC (2) Mail Merge (1) Math (53) Network (1) OpenKM (2) PostgreSQL (27) Private Data (4) Problem of the Week (31) Prototype (41) Quirk (3) Recursion (10) Regular Expressions (22) String (62) SVN (1) Video (2) Wildcards (3) WScript (2) YourJS (18)
  • About Me
Hestia | Powered by WordPress