News for hackers. Stuff that matters.

morghus

Re:Why Genghis Khan’s tomb can’t be found on Monday August 14, 2017 @11:12AM (#15009176)
I would add beautiful people as well: https://www.youtube.com/watch?v=ewr-vzw4ZWo
Part I dislike most is that all this publicity just increases their exposure and probably their profits too.

I don't see how you could stop people like this and can't help but wonder how much good the backlash is actually doing.

Ask HN: How do you write specs/requirements/design documentation?

I work at company where we don't do any of this. Which leads to more iteration and wasting time.I'm trying to introduce writing specifications as a start, but I'm worried my knowledge is quite dated. I learned it in school but never really applied it in the real world.Each project is of course different: The projects I work on are web applications and rest apis that depend on multiple services....

( Read More... | no comments | on HN )
We really have no way of knowing for which purpose or in which way any data that is collected about us is used by any company/person/entity.
Oversight by whoever dared leak this.
Re:Dear MongoDB users, we welcome you in Azure DocumentDB on Friday February 17, 2017 @05:19AM (#13667241)
Yes, except you can't do the most basic things with DocumentDB and it becomes very expensive very fast. Especially if you want multiple collections.

There's a lot lacking with DocumentDB, as evident from the feedback forum, that comparing it to Mongo is like comparing an infant to an adult. The infant might be cute, but it can't do a whole lot.

https://feedback.azure.com/forums/263030-documentdb/filters/...

Re:Error Handling in Node.js on Friday November 04, 2016 @06:43AM (#12871580)
much obliged
Re:Error Handling in Node.js on Friday November 04, 2016 @06:15AM (#12871463)
Can anyone explain why this pattern doesn't work? Or point me to some resource?

  function myApiFunc(callback)
  {
    /*
     * This pattern does NOT work!
     */
    try {
      doSomeAsynchronousOperation(function (err) {
        if (err)
          throw (err);
        /* continue as normal */
      });
    } catch (ex) {
      callback(ex);
    }
  }