background preloader

Code.nasa.gov

Code.nasa.gov

Windows Phone 7.5 - Manipulating camera stream In the previous article from this series I've introduced how to access the cameras of the phone and emulate a photo camera using the Windows Phone API. These API are really straightforward and almost everyone can take pictures easily for the purposes of the application. But for the most demanding, taking pictures does not suffice. As an example you can think to an application that needs to measure the light incoming from the lens or that is able to read a barcode without asking the user to click a button. These two samples, but also lot of other I can imagine, require the access to the raw stream coming from the camera. Download the source code Accessing the raw stream For the purpose of demonstrating how to access the camera stream, I've created a simple histogram calculator app. Just to be clear, it cannot be a simple image capture performed using the CaptureImage() method I've described in the last article. 1: public Histogram() 3: InitializeComponent(); 14: else 15: histogram[ value ]++;

The Journal of Irreproducible Results Zalgo Text Generator Information Zalgo is a combination of 3 different character sets, Combining Diacritical Marks (U+0300 - U+036F), Greek and Coptic (U+0370 - U+3FF) and Cyrillic (U+0400 - U+04FF). It is also known as a "meme" on sites like but is also argued to be a "curroption instead. Some websites and computers cannot read these characters even if they have UTF-8 enabled. If you can't see it then try going to "View > Character encoding / encoding > UTF-8". Encyclopedia Dramatica : "The Zalgo outbreak has since been brought to greater attention by b3ta.com user Evilscary, who created/discovered most of the Garfield and Ctrl-Alt-Del comics featuring Z҉A҉L҉G҉O. Zalgo Characters Reference Zalgo Character Code Reference

Maldives warns of climate refugees Mohamed Nasheed: '...this is unlike any other thing that has happened before.' Photo: AFP THE president of what could be the first country in the world lost to rising sea levels has urged Australia to prepare for a wave of climate refugees. Maldivian President Mohamed Nasheed's government is considering Australia as a new home if the archipelago disappears into the ocean. ''I think it's really quite necessary for Australians and for every rich country to understand that this is unlike any other thing that's happened before,'' Mr Nasheed told The Saturday Age. The Intergovernmental Panel on Climate Change predicts a sea level rise of up to 59 centimetres over the next century, a level that would inundate most of the Maldives' inhabited atolls. Fourteen islands have already been abandoned. The country has established a sovereign wealth fund to buy land overseas and finance the relocation of the country's 350,000 people. Advertisement

Writing user defined functions for Excel in .NET - .NET4Office I've updated this article with some new guidance--for the details, see this post. Excel enables the creation of user defined functions that can be used in Excel formulas. A developer must create a special kind of DLL called an XLL. Excel also allows you to write custom functions in VBA that can be used in Excel formulas. Unfortunately, Excel does not support or recommend writing an XLL that uses managed code. Fortunately, there is an easier way to create a user defined function that doesn’t require you to create an XLL dll. First, launch Visual Studio 2005 or Visual Studio 2008 and create a new C# class library project called AutomationAddin for this example. Then, in your Class1.cs file, enter the code shown below. using System;using System.Runtime.InteropServices;using Microsoft.Win32; namespace AutomationAddin{ // Replace the Guid below with your own guid that // you generate using Create GUID from the Tools menu return result; } Registry.ClassesRoot.CreateSubKey( key.SetValue("", 1. 2. 3.

jetty - Jetty WebServer Jetty provides a Web server and javax.servlet container, plus support for HTTP/2, WebSocket, OSGi, JMX, JNDI, JAAS and many other integrations. These components are open source and available for commercial use and distribution. Jetty is used in a wide variety of projects and products, both in development and production. Jetty can be easily embedded in devices, tools, frameworks, application servers, and clusters. See the Jetty Powered page for more uses of Jetty. The current recommended version for use is Jetty 9 which can be obtained here: Jetty Downloads. The Jetty project has been hosted at the Eclipse Foundation since 2009. You can benefit from committer knowledge and get training, consulting services, professional support and even production SLAs, just ask us about it!

