Apr 11
7
French site nowhereelse.fr consolidates all the rumours floating around Apple’s new iPhone 5 in a graphical presentation. Looks like a bigger screen, iPad 2’s A5 processor and iOS 5 are quite possible. Personally, if 3 of these were true, it’s good enough a reason for me to upgrade. Let’s just hope iOS5 will bring us a much more intuitive and less obtrusive notification system, like Andriod’s.
Click on image below to see the full sized version.
HDMI (High-Definition Multimedia Interface) is the current de-facto connectivity for most AV equipment. In the old days, when we were still using analog component or coaxial cables, manufacturers came up with various ways to improve the cables. In the more expensive cables, you will find gold plated connectors, or EM/RF shielding on the cabling. Coupled with fancy marketing and packaging, the difference in pricing between a plain vanilla cable and a high-end cable could be 10-20 folds. But does all these optimization apply for HDMI, which utilizes digital signals?
As we all know, digital signaling uses a combination of zeros(0) and ones (1) for transmission, so in theory the signal transmitted should either work or fail; there is no “in-between”. Analog signals uses sine-waves for transmission, so if there are external interference, it will result in image degradation (by augmenting the sine-wave in transmission). For digital signalling, failed transmission should result in a failed pixel display (appearing like sparkles on screen). Some cables are also marketed as Ultra-High bandwidth, but in actual fact, the HDMI 1.3 (and the upcoming v1.4) specifications states that cables should only require to meet the 340MHz (10.2Gbps) bandwidth requirements. Below is a breakdown on the amount of bandwidth require that is required for uncompressed Full HD 1920×1080 video. This also takes into account for the vertical and horizontal blanking pulse to denote a new frame.
HDMI bit-rate = (horzPixels + hBlanking) x (vertPixels + vBlanking) x bitsPerPixel x frameRate x 10/8 (for TDMS encoding) x 3
Full HD 1920×1080, 60fps, 8-bit color per channel (24bit RGB) = [ (1920+280) x (1080+45) x 24-bit color x 60fps x 10/8 (extra 2-bit for TDMS enconding) x= 4.45Gbps
So in theory, any cable that meets the HDMI 1.3 specifications should be more than ample to support the bandwidth required. There is no need for additional bandwidth at all, at least at this point.
Several tech sites had also performed testing with generic HDMI cables vs expensive Monster cables, and using specialized software to capture the transmitted output on the end display . The results are a victory for those of us who does not buy into marketing gimmicks and actually had some common sense. The output is 100 per cent identical, whether you are spending $10 or $100 on a cable. HDMI guarantees you a pristine image – how good the image is comes down to the quality of your screen, and your perception of how it looks. People that purchase expensive cables might fall into the placebo effect, as personal perception is hardly measurable.
From my research, i would say it is safe to say that any properly manufactured cables with no loose cable or broken heads should work flawlessly for most home users that do not require HDMI cabling more than 4 meters . As cable length increases, the quality of the cabling becomes more prominent as the signal needs to travel further, and is more susceptible to signal degradation issues. Below is a breakdown from mint.com of what i have discussed above in pictorial form.
Question is: are you going to be a douch nozzle or feed the children?
We primarily use our computer for web media that includes flash games, video streaming and various social networking sites. The system we build should be a low-cost box that would excel in all areas, and still allows for some casual gaming.
Below is a budget PC that would be relatively quick for everything that you would do, without breaking the bank.
CPU: AMD Athlon II X3 445 Triple-Core Processor 3.0GHz – $100
Mainboard: Gigabyte GA-880GM-UD2H – $159
Memory: Kingston PC3-10600 2GB DDR3-1333 x 2 pc – $62
GPU: Power Color Radeon HD5750 1GB DDR5 - $155
Hard drive: Hitachi SATA-II 500GB 7200RPM 16MB - $48
Casing: Cooler Master RC-360 Elite 360 - $54
PSU: Cooler Master RP-550 550W Extreme Power - $79
Optical: Samsung SH-S223F 22X SATA DVD Burner - $27
Total: $684
I’ve recently just upgraded to the TP-Link TD-W8960N Wireless-N ADSL Gateway from my 2Wire 2700HGV-E Mio Box. When i first installed it, performance was good. The startup time was quick from first power on, taking only <60 secs to enable the wireless radio and establish DSL connection. Gone are also the random DSL line disconnection problem that i had when using the Mio box. It was very frustrating having to reboot the Mio box every time the DSL light goes “red”. It sorta just hangs. So it appears that most of my problems went away, until my mate started complaining about his W8960N having problems when more than one wireless machine is connected, particularly his iPhone.
I didn’t experience this problem myself — all the 5 devices in my house are on wireless, and they worked flawlessly. But something went wrong when i made a slight change to my router’s DNS proxy hostname, and poof — my DNS stopped working. DHCP would lease out all the correct settings, so it wasn’t a DHCP problem. I tested with the standard ping test and dig lookups:
Ping to SingNet DNS:
eddie-tans-macbook:~ eddie$ ping 165.21.83.88 PING 165.21.83.88 (165.21.83.88): 56 data bytes 64 bytes from 165.21.83.88: icmp_seq=0 ttl=55 time=10.139 ms 64 bytes from 165.21.83.88: icmp_seq=1 ttl=55 time=8.889 ms
That looked ok. DSL line appears to be working normally.
Checking DNS lookups on the router address:
eddie-tans-macbook:~ eddie$ dig @192.168.1.254 www.singtel.com ; <<>> DiG 9.4.3-P3 <<>> @192.168.1.254 www.singtel.com ; (1 server found) ;; global options: printcmd;; connection timed out; no servers could be reachedAhh.. DNS lookups were timing out.
eddie-tans-macbook:~ eddie$ dig @165.21.83.88 www.singtel.com ; <<>> DiG 9.4.3-P3 <<>> @165.21.83.88 www.singtel.com ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29837 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.singtel.com. IN A ;; ANSWER SECTION: www.singtel.com. 318 IN A 203.208.248.10
Dig @SingNet DNS resolves www.singtel.com correctly. So when i set my Mac Book’s DNS manually to include 165.21.83.88, my webpages resolves properly, but experiences problem with the default DNS leased by out the DHCP server (192.168.1.254).
So for some reason the DNS server on the router when there are multiple clients connected to it. After mucking around for a bit, i think i found the fix to the problem.
To work around this problem, make sure you have your LAN setup properly check under Advanced Setup -> LAN and “Enable DHCP Server” is checked. Fill in your start and end address (if unsure, just fill in 192.168.1.100 for Start IP Address, and 192.168.1.200 for End IP Address)
Next, go to Advanced Setup -> DNS -> DNS Server and see that “Obtain DNS info from a WAN interface:” is selected and make sure you choose your WAN interface from the dropdown list.
Lastly this is where i was stucked. Under Advanced Setup -> DNS Proxy, checked Enabled or disable DNS Proxy, under “Hostname” key in your router’s IP address, which should be 192.168.1.1 by default. (mine was 192.168.1.254). For the “Domain name of the LAN network“, you may key in any name that you fancy. Then click Save/Apply.
And viola! For some reason, this appears to work around the problem.
Windows natively has the NET USER command to perform a number of account related operations. For example, in order to effectively restrict access to your PC for a particular account based on timings, you can make use of NET USER command with the following syntax
Excerpt from Microsoft KB: http://support.microsoft.com/kb/251394
/times:{times | all}
Is the logon hours. The times option is expressed as day[-day][,day[-day]],time[-time][,time [-time]], and is limited to 1-hour increments. Days can be spelled out or abbreviated. Hours can be 12-hour or 24-hour notation. For 12-hour notation, use am, pm, a.m., or p.m. The all option specifies that a user can always log on, and a blank value specifies that a user can never log on. Separate day and time entries with a comma, and separate multiple day and time entries with a semicolon.
The above sounds rather confusing at best. Here are some examples to help you understand how to use the command:
Sample Usage
How to?
Note: The time is limited to one hour increment, which means you can only restrict the user by one-one hour (like 13:00, 16:00, not 13:30 or 16:45). You can use the abbreviation for the day (that is, M,T,W,Th,F,Sa,Su)
Jun 09
12
With the annoucement of the iPhone 3GS, many of us wonder what changes the new iPhone brings us. Apple released the new iPhone mainly to address one issue: performance, hence the “S” connotation for Speed. Apple claims that the new iPhone 3GS would be up to 2X faster than the iPhone3G. Physically, you can’t tell the difference between the iPhone3G and iPhone3GS, other than the badge marked on the back of the phone. In order to supply the 2X faster performance as advertised, Apple had revised the hardware with higer performance chips.
First we look at the CPU update. The original iPhone and iPhone 3G use a system on a chip (SoC) from Samsung. The SoC is a custom part and actually has Apple’s logo on the chip. The SoC houses the CPU, GPU and memory for the iPhone.
The CPU is based on the ARM11 core, and runs at 412MHz to save power, although the core is capable of running at 667MHz. The ARM11 CPU is a single-issue in-order microprocessor with an 8-stage integer pipeline. You can think of this core as a very high clocked, very advanced 486. And extremely low power. Under typical load, the CPU core should consume around 100mW. By comparison, the CPU in your laptop can require anywhere from 10 – 35W. Idle power is even lower.
Paired with this CPU is a PowerVR MBX-Lite GPU core. This GPU, like the CPU, is built on a 90nm process and is quite simple. The GPU does support hardware transform and lighting but it’s fully fixed function, think of it as a DirectX 6/7 class GPU (Riva TNT2/GeForce 256).
Sources indicates that the iPhone 3GS uses (again) a Samsung SoC but this time instead of the ARM11 + MBX-Lite combo it’s got a Cortex A8 and PowerVR SGX. If the ARM11 is like a modern day 486 with a very high clock speed, the Cortex A8 is like a modern day Pentium. The A8 lengthens the integer pipeline to 13 stages, enabling its 600MHz clock speed (what I’m hearing the 3GS runs at). The Cortex A8 also widens the processor; the chip is now a two-issue in-order core, capable of fetching, decoding and executing two RISC instructions in parallel.
Now that we’re familiar with the 3GS’ CPU, it’s time to talk about the GPU: the PowerVR SGX.
Also built on a 65nm process the PowerVR SGX is a fully programmable core, much like our desktop DX8/DX9 GPUs. While the MBX only supported OpenGL ES 1.0, you get 2.0 support from the SGX. The architecture also looks much more like a modern GPU. The SGX ranges from the PowerVR SGX 520 which only has one USSE pipe to the high end SGX 543MP16 which has 64 USSE2 pipes (4 USSE2 pipes per core x 16 cores). The iPhone 3GS, I believe, uses the 520 – the lowest end of the new product offering.
In its lowest end configuration with only one USSE pipe running at 200MHz, the SGX can push through 7M triangles per second and render 250M pixels per second. That’s 7x the geometry throughput of the iPhone 3G and 2.5x the fill rate. Even if the SGX ran at half that speed, we’d still be at 3.5x the geometry performance of the iPhone 3G and a 25% increase in fill rate. Given the 65nm manufacturing process, I’d expect higher clock speeds than what was possible on the MBX-Lite. Also note that these fill rates take into account the efficiency of the SGX’s tile based rendering engine.
The iPhone 3G S is available in capacities of 16GB and 32GB – both will be available in black and white. The phone also features a new 3MP camera (now capable of recording 30 fps video) on the back of the device. The iPhone 3G S also has the ability to edit videos directly on the device.
In addition, the new iPhone 3G S promises better battery life (see image to the right) despite the increased processing power. Speaking of processing power, Apple brags about 2x to 3.6x speed performance improvements over a wide range of apps.
Another new addition to the iPhone 3G S is the increase in data transfer speeds from 3.6Mbps to 7.2Mbps
Voice dialing is also coming to the iPhone 3G S – something that most other phones have already had for years. However, the voice commands also extend to other aspects of the iPhone 3GS like “previous track”, “play album” or “play songs by The Killers” within the Music app.
Other new hardware features include a built-in digital compass, Nike+ support, and hardware encryption.
As you may have already surmised, the iPhone 3G S is sporting OS 3.0 which was announced way back in March. iPhone OS 3.0 brings a wealth of new features including long-requested support for copy and paste, MMS, turn-by-turn directions, voice memo recording, Spotlight search, landscape email/notes/messaging, 3G tethering (via Bluetooth or USB), stereo Bluetooth (A2DP), peer-to-peer Bluetooth connectivity, and more. IPhone OS 3.0 will be available to download on June 17 (free for iPhone users, US$9.95 for iPod touch users).
As expected, pricing for the new 16GB and 32GB iPhone 3G S will mirror the prices of the current 8GB and 16GB iPhone 3Gs: US$199 and US$299 respectively. To make things even more interesting, Apple is also discounting the price of the iPhone 3G (8GB model) to US$99 to further expand its user base — the new price is effective today. The iPhone 3G S will be available June 17 in the US. So far, Singtel has not announced availability of the iPhone 3G S. I’m thinking it would take at least a couple of months before it hits our shores. Look out for special promos on the current iPhone 3G. I’m thinking Singtel would want to clear their exisiting stock before the new model arrives. As for Maxis, i’ve pretty much written them off as a viable candidate for anyone to get an iPhone. Their offerings are just not compelling at all.
Combine the power of the the new hardware with the highly optimized software stack of the iPhone and you’ve got the recipe of an extremely fast iPhone. While I’ve yet to play with one, on paper, the 3GS should be every bit as fast as the videos make it seem.
The iPhone 3GS’ performance upgrades should make the phone feel a lot faster, but the real improvement will be what it enables application and game developers to do. Apple recently hired two former AMD/ATI CTOs, presumably to work on some very graphics-centric projects. The iPhone 3GS may be a mild upgrade from a consumer perspective, but what it’s going to enable is far from it; watch out Nintendo. Remember the performance gains we saw in the early days of 3D graphics on the PC? We’re about to go through all of that once more in the mobile space. Awesome.
Sources: Anandtech, Dailytech.In this guide I tried to explain how to implement Virtual Hosting using Apache2 on SUSE Linux Enterprise Server 10. This guide is ESPECIALLY written for those WEB-ADMINS who are used to configuring Virtual Hosting on Redhat Enterprise Linux(RHEL 3/4). Since on a rhel Server, apache is configured using a single file i.e /etc/httpd/httpd.conf, i.e all of the virtual hosting configurations goes in /etc/httpd/httpd.conf ONLY, while in SUSE Linux Enterprise 10, we don’t edit the httpd.conf for virtual hosting.
What is Virtual Hosting:
Virtual Hosting is the art/method to run multiple websites on a single machine.
Benefits Of Virtual Hosting:
There are millions of websites on the Internet. Without Virtual Hosting it is impossible to run millions of website, because each website requires a dedicated Machine, IP and/or Port as an address to be accessed from across the world/Internet.
There are three types of virtual hosting.
a. IP Based Virtual Hosting:
Say we have a “Dell Precision 650″ machine, to host 3 different websites we must assign 3 unique IP addresses to the machine, and then configure each website to listen on a dedicated IP.
Advantage:
Just a single physical machine will host multiple websites, otherwise we need a separate machine to host each website.
Disadvantage:
Requires a dedicated IP for each website.
b. Port Based Virtual Hosting:
Port base virtual Hosting is the method to run multiple websites on a single machine and even on a single/same IP, but each website must be configured to run on a different/unique Port.
Say we have a “Dell Precision 650″ machine, to host 3 different websites we just need a single dedicated/unique IP-add.
e.g we have to host www.test.com, www.wxyz.com, and www.ijkl.comon a single machine using single/same IP-addr… we will configure www.test.comto listen on port 81, www.wxyz.comto listen on port 82, and www.ijkl.comto listen on port 83.
Advantage:
Just a single physical machine and IP will host multiple websites. No need to purchase multiple machines and IP-add to host multiple websites.
Disadvantages:
- It is quite impossible to inform the users/surfers that on which particular port the website is hosted.
- And user/surfer must has to type the particular port in the url e.g
c. Name Based Virtual Hosting:
Advantage:
A single machine, single IP, and the default http port(80) is used to host several websites.
Disadvantage:
Proper DNS configuration will be required to host and access the websites hosted via Name Base Virtual Hosting.
Note: Since other types of Virtual Hosting(IP and Port base) are not commonly used, thats why we just discuss the Name-Based virtual hosting and used the term “Virtual Hosting” for Name-Based Virtual Hosting.
Configuring Virtual-Hosting using apache2 on SLES 10
a1, mkdir /srv/www/example1 b1, echo "This is the EXAMPLE 1 website" >/srv/www/example1/index.html a2, mkdir /srv/www/example2 b2, echo "This is the EXAMPLE 2 website" >/srv/www/example2/index.html ********
After creating directories and html files for the two websites, Now we configure the apache2 to host/run the two websites using virtual hosting.
NameVirtualHost IP_OF_Server:PORT i.e NameVirtualHost 192.168.0.101:80
cp vhost.template example1.conf
cp vhost.template example2.conf
NOTE: the virtual host configuration files(in our case example1.conf, and example2.conf) MUST have “.conf” in the end of their names.
<VirtualHost 192.168.0.101:80> *
ServerName www.example1.org
DocumentRoot /srv/www/example1
<Directory "/srv/www/example1"> **
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 192.168.0.101:80>
ServerName www.example2.org
DocumentRoot /srv/www/example2
<Directory "/srv/www/example2">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
# /etc/init.d/apache2 restart or # rcapache2 restart
Now access the websites via your favorite web-browser
DONE
* If the website is host on the default http port i.e port 80 then its optional to specify the port on rhel, but on a SLES, even the default http port(80) must have to be explicitly specify/define.
** On rhel the Directory Block( <Directory “dir_name”> …</Directory> ) declaration is optional, but on a SLES it is must required within Virtual host Configuration( <VirtualHost IP:Port>…</VirtualHost> ).
May 09
23
Upgraded my SingNet DSL line from 3M to 10Mbps. Had some teething problems with line packet drops and intermittent disconnection. But all is well after the technician came down and meddled with my phone line. Did a test on Speedtest.net and this is what i got:

OMFG!
Thinking that it might be some erroneous result due to browser, i tried with Google Chrome a second time and got this:
And then Internet Explorer:
WTF?!
Most modems and routers have the ability to monitor line statistics. Some modems like the SpeedTouch Home, 2Wire, and Cayman have very detailed monitoring while others may only show basic information. If you run a third party router in conjunction with a modem you may have to connect the modem directly to the computer in order to access the modem interface. Good advice: Pull your line stats and save/print all of your previous modem logs before you change anything or troubleshoot.
Although what is monitored and the exact name may be different depending on manufacturer, the overall information is pretty much the same. Most modems will provide upstream (from modem to DSLAM) and downstream (from DSLAM to modem) stats. Below are some common terms and measurements used to judge line quality. Remember these are not hard numbers but simply a generalization of line statistics:
SN Margin (AKA Signal to Noise Margin or Signal to Noise Ratio)
Relative strength of the DSL signal to Noise ratio. 6dB is generally the lowest dB manufactures specify in order for the modem to be able to synch. In some instances interleaving can help raise the noise margin to an acceptable level. Generally speaking, as overall bandwidth increases, your signal to noise ratio decreases. A customer that upgrades from 1.5 to 6.0 (or provisioned with the MaxSync Profile) will typically see a corresponding decrease in the signal to noise ratio. This is normal and nothing to worry about. The higher the number the better for this measurement.
Line Attenuation
Measure of how much the signal has degraded between the DSLAM and the modem. Maximum signal loss recommendation is usually about 60dB. One of the biggest factors affecting line attenuation is distance from the DSLAM. Generally speaking, bigger distances mean higher attenuation. The lower the dB the better for this measurement.
DSL Rate
Your provisioned ATM Rate (actual service rate) plus bandwidth to cover the overhead and provisioning of the service.
Attainable Line Rate (AKA Synch Rate)
This is the maximum rate at which your modem can connect to the DSLAM if there was no service provisioning limiting the bandwidth. Anything over 2,000Kbps is considered good. The higher the rate the better. Not all modems have the ability to provide attainable line rate.
Used Line Rate (Speed Touch Home)
Your Used ATM Rate (actual service rate) plus bandwidth to cover the overhead and provisioning of the service. Not all modems have the ability to provide this statistic.
Fast Used ATM Rate
Actual bandwidth at which your service has been provisioned. The actual number can vary a little depending how you are physically serviced. If there is a number here that also means your connection is “fastpath”. Not all modems have the ability to provide this statistic.
Interleaved Used ATM Rate
Actual bandwidth at which your service has been provisioned. The actual number can vary a little depending how you are physically serviced. If there is a number here that also means your connection is “interleaved”. Not all modems have the ability to provide this statistic.
Relative Capacity (AKA Line Capacity)
Percentage of your overall available bandwidth used to obtain your service ATM rate. For example; if your max line synch rate was 5888Kbps and you were provisioned on a 1472Kbps service you would be using 25% capacity. 1472/5888=25% capacity. The lower the relative capacity the better, but you can still get maximum speeds (although a less stable connection) even with a very high relative capacity. In other words you could be synching at 1472Kbps with 98% relative capacity and achieve maximum speeds, but you may experience more disconnects. Not all modems have the ability to provide line capacity.
Output or TX Power
How much power modem (upstream) or DSLAM (downstream) is using. Maximum recommended is about 15dB. The lower the power the better for this measurement. Not all modems have the ability to provide output power.
CRC Errors (Cyclic Redundancy Check)
CRC is a method of detecting errors in data transmission. A high CRC count in itself is not really cause for alarm. However, any increase in CRC errors after your initial connection is established is a problem and usually points to a physical issue somewhere between the modem and the DSLAM. Isolate your inside wiring as a cause by testing from the NID and troubleshoot from there.
Source: DSL Reports
Apr 09
2