「GEt」を含む日記 RSS

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

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-28

Summer scenery to take pictures of small skills

Undesirable cameras benefits us many 100 % satisfaction, leading to numerous spectacular images, as well as the hot months is operating relating to dependable summertime. This specific classmate through break free will be able to figure out any tons in addition to waterways, downtown along with far-away beautiful gardening, and yet may these pure attractiveness to become a memento playing hit decrease, apart from skin color boil due to the high-end digicam purpose, a great deal more simple could be to evaluation whatever taking pictures competency as well as having photos. The amount, smaller try to make your work latest many of the summer season harvesting powerful see to it, typically the classmate need to next image have a go through, you become this confidently unexpected wonder.

Digital cameras would bring us lots of enjoyment, leaving a myriad of unique images, and summertime is journeying in wonderful summer season. The classmate throughout the getaway can recognize that reams together with estuaries and rivers, metropolitan and also countryside attractive panoramas, yet take place all these charm being a memento opportunity straight down, together with steam as a result of a camcorder operation, a lot more crucial is usually to examine ones own taking functionality and also taking photographs. That period, the little generate your choice have quite a few summer months firing effective be mindful, the particular classmate may as well within the next snapshot have a shot at, you will get the particular total surprising stun.

Household landscapes

By out of doors firing indoors panoramas, basic will need throughout the Windows 7, out-of-doors mild typically currently have more substantial indoors light-weight, now a couple of challenges ought to be sorted out, is the particular coverage time frame, a couple of it truly is in order to avoid a display reflective, when pics of any camera through hands-on management operate, might take number of years coverage setting up, when photographic camera goes so that you can twit style, can easily will likely be ISO level of sensitivity Surroundings bump up, this ISO 2 hundred or perhaps ISO six hundred aiming.

Inside panorama 's best golf shot employing a tripod, in any other case, wants a spot to guide, one example is in opposition to any divider and entry, and even the true reason for executing it is because very long coverage is quite effortless construct any digital camera protein shake, producing photographs regarding fluffy envision. It's best to utilize the shutter launch, or perhaps utilize to get center-weighted avoiding relocate a video camera. Notice: except if absolutely necessary, tend not to available the particular pen, stay clear of a lot more reflective.

Out-of-doors landscapes

Bring that landscape designs from the probability with the photo may well schedule some individuals or even factors, and this also may help the room inside the operation of your view photos. Get a large surfaces area photos, as an example the veranda as well as the roof top, hillside, for example. Typically inside the mid-day is without a doubt the most suitable time frame filming this landscapes. Filming, having a polarizer to adjust a illumination with the stars, produce the particular heavens develop into dreary quite a few, well known from the glowing blue stars the white kind of fog up, as a way to boost the space or room repeatedly.

Several virtually no guidebook vulnerability management of any camera together with location form, as well as the landscape designs way is completely features on the list of manner, you are able to use landscape designs way to adopt shots. Together with handbook vulnerability restrain photographic camera might opt for aperture goal option that will movie, aperture to help acquired far better pick out F8 to help you photograph or maybe F11, this photo will be extra management concentrations senses.

houses

The particular modify on the urban center is without a doubt switching, specifically together with a lot of approach large establishing intended for symbolize, and also this are at recent many portrait digital photography buffs including firing template.

Yet typical photographic camera through simply how much suitable container distortion, hence as a way to make an effort to reduce the photograph of your deformation belonging to the accumulating " up ", thus you ought to pick around substantial thoughts and opinions filming. One example is inside the steps, or perhaps some other might help the beliefs with area. If you fail to find the correct destination for a reside, you can from the again, clear of the particular lead entity to cut back a distortion. Maybe you've employed the greatest wide-angle standard zoom lens. Vivid stars will be able to replace with a developing with the darkish. Having a polarizer to cut back or perhaps wipe out construction with reflective a glass. In addition to, certainly, consume an excellent know with the can make one of a kind imaginative results.

mineral water

Firing apply or maybe a aerosol in waters, incorporate the use of part mild and also backlight try to make waters intended for introducing see through pattern. Several novices all of coveted by a really "splash with photos, in truth, I am able to effortlessly applied for, so the hurrying h2o glance alot more downy, have got a form of passionate blur. Shutter possibly inside 1/10 so that you can 1/6 erinarians regulate might get move cosmetic perception for splash pics.

At night and also night time

Local plumber to be able to sunset taking scenario regarding is usually 15-30 moments, next the stars always possess some colouring failed to ends. As a way to raise the graphic with the amount with subject, can easily on the ending with the passage and also uncover several regarding an individual's special world. It is as well the location where the tripod on has to be, commonly programmed coverage is definitely o . k ., yet you should attempt to utilize hands-on visibility, and also the employment of the particular shutter put out restrain taking, respectively for 2, 5, 8, 12 and also of sixteen secs shutter tempo so that you can capture some photo contrast.

Needless to say now and again continue to are able to use ISO200 to help you photograph, yet so that you can be aware of an electronic camcorder with disturbance handle is normally adequate, when pixels will be overweight, or maybe together with ISO100 contrasting by using base style to help motion picture.

In truth firing night time scenarios, at times to be able to as well do not require that filming with step-by-step developing oh, this streets these kinds of, a small amount convert tips plus aiming design and style, might get the result of experiencing a specialized pattern.

_____________________________________________

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

http://www.chargerbatteryshop.co.uk/panasonic-lumix-dmc-tz7-battery-charger-cbbs.html

2011-12-15

Critical Thinking: Film Critics Across the Country Name Their Top Movies and Actors

"The Artist"? "The Descendants"? "Hugo"? There was no critical consensus following a day of intense voting yesterday when a gaggle of critics groups voted their top honors. These included the Los Angeles Film Critics Association (LAFCA), the Boston Society of Film Critics (BSFC), and the New York Film Critics Online (NYFCO), as well as critics in San Francisco, Detroit and Indiana. The American Film Institute also announced its annual top 10, typically taking no risks.

Best Picture: "The Descendants" got a strong push with a win at the LAFCA, but "The Artist" took the top prize at the BSFC and the NYFCO. Both titles will make the final Academy shortlist. Fortified by nominations for their respective directors Martin Scorsese and Terrence Malick, "Hugo" and "The Tree of Life" should get nominations. The critics groups didn't get "The Help," any more than "The Blind Side," but the Civic Rights-era drama did make the American Film Institute top ten this year, so don't discount it yet.

Best Actor: Michael Fassbender is coming up fast with an LAFCA win. Why should we care about that group in particular? They're on a six-year roll predicting the Oscar winner for Best Actor. Brad Pitt's also a contender for "Moneyball," getting an art-house bump from "The Tree of Life," with Gary Oldman coming up on the outside thanks to the critical and box-office success of "Tinker, Tailor, Soldier, Spy" and a nod from the San Francisco Film Critics. How about George Clooney for "The Descendants"? He's still in the race, but not at the forefront. Like going for long shots? Then bet Michael Shannon for "Take Shelter," which won NYFCO. And if there's a sweep for "The Artist," add in Jean Dujardin.

