四月第一次线下聚会

24 views
Skip to first unread message

duyue

unread,
Apr 9, 2012, 10:48:41 PM4/9/12
to 北航开源软件俱乐部
hi, all

四月第一次线下聚会定下来了:

时间: 2012年4月18日星期三   19:30 ~ 21:30
地点: 场效应馆, 北京市海淀区成府路21号, 王庄路南口,五道口电影院东侧,东升派出所背后 
内容:
 labikyo和jesse跟大家聊一聊git

欢迎参加, 欢迎掺合

邓宣颖

unread,
Apr 9, 2012, 11:05:32 PM4/9/12
to beihang-open...@googlegroups.com
好!正好弄完中期答辩




--
原来在这看不见的城市里,我,只想做一个局外人
Blog

duyue

unread,
Apr 9, 2012, 11:21:50 PM4/9/12
to beihang-open...@googlegroups.com


On Tue, Apr 10, 2012 at 11:05 AM, 邓宣颖 <dxy39...@gmail.com> wrote:
好!正好弄完中期答辩

豆瓣的http://www.douban.com/j/location/create_event 500 internal server error, 创建不了活动了!

duyue

unread,
Apr 10, 2012, 3:38:08 AM4/10/12
to beihang-open...@googlegroups.com

Zuyang Kou

unread,
Apr 10, 2012, 4:42:21 AM4/10/12
to beihang-open...@googlegroups.com
喂喂喂,怎么说大三也算是有课的 = =

2012/4/10 duyue <lyx...@gmail.com>:

--
Code is poetry.

扈煊

unread,
Apr 10, 2012, 4:50:29 AM4/10/12
to beihang-open...@googlegroups.com
 怒赞,建议推广一下BHOSC的github,看看大家有没有什么点子愿意分享并且大家愿意一起实现的。

@leafduo
是时间不合适么?


--
Best Wishes!

Yours Sincerely,
扈煊 Hu Xuan
Domain:http://huxuan.org
E-mail / MSN / Gtalk:i(at)huxuan.org

duyue

unread,
Apr 10, 2012, 4:52:30 AM4/10/12
to beihang-open...@googlegroups.com


On Tue, Apr 10, 2012 at 4:42 PM, Zuyang Kou <lea...@gmail.com> wrote:
喂喂喂,怎么说大三也算是有课的 = =

故意挑的晚上呢。 周末场效应馆不让办活动。
晚上应该是选修课吧?

Labi Kyo

unread,
Apr 10, 2012, 5:24:03 AM4/10/12
to beihang-open...@googlegroups.com
是必修课6到8点,不过我几乎没上过…

Labi Kyo

unread,
Apr 10, 2012, 5:27:12 AM4/10/12
to beihang-open...@googlegroups.com




On 2012-4-10, at 16:50, 扈煊 <i...@huxuan.org> wrote:

> 怒赞,建议推广一下BHOSC的github,看看大家有没有什么点子愿意分享并且大家愿意一起实现的。

我准备仿照rubyvspython做几个游戏放到服务器上大家写ai玩。欢迎参和

Zuyang Kou

unread,
Apr 10, 2012, 11:13:20 AM4/10/12
to beihang-open...@googlegroups.com
虽然是必修课,但是你懂的,基本没差了……

--
Code is poetry.
Sent from my iPhone.

myrice

unread,
Apr 11, 2012, 1:31:24 AM4/11/12
to beihang-open...@googlegroups.com
好想去,特别是git... 现在github上的fork搞得乱乱的。。。可惜不在北京。。。

邓宣颖

unread,
Apr 11, 2012, 4:20:30 AM4/11/12
to beihang-open...@googlegroups.com
不在北京。。感觉很内涵!

On Wed, Apr 11, 2012 at 1:31 PM, myrice <qql...@gmail.com> wrote:
好想去,特别是git... 现在github上的fork搞得乱乱的。。。可惜不在北京。。。



