豆瓣正式推出阅读器:支持Web和iPad

新浪科技讯 1月19日晚间消息,豆瓣(微博)今日正式推出数字阅读产品“豆瓣阅读器”(read.douban.com/store)。豆瓣阅读器根据不同阅读设备特性,做了有针对性的优化处理,目前支持的设备包括Web、iPad和Kindle。

随同豆瓣阅读器一同上线的还有6部免费阅读作品。豆瓣称,免费作品均已获得作者授权,除了现有篇目外,每周一还会继续发布新的作品。

据介绍,豆瓣阅读器将数字内容版式重新设计,支持图文混排和注释、引用、注重等样式。除了阅读之外,用户还可以给作品评星和写评论。

豆瓣阅读器目前支持Web、iPad和Kindle使用,Web版改变了网络长文传统的滚动条,采用分页、翻页完成阅读,iPad版支持离线阅读,并可以同步阅读列表,更新作品推荐。此外,豆瓣阅读器还为不同尺寸的Kindle推出定制版式以方便阅读。

豆瓣官方博客表示,将在今年3月份发布作品商店,内容跨越小说、诗歌、科幻、推理、哲学、科技等多种类型,读者可以付费购买。此前豆瓣已经面向作者和译者推出了自出版平台,可以快捷地发布作品,并直接获得读者购买的收益。(均为)

via: http://tech.sina.com.cn/i/2012-01-19/21016655034.shtml

