Calculate Max Wattage a House Can Handle

If you open your circuit breaker, you’ll see a bunch of breakers with tabs. Each breaker controls a circuit for a certain part of your house, e.g. a circuit for the kitchen, a circuit for the bathroom, etc. Each breaker has a max amp rating, e.g. 15A or 20A. If you multiply the amp rating by 120 volts, you’ll get the max wattage the circuit can handle. e.g. 20×120 = 2400 watts. So if you have 14 circuit breakers that each can support a maximum of 20 amps (or 2400 watts), then your entire circuit breaker panel for your house can handle 14 x 2400 watts = 33,600 watts. However, this is all theoretical. If someone replaced a 15A breaker with a 20A breaker, you’ll have problems, e.g. a possible fire.

Continue reading Calculate Max Wattage a House Can Handle

How to Calculate Electric Costs

Calculate Energy Cost For a Device

  1. Read the wattage on the label of the device
    If the device doesn’t have a label, you can buy a wattage measuring device, such as the Kill A Watt.
  2. Calculate Watts Per Day
    To calculate energy consumption costs, simply multiply the unit’s wattage by the number of hours you use it to find the number of watt-hours consumed each day. For example, let’s say you use a 125 watt television for three hours per day. By multiplying the wattage by the number of hours used per day, we find that you are using 375 watt-hours per day.125 watts X 3 hours = 375 watt-hours per day
  3. Convert to Kilowatts
    But electricity is measure in kilowatt hours on your electricity bill. Since we know that 1 kilowatt is equal to 1,000 watts, calculating how many kWh a particular device uses is as easy as dividing by 1,000.375 watt-hours per day / 1000 = 0.375 kWh per day
  4. Calculate Usage Over a Month Period
    Now to find out how much that’s actually going to cost you on your electric bill, you’ll have to take the equation a bit further. First you’ll need to figure out how many kWh the TV uses per month.375 watt-hours per day X 30 days = 11.25 kWh per month
  5. Calculate Monthly Cost
    Next, pull out your last electric bill and see how much you pay per kWh. For this example, let’s say you pay 10 cents per kilowatt hour. To find how much the TV is costing you in a month, multiply your electricity rate by the kWh per month that you calculated above.
    11.25 kWh per month X $0.10 per kWh = $1.13 per month

Continue reading How to Calculate Electric Costs

Test Lighting in a Room

When deciding on lighting for a particular room, it helps to see how light from different types of light bulbs placed at different locations will look, e.g. do you want a bunch of spot lights or a few flood lights? Below is a simple setup showing how you can attach lights to your ceiling for testing purposes.

Buy these long pendant lights. They’re available on Amazon for $13 for a pack of two.

Continue reading Test Lighting in a Room

CSS Transitions / Animations with Different Easing Functions

Animating elements can be done simply with linear speed. However, you can achieve some very interesting effects using different bezier curves. Many popular easing functions and how to use them can be found at Eastings.net. If that’s not enough, you can play around with creating custom easing functions at Cubic-Bezier.com.

Continue reading CSS Transitions / Animations with Different Easing Functions

Fasting to Cure Diabetes, Hypertension, Cancer, Arthritis and Other Diseases

Apparently, fasting for 2 to 3 weeks while only drinking water can oftentimes permanently cure diseases like diabetes, hypertension and rheumatoid arthritis. It can also expedite the curing of cancer and other diseases. You basically starve the cells causing the disease. This extreme type of fasting must be done in a supervised environment with doctors checking your health periodically.

Some water fasting clinics include

Watch the full 1-hour documentary at https://www.amazon.com/Science-Fasting-Sylvie-Gilman/dp/B075848T5T.

The first 3 days of water fasting are the worse but afterwards, people don’t feel hungry anymore and they begin to actually feel good. The body then adapts and gets detoxed. Headaches may occur.

Continue reading Fasting to Cure Diabetes, Hypertension, Cancer, Arthritis and Other Diseases

Native JavaScript: Event Handling of Dynamic HTML Elements

In jQuery, if you dynamically add an element to the DOM and want to attach an event handler to it, that’s very easy with the following line of code.

However, if you try to do that with native Javascript, you have to do with by checking for all clicks on the page and only acting on clicks where the click occurred on the element you want to act on.

Obviously that’s no good. One workaround is to put the HTML element in the page somewhere(if that’s possible in your case), then detach and attach it to where you want to dynamically put it, then add an event listener specifically for that element, e.g.

Blend Two Audio Clips Seamlessly Using Audacity – Cross Fade

Let’s say you want to mix two songs together with a seamless transition from one song to the other. Or, let’s say you want to strip out sections of a song and create a seamless transition between the sections you like. This can easily be done using the Crossfade Tracks effect in Audacity.

  1. Add a new stereo track
  2. Paste the second audio song or clip into the new stereo track so you end up with song / audio clip 1 on track 1 and song / audio clip 2 on track 2.
  3. Select the sections of both tracks where they overlap and choose Effect > Crossfade Tracks.
Continue reading Blend Two Audio Clips Seamlessly Using Audacity – Cross Fade

Home Sound System Setup Using Bose

I recently experimented with sounds for my living room and came up with the following setup. Here’s my setup and the reasons for it.

Components:

  • Bose SoundTouch 300 Sound Bar: $700
  • Bose Acoustimass 300 Subwoofer (Bass Module): $700
  • 1 Pair of Bose SoundTouch 10 Speakers: $330 (at Costco)
  • 1 Pair of SoundXtra Wall Mounts For Bose SoundTouch 10 Speaker: $70 (on Amazon)

Sub-Total: $1800
Tax: 10% ($180)
Total: ~ $2000

Note: I haven’t bought the Acoustimass yet because it’s pretty expensive. However, I have tested it and it sounds great when your sound source contains bass.

Continue reading Home Sound System Setup Using Bose