圧縮変換ソフトいろいろ

Archive Converter

64bit環境だと動作しないためテストできず。
Shell Extensionとして「送る」の中に出るらしい。
http://www.ponsoftware.com/archiver/download.htm#arccon

ArcConvert

シンプルなGUIでわかりやすい。圧縮率の設定など細かいことはできない。
変換が完了したら変換元を消す、というようなことはできない。
http://otherworldliness.net/2010/12/arc-convert/

さいあっしゅくん

昔ながらのソフトウェア名がダジャレっていう、実用性重視で洒落って気なんてなさそうな所がいい。
ファイラー形式となっていて変換対象ファイルを選んで一括変換するという感じ。
アーカイバDLLが必要だが、一括インストールすればいいだけの話で問題ない。
Zipの圧縮オプションの指定ができたり、変換したら消したりできるのが便利。
しかし解凍によく失敗する。原因はうちかソフトか不明。
http://www.vector.co.jp/soft/win95/util/se381823.html

沖縄国際通り周辺の喫茶店その1

落ち着ける喫茶店を求めて西へ東へ。
お休みの日や仕事帰りは、静かで落ち着いた喫茶店で本を読んだり調べ物をしたりしたい。
沖縄に住んで半年、以前に住んでた東京の学芸大学らへんは喫茶店いろいろあったなぁなんて思いながら、今は沖縄国際通りの近く(バイクで5〜10分くらい)に住んでるので、ここは沖縄県内でも有数の人が集まる場所、探せば喫茶店くらいあるべってことで、いろいろ歩いてみました。
学芸大学のカフェ・ダンのような、静かで、ちょっと入りづらくて、照明は暗めで、店長が渋くて(火曜サスペンス劇場の犯人役みたい)、あとマンデリンが350円て安くて、そんなお店、あるといいなぁ。
どうでもいいけどカフェ・ダンの店長はちょっと見た目が怖い。陰があるというかなんというか。友人との間では「殺人鬼の店」って愛称でよく待ち合わせに使ってました、夜中までやってるから仕事終わりにコーヒー飲んで談笑するのにすごく重宝してた。

シナモンカフェ

いくまでに迷った。23時まで営業してるのがありがたい。
雰囲気はいい、コーヒーも悪くない。
しかし店内に充満するカレーの香りが邪魔。食事処かと。いや食事処でもいいんだけど、排気は気をつけてほしいところ。
白塗りの店内にほのかな白熱灯の照明がいい。
あまり広くはないけど、わりと落ち着けるかな。カレー臭がなければ。

ルイ

純喫茶、しかしどんぶり飯やカレーは出す。
国際通りから平和通りに入ってすぐの雑居ビルの二階にあるお店。
茶店なのに丼物やカレーもあって、ごちゃまぜちゃんぽんが沖縄っぽい。
何気にコーヒーの味は悪くない、あとカップでかい、350円。豆は選べない。
今時の喫茶店て禁煙多いけど、ここは喫煙可。
まぁ店内はどう見ても今時ではない。
入り口は狭苦しいが中はけっこう広い、30席くらいあるのかな。
お店はふるーい感じで、神保町のロザリオに南国風味と立ち食いそばの店を足して4で割った感じ。
場所が国際通りにほんと近いってのもあって、その時の客層に店内の雰囲気は左右されるかもしれない。ぶっちゃけ言うと子連れが煩い時もある。まぁ子供は煩いものだ、仕方ない。
学芸大学のあんぐいゆみたいに「中学生以下お断り」くらいのほうがいいんだけど、まぁ350円のコーヒーと、どんぶりを出す店に望むべくもない。
きっとあんぐいゆみたいな高飛車な店は沖縄じゃ続かないんだろう(あんぐいゆの店員さん自体は高飛車ではありません)。

木かげカフェ

マッサージ屋になってますた

coffee robbin

営業してるの?してないの?潰れてるの?

スターバックス

まぁ一番はずれないよね。大抵込んでるから入らないけど。

