Skip to content

Feed aggregator

JavaScript Performance: for vs. while

If you have read some preformance tests on JavaScript loops, you may have heard that “while” is faster than “for”. However the question is how faster is “while”? Here are some results, but first let’s take a look on the JavaScript code. James Sugrue
Categories: Communities

New tutorial on using mouse lock with FP 11.2

The Flash Blog - Lee Brimelow - Fri, 01/27/2012 - 00:17

Update: I just uploaded a new version of this tutorial that is much clearer and understandable. Empty your cache and check it out.

I just uploaded a new tutorial that explains how to use the new mouse lock feature that is included in Flash Player 11.2. This feature allows you to create infinite mouse scrolling while in fullscreen mode, which is essential for things like first-person shooter games.

Categories: Companies

HTML5 for App Developers: Debugger

Below is my third episode of HTML5 for App Developers series. In this episode, I cover how you can debug your JavaScript applications inside of Eclipse.

Debugger is available through a set of plugins that are available for Eclipse  from ChromeDevTools project on Google Code. Because of that you will need either Google Chrome or Chromium to make it all work.

Categories: Blogs

Developers Guide to Running Django Applications on Heroku

Heroku the platform as a service (PAAS) company, very popular in the Ruby on Rails community, has now started opening up their platform to languages besides Ruby. They now offer support for Python, Java, Clojure, Node.js, and Scala on their new Cedar stack. Heroku's Cedar stack is still in beta, but that shouldn't stop you from trying it out, and that is just what I'm going to do. ...
Categories: Communities

Node.js Makes for Cluttered Code

According to a recent post by Peter Moberg on his blog Source Code Bean, your node.js code is being polluted by it's own callbacks.  Moberg's recent hacking in Node.js/Express.js has led him to appreciate its speed, but hate it's verbosity.  He's not the only Node.js user to experience cluttered code.  His post has already attracted 18 comments from his readers, many of who agree with his...
Categories: Communities

Node.js Makes for Cluttered Code

According to a recent post by Peter Moberg on his blog Source Code Bean, your node.js code is being polluted by it's own callbacks.  Moberg's recent hacking in Node.js/Express.js has led him to appreciate its speed, but hate it's verbosity.  He's not the only Node.js user to experience cluttered code.  His post has already attracted 18 comments from his readers, many of who agree with his...
Categories: Communities

HTML5 Canvas & Processing JS

When I first sat down to redesign my personal site I knew that I wanted to incorporate HTML5 Canvas somewhere in the layout. The problem was that I hadn't worked with canvas before and had to start from scratch. I went through the pain of learning every aspect of adding text, drawing shapes, importing image, etc... before I found the amazing canvas framework Processing.JS ...
Categories: Communities

CSS3 Image Hover Effects

Today I will tell you how to create different CSS3 image hover effects. I hope that you still remember our old tutorial. We used JavaScript there. Today I will try to make something similar using pure CSS3. In the resulting gallery page, we will have 9 images, each of them having its own hover effect.
Categories: Communities

Is Programming Less Exciting Today?

