<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4090506267317625551</id><updated>2024-09-17T05:54:17.663+01:00</updated><category term="C#"/><category term=".NET"/><category term="Javascript"/><category term="jQuery"/><category term="Visual Studio 2010"/><category term="Debugging"/><category term="GitHub"/><category term="JSON"/><category term="Silverlight 4"/><category term="XML"/><category term="ajax"/><category term="ASP.NET"/><category term="ASP.NET MVC"/><category term="Graphics"/><category term="HTML5"/><category term="Azure"/><category term="Bitmap"/><category term="CSS"/><category term="Expression Blend 4"/><category term="Google Chrome"/><category term="Happiness"/><category term="Hash Algorithm"/><category term="IEnumerable"/><category term="IIS"/><category term="Image"/><category term="KnockoutJS"/><category term="LiteCoin"/><category term="Management"/><category term="Modernizr"/><category term="MsgPack"/><category term="Raspberry Pi"/><category term="SQL Server 2008"/><category term="SignalR"/><category term="Silverlight 3"/><category term="SqlDataReader"/><category term="Visual Studio 2008"/><category term="Web API"/><category term="Web Worker"/><category term="WebGL"/><category term="ZeroMQ"/><category term="varbinary"/><category term="yield"/><title type='text'>TehC0dez</title><subtitle type='html'>Random Development Musings</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-6194291287993155742</id><published>2017-09-14T22:53:00.001+01:00</published><updated>2017-09-14T22:53:57.965+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GitHub"/><title type='text'>SneakyBrian/p2pspider by SneakyBrian</title><summary type="text">SneakyBrian/p2pspider
By SneakyBrian



DHT Spider + BitTorrent Client = P2P Spider


git clone http://ift.tt/2xBckQp



Created At: September 14, 2017 at 10:01PM
via GitHub http://ift.tt/2xBckQp
</summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/6194291287993155742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2017/09/sneakybrianp2pspider-by-sneakybrian.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/6194291287993155742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/6194291287993155742'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2017/09/sneakybrianp2pspider-by-sneakybrian.html' title='SneakyBrian/p2pspider by SneakyBrian'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-3662418006488518953</id><published>2016-06-26T17:01:00.001+01:00</published><updated>2016-06-28T08:51:37.984+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GitHub"/><title type='text'>SneakyBrian/nano-service by SneakyBrian</title><summary type="text">SneakyBrian/nano-service
By SneakyBrian



nano-service is an example of building a platform that allows rapid deployment of web application code. The server-side script that runs is written in JavaScript, and executes in the context of the request, returning the evaluated result.

git clone https://github.com/SneakyBrian/nano-service



Created At: June 26, 2016 at 04:57PM
via GitHub https://</summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/3662418006488518953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2016/06/sneakybriannano-service-by-sneakybrian.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/3662418006488518953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/3662418006488518953'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2016/06/sneakybriannano-service-by-sneakybrian.html' title='SneakyBrian/nano-service by SneakyBrian'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-1278944133822689246</id><published>2016-06-08T21:38:00.001+01:00</published><updated>2016-06-28T08:53:03.759+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GitHub"/><title type='text'>SneakyBrian/escws by SneakyBrian</title><summary type="text">SneakyBrian/escws
By SneakyBrian 

Embedded Static Content Web Server, written in Go

June 8, 2016 at 09:38PM
via GitHub https://github.com/SneakyBrian/escws</summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/1278944133822689246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2016/06/sneakybrianescws-by-sneakybrian.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1278944133822689246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1278944133822689246'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2016/06/sneakybrianescws-by-sneakybrian.html' title='SneakyBrian/escws by SneakyBrian'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-1512068676357230118</id><published>2013-07-22T00:45:00.001+01:00</published><updated>2013-07-22T00:54:10.852+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LiteCoin"/><category scheme="http://www.blogger.com/atom/ns#" term="Raspberry Pi"/><title type='text'>Using a Raspberry Pi to Mine LiteCoins</title><summary type="text">
In this tutorial I assume that you already know about LiteCoin, and have already signed up to a mining pool. If not, probably best go start reading here.


To begin, lets install the latest Raspbian image on to your SD card from here. I use Win32DiskImager for this:



