Apple Clears Japanese Ipad Sim Lock Question
Ipad Sim Lock. The announcement of the japanese ipad sim lock mobile operator Softbank Mobile earlier this week that the 3G version could be sold by Apple in Japan IPAD is used in its mobile network has created something of a rumor. That’s because Apple CEO Steve Jobs said in January that the japanese ipad sim
hyper-technet-blog
Technology and internet.
วันศุกร์ที่ 13 สิงหาคม พ.ศ. 2553
Wow Wireless Webcam hot sure.
Install a Wireless Webcam
Wireless
Installing a Webcam is a fun and worthwhile project, whether it's for home security or to help you keep track of your kids or pets. You can securely view whatever the camera sees from anywhere in the world, as long as you have access to the Internet. And with a wireless Webcam, you'll have even more flexibility, because you can install it farther away from your computer.
Wired or wireless? You can use most Webcams with either a wireless or a wired connection to your network. Wireless connections offer more flexibility, but wired connections are simpler to set up. In fact, as part of the steps toward wireless setup, you'll set up a temporary wired connection first. If you run into trouble setting up the wireless connection, you can always fall back on the wired connection. Assuming that you do want to use wireless, consider using an 802.11g or 802.11n networking technology, as opposed to the older 802.11a or 802.11b ones. These technologies are discussed in "Build a Home Network."
Gather the equipment. We assume that you already have a network set up that supports both wired and wireless connections, as discussed in "Build a Home Network." The only other equipment you need is the Webcam itself and a network cable to connect it to the router during setup. Webcams are available for around $100, and they often include the cable. To ensure maximum compatibility, consider buying a Webcam made by the same company as your router. Also consider these features:
Webcam features
•Compatibility with your wireless protocol (that is, 802.11g or 802.11n)
•Support for the wireless security you use, if any (that is, WEP or WPA)
•Built-in Web server (to connect to the Internet without a computer)
•Support for audio and built-in microphone
•Ability for tabletop or wall-mounted use
Gather network information
In addition to equipment, during setup you'll need information about your wireless network, available from the administration screens for your router (for details, refer to the documentation that came with your router):
•Network name or Service Set Identifier (SSID)
•The type of security the network uses, like WEP (Wired Equivalency Protocol) or WPA (WiFi Protected Access)
•For WEP networks, the key length (64-bit or 128-bit)
•For WPA networks, the encryption algorithm (TKIP or AES)
•The shared encryption key or passphrase
Set up the webcam
Once you have everything together, you're ready for setup. Of course, the first thing you need to do is decide where to place the Webcam (make sure there's a nearby power outlet). If, in the Webcam's permanent place, the network cable doesn't reach the router, you'll need to bring the Webcam closer to the router during setup, and then move it back later. For detailed steps, follow the setup instructions that come with the Webcam, but here are the basic steps:
•Connect the Webcam to the router with a network cable, plug it into a wall outlet, and then power up the camera.
Note: Installation instructions may tell you to connect or power up the camera at a specific time during setup; be sure to follow these and any other manufacturer's instructions.
•Using a computer on the same network as the Webcam, launch the setup software that comes with the camera, which usually provides a user-friendly wizard to guide you through the process.
Note: If you are prompted to set up an administrator username and password for the camera, be sure to use a strong password, so the camera is secure over the Internet. See the article "Choosing Good Passwords" for more information.
•Enter your wireless network information into the setup software. If you are asked to choose between Infrastructure mode and Ad-Hoc mode, select Infrastructure. Note: During setup, you'll be provided with the camera's IP address. Write it down; you'll need it later to access the camera.
•Name the camera. (Use a name that's easy to remember and keep in mind that you may add more cameras later.)
•Once the setup wizard is finished, power down the camera and disconnect the network cable from the router.
Test the camera. Now is the moment you've been waiting for. With the camera's network cable still unplugged, power up the camera. On a computer on the same network as the camera, enter the IP address you wrote down during setup into the address bar of your browser, and then press Enter on your keyboard. If all goes well, you'll see the picture from your camera.
If you want to make the camera available from outside your network (over the Internet), you'll probably need to enter an IP address that is unique all over the world (called a Public IP address), not just on your network.¹ If your Webcam has this capability, refer to its documentation for setup instructions.
Troubleshooting steps, just in case.
If you have trouble setting up or connecting to the Webcam over your network, try these steps before calling the manufacturer's technical support:
•Anti-virus and firewall software (including the built-in firewall in Microsoft Windows*) may interfere with setup; try disabling them. To be on the safe side, first disconnect from the Internet.
•Make sure your browser is compatible with the Webcam. (Check the documentation that came with the camera.)
•Make sure the Channel setting on the camera's wireless setup screens matches that on your router.
•If the camera's wireless setup software provides an option to change the transmission rate (the speed that data flows between the camera and router), try different settings, starting with the lowest options first.
•If the wireless connection still doesn't work, power down the camera, connect it to the router using the network cable, and then retest it in your browser.
•If all else fails, consider hiring help. Many consumer electronics retail chains now have in-house services that specialize in helping their customers with equipment setup and configuration.
Lots of computers today come with a Webcam built in. Look for your next laptop or desktop computer to have both a Webcam and Intel Inside®.
Wireless
Installing a Webcam is a fun and worthwhile project, whether it's for home security or to help you keep track of your kids or pets. You can securely view whatever the camera sees from anywhere in the world, as long as you have access to the Internet. And with a wireless Webcam, you'll have even more flexibility, because you can install it farther away from your computer.
Wired or wireless? You can use most Webcams with either a wireless or a wired connection to your network. Wireless connections offer more flexibility, but wired connections are simpler to set up. In fact, as part of the steps toward wireless setup, you'll set up a temporary wired connection first. If you run into trouble setting up the wireless connection, you can always fall back on the wired connection. Assuming that you do want to use wireless, consider using an 802.11g or 802.11n networking technology, as opposed to the older 802.11a or 802.11b ones. These technologies are discussed in "Build a Home Network."
Gather the equipment. We assume that you already have a network set up that supports both wired and wireless connections, as discussed in "Build a Home Network." The only other equipment you need is the Webcam itself and a network cable to connect it to the router during setup. Webcams are available for around $100, and they often include the cable. To ensure maximum compatibility, consider buying a Webcam made by the same company as your router. Also consider these features:
Webcam features
•Compatibility with your wireless protocol (that is, 802.11g or 802.11n)
•Support for the wireless security you use, if any (that is, WEP or WPA)
•Built-in Web server (to connect to the Internet without a computer)
•Support for audio and built-in microphone
•Ability for tabletop or wall-mounted use
Gather network information
In addition to equipment, during setup you'll need information about your wireless network, available from the administration screens for your router (for details, refer to the documentation that came with your router):
•Network name or Service Set Identifier (SSID)
•The type of security the network uses, like WEP (Wired Equivalency Protocol) or WPA (WiFi Protected Access)
•For WEP networks, the key length (64-bit or 128-bit)
•For WPA networks, the encryption algorithm (TKIP or AES)
•The shared encryption key or passphrase
Set up the webcam
Once you have everything together, you're ready for setup. Of course, the first thing you need to do is decide where to place the Webcam (make sure there's a nearby power outlet). If, in the Webcam's permanent place, the network cable doesn't reach the router, you'll need to bring the Webcam closer to the router during setup, and then move it back later. For detailed steps, follow the setup instructions that come with the Webcam, but here are the basic steps:
•Connect the Webcam to the router with a network cable, plug it into a wall outlet, and then power up the camera.
Note: Installation instructions may tell you to connect or power up the camera at a specific time during setup; be sure to follow these and any other manufacturer's instructions.
•Using a computer on the same network as the Webcam, launch the setup software that comes with the camera, which usually provides a user-friendly wizard to guide you through the process.
Note: If you are prompted to set up an administrator username and password for the camera, be sure to use a strong password, so the camera is secure over the Internet. See the article "Choosing Good Passwords" for more information.
•Enter your wireless network information into the setup software. If you are asked to choose between Infrastructure mode and Ad-Hoc mode, select Infrastructure. Note: During setup, you'll be provided with the camera's IP address. Write it down; you'll need it later to access the camera.
•Name the camera. (Use a name that's easy to remember and keep in mind that you may add more cameras later.)
•Once the setup wizard is finished, power down the camera and disconnect the network cable from the router.
Test the camera. Now is the moment you've been waiting for. With the camera's network cable still unplugged, power up the camera. On a computer on the same network as the camera, enter the IP address you wrote down during setup into the address bar of your browser, and then press Enter on your keyboard. If all goes well, you'll see the picture from your camera.
If you want to make the camera available from outside your network (over the Internet), you'll probably need to enter an IP address that is unique all over the world (called a Public IP address), not just on your network.¹ If your Webcam has this capability, refer to its documentation for setup instructions.
Troubleshooting steps, just in case.
If you have trouble setting up or connecting to the Webcam over your network, try these steps before calling the manufacturer's technical support:
•Anti-virus and firewall software (including the built-in firewall in Microsoft Windows*) may interfere with setup; try disabling them. To be on the safe side, first disconnect from the Internet.
•Make sure your browser is compatible with the Webcam. (Check the documentation that came with the camera.)
•Make sure the Channel setting on the camera's wireless setup screens matches that on your router.
•If the camera's wireless setup software provides an option to change the transmission rate (the speed that data flows between the camera and router), try different settings, starting with the lowest options first.
•If the wireless connection still doesn't work, power down the camera, connect it to the router using the network cable, and then retest it in your browser.
•If all else fails, consider hiring help. Many consumer electronics retail chains now have in-house services that specialize in helping their customers with equipment setup and configuration.
Lots of computers today come with a Webcam built in. Look for your next laptop or desktop computer to have both a Webcam and Intel Inside®.
วันพุธที่ 11 สิงหาคม พ.ศ. 2553
Wow today sony talk a bout self "I'am is Smallest lens" you belive ?
Sony Unveils World’s Smallest & Lightest Interchangeable Lens Digital Camera
The new α NEX-3 and NEX-5 deliver true DSLR quality with its Exmor™ APS HD CMOS image sensor and HD movie recording in a stylish, easy-to-use, ultra-compact body
(Singapore, 11 May 2010) – Sony Electronics Asia Pacific today announced its first ultra-compact, interchangeable lens system digital cameras – the α NEX-3 and NEX-5. Featuring the world’s smallest and lightest interchangeable lens digital camera body , the NEX-3 and NEX-5 allows users to effortlessly capture stunning, DSLR quality photos with its new 14.2-megapixel ExmorTM APS HD CMOS image sensor and Full HD 1080i videos in AVCHD format with the NEX-5.
“As a leader in innovation, Sony developed this new line of α cameras so that anyone can easily capture DSLR quality images, regardless of whether they are seasoned or amateur photographers,” says Mr. Yosuke Aoki, General Manager, Digital Imaging Marketing Division, Sony Electronics Asia Pacific. “For photographers who are new to extensive manual controls on a camera, the NEX-3 and NEX-5 offer sleek form factor, as well as user-friendly settings such as Background Defocus Control and iAuto mode that allow them to capture professional photos effortlessly. For experienced photographers, the lightweight cameras offer serious DSLR performance in a camera that they can easily carry with them at all times.”
Unparalleled Image & Video Quality
Equipped with the latest ExmorTM APS HD CMOS image sensor and high speed BIONZ processor, the NEX-3 and NEX-5 deliver DSLR image quality and HD movie recording with richer tonal gradation and lower noise. The NEX-5 delivers Full HD 1080i movie recording in AVCHD format, while the NEX-3 records HD videos in MP4 format. The α cameras also offer higher ISO sensitivity of up to 12800, up to 14.2-megapixel resolution and defocusing to achieve beautiful images even in low light environments without having to use a tripod or flash.
Leveraging the power of its interchangeable lens system, the NEX-3 and NEX-5 let photographers swap between lenses for greater flexibility and precision, and shoot photos and videos with the ultracompact wide-angle, standard zoom, and high-power zoom E-mount lenses. With the optional Ultra Wide-Angle Converter and Fisheye Converter and via the use of the A-Mount Adaptor, photographers can also use the existing wide range of α A-mount lenses with the NEX-3 and NEX-5, expanding imaging possibilities.
Compact, Stylish & Intuitive Design
Integrating a mirrorless design, the NEX-5 is the smallest and lightest interchangeable lens system camera available today. Weighing approximately 229g and measuring 110.8mm × 58.8mm × 38.2mm (W x H x D), the slim and stylish NEX-5 provides both professional and amateur photographers the ideal digital camera to carry with them at all times. Measuring a mere 24.2mm thick , the top-of-line NEX-5 also fits perfectly into pockets or handbags. Offering greater colour variety and choice, the NEX-3 will be available in black, red, silver and white while the NEX-5 will be available in black and silver.
The new α cameras also provide an intuitive user experience with its simplified control layout, featuring a control wheel and two context-sensitive soft keys. The new Graphic User Interface features six clearly labeled icons that can be selected by rotating and then pressing the control wheel to access shoot settings, a user interface common in compact cameras that makes the NEX-3 and NEX-5 perfect for photographers new to extensive manual controls. In addition, built-in shooting tips provide information relevant to the current shooting or mode selection, giving users quick tips on photographic techniques as well as various types of scenes and subjects. A separate Movie button on the α cameras also allow users to record movies quickly without switching between still image and movie modes.
Revolutionary DSLR Features In A Compact Form
Users of the α cameras will soon be able to capture high quality 3D panoramic photos with its new 3D Sweep Panorama mode, which will be available through a firmware update in mid July 2010. Based on the same Sweep Panorama technology used in existing Cyber-shot TX series models, the NEX-3 and NEX-5 can snap realistic 3D panoramic still images that can be displayed on compatible BRAVIA 3D TVs via an optional HDMI cable.
When activated, the Background Defocus Control feature lets photographers intuitively adjust background defocusing and depth of field to their desired level by simply rotating the control wheel, letting users easily control depth of field to make their subjects stand out dramatically from a blurred background. With the new iAuto (Intelligent Auto) mode, the scene recognition function automatically analyzes the scene to determine the correct exposure values and selects the optimum scene for true point-and-shoot simplicity.
Furthermore, the 3-inch Xtra fine LCD monitor can be tilted 80° up and 45° down to allow users to view their subjects and shoot even at awkward angles. The screen features a high 921,600 dot resolution with its 16:9 widescreen display, and integrates TruBlack technology which allows subject details and subtle tonal gradations to be displayed with deep blacks and high contrast, making it easy to focus on subjects accurately.
Other Intelligent Features
In addition to Speed Priority Continuous mode shooting at up to 7fps, the NEX-3 and NEX-5 also feature the Handheld Twilight mode, letting them easily capture impressive, high resolution images in low light conditions without having to use a tripod or flash.
Each camera also sports a dual memory card slot which enables the use of both Memory Stick and SD media. The NEX-3 and NEX-5 are compatible with the latest Memory Stick PRO-HG Duo HX media, enabling the fastest transfer speeds of up to 4 times that of the Memory Stick PRO Duo Mark 2 and maximizing continuous shooting with its large data capacity of up to 32GB. The HX also enhances burst shooting, so consumers can afford to shoot more pictures in one minute without missing any key shots during shooting compared to using any SD Memory Card now available in the market.
Sony and the Environment
Sony is consistently engaged in a review of our manufacturing operations and business practices to ensure products are developed in an environmentally responsible manner. As part of company-wide efforts to recycle valuable resources, a significant portion of the external body of these cameras is made from high-quality recycled polycarbonate .
The new α NEX-3 and NEX-5 deliver true DSLR quality with its Exmor™ APS HD CMOS image sensor and HD movie recording in a stylish, easy-to-use, ultra-compact body
(Singapore, 11 May 2010) – Sony Electronics Asia Pacific today announced its first ultra-compact, interchangeable lens system digital cameras – the α NEX-3 and NEX-5. Featuring the world’s smallest and lightest interchangeable lens digital camera body , the NEX-3 and NEX-5 allows users to effortlessly capture stunning, DSLR quality photos with its new 14.2-megapixel ExmorTM APS HD CMOS image sensor and Full HD 1080i videos in AVCHD format with the NEX-5.
“As a leader in innovation, Sony developed this new line of α cameras so that anyone can easily capture DSLR quality images, regardless of whether they are seasoned or amateur photographers,” says Mr. Yosuke Aoki, General Manager, Digital Imaging Marketing Division, Sony Electronics Asia Pacific. “For photographers who are new to extensive manual controls on a camera, the NEX-3 and NEX-5 offer sleek form factor, as well as user-friendly settings such as Background Defocus Control and iAuto mode that allow them to capture professional photos effortlessly. For experienced photographers, the lightweight cameras offer serious DSLR performance in a camera that they can easily carry with them at all times.”
Unparalleled Image & Video Quality
Equipped with the latest ExmorTM APS HD CMOS image sensor and high speed BIONZ processor, the NEX-3 and NEX-5 deliver DSLR image quality and HD movie recording with richer tonal gradation and lower noise. The NEX-5 delivers Full HD 1080i movie recording in AVCHD format, while the NEX-3 records HD videos in MP4 format. The α cameras also offer higher ISO sensitivity of up to 12800, up to 14.2-megapixel resolution and defocusing to achieve beautiful images even in low light environments without having to use a tripod or flash.
Leveraging the power of its interchangeable lens system, the NEX-3 and NEX-5 let photographers swap between lenses for greater flexibility and precision, and shoot photos and videos with the ultracompact wide-angle, standard zoom, and high-power zoom E-mount lenses. With the optional Ultra Wide-Angle Converter and Fisheye Converter and via the use of the A-Mount Adaptor, photographers can also use the existing wide range of α A-mount lenses with the NEX-3 and NEX-5, expanding imaging possibilities.
Compact, Stylish & Intuitive Design
Integrating a mirrorless design, the NEX-5 is the smallest and lightest interchangeable lens system camera available today. Weighing approximately 229g and measuring 110.8mm × 58.8mm × 38.2mm (W x H x D), the slim and stylish NEX-5 provides both professional and amateur photographers the ideal digital camera to carry with them at all times. Measuring a mere 24.2mm thick , the top-of-line NEX-5 also fits perfectly into pockets or handbags. Offering greater colour variety and choice, the NEX-3 will be available in black, red, silver and white while the NEX-5 will be available in black and silver.
The new α cameras also provide an intuitive user experience with its simplified control layout, featuring a control wheel and two context-sensitive soft keys. The new Graphic User Interface features six clearly labeled icons that can be selected by rotating and then pressing the control wheel to access shoot settings, a user interface common in compact cameras that makes the NEX-3 and NEX-5 perfect for photographers new to extensive manual controls. In addition, built-in shooting tips provide information relevant to the current shooting or mode selection, giving users quick tips on photographic techniques as well as various types of scenes and subjects. A separate Movie button on the α cameras also allow users to record movies quickly without switching between still image and movie modes.
Revolutionary DSLR Features In A Compact Form
Users of the α cameras will soon be able to capture high quality 3D panoramic photos with its new 3D Sweep Panorama mode, which will be available through a firmware update in mid July 2010. Based on the same Sweep Panorama technology used in existing Cyber-shot TX series models, the NEX-3 and NEX-5 can snap realistic 3D panoramic still images that can be displayed on compatible BRAVIA 3D TVs via an optional HDMI cable.
When activated, the Background Defocus Control feature lets photographers intuitively adjust background defocusing and depth of field to their desired level by simply rotating the control wheel, letting users easily control depth of field to make their subjects stand out dramatically from a blurred background. With the new iAuto (Intelligent Auto) mode, the scene recognition function automatically analyzes the scene to determine the correct exposure values and selects the optimum scene for true point-and-shoot simplicity.
Furthermore, the 3-inch Xtra fine LCD monitor can be tilted 80° up and 45° down to allow users to view their subjects and shoot even at awkward angles. The screen features a high 921,600 dot resolution with its 16:9 widescreen display, and integrates TruBlack technology which allows subject details and subtle tonal gradations to be displayed with deep blacks and high contrast, making it easy to focus on subjects accurately.
Other Intelligent Features
In addition to Speed Priority Continuous mode shooting at up to 7fps, the NEX-3 and NEX-5 also feature the Handheld Twilight mode, letting them easily capture impressive, high resolution images in low light conditions without having to use a tripod or flash.
Each camera also sports a dual memory card slot which enables the use of both Memory Stick and SD media. The NEX-3 and NEX-5 are compatible with the latest Memory Stick PRO-HG Duo HX media, enabling the fastest transfer speeds of up to 4 times that of the Memory Stick PRO Duo Mark 2 and maximizing continuous shooting with its large data capacity of up to 32GB. The HX also enhances burst shooting, so consumers can afford to shoot more pictures in one minute without missing any key shots during shooting compared to using any SD Memory Card now available in the market.
Sony and the Environment
Sony is consistently engaged in a review of our manufacturing operations and business practices to ensure products are developed in an environmentally responsible manner. As part of company-wide efforts to recycle valuable resources, a significant portion of the external body of these cameras is made from high-quality recycled polycarbonate .
วันศุกร์ที่ 30 กรกฎาคม พ.ศ. 2553
i-Spyphone ไฮ เทคโนโลยี นั้นมีสองด้านเสมอ:)
สืบด้วยตัวเองผ่านมือถือสายลับ - i-Spyphone
i-SpyPhone นวัตกรรมใหม่ ในการติดตาม พฤติกรรมของบุคคล สามารถฟังการสนทนาโทรศัพท์ ตรวจสอบรายการโทรเข้าออก SMS และตำแหน่ง ของเครื่องเป้าหมาย โดยใช้ i-SpyPhone
รู้ทุกการสนทนา ทุกคำพูด ทุกSMS ทุกตำแหน่ง จากทุกมุมโลก
- สืบด้วยตัวเอง ข้อมูลส่วนตัวไม่รั่วไหล สะดวก ทำได้เอง ติดตั้งเอง
การทำงานของโปรแกรม i-Spyphone
รู้ทุกเรื่องลับ ผ่านมือถือสายลับ
เพียงนำโทรศัพท์มือถือ ของบุคคลที่เราต้องการติดตามข้อมูล มาติดตั้งโปรแกรม เพียง 5 นาที... หลังจากนั้น โปรแกรม Spy phone จะซ่อนในเครื่องโทรศัพท์ และแอบทำงาน ในเครื่องที่ถูกลงโปรแกรม โดยไม่แสดง ไอคอน เสียง หรือ ข้อความใดๆ โดยจะแอบส่งข้อมูล ที่เราต้องการรู้ เช่น ข้อมูลการโทร , SMS , E-mail , ตำแหน่งGPS , โดยข้อมูลทั้งหมดจะถูกส่งไปยังเครื่องควบคุม สามารถฟังการสนทนาแบบสดๆ ได้ทุกที่ ทุกเวลา โดยไม่จำกัดระยะทาง ตลอด 24 ชั่วโมง.
ช่วงโปรโมชั่นพร้อมส่วนลด ทั้ง 4 ชุด
ชุดที่ 1 CALL + SMS
ความสามารถ : ฟังการสนทนา + ดูข้อความ SMS
แถมโทรศัพท์เครื่องควบคุมพร้อมเบอร์
ชุดพื้นฐานสามารถฟังการสนทนา และตรวจสอบข้อมูลการรับ-ส่ง ข้อความ SMS
Spy SMS - ตรวจสอบข้อความ SMS - ราคา 6,500 บาท
ก๊อปปี้ข้อความ SMS ที่มีการ รับเข้า - ส่งออก
Spy CALL - ฟังการสนทนา ราคา - 7,500 บาท
แจ้งเติอนหมายเลขที่กำลังติดต่อ , ฟังเสียงรอบๆเครื่องเป้าหมาย , ฟังการสนทนา 3 สาย
แถมโทรศัพท์เครื่องควบคุม ออกแบบสำหรับโปรแกรม Spyphoneโดยเฉพาะ พร้อมเบอร์โทรศัพท์ มีระบบตัดเสียง ที่เข้าไปรบกวนเครื่องเป้าหมาย สะดวกปลอดภัยกว่า.. ราคา 1,500 บาท
จากปรกติ 14,000 บาท ลดเหลือ 9,900 บาท
Oh sock coding codingstyle #1 on Google:)
codingstyle.com to day hot and hit.
Coding Style
'Coding style' refers to the way source code is formatted. For C, this involves things like brace placement, indentation, and the way parentheses are used. GNOME has a mix of coding styles, and we do not enforce any one of them. The most important thing is for the code to be consistent within a program or library - code with sloppy formatting is not acceptable, since it is hard to read.
When writing a new program or library, please follow a consistent style of brace placement and indentation. If you do not have any personal preference for a style, we recommend the Linux kernel coding style, or the GNU coding style.
Read the (Standards)Writing C info node in the GNU documentation. Then, get the Linux kernel sources and read the file linux/Documentation/CodingStyle, and ignore Linus's jokes. These two documents will give you a good idea of what we recommend for GNOME code.
Indentation Style
For core GNOME code we prefer the Linux kernel indentation style. Use 8-space tabs for indentation.
Using 8-space tabs for indentation provides a number of benefits. It makes the code easier to read, since the indentation is clearly marked. It also helps you keep your code honest by forcing you to split functions into more modular and well-defined chunks - if your indentation goes too far to the right, then it means your function is designed badly and you should split it to make it more modular or re-think it.
8-space tabs for indentation also helps you to design functions that fit nicely in a single screen, which means that people can understand the code without having to scroll back and forth in order to understand it.
Example my coding style.
=====================================:)
//If you use Emacs, then you can select the Linux kernel indentation style by including this in your .emacs file:://
(add-hook 'c-mode-common-hook
(lambda ()
(c-set-style "k&r")
(setq c-basic-offset 8)))
//On newer Emacsen or with a newer cc-mode, you may be able to simply do this instead://
(add-hook 'c-mode-common-hook
(lambda ()
(c-set-style "linux")))
//If you use vim, then you can select the GNOME kernel indentation style by including this fragment in your ~/.vimrc file://
set ts=8
if !exists("autocommands_loaded")
let autocommands_loaded = 1
augroup C
autocmd BufRead *.c set cindent
augroup END
endif
=====================================:)
What is your style., coding program.
สมัครสมาชิก:
บทความ (Atom)