Jumat, 28 Februari 2014

My Cardiologist Called

He is still waiting to talk to the radiologist, because there are some uncertain aspects to the written report he has received.  My ejection fraction (the amount of blood that is pumped out of your heart each beat) is 47%, which is below normal, and indicative of a problem.  There is evidence that one region at the back of my heart is damaged, and not getting blood supply. But the obvious blockage of cardiac arteries is not showing up.

I asked him if I had perhaps suffered a "silent" heart attack -- the kind that damage the heart but you dont know it.  He indicated that might be one explanation, and seemed to think that the evidence of damage might explain the left nerve branch blockage.  It doesnt sound like an immediately worrisome problem, but it does explain why I have been having breathing problems under severe conditions the last few years.

I see encouraging clinical trials like this, but this sounds like it is intended for people with much more serious ejection fraction problems than mine -- and at this point, the gains are pretty small.

On the other hand, there is this encouraging report of how high intensity aerobic conditioning exercise help to restore scar tissue to working status (the British Medical Journal abstract for the article is here):
Dr Richard Godfrey, a Senior Researcher within the Centre, suffered a heart attack in 2007 in the absence of any heart disease, resulting in 16% myocardial scar tissue. The cause was later found to be coagulopathy - a blood clotting disorder.
Dr Godfrey, who was formerly Chief Physiologist at the British Olympic Medical Centre, undertook 60 weeks of high intensity aerobic interval exercise, three times per week. Sessions involved six to 10 exercise intervals of 1 min hard alternating with 1 min easy, designed to take his heart rate just above 90% of maximum.
Cardiac MRI scans before during and after showed a 50% decrease in the amount of scar tissue in the heart - the first time that exercise has been shown to cause cardiac repair.
 UPDATE: Obviously, I am going to check with my cardiologist before I start this, but there are advocates for what is called High Intensity Treadmill Training that seems to be related to the exercise program mentioned above.  It doesnt seem impossible that the body might be able to repair at least some levels of cardiac muscle damage through an aerobic exercise program like Dr. Godfrey used.
Read More..

Kamis, 27 Februari 2014

Patterns builder vs factory

From HERE

  • Builder focuses on constructing a complex object step by step. Abstract Factory emphasizes a family of product objects (either simple or complex). Builder returns the product as a final step, but as far as the Abstract Factory is concerned, the product gets returned immediately.
  • Builder often builds a Composite.
  • Often, designs start out using Factory Method (less complicated, more customizable, subclasses proliferate) and evolve toward Abstract Factory, Prototype, or Builder (more flexible, more complex) as the designer discovers where more flexibility is needed.
  • Sometimes creational patterns are complementary: Builder can use one of the other patterns to implement which components get built. Abstract Factory, Builder, and Prototype can use Singleton in their implementations.
Wikipedia entry for factory design pattern: http://en.wikipedia.org/wiki/Factory_method_pattern
Wikipedia entry for builder design pattern: http://en.wikipedia.org/wiki/Builder_pattern




Read More..

Rabu, 26 Februari 2014

Cleaning the Water Dispenser

Most of the times, the most rewarding DIY projects are the simple ones. Doing easy chores like cleaning the bathroom or waxing and buffing the floor are things that your loved ones will surely appreciate.  Today’s project is one of those things – what I’m going to do is something very simple but most of us are too lazy to do. 

Water dispensers are common in households nowadays. When we were young, we get cold drinking water from the fridge (am I old or what?). We have pitchers (and used coke bottles) filled with “purified” tap water. Getting clean drinking water was as easy as installing one of those cheap filters and voila! – potable water for everyone. Anyways, a couple of weeks ago, I felt the urge to clean our water dispenser. It was a good thing that I did because you’d be surprised that however purified the water might be, the dispenser still needed cleaning.

IMPORTANT: Unplug the dispenser before you start cleaning it. There is the risk of electric shock! :)


