I am maintaining a legacy SDK. The SDK will behave differently for different
platform. It's using a static variable and requires the static variable to
be created before any API call like the following:
Example for static variable (OLD CODE):
SDKContext.init();
VideoManager manager = new VideoManager();
public void VideoManager#search() {
SDKContext.search();
}
Components like VideoManager are all over the place. My gut feeling tells me
I should use Facade pattern instead, but can't be sure.... 阅读全帖
That's exactly the point. Braces are truly needed, but braces are:
NON-CONTEXT-SENSITIVE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! So this is a plug-and-play thing.
Spaces/tabs are context-sensitive, which means, how many spaces are there
depends on how many spaces there are already in the context. So this is a
fuked-up thing.
自己看看定义,然后上来承认一声错了不丢人。 http://en.wikipedia.org/wiki/Context_switch
User and kernel mode switching
When a transition between user mode and kernel mode is required in an
operating system, a context switch is not necessary; a mode transition is
not by itself a context switch. However, depending on the operating system,
a context switch may also take place at this time.
只找到了一个 catalina.properties:
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... 阅读全帖
最近作microarray数据(in the context of development )
遇到几个比较有意思的CXCL family ,包括cxcl1, cxcl5等上调,下调
在网上查了查文章,似乎cxcl family ligand很多人都是在免疫学的context下研究的
,比较少看见在development biology的context下做的
所以想问问cxcl family在development里有什么研究成果?最好推荐一些好的综述,非
常感谢!!!
Beutler得奖,Medzhitov会不会有意见? http://www.sciencedirect.com/science/article/pii/S1074761309002
Ruslan Medzhitov
This year marks the 20th anniversary of a publication (Janeway, 1989) that
in many ways revolutionized our understanding of the immune system. As part
of the proceedings of the Cold Spring Harbor Symposium on Immune Recognition
, the paper authored by the late Charles A. Janeway, Jr. was not a standard
peer-reviewed publication. In fact, Charlie used to refer to it as “the
best paper I've ... 阅读全帖
http://www.cell.com/molecular-cell/fulltext/S1097-2765(11)00331
Fifty Years after Jacob and Monod: What Are the Unanswered Questions in Molecular Biology?
=====================================================================
Tomorrow's Molecular Biology
Marc W. Kirschner
Harvard University
Today, the term molecular biology has a rather prosaic sound. After all,
there is little in contemporary biology that isn't molecular. It's hard to
remember that 50 years ago, molecular biology was distinctly ... 阅读全帖
http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial
# g: When the called party hangs up, exit to execute more commands in the
current context.
# G(context^exten^pri): If the call is answered, transfer both parties to
the specified context and extension. The calling party is transferred to
priority x, and the called party to priority x+1. This allows the dialplan
to distinguish between the calling and called legs of the call (new in v1.2).
# A(x): Play an announcement (x.gsm) to the called part
I guess you can use multiple GV accounts just by using Asterisk, but without Sipgate at all.
Do something like the following:
In Gtalk.conf,
; configure multiple (n) GV gtalks
[GV_account_1]
username=G*********[email protected]
...
context=google_inbound_1
connection=connection_1
...
[GV_account_2]
username=G*********[email protected]
...
context=google_inbound_2
connection=connection_2
...
[GV_account_n]
username=G*********[email protected]
...
context=google_inbound_n
connection=connection_n
...
; end of gtalk.... 阅读全帖
Saying "those who cannot understand Cantonese should go back to their
village" is too aggressive. A lot of mild supporters from other provinces
are irritated by this.
You may argue this phrase has its context. However, people look at sentences
out of context all the time. Now it is us who are trying to make our points
valid, so I think we at least need to make friends instead of enemies.
http://www.buffalorising.com/2010/05/shen-yun-a-universal-theme
Shen Yun a Universal Theme (a reader responds)
buffalo rising
1 1 Votes
A response to The Buffalo News' Review of May 27th's Shen Yun performance
By: Cathy Skora*
I am puzzled how the reviewer of Shen Yun Dance Company for the Buffalo News
' Gusto on Friday May 28, 2010 missed the entire point and theme of this
performance. The evening was rich with Chinese dance, music, and culture.
The dancers were flawless and without exception o... 阅读全帖
http://oecdeducationtoday.blogspot.fr/2013/12/are-chinese-cheat
by Andreas Schleicher
Deputy Director for Education and Skills and Special Advisor on Education
Policy to the OECD's Secretary General
Whenever an American or European wins an Olympic gold medal, we cheer them
as heroes. When a Chinese does, the first reflex seems to be that they must
have been doping; or if that’s taking it too far, that it must have been
the result of inhumane training.
There seem to be parallels to this in educat... 阅读全帖
Out of the context, he sounds snobbish and stupid. However, given the context, he simply improvised in response to "no show" of Korean guys. Maybe a little inappropriate. Overall, he did just fine.
Pls don't make a big deal of this "p-size" thing.
To: English Wikipedia Readers and Community
From: Sue Gardner, Wikimedia Foundation Executive Director
Date: January 16, 2012
Today, the Wikipedia community announced its decision to black out the
English-language Wikipedia for 24 hours, worldwide, beginning at 05:00 UTC
on Wednesday, January 18 (you can read the statement from the Wikimedia
Foundation here). The blackout is a protest against proposed legislation in
the United States – the Stop Online Piracy Act (SOPA) in the U.S. House of
Repre... 阅读全帖
Chinese is a highly contextual language, where the message has to be
understood within the context of the manuscript. Most western languages
emphasis sentences and their independence of the context, and thus require a
lavish grammatical structure so the true meaning of a sentence can be
understood on it's own.
It is arguable that Chinese is a more economical language because of it's
lack of redundancy. However, this require the user of Chinese language to
be extra alert of any multiplicity in
【 以下文字转载自 ChinaNews 讨论区 】
发信人: whiteclouds (/ 参考消息 /), 信区: ChinaNews
标 题: Tibet, the 'great game' and the CIA
发信站: BBS 未名空间站 (Wed Mar 26 22:07:20 2008)
Tibet, the 'great game' and the CIA
by Richard M Bennett
Global Research, March 25, 2008 Asia Times http://www.globalresearch.ca/index.php?context=va&aid=8442
Given the historical context of the unrest in Tibet, there is reason to
believe Beijing was caught on the hop with the recent demonstrations for the
simple reason that their planning took
LONDON (AP) — What's a tweet, between friends? The law says sometimes it's
a threat.
One man thought he was just bantering with his pals when he joked about
blowing an airport sky-high. Another was reacting to a radio phone-in when
he mused about stoning a journalist to death.
Because they made their throwaway comments on Twitter, both are in legal
trouble.
Their cases have outraged civil libertarians and inflamed the debate about
the limits of free speech in a Web 2.0 world. The Internet increa... 阅读全帖
各位小将最好看看,有个心理准备。没什么大不了的,除非你真的有料。
注意里面有一句:it is a serious crime to lie or provide false information to
the FBI agents http://www.jannah.org/articles/fbi.html
IF YOU ARE VISITED BY THE FBI
A brochure published by American Muslim Council (AMC)
It is not unusual for federal agencies to conduct investigations into
individuals and organizations that actively oppose United States policy in
the Muslim World. The FBI is the primary agency responsible for political
intelligence gathering of this kind. In ... 阅读全帖