Now we boot up the pi and run through the initial setup steps. We could skip this part, but you may want to run through the </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/1512068676357230118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2013/07/using-raspberry-pi-to-mine-litecoins.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1512068676357230118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1512068676357230118'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2013/07/using-raspberry-pi-to-mine-litecoins.html' title='Using a Raspberry Pi to Mine LiteCoins'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaaVgcX1h00dCMJj0HqGnrC2VduDRLbrzKZW2fDnwDLuOTG8i4vqVgFsAuxTykYdjhQEUCQHf7aINEUsiCjELqAujF4cfdMU0mDurpSps_5xnZqY2e4qjUzK14q_qlieMe4v6iTHCMgYw/s72-c?imgmax=800" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-3243619479690031848</id><published>2013-07-17T23:36:00.001+01:00</published><updated>2013-07-17T23:39:35.670+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Debugging"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><title type='text'>Visual Studio Remote Debugging</title><summary type="text">I had some problems today getting Visual Studio to connect to the Remote Debugging tool (MSVSMON.exe) running on an ASP.NET application server. The error message I received when I clicked on “Debug” –&amp;gt; “Attach to Process…” was along the lines of:     The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer.…even though I definitely</summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/3243619479690031848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2013/07/visual-studio-remote-debugging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/3243619479690031848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/3243619479690031848'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2013/07/visual-studio-remote-debugging.html' title='Visual Studio Remote Debugging'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMwRj7AgiQoRJPjWpdYJjwodfQVFNuMI_7kurzLNnpebINDkg9dwX3wuhgDG41vMNBbr-KEQdMxjL1vJChXOG4SwfMtzOVCE_6-mrchMQL5PrFUsvRE7f5Zu01Pnp26my-i4EjmGhpr6Q/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-5833271977982725082</id><published>2013-05-15T23:50:00.001+01:00</published><updated>2013-05-15T23:50:47.517+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="JSON"/><title type='text'>10 Things I Learnt Watching A Video About 10 Things Paul Irish Learnt From The jQuery Source</title><summary type="text">Great, if slightly quirky, video from Paul Irish. Some good points about IIFE’s and jQuery selector performance.    I’ve even added a Cornify button for you to click here:   </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/5833271977982725082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/10-things-i-learnt-watching-video-about.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/5833271977982725082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/5833271977982725082'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/10-things-i-learnt-watching-video-about.html' title='10 Things I Learnt Watching A Video About 10 Things Paul Irish Learnt From The jQuery Source'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-2470673630413026679</id><published>2013-05-11T01:11:00.001+01:00</published><updated>2013-05-11T01:11:41.127+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?</title><summary type="text">Just had an issue trying to use a dynamic object in a .NET test project – at build time I had the compiler error:     One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?   In the end all I had to do was reference “Microsoft.CSharp” from my test project.  </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/2470673630413026679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/one-or-more-types-required-to-compile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/2470673630413026679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/2470673630413026679'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/one-or-more-types-required-to-compile.html' title='One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-915785815524214599</id><published>2013-05-08T22:44:00.001+01:00</published><updated>2013-05-11T01:27:54.557+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS"/><title type='text'>AntiScrape - IIS ASP.NET Http Module</title><summary type="text">Download Code  AntiScrape is an IIS ASP.NET Http Module to help in the fight against website scrapers!    How does it work?  AntiScrape hooks into the IIS ASP.NET request/response pipeline.   When your website users request a page, it automatically adds secret hidden links to the page that normal users in web browsers won&#39;t see. However, website scrapers that are scanning the HTML of the page </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/915785815524214599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/antiscrape-iis-aspnet-http-module.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/915785815524214599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/915785815524214599'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/antiscrape-iis-aspnet-http-module.html' title='AntiScrape - IIS ASP.NET Http Module'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4dZtMmN635V4SNZwBT3JkPduigXBMUXnJij-yuh7DAyy6mTGLClF5nFMapFudud1D6LdkrzlgE48SZ86Pk9JqCqFLg04EUMua_WA0hoyjtH255N1ceY3gVxCCUXZjqw810HDxLBuTgfk/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-7392283014495629610</id><published>2013-05-08T13:33:00.000+01:00</published><updated>2013-05-29T23:51:29.084+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET MVC"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Hash Algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Worker"/><title type='text'>X-POW - Proof Of Work for ASP.NET MVC</title><summary type="text">X-POW is a proof-of-work implementation for ASP.NET MVC.