coffee street chatan cafe

せめぇw 外に一席、中4席くらい。
streetの名にいつわりなし(通りがかっただけで行ってない)
南国の茶屋っぽいと言えばそうなのかもしれないが、落ち着いて読書したり絵を描いたりできるかといえばNO

コーヒーシャープララミー

沖縄県那覇市寄宮(字)−153−3安里ビル 1F
国際通りからはちょっと離れるけど、まぁまぁ良い店。
1階にあるので明るい。パンケーキ推しみたいだけどコーヒーしか飲んだことない。
10席くらいだったかな。広くはない。隣のラーメン屋の通道行った帰りに便利。

Magic spell

DRAGON SLAVE / ドラグスレイブ

Darkness beyond twilight.
Crimson beyond blood that flows.
Buried in the stream of time is where your power grows.
I pledge myself to conquer.
all the foes who stand.
before the mighty gift bestowed in my unworthy hands.

黄昏よりも昏きもの 血の流れよりも紅きもの
時の流れに埋もれし 偉大な汝の名において
我ここに闇に誓わん
我等が前に立ち塞がりし 全ての愚かなるものに
我と汝が力もて 等しく滅びを与えんことを

Seattle Otaku Shop

Seattle Area Manga, Anime, and Hobby Shopping
If you know of locations not on this list, please let me know. Thanks!


I'm otaku.I'm from japan. I'm living at seattle for 1 month.


こんにちわ、シアトルに留学中のオタクでございます。
ドールが好きでたまらないのですが、知り合いの家に居候させてもらってる身で、ドールを愛でる事ができません
ああでもやっぱりショッピングくらいはしたいじゃないかとお店を捜し歩く日々です。

Shop List

Arcadia Comics & Games

5228 University Way NE, Seattle, WA 98105 / phone:206-522-6575
Hours:12-19 close:mon

Anime Kingdom (CLOSED)

4224 University Way NE #H, Seattle, WA 98105 / phone:206-675-8365

Anime Raku (CLOSED)

10627 NE 8th St, Bellevue, WA 98004 / phone:425-454-0112

Anime World

16488 NE 74th St(between N 166th Ave & N 164th Ave) Redmond, WA 98052 / phone:(425) 770-7717
small,but selling Oppai mouse pad.

Bigfoot’s Cards & Comics (CLOSED)

9794 Edmonds Way, Edmonds, WA 98020 / phone:425-672-0429

Best Buy

(National chain, address varies)
National chain with anime DVDs and video games, all domestically released. Typically found in or near malls. Anime prices are typically discounted 10-20% without need for a club-card.

BLICK

1600 Broadway Avenue,Seattle, WA 98122
(206) 324-0750
Art supply

Corner Comics

5226 University Way NE, Seattle, WA 98015 / phone:206-525-9394
open:mon-fri 11am-7pm wed 12-7 sat 11-5 sun 12-5
contents:american comics

Display & Costume

11201 Roosevelt Way NE, Seattle 98125 / phone:206-362-4810
Costume and party supplies, and prop rentals. A good selection of stage makeup and fabrics as well.

Galaxy Hobby

19332 60th Ave W Lynnwood, WA 98036 / phone:(425) 670-0454
Hours: Mon-Fri 10 am - 7 pm Sat 10 am - 6 pm Sun 12 pm - 5 pm

Golden Age Collectables

(inside Pike Place Market), Seattle, WA / phone:206-622-9799
Domestic releases of translated manga, in both the monthly and trade-paperback formats, models, trading cards, a few art books, and other collectables. Their available back issues can be a bit pricier than Zanadu (Seattle), which is a few blocks away.

Hai Yang Co (?)

647 S Weller St, Seattle, WA 98104 / phone:206-622-5225

International Model Toys

601 S King St, Seattle, WA 98104 / phone:206-682-8534
Import models, figurines, plush toys, CDs, model tools, and other collectables.
Hours: 12-6pm

Kicks Hobby Japan (CLOSED)

