Return-Path: X-Original-To: apmail-asterixdb-users-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C712179BC for ; Fri, 29 May 2015 18:08:12 +0000 (UTC) Received: (qmail 54899 invoked by uid 500); 29 May 2015 18:08:12 -0000 Delivered-To: apmail-asterixdb-users-archive@asterixdb.apache.org Received: (qmail 54875 invoked by uid 500); 29 May 2015 18:08:12 -0000 Mailing-List: contact users-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@asterixdb.incubator.apache.org Delivered-To: mailing list users@asterixdb.incubator.apache.org Received: (qmail 54865 invoked by uid 99); 29 May 2015 18:08:12 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 May 2015 18:08:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8E8ED1A3FC8 for ; Fri, 29 May 2015 18:08:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id KR3xvQcDQFis for ; Fri, 29 May 2015 18:08:00 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 9520420F7E for ; Fri, 29 May 2015 18:07:59 +0000 (UTC) Received: by wivl4 with SMTP id l4so25007327wiv.1 for ; Fri, 29 May 2015 11:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8EZtacq743lU1eRc1ItG+p9DmVEuVSvgIsKKRts+4tM=; b=SWByW1T90R2uxAwt3VEZyiQdXIwLjnPJuxX8LNKFt5X4T3T7sebCnCmAfVvfRDrI3R oeM6qv8ceTZnf/j5Eu8zwJTUl+X2eQcBvddNdeRO6dMTMTIPtajsJxext4mfMoMCWxFb rimPkPIzYZ/oNUOowgcJG7XpBQeTSlEiV8bWpPzpzpb09K81arXmEUcTSGRk73mawVK1 sHmXp43o+Xyu6f0qIQfl4WNkVNhiX4oDNQ9Q62O1IiJwFxvV+Gm1XIvxyouZND0ZmceR 5k9I3p8Zg50AgGBeB9EfTmJrK092TQwfhI7J3rtvX4cdIpH1tdkUMjNfPcurrrNP64Xf rrqA== X-Received: by 10.180.105.74 with SMTP id gk10mr8869038wib.29.1432922878368; Fri, 29 May 2015 11:07:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.155.36 with HTTP; Fri, 29 May 2015 11:07:17 -0700 (PDT) In-Reply-To: <8FAD9C4E-8E2B-4042-BDE3-285A0803D3A2@uci.edu> References: <1B5AC25B-65CD-43A8-BCD8-D4AFB246DBAF@uci.edu> <555EC0CF.1080506@ics.uci.edu> <9D1E0116-6295-492B-A0EF-673309671383@uci.edu> <75DACCA3-3601-4648-802D-CE44B3AA5F52@uci.edu> <45F03599-3024-4B54-BA8E-B3BBA0B472A5@uci.edu> <8FAD9C4E-8E2B-4042-BDE3-285A0803D3A2@uci.edu> From: Eugenia Gabrielova Date: Fri, 29 May 2015 11:07:17 -0700 Message-ID: Subject: Re: Demo not working? To: users@asterixdb.incubator.apache.org Cc: asterixdb-users@googlegroups.com Content-Type: multipart/alternative; boundary=f46d04426ca627dfba05173c5b55 --f46d04426ca627dfba05173c5b55 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sounds like a "feature" (bug) - let me have a look and hotfix that... On Fri, May 29, 2015 at 10:33 AM, Brandon Lim wrote: > Hey Eugenia, > > I was able to get it to run with my new query and the dataset is inside > AsterixDB. I was curious to how I can change the spatial intersect of the > query. Even if I put a location in the location box for the query, once I > submit the query, it just brings me back to the default spatial area on t= he > East Coast. > > Best Regards, > Brandon Lim > > > > On May 28, 2015, at 6:54 PM, Eugenia Gabrielova < > genia.likes.science@gmail.com> wrote: > > > It's all good, let me know if you have any issues or questions about th= e > code (or bugs :P so I can fix them) > > > > On Thu, May 28, 2015 at 6:52 PM, Brandon Lim wrote: > > That worked. I must=E2=80=99ve misspelled it twice because I tried the = other day > as well. Thanks Eugenia. > > > > Also, Thanks Ian! > > > > > > Best Regards, > > Brandon Lim > > > > > > > > On May 28, 2015, at 6:44 PM, Eugenia Gabrielova < > genia.likes.science@gmail.com> wrote: > > > > > Hi Brandon, > > > > > > Looks like you have the pathspec spelled incorrectly ("eugneia") > > > > > > Try > > > $ git checkout eugenia/tweetbook-demo-fixes > > > > > > On Thu, May 28, 2015 at 6:40 PM, Brandon Lim wrote= : > > > Hey Eugenia, > > > > > > I tried that, but it says > > > > > > git checkout eugneia/tweetbook-demo-fixes > > > error: pathspec 'eugneia/tweetbook-demo-fixes' did not match any > file(s) known to git. > > > > > > When I did > > > > > > git branch > > > > > > Only master showed up. > > > > > > Best Regards, > > > Brandon Lim > > > > > > > > > > > > On May 28, 2015, at 6:35 PM, Eugenia Gabrielova < > genia.likes.science@gmail.com> wrote: > > > > > > > Hi Brandon! > > > > > > > > Any luck fetching the upstream branch? > > > > > > > > $ cd path/to/your/sandbox > > > > $ git fetch > > > > $ git checkout eugenia/tweetbook-demo-fixes > > > > > > > > Let me know if that works for you. > > > > > > > > On Wed, May 27, 2015 at 10:13 AM, Brandon Lim > wrote: > > > > Hey Ian, > > > > > > > > When I clicked the download zip or download tar.gz for the branch, > it said 404 not found. I couldn=E2=80=99t figure out how to checkout her = specific > branch. I was only able to checkout the master branch. > > > > > > > > Best Regards, > > > > Brandon Lim > > > > > > > > > > > > > > > > On May 26, 2015, at 10:42 AM, Ian Maxon wrote: > > > > > > > > > Hey Brandon, > > > > > > > > > > What seemed to be the issue with checking out/downloading the > repository? It should just be a matter of checking out that branch and > doing 'mvn clean package -DskipTests'. > > > > > > > > > > - Ian > > > > > > > > > > On Tue, May 26, 2015 at 10:02 AM, Brandon Lim > wrote: > > > > > Hey Eugenia, > > > > > > > > > > I wasn=E2=80=99t able to download your up-to-date branch in the s= andbox > for some reason. Is there another way for me to get access to your most > up-to-date TweetBook Demo? > > > > > > > > > > Best Regards, > > > > > Brandon Lim > > > > > > > > > > > > > > > > > > > > On May 22, 2015, at 12:17 PM, Eugenia Gabrielova < > genia.likes.science@gmail.com> wrote: > > > > > > > > > > > Hi Brandon! > > > > > > > > > > > > As a heads up, I have a branch in sandbox with some up-to-date > changes and fixes on the TweetbookDemo. I'll keep an eye out on this thre= ad > if you have any questions, or I can look through code with you on campus = if > you prefer. > > > > > > > https://code.google.com/p/asterixdb-sandbox/source/browse/?name=3Deugenia= %2Ftweetbook-demo-fixes#git%2Fasterix-examples%2Fsrc%2Fmain%2Fresources%2Ft= weetbook-demo > > > > > > > > > > > > The longitude shift was just a debugging thing for me when I wa= s > playing with spatial queries, to match an older version of the geospatial > demo (pre-Tweetbooks). It's not an Asterix-related thing and can easily b= e > removed. > > > > > > > > > > > > On Fri, May 22, 2015 at 11:41 AM, Ian Maxon > wrote: > > > > > > Hi Brandon, > > > > > > Interesting. I wasn't quite sure how to solve this initially, > but there is a function that does the trick. (however it isn't documented > in master!...) > > > > > > > > > > > > parse-datetime should be able to do the trick. For your example= . > " parse-datetime("Fri May 11 07:53:00 +0000 2012", "W MMM DD hh:mm:ss z > YYYY") " will give the proper AQL object from the string. The first part > is (obviously) the date to be parsed. The second is the formatting string= , > which is not very well documented, but appears to follow Java's conventio= n ( > https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html= ) > closely. > > > > > > > > > > > > -Ian > > > > > > > > > > > > On Fri, May 22, 2015 at 11:01 AM, Brandon Lim > wrote: > > > > > > Hey Ian, > > > > > > > > > > > > Quick question. So I=E2=80=99m trying to align my dataset or ho= w my > dataset is handled with the dataset that is currently in use by the > TweetBook demo, but one thing is that the TweetBook demo allows it to que= ry > based on datetime. > > > > > > > > > > > > > > > > > > This is what the data for the TweetBook demo looks like. > Everything is already preprocessed. > > > > > > > > > > > > > > > > > > > > > > > > This is what my data looks like. Is there an easy way to conver= t > this into datetime? > > > > > > > > > > > > > > > > > > > > > > > > Also, do you know why in the TweetBook demo that the longitude > sign bit is flipped? > > > > > > > > > > > > Best Regards, > > > > > > Brandon Lim > > > > > > > > > > > > > > > > > > > > > > -- > > > > > You received this message because you are subscribed to the Googl= e > Groups "asterixdb-users" group. > > > > > To unsubscribe from this group and stop receiving emails from it, > send an email to asterixdb-users+unsubscribe@googlegroups.com. > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > -- > > > > > You received this message because you are subscribed to the Googl= e > Groups "asterixdb-users" group. > > > > > To unsubscribe from this group and stop receiving emails from it, > send an email to asterixdb-users+unsubscribe@googlegroups.com. > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > > > -- > > > You received this message because you are subscribed to the Google > Groups "asterixdb-users" group. > > > To unsubscribe from this group and stop receiving emails from it, sen= d > an email to asterixdb-users+unsubscribe@googlegroups.com. > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "asterixdb-users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to asterixdb-users+unsubscribe@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > --f46d04426ca627dfba05173c5b55 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sounds like a "feature" (bug) - let me have a lo= ok and hotfix that...

