<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>light-hearted.net</title>
  <link rel="alternate" type="text/html" href="http://www.light-hearted.net/" />
  <link rel="self" href="http://www.light-hearted.net/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2010-08-20T15:31:23.2107299+09:00</updated>
  <author>
    <name>yama3</name>
  </author>
  <subtitle>人は計画を立て、神はそれを笑う</subtitle>
  <id>http://www.light-hearted.net/</id>
  <generator uri="http://www.dasblog.net" version="1.9.7174.0">DasBlog</generator>
  <entry>
    <title>winrs</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2010/08/20/winrs.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,08910335-c343-46df-a339-593573d1d8ba.aspx</id>
    <published>2010-08-20T15:31:23.2107299+09:00</published>
    <updated>2010-08-20T15:31:23.2107299+09:00</updated>
    <category term="Windows" label="Windows" scheme="http://www.light-hearted.net/CategoryView,category,Windows.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
winrm set winrm/config/client @{TrustedHosts="&lt;server&gt;"}<br />
winrs -r:&lt;server&gt; -u:administrator cmd
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>IronPythonなのです。</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2010/08/12/IronPython%e3%81%aa%e3%81%ae%e3%81%a7%e3%81%99.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,e0dfd42c-4974-4b91-bd54-a30a1fbeb0c1.aspx</id>
    <published>2010-08-12T13:26:45.9150000+09:00</published>
    <updated>2010-08-12T13:35:32.1461998+09:00</updated>
    <category term=".NET" label=".NET" scheme="http://www.light-hearted.net/CategoryView,category,.NET.aspx" />
    <category term="DLR" label="DLR" scheme="http://www.light-hearted.net/CategoryView,category,DLR.aspx" />
    <category term="Python" label="Python" scheme="http://www.light-hearted.net/CategoryView,category,Python.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
もともとPythonを良く使ってたので、IronPythonには大きな期待をしていました。
</p>
        <p>
最近は仕事でも使ってます。
</p>
        <p>
で、こないだ書いたC#のコード。
</p>
        <blockquote>
          <pre>
            <span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;">
              <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">public</span>
              <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">class</span> Hoge
: BaseClass { <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">public</span> Hoge()
: <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">base</span>(“hoge.py”)
{ } }</span>
          </pre>
        </blockquote>のみです。 
<p>
ドン引きされたのは言うまでもなく。。。
</p><p>
BaseClassの方はまた今度。
</p></div>
    </content>
  </entry>
  <entry>
    <title>SQL Server ミラーリング</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2010/08/11/SQLServer%e3%83%9f%e3%83%a9%e3%83%bc%e3%83%aa%e3%83%b3%e3%82%b0.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,bb729184-1d4f-4c83-92df-d799b2406087.aspx</id>
    <published>2010-08-11T17:18:36.4154636+09:00</published>
    <updated>2010-08-11T17:18:36.4154636+09:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://www.light-hearted.net/CategoryView,category,SQL%2BServer.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
ミラーリングしたDBに .NET アプリからSQL Server認証でアクセスする場合、<br />
同名のログインをプリンシパルとミラーに作る必要がある。
</p>
        <p>
SIDが異なれば、ログイン名が同じでも異なるユーザと認識されるので、<br />
プリンシパルとミラーが自動で切り替わった場合、<br />
アプリからは接続できなくなるので注意が必要。
</p>
        <p>
SIDを調べる。
</p>
        <p>
-- プリンシパル側<br />
USE master;<br />
SELECT sid FROM master.sys.server_principals WHERE name = 'user1'
</p>
        <p>
そいで、CREATE LOGINでSIDを指定してやることで、SIDが同一のログインが作れる。
</p>
        <p>
-- ミラー側<br />
USE master<br />
CREATE LOGIN user1 WITH PASSWORD=’…’, SID=0x123…;<br />
USE db1;<br />
CREATE USER user1 FOR LOGIN user1 WITH DEFAULT_SCHEMA=dbo;
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>iPhone4買いました</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2010/08/09/iPhone4%e8%b2%b7%e3%81%84%e3%81%be%e3%81%97%e3%81%9f.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,2e2ecab4-0919-4679-a03e-ac32a8941bc7.aspx</id>
    <published>2010-08-10T02:11:27.8193026+09:00</published>
    <updated>2010-08-10T02:11:27.8193026+09:00</updated>
    <category term="Mobile" label="Mobile" scheme="http://www.light-hearted.net/CategoryView,category,Mobile.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">iPhoneユーザになりました。<br />
