2004年11月07日

西服倒是经常穿,可是打上这个领带,脖子感觉很有点不自在,不自由,由于种种场合的需要,也就辛苦一下脖子了。

没有想到打领带花样这么多,更迷惑是居然有居多名称让人头昏。

    依照图片上STEP BY STEP分解步骤与自己的勤加练习,你应该很容易就能上手才是,不过结领结是为了在身上产生视觉加分作用,当你决定采用某种领结前可也需一并考量领带本身的厚度及材质的喔。

    平结

    平结为最多男士选用的领结打法之一,几乎适用于各种材质的领带。

    要诀:领结下方所形成的凹洞需让两边均匀且对称。

    交叉结

    这是对于单色素雅质料且较薄领带适合选用的领结对于喜欢展现流行感的男士不妨多加使用。

    双环结

    能营造时尚感,适合年轻的上班族选用该领结完成的特色就是第一圈会稍露出于第二圈之外,可别刻意给盖住了啰。

    双交叉结

    这样的领结很容易让人有种高雅且隆重的感觉,适合正式之活动场合选用该领结应多运用在素色且丝质领带上,若搭配大翻领的衬衫不但适合且有种尊贵感。

浪漫结

浪漫是一种完美的结型,故适合用於各种浪漫系列的领口及衬衫,完成後将领结下方之宽边压以绉摺可缩小其结型,窄边亦可将它往左右移动使其小部份出现於宽边领带旁。

简式结(马车夫结)
适用於质料较厚的领带,最适合打在标准式及扣式领口之衬衫,将其宽边以180度由上往下翻转,并将折叠处隐藏於後方,待完成後可再调整其领带长度,是最常见的一种结形。

亚伯特王子结

适用於浪漫扣领及尖领系列衬衫,搭配浪漫质料柔软的细款领带,正确打法是在宽边先预留较长的空间,并在绕第二圈时尽量贴合在一起,即可完成此一完美结型。

四手结(单结)

是所有领结中最容易上手的,适用於各种款式的浪漫系列衬衫及领带。

温莎结

此种结形因其宽度较一般结形宽,故十分适合使用在意大利式领口(八字领),的浪漫系列衬衫上,最适合与浪漫细致的丝质领带相互搭配。

十字结(半温莎结)

此款结型十分优雅及罕见,其打法亦较复杂,使用细款领带较容易上手,最适合搭配在浪漫的尖领及标准式领口系列衬衫。

import java.util.*;

/**
 * Abstract base class for queue implementations that keep their queue in
 * order of removal
 */
public abstract class AbstractQueue implements Queue {
  protected Vector queue = new Vector();

  /**
   * Create a new queue.
   */
  public AbstractQueue() {
  }

  /**
   * Insert an object in the queue, in the correct relative position. */
  public abstract Object put(Object obj);

  /**
   * Remove from the beginning of the queue. Does not return until
   * an object appears in the queue and becomes available to this thread.
   * @return the item formerly at the head of the queue, or null if a
   * timeout occurred before an item was available.
   * @throws InterruptedException if interrupted while waiting
   */
  public synchronized Object get(Deadline timer) throws InterruptedException {
    Object head = peekWait(timer);
    if (head != null) {
      queue.removeElementAt(0);
    }
    return head;
  }

  /**
   * Wait until the queue is non-empty, then return the element at the
   * head of the queue, leaving it on the queue.
   * @return the item at the head of the queue, or null if a
   * timeout occurred before an item was available.
   * @throws InterruptedException if interrupted while waiting
   */
  public synchronized Object peekWait(Deadline timer)
      throws InterruptedException {
    final Thread thread = Thread.currentThread();
    Deadline.Callback cb = new Deadline.Callback() {
 public void changed(Deadline deadline) {
   thread.interrupt();
 }};
    try {
      timer.registerCallback(cb);
      while (queue.isEmpty() && !timer.expired()) {
 this.wait(timer.getSleepTime());
      }
    } finally {
      timer.unregisterCallback(cb);
    }
    if (!queue.isEmpty()) {
      // remove from beginning
      Object obj = queue.firstElement();
      return obj;
    } else {
      return null;
    }
  }

  /**
   * Return first element on queue, without removing it.
   * @return The element at the head of the queue, or null if queue is empty
   */
  public synchronized Object peek() {
    return (queue.isEmpty() ? null : queue.firstElement());
  }

