Thursday, June 13, 2013

Build Budget PC Less Than $300

June 2013

The date is important in regards to any quote. Recently I thought of upgrading an old PC used for some younger family members. The old PC was running an Athlon XP of early 2000s vintages. The PC itself has got a mixture of component.

The challenge is to build a PC for less that $300. As shown in the table below, this can be done. The prices are quoted from www.msy.com.au in Australian dollars. The actual components have prices listed in the Price column. The Alt column shows the prices of alternative PC components.

The key components that need upgrading are CPU, Motherboard, RAM, Hard Drive and Case. The cost limit is enough to include a CPU Fan. The main design is to have the budget Celeron CPU which has integrated ATI Radeon graphics. The motherboard is chosen to include some legacy PCI slots to use the existing wireless adapter card. The lack of grunt of the Celeron is made up by the whopping 8GB RAM. The old DVD writer can be reused. A modern PC Case would improve the image of this budget PC.

Alt Price Components Model Details Link
$62.00 Motherboard AsRock B75 Pro3-M 2PCI, USB3, UEFI, Socket 1155, SATA3 http://www.asrock.com/mb/Intel/B75%20Pro3-M/?cat=Specifications
$60.00 Motherboard Gigabyte GA-B75M-D3V 1PCI, USB3, UEFI, Socket 1155, SATA3 http://www.gigabyte.com/products/product-page.aspx?pid=4151#sp
$44.00 CPU Intel Celeron 1610 Ivy Bridge, 22nm, 2.6GHz, 55W, DualCore, 2MB L3, 64bit http://ark.intel.com/products/71072/
$67.00 RAM 8G Kit 1600 Patriot-S DDR3, 2-sticks
$69.00 Hard Drive WD Green EZRX 1TB 3.5" SATA internal
$20.00 CPU Fan Thermaltake Contact 16 2 copper pipes, 100W http://www.thermaltake.com/products-model.aspx?id=C_00001805
$22.00 CPU Fan CoolerMaster Hyper TX3 EVO 3 copper pipes http://www.coolermaster.com/product/Detail/cooling/cpu-air-cooler/hyper-tx3-evo.html
$15.00 CPU Fan DeepCool Gammaxx200 2 copper pipes, 95W http://www.deepcool-us.com/Product/GAMMAXX200/
$43.00 Case and PSU Generic ATX
$0.00 Wireless Adapter Use existing PCI wireless adapter
$0.00 DVD RW Use existing
 Total   $  300.00

Saturday, May 18, 2013

Notes 3D Modelling for 3D Printers

3D printers is now commercially viable. There is so much one can do with 3D printers and so many ways to approach it. This is a collection of notes on the subject of 3D printing. This article is meant to be dynamic and incremented.

Main things for 3D printing:
Thingiverse - the first place to check out for 3D printing. Has many designs.

Makerbot - the company that produces the MakerBot 3D printer. The link here has more links to useful sites with regards to 3D printing.


File Format:
It seems the most widely or common format for 3D printer design is the STL format. Keep in mind when searching for 3D editors, check if they support the STL format.



3D Modelling editors:
https://tinkercad.com/ - online 3D editor

NetFab http://www.netfabb.com/basic.php

Meshlab - http://meshlab.sourceforge.net/  - open source editor

Google Sketchup Google's 3D designer that can be used for 3D objects and buildings. It supports the STL format via a plugin. For more details on acquiring this plugin, see:
http://sketchupdate.blogspot.com.au/2013/01/stls-for-3d-printing-in-and-out-of.html


Friday, April 12, 2013

Notes BitCoin


Bitcoin has been receiving a lot of news lately, especially due to the fact it shot up from $35 to over $200 in a few months, although it went back down to over $100 again soon. This is a technical article contain various tips for those interested in using or creating bitcoins.


The technical details of bitcoin were first outlined in a research paper by Satoshi Nakamoto. The coins debut online in 2009.


Newer alternatives to Bitcoin are:
Litecoins, Terracoins, RuCoins


Some places that handle Bitcoins
Bitpay
Mt.Gox - Bitcoin exchange

