Working graph server setup for use with Python3 [closed] - database

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm solving a problem that seems most appropriately handled by a graph database, so I wanted to get a graph database server up and running, and go from there. I'm a Python developer, so I was trying to get something running with the bulbs library, which seems mature and effective, based on the documentation.
Unfortunately, I haven't been able to find any monolithic guide that covers everything between bulbs and an actual graph database server, and my attempts to cobble together working versions have been hampered by a number of compatibility problems.
I feel like I might be missing something intrinsic to the design of these systems. I'm used to postgresql, MariaDB, and other systems which are a pretty simple two-layer model, bridged by a standard API. It seems like the Apache Tinkerpop stack should be what I want, but Rexster seems like it's a server, but not a storage backend, so I still need one of those? I'm a little confused, because Neo4j and Titan seem like they're also servers, in addition to storage backends, so I don't know why Rexster is necessary. Right now, I'm trying to get Neo4j to work with bulbs, but the Gremlin plugin is missing... I've spent more than a day trying to piece this software stack together, and I'm getting really close to just giving up and building a million mapping tables in an ORM.
Is there a monolithic installation guide that I can follow somewhere, or has anyone had experience getting this working in a sane amount of time? I can use any solution deployable on Fedora, Debian, or OpenBSD.

Your question is too broad to provide a good answer. Briefly, I will say that you are not going down a good path. Bulbs is no longer developed. Rexster is TinkerPop 2.x which is a line of code that is no longer maintained. Please see the TinkerPop web site which as the full listing of current python related libraries for 3.x. However, before you even do that or worry about Titan or Neo4j, you should focus your time on learning the TinkerPop stack itself. Read the Getting Started tutorial. Get comfortable with the Gremlin Console. Play with GremlinBin a bit. Then get into the details of the reference documentation. If you start more slowly, you will likely have more success.

Related

DDOS Attack causing Database connection error [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have hosted my Prestashop at Fastdomain server it's like the 4th year, the website is stable and working fine till 3 days ago where my email inbox got full of spam and more than 300K requests on the site causing the site to go down.
I activated the basic protection from Sitelock provided from Fastdomain Cpanel, it worked fine for two days and the site is down again cuz of another strike.
Fastdomain support tried to fix it but no instant method they said the problem is caused due to script overuse in send to friend module, even though this module is an original PrestaShop module, and they said the website will "recover" in few hours.
any comment or thoughts? how t respond to such attack!?
my website is elektrojo.com and am using the up to date version
This appears to be a common problem. Not only is it taking your site down, it may be being used to spam others, which has the risk of getting your domain blacklisted.
In that thread was linked an updated version of the module supporting a CAPTCHA, along with a similar modification for product reviews. It seems to be for PrestaShop 1.5 and 1.6.
If you have some kind of a "backend" which you can update modules on, you should also do that.
Another suggestion is to use fail2ban to detect repeated attempts to access this feature and block it. You may not have the necessary access to do that, but if not, your hosts should be able to.
Failing that, you should remove the sendtoafriend code (ensure the files are actually gone from their original location) until you have found a way to harden it, since it's being abused to take your site down.

Which programming langage should I use to process images online? [closed]

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'd like to learn to create a website with processing on the client side.
Here are my goals:
- The program would look like something like Picasa or Lightroom. It means processing lot of pictures in a row
- I'd like the client to download the "image processor" to avoid uploading plenty of pictures on the server (which is slow and frustrating IMHO).
- I also have in mind to create a mobile version of the website
I don't know a lot about internet programming languages but here are my thoughts at the moment:
Flash: I think it would do, but I don't like it (not portable enough from what I read)
Java: This is the one I am thinking of at the moment. But I don't like the idea of asking users to download a third party if they don't have it.
HTML5 + Javascript: I don't what it means regarding Javascript capabilities. Would it be a pain?
Python, Ruby on Rail, C#: I don't know what it means to use them for web programming. I already used Python put as scripting language.
There are for sure other technologies that I am not aware of. Feel free to propose anything else that is mainstream enough to get good support on the internet :)!
Thank you for your help!
I hope you won't think it is a duplicate. I made some search and found this for ex:
Client-side image processing
=> But they already have their core processing since I have nothing!
Modern web browsers support html5 & javascript out of the box - older ones at least have support for javascript unless support for something truely ancient is desired - so considering the compatibility it should be the best one of these alternatives.
Flash needs a flash-plugin and a Java applet needs a jre-plugin.
Have never seen the 4th choice in client-based web-applications really, so not sure about how that would be done.