--

duyue

unread,
Apr 11, 2012, 4:24:21 AM4/11/12
to beihang-open...@googlegroups.com

他暴露了ip, 然后大家都懂了

Raymond

unread,
Apr 11, 2012, 5:16:46 AM4/11/12
to beihang-open...@googlegroups.com
到时候有没有人从北航一快儿过去阿?

On Wed, Apr 11, 2012 at 4:24 PM, duyue <lyx...@gmail.com> wrote:

他暴露了ip, 然后大家都懂了




--
Blog | Weibo | BitBucket | Google Code | Google Plus




Zuyang Kou

unread,
Apr 11, 2012, 5:26:12 AM4/11/12
to beihang-open...@googlegroups.com
2012/4/11 Raymond <ran...@gmail.com>:
> 到时候有没有人从北航一快儿过去阿?
>

+1

常驻北航求带路

--
Code is poetry.

扈煊

unread,
Apr 11, 2012, 8:53:07 PM4/11/12
to beihang-open...@googlegroups.com
到时候一起去北门集合呗

2012/4/11 Zuyang Kou <lea...@gmail.com>



--

Grissiom

unread,
Apr 11, 2012, 9:18:37 PM4/11/12
to beihang-open...@googlegroups.com
2012/4/11 Zuyang Kou <lea...@gmail.com>

2012/4/11 Raymond <ran...@gmail.com>:
> 到时候有没有人从北航一快儿过去阿?
>

+1

常驻北航求带路


+1

--
Cheers,
Grissiom

Guan Qin

unread,
Apr 11, 2012, 10:05:08 PM4/11/12
to beihang-open...@googlegroups.com
+1

Brooklyn Chan

unread,
Apr 11, 2012, 11:01:39 PM4/11/12
to beihang-open...@googlegroups.com
开始主持活动了骚年,去的时候叫上我吧。大家可以聊一聊git一些比较偏门的技巧。

在 2012年4月10日星期二UTC+8上午10时48分41秒,Elyes Du写道:

Jesse Zhang

unread,
Apr 16, 2012, 11:34:01 PM4/16/12
to beihang-open...@googlegroups.com
On Tue, Apr 10, 2012 at 10:48 AM, duyue <lyx...@gmail.com> wrote:
> 内容:
> labikyo和jesse跟大家聊一聊git

不知道 labikyo 想聊哪些内容。我要说的基本都在这里,https://docs.google.com/document/pub?id=1FFssCYnbMgKk9rEEctDWz23Ne8WV4Uy5rOIehX0Rdkw

jesse

Xuan Hu

unread,
Apr 16, 2012, 11:40:10 PM4/16/12
to beihang-open...@googlegroups.com
2012/4/17 Jesse Zhang <zh.j...@gmail.com>


不知道 labikyo 想聊哪些内容。我要说的基本都在这里,https://docs.google.com/document/pub?id=1FFssCYnbMgKk9rEEctDWz23Ne8WV4Uy5rOIehX0Rdkw

jesse

很赞啊!期待!

Grissiom

unread,
Apr 16, 2012, 11:54:00 PM4/16/12
to beihang-open...@googlegroups.com
2012/4/17 Jesse Zhang <zh.j...@gmail.com>
相当期待~ 会不会讲讲 git 里与 key-value 相对应的 C struct 呢?嘿嘿……

再有,以前不是经常说 git 是 track content, not file 的么?不过从 hash 的结果来看还是 track file 的?……

--
Cheers,
Grissiom

Jesse Zhang

unread,
Apr 17, 2012, 1:04:29 AM4/17/12
to beihang-open...@googlegroups.com
On Tue, Apr 17, 2012 at 11:54 AM, Grissiom <chaos....@gmail.com> wrote:
> 相当期待~ 会不会讲讲 git 里与 key-value 相对应的 C struct 呢?嘿嘿……

其实就是 char * 吧 :D