Some news on Bitcoins:
Cyber currency bursts mainstream
http://www.smh.com.au/business/world-business/cyber-currency-bursts-mainstream-20130411-2hni3.html

Zuckerberg's nemeses revealed as Bitcoin moguls
http://www.smh.com.au/money/investing/zuckerbergs-nemeses-revealed-as-bitcoin-moguls-20130412-2hp5h.html


Talks about the economy of Bitconis
http://www.dailyreckoning.com.au/bumps-on-the-bitcoin-road/2013/04/27/




How to earn or create Bitcoins

Mining Guide for Bitcoins
https://www.weusecoins.com/en/mining-guide

How to get started using your GPU to mine for Bitcoins on Windows
http://www.newslobster.com/random/how-to-get-started-using-your-gpu-to-mine-for-bitcoins-on-windows

python OpenCL bitcoin miner
https://bitcointalk.org/index.php?topic=1334.0

Easy Ubuntu python OpenCL mining setup
https://bitcointalk.org/index.php?topic=2636














Thursday, April 11, 2013

Security - Protection against Botnets

Work in Progress......

This is a collection of notes on protection against botnets

BotHunter - read about this in one article. If anyone has experience with this, please share your opinions.

I'll leave the definitions of Botnet to other articles. Imagine being assimilated by the Bog in Star Trek - "Resistance is Futile - You Will Be Assimilated".

The best cure is prevention. To prevent your PC being a zombie in a botnet, here are a few tips, which are also the same tips from keeping safe from virus or malware.
- Use Firewall - make sure settings are appropriate
- Use AntiVirus, AntiMalware - although some suggest these are not effective against botnet.

How to Identify is you are a zombie in a Botnet.
- Use Firewall. Set the Firewall to the Most Restricted / Paranoid Setting. Switch off all of your user installed programs that run during startup. Do the same to services. Reboot the PC. Look at pop-up Firewall alerts and see what items are trying to make a network connection by itself.

Useful Sites:
http://electronics.howstuffworks.com/how-to-tech/how-to-fix-zombie-computer3.htm
This site has many good related sites.

http://www.pcworld.com/article/170546/how_to_clean_bots.html

http://security.stackexchange.com/questions/12446/how-do-i-know-if-my-computer-is-being-used-for-a-botnet-based-ddos-attack
Many good answers from various people. see darknet.

Google: how to tell if your pc is botnet

Sunday, March 31, 2013

Notes Google Nexus 7

Just got a Nexus 7, 32GB Wifi, at OfficeWorks price match as a result of Bing Lee sale.
Anyway, just thought I'd start up some notes, starting with some links.

"23 Essential Tweaks to Perform on Your New Nexus 7 Android Tablet"
http://www.tested.com/tech/android/63025-23-essential-nexus-7-tweaks/


"Welcome to the Nexus: A Beginner’s Guide to the Google Nexus 7"
http://reviewlagoon.com/welcome-to-the-nexus-a-beginners-guide-to-the-google-nexus-7/

"Google's Official Nexus 7 site"
http://www.google.com.au/nexus/7/


Connecting by Wifi - very important to follow these steps if you want to maintain hiding your local wireless SSID but still want the Nexus 7 to remember it.
- Let your wifi router hide SSID, that is do not let it broadcast SSID
- Find out the MAC from the Nexus 7. Go to: Settings - About Tablet - Status - Wifi Mac address
- Go to the router administration and add the Nexus' MAC address.
- Go to the Nexus wireless setting and Add Network. Go To: Settings - Wifi - tap the "+"  symbol to add new network.
- The do a scan for wireless networks on the Nexus. If it cannot find your network, unhide the SSID on your router, then scan with the Nexus again.
- Once the Nexus is connected to the wireless network, go to the router administration and hide the SSID again. From now, the Nexus should be able to connect wirelessly, even with SSID hidden.

Security
1. Do not allow
Settings - Personal - Security - Unknown Sources - uncheck

Thursday, December 06, 2012

How to Shrink, Compress, Backup DVDs

This post shows a number of ways and tools to accomplish the following:
Goal: To backup a DVD which is originally more than 4GB onto one standard single DVD about 4GB. The end-product needs to be the single DVD playable on most DVD players, not just playable on PCs.