Best Actress: Michelle Williams of "My Week With Marilyn," solidifies her spot with a win at the Boston Film Critics Association. Los Angeles went way out for Yung-Jun Hee in "Poetry" (what?) in their 'we're cool and uncorrupted by the Oscar race' vote. NYFCO went classic with Meryl Streep for "The Iron Lady." She's the Streep, but neither she nor Williams will be helped by an apparent lack of enthusiasm for their moves as a whole. Ditto Viola Davis ("The Help"), who will nonetheless make the top five Oscar nominees. Either SF winner Tilda Swinton ("We Need to Talk About Kevin") or multiple-runner-up Kirsten Dunst ("Melancholia") may slip in or come in sixth or seventh. Keep an eye out for Charlize Theron ("Young Adult"), Elizabeth Olsen ("Martha Marcy May Marlene") and Felicity Jones ("Like Crazy) as wild-card entries.

Best Supporting Actor: This is a two-man race between octogenarian Christopher Plummer and Albert Brooks playing against type as a cold-blooded hands-on killer. On the fringes: Patton Oswalt ("Young Adult"), Kenneth Branagh ("My Week with Marilyn") and Andy Serkis ("Rise of the Planet of the Apes").

Best Supporting Actress: Coming up on the inside is Melissa McCarthy for "Bridesmaids." Hurray for comedy! Bolstered by a best ensemble award from the LAFCA, this may push McCarthy into the five Oscar nominees. The LAFCA got behind Jessica Chastain, the NYFCO Breakthrough Performer, who was in every movie from "The Tree of Life" to "The Help," where she'll be competing against her popular co-star Octavia Spencer. The San Francisco critics supported Vanessa Redgrave for "Coriolanus," and Janet McTeer ("Albert Nobbs") was an LAFCA runner up in the category.

Who's out of the running in these five major categories? The Girl With the Dragon Tattoo, War Horse, J. Edgar and Midnight in Paris all underwhelmed. The X-Factor remains Scott Rudin's buzzy "Extremely Loud and Incredibly Close," which has not been screened widely after the New Yorker's David Denby flagrantly broke embargo on Rudin's other major film, "The Girl with the Dragon Tattoo." Pack the Kleenex box for this one.

http://www.chargerbatteryshop.co.uk/panasonic-cga-s002-digital-camera-battery-cbbs.html

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

http://www.keyboard-store.com/asus-04gncb1kusa4-laptop-keyboard.html

Critical Thinking: Film Critics Across the Country Name Their Top Movies and Actors

"The Artist"? "The Descendants"? "Hugo"? There was no critical consensus following a day of intense voting yesterday when a gaggle of critics groups voted their top honors. These included the Los Angeles Film Critics Association (LAFCA), the Boston Society of Film Critics (BSFC), and the New York Film Critics Online (NYFCO), as well as critics in San Francisco, Detroit and Indiana. The American Film Institute also announced its annual top 10, typically taking no risks.

Best Picture: "The Descendants" got a strong push with a win at the LAFCA, but "The Artist" took the top prize at the BSFC and the NYFCO. Both titles will make the final Academy shortlist. Fortified by nominations for their respective directors Martin Scorsese and Terrence Malick, "Hugo" and "The Tree of Life" should get nominations. The critics groups didn't get "The Help," any more than "The Blind Side," but the Civic Rights-era drama did make the American Film Institute top ten this year, so don't discount it yet.

Best Actor: Michael Fassbender is coming up fast with an LAFCA win. Why should we care about that group in particular? They're on a six-year roll predicting the Oscar winner for Best Actor. Brad Pitt's also a contender for "Moneyball," getting an art-house bump from "The Tree of Life," with Gary Oldman coming up on the outside thanks to the critical and box-office success of "Tinker, Tailor, Soldier, Spy" and a nod from the San Francisco Film Critics. How about George Clooney for "The Descendants"? He's still in the race, but not at the forefront. Like going for long shots? Then bet Michael Shannon for "Take Shelter," which won NYFCO. And if there's a sweep for "The Artist," add in Jean Dujardin.

Best Actress: Michelle Williams of "My Week With Marilyn," solidifies her spot with a win at the Boston Film Critics Association. Los Angeles went way out for Yung-Jun Hee in "Poetry" (what?) in their 'we're cool and uncorrupted by the Oscar race' vote. NYFCO went classic with Meryl Streep for "The Iron Lady." She's the Streep, but neither she nor Williams will be helped by an apparent lack of enthusiasm for their moves as a whole. Ditto Viola Davis ("The Help"), who will nonetheless make the top five Oscar nominees. Either SF winner Tilda Swinton ("We Need to Talk About Kevin") or multiple-runner-up Kirsten Dunst ("Melancholia") may slip in or come in sixth or seventh. Keep an eye out for Charlize Theron ("Young Adult"), Elizabeth Olsen ("Martha Marcy May Marlene") and Felicity Jones ("Like Crazy) as wild-card entries.

Best Supporting Actor: This is a two-man race between octogenarian Christopher Plummer and Albert Brooks playing against type as a cold-blooded hands-on killer. On the fringes: Patton Oswalt ("Young Adult"), Kenneth Branagh ("My Week with Marilyn") and Andy Serkis ("Rise of the Planet of the Apes").

Best Supporting Actress: Coming up on the inside is Melissa McCarthy for "Bridesmaids." Hurray for comedy! Bolstered by a best ensemble award from the LAFCA, this may push McCarthy into the five Oscar nominees. The LAFCA got behind Jessica Chastain, the NYFCO Breakthrough Performer, who was in every movie from "The Tree of Life" to "The Help," where she'll be competing against her popular co-star Octavia Spencer. The San Francisco critics supported Vanessa Redgrave for "Coriolanus," and Janet McTeer ("Albert Nobbs") was an LAFCA runner up in the category.

Who's out of the running in these five major categories? The Girl With the Dragon Tattoo, War Horse, J. Edgar and Midnight in Paris all underwhelmed. The X-Factor remains Scott Rudin's buzzy "Extremely Loud and Incredibly Close," which has not been screened widely after the New Yorker's David Denby flagrantly broke embargo on Rudin's other major film, "The Girl with the Dragon Tattoo." Pack the Kleenex box for this one.

http://www.chargerbatteryshop.co.uk/panasonic-cga-s002-digital-camera-battery-cbbs.html

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

http://www.keyboard-store.com/asus-04gncb1kusa4-laptop-keyboard.html

2011-12-14

Winter warming Yang

Early winter sky, like the patient's face the overcast, day to sink. Anxiety emotions such as this pervading the mist, tightly in my mind, catch my breath. This noon, the sun finally broke through the cloud and mist, show smiling face. The golden sunshine, the clear as on snow, warm warm silver fai in the flow. My heart like this in the window sunshine, suddenly lit up. On the vast expanse of the forms.it, bathed in the warm sunshine, the in the mind unspeakable joy, really want to in the sparkling on snow run, to release under pressure in the life, the one anxious heart, make it in the warm Yang blowing quiet quiet stretch open, as Snow White pure it gently the each place, leave a light the tranquil, calm in heart ripples.

The winter warm Yang heartily of vent to their hot, sprinkle with golden way way, the snow on glaring multicoloured halo, like in a split up around me gorgeous flowers. And as a series of colorful picture, in my sight of dreaming floating, I stand still didn't dare move, very afraid that move will put it like running scared. The sun be warm in my body, face and hands gently touched, a thick warm meaning in my heart rise, and then a puzzling to love is full whole body. Oh! I see, the soft touch, it's like my lover it. As the sun jade-like stone son bright smile, as if appear in the shadows. And when she left the same way, or that naughty smile, two small dimples with the face. She bantered said "to chase me! After a good deal for you win." I'm excited, but at a loss, just gazing at the light faded away in her in in the distance, RenXue the ground I do the footprints of the lonely, in lightly sigh.

Sunshine slowly breeze snow, the BaiXueShan quietly accept this trust god's touch. Like the girl like falling in love with lover's arms in school, doing the colorful dream. I was the true meaning of the snow moved and also enjoy stealthily warm winter sun kissing. The light sad like the like melted, had been in my memory, such as the white as forms.it of, did not leave traces. My heart immersed in the warmth of sunshine, and in the winter it forms.it quietly in fell asleep.

The winter warming Yang, don't abandon not to leave, waiting at my side, as my mother was waiting for the I, with all my heart, have no complaint. It let me understand, life not only it is the exhaustion of body and mind, worried restlessness. There is a kind of beautiful scenery, on our side. In fact they have been waiting for us, as long as pay attention side a flower, a leaf, a wisp of spring breeze, a rain, a snow, a blue sky, and so on. Like I say to this winter warm sample, calm down to, fine fine ground to observe, and deeply to taste, will get unexpected harvest.

http://www.chargerbatteryshop.co.uk

http://www.gobatteryonline.com

2011-11-28

同じURLに、GETではアクセスできるのにPOSTだと404になる

何故だ…

Apacheログ見ても後者普通に404になってて、エラーログは出ていません

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-11-06

I've been working very hard this week.

I've been studying very hard this week.

It is plesant. wanna really get a rest.

I'm satisfied with recent my life.

Today, I had nothing special, but enjoyed talking with my students.

hahaha, thank you for your kindness of catching up with my poor English.

2011-11-05

http://anond.hatelabo.jp/20111105015950

結婚は金と顔の交換」と何かで読んで、

彼氏のことを企業(=年収)や学歴で主に評価している彼女らを言い得て妙と感じた。

ただ、彼女らのいい分もわかる部分もある。

企業学歴は「結果」なのだ。

彼女らが好むのは、有能な、世の中をサバイブできる男性、狩り能力のある男性

これはむかしっから女性結婚相手に選ぶ条件としてかわっていないんじゃないか

極端な話

人間マンモス肉とか追いかけていた時代

彼氏を自慢するとき「うちの彼氏はこないだ鹿を何匹しとめて」とか「だんなは村一の毛皮もち」みたいな感じだったかも。

それが現代になって、

別に筋肉もりもりの狩人がもてるんじゃなくて

お金を稼いで自由さをGETできる能力のある男性」が評価されるようになり

マンモス肉→金銭パワー になった。

現状の日本社会では、大企業特に商社銀行代理店医者弁護士)につとめるだけの戦闘力のある男が評価されているわけで・・

そして、彼と彼女の間には、愛はあるんじゃないだろうか。

彼女は強い男が好き。強い男の定義は、稼げる男(年収学歴

それをひがむのは

戦闘力のない男       ←企業で男を判断する女バッシング

戦闘力のある男を落とせない女←企業で男を判断する女バッシング

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-08-27

Keep on heading west on the highway.

I'm feeling very light today.

I need to get some fresh air.

There are clean towels on the bed.

2011-07-24

If もしも 打ち上げ花火、下から見るか? 横から見るか?

Ifは、「世にも奇妙な物語」の流れで、たまに見たり見なかったりする程度だったんだが、この回は見てなかった。どうやらとても評判が高い内容らしいということだけを聞いていて、しかし、気になる一方で、あまりこの話について調べようとすると、オチがわかってしまうので、積極的には触れないようにしてたら、17年。岩井俊二公式サイトで公開されたと知ったので見てみた。

http://www.iwaiff.com/

中身は、俺が想像していたのとは全然違ってた。以下、俺が想像してた話。

  1. 登場人物は、若いカップル高校生から大学卒業程度)
  2. 二人はデート(できれば初デート)で花火大会を観に行く
  3. "横から見る"編では、人込みで、前に背が高い人がいてよく見えなかったり、食べ物が女の浴衣についたり、ヤンキーに絡まれたりさんざん
  4. その結果、デート失敗したので、やり直して、下から見ることに。
  5. "下から見る"編では、関係者以外立入禁止のところに、どうにか潜り込んで、打ち上げ場所の近くをget
  6. しかし、最後の100連発とかで、花火が暴発する大事故発生。二人とも還らぬ人に…

全然、予想と違うじゃねーか。なんだこの甘酸っぱいの。北川昌弘が、べた褒めしていた時点で、どういう中身か気づくべきだった。

それに、14歳の奥菜恵12歳の小学生役は無理がありすぎるだろ。せめて、13歳で中1くらいにしておこうぜ。学校でも私服なのもあって、子供とお姉さんって感じでなんかなぁ。あと、花火はどこからみても、丸く見えることを"既に知ってしまっていた"のが、残念だった原因かもしれない。

2011-05-25

失恋後の指針

って、なんかありますかね?

失恋バイブルみたいな。

失恋3日め。

25年生きてきて、最初にして最大の失恋した

小雨のふる日曜の午後、最愛の彼から三行半を頂く。

全ては私のせい。

常日頃からの素行と口の悪さが原因。

カッとなるとおかまいなしに暴言をぶちかます私。

いつもいつも母から注意されていた。

いやはや・・・。

後悔あとにたたず・・。

どんだけ泣いても落ち込んでも時間は流れていく。

私がどうなろうがしったこっちゃなく世界は回る。

毛布にくるまってる間に課題はどんどんたまっていく。

いい加減、なにから行動せねばということで、復縁もちょっとは期待したいけど、まあ次に進まなきゃと思った。

move on するために、指針となりうる情報(けっこうマジメなの)を求めてネット図書館徘徊してみた。

が、これといった収穫は無かった。

探せてないだけなのか?

たぶんそうだな。

でも、失恋バイブルなんて本、聞いたことねーしな。

まあ当たり前かもしれんけど、

彼をgetするための情報はちょっとした雑誌から書籍DVD映画等々大量に氾濫してる一方、

彼をget overするノウハウって、それを真正面から取り扱ったモンってどれだけあんだろうか。

あるにはあるんだろうが、比較的かなり少ない気がする。

小悪魔テクとかモテはもういいから、失恋の乗り越え方みたいなTipsで特集組んでくれんかな、雑誌社さん・・・

ツライ。

2011-05-01

転載

誤字脱字は勘弁な。

I was at home the other night inth middle of my dinner when the phone rang.


ME:Hello.

AT&T:Yes, thie is AT&T...


ME:Thie is AT&T,

AT&T:Yes, this is AT&T.


ME:Is this AT&T.?

AT&T:Yes! This is AT&T, may I speak to Mr.Byron, please?


ME:May I ask who is calling?

AT&T:This is AT&T.


ME:OK, hold on.


At this point I put the phone down for a solid 5 minutes thinking that, surely, this person would have hung up the phone. I ate my salad. Much to my surprise, when I picked up the receiver, they were still waiting,


ME:Hello?

AT&T:Is this Mr.Byron?


ME:May I ask who is calling, please?

AT&T:Yes, this is AT&T...


ME:This is AT&T?

AT&T:Yes, this is AT&T...


ME:The phone company.

AT&T:Yes, sir.


ME:I thought you said this was AT&T.

AT&T:Yes, sir, we are phone company.


ME:I already have a phone.

AT&T:We aren't selling phones today, Mr.Byron. We world like to offer you 10 cents a minute, 24 hours a day, 7 days a week, 365 days a year.


ME:Now, that's 10 cents a minute, 24 hours a day?

AT&T:(getting a little excited at this point by my interest) Yes, sir, that's right! 24 hours a day!


ME:7 days a week?

AT&T:That's right.


ME:I am definitely interested in that! Wow!! That's amazing!

AT&T:We think so!


ME:That's quite a sum of money!

AT&TYes, sir, it's amazing how it adds up.


ME:OK, so will you send me checks weekly, monthly or just one big one at the end of the year for the full $52,560; and if you send an annual check, can I get a cash advance?

AT&T:Excuse me?


ME:You know, the 10 cents a minute.

AT&T:What are you talking about?


ME:You said you'd give me 10 cents a minute, 24 horus a day, 7 days a week, 365 days a year. Thats comes to $144 per day, $1008 per week and $52,560 per year, I'm just interested in knowing how you will be making payment.

AT&T:Oh, no sir. I didn't mean we'd be peying you, You pay us 10 cents a minute.


ME:Wait a minutes. how do you figure that by saying that you'll give me 10 cents a minute, that I'll give YOU 10 cents a minute? Is this some kind of subliminal telemarketing scheme? I've read about things like this in the Enquirer, you know.


AT&T:No, sur, we are offering 10 cents a minute for


ME:THERE YOU GO AGAIN! Can I speak to supervisor please?

AT&T:Sir, I don't think that necessary.


ME:I insist on speaking to supervisor!

AT&T:Yes, Mr.Byron. Pleas hold.


At this point, I begin trying to finish my dinner.


SUPERVISOR:Mr.Byron?

ME:Yeah.


SUPERVISOR:I understand you are not quite understanding our 10 cents a minute program.

ME:is This AT&T?


SUPERVISOR:Yes, sir, it sure is.

ME:(I had to swallow before I choked on my food, It was all I could do to suppress my laughter and I had to be Careful not to produce a snort.) No, actually, I was just waiting for someone to get back to me so that I could sign up fo the plan.


SUPERVISOR:Ok, no problem, I'll transfer you back to the person who was helping you.

ME:Thank you.


I was on hold once again and managed a few more monthfuls. I need to end this conversation. Suddenly, there was an aggravated but polite voice at the other end of the phone.


AT&T:Hello, Mr.Byron, I understand that you are interested in sighning up for our plan?


ME:No, but I was wondering - do you have that "Friend and Family" thing because I'm an only child and I'd really like to have a little brother...


AT&T:click.........

2011-04-23

2010年日本ヒップホップ音楽

2010年の日本のヒップホップ音楽 【作業用BGM】 ‐ ニコニコ動画(原宿) の曲目。

01. LOST IDENTITY - 道(TAO) (YouTube)

"Lost Identity", 08.15. ILL EAST RECORDS

02. 都市伝説 - 韻踏合組合 (YouTube)

"都市伝説", 10.10. IFK RECORDS

03. 極悪JAZZ feat. 鬼 - キリコ (YouTube)

Produced by DJ OLDFASHION

"DIS IS IT", 09.22. 術ノ穴

04. Black File 200回記念フリースタイル (Vimeo)

"Black File", 06.24. スペースシャワーTV

05. 夕方 - S.L.A.C.K. (YouTube)

"Swes Swes Cheap", 08.04. Dog Ear Records

06. 思考品M.T.B.D. feat B.D. - DJ Mitsu the Beats (YouTube)

"UNIVERSAL FORCE", 08.04. PLANET GROOVE

07. CAMP'S RULE - RAMB CAMP (YouTube)

Produced by DJ GQ

"RAMB CAMP", 05.14. FILE RECORDS

08. MECCHA MECHA - コッペパン (YouTube)

exclusive, 10.09. MySpace

09. GOOD MORNING BABY - やけのはら (YouTube)

"THIS NIGHT IS STILL YOUNG" 08.04. felicity

10. 捕食 - asa x CUBEc.u.g.p (YouTube)

"捕食-hoshoku-", 06.11. Jar-BeatRecord

11. イッちゃってイイ? (SUGAR CRACK REMIX) - SD JUNKSTA (YouTube)

"Remix EP", 03.10. 諭吉レコード

12. TORA TORA TORA - TETRAD THE GANG OF FOUR (YouTube)

"SPY GAME", 11.12. FILE RECORDS

13. SUNDAYfeat. WAX - PONY (YouTube)

Produced by KURABEATS

"Verseday", 05.05. 桃源響RECORDS

14. Get Da Passports - Black Mont Blanc (YouTube)

"Sullen Faces", 12.22. 33Records

15. 音楽ワルキューレ - DOTAMA (YouTube)

Produced by Fragment

"音楽ワルキューレ", 04.07. 術ノ穴

16. いつもそう - WAX from SD JUNKSTA (YouTube)

Produced by KYN

"神成り", 07.21. 諭吉レコード

17. MADE IN JAPAN feat. X-MAN - L-VOKAL (YouTube)

Produced by 1689

"Lovin'", 03.03. MATENRO RECORDS

18. Homeward Journey - Uyama Hiroto (YouTube)

"Homeward Journey", hydeout productions

19. G.H.E.T.T.O - SHINGO☆西成 (YouTube)

Produced by TRAMP

"I・N・G", 11.10. 昭和レコード

20. STRAIGHT CASH - YING YANG (YouTube)

"TOTAL ECLIPSE", 10.13. YING YANG PRODUCTION

21. ILLMATIC RACER feat. 来門 - UNDER BROS (YouTube)

Produced by TAKE-C

"UNDER BROS", 05.12. BASE CAMP

22. トーキョー難民 - あるぱちかぶと (YouTube)

"◎≠", 02.03. Slye Records 在音

23. 森羅万象 - AXIS (YouTube)

"UNPOPULAR -在日外国人奇声集-", 04.21. Libra Records

24. iPhone for GAGLE - GAGLE (YouTube)

Produced by DJ Mitsu The Beats

exclusive, 07.02. (twitter)

25a. 24 BARS TO KILL feat. ANARCHY, RINO LATINA II, 漢, MACCHO - Ski Beatz (YouTube)

"24 HOUR KARATE SCHOOL JAPAN", 10.20. R-RATED RECORDS

25b. 24 Bars To Kill "IFK REMIX" feat. Hidaddy, Erone, Satussy, 遊戯 - Ski Beatz (YouTube)

exclusive, 11.05.

25c. 24 Bars To Kill "MYC REMIX" feat. RYUZO, DABO, SUIKEN, 般若 - Ski Beatz (YouTube)

exclusive, 11.06.

26. 東京哀歌-トウキョウエレジイ- - 空也MC (Youtube)

Produced by fanfan

"東京哀歌‐トウキョウエレジイ‐", 05.05. 術ノ穴

27. 禁断の惑星 feat. 志人 - TABOO1 (YouTube)

Produced by DJ KENSEI

"LIFE STYLE MASTA", 10.20. Libra Records

28. Break Boy in the Dream feat. 七尾旅人 - 環ROY (YouTube)

"BREAK BOY", 03.17. POPGROUP RECORDINGS

29. DREM SKY - RAU DEF (YouTube)

Produced by PUNPEE

"ESCALATE", 09.10. FILE RECORDS

30. MOTHER feat. MMM, CHIYORI - おみゆきChannel (YouTube)

"おみゆきさん", 03.10. Mary Joy Recordings

31. MISSION POSSIBLE - OLIVE OIL×ILL-BOSSTINO×B.I.G.JOE (YouTube)

"MISSION POSSIBLE", 07.21. OILWORKS THA BLUE HERB RECORDINGS TRIUMPH RECORDS

32. WAKE UP feat. MARIA - QN from SIMI LAB (Amebreak)

Produced by Earth No Mad

"THE SHELL", 07.29. FILE RECORDS

2011-04-14

パスワード個人情報を扱うサービスを作る際に気をつけたこと

HTMLはわかるけど、サーバーサイドはお遊びでphpを触ったぐらいだったので、会員制でデータをためこむサイト作りに初めて挑戦した

今回重視したのは、「いか個人情報をお漏らししないようにして、万が一漏らしても被害を少なくするか」ということ。

世の中、有償サービスでもパスワードを平文で保存してるサービスが意外と多いらしいので、流出した時のリスクを少しでも減らせる対策として書きます

今回のシステム構成

サーバーロケットネットキャンペーンにでレンタルサーバ年1000円ポッキリプラン

クライアント側の処理HTML+CSS+jQuery(とプラグインもろもろ)
サーバ側の処理PHP
WebサーバーApache
データベースMySQL

個人情報こわい!

個人情報ビビる漏洩とかまじ困るし怒られるしこわい。

俺も巻き込まれたところでは、サミータウンがメールアドレスパスワードセットでお漏らししてお詫びに1ヶ月無料なにそれこわい

サミータウンだけならまだいいけど、メアドパスワードを他のサービスで共通化して使ってる情弱なので、

共通化してメアドパスワードをどこかのサービスが一箇所でも漏らすと、ヤフオクID乗っ取り事件みたいなことになる。

http://internet.watch.impress.co.jp/cda/news/2008/09/26/20967.html

だってできれば人様のメールアドレスパスワードとか預かりたくない。

万が一、肉親のメールドレス発見してパスワードにrapemeとか入ってたら明日からどういう顔すればいいかからない。

ググってみてもどこにも情報のってない。うーん困った。ダメもとで「個人情報ってどうやって保存したらいいんだろう。。。」

って、twitterでつぶやいたら、「住所とかは可逆暗号化でいいけど、パスワードハッシュで不可逆化しないとだめだよ!」

と、呪文のようなありがたい言葉を教えてもらった。

暗号化の種類

「住所とかは可逆暗号化でいいけど、パスワードハッシュで不可逆化しないとだめだよ!」

何のことかわからなったので、調べてみると、

・可逆暗号=元のデータに戻せる暗号化方式。

ハッシュハッシュ値を使った、元のデータに戻せない暗号化方式

うーん。。。よくわからん。。。

電話番号とか住所は、第三者が使用する情報なので、可逆が必要。パスワードは、認証しか使わないので、

ハッシュ値結果が一致すれば元のデータがわからなくてもOK、という方式なのでこういった暗号の使い分けをする。

●可逆暗号イメージ(もとにもどせる) 暗号キー開発者が指定する。
090-xxxx-xxxx →(暗号化)→ !'&%($% →(復号化)→ 090-xxxx-xxxxハッシュイメージ(もとにもどせない) 
登録passwordDBに保存)→(ハッシュ値抽出)→!"$#'$#="
ログインpassword →(ハッシュ値抽出)→!"$#'$#="
※二つのハッシュ値が合っていれば、パスワード一致として認証する。

