Tech Tock

Time is of the essence.

A Few Short Words

As a fan of word games, and dabbling a little with Html and JavaScript, I made this little app (a few months ago), to drill on 2 letter words.  Sometime I’ll add the 3 letter words and more.

I played around with augment, es5 shim sham, and require.js, and of course jQuery and jQueryUI.  I probably made a bit of a mess, but its just for fun.

Of course it comes with unit tests in qUnit. If its good enough for jQuery, its good enough for my toys.

Play it here.

As usual, also available on GitHub.

Now back to WPF till enough people ask me for 3 letters.

image

July 23, 2013 Posted by | Uncategorized | , , , | 2 Comments

Function Declarations vs. Function Expressions

Great post on the subtleties of Javascript functions with examples and quiz.

March 6, 2013 Posted by | Uncategorized | | Leave a comment

the 909th most dangerous bug ever found

Be careful with your JSONP

you could be at risk for

CSRF:  Cross Site Request Forgery

February 1, 2013 Posted by | Uncategorized | , | Leave a comment

Because Everybody Likes PacMan

Fellow Lab49er Domenic Denicola shows 2 ways to put a JS app on your desktop with Node.js topped off by a demo of HTML PacMan running as a desktop app.  Now it’s a browser app without annoying permission requests, cross site capability, no version support worries, and some other goodies the frameworks provide.

January 16, 2013 Posted by | Uncategorized | , , | Leave a comment

My Next Android App

PhoneGap looks pretty cool.

PhoneGap is a free and open source framework that allows you to create mobile apps using standardized web APIs for the platforms you care about.

This framework looks ready now and seems to support SqlLite, so I’ll definitely be trying it out for my next Android app.

Also, on the JavaScript/HTML/CSS for phones  topic is this O’Reilly book that’s free to read in previews:

Building Android Apps with HTML, CSS, and JavaScript, 2nd Edition

December 24, 2012 Posted by | Uncategorized | , , , , , | Leave a comment

Coding Like its 1999

Just doing a little playing around with jQuery.  Planning to make something more substantial soon.  You can see the page here.

December 19, 2012 Posted by | Uncategorized | , , , | Leave a comment

An Improved Google Stock Watcher

image I may be late again, now that Google is Ditching Windows, but I finally posted the code for my Google Sidebar Stock Monitor app.

Google made this very nice stock monitoring app for their sidebar, but it had one really annoying bug where saving new settings can delete tickers from your list.  Fortunately, the code was included under an Apache license, so I played around with it a bit and made my own version.

I fixed the annoying bug in Google’s version and added a bunch of features, noted here.  Primarily it allows you to monitor a bracket around the price to see if a stock is approaching a high or low target.

You can download the gg file here.  With Google desktop installed on your system, just click on the gg file to install it to your sidebar.

June 14, 2010 Posted by | Uncategorized | , , , , , | Leave a comment

@Lab

Back by popular demand.  A semi-regular review of lab life as seen through my computer screen and sometimes in person.  A lot has happened since I last posted, here’s just a brief summary.

Strategery Seminar

We heard a great talk from the Lab49 Strategy Practice.  We’ve got a team that can analyze markets and business decisions, perform original research and apply analytical methods.  They can describe it much better than I can too.  They’re mostly MBAs, but unlike George Bush, they speak very clearly.

The Tao of Var

What does the var keyword in JavaScript do?  You can declare a variable just by using it, so what does var do?  Answer below.

The first thing we do, let's kill all the lawyersThe Bull, the Bear, and the Python

I think its cool that contracts may be specified in programming languages.  The SEC proposal is here.  Lab49ers picked apart the language choice, its operational semantics, and non-termination and exclusion thereof.  I just think its cool.

Rush

A gaggle of Lab49ers, including one of our esteemed fearless leaders, caught the Rush documentary the other day.

iPad pants Spoof of the day: iPad pantsoh my Godit’s full of stars

Plenty of early adopters around here, so I’ve seen the IPad…. and …  its …

Beautiful

Can You Code a Binary Search?