When: This can happen when your Wedding DVD, your Graduation DVD or some of your Personal DVD happen to be in a DVD with all the contents totalling, say 6GB.

Here are the different parts to convert and backup your Personal DVD into a single playable DVD. The actual process of conversion and backup is described further down.

A. Open DVD and Save to ISO
Use DVD Decrypter 3.5.4.0.
Load the DVD into the drive.
Open the Disc from DVD Decrypter.
Choose the Source as the Drive
Choose the Destination as a file.
Run the program.

B. Open DVD and Save to Compressed  ISO
Use DVD Shrink 3.2
Load the DVD into the drive
Select whatever VOB files and other Files.
Run Backup

C. Open 6GB ISO file and Save to Compressed  ISO
Use DVD Shrink 3.2
Load the ISO file in DVD Shrink
Select whatever VOB files and other Files.
Run Backup

D. Open 6GB ISO file as a Drive
Use MagicDisc from Magic ISO.
Choose the 6GB iso file and MOUNT using MagicDisc.
Now a virtual DVD drive appears with the contents of the 6GB file.

E. Burn Compressed ISO 4GB to single DVD
Use ImgBurn as the DVD burner.
Choose the Source as the 4GB compresses ISO image.
Choose the Destination as the real drive with blank DVD.
Burn ISO to DVD.

The actual process can include the following steps.
Option 1:
   A  ->  C  ->  E
Option 2:
   B  ->  E
Option 3:
   A  ->  D  ->  B  -> E

What I found is that there are many ways to do this. But it appears that option 2, may be the most efficient. Option 2 uses DVD Shrink to read your original 6GB DVD and compress to 4GB standard DVD ISO file. Then ImgBurn is used to burn the image.

Extras:
- There is no need to consider audio or DVD menu since they will be automatically included.
- ISOBuster 1.5 is another tool that allow you to examine the contents of the ISO file.
- VirtualBox - within the virtual machine, there is the capability to mount an ISO file as a virtual DVD drive.

Thursday, November 01, 2012

Notes on Windows


NotesWindows  - Notes on Windows
=============

This includes NotesWinXP which is now made obsolete.
The content here is related to any version of Windows and will be specifically denoted.


Contents
=========
Roaming Profile - Encryption
Useful Registry Keys
Stop accidentally moving files or folders
Windows Update does not work anymore
Windows CMD commands
Application Location
MS Windows XP backup
Change Location of My Pictures, My Documents
Change Location of Libraries in Windows 7
Password Revealed on Windows
Known Folders can be Hidden - Windows 7
Boot Manager - Windows XP, Windows 7
How to Repair a Corrupt Windows 7 Installation
Windows Recovery Console Operations
Windows 7 Administrator account
Windows 7 - Where are those Options
Microsoft Outlook


Roaming Profile - Encryption - WinXP
=============================
Problem: When roaming profile cannot be saved - the reason could be due to some files are being encrypted.

Solution: Find and remove the encrypted file. Use the tool "cipher" provided by WinXP.

    cipher /S:directoryName
... to check encryption status of all subdirectories

Ref:
Roaming decrypt
http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/c18621675.mspx

Search windows "roaming profile" decrypt
http://au.alpha.yahoo.com/search/web?p=windows+%22roaming+profile%22+decrypt
search http://au.alpha.yahoo.com/search/web?p=windows+%22roaming+profile%22+decrypt


 

Useful Registry Keys
================================
Append Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
System Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
User path:   HKEY_CURRENT_USER\Environment
Reserved Drives Letters: HKEY_LOCAL_MACHINE\SYSTEM\MOUNTEDDevices

Stop accidentally moving files or folders  - WinXP
===========================================
It is very easy to accidentally move folders in Windows Explorer, simply by careless movement of the mouse and accidentally releasing buttons. This problem is also very easy to occur with trackpads on laptops. There is a way of preventing this accidental motion by making Windows pop up a dialog box to ask for confirmation.

"Do You Want To Move Or Copy Files From This Zone?"