As discriminatory as this is going to sound, this one is for the old-timers. If you started programming after the turn of the milennium, I don’t know if you’re going to be able to follow the trend of this post—not out of any serious deficiency on your part, hardly that. But I think this is something only the old-timers are going to identify with. (And thus, do I alienate probably 80%...
Categories: Communities

Introducing XAMLflix - Starting with RadChartView for Silverlight and WPF

Telerik Blogs - Thu, 01/26/2012 - 16:23

Happy Thursday to all you XAML-lovers out there! I'm back from the trenches with a new initiative aimed at teaching you how to use both new and existing controls from the Telerik RadControls for Silverlight and RadControls for WPF control suites. Starting today, every Thursday you'll be able to find a fresh batch of videos and sample projects highlighting a different control in a little series we're calling XAMLflix. The best part is that since we share a common codebase and API between our Silverlight and WPF suites you only have to learn how to use these controls once and can carry those skills over between frameworks. Pretty neat, right?

Say Hello, RadChartView

For anyone who has been with us for a bit, RadChartView actually first appeared in our Q3 2011 release with a beta tag stuck to it. Since then we've received a lot of feedback and wanted to use this as the pilot control for this new video content series, especially considering RadChartView goes official in our upcoming Q1 2012 release!

Rather than just direct you to the demos, while they are quite nice to look at, I wanted to give you a brief introduction to this new control with five videos meant to get you up and running. Without further delay, here's what we've got for today:

So grab a cup of coffee and take these videos and their sample projects for a spin. And courtesy of our shared API and codebase the projects are replicated between Silverlight and WPF, so regardless of which framework you are on you can see how these work.

Stay tuned for the next installment of XAMLflix next week!

@EvanHutnick

Categories: Companies

Solr at Etsy

Search at Etsy poses significant challenges. Our marketplace is filled with millions of unique, short-lived items and people trying to find them over 10 million times a day. In this session we'll discuss many of the solutions we've engineered to meet these challenges. These include: Embed Tag:  <object width="651"...
Categories: Communities

6 Ebooks and Discount on Telerik RadControls for Silverlight To Be Given in our Metro and WinRT Webinar Next Week

SilverlightShow: Silverlight Community - Thu, 01/26/2012 - 14:07

 Metro and WinRT for the Silverlight/WPF DeveloperWe are truly amazed how many of you wrote to us telling how excited they are for our upcoming webinar with Silverlight MVP Gill Cleeren: "Metro and WinRT for the Silverlight/WPF Developer". And more and more registrations are coming each day. Sign up now >>

We already had a sneak peak of the webinar slides, and from what we saw - we can surely say that it's going to be an amazing presentation. As soon as Gill finalizes the slides, we'll make them publicly available at the webinar's page and will announce it on Twitter and Facebook

As you probably know, we are always trying to provide some small gifts for our loyal webinar attendees. This time the presents are:

All ebook winners will be announced on February 3rd.

We also have an exclusive offer for the attendees of all upcoming SilverlightShow webinars: get two RadControls for Silverlight licenses from Telerik with a 15% discount. Read more about this offer here!

Hope to see you at our webinar on February 2nd! We start at 10 am PDT (check your local time).

Webinar page | Register now


Categories: Communities

10 Reasons Why Windows Phone 7 is Better Than Android

SilverlightShow: Silverlight Community - Thu, 01/26/2012 - 14:03

Read original post by Alan Fackler at MaximumPC

There are certain perks to working as a tech journalist: coffee is free and plentiful, trade shows are equal parts fun and frantic, and most of all, we get the chance to play with lots and lots of new toys. I’ve personally had the luck to be able to swap handsets pretty much bi-weekly for the last couple of months, and find it kind of a bummer that Windows Phone 7 hasn’t really been embraced as the solid mobile platform that it is (I said it’s a bummer, I didn’t say we didn’t see it coming).

Categories: Communities

Every Windows Phone application deserves Live Tiles (part 4)

SilverlightShow: Silverlight Community - Thu, 01/26/2012 - 14:02

Read original post by Maarten Struys at DZone

My previous post about Live Tiles showed you how you can use a PeriodicTask to update your Application’s Live Tile periodically from inside the phone. Now we are going to move a little beyond Application Tiles and move towards Secondary Tiles.

Categories: Communities

New and Improved T4 Template for OData Client and Local Database

SilverlightShow: Silverlight Community - Thu, 01/26/2012 - 13:49

Read original post by Glenn Gailey at Writing...Data Services Blog

If you recall from my previous post Sync’ing OData to Local Storage in Windows Phone (Part 1), I had written a T4 template for my Windows Phone 7.5 (“Mango”) project to generate a proxy client needed to access both an OData service and local database on the device. My template was based on an existing T4 template,which was published in a blog post by Alexey Zakharov on Silverlight Show, that generated a generic OData proxy client. I had promised to publish my first stab a T4 template to generate this hybrid proxy. However, because my original template was based on Alexey’s OSS sample, it was taking a long time to get the go ahead to post it.

Categories: Communities

Dynamic Theme Switching in Silverlight Prism App

SilverlightShow: Silverlight Community - Thu, 01/26/2012 - 13:27

Read original post by Muhammad Afzal at Getting Deep into .net Blog

In my recent consulting assignment I was asked the question by one of the developer , that how can we get dynamic theming working in Prism application. My answer was that you can implement in the same manner as you do in the standard Silverlight application. But then he further asked that there are various regions in the RegionManager and how each views loaded in the different content regions can get unified theme , this encouraged me to try this out and see how it works.I started working on it and viola my answer was correct , there is no difference in implementing dynamic theming in prism specific app.

Categories: Communities

O2 deploys update to Windows Phone 7 mobile phones and finally fixes MAC address bug

SilverlightShow: Silverlight Community - Thu, 01/26/2012 - 13:20

Read original post by Rob Kerr at ITProPortal

Former British Telecom mobile phone network O2 has now rolled out a firmware update to Microsoft Windows Phone 7 handsets running on their network, which includes the network exclusive HTC HD7 device and its constantly changing MAC address issue.

Mobile phone news website Coolsmartphone has reported that the update O2 is deploying is the 7.10.8107 variant of the operating system, which fixes the disappearing keyboard, amongst other problems.

Categories: Communities

MVVM on MVC: HTML is not XAML

SilverlightShow: Silverlight Community - Thu, 01/26/2012 - 13:06

Read original post by Jeremy Likness at C#er : IMage

I have to admit that I may have rolled my eyes a bit when I first learned about the KnockoutJS library. It sounded too much like forcing a square peg into a round hole. Isn’t Model-View-Controller (MVC) already it’s own pattern? Does it make sense to apply something like Model-View-ViewModel (MVVM) to HTML? I already had enough issues dealing with MVVM on the platform it was designed for, XAML and C# (WPF and Silverlight). Some people simply didn’t get the pattern, others were pushing it without really understanding its benefits, and many applications completely and unnecessarily overcomplicated their implementation of the pattern. So before we talk about whether it makes sense in HTML-based applications, we first need to agree on what the benefits of the pattern are.

Categories: Communities

Windows 8 Client Pre-Beta: Five Important Implications

SilverlightShow: Silverlight Community - Thu, 01/26/2012 - 12:55

Read original post by Tom Henderson at HP.com

The Microsoft Windows 8 Client Editions aren’t even in beta, but the direction indicated at the BUILD Windows Conference in fall 2011 is clear: Expect many and significant changes. The BUILD Windows conference was itself a change, as a replacement for the Professional Developers Conference (PDC). The previews for Windows 8 Client version startled the audience, and with good reason: Windows 8 is different.

Categories: Communities