543L NE Northgate WA, Seattle, WA 98125 / phone:206-306-9060
Domestic and imported anime for rental. They also feature imported models, video games, and other collectables. Anime soundtrack albums had been SonMay (bootleg) editions on my previous visits, so be wary of these. Saved receipts totalling $100 receives $5 discount on next purchase.

Kinokuniya Bookstore

525 S Weller St, Seattle, WA 98104 / phone:206-587-2477
Seattle’s Kinokuniya Bookstore has a large imported manga section as well as art books, domestic releases, a few imported DVDs (remember that these are Region-2 encoded, though), magazines, language-learning resources, and imported music CDs for both the J-Pop and Anime Soundtrack fans. Stamp-card (no signing up needed) discounts for music CDs, with up to 20% discounts, and a free CD, etc.

Pink Gorilla

601 S King St,Seattle, WA 98104 / phone:(206) 264-2434
product:game

RADIO SHACK

(National chain)
product:arduino

Sam Goody

(National chain, address varies)
National chain with anime DVDs, soundtrack albums, and a few collectables, all domestically released. Typically found in or near malls. Club-card members receive 5-15% of purchases in coupons on further purchases.

Scarecrow Video

5030 Roosevelt Way NE, Seattle 98105 / phone:206-524-8554
Originally a rental store specializing in rare and hard to find videos, their rental section of anime is quite large (a room of its own upstairs); they also carry videos and DVDs for sale, and are one of the few places in the city for import disks (and players to play them).

Skyway Model Shop

12615 Renton Ave S, Seattle, WA 98178 / phone:(206) 772-1211
hour:Tue-Thu 12 pm - 7 pm Fri 12 pm - 8 pm Sat 12 pm - 6 pm Sun 12 pm - 5 pm
product:Plasctic model

Suncoast

(National chain, address varies)
National chain with anime VHS and DVD, as well as manga, a few collectables, and soundtrack albums, all domestically released. Typically found in or near malls. Club-card members receive 5-15% of puchases in coupons on further purchases.

Tokyo Japanese Lifestyle

633 South Center Mall #1220. Seattle WA 98188 / phone: 206-241-0219
Hours:Mon-Fri 10:00-21:00 Sat 10:00-21:00 Sun 11:00-19:00

Uwajimaya – Bellevue

15555 NE 24th, Bellevue, WA 98007 / phone:425-747-9012

Uwajimaya – Seattle

600 5th Ave S #110, Seattle, WA 98104 / phone:206-624-6248
The flagship store of Uwajimaya, “Uwajimaya Village” is right across the street from the International District Bus Tunnel. An Asian grocery and gifts supermarket (including a lot of Sanrio “Hello Kitty” items), with the two-floor Seattle Kinokuniya Bookstore branch enterance on the main floor. It also features an asian food court for quick lunches and dinners.

Video Hop – International District

601 S King St #101, Seattle, WA 98104 / phone:206-587-4037
Video rentals for Anime, Japanese TV programs and movies, and an adult section.

Video Hop – Shoreline

16300 Aurora Ave N, Shoreline, WA 98133 / phone:206-533-8126

Videophile Inc

1028 NE 65th St, Seattle, WA 98115 / phone:206-522-3035

Video Nippon (?)

22315 Hwy 99, Edmonds, WA … / phone:425-672-0407

Zanadu Comics – Downtown Seattle

1923 3rd Ave, Seattle, WA 98101 /phone:206-443-1316
Domestic releases of translated manga, art books, trading cards, models, and other collectables. Zanadu also features an adult section and has a few untranslated manga from time to time.

Zanadu Comics – University District

1307 NE 45th, Seattle, WA 98105 / phone:206-632-0989
Domestic releases of translated manga, art books, trading cards, models, and other collectables. Zanadu also features an adult section and has a few untranslated manga from time to time.

地図上のある地点が領域内含まれるかの判定 PHP版

以下の記事にあるJavascriptCodeのPHP版。
ちゃんと動くのかって?
うーん、わからん。
http://groups.google.com/group/Google-Maps-API-Japan/browse_thread/thread/126dcaebbd359ef2

