Articles for the ‘Kaibo’s Blog’ Category

PostHeaderIcon 湾区春令营 SpringCamps.org

Chinese Spring Camps has been using SpringCamp.org for more than 10 years but the domain is no long used for that purpose because of hostile takeover by a new owner. This was also caused by poor Godaddy customer services which did allow us to make payment after we lost our login.

So SpringCamps.org Has Replaced SpringCamp.org

北加州旧金山湾区春令营 SpringCamps.org is for Chinese Spring Camps in Northern California San Francisco Bay Area. We use plural form because we have organized this event more than 20 times already.

第24届湾区春令营将在2017年5月19至21日在Mt. Hermon 举行。现已开始网上报名。详情请前往

SpringCamps.org

 

PostHeaderIcon 网络热播《鬼吹灯》

http://www.dailymotion.com/chinesebay

  • 鬼吹灯之精绝古城-第18集-高清完整版
  • 鬼吹灯之精绝古城-第17集-高清完整版
  • 鬼吹灯之精绝古城-第16集-高清完整版

不知为何,越南字幕版的竟然最早更新。

PostHeaderIcon 圣莱安德罗市市长寇宝莲(Pauline Cutter)

寇宝莲(Pauline Cutter)

寇宝莲(Pauline Cutter)

寇宝莲(Pauline Cutter) 在2014年年终选举 以 57% 的选票击败 Souza 的 43% 和 Dan Dillman 的 14% 获选为 圣莱安德罗市市长(San Leandro Mayor),2015接替了前任市长史蒂芬•卡西迪。

上任不足2年的华裔市议员李国斌(Benny Lee)在2014年5月出任副市长,成为该市历来首位华裔副市长。

寇宝莲(Pauline Cutter) 认为要让
圣利安祖市成为全湾区最佳城市,
必须符合三个条件:安全的社区,
健全的学校,活跃⽽多样化的⽣活。

Google 的翻译笑死人

San Leandro Mayor Pauline Russo Cutter = 圣莱安德罗市市长保罗日俄刀

https://translate.google.com/#en/zh-CN/San%20Leandro%20Mayor%20Pauline%20Russo%20Cutter
googletranslate

PostHeaderIcon Galaxy S4 photo sample

We found the camera of Galaxy S4 pretty good even without using the flash

image

PostHeaderIcon Where’s My Shutdown Button in Windows8?

Microsoft made a big mistake by mixing the tablet OS and desktop OS.  It doesn’t make sense to force the desktop users to deal with the tablet features.

Lots of complaints include

  1. Where’s my Start Button?
  2. Where’s the Shutdown button?
  3. Where’s my Control Panel?

And they don’t have enough pre-education for most of the users to switch to their new “smart” interface. Read the rest of this entry »

PostHeaderIcon (English) Sweet Tomato Coupons

对不起,此内容只适用于English

PostHeaderIcon Make A Living By Writing

My daughter loves writing?She’s only 6 years old. She’s started writing her diary. Although, she loves to start her diary “it is a good day” every time. I love it because I know writing can make good money. Some people may just think of writing a novel or a book when talking about writing. Writing can be of many different kinds.

You should believe that a good technical writer can make good money. But how about you don’t like technical things? You can still make a good living you write about food, wine, pets, cars, … virtually everything under the sun. Seriously. I can assure you that if you run a popular blog with your unique articles, you can make a lot of money with the big traffic to your blog.

In recent years, I’ve been helping our clients mainly law firms to find the right copy writers to create fresh contents for the legal blogs so that their sites can rank higher in search engines. That is part of my SEO (search engine optimization) efforts for my clients. We can pay up to $35 per article or $50 per hour to good writers. If you think you can do this job, you can still contact us with your good unique articles on bankruptcy, foreclosure, short sales or debt reduction.

Check this out: http://kaibo.us/go/writing — Make Money at Home Writing. Yes, you can work from home. Actually you can work from anywhere with a laptop and Internet. One of our writers sent us her articles during her vacation in Florida. Cool! Right?

PostHeaderIcon All About Cats & Dogs

On my 1st day with Blog Success 2.0, I launch my own pet blog site http://petblogs.us.

In this blog, we will post interesting articles, photos and videos about our pets, among which I love cats and dogs most. Just see how an ugly looking Web site can help us make money. The main ways of money making will be Google Adsense and affiliate marketing programs.

We’ll ask some friends to contribute more contents about their dogs and cats.

PostHeaderIcon Sites for Kids

Here are some great sites for Preschoolers:

  1. Learn Letters First! And learn to read and have fun reading at
    StarFall:http://www.starfall.com
  2. Sprout: Watch Barney, Elmo, and play games!
  3. Preschoolrock : From Potty training to Preparation for your kids for kindergarten
  4. Kaboose: Games! for Kids — Train and Tracks
  5. PBS.org

PostHeaderIcon UML and Rails

Tools for UML and Rails

In March, 2007, we posted one message on UML & Rails, it became popular. We still rank #1 when Google ‘UML Rails’. And got at least a few hits every day. So people are using UML or trying to use UML for Rails.