暗号化の実現方法

可逆暗号電話番号とか住所とかに適用

今回はMySQL関数で実現した。encode関数暗号化して、decode関数でもとに戻す。

例えばtel_noという項目だけあるテーブルがあるとすると、

//データベースに保存する時
insert into テーブル名 (tel_no)  values (encode(tel_no,'暗号キー'));
//データベースから取得する時
select decode(tel_no,'暗号キー') from テーブル名;

これで、データベース格納時は暗号化(バイナリ化)されて、データベースから取り出してHTML表示する時に復号化はされる。

ハッシュパスワードかに適用

今回はphpのhash関数で実現した

ユーザ登録時>

$password=(フォームから取得)
$hash=hash('sha512',$password)
//ユーザ登録時は、ここで生成した$hashをデータベースにぶっこむ。

ユーザ認証時は、入力されたパスワードと、データベースパスワードが一致するかチェック。

ログイン認証時>

//フォームから入力されたパスワード
$input_password=(フォームから取得)
$input_hash=hash('sha512',$input_password);

//MySQLに保存されたパスワードを取得(略)
$db_hash==(データベースから取得)

//判定
if($input_hash==$db_hash)
	echo 'ログインしますよ!';
	//ここにログイン処理を書く
else
	die('メアドパスワードがあってないよ!');