> 再有,以前不是经常说 git 是 track content, not file 的么?不过从 hash 的结果来看还是 track file 的?……

是这个吧,http://book.git-scm.com/3_normal_workflow.html

Git tracks content not files

Many revision control systems provide an "add" command that tells the
system to start tracking changes to a new file. Git's "add" command
does something simpler and more powerful: git add is used both for new
and newly modified files, and in both cases it takes a snapshot of the
given files and stages that content in the index, ready for inclusion
in the next commit.

git add 的时候确实可以在内容上操作,但是往 .git/objects 存的时候还是把整个文件的所有内容一块做 snapshot
的。否则读取文件的时候怎么办?blob 之间是没有结构的。

jesse

Grissiom

unread,
Apr 17, 2012, 1:31:08 AM4/17/12
to beihang-open...@googlegroups.com
2012/4/17 Jesse Zhang <zh.j...@gmail.com>

嗯,也就是说类似于 git blame -B -C 这样对行进行跟踪的功能并不是建立在基本数据模型之上的?……

--
Cheers,
Grissiom

Jesse Zhang

unread,
Apr 17, 2012, 2:54:07 AM4/17/12
to beihang-open...@googlegroups.com
On Tue, Apr 17, 2012 at 1:31 PM, Grissiom <chaos....@gmail.com> wrote:
> 嗯,也就是说类似于 git blame -B -C 这样对行进行跟踪的功能并不是建立在基本数据模型之上的?……

git blame 貌似是一点点去搜的吧。看 builtin/blame.c。

jesse

李欣越 Labi Kyo

unread,
Apr 17, 2012, 4:13:59 AM4/17/12
to beihang-open...@googlegroups.com
2012/4/17 Jesse Zhang <zh.j...@gmail.com>

还没写完outline :P 不过我要讲的都是应用层次的,内容上几乎没有重叠。我的计划是以workflow为线索,给出各种场景的解决方案,让大家对git能做到的事情有个印象。

myrice

unread,
Apr 17, 2012, 4:15:37 AM4/17/12
to beihang-open...@googlegroups.com


On Tue, Apr 17, 2012 at 4:13 PM, 李欣越 Labi Kyo <lab...@gmail.com> wrote:

还没写完outline :P 不过我要讲的都是应用层次的,内容上几乎没有重叠。我的计划是以workflow为线索,给出各种场景的解决方案,让大家对git能做到的事情有个印象。

你们这月主题是git?走之前别忘投票下下次主题。。。

Jesse Zhang

unread,
Apr 17, 2012, 4:21:02 AM4/17/12
to beihang-open...@googlegroups.com
On Tue, Apr 17, 2012 at 4:13 PM, 李欣越 Labi Kyo <lab...@gmail.com> wrote:
> 不过我要讲的都是应用层次的,内容上几乎没有重叠。我的计划是以workflow为线索,给出各种场景的解决方案,让大家对git能做到的事情有个印象。

好 :)

jesse

李欣越 Labi Kyo

unread,
Apr 17, 2012, 3:37:11 PM4/17/12
to beihang-open...@googlegroups.com
2012/4/10 duyue <lyx...@gmail.com>
 labikyo和jesse跟大家聊一聊git

Hi *,

这是我刚写完的outline(https://github.com/LabiKyo/Git-Workflow),虽然我已经努力精简过了,依然还是很长。不过我想我会把重点放在解释workflow上面,具体命令的细节更多地放在slides里面(尽快放上)免得大家听得无聊以及超过时间。

我一直想整理一些git相关的东西,这次的topic正好是一个起点。outline和slides都会放在github上面并且持续更新,做到可供参考的目的。这是一个public repo,欢迎大家贡献力量。关于其中提到的任意命令的细节的疑问都可以问我,或者平时的项目中git出现了不知道怎么解决的状况我也可以帮忙 :)

duyue

unread,
Apr 17, 2012, 10:56:44 PM4/17/12
to beihang-open...@googlegroups.com

