アーカイブ

Archive for 2013年8月

Public bookmarks 08/08/2013 (p.m.)


    •  

       

    •  

       

    • 全品食べ放題・飲み放題
       【コリアンBBQコース】
       お一人様¥3,990(税込)
    • 営業時間【2時間制/90分ラストオーダー】
        【月~金】17:00~23:00
        【土日祝】12:00~23:00
       ※最終入店は21:30となります。
       ※雨天・荒天時はご利用できないことがございます。
    • 品川ビアガーデン
    • 〒108-0074 東京都港区高輪3-13-3 品川フィッシングガーデン
    • 飲む前に魚釣り♪
    • 080-3365-8075

Posted from Diigo. The rest of my favorite links are here.

カテゴリー:Uncategorized

Public bookmarks 08/06/2013 (a.m.)


    • The $elemMatch projection operator limits the contents of an array field that is included in the query results to contain only the array element that matches the $elemMatch condition.

Posted from Diigo. The rest of my favorite links are here.

カテゴリー:Uncategorized

Public bookmarks 08/04/2013 (p.m.)


Posted from Diigo. The rest of my favorite links are here.

カテゴリー:Uncategorized

Public bookmarks 08/03/2013 (p.m.)


    • A rollback reverts write operations on a former primary when the member rejoins its replica set after a failover. A rollback is necessary only if the primary had accepted write operations that the secondaries had not successfully replicated before the primary stepped down. When the primary rejoins the set as a secondary, it reverts, or “rolls back,” its write operations to maintain database consistency with the other members.

       

      MongoDB attempts to avoid rollbacks, which should be rare. When a rollback does occur, it is often the result of a network partition. Secondaries that can not keep up with the throughput of operations on the former primary, increase the size an impact of the rollback.

       

      A rollback does not occur if the write operations replicate to another member of the replica set before the primary steps down and if that member remains available and accessible to a majority of the replica set.

Posted from Diigo. The rest of my favorite links are here.

カテゴリー:Uncategorized

Public bookmarks 08/03/2013 (a.m.)


    • Trong số hàng chục nghìn GS, PGS của nước ta, mỗi năm chúng ta chỉ có một vài đăng ký phát minh sáng chế ở nước ngoài. Ví dụ năm 2011 chúng ta chỉ có 5 sáng chế, cho đến nay không có nữa. Trong khi đó, các nước phát triển ở châu Á như Hàn Quốc có hàng nghìn, Phi-pi-pin là nước có trình độ phát triển gần chúng ta, dân số gần chúng ta, họ cũng có vài trăm sáng chế/ năm.
    • Đặc biệt đáng lưu tâm là văn hóa xã hội, tức là vấn đề thuộc về tư tưởng, lối sống, đạo đức đang sa sút nghiêm trọng. Tôi lấy ví dụ, hiện nay có thể nói là cả nước ta bị một căn bệnh nói một đằng làm một nẻo. Đây là căn bệnh chung của đã có từ lâu lắm rồi nhưng nay thể hiện quá rõ, từ trong cơ quan, với hàng xóm láng giềng, với việc quốc gia… Đấy là điều đau lòng mà hậu quả chắc chắn là rất lớn.
    • TBT Nguyễn Phú Trọng đã tổng kết rồi: Thứ nhất hậu duệ, thứ hai quan hệ, thứ ba tiền tệ, thứ tư mới đến trí tuệ.
    • Người dân hiện nay có một điều rất đáng lo là người ta không nói như người ta nghĩ và người ta không làm như người ta nói.
    • Tôi cho rằng vai trò trí thức rất quan trọng, trí thức là phải dấn thân, tất nhiên là có nhiều kiểu dấn thân. Có những người chỉ dấn thân trong chuyên môn thôi, như thế cũng đáng quý. Bởi vì nếu anh dấn thân trong chuyên môn, anh hy sinh thời gian, anh hy sinh những cám dỗ về vật chất để anh sáng tạo ra những sản phẩm mới cho xã hội thì rất tốt. Bên cạnh đó ngày càng có nhiều người trí thức dấn thân cho xã hội, người ta cảnh báo xã hội về những khó khăn, những nguy cơ, người ta nêu ra những sáng kiến để vượt qua những khó khăn, những nguy cơ ấy cho nhà lãnh đạo cũng như cho công chúng. Nhưng rõ ràng chúng ta không thể nào mong muốn được tất cả, tức là được sự chu toàn cho bản thân, được giàu có mà lại vẫn là một người thức tỉnh xã hội, chuyện đó là cực kỳ khó. Không ai có thể một lúc được tất cả như thế. Cho nên phải chấp nhận những sự thiệt thòi, nếu mình coi sự đóng góp cho xã hội là việc quan trọng thì sẽ phải hy sinh những thứ khác.

Posted from Diigo. The rest of my favorite links are here.

カテゴリー:Uncategorized

Public bookmarks 08/02/2013 (p.m.)


Posted from Diigo. The rest of my favorite links are here.

カテゴリー:Uncategorized

Public bookmarks 08/01/2013 (p.m.)


    • If the query includes equality match conditions on an index prefix, you can sort on a subset of the index that starts after or overlaps with the prefix. For example, given an index { a: 1, b: 1, c: 1, d: 1 }, if the query condition includes equality match conditions on a and b, you can specify a sort on the subsets { c: 1 } or { c: 1, d: 1 }:
    • The following operations specify a sort document of { c: 1 }, but the query documents do not contain equality matches on the preceding index fields a and b:

       

      db.collection.find( { a: { $gt: 2 } } ).sort( { c: 1 } ) db.collection.find( { c: 5 } ).sort( { c: 1 } ) 

       

       

      These operations will not efficiently use the index { a: 1, b: 1, c: 1, d: 1 } and may not even use the index to retrieve the documents.

Posted from Diigo. The rest of my favorite links are here.

カテゴリー:Uncategorized

Public bookmarks 08/01/2013 (a.m.)

カテゴリー:Uncategorized