<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Caname's PC Life</title>
<link>https://ameblo.jp/caname3190/</link>
<atom:link href="https://rssblog.ameba.jp/caname3190/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>最近はオープンソースだったり，タブレットだったりパソにまつわる新しいネタがつきない。新しもん好きで冷めやすいもののとりあえず追っかけてみたい衝動にかられ，ブログを作ってみます(笑)。PCがらみなネタぐらいしか書けないのですが…よろしくお願いします!!</description>
<language>ja</language>
<item>
<title>Windows Serviceへの追加</title>
<description>
<![CDATA[ 立て続けの更新。というよりは前回の続き（＾◇＾）。<br><br>「XMAPPの使い方」（http://www.adminweb.jp/xampp/）というサイトを参考に設定をしていると，<br><div style="text-align: center;"><img thum_style="width:220px; height:141px;" thum_src="http://stat.ameba.jp/user_images/20150820/07/caname3190/75/a5/p/t02200141_0743047613401179345.png" orig_style="width:743px; height:476px;" orig_src="http://stat.ameba.jp/user_images/20150820/07/caname3190/75/a5/p/o0743047613401179345.png" src="https://stat.ameba.jp/user_images/20150820/07/caname3190/75/a5/p/t02200141_0743047613401179345.png" id="1441105352955" ratio="1.5384615384615385" class="selected" style="line-height: 1.5; width: 80px; height: 51.2727272727273px; padding-top: 14.3636363636364px;"><br><p></p><span style="line-height: 1.5;">コントロールパネルの「Services」をクリックするとWindowsサービスに登録できると書いてあったのだが…押せない！</span></div>で，いろいろ調べたら，「XAMPP Contorol Panel」を「管理者として実行」で起動すればできるとのこと。早速やってみた。<br><div style="text-align: center;"><img thum_style="width:220px; height:333px;" thum_src="http://stat.ameba.jp/user_images/20150820/07/caname3190/15/69/p/t02200333_0484073313401181531.png" orig_style="width:484px; height:733px;" orig_src="http://stat.ameba.jp/user_images/20150820/07/caname3190/15/69/p/o0484073313401181531.png" src="https://stat.ameba.jp/user_images/20150820/07/caname3190/15/69/p/t02200333_0484073313401181531.png" id="1441105261621" ratio="0.6625" style="line-height: 1.5; width: 52.8528528528529px; height: 80px; padding-top: 0px;"></div>すると，「Services」欄が先ほどと違う表示になった。「×」が付いている。<br><div style="text-align: center;"><img thum_style="width:220px; height:141px;" thum_src="http://stat.ameba.jp/user_images/20150820/07/caname3190/9f/a5/p/t02200141_0743047613401182703.png" orig_style="width:743px; height:476px;" orig_src="http://stat.ameba.jp/user_images/20150820/07/caname3190/9f/a5/p/o0743047613401182703.png" src="https://stat.ameba.jp/user_images/20150820/07/caname3190/9f/a5/p/t02200141_0743047613401182703.png" id="1440368788339" ratio="1.5384615384615385" class="selected" style="line-height: 1.5; width: 80px; height: 51.2727272727273px; padding-top: 14.3636363636364px;"></div>そこをクリックしたら次のような画面に進展。<br><div style="text-align: center;"><img thum_style="width:220px; height:78px;" thum_src="http://stat.ameba.jp/user_images/20150820/07/caname3190/fc/8e/p/t02200078_0376013413401183149.png" orig_style="width:376px; height:134px;" orig_src="http://stat.ameba.jp/user_images/20150820/07/caname3190/fc/8e/p/o0376013413401183149.png" src="https://stat.ameba.jp/user_images/20150820/07/caname3190/fc/8e/p/t02200078_0376013413401183149.png" id="1440368788379" ratio="2.857142857142857" class="selected" style="line-height: 1.5; width: 80px; height: 28.3636363636364px; padding-top: 25.8181818181818px;"></div>Windowsサービスへの登録が終わると先ほどまで「×」になっていた箇所が「✓」になる。どうやらこれでいいようだ。<br><div style="text-align: center;"><img thum_style="width:220px; height:141px;" thum_src="http://stat.ameba.jp/user_images/20150820/07/caname3190/53/d7/p/t02200141_0743047613401184098.png" orig_style="width:743px; height:476px;" orig_src="http://stat.ameba.jp/user_images/20150820/07/caname3190/53/d7/p/o0743047613401184098.png" src="https://stat.ameba.jp/user_images/20150820/07/caname3190/53/d7/p/t02200141_0743047613401184098.png" id="1440368926232" ratio="1.5384615384615385" class="selected" style="line-height: 1.5; width: 80px; height: 51.2727272727273px; padding-top: 14.3636363636364px;"></div>ただ，登録しただけではダメで，サービスをスタートさせなければならない。そこで「XAMPP Control Panel」の右側にある「Services」ボタンをクリック。<br><div style="text-align: center;"><img thum_style="width:220px; height:141px;" thum_src="http://stat.ameba.jp/user_images/20150824/07/caname3190/da/f2/p/t02200141_0744047713404951218.png" orig_style="width:744px; height:477px;" orig_src="http://stat.ameba.jp/user_images/20150824/07/caname3190/da/f2/p/o0744047713404951218.png" src="https://stat.ameba.jp/user_images/20150824/07/caname3190/da/f2/p/t02200141_0744047713404951218.png" id="1440369289437" ratio="1.5384615384615385" class="selected" style="line-height: 1.5; width: 80px; height: 51.2727272727273px; padding-top: 14.3636363636364px;"><br><div style="text-align: left;">Windowsサービスが表示されるので，アルファベット順に並べ替えると，「Apache 2.4」が追加されている。</div></div><div style="text-align: center;"><img thum_style="width:220px; height:122px;" thum_src="http://stat.ameba.jp/user_images/20150824/07/caname3190/ea/c0/p/t02200122_0800044413404952129.png" orig_style="width:800px; height:444px;" orig_src="http://stat.ameba.jp/user_images/20150824/07/caname3190/ea/c0/p/o0800044413404952129.png" src="https://stat.ameba.jp/user_images/20150824/07/caname3190/ea/c0/p/t02200122_0800044413404952129.png" id="1440369289672" ratio="1.8181818181818181" class="selected" style="line-height: 1.5; width: 80px; height: 44.3636363636364px; padding-top: 17.8181818181818px;"></div>今の状態は「サービスに登録されているだけ」なので，「Apache 2.4」をダブルクリックして，プロパティを開き，サービスを開始させる。<br><div style="text-align: center;"><img thum_style="width:220px; height:200px;" thum_src="http://stat.ameba.jp/user_images/20150824/07/caname3190/42/52/p/t02200200_0486044213404953954.png" orig_style="width:486px; height:442px;" orig_src="http://stat.ameba.jp/user_images/20150824/07/caname3190/42/52/p/o0486044213404953954.png" src="https://stat.ameba.jp/user_images/20150824/07/caname3190/42/52/p/t02200200_0486044213404953954.png" id="1440369329680" ratio="1.1111111111111112" style="line-height: 1.5; width: 80px; height: 72.7272727272727px; padding-top: 3.63636363636364px;"></div><div style="text-align: center;"><img thum_style="width:220px; height:83px;" thum_src="http://stat.ameba.jp/user_images/20150824/07/caname3190/5d/69/p/t02200083_0457017213404954599.png" orig_style="width:457px; height:172px;" orig_src="http://stat.ameba.jp/user_images/20150824/07/caname3190/5d/69/p/o0457017213404954599.png" src="https://stat.ameba.jp/user_images/20150824/07/caname3190/5d/69/p/t02200083_0457017213404954599.png" id="1440369378516" ratio="2.6666666666666665" class="selected" style="line-height: 1.5; width: 80px; height: 30.1818181818182px; padding-top: 24.9090909090909px;"><br><div style="text-align: left;">とりあえずここまで来た。</div></div>
]]>
</description>
<link>https://ameblo.jp/caname3190/entry-12063712007.html</link>
<pubDate>Mon, 24 Aug 2015 07:38:03 +0900</pubDate>
</item>
<item>
<title>ひさびさの更新</title>
<description>
<![CDATA[ およそ10か月ぶりの更新(笑)。<br><br>今年，教えている科目でphpに触れなければならなくなり，勉強を始めてみました。<br>誰かに広める…というよりは自分の備忘録のような感じで書いていこうと思っています。<br><br>もともとphpやMySQLは勉強したいと思っていたので，ほんのちょっとだけ本を見ながらかじったことがある。でも，今回は授業で扱うので，使い倒してみるぐらいの勢いでがんばってみようかな～と思っています。<br><br>とりあえず，phpの環境を構築するべく，XAMPPをインストールするためにダウンロードページ（https://www.apachefriends.org/jp/download.html）にアクセス。<br><a href="http://blog.ameba.jp/ucs/entry/srventryinsertinput.do#"></a><p style="text-align: center; "><a href="http://stat.ameba.jp/user_images/20150819/20/caname3190/5a/7f/p/o0800038513400795419.png"><img src="https://stat.ameba.jp/user_images/20150819/20/caname3190/5a/7f/p/t02200106_0800038513400795419.png" style="width:220px; height:106px; border:none;" alt="ダウンロードサイト" ratio="2.0754716981132075" id="1439997222915"></a></p><p></p><br>一応，バージョンが新しい方を選択してダウンロード。<br><div style="text-align: center;"><img thum_style="width:220px; height:184px;" thum_src="http://stat.ameba.jp/user_images/20150819/23/caname3190/2e/7b/p/t02200184_0516043113401026232.png" orig_style="width:516px; height:431px;" orig_src="http://stat.ameba.jp/user_images/20150819/23/caname3190/2e/7b/p/o0516043113401026232.png" src="https://stat.ameba.jp/user_images/20150819/23/caname3190/2e/7b/p/t02200184_0516043113401026232.png" id="1439997277798" ratio="1.2121212121212122" class="selected" style="line-height: 1.5; width: 80px; height: 66.9090909090909px; padding-top: 6.54545454545455px;"></div><p></p><div style="text-align: center;"><div style="text-align: left;">入れられるすべてをインストール。<br><div style="text-align: center;"><img thum_style="width:220px; height:184px;" thum_src="http://stat.ameba.jp/user_images/20150819/23/caname3190/e3/06/p/t02200184_0516043113401029939.png" orig_style="width:516px; height:431px;" orig_src="http://stat.ameba.jp/user_images/20150819/23/caname3190/e3/06/p/o0516043113401029939.png" src="https://stat.ameba.jp/user_images/20150819/23/caname3190/e3/06/p/t02200184_0516043113401029939.png" id="1439997849510" ratio="1.2121212121212122" class="selected" style="line-height: 1.5; width: 80px; height: 66.9090909090909px; padding-top: 6.54545454545455px;"></div><div style="text-align: center;"><p></p><span style="text-align: left; line-height: 1.5;"><div style="text-align: center;"><div style="text-align: left;"><span style="line-height: 1.5;">XAMPPのコントロールパネルでApacheを起動しようとしたら，エラーが発生。</span></div><img thum_style="width:220px; height:141px;" thum_src="http://stat.ameba.jp/user_images/20150820/00/caname3190/be/86/p/t02200141_0743047613401036633.png" orig_style="width:743px; height:476px;" orig_src="http://stat.ameba.jp/user_images/20150820/00/caname3190/be/86/p/o0743047613401036633.png" src="https://stat.ameba.jp/user_images/20150820/00/caname3190/be/86/p/t02200141_0743047613401036633.png" style="text-align: center; line-height: 1.5; width: 80px; height: 51.2727272727273px; padding-top: 14.3636363636364px;" id="1439997847162" ratio="1.5384615384615385"><span style="line-height: 1.5; text-align: left;"><br><div style="text-align: left;"><span style="line-height: 1.5;">どうやらSkypeが使うポートとバッティングするようだ。な</span><span style="line-height: 1.5;">ので，Skypeの設定を変更。<br><div style="text-align: center;"><img thum_style="width:220px; height:155px;" thum_src="http://stat.ameba.jp/user_images/20150820/00/caname3190/f0/ea/p/t02200155_0796056213401039116.png" orig_style="width:796px; height:562px;" orig_src="http://stat.ameba.jp/user_images/20150820/00/caname3190/f0/ea/p/o0796056213401039116.png" src="https://stat.ameba.jp/user_images/20150820/00/caname3190/f0/ea/p/t02200155_0796056213401039116.png" id="1439997364239" ratio="1.4285714285714286" class="selected" style="line-height: 1.5; width: 80px; height: 56.3636363636364px; padding-top: 11.8181818181818px;"><br><div style="text-align: left;"><span style="line-height: 1.5;">で，Skypeを再起動。その後，再度ApacheをStartさせたらとりあえずは動いた。<br><div style="text-align: center;"><img thum_style="width:220px; height:141px;" thum_src="http://stat.ameba.jp/user_images/20150820/00/caname3190/3d/be/p/t02200141_0743047613401050854.png" orig_style="width:743px; height:476px;" orig_src="http://stat.ameba.jp/user_images/20150820/00/caname3190/3d/be/p/o0743047613401050854.png" src="https://stat.ameba.jp/user_images/20150820/00/caname3190/3d/be/p/t02200141_0743047613401050854.png" id="1439997825633" ratio="1.5384615384615385" class="selected" style="line-height: 1.5; width: 80px; height: 51.2727272727273px; padding-top: 14.3636363636364px;"><br><div style="text-align: left;"><span style="line-height: 1.5;">だいぶ長くなってしまったので，今回はここまで(笑)。<br><br></span></div><br></div></span></div></div></span><p></p></div></span></div></span><div style="text-align: left;"><div style="text-align: center;"><div style="text-align: left;"><p></p></div></div></div></div></div></div><span><p></p> </span>
]]>
</description>
<link>https://ameblo.jp/caname3190/entry-12063648884.html</link>
<pubDate>Thu, 20 Aug 2015 00:24:12 +0900</pubDate>
</item>
<item>
<title>落とし穴！</title>
<description>
<![CDATA[ <span style="color: rgb(132, 0, 132);"><span style="font-size: 14px;">久しぶりにブログを書きます(^_^;)。　長文で失礼します。<br><br>今年は授業でJavaを担当していますが，教材開発に追われながら毎日が過ぎていっています。<br>３年生の授業なので，もうあと３カ月ぐらいしかないのですが，情報ビジネス系の専門科目なので単に「パソコンが使える」ではなく，「え？　こんなことも知ってんの？」と思われるような卒業生を作りたいと思っています。<br><br>とは言え，理数離れと言われている現代で，サクサクとプログラミングができるという子は少ないんです。もちろん，選択科目を選ぶ段階で「好きだ」という理由で取ってくれている子も半分ぐらいはいます。でもみんなが好きな訳じゃない。でも，手続き型のプログラミングを２年生で勉強してきているので，Javaっぽいオブジェクト指向型プログラミングを形だけでもやっておこうという目標を立てて展開しています。<br><br>来週のお題を考えて，ファイルの読み込みと書き出しというJavaの本には必ず出ている項目に入ろうと相棒の先生と打ち合わせをして，教材開発に臨みました。自分としても「そんなに難しくはないだろう」とタカをくくっていたのですが，これが落とし穴の始まり…。<br><br>今まで，「テキストファイルってのはメモ帳で作るんだよ」と教えてきましたが，全面的には間違っている訳ではないのですが，厳密に言うと間違っているということに気づかされました。<br><br>Javaもいろいろな文字コードでコードを書くことも可能ですが，基本はutf-8です。<br>Windowsのメモ帳でも文字コードを「utf-8」で保存できることは知っていました。<br>でも，ダメなんです。GUI環境をswingで作って，JTextAreaに出力しようとすると先頭に「ゴミ」が…。「なんじゃこりゃ？」というのが正直な感想です。<br><br>他のくわしい先生にも協力してもらって，原因を突き止めました。<br>メモ帳でデータを作ると先頭にBOM(Byte Order Mark)という信号が入り，それが出力されてしまうのです。<br>結局，メモ帳に代わるエディタを探し，TeraPadというフリーウェアでutf-8N形式でデータを作ってうまくいきました。昨日の夕方から始めて，終わったのは今日の夕方…。もちろん他の仕事もあるのでこれにかかりっきりになっていた訳ではありませんが，なんか，コンピュータが分かっている気がしていたのですが，まだまだだな～と気付かされた感じです。同時に「面白いな～」とも思いました。<br><br>生徒にも「なぜ？」が楽しくなる授業ができたらと思っている今日この頃です。<br></span></span><p><a href="http://stat.ameba.jp/user_images/20141024/19/caname3190/59/3d/p/o0450030113107954955.png"><img src="https://stat.ameba.jp/user_images/20141024/19/caname3190/59/3d/p/t02200147_0450030113107954955.png" style="width:220px; height:147px; border:none;" alt="修正前" ratio="1.4965986394557824"></a></p><p></p><a></a><p><a href="http://stat.ameba.jp/user_images/20141024/19/caname3190/19/b0/p/o0450030113107954956.png"><img src="https://stat.ameba.jp/user_images/20141024/19/caname3190/19/b0/p/t02200147_0450030113107954956.png" style="width:220px; height:147px; border:none;" alt="修正後" ratio="1.4965986394557824"></a></p><p></p>
]]>
</description>
<link>https://ameblo.jp/caname3190/entry-11943422526.html</link>
<pubDate>Fri, 24 Oct 2014 19:06:46 +0900</pubDate>
</item>
<item>
<title>デュアルブート成功</title>
<description>
<![CDATA[ 今日は自分のPCにubuntu 13.04をインストールしてみました。<br>ネットカフェのPCで調べながらやってみました。前回失敗しているだけに、ドキドキしちゃいました。<br><br>一応、OSのインストール→火狐は使い慣れないのでChromeをインストール→ウイルス対策ソフト（AVG Anti-Virus for Linux 2013)をインストールしたところで時間切れ。<br><br>これだけ揃ってくれているとwindowsをわざわざお金を出して買うってことに疑問がわいてくる(；一_一)。<br><br>まだまだ使い慣れないので調べながらだけど、「端末」からコマンドを入力して…という昔懐かしい作業も多々あっておもしろい（これをおもしろいと感じるあたりがオタクなんだろうな、きっと(笑)）<br><br>とりあえず、無事にデュアルブートできるようになったことの報告でした。<a href="http://stat.ameba.jp/user_images/20130721/23/caname3190/4d/fc/j/o0800045012618063722.jpg" style="line-height: 1.5;"><img src="https://stat.ameba.jp/user_images/20130721/23/caname3190/4d/fc/j/t02200124_0800045012618063722.jpg" style="width:220px; height:124px; border:none;" ratio="1.7741935483870968" id="1374417418141"></a><a href="http://stat.ameba.jp/user_images/20130721/23/caname3190/e7/4c/j/o0311017512618063716.jpg" style="line-height: 1.5;"><img src="https://stat.ameba.jp/user_images/20130721/23/caname3190/e7/4c/j/t02200124_0311017512618063716.jpg" style="width:220px; height:124px; border:none;" ratio="1.7741935483870968"></a><a href="http://stat.ameba.jp/user_images/20130721/23/caname3190/62/40/j/o0800045012618063711.jpg" style="line-height: 1.5;"><img src="https://stat.ameba.jp/user_images/20130721/23/caname3190/62/40/j/t02200124_0800045012618063711.jpg" style="width:220px; height:124px; border:none;" ratio="1.7741935483870968" id="1374417419052"></a><p></p><p></p><p></p>
]]>
</description>
<link>https://ameblo.jp/caname3190/entry-11577540806.html</link>
<pubDate>Sun, 21 Jul 2013 23:29:04 +0900</pubDate>
</item>
<item>
<title>PCのリカバリ</title>
<description>
<![CDATA[ ubuntuをどうにかする前に、ちょっと前から普段使っているノートPCがだいぶ重くなってきていたので思い切ってリカバリ。いつも思うことだけど時間がかかるわかかるわ。しかもBTOのPCだからリカバリCDではなく、Win7そのものが付属していたので、OSを入れ、ドライバを個々にインストールし、Officeを入れ、Windows Updateをかけ、ウイルスソフトとブラウザ（Chrome）を入れ…っていつになったらまともに使えるんだろう(笑)。<br>Windows Updateが大変なことになってる。まぁ、Win7のServie Pack1まで適用のOSをインストールしてからだからそりゃアップデートもそんな簡単に終わるはずもなく、ブログを書いている間も裏でせっせとインストールしてくれている。<br><br>手間はかかるけど、それでもやっぱりリカバリすると軽くなった感じがする。まぁ、ソフトが増えればだんだんと重くなるんでしょうが…。<span style="line-height: 1.5; text-align: right;">早く終わらないかなぁ…<br><br></span><p><a href="http://stat.ameba.jp/user_images/20130717/20/caname3190/d2/00/j/o0800056312613211889.jpg"><img src="https://stat.ameba.jp/user_images/20130717/20/caname3190/d2/00/j/t02200155_0800056312613211889.jpg" style="width:220px; height:155px; border:none;" alt="アップデートなう(笑)" ratio="1.4193548387096775"></a></p><p></p><p></p>
]]>
</description>
<link>https://ameblo.jp/caname3190/entry-11574660958.html</link>
<pubDate>Wed, 17 Jul 2013 20:36:41 +0900</pubDate>
</item>
<item>
<title>作ってみた</title>
<description>
<![CDATA[ すげーすげー。初めてやったけど意外に簡単に作れるんだね～。という訳で初記事。<br><br>こんな調子なのにコンピュータを教えてていいのかしら？(笑)。<br>時代に取り残されつつある感じ。なんとか頑張ってついていこう。<br><br>
]]>
</description>
<link>https://ameblo.jp/caname3190/entry-11574068545.html</link>
<pubDate>Tue, 16 Jul 2013 23:43:16 +0900</pubDate>
</item>
</channel>
</rss>