就在今夜! 就在今夜!

别忘记了啊

如果有时间的同学, 可以早点过去占点位子

Guan Qin

unread,
Apr 18, 2012, 12:25:19 AM4/18/12
to beihang-open...@googlegroups.com
求同路。。。

Xuan Hu

unread,
Apr 18, 2012, 2:10:03 AM4/18/12
to beihang-open...@googlegroups.com
hi, all

由于今天在实验室,去五道口不同路了,非常抱歉
这是Google Map的链接:http://goo.gl/fom4M,是从学校北门到咖啡馆的路线
这是街旁的地点链接:http://goo.gl/CUVzE
这是两张店面的图片(白天和晚上,来自街旁地点相册):http://goo.gl/HS5J2 http://goo.gl/MSbFa
马路对面就是工商银行,如果还找不到就通过GT或者电话联系吧

Ran Jiao

unread,
Apr 18, 2012, 3:07:56 AM4/18/12
to beihang-open...@googlegroups.com
六点半在北门出发,我带个墨镜方便和头一次见的同学接头。

Sent from my Windows Phone

From: Guan Qin
Sent: 4/18/2012 12:25
To: beihang-open...@googlegroups.com
Subject: Re: [BHOSC] 四月第一次线下聚会

Grissiom

unread,
Apr 18, 2012, 3:21:19 AM4/18/12
to beihang-open...@googlegroups.com
2012/4/18 Ran Jiao <ran...@gmail.com>
六点半在北门出发,我带个墨镜方便和头一次见的同学接头。


走着还是骑车?嘿嘿……
 
-- 
Cheers,
Grissiom

Guan Qin

unread,
Apr 18, 2012, 3:30:59 AM4/18/12
to beihang-open...@googlegroups.com
如果坐公交的话,北门貌似要转,东门331/562/375直达语言大学。
骑自行车也可以考虑,反正不远。

duyue

unread,
Apr 18, 2012, 3:58:25 AM4/18/12
to beihang-open...@googlegroups.com


On Wed, Apr 18, 2012 at 3:30 PM, Guan Qin <qingu...@gmail.com> wrote:
如果坐公交的话,北门貌似要转,东门331/562/375直达语言大学。
骑自行车也可以考虑,反正不远。


直接走过去也不愿。
走展春园西路。

Raymond

unread,
Apr 18, 2012, 4:07:36 AM4/18/12
to beihang-open...@googlegroups.com

自行车前段时间被偷了,只能走路或者蹭谁的自行车后座了

--

Guan Qin

unread,
Apr 18, 2012, 4:18:53 AM4/18/12
to beihang-open...@googlegroups.com
六点半北门走起吧。。。

Grissiom

unread,
Apr 18, 2012, 4:21:57 AM4/18/12
to beihang-open...@googlegroups.com
2012/4/18 Guan Qin <qingu...@gmail.com>

六点半北门走起吧。。。


On Wed, Apr 18, 2012 at 4:07 PM, Raymond <ran...@gmail.com> wrote:

自行车前段时间被偷了,只能走路或者蹭谁的自行车后座了


OK,走起~

--
Cheers,
Grissiom

myrice

unread,
Apr 18, 2012, 4:27:58 AM4/18/12
to beihang-open...@googlegroups.com

Send from my phone
On Apr 18, 2012 4:22 PM, "Grissiom" <chaos....@gmail.com> wrote:
> OK,走起~
>
羡慕嫉妒恨。。。irc等你们。。。

王越

unread,
Apr 18, 2012, 5:28:43 AM4/18/12
to beihang-open...@googlegroups.com
今晚翘课过去。。。

在 2012年4月18日星期三,myrice 写道:
--

王越

unread,
Apr 18, 2012, 5:32:41 AM4/18/12
to beihang-open...@googlegroups.com
晚上是七点开始吗?

Labi Kyo