  /**
   * Remove the specified element from the queue.  If the element appears
   * in the queue more than once, the behavior is undefined.
   * @return true iff the element was present in the queue
   */
  public synchronized boolean remove(Object obj) {
    return queue.remove(obj);
  }

  /**
   * Return the number of elements in the queue
   */
  public int size() {
    return queue.size();
  }

  /**
   * Return true iff the queue is empty
   */
  public boolean isEmpty() {
    return queue.isEmpty();
  }

  /**
   * Return a snapshot of the queue contents
   */
  public synchronized List copyAsList() {
    return new ArrayList(queue);
  }

}

 

import java.util.*;

/**
 * A thread-safe FIFO queue
 */
public class FifoQueue extends AbstractQueue {
  /**
   * Create a new FIFO queue.
   */
  public FifoQueue() {
    super();
  }

  /**
   * Add to the end of the queue. */
  public synchronized Object put(Object obj) {
    if (obj == null) {
      throw new NullPointerException(“Attempt to put null element on Queue”);
    }
    queue.addElement(obj);
    // supposedly allows the highest priority thread to run first
    notifyAll();
    return obj;
  }
}

import java.util.*;

/**
 * Queue interface.
*/
public interface Queue {

  /**
   * Add to the queue. */
  public Object put(Object obj);

  /**
   * Remove first element from the queue. Does not return until
   * an object appears in the queue or the timer expires.
   * @return The element formerly at the head of the queue
   */
  public Object get(Deadline timer) throws InterruptedException;

  /**
   * Return first element on queue, without removing it.
   * @return The element at the head of the queue, or null if queue is empty
   */
  public Object peek();

  /**
   * Wait until the queue is non-empty, then return the element at the
   * head of the queue, leaving it on the queue.
   * @return the item at the head of the queue, or null if a
   * timeout occurred before an item was available.
   * @throws InterruptedException if interrupted while waiting
   */
  public Object peekWait(Deadline timer) throws InterruptedException;

  /**
   * Remove the specified element from the queue.  If the element appears
   * in the queue more than once, the behavior is undefined.
   * @return true iff the element was present in the queue
   */
  public boolean remove(Object obj);

  /**
   * Return the number of elements in the queue
   */
  public int size();

  /**
   * Return true iff the queue is empty
   */
  public boolean isEmpty();

  /**
   * Return a snapshot of the queue contents
   */
  public List copyAsList();

}

Lua 5.0.2

Lua 5.0.2 was released on 17 Mar 2004. This version fixes a few minor bugs in Lua 5.0.

Lua 5.0

Lua 5.0 was released on 11 Apr 2003.

HTTP Server Return Codes

Level 100
100 Continue
101 Switching Protocols

Level 200
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content

Level 300
300 Multiple Choices
301 Moved Permanently
302 Moved Temporarily
303 See Other
304 Not Modified
305 Use Proxy

Level 400
400 Bad Request
401 Authorization Required
402 Payment Required
403 Forbidden
404 File Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Time-out
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Large
415 Unsupported Media Type

Level 500
500 Internal Server Error
501 Method Not Implemented
502 Bad Gateway
503 Service Temporarily Unavailable
504 Gateway Time-out
505 HTTP Version Not Supported
506 Variant Also Varies

相对于python,lua是个轻量级的脚本语言。由于lua采用ANSI C来编写,文档贼少,用vc编译多少有点费劲。

一个lua.dsw包含3个dsp工程:

1.lua.dsp(静态LIB工程) 生成lua.lib

2.lualib.dsp(静态LIB工程) 生成lualib.lib

3.luaconsole(EXE工程) 生成lua.exe console

下载该完整项目工程(包含lua 5.0.2)

