Kamis, 17 Februari 2011
Understanding the IE9 Software Rendering Mode
I recently heard from some users who are seeing lower-than-expected scores on the Speed Reading and FishIE Tank benchmarks. I went to check these tests myself and found that my laptop’s score was low. In fact, it was much lower than I’d seen last year. What happened? First, a bit of background: These graphically rich demos are designed to use your PC’s Graphics Processing Unit (GPU) instead of
Signature Box that Makes the Signature Look Right
IntroductionHave you ever noticed how childish and imprecise your signature looks when you write your name in a handheld signature box? The small size of the stylus compared to a standard pen, the nearly frictionless stylus-on-touch-screen interaction and the fact that the handheld is often hanging in the air instead of firmly lying on a table are three physical explanations for these ugly
What is the difference between a directory and a folder?
Windows 95 introduced Windows Explorer and along with it the term folder. What is the relationship between folders and directories?Some people believe that Windows 95 renamed directories to folders, but it's actually more than that. Windows Explorer lets you view folders, which are containers in the shell namespace. Directories are one type of folder, namely, folders which correspond to file
10 Reasons to Say “No” to Cloud Computing ?
I have been writing about the benefits of migrating to the Cloud in previous articles but it is also important to highlight in which circumstances the Cloud Computing route may not be the appropriate one. Building on some answers to a similar question asked on Quora , here is a list in no specific order of ten good reasons why Public Cloud Computing may not be a good fit for your company:1) You
11 GPG Commands One Should NEVER Forget
GnuPG is the GNU project's complete and free implementation of the OpenPGP standard as defined by RFC4880 . GnuPG allows to encrypt and sign your data and communication, features a versatile key management system as well as access modules for all kinds of public key directories. 1. Create GPG Keys$ gpg --gen-key 2. List the available keys in your keyring$ gpg --list-keys 3. Exporting the public
Изоляция служб в Windows
Как известно, службы Windows представляют собой одно из наиболее излюбленных мест для атак на операционную систему. В худшем (для нас, конечно) случае атакующий получает возможность действовать на атакованном компьютере в контексте учетной записи, от имени которой запущена взломанная служба. И если эта учетная запись обладает административными правами, то фактически злоумышленник получает полный
Structure Initialization in C#
Structure in C# allows us to group the variables and methods. Its some what similar to classes but that's not true there are no. of difference between class and structure. But here in this post I am not going to discuss about that, here I am going to explain how to Initialize Structure. Facts: 1. Structure is Value type. 2. D# oesn't allows to create parameter less constructor because its
Пишем игру для Android. Часть 3. Управление игровыми объектами
В этой статье мы рассмотрим две темы: управление игровыми объектами и их взаимодействие. Мячик у нас уже летает, осталось сделать, чтобы он отражался от стен и ракеток; также стоит реализовать управление нижней ракетки игроком, а верхней — неким алгоритмом. Итак, приступим.Движение мячикаДля начала добавим в GameObject следующие полезные функции:GameObject.java/** Верхняя граница объекта */public
Changing a SQL Server Database Owner
Fact: every SQL Server database has an "owner". You can check the owner of a database by running this query:SELECT NAME, SUSER_SNAME(owner_sid)FROM sys.databasesWHERE NAME = 'DatabaseName' However, there may come a day when you run into this error:There was error outputting database level information for ServerName.DatabaseName.Property Owner is not available for Database '[DatabaseName]'. This
Agile Startups – 5 Must-Have Characteristics for a Startup
We love startups.Especially technology startups. As a startup ourselves, Agile Scout works and runs like a lean-startup.A question was posed to the Agile Scout as to what we look for in an individual who wants to be part of a startup. Here’s our answer: Top 5 Characteristics of a Startup PersonEnthusiasm – Does the team and leadership of the team LOVE what they do. Are they saturated in it and
Rabu, 16 Februari 2011
Bugzilla 4.0 launches out of beta
Bugzilla, Mozilla's bug-tracking system, has just hit version 4.0. While version 4 has been in beta for a while now, it's been 4 years since the stable release of version 3, which has now been declared EOL (End Of Life) and will no longer be supported. Bugzilla 4.0 comes packing quite a few new features and improvements over 3.x. Here are the highlights:Automatic duplicate detection for bug
¡Increíble! Google Turns Your Android Phone Into An On-The-Fly Conversation Interpreter
When it came to translations, you used to either need an interpreter or a book to navigate another language. That was either costly or cumbersome, respectively. Then the Internet came along and made things significantly easier. Except you had to be chained to your computer to translate something. A year ago, Google made things easier again by launching their Translate app for Android. But that’s
Google To Merge Honeycomb and Gingerbread
In Barcelona, Google's Eric Schmidt has been revealing future plans for Google, saying that the next release will merge smartphone and tablet versions of its mobile operating system Android. Aside from bragging about Android's growth, Schmidt tiptoed around a question of Google acquiring Twitter, instead offering the very nebulous statement that YouTube doubled its revenues last year Read more:
Please Help Me Understand the Android Releases
So, Google's CEO said something about a new version, but it's coming after Android 3.0 ("Honeycomb"), and it ties in with Android 2.3 ("Gingerbread'), which really hasn't moved out yet, and might also update. So, uh, what's going on with Android, exactly? Help me make sense of all these desserts! Sincerely,Astonished by AndroidDear Astonished,Here's our best shot at deciphering the official
Remote Bug Found In Ubuntu Kerberos
There's a remote vulnerability in the Kerberos implementation in several versions of Ubuntu, which could allow an attacker to cause a denial-of-service on vulnerable servers. The bug is in Ubuntu 8.04, Ubuntu 9.10, Ubuntu 10.04 and Ubuntu 10.10. The bug is in the Ubuntu implementation of the Kerberos authentication protocol. Ubuntu has released a slew of new packages to fix the flaw. The group
VMware put an Android in your Android, so you can VM while you VM
So apparently VMware heard you like virtualization (or at least, that corporations do), so it made an Android virtual machine that can run inside Android's own Dalvik VM. The idea being, of course, that busy corporate types could play all night on their nifty new Android superphones, but still be able to dive into a minimalist, business-first environment with one tap when it's time to go to work.
Add the 2D Version of the New Unity Interface to Ubuntu 10.10 and 11.04
Is your computer or virtualization software unable to display the new 3D version of the Unity Interface in Ubuntu? Now you can access and enjoy the 2D version with just a little PPA magic added to your system! To add the new PPA open the Ubuntu Software Center, go to the Edit Menu, and select Software Sources. Access the Other Software Tab in the Software Sources Window and add the first of the
Share your Androidify creations
Google does a lot of really cool things, but some times they just get it right the first time. Take Androidify for example. Making yourself, loved ones, bitter rivals, or co-workers into Androids is fun. Using Androidify, it's simple. When simple and fun get together, you just can't beat it. I know we have a lot of creative readers, and Android Central forums member jjcasillas15 (that tall
Hands on with MonoTouch - C# for the Apple iPhone and iPad
When an editor asked me for a screenshot of MonoTouch, which lets you use an open-source implementation of Microsoft's .NET Framework to target Apple's iPhone and iPad, I obtained it the best way I know, which is by installing it and trying it out. It is something I have been meaning to try for a while. There is high demand for apps on Apple's iOS, and both the iPhone and the iPad are finding
WP7 for iPhone and Android Developers - Introduction to C#
This article is part 1 from a 12-part article series on Windows Phone 7 for iPhone and Android Developers.WP7 for iPhone and Android Developers - Introduction to C# (current part)WP7 for iPhone and Android Developers - Introduction to Xaml and Silverlight WP7 for iPhone and Android Developers - Advanced UIWP7 for iPhone and Android Developers - Hardware and Device ServicesWP7 for iPhone and
Duke Nukem Forever PC will use Steamworks
2K Games confirmed today on their Duke Nukem Forever forums that the PC version of the long-awaited shooter will be fully-integrated with Steamworks for DRM and online play. Hey guys, I've been fielding many inquiries about whether or not Duke Nukem Forever is going to be on Steam and today I'm happy to clear up any outstanding rumors and questions in your mind by saying: Yes, DNF *is* using
Selasa, 15 Februari 2011
Getting Started with Android – Creating Android Application
This is ongoing blog on Getting Started with Android. In earlier blog, I provided an architecture overview of android application. In this blog, I will setup the development environment for Android and create a simple hello world application. I would say are two ways you could develop Android applications-The web development way: – Utilizing your web development skills like- HTML, CSS 3 and
Multi-Server Queries – Underappreciated features of Microsoft SQL Server
This is part of the series of posts that I am running under the title "Under Appreciated Features of SQL Server". The series has been inspired by Andy Warren's editorial on SQLServerCentral.com. After Activity Monitor, this is one of the other features that I was surprised to see in the list of underappreciated features. This feature has been a dream come true for anybody who manages more than
Mobile Development with Mobile Frameworks
Today a number of mobiles are coming with having different awesome features, but supporting various platforms. If a mobile application has to build, it has to be build for at least 4 – 5 platform. As the top platform viz. Android, Windows, Iphone have each large number of user base. Due to variety of platforms, it has been creating an hurdle for mobile app developer, as he has to learn for each
How to develop games on Android
One of the biggest markets in smart phones is games. I am sure most of us would have played around with “Angry Birds” . In this games tutorial you will learn different methods of developing “Android Games” At the end of the post is the video on how the code below works and the zip of all the source files used in this example.Android Games can be developed in 3 ways1) Developing games using
Coding4Fun.Phone.Toolkit v1.1
This is where Coding4Fun will house all our cool controls and tools that we come up with! Right now we’ve created and updated some great controls for Silverlight that should help out everyone! If there is a bug [report], a needed control/feature that could benefit everyone [chat], or you want to help out [email], please reach out to us! NuGet Installs:Controls + TimeSpan Picker: Install-Package
Crysis 2 PC build leaked
Looks like the full version of Crysis 2 (though a beta build from developers) has been leaked to torrents. The build contains the entire single player campaign of the game, apparently. However, it's in debug mode and not the final build of the game. It's currently unknown how this build got onto the net but its always sad when something like this happens as it is bound to not only affect sales of
Sonos Controller for Android with voice search will blow you away (video)
You can exhale Sonos fans, it's finally happening. The Sonos Controller for Android is official. After almost a year in development, the free WiFi music remote finally gives Sonos owners control over their whole-home audio system from any Android 2.1 and above device with a screen size of HVGA 320 x 480, WVGA 480 x 800 or WVGA 480 x 854. At least it will when it hits the Market at the end of
You May Kiss The Bride, Thanks To Google Weddings
Google is making a big push into the wedding planning scene today, launching a full fledged planning portal for brides and grooms to be. Google Weddings is a destination that houses wedding-specific templates in Google Sites, Google Docs and Picnik for save-the-dates, wedding websites, planning materials, invitations and more. Google has also partnered with wedding planner Michelle Rago to
You need a mobile app. ShoutEm makes its creation incredibly easy.
If you’ve ever dealt with the building of a mobile application, you’ll know that it’s a realm best left to those who do it professionally. It’s so easy to build something that just doesn’t do your content justice on a mobile platform. The answers that we’ve seen to this problem so far is to build HTML5 websites that function as a mobile app. While that experience will work as a stop-gap measure,
Writing with a Phone
The Traccia is a phone concept modeled on how we use a writing instrument, specifically a pen. The intuitive way we write on a sheet is translated to commands for the phone thanks to the embedded optical sensor located at the end of the stick. Basically whatever you write gets translated to a command or function via the installed software. This means your invisible writing can be converted to
Design Trends: 25 Awesome iPhone & iPad App Website Designs
Mobile is blowing up. O.K., maybe it’s already blown up and I’m just a bit behind the times, but regardless of my lack of technical savvy, mobile apps make up a huge market and today I want to look over one of the most recent trends I’ve seen in web design – iPhone and iPad app website designs. One of the main things you see in every one of the examples below is a large iPhone or iPad image,
MJPEG Decoder for WPF, WinForms, WP7 and XNA
Project DescriptionLibrary to decode MJPEG streams for Silverlight, Windows Phone 7, XNA 4.0, WinForms, and WPF. Sample code showing usage is included with the distribution. For more information, see the full article at Coding4Fun. Read more: CodeplexRead more: Coding4Fun Posted via email from Jasper-net
Working with Android Layouts and ListViews
I've been the owner of an Android phone for about 5 months now. The thought of creating an application for the Android platform has appealed to me ever since. That's why I recently started with Android development as a learning project for the next couple of weeks. In this post I will start sharing my experience with developing Android applications. Getting startedThe basic thing, while starting
Internet Explorer 9 RC – download, what’s new and get your sites ready
Dean Hachamovich has just announced availability of Internet Explorer 9 Release Candidate on the official IE team blog. As Dean blogs, we have received a lot of feedback from developer and end-users. We have listened and now with the RC, IE9 has made progress in the areas of performance, standards, user interface, safety and privacy. Actions:Download Internet Explorer 9 Release Candidate through
Alien Dalvik lets Android apps run anywhere
Alien Dalvik and similar technologies have the power to make all mobile devices equal and to make the Android app the only type of app you ever have to write.Many Android users think that the only problem with Android is that it only runs on Android portable devices. More precisely they would like to run the same apps on their laptops and perhaps even desktop machines. While Android is a
Fiddler and the IE9 Release Candidate
I’m delighted to announce that the now-available IE9 RC includes three significant enhancements for users of proxy-based debuggers like Fiddler.These improvements are:The default Connections-Per-Proxy limit has been raised from 6 to 12, improving performance and in some cases reducing Observer Effect. Debugging of traffic sent to Localhost / 127.0.0.1 now “just works”—configuration changes are
VistaDB CLR Procs and Functions Introduction
Intro to CLR Stored Procedures and CLR FunctionsCLR Stored Procedures and Functions are a relatively new way to build extensions for your database. Traditionally stored procedure logic has been written in SQL, but SQL Server 2005 introduced the ability to use CLR code for procedures. Microsoft sometimes calls this SQL CLR as the technology used to load CLR assemblies into SQL Server. Prior to SQL
Looking for Silverlight developers? Post your job openings in SilverlightShow open group on LinkedIn
SilverlightShow group on LinkedIn is now an open group. And among the main benefits of an open group is the option to share all discussions on Facebook and Twitter! Hope this will really encourage the sharing of the information discussed in the group. We see that LinkedIn is often used to post job announcements as discussions. We don't mind that - so feel free to post your Silverlight jobs in our
Check out a 'Query Analyzer/SSMS' for Log Parser called Log Parser Lizard
As any incident responder will agree, you can never have too many logs. That is, of course, until you have to analyze them! I was recently on an engagement where our team had to review hundreds of gigabytes of logs looking for evidence of hacking activity. I was quickly reminded of how much I love Microsoft Log Parser. Log Parser is often misunderstood and underestimated. It could possibly be the
Buffer.BlockCopy not as fast as you think
I recently wrote a quick test to prove something, that ended up being wrong…Of course this is the way of science. You form a hypothesis, then you test. The results should prove or disprove your theory. The HypothesisOk, my theory was that Buffer.BlockCopy() would outperform our current Array.Copy routines on the page level.When we are loading records off a page, we have to extract some parts of
Mallory – Transparent TCP & UDP Proxy
Mallory is a transparent TCP and UDP proxy. It can be used to get at those hard to intercept network streams, assess those tricky mobile web applications, or maybe just pull a prank on your friend.In more technical terms, Mallory is an extensible TCP/UDP man in the middle proxy that is designed to be run as a gateway. The goal is to man in the middle traffic for testing purposes. The ideal setup
How do specify that a shortcut should not be promoted as newly-installed on the Start menu?
Windows XP employed a number of heuristics to determine which Start menu shortcuts should be promoted when an application is newly-installed. But what if those heuristics end up guessing wrong?You can set the System.AppUserModel.ExcludeFromShowInNewInstall property to VARIANT_TRUE to tell the Start menu, "I am not the primary entry point for the program; I'm a secondary shortcut, like a
ClickOnce, TaskDialogs, Common Controls and WPF Applications
One of the things that I talked a little about in my talk about “Modern Windows Applications on Windows 7” was around the idea of using a TaskDialog when you’re trying to get a response from the user rather than using your own custom dialog or a MessageBox or similar. As an aside, this isn’t just about TaskDialogs and MessageBoxes and so on – there’s other reasons why you would want to get the
Kerberos Debugging Tips
I worked on adding Kerberos support for Apache Rampart and WSS4J during last few weeks and interop testing with WCF.Following lists some useful debugging tips I came across..1. How to list all the Kerberos tickets issued to the logged in client principal in Windows c:\Program Files (x86)\Resource Kit>klistCurrent LogonId is 0:0x29a6fCached Tickets: (2)#0> Client: administrator @ WSO2.COM
What should be considered when NOLOCK hint is used
IntroductionWith SQL Server the NOLOCK hint is very tempting especially with SELECT statements where at least one of the tables is frequently updated. Using the NOLOCK removes all queueing problems and the SELECT statement runs smoothly, but not without side effetcs. Why do we need a hint at allFirst question might be that why do we need to add this hint to get the statement running without
Google Rolls Out Two-Factor Authentication For Everyone. You Should Use It
Given how much data we’re trusting to online sites these days — email, search history, even voice calls — the repercussions to having our account passwords phished, hacked, or guessed are worse than ever. Unfortunately as far as consumers are concerned, account security has been stagnant for years: nearly every service requires a username and password, and that’s it. Cue the scary music and a
Building a database installer with WiX, datadude and Visual Studio 2010
Today I have been using Windows Installer XML (WiX) to build an installer (.msi file) that would install a SQL Server database on a server of my choosing; the source code for that database lives in datadude (a tool which you may know by one of quite a few other names). The basis for this work was a most excellent blog post by Duke Kamstra entitled Implementing a WIX installer that calls the GDR
Securing your SSH Server
One of the most common questions that I see in my favorite IRC channel is: "How can I secure sshd on my server?" There's no single right answer, but most systems administrators combine multiple techniques to provide as much security as possible with the least inconvenience to the end user. Here are my favorite techniques listed from most effective to least effective:SSH key pairsBy disabling
shared_ptr – Advanced STL, Part 1
Part 1 of my video lecture series exploring the Standard Template Library’s implementation is now available. In this part, I explain how some of shared_ptr’s magic works, including type erasure and make_shared()’s optimizations that save both space and time. This advanced series assumes that you’re familiar with C++ and the STL’s interface, but not the STL’s implementation. If you haven’t
Testing a web service using “wireshark”
Wireshark is a well known network protocol analyzer, which further can be used to monitor web service communications as well.Here, I am going to briefly note how this tool can be used to test the web service that we have developed in our previous blog post examples. (i.e. StudentService) How to install wireshark on Linux?Just type “sudo apt-get install wireshark”.How to run wireshark on Linux?
How to Add a Checkbox to a List View Column Header
IntroductionThere doesn't appear to be much, if any, example code of how to place a checkbox in the column header of a list view control. This can be used to add "check/uncheck all" functionality if you're using LVS_EX_CHECKBOXES in your list view window style to display a check box next to each item. Unfortunately, the method used here only works with Windows Vista/Server 2008 and later. It
iPhone passwords hacked in six minutes
There is no such thing as perfect security, but it can be better than the current state of affairs. Researchers at the Fraunhofer Institute in Germany have demonstrated an easy and repeatable way to get at the accounts including passwords stored on an iPhone. They have to have actual physical possession of the phone being hacked, but this makes lost or stolen phones completely insecure - which is
Converting XML data to CLR object using XmlSerializer
My last Post (Consuming Webservice from Silverlight) was all about accessing a web service/API from Silverlight; there I described how to consume an external API, with a sample from GeoName web services. As I said in that article, this article is the continuation. Here I am going to demonstrate how to convert the result output, which is in XML, to a CLR object and of course using it as a
FreedCamp: A Free Alternative To Basecamp
If you are looking for a nice free alternative to Basecamp, then you should check out Freedcamp. This tool positions itself as the closest free alternative that you will ever get to Basecamp. This means you can work on unlimited projects, with unlimited file sharing, the same way you would work on Basecamp without signing up to monthly plans. Using Freedcamp is very straightforward. You only need
The Economics of Commercial Open Source
In the past 20 years, open-source has gone from a small movement to a major force in the software industry. Many mission critical and enterprise operations are now powered by open-source software and its influence on the rise of the Internet is undeniable. Open source is more than the availability of the source – it is a development philosophy that encourages contribution, transparency and the
Reactor Service Bus
Project Description Reactor Service Bus is a light weight .Net service bus built upon the Apache NMS messaging API. It provides a rich subscription model and built in load balancing features for consumers. The Reactor Service Bus isn't just another .Net service bus. Although it provides a similar programming interface to other .Net service bus frameworks on the market, it’s built upon the Apache
Internet Explorer Administration Kit 9 Release Candidate
The Internet Explorer Administration Kit (IEAK) 9 simplifies the creation, deployment and management of customized Internet Explorer 9 packages. IEAK 9 can be used to configure the out-of-box Internet Explorer 9 experience or to manage user settings after Internet Explorer 9 deployment. Read more: MS Download Posted via email from Jasper-net
Apache NMS project
Welcome to the Apache NMS project, the .NET Messaging API.NMS API OverviewThe NMS API This allows you to build .NET applications in C#, VB, or any other .NET language, using a single API to connect to multiple different providers using a JMS style API. NMS ProvidersAn NMS Provider is a .NET Assembly that provides an implementation of the NMS API that provides connectivity with a particular
Silverlight 4 February 2011 Update Released Today
Today (at approximately 10:00 AM PST) our team released an update to the Silverlight 4 runtime. This update, dubbed internally as “GDR3,” provides an update in the following key areas (KB2495644): Timestamp issues with media playback and VC-1 codecVisual Studio IDE crash when profiling a Silverlight application which has a pixel shaderEnabling Silverlight to run as a 32-bit process in 64-bit
SQL Server Management Studio (SSMS) AddIn to automatically name SQL windows
SSMS Plus is a lightweight addin for SQL Server Management Studio that automatically names query windows based on their contents, removing the problem of having to search through a proliferation of open untitled query windows to find what you are looking for. It also provides a useful auto-save function (to My Documents \ SQL Server Management Studio \ Queries). Maybe it's just me, but this
Faking Forms Authentication in Silverlight
In a website that implements Forms Authentication Silverlight fits in very easily – Forms Authentication leaves a cookie on the client – and Silverlight just picks it off if you’re using the Browser Stack (which you normally would). In other words – It simply works. However, many times you would like to do the authentication yourself – that is – to fake an HTTP Post so that you can authenticate
12 things web developers should know about Firebug
Most web developers have heard of, and used Firebug, but perhaps don't know its full power. Firebug is a debugger, editor, and monitor for websites, CSS, HTML, DOM, JavaScript, and HTTP. It was created by one of the original Firefox creators Joe Hewitt. Below I will list 12 of the most important things I feel web developers should know about Firebug.1. You can instantly find any part of the
ILSpy — open source альтернатива .NET Reflector
Как вы все знаете, Reflector становится платным. Такой шаг компании Red Gate не мог не сподвигнуть разработчиков сделать бесплатную альтернативу. Вот и всем известные разработчики open source решений для .NET IC#Code (на их счету так же IDE SharpDevelop) взялись за разработку своего Reflector'а. Разработка началась совсем недавно, поэтому проект ещё не оброс всеми нужными фичами, но есть надежда
Silverlight 4 Toolkit Chart Zoom and Pan Extension
Features* Utilises existing toolkit without modification* Zoom box functionality* Mouse wheel zoom functionality* Pan functionality* Scroll Functionality* X Span functionality OverviewI've been working on a project which uses the Silverlight 4 Toolkit chart control. The control is great, however there is no real zoom functionality which is a problem.Here is an example given where the charts
Nokia Simplifies the Mobile Landscape
On Friday, Nokia announced that they were adopting WP7 as their operating system. Although some open source advocates might see this as a set-back for Linux, Android is already the best-selling Linux OS of all times. Meanwhile, as a Ben Zander student, all I see is possibility and the the world of opportunities that this opens to developers. Although they will continue shipping Symbian for a
Windows Phone 7 Development for Android Developers
Much like mobile applications for the Android platform, Microsoft® Windows® Phone 7 (WP7) applications are written in a managed language—Java for Android and C# for Windows Phone 7—with accompanying libraries. Many of the differences between Java and Visual C#® are style related. The two modern languages share a common ancestry with the C/C++ languages and bear a strong resemblance to one another
Referencing a picture in another DLL in Silverlight and Windows Phone 7
This one has burned me a few times, so here is how it works for future reference:Usually, when I add an Image control into a Silverlight application, and the picture it shows is local (as opposed to loaded from the web), I set the picture’s Build Action to Content, and the Copy to Output Directory to Copy if Newer. What the compiler does then is to copy the picture to the bin\Debug folder, and
A Critical Deep Dive into the WPF Rendering System
At first I didn’t think I’d publish this. I wanted to consider a bit of diplomacy and also thought I’m beating a dead horse. After being convinced by some people who’s opinion’s I highly value, I decided to. Developers are investing quite a bit into Microsoft’s UX platforms should know more about how the innards of the platform works, as when they hit a brick wall, they can properly understand
Mockingbird is a fantastic in-browser tool for creating website wireframes
Sometimes you've got an idea in your head for a website or page layout, or even for an application. But then you need to somehow get it out of your head and actually look at it, or show it to someone. While drawing on the back of a napkin is a time-honored strategy, that is not always ideal because you can't edit your drawing later, and it may be difficult to share. Mockingbird is like a digital
SQL Server: Store and Retrieve IP Address
We can store IP addresses in SQL Server in a varchar column. However to retrieve IP address for a specific range, we need to split each part and compare it.Consider the following table: Suppose we want to retrieve all the IP addresses that fall in the range from 192.168.120.120 to 192.168.200.255. The following query will retrieve these IP addresses: Here’s the same query for you to try out:
WCF – Silverlight debugging tips
IntroductionAs all of us know if something went wrong in the Silverlight application that is consuming WCF, how much painful it is to investigate the problem. Debugging only help to certain level, as it do not always give the exact error message. It sucks and it eats considerable amount of time to know the problem and all that we end up in identifying nothing. If we know some smart tips in WCF +
Build your Web Application at runtime
Disclaimer: let me start by saying that the technique described in this blog is experimental, and is meant as a first step to see where this might take us. This is not in any way an officially supported technique! If you are an ASP.NET user, you are likely aware that there are two different types of apps that you can create: Web Sites and Web Applications. Here is a quick summary of how they
Анализ зависимостей программно? NDepend!
Как поддерживать качества код на должном уровне? Есть много способов – культура написания кода, регулярное code review, всевозможные договорённости внутри команды (convensions), парное программирование и прочие практики XP, TDD, BDD, DDD… Список можно продолжать, и в него будут попадать все более страшные слова :) Но на самом деле каждый выбирается для себя свой способ. А как следить за качеством
Another SQL Server FILESTREAM Best Practice guide
Recently I was asked to advise a customer on a FILESTREAM implementation he was devising, and part of that ended up becoming this blog post that I hope can be of some help for you.When to use FILESTREAM? In SQL Server, BLOBs can be standard varbinary(max) data that stores the data in tables, or FILESTREAM varbinary(max) objects that store the data in the file system. The size and use of the data
Senin, 14 Februari 2011
Silverlight 4: Interoperability with Windows 7 Taskbar using COM
Microsoft released Windows 7 last year which has lots of functionalities including a nice UI. Among those features one of the most user friendly feature is Pin/Unpin application to Taskbar. You can develop WPF or Windows Forms applications in which you can implement this feature. But do you know that this is also possible in Silverlight? Yes, Silverlight 4 has the power to talk with any other
How To Crash the Internet
We know you can take down Web sites with Distributed Denial of Service (DDoS) attacks. We know that a country, like Egypt, can shut down a country's entire Internet access. And, we thought we knew that you can't take down the entire Internet. It turns out we could be wrong. In a report from New Scientist, Max Schuchard a computer science graduate student and his buddies claim they've found a way
Тонкие моменты C#
Не секрет, что C# сегодня популярный и динамично развывающийся язык, в отличие от своего прямого конкурента — языка Java, который в плане функциональности переживает период застоя. Основное неоспоримое преимущество Java — настоящая кросплатформенность, а не унылая и ограниченная, как у C#. C# — простой язык, благодаря простоте живёт и PHP. Но в то же время он весьма функциональный, и имеет статус
Расширенные атрибуты FAT16 и NTFS
Расширенные атрибуты файлов — дополнительный набор атрибутов, поддерживаемый Windows в файловых системах NTFS, FAT16 и HPFS. Расширенные атрибуты (extended attributes, EA) поддерживаются начиная с Windows NT и во всех последующих операционных системах на ядре NT. Поддержка расширенных атрибутов была добавлена в Windows для совместимости с операционной системой OS/2, в которой они широко
Интересная особенность конструкции foreach в языке C#
При написании кода на языке C# достаточно часто приходится использовать конструкцию foreach. Ведь так на много удобнее проходить по коллекциям, по сравнению с использованием цикла for. Безусловно, у каждого метода есть свои плюсы и минусы и выбор всегда зависит от конкретной задачи и ситуации. Но на днях меня удивила одни интересная особенность конструкции foreach, а именно то, как это работает.
Posting to an ASP via Windows Sockets in C
IntroductionEver needed a quick way to get around to post text to a web server and get a response accordingly ? Look no further. In this article i give the reader a class with 2 methods for testing the availability of the connection and for posting information. Background I used this code to post major text files, line by line, of summaries on PocketPC (Windows Mobile) to a statistical web
Dealing With Native DLLs in .NET “AnyCPU” Builds
A .NET application can be compiled using the “AnyCPU” configuration, meaning the application runs as 32 bit on a 32 bit OS, and 64 on a 64 bit OS. As long as the application is purely managed, everything should be just fine. However, if the application must use some native DLL through interop (e.g. P/Invoke), then “AnyCPU” may be an issue. A native DLL cannot be both 32 and 64 bit – it’s one or
Displaying vtable when debugging
Due to some limitations the virtual table of an object is not shown by default in the debugger. In some cases only the entries from the base class is shown.class Base{ virtual void a(); };class Derived : public Base{ virtual void b();};Base* ptr = new Derived();which in a watch window givesptr->__vfptr 0x004420f8 const Derived::`vftable' [0x0] 0x00415ed3 Base::a(void) You can look at the
Расширяем log4net. Конкурентное логирование
Библиотека log4net известна и в представлении не нуждается. В ней есть практически всё, что нужно, «из коробки». Однако, есть специфические ситуации, в которых необходимо добавлять/расширять функциональность библиотеки. Конкретная ситуация: есть некоторая библиотека, которая выполняет логирование через log4net в некоторый логер (или несколько — не суть). Эта библиотека используется в N службах.
jQuery Tutorial - Creating an Autocomplete Input Textbox
With jQuery 1.8 came a brand new widget - the autocomplete input field. If used correctly, like in the case of Google's search suggestions, autocomplete can provide a major boost in productivity. Today's tutorial is going to demonstrate how to build and populate one of these autocomplete inputs. We're going to make two identical examples that get their data from two different sources - one will
MotherEffin HTML5 Boilerplate MVC 3 Site Template
This past week I’ve been reading up on the HTML5 Boilerplate project by Paul Irish (of the Google Chrome and jQuery teams fame). The HTML5 Boilerplate project is a collection of all the best practices for modern day web development in one easy to use project template. Read more: Clarity consultingRead more: HTML5 Boilerplate MVC project template Posted via email from Jasper-net
Утечки памяти в С++: Visual Leak Detector
В этой короткой заметке хочу рассказать о прекрасной программе для поиска утечек памяти под Visual Studio -- Visual Leak Detector. Она удивительно проста в использовании и выдает подробную информацию о найденных утечках, а на хабре пока не упоминалась. ПредысторияОднажды мне позарез понадобилось искать утечки памяти в одной программе на С++, притом средой разработки была Visual Studio.
Running .NET applications in-process using AppDomains
When testing a compiler for a managed language a very convenient end-to-end testing technique is to compile a test program, then run it and verify that it gives the expected output. Not only you cover all parts of the compiler in this manner (parser, binder and emitter), but also you verify that your compiler produces correct IL (otherwise the CLR won’t load and verify your assembly) and your
Quasar
Project Description Quasar is a suite of class libraries for .Net developers, providing data structures, algorithm, extension methods and other components which are not implemented in standard .Net framework. The library provides data structures like Trees, Heap, Queue, SkipList, Graph etc.; several useful extensions methods for .Net collections, strings, random numbers, delegates etc.;
Disassembly view и goto from try { }
Вот мне всегда было интересно как имплементится на машинном уровне поведение такого кода:class Foo { static void Main() { bool jump = true; Label: try { System.Console.WriteLine("try"); if (jump) { jump = false; goto Label; } } finally { System.Console.WriteLine("finally"); }
Google man open sources Chrome build system
Google Chrome developer Evan Martin has open sourced the custom-designed build system he uses to build the browser's Linux port.Martin calls the system Ninja because it "strikes quickly." According to Martin's Ninja manual, he previously used a customized system based on the old GNU Make build-automation system, and while this needed 10 seconds to start building the open source Chromium browser
Blend Bits 23–Templating
One of the real strengths of Expression Blend is in its deep understanding of control templates. Visual Studio doesn’t really go near control templates and so you really need Blend unless you’re a pure consumer of someone else’s templated controls. Control templates are a complex concept in themselves and so editing them can be a bit mind-bending for the first time. If you’ve not encountered the
Megastore: Google's Answer to NoSQL Databases
Last month Google released a paper on its high availability datastore Megastore. Megastore "blends the scalability of a NoSQL datastore with the convenience of a traditional RDBMS in a novel way, and provides both strong consistency guarantees and high availability," the paper says. Megastore is the technology behind Google's High Replication Datastore, which covered here previously. It's a short
Ping.exe replica in C# 2.0
IntroductionI've been working on an application that needed to connect to a webservice and exchange information with it. So before creating the proxy object, I needed to check if there is any internet connection on the client and if the webservice address can be reached. The easiest way was to call Ping.exe using the Process class and get my information from there, but it's dirty coding calling
NBug
Project DescriptionNBug is a .NET library created to automate the bug reporting process. It automatically creates and sends:* Bug reports,* Crash reports with minidump,* Error/exception reports with stack trace + ext. info. It can also be set up as a user feedback system (i.e. feature requests).NoteCodeplex project site is only used for source control. Please visit the project web site for
LoggingMagic
Project DescriptionMSBuild task for adding some logging to your application.Inject calls to Log.Trace at the beginning of each method.Integrates with nlog, log4net or your custom static logger class within your assembly Read more: Codeplex Posted via email from Jasper-net
Paint.NET v3.5.7 Beta (Build 4058) is now available
This update improves reliability of saving, further improves Copy/Paste functionality, and fixes some other miscellaneous bugs. I decided to port the “fault-tolerant save” work I did in the v4.0 codebase back to v3.5.x so that this much-needed reliability improvement could be made available now. As usual, you can get it either by downloading it from the website, or via the built-in updater (
SQL Server Compact Edition 4.0 Toolkit v2 - Don't leave your Visual Studio without it...
SQL Server Compact Edition, what's fun about that?Having SQL Server like capability without the pain of installing SQL Server? Having a solid and supported upgrade path from a local data store to a central shared SQL Server? Having supported multithreaded data storage you can now, with v4, use in your web app? Entity Framework support included in the box? Xcopy deployment of your data and data
How to get Assembly (DLL) from GAC
Their are many ways to get Assembly from the GAC folder, I thinks that the easiest way to do this is just run the command: "Subst X: c:\windows\ assembly" (X = Drive letter to get into the GAC Folder). After you done to run this command you can enter your new "drive" and find your Assembly. Read more: Or Biran Posted via email from Jasper-net
Minggu, 13 Februari 2011
The Stanford SRP Homepage
The Secure Remote Password protocol performs secure remote authentication of short human-memorizable passwords and resists both passive and active network attacks. Because SRP offers this unique combination of password security, user convenience, and freedom from restrictive licenses, it is the most widely standardized protocol of its type, and as a result is being used by organizations both
Sabtu, 12 Februari 2011
Process Hacker
Process Hacker is a feature-packed tool for manipulating processes and services on your computer.Key features of Process Hacker:A simple, customizable tree view with highlighting showing you the processes running on your computer. Detailed system statistics with graphs.Advanced features not found in other programs, such as detaching from debuggers, viewing GDI handles, viewing heaps, injecting
WMIC - Take Command-line Control over WMI
This article is from the March 2002 issue of Windows & .NET Magazine.Microsoft is creating a lot of good reasons to make the command prompt in Windows XP and the Windows Server 2003 family your home for systems management. Windows Management Instrumentation Command-line (WMIC), which uses the power of Windows Management Instrumentation (WMI) to enable systems management from the command line, is
Fport
Fport v2.0Identify unknown open ports and their associated applicationsfport supports Windows NT4, Windows 2000 and Windows XPfport reports all open TCP/IP and UDP ports and maps them to the owning application. This is the same information you would see using the 'netstat -an' command, but it also maps those ports to running processes with the PID, process name and path. Fport can be used to
Kamis, 10 Februari 2011
להאיץ את האתר בעזרת Google App Engine / מדריך
שירות האירוח של האתר שלכם נמצא במקום מסוים בעולם, נניח בישראל. זה טוב לישראלים, אך מעט פחות טוב לגולשים מחו"ל.נניח וג'ון האמריקאי מבקש לראות עמוד מהאתר שלכם, הבקשה שלו צריכה לבצע מסע "עליה" לישראל ולאחר מכן המידע מהאתר שלכם צריך לעזוב את הארץ ולהגיע עד ארה"ב, אל מחשבו של ג'ון. זאת דרך די ארוכה שלוקחת זמן. זה היה יכול להיות נחמד אם היה אפשר לפתוח "סניפים" לאתר שלכם ברחבי העולם, לא? כך גולשים
Charity Raising Money To Buy Used Satellite
For those of us who live in the developed world, internet access has become pretty much a given. It's become so ubiquitous that we almost expect to have it at all times and in all places, but even in this 'Information Age,' the majority of the world's population lacks access to the internet – either because service isn't available where they are, or they can't afford it. Kosta Grammatis has a
Windows Server 2008 R2 and Windows 7 SP1 Releases to Manufacturing Today
Hi I’m Michael Kleef, Senior Technical Product Manager with the Windows Server and Cloud division. Today, on behalf of the team, I’m pleased to announce the Release to Manufacturing (RTM) of Windows Server 2008 R2 Service Pack 1 (SP1), along with Windows 7 SP1. SP1 will be made generally available for download on February 22. Two new features in Windows Server SP1, Dynamic Memory and RemoteFX,
45 Most Useful And Inspiring Blogger templates: Enjoy Freebies
Blogger templates can be used by any individual or group to set up their website. Once a template is downloaded, the user will replace all general information included in the web template with their own personal, organizational or product information. Blogger templates usually used in different categories, such as personal information or daily activities as in a blog, sell products online,
4 Ways to Make LinkedIn Your Company's Best Friend
Visitors to Websites tailored more toward business professionals than consumers are increasingly choosing to log in using their existing LinkedIn identities, said social tool provider Gigya on Tuesday. In fact, whereas only three percent of users to such sites chose to sign in using their LinkedIn identities in a Gigya study last July, that number had increased all the way up to 20 percent by
Instapaper Releases A Full API — With A Brilliant, Unique Twi$t
I love Instapaper. Blah blah blah — you all know that by now. But today developer Marco Arment has released something significant that could alter the way the service is used: a full API. And perhaps even more interesting is how he’s released it. In his blog post on the matter, Arment dives into his tough decision making process when it comes to the API. The main problem is that unlike a lot of
Twitter as Tech Bubble Barometer
As Internet valuations climb and bankers and would-be buyers circle Silicon Valley in an increasingly frothy tech market, many eyes are on one particularly desirable, if still enigmatic, target: Twitter. Discussions with at least some potential suitors have produced an estimated valuation of $8 billion to $10 billion. Executives at both Facebook Inc. and Google Inc., among other companies, have
Silverlight 4 Property Triggers
I spent a little time this week messing around with the newly added Triggers and TriggerActions available through the new Expression Blend 4 SDK.Triggers and Behaviors are really just ways to attach functionality to an existing element, and the base classes that are included in the newer version of Silverlight 4 really make the job easier. I’m going to walk through adding a trigger that fires
Video Training – Windows Phone 7 Development series for Android Developers
MSDev has released the new videos on Windows Phone 7 for Android Developers which helps the Android developers to kick start the Windows Phone 7 Development .The series includes 8 Videos and is presented by Nancy Strickland and Bill Lodin . Windows Phone 7 for Android Developers: The User Interface Windows Phone 7 for Android Developers: Data Windows Phone 7 for Android Developers: Graphics
Enums and inheritance in .Net
In one of my current projects I had the following code (I simplified the code a bit):public string ConnectionString{ get { switch(this.Importer) { case Importer.SqlServer: return "Server=localhost;Database=Northwind"; case Importer.SqlServerOleDb: return"Provider=SQLOLEDB;Data Source=localhost;Initial Catalog=Northwind";
How to Disable right click popup menu in a MVVM silverlight 4.0 application
The business problemThe silverlight configuration dialog has got a lot of useful functionality and the ability to quickly uninstall the application However most of the time you would want to prevent the business users from knowing the details of implementation.There is also a possibility that the business users could change a few settings inadvertently and cause the application from working or
Apache Axis2™
Apache Axis2™ is a Web Services / SOAP / WSDL engine, the successor to the widely used Apache Axis SOAP stack. There are two implementations of the Apache Axis2 Web services engine - Apache Axis2/Java and Apache Axis2/C While you will find all the information on Apache Axis2/Java here, you can visit the Apache Axis2/C Web site for Axis2/C implementation information.Apache Axis2, Axis2, Apache,
Capturing via tcpdump to view in Wireshark
$sudo tcpdump -i en1 -s0 -w captured.pcap-i Listening interface-s Snarf snaplen bytes of data from each packet rather than the default of 64K bytes. Packets truncated because of a limited snapshot are indicated in the output with ``[|proto]'', where proto is the name of the protocol level at which the truncation has occurred. Note that taking larger snapshots both increases the amount of time it
Rabu, 09 Februari 2011
Back to the basics : Exception Management design guideline for N-tier Asp.net applications
Introduction"How do you define a good Exception Management for an N-Tier Asp.net application?"Pretty simple question, but not that much simple to answer.We are good at making things. But, may be, we are not equally good at designing systems which properly handles errors with gracefulness, provides user with a polite message about the error and doesn't leave him/her in a dead-end, and internally,
Ela, functional language
Project DescriptionEla is dynamically (and strongly) typed and comes with a rich and extensible type system out of box. It provides an extensive support for the functional programming paradigm including but not limited to - first class functions, first class currying and composition, list/array comprehensions, pattern matching, polymorphic variants, thunks, etc. It also provides some imperative
Langganan:
Postingan (Atom)