I can, but I might not get it perfectly right the first time and I don’t have a problem with that…  On the other hand, I might, maybe its just a question of mindset and motivation.  With a computer telling me I’m not perfect 100 times a day, I wouldn’t state anything with certainty.  This guy says that’s no good.  Here’s some reasons I might want to care.

Now Using Code Behind – Horrors

Some third party controls are being unwieldy with MVVM and forcing us to use code behind as the least worst option. Its a 1% problem, so its probably not a new holy war.

Blog Catchup

I’ve been away from the blog for a while and missed quite a bit – here’s some things you may have missed on the Lab49 Blog – I did:

Videos:  Bruce Kyle of Microsoft and MVP Stuart Celarier explore the new languages features in C# 4.0

InfoGraphics are informative?  click here for the answer.

Pomodoro?  I wonder if the Pomodoro Technique has any applicability to programmers.  If the problem is interesting or exciting enough, I’ll usually work until full exhaustion, then after swearing I’ll only work a few more minutes, work several more hours, sometimes I only stop when the router dies.  Thanks, but I’ll pass Ray.

Colors for men and women.

Fed, Frannie and Freddie — As told by Paddy Hirsch.

Silverlight Analytics framework released at Mix.

Var

Var is a scoping keyword and limits a variable to the current function (or closure), so if you don’t use the var keyword, you’re using a global variable, even if you declare it within the function.

April 27, 2010 Posted by | Uncategorized | , , , , | Leave a comment

@Lab this Week

Humor from ZeroHedge is still popular.  Unfortunately, the Goldman they’re praising is not me.

Cool Barcodes

Heisenbugs

If you’re looking for Heisenbugs try MS Chess.  It can detect subtle hard to repeat bugs in concurrent programs.  It works in both managed and native windows programs.

CHESS repeatedly runs a concurrent test ensuring that every run takes a different interleaving. If an interleaving results in an error, CHESS can reproduce the interleaving for improved debugging. CHESS is available for both managed and native programs.

read more about it here and here.

Tech Seminar

Kalani presented Lambda Calculus.  It dates from the 1930’s, but my only experience is .Net lambda expressions.  I had the strange sense that I knew what he was talking about, but I still didn’t understand half.  I think it’s going to start making sense when I get serious about studying .Net lambda’s which I’m still half hacking.

In the Web World…

Route.JS

Marak spoke at NYC.js (New York City JavaScript) Meetup for one of my ongoing open source projects, route.js

route.js is simple JS framework for creating statefull navigation in the browser based on location.hash changes.

Marak gave me a demo and it seems like an awesome and incredibly lightweight script.  Its less than 100 lines right now.  You can make a single page that has lightning fast links, making it look like a whole bunch of pages.  Basically, its easy DHTML.  There’s a bunch more uses too, like infinite tree navigation.

Kaazing

Some folks went to a full day Kaazing class.  Here’s the techno speak on Kaazing:  “it’s a WebSocket server implementation that offers full downgraded emulation (on both client and server) for browsers that don’t support WebSockets.”  I think its a really awesomely cool real-time web product.

GO – Google’s new programming language

Quite a bit of interest in GO…  Google believes will combine performance with speed. GO is based on the C programming language but also incorporates elements of all dynamically linked languages like python, and even pascal/modula/oberon family of languages.

There is an hour long tech talk available.

A performance comparison

Heard @Lab

“If you really want a solid brain f*ck, I recommend Haskell.”

“I’d go outside, but they don’t have slashdot outside”
I was never a big slashdot fan, but I got sucked in and its now on my home page news feeds.

But Wait, There’s More…

Visual Studio, Now in Linux?!

Online IDE – wow

An IDE in your browser designed for the cloud.

PowerShell

We have a PowerShell evangelist, who also happens to be a MS MVP in PowerShell.  I personally have seen him evangelizing PowerShell all over the office.  (Maybe I’ll use it for my video project)  He makes a good point on his blog about thanking the people of Lab49.  I personally am inspired to do more just being @Lab.

Dryad and DryadLINQ

A distributed computing engine from Microsoft.

November 13, 2009 Posted by | Uncategorized | , , , , , , , , , , , , , , , , , | Leave a comment