一部では裏切り者的な扱いを受けていますが、平気です。気にしません。<br /><br />
アプリ書こうかと思いましたが、Appleへの申請とかがうざくてやめました。<br /><br />
モバイルでアプリやるならAndroidじゃないでしょうか？<br />
「AndroidってJ2MEのGoogle拡張でしょ」って思ってましたが、<br />
Javaそのものもかなりのパッケージをサポートしてるんですね。さらに魅力的ですね。<br /><br />
誰かAndroidください。<br /><p></p></div>
    </content>
  </entry>
  <entry>
    <title>Entity Framework 4 CTP 4</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2010/08/09/EntityFramework4CTP4.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,1795ffb4-2d9c-4aa2-a47b-738ee50aa0c0.aspx</id>
    <published>2010-08-10T01:32:13.5224276+09:00</published>
    <updated>2010-08-10T01:32:13.5224276+09:00</updated>
    <category term=".NET" label=".NET" scheme="http://www.light-hearted.net/CategoryView,category,.NET.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">記事読んだだけで、手を動かせていない自分が嫌い。<br /><br /><a href="http://www.atmarkit.co.jp/fdotnet/scottgublog/20100726codefirst/codefirst.html">http://www.atmarkit.co.jp/fdotnet/scottgublog/20100726codefirst/codefirst.html<br /></a><br /><a href="http://weblogs.asp.net/scottgu/archive/2010/08/03/using-ef-code-first-with-an-existing-database.aspx">http://weblogs.asp.net/scottgu/archive/2010/08/03/using-ef-code-first-with-an-existing-database.aspx</a><br /><br />
EFは4からが本命だと思う。<br />
3はLINQまわりがあれなので、その辺を確認したい。<br /><p></p></div>
    </content>
  </entry>
  <entry>
    <title>VHD のオフラインパッチ by DISM</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2010/08/09/VHD%e3%81%ae%e3%82%aa%e3%83%95%e3%83%a9%e3%82%a4%e3%83%b3%e3%83%91%e3%83%83%e3%83%81ByDISM.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,cdafa8f8-3334-436a-845f-2d0221bf0fca.aspx</id>
    <published>2010-08-10T01:28:20.2724276+09:00</published>
    <updated>2010-08-10T01:28:20.2724276+09:00</updated>
    <category term="Virtualization" label="Virtualization" scheme="http://www.light-hearted.net/CategoryView,category,Virtualization.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">知らなんだ。<br /><br /><b>VHD のオフラインパッチ by DISM<br /></b><a href="http://blog.computerworld.jp/2010/08/09/offlinepatch-by-dism/">http://blog.computerworld.jp/2010/08/09/offlinepatch-by-dism/</a><br /><p></p></div>
    </content>
  </entry>
  <entry>
    <title>エラーの通知うざい</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2010/07/30/%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e9%80%9a%e7%9f%a5%e3%81%86%e3%81%96%e3%81%84.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,9c9493fc-3296-4aaf-b80c-8294f60cfa76.aspx</id>
    <published>2010-07-30T16:40:41.1529769+09:00</published>
    <updated>2010-07-30T16:40:41.1529769+09:00</updated>
    <category term="Windows" label="Windows" scheme="http://www.light-hearted.net/CategoryView,category,Windows.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
gpedit.msc
</p>
        <p>
[ローカル コンピューター ポリシー]<br />
[コンピューターの構成]<br />
[管理用テンプレート]<br />
[Windows コンポーネント]<br />
[Windows エラー報告]<br />
「エラーの通知を表示する」を無効にする
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>生きてますよ。</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2010/04/13/%e7%94%9f%e3%81%8d%e3%81%a6%e3%81%be%e3%81%99%e3%82%88.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,45694fa2-fa36-4d62-be20-c9b4a10e97da.aspx</id>
    <published>2010-04-13T17:18:33.0436108+09:00</published>
    <updated>2010-04-13T17:18:33.0436108+09:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
ここ数カ月アホみたいな労働状況で、ここの存在を忘れかけてました。<br />
前回のポストが今年だったことに、驚いています。。。
</p>
        <p>
友人から生存確認メールが来たので、応答します。
</p>
        <p>
技術的にやりたいことは山盛りです。<br />
積読も山盛りです。
</p>
        <p>
ですが、時間が全く取れんのです。<br />
以上。ちょっと愚痴ってみました。
</p>
        <p>
それでは。
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>ネタかと思った</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2010/01/14/%e3%83%8d%e3%82%bf%e3%81%8b%e3%81%a8%e6%80%9d%e3%81%a3%e3%81%9f.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,911c7233-f2a1-4423-affb-467703d614c4.aspx</id>
    <published>2010-01-14T10:15:23.2295443+09:00</published>
    <updated>2010-01-14T10:15:23.2295443+09:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