饭否可以访问了,可是只能看到一张头像拼图。

  1. 饭否可以访问了,可能你需要修改host文件才能打开。(58.83.134.230 fanfou.com
  2. 网站打开以后,只显示一张用户头像拼接的图片,点击图片,会出现2010.11的字样。也许是在暗示,饭否在2010年11月回归吧。其他的功能暂时还不能使用。
  3. 一旦功能恢复,我会继续使用饭否,同时也不会放弃新浪微博。
  4. 微博很浪费时间,我更喜欢微博的浏览器书签,看到有价值的文章,就分享到微博。
  5. 问题是饭否恢复以后,到底还能吸引多少新老用户呢。

饭否首页显示的用户头像拼图:

饭否是不是快回来了?PS:回来了还能饭否?

之前关闭的微博网站饭否,很可能会重新开业,并且由中国经济网参与重建。消息来自崔军的新浪微博

好吧,我喜欢专心致志挖掘一个主题的网站,比如饭否和豆瓣。我热烈盼望饭否的回归,据说服务器数据都还在。

来看百度百科关于饭否的介绍:http://baike.baidu.com/view/952977.htm

另外,开心网的微博在内测中,百度说吧也在内测中。中国的网民需要这么多说话的地方吗?

新闻来源:http://tech.sina.com.cn/i/2010-11-09/19374846608.shtml

11个开源微博平台

目前提供微博服务的网站很多,你只要花几分钟注册一个用户,就可以快速的开始微博生活。但也许你会想动手搭建自己的微博平台,用自己的域名,随意修改源代码,保障数据的安全(想想饭否,以及msn spaces),下面是网上看到的一些开源微博程序,如果你自己搭建过博客,那搭建微博也不是什么难事。

PHP 类:

Python 类:

Ruby on Rails:

ASP 类:

其中,P2是非常有名的WordPress主题, PageCookey 和 EasyTalk 是国产的,前者的主页上有一些用户展示。就不用一一介绍了,打开链接,下载源代码,按照说明安装体验吧!

前端开发及相关设计制作人员要看的网站

先来一本厚厚的手册——Web Developer’s Handbook
网址: www.alvit.de/handbook/
这是一本惊天地,集大成的在线参考手册,收录了HTML、CSS、JavaScript、设计、理论等大量丰富内容。

作为一个专业老道的页面制作人员,你不得不看的站点—— /* Position Is Everything */
网址:positioniseverything.net
/* Position Is Everything */ 是一个从IE浏览器bug讨论与研究并解决建立起的一个专业资深网站,目前讨论话题涵盖全线浏览器bug。

在线期刊——A List Apart
网址:www.alistapart.com
引用他们自己的话说:“For People Who Make Websites”。从最初探讨CSS技术,到现在涵盖文化、设计、流程、用户体验等热门领域,A List Apart一直秉承专业内容并且包装专业,期刊内容严谨,形成了线上优质学术氛围并拓展了线下活动。

大名鼎鼎的Stop Design
网址:stopdesign.com
内容以设计方向为主体,Douglas Bowman 是站点掌门人,同时由他组件团队创造了adaptive path[网址:www.adaptivepath.com]。

来自澳大利亚的力量—— max design
网址:www.maxdesign.com.au
他们专注于Web设计制作领域的技术传授与技术挖掘,在线有若干详实精美的教学内容。

另一本在线优秀刊物——Smashing Magazine
网址:www.smashingmagazine.com
内容以设计方向为主,时效性强,更新速度较快。站点经过不断努力,现在已经延伸到线下纸质图书,同时发行了若干电子版图书。

更多相关网站
【Web标准化组织】
W3C,全称“World Wide Web Consortium(W3C)”。W3C由会员制组建而成,全职进行互联网网页标准的研究与制订。由Web的发明者Tim Berners-Lee 和 CEO Jeffrey Jaffe领导。致力于全面挖掘Web潜能。
W3C网址:w3.org

Web Standards Project,“网页标准化项目”是一个由民间草根集合而成,为了将Web变得对于所有人都简洁易用无障碍而努力。
网址:webstandards.org

【Web制作开发】
初学者乐园——W3schools,网址:www.w3schools.com
Web Devout,网址:www.webdevout.net
牛人代号PPK的强大网站,网址:www.quirksmode.org
456 BEREA ST,网址:www.456bereastreet.com
HTML Dog,网址:www.htmldog.com

【基于CSS的网页设计展示】
CSS Zen Garden,网址:www.csszengarden.com
CSS Beauty,网址:www.cssbeauty.com
这种类型的站点有很多,不进行更多展示。另外,随着Web前端技术的不断进步发展,早前的浏览器可能无法胜任或渲染的设计效果,如今诸多都已解决。基于CSS的设计展示,慢慢也将转变为对于设计的欣赏。
在这里再多罗列出一个专门专业展示Flash优秀概念或站点的网站——FWA。
FWA,全称“Favourite Website Awards”,网址:thefwa.com

【ECMAScript(JavaScript)框架】
Prototype,网址:www.prototypejs.org
jQuery,网址:jquery.com
Yahoo的YUI,网址:developer.yahoo.com/yui/
MooTools,网址:mootools.net
Dojo,网址:www.dojotoolkit.org

【相关Blog】
CSS Zen Garden 创建者——Dave Shea的站点:www.mezzoblue.com
CSS资深开发者,Eric Meyer 的站点:meyerweb.com
Jeffrey Zeldman的站点:www.zeldman.com

来源:http://119.88.56.78/qeeblog/?p=95

Variable and Function Naming Convention

source: http://faculty.ed.umuc.edu/~jrugg/policy/vrbl_naming_convention.htm

  1. Fundamental naming convention rules:
  • First and foremost, be consistent.
  • Always use self-describing names., i.e., slashIndex instead of j or nodeCount instead of cnt.
  • If you are going to use non-standard abbreviations in the your naming conventions, explain your abbreviations in the main program comment block.
  • Class names should be nouns unless you have a good reason for it not to be a noun.
  • Method or function names should be verbs or verb phrases to show the action the method / function is providing or performing.
    • Function convertMilesToKilometers(ByVal dMiles as Double) as Double
    • double convertToKilometers(double dMiles);
    • Function convertMilesToKilometers(ByVal dMiles as Double) as Double
    • double convertMlesToKilometers(double dMiles);
  • For example:

  • Methods or functions returning a boolean type should generally start with verbs like, is, has, can or have, etc.
    • bool isValidString(string strInput);
    • boolean hasAllAttributes();
    • bool canUpdate();
    • boolean haveAllDate();
  • For example:

  • Distinguish multiple words in a name either by separating the words with an underscore, i.e., number_of_words, or using Camel Case notation, i.e., numberOfWords. This applies to class as well as method, function and variable names.
  • Constant variable names should me in all capital letters and separate words in the name with the underscore, i.e., DEFAULT_PRICE_PER_POUND.
  • In the Java Naming Convention, class names always start with a capital letter and method names always start with a lower case letter. Again, I see nothing wrong with applying this to other languages as long as you are consistent.
  1. Hungarian Naming Convention
  • Over the years I have become a fan of the Hungarian Naming Convention. The combination of this convention, explained shortly plus self-describing variable names conveys more than just intended use for any variable, but also includes type and scope. This naming convention is independent of programming language. If used consistently throughout the program it will add tremendously to the readability and understandability of the code and even reduce the amount of commenting required because the names read as comments.  NOTE: just because I am explaining the Hungarian Naming Convention does not mean I am insisting on you using this naming convention. I will accept any naming convention as long as it following the fundamental rules listed above.
  • The implementation of the Hungarian Naming Convention I have settled into has three parts to a variable name: scope, type and usage. I use the format: scope_typeUsage. Where:
  • scope – scope of declaration of this variable
    • global – g
    • class – m
    • local – no prefix
  • type – abbreviation of the type. Some common abbreviations are:
    • bool or boolean – b
    • integer – n or i
    • unsigned integer – u
    • long – l
    • unsigned long – ul
    • float – f
    • double – d
    • string or String – str
    • char* – lpsz or lp
    • char[] – sz
    • DWORD – dw (DWORD is a typedef for an unsigned long)
    • any pointer – p
  • usage – a self-describing name using lower / upper case letters to combine words or even underscores (_) to combine words. For example, nTotalCount or nTotal_Count
  • For GUI components this can extended. Some common ones I use are:
  • Label – lbl
  • Checkbox – cb or chk
  • Editbox – ed
  • JTextBox or JTextArea- txt
  • RichTextEdit – rtf
  • Image – img
  • Listbox – lb
  • CAnyString – as or any (This is a home grown class of mine)
  • Name all controls and variables that have a natural association in a consistent manner. For example, if a Label, Checkbox, Image and an integer place holder are suppose work together at local scope than I would name them as follows to show the association and make your code easier to follow for both you and me.
    • JLable for user input: lblUserInput
    • JComboBox listing possible input options: cbUserInput
    • JImage associated with the input dialog: imgUserInput
    • int for the actual converted input: nUserInput

jEdit 给我的第一感觉不错

当然现在的免费文本编辑器一抓一把,每人的使用习惯也不尽相同,喜好自然也千差万别。

最近需要处理的脚本中,包含一些特殊字符,在纯英文环境下,用任何的文本编辑器都可以正常处理。但是当我把区域设置中 Language for non-Unicode programs 选为 Chinese(PRC)时,脚本中的特殊字符就会开始捣乱。

我之前都在使用 Notepad++,它的功能已经可以满足我的要求,稳定性也比初期的版本有很大提高。不过这一次,它的表现并不如人意,也就是说,那些捣乱的特殊字符,Notepad++ 也处理不了。我试着在 Notepad++ 中做了些调整,但依然无效。

jEdit 中没有这个问题,这些特殊字符在 jEdit 编辑器中显示完全正常,而且也没有要我做任何的配置或者调整。我大致看了一下,我所需要的常用功能 jEdit 也都提供,界面也清爽,给我的第一感觉不错。

如果你在寻找一个免费的文本编辑器,或是源代码编辑器,不妨试试 jEdit。他支持多平台,支持多种编程语言的语法高亮,支持插件扩展,还有很多特性和功能,请到主页去看吧。下面是一张截图,版本 4.3.x:

Google 多用户同时登陆,你用了吗?

有多个 Google 账户的朋友,现在可以在一个浏览器里同时登陆这些账户了。

没有这个功能前,我得开3个不同牌子的浏览器,IE,Firefox 和 Chrome。用每个浏览器登陆不同的账户,处理不同的事情。但是,你有更多的 Google 账户,这招就不好使了。开启了多用户登录功能,就算是十个八个账户,也没问题,你可以在同一个浏览器里,同时登陆。(话说回来,什么人会申请这么多账户?)

Google Multi Sign-in

【如何开启】

1. https://www.google.com/accounts/b/0/ManageAccount

2. 在 Personal Settings 里,看到 Multiple sign-in,如果显示 Off,点击后面的 Edit,进入多用户登录设置页面。

3. 在这个页面中,选 On,然后把下面四个选项都勾上,在点 Save 按钮。

4. 注意,这时,右上角显示邮件地址的地方,会出现一个小倒三角。点击这个小三角,就可以登陆不同的账户了。

行了, Google 账户控们,开始自由穿梭吧。(话说,穿来梭去也很麻烦,还不如开三个浏览器来的简单)