Math
POW Answer – Sequential Triad 24
Here is the answer to last week’s POW: (0! + 1 + 2)! = 24 (-1 + 2 + 3)! = 24 2 * 3 * 4 = 24 (3 – 4 + 5)! = 24 4! / (-5 + 6) = 24 (5 + 6 – 7)! = 24 Read more…
Here is the answer to last week’s POW: (0! + 1 + 2)! = 24 (-1 + 2 + 3)! = 24 2 * 3 * 4 = 24 (3 – 4 + 5)! = 24 4! / (-5 + 6) = 24 (5 + 6 – 7)! = 24 Read more…
Many people are familiar with the math game 24, but not many know about the sequential triad version. You must make each of the following sequences true by only inserting operators and without changing the order of the numbers: 0 1 2 = 24 1 2 3 = 24 2 Read more…
Hace un mes atrás yo anoté una diferencia en el número de visitas a mi blog pero no supe a que se debió hasta hoy. Google acaba de dejar el público saber que realizaron cambios en su motor de búsqueda alrededor de ese tiempo. Se puede preguntar, ¿por qué? Ellos Read more…
If you need a way to load external JavaScript files sequentially with JavaScript, you can use the following function: /** * Loads one more external JS files and optionally calls a callback function * when done. * @param {!Array.<string>} urls * URLs of external JS files to load. * @param Read more…
Last week I wrote a function which takes a file path and returns the base64 PNG code for that image. Since it isn’t straight-forward for everyone as to how to convert that JScript code to VBScript I decided to do just that: Feel free to use this code in your Read more…
Yesterday I was updating an HTA (HTML Application) and needed to figure out how to convert an image into a base64 code that could be used in a stylesheet. I needed this to be able to embed an image in the source code instead of referencing an actual image. For Read more…
A few days I wrote a post about how to convert an cell address into coordinates (column number, and row number). I am working a quick Python script for work to import CSV data into a DB. In order to allow the user the ability to enter either the column Read more…
Following yesterday’s post, I thought it appropriate to write a quick JavaScript function which converts an integer into the corresponding column name: You can click here to enter a positive integer and see the corresponding column name. If you need this function for a project, feel free to use it Read more…
Today I am starting work on a quick flashcard app that will use Google Docs to read data from a spreadsheet. I thought I had written and published a function which parses an Excel like cell address and converts it into the column number and the row number but I Read more…
Something that I need to use every once in a while is addEventListener, but unfortunately I can’t depend on its existence in all browsers. For this reason I decided to write the following cross-browser solution for providing a function that adds an event handler: One thing to note is that Read more…