これでもしSQLインジェクションとかでデータ流出しても、ハッシュ暗号パスワードに関してはまず解析されないはず。。。

可逆暗号データphp側の暗号キーが盗まれない限りバレない。。。はず。。。

暗号化する対象のデータをえらぶ

何でもかんでも暗号化するとコードが煩雑になるし、パフォーマンスにも影響でそうなので、

住所データ都道府県とか、漏れても良いような情報暗号しませんでした!!

本人が特定できなければ個人情報はないらしいので。。。

個人情報保護法
2条による定義個人情報」とは、生存する個人に関する情報であって、当該情報に含まれる氏名、生年月日その他の記述等により特定の個人を識別することができるもの(他の情報と容易に照合することができ、それにより特定の個人を識別することができることとなるものを含む。)をいう。

http://ja.wikisource.org/wiki/%E5%80%8B%E4%BA%BA%E6%83%85%E5%A0%B1%E3%81%AE%E4%BF%9D%E8%AD%B7%E3%81%AB%E9%96%A2%E3%81%99%E3%82%8B%E6%B3%95%E5%BE%8B#2

これで、もし漏れても、俺、ウンコ漏らして臭いけど、パンツから出てないからいいよね?というレベルはなった。はず。

お漏らさないようにキツくする

万が一漏れても大丈夫!と書いたけど、そもそも漏らすなというお話になる。色々調べた結果、以下の対策をほどこした

