HNHacker News
TopNewBestAskShowJobs

maxdemarzi

883 karma · joined October 13, 2009

Checkout my blog about Graphs http://maxdemarzi.com
submissionscomments
maxdemarzi··on CLIPS: A Tool for Building Expert Systems
You can mix rule based systems and decision trees (well, decision streams) quite nicely in a Graph. Watch the 15 min video on https://maxdemarzi.com/2018/10/08/dynamic-rule-based-decisio... for more details.
maxdemarzi··on Ask HN: What was your experience using a graph database?
Disclaimer: I’m an 8 year Neo4j user and 6 year employee.

Neo4j is a great database if you learn how to use it and are willing to get your hands dirty every once in a while (write Java). I keep a blog at maxdemarzi.com on the things you can do with it. See the dating site blog series it may be relevant to what you are doing.

We have thousands of videos, slideshares, blog posts trying to teach graphs. If you take the time to learn you will be successful. If you connect with us on Slack and ask you will be successful.

If you treat it like an rdbms you will fail. See https://m.youtube.com/watch?v=oALqiXDAYhc for a primer and see https://m.youtube.com/watch?v=cup2OyTfrBM for the crazy stuff you can do that most DBs can’t.

maxdemarzi··on Ask HN: What is an AI government called?
Aictatorship
maxdemarzi··on Roaring Bitmaps: Implementation of an Optimized Software Library (2018) [pdf]
Great Library. Available in most of the popular languages. I use it all the time to keep track of node ids instead of using sets of Longs. http://roaringbitmap.org/
maxdemarzi··on Recursive Common Table Expressions in Postgres
Yeah, use a graph database. Most trees end up becoming graphs as changes happen over time and the CTEs won't help much anymore.
maxdemarzi··on Ask HN: If you've used a graph database, would you use it again?
I started using Neo4j 8 years ago after a long time as a relational database developer. I needed it for a project building a LinkedIn clone with skills (at the time LinkedIn didn't have skills). I was going to need a massive join table of user-skill-user and decided it was best in a graph. I built a ruby gem "neography" as a Neo4j driver and became an open source contributor. Later Neo4j contracted me to build a rules engine in a week for one of their clients. That got me a job as a Sales Engineer at Neo4j. 100+ blog posts, 200+ github repos later, lots of travel, and many wins, I still love the job, and still love the database.
maxdemarzi··on Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientDB, Neo4j and ArangoDB
Did you read the manual where it says the driver permits connection pooling?

http://neo4j.com/docs/developer-manual/current/drivers/clien...

maxdemarzi··on Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientDB, Neo4j and ArangoDB
I hate these types of posts. They do nothing to help the graph database space. How good are they at bidirectional traversals, what about deep traversals in complex networks with more than 50 relationship types? What about x? Every vendor is going to be better at one thing than another, there is always a trade off, but it is irrelevant.

Last week we took a very deep and very wide sales hierarchy query from 10 seconds in Oracle to 4ms in Neo4j. If Arango could it in 3ms, or Orient in 5ms doesn't really matter. The point is graph databases are much better at some queries than relational. They should be blogging about use cases and customer successes, not benchmarks.

maxdemarzi··on Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientDB, Neo4j and ArangoDB
You want to trust a vendor that used to restart the db between queries for their benchmarks?
maxdemarzi··on Performance Benchmark 2018 – MongoDB, PostgreSQL, OrientDB, Neo4j and ArangoDB
Don’t ever trust any vendor benchmarks: https://maxdemarzi.com/2015/10/16/benchmarks-and-supercharge...
maxdemarzi··on Ask HN: Books on specific topics that have applied to many areas of your life?
The Foundation Series by Asimov. Turned me into an optimist and helped me stop worrying about the little things.
maxdemarzi··on How Sweden's arctic 'millipede town' Kiruna is slowly moving
"The Deluxe Suite has a private heated bathroom and relaxation directly connected to the bedroom."

https://www.icehotel.com/hotel/rooms/365-en/deluxe-suite-365...

Also... you sleep ok if you've had a few drinks... but yeah, you are basically sleeping on a block of ice.

maxdemarzi··on How Sweden's arctic 'millipede town' Kiruna is slowly moving
I was there a couple of years ago. The people we talked to seemed pretty content with the arrangement. We took a tour of the mine and learn all about it.

Nearby there is also (one of ) the Ice Hotels where you sleep inside a building made of ice with beautifully decorated ice sculptures. Tip: if you go get one if the suites with a bathroom attached.

maxdemarzi··on Ask HN: Which load testing tool do you use? Any recommendations?
I like to use https://gatling.io/ for my load testing. It's super easy and you get pretty charts you can hand off to management.
maxdemarzi··on Higher-paid, faster-growing tech jobs are concentrating in 8 US hubs
Sure it's hot and humid, thankfully everything is Air Conditioned and I'm in the pool every night.

No public transportation means no public transportation that smells like urine. Since housing is so cheap everyone has nice cars.

maxdemarzi··on Higher-paid, faster-growing tech jobs are concentrating in 8 US hubs
Move to Round Rock folks! You can get a 4000 sq.ft. home, a half acre yard and a pool for less than a San Francisco studio. You pay $4000 a month to rent a 1 bedroom? You can rent a whole house here for half of that. Pay is the same if you just ask. Too many jobs and not enough local people to fill them.
maxdemarzi··on A Co-Relational Model of Data for Large Shared Data Banks (2011)
>>A necessary condition for the network effect to take off in the noSQL database market is the availability of a common abstract mathematical data model and an associated query language for noSQL that removes product differentiation at the logical level and instead shifts competition to the physical and operational level.

A common abstract mathematical data model is Graphs.

The associated query language is any of the declarative graph query languages (see openCypher for example @ http://www.opencypher.org/ ).

maxdemarzi··on A Co-Relational Model of Data for Large Shared Data Banks (2011)
This is an article written by someone who never heard of Graph Databases. The publish year was 2011, so that makes sense. They were not as well known 6 years ago.
maxdemarzi··on Déjà vu: Fast efficient probabilistic deduplication
May want to take a look at using a Cuckoo Filter instead of a Bloom Filter. See https://maxdemarzi.com/2017/07/13/using-a-cuckoo-filter-for-...
maxdemarzi··on SoundCloud cuts jobs, closes SF and London offices
Trending Friend Likes is a Trivial GraphDB problem. We could help them offload that to a separate service if they'd ask.

MATCH (u:User {Id:123})-[:FRIENDS]->(f)-[:LIKED_ON_2017_07_08]->(t:Track) RETURN t, COUNT(f) ORDER BY COUNT(f) DESC LIMIT 25

maxdemarzi··on Gitter is open source
Email me: max.demarzi@neotechnology.com
maxdemarzi··on Gitter is open source
Why not get in touch with us and let us help you instead of dropping us?
maxdemarzi··on GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database
The docs seem to indicate you do not store properties on relationships? Is that right? Then why call it a graph database when it is really an RDF store?
maxdemarzi··on Cayley – An open-source graph database
Neo4j has control end to end. Cayley storage is handled by other databases. You can say one is a graph database and the other is a graph library on top of another database. Same as Titan now Janus.
maxdemarzi··on Cayley – An open-source graph database
Anything Social. Product or Person hierarchies. Network datasets. Ancestry (genetic or data), etc.

They are better suited for Graph Databases because the queries tend to be many joins traversing paths both deep and wide.

maxdemarzi··on Ask HN: Has attracting a blog audience become harder?
Anecdote agreeing with the OP. I used to get 10k visitors a month in 2015, that dropped to 7.5k in 2016 and currently get about 5k a month even though the niche I talk about has gotten more and more popular (Neo4j). Nearly all my posts are technical and link to source code. Maybe there are just more bloggers about Neo4j. http://maxdemarzi.com
maxdemarzi··on Ask HN: How would you turn Twitter around?
Take Twitter and add a sprinkle of Groupon. Let brands sell direct via a Tweet. I click buy, boom I paid for it. For what exactly? Anything you can buy on Amazon, discount movie tickets, buy one get one free burger at mcdonalds, pre-order video games, etc. SELL STUFF. Add limits, like only 500 of x, or tweet will self destruct in x seconds. Imagine Black Friday/Cyber Monday on Twitter...
maxdemarzi··on Engineers Should Blog
The best way I've found is to blog what you learn. There is always somebody who is learning what you are learning and is a day behind you. They will benefit from your "experience" and being able to teach what you just learned means you know it well. 5 years and I haven't stopped learning. Http://maxdemarzi.com
maxdemarzi··on Geek Career Paths
I found myself a "pre-sales engineer" and it's a great combo of engineering and being a "people person" with other engineers who aren't "people persons". Pays like middle management with only half the bs.
maxdemarzi··on Ask HN: Is there an open source equivalent to Palantir?
The Investigative Consortium of Journalists used Neo4j to untangle the Panama Papers leak.

https://neo4j.com/blog/icij-neo4j-unravel-panama-papers/

← PreviousPage 2 of 12Next →