CouchDB Weekly News, August 4, 2016

Releases

Major Discussions

[PROPOSAL] CouchDB 2.0 log to ./var/log/couchdb.log by default (see thread)

Joan Touzet opened a PR to correct 2.0 logging only to stderr, but is requesting feedback from stakeholders.

2.0 & Windows: status update (see thread)

Joan provides an update on status of the CouchDB 2.0 port to Microsoft Windows.

Releases in the CouchDB Universe

PouchDB

Opinions and other News in the CouchDB Universe

… and in the PouchDB Universe

CouchDB Use Cases, Questions and Answers

Stack Overflow:

no public answer yet:

PouchDB Use Cases, Questions and Answers

Use Case:

  • hubot-ibmcloud-cognitive-lib: Provides helper functions for configuring, storing, and processing information related to NLS processing of a statement.

Stack Overflow:

no public answer yet:

For more new questions and answers about CouchDB, see these search results and about PouchDB, see these.

Get involved!

If you want to get into working on CouchDB:

  • We have an infinite number of open contributor positions on CouchDB. Submit a pull request and join the project!
  • Do you want to help us with the work on the new CouchDB website? Get in touch on our new website mailing list and join the website team! – www@couchdb.apache.org
  • The CouchDB advocate marketing programme is just getting started. Join us in CouchDB’s Advocate Hub!
  • CouchDB has a new wiki. Help us move content from the old to the new one!
  • Can you help with Web Design, Development or UX for our Admin Console? No Erlang skills required! – Get in touch with us.
  • Do you want to help moving the CouchDB docs translation forward? We’d love to have you in our L10n team! See our current status and languages we’d like to provide CouchDB docs in on this page. If you’d like to help, don’t hesitate to contact the L10n mailing list on l10n@couchdb.apache.org or ping Andy Wenk (awenkhh on IRC).

We’d be happy to welcome you on board!

Events

Job opportunities for people with CouchDB skills

Time to relax!

  • “His Pokémon narration feels as if we’re listening to him narrate animals in nature, only now it’s all animated. The effect is both delightful and enticing, making the game play feel like a hunt through the wild of whatever city you’re playing in.” – David Attenborough’s ‘Pokémon Go’ Narration Is So Soothing
  • “Vacations are times to kick back and relax, but getaways can also be a source of friction among families, friends or couples, as back-seat driving or paying restaurant bills cause tempers to fray. Here are a few tips from Sonia Prades, a psychologist specializing in family relationships, on how to ensure a stress-free summer break.” – Stress-free summer: How to vacation with friends
  • “…stress can really do a number on your body. Too much of it can cause headaches, stomachaches, muscle tension, and fatigue, according to the Mayo Clinic. It can also increase anxiety, and totally ruin your mood. So yes — it’s totally worth taking the time to increase your moments of relaxation throughout the day.” – 11 Ways To Find Moments Of Relaxation In Your Day
  • “I’m not sure what impresses me the most in this video of workers painting the street. Is it the perfect angles drawn free hand with a tool that’s essentially a stick with an open box at the end? Is it the dude dropping the hot thermoplastic into that box, while his partner is drawing the letters? Or is it the exquisite, ballerina-like footwork of the two workers who make sure not to step on the letters they just made?” – Watching Workers Paint Letters on a Street Is So Soothing
  • “Although stereotype threat is not unique to women, we have singled it out as a primary cause of women’s greater workplace stress for a simple reason: the workplace is a minefield of negative stereotypes for women. This minefield exists because success in business and the professions — being perceived as a leader, effective negotiator, strong advocate, and keen evaluator — involves performing tasks associated with positive male stereotypes and negative female ones.” – Why Women Feel More Stress at Work

… and also in the news

Feature: Mango Query

This is the fourth in a series of blog posts introducing the Apache CouchDB 2.0 release. Read parts one, two, and three in the series. 

Two years ago, Cloudant developed a declarative style syntax for creating and querying Cloudant indexes. The idea was to attract users who were not familiar with Map-Reduce and Javascript but still wanted to experience the power of NOSQL databases. Moreover, the syntax was MongoDB-inspired, meaning that users already familiar with MongoDB’s find() operator could easily transition over to Cloudant’s new declarative API. Cloudant introduced this feature as Cloudant Query. Within a few months, Cloudant donated Cloudant Query to CouchDB. We decided to adopt the development codename for introduction to the CouchDB community. Lo and behold: Mango.

For a quick introduction on how to get started with creating and querying indexes using Mango, check out this informative post: Introducing Cloudant Query.

When Mango was first donated to CouchDB, the codebases were identical. However, the repositories diverged as Cloudant added a new text-search feature to Cloudant Query that leveraged Cloudant’s existing full-text-search API. The new text-search feature also made the existing query API more flexible and truly ad-hoc. At the time, Cloudant’s full-text-search was not open sourced, and thus CouchDB’s version could not reap the benefits.

In late July of 2015, Cloudant open sourced full-text-search. This allowed Cloudant Query and Mango Query to become synchronized.

Check out Enable Full Text Search in Apache CouchDB to start using text search with Mango Query.

To fully understand the differences between original Mango JSON indexes and text indexes checkout Mango JSON vs Text Indexes. One of the restrictions of Mango in the past two years was that users had to create an index first before running a query. This was a nuisance to developers who just wanted to execute a query against the database, especially when they encountered the infamous no_index_found error. We’re happy to announce that in CouchDB 2.0, this restriction has been lifted. Users can now execute queries without the need to create an index first.

 

Tony Sun is a software developer at IBM Cloudant focusing on indexing and core API functionality. He is also a CouchDB committer.


You can download the latest release candidate from http://couchdb.apache.org/release-candidate/2.0/. Files with -RC in their name a special release candidate tags, and the files with the git hash in their name are builds off of every commit to CouchDB master.

We are inviting the community to thoroughly test their applications with CouchDB 2.0 release candidates. See the testing and setup instructions for more details.