SQLインジェクション対策

・当初jQuery側でSQL組み立ててPHPに渡してたので、これだと任意のSQLが実行できて漏らし放題なのでやめる。

GETとかPOSTでDBに渡すパラメータを扱ってる場合、ちゃんとエスケープする。

例えばログイン認証するPHPで、GETメソッドでフォームからデータを取得するような場合

$id=$_GET['id']
$pwd=$_GET['pwd']
$sql="select * from ユーザーテーブル where uid='$id' and pwd='$pwd'

とかやってると、login.php?id=admin'&pwd=' OR '1'='1とかパラメータを渡されるとあら不思議

select *from ユーザテーブル where uid='root' and pwd='' or 1=1

で、誰でもログイン出来ちゃう!ので、mysql_real_escape_stringでエスケープしたり、渡されたパラメータが想定した値かどうか(例えば数値かどうか、とか)のチェックをいれたりする。

クロスサイトスクリプティング

・保存するデータタグJavascriptを埋め込まれないように、保存されたデータを出力する場合PHP側でhtmlspecialchars関数使ってエスケープするようにする。

こんな感じでお漏らし対策をした。間違いがあったら教えて欲しい

ちなみに出来上がったサイトはこれ。

http://oreni-makasero.com/

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-14

福島原子力発電所CNNコメント欄 MIT科学者見解2【東日本巨大地震

When the diesel generators were gone, the reactor operators switched to emergency battery power. The batteries were designed as one of the backups to the backups, to provide power for cooling the core for 8 hours. And they did.

Within the 8 hours, another power source had to be found and connected to the power plant. The power grid was down due to the earthquake. The diesel generators were destroyed by the tsunami. So mobile diesel generators were trucked in.

This is where things started to go seriously wrong. The external power generators could not be connected to the power plant (the plugs did not fit). So after the batteries ran out, the residual heat could not be carried away any more.

At this point the plant operators begin to follow emergency procedures that are in place for a “loss of cooling event”. It is again a step along the “Depth of Defense” lines. The power to the cooling systems should never have failed completely, but it did, so they “retreat” to the next line of defense. All of this, however shocking it seems to us, is part of the day-to-day training you go through as an operator, right through to managing a core meltdown.

It was at this stage that people started to talk about core meltdown. Because at the end of the day, if cooling cannot be restored, the core will eventually melt (after hours or days), and the last line of defense, the core catcher and third containment, would come into play.

But the goal at this stage was to manage the core while it was heating up, and ensure that the first containment (the Zircaloy tubes that contains the nuclear fuel), as well as the second containment (our pressure cooker) remain intact and operational for as long as possible, to give the engineers time to fix the cooling systems.

Because cooling the core is such a big deal, the reactor has a number of cooling systems, each in multiple versions (the reactor water cleanup system, the decay heat removal, the reactor core isolating cooling, the standby liquid cooling system, and the emergency core cooling system). Which one failed when or did not fail is not clear at this point in time.

So imagine our pressure cooker on the stove, heat on low, but on. The operators use whatever cooling system capacity they have to get rid of as much heat as possible, but the pressure starts building up. The priority now is to maintain integrity of the first containment (keep temperature of the fuel rods below 2200°C), as well as the second containment, the pressure cooker. In order to maintain integrity of the pressure cooker (the second containment), the pressure has to be released from time to time. Because the ability to do that in an emergency is so important, the reactor has 11 pressure release valves. The operators now started venting steam from time to time to control the pressure. The temperature at this stage was about 550°C.

This is when the reports about “radiation leakage” starting coming in. I believe I explained above why venting the steam is theoretically the same as releasing radiation into the environment, but why it was and is not dangerous. The radioactive nitrogen as well as the noble gases do not pose a threat to human health.

At some stage during this venting, the explosion occurred. The explosion took place outside of the third containment (our “last line of defense”), and the reactor building. Remember that the reactor building has no function in keeping the radioactivity contained. It is not entirely clear yet what has happened, but this is the likely scenario: The operators decided to vent the steam from the pressure vessel not directly into the environment, but into the space between the third containment and the reactor building (to give the radioactivity in the steam more time to subside). The problem is that at the high temperatures that the core had reached at this stage, water molecules can “disassociate” into oxygen and hydrogen – an explosive mixture. And it did explode, outside the third containment, damaging the reactor building around. It was that sort of explosion, but inside the pressure vessel (because it was badly designed and not managed properly by the operators) that lead to the explosion of Chernobyl. This was never a risk at Fukushima. The problem of hydrogen-oxygen formation is one of the biggies when you design a power plant (if you are not Soviet, that is), so the reactor is build and operated in a way it cannot happen inside the containment. It happened outside, which was not intended but a possible scenario and OK, because it did not pose a risk for the containment.

So the pressure was under control, as steam was vented. Now, if you keep boiling your pot, the problem is that the water level will keep falling and falling. The core is covered by several meters of water in order to allow for some time to pass (hours, days) before it gets exposed. Once the rods start to be exposed at the top, the exposed parts will reach the critical temperature of 2200 °C after about 45 minutes. This is when the first containment, the Zircaloy tube, would fail.

And this started to happen. The cooling could not be restored before there was some (very limited, but still) damage to the casing of some of the fuel. The nuclear material itself was still intact, but the surrounding Zircaloy shell had started melting. What happened now is that some of the byproducts of the uranium decay – radioactive Cesium and Iodine – started to mix with the steam. The big problem, uranium, was still under control, because the uranium oxide rods were good until 3000 °C. It is confirmed that a very small amount of Cesium and Iodine was measured in the steam that was released into the atmosphere.

