Homonym Number Detector 和 Gender Guesser 的演示页面
Homonym Number Detector

这个 PHP 类库是 06 年时写的,当时已经基本能工作了,但是实际上没应用起来。前几天把这个类库又整理了一下,现在输出的信息也比较完整了。

用于检测数字中不好的谐音。可以用在自动序号生成中,例如把最高分数大于 10 的数字给过滤掉,免得看着心烦。



演示地址: http://demo.wudilabs.org/lab/hn_detector/

Gender Guesser

2005 年发布于 PHP Classes,是一个可根据姓名猜测性别的程序。当时写完后用在了我自己的联系人管理程序中,在添加新联系人时,在输入姓名后自动猜测性别,大多数情况下可免去一次点击。在批量导入时更为有用。

现在这个演示所用的词典是由 20933 个姓名性别数据生成的,而 05 年首次发布时这个数字只有 5561。



演示地址: http://demo.wudilabs.org/lab/gender_guesser/
Current language: Chinese (Simplified)
解决 Rigol DS1052E 散热风扇噪音大的问题
去年年底时夜里用示波器,实在是忍受不了这个示波器的巨大噪音了,上网搜了一下就找到了这篇文章,文章的作者是看了一个老外在 EEVBlog 上的帖子后换的风扇。原厂的散热风扇据那个帖子说,是 6cm, 34.2m^3/h, 36.5dBA 噪音的。那个老外给换成了一个 8cm, 47m^3/h, 14dBA 的风扇,而百度空间那篇文章的作者换的是 9cm, 53m^3/h, 17.6dBA 的风扇,同时最后建议换 6cm 的静音风扇,9cm 的不好固定。

我在淘宝上搜了一下,比较容易买到的 6cm 的低噪音风扇好像就是这种“美蓓亚(NMB) 2406RL-04W-S39”的了,价格也不贵。号称风量 36cfm (61.2cm^3/h, 我觉得标得有点多,毕竟才 6cm 1500rpm),噪音 16dBA。应该怎么着都比原厂配的那个风扇好,于是决定就换这个了。



拆机

收到风扇后就开始拆机,把底部两个能直接看到的螺丝卸下后就开始撬上边,怎么撬也撬不开。在网上搜了半天才找到个帖子提到具体的拆机方法,就是这个帖子的 5 楼,引用了 armok 在另一很长的帖子中提到的拆机方法:

【562楼】 armok 阿莫
底部两螺丝,提手两螺丝,把电源哪两颗也松几圈,机器打竖放,先开另一边,最后电源哪头向上,
用两拇指把电源插座按下去,顺势推出后盖。
忘了还要把哪个电源开关帽拔出来才行的。

原来是我没发现提手处还有两个螺丝,就在这块:



最后就是这么拆开的机器,电源插座那块比较费劲。最后我确定降噪工作结束,最终装回机器时都没放那个用于填补电源接口处缝隙的塑料片。

更换风扇

下面这张照片是原厂风扇和要换上去的低噪声风扇:



直接换上去,用原来的螺丝固定,不加减速线,就是这个效果:



加减震和降速

光是替换风扇,噪音就已经降下来不少了,不再是原来多开一秒钟都忍受不了的噪音了,但还是比电脑中的 CPU 风扇和机箱风扇的噪音大得多。买来的低噪音风扇直接接 12V 电源的噪音不大,安装到示波器上之后,即使工作电压大约只有 11V,噪音也大了很多。猜测和用螺丝固定导致示波器的金属屏蔽外壳振动有关,就又买来了硅胶减震钉。同时还做了一条串接一个 1N5819 的降速线。最终内部是这样的:



来个风扇固定部分的特写:



噪音对比

下面这个视频是使用原厂风扇时、使用低噪声风扇时和增加减震和降速措施后噪音的对比:



在感觉风量时,发现如果用手把出风口完全堵住,噪音就基本消失了。用一块用纸板挡一下风,也能减少些噪音:

Current language: Chinese (Simplified)
音乐节拍识别器 Beat Detector 制作完成
PCB 项目文件和程序还需要修整一下,现在先放出原理图和 PCB 图的图片。等所有修整都结束后所有的源文件都会上传到 Google Code 上。

原理图 (共 3 张,点击查看大图)







PCB 图 (点击查看大图)



成品图





演示视频

Demo 1, 这组是节奏感很强的, 曲目: 《Let's Go》《No Limit》《Lambada》《Lift Me Up (Mylo Mix)》《Extreme Ways (DJ Tiestos Vocal Remix)》《漫步》, Keygen 音乐: 《untitled (tRUE)》《Complicaions》《Eliminator》《Meine auto》



Demo 2, 这组是节奏感稍弱些的, 曲目: 《失踪》《向太阳怒吼》《不想骗自己》《十二种颜色》《Sunshine Girl》《Starman》《Does Your Mother Know》《I'm Not Like Everybody Else》



Demo 3, 这组是漆黑环境中的效果, Keygen 音乐: 《untitled (tRUE)》《Eliminator》



PC 机程序

Beat Detector 是可以和电脑进行通讯的,报告当前音乐的节奏 (bpm),使用电池还是USB供电,使用麦克风信号还是线性输入信号。目前调试阶段直接看发送到电脑上的字符串,以后有时间会用 C# 写一个简单的界面。
Current language: Chinese (Simplified)
Book Recommendation: FPGA Prototyping By Verilog Examples by Pong P. Chu


Pong P. Chu - FPGA Prototyping By Verilog Examples
Current language: English · also available in: Chinese (Simplified)
AutoJewel 0.1.0 -- a program that plays Bejeweled 3 automatically
Today I spent all day modifying the program that can play Bejeweled 3 automatically, which is first mentioned in June. It was just a prototype written in one night at the beginning, but now it is not too bad to release. I have put the source code and binary files on Google Code.

Download source (AutoJewel-0.1.0-src.zip)
Download binaries (AutoJewel-0.1.0-bin.zip)



Instructions: Run Bejeweled and AutoJewel at the same time. After setting the parameters properly, enter the corresponding game mode in Bejeweled. And then press the default global hotkey Ctrl + F8 to make AutoJewel start running.

Something I want to say, is that currently this program does not have any intelligence. So do not compare it with the high-level players, and it cannot be normal any more that the scores it got are lower than many human players.

As I have said in the previous entry, this program is aimed at the visual effects of Bejeweled, rather than a high score. And it was coded to play mainly the Lightning mode. Other modes are just be supported passingly. For example it plays Ice Storm mode totally the same way as Lightning mode. As for the Classic mode, it only slows down the speed and gives the match on the top a higher priority.

Lightning mode (highest multiplier is 9, final score 4194k)



Ice Storm mode (highest multiplier is 8, final score 1517k)



Classic mode (achieved level 13, final score 743k)



Balance mode (purely for fun)

Current language: English · also available in: Chinese (Simplified)
More entries: [1] [2] [3] [4] [5] [6] ... [21]
« Previous page · Next page »