Tech geek. Life geek.

Tag: standard

Day 1 – Two Week Campaign

It is the first day of my Two Week Campaign. It is very important to start everything correct in the beginning.

Day 1

I did following changes on Yinfor Site, including David Yin’s Blog.

The changes I made is based on the following concept.

Audience always likes faster web site. Audience always likes web site shown without errors.

First of all, my small job is to make my web page loading faster.

1) Combine CSS files and do not use @import to include other css file

2) Optimize Images on homepage. Got 5% reduction on image size.

3) Minify javascript file, mt.js, it cut 15KB.

4) Minify CSS file, it cut 9KB

5) Leverage browser caching of static assets. Such as jpg, png, gif files. I make them expired in 60 days.

The overall effects are: less connections, smaller files.

Continue reading

New interface: Thunderbolt

I read the PC Magazine sometimes. One term is coming often and often. It is Thunderbolt.

It is a new standard for I/O device of computer.

Thunderbolt (codenamed Light Peak) is a hardware interface that allows for the connection of external peripherals to a computer. It uses the same connector as Mini DisplayPort (MDP). It was released in its finished state on February 24, 2011.


Compared with other ports of PC, the speed of I/O is much more fast. See below.

USB 3.0 is a fast speed connection between PC and portable disk. But the Intel said Thunderbolt can provide double speed of USB 3.0. It is not enough. 10Gbps is just one way. Thunderbolt can do same speed at the both directions. So max total is 20Gbps.

Continue reading

What is UEFI?

What is UEFI, I mentioned it at What is GPT, but not clear. Here I would like to give more details about it.
The Unified Extensible Firmware Interface, UEFI, is a new firmware interface specification that is designed to replace the familiar BIOS interface.
When turn on the computer, UEFI’s firmware will run an inventory of the hardware installed on the system; after checking that everythinkg is functioning properly, it will launch the operation system and turn control of the PC hardware over to the software. UEFI supports a wider range of chip architectures, including 32-bit and 64-bit processors like the ARM chips, than does BIOS, which is limited to running on 16-bit processors.
The new spec works very well, and nearly all UEFI firmware images include support for older BIOS services, so it has no problem upgrading from a motherboard flashed with BIOS to one flashed with UEFI.

USB 3.0

USB 3.0 released. But I still want to say something about USB 1.0 and 2.0.
USB 1.0
* USB 1.0: Released in January 1996.
Specified data rates of 1.5 Mbit/s (Low-Speed) and 12 Mbit/s (Full-Speed). Did not anticipate or pass-through monitors. Few such devices actually made it to market.
* USB 1.1: Released in September 1998.
Fixed problems identified in 1.0, mostly relating to hubs. Earliest revision to be widely adopted
USB 2.0
* USB 2.0: Released in April 2000.
Added higher maximum speed of 480 Mbit/s (now called Hi-Speed). Further modifications to the USB specification have been done via Engineering Change Notices (ECN). The most important of these ECNs are included into the USB 2.0 specification package available from
* Mini-B Connector ECN: Released in October 2000.
Specifications for Mini-B plug and receptacle. These should not be confused with Micro-B plug and receptacle.
* Errata as of December 2000: Released in December 2000.
* Pull-up/Pull-down Resistors ECN: Released in May 2002.
* Errata as of May 2002: Released in May 2002.
* Interface Associations ECN: Released in May 2003.
New standard descriptor was added that allows multiple interfaces to be associated with a single device function.
* Rounded Chamfer ECN: Released in October 2003.
A recommended, compatible change to Mini-B plugs that results in longer lasting connectors.
* Unicode ECN: Released in February 2005.
This ECN specifies that strings are encoded using UTF-16LE. USB 2.0 did specify that Unicode is to be used but it did not specify the encoding.
* Inter-Chip USB Supplement: Released in March 2006.
* On-The-Go Supplement 1.3: Released in December 2006.
USB On-The-Go makes it possible for two USB devices to communicate with each other without requiring a separate USB host. In practice, one of the USB devices acts as a host for the other device.
* Battery Charging Specification 1.0: Released in March 2007.
Adds support for dedicated chargers (power supplies with USB connectors), host chargers (USB hosts that can act as chargers) and the No Dead Battery provision which allows devices to temporarily draw 100 mA current after they have been attached. If a USB device is connected to dedicated charger, maximum current drawn by the device may be as high as 1.8A. (Note that this document is not distributed with USB 2.0 specification package.)
* Micro-USB Cables and Connectors Specification 1.01: Released in April 2007.
* Link Power Management Addendum ECN: Released in July 2007.
This adds a new power state between enabled and suspended states. Device in this state is not required to reduce its power consumption. However, switching between enabled and sleep states is much faster than switching between enabled and suspended states, which allows devices to sleep while idle.
* High-Speed Inter-Chip USB Electrical Specification Revision 1.0: Released in September 2007.

Continue reading

G2Soft has a clear look now

My open-source software site, G2Soft.Net is re-designed. It is based on the HTML and CSS standards.
I removed the table layout and used DIV and CSS for the main layout.
The standard is much important thing we need to follow.
I do like my new design. I don’t change the Home page. The home page is already a DIV/CSS design. I changed alll other pages in G2Soft.Net. Including the core product page, Pentacle InOut Board.
The new layout has Header, Footer, Main and some small DIV for ads.
It took me about 4 hours to rebuild it, but it worth.

Url standard of Social site link on WordPress

I put some social network button on site. The Html Validator always tell me some URL is not correct.
I have to code it my self to replace the original code.
Original code is as shown below:

<!-- -->
 <a href="<?php the_permalink() ?>&amp;title=<?php the_title ?>" title="Add to"></a>
 <!-- / -->

I change it to:

$title = wp_title('',FALSE);
$tt = urlencode($title);
$tt = substr($tt,2);
<!-- -->
<a href="<?php the_permalink() ?>&amp;amp;title=<?php echo $tt; ?>" title="Add to"></a>
<!-- / -->

Now the link is perfect, without warning from HTML Validator.
Perfect code.

Banner standard from IAB

We saw a lot of banners on almost every webpage.
Here is a standard for website designer.
Rectangles and Pop-Ups
300 x 250 IMU – (Medium Rectangle)
250 x 250 IMU – (Square Pop-Up)
240 x 400 IMU – (Vertical Rectangle)
336 x 280 IMU – (Large Rectangle)
180 x 150 IMU – (Rectangle)
Banners and Buttons
468 x 60 IMU – (Full Banner)
234 x 60 IMU – (Half Banner)
88 x 31 IMU – (Micro Bar)
120 x 90 IMU – (Button 1)
120 x 60 IMU – (Button 2)
120 x 240 IMU – (Vertical Banner)
125 x 125 IMU – (Square Button)
728 x 90 IMU – (Leaderboard)
160 x 600 IMU – (Wide Skyscraper)
120 x 600 IMU – (Skyscraper)
300 x 600 IMU – (Half Page Ad)
It is very useful when designing a new layout of Website.

Continue reading

© 2020 David Yin's Blog

Theme by Anders NorenUp ↑