04 09 2010
by 枯藤昏鸦 in 就是不分类 Tags: ACM , Online Judge
SOSO上的问答还是很专业滴~
Q:如何建立online judge系统
怎么建立一个像POJ之类的在线评测系统。我想自己建立一个。使用网上的免费空间建立。
A:虚拟主机功能有限,不可能运行online judge系统:
工作原理:
用户提交程序源码—>Web网站服务器—>转发给用于编译运行评测用户程序的服务器—>将结果返回Web网站服务器–>返回给用户
限制因素:
1、硬件:
(1)虚拟主机提供给用户(网站制作者)的权限极少!不能自主安装服务器端软件,无法构建评测平台。
(2)评测服务器需要有很强的性能,否则无法满足多用户同时编译运行评测(虚拟主机不可能达到)。购买(租用)服务器费用昂贵
2、软件:
和建立网站相比,需要自己额外编写服务器间协调软件和评测程序。其编程能力及经验要求很高。
via SOSO
-EOF-
04 09 2010
by 枯藤昏鸦 in 就是不分类 Tags: Alipay , App Engine , Python
在v2ex 看到有同学在要Python版的接口,正好我最近做的东东有在做这个,抽时间处理了一下弄了个即时到帐和担保交易的Python版接口的出来。
演示 http://alipay-api.appspot.com
源代码 https://bitbucket.org/tearnon/alipay-python/
欢迎通过演示接口付款请我喝咖啡,嘻嘻。
-EOF-
28 08 2010
by 枯藤昏鸦 in 就是不分类 Tags: Bluehost , Host
暑期快要结束了不只是Godaddy在忙着搞促销,Bluehost也按耐不住开始促销空间了。买了Godaddy域名的童鞋正好用得上了。现在购买Bluehost空间两年只需要每月 3.95 美元,购买一年每月 4.95 美元。相对于之前6.95美元的价格,优惠幅度达45%,这样得优惠是值得下手的。对于流量不大的Blog,Bluehost是不错的选择。
访问 Bluehost , 有需要的朋友抓住机会购买吧。
-EOF-
27 08 2010
by 枯藤昏鸦 in 就是不分类 Tags: Coupon Code , Domain , Godaddy
Godaddy在发布了上一个$0.99的.COM优惠码后又发布的一个.CA域名的$0.99优惠码:CADEAL
老规矩,只能信用卡。
有效期:前3000 名或者2010年9月8日前。
访问Godaddy
-EOF-
26 08 2010
by 枯藤昏鸦 in 就是不分类 Tags: CSS , HTML5 , JavaScript
参考资料
HTML5 Readiness : Visual timeline of HTML5 feature support.
When Can I Use… : Up to date HTML5 feature browser support reference.
HTML5 Test : Series of browser tests to evaluate feature support.
HTML5 Infographic : A quick overview of scope and support.
W3C HTML5 Web Author View : Lightweight version of the W3c spec, perfect for web developers.
Chrome Implementation Status : Follow the engineering effort for cutting edge support from the Chrome team.
Dive into HTML5 by Mark Pilgrim : Learn HTML5 and have a laugh at the same time.
HTML5: Comparison of Layout Engines : If the Wikipedia says it then it must be true.
Safari HTML5 Guides : Excellent WebKit-oriented development documentation.
Mozilla Development Center HTML5 Reference : Excellent documentation and guides.
WhatWG Web Apps Spec (HTML5 plus the kitchen sink) : Working draft spec of everything under the larger HTML5 umbrella.
ECMAScript 5 table : Detailed table of ES5 support across browsers.
Compatibility Tables : Results of DOM and CSS properties tests in major browsers.
相关工具
Modernizr : Javascript library for feature detection and control fallback cases of HTML5.
html5 shiv : Javascript patch to make IE support, and print, the new tag elements.
CSS Button Maker : Preview CSS buttons with a fancy interface to play with the parameters.
CSS3 Generator : Preview CSS buttons with a fancy interface to play with the parameters.
CSS3 Sandbox : Test and get the code of the fanciest CSS features.
CSS3 Gradient Generator : Generate CSS code for gradients on the fly.
CSS3 Please : Use CSS3 without having to worry about xbrowser differences.
Font Dragr : Test your fonts using drag and drop.
Font Squirrel Generator : Most complete tool to generate code for you font-face support.
Let’s make the web faster : Complete list of tools related to web performance.
社区
HTML5 Watch
CSS3 Watch
HTML5 Doctor
WhatWG Blog
HTML5 Demos
Ajaxian
Chromium HTML5 Discussion Group
Mozilla Hacks
Safari HTML5 Demos
Test Drive IE9 Demos
Open Web – Opera Developer Community
Chrome Experiments
-EOF-
24 08 2010
by 枯藤昏鸦 in 就是不分类 Tags: Coupon Code , Domain , Godaddy
今年Godaddy发布优惠码比去年频繁多了,大概5个小时前,Godaddy又发布的一个$0.99优惠码:SCHOOL99
仅对注册或转移.COM有效。
老规矩,只能信用卡。
有效期:前7500 名或者2010/08/31。
访问Godaddy
-EOF-
16 08 2010
by 枯藤昏鸦 in 就是不分类 Tags: wget
下载好wget
下载地址:ftp://ftp.cs.cuhk.edu.hk/pub/gnu/gnu/wget
解压下载的wget压缩包,并cd到解压目录,执行如下命令安装:
1
2
3
4
./configure
make
make install
make clean
-EOF-
16 08 2010
by 枯藤昏鸦 in 就是不分类 Tags: Mac OS X , TextMate
熟话说”工欲善其事必先利其器”,TextMate是使用Mac OS X的同学居家旅行的必备良药。
下载
VideoCast.TextMate.Tips.flv (23)
via
豆花@垃圾熊
-EOF-
10 08 2010
by 枯藤昏鸦 in 就是不分类 Tags: Mac OS X , V8
我在Mac OS X 上按照Google官方的教程(How to Download and Build V8 )编译V8但是结果有点出入,虽然能够正常完成V8的编译但是不会产生libv8.a文件。
经过查阅资料后才发现是我使用的64位系统(版本10.6.4)的缘故,在运行scons执行编译的时候,需要指定arch=x64 以得到正常的编译结果。
在准备好编译环境后,先从代码库总检索出最新的代码:
svn checkout http://v8.googlecode.com/svn/trunk/ v8
然后进入v8目录并运行下面的命令将v8编译成库文件(别忘记了arch=x64 参数):
编译完成后目录中会出现一个libv8.a ,它已经可以使用了,从samples 文件夹下的示例程序开始吧,编译它即可:
g++ -Iinclude samples/shell.cc -o v8 libv8.a -lpthread
然后运行它:
现在可以执行一些简单的命令(print, load, quit 和 version),好了,开始你的v8之旅吧~
-EOF-
Previous Older Entries