Python论坛  - 讨论区

标题:[python-chinese] 重做我的设计

2006年05月24日 星期三 12:02

swordsp sparas2006 at gmail.com
Wed May 24 12:02:58 HKT 2006

可不可以这样设计:

每个用户脚本只负责纯粹的"逻辑"部分,任何与环境相关的数据访问(比如坦克位置)或者会改变环境的行为(比如移动)都必须通过一个独立的"裁判"线程执行。
用户线程需要处理这些的时候就往一个事件队列里添加事件,然后被block。
裁判线程每处理完一个事件就唤醒相应的用户线程。
这样任何时候都只需要考虑到两个线程的关系,而且只有裁判线程才会接触共享数据,也就没有数据同步问题。

对于脏数据的问题,原则上让用户自己负责,"移动"这样会改变环境的事件可能有失败的返回结果。

对了,你和yi huang的code有没有开源的打算啊?
我很有兴趣~

On 5/23/06, 吴俊玉 <wujunyu at gmail.com> wrote:
>
> 刚出去了一下,考虑了huangyi的说法,
> 不好意思,基础不扎实,
> 果然还是要抢占啊!
>
> --
> 北京市海淀区中软国际
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060524/97e4206f/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月24日 星期三 12:28

swordsp sparas2006 at gmail.com
Wed May 24 12:28:44 HKT 2006

即使是魔兽世界,一个服务器最多都只有5000人在线呢。
在线程数量限制达到前,我觉得程序肯定会因为其它的资源不够用(比如线程调度的开销)而爆掉的。

On 5/23/06, yi huang <yi.codeplayer at gmail.com> wrote:
>
> 关键是这个项目确实需要强占式的调度,
> 不过stackless也可以限制tasklet运行的指令数,运行了N个指令后就挂起该tasklet,不过好象没发现有分时的调度方法。
>
> 我想这东西还有个大问题就是需要限制用户编写的python程序的权限,不准写文件,有些module不能import,有些函数不准调用等等 ...
>
> 一个坦克一个线程的另一个问题是:如果要做成online,很多用户就不好办了,操作系统上能分配的线程数量貌似并不多。
>
>
> On 5/23/06, Hou Ming Yuan <houmingyuan at gmail.com> wrote:
> >
> > 个人想法,使用多线程算是自讨苦吃,游戏里面需要同步的数据太多。
> > 要想有多线程的优点,用stackless是一个很好的选择,它提供了一个相当于非抢占是的调度机制。
> >
> >
> > 在06-5-21,吴俊玉 <wujunyu at gmail.com> 写道:
> > >
> > >  谢谢swordsp给我启发
> >
> >
> > 我的线程是在python中创建的,所以我得使用python中的同步方式,相比windows提供的手段,python中线程同步于互斥的手段显得单薄了些,
> > 今天我又认真考虑了下设计我的设计:
> > 使用线程同步方式并没有什么优势。
> > 我的每个坦克线程都得提供读锁和写锁来互斥量个线程的访问,相比使用一个memento模式保存坦克碰撞时的状态要复杂的多。
> >
> > 翻了一下,也许我该看看状态机的方式能不能够给我帮助!
> > --
> > 北京市海淀区中软国际
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
> --
> http://codeplayer.blogbus.com/
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060524/23449428/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月24日 星期三 13:13

吴俊玉 wujunyu at gmail.com
Wed May 24 13:13:38 HKT 2006

想开源,不过实力不够啊!
所以想要先搞定设计。

你的想法有人向我提过,那时候刚开始设计,没理解。
现在想来估计是个不错的想法。

-- 
北京市海淀区中软国际
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060524/73a58563/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月24日 星期三 13:26

yi huang yi.codeplayer at gmail.com
Wed May 24 13:26:52 HKT 2006

to swordsp:

http://wiki.woodpecker.org.cn/moin/evolution

设计上基本和你说的差不多,比如 begin_move
其实是放一个action在一个队列,运行完所有动物的逻辑后统一处理这些action。现在还有控制用户脚本运行时间和限制用户脚本权限没做。
使用stackless的微线程,基本上是可以分配无限多个tasklet(只要内存够),调度的开销也可以不用太考虑,基本上比过程调用的开销差不多吧。

0.1版本,呵呵,其实顶多也就算得上是个小原型吧。本来机器上有了0.2,上次装ubuntu的时候太激动enter按快了,把硬盘清了。
现在复习考研也没心思搞了,老兄有兴趣的话不妨接下去?
这几天看了一些代码,对滚动地图的机制也有点明白了,不过实在没心思编码。

On 5/24/06, swordsp <sparas2006 at gmail.com> wrote:
>
> 即使是魔兽世界,一个服务器最多都只有5000人在线呢。
> 在线程数量限制达到前,我觉得程序肯定会因为其它的资源不够用(比如线程调度的开销)而爆掉的。
>
>
> On 5/23/06, yi huang <yi.codeplayer at gmail.com > wrote:
> >
> > 关键是这个项目确实需要强占式的调度,
> > 不过stackless也可以限制tasklet运行的指令数,运行了N个指令后就挂起该tasklet,不过好象没发现有分时的调度方法。
> >
> > 我想这东西还有个大问题就是需要限制用户编写的python程序的权限,不准写文件,有些module不能import,有些函数不准调用等等 ...
> >
> > 一个坦克一个线程的另一个问题是:如果要做成online,很多用户就不好办了,操作系统上能分配的线程数量貌似并不多。
> >
> >
> > On 5/23/06, Hou Ming Yuan < houmingyuan at gmail.com> wrote:
> > >
> > > 个人想法,使用多线程算是自讨苦吃,游戏里面需要同步的数据太多。
> > > 要想有多线程的优点,用stackless是一个很好的选择,它提供了一个相当于非抢占是的调度机制。
> > >
> > >
> > > 在06-5-21,吴俊玉 <wujunyu at gmail.com> 写道:
> > > >
> > > >  谢谢swordsp给我启发
> > >
> > >
> > > 我的线程是在python中创建的,所以我得使用python中的同步方式,相比windows提供的手段,python中线程同步于互斥的手段显得单薄了些,
> > > 今天我又认真考虑了下设计我的设计:
> > > 使用线程同步方式并没有什么优势。
> > > 我的每个坦克线程都得提供读锁和写锁来互斥量个线程的访问,相比使用一个memento模式保存坦克碰撞时的状态要复杂的多。
> > >
> > > 翻了一下,也许我该看看状态机的方式能不能够给我帮助!
> > > --
> > > 北京市海淀区中软国际
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
> > --
> > http://codeplayer.blogbus.com/
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to   python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
考研还是工作  哎... !
http://codeplayer.blogbus.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060524/d5f189bd/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月24日 星期三 13:31

He Jingtong hejingtong at gmail.com
Wed May 24 13:31:23 HKT 2006

我想提点意见,比较个人性的话题可否私下交流?
毕竟mailing list是讨论公共话题的地方,谢谢!

On 5/24/06, yi huang <yi.codeplayer at gmail.com> wrote:
> to swordsp:
>
> http://wiki.woodpecker.org.cn/moin/evolution
>
> 设计上基本和你说的差不多,比如 begin_move
> 其实是放一个action在一个队列,运行完所有动物的逻辑后统一处理这些action。现在还有控制用户脚本运行时间和限制用户脚本权限没做。
> 使用stackless的微线程,基本上是可以分配无限多个tasklet(只要内存够),调度的开销也可以不用太考虑,基本上比过程调用的开销差不多吧。
>
> 0.1版本,呵呵,其实顶多也就算得上是个小原型吧。本来机器上有了0.2,上次装ubuntu的时候太激动enter按快了,把硬盘清了。
> 现在复习考研也没心思搞了,老兄有兴趣的话不妨接下去?
> 这几天看了一些代码,对滚动地图的机制也有点明白了,不过实在没心思编码。
>
>
> On 5/24/06, swordsp <sparas2006 at gmail.com > wrote:
> >
> > 即使是魔兽世界,一个服务器最多都只有5000人在线呢。
> > 在线程数量限制达到前,我觉得程序肯定会因为其它的资源不够用(比如线程调度的开销)而爆掉的。
> >
> >
> >
> > On 5/23/06, yi huang <yi.codeplayer at gmail.com > wrote:
> > >
> > > 关键是这个项目确实需要强占式的调度,
> > >
> 不过stackless也可以限制tasklet运行的指令数,运行了N个指令后就挂起该tasklet,不过好象没发现有分时的调度方法。
> > >
> > >
> 我想这东西还有个大问题就是需要限制用户编写的python程序的权限,不准写文件,有些module不能import,有些函数不准调用等等
> ...
> > >
> > >
> 一个坦克一个线程的另一个问题是:如果要做成online,很多用户就不好办了,操作系统上能分配的线程数量貌似并不多。
> > >
> > >
> > >
> > > On 5/23/06, Hou Ming Yuan < houmingyuan at gmail.com> wrote:
> > > >
> > > >
> > > > 个人想法,使用多线程算是自讨苦吃,游戏里面需要同步的数据太多。
> > > > 要想有多线程的优点,用stackless是一个很好的选择,它提供了一个相当于非抢占是的调度机制。
> > > >
> > > >
> > > > 在06-5-21,吴俊玉 <wujunyu at gmail.com> 写道:
> > > > >
> > > >
> > > >
> > > >
> > > > 谢谢swordsp给我启发
> > > >
> > > >
> 我的线程是在python中创建的,所以我得使用python中的同步方式,相比windows提供的手段,python中线程同步于互斥的手段显得单薄了些,
> > > > 今天我又认真考虑了下设计我的设计:
> > > > 使用线程同步方式并没有什么优势。
> > > >
> 我的每个坦克线程都得提供读锁和写锁来互斥量个线程的访问,相比使用一个memento模式保存坦克碰撞时的状态要复杂的多。
> > > >
> > > > 翻了一下,也许我该看看状态机的方式能不能够给我帮助!
> > > > --
> > > > 北京市海淀区中软国际
> > > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > > > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > > > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > http://codeplayer.blogbus.com/
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
>
> --
> 考研还是工作  哎... !
>  http://codeplayer.blogbus.com/
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
Welcome to my site: www.wudalang.org
Contact me with Gtalk: talk.google.com

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月24日 星期三 14:06

吴俊玉 wujunyu at gmail.com
Wed May 24 14:06:49 HKT 2006

我不认为这是个人性的东西,设计这玩意任何语言都离不开的,显然并发程序设计的技巧也会越来越重要。不过既然mail list里的人有意见,那就此打住了。

我想我的设计也明朗了。
谢谢swordsp,――我完全可以使用command模式,然后通过主线程来管理坦克状态的改变。

明天要出去一趟,不能上网,正好找这个机会搞下设计。
以后有机会私下聊吧!

-- 
北京市海淀区中软国际
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060524/a075b3b3/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月24日 星期三 17:19

刘鑫 march.liu at gmail.com
Wed May 24 17:19:17 HKT 2006

唉,正读到过瘾,却停止了……有人不喜欢,有人正搔到痒处呢……公共技术社区,既然是技术话题,还是不要随便禁言的好

在06-5-24,吴俊玉 <wujunyu at gmail.com> 写道:
>
> 我不认为这是个人性的东西,设计这玩意任何语言都离不开的,显然并发程序设计的技巧也会越来越重要。不过既然mail list里的人有意见,那就此打住了。
>
> 我想我的设计也明朗了。
> 谢谢swordsp,――我完全可以使用command模式,然后通过主线程来管理坦克状态的改变。
>
> 明天要出去一趟,不能上网,正好找这个机会搞下设计。
> 以后有机会私下聊吧!
>
> --
> 北京市海淀区中软国际
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
欢迎访问:
http://blog.csdn.net/ccat

刘鑫
March.Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060524/be897764/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月24日 星期三 17:25

Leo Jay python.leojay at gmail.com
Wed May 24 17:25:40 HKT 2006

On 5/24/06, 刘鑫 <march.liu at gmail.com> wrote:
>
> 唉,正读到过瘾,却停止了……有人不喜欢,有人正搔到痒处呢……公共技术社区,既然是技术话题,还是不要随便禁言的好
>

可是,这里是python技术社区啊。
技术的范围可大了,人工智能,图像处理,数据挖掘,通信等等。。。

反正你也有他们的email了,为什么不私下发信件呢?

-- 
Best Regards,
Leo Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060524/5052ea25/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月24日 星期三 18:00

吴俊玉 wujunyu at gmail.com
Wed May 24 18:00:10 HKT 2006

我看看能不能在这两天内把我的设计搞出来吧,
到时把设计放到开源区去吧!
-- 
北京市海淀区中软国际
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060524/9901d216/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月24日 星期三 18:09

刘鑫 march.liu at gmail.com
Wed May 24 18:09:45 HKT 2006

因为,这个,是,用Python写的:)
写程序,不能只关心怎么写,还要关心写什么,写成什么。
讨论这个比那么多的OT要有价值的多。

在06-5-24,Leo Jay <python.leojay at gmail.com> 写道:
>
> On 5/24/06, 刘鑫 <march.liu at gmail.com> wrote:
> >
> > 唉,正读到过瘾,却停止了……有人不喜欢,有人正搔到痒处呢……公共技术社区,既然是技术话题,还是不要随便禁言的好
> >
>
> 可是,这里是python技术社区啊。
> 技术的范围可大了,人工智能,图像处理,数据挖掘,通信等等。。。
>
> 反正你也有他们的email了,为什么不私下发信件呢?
>
> --
> Best Regards,
> Leo Jay
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
欢迎访问:
http://blog.csdn.net/ccat

刘鑫
March.Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060524/ab2af06d/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月24日 星期三 20:24

swordsp sparas2006 at gmail.com
Wed May 24 20:24:19 HKT 2006

我也很认同不应该在邮件列表讨论无关话题,但这个主题无论如何不该算是"无关话题"。
啄木鸟的wiki上专门有设计模式和算法研讨两个分类呢,而且这里也是特别专注在基于python的实现。
否则的话,除了语法与类库,python技术社区不就没什么可讨论的了?

On 5/24/06, Leo Jay <python.leojay at gmail.com> wrote:
>
> On 5/24/06, 刘鑫 <march.liu at gmail.com> wrote:
> >
> > 唉,正读到过瘾,却停止了……有人不喜欢,有人正搔到痒处呢……公共技术社区,既然是技术话题,还是不要随便禁言的好
> >
>
> 可是,这里是python技术社区啊。
> 技术的范围可大了,人工智能,图像处理,数据挖掘,通信等等。。。
>
> 反正你也有他们的email了,为什么不私下发信件呢?
>
> --
> Best Regards,
> Leo Jay
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060524/f6dfdd50/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月25日 星期四 09:29

Robert Chen search.pythoner at gmail.com
Thu May 25 09:29:20 HKT 2006

是啊,窃以为,这个话题可比什么"哪里有***库"这样的问题有意义多了。如果细究起来,Python技术社区?什么才算得上是Python技术社区的话题呢?倘如我拿Python开发了中文分词模块,从Python方面讲,实在没什么可讲的,因为不用Python我照样可以用Ruby,Java来写这个算法,不过就是些流程控制,函数调用罢了,核心的算法才是关键呀。如果要禁的话,想来这算法是不能讨论了,因为与语言无关,这样咱们Python社区成天只讨论些皮毛的东西,于大家有什么好处呢?

用Python来实现算法,这个算法能不能拿来讨论?用Python设计架构,这个架构能不能拿来讨论?有机会来开阔自己的视野,何乐而不为呢......


On 5/24/06, swordsp <sparas2006 at gmail.com> wrote:
>
> 我也很认同不应该在邮件列表讨论无关话题,但这个主题无论如何不该算是"无关话题"。
> 啄木鸟的wiki上专门有设计模式和算法研讨两个分类呢,而且这里也是特别专注在基于python的实现。
> 否则的话,除了语法与类库,python技术社区不就没什么可讨论的了?
>
>  On 5/24/06, Leo Jay <python.leojay at gmail.com> wrote:
>
> >   On 5/24/06, 刘鑫 <march.liu at gmail.com > wrote:
> > >
> > > 唉,正读到过瘾,却停止了……有人不喜欢,有人正搔到痒处呢……公共技术社区,既然是技术话题,还是不要随便禁言的好
> > >
> >
> >  可是,这里是python技术社区啊。
> > 技术的范围可大了,人工智能,图像处理,数据挖掘,通信等等。。。
> >
> > 反正你也有他们的email了,为什么不私下发信件呢?
> >
> > --
> > Best Regards,
> > Leo Jay
> >
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to   python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
Robert
Python源码剖析――http://blog.donews.com/lemur/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060525/06efc41f/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月25日 星期四 10:15

sighofwraith sighofwraith at 163.com
Thu May 25 10:15:36 HKT 2006

对阿,一个问题如何用python实现,或者python应该如何解决一个问题,这难道不 
是应该允许的么
刘鑫 wrote:

> 因为,这个,是,用Python写的:)
> 写程序,不能只关心怎么写,还要关心写什么,写成什么。
> 讨论这个比那么多的OT要有价值的多。
>
> 在06-5-24,*Leo Jay* <python.leojay at gmail.com 
> python.leojay at gmail.com>> 写道:
>
>     On 5/24/06, *刘鑫* <march.liu at gmail.com
>     march.liu at gmail.com>> wrote:
>
>         唉,正读到过瘾,却停止了……有人不喜欢,有人正搔到痒处呢……公共技
>         术社区,既然是技术话题,还是不要随便禁言的好
>
>      
>     可是,这里是python技术社区啊。
>     技术的范围可大了,人工智能,图像处理,数据挖掘,通信等等。。。
>      
>     反正你也有他们的email了,为什么不私下发信件呢?
>
>     -- 
>     Best Regards,
>     Leo Jay
>
>     _______________________________________________
>     python-chinese
>     Post: send python-chinese at lists.python.cn
>     python-chinese at lists.python.cn>
>     Subscribe: send subscribe to
>     python-chinese-request at lists.python.cn
>     python-chinese-request at lists.python.cn>
>     Unsubscribe: send unsubscribe to  
>     python-chinese-request at lists.python.cn
>     python-chinese-request at lists.python.cn>
>     Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
> -- 
> 欢迎访问:
> http://blog.csdn.net/ccat
>
> 刘鑫
> March.Liu
>
>------------------------------------------------------------------------
>
>_______________________________________________
>python-chinese
>Post: send python-chinese at lists.python.cn
>Subscribe: send subscribe to python-chinese-request at lists.python.cn
>Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
>Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月25日 星期四 10:43

Cyril_Gmail terry6394 at gmail.com
Thu May 25 10:43:14 HKT 2006

这个话题很好阿,怎么要打住呢?!虽然我没有说话(或者说,我技术太差,插不上话。),但是我一直都在关注!从各位的讨论中也学到很多的东西。
我在看Robocode的源码,希望对它进行一些扩展。
On 5/24/06, swordsp <sparas2006 at gmail.com> wrote:
>
> 我也很认同不应该在邮件列表讨论无关话题,但这个主题无论如何不该算是"无关话题"。
> 啄木鸟的wiki上专门有设计模式和算法研讨两个分类呢,而且这里也是特别专注在基于python的实现。
> 否则的话,除了语法与类库,python技术社区不就没什么可讨论的了?
>
> On 5/24/06, Leo Jay <python.leojay at gmail.com> wrote:
>
> > On 5/24/06, 刘鑫 <march.liu at gmail.com > wrote:
> > >
> > > 唉,正读到过瘾,却停止了……有人不喜欢,有人正搔到痒处呢……公共技术社区,既然是技术话题,还是不要随便禁言的好
> > >
> >
> > 可是,这里是python技术社区啊。
> > 技术的范围可大了,人工智能,图像处理,数据挖掘,通信等等。。。
> >
> > 反正你也有他们的email了,为什么不私下发信件呢?
> >
> > --
> > Best Regards,
> > Leo Jay
> >
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to   python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
编译人生!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060525/47c1c479/attachment-0001.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月26日 星期五 15:49

吴俊玉 wujunyu at gmail.com
Fri May 26 15:49:50 HKT 2006

谢谢大家这么支持,
根据从大家那新学到的东西重新修改一下设计。
如SWORDSP所说的,仅通过MAIN线程修改数据。

这样感觉好一点了,还是希望能够看看ROBOCODE的实现,不知道Cyril_Gmail能否指点一二。


-- 
北京市海淀区中软国际
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060526/f02f03fb/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月26日 星期五 23:27

Spark Song sparksong.cn at gmail.com
Fri May 26 23:27:04 HKT 2006

顶!

在 06-5-26,吴俊玉<wujunyu at gmail.com> 写道:
>
> 谢谢大家这么支持,
> 根据从大家那新学到的东西重新修改一下设计。
> 如SWORDSP所说的,仅通过MAIN线程修改数据。
>
> 这样感觉好一点了,还是希望能够看看ROBOCODE的实现,不知道Cyril_Gmail能否指点一二。
>
>
> --
> 北京市海淀区中软国际
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
Best Regards,

      Spark

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年05月28日 星期日 13:59

Cyril_Gmail terry6394 at gmail.com
Sun May 28 13:59:52 HKT 2006

很惭愧,我扩展Robocode的计划刚起步。其中的代码并不是想象中的那么简单。涉及到了很多问题,比如说类加载,安全等问题。。。很多我都没有真正接触过。目前还给不了你帮助。很抱歉!
关注你的进度! :)
On 5/26/06, 吴俊玉 <wujunyu at gmail.com> wrote:
>
> 谢谢大家这么支持,
> 根据从大家那新学到的东西重新修改一下设计。
> 如SWORDSP所说的,仅通过MAIN线程修改数据。
>
> 这样感觉好一点了,还是希望能够看看ROBOCODE的实现,不知道Cyril_Gmail能否指点一二。
>
>
> --
> 北京市海淀区中软国际
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060528/066c4aa0/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号