function region_chk($point,$polygon){
	$result = false;
	$count = 0;
	for ($i=0;$i<count($polygon)-1;$i++){
		if(
			(
				(
					($point['lng']-$polygon[$i]['lng']) *
					($point['lng']-$polygon[$i+1]['lng'])
				)
				< 0
			)&&(
					( ($point['lng']-$polygon[$i]['lng']) *
						(
							(($point['lng']-$polygon[$i]['lng']) *
							($polygon[$i+1]['lat']-$polygon[$i]['lat']))
							-
							(($point['lat']-$polygon[$i]['lat']) *
							($polygon[$i+1]['lng']-$polygon[$i]['lng']))
						)
					)
				< 0
			)
		){
			$count++;
		}
	}
	if($count % 2 == 0){
		$result = false;
	}else{
		$result = true;
	}
	return $result;
}


以下のような配列を渡して使う。

//trueを返すポイント
$point['lat'] = 35.83896829930447;$point['lng'] = 139.7793960571289;
//falseを返すポイント
$point['lat'] = 35.81920511755867;$point['lng'] = 139.87346649169922;

$mesh[0]['lat'] = 35.8773671614489;
$mesh[1]['lat'] = 35.862343734896484;
$mesh[2]['lat'] = 35.82449433864731;
$mesh[3]['lat'] = 35.841473139851615;
$mesh[0]['lng'] = 139.7728729248047;
$mesh[1]['lng'] = 139.82505798339844;
$mesh[2]['lng'] = 139.8065185546875;
$mesh[3]['lng'] = 139.72721099853516;

$res = region_chk($point,$mesh);
var_dump($res);

JQueryで年月日ドラムロール UI α版

Androidで動くものが見つからなかったので、気合いでiPhoneAndroidで動く年月日ドラムロールを作ってみました。
α版です。ところどころアレです。
タッチでしか動きません。ううーん。
課題としては
AndroidCSSが適用されない部分がある(Shadowとか)
・12月までスクロールすると13月が返ってくる(笑)
・タップで選択した位置に移動しない
・指を離した瞬間にスクロールが止まる、加減速がない
・年月日がループしない(12月の下に1月、1月の上に12月みたいな)
あとはー。。。んー、書き方がスマートじゃない(笑)
実用とするには、クリアすべき問題が山積みです。

<!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=2.0,minimum-scale=1.0" />
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=on">
<title>drumtest</title>
<meta name="description" content="iphoneとAndroidで動くドラムロールのテスト" />
<meta http-equiv="content-script-type" content="text/javasctipt" />
<meta http-equiv="content-style-type" content="text/css"  />
</head>
<body>

<div>
	<span id="disp_a"></span>年
	<span id="disp_b"></span>月
	<span id="disp_c"></span>日
</div>
<div id="reference_condition_date_window"></div>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js">
</script>

<script type="text/javascript">


var rcd_date = new Date();//基準日時
var rcdysy =  rcd_date.getFullYear();//年の開始
var rcdyey =  rcd_date.getFullYear() + 20;//年をいくつ用意するか
var rcdheight = 30;//1行の高さ
var rcdboxheight = rcdheight * 5;//ロールの行数