It seems this was the “go signal” for a major plan B. The small amounts of Cesium that were measured told the operators that the first containment on one of the rods somewhere was about to give. The Plan A had been to restore one of the regular cooling systems to the core. Why that failed is unclear. One plausible explanation is that the tsunami also took away / polluted all the clean water needed for the regular cooling systems.

The water used in the cooling system is very clean, demineralized (like distilled) water. The reason to use pure water is the above mentioned activation by the neutrons from the Uranium: Pure water does not get activated much, so stays practically radioactive-free. Dirt or salt in the water will absorb the neutrons quicker, becoming more radioactive. This has no effect whatsoever on the core – it does not care what it is cooled by. But it makes life more difficult for the operators and mechanics when they have to deal with activated (i.e. slightly radioactive) water.

But Plan A had failed – cooling systems down or additional clean water unavailable – so Plan B came into effect. This is what it looks like happened:

In order to prevent a core meltdown, the operators started to use sea water to cool the core. I am not quite sure if they flooded our pressure cooker with it (the second containment), or if they flooded the third containment, immersing the pressure cooker. But that is not relevant for us.

The point is that the nuclear fuel has now been cooled down. Because the chain reaction has been stopped a long time ago, there is only very little residual heat being produced now. The large amount of cooling water that has been used is sufficient to take up that heat. Because it is a lot of water, the core does not produce sufficient heat any more to produce any significant pressure. Also, boric acid has been added to the seawater. Boric acid is “liquid control rod”. Whatever decay is still going on, the Boron will capture the neutrons and further speed up the cooling down of the core.

The plant came close to a core meltdown. Here is the worst-case scenario that was avoided: If the seawater could not have been used for treatment, the operators would have continued to vent the water steam to avoid pressure buildup. The third containment would then have been completely sealed to allow the core meltdown to happen without releasing radioactive material. After the meltdown, there would have been a waiting period for the intermediate radioactive materials to decay inside the reactor, and all radioactive particles to settle on a surface inside the containment. The cooling system would have been restored eventually, and the molten core cooled to a manageable temperature. The containment would have been cleaned up on the inside. Then a messy job of removing the molten core from the containment would have begun, packing the (now solid again) fuel bit by bit into transportation containers to be shipped to processing plants. Depending on the damage, the block of the plant would then either be repaired or dismantled.

Now, where does that leave us?

・The plant is safe now and will stay safe.

Japan is looking at an INES Level 4 Accident: Nuclear accident with local consequences. That is bad for the company that owns the plant, but not for anyone else.

・Some radiation was released when the pressure vessel was vented. All radioactive isotopes from the activated steam have gone (decayed). A very small amount of Cesium was released, as well as Iodine. If you were sitting on top of the plants’ chimney when they were venting, you should probably give up smoking to return to your former life expectancy. The Cesium and Iodine isotopes were carried out to the sea and will never be seen again.

・There was some limited damage to the first containment. That means that some amounts of radioactive Cesium and Iodine will also be released into the cooling water, but no Uranium or other nasty stuff (the Uranium oxide does not “dissolve” in the water). There are facilities for treating the cooling water inside the third containment. The radioactive Cesium and Iodine will be removed there and eventually stored as radioactive waste in terminal storage.

・The seawater used as cooling water will be activated to some degree. Because the control rods are fully inserted, the Uranium chain reaction is not happening. That means the “main” nuclear reaction is not happening, thus not contributing to the activation. The intermediate radioactive materials (Cesium and Iodine) are also almost gone at this stage, because the Uranium decay was stopped a long time ago. This further reduces the activation. The bottom line is that there will be some low level of activation of the seawater, which will also be removed by the treatment facilities.

・The seawater will then be replaced over time with the “normal” cooling water

・The reactor core will then be dismantled and transported to a processing facility, just like during a regular fuel change.

Fuel rods and the entire plant will be checked for potential damage. This will take about 4-5 years.

・The safety systems on all Japanese plants will be upgraded to withstand a 9.0 earthquake and tsunami (or worse)

・I believe the most significant problem will be a prolonged power shortage. About half of Japan’s nuclear reactors will probably have to be inspected, reducing the nation’s power generating capacity by 15%. This will probably be covered by running gas power plants that are usually only used for peak loads to cover some of the base load as well. That will increase your electricity bill, as well as lead to potential power shortages during peak demand, in Japan.

If you want to stay informed, please forget the usual media outlets and consult the following websites:

http://www.world-nuclear-news.org/RS_Battle_to_stabilise_earthquake_reactors_1203111.html

http://bravenewclimate.com/2011/03/12/japan-nuclear-earthquake/

http://ansnuclearcafe.org/2011/03/11/media-updates-on-nuclear-power-stations-in-japan/

福島原子力発電所CNNコメント欄 MIT科学者科学者見解1【東日本巨大地震

結論:大丈夫

MvK2010

I'm going to copy paste a full blog post of a research scientist at MIT here, who explains the situation at Fukushima much better than anyone else has, his message: no worries.

This post is by Dr Josef Oehmen, a research scientist at MIT, in Boston.

He is a PhD Scientist, whose father has extensive experience in Germany’s nuclear industry. I asked him to write this information to my family in Australia, who were being made sick with worry by the media reports coming from Japan. I am republishing it with his permission.

It is a few hours old, so if any information is out of date, blame me for the delay in getting it published.

This is his text in full and unedited. It is very long, so get comfy.

I am writing this text (Mar 12) to give you some peace of mind regarding some of the troubles in Japan, that is the safety of Japan’s nuclear reactors. Up front, the situation is serious, but under control. And this text is long! But you will know more about nuclear power plants after reading it than all journalists on this planet put together.

There was and will *not* be any significant release of radioactivity.

By “significant” I mean a level of radiation of more than what you would receive on – say – a long distance flight, or drinking a glass of beer that comes from certain areas with high levels of natural background radiation.

I have been reading every news release on the incident since the earthquake. There has not been one single (!) report that was accurate and free of errors (and part of that problem is also a weakness in the Japanese crisis communication). By “not free of errors” I do not refer to tendentious anti-nuclear journalism – that is quite normal these days. By “not free of errors” I mean blatant errors regarding physics and natural law, as well as gross misinterpretation of facts, due to an obvious lack of fundamental and basic understanding of the way nuclear reactors are build and operated. I have read a 3 page report on CNN where every single paragraph contained an error.

We will have to cover some fundamentals, before we get into what is going on.

Construction of the Fukushima nuclear power plants

The plants at Fukushima are so called Boiling Water Reactors, or BWR for short. Boiling Water Reactors are similar to a pressure cooker. The nuclear fuel heats water, the water boils and creates steam, the steam then drives turbines that create the electricity, and the steam is then cooled and condensed back to water, and the water send back to be heated by the nuclear fuel. The pressure cooker operates at about 250 °C.

The nuclear fuel is uranium oxide. Uranium oxide is a ceramic with a very high melting point of about 3000 °C. The fuel is manufactured in pellets (think little cylinders the size of Lego bricks). Those pieces are then put into a long tube made of Zircaloy with a melting point of 2200 °C, and sealed tight. The assembly is called a fuel rod. These fuel rods are then put together to form larger packages, and a number of these packages are then put into the reactor. All these packages together are referred to as “the core”.

The Zircaloy casing is the first containment. It separates the radioactive fuel from the rest of the world.

The core is then placed in the “pressure vessels”. That is the pressure cooker we talked about before. The pressure vessels is the second containment. This is one sturdy piece of a pot, designed to safely contain the core for temperatures several hundred °C. That covers the scenarios where cooling can be restored at some point.

The entire “hardware” of the nuclear reactor – the pressure vessel and all pipes, pumps, coolant (water) reserves, are then encased in the third containment. The third containment is a hermetically (air tight) sealed, very thick bubble of the strongest steel. The third containment is designed, built and tested for one single purpose: To contain, indefinitely, a complete core meltdown. For that purpose, a large and thick concrete basin is cast under the pressure vessel (the second containment), which is filled with graphite, all inside the third containment. This is the so-called “core catcher”. If the core melts and the pressure vessel bursts (and eventually melts), it will catch the molten fuel and everything else. It is built in such a way that the nuclear fuel will be spread out, so it can cool down.