unread,
Apr 18, 2012, 5:40:16 AM4/18/12
to beihang-open...@googlegroups.com
On 2012-4-18, at 17:28, 王越 <buaaw...@gmail.com> wrote:

> 今晚翘课过去。。。

今晚点名的哟

Grissiom

unread,
Apr 18, 2012, 5:45:08 AM4/18/12
to beihang-open...@googlegroups.com
2012/4/18 王越 <buaaw...@gmail.com>
晚上是七点开始吗?


是七点半开始吧,嘿嘿……

--
Cheers,
Grissiom

Zuyang Kou

unread,
Apr 18, 2012, 5:45:44 AM4/18/12
to beihang-open...@googlegroups.com
2012/4/18 Labi Kyo <lab...@gmail.com>:

> On 2012-4-18, at 17:28, 王越 <buaaw...@gmail.com> wrote:
>
>> 今晚翘课过去。。。
>
> 今晚点名的哟
>

你就吓唬人吧 = =

--
Code is poetry.

鲍 习武

unread,
Apr 18, 2012, 5:47:04 AM4/18/12
to beihang-open...@googlegroups.com
你们开始版聊了吧。。。

---
鲍 习武



2012/4/18 Zuyang Kou <lea...@gmail.com>

Zuyang Kou

unread,
Apr 18, 2012, 5:52:33 AM4/18/12
to beihang-open...@googlegroups.com
问个很严肃的问题:

1、场效应馆能吃饱肚子吗?我没法撤离实验室啊,木有钥匙,大家都去吃饭了……

2、有地方放笔记本吗?

--
Code is poetry.

duyue

unread,
Apr 18, 2012, 5:56:55 AM4/18/12
to beihang-open...@googlegroups.com

都有,不过人多了有点挤

李欣越 Labi Kyo

unread,
Apr 18, 2012, 6:27:25 AM4/18/12
to beihang-open...@googlegroups.com
2012/4/18 duyue <lyx...@gmail.com>

都有,不过人多了有点挤

确实不大,FET坐等。

Ps. 这周第九周教务检查,确实要点名。

李欣越 Labi Kyo

unread,
Apr 18, 2012, 11:24:55 AM4/18/12
to beihang-open...@googlegroups.com
本次线下聚会出席名单(草稿)

lyxint 杜越 07软院
grissiom
yuanotes
qinguan0619
ranjiao
liang qiushi 梁秋实
hetuo198881 -- 清华软院
kernelhcy -- GTKQQ
buaawangyue 王越 09软院
Julien Buty 轩辕豪杰1 (NLP)
leafduo 寇祖阳 09软院
huxuan 胡旭安 !== 扈煊
jesse 张森 06软院
labikyo 李欣越 09软院

没有填的是不认识不确定的。。欢迎补充和更正。

后来好像有新来的同学?

duyue

unread,
Apr 18, 2012, 11:35:23 AM4/18/12
to beihang-open...@googlegroups.com


On Wed, Apr 18, 2012 at 11:24 PM, 李欣越 Labi Kyo <lab...@gmail.com> wrote:

后来好像有新来的同学?

后来来的是张慧聪 bukn 川大

李欣越 Labi Kyo

unread,
Apr 18, 2012, 11:35:49 AM4/18/12
to beihang-open...@googlegroups.com
@lynint 查了一下`git shortlog`没法输出stat,虽然确实有这个选项。sof里面都是回答用其他工具。

在我没说的第三部分里面提到的shortlog是用来生成release log的,估计shortlog原本就是设计用来做这个的。

Grissiom

unread,
Apr 18, 2012, 11:41:41 AM4/18/12
to beihang-open...@googlegroups.com
2012/4/18 李欣越 Labi Kyo <lab...@gmail.com>

@lynint 查了一下`git shortlog`没法输出stat,虽然确实有这个选项。sof里面都是回答用其他工具。

在我没说的第三部分里面提到的shortlog是用来生成release log的,估计shortlog原本就是设计用来做这个的。