いやまぢで。
</p>
        <p>
          <strong>Entity Framework 4 では Native SQL が実行可能<br /></strong>
          <a href="http://blogs.msdn.com/daisukei/archive/2010/01/12/entity-framework-4-native-sql.aspx">http://blogs.msdn.com/daisukei/archive/2010/01/12/entity-framework-4-native-sql.aspx</a>
        </p>
        <p>
やっぱり、こういう切り口がないと広く普及しないのかなぁと。
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>まずは読んどけ</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2010/01/12/%e3%81%be%e3%81%9a%e3%81%af%e8%aa%ad%e3%82%93%e3%81%a9%e3%81%91.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,f305d4b8-d3b4-4ed8-a9b1-31c0ec46b743.aspx</id>
    <published>2010-01-12T14:16:46.0372750+09:00</published>
    <updated>2010-01-12T14:16:46.0372750+09:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
と言いたい記事。
</p>
        <p>
          <strong>Hello World, Windows Azure Platform!!<br /></strong>
          <a href="http://blogs.msdn.com/nakama/archive/2010/01/08/hello-world-windows-azure-platform.aspx">http://blogs.msdn.com/nakama/archive/2010/01/08/hello-world-windows-azure-platform.aspx</a>
        </p>
        <p>
赤間さんの記事です。<br />
まだ未完のようですが、大作の予感です。
</p>
        <p>
確かにいろんな人と話してると「クラウド」に対する考え方・思いが違いますよね。<br />
ただ、「使ってる」っていう人にはあんまり会ったことないのが正直なところ。
</p>
        <p>
私が使うクラウドはコンピュートサービスで、短期決戦的にパワー（CPUとメモリ）が欲しいときに使うくらい。
</p>
        <p>
設計・開発する人としては、ある程度の粒度で作っておいて、必要な時に追加とか削除ができる作りにしておくこと。ってことなんだろうけど、そうなると「どの部分に負荷がかかるのか？（キャパシティプランニング）」を知る方法が必要だよな。あとは、「どのデータをクラウド側へ持ってくか？」とかも。
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Flash Player 10.1</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2009/12/31/FlashPlayer101.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,72efdd5b-4f78-4aa5-ab20-59ec57a36e0c.aspx</id>
    <published>2009-12-31T18:11:01.8195729+09:00</published>
    <updated>2009-12-31T18:11:01.8195729+09:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
ふと、Flash Player 10.1 が Windows Mobile に対応するベータ版を<br />
年内にリリースするというのを思い出したので調べてみる。
</p>
        <p>
まだみたい。
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>2009 ends soon.</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2009/12/31/2009EndsSoon.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,d982bb65-8e82-434a-a968-c04284ccd091.aspx</id>
    <published>2009-12-31T17:30:20.2101979+09:00</published>
    <updated>2009-12-31T17:30:20.2101979+09:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
って、このタイトルって合ってるのか？
</p>
        <p>
「2009年ももうすぐ終わり」と書きたかっただけです。
</p>
        <p>
2009年は4月（特に夏）以降忙しすぎてブログの更新がほとんどできませんでした。<br />
ポストしても、ほとんどメモ代わりのものばかり。。。
</p>
        <p>
2010年は更新頑張ります。
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Windows 7 で デバイスセンター</title>
    <link rel="alternate" type="text/html" href="http://www.light-hearted.net/2009/12/18/Windows7%e3%81%a7%e3%83%87%e3%83%90%e3%82%a4%e3%82%b9%e3%82%bb%e3%83%b3%e3%82%bf%e3%83%bc.aspx" />
    <id>http://www.light-hearted.net/PermaLink,guid,75123270-cf2e-4ab5-833d-4adc3ad35155.aspx</id>
    <published>2009-12-18T10:44:30.1513950+09:00</published>
    <updated>2009-12-18T10:44:30.1513950+09:00</updated>
    <category term="Mobile" label="Mobile" scheme="http://www.light-hearted.net/CategoryView,category,Mobile.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
って、Vista 用のままなの？
</p>
        <p>
          <a href="http://www.microsoft.com/windowsmobile/ja-jp/downloads/microsoft/default.mspx">http://www.microsoft.com/windowsmobile/ja-jp/downloads/microsoft/default.mspx</a>
        </p>
        <p>
この辺に現状の Windows Mobile のおかれてる立場が見え隠れ。。。
</p>
      </div>
    </content>
  </entry>
</feed>