Sabtu, 12 April 2014
Hurt Locker P2P Lawsuits Move On To Canada
Jumat, 11 April 2014
extroots
the extroots is a mechanism to transfer our instalation to external device like flashdrive / hardisk external. its very important, because basicly the mr3020 doesnt have enough space in memory to install thing such luci (web interface). after flashing the kernel we should access the mr3020 via telnet / putty. Be sure to understand the basic of linux command line before you do this.
this is my 16gb sandisk cruzher. i have formatted it to ext2 with mini tool partition wizard home edition.
I format the flashdisk to 8gb fat32
(to save data whenever i want plug in to a windows operating system), 100mb linux swap, adding some additional virtual ram. And the rest space of the flashdisk to ext-2 format.
now proceed to our devices... plug in our usb flash drives.
install requirement packet by typing opkg install [packet_name]
- block-mount
- kmod-usb-storage
- kmod-fs-ext4
vi /etc/config/fstab
config global automount
option from_fstab 1
option anon_mount 1
config global autoswap
option from_fstab 1
option anon_swap 0
config mount
option target /home
option device /dev/sda1
option fstype ext4
option options rw,sync
option enabled 0
option enabled_fsck 0
config swap
option device /dev/sda2 -> this is our 100mb swap that we already created
option enabled 1 -> enabled it
config mount
option device /dev/sda3 -> this is our ext2 formated usb that we already created
option target /mnt/usb -> i mount it on /mnt/usb
option enabled_fsck 0
option options rw,sync -> mount with read and write + sync
option enabled 1 -> enabled it
option is_rootfs 1 -> to make extroots
after that press esc, then :wq to save and rewrite fstab configuration.
now restart your tplink mr3020.... either by plug off power source or type reboot in the console.
login into console....
type df
it will show
rootfs 6927587 8194 6561947 0% /
/dev/root 2880 2824 56 98% /rom
tmpfs 14580 80 14500 1% /tmp
tmpfs 512 0 512 0% /dev
/dev/sda3 6927587 8194 6561947 0% /overlay
overlayfs:/overlay 6927587 8194 6561947 0% / -> before we edit fstab there isnt there
tar -C /overlay -cvf - . | tar -C /mnt/usb/ -xf -
to pivot whole /overlay to the usb storage which already being mount from /dev/sda3 to /mnt/usb.
done. now all our further instalation will move on our storage...
ATmega328 is no longer blank it loaded with Arduino boot loader
Blank ATmega328 flushed with Arduino boot loader |
Flushed ATmega circuit built and testing with sketches (This board is named as "pixelduino") :-) |
Arduino UNO connected to Blank ATmega328 as an ISP programmer. After flushing its loaded with blink sketch for test and it works well. |
Kamis, 10 April 2014
Meet 蓝博文(Bowen Na
From Bay Area |
As of last night at 10:27pm, I am a father. XiaoQin and I picked the name because it works both in Mandarin and English (using the Pinyin Anglicization). The labor was a 18 hour process, but resulted in a C-section because the umbilical cord was wrapped around little Bowens neck, and this was the safest way to get the baby out. Mother and Baby are recovering and bonding just fine.
Ive posted more than one picture on Facebook, but this sleep-deprived dad is unable to get Two Factor Authentication to work on PicasaWebs plugin from Lightroom, so Google+ users will just have to live with this one picture posted to an account without Two Factor Auth turned on.
Given this state of affairs will persist for the foreseeable future, and I dont see myself spamming my blog with baby pictures, just ask me on Facebook to be added to the Facebook group devoted entirely to baby-spam.
Rabu, 09 April 2014
Nvidia announces next generation 64 bit Tegra K1 SoC with 192 GPU cores
Selasa, 08 April 2014
Measuring RAM Speed
Memory RAM Speed - Access Time, Megahertz (MHz), Bytes Per SecondPrior to SDRAM, speed was expressed in terms of nanoseconds (ns). This measured the amount of time it takes the module to deliver a data request. Therefore, the lower the nanosecond speed, the faster. Typical speeds were 90, 80, 70 and 60ns. Older 486 machines may have 80 or 90. More recent Pentiums will have 60 or 70. | | ||||||||||||
Often, the last digit of a memory part number will represents the speed such as -6 = 60ns. SDRAM speed is measured in megahertz (MHz). Speed markings on the memory chips may still specific nanoseconds, but in this case in represents the number of nanoseconds between clock cycles. To add to the confusion the markings on the chips dont match the Mhz value. Here is a conversion chart. To calculate bytes per second you need to know the Bus Width and Bus Speed of your PC. The first thing to remember is 8-bits = 1 byte. If you have a 64-bit bus, than 8 bytes of information can be transferred at one time. (64 / 8 bits = 8 bytes) If your bus speed is 100Mhz (100 million clock cycles per second) and the bus width is 1 byte wide, the speed is 100 MBs per second. With a 64-bit width, the speed is 800 MBs per second (64 / 8 * 100,000,000) Rambus modules are measured in megabytes per second. Rambus modules are either 400 or 300Mhz. Because they send two pieces of information every clock cycle, you get 800 or 600Mhz. They have a 16-bit bus width or 2 bytes (16/8). The 400Mhz module speed is 1600MB a second or 1.6GB a second. (400,000,000 * 2) * 2. The 300Mhz module provides 1.2GBs a second. |
Senin, 07 April 2014
Microsoft Wheel Optical Mouse
Minggu, 06 April 2014
Long Term Review Schlage Keypad Locks
Changing the batteries turned out to be fairly straightforward. You unscrew the back, and the cover pops off. The battery is located in a bracket, and is a standard 9V battery which are fairly cheap to get from Amazon. When removing the cover, make a note of the orientation and make sure that you have the handle in the correct orientation when replacing. Otherwise it just wont go back in. Obviously, I use the front door of the house a lot more than the back door, so the battery for the back door is still going strong.
As for the product, I like it so much that I replaced the rental units lock with a Schlage unit, my parents house also now sports one, and my wifes house also has them. I cannot recommend them highly enough, especially if you own rental property --- no more re-keying your unit between tenants, and even better, your tenant will never call you up in the middle of the night after theyve locked themselves out, because they cant. Its also great if youre in the habit of exchanging your home with someone else on HomeExchange, or renting out your home on AirBnB. You set up a code, give them to your exchangees or renters, and delete the code when you get back. You can also set up specific codes for house-cleaners, etc and other trusted personnel and delete those if you ever switch providers.
Home ownership is in general a pain, but being able to replace the standard keyed locks with one of these is definitely a bright spot. Highly recommended.
Sabtu, 05 April 2014
Microsoft Reveals SQL Server 2012 Licensing Model News
USB UNIVERSAL SERIAL BUS
Just about any computer that you buy today comes with one or more Universal Serial Bus connectors on the back. These USB connectors let you attach everything from mice to printers to your computer quickly and easily. The operating system supports USB as well, so the installation of the device drivers is quick and easy, too. Compared to other ways of connecting devices to your computer (including parallel ports, serial ports and special cards that you install inside the computers case), USB devices are incredibly simple!
In this article, we will look at USB ports from both a user and a technical standpoint. You will learn why the USB system is so flexible and how it is able to support so many devices so easily -- its truly an amazing system!
Anyone who has been around computers for more than two or three years knows the problem that the Universal Serial Bus is trying to solve -- in the past, connecting devices to computers has been a real headache!
- Printers connected to parallel printer ports, and most computers only came with one. Things like Zip drives, which need a high-speed connection into the computer, would use the parallel port as well, often with limited success and not much speed.
- Modems used the serial port, but so did some printers and a variety of odd things like Palm Pilots and digital cameras. Most computers have at most two serial ports, and they are very slow in most cases.
- Devices that needed faster connections came with their own cards, which had to fit in a card slot inside the computers case. Unfortunately, the number of card slots is limited and you needed a Ph.D. to install the software for some of the cards.
The goal of USB is to end all of these headaches. The Universal Serial Bus gives you a single, standardized, easy-to-use way to connect up to 127 devices to a computer.
Just about every peripheral made now comes in a USB version. A sample list of USB devices that you can buy today includes:
- Printers
- Scanners
- Mice
- Joysticks
- Flight yokes
- Digital cameras
- Webcams
- Scientific data acquisition devices
- Modems
- Speakers
- Telephones
- Video phones
- Storage devices such as Zip drives
- Network connections
In the next section, well look at the USB cables and connectors that allow your computer to communicate with these devices.
USB Hubs
Most computers that you buy today come with one or two USB sockets. With so many USB devices on the market today, you easily run out of sockets very quickly. For example, on the computer that I am typing on right now, I have a USB printer, a USB scanner, a USB Webcam and a USB network connection. My computer has only one USB connector on it, so the obvious question is, "How do you hook up all the devices?"
The easy solution to the problem is to buy an inexpensive USB hub. The USB standard supports up to 127 devices, and USB hubs are a part of the standard.
USB Cables and Connectors
Connecting a USB device to a computer is simple,we can find the USB connector on the back of your machine and plug the USB connector into it.
The rectangular socket is a typical USB socket on the back of a PC.
If it is a new device, the operating system auto-detects it and asks for the driver disk. If the device has already been installed, the computer activates it and starts talking to it. USB devices can be connected and disconnected at any time.
A typical USB connector, called an "A" connection
A typical USB four-port hub accepts 4 "A" connections.
A hub typically has four new ports, but may have many more. You plug the hub into your computer, and then plug your devices (or other hubs) into the hub. By chaining hubs together, you can build up dozens of available USB ports on a single computer.
Hubs can be powered or unpowered. As you will see on the next page, the USB standard allows for devices to draw their power from their USB connection. Obviously, a high-power device like a printer or scanner will have its own power supply, but low-power devices like mice and digital cameras get their power from the bus in order to simplify them. The power (up to 500 milliamps at 5 volts) comes from the computer. If you have lots of self-powered devices (like printers and scanners), then your hub does not need to be powered -- none of the devices connecting to the hub needs additional power, so the computer can handle it. If you have lots of unpowered devices like mice and cameras, you probably need a powered hub. The hub has its own transformer and it supplies power to the bus so that the devices do not overload the computers supply.
The USB Process
When the host powers up, it queries all of the devices connected to the bus and assigns each one an address. This process is called enumeration -- devices are also enumerated when they connect to the bus. The host also finds out from each device what type of data transfer it wishes to perform:
- Interrupt - A device like a mouse or a keyboard, which will be sending very little data, would choose the interrupt mode.
- Bulk - A device like a printer, which receives data in one big packet, uses the bulk transfer mode. A block of data is sent to the printer (in 64-byte chunks) and verified to make sure it is correct.
- Isochronous - A streaming device (such as speakers) uses the isochronous mode. Data streams between the device and the host in real-time, and there is no error correction.
The host can also send commands or query parameters with control packets.
As devices are enumerated, the host is keeping track of the total bandwidth that all of the isochronous and interrupt devices are requesting. They can consume up to 90 percent of the 480 Mbps of bandwidth that is available. After 90 percent is used up, the host denies access to any other isochronous or interrupt devices. Control packets and packets for bulk transfers use any bandwidth left over (at least 10 percent).
The Universal Serial Bus divides the available bandwidth into frames, and the host controls the frames. Frames contain 1,500 bytes, and a new frame starts every millisecond. During a frame, isochronous and interrupt devices get a slot so they are guaranteed the bandwidth they need. Bulk and control transfers use whatever space is left. The technical links at the end of the article contain lots of detail if you would like to learn more.
USB Features
The Universal Serial Bus has the following features:
- The computer acts as the host.
- Up to 127 devices can connect to the host, either directly or by way of USB hubs.
- Individual USB cables can run as long as 5 meters; with hubs, devices can be up to 30 meters (six cables worth) away from the host.
- With USB 2.,the bus has a maximum data rate of 480 megabits per second.
- A USB cable has two wires for power (+5 volts and ground) and a twisted pair of wires to carry the data.
- On the power wires, the computer can supply up to 500 milliamps of power at 5 volts.
- Low-power devices (such as mice) can draw their power directly from the bus. High-power devices (such as printers) have their own power supplies and draw minimal power from the bus. Hubs can have their own power supplies to provide power to devices connected to the hub.
- USB devices are hot-swappable, meaning you can plug them into the bus and unplug them any time.
- Many USB devices can be put to sleep by the host computer when the computer enters a power-saving mode.
- The devices connected to a USB port rely on the USB cable to carry power and data.
Inside a USB cable: There are two wires for power -- +5 volts (red) and ground (brown) -- and a twisted pair (yellow and blue) of wires to carry the data. The cable is also shielded.
USB 2.0
The standard for USB version 2.0 was released in April 2000 and serves as an upgrade for USB 1.1.
USB 2.0 (High-speed USB) provides additional bandwidth for multimedia and storage applications and has a data transmission speed 40 times faster than USB 1.1. To allow a smooth transition for both consumers and manufacturers, USB 2.0 has full forward and backward compatibility with original USB devices and works with cables and connectors made for original USB, too.
Supporting three speed modes (1.5, 12 and 480 megabits per second), USB 2.0 supports low-bandwidth devices such as keyboards and mice, as well as high-bandwidth ones like high-resolution Webcams, scanners, printers and high-capacity storage systems. The deployment of USB 2.0 has allowed PC industry leaders to forge ahead with the development of next-generation PC peripherals to complement existing high-performance PCs. The transmission speed of USB 2.0 also facilitates the development of next-generation PCs and applications. In addition to improving functionality and encouraging innovation, USB 2.0 increases the productivity of user applications and allows the user to run multiple PC applications at once or several high-performance peripherals simultaneously.
Jumat, 04 April 2014
Review Ghost Spin
It picks up after Spin State and Spin Control, but is a far more ambitious novel. The themes in this novel include the nature of identity (Are you your memories? Are you still you, if you can be replicated multiple times but the different versions of you have different experiences?), the nature of love and consciousness, as well as how we would treat AIs if emergent AIs truly did exist.
The novel starts with Catherine Lis AI husband, Cohen, committing suicide deliberately. His remains are (in accordance with AI traditions) are immediately auctioned off. As his widow, Catherine sets off immediately to try to recover and reconstruct her husband, but the path to doing so is filled with obstacles and she ends up scatter-casting herself through human space as well.
What makes the novel work for a computer scientist is the references scattered throughout the novel that are accurate and interesting. Moriarty clearly does her homework: references to Ada Lovelace, Alan Turing, and Lewis Carroll are all well made and taken within context. Her extrapolation on how an emergent AI would work, and how an AI could die or evolve is fascinating and interesting. For instance, something that no other AI-oriented novels ever cover is the fact that if your memory is perfect, and you were unable to truly forget, wouldnt that drive you crazy? Her characters are also worthy of being cared about, even though some of them do do despicable things. One of the main characters in the book (Captain Llewellyn) ends up having to share his brain/body with an AI, and the exploration of the themes emerge most thoroughly with the conversations he has with himself.
Where the novel fails is in plotting. I really liked the book for the first 20 minutes after putting it down, but then realized that the plot didnt make a lot of sense in retrospect. For Cohen to commit suicide doesnt make sense to me, even at the end of the novel. The big reveals in the novel, however, are very fair --- you get plenty of foreshadowing and all the clues needed to put together the reveal yourself.
This novel is not an action-packed one, especially in comparison with Spin State. A lot of the book just composes of conversations characters have between themselves or even with themselves. And the novel does have the one obvious failure. But the writing, the milieu, and the thorough exploration of fascinating AI themes are more than enough to let me overlook the failure. If youre a computer scientist who enjoys fiction this could very much be the perfect novel for you. If not, then be prepared to get a massive info dump and not quite enough context to understand fully whats going on.
Highly recommended.
Kamis, 03 April 2014
Review Orange Internet Max France
Last year, I had trouble getting even regular voice SIM cards, let alone Internet capable SIM cards. This year, however, we started our trip in Paris, albeit on a weekend. On a Monday, however, I went to an Orange store and got an prepaid SIM card. It cost EUR 9.95. I bought a 10 EUR refill right away so I could subscribe to the Internet Max plan (which was 9 EUR, but the Sim card only came with 5 EUR credit, and the minimum refill was 10 EUR). Its an unlimited data subscription plan thats good for a month and automatically turns off if you dont have enough credit to resubscribe! The worst part of the experience is that part where Orange tries to pretend to be Apple. You walk into the store, and are greeted by a pretty woman dressed in Orange uniform, who will put your name in a queue (driven by an iPad) so you can browse the store until a customer service rep is ready to talk to you. Unfortunately, they did this Apple-emulation strategy wrong: they had too many pretty women, and not enough customer service rep, so I ended up cooling my heels for at least 25 minutes before being able to complete an incredibly simple transaction. I would have preferred standing in line like at a normal store.
What an awesome plan it is. Most of the time, the speed is fine. Much faster the the iPhone 4G that I got as part of the home exchange program we participated in. And of course, any Android phone runs circles around the iPhone as a matter of practicality. Being able to get turn by turn navigation saved our bacon several times while driving (or walking!) around France. We were also able to tether the phone to the laptop whenever we were at a hotel without internet. Try this with your post-paid plan in the USA for less than $25/month!
The best part about this is that while Orange will try to charge you separately for e-mail, if youre using an Android phone, theres no need to pay for the e-mail plan separately. Thats because the Gmail app on Android uses http requests, so it looks like browser traffic to Orange, rather than IMAP/POP, which is what Apple products use.
As an aside, after using an iPhone side by side with a 2 year old Nexus One running Android 2.3 (no I havent bothered to upgrade the default OS yet, and probably wont --- Im cheap with my time as well as money), its no contest. Id rather have a 2 year old Android phone than an iPhone when Im in a foreign country and in need of navigation, search, and making phone calls.
Recommended. An Orange store should be the first thing you look for when you land in France.
Rabu, 02 April 2014
Dead Island Riptide secured the top of the UK charts
Injustice: Gods Among Us reached the number two, Tomb Raider in third, FIFA 13 in fourth, and Dragons Dogma: Dark Arisen in fifth.
The new entry in the charts was Soul Sacrifice, a RPG games for PS Vita.
The list of Top 20 UK chart for the week:
1. Dead Island: Riptide
2. Injustice: Gods Among Us
3. Tomb Raider
4. FIFA 13
5. Dragons Dogma: Dark Arisen
6. Call of Duty: Black Ops II
7. BioShock Infinite
8. LEGO City Undercover: The Chase Begins
9. Luigis Mansion 2
10. Star Trek
11. Assassins Creed III
12. Far Cry 3
13. Defiance
14. The Elder Scrolls V: Skryim
15. LEGO Batman 2: DC Super Heroes
16. God of War: Ascension
17. Need for Speed: Most Wanted
18. Sonic & All-Stars Racing Transformed
19. Grand Theft Auto: Episodes From Liberty City
20. Grand Theft Auto IV
source: gamespot
Selasa, 01 April 2014
Adobe’s controversial decision to dump its Flash plugin for mobiles
Web developers are angry with Adobe. |
Related articles
- This Steve Jobs Victory Is Now Complete (fool.com)
- Steve Would Be Proud: How Apple Won The War Against Flash (techcrunch.com)
- Adobe: No Flash for You, Android 4.1 (webmonkey.com)