嗯,一看这个输出感觉好熟悉:


--
Cheers,
Grissiom

Brooklyn Chan

unread,
Apr 21, 2012, 5:14:37 AM4/21/12
to beihang-open...@googlegroups.com
你那个讲的还不错,之前看pro git没怎么注意这些东西,这次倒有一个清晰的概念。

在 2012年4月17日星期二UTC+8下午1时04分29秒,Jesse Zhang写道:
On Tue, Apr 17, 2012 at 11:54 AM, Grissiom <chaos....@gmail.com> wrote:
> 相当期待~ 会不会讲讲 git 里与 key-value 相对应的 C struct 呢?嘿嘿……

其实就是 char * 吧 :D

> 再有,以前不是经常说 git 是 track content, not file 的么?不过从 hash 的结果来看还是 track file 的?……

是这个吧,http://book.git-scm.com/3_normal_workflow.html

Git tracks content not files

Many revision control systems provide an "add" command that tells the
system to start tracking changes to a new file. Git's "add" command
does something simpler and more powerful: git add is used both for new
and newly modified files, and in both cases it takes a snapshot of the
given files and stages that content in the index, ready for inclusion
in the next commit.

git add 的时候确实可以在内容上操作,但是往 .git/objects 存的时候还是把整个文件的所有内容一块做 snapshot
的。否则读取文件的时候怎么办?blob 之间是没有结构的。

jesse

Jesse Zhang

unread,
Apr 22, 2012, 12:58:08 AM4/22/12
to beihang-open...@googlegroups.com
On Tue, Apr 17, 2012 at 11:54 AM, Grissiom <chaos....@gmail.com> wrote:
> 再有,以前不是经常说 git 是 track content, not file 的么?不过从 hash 的结果来看还是 track file 的?……

这个的意思应该是说,git 追踪的都是文件的内容,而不是文件本身。比如如果有两个文件内容是一样的,那么其实只产生一个 blob
object。讲的时候也提到了,但是没演示。

$ git init
Initialized empty Git repository in /tmp/test/.git/
$ find .git/objects/ -type f
$

$ echo hello > test1
$ git add test1
$ find .git/objects/ -type f
.git/objects/ce/013625030ba8dba906f756967f9e9ca394464a

$ echo hello > test2
$ git add test2
$ find .git/objects/ -type f
.git/objects/ce/013625030ba8dba906f756967f9e9ca394464a

$ git status
# On branch master
#
# Initial commit
#
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
#
# new file: test1
# new file: test2
#

而且追踪的是整块的内容,不会自动把内容切块。

jesse

Grissiom

unread,
Apr 22, 2012, 8:38:45 PM4/22/12
to beihang-open...@googlegroups.com
2012/4/22 Jesse Zhang <zh.j...@gmail.com>

On Tue, Apr 17, 2012 at 11:54 AM, Grissiom <chaos....@gmail.com> wrote:
> 再有,以前不是经常说 git 是 track content, not file 的么?不过从 hash 的结果来看还是 track file 的?……

这个的意思应该是说,git 追踪的都是文件的内容,而不是文件本身。比如如果有两个文件内容是一样的,那么其实只产生一个 blob
object。讲的时候也提到了,但是没演示。


嗯!明白了!
 

jesse




--
Cheers,
Grissiom

duyue

unread,
Jun 28, 2012, 12:15:36 AM6/28/12
to 北航开源软件俱乐部
刚发现的一个Visual Git Reference, 可以帮助理解merge, cherry-pick, rebase等等

英文版 http://marklodato.github.com/visual-git-guide/index-en.html
中文版 http://marklodato.github.com/visual-git-guide/index-zh-cn.html

李欣越 Labi Kyo

unread,
Jun 28, 2012, 9:20:42 PM6/28/12
to beihang-open...@googlegroups.com

这东西很赞啊
Reply all
Reply to author
Forward
0 new messages