View the source code here.



How It Works
The server-side implementation is as an MVC ActionFilterAttribute called RequireXpowAttribute. This does not allow the request through unless the hash problem has been solved.
The client-side implementation is a javascript library that uses Web Workers to perform the hash calculations off the main</summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/7392283014495629610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/x-pow-proof-of-work-for-aspnet-mvc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/7392283014495629610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/7392283014495629610'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/x-pow-proof-of-work-for-aspnet-mvc.html' title='X-POW - Proof Of Work for ASP.NET MVC'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ3EtfN_6C91KaOivEeriYe5szwbMnie8J5pDlO71bw7qELTMioR-FJrUxoAngSTxVEl4jrXkGzPVM-OqH0yi4kDImEKSi2tGQjofRO_jAcT6po8-WutW-Rm6CP-vxlM7JQy5pVyVgUvU/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-6320174664393063825</id><published>2013-05-04T00:52:00.001+01:00</published><updated>2013-05-04T16:53:24.031+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="Modernizr"/><title type='text'>Google Chrome on Android,–webkit-overflow-scrolling and Modernizr.overflowscrolling</title><summary type="text">
This morning I decided to install the latest version of Google Chrome for Android (26.0.1410.58), and test some work I had been doing on converting a website from using iScroll to overflow: scroll and –webkit-overflow-scrolling: touch. Imagine my surprise when I saw that none of my scrolling sections worked any more.
Investigating the issue it seemed that the Modernizr test for this support was </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/6320174664393063825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/google-chrome-on-androidwebkit-overflow.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/6320174664393063825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/6320174664393063825'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/google-chrome-on-androidwebkit-overflow.html' title='Google Chrome on Android,–webkit-overflow-scrolling and Modernizr.overflowscrolling'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNQtHQi1Jl4m0tuXXXzrN6CJ2zAUnAXuuP0HF6a4L0kxvXf-WDOqfdN7X4FH9HzWCu8tmKW0bWxLlFwq-dvMsH72W-JzdojPxjgkGzWtTE1pOU6TxYbAK3TqcrW0L5_DkwqUdXLxwBIkM/s72-c?imgmax=800" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-8780711049581659237</id><published>2013-05-02T00:08:00.001+01:00</published><updated>2013-05-02T22:16:39.150+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Graphics"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="SignalR"/><category scheme="http://www.blogger.com/atom/ns#" term="WebGL"/><title type='text'>Using WebGL + SignalR To Create A Multiplayer HTML5 Space Simulation – Part 1</title><summary type="text">&amp;#160;      Although the name suggest that this is a game, at present it is merely a demo. When you visit the site (in a browser that fulfils the requirements below) then you will be presented with a first-person view from your own personal spaceship, flying through the galaxy.  Other people also viewing the site at the same time as you will be visible to you as spaceships flying through space, </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/8780711049581659237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/using-webgl-signalr-to-create.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/8780711049581659237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/8780711049581659237'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2013/05/using-webgl-signalr-to-create.html' title='Using WebGL + SignalR To Create A Multiplayer HTML5 Space Simulation – Part 1'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUWCcvij7QTcgjMIsuwRHc06JQ_EYDkrh-zkwJDGSGO1u1_iUNw5EEWPiIsYE_mC9JUo9XRDFR6Gt8F4ScOMrknOBgu9p6Ou1bU8cTxQha3aeOS7Ck3wtHUCyvWmymER5yWMLyogCXIOk/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-771938012244090593</id><published>2013-03-20T23:01:00.001+00:00</published><updated>2013-07-13T01:01:36.756+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>CAPTCHA.js, a javascript client-side CAPTCHA implementation using HTML5 Canvas</title><summary type="text">Here is a simple Javascript library that implements a CAPTCHA using purely client-side code. It is meant as a demonstration of using a canvas element to perform text and spline based rendering, and is not meant as a secure CAPTCHA solution.
Using this library, when you create a CAPTCHA instance you can specify a function to call when the CAPTCHA is solved correctly, which could perform whatever </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/771938012244090593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2013/03/captchajs-javascript-client-side.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/771938012244090593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/771938012244090593'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2013/03/captchajs-javascript-client-side.html' title='CAPTCHA.js, a javascript client-side CAPTCHA implementation using HTML5 Canvas'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieQ_qKtnnqgld1R8AalwkP6bnW8bwO2LN4OzOSeWRA1UofitbCz4tgpCZDjO-j0x-orPhnH6aUQmg4hDPWRzz7qqbywHJw1yDQn5u2iACW1oSRRgRKUEL9Kd3fj0E5xxrnV_2d3RqM3xk/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-1862773513642669998</id><published>2013-01-24T22:38:00.000+00:00</published><updated>2013-05-15T23:40:55.627+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Happiness"/><category scheme="http://www.blogger.com/atom/ns#" term="Management"/><title type='text'>The surprising truth about what motivates us</title><summary type="text">Here is a video of a talk given by Dan Pink about motivation in the workplace that I found via Phil Haacks Blog.    The main points I take away from the video are this:  Pay people enough so that money isn’t an issue. After you’ve done this, it turns out that three factors lead to better performance and personal satisfaction:     Autonomy – our desire to be self-directed     Mastery – our urge to</summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/1862773513642669998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2013/01/the-surprising-truth-about-what.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1862773513642669998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1862773513642669998'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2013/01/the-surprising-truth-about-what.html' title='The surprising truth about what motivates us'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-2401324226980253949</id><published>2012-11-15T21:57:00.000+00:00</published><updated>2013-05-11T01:37:59.175+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET MVC"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="JSON"/><category scheme="http://www.blogger.com/atom/ns#" term="KnockoutJS"/><category scheme="http://www.blogger.com/atom/ns#" term="Web API"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>Poker Odds API - ASP.NET MVC 4 Web API Knockout.js Example</title><summary type="text">  Download Source Code  Poker Odds API is an example API built using ASP.NET MVC Web API. Given a Texas Holdem Poker hand (and optionally the community cards) it will calculate the odds of winning.           How It Works Poker Odds uses the excellent PokerHandEval code written by Keith Rule (based in turn on the poker-eval library). Users of the API submit information on their hand, and get back </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/2401324226980253949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2012/11/poker-odds-api-aspnet-mvc-4-web-api.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/2401324226980253949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/2401324226980253949'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2012/11/poker-odds-api-aspnet-mvc-4-web-api.html' title='Poker Odds API - ASP.NET MVC 4 Web API Knockout.js Example'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg91xxq_cVDmujg9S4iW9c2kuG6ok1Vfifx3hJppTAvoyb1k42xLWUfnRBpdxKusXfImVP3Ufmm4xzQ4PIxiZsdI39VfOsRKgkOyAaG25_4srMkJZyfiXcif1WFuFqT2BkEehkJqAAEUu0/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-4988503863711850114</id><published>2012-10-09T23:22:00.000+01:00</published><updated>2012-10-10T22:27:42.037+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="MsgPack"/><category scheme="http://www.blogger.com/atom/ns#" term="ZeroMQ"/><title type='text'>ZeroMQ + MsgPack + .NET</title><summary type="text">I have created a simple testbed to demonstrate 2 .NET applications communicating with each other using ZeroMQ Publisher/Subscriber connections for the communications layer, and MsgPack as the serialization/deserialization layer.

