Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
The Breaking Changes Wishlist for 1.2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 51 - 74 of 74 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 17 2012, 8:38 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Tue, 17 Apr 2012 15:38:59 +0300
Local: Tues, Apr 17 2012 8:38 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

We have to modify JSON.Net to resolve some things.
And we have to allow users to customize themselves using JSON.Net options.

On Tue, Apr 17, 2012 at 3:26 PM, Itamar Syn-Hershko <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 17 2012, 8:39 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Tue, 17 Apr 2012 15:39:21 +0300
Local: Tues, Apr 17 2012 8:39 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

Which brings us back to the same problem as before, just managing this is
becoming really hard.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Itamar Syn-Hershko  
View profile  
 More options Apr 17 2012, 8:53 am
From: Itamar Syn-Hershko <ita...@hibernatingrhinos.com>
Date: Tue, 17 Apr 2012 15:53:18 +0300
Local: Tues, Apr 17 2012 8:53 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

Following up on this:

*This will be a breaking change in 1.2.*

We will compile the entire Json.NET sources into one of the Raven
assemblies, under a custom namespace.

You will have to change the using statements in your code to point to that
namespace instead of Newtonsoft.Json.*

The idea behind this is to avoid depending on external release cycles, and
to be able to fix bugs on ourselves, stuff that wasn't accepted upstream

On Tue, Apr 17, 2012 at 3:24 PM, Fitzchak Yitzchaki <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Baltika  
View profile  
 More options Apr 17 2012, 9:16 am
From: Jim Baltika <baltikaus...@gmail.com>
Date: Tue, 17 Apr 2012 06:16:15 -0700 (PDT)
Local: Tues, Apr 17 2012 9:16 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

Hey guys,
I faced the same problem a some time ago. Check it out it, works for my
team fine. The Short story. We are building sites using Sitecore CMS which
uses JSON.NET 3.51 (and it not open source and can' be upgraded as it will
break everything), also we have Raven JSON.NET 4.0.8 and our libraries uses
the JSON.NET 4.5. So we got JSON.NET source changed  the build target names
like Vodca.Sdk.Newtonsoft.Net and added reference alias not as global
(default) but  with out name SDK and modified code (example below) . Now If
I need a new version to run from JSON.NET I update source rebuild each
time. This way i don't need care about changing custom namespaces or
joining the changes , no maintenance problem and all three 'JSON.NET' work
together :)

extern alias SDK;
 namespace Vodca
{
    using System.Diagnostics.CodeAnalysis;
    using SDK::Newtonsoft.Json;

    /// <summary>
    ///     The JSON extension methods
    /// </summary>
    public static partial class Extensions
    {

<https://lh3.googleusercontent.com/--1UEA_MuCIk/T41px9EWP4I/AAAAAAAADF...>

<https://lh5.googleusercontent.com/-4YXsGZnA1wM/T41p34D0Y3I/AAAAAAAADF...>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 17 2012, 9:19 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Tue, 17 Apr 2012 16:19:36 +0300
Local: Tues, Apr 17 2012 9:19 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

The problem is that:
a) it is complex
b) requires users to know really strange stuff about the C# spec
c) doesn't work well in R#


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Warren  
View profile  
 More options Apr 20 2012, 4:55 am
From: Matt Warren <mattd...@gmail.com>
Date: Fri, 20 Apr 2012 01:55:55 -0700 (PDT)
Local: Fri, Apr 20 2012 4:55 am
Subject: Re: The Breaking Changes Wishlist for 1.2

What about changing the behaviour when indexing numerial values?

At the moment if you have an index that contains and int/long/decimal etc,
it's indexed in 2 fields, for instance Age=2 becomes

   1. Age = 2
   2. Age_Range = 0x00000002 (depending on type, int,long etc)

I believe this is so you can do exact comparisions against the "Age" field
and range comparisions against the "Age_Range" fields. For instance:

   - Age:2
   - Age_Range:[0x0000000 TO 0x00000010]

Why not just store the "_Range" field and then make the Client API convert
"Where(x => x.Age == 2)" into "Age_Range:0x00000002"

This would save storing 2 fields in the Lucene index, which would save


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 20 2012, 5:09 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Fri, 20 Apr 2012 12:09:26 +0300
Local: Fri, Apr 20 2012 5:09 am
Subject: Re: The Breaking Changes Wishlist for 1.2

It isn't that important and it would break querying in the studio


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Warren  
View profile  
 More options Apr 20 2012, 5:10 am
From: Matt Warren <mattd...@gmail.com>
Date: Fri, 20 Apr 2012 10:10:25 +0100
Local: Fri, Apr 20 2012 5:10 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

Good point

On 20 April 2012 10:09, Oren Eini (Ayende Rahien) <aye...@ayende.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Marisic  
View profile  
 More options May 2 2012, 4:21 pm
From: Chris Marisic <ch...@marisic.com>
Date: Wed, 2 May 2012 13:21:10 -0700 (PDT)
Local: Wed, May 2 2012 4:21 pm
Subject: Re: The Breaking Changes Wishlist for 1.2

