Edit Undo ~ by Denny Ferrassoli

Month

October 2012

1 post

TypeScript: Open source language for application-scale JavaScript development → typescriptlang.org

TypeScript is a language for application-scale JavaScript development.

TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.

Any browser. Any host. Any OS. Open Source.

From Microsoft.

Oct 1, 2012

July 2012

5 posts

How to Make a Game Like Cut the Rope – Part 1 | Ray Wenderlich → raywenderlich.com
Jul 31, 2012
Play
Jul 27, 20121 note
Get your IP address from Google Search → google.com

A simple way to get your public IP address using Google Search.

Jul 26, 2012
Real Time Multiplayer in HTML5 - Build New Games → buildnewgames.com

Very useful and well written example of doing a real time multiplayer game in HTML5.

Jul 19, 2012
Jul 10, 2012

February 2012

5 posts

Ten Things to Avoid in a Data Model -- Redmond Developer News → reddevnews.com
Feb 29, 2012
Hack Your Way Through Stripe's Capture The Flag!

Are you a h@ck3r? Try Stripe’s Capture The Flag game, you’ll need to try and solve problems by exploiting vulnerabilities in their systems, but you’ll need to really hack at it! There are 6 levels, each with a password secured in some way. Use your madd hacking skills to advance to the next level.

I’m currently at level 4 but calling it a night. Here’s a few tips for challenges 1-3:

#1: google: system() exploit

#2: The basic authentication is NOT the challenge. The user and pass is the same that you used to SSH into level02.

#3: The deprecated function, it uses system() like in challenge #1 but the function is never called anywhere in the code. Oh and a buffer…

Feb 23, 20121 note
#security
“Plan to throw one [implementation] away; you will, anyhow.” —Fred Brooks Jr.
Feb 22, 2012
Palmdale Class Need Votes To Win $10K Classroom Makeover « CBS Los Angeles → losangeles.cbslocal.com
Feb 8, 2012
Play
Feb 5, 2012

January 2012

6 posts

What do you think this JavaScript does?

What do you think this JavaScript does?

Array(16).join(“what!?” - 1) + ” Batman!”

Try it out :)

Jan 26, 201210 notes
#javascript
Announcing Visual Studio Achievements Beta | C9Team | Channel 9 → channel9.msdn.com
Bring Some Game To Your Code!

A software engineer’s glory so often goes unnoticed. Attention seems to come either when there are bugs or when the final project ships. But rarely is a developer appreciated for all the nuances and subtleties of a piece of code—and all the heroics it took to write it.  With Visual Studio Achievements Beta, your talents are recognized as you perform various coding feats, unlock achievements and earn badges.

Jan 19, 2012
TypeWatch: jQuery Plugin → github.com

Moved my jQuery plugin: TypeWatch to GitHub

Jan 13, 20129 notes
#jquery
Infer.NET - Microsoft Research → research.microsoft.com

Infer.NET is a .NET library for machine learning. It provides state-of-the-art algorithms for probabilistic inference from data. Various Bayesian models such as Bayes Point Machine classifiers, TrueSkill matchmaking, hidden Markov models, and Bayesian networks can be implemented using Infer.NET.

Jan 10, 2012
“This is all well and good but the next time you have to count to 9 minutes and all you have are a 3-minute and 5-minute hourglass, don’t go crying to your employees for help…” —Why we don’t hire programmers based on puzzles, API quizzes, math riddles, or other parlor tricks - (37signals)
Jan 5, 2012
“17. Grunting is understandable and OK - yelling is not. Come on, man. There’s the natural sounds of exertion, and then there’s barking and yelping like you’re lifting a car off of a trapped child. Quit trying to draw attention to your Herculean efforts by screaming like a banshee. Again, you’re not a badass.” —The Journal of Joe The Peacock. Yay.: The (Updated) Rules Of The Gym
Jan 3, 2012

December 2011

4 posts

MapReduce for the Masses: Zero to Hadoop in Five Minutes with Common Crawl | CommonCrawl → commoncrawl.org

Common Crawl aims to change the big data game with our repository of over 40 terabytes of high-quality web crawl information into the Amazon cloud, the net total of 5 billion crawled pages. In this blog post, we’ll show you how you can harness the power of MapReduce data analysis against the Common Crawl dataset with nothing more than five minutes of your time, a bit of local configuration, and 25 cents.

Dec 19, 2011
RedirectStandardError Property → msdn.microsoft.com

This is why my process suddenly stops while I WaitForExit():

“Synchronous read operations introduce a dependency between the caller reading from the StandardError stream and the child process writing to that stream. These dependencies can cause deadlock conditions. When the caller reads from the redirected stream of a child process, it is dependent on the child. The caller waits for the read operation until the child writes to the stream or closes the stream. When the child process writes enough data to fill its redirected stream, it is dependent on the parent. The child process waits for the next write operation until the parent reads from the full stream or closes the stream. The deadlock condition results when the caller and child process wait for each other to complete an operation, and neither can continue. You can avoid deadlocks by evaluating dependencies between the caller and child process.”

In other words… Once the stream’s buffer is full the child process will wait until you read / close the stream. So if you WaitForExit() you’ll deadlock. You can either asynchronously read from the stream or ReadToEnd() and then WaitForExit().

Dec 12, 20111 note
Dec 3, 2011
Next page →
2011 2012
  • January 6
  • February 5
  • March
  • April
  • May
  • June
  • July 5
  • August
  • September
  • October 1
  • November
  • December
2011 2012
  • January
  • February
  • March
  • April
  • May 10
  • June 15
  • July 23
  • August 9
  • September 2
  • October 1
  • November 2
  • December 4