HNHacker News
TopNewBestAskShowJobs

bjerun

336 karma · joined March 29, 2013

submissionscomments
bjerun··on Sorting number strings numerically
Are there any real life applications for this?
bjerun··on Creating multi-game highscore lists in ArangoDB
You can also checkout http://db-engines.com/en/ranking/graph+dbms which gives a ranking of various technologies (graph, document, search).
bjerun··on Modeling Data in MongoDB vs. ArangoDB
In principle, ArangoDB behaves similarly to MongoDB here. Both are essentially "mostly-in-memory" databases in the sense that they hold the data in memory and persist it at the same time to disk via memory mapped files. This approach is good for performance and if you run out of RAM you ought to shard your data.

However, MongoDB often uses a lot of memory for the actual data, since its BSON binary format stores the names of the attributes with every single document. ArangoDB detects similar shapes of documents (see https://www.arangodb.com/faq#how-do-shapes-work-in-arangodb) and thus avoids this particular problem.

bjerun··on Learning on the Edge
I agree. It is extremely hard to select the correct technology. So, sometimes it is even more valuable to learn, what has not work (even if it looked nice from the description), than what has worked.
bjerun··on Evernote style open source tool with end2end encryption
I hope it works better then owncloud - never got the replication to work reliable.
bjerun··on A Graph Processing System (2011)
There is also this PPT http://cgo.org/cgo2014/wp-content/uploads/2013/05/Simplifyin...
bjerun··on A Graph Processing System (2011)
Unfortunately, the link to the Green-Marl compiler "paper from CGO 2014" is broken. Anyone knows where to find this?
bjerun··on Google DNS servers suffer brief traffic hijack
I'm using 8.8.8.8. Does this mean I might have a problem now (virus or similar)?
bjerun··on Github is Down
Ist was stable for a long time now.
bjerun··on Your Favorite Programming Language Sucks
awk is missing. Best language ever.
bjerun··on What Are Your GCC Flags?
So it is not really optimizing the code - more like optimizing the symbol table?
bjerun··on What Are Your GCC Flags?

    -Wl,-O1 Did you know that you also have an optimization flag for the linker ? Now you know!
Ages ago the linker on SUN used to compile templates. What is GCC doing/using this flag for?
bjerun··on ArangoDB
https://www.arangodb.org/quickstart works. There is also an online tutorial https://www.arangodb.org/tryitout
bjerun··on ArangoDB
Durability is indeed hard to archive - as you pointed out disk controller sometimes simply tell you a lie.

With respect to corruption ArangoDB behaves similar: It uses an append-only log file with CRC checksums. So, if the last bit of storage contains corrupt data, it is discarded.

bjerun··on ArangoDB
There is a screencast by McHacki about the graph explorer he wrote: https://www.arangodb.org/2013/11/29/visualize-graphs-screenc...
bjerun··on ArangoDB
IMHO nowadays quite a lot of logic is moved into the front-end (for example "single web application"). In these cases you only need to provide some API in the back-end. But normally you need a bit more then "just" the data:

- some access control (e. g. sessions) - compute some fields (e. g. "age" derived from "birthday") - combine and filter data before transfering it the client (e. g. for graph traversals)