Exploring a simple physics simulation of ferromagnetism with the displaying power of HTML and multi-threading over WebWorker
HTML5 Ising Simulation - CodeProject®
This blog will hold favorite gadgets and graphic user interfaces that don't really fit in my main blog @ mmcelhaney.blogspot.com
Exploring a simple physics simulation of ferromagnetism with the displaying power of HTML and multi-threading over WebWorker
We used to see a Notification tool tip in Windows 7/Vista to inform something about particular context. For example, Capslock warning will be given through a balloon tip on Passwordbox, if capslock has ON. Or sometimes low battery information will be displayed on the Taskbar.
An Ajax control that enables a user to upload a file asynchronously with extra data
Image via Wikipedia |
How to use simple touch events to capture gestures on the Android platform
This post shows how to create a zip package using System.IO.Compression
Image via Wikipedia |
Memo about structure of the android project and Support Package.
Image via Wikipedia |
Many of us developers do not look beyond the basic F9, F10, F11, F5 and Watch windows while debugging in Visual Studio. Due to this we end up wasting hours debugging an issue or simulating a condition which ideally could have been achieved in a matter of minutes if we utilized the rich debugging features available out of the box in Visual Studio.Advanced debugging tips are scattered all over the web but I thought that a consolidated list would be very useful for developers to embrace and start using the techniques.
Image via Wikipedia |
HTML5 is becoming more and more popular. With the increasing popularity of mobile devices such as tablets and smartphones, the need for alternatives to the popular Flash plugin from Adobe has also been growing. Just recently, Adobe announced that Flash will no longer be supported for mobile devices. This means that Adobe itself will focus on HTML5 as a key technology for those devices - and desktop systems sooner or later.
One disadvantage of HTML was the lack of multimedia techniques. In HTML, you could not display a video or draw on the screen. With HTML5, new elements such asand
have been introduced. Those elements give developers the possibility to use multimedia technology in "native" HTML, just by writing some JavaScript in combination with HTML. A basic action that should be provided by multimedia technologies is animation. In HTML5, there are some ways to create such actions.
In this article, I will only compare the new element with the upcoming CSS3 animation technique. Other possibilities would include the creation and animation of DOM elements or SVG elements. Those possibilities will not be included in this discussion. It should be noted from the beginning that the canvas-technology is supported in the current releases of all major browsers, while CSS3 animations are only possible in the latest editions of Firefox and Chrome. The next IE will also provide CSS3 animations.
Image via Wikipedia |
In last week’s tutorial we used the canvas control to make a character’s eyes follow the mouse. This week Nelly the elephant is back again. This time we will add some animations and use a texture atlas. If you are reading this on Code Project you can see the code in action at the original blog entry.
Suggested technique does not require any graphic files like .jpg or .png, etc. All aesthetic enhancements, like: rounded corners, color gradients, borders and shadows are achieved exclusively via CSS3 styling, thus resulting in very small digital footprint and fast web page load.
Following code snippet demonstrates web page novel styling technique using HTML5/CSS3 advanced features: rounded corners, gradients (in particular, color-stop property), shadows applicable to HTML5 elements, in particular, input, button and div elements.
Home automation has been an interest of mine for a long time. There is a bunch of bad technology in the marketplace and the products are too expensive so I decided to build my own. I started out with the Arduino microcontroller which was really fun but the code quickly became hard to maintain because it was not object oriented. Additionally it could not do multithreading or real debugging with breakpoints and such. I refactored the code for C# and the .NET Micro Framework. I choose the netduino plus, http://www.netduino.com/netduinoplus/specs.htm, for the microcontroller which has a built in Ethernet adapter for network communication.
Occasionally, I need to know the files in a directory have been added or removed recently. For example, I want to know if an image file has been deleted or added in picture directory. It is similar to the functionalities of Version Control System without the cumbersome of setup, check-in, check-out and separate storage; something simple and easy to use. Window OS does not include such a tool and I can not find anywhere mentioned.
Arms with knowledge of nowadays programming technology and Google Search, it seems not too difficult to write one.
In this article, I will show how I:
- Convert idea into design
- Write an Inventory class to inventory files
- Save persistent data to SQLite database
- Call to a .bat which runs different sql scripts each time
- Discuss some future enhancement and variety to design
Here, I’ll explain how we can implement Windows authentication with transport level security in intranet environment.
Overview: Copy text from ANY screen to your clipboard. Then, paste it into any text box.
Requirements: Android OS 1.5+
UNIVERSAL COPY AND PASTE!
*May require a rooted phone (depends on phone)*
MathStudio, formerly SpaceTime, is the most comprehensive math app available for Android phones and tablets. Whether you need a simple calculator to do your finances or a replacement for your TI graphing calculator, MathStudio is the most powerful and versatile calculator available on the Android Market.
Google provides a set of client libraries for interactingwith GData-enabled services, in a variety of programming languages. Using theselibraries, you can construct GData requests, send them to a service, andreceive responses.
Below is a list of services you can access:
Blogger
Calendar
Calendar Resource
Code Search
Contacts
Content API for Shopping
Documents List
Email Audit
Email Settings
Google Analytics
Google Apps Provisioning
Google Health
Google Webmaster Tools
Notebook
Picasa Web Albums
Spreadsheets
YouTube
For the purpose of this tutorial we will be accessing GoogleAnalytics using the the .net Client Library which is available from here.
Overview: How many times have you lost your car in parking lot? Thousands of times?
Requirements: 2.1+
Image via Wikipedia |
Many of us developers do not look beyond the basic F9, F10, F11, F5 and Watch windows while debugging in Visual Studio. Due to this we end up wasting hours debugging an issue or simulating a condition which ideally could have been achieved in a matter of minutes if we utilized the rich debugging features available out of the box in Visual Studio.Advanced debugging tips are scattered all over the web but I thought that a consolidated list would be very useful for developers to embrace and start using the techniques.
Image via CrunchBase |
How to use iOS 5, Xcode 4.2, and storyboards to create a simple Twitter app that will list tweets and show details about each tweet.
Image via Wikipedia |
I made a cute flash movie of an elephant ages ago. Among other things, the eyes of the elephant followed the cursor. Unfortunately subsequent flash security updates broke the functionality (if you want mouse move events outside the flash control, you need special permissions). So, I decided to convert it to HTML5. To see the result in action you need to go to the origonal blog entry.
Image by ghbrett via Flickr |
Always Innovating, a company which "leverages the latest developments in open source technologies worldwide to create innovative products that solve real problems for consumers," will be debuting a new device at CES this year – the HDMI Dongle. The Dongle looks to replace the set-top box for those who aren't interested in buying a hefty (or more expensive) GoogleTV device.
AI's HDMI Dongle is essentially a complete system on a chip, and has some incredible specs for such a tiny device. Supposedly starting at just $79, the device comes with a Cortex-A9 processor (capable of 1GHz to 1.8GHz speeds, depending on configuration), between 256MB and 1GB RAM, Wi-Fi, Bluetooth, and NFC Connectivity, an accelerometer, and a bundled remote.