Remove the top part – where the water gallon is inverted – by turning it counter clockwise (your model might be different but most of the dispensers I saw are like this)


Here’s how it look like removed from the main dispenser.


Unscrew the bottom screw head looking thing to disassemble the “top part”

 
Carefully disassemble everything that can be taken apart. It was shocking to see that most of the parts are covered with a thin and light moss like film (yuck!). I was wondering why purified water is like that – we’ve changed water suppliers several times already and they are all the same. TIP: Because of this – it is advisable to clean your dispenser once a month to be sure :)  

 
Use soap and water to clean everything – make sure to wash everything thoroughly and leave no soap suds behind. We don’t want to drink water that tastes like soap right?


Back to our dispenser – unscrew the white thing you see here – clean it as well.

I wiped the insides of the dispenser with some clean paper towels – did not use soap here as it will be difficult to rinse.


Put the “top part” back together. The notches (circled in red) locks on to the dispenser.


Here’s where the notches go.


Everything is in place again – wiped the dispenser’s body – looks brand new!

 
All done – this DIY took me around 20 minutes.

PRICELESS:
1.      1. The assurance that the water we’re drinking is as clean as it can be
2.       2. The amazement in my parents’ faces when they saw that the dispenser was clean and was like new :)

YES! YOU CAN CLEAN YOUR WATER DISPENSER! :)
Read More..

Selasa, 25 Februari 2014

Old Philippine Passports
Earlier today, I had my passport renewed. It's been awhile since I did this and the last time was still in the old DFA building along Roxas Boulevard. I didn't know what to expect and same with many people renewing their passports, they just ask the guards and go with the flow. Well, I'd like to give you an idea and a brief overview of what to expect, where to go and some basic information when renewing your passport here in Department of Foreign Affairs Aseana Building along Macapagal.
Read more »
Read More..

Senin, 24 Februari 2014

I woke up reading a better news than last nights WWDC 2013 announcement. Smart is offering amazing price slashes to some of our favorite phones and when I say price slash, they are really generous in providing a HUGE discount.

How affordable is the iPhone 4S from Smarts Freedom to Follow sale?

1) The latest iPod Touch 64gb costs P21,990.00. The iPhone 4S is P11,090 pesos cheaper and it can make calls and almost do all things the iPod Touch can do! The 32gb version of this iPod Touch is actually even more expensive also.


2) Its even cheaper than the latest iPod Touch release which as only 16gb of memory. Cheaper by P1,590 pesos. Although its a previous generation iPhone, its just thicker but it can do better than this iPod Touch.

3) Usually, online stores sells products at a lower price compared to physical stores. In this case, the iPhone 4S is even 60-70% off the online prices! Below is a screenshot of the current prices for iPhone 4S. I took it on June 11, 2013, a day before the Follow you Freedom sale day.