To enable this feature,
1. Click Start -> Control Panel -> Internet Options.
2. Click “Security” tab, mark the zone “Local intranet”, and click the “Sites” button.
3. Un-tick “Automatically detect intranet network”
4. Tick “Include all local (intranet) sites not listed in other zones”
   Tick “Include all sites that bypass the proxy server”
   Untick “Include all network paths (UNCs)”  

Windows Update does not work anymore  - WinXP
=====================================
For some reason, Windows files may corrupt such that the Windows Update will not work anymore. To solve this:
1. Open a Command Prompt Terminal: Start - Run, type: cmd.
2. To stop the current windows update service, in the Command Prompt, type:
    net stop wuauserv
3. Re-register the windows update dll for WinXP 32bit
    regsvr32 %windir%\system32\wups2.dll
Re-register the windows update dll for WinXP 64bit
    regsvr32 %windir%\syswow64\wups2.dll


Windows CMD commands
=====================
Ref: http://ss64.com/nt/

When in a CMD terminal, to launch another CMD terminal and execute a script (test.bat)
- start cmd /k test.bat    - new window remains open
- start cmd /c test.bat    - closes the new window when script finishes

Some commands related to Volume Shadow Copy Service (Vista)
vssadmin List Shadows
vssadmin List ShadowStorage


Application Location
=====================
WinXP:
Netscape Bookmarks (Netscape v 8.1)
D:\Program Files\Netscape\Netscape Browser\defaults\profile\bookmarks.html


MS Windows XP backup
======================
Below describes the process to take when backing up Windows. Some folder directory sizes given here may give an indication of their relative or typical sizes, but they will obviously vary in different systems.

- Login as each user and i) Empty Recycle Bin, ii) Clear all Cache, Cookies
- Login in as Administrator (so that can backup Registry and other System State)
- Goto Control Panel - Performance and Maintenance - "Free up space in your hard disk"
- c:\windows\system32 = 1GB
- c:\windows\ folders except system32 = 790MB
- c:\windows\system32\dllcache = 467MB
- c:\windows\$NTUninstall* = 245MB
- c:\windows\Driver Cache = 87MB
- c:\windows\fonts = 89MB
- c:\windows\help = 46MB
- c:\windows\ime = 86MB
- To backup Registry - go to the GUI windows Backup Utility and check the "System State"
- Do Normal and then Incremental backup.


Change Location of My Documents
=================================
WinXP:
Change My Documents.
- Right click My Documents - Properties - change the Target Location
- by default My Documents is in C:\Documents and Settings\<user>\My Documents

My Pictures, My Music.
- It appears that these folders are not changeable and are set under My Documents.
- When My Documents location is changed, then these folders should follow too.


Change Location of Libraries in Windows 7
===========================================
Libraries in Windows 7 can be assigned to various locations. Libraries will source the physial location of target directories and present the contents as if they all belong to the library. To change the location of Libraries in Windows 7:
- open Explorer
- in the left hand pane, right click on the library icons
- select Properties
- a list of location is presented, which can then be modified


Password Revealed on Windows
==============================
Windows 7:
- Passwords apparently can be revealed by System Information for Windows.
- the System Information (Start - All Programs - Accessories - System Tools - System Information) on Windows XP do not seem to reveal passwords.
- to remove the passwords in Windows 7, do:
    Control Panel - User Accounts and Family Safety - Windows Credential Manager.



Known Folders can be Hidden - Windows 7
==========================================
Windows default folders like Music, Pictures, Videos, Searches are part of the operating system and is not easy to remove. They may be hidden in a number of different ways.
1. Move them to another location by:
- Right click and select properties of the Known Folder
- Go to Location tab
- use the button Move to specify new location.
2. Merge them into Documents folder.
- Select the Known Folder to move.
- For the target to move to, select Documents.
3. Remove Known Folders
- Go to Start button and type, GPEDIT.MSC
- Under User Configuration, click Administrative Templates, double click Windows Components, then Windows Explorer.
- In the Disable Known Folders setting, double click and select Enabled.
- Click Show and enter names of any folders to be disabled.
- Go back to main Windows Explorer and delete any of the Known Folders, and it will be permanenet.