The API usages of As<T> and AsProjection<T> are extremely confusing to be
used appropriately: http://issues.hibernatingrhinos.com/issue/RavenDB-269


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rémy van Duijkeren  
View profile  
 More options May 7 2012, 9:07 am
From: Rémy van Duijkeren <remy.vanduijke...@gmail.com>
Date: Mon, 7 May 2012 06:07:55 -0700 (PDT)
Local: Mon, May 7 2012 9:07 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

I also don't get the naming of "AbstractIndexCreationTask". When going
deeper into RavenDB I understand that is an index creation task for
RavenDB, but is it something that a user most know? Does a user use it as a
task or as an index (the RavenDB documentation talks about index, if I
remember correctly)?

Removing the Abstract would be a step in the good direction, I think.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mauro Servienti  
View profile  
 More options May 7 2012, 10:55 am
From: Mauro Servienti <ma...@topics.it>
Date: Mon, 7 May 2012 14:55:37 +0000
Local: Mon, May 7 2012 10:55 am
Subject: RE: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

AbstractIndexDefinition, for the server is a creation task but for the developer is a definition.
I like the Abstract prefix because it enforces the fact that you must inherit from it.

.m
_____________________
It's all about trust...
________________________________
From: Itamar Syn-Hershko
Sent: 07/05/2012 16:41
To: ravendb@googlegroups.com
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

How would you as a user name that thing?

On Mon, May 7, 2012 at 4:07 PM, Rémy van Duijkeren <remy.vanduijke...@gmail.com<mailto:remy.vanduijke...@gmail.com>> wrote:
I also don't get the naming of "AbstractIndexCreationTask". When going deeper into RavenDB I understand that is an index creation task for RavenDB, but is it something that a user most know? Does a user use it as a task or as an index (the RavenDB documentation talks about index, if I remember correctly)?

Removing the Abstract would be a step in the good direction, I think.

On Saturday, April 14, 2012 8:20:54 PM UTC+2, Itamar Syn-Hershko wrote:

Because it is not a static index, but an index creation task... Maybe the Abstract word there is a bit too much...

On Sat, Apr 14, 2012 at 9:17 PM, Matt Johnson <mj1...@hotmail.com<mailto:mj1...@hotmail.com>> wrote:

This is a very minor thing, but I don't get the naming of
"AbstractIndexCreationTask".  Why not just call it something like
"StaticIndex"?

-Matt

On Apr 10, 2:45 am, "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Itamar Syn-Hershko  
View profile  
 More options May 7 2012, 10:41 am
From: Itamar Syn-Hershko <ita...@hibernatingrhinos.com>
Date: Mon, 7 May 2012 17:41:14 +0300
Local: Mon, May 7 2012 10:41 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

How would you as a user name that thing?

On Mon, May 7, 2012 at 4:07 PM, Rémy van Duijkeren <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rémy van Duijkeren  
View profile  
 More options May 8 2012, 10:02 am
From: Rémy van Duijkeren <remy.vanduijke...@gmail.com>
Date: Tue, 8 May 2012 07:02:36 -0700 (PDT)
Local: Tues, May 8 2012 10:02 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

For me it would be more logic to call it something like: IndexDefinition,
StaticIndex, NamedIndex,...

IndexDefinition would probably be the best description, because your are
only describing they index: it's not the index self. In contradiction to
Mauro I'm not so found of the Abstract prefix, but that is, I think, a
personal thing.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options May 8 2012, 6:18 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Wed, 9 May 2012 01:18:34 +0300
Local: Tues, May 8 2012 6:18 pm
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

IndexDefinition already exists, it is the... well, definition of the index.
This is what AICT creates, after all.

On Tue, May 8, 2012 at 5:02 PM, Rémy van Duijkeren <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Itamar Syn-Hershko  
View profile  
 More options May 8 2012, 6:19 pm
From: Itamar Syn-Hershko <ita...@hibernatingrhinos.com>
Date: Wed, 9 May 2012 01:19:50 +0300
Local: Tues, May 8 2012 6:19 pm
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

The IndexDefinition class should then be the one with the complex naming IMO

On Wed, May 9, 2012 at 1:18 AM, Oren Eini (Ayende Rahien) <aye...@ayende.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryan Johns  
View profile  
 More options May 8 2012, 7:03 pm
From: Bryan Johns <bjo...@greendragonweb.com>
Date: Tue, 8 May 2012 18:03:21 -0500
Local: Tues, May 8 2012 7:03 pm
Subject: RE: [RavenDB] Re: The Breaking Changes Wishlist for 1.2
Personally I prefer descriptive class/property/method names.  I'd be happy
with any of the following:

AbstractIndexDefinitionFactory,
IndexDefinitionFactoryBase,
IndexCreationTaskBase,

or just leave it like it is...  :)

The point being that the prefix "Abstract" or the suffix "Base" identify
it as a class that must be inherited.  No need to dig through the
documentation to find out that it must be inherited.

--
Bryan Johns
K4GDW

"When plunder becomes a way of life for a group of men living together in
society, they create for themselves in the course of time a legal system
that authorizes it and a moral code that justifies it." --Frederic Bastiat


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rémy van Duijkeren  
View profile  
 More options May 9 2012, 4:10 am