function rcd_display(targetobj){//ドラムロール描画先を指定
	$('#reference_condition_date_window').append('<div id="rcd_wrapper"></div>');
	targetobj.append('<div id="rcd_wrapper"></div>');
	$('#rcd_wrapper').append('<div id="rcdy"></div>');
	$('#rcd_wrapper').append('<div id="rcdm"></div>');
	$('#rcd_wrapper').append('<div id="rcdd"></div>');
	$('#rcd_wrapper').append('<div id="rcd_glass"></div>');

	$('#rcd_wrapper').css({
		'position':'relative',
		'display':'inline-block',
		'overflow':'hidden',
		'height':'150px',
		'line-height':'30px',
		'width':'80%',
		'border':'1px solid #cccccc',
		'font-size':'22px',
		'border-radius':'5px',
		'font-weight':'bold',
		'box-shadow':'0 20px 20px -10px rgba(0,0,0,0.7) inset,0 -20px 20px -10px rgba(0,0,0,0.7) inset',
	});

	$('#rcd_glass').css({
		'position':'absolute',
		'top':'60px',
		'left':'0',
		'height':rcdheight+'px',
		'width':'100%',
		'background-color':'rgba(140,140,255,0.3)',
		'border':'1px solid #555555',
	});

	$('#rcdy').css({
		'box-shadow':'1px 0 0 1px rgba(0,0,0,0.9)',
		'border-left':'2px solid #cccccc',
		'border-right':'2px solid #cccccc',
		'width':'40%',
	});

	$('#rcdm').css({
		'margin-left':'1px',
		'box-shadow':'1px 0 0 0 rgba(0,0,0,0.9)',
		'border-left':'2px solid #cccccc',
		'border-right':'2px solid #cccccc',
		'width':'27%',
	});

	$('#rcdd').css({
		'margin-left':'1px',
		'border-left':'2px solid #cccccc',
		'width':'27%',
	});

	$('#rcdy,#rcdm,#rcdd').css({
		'background-color':'transparent',
		'z-index':'1',
		'display':'inline-block',
		'overflow':'hidden',
		'text-align':'right',
		'height':rcdboxheight+'px',
	});

	$('#rcdy,#rcdm,#rcdd').append("<br /><br />");
	for( var i=rcdysy; i<=rcdyey; i++ ){
		$('#rcdy').append(i+"年<br />");
	}
	for( var i=1; i<=12; i++ ){
		$('#rcdm').append(i+"月<br />");
	}
	for( var i=1; i<=31; i++ ){
		$('#rcdd').append(i+"日<br />");
	}
	$('#rcdy,#rcdm,#rcdd').append("<br /><br />");
}


//obj = イベントをつけるオブジェクト,初期値,コールバック
function drmroll_set(obj,ofset_num,callbackfunc){
	if( ofset_num==undefined || ofset_num=="" || ofset_num==null ){
		ofset_num = 0;//ドラムロールの開始数値が1じゃない時用
	}
	obj.bind('touchstart', function() {
		event.preventDefault();
		var sx = event.changedTouches[0].pageX;
		var sy = event.changedTouches[0].pageY;
		var sts = obj.scrollTop();
		obj.bind('touchmove', function() {
			var y = event.changedTouches[0].pageY;
			var dy = y-sy;
			obj.scrollTop(sts-dy);
		});
		obj.bind('touchend', function() {
			var ste = obj.scrollTop();
			var amr = ste%rcdheight;
			var rcdhh = parseInt(rcdheight/2);
			if( amr <= rcdhh ){
				var ido = ste-amr;
			}else{
				var ido = ste+amr;
			}
			obj.scrollTop(ido);
			var rcdsb = rcdheight + parseInt(rcdheight/3);
			var monmon = ido += rcdsb;
			monmon = parseInt(monmon / rcdheight) + ofset_num;
			callbackfunc(monmon);
		});
	});
}

var rcdycal = function(num) {//年用コールバック
	$('#disp_a').html(num);
}
var rcdmcal = function(num) {//月用コールバック
	$('#disp_b').html(num);
}
var rcddcal = function(num) {//日用コールバック
	$('#disp_c').html(num);
}

//ドラムロール呼び出し
rcd_display($('#reference_condition_date_window'));
//ドラムロールにタッチイベントをセット
drmroll_set($('#rcdy'),rcdysy-1,rcdycal);
drmroll_set($('#rcdm'),"",rcdmcal);
drmroll_set($('#rcdd'),"",rcddcal);

</script>
</body>
</html>

しかし結局、半端なUIを自作するならよくできたカレンダーのがよくない?
ってことで、仕事の上ではボツとしました。
実装は趣味のサイトでやろう(笑)