You can use a StreamGeometry object, along with the StreamGeometryContext returned by its Open method, to draw simple geometric shapes. When using the various methods of a StreamGeometryContext instance, you work with X and Y values. The coordinate system used has the upper left corner of the drawing region at (0,0), with X values increasing from left to right and Y […]
On Friday, Microsoft came up with Azure DocumentDB. You might say that I have a small interest in such things, so I headed over there to see what I can learn about this project.
Aside from being somewhat annoyed with the name, this seems to be a very different animal from RavenDB, and something that was built to serve a different niche. One of the things that we put first with RavenDB is ease of use, development and deployment for business applications. The ADB design appears to be built around a different goal, around very big datasets.
Nitpicker corner: Yes, I know
this is a preview, and I know that they are going to be changes. And I repeat, I have no knowledge about this project beyond the documentation and several hours of playing with it.
That said, I do have a fair bit of experience in this area. So I feel that I can speak with confidence about the topic.
ADB is supposed to be an highly scalable system that store documents. So far, so good, I can certainly understand that need. But it has made drastically different design choices, some of which I feel very strongly about. I'll try to explore the...(Read whole news on source site)
I’m thrilled to be presenting at TechDays 2014
in Stockholm the 19-20 December. This is the 5th time the TechDays conference is held here in Sweden and I know that this years edition will be even more awesome than the previous times. As usual the best speakers from Sweden will be there and some international really interesting speakers, such as the well-known Mary Jo Foley
. I will be presenting a session
about the new and interesting Office 365 APIs. We will walk through what these new APIs do, what they can be used for, how
to do authentication and why you should invest your time in these APIs. It will be a developer focused session and we will look at code as much as possible – and we will have as much fun as possible. I really look forward to meeting you there, and if you’re not already booked
, then head on over to your manager and say that if he or she doesn’t send you to TechDays, then you will in the wake of your competitors. Oh, and by the way, don’t miss out on the early bird offer which is valid until...(Read whole news on source site)
Creating Custom AngularJS Directives Series The Fundamentals Isolate Scope Isolate Scope and Function Parameters
Transclusion and Restriction (this post)
In Part 3
of this series I introduced how an isolate scope local property defined in a directive can be used to pass parameters to external functions (something that’s a bit tricky at first glance but easy once you know the process). In this post I’ll continue the series on building custom directives
and discuss “transclusion” and how it can be used to add flexibility to directives. Restriction in Directives
Directives can be defined in HTML as elements, as an attribute of an element, as a CSS class, or as a comment. How do you restrict how your custom directive can be used though? To restrict how and where a directive can be used you use the restrict property. It accepts the following values:
Restriction Description E
After an shamefully and incredibly large amount of vacations... let's go back to some blogging ;-)
Windows Phone 8.1 Update 1 (WP 8.2 would have been easier, no?) came out earlier this month, and offers some nice new features, among them is Live Folders for your start screen:
See that in in action:
Originally posted on: http://geekswithblogs.net/theArchitectsNapkin/archive/2014/08/24/the-incremental-architectrsquos-napkin---5---design-functions-for.aspx
The functionality of programs is entered via Entry Points. So what we´re talking about when designing software is a bunch of functions handling the requests represented by and flowing in through those Entry Points. Designing software thus consists of at least three phases: Analyzing the requirements to find the Entry Points and their signatures Designing the functionality to be executed when those Entry Points get triggered Implementing the functionality according to the design aka coding I presume, you´re familiar with phase 1 in some way. And I guess you´re proficient in implementing functionality in
some programming language. But in my experience developers in general are not experienced in going through an explicit phase 2. “Designing functionality? What´s that supposed to mean?” you might already have thought. Here´s my definition: To design functionality (or functional design for short) means thinking about… well, functions. You find a solution for what´s supposed to happen when an Entry Point gets triggered in terms of functions. A conceptual solution that is, because those functions only exist in your head (or on paper) during this phase.
But you may have guess that, because it´s “design” not “coding”. And here is,...(Read whole news on source site)
Sometimes the simple act of adding a project or assembly reference results in multiple subsequent attempts to fix the build because of the myriad indirect references that those depend on in turn, and which you are forced to add. Some other times, you just wish you were able to remove all those external projects that clutter the solution and slow down VS, but you need the project references for those tough debugging times. Welcome to Smarter Project References!
If you want to go straight to the best thing to happen to MSBuild since Shared Projects (wait, that wasn’t long ago at
all…), just install this package on your projects:
Indirect Reference Annoyances
This problem manifests itself pretty easily and I’m sure we’ve all faced this issue at some point or another. A very simple (hypotetical) scenario where this happens is:
You have a shared MVVM project that has a base ViewModel class which is really awesome, since it does some logging for you via a log4net ILogger protected property it exposes, and also uses an Autofac type for doing lazy composition with metadata (or whatever).
You add that to your solution.
You create the new UI project, and reference the nice MVVM library you created.
Next,...(Read whole news on source site)
Taking screenshot is pretty easy in Moto G Android phone . You can actually do it without any apps and the screenshot feature is available natively in the Moto G. How to take screenshot in Moto G Android Phone ? To take screenshot on Moto G device , press and hold the “Power” button and “Volume down” key at the same time for around 3 seconds . This will take the screenshot of the current screen and save the screenshot in the screenshot folder in your Gallery.
This tutorial will explain in simple steps on how the users can change the default apps on your android phone (Android v 4.4.4) . The Android operating system comes with many default apps . There are times when you would have installed multiple apps which can support opening the similar file types . For example , you can have multiple apps on your android phone which can open the mp4 files. In the above case , the “Complete Action Using” option is shown to the user with the options “Always” and “Just Once” . Selecting the “Just Once” means that
you will be asked next time again when you launch the similar file and provides an perfect solution if the users would like to switch between apps. The “Always” option will set the app selected as the new default app. How to Clear the default app settings in Android Device (Moto G)? To rest the default app settings , navigate to Settings screen and then select Apps -> All . Select the app that you wish to unset the app as the default app. In the App Info screen , Click the “Clear defaults” button found under the “Launch by...(Read whole news on source site)