Font embedding with css: the @font-face selector ... and more Introduction With the @font-face {...} selector you have the possibility to import a font in a webpage. If it is not installed on the visitors computer, it is temporally available during the visit of your page. Sounds beautiful, is as simple solution, but This was possible according to the CSS2 specifications ... ( here) This is not possible according to the CSS2.1 specifications ... ( here) The trouble is, that the most browsers don't support (fully) the CSS2 rules (using CSS2.1 instead), and cannot display the fonts defined by the @font-face {...} rules. Easy reading article: Anne van Kesteren's weblog 20th August 2003. Workaround? See test page for scalable image for non existing font type. But in some cases it is possible to make a cross browser font embedding or an IE-only font embedding! Testing the universal way This paragraph uses theembedded 'Ace Crikey' font ( embedded as *.ttf file ) ( image ) Here is in the same way the 'Trains' font (a dingbats "font") as embedded ttf: ...opOte.

Deploying Font Servers « 318 Tech Journal Mac OS X has come with the ability to activate and deactivate Fonts on the fly since 10.5, when Font Book was introduced. Font Book allows a single user to manage their fonts easily. But many will find that managing fonts on a per-computer basis ends up not being enough. Which begs the question: who needs a font server? Lack of font management is a cost center for many organizations. Font Management and Best Practices Anyone who uses fonts for daily workflow needs font management. ~/Library/Fonts/Library/Fonts/System/Library Fonts Leaving any necessary system, Microsoft Web Core, and required Adobe fonts. The best resource for this process can be found at Extensis Font Best Practices in OX v.7, which can be found at: Types of Font Server Products Available There are two major font server publishers: Extensis and Font Agent Pro. Insider Software offers two levels of font servers. Pre-Deployment Strategies and Projects Extensis 1. 1.

cufón - fonts for the people UPDATE Oct 24: We have released version 1.09i, which is the same as 1.09 but IE9-compatible. 1.10 is on its way as well. Keep in mind that you do not need to convert your font files again, just replace your old cufon-yui.js with a new one and you're good to go. As it currently stands, version 1.09 does not work in IE9 beta which was just released. You might also want to take this opportunity to try Typekit, a hosted, @font-face-based alternative. On Windows, you may first have to copy the font file out of the Fonts folder and paste it elsewhere in order to be able to select it. Currently only TrueType (TTF), OpenType (OTF), Printer Font Binary (PFB) and PostScript fonts are supported. Useful if you're using multiple variants of the same font (bold, italic etc). See Fonts and the Law at fontembedding.com for more information. Cufón is distributed under the MIT license.

My IP Address Lookup and GeoTargeting - Community Geotarget IP Project - domain to IP lookup, what country, city IP addresses map to - IP Trace Sea Creatures Amazing collection of weird and strange sea creatures. Lizard Fish Prickley Shark Chimaera Pup Fish Chimaera Fish Blob Fish Umbrella Mouth Ggulper Eel Aphyonus Basketwork Eel Coffin Fish Crab Fangtooth Hatchet Fish Shovel Nosed Lobster Stargazer Fbootstrapp by Clemens Krack, based on Bootstrap, from Twitter Using emphasis, addresses, & abbreviations When to use Emphasis tags (<strong> and <em>) should be used to indicate additional importance or emphasis of a word or phrase relative to its surrounding copy. Use <strong> for importance and <em> for stress emphasis. Emphasis in a paragraph Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Note: It's still okay to use <b> and <i> tags in HTML5 and they don't have to be styled bold and italic, respectively (although if there is a more semantic element, use it). Addresses The <address> element is used for contact information for its nearest ancestor, or the entire body of work. Note: Each line in an <address> must end with a line-break (<br />) or be wrapped in a block-level tag (e.g., <p>) to properly structure the content. Abbreviations For abbreviations and acronyms, use the <abbr> tag (<acronym> is deprecated in HTML5).

Free Programming and Computer Science Books opentracker - An open and free bittorrent tracker Overview opentracker is a open and free bittorrent tracker project. It aims for minimal resource usage and is intended to run at your wlan router. Version History opentracker is currently only available from CVS. Build instructions Until opentracker is declared official release ready, the way to install it is: cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfatcd libowfatmakecd ..# LEGACY: cvs -d:pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot co opentrackergit clone opentrackermake That should leave you with an exectuable called opentracker and one debug version opentracker.debug. Some variables in opentracker's Makefile control features and behaviour of opentracker. -DWANT_V6 makes opentracker an IPv6-only tracker. Currently there is some packages for some linux distributions and OpenBSD around, but some of them patch Makefile and default config to make opentracker closed by default. Invocation opentracker can be run by just typing . Config file Closed mode

Related: