I’m trying to extract the hashtags in tweets. So, what characters can a hashtags have?

Now, what I found is that, only English letters(lower case or upper case), numbers, underscore can be a part of the hashtag… So, no vowels, no CJK characters, no dash, no comma etc.

The regular expression to match a hashtag in tweet could be: #[\w]+

What’s your finding?

 

我住的房间里面提供了有线的网络接入方式,通过PPPoE连接到学校的网络,在房间里面也可以下论文,很方便。不过因为只有一个CABLE,所以我托同学从国内买了一个无线路由器(Buffalo WCR-G54)过来。元旦假期回来之后我就装上了这款路由器,配置耗时很长,而且自此麻烦不断。

首先,配置的时候,默认地址是192.168.11.1;一个小聪明的做法,没有采用普通的192.168.1.1;当然这不是大问题,看了说明书就能知道。

第二,每更改一项配置都要重启路由器;因此,设置PPPoE帐户要重启一次,设置无线网络的加密也要重启一次,还有关掉很多没用的、自动开启的功能也要不断的重启才可以保存配置。而且配置界面响应非常慢,载入需要很长时间。

第三,配置功能很少;对于端口映射之类的功能没有见到,只有一个DMZ设置;有一个什么AOSS功能,说是给PSP、NDSL等设备用的,不过我也不用PSP联网,对我也没用。而且有些配置,比如自定义DHCP里面的DNS地址时,客户端貌似收不到这则信息,ipv4设置里面的DNS照旧是192.168.11.1。

第四,最烦人的问题是经常会断线,造成这种情况的原因多种多样,有时候是因为开P2P,不是下载流量很大,而是一开就会出现这种情况,有时候看网络视频也会出现这种情况。前几天的表现是直接网卡显示断开连接;现在是直接断流,无Internet访问。解决方法只有重新启动路由器。

刚才在网上搜索了一下,果然有不少人都有这种问题;有一则来自台湾的测评说这款路由器的CPU可以承受的速度大概在20Mbps左右,所以标称的802.11g顶多可以算是802.11b+。而且就算是只看网页,聊天,也会出现断线的状况。

我的意见是,绝对不要购买这款产品。

The network access to TU Delft network is supplied via PPPoE. As a result, I can download the articles in the academic e-library in my room. It’s convenient. But as there is only one CABLE, I asked my friend to bring a wireless router(Buffalo WCR-54) from China. I installed it after my new year vocation. It took me a long time to configure it, and the trouble has been come again and again.

1. The default address of web portal for configuration is 192.168.11.1. It’s a petty trick, but not a problem. You can always turn to the manual.

2. The router will restart once you try to save/apply every configuration. That is to say, one restart for setting up PPPoE account, one restart for wireless security, several restart to disable the useless functions. It took a long time to load the configuration interfaces, approximately 30 seconds!

3. Very few configurations can be done on this small gadget: DMZ, AOSS for wireless connection of PSP, NDS etc. It is useless for me, because I don’t use my PSP online. What’s more, some configuration doesn’t make a effect, e.g. the DNS for DHCP.

4. The worst problem is disconnection. It can happen at any time while you are using it. The causes could be various, sometimes for P2P software(once you start it, the router won’t work), sometimes for visiting video sharing sites. At the beginning, my laptop will explicitly disconnect from the router, and cannot reconnect to the wireless network unless you restart it manually by switching off/on it. Now, the connection may remains, but nothing will come out of this magic box. The only solution is to restart it.

I just had a search for this router on Google, a lot of people met the same problem. One post authored by a
person from Taiwan told us that, the maximum processing ability of this wireless router is 20Mbps. The 802.11g is not available at all. And it could make you disconnected from Internet even you only use it for surfing web or instant messaging.

In my opinion, this router should be the last choice for consumers.

© 2012 TAO Ke's Blog Suffusion theme by Sayontan Sinha
Sitemap