V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  yingluck  ›  全部回复第 7 页 / 共 21 页
回复总数  418
1 ... 3  4  5  6  7  8  9  10  11  12 ... 21  
2015-05-06 20:19:00 +08:00
回复了 cangshu 创建的主题 Linux 开放一个主机给大家玩, Debian8,看看一天以后是什么样子。
@cangshu 再开!
2015-04-28 17:37:55 +08:00
回复了 doublleft 创建的主题 问与答 想去种田应该如何起步?
《母猪产后护理技术》
2015-04-26 21:19:12 +08:00
回复了 KexyBiscuit 创建的主题 问与答 有没有人被自动跳转到 wpkg.org?
遇到了 还没搞清楚是怎么回事 原来以为时运营商打广告
系主任教了一个学期
2015-04-11 21:47:01 +08:00
回复了 huacnlee 创建的主题 Project Babel Github gist 代码插入支持
2015-04-10 23:11:37 +08:00
回复了 Livid 创建的主题 Python Nameko
@mulog 原来是这样 明白了
2015-04-10 13:21:42 +08:00
回复了 Livid 创建的主题 Python Nameko
这是个新的任务队列模块吧 为什么楼上在说Flask?
2015-04-04 20:49:23 +08:00
回复了 monnand 创建的主题 分享发现 自由软件之父 RMS 传记, Free as in Freedom 中文版即将出版
保持关注 期待北京签售
希望能出kindle版的
2015-03-28 10:08:46 +08:00
回复了 iloveyou 创建的主题 职场话题 互联网公司晚上加班变成了标配?
用马甲爆一下公司名字
现在公司里的python开发人员数量有多少呢?
奶罩哥现在还写代码吗?
@luxiaoyu
http://7u2fkh.com2.z0.glb.qiniucdn.com/HRSnip20150307_25.png
这张图片里的哥们是外斜视 帮忙告诉他赶紧去看看医生 拖久了就不好了
为什么标题里是两年以上工作经验,帖子里说3年以上python经验?
2015-03-23 18:48:51 +08:00
回复了 blueionic 创建的主题 DNS Google Cloud DNS 被封,快换 DNS
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=34 time=458 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=34 time=478 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=34 time=450 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=34 time=456 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=34 time=467 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=34 time=474 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=34 time=483 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=34 time=473 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=34 time=480 ms
64 bytes from 8.8.8.8: icmp_seq=18 ttl=34 time=479 ms
64 bytes from 8.8.8.8: icmp_seq=19 ttl=34 time=475 ms
64 bytes from 8.8.8.8: icmp_seq=22 ttl=34 time=478 ms
64 bytes from 8.8.8.8: icmp_seq=23 ttl=34 time=437 ms
64 bytes from 8.8.8.8: icmp_seq=24 ttl=34 time=421 ms
64 bytes from 8.8.8.8: icmp_seq=25 ttl=34 time=438 ms
64 bytes from 8.8.8.8: icmp_seq=26 ttl=34 time=466 ms
64 bytes from 8.8.8.8: icmp_seq=27 ttl=34 time=470 ms

--- 8.8.8.8 ping statistics ---
30 packets transmitted, 17 received, 43% packet loss, time 29044ms
rtt min/avg/max/mdev = 421.401/464.316/483.787/17.533 ms
2015-03-23 17:14:52 +08:00
回复了 hjc4869 创建的主题 路由器 求宿舍断电后的路由器供电方案
水星 M301
2015-03-23 15:54:00 +08:00
回复了 babyname 创建的主题 程序员 请教个数学问题,编程相关。
2015-03-23 15:09:39 +08:00
回复了 babyname 创建的主题 程序员 请教个数学问题,编程相关。
@lololol233 看上面
2015-03-23 15:09:12 +08:00
回复了 babyname 创建的主题 程序员 请教个数学问题,编程相关。
the X is 50, the Y is 0.0
cross (50, 0.0), (49, 0.0)
the X is 49, the Y is 9.94987437107
cross (49, 9), (48, 9)
the X is 48, the Y is 14.0
cross (48, 14.0), (47, 14.0), (48, 13.0), (47, 13.0)
the X is 47, the Y is 17.0587221092
cross (47, 17), (46, 17)
the X is 46, the Y is 19.5959179423
cross (46, 19), (45, 19)
the X is 45, the Y is 21.7944947177
cross (45, 21), (44, 21)
the X is 44, the Y is 23.7486841741
cross (44, 23), (43, 23)
the X is 43, the Y is 25.5147016443
cross (43, 25), (42, 25)
the X is 42, the Y is 27.1293199325
cross (42, 27), (41, 27)
the X is 41, the Y is 28.6181760425
cross (41, 28), (40, 28)
the X is 40, the Y is 30.0
cross (40, 30.0), (39, 30.0), (40, 29.0), (39, 29.0)
the X is 39, the Y is 31.2889756943
cross (39, 31), (38, 31)
the X is 38, the Y is 32.4961536185
cross (38, 32), (37, 32)
the X is 37, the Y is 33.6303434416
cross (37, 33), (36, 33)
the X is 36, the Y is 34.6987031458
cross (36, 34), (35, 34)
the X is 35, the Y is 35.7071421427
cross (35, 35), (34, 35)
the X is 34, the Y is 36.6606055596
cross (34, 36), (33, 36)
the X is 33, the Y is 37.563279942
cross (33, 37), (32, 37)
the X is 32, the Y is 38.4187454246
cross (32, 38), (31, 38)
the X is 31, the Y is 39.2300904919
cross (31, 39), (30, 39)
the X is 30, the Y is 40.0
cross (30, 40.0), (29, 40.0), (30, 39.0), (29, 39.0)
the X is 29, the Y is 40.7308237088
cross (29, 40), (28, 40)
the X is 28, the Y is 41.4246303544
cross (28, 41), (27, 41)
the X is 27, the Y is 42.083250825
cross (27, 42), (26, 42)
the X is 26, the Y is 42.7083130081
cross (26, 42), (25, 42)
the X is 25, the Y is 43.3012701892
cross (25, 43), (24, 43)
the X is 24, the Y is 43.8634243989
cross (24, 43), (23, 43)
the X is 23, the Y is 44.3959457608
cross (23, 44), (22, 44)
the X is 22, the Y is 44.8998886413
cross (22, 44), (21, 44)
the X is 21, the Y is 45.3762052182
cross (21, 45), (20, 45)
the X is 20, the Y is 45.8257569496
cross (20, 45), (19, 45)
the X is 19, the Y is 46.2493243194
cross (19, 46), (18, 46)
the X is 18, the Y is 46.6476151588
cross (18, 46), (17, 46)
the X is 17, the Y is 47.021271782
cross (17, 47), (16, 47)
the X is 16, the Y is 47.3708771293
cross (16, 47), (15, 47)
the X is 15, the Y is 47.6969600708
cross (15, 47), (14, 47)
the X is 14, the Y is 48.0
cross (14, 48.0), (13, 48.0), (14, 47.0), (13, 47.0)
the X is 13, the Y is 48.2804308183
cross (13, 48), (12, 48)
the X is 12, the Y is 48.538644398
cross (12, 48), (11, 48)
the X is 11, the Y is 48.774993593
cross (11, 48), (10, 48)
the X is 10, the Y is 48.9897948557
cross (10, 48), (9, 48)
the X is 9, the Y is 49.1833305094
cross (9, 49), (8, 49)
the X is 8, the Y is 49.355850717
cross (8, 49), (7, 49)
the X is 7, the Y is 49.5075751779
cross (7, 49), (6, 49)
the X is 6, the Y is 49.638694584
cross (6, 49), (5, 49)
the X is 5, the Y is 49.7493718553
cross (5, 49), (4, 49)
the X is 4, the Y is 49.8397431775
cross (4, 49), (3, 49)
the X is 3, the Y is 49.9099188539
cross (3, 49), (2, 49)
the X is 2, the Y is 49.9599839872
cross (2, 49), (1, 49)
the X is 1, the Y is 49.9899989998
cross (1, 49), (0, 49)
the X is 0, the Y is 50.0
cross (0, 50.0), (0, 49.0)

the length of PIXLE is 87
2015-03-23 15:08:07 +08:00
回复了 babyname 创建的主题 程序员 请教个数学问题,编程相关。
大概想了一下,可能还不全面,欢迎讨论

其实我觉得楼主说的每个点 10 像素是不太恰当的。
因为在画布上 9个像素 或者 16 个像素 能够拼成正方形。

围绕画布的中心,那我们假设画布的中心是笛卡尔坐标系的原点。那么六个点每个点到画布中心的距离都是50像素。

再假设每个像素宽高相同。六个点的每一个点都由 9 个像素组成。

那么,以原点为圆心,半径为 50 ,画出的圆经过的每一个像素点,都是六边形的六个端点可能的位置。

在第一象限,用脚本跑了一下,当横坐标是整数的时候,纵坐标的情况是这样的:

当纵坐标为整数时,可能的中心点有 4 个, 在第一象限有 6 个纵坐标为整数的点
当纵坐标为非整数时,可能的中心点有 2 个, 在第一象限有 45 个这样的点

所有不重复的结果有 87 个。

全部有 348 个可能的点。
1 ... 3  4  5  6  7  8  9  10  11  12 ... 21  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   929 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms · UTC 22:31 · PVG 06:31 · LAX 14:31 · JFK 17:31
Developed with CodeLauncher
♥ Do have faith in what you're doing.