This third containment is then surrounded by the reactor building. The reactor building is an outer shell that is supposed to keep the weather out, but nothing in. (this is the part that was damaged in the explosion, but more to that later).

Fundamentals of nuclear reactions

The uranium fuel generates heat by nuclear fission. Big uranium atoms are split into smaller atoms. That generates heat plus neutrons (one of the particles that forms an atom). When the neutron hits another uranium atom, that splits, generating more neutrons and so on. That is called the nuclear chain reaction.

Now, just packing a lot of fuel rods next to each other would quickly lead to overheating and after about 45 minutes to a melting of the fuel rods. It is worth mentioning at this point that the nuclear fuel in a reactor can *never* cause a nuclear explosion the type of a nuclear bomb. Building a nuclear bomb is actually quite difficult (ask Iran). In Chernobyl, the explosion was caused by excessive pressure buildup, hydrogen explosion and rupture of all containments, propelling molten core material into the environment (a “dirty bomb”). Why that did not and will not happen in Japan, further below.

In order to control the nuclear chain reaction, the reactor operators use so-called “moderator rods”. The moderator rods absorb the neutrons and kill the chain reaction instantaneously. A nuclear reactor is built in such a way, that when operating normally, you take out all the moderator rods. The coolant water then takes away the heat (and converts it into steam and electricity) at the same rate as the core produces it. And you have a lot of leeway around the standard operating point of 250°C.

The challenge is that after inserting the rods and stopping the chain reaction, the core still keeps producing heat. The uranium “stopped” the chain reaction. But a number of intermediate radioactive elements are created by the uranium during its fission process, most notably Cesium and Iodine isotopes, i.e. radioactive versions of these elements that will eventually split up into smaller atoms and not be radioactive anymore. Those elements keep decaying and producing heat. Because they are not regenerated any longer from the uranium (the uranium stopped decaying after the moderator rods were put in), they get less and less, and so the core cools down over a matter of days, until those intermediate radioactive elements are used up.

This residual heat is causing the headaches right now.

So the first “type” of radioactive material is the uranium in the fuel rods, plus the intermediate radioactive elements that the uranium splits into, also inside the fuel rod (Cesium and Iodine).

There is a second type of radioactive material created, outside the fuel rods. The big main difference up front: Those radioactive materials have a very short half-life, that means that they decay very fast and split into non-radioactive materials. By fast I mean seconds. So if these radioactive materials are released into the environment, yes, radioactivity was released, but no, it is not dangerous, at all. Why? By the time you spelled “R-A-D-I-O-N-U-C-L-I-D-E”, they will be harmless, because they will have split up into non radioactive elements. Those radioactive elements are N-16, the radioactive isotope (or version) of nitrogen (air). The others are noble gases such as Xenon. But where do they come from? When the uranium splits, it generates a neutron (see above). Most of these neutrons will hit other uranium atoms and keep the nuclear chain reaction going. But some will leave the fuel rod and hit the water molecules, or the air that is in the water. Then, a non-radioactive element can “capture” the neutron. It becomes radioactive. As described above, it will quickly (seconds) get rid again of the neutron to return to its former beautiful self.

This second “type” of radiation is very important when we talk about the radioactivity being released into the environment later on.

What happened at Fukushima

I will try to summarize the main facts. The earthquake that hit Japan was 7 times more powerful than the worst earthquake the nuclear power plant was built for (the Richter scale works logarithmically; the difference between the 8.2 that the plants were built for and the 8.9 that happened is 7 times, not 0.7). So the first hooray for Japanese engineering, everything held up.

When the earthquake hit with 8.9, the nuclear reactors all went into automatic shutdown. Within seconds after the earthquake started, the moderator rods had been inserted into the core and nuclear chain reaction of the uranium stopped. Now, the cooling system has to carry away the residual heat. The residual heat load is about 3% of the heat load under normal operating conditions.

The earthquake destroyed the external power supply of the nuclear reactor. That is one of the most serious accidents for a nuclear power plant, and accordingly, a “plant black out” receives a lot of attention when designing backup systems. The power is needed to keep the coolant pumps working. Since the power plant had been shut down, it cannot produce any electricity by itself any more.

Things were going well for an hour. One set of multiple sets of emergency Diesel power generators kicked in and provided the electricity that was needed. Then the Tsunami came, much bigger than people had expected when building the power plant (see above, factor 7). The tsunami took out all multiple sets of backup Diesel generators.

When designing a nuclear power plant, engineers follow a philosophy called “Defense of Depth”. That means that you first build everything to withstand the worst catastrophe you can imagine, and then design the plant in such a way that it can still handle one system failure (that you thought could never happen) after the other. A tsunami taking out all backup power in one swift strike is such a scenario. The last line of defense is putting everything into the third containment (see above), that will keep everything, whatever the mess, moderator rods in our out, core molten or not, inside the reactor.

http://anond.hatelabo.jp/20110314030613

へ続く

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

2008-09-15

[][][][][][][]Slicehost入門

Slicehost


Slicehost VPS Hosting is now Rackspace Cloud Servers hosting

Slicehost Article Repository - VPS setup, servers, Ruby on Rails, Django, PHP, DNS, Slicemanager and more

Slicehost Articles: IP failover - High Availability explained

All requests for the website come to the front end Slice.

That Slice then proxies the request to larger Slices running in the backend of the network.

Slicehost Articles: IP failover - Slice setup and installing Heartbeat

sudo aptitude install heartbeat

sudo apt-get install ubuntu-xen-server

sudo apt-get install dnsmasq

wiki [Slicehost]

Monitoring Ubuntu Services Using Monit | Ubuntu Geek

$ sudo apt-get update

$ sudo apt-get upgrade

$ sudo tasksel

$ sudo apt-get install build-essential


google:Slicehost Ubuntu

Slicehost Articles: Ubuntu Hardy setup - page 1

Slicehost Articles: Ubuntu Hardy setup - page 2

Automatic Rails on Ubuntu 8.04 LTS « Enjoying Rails

joerichsen's gist: 16225 — Gist

Setting up Ubuntu Jaunty for Ruby and Rails development | Joe Ocampo's Blog

5-minutes to Rails // Slicehost VPS Hosting is now Rackspace Cloud Servers hosting

slicehostでRails2.2.2を動かすまで - なんとなく日記

Slicehost Articles: Ubuntu Hardy - Ruby on Rails

Slicehost Articles: Ubuntu Gutsy - Django installation

UbuntuにLAMPサーバを手早くインストールする方法 - builder

LAMPLinuxApacheMySQLPHPサーバを手早くインストールする最も簡単な方法

google:Slicehost CentOS

cat /etc/redhat-release

Slicehost Articles: CentOS setup - page 1

Slicehost Articles: CentOS setup - page 2

CentOSのPHPにはマルチバイト対応入ってませんのであとから入れましょう (技術メモ)

タグ「slicehost」を含む新着エントリー - はてなブックマーク

naotaka blog » Blog Archive » Slicehostに申し込み

slicehostでUbuntu8.04の設定1 初期設定 - delab

Slicehost : Tag Archives - delab

ホスティングサービス Slicehost のドキュメントがすばらしい : 僕は発展途上技術者

SlicehostへのRedmine導入手順(Ubuntu Gutsy)

rootでsshできないように設定する

つくるぶガイドブログ: 失敗しない Rails が動かせるホスティングサービス選びと環境構築

具体的にどこがおすすめかという質問を受けた場合、共用サーバーならば海外Slicehost、専用サーバーならさくらインターネット

Slicehost には、OS を一度まっさらに戻し、

OSの種類やバージョン

用意されているものの中から

簡単に選択し直すことができる機能管理メニューに付いています

naotaka blog » Blog Archive » Slicehostに申し込み

インストールも、やはり2分以内で完了しまから

好きなだけインストールし直しましょう。

なげやり日記: Slicehost

[Rebuild] でOSを簡単にリストアできるのも、試行錯誤のためには便利だったりします。

Slicehost に移行しました - milk1000cc

