vincent's profilevincent的个人空间BlogLists Tools Help
     

    Blog


      3/11/2007

      Blog要搬家罗

          微软提供的这个space速度实在太慢,而且偶尔还出点小错误,终于有点想法想到blogger上去安家了,亲爱的朋友们,请多关照哦,
          新的blog地址: http://caojun-vincent.blogspot.com/

      Feels Good

      今天到http://groups.diigo.com 上看了最新的东东, 发现一个group很好玩,45个member,13个bookmark,开始以为是哪个学校的班级开了个group,后来才觉得似乎是一群‘妈妈’在里面讨论怎么培养自己的小孩,一个bookmark居然能跟到68个讨论(加hightlights)
       技术是真的可以极大改进人们的生活的


      p.s: 顺便推荐一个好玩的group给大家:http://groups.diigo.com/groups/mustsee 一起分享有趣的任何事情
      3/10/2007

      Post by Diigo 03/09/2007

      Ruby on Rails Manual ActiveRecord::Base-inheritance_column Annotated

      Defines the column name for use with single table inheritance — can be set in subclasses like so: self.inheritance_column = "type_id"
      class User < ActiveRecord::Basedef 
      self.inheritance_column() 'role' end
       def
      admin?
         false

       end

      end

      class Admin < User
       def
      admin?
        true

       end

      end
      database table would look like this:

      user
      - id
      - username
      - role = User || Admin
      • 研究rforum源码的时候碰到,初始化user对象时,自动根据role识别初始化的对象型别(Admin or User),原来是rails中表继承的应用,模型层维护好继承关系,数据模型底层,必须设置一个type(默认字段)字段以记录不同对象,也可以如它所说,self.inheritance_column = "column" 来设置这个字段 - post by vincent

        3/9/2007

        祝愿

             同一天里一个好消息一个坏消息:
            女朋友的考研成绩终于出来了,让她担心的英语居然上了60分,呵呵,确实是个不小的鼓励,一年来的努力,多少泪水,多少汗水,还有好多次几乎撑不下去,刚认识的时候开心天真的性格,磨练得‘酷’了不少,我得说,你真棒,很替你高兴。
            在我的追问下,爸爸终于告诉我,奶奶最近身体不太好,据说是腿上长了颗瘤子,挡住了血管,还不好做手术,心想奶奶这会肯定是很难受了。去年开始来成都工作,过年放了7天假,没有赶回家过年,记得年初二的时候,堂妹给我电话说,爷爷奶奶很想见我,让我突然很想见他们~
            在成都的日子是我第一次开始打拼自己的生活,很多快乐,很多艰辛,也有很多只有自己体会过,才知道的酸甜苦辣。祝愿奶奶身体早日康复,祝愿熹熹早日实现自己的理想,过自己喜欢生活,也祝愿我自己不断努力,不断前进~

        3/8/2007

        Post by Diigo 03/07/2007

        http://threebit.net/tutorials/nestedset/tutorial1.html  Annotated

          What is a Nested Set?
          The Nested Set is an adjacent list realized in SQL as a tree. For a good slide show on the Nested Set theory check this site out.

            Fastcgi到底是什么样的技术 (转)_不透明的雾

              3/6/2007

              Diigo的新Feature

              继Diigo V2发布以来,Diigo又相继发布了一些小的Feature但是特别实用,如,preview, about等
              我个人特别喜欢preview这个feature:
              每个bookmark item后面有个preview很有创意。节省了浏览原网页,跳转的时间,直接在diigo site上浏览在做决定,而且似乎还可以直接在preview中highlight, that cool~

              Post by Diigo 03/05/2007

              Beast

                techno weenie

                  Core team behind Ruby on Rails  Annotated

                      David Heinemeier Hansson (nextangle) extracted Ruby on Rails from his work on Basecamp. He released the framework as open source in July of 2004, but didn't share the commit rights until February of 2005. Among the core team, he's infamous for his ruthless delegation, which is often executed as a request to "Please Do Investigate". He's a partner at 37signals and an opinionated blogger.
                          Jeremy Kemper (bitsweat) is a programmer at CD Baby in Portland, Oregon. Hot on the heels of DHH, he has been the most active contributor to Rails. He's knee deep in pretty much all aspects of the framework and one of the top batters against new, incoming tickets.
                              Jamis Buck (minam) is a repentant Java programmer who never really enjoyed Java, but who finally found web-programming joy in Rails. He is an avid Ruby programmer, having contributed several packages to the community (including Net::SSH, Net::SFTP, Syntax, sqlite-ruby, sqlite3-ruby, SwitchTower and others). He is currently employed at 37signals, working from his home in Provo, Utah. He and his wife Tarasine have been married for 8 years. They have two children.
                                  Nicholas Seckar (ulysses) is a student and software engineer living in Toronto, Canada. Nicholas has been contributing to Ruby and Rails since Fall 2004, with numerous bug fixes and new features such as Routing. He has been a developer on Measure Map since August 2005. He is currently completing his undergraduate degree at the University of Toronto, while also working for Google in their Toronto engineering department.
                                      Florian Weber (csshsh) lives and works in Hamburg, Germany. He discovered Rails back in May 2004 and then decided to develop a CMS and Shop for Bellybutton with it.
                                          Marcel Molina Jr. (noradio) is a language enthusiast who went from being a literature major to a programmer. In his transition from natural language to machine language he found Ruby an elegant balance of dynamic, pragmatic and “humane”. And then came along Rails…. Marcel tumblelogs on Projectionist and tries to help keep your apps running smoothly as a developer at FiveRuns.
                                              Michael Koziarski (nzkoz) is a software consultant based in Wellington, New Zealand. After a successful stint as an enterprise Java developer, he switched to rails shortly after the first public release. He’s a contributor to The Rails Way and maintains a personal blog.
                                                  Sam Stephenson (sam-) is a fan of dynamic languages who found Ruby just six months before Rails’ first release. In February of 2005, he released the Prototype JavaScript library, which provides the foundation for Ajax support in Rails. Sam lives in Chicago, works for 37signals, and tumblelogs on Projectionist.
                                                      Scott Barron (htonl) was set to swear off computers forever and become a plumber when Rails was released. He immediately found salvation in the warm embrace of Ruby and has never looked back. He currently practices Rails by working for Joyent.

                                                          Thomas Fuchs (madrobby) is a software architect from Vienna, Austria. He is the author of script.aculo.us, a cross-browser JavaScript framework featuring advanced Ajax UI controls, visual effects and other niceties. Thomas wrote the “Web 2.0” chapter in the Agile Web Development with Rails book. As a member of wollzelle, he is busy making fluxiom the next big thing in Digital Asset Management.

                                                           

                                                              Tobias Lütke (xal) encountered Rails while struggling to find technology for his new company. Once found, he quickly ported the bits and pieces of his code over to Ruby which later became the first rails based e-commerce store “Snowdevil”. Tobi is a partner at JadedPixel and is frantically working on Shopify which is the continuation of the Snowdevil code base. Over time, Tobi released many open source projects such as Typo, Hieraki, and Liquid.

                                                               
                                                                  Rick Olson (technoweenie) > blames Ruby on Rails for > destroying his ASP.Net career. After tinkering in the framework for nearly a > year, he decided to start full-time freelancing on Rails projects in January of > 2006 and couldn't be happier. He's behind the > Rails Weenie > community help site, and > has released the open source weblog > Mephisto > along with > numerous plugins > . >
                                                                    3/5/2007

                                                                    Post by Diigo 03/04/2007

                                                                    可爱的老头 精力旺盛的互联网之父Cerf-无聊布棉的blog  Annotated

                                                                      这老头最牛的地方,就是精力旺盛。在昨天,从早上到下午,至少有4、5场专访,滔滔不绝,几乎不拒绝所有的问题。我当时就问跟踪的凯锋,你疯了吗?他说接近崩溃了。哈哈。王乐问了个问题,你加入Google,又研究火星互联网,又是ICANN的主席等等,哪有那么多精力,Cerf说,首先我认为睡觉是浪费时间,所以我睡觉的时间是尽可能地短,第二,我认为一个人如果已经进入了一种高速前进的状态就不应该减速,应该以同样的速度继续地前进下去,也就是说当时速达到每小时900英里的时候,一旦减速就会发生事故。
                                                                        • 互联网之父Vin.Cerf - post by vincent
                                                                        2/5/2007

                                                                        Post by Diigo 02/04/2007

                                                                        MySpace将开通两大海外网站 进军中国倒计时 - DoNews.com  Annotated(1)

                                                                          新浪科技讯 北京时间1月29日消息,据国外媒体报道,美国著名社交网站MySpace即将开通加拿大及墨西哥网站,韩国和中国将成其下一个国际扩张目标。

                                                                            据悉,为了跟上国际扩张步伐,MySpace已在半年内新招聘了近一倍员工,目前全球员工总数达400人。

                                                                            12/8/2006

                                                                            Post by Diigo 12/07/2006

                                                                            公司新闻

                                                                            • post by vincent
                                                                               - post by vincent
                                                                            11/25/2006

                                                                            Post by Diigo 11/24/2006

                                                                            阿波罗-个人空间-博客-科学研究发现:人类大脑中存在“自私开关”  Annotated(2)

                                                                              根据6日出版的美国《科学》周刊上刊登的一篇文章,科学家们发现,人类大脑额叶前部外侧皮层右侧有一个“自私开关”,能帮助人们抑制对性、金钱等的强烈冲动。
                                                                                费尔说:“对额叶前部外侧皮层右侧施加很小的抑制,就可以削弱人们放弃自己利益的能力。”
                                                                                  11/18/2006

                                                                                  Post by Diigo 11/17/2006

                                                                                  公司新闻  Annotated(3)

                                                                                    问题以及最新的技术展开了深刻讨论。
                                                                                      到百度硬盘搜索(disk.baidu.com)大家并不陌生,而百度硬盘搜索服务器版1.0则是百度在本届大会首次发布的新品,这是一
                                                                                        而这些内容无需组织,
                                                                                          11/16/2006

                                                                                          Post by Diigo 11/15/2006

                                                                                          百度国学  Annotated(1)

                                                                                            的反响,并且引发了学术界对国学的
                                                                                              11/15/2006

                                                                                              Post by Diigo 11/14/2006

                                                                                              关于百度-百度在中国  Annotated(2)

                                                                                                商。2001年8月,发布Baidu.com搜索引擎Beta版,从后台服务转向独立提供搜索服务,并且在中国首创了竞价排名商业模式,2001年10月22日正式发布Baidu搜索引

                                                                                                  百度一直孜孜不倦地追求技术创新,依托于博大精深的中文智慧,致力于为用户提供“简单,可依赖”的互联网搜索服务。

                                                                                                  百度每天响应来自138个

                                                                                                    CSS Optimization: Compressed file helps speed site load time - Recommended Web Tools

                                                                                                      Diigo Review: Robust Social Bookmarking - Recommended Web Tools

                                                                                                        Hotscripts.com :: Ruby on Rails :: Scripts and Programs  Annotated(1)

                                                                                                        • 到这个网站首先第一感觉,首先就比较舒服,有好奇心去看内容~~
                                                                                                           - post by vincent
                                                                                                          Hits: 1124