All posts by admin

How to Install Windows XP from a USB Flash Drive?

Why install Windows XP?

Sometimes you do need Windows XP for some specific tasks. For example running and testing old programs, a specific program, using your old computer for a specific task.

This is a  short guide to install Windows XP from a USB flash drive.

Requirements:

1. Windows XP installation files (you can use any Windows XP disc or ISO file).

2. DOS.zip file (download)

3. A USB flash drive of at least 2 GB (The best size is 1GB or 2GB. Some old computers do not allow to boot from USB having size being larger than 1GB).

4. A Windows 7 OS or a previous version.

Procedure:

1. Attach the USB to your computer

2. Unzip DOS.zip and run HpUSBformat.exe (this program can only be run under Windows 7 or a previous version), select below option values

  • File system: FAT
  • Volume label: SYSTEM
  • Select “Create a DOS Start up disk”
  • Select radio button “Using DOS system files located at:”
  • Enter the path where you have extracted DOS.zip files (Give the path of DOS folder).

3. Copy all other files from DOS folder to your USB disk (you can overwrite the existing ones).

4. Copy all the Windows XP installation files (I386) to the USB drive.

5. Boot system from the USB disk (you may need to adjust your BIOS for this).

6. Type fdisk, hit Enter and follow the instructions to create a partition for a new XP installation.

7. Type format d:/s to format the partition in the 6th step. If the partition already exists then use command format d:/q/s.

8. Type cd I386 and hit Enter to go to the I386 folder.

9. Type winnt and hit Enter.

10. Follow the screen instructions.

Important note: Your hard drive size should be less than 128Gb.

In, At, On + Time or Date

In

Use ‘in’ with months, years and periods of time such as decades or centuries:

  • in January
  • in 1978
  • in the twenties

When does the school year begin in your country? – In mine it begins IN September.

Use ‘in’ a period of time in the future to express that an action will occur after that amount of time:

  • in a few weeks
  • in a couple of days

At

Use ‘at’ with an exact time:

  • at six o’clock
  • at 10.30
  • at two p.m.

When do you eat lunch? – I usually eat it AT noon.

On

Use ‘on’ with days of the week:

  • on Monday
  • on Fridays

Use ‘on’ with specific calendar days:

  • on Christmas day
  • on October 22nd

When is your birthday? – Mine is ON October 12.

Important notes

in the morning / afternoon / evening – at night

We say in the morning, afternoon or evening BUT we say ‘at night’.

Should I Use a Singular or Plural Verb with None?

None can take either a singular or plural verb.

When none is followed by a mass noun (a noun that cannot be counted or made plural) it takes a singular verb.

– None of the wine was drunk. (wine = mass noun)

When none means no one or not any, use whichever verb makes more sense.
Consider none as singular when you want to emphasize a single entity in a group, but consider none to be plural when you want to emphasize more than one.

– None of the books is worth reading.
– None of the books are worth reading.

– None of us is going to the banquet.
– None of us are going to the banquet.

– None of the printers is working.
– None of the printers are working.

– None of you is guilty
– None of you are guilty.

If your meaning is ‘none of them’, treat the word as plural; if it is ‘none of it’, treat it as singular.

Wear vs. Put On

To wear: to have something on your body
– She was wearing a diamond necklace with matching earrings.
– Who is that boy wearing a black jacket?

To put on: to move something you ​wear onto ​your ​body
– Take that shirt off and put on a new one. You can’t go out in such an old shirt.
– It’ll be more beautiful if I put on this skirt.

– It’s sunny today so I decided to put on my sunglasses.
– Today, I wear sunglasses because of the sun.

Guide to Citing & Referencing

What is referencing

When writing a piece of academic work, you must acknowledge any sources you have used. You do this by including a ‘citation’ within your text (usually a number or an author’s name) next to the material you have used. This brief citation leads your reader to a full reference to the work, which you include in your list of references at the end of your text. These references should allow anyone reading your work to identify and find the material to which you have referred. You need to be consistent in the way you reference your sources by following an established referencing system and style.

Please download these 2 files for the full guide.

Please download these 2 guides for how to working with references using Microsoft Word 2007 or 2010.

If you want to use IEEE and ACM style with alphabetical (name) sequence then please download this BibWord file, unzip and copy  IEEE_Alphabetical.XSL and ACMNameSeq.XSL to  C:\Program Files (x86)\Microsoft Office\Office12\Bibliography\Style (The directory may be different to this in your machine).

Whenever you update your bibliography, close your document then run BibWordExtender2.exe, click “OK”,  select your Word document, select Bibliography style, click “Extend”, re-open your document, re-select the style in Word.

 

 

