<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Jcat
    寵辱不驚,閑看庭前花開花落~~
    posts - 173,comments - 67,trackbacks - 0
    SunOS是Sun的操作系統(tǒng)最初叫法,SunOS主要是基于BSDUnix版本;
    SunOS 5.0開始,SUN的操作系統(tǒng)開發(fā)開始轉(zhuǎn)向System V Release 4,并且有了新的名字叫做Solaris2.0
    Solaris 2.6以后,SUN刪除了版本號(hào)中的"2,因此,SunOS 5.10就叫做Solaris 10

    最后"SunOS"這個(gè)詞被用做專指Solaris操作系統(tǒng)的內(nèi)核;而Solaris被認(rèn)為是由SunOS,圖形化的桌面計(jì)算環(huán)境, 以及它網(wǎng)絡(luò)增強(qiáng)部分組成。
    ?
      
    ---Solaris與Sunos的版本轉(zhuǎn)換---
    Solaris 10 = SunOS 5.10
    Solaris 9 = SunOS 5.9
    Solaris 8 = SunOS 5.8
    Solaris 7 = SunOS 5.7

    Solaris 2.6 = SunOS 5.6
    Solaris 2.5 = Sunos 5.5

      

    ------------------
    Solaris也有分服務(wù)器版和個(gè)人版,它們分別是:
    ?? 服務(wù)器版:sparc
    ?? 個(gè)人版:x86
    雖然Solaris在SPARC上擁有強(qiáng)大的處理能力和硬件支持,但是在Intel x86上性能卻未如人意。
    posted @ 2009-03-13 12:19 Jcat 閱讀(809) | 評(píng)論 (2)編輯 收藏
    為了跟老外聊天,裝了個(gè)Skype。后來發(fā)現(xiàn)可以用來打IP電話,超值!

    skype.JPG

    這東西很適合我們這些北漂專門用來給家里打長(zhǎng)途:

    1. 地點(diǎn)固定,我都是周末的晚上在家往老家打電話,肯定是在電腦前的
    2. 因?yàn)镾kype不分本地長(zhǎng)途,用來打長(zhǎng)途更體現(xiàn)優(yōu)勢(shì)
    3. 通話時(shí)間長(zhǎng),我一般一周打一次,每次30分鐘左右,就更更體現(xiàn)優(yōu)勢(shì)了


    不適合打本地電話:

    1. 撥打的地點(diǎn)都是不可預(yù)期的,總不能要電話了,還得把電腦打開、上網(wǎng)
    2. 上班的時(shí)候倒是都在電腦前,但可以用公司的座機(jī)嘛,免費(fèi)的
    3. 省錢的優(yōu)勢(shì)不明顯:移動(dòng)2.5;固話2.2角(管前三分鐘),之后1.1



    Sample: 每月往家打100分鐘(一周一次,每次25分鐘)
    ?? Skype=100*0.075+3=10.5元
    ?? 手機(jī)9點(diǎn)前=100*0.35=35元
    ?? 手機(jī)9點(diǎn)后=100*0.22=22元

    posted @ 2009-02-27 13:52 Jcat 閱讀(369) | 評(píng)論 (0)編輯 收藏
    基金的買賣時(shí)間和大盤一樣,但是網(wǎng)上一般可以隨時(shí)下單;如果是閉盤時(shí)間下的單,就順延到下一個(gè)開盤日購買。

    今天看到的基金凈值,其實(shí)是昨天的值。
    今天購買的基金,其凈值明天才能看見。

    下午3點(diǎn)以前購買基金,算作今天購買;3點(diǎn)以后,算作明天購買,即凈值要在后天才能看見。

    基金管理費(fèi):一般為1%左右,每天根據(jù)資產(chǎn)總額提取,凈值是已經(jīng)提取了管理費(fèi)和托管費(fèi)后的價(jià)格。

    ---------------------------

    基民首先要弄清楚“認(rèn)購”與“申購”的區(qū)別。
    1. 認(rèn)購是針對(duì)新基金而言的,這個(gè)時(shí)候所認(rèn)購的基金并不產(chǎn)生份額凈值,成交價(jià)以1元面值為基準(zhǔn)。
    2. 申購則指在基金成立后,投資者申請(qǐng)購買基金份額的行為。

    無論是認(rèn)購還是申購,交易時(shí)間內(nèi)投資者可以提交認(rèn)/申購申請(qǐng)。
    投資者只有在交易日下午3點(diǎn)收盤之前提交申購請(qǐng)求才能在當(dāng)日生效,并可能成功交易。

    一般來說,投資者在份額發(fā)售期內(nèi)已經(jīng)正式受理的認(rèn)購申請(qǐng)不得撤銷。
    對(duì)于申購申請(qǐng),投資者只有在當(dāng)日 15:00前提交撤銷申請(qǐng),才能予以撤銷。

    在基金申購的過程中,投資者面臨著一個(gè)“未知成交價(jià)”的交易風(fēng)險(xiǎn),這是因?yàn)樯曩弮r(jià)格以當(dāng)日的基金份額凈值為基準(zhǔn)進(jìn)行計(jì)算,而成交當(dāng)日的基金份額凈值只能在下午3點(diǎn)收盤之后誕生,這個(gè)凈值一般會(huì)在下一個(gè)交易日開始之前公告。

    ------------------------------

    收購費(fèi)率是有折扣的(根據(jù)不同的銀行),如易方達(dá)前端申購費(fèi)率是0.8%,但是如果用廣發(fā)卡費(fèi)率是0.3%,1w元能省50元呢。
    "優(yōu)惠費(fèi)率不按金額分檔,持有廣東發(fā)展銀行理財(cái)通卡的個(gè)人投資者的優(yōu)惠認(rèn)購費(fèi)率或申購費(fèi)率統(tǒng)一為0.3%。"-- From 易方達(dá)
    posted @ 2009-02-22 17:18 Jcat 閱讀(439) | 評(píng)論 (2)編輯 收藏
    Habit 1: Be Proactive
    Change starts from within, and highly effective people make the decision to improve their lives through the things that they can influence rather than by simply reacting to external forces.

    Habit 2: Begin with the End in Mind
    Develop a principle-centered personal mission statement. Extend the mission statement into long-term goals based on personal principles.

    Habit 3: Put First Things First
    Spend time doing what fits into your personal mission, observing the proper balance between production and building production capacity. Identify the key roles that you take on in life, and make time for each of them.

    Habit 4: Think Win/Win
    Seek agreements and relationships that are mutually beneficial. In cases where a "win/win" deal cannot be achieved, accept the fact that agreeing to make "no deal" may be the best alternative. In developing an organizational culture, be sure to reward win/win behavior among employees and avoid inadvertantly rewarding win/lose behavior.

    Habit 5: Seek First to Understand, Then to Be Understood
    First seek to understand the other person, and only then try to be understood. Stephen Covey presents this habit as the most important principle of interpersonal relations. Effective listening is not simply echoing what the other person has said through the lens of one's own experience. Rather, it is putting oneself in the perspective of the other person, listening empathically for both feeling and meaning.

    Habit 6: Synergize
    Through trustful communication, find ways to leverage individual differences to create a whole that is greater than the sum of the parts. Through mutual trust and understanding, one often can solve conflicts and find a better solution than would have been obtained through either person's own solution.

    Habit 7: Sharpen the Saw
    Take time out from production to build production capacity through personal renewal of the physical, mental, social/emotional, and spiritual dimensions. Maintain a balance among these dimensions.

    ?

    posted @ 2008-12-25 16:35 Jcat 閱讀(324) | 評(píng)論 (0)編輯 收藏
    很多時(shí)候,在我們進(jìn)行數(shù)據(jù)庫操作時(shí),比如drop user,drop table等,經(jīng)常會(huì)遇到這樣的錯(cuò)誤:
    ORA-00604: error occurred at recursive SQL level 1 .

    關(guān)于Recursive SQL錯(cuò)誤:
    我們知道,當(dāng)我們發(fā)出一條簡(jiǎn)單的命令以后,Oracle數(shù)據(jù)庫要在后臺(tái)解析這條命令,并轉(zhuǎn)換為Oracle數(shù)據(jù)庫的一系列后臺(tái)操作,這些后臺(tái)操作統(tǒng)稱為遞歸SQL。
    比如create table這樣一條簡(jiǎn)單的DDL命令,Oracle數(shù)據(jù)庫在后臺(tái),實(shí)際上要把這個(gè)命令轉(zhuǎn)換為對(duì)于obj$,tab$,col$等底層表的插入操作。Oracle所作的工作可能比我們有時(shí)候想的要復(fù)雜的多.。

    所以對(duì)于這樣的提示,很多時(shí)候是沒有絲毫用處的。

    這時(shí),我們需要更詳細(xì)的信息,sql_trace就是一個(gè)好辦法。
    sql_trace實(shí)際上就是Oracle內(nèi)部事件10046的第一個(gè)級(jí)別,即level=1。通過event 10046, 我們可以得到詳細(xì)的數(shù)據(jù)庫會(huì)話的信息,每個(gè)會(huì)話究竟在干什么,在等什么。通過對(duì)這個(gè)事件的學(xué)習(xí),我們可以深入的理解和調(diào)整Oracle。


    結(jié)合eygle的文章整理的,SQL Trace更詳細(xì)的用法請(qǐng)見原文


    ----------

    Event 10046是oracle用于系統(tǒng)性能分析時(shí)的一個(gè)最重要的事件。當(dāng)激活這個(gè)事件后,將通知oracle kernel追蹤會(huì)話的相關(guān)即時(shí)信息,并寫入到相應(yīng)trace文件中。這些有用的信息主要包括sql是如何進(jìn)行解析,綁定變量的使用情況,話中發(fā)生的等待事件等。
    Trace文件將會(huì)存放在 user_dump_dest 所指向的目錄,如,C:\ent\oracle\admin\o10g01\udump

    Event 10046可分成不同的級(jí)別(level),分別追蹤記錄不同程度的有用信息。對(duì)于這些不同的級(jí)別,應(yīng)當(dāng)注意的是向下兼容的,即高一級(jí)的trace信息包含低于此級(jí)的所有信息。
    ??? level 1:跟蹤sql語句,包括解析、執(zhí)行、提取、提交和回滾等。
    ??? level 4:包括變量的詳細(xì)信息
    ??? level 8:包括等待事件
    ??? level 12:包括綁定變量與等待事件
    其中,level 1相當(dāng)于打開了sql_trace。

    在當(dāng)前會(huì)話啟用event,可以利用alter session + 事件名稱 + level:
    SQL> alter session set event ‘10046 trace name context forever, level 12’;

    關(guān)閉當(dāng)前會(huì)話的event:
    SQL> alter session set event ‘10046 trace name context off’;

    這里應(yīng)當(dāng)值得一提的是,TRACE將消耗相當(dāng)?shù)南到y(tǒng)資源,因此我們?cè)谑褂肨RACE的時(shí)候應(yīng)當(dāng)慎重。對(duì)于正式的系統(tǒng),應(yīng)當(dāng)只在必要的時(shí)候進(jìn)行TRACE操作,并且應(yīng)當(dāng)及時(shí)關(guān)閉。
    posted @ 2008-12-19 15:19 Jcat 閱讀(255) | 評(píng)論 (0)編輯 收藏
    孫悅和菲爾.jpg
    湖人vs雄鹿,第四節(jié)垃圾時(shí)間,孫悅終于替補(bǔ)出場(chǎng)。

    孫悅失誤了隊(duì)友安慰他.jpg
    上來就3個(gè)犯規(guī),1個(gè)運(yùn)球失誤,顯得很緊張,身體僵硬。又失誤了,隊(duì)友安慰他。
    然后1個(gè)三分的機(jī)會(huì),沒進(jìn),動(dòng)作很僵硬。

    孫悅投進(jìn)NBA第一球.jpg
    終于有個(gè)中距離的機(jī)會(huì),孫悅投中了,全場(chǎng)鼓掌!
    后來又有一個(gè)反擊的機(jī)會(huì),孫悅籃下打板進(jìn)了,繼續(xù)鼓掌!


    恭賀菜鳥的第一次NBA亮相!
    posted @ 2008-12-08 13:07 Jcat 閱讀(295) | 評(píng)論 (1)編輯 收藏
    2008

    11-25 XX is a brilliant scientist.

    11-26 She used to knit her brows when meeting with a difficult problem.

    11-27 The tea bubbled in the pot.

    11-28 I budgeted for a daily expenditure of 15 dollars.

    11-29 The elephant lowered its huge bulk.

    11-30 She bumped her arm against the door.

    12-1 He has lost the bunch of keys and cannot unlock the door.

    12-2 We collected a bundle of old clothes to be given to them.

    12-3 He has found a job in the Washington Bureau of the Associated Press.

    12-4 Whenever I have to stand up to make a speech, I get butterflies in my stomach.

    12-5 How much does it cost for the first cabin.

    12-6 Put all these documents into a filing cabinet.

    12-7 The messages have come by cable.

    12-8 He has calculated the advantage and disadvantage before making the decision.

    12-9 The calendar shows that Christmas will fall on a Monday.

    12-10 He announced that he would campaign for the senate.

    12-11 The Princeton campus has developed into one of the most attractive school in the USA.

    終于還是沒堅(jiān)持下來,看來堅(jiān)持不懈做一件很小的事也是很難的。



    posted @ 2008-12-03 12:07 Jcat 閱讀(290) | 評(píng)論 (0)編輯 收藏
    Oracle Database的大版本號(hào)由兩部分組成:數(shù)字+字母,數(shù)字自然是大版本號(hào),字母則是代表了這個(gè)版本的“中心思想”

    8i(1998),9i(2001):那時(shí)候正好互聯(lián)網(wǎng)興起,i就代表internet(網(wǎng)絡(luò))

    10g(2003),11g(2007):現(xiàn)在主推分布式計(jì)算,g就代表grid(網(wǎng)格)



    另外,還有個(gè)11i,這容易引起混淆,其實(shí)11i是指Oracle EBS(E-Business Suite電子商務(wù)套件)的版本號(hào),其實(shí)就是Oracle ERP。(這好像跟Oracle Database沒什么必然聯(lián)系,我也不知道這個(gè)i代表什么)

    這也說明Oracle不等于Oracle Database。平常我們說“Oracle”,一般都是指Oracle Database,當(dāng)然這是它最著名的產(chǎn)品;不過,其實(shí)Oracle早就已經(jīng)不是一家數(shù)據(jù)庫廠商了,而是航母級(jí)廠商,東收西購,啥都有了。


    我見過這樣的問題:“
    從版本命名來看8i-9i-10g-11i,是不是意味著grid只是曇花一現(xiàn)?”顯然這就是混淆了Oracle Database和Oracle ERP。



    ----以下是一些參考----
    In 1998, Oracle announced Oracle8i, which is sometimes referred to as Version 8.1 of the Oracle8 database. The i was added to denote added functionality supporting Internet deployment in the new version. Oracle9i followed, with Application Server available in 2000 and Database Server in 2001.

    Oracle Database 10g was introduced in 2003; the g denotes Oracle's focus on emerging grid deployment models.

    Oracle 11i refers to the Oracle ERP Application Suite (often called Oracle E-Business Suite) and really has nothing to do with the database. The latest release (12) will be referred to as 12i. The confusing part is that Oracle used to call its database "i" for "internet" in releases 8 and 9, but now calls the database "g" for "grid". So, to summarize, Oracle 11i refers to the apps and Oracle 11g refers to the database




    posted @ 2008-11-17 22:32 Jcat 閱讀(1342) | 評(píng)論 (1)編輯 收藏
    Groovy把最常用的東西都設(shè)置成default了,經(jīng)常可以省這省那的(比如括號(hào)、分號(hào)、public等);又加上閉包,初學(xué)的時(shí)候,有些代碼,一眼望去,都分不清是方法、是類、還是閉包。
    這里先簡(jiǎn)單總結(jié)一下常用的修飾符。

    package?jcat.bit.g

    /*
    修飾符有三類:
    1.?static
    2.?作用域:public(默認(rèn)),?private,?protected.
    3.?類型:def(默認(rèn),動(dòng)態(tài)),?void(無類型,靜態(tài)),?其它常規(guī)靜態(tài)類型
    */
    class?Test?{
    ????
    static?def?a_static_def?=?'a_static_def'
    ????
    static?a_static?=?'a_static'
    ????def?a_def?
    =?'a_def'

    ????
    static?void?main(strs)?{
    ????????println?a_static_def
    ????????println?a_static

    ????????println?t_static_def()
    ????????println?t_static()


    ????????
    new?Test().with?{
    ????????????println?a_def

    ????????????println?t_public_def()
    ????????????println?t_public()
    ????????????println?t_def()
    ????????}
    ????}

    ????
    static?def?t_static_def()?{?//?def?=?可以返回任何類型,包括void
    ????????return?"t_static_def"
    ????}

    ????
    static?t_static()?{?//?有其它修飾符可以省略def(默認(rèn)public?+?def
    ????????return?"t_static"
    ????}

    ????
    public?def?t_public_def()?{
    ????????
    return?"t_public_def"
    ????}

    ????
    public?t_public()?{?//?默認(rèn)def
    ????????return?"t_public"
    ????}

    ????def?t_def()?{?
    //?至少要有一個(gè)修飾符,所以這個(gè)def不能省略;?且默認(rèn)public
    ????????return?"t_def"
    ????}

    ????
    static?void?t_static_void()?{
    ????????
    //return?"t_static_void"????//?cannot?return?an?object?from?a?method?that?returns?"void"
    ????}
    }
    posted @ 2008-11-10 12:30 Jcat 閱讀(1446) | 評(píng)論 (0)編輯 收藏

    用JDBC操作數(shù)據(jù)庫,對(duì)比一下Java和Groovy。

    環(huán)境:SQL Server 2000 (記得打補(bǔ)丁SP4,不然JDBC訪問會(huì)報(bào)錯(cuò))
    JDBC Driver:msbase.jar,mssqlserver.jar,msutil.jar

    Java版

    package ?jcat.bit.java;

    import ?java.sql. * ;

    public ? class ?JDBC?{
    ????
    public ? static ? void ?main(String[]?args)? throws ?ClassNotFoundException,?SQLException?{
    ????????Class.forName(
    " com.microsoft.jdbc.sqlserver.SQLServerDriver " );
    ????????Connection?conn?
    = ?DriverManager.getConnection(
    ????????????????
    " jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=pubs " ,
    ????????????????
    " sa " ,? "*** " );

    ????????Statement?stmt?
    = ?conn.createStatement();
    ????????ResultSet?rs?
    = ?stmt.executeQuery( " select?top?10?*?from?authors " );

    ????????
    while ?(rs.next())?{
    ????????????System.out.println(rs.getString(
    2 ) + " ? " + rs.getString( 3
    ));??//?數(shù)id
    ????????}


    ????????rs.close();
    ????????stmt.close();
    ????????conn.close();

    ????}
    }



    Groovy版
    package?jcat.bit.groovy

    import?groovy.sql.Sql

    class?JDBC?{
    ????
    static?void?main(args)?{
    ????????Sql?sql?
    =?Sql.newInstance(
    ????????????????
    "jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=pubs",
    ????????????????
    "sa",?"***",
    ????????????????
    "com.microsoft.jdbc.sqlserver.SQLServerDriver")
    ????????sql.eachRow(
    "select?top?10?*?from?authors")?{row?->
    ????????????println?row.au_fname?
    +?"?"?+?row.au_lname????//直接用數(shù)據(jù)庫的字段名就可以操作結(jié)果集了,不用去數(shù)id
    ????????}

    ????}
    }


    總結(jié)
    1. 建立查詢,差別不大,都是JDBC那一套;Groovy不用處理異常
    2. 處理查詢結(jié)果,Groovy因?yàn)橛虚]包,處理這些迭代問題很方便
    3. Groovy不用關(guān)閉
    posted @ 2008-11-07 15:02 Jcat 閱讀(1670) | 評(píng)論 (3)編輯 收藏
    僅列出標(biāo)題
    共17頁: 上一頁 1 2 3 4 5 6 7 8 9 下一頁 Last 
    主站蜘蛛池模板: 黄色毛片免费观看| 日日麻批免费40分钟无码| 亚洲国产精品人人做人人爽| 一区二区免费电影| 亚洲视频精品在线| 午夜影视在线免费观看| h在线看免费视频网站男男| 亚洲综合免费视频| 国产伦精品一区二区三区免费迷| 好湿好大好紧好爽免费视频| 亚洲伦理一二三四| 国产乱辈通伦影片在线播放亚洲 | 麻豆高清免费国产一区| 亚洲人成人网站18禁| 亚洲中久无码永久在线观看同| 99在线精品免费视频九九视| 日本永久免费a∨在线视频| 亚洲精品电影在线| 久久久久国产亚洲AV麻豆| 可以免费看黄的网站| 三年片免费观看大全国语| 亚洲色最新高清av网站| 亚洲产国偷V产偷V自拍色戒| 国产一区在线观看免费| 免费福利在线播放| a级毛片免费全部播放| 美女啪啪网站又黄又免费| 亚洲一级毛片中文字幕| 亚洲日韩一页精品发布| 蜜臀91精品国产免费观看| 免费女人高潮流视频在线观看| 污污的视频在线免费观看| 亚洲免费福利在线视频| 亚洲综合成人网在线观看| 中文字幕在线亚洲精品| 国产在线98福利播放视频免费| 国产大片91精品免费观看不卡| a毛片免费全部播放完整成| 免费在线观看一区| 亚洲人成无码网站在线观看 | 国产VA免费精品高清在线|