Web 管理画面で、OS 再起動・再インストール、コンソール操作DNS 設定などができます

あと、プラス $5 で毎日自動イメージごとバックアップ

バックアップ入れても月額 $25、

さくらと違って OS インストール直後は最小構成になっている、設定ミスってもすぐに OSインストールできる


共有サーバー

XREA.COM

CORESERVER.JP:コアサーバー

レンタルサーバはさくらインターネット | 「さくらのレンタルサーバ」「さくらのマネージドサーバ」

ポケットサーバー ★ 月額80円からのレンタルサーバー

格安レンタルサーバーならステップサーバー | 高機能で格安なレンタルサーバーTOP

レンタルサーバーNSF - 月額100円〜容量無制限可の格安レンタルサーバー

ロリポップ!レンタルサーバー - 月額105円~容量最大30GB 初期費用半額キャンペーン中!

チカッパ!レンタルサーバー - ご利用中のユーザー様へのご案内

レンタルサーバー「heteml」 - 大容量・高機能のレンタルサーバー

VPS

Slicehost VPS Hosting is now Rackspace Cloud Servers hosting Slicehost Login

Linode - Xen VPS Hosting Linode Login

Linode.comのVPSホスティングを契約してみた - m-kawato@hatena_diary

Webbynode Hosting - Host and Deploy Ruby on Rails, Django, Node.js, PHP and more

QuillHost - Shopping Cart

VPS Hosting � Virtual Private Server Hosting | DataRealm.com

The New York NOC - New York Colocation, Cloud, Dedicated Servers, and Virtual Private Servers at affordable pricing

Coupon codes, promotions and special offers - CheapVPS

VPS :: VPS Hosting :: VDS :: Virtual Private Servers :: Virtual Dedicated Servers :: Server Axis

RootBSD - FreeBSD and OpenBSD VPS Hosting - Welcome to RootBSD

ProVPS.com - Xen VPS Hosting

VPS仮想専用サーバーならCPI | Linux VPS

レンタルサーバーならVPSレンタルサービス|VPS stock


専用サーバー

激安の専用サーバ:ServerPronto なんと月額$29〜 | 海外サーバ.jp

サーバ本体無償提供、ホスティング向きハウジングサービスを月額7,780円で

デルタ1 - 専用サーバーの【ファーストサーバ】

専用サーバの料金と仕様 | 専用レンタルサーバ(ホスティング)のさくらインターネット

クララオンライン clara

Dedicated servers | Windows and Linux dedicated web servers

Google

Dedicated Servers, Self-Managed Dedicated Server, Dedicated Hosting at ServerPronto

MegaNetServe - Value Driven Dedicated Servers on Linux, Windows 2008, Windows 2003 & FreeBSD

Domain Names, Web Hosting and SSL Certificates - Go Daddy

Dedicated Servers, vSERVERs – SERVER4YOU

Web Hosting | Dedicated Hosting | Domain Registration |

海外の安い専用サーバプランをいろいろ並べて検討してみた - GIGAZINE

再度、レンタルサーバ(共有ではなく「専用」です)で、国内外を.. - 人力検索はてな

Website Hosting in the Yahoo! Directory

Google

サーバー購入

デル株式会社(Dell Japan)の公式サイト | Dell 日本

Dell PowerEdge タワーサーバ

日本HP へようこそ

HP-ProLiant-ML115 G5まとめwiki - トップページ

各メーカーの最安サーバを比較検討してみた - GIGAZINE

server

バックエンドアーキテクチャーのおかげで、2テラバイトの画像を、$1000のLinuxサーバー1台で賄うことができる。だから、年間わずか20万ドル程度の設備投資で、現在サーバー500台を保有している。

ドメイン登録 - VALUE DOMAIN:バリュードメイン

Whois

Domain Names, Web Hosting and SSL Certificates - Go Daddy

サイトチェック - ドメインチェック

有名なウェブサイトの文字コード一覧

JPIXNAGOYA

Amazon S3をWindowsにマウントできるJungle Disk Kawanet Tech Blog/ウェブリブログ

Online storage and backup | Secure file sharing | Unlimited online storage | Jungle Disk

Alexa Top 500 Global Sites

Amazon.co.jp: 現場が教えるホスティングサービスの勘所―立ち上げから運用管理までのノウハウ (NEサポートシリーズ): 合阪 省: 本

Amazon.co.jp: レンタルサーバをはじめよう!―ホスティングのためのサーバ構築術: 斎藤 高洋: 本

Heroku | Cloud Application Platform

2007-04-24

http://anond.hatelabo.jp/20070424065957

http://d.hatena.ne.jp/arisia/20070423/1177316787

Q1. 暇そうだけど、あなたはいくつなの?二十代?三十代?

A1. 30代ですが、なにか?

Q2. いくら稼いでいるの?500万も稼いでいないの?ふーん。

A2. 年300万ぐらい?300で十分ですよ。

Q3. 不労所得って知っている?

A3. 働かないでもらえるお金のこと。

Q4. 家をいくつ持っているの?

A4. 実家が一つ。

Q5. 世界を相手に努力したことあるの?

A5. 努力はしてないけど、世界を相手に仕事してますが何か?

Q6. 一千万単位お金を動かしたことあるの?

A6. 自分のお金じゃなければ普通に。金型発注でそれぐらいは動くよ。

Q7. 子供はいるの?いないの?

A7. いませんがなにか?

Q8. こんなことしていて将来に不安はないの?

A8. 全然不安はありませんよ。不安を感じたら安定剤を飲めばいいんです。

Q9. 中高年期になって貧乏でいいの?

A9. 貧乏でもいいのでは?

Q10. ブログの文章を読みながら、自分の将来のヴィジョンを描けるの?

A10. 描けませんが、なにか?将来なんて風まかせです。

Q11. はっきりきっちり、ディティールを詳細に描くくらいに思い続けるつもりなら、はてなでくだらないブクマコメントなんて残しているようじゃダメだってことをわかってるの?

A11. おっしゃっている意味が分かりません。

Q12. いつまでもうだつが上がらなくていいの?

A12. うだつはあがらない方が幸せなときもあります。というか、地味でいいんじゃね?

Q13. インカムソースはひとつしかないの?

A13. 3つぐらいありますが、サラリー以外は雀の涙です。

Q14. インカムソースはふたつより、みっつくらいあったほうがいいんじゃない?

A14. どーかなー。二つで十分ですよ。「ノー!フォー!」あ、怒られた。

Q15. 寄付を百万単位でしたことある?

A15. 日本じゃ寄付しても免税されないからしない。

Q16. まだ成功していないのね?

A16. なにをもって成功かが問題ですね。私の物差しでは私は成功者です。

Q17. ああ、小さな成功はしているわけね?

A17. なにをもって成功の大小を決めるか問題ですが、いろいろな成功はしていますね。小さな所では半年で10kgの減量。大きな所では去年出した特許で5万円の報奨金Get!

Q18. で、お風呂は家にふたつある?あら、お風呂のない家なのね?

A18. お風呂のない家にあこがれます。銭湯が近くにあるって事ですよね。銭湯いいなぁ。

Q19. キッチンはふたつある?

A19. ひとつです。ベッドから歩いて三歩の所に。

Q20. 井戸端会議楽しい人種なのか?

A20. いいえ?そもそもあまり他人としゃべらないもので…。雑談したいんだけど、みんな真面目に働いていてね…。

Q21. 普段100円ショップの食器で食事してジャージをはいている生活水準だけど、豊かな人生なのね?

A21. 鍋から直接食べるから、食器は茶碗ぐらいかなー。これも実家から持ってきたから100円ショップじゃないし。コップはビールの景品。ジャージはあまり好きじゃないから来てないよ。家では下着派。でも、豊かな人生だよ。光回線だし。

Q22. 現状維持で別に望むものもないわけね?

A22. いいえ。やっぱり僕にも望むモノはあります。穏やかな死が欲しいです。

2007-04-20

好きな女の子GETするためのたった三つの方法

  1. その女の子の話をよく聞く
  2. 美味しいご飯を食べに連れていく
  3. 女の子の着ている服を褒める

この三つだけはガチ

村上春樹が言ってたから多分間違いない。

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