Wireless Basic Configuration

Mbps vs. MBps: What’s the Difference?

Mbps means megabits per second. Mb is used for download and upload speed.
MBps stands for megabytes per second. MB is used for file size.
130Mbps = 16.25MBps
144Mbps = 18MBps

Differences between 802.11a, 802.11b, 802.11g and 802.11n

802.11a:
Operates in the 5.15GHz to 5.35GHz radio spectrum.
Speed: Up to 54Mbps (actual throughput is closer to 22Mbps)
Range: 50 feet
Less prone to interference.
More expensive.
Because 802.11b and 802.11a use different radio technologies and portions of the spectrum, they are incompatible with one another.

802.11b:
Operates in the 2.4GHz radio spectrum.
Speed: Up to 11Mbps
Range: 100 feet
Prone to interference (it shares airspace with cell phones, Bluetooth, security radios, and other devices).
Least expensive wireless LAN specification.

802.11g:
Operates in the 2.4GHz radio spectrum.
Speed: Up to 54Mbps
Range: 100 feet
Prone to interference (it shares airspace with cell phones, Bluetooth, security radios, and other devices).

802.11n:
Operates in the 2.4 or 5GHz radio spectrum
Speed: Up to 700Mbs
Range: 50 feet

802.11ac:
802.11ac builds upon previous 802.11 standards, particularly the 802.11n standard, to deliver data rates of 433Mbps per spatial stream, or 1.3Gbps in a three-antenna (three stream) design.
The 802.11ac specification operates only in the 5 GHz frequency range and features support for wider channels (80MHz and 160MHz) and beamforming capabilities by default to help achieve its higher wireless speeds.

Don’t Mix Wireless B/G with N

Wireless N is supposed to be interoperable with Wireless A, B, and G, but it doesn’t always work that way. Some older clients might not be able to connect at all, even when the wireless router or APs are in mixed wireless mode. Then when the older clients can connect, they’ll slow down the network.

Some clients may take a heavy 80 percent cut in their throughput. To prevent this problem, consider forcing the new APs to use only Wireless N, and keep the old router or APs around to support the old clients.

Although connections among users on the Wireless N router or APs with Wireless G users will still be bottlenecked by the old clients, the throughput cuts on a mixed mode Wireless N router or AP can be much worse.

Change your wireless channel

Changing your wireless channel might help increase range and performance, especially if you have neighboring networks set on the same channel or interference from other electronics. It’s best to check channel usage with a program like Vistumbler or inSSIDer, but you can simply try other channels as well to see which one is best.

For 2.4GHz routers (the most common), channel 6 is the default for most routers, so stay away from it. Try channel 1 or 11, the other two other non-overlapping channels. For 5GHz wireless N or AC routers, you shouldn’t have much of an interference issue since it’s less commonly used. But you might try changing to another channel as well.

Use WPA2 security

For the high speeds on wireless N or AC routers you must use WPA2 security with AES encryption. Using WPA or WEP security with TKIP encryption will dramatically reduce bandwidth. Most routers offer a mixed WPA/WPA2 mode, but you should use WPA2 only. Homes should use the personal (PSK) mode, which is the easiest to setup and businesses should use the enterprise (RADIUS) mode which requires an external authentication server.

Most devices you have should support WPA2 security, but if you have some that don’t consider using an older router with a newer one as mention in the previous section.

Short Guard Interval

The guard interval is the space between symbols (characters) being transmitted.  This is often confused with the space between packets, which is the interframe space (IFS).  The guard interval is there to eliminate intersymbol interference, which is referred to as ISI.  ISI happens when echos or reflections from one symbol interfere with another.  Adding time between symbol transmission allows these echos and reflections to settle in before the next symbol is transmitted.  In normal 802.11 operation, the guard interval is 800 ns.

With 802.11n, short guard intervals are possible.   The short guard interval time is 400ns, or half of what it used to be.  Shorter wait time (guard interval) between symbols increases throughput.  However, if it’s too short, the amount of ISI will increase, and throughput will decrease.  On the other hand, if the guard interval is too long, there is increased overhead due to the additional idle time.

If you are using 802.11n or 802.11ac only, you can enable short GI. In another word, when using mixed mode, please disable the short GI, which may cause issues.
When intending to improve the throughput, enable short GI can improve the throughput about 10%.

RTS/CTS Threshold

