Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    dr.dimitru
    @dr-dimitru
    Don't you thought to place tutorial in repository, so community would be able to participate?
    James Newton
    @blackslate
    Sure. It's already set up that way. You can find the source at https://github.com/blackslate/ostrio-neo4jdriver/tree/gh-pages. When I'm finished, I'll send you a pull request, and it can be hosted through your own GitHub account.
    dr.dimitru
    @dr-dimitru
    Okay, sounds good, but why not simply drop-in as markdown files, so it will brazier to maintain without additional HTML/CSS files
    James Newton
    @blackslate
    I like to make things easy for the end user, even if it means more work for the developer. Markdown doesn't give the same flexibility for layout and formatting.
    dr.dimitru
    @dr-dimitru
    @blackslate but this documentation, driver, database and example app is definitely for developers, not end users
    James Newton
    @blackslate
    In what way is a developer not an end-user of documentation? At what point in a person's learning curve does s/he become a "developer"?
    Even a seasoned developer is still a newbie when s/he is exploring something new. I've been a professional developer for 18 years, and all this is new to me. I'm writing the tutorial that I would have liked to have found, in addition to ReadMes and online references written succinctly in Markdown.
    Geoff Douglas
    @gdoug-guidance

    Been trying to debug a problem I am having.

    Added to Server:
    Meteor.N4JDB.listen(function(query, opts){
    console.log('Incoming query: ' + query, opts);
    });
    Which shows:
    I20150921-01:17:13.550(0)? Incoming query: MATCH (person:Person) WHERE ID(person)= { id } RETURN person { id: '66' }
    I20150921-01:17:13.599(0)? Exception in callback of async function: Error: [Meteor.neo4j.run]: [500]
    I20150921-01:17:13.599(0)? at packages/ostrio:neo4jreactivity/driver.coffee:659:21
    I20150921-01:17:13.599(0)? at packages/ostrio:neo4jreactivity/driver.coffee:7:12
    I20150921-01:17:13.599(0)? at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1)

    dr.dimitru
    @dr-dimitru
    @gdoug-guidance could you please start an issue at github?
    Geoff Douglas
    @gdoug-guidance
    Sure
    Geoff Douglas
    @gdoug-guidance
    FYI, this was just a datatype issue. Want me to still log it?
    dr.dimitru
    @dr-dimitru
    @gdoug-guidance nope, thanks.
    dr.dimitru
    @dr-dimitru
    James Newton
    @blackslate
    @dr-dimitru Wow! The docs are so much bigger on the inside)
    dr.dimitru
    @dr-dimitru
    @blackslate agree, took a lot of time, are you done with tutorial?
    James Newton
    @blackslate

    @dr-dimitru Check out the api branch of my fork at https://github.com/blackslate/ostrio-neo4jdriver.git
    You'll see that I am working on a tool to display all the commands for the driver:

    • Syntax
    • Try it yourself [ Execute ] button
    • Output from the command

    For now, only Neo4jDB() is complete.
    Now that you have added all the new commands, I'll have plenty more work to do.
    Note that the failure to throw exceptions means that the client cannot tell if the Neo4jDB() command succeeded or not

    dr.dimitru
    @dr-dimitru
    @blackslate Take a look on https://atmospherejs.com/perak/codemirror for code highlights
    @blackslate could you describe your idea more deeply, as I see it's kind of try-it-yourself online tool for current driver version, right?
    James Newton
    @blackslate
    Right. I imagine a new user who wants to connect to his/her own database, to check what each command will do.
    • On the left, you have an inspector showing you the nodes and edges in your database, so that you can find the values you need for your custom queries.
    • Next to that, you have a list of all the commands
    • On the right, you see your description of the chosen command at the top, and below that you can test the chosen command and see the result.
    dr.dimitru
    @dr-dimitru
    brilliant idea, we can publish it as free to use and learn SaaS
    Do you have any deadlines on this? When is Meteor's Toronto meetup?
    dr.dimitru
    @dr-dimitru
    @blackslate This "API Explorer" should follow DB's and driver's versioning, so it suppose to be at dropdown list to select an API and/or DB version (but we can make DB version autodetect).
    As I know till end of this year will be published 3.x within Bolt protocol - which will bring major changes.
    dr.dimitru
    @dr-dimitru
    Hi @blackslate , any idea on this issue? VeliovGroup/ostrio-neo4jdriver#26
    James Newton
    @blackslate
    I haven't tried installing fibers like this. For me the driver works out of the box.
    dr.dimitru
    @dr-dimitru
    @blackslate without any prefixes, right?
    James Newton
    @blackslate
    I've just made an update to the API Explorer, so you can now run db.query(). More coming soon.
    James Newton
    @blackslate
    @dr-dimitru Is there a DELETE node feature in the driver? I looked for it in the nodes command, but didn't find it.
    James Newton
    @blackslate
    The API Explorer now includes a demo of all basic commands, except queryAsynch, batch and transaction. https://github.com/blackslate/ostrio-neo4jdriver/tree/api
    James Newton
    @blackslate
    @dr-dimitru
    • In the API Explorer, it's not practical to cover all the cases that you cover in the Neo4j-fiber Wiki.
    • If you call index.get() with no Label, I expect to see all the indexes, and I get an empty array. Is this working as it should?
    James Newton
    @blackslate

    When deploying to meteor.com, I get this error

    Errors prevented deploying:
    While linking the program:
    error: ostrio:neo4jdriver is not compatible with architecture 'os.linux.x86_64'

    dr.dimitru
    @dr-dimitru
    This message was deleted

    If you are expecting issue with fibers (Error: Cannot find module 'fibers'), install version with postfix -fiber, like: ostrio:neo4jdriver@1.0.2-fiber

    Also: VeliovGroup/ostrio-neo4jdriver#26

    So, just use ostrio:neo4jdriver@1.0.2 version, without -fiber

    dr.dimitru
    @dr-dimitru
    I've added Known issues
    dr.dimitru
    @dr-dimitru
    @blackslate
    1. Why?
    2. Should return all indexes, are you call it from which class? (BTW it was changed in Neo4j from version to version, which version are you using?)
    James Newton
    @blackslate
    @dr-dimitru
    1. API Explorer and practicality
      • As far as I can see, creating demo for batch and transaction requires multiple steps. This is requires more effort than I currently believe it be worth.
      • There are many sub-cases for Neo4jNodes, Neo4jRelationships and Neo4jTransaction that will require a considerable amount of work to implement
    James Newton
    @blackslate
    1. I'm using this version of your driver:

      $ git checkout dev
      Switched to branch 'dev'
      Your branch is up-to-date with 'origin/dev'.
      $ git log --oneline
      fd663f4 readme.md
      d6ed58a Add known issues
      fdab9f8 UPD logo, add min.version
      e0b6f9d logo
      a63753b v1.0.2-fiber

    Can you install my API Explorer and:

    • Go to the db.index.create page
    • Create an index, for example, on Person ["name"]
    • Go to db.index.get
    • Enter "Person" (without the quotes) and click Execute, to see the index you just created
    • Leave the Label field empty, or deselect its checkbox and click Execute again
    • Do you see the Person|name index this time?
    dr.dimitru
    @dr-dimitru
    Use driver from Atmosphere
    To make sure you are using the right one
    I can check API Explorer not sooner than at Monday, sorry. I'll let you know as soon as I'll tests it
    Or maybe you can deploy current version of API Explorer to meteor.com?
    James Newton
    @blackslate
    dr.dimitru
    @dr-dimitru
    I've killed the service
    on by clicking on connect
    I believe it should give a possibility to type-in methods and execute them. If method isn't exists - return an error. Al list of methods with references - will be much simpler to implement, than predefine everything
    dr.dimitru
    @dr-dimitru
    As every public method has check(s) it will return appropriate error with description which argument was passed wrong
    James Newton
    @blackslate
    It seems that the database became very full. I've deleted all but 3 nodes and 2 relationships. It should be working again now. http://neo4jdriverapi.meteor.com/
    James Newton
    @blackslate

    I believe it should give a possibility to type-in methods and execute them.

    I'm not sure how you would implement this, since the client needs to use Meteor.call(...) to get the server to execute the typed-in method. Different methods produce different results (cursor, objects of different sorts, array, ...) and some require quite complex arguments. Getting the server code to recognize all of these would require a a complex switch system.
    Perhaps you could explain your ideas in more detail, so that I can see how they could be workable.

    James Newton
    @blackslate

    simpler... than [to] predefine everything

    One very good reason to predefine everything is that a newcomer can see at a glance what is possible. If s/he has to type in methods manually, then it assumes that s/he already knows the methods and their syntax, in which case, why bother using an API Explorer?

    James Newton
    @blackslate
    I think I have isolated the issue that caused the API Explorer to crash. I have written up a bug report: VeliovGroup/ostrio-neo4jdriver#31
    Spartano
    @Spartano
    hello everyone, anione uses ostrio with React? need some help implementing it