Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 12 months ago.
Improve this question
Are vertex programs / graph computers supported by Gremlin.Net?
Or is it only supported on JVM Gremlin implementations?
You cannot write a VertexProgram in Gremlin.NET. Those must be written in Java. You could however execute that JVM-written VertexProgram with .NET if you submit a script with your traversal referencing that program. There is an example of that approach here with more details, but I'll paste some code here:
gremlin> result = graph.compute().program(PageRankVertexProgram.build().create()).submit().get()
==>result[tinkergraph[vertices:6 edges:0],memory[size:0]]
gremlin> g = traversal().withEmbedded(result.graph())
==>graphtraversalsource[tinkergraph[vertices:6 edges:0], standard]
gremlin> g.V().elementMap()
==>[id:1,label:person,gremlin.pageRankVertexProgram.pageRank:0.11375510357865541,name:marko,age:29]
==>[id:2,label:person,gremlin.pageRankVertexProgram.pageRank:0.14598540152719106,name:vadas,age:27]
==>[id:3,label:software,gremlin.pageRankVertexProgram.pageRank:0.3047200907912249,name:lop,lang:java]
==>[id:4,label:person,gremlin.pageRankVertexProgram.pageRank:0.14598540152719106,name:josh,age:32]
==>[id:5,label:software,gremlin.pageRankVertexProgram.pageRank:0.17579889899708231,name:ripple,lang:java]
==>[id:6,label:person,gremlin.pageRankVertexProgram.pageRank:0.11375510357865541,name:peter,age:35]
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 days ago.
Improve this question
How can we connect the git repository using c# code.I have to perform the read write operation. Coping files from one repository to another or from local machine to another repository using c# code.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I have simple program to install packages on computer.
User select package in GUI by pressing button and then "Installer" run installing thread. When installation is finished "View" show succes or error text.
How can I send information directly between "View" and "Installer?
Or I always have to use all intermediary objects like:
View>Controller>ThisComputer>Instaler
Instaler>ThisComputer>Controller>View
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have been talking with one java programmer and he told me that all of the Payment Gateways are designed in Java because they are secure in comparison of any .net based language.
Is it true?
No, that is not correct. .NET based languages and Java can each be programmed securely, or insecurely.
Given the large number of high profile Java vulnerabilities which have surfaced over the years, I highly doubt the quality of the statement made by "one java programmer". This smells more of FUD spreading than any kind of factual statement.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm having difficulty trying to remember the term describing the wasted time of trying to understand the code of a legacy application that has no documentation. I had thought the term was code rediscovery, but Google is telling me I'm misremembering.
You are probably referring to Software/Code Archaeology which is the process of studying badly/not documented legacy projects/code.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I write a lot of code in Java, and always use anonymous classes. They allows you write concise code without boilerplate.
However, many modern languages, like C# and Dart don't include them. Why they aren't included there? What's so bad about them? Are there any blog post or articles where languages' where authors describe why they excluded them from these languages?