As an optional feature, the 802.11 standard includes the RTS/CTS (Request to Send/Clear to Send) function to control station access to the medium.
For access points, you enable RTS/CTS by setting a specific packet size threshold (0 — 2347 bytes) in the user configuration interface.
If the packet that the access point is transmitting is larger than the threshold, it will initiate the RTS/CTS function.
If the packet size is equal to or less than the threshold, the access point will not kick off RTS/CTS.
Most vendors recommend using a threshold of around 500.
The use of 2347 bytes effectively disables RTS/CTS for the access point.

Source: https://www.quora.com, http://www.ciscopress.com

Have Something Done

Take a look at these two sentences. What is the difference in meaning between them?

‘I cut my hair.’
‘I have my hair cut.’

‘I cut my hair’ means that I do it myself.
‘I have my hair cut means someone cuts my hair for me (in this case it’s probably a hairdresser).

We use have something done to mean another person does a service for us.

The grammar for this is pretty simple:

Have + object + past participle

Let’s take a look at a few more examples:

‘We didn’t want to cook so we had a pizza delivered.’
‘I had my car washed at that new place by the station.’
‘I had my watch fixed.’

We can also use ‘get’ instead of ‘had’ and the meaning stays the same. The sentences above now become:

‘We didn’t want to cook so we got a pizza delivered.’
‘I got my car washed at that new place by the station.’
‘I got my watch fixed.’

Difference Between Core i3 and i5 and i7 and Core 2 Duo

Generally speaking the current generation of Core i3/i5/i7 have about 20% more processing power than their Core 2 Duo counterparts.

Core i3:
– Dual Core CPU
– Hyper Threading

Core i5:
– Dual Core CPU
– Slightly higher clock speeds than core i3
– Hyper Threading
– Turbo Boost (it’s like an automatic overclock if the CPU is not too hot)

Core i7:
– Dual Core CPU (models ending with M)
– Quad Core CPU (models ending with QM)
– Higher clock-speed than the Core i5
– Hyper Threading
– Turbo Boost
– Virtualization (you can run multiple operating systems at the same time)
– Has circuitry that allows for easier and more secure remote access for corporate IT departments to trouble issues in a business environment.
– AE5 New Instruction set (No idea what this is)

Source:  http://www.tomsguide.com/

Topic 17 – Calculus

Why do I need to learn about calculus?

Calculus is a fundamental tool for understanding modern theories and techniques to create software such as artificial intelligence, machine learning, deep learning, data mining, security, digital imagine processing and natural language processing.

What can I do after finishing learning about calculus?

You will then be prepared to be able to learn modern theories and techniques to create security, data mining, image processing or natural language processing software.

What should I do now?

Please watch this MIT 18.01 – Single Variable Calculus, Fall 2007 course (Lecture Notes).  When you watch this course please refer to this George F. Simmons (1996). Calculus With Analytic Geometry. McGraw-Hill book when you have difficulties with understanding some lectures.

Alternatively, you can read
– this George F. Simmons (1996). Calculus With Analytic Geometry. McGraw-Hill book or
– this C. Henry Edwards David E. Penney (2008). Calculus – Early Transcendentals. Pearson book or
– this George B. Thomas et al. (2018). Thomas’ Calculus: Early Transcendentals. Pearson Education book or
– this James Stewart et al. (2020). Calculus: Early Transcendentals. Cengage Learning book.

After that please watch this MIT 18.02 – Multivariable Calculus, Fall 2007 course (Lecture Notes). You will need some Linear Algebra knowledge (specifically Inverse Matrix and Determinant) to understand Multivariable Calculus.

After that please watch this Highlights of Calculus course to review many core concepts of Calculus.

After that please watch this MIT 18.03 – Differential Equations, Spring 2006 course (Readings). When you watch this course please refer to this C. Henry Edwards and David E. Penney (2013). Elementary Differential Equations with Boundary Value Problems. Pearson Education book when you have difficulties with understanding some lectures.

What is the difference between calculus and analysis?

Calculus means a method of calculation. Calculus is about differentiation and integration.

Real analysis includes calculus, and other topics that may not be of interest to engineers but of interest to pure mathematicians such as measure theory, lebesgue integral, topology, functional analysis, complex analysis, PDE, ODE, proofs of theorems.

What does early transcendentals mean?

Transcendentals in this context refers to functions like the exponential, logarithmic, and trigonometric functions.

The early transcendentals approach means that the book introduces polynomial, rational functions, exponential, logarithmic, and trigonometric functions at the beginning, then use them as examples when developing differential calculus. This approach is good for students who do not need to take much rigorous math.

The classical approach is the late transcendentals. It means that the book develops differential calculus using only polynomials and rational functions as examples, then introduces the other functions afterwards. This approach is good for students who need to understand more rigorous definitions of the transcendental functions.