From: Rémy van Duijkeren <remy.vanduijke...@gmail.com>
Date: Wed, 9 May 2012 01:10:00 -0700 (PDT)
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

 On Wednesday, May 9, 2012 12:19:50 AM UTC+2, Itamar Syn-Hershko wrote:

> The IndexDefinition class should then be the one with the complex naming
> IMO

I grant that :o). Or call it the next one in my list: StaticIndex...

I am mentioning this, just like Matt, because it throw me off, the first
few times I had to use it. I think this is because of the following reasons:
- Coming from SQL Server, I don't see the connection with Indexes to Tasks.
- When creating Task, I expect them to run, but the method for RavenDB is
CreateIndexes(Task)...

Also in your blog post http://ayende.com/blog/4668/ravendb-defining-indexes,
you are talking about Index Definitions to communicate the idea.

Also only after reading the post of Gamlor (I first read the RavenDB docs)
I was understanding RavenDB (really great and fun explanation!). The post
http://www.gamlor.info/wordpress/2011/07/ravendb-queries-and-indexes/ is
talking about Dynamic- and StaticIndexes and then I right away get the
concept.

p.s. For using Factory in the name, I don't get that: Your than
communication other concept. And for using Abstract or Base, see
http://stackoverflow.com/questions/429470/naming-conventions-for-abst... for
which I can relate to the highest rated answer.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wagner Ignacio Pinto Junior  
View profile   Translate to Translated (View Original)
 More options May 28 2012, 9:36 am
From: Wagner Ignacio Pinto Junior <wagneri...@gmail.com>
Date: Mon, 28 May 2012 06:36:26 -0700 (PDT)
Local: Mon, May 28 2012 9:36 am
Subject: Re: The Breaking Changes Wishlist for 1.2

Maybe I'm too late here :(

Something that really bothers me is DateTime serialization, I would like
RavenDb to treat DateTime as SQL Server does, not timezone or DateTimeKind
information, therefore DateTime values retrieved from RavenDb correctly
have Kind = DateTimeKind.Unspecified.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joseph Daigle  
View profile  
 More options May 28 2012, 3:03 pm
From: Joseph Daigle <joseph.dai...@gmail.com>
Date: Mon, 28 May 2012 12:03:31 -0700 (PDT)
Local: Mon, May 28 2012 3:03 pm
Subject: Re: The Breaking Changes Wishlist for 1.2

You can change that yourself with a custom json transformer.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile   Translate to Translated (View Original)
 More options May 29 2012, 5:05 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Tue, 29 May 2012 12:05:22 +0300
Local: Tues, May 29 2012 5:05 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

Yes,
Note that we respect what you give us, but assume that Unspecified = Local,
because there really isn't any other way to go here.

On Mon, May 28, 2012 at 10:03 PM, Joseph Daigle <joseph.dai...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Marisic  
View profile  
 More options May 29 2012, 8:18 am
From: Chris Marisic <ch...@marisic.com>
Date: Tue, 29 May 2012 05:18:29 -0700 (PDT)
Local: Tues, May 29 2012 8:18 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

For the love of god never let a user store DateTime.Unspecified, assume
anything, it's better than where it was.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin A  
View profile  
 More options May 29 2012, 10:42 pm
From: Justin A <jus...@adler.com.au>
Date: Tue, 29 May 2012 19:42:08 -0700 (PDT)
Local: Tues, May 29 2012 10:42 pm
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

DateTime is always UTC dates for me. Simple.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryan Johns  
View profile   Translate to Translated (View Original)
 More options May 30 2012, 5:06 am
From: Bryan Johns <bjo...@greendragonweb.com>
Date: Wed, 30 May 2012 04:06:08 -0500
Local: Wed, May 30 2012 5:06 am
Subject: RE: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

> -----Original Message-----
> From: ravendb@googlegroups.com [mailto:ravendb@googlegroups.com] On
> Behalf Of Justin A

> DateTime is always UTC dates for me. Simple.

Perfectly reasonable when your users, or data points, need a common date
time reference that spans time zones.  However, if the user base is limited
to a single time zone and is unlikely to ever expand beyond that, having to
convert to or from UTC with every read or write is a little unnecessary
overhead.  Sure, it's not much, but when you're running on commodity
hardware those little bits add up.

--
Bryan Johns
K4GDW

"Today, when a concerted effort is made to obliterate this point, it cannot
be repeated too often that the Constitution is a limitation on the
government, not on private individuals -- that it does not prescribe the
conduct of private individuals, only the conduct of the government -- that
it is not a charter for government power, but a charter of the citizen's
protection against the government." --author Ayn Rand (1905-1982)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile   Translate to Translated (View Original)
 More options May 30 2012, 8:14 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Wed, 30 May 2012 15:14:30 +0300
Local: Wed, May 30 2012 8:14 am
Subject: Re: [RavenDB] Re: The Breaking Changes Wishlist for 1.2

That is why we keep the value in the format you give us, and give you the
option to change that.

On Wed, May 30, 2012 at 12:06 PM, Bryan Johns <bjo...@greendragonweb.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »