技术控

    今日:46| 主题:49507
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] RC week 0001

[复制链接]
愿离愿走不愿爱 发表于 2016-10-9 15:36:15
187 9

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
This week, I made considerable progress on the BitTorrent client which I started a week back. The client is in a usable state to download the data from the swarm. The source code is available on GitHub . The project uses Python 3.5 async/await and asyncio . I presented the torrent client in RC Thursday five minute presentation evening slot. Here is the link to the slides .
   
  Here is quick video demo recorded with asciinema.
   
RC week 0001-1 (available,presented,download,protocol,torrent)

   In the demo, the client downloads a file flag.jpg of 1.3MB. Thanks a lot for Thomas Ballinger for hosting the tracker and the seeder. The tracker and the seeder are boons for developers writing torrent clients.
  The downloader has two known major issue
  
       
  • The client has performance issue for a file of size greater than 50 MB.   
  • The client doesn’t support UDP tracker - Clients interact with piratebay tracker only on UDP protocol whereas the other trackers support HTTP endpoint.  
   The week had long hours of debugging blocking code in asyncio, tweaking the client to support receive data from the deluge client - as soon as the handshake is successful, the client starts sending bitfield, have messages before receiving the interested message.
  The next step is to integrate seeding functionality to the torrent client and enhance UDP tracker functionality.
  On one of the weekday, I witnessed the momentous incident. I decided to join other two other recursers for lunch at a nearby unvisited outlet to pick up the lunch. The shop was spacious with bar setup and we decided to eat in the building. We ordered three Panner Tika and were munching our meal. The manager/owner/bartender showed up to fill the water, said to another person, “Let me fill water for you.” She greeted him and asked, “How’s your day going? and …”. He enthusiastically replied; filled the glass; enquired about the food and moved on. After few moments, he returned with the exuberant joy; handed over her handful of candies and stated this is a gift for her good manners. Speechless moment! What a revelation and life lesson! The small act of courtesy made the person feel elated and must have made his day. All day and night, we spend time thinking of lighting smiles on family, friends, mates and others. Take a moment to spread joy among the strangers. Later, I recalled a quote,
  “How you treat totally irrelevant person defines who you are.”
友荐云推荐




上一篇:Python3 图片隐写术
下一篇:iOS图片加载新框架 - FlyImage
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

奋进的燕七 发表于 2016-10-13 03:32:23
围观了!
回复 支持 反对

使用道具 举报

任性的小情绪 发表于 2016-10-21 03:49:13
站位支持
回复 支持 反对

使用道具 举报

去温泉 发表于 2016-11-1 13:10:20
小时候缺钙,长大了缺爱。
回复 支持 反对

使用道具 举报

xdog2 发表于 2016-11-4 15:54:21
楼下有什么好吐槽的么?
回复 支持 反对

使用道具 举报

wjw_1979 发表于 2016-11-9 12:34:50
确实不错,顶先
回复 支持 反对

使用道具 举报

tk1y 发表于 2016-11-13 12:08:10
我只是路过,不发表意见
回复 支持 反对

使用道具 举报

电商小吕哥 发表于 2016-11-19 12:48:55
秀起来~
回复 支持 反对

使用道具 举报

何宇航 发表于 2016-11-19 13:28:19
路过!!!据说外面下人民币了!!!
回复 支持 反对

使用道具 举报

半梅 发表于 2016-11-21 02:21:35
占位编辑
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表