Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

What is new in RavenDB 3.0: JVM Client API

AddThis Social Bookmark Button
RavenDB has always been accessible from other platforms. We have users using RavenDB from Python and Node.JS, we also have users using Ruby & PHP, although there isn’t a publicly available resource for that. With RaenDB 3.0, we release an official Java Client API for RavenDB. Using it is pretty simple if you are familiar with the RavenDB API or the Hibernate API. We start by creating the document store:
border-left-style: none; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4"> IDocumentStore store = new DocumentStore(ravenDbUrl, "todo-db"); store.initialize(); store.executeIndex(new TodoByTitleIndex());
Note that we have an compiled index as well here, which looks like this:
public class TodoByTitleIndex extends AbstractIndexCreationTask { public TodoByTitleIndex() { map = "from t in docs.todos select new { t.Title, t.CreationDate } "; ...(Read whole news on source site)

RavenDB Days this week!

AddThis Social Bookmark Button
It is coming, and soon .   I’m going to talk about what is new in RavenDB 3.0 (like the posts you have seen so far, a lot has changed). Manuel will present a case study of building high scale systems, then Michael will give you a guided tour through the RavenDB internal. After lunch, we’ve Mauro talking about indexes and transformers, then I’m going to talk about the additional database types that are coming to RavenDB, and finally Judah is going to show how RavenDB speeds up your development time by a factor or two. You can register to that here.

The Morning Brew #1694

AddThis Social Bookmark Button
Software Azure: SQL Databases, API Management, Media Services, Websites, Role Based Access Control and More – Scott Guthrie announces the latest batch of improvements to the Microsoft Azure platform, including General Availability of QSL Database Service Tiers, API Management Service and Azure Alerting, as well as a number of new previews as well as media […]

Up-Line and Down-Line with HierarchyId Data type - SQL Server 2008

AddThis Social Bookmark Button
I have already given HierarchyId datatype overview in my earlier post. Also explained some of HierarchyId functions in post with details . Please go through on the overview and some function details which i explained in my previous post. In this article i am going demonstrate following items. 1. How to get the up-line nodes? 2. How to get down-line nodes? HierarchId's functions will give you answer of all above questions. Let's demonstrate the answers with examples. Before go ahead i would like to create HierarchyId data structure by following script. -- Create database
and table CREATE DATABASE HierarchyDB GO USE HierarchyDB GO IF ( Object_id('HierarchyTab') > 0 ) DROP TABLE HierarchyTab GO CREATE TABLE HierarchyTab ( NodeId INT IDENTITY(1, 1) ,NodeDepth VARCHAR(100) NOT NULL ,NodePath HIERARCHYID NOT NULL ,NodeDesc VARCHAR(100) ) GO -- Creating constraint on hierarchy data type. ALTER TABLE HierarchyTab ADD CONSTRAINT U_NodePath UNIQUE CLUSTERED (NodePath) GO -- Inserting data in above creatd table. INSERT INTO HierarchyTab(NodeDepth,NodePath,NodeDesc) VALUES ('1',HIERARCHYID::Parse('/'),'Node-1'), ('1.1',HIERARCHYID::Parse('/1/'),'Node-2'), ('1.1.1',HIERARCHYID::Parse('/1/1/'),'Node-3'), ('1.1.2',HIERARCHYID::Parse('/1/2/'),'Node-4'), ('1.2',HIERARCHYID::Parse('/2/'),'Node-5'), ('1.2.1',HIERARCHYID::Parse('/2/1/'),'Node-6'), ('1.2.2',HIERARCHYID::Parse('/2/2/'),'Node-7'), ('1.2.2.1',HIERARCHYID::Parse('/2/2/1/'),'Node-8'), ('1.2.2.1.1',HIERARCHYID::Parse('/2/2/1/1/'),'Node-9'), ('1.2.2.1.2',HIERARCHYID::Parse('/2/2/1/2/'),'Node-10'), ('1.3',HIERARCHYID::Parse('/3/'),'Node-11'), ('1.3.1',HIERARCHYID::Parse('/3/1/'),'Node-12'), ('1.3.2',HIERARCHYID::Parse('/3/2/'),'Node-13'), ('1.4',HIERARCHYID::Parse('/4/'),'Node-14') GO The structure of HierarchyId data looks as following,   1. How to get the up-line nodes? GetAncestor(n) : This function will help us to get up-line of the particular hierarchy node. looking on the script, which will find first up-line node of all hierarchy nodes. -- GetAncestor(n) SELECT NodePath.GetLevel() AS...(Read whole news on source site)

Thread Contention Effects

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/akraus1/archive/2014/09/14/159021.aspxRecently I have seen an interesting performance question on SO which deals with Parallel.For in .NET. The code was basically Parallel.For(0,1000*1000*1000, i => {}); The actual work is simulated by an empty delegate which is an easy measure the overhead of Parallel.For. When you let this run on some multicore machines in x86 Release you get number like
The running time is not constant as one might expect
but sometimes there are slowdowns in the order of 6 times or more. With WPT is was quickly able to find as root cause the parallel for loop counter increment method: clr.dll!COMInterlocked::ExchangeAdd64 It is used to increment the loop counter in a lock free way. With all cores in use we have massive memory contention on it but not all the time. By measuring the counts per thread I could see that sometimes one thread gets much less work than the others but there was no clear pattern which did relate to the slowdowns. Since we deal here with memory contention...(Read whole news on source site)

The road to Großglockner

AddThis Social Bookmark Button
Sixteen days after leaving home, we're now on our way back to Antwerp. After Croatia, we've driven through Slovenia, Italy, Austra and Switzerland, arriving in France to meet up with my parents for a few days.

France offered us the typical vineyards and chateaux. What, next to the good company, will stick with me the most is the High Alpine road in Austria. We paid 34 euros to be allowed on the road, but the surroundings of that piece of asphalt are extraordinary.
The drive is rough, maybe even more so coming down than going up. No
wonder car manufacturers use it to test drive their close to production-ready prototypes.

It has been quite the trip. I had never expected to give my eyes such a show so close to home.



...(Read whole news on source site)

.NET developers, utilize Git better using the command prompt

AddThis Social Bookmark Button
I’ve been using Git in Visual Studio for quite some time now (since not long after it was released) and I’ve really grown to like it.  I particularly like the speed and general ease of use.  I find TFS/TFVC (weather that be a local instance or TFS online) to be slow and unreliable and it […] The post .NET developers, utilize Git better using the command prompt appeared first on Developer Handbook.

APress Deal of the Day 14/September/2014 - Beginning R: An Introduction to Statistical Programming

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/TATWORTH/archive/2014/09/14/apress-deal-of-the-day-14september2014---beginning-r-an.aspxToday’s $10 Deal of the Day from APress at http://www.apress.com/9781430245544 is ‘Beginning R: An Introduction to Statistical Programming’. “Beginning R: An Introduction to Statistical Programming shows how to get R, use R, and write your own custom statistical functions with a powerful, capable, and freely-available programming language and statistical computing environment. ”

O’Reilly Deal of the Day to 05:00 PT 14 September 2014

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/TATWORTH/archive/2014/09/13/orsquoreilly-deal-of-the-day-to-0500-pt-14-september.aspxO’Reilly are offering all programming e-books and videos at half-price at http://shop.oreilly.com/category/browse-subjects/programming.do?code=PROGDY until 05:00 14/September/2014. “Behind every line of great code is a programmer or two who deserves recognition. In celebration of their hard work and contributions to our lives, let's have a round of applause for all programmers on this, the 256th (hexadecimal 100th, or the 28th) day of the year. For one day only, Save 50% on all programming ebooks and videos to celebrate this important day.”      

Home