For a list of Known Folders, http://msdn.microsoft.com/en-us/library/bb882665.aspx


Boot Manager - Windows XP, Windows 7
======================================
Boot Loader for Windows XP: NTLDR
Sits on the Primary Partition of the Hard Disk
Configuration file: boot.ini
To edit, use Notepad

Boot Loader for Windows 7 / Vista : Windows Boot Manager (BOOTMGR)
Sits on the Primary Partition of the Hard Disk
Configuration file: BCD (Boot Configuration Data)
To edit, use BCDEDIT


How to Repair a Corrupt Windows 7 Installation
================================================
http://www.computerworld.com/s/article/9221540/How_to_Repair_a_Corrupt_Windows_7_Installation?taxonomyId=89&pageNumber=3


Windows Recovery Console Operations
====================================
Firstly to enter into recovery console, by booting from Windows CD/DVD. When 'Welcome to Setup' appears, then press 'R'. Here is a list of commands that may be helpful for repairing or trouble shooting in Recovery Console mode.

listsvc        - list the services running. Example display drivers agp440.sys is listed
disable agp440 - to disable a service that is running and listed under listsvc.


Windows 7 Administrator account
==================================
This section is specifically for Windows 7. In previous versions of Windows, there may appear the Administrator user on the login page. The Administrator account does not appear on Windows 7 by default.

By default, the Windows 7 installation usually
- allow you to create a new user, say FirstUser, during install and will set it up with Administrator password.
- there is a hidden Administrator user, but it is not active and has no password.

To manage the Administrator account, eg to activate it or give it a password, etc:
- click Start
- right click Computer - Manage
- Go to System Tools - Local User and Groups - User
- perform any task including Administrator account.

Alternative way to make Administrator appear on login screen.
- click Start and in the Search box, type CMD
- right click on the CMD icon that appears, choose Run As Administrator
- in the Command Prompt type:
  net user administrator /active:yes
      or
  net user administrator /active:no


Windows 7 - Where are those Options
=====================================
To enable Folder Options, which used to be a menu within Windows Explorer, we now need to do this for Windows 7:
- go to Contorl Panel - Appearance and Personalization - Folder Options.



Microsoft Outlook
==================
Before you say this section should not be in the Windows notes, we argue that it should simply because MS love to tie in the products to the Windows OS so intimately that it affects other Windows related stuff, as you will see.


How to save, manage, archive Microsoft Outlook *.msg files?

- If your messages are in the Notes folder, or if you are looking for Calendar, Inbox or other items, DON'T LOOK FOR NOTES folder. Everything in Outlook inside Inbox, Notes, Calendar and more are DUMPED into a single *.pst file.
- - Where is the *.pst files?
- - - In Windows 7, it is default in:
- - - C:\Users\cyk\Documents\Outlook Files\Outlook.pst     (main outlook file)
- - - C:\Users\<user name>\AppData\Local\Microsoft\Outlook\*.pst   (other email accounts imported into Outlook)

- Tricky, you may be smart and Open Outlook, go to the left hand panel and find Inbox, Notes. Then right click on Notes, select properties. This will show the Notes folder in location called: "Outlook Data File". Don't spend hours looking for this, it is in fact the Outlook.pst mentioned above.

- So you cannot access all your messages without using Outlook, because it is also dumped into the Outlook.pst which is a proprietary format. Here's how to get all the messages out.
- - Open MS Outlook.
- - Open a Windows Explorer window and place it next to the Outlook app.
- - From the Outlook, click Notes, click the big buttons in the Ribbon to change to "Notes List". This give you a list of all the Notes in the main pane of Outlook.
- - Highlight all the notes you can to archive and save elsewhere. Drag them to a folder in the Windows Explorer window. Now all your notes will appear as individual *.msg files.
- - Download the little utility called "msgtxt" from:
http://www.enterag.ch/enterag/downloads/msgtext.xhtml
http://www.softpedia.com/get/Internet/Other-Internet-Related/MsgText.shtml
- - Use msgtxt to convert *.pst to *.txt files. A simple batch program can be written to simplify this.