On Fri, May 29, 2015 at 10:33 AM, Brandon Lim <brandodl@uci.e= du> wrote:
Hey Eugenia,

I was able to get it to run with my new query and the dataset is inside Ast= erixDB. I was curious to how I can change the spatial intersect of the quer= y. Even if I put a location in the location box for the query, once I submi= t the query, it just brings me back to the default spatial area on the East= Coast.

Best Regards,
Brandon Lim



On May 28, 2015, at 6:54 PM, Eugenia Gabrielova <genia.likes.science@gmail.com> wrote:

> It's all good, let me know if you have any issues or questions abo= ut the code (or bugs :P so I can fix them)
>
> On Thu, May 28, 2015 at 6:52 PM, Brandon Lim <brandodl@uci.edu> wrote:
> That worked. I must=E2=80=99ve misspelled it twice because I tried the= other day as well. Thanks Eugenia.
>
> Also, Thanks Ian!
>
>
> Best Regards,
> Brandon Lim
>
>
>
> On May 28, 2015, at 6:44 PM, Eugenia Gabrielova <genia.likes.science@gmail.com> wrote:=
>
> > Hi Brandon,
> >
> > Looks like you have the pathspec spelled incorrectly ("eugne= ia")
> >
> > Try
> > $ git checkout eugenia/tweetbook-demo-fixes
> >
> > On Thu, May 28, 2015 at 6:40 PM, Brandon Lim <brandodl@uci.edu> wrote:
> > Hey Eugenia,
> >
> > I tried that, but it says
> >
> > git checkout eugneia/tweetbook-demo-fixes
> > error: pathspec 'eugneia/tweetbook-demo-fixes' did not ma= tch any file(s) known to git.
> >
> > When I did
> >
> > git branch
> >
> > Only master showed up.
> >
> > Best Regards,
> > Brandon Lim
> >
> >
> >
> > On May 28, 2015, at 6:35 PM, Eugenia Gabrielova <genia.likes.science@gmail.com> w= rote:
> >
> > > Hi Brandon!
> > >
> > > Any luck fetching the upstream branch?
> > >
> > > $ cd path/to/your/sandbox
> > > $ git fetch
> > > $ git checkout eugenia/tweetbook-demo-fixes
> > >
> > > Let me know if that works for you.
> > >
> > > On Wed, May 27, 2015 at 10:13 AM, Brandon Lim <brandodl@uci.edu> wrote:
> > > Hey Ian,
> > >
> > > When I clicked the download zip or download tar.gz for the b= ranch, it said 404 not found. I couldn=E2=80=99t figure out how to checkout= her specific branch. I was only able to checkout the master branch.
> > >
> > > Best Regards,
> > > Brandon Lim
> > >
> > >
> > >
> > > On May 26, 2015, at 10:42 AM, Ian Maxon <imaxon@uci.edu> wrote:
> > >
> > > > Hey Brandon,
> > > >
> > > > What seemed to be the issue with checking out/downloadi= ng the repository? It should just be a matter of checking out that branch a= nd doing 'mvn clean package -DskipTests'.
> > > >
> > > > - Ian
> > > >
> > > > On Tue, May 26, 2015 at 10:02 AM, Brandon Lim <brandodl@uci.edu> wrote:
> > > > Hey Eugenia,
> > > >
> > > > I wasn=E2=80=99t able to download your up-to-date branc= h in the sandbox for some reason. Is there another way for me to get access= to your most up-to-date TweetBook Demo?
> > > >
> > > > Best Regards,
> > > > Brandon Lim
> > > >
> > > >
> > > >
> > > > On May 22, 2015, at 12:17 PM, Eugenia Gabrielova <genia.likes.science@gmail.co= m> wrote:
> > > >
> > > > > Hi Brandon!
> > > > >
> > > > > As a heads up, I have a branch in sandbox with som= e up-to-date changes and fixes on the TweetbookDemo. I'll keep an eye o= ut on this thread if you have any questions, or I can look through code wit= h you on campus if you prefer.
> > > > > https://= code.google.com/p/asterixdb-sandbox/source/browse/?name=3Deugenia%2Ftweetbo= ok-demo-fixes#git%2Fasterix-examples%2Fsrc%2Fmain%2Fresources%2Ftweetbook-d= emo
> > > > >
> > > > > The longitude shift was just a debugging thing for= me when I was playing with spatial queries, to match an older version of t= he geospatial demo (pre-Tweetbooks). It's not an Asterix-related thing = and can easily be removed.
> > > > >
> > > > > On Fri, May 22, 2015 at 11:41 AM, Ian Maxon <imaxon@uci.edu> wrote:
> > > > > Hi Brandon,
> > > > > Interesting. I wasn't quite sure how to solve = this initially, but there is a function that does the trick. (however it is= n't documented in master!...)
> > > > >
> > > > > parse-datetime should be able to do the trick. For= your example. "=C2=A0 parse-datetime("Fri May 11 07:53:00 +0000 = 2012", "W MMM DD hh:mm:ss z YYYY")=C2=A0 " will give th= e proper AQL object from the string. The first part is (obviously) the date= to be parsed. The second is the formatting string, which is not very well = documented, but appears to follow Java's convention (https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateF= ormat.html) closely.
> > > > >
> > > > > -Ian
> > > > >
> > > > > On Fri, May 22, 2015 at 11:01 AM, Brandon Lim <= brandodl@uci.edu> wrote:
> > > > > Hey Ian,
> > > > >
> > > > > Quick question. So I=E2=80=99m trying to align my = dataset or how my dataset is handled with the dataset that is currently in = use by the TweetBook demo, but one thing is that the TweetBook demo allows = it to query based on datetime.
> > > > >
> > > > > <Screen Shot 2015-05-22 at 10.58.10 AM.png><= br> > > > > > This is what the data for the TweetBook demo looks= like. Everything is already preprocessed.
> > > > >
> > > > >
> > > > >
> > > > > This is what my data looks like. Is there an easy = way to convert this into datetime?
> > > > >
> > > > >
> > > > > <Screen Shot 2015-05-22 at 11.01.12 AM.png><= br> > > > > > Also, do you know why in the TweetBook demo that t= he longitude sign bit is flipped?
> > > > >
> > > > > Best Regards,
> > > > > Brandon Lim
> > > > >
> > > > >
> > > >
> > > > --
> > > > You received this message because you are subscribed to= the Google Groups "asterixdb-users" group.
> > > > To unsubscribe from this group and stop receiving email= s from it, send an email to asterixdb-users+unsubscribe@googlegroups.com.
> > > > For more options, visit https://groups.google.com/d/optout. > > > >
> > > >
> > > > --
> > > > You received this message because you are subscribed to= the Google Groups "asterixdb-users" group.
> > > > To unsubscribe from this group and stop receiving email= s from it, send an email to asterixdb-users+unsubscribe@googlegroups.com.
> > > > For more options, visit https://groups.google.com/d/optout. > > >
> > >
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Googl= e Groups "asterixdb-users" group.
> > To unsubscribe from this group and stop receiving emails from it,= send an email to asterixdb-users+unsubscribe@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> You received this message because you are subscribed to the Google Gro= ups "asterixdb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email to asterixdb-users+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


--f46d04426ca627dfba05173c5b55--