ZeroMQ is a highly efficient and scalable network layer that acts as a reliable messaging layer on top of raw sockets. Performance is key here.

For ZeroMQ I use the x86</summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/4988503863711850114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2012/10/zeromq-msgpack-net.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/4988503863711850114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/4988503863711850114'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2012/10/zeromq-msgpack-net.html' title='ZeroMQ + MsgPack + .NET'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-2152694453029107166</id><published>2012-10-05T21:33:00.000+01:00</published><updated>2012-10-05T22:23:51.925+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="Debugging"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>jQuery - Add an ajax request indicator to a page in a fixed position for debug purposes</title><summary type="text">This is a handy code snippet for adding a debug indicator to a page that uses jQuery for ajax requests. The indicator appears as a little 5px square in the top right hand corner of the page.


If the square is grey, then the request is in progress and has not received a response yet.
If the square is green then the response was received ok.
If the square is red then there was an error (either a </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/2152694453029107166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2012/10/jquery-add-ajax-request-indicator-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/2152694453029107166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/2152694453029107166'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2012/10/jquery-add-ajax-request-indicator-to.html' title='jQuery - Add an ajax request indicator to a page in a fixed position for debug purposes'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-6179401728619265831</id><published>2012-10-05T21:20:00.001+01:00</published><updated>2012-10-05T21:35:02.504+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="JSON"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>XML2JSON – Command line tool for converting XML to JSON</title><summary type="text">XML2JSON is a simple command line tool for converting XML files to JSON. It uses the JSON.NET library.    Usage:  XML2JSON.exe input.xml output.jsonExample Input:&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&amp;lt;catalog&amp;gt;   &amp;lt;book id=&amp;quot;bk101&amp;quot;&amp;gt;      &amp;lt;author&amp;gt;Gambardella, Matthew&amp;lt;/author&amp;gt;      &amp;lt;title&amp;gt;XML Developer&#39;s Guide&amp;lt;/title&amp;gt;      &amp;lt;genre&amp;gt;Computer&amp;lt;/genre&amp;gt</summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/6179401728619265831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2012/10/xml2json-command-line-tool-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/6179401728619265831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/6179401728619265831'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2012/10/xml2json-command-line-tool-for.html' title='XML2JSON – Command line tool for converting XML to JSON'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-6685105193788172363</id><published>2012-10-05T18:44:00.000+01:00</published><updated>2012-10-05T18:44:52.344+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>Create A Dynamic Object From An XML File</title><summary type="text">Here are a couple of simple methods that load an xml file into a dynamic object that can be used in code. At present this code does not handle xml attributes, only elements.
   </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/6685105193788172363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2012/10/create-dynamic-object-from-xml-file.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/6685105193788172363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/6685105193788172363'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2012/10/create-dynamic-object-from-xml-file.html' title='Create A Dynamic Object From An XML File'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-1539860358882392287</id><published>2012-10-05T18:27:00.000+01:00</published><updated>2012-10-05T18:27:16.865+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>Javascript - Get Query String for current page as object</title><summary type="text">Here is a code snippet that gets the current query string parameters and puts them into a query object that can then be used to read the values in subsequent code.
  </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/1539860358882392287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2012/10/javascript-get-query-string-for-current.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1539860358882392287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1539860358882392287'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2012/10/javascript-get-query-string-for-current.html' title='Javascript - Get Query String for current page as object'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-3101317263187901420</id><published>2010-07-01T10:16:00.001+01:00</published><updated>2010-07-01T10:18:47.340+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Expression Blend 4"/><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight 4"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><title type='text'>Cannot Build Expression Blend 4 / Silverlight 4 Project in Visual Studio 2010</title><summary type="text">Just had this problem: Trying to build an Expression Blend 4 Silverlight 4 project in Visual Studio 2010 on a machine that does not have Expression Blend 4 installed on it threw these errors:     The property &#39;Triggers&#39; does not exist on the type &#39;Grid&#39; in the XML namespace &#39;http://schemas.microsoft.com/expression/2010/interactivity&#39;.&amp;#160;&amp;#160;&amp;#160; The tag &#39;EventTrigger&#39; does not exist in XML</summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/3101317263187901420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2010/07/cannot-build-expression-blend-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/3101317263187901420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/3101317263187901420'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2010/07/cannot-build-expression-blend-4.html' title='Cannot Build Expression Blend 4 / Silverlight 4 Project in Visual Studio 2010'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-5070887289182409634</id><published>2010-06-30T12:23:00.001+01:00</published><updated>2010-06-30T12:23:37.204+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight 4"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><title type='text'>Unable To Open Silverlight 4 Project In Visual Studio 2010</title><summary type="text">Just had this issue: Opening a project created on another machine threw an error in Visual Studio 2010. The output window contained this message:     The imported project &amp;quot;C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets&amp;quot; was not found. Confirm that the path in the &amp;lt;Import&amp;gt; declaration is correct, and that the file exists on disk.   </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/5070887289182409634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2010/06/unable-to-open-silverlight-4-project-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/5070887289182409634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/5070887289182409634'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2010/06/unable-to-open-silverlight-4-project-in.html' title='Unable To Open Silverlight 4 Project In Visual Studio 2010'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-1264087723621813334</id><published>2010-06-11T10:56:00.001+01:00</published><updated>2010-06-11T18:29:02.368+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Debugging"/><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight 3"/><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight 4"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2008"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><title type='text'>Unable to start debugging. The Silverlight managed debugging package isn’t installed.</title><summary type="text">Just had this problem – Installed Visual Studio 2010 (which installs Silverlight 4), then used Visual Studio 2008 to open a Silverlight 3 project, tried to debug it, and POW!     I fixed it by installing the Silverlight Windows Developer Runtime, as linked to from http://www.silverlight.net/getstarted/  </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/1264087723621813334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2010/06/unable-to-start-debugging-silverlight.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1264087723621813334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1264087723621813334'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2010/06/unable-to-start-debugging-silverlight.html' title='Unable to start debugging. The Silverlight managed debugging package isn’t installed.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjij23X9ZmA5zrJdgBRtoIngirNwMqqwILrZL1KW_2gK_6YtJIQpymvxgWy2EUfe7MicSwDCiKJ1YDlt3dTvddAlTvvcwacCYhb5ECejeWQCzgPbogm5e6nsd_cFzdgSJaqTnogGTDJRfA/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-7544942124239950740</id><published>2010-04-06T11:30:00.001+01:00</published><updated>2010-04-06T11:30:27.573+01:00</updated><title type='text'>Error inserting DBNull.Value into varbinary column</title><summary type="text">I have just experienced this problem: When attempting to insert DBNull.Value into a varbinary column, upon executing the insert statement the following exceptions is thrown:   ”Implicit conversion from data type nvarchar to varbinary(max) is not allowed. Use the CONVERT function to run this query.”  I found the solution here: http://forums.asp.net/t/1250380.aspx  Essentially, in this case I </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/7544942124239950740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2010/04/error-inserting-dbnullvalue-into.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/7544942124239950740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/7544942124239950740'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2010/04/error-inserting-dbnullvalue-into.html' title='Error inserting DBNull.Value into varbinary column'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-2322904075460757667</id><published>2010-04-01T17:20:00.001+01:00</published><updated>2013-05-07T00:22:06.258+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Graphics"/><title type='text'>Nice Curves! - Catmull–Rom spline in C#</title><summary type="text">Download sample code

Suppose you have a series of points that define a region.

 

When you “join-the-dots” you end up with something that looks quite “pointy”.

 

What if you want your region to look a little curvier than this?

Splines are a great way of calculating extra points between these key points to allow you to create much more organic and natural looking regions.

In this example I </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/2322904075460757667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2010/04/nice-curves-catmullrom-spline-in-c.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/2322904075460757667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/2322904075460757667'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2010/04/nice-curves-catmullrom-spline-in-c.html' title='Nice Curves! - Catmull–Rom spline in C#'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0Oy-e6MKI-U8hky0udw_noKcYi_7oRE3ecPhnQxfF1IlJTDq-hVuban8Tkk7743u6TcAZy553Ko2zOXXIiae8wx00LDkA3bBiXW0ikTQb-c0rM9qHTVzfhGg-3d2-rhmYz4YPYF2st8/s72-c?imgmax=800" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4090506267317625551.post-1783092708334862928</id><published>2010-03-31T10:25:00.001+01:00</published><updated>2010-03-31T13:21:56.310+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Bitmap"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="IEnumerable"/><category scheme="http://www.blogger.com/atom/ns#" term="Image"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server 2008"/><category scheme="http://www.blogger.com/atom/ns#" term="SqlDataReader"/><category scheme="http://www.blogger.com/atom/ns#" term="varbinary"/><category scheme="http://www.blogger.com/atom/ns#" term="yield"/><title type='text'>Reading Images From SQL Server using SqlDataReader.GetBytes</title><summary type="text">Searching around on the internet I found it difficult to find some example C#/.NET code on using SqlDataReader.GetBytes to read image data from a varbinary field in a SQL Server 2008 database. Eventually I found a solution that worked for me, so I thought I would share it with the world.  My solution returns an IEnumerable&amp;lt;T&amp;gt; and uses yield allowing the handling of very large datasets, as </summary><link rel='replies' type='application/atom+xml' href='http://tehc0dez.blogspot.com/feeds/1783092708334862928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tehc0dez.blogspot.com/2010/03/reading-images-from-sql-server-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1783092708334862928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4090506267317625551/posts/default/1783092708334862928'/><link rel='alternate' type='text/html' href='http://tehc0dez.blogspot.com/2010/03/reading-images-from-sql-server-using.html' title='Reading Images From SQL Server using SqlDataReader.GetBytes'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>