发信人: soulfox (小o&灵狐~以华丽之名), 信区: ANSI
标 题: Re: [组六]第二章作业 by wxbioman
发信站: 日月光华 (2007年08月06日22:58:52 星期一), 站内信件
透明色效果正确,做得也不错,用一个logo来表示,也比较有个人特点
不过像你说的ugly,应该说是你用term直接编辑的结果能达到这样也想到不错了。
简化代码题的话,你的作业是 *[1;4;5;45;31mA*[m*[45;32mB*[m*[42m *[m
实际上不用在每个字符后面加*[m,可以这样嘛
*[1;4;5;45;31mA*[0;45;32mB*[42m *[m
另外,确实像你说的,C没有显示出来,是因为它的前景色和背景色相同了
你用了把C用空格代替的办法,确实更好的达到了精简代码的目的,通常是也是可行的
这是修改原图字符的方法。
但是由于修改了原图字符,比如有的时候这种“隐藏”在背景中的字符也会起到
一些作用的时候(如暗记),这样做就不太好了。
规范化代码的意义说的不错啊
【 在 soulfox (小o&灵狐~以华丽之名) 的大作中提到: 】
: 标 题: [组六]第二章作业 by wxbioman
: 发信站: 日月光华 (2007年08月06日22:49:17 星期一), 站内信件
:
: 2. 使用透明色效果制作一个ANSI。(书面提交,形式不限)
: 俺心目中 生物三大灌水杂志Cell Nature Science的排名.....
: 寒 实在水平有限 搞得有点ugly....
:
: ===========================space======================================
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
: \
: █ \
: \
: ▂
: ▂
: ▂
:
:
:
: 3. 简化以下代码。(书面提交,提交简化后代码及显示效果)
: *[1m*[4m*[5m*[33;45;31mA*[0m*[44;45;32mB*[0m*[42;32mC*[0m
: 简化后的结果 C其实不显示 就是个色块.....我能用空格代替么?
: *[1;4;5;45;31mA*[m*[45;32mB*[m*[42m *[m
: AB
:
:
: 4. 规范代码的意义。(书面提交,字数不限)
: 这个代码的规范性好像只要是有代码的东东都会提
: 从linux到perl到python 都在提怎样的代码规范化
: 个人觉得很难 如果像发表paper这样的东东,用规范化的话 有个强制认证的机构
: 这样也有动力
: 但是像ansi这样的基于灵感和创造性的东东,如果有个条条框框 或许会扼杀灵感?
: 我的看法
: 但是反过来看 规范化和标准化对于持续发展是绝对有利的
: 现在在光华还碰到一些id使用了非标准字符,搞得看个正常的帖子都很烦
: 经常不同的term也不一样
: 而且不用特殊的特殊代码 同样的调料搞出不一样的大菜或许更有水平
: 并且就像读程序一样,规范化的代码对于我们这些新手也更省力一些
: 有点混乱罗嗦的看法哈:)
: 个人觉得关键是代码规范化可以带来的立即的现实的好处还不够明显
: 导致了现在的困难?
:
: --
: 文献要读细
: 实验要做细
: 思考要严密
: 莫要唉声叹气
: ※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 202.127.20.31]
: --
: ※ 转寄:·日月光华 bbs.fudan.edu.cn·[FROM: 218.78.237.54]
: --
: ※ 转寄:·日月光华 bbs.fudan.edu.cn·[FROM: 10.8.225.9]
:
: --
: ※ 修改:·wxbioman 於 08月06日00:48:19 修改本文·[FROM: 218.78.237.54]
: --
: ※ 转寄:·日月光华 bbs.fudan.edu.cn·[FROM: 218.78.237.54]
: --
: ※ 转寄:·日月光华 bbs.fudan.edu.cn·[FROM: 10.100.108.77]
: --
: ※ 转载:·日月光华 bbs.fudan.edu.cn·[FROM: 10.85.48.11]
: ※ 修改:·soulfox 於 08月06日22:50:05 修改本文·[FROM: 10.85.48.11]
--
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ANSI 2007 暑期短期培训班
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
如有任何疑问,请到4区ANSI版咨询。报名事宜请参考ANSI版置底
※ 来源:·日月光华 bbs.fudan.edu.cn·[FROM: 10.85.48.11]
Sender: Soulfox Xiaoo&Linghu In the name of gorgeousness, message area: ANSI
Title: Re: [Group 6] Chapter 2 Homework by wxbioman
Sending site: Sun and Moon Guanghua Monday, August 06, 2007 22:58:52, site mail
The transparent color effect is correct and the work is well done. It is represented by a logo and has more personal characteristics.
But as you said ugly, it should be said that you use term to directly edit the results to achieve this. I think it is good.
If you simplify the code question, your homework is *[1;4;5;45;31mA*[m*[45;32mB*[m*[42m *[m
In fact, you don’t need to add *[m after each character. Can you do this?
*[1;4;5;45;31mA*[0;45;32mB*[42m *[m
In addition, as you said, C is not displayed because its foreground color and background color are the same.
You used the method of replacing C with spaces, which indeed better achieves the purpose of streamlining the code and is usually feasible.
This is how to modify the characters in the original image
However, due to the modification of the characters in the original image, for example, sometimes characters hidden in the background will also play a role.
In some cases, such as secret memory, this is not very good.
The meaning of standardized code is well said.
Mentioned in Soulfox Xiaoo&Linghu’s masterpiece in the name of gorgeousness:
: Title: [Group 6] Chapter 2 Assignment by wxbioman
: Sending site: Sun and Moon Guanghua Monday, August 06, 2007 22:49:17, site mail
:
: 2. Use transparent color effects to create an ANSI written submission in any form
: In my mind, the ranking of Cell Nature Science, the three major biology magazines...
: Han’s level is really limited, so it’s a bit ugly....
:
: space
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
: 3. Simplify the following code and submit it in writing. Submit the simplified code and display effect.
: *[1m*[4m*[5m*[33;45;31mA*[0m*[44;45;32mB*[0m*[42;32mC*[0m
: The simplified result is that C is not displayed, it is just a color block... Can I replace it with a space?
: *[1;4;5;45;31mA*[m*[45;32mB*[m*[42m *[m
:AB
:
:
: 4. The meaning of standard code. Written submission. No limit on the number of words.
: The standardization of this code seems to be mentioned as long as there is a code.
: From linux to perl to python, what kind of code standardization are being mentioned?
: Personally, I think it’s very difficult. If something like publishing a paper is standardized, there will be a compulsory certification agency.
: This also gives motivation
: But if something like ANSI is based on inspiration and creativity, if there are rules and regulations, it may stifle inspiration.
: My point of view
: But looking at it from the other side, normalization and standardization are absolutely beneficial to sustainable development.
: Now in Guanghua, I have encountered some IDs that use non-standard characters, which makes it very annoying to read normal posts.
: Often different terms are different.
: And it may be better to use the same seasonings to make different dishes without using special codes.
: And just like reading a program, standardized code is less labor-intensive for us novices.
: A bit confusing and wordy view:
: Personally, I think the key is that the immediate practical benefits that code standardization can bring are not obvious enough.
: has led to the current difficulties
:
:
: Read the literature carefully
: The experiment should be done carefully
: Think carefully
: Don’t sigh
: Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 202.127.20.31]
:
: Forward: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 218.78.237.54]
:
: Forward: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 10.8.225.9]
:
:
: Modification: wxbioman modified this article at 00:48:19 on August 06 [FROM: 218.78.237.54]
:
: Forward: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 218.78.237.54]
:
: Forward: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 10.100.108.77]
:
: Reprint: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 10.85.48.11]
: Modification: soulfox modified this article at 22:50:05 on August 06 [FROM: 10.85.48.11]
ANSI 2007 Summer Short-term Training Course
If you have any questions, please consult the ANSI version of Zone 4. For registration information, please refer to the bottom of the ANSI version.
Source: Sun and Moon Guanghua bbs.fudan.edu.cn [FROM: 10.85.48.11]