2017年第2次MariaDB开发者大会(深圳,中国)相关安排

(The original English version of this post is available here).

MariaDB 2017年第2次开发者大会即将在深圳召开,这是MariaDB社区第一次在亚洲地区举办开发者大会。
以下是本次活动的相关安排:

11月13日 — 新贡献者日
11月14~15日 — 开发者大会
11月16~17日 — Patch研讨会
宝存科技负责筹办这次大会。如果您有意参加,请在本次会议的Meetup.com页面上注册。
所有活动均免费参加。我们建议您入住会议举办地点附近的酒店。

新贡献者日

11月13日是专门为新贡献者预留的一天。 如果您有兴趣成为MariaDB的贡献者,但不知道如何起步;或者已经做了一些贡献,但希望更深入地了解MariaDB的开发流程,那么这一天的会值得您参加。 参会者需要有C / C ++基础,带上笔记本电脑!会议将兼顾英语和普通话。

开发者大会

11月14日和15日是传统的开发者会议。欢迎任何有兴趣在MariaDB开源项目中贡献力量(代码或者其它形式的贡献)的人参加。 参与会议并不要求您是核心开发人员,这是一个开放的社区,我们欢迎那些愿意学习和参与开源的新贡献者。
这两天我们将就MariaDB开发有关的各种话题进行深入的介绍和讨论。
这次活动是一个开放的会议,有很多机会对各种议题进行讨论与协作。性能、新特性、连接器、安装包以及文档等方向,您可以参与帮助我们一起决定一些事情。许多MariaDB核心开发人员将出席并与大家讨论。
这次活动的目标是为新老开发者提供一个面对面的交流平台,以便大家能够一起攻克一些难题,或者对新特性进行规划。

Patch研讨会

在开发者会议之后,经过了大量的展示和讨论,我们需要着手工作了。这2天将用于补丁审查(Code Review),面对面的讨论比正常的在线审查流程更高效。这也是个好机会可以把前面讨论的好想法一起来设计好实现,因为这些想法还很新,您可以亲自与其他开发者进行沟通。

如果您对该活动有任何疑问,或有关如何贡献MariaDB,请随时在MariaDB开发人员邮件列表MariaDB讨论邮件列表进行讨论。
请在这里注册MariaDB Developers开发者大会。 …

2017-2 Developers Unconference and Related Events, Shenzhen

(A Chinese version of this post is available here).

The 2nd 2017 MariaDB Developers Unconference will be our first in Asia, and will take place in Shenzhen, China, along with two related events:

13 November – New contributor day
14-15 November – Developers Unconference
16-17 November – Patch review days
Provisional Schedule

Shannon are kindly hosting the event. If you want to attend, please sign up on the event page at Meetup.com.

All events are free of charge to attend. We recommend you stay in a hotel near the venue.

New contributor day

The 13th of November will be a day dedicated to new developers. …

Community contributions to MariaDB

One of the goals of the MariaDB Foundation is to help new contributors understand the source code and to lower the barrier for new participants. One way to measure this is to look at the number of pull requests received and accepted, as these mostly reflect community contributions. The figures below are for the main server only, not any of the connectors or tools hosted on the Foundation’s GitHub account, and for the period 1 January to 1 July 2017.

Number of GitHub pull requests received: 126 (+113% Year-on-Year)
Number of pull requests reviewed: 102 (+76% YoY)
Number of contributors: 28 (+22% YoY)
Number of reviewers: 13 (+44% YoY)

By comparison, here are the equivalent figures for MySQL:
Number of GitHub pull requests received: 35 (-10% Year-on-Year)
Number of contributors: 19 (+27% YoY)

Although the MariaDB codebase is large and complex, we’re happy to see that there have been some interesting and important contributions from the community. …

Duel: gdb vs. linked lists, trees, and hash tables

My first encounter with the gdb command duel was on some old IRIX about 15 years ago. I immediately loved how convenient it was for displaying various data structures during MySQL debugging, and I wished Linux had something similar. Later I found out that Duel was not something IRIX specific, but a public domain patch for gdb 4.6 written in ’93 by Michael Golan. Unfortunately, it never got into gdb (for licensing reasons, so I’ve heard). Now the gdb 8 is out, and the patch, obviously doesn’t apply. Instead of fixing the patch, I’ve re-implemented Duel in Python, using gdb Python API and the Arpeggio parser. …

Making life prettier with gdb PrettyPrinting API

Anyone who has peeked inside a gdb manual knows that gdb has some kind of Python API. And anyone who has skimmed through has seen something called “Pretty Printing” that supposedly tells gdb how to print complex data structures in a nice and readable way. Well, at least I have seen that, but I’ve never given it much thought. Still, one day, when I was typing:
(gdb) p/t table->read_set->bitmap[0] @ (table->read_set->n_bits+7)/8
for the umpteenth time I asked myself, “why the heck not?”, and so it begun…
(more…)

Who are you? The history of MySQL and MariaDB authentication protocols from 1997 to 2017

MySQL 3.20 to 4.0

In the good old days, when 32MB of RAM justified the name my-huge.cnf, when nobody knew Google and Facebook didn’t even exist, security was… how do I put it… kind of cute. Computer viruses didn’t steal millions and didn’t disrupt elections — they played Yankee Doodle or told you not to play with the PC. People used telnet and ftp, although some security conscious admins already knew ssh.

Somewhere around this time, give or take a few years, MySQL was born. And it had users, who had to be kept away from seeing others’ data, but allowed to use their own. …

2017 Developers (Un)Conference, New York

The 2017 MariaDB Developers Conference is crossing the ocean this year, and will be taking place in New York, from 9 to 10 April.

The unconference will last for two days and you can join for the whole time, or as little time as you wish.

The schedule of this unconference will be drafted in a public spreadsheet. Initially, anyone attending can help set the schedule by adding sessions, as well as voting for sessions they’re interested in, by incrementing the vote counter. Based on this, the schedule will be drawn up.

BNY Mellon are kindly hosting this years event. …

2016 MariaDB Developers Meetup Presentations

I’ve collected slides and videos from several of the presentations given at the MariaDB Developers Meetup in Amsterdam, 6-8 October 2016. This meetup was kindly hosted by Booking.com. The presentations are listed here in roughly the order they were given. If I have both the slides and video for a given talk I link to both, otherwise I just link to what I have. The video is of poor quality as it was livestreamed to Periscope from a handheld mobile phone. Network issues also mean the streams sometimes dropped and had to be restarted. I will update this post as a receive slide decks from other speakers. …