GemFire alternatives and a license question [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've just started looking at gemfire. I'm really impressed actually. I'm a little confused by its licensing, there seems to be some indication that some of it is open source? Does anyone have any clear idea? I'm loathed to talk to their sales people.
If not, are there any open source alternatives? I can think of a few technologies which offer the same features but not as a whole.
Unfortunately there are no open-source in-memory data grid solutions. You can check alternative distributed caches like Coherence from Oracle, eXtream scale from IBM, XAP from GigaSpace.
Quick search can bring you to following solutions:
Hazelcast - In-Memory Data Grid
Cacheonix - In-Memory Data Grid
You can try it. Most probably it is young generation of IMDG and they have not full functionality. But it's free.
BTW: what functionality you want to use? some times IMDG it's just a fix for bad architecture.
This question was first posed way back in 2011, but it still seems pertinent, as Gemfire is still referenced in the latest suite of Spring demos on the Spring.io Pivotal site:
"As of the 1.2.0 release, this project, formerly known as Spring GemFire, has been renamed to Spring Data GemFire to reflect that it is now a component of the Spring Data project."
So to use Spring Data, or to at least follow along with the latest "Yummy Noodle Bar" Spring Tutorial suite, it is sort of implied that you need to use the proprietary "Spring Data Gemfire" product for the Order Status solution component (the other two components of the demo being MongoDb for the Menu Item data, and a relational DB like Postgres or MySQL with JPA for the Orders data).
I did some more recent searches and in addition to Hazelcast, I was really only able to come up with one other open source solution which might also fit the bill as a Gemfire alternative :
http://www.gridgain.org/
As for me, I think I'll probably start with Hazelcast and see how that pans out.
In general, I should say that I'm a little disappointed at Pivotal for sneaking a commercial product into their otherwise open source tutorial. It's one thing to lead people to Gemfire with an open source entry level version of the product, but to force developers to sign up for a free trial version of a commercial product that they really have no business purchasing for their development platform in the first place kind of sucks IMHO. Please correct me if I am missing something here.
GemFire has been submitted for incubation within the Apache Software Foundation. Once it has been accepted as an incubation project the source code will be available under an Apache License. Currently you can download, build, and run the source for evaluation purposes at https://wiki.apache.org/incubator/GeodeProposal

releasing a javascript library for the first time [closed]

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 years ago.
Improve this question
I'm almost finished working on a useful (at least, in my opinion) JavaScript plugin. Having seen and used many JavaScript packages, both freely licensed (JQuery, YUI, etc) and partly or fully commercially licensed I'm not sure what other factors dictate which license I should release my own under and how to support the plugin.
Some background information on my JavaScript plugin:
Similar audience and plugin size/impact to addthis.com, although slightly more niche. My plugin doesn't provide any analytics though.
Uses JQueryUI for user interface, can be expanded upon with there themeing components, etc.
No other similar tool out there (at least that has become popular).
Can be easily integrated in to a website.
Questions I have:
Should I launch a dedicated website for the plugin, or use something similar to Google Groups? Would a dedicated website bring more kudos perhaps?
Would a Creative Commons Non-Commercial license be a suitable license considering I'm a young developer and perhaps reputation building is more important than my bank managers happiness?
These are the 2 big questions that have been puzzling me for a while now, and I don't know anyone who has been in a similar situation :(
Thanks for any advice.
Considering you seem community, rather than cash driven .. the community will hold the key to what they find best, simplest and acceptable (and what works)
What do other plugin developers do? Take their lead. They set the convention and it determines how other people find your plugin. If a Firefox extension only had it's own site then I probably wouldn't find it.
What do others use? GPL? LGPL? What does jQuery use? Ask them why?
It might be worth using an online revision control tool like github or launchpad so people can contribute bug reports and help your development.
If I were you I would definitely use something like launchpad or google code.
You get integrated (community enabled):
source version control
bug tracking
...
for free.
Considering this library is aimed at other (web) developers a shiny website seems a lot less important then the convenient features above (in a known format).
And: congratulations on your first release, of course ;-)
About running site:
For me running dedicated website gives your product more professional look. Hosting on Google groups isn't good choice for all products: you can't build screenshots gallery, own blog, etc. You can build forum by youself if you need it.

DotNetNuke Pros and cons for community blogging site [closed]

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 4 years ago.
Improve this question
I'm evaluating DotNetNuke for a project in which an offshore team is going to be doing the development. In short, the application will be a community blogging platform with many similarities to stackoverflow except no questions, just posts. Posts may include an image or video, tags, use info, title, body, community vote (up or down) comments, hotness, and a few other details. They should be taggable, sortable, categorizeable (beyond what a single set of tags provide) In the future the site will carry forums, a calendar, and a couple of other features for which there are modules available for DotNetNuke. Additionally, this site will incorporate a user experience that will include a lot of custom skinning.
Thoughts?
Using a web application framework (such as DotNetNuke) has a ton of benefits to help you get up and running faster and do less work when creating custom functionality.
However, you have to realize that you're basically incorporating tons of code into your project that you may not be familiar with. No matter how good the code is and how easy the framework is to learn, there's still going to be a significant learning curve for you and your team.
Your decision making process (if you're still deciding whether or not to use DotNetNuke), should include (in addition to reading, talking and other general investigation):
Downloading the application from Codeplex and checking out the source.
Investigating the third party modules that are out there.
Downloading a free module or two that comes with source, and try to reverse engineer the creator's development process. How did she integrate with the framework, what features did she take advantage of, what was written from scratch?
One place where DotNetNuke (or any other framework with tons of extensions) available can really shine is taking existing extensions that are available and customize them. If you need to implement a given feature, check out the solutions in the third party extension community first. You can probably find one that gets you a good percentage of the way there and use it as a foundation for your feature.
For example, if you want a photo gallery on your site, you probably don't want to write it from scratch. There are three major photo galleries out there that sell the source code. The core gallery module is free, simple gallery is cheap, and the source for ultra media gallery is available for a reasonable amount compared to writing it yourself. Any of these could give you a good head start in implementing your features.

Resources