and thats just the iPhone 4S! They are also slashing the prices off a lot of other gadgets. See list below. (Source: http://www1.smart.com.ph/Postpaid/promos/freedom-to-follow )

HandsetSale PriceVenues
SE X10i6,000Robinsons Galleria and Araneta Gateway
Samsung Tab-Galaxy (P1000) 7"5,300Robinsons Galleria and Araneta Gateway
Nokia N85,000Robinsons Galleria and Araneta Gateway
Dell Streak 5, Tablet3,750Robinsons Galleria and Araneta Gateway
Nokia E724,300Robinsons Galleria and Araneta Gateway
HTC Evo 3D8,150Robinsons Galleria and Araneta Gateway
Samsung I9250 (Nexus)7,400Robinsons Galleria and Araneta Gateway
Samsung Galaxy S II6,600Robinsons Galleria and Araneta Gateway
Nokia N96,500All Venues
Nokia E76,200All Venues
Samsung Tablet P6200 (7")5,600All Venues
iPhone 3gs4,900All Venues
Nokia C74,150All Venues
Nokia C3-012,150All Venues
Samsung Corby II1,300All Venues
Nokia 2730C1,250All Venues
iPhone 4s 64GB10,900All Venues
LG Optimus L34,099All Venues
Samsung Galaxy Y (with Smartnet)4,199All Venues
Lenovo A6903,899All Venues
Huawei Y3004,599All Venues
Alcatel Inspire 23,699All Venues
Huawei Y2103,199All Venues
Samsung Nari1,350All Venues

Visit the Follow Your Freedom activities on the following venue:

Robinsons Galleria
Araneta Gateway
SM City Baguio
SM City Pampanga
SM City Dasmarinas
SM Cebu
SM City Davao

It doesnt necessarily mean that Smart wants more sales. They are doing us a favor so we can get more bang for our buck. They just want us to Live More. I suggest you go early as this will surely be a big hit tomorrow!


Cheftonio
PS. Liked the post? Subscribe to my blog by typing in your email below. Youll get my posts in your inbox via email.
Enter your email address:


Delivered by FeedBurner


Error matching blog to blogger entry. If you are the owner of this blog, please check that there is no typo in your blog address and that you have pasted the code from the Add Ads page correctly (file:///var/mobile/Applications/F958E0CF-CC0C-46CE-9567-774537939A22/Documents/Blogger/)
Nuffnang Ads
Error matching blog to blogger entry. If you are the owner of this blog, please check that there is no typo in your blog address and that you have pasted the code from the Add Ads page correctly (file:///var/mobile/Applications/F958E0CF-CC0C-46CE-9567-774537939A22/Documents/Blogger/)
Nuffnang Ads
Error matching blog to blogger entry. If you are the owner of this blog, please check that there is no typo in your blog address and that you have pasted the code from the Add Ads page correctly (file:///var/mobile/Applications/F958E0CF-CC0C-46CE-9567-774537939A22/Documents/Blogger/)
Nuffnang Ads
-->
Read More..

Minggu, 23 Februari 2014

HS25 Review – Part 1 – The Arrival

The F770EXR is all packed up and waiting for pickup by FedEx. It was supposed to go out today, and indeed I spent 5 minutes chatting with the driver, who gave me a blank waybill and asked what my account number was. Duh …

So off he went empty handed and I sent email off to MSL. Celine gave me the number (here it is for those of you who are too cheap to pay for shipping on your own: 4448111GFY.)

Anyway, it will go out tomorrow. But I was pleasantly surprised that a separate driver brought me the HS25 earlier in the day. It too is packaged for serious shipping now, in its own steel case with tons of foam surround. And it’s a cute little thing, nicely decked out in buttons and gadgets. I wonder how it will perform? Should be essentially identical to the F770EXR.

Except, of course, that the HS25 does not shoot RAW. That is the sole province of the HS30.

*sigh*

Anyway, I will soldier on and see what I can squeeze from it. Here it is sitting next to the D7000 with 18-200VR.


F550EXR  3200ISO  f/3.5  1/4

And from behind.


F550EXR  3200iso  f/3.5  1/17  -1ev

Note the heavy compensation, and still the brightly lit LCDs are over exposed. The image was quite dark and the noise was quite spectacular after pulling up in post. But Topaz Denoise 5 to the rescue.

Ok … these are really crappy images. Bad composition, bad lighting. Yet they get the point across, which is exactly what these little compacts are for in my opinion. That you can capture an image in a dark room at all is amazing. Five years ago, this needs a tripod.

Anyway, looking forward to playing with the HS30. My initial impression is good feel in the hands, great range, good controls. Articulating LCD is fun.

Read More..

Irishmen In The Oddest Places

My wife pointed me to this Irish band performing "Star of the County Down" - but the band calls themselves Orthodox Celts.  You see, they are Serbs, even the very Irish-looking lass Ana Djokic playing the violin.

Read More..

Sabtu, 22 Februari 2014

RUB Ribs and BBQ Tomas Morato


RUB Ribs and BBQ
After a lunch meeting with our wedding videographer in the Tomas Morato area, he recommended a restaurant nearby. It's one of his favorite places, he said. Without even thinking, we decided to try out his recommendation since it was nearby and it would mean another blogging opportunity for me.

Read more »
Read More..

Jumat, 21 Februari 2014

VOLUMETRIC Understanding Point Density


I continue further with my research on Volumetric Rendering in Blender and have a go at trying to understand how all these really works. By no means I know everything, no I am not. I am actually learning from few available video tutorials out there, documentations and forum discussion.

In a way, I am writing this as note that links all those together, hopefully it is useful for you guys.

####################################################################

BLENDER ONLINE DOCUMENTATION ON VOLUMETRIC
http://www.blender.org/development/release-logs/blender-256-beta/volume-rendering/
http://wiki.blender.org/index.php/User:Broken/VolumeRendering
http://wiki.blender.org/index.php/User:Broken/VolumeRenderingDev

USEFUL VIDEO TUTORIALS ON VOLUMETRIC
Creating cloud texture by Nick Keeline:
http://vimeo.com/7177831

Cloud works by Matt Ebb
http://vimeo.com/2272749

Smoke Intro by Andrew Price (The Blender Guru Blog) --> Smoke simulation will be discussed at different article blog, when I understand Smoke a bit better.
http://vimeo.com/9442673

Nions Channel: (great inspiration)
http://www.youtube.com/user/NionsChannel

Matthias Müller Particle Works
http://vimeo.com/user624589

####################################################################


Previously, I wrote about Voxel Data and Point Cloud, I will recap them again:

  • We learned that "MRI scan data" or image sequences of slices can be imported into Blender as a Voxel Data that then can be rendered out as volumetric render. This Voxel Data is STATIC.
  • Voxel Data in Blender is also closely related to Smoke Simulation, which is probably the coolest part of all this Volumetric Rendering. Smoke Simulation is DYNAMIC. Smoke is a big topic but also very interesting to study, I will discuss this in the future post.
  • Point Cloud is a different topic that I should probably have separated this into a different article, but interesting enough since we are talking about "points" which more or less close to Particle Simulation, so they are sort of long distance relative.
  • Point Cloud can actually be rendered as Point Density

POINT DENSITY
Now, in this article we will talk about Point Density. From my understanding Point Density is a way to render Particles as Volumetric objects  or Voxels. Point Density is based on Particle System or Object Vertices. --- This also means we can also render Point Cloud volumetrically via Point Density.

I have not really write about Particle System, which probably I should have touched before trying to touch this topic on Volumetric Rendering. We will sort of learning backward (from SHADING back to setting up actual SIMULATION), but dont worry we try to touch everything.

Below is a rough diagram of all these together:


Up to this far, we basically has been mostly touching VOLUMETRIC SHADING and RENDERING. The volumetric rendering result is depending on what data coming from (DYNAMIC SIMULATION or STATIC). In the end, we are converting those information into voxel that is then rendered out to look like fog, fire, cloud, smoke, etc.


Again, all these elements are overlapping, so it is can be just a bit confusing at first.


Volume Material, and how this Material works together with Texture, is something to understand in order to get a good render result. --- as you know in Blender there are 4 types of Material: Surface, Wire, Volume, Halo. At this time, make sure you set renderer using Blender Internal Render, not Blender Cycles. Blender Cycles cannot render Volume Material yet.

VOLUME MATERIAL
Lets take a look at Volume Material, a little deeper. Volume Material by default has a Density value of 1. If you left it as is and test render on a 3D mesh (with volume), you will get a volume render that is more or less like a fog. This Volume Material will react with lights and also has subsurface scattering effects.

Default Volume Material. Not very visible, semi transparent, and a bit noisy.
With Density = 1, we can increase Density Scale = 20 (from default of 1). Value of 20 might be overkill for most case, but just to make a point.

Density Scale = 20, it is much thicker.
Now, under Integration, set Step Size from default 0.2, to 0.02.

Step Size = 0.02. The blocky result is because of Light Cache. See below for more information.

Changing Step Size will give you smoother look. Careful not to make it too smooth, as you like that bit of noise to look more realistic.

Now you have something that is solid enough like dense smoke, yet still appear fuzzy and has some transparency. These are the settings you can play around until you get the look you wanted, but basically those are a good start.

By default, Light Cache option box is Checked, with value of = 50 by default. This is actually way you can reduce render time. You can Unchecked this when you do final render (most accurate). Or you increase to higher value, less accurate, but faster for render.

Turn on also Full Oversampling for maximum quality of voxel render.

Before we continue by making Density value to 0 (zero), and have the Density controlled by other means (Voxel Data, Point Density, other 3D procedural texture), have a play by adding Texture and test all the options to see the effects of each parameters. See also the effects of Light for this material.

Light will affect the render result, whether you put the light behind, inside, or at the front of object will influence the volumetric render. Subscatter is how much light can go inside a volume before it gets scattered.

Pay attention to Transmission, Emission, and Reflection under Material,
Check also their options under Texture - Influence.
Blender Material Preview can be really helpful to see quickly the resulting effect. Sometimes it is not available depending on the options you set.

ZERO DENSITY TO HERO DENSITY
Now, it is time to set Density value to 0. We will now fill up the Density using different data. We will focus on Point Density and other 3D textures option, since we already touch Voxel Data a bit. Voxel Data will relate to Smoke Simulation, we will talk about it in the following post.

We want to have the Density controlled by Texture. Under Texture Tab, check Density and uncheck everything else for now. By default, Influence-Emission Color is checked. Uncheck this and activate Density instead:



There are some options available under Texture Type: Point Density, Voxel Data, Clouds, Musgrave, etc all the 3D Procedural Texture).

And this is where you can adjust the look of Volume Material. Think of it like this, when you set Density Influence on, you will be affecting the Density based on the value of the texture (WHITE = density value of 1, BLACK = density value of 0).

From now on, we will solely focus on a BOX as our "Domain" object. When you later work with Point Density, only Particles/Vertex inside this BOX will be rendered out.

Before going to Point Density. Lets try some of Procedural 3D Texture and see how it affects the Density (adjust the Density Scale if the result is too thick):

Clouds - Hard - Blender Original

Clouds - Hard - Voronoi
Distorted Noise, with less Density Scale value
Blend texture (gradient).
Marble texture

Musgrave

There are unlimited possibility of Density look you can get. You can also LAYERS those texture to have more complicated look, which is beyond the scope of this post.

VOLUMETRIC SHADOW
Before we go further, I need to also mentioned this important information. If you want to render Volume and have proper shadow (transparency), make sure that on the ground object Surface Material, you enable: Receive Transparent.

BACK TO POINT DENSITY (finally!)
Ok, now we are ready to touch Point Density.

We will use this BOX volume to contain our Particles or Mesh Objects. Similar to what you did with ZERO DENSITY setup above, but now instead of controlling the density via 3D Procedural Texture, we will use Point Density.

We will use this Donut geometry as our Mesh Geometry source for the Point Density.



Under Point Density, you have 2 options: render from Particle System or Object Vertices.Since you may not be familiar with Particle System, we can just use Object Vertices for now. They are more or less treated the same, every "points" is equal a radius of Voxel.

NOTE: With your BOX, be aware that if you want to SCALE or MOVE them, make sure you do that OUTSIDE of edit mode! Depending on situation, sometimes scaling the DOMAIN BOX can cause confusion for simulation.

Render result of Volumetric Density based on Point Density: Object Vertices.
Turbulance option turned on.

High intensity turbulance with Voronoi Noise Basis.

Voronoi Crackle Basis. The black color is self shadowing from the source mesh.
If you make the source mesh transparent.
As you can start to see the result is starting to look gorgeous. You are affecting Volumetric voxel at Shader level. Even with just using a Static Mesh, you can have some turbulance details.

Of course with Particles, you can take this to the next level. Particles can filled up a volume so you can have a Volumetric Render that is more "solid", it can be simulated as well to create animations.

Particle System, 8000 Particles filling up the volume of mesh.
More solid volume.
With Particles Simulation, you can of course use Force Field, like actual Turbulance that affects Particles:


As a result you will also affect the Volumetric render and if you add Turbulance Basis at Shader Level, you get something like below:


Remember that this is NOT Blender Smoke Simulation. The behaviour of this is still pretty much like Particles. Smoke Simulation can give more detailed and realistic look and animation of actual smoke.

Anyhow, at least you can starting to understand Point Density inside Blender. Right? I hope so. Its not particularly easy, but I think its still a lot simpler than trying to achieve this in other commercial 3D packages.

BONUS: If not known already, Blender comes with "Cloud Generator" add-on. It does an automatic setup for your for Point Density, more or less what we have discussed above. Have a look and do reverse study, you will understand it better.

UPDATE 2012.08.19
CGDudes has some awesome tutorial and demo vidoes on smoke and fire using Blender:
http://www.youtube.com/watch?v=cWNH3Jd7NqU&feature=player_embedded
Read More..

Kamis, 20 Februari 2014

record what your speakers are playing For those of you that have used the "Stereo Mix" feature of your sound card to record audio playing on your Windows computer in the past, you might be surprised to find that this feature isnt readily available on Windows 7. Several NCH customers have informed me that they have started using SoundTap Streaming Audio Recorder as an alternative to Stereo Mix on Windows 7, after experiencing frustration with this feature gap.

After doing a little research online it seems that the primary concern leading to Windows dropping Stereo Mix is concerns about maintaining DRM (Digital Rights Management) on copy-protected audio files. They seem to have forgotten that there are a large number of perfectly legal reasons you might want to record audio that is playing through your computer. Some soundcards do allow you to update your drivers online to regain this functionality, but not all, so what used to be an easy recording option can now be quite a headache to try and get up and running. So we are glad to offer SoundTap as an easy way to record audio playing through your computer to solve this problem.

SoundTap records audio through a virtual driver on your computer for high quality audio recording. There are DRM restrictions in place to protect rights-managed content, but SoundTap reopens the door to record high quality audio from a multitude of audio streams. So if youve been looking for a simple way to capture audio playing through your computer, NCHs SoundTap audio stream recorder may be exactly the software solution you need.
Read More..

Rabu, 19 Februari 2014

Joe McNally comes to Ottawa!

And I can’t go to see his seminar.

image

I love off board lighting, and there is simply nothing like watching a legend do his stuff. The price is right at 100 bucks, and Joe is actually coming to my home city, and then two other cities that are in easy driving distance.

But I am on vacation and unavailable for all three dates. OMFG, can one’s luck suck worse than that? (Yes, it can, I know, but this is still deeply annoying.)

Read More..

Selasa, 18 Februari 2014

Mozilla Firefox v3 0 9

Firefox-logo Mozilla Firefox - mais rápido, mais seguro,  mais fácil de usar e desportivas um novo olhar, esta última versão Firefox ajusta um padrão novo para o navegador web inovação. Mozilla Firefox projeto (anteriormente Firebird, que era anteriormente Phoenix) é um redesenho do Mozilla navegador do componente, escrita usando a interface de usuário XUL língua e concebido para ser multi-plataforma. É pequeno, rápido e fácil de usar e oferece muitas vantagens sobre outros browsers, tais como a navegação com separadores e à capacidade de bloquear janelas pop-up. Mozilla Firefox 3 está centrado na melhoria da manipulação de memória, desempenho e estabilidade, a melhoria XUL, e de novos componentes, tais como núcleo aplicação dados armazenados em SQLite.

Mozilla Firefox v3.0.9 (Português | Brasil)
Mozilla Firefox v3.0.9 (Inglês |EUA)

Read More..