Need step by step instructions on creating a Postgres-bound Monomac application - postgresql

I've been struggling through this by looking at the sparse documentation and it's a pretty hard slog to say the least. Has anyone done a simple tutorial that would walk one through creating an OSX application with Mono (presumably Monomac) that binds to a Postgres database?

To use PostgreSQL with Mono you simply need to use Npgsql.

Related

Julia 0.6 to Postgres connection - Available options and LibPq.jl

I was with Julia 0.5 and used PostgreSql.jl to connect to the Database. It internally uses DBI.jl dependency.
Now upgrading to version 0.6, this has stopped working. The only alternative I could find online is LibPQ.jl. However, the library is a huge inconvenience to use.
Does anyone here have experience with connecting to Postgres from Julia? How did you achieve it?
Please shoot any questions if I have missed giving any information.
I achieved it by writing and using PostgreSQL.jl, and later LibPQ.jl. PostgreSQL.jl was very much a novice effort, and I stand by LibPQ.jl as the better option. Briefly in development we used ODBC.jl, but found that difficult to configure, inflexible in output, and slow. Using LibPQ.jl has simplified our database interaction code and improved transfer speeds.
I found it more useful to write a package that supported an existing general data interface (DataStreams.jl) than to write and maintain a database interface that I wasn't personally invested in. There's certainly opportunity to do so, and to support the interface using LibPQ.jl, but it is no longer a personal goal of mine.
I am also happy to discuss any inconvenience you have using LibPQ.jl in an appropriate forum (tagging me on the JuliaLang Discourse site always gets a response).

Angular 4 and Node.js combination

So as the title implies, I have a little problem. I'm developing app with Angular 4 and I would like to us it in combination with Node (mainly for API). So I tried to start both servers, and use it that way, but as i'm currently developing at local machine, so maybe there is better alternatives? Something like MEAN (MongoDb Express Angular Node) combination, but all of those are quite hard to use, there is lack of documentation, and those uses angular 2 instead of 4. I prefer MEAN stack, but I can't find one that are maintained and up to date.
Thank you for your help.
EDIT:
As some answers implied I will properly describe what I did to achieve what I need.
Here is what I have tried:
Having two tools (Node and Angular) to communicate to each other via http protocol (actually this kind'a worked, but node wasn't stable, it broke with connection error to db and Angular would not get response from it until it crashes)
Tried to use Angular proxy settings to enable link rerouting to have wildcard for all links that starts with /api/
Installed few MEAN stacks, tried to test it's potential and decided that it's way to over the limit to achieve what I want.
Tried to combine two tools into one by starting both at same port (as you might imagine, this broke both of them).
You can use MongoDB in your API whithout problems, and also it's not that hard to use it, its really more simple thant DataBases that have relational objects, like SQL, PostGRES and so on. I would recommend Hapi instead Express, but Express have a lot of information on the web, so if you are not confortable with re-search in documentation, Express would be you better option.
When i started developing in node.js it take me time to figure out that tutorials and videos only give me headache, old videos that doesent use the same Frameworks as i do, or not in the same version. So i started to take deep into the documentation, i used to pass more time reading than writing code, and it help me a lot.
The most common/simple is MEAN API, find something you like and stick with it ^-^

Removing Postgresql as dependency while software packaging

I have written a code in Python that I want to turn into a Ubuntu PPA so that everyone can download it and use it.
For storing data, I used postgresql rather than files as it provides me a structure of the table.
Now if I turn my code into a package, I guess I need to make postgresql as a dependency ( still not sure about it but most probably ). If yes, I don't want to do that because my application is really small and I don't want the person installing my software, installing postgresql which he doesnt use.
So my question is there anyway I can avoid postgresql as a dependency. May be any other db tool which is default for Ubuntu or storing it in system and accessing it.
All the views are welcome. :)
Thank u.
That seems to be a use case for SQLite.
It embeds a little database engine into your application and writes to a file. You might want to read the page Appropriate Uses For SQLite first to be sure if this fits your needs.
For Python2 there is a library sqlite3.

Does PostgreSQL support PMML

I couldn't find any reference that PostgreSQL db supports PMML using a search engine. I was wondering if anyone had any luck with this. I would like to deploy a Random Forest model that is built in R in PostgreSQL (I'm aware of other work arounds - but want to get an answer for this question before I go down the other route).
From my own reading, PostgreSQL doesn't directly support PMML, however if you use JPMML it integrates seamlessly with PostgreSQL. Its library is opensource and extensive.
https://github.com/jpmml/jpmml-postgresql
There is no built-in support. However with the XML support, the extensible stored procedure language handlers, and such it shouldn't be too hard to implement as an add-on (or perhaps an extension).
I don't foresee PMML support coming built into PostgreSQL in the near to moderate future so you would do best to either implement it yourself or go another route.

Can neo4j be used with NetBeans?

I have just found out about the existence of graph databases and neo4j and was wandering if there was a way to use it within NetBeans somehow in the way Apache Derby is used. I'm sorry if this is a very stupid question, I've just begun learning about databases and am far from knowing my way around. I can most definitely look for a way to do this on my own, but if a more experienced person can share a tip about this, I'd be very grateful.
You can use Neo4j either as part of your java application or as standalone server, see:
http://docs.neo4j.org/chunked/snapshot/tutorials.html