Single Variable Calculus Terminology Review:

  • Slope.
  • Derivative.
  • Rate of Change.
  • Limit.
  • Continuity.
  • Chain Rule.
  • Implicit Differentiation.
  • Linear Approximations.
  • Quadratic Approximations.
  • Critical Point.
  • Newton’s Method.
  • Mean Value Theorem.
  • Differentials.
  • Antiderivatives.
  • Differential Equations.
  • Separation of Variables.
  • First Fundamental Theorem of Calculus.
  • Indeterminate Forms.
  • L’Hospital’s Rule.
  • Improper Integrals.
  • Infinite Series.
  • Taylor’s Series.
  • Taylor’s Formula.

Multivariable Calculus Terminology Review:

  • Vectors.
  • Dot Product.
  • Cross Product.
  • Inverse Matrix.
  • Determinant.
  • Equations of Planes: ax + by + cz = d
  • Parametric Equations = as trajectory of a moving point.
  • Velocity Vector.
  • Acceleration Vector.
  • Level Curve.
  • Tangent Plane.
  • Saddle Point.
  • Functions of Several Variables.
  • Partial Derivatives.
  • Second Derivatives.
  • Second Derivative Test.
  • Differentials.
  • Gradients.
  • Directional Derivatives.
  • Lagrange Multipliers.
  • Power Series.
  • Geometric Series.
  • Euler’s Formula.

Differential Equation Terminology Review:

  • Isocline (equal slope): a line which joins neighboring points with the same gradient.
  • Direction Fields.
  • Integral Curve: The graph of a particular solution of a differential equation.
  • IVP: Initial Value Problem.
  • Euler’s Numerical Method.
  • Linear First Order ODE Standard Form: y′ + p(x)y = q(x)
  • Integrating Factor or Euler Multiplier: The method is based on (ux)’ = ux’ + u’x.
  • Substitution: to change variables to end up with a simpler equation to solve.
  • Bernoulli equations: y′ + p(x)y = q(x)yⁿ.
  • Homogeneous equations: y′ = F (y/x)
  • Autonomous equations: dx/dt = f(x). If we think of as time, the naming comes from the fact that the equation is independent of time.

After finishing learning about calculus please click Topic 18 – Linear Algebra to continue.

Topic 15 – Introduction to Database Design

Why do I need to learn about database design?

Database is the heart of any software system, especially enterprise systems. A bad database design will eventually cause your system fail. Designing enterprise databases requires a lot of specific enterprise knowledge and in-depth understanding of structure of big databases. That’s why you need to learn about database design.

What can I do after finishing learning about database design?

You will know how to design a relational database and write SQL code PROPERLY (i.e. for specific purposes). You will know how to build a data warehouse. You will know WHEN you should use a relational database management system or WHEN you should use a NoSQL database management system and HOW they actually work.

That sounds useful! What should I do now?

Please read this Stephane Faroult and Peter Robson (2006). The Art of SQL. O’Reilly Media book first to learn how to write SQL code efficiently.

Then please read
– this W.H. Inmon (2003). Building The Data Warehouse. Wiley book and
– this Ralph Kimball and Margy Ross (2002). The Data Warehouse Toolkit: The Complete Guide to Dimensional Modeling. Wiley book and
– this Vincent Rainardi (2008). Building a Data Warehouse: With Examples in SQL Server. Apress book to learn how to build a data warehouse.

After that please read this Abraham Silberschatz et al. (2019). Database System Concepts. McGraw-Hill Education book to learn about concepts that will help you understand how distributed databases work later.

After that please read
– this Pramod J. Sadalage and Martin Fowler (2012). NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence. Addison-Wesley Professional book, and
– this Martin Kleppmann (2017). Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems. O’Reilly Media book, and
– this Alex Petrov (2019). Database Internals. O’Reilly Media book
to learn how to design distributed databases and how distributed databases work.

And finally please read
– this C. J. Date (2019). Database Design and Relational Theory: Normal Forms And All That Jazz. Apress book and
– this C. J. Date (2015). SQL and Relational Theory: How to Write Accurate SQL Code. O’Reilly Media book to learn about normal forms and relational theory behind relational databases for creating more efficient logical designs for your databases.

Terminology Review:

  • SQL
  • Relational Model
  • Relational Theory
  • Normal Forms
  • Database Design
  • Enterprise Applications
  • Enterprise Systems
  • Data Warehouse
  • Dimensional Modeling
  • Data-Intensive Applications
  • NoSQL
  • Graph Databases
  • Distributed Databases
  • Distributed Relational Databases

After finishing the books please click Topic 16 – Advanced Software Design to continue.