Something we can use for UML on Rails:

  • Ruby UML Diagrammer is a tool that leverages the RDoc to generate diagrams from a list of ruby files. One of the key features of the diagrammer is that you specify which files you want to look at, and rumld will generate a diagram for only those files: http://rumld.rubyforge.org/ where you can see a nice Diagram of some Rails files. Project created on 2007-08-18 17:52, and updated until January 15, 2008 only… may someone carry on?
  • http://ruby-uml.rubyforge.org/
  • ruby-uml is intended to provide support for refactorisations by generating UML-graphs, trying to trace different aspects of an existing application.

    Gem dependencies:
    diff-lcs: >= 1.1.2
    Other dependencies: ruby: ruby-uml is tested with 1.8.5

  • Disappointing? Visual Paradigm came to rescue from its VP-UML 6.1: Instant generator allows you to generate source codes from class diagrams for many popular programming languages with minimal effort. Now, Ruby has been added to the list of supported languages. This feature is supported in VP-UML and SDE in Standard or higher editions.

    Visual Paradigm for UML supports generating 15 programming languages from UML class diagram. Supported programming languages include Java, C#, VB.NET, PHP, ODL, Action Script, IDL, C++, Delphi, Perl, XML Schema, Python, Objective-C, Ada 95 and Ruby. Check out their Instant code generation video. Cool! Isn’t it?

Using UML for RoR projects

I found one interesting discussion at http://www.ruby-forum.com/topic/81824:

Posted by Roderick van Domburg (roderickvd)
on 20.11.2006 21:34

Jonathan Telfer wrote:
> I’m going to take a guess that UML probably isn’t heavily used by most
> RoR developers apart from perhaps some early stage sketching. I’d
> recommend reading “Use Case Driven Object Modeling with UML: A Practical
> Approach” as that’s based on the ICONIX process which is agile.

I have no idea what the RoR development community at large does or does
not use, but would like to point out that UML by itself describes no
design methodology. In fact, I would say that UML is as great as a tool
to do RoR modeling in as it is standards-based and generally accepted.

It seems a common misconception that UML and model driven engineering
lead are automatically coupled to waterfall-types of design processes.
But beauty is in the eye of the beholder. As is agile development, which
may be considered as developer joyriding when done improperly — same
thing that happens with XP all too often. If you sketch anyway, why not
use UML?

Here’s my experience: static structure diagrams, activity diagrams,
sequence diagrams are all well worth their while when not overdone.
SSD’s easily map to Rails models. Activity diagrams can be useful in
determining action flows (single- or cross-controller). Sequence
diagrams are useful with webservices.

Do I consistently use every UML technique with every single project,
every single model and every single controller? No. I use it when my
mind begins to boggle, or when I know that a certain part of the system
will be sensitive to change. Evolution always plays a part, and
personally like to plan ahead instead of cleaning up later — I know
that’ll be way more costly.

That being said, use cases seldom do work out. The reason for that is
this: use cases do not elicit the abstract concepts necessary to build a
solid architecture. Your client may agree with that “puppet called an
actor” can do tasks X, Y and Z, but I ask you: where does that leave you
as a developer? Simple systems may not require explicit architectures,
but mistaking agile development with “sketches boring, coding good!”
will certainly impede the more complex systems.

> Most RoR developers (may I have a show of hands?) use Developer Centric
> Testing, leading up to TDD.

Indeed a lot of attention is drawn to TDD, but usually, I digress. Tests
aren’t what drives my own business or that of my client, and so I feel
the very name of the approach doesn’t fit my intents. Personally I favor
Feature Driven Development (FDD) with doing as much as I can to ensure
quality.

Tests, by their very nature, are created and executed in a controlled
environment. Providing full coverage (not just the 100% green rcov bars,
but actually having walked through all the input invariants) may be
possible as a project grows more complex, but its feasibility decreases
dramatically. And when I know that I’m going to have holes in my
coverage, I might just as well take another stance: FDD.

My approach of FDD differs in that I care about functionality, not
tests. After having thought about my architecture beforehand, I start
implementing. Mind you: no checkins without having proper and passing
tests. I do my best to write a number of tests that cover both proper
input and possible garbage, but I know I’m going to miss a spot. That’s
OK — in my critical code I’ll put in a couple of defensive measures
like validation (easily done with Rails) and proper error handling &
notifaction (likewise, easily done).

(Not being a TDD regular myself, I wonder how many developers dismiss
defensive coding. This is my curiosity speaking, not intended as a
statement below the belt.)

One might say that it’s a matter of opinion, and I’ll agree. But I will
not agree that either produces higher quality code than the other. You
can write broken tests, and may likewise mess up your application. TDD
is no excuse for not having an architecture. With an architecture in
place I say either TDD or FDD may miss just as many stitches, and that
being the case, my prime focus will be getting functional results any
day.

Cheers,

Roderick

I love the concept of TDD (test-driven development), but I also agree with Roderick on this point.

Bookmark and Share
Follow on Buzz
Scan with your mobile phone!