From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 23 08:47:44 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A6E6610; Mon, 23 Mar 2015 08:47:44 +0000 (UTC) Received: from mail-yh0-x229.google.com (mail-yh0-x229.google.com [IPv6:2607:f8b0:4002:c01::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2C53664; Mon, 23 Mar 2015 08:47:43 +0000 (UTC) Received: by yhjf44 with SMTP id f44so65192487yhj.3; Mon, 23 Mar 2015 01:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BwA5VnHqK0W8TI/LUNELBlaZKLPlnjdBKb8z4jWgC8Y=; b=bEoRpXqpFSYMBSE/wBInSzqNj8NgGf0INK6ox96EoBfh/9Noo6NJ5fi8oVZcf/KPw0 qHESQgW+8IraBDQrQbrpHv6t//C6GEURVgEjkbU1ChMDShdx7e0OAnCP1TwZGYbIiAnX 2qYvVGzznlTf1D1EGvoDbxDAmqdyIUIFGI/yze8eJCoCmK8CNyUZGuM/5gncOp6msq94 hf5tqvfWiYmkYLzYa/0G2a9swrncu7huKqfSK2cM2MzkUsxRjmVptGVF8Ae0+EatfL/v aib9NC4lvvBzXdX0lWAbjfj7yDByMot2CNbjpvJkXsOU0hrGxqpiutRsdU7VbGRLQSDK LGTA== MIME-Version: 1.0 X-Received: by 10.236.228.2 with SMTP id e2mr93050759yhq.122.1427100462906; Mon, 23 Mar 2015 01:47:42 -0700 (PDT) Received: by 10.170.60.69 with HTTP; Mon, 23 Mar 2015 01:47:42 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 Mar 2015 01:47:42 -0700 Message-ID: Subject: Re: Self introduciton of Hao Sun and thoughts on LibNetstat From: Mehmet Erol Sanliturk To: Gabor Pali Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: George Neville-Neil , Hao Sun , Robert Watson , FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 08:47:44 -0000 On Sun, Mar 22, 2015 at 11:50 PM, Gabor Pali wrote: > Hi Hao, > > 2015-03-22 13:09 GMT+01:00 Hao Sun : > > Following your guidance, I've cloned the FreeBSD mirror from GitHub and > will get down to > > have an initial scratch with the latest version. > > That is great. I forgot to mention, but maybe it is also said on the > introductory wiki pages you have also cited originally, that it is > probably the best if you try to build the userland ("world") and the > kernel on your VM and install it first. This should give you the > basic feel for the development cycle and help to spot problems with > the clean system itself before you start hacking on it. The > development branch of FreeBSD (that is called "current") shall build > and install just fine for most of the time, but do not be discouraged > if not, ask for help. > > > On the project's wiki page [1], I think the target for GSoC > > 2015 is to finish the tasks haven't been done in the following table. > But according to your > > comments in the emails, it seems like I need to start the job from > scratch. Thus the question > > is should I keep the existing code and add new features to the previous > version or just start > > the project from the very beginning? > > I might have sounded a bit pessimistic, I do not necessarily insist on > rewriting the entire library :-) I think it is just common sense: > study the current implementation, take a look at the FreeBSD ecosystem > and kernel, discuss the topic with the interested hackers, and work > out your proposal based on your findings. You may find some of the > old code base and concepts reusable, which is excellent, and you may > decide to take another approach for the rest. It might be worthwhile > to accommodate some "stretch goals" in your proposal if you > accidentally completed your summer task too quickly :-) > > For making things a bit easier (hopefully) for you, I may also include > George Neville-Neil in the conversation (see him CC'ed) who has shown > some interest in driving this library into the base system in the past > if I recall correctly. Along with Robert, he is also a high-profile > src committer, with experience in networking and related areas. (And > also a potential mentor for this project as well?) > > Cheers, > G=C3=A1bor > > [1] https://wiki.freebsd.org/LibNetstat > _______________________________________________ > > To improve the acceptance of "Testing" concepts , another good point may be to define a testing facility of the developed sources through use of Jenkins during the development : https://github.com/rodrigc/kyua/wiki/Quickstart-Guide https://wiki.freebsd.org/Jenkins Following the principles like defined in the following pages may be useful ( I think these are ignored grossly in many open ( I do not have any idea about closed ) source projects ) : http://en.wikipedia.org/wiki/Software_development_process http://en.wikipedia.org/wiki/Requirements_analysis http://en.wikipedia.org/wiki/Software_design http://en.wikipedia.org/wiki/Software_construction http://en.wikipedia.org/wiki/Software_testing http://en.wikipedia.org/wiki/Debugging http://en.wikipedia.org/wiki/Software_deployment http://en.wikipedia.org/wiki/Software_maintenance Following the above steps and producing reports by considering them , will make the generated software much more easily maintainable by several people and over time even by the initial developer . Thank you very much . Mehmet Erol Sanliturk