(http://null.ys168.com) code目录

http://upserver1.ys168.com/ys168up/D1/YY.aspx?f=04L49E6E3D9E0E6D5A08ARI7D5ASI9E4D6AVI7AVI5F6G6D8E5E6D6E1A24E6D8D9E3D9C2

http://www.sunnycbd.com/gm/sc.htm

已经很早的事情了,收集硬盘发现这个。

PowerDesigner Trial 10.X (关键这个文件pdshll10e.exe)
find:    E834EEFFFF85C0
replace: B801000000EB1F

find:    558BEC81EC8405
replace: B80E000000C208

网上提供大多都是10.0版本的crackz.

下载PowerDesigner Trial 10.X:

http://crm.sybase.com/sybase/www/IPG/pd10_dwnld_eval.jsp

建议购买正版(好贵)。

2004年11月06日

2004年11月05日17:00
一周要闻简讯

中国已经显出准备放宽人民币汇率区间的迹象,这不仅有助于抑制经济过热,还能缓解中国同美国及其他国家之间紧张的贸易关系。
http://chinese.wsj.com/gb/20041105/chw112954.asp?page=article_front_gb_chw

***

在总统大选结果刚刚揭晓后不久,美国总统布什就于周四表示,将立即开始第二任期议程上的工作,全力履行他在竞选期间所作出的各项承诺,他还号召民主党人支持其推进重要的立法。
http://chinese.wsj.com/gb/20041105/biz073119.asp?page=article_front_gb_biz

***

原油期货受阿拉法特亡故传言的影响跌破每桶49美元,但其所在医院对此加以否认。十二月合约暴跌2.06美元至每桶48.82美元。
http://chinese.wsj.com/gb/20041105/mkt075445.asp?page=article_markets_gb_markets

***

伊朗与印度达成一个初步协议,双方将联合开发世界最大天然气田的一部分,这也是伊朗近期签署的一系列能源协议中的一个。
http://chinese.wsj.com/gb/20041103/bas172905.asp?page=article_front_gb_bas

***

美国财政部官员称,中国央行上调1年期贷款及存款利率的举动,表明中国在转向以市场为基础的灵活汇率制度的过程中迈出重要一步。
http://chinese.wsj.com/gb/20041105/bch080857.asp?page=article_front_gb_bch

***

据调查显示,中国制造业的增长6个月来首次放慢,信贷控制日趋严格,以及利润率收窄可能将导致中国制造业增长放缓。
http://chinese.wsj.com/gb/20041101/bch230241.asp?page=article_front_gb_bch

***

美国第三季度生产率增幅降至近两年最低水平;而上周美国首次申请失业救济人数大幅下滑,显示就业市场重拾升势。
http://chinese.wsj.com/gb/20041104/bus223001.asp?page=article_front_gb_bus

***

微软周四将在发展中国家推出新型低成本“视窗”软件。但据一家技术研究公司介绍,多数知名电脑生产商尚未加入这一计划。
http://chinese.wsj.com/gb/20041103/tec130944.asp?page=article_technology_gb_tech

***

中国石化将耗资人民币45.8亿元收购母公司中国石化集团部分化工、加油站等资产,同时向其出售亏损的油田服务业务。
http://chinese.wsj.com/gb/20041103/bch153541.asp?page=article_front_gb_bch

***

英特尔公司推出一种新型晶片组系列,该晶片组通过将最高数据流量提升33%从而提高个人电脑性能。
http://chinese.wsj.com/gb/20041102/tec072518.asp?page=article_technology_gb_tech

***

中国大型国有电信公司周二宣布了高层管理人员的一系列变动调整,目前这些电信公司正在竭力提高其在西方投资者眼中的可信度。
http://chinese.wsj.com/gb/20041102/bch225351.asp?page=article_front_gb_bch

***

甲骨文公司将对仁科的收购价从每股21美元调高至24美元,从而进一步加大了对仁科董事会的压力。
http://chinese.wsj.com/gb/20041101/tec213734.asp?page=article_technology_gb_tech

***

中国航空航天企业将成为欧洲航空防务航天公司民航项目的“永久合作伙伴”,空中客车未来所有项目都将与中国公司合作开发。
http://chinese.wsj.com/gb/20041103/bch094852.asp?page=article_front_gb_bch

***

丰田汽车准备在未来两年内将全球销售提高逾25%,增加厂房及产品种类,挑战通用汽车公司的全球头号汽车制造商的宝座。
http://chinese.wsj.com/gb/20041102/bas105631.asp?page=article_front_gb_bas

2004年11月05日

世界著名古城耶路撒冷位于巴勒斯坦地区的中部。市区面积约100平方千米,分旧城新城两部分。新城为政治、经济和文化区,极具现代化的城市风貌。人口48万,主要是犹太人和阿拉伯人。1947年联合国决议,耶路撒冷国际化,由联合国管理。1980年和1988年,以色列和巴勒斯坦国分别宣布其为首都。
耶路撒冷是世界三大宗教–犹太教、基督教、伊斯兰教的朝觐中心。三教奉一城为圣地,堪称世界一奇。 历史悠久、饱经沧桑,在具有4000年历史的城池上,刻满了征战和兴亡的印记。在旧城仅1平方千米的土地上,集中了众多的名胜古迹,以摩利亚山、奥马尔清真寺、圣墓教堂、西(哭)墙、阿克萨清真寺、大卫王墓、圣安妮教堂、圣雅各教堂等最为著名古迹。

  耶路撒冷位于巴勒斯坦中部,面积176平方公里,由东部旧城和西部新城组成。它是犹太教、基督教、伊斯兰教的三教圣地。  耶路撒冷在阿拉伯语和犹太语中,意思都为“和平之城”。

  19世纪初,犹太复国主义兴起,寄居世界各地的犹太人纷纷涌向巴勒斯坦。第一次世界大战后,巴勒斯坦成为英国的托管地,耶路撒冷是巴勒斯坦托管地的首府。由于英军无法控制巴勒斯坦局势,宣布从巴勒斯坦撤走,并将这一问题提交联合国。

  1947年11月29日,第二届联大通过了有关巴勒斯坦分治的第181号决议,规定耶路撒冷市为国际城市,由联合国管辖,归属待定。

  1948年5月14日,以色列国建立,从此中东战乱频繁。以色列先后与巴勒斯坦人民和阿拉伯国家发生过5次大规模的战争。1948年5月15日爆发的阿以战争中,以色列吞并了约旦河西岸和西耶路撒冷(即新城),东耶路撒冷(旧城)则由约旦占领。1967年6月5日,以色列对埃及、叙利亚、约旦进行闪电式袭击,占领了西奈半岛、加沙地带和戈兰高地,并从约旦手中夺走东耶路撒冷。1967年和1973年联合国安理会分别通过的242号和338号决议,要求以色列撤出包括耶路撒冷在内的所占领土,但以色列置若罔闻。1980年,以色列议会通过法案,宣布整个耶路撒冷为其首都,企图单方面改变耶路撒冷的地位,此举遭到阿拉伯国家及国际社会的谴责。联合国多次通过决议宣布以色列兼并耶路撒冷及宣布其为首都无效,要求以色列从所占领土包括耶路撒冷撤走。1984年,伊斯兰会议耶路撒冷委员会特别会议决定5月18日为耶路撒冷日,以抗议以色列的占领。

  长期以来,巴勒斯坦人民从未放弃建立独立国家的斗争。1988年11月,在阿尔及尔举行的巴勒斯坦全国委员会第19次特别会议宣布成立巴勒斯坦国,定都耶路撒冷,并得到世界上多数国家的承认。

  耶路撒冷问题是中东和平进程中最复杂和最敏感的问题之一。根据巴勒斯坦和以色列1993年在挪威首都奥斯陆达成的原则宣言,双方将在和谈的最后阶段,即1996年5月以后对耶路撒冷的地位问题举行谈判。在此之前,双方均不得采取改变人口结构等措施以改变圣城现状。然而以色列自1980年5月单方面宣布耶城为其永久首都以来,多次征用圣城土地,兴建犹太人定居点,企图通过征地计划在解决耶路撒冷问题之前造成耶路撒冷犹太化的既成事实。1995年4月28日,以色列政府决定征用53公顷巴勒斯坦人的土地,这是15年以来在耶路撒冷东区规模最大的征地活动。此举遭到国际社会特别是巴勒斯坦人民和阿拉伯国家的强烈反对。

  近年来,以色列领导人还多次宣称耶路撒冷做为其首都的地位不可改变。1995年1月30日,以色列外长佩雷斯称“耶路撒冷是以色列永久的首都,以色列建国前从未有过一个巴勒斯坦国。”5月26日,在以色列进行大选期间,前总理佩雷斯在同竞选对手利库德集团领导人内塔尼亚胡进行电视辩论时重申,耶路撒冷是以色列“统一的、唯一的和永久的首都”,1996年5月内塔尼亚胡上台执政后,更是提出了针对阿拉伯国家的“三不”政策,其中之一就是不与巴勒斯坦人就耶路撒冷的最终地位问题举行谈判,这一立场立即遭到阿拉伯国家的强烈谴责。针对以色列的强硬立场,巴勒斯坦民族权力机构主席阿拉法特多次敦促内塔尼亚胡改变政策。1996年7月27日,阿拉法特在加沙举行的一次群众集会上重申了巴勒斯坦人对耶路撒冷拥有主权。

  耶路撒冷的最终地位问题一直是影响阿以和平进程能否继续向前发展的关键问题之一,它的最终解决还需要经历一个艰难的过程。(新华网)

 

:)