The Artistic Way of Programming

12 years back, when I started my formal classes in computer science, the first thing I learnt was “data” means “information”. A few days after that, we started conventional programming, where code and data were treated separately. For example, only data can be passed as the functional arguments. It was difficult for me to digest that “code, which is also information, is not treated as data”. I strongly felt that this will increase complexity of softwares in the long run.

A system does three things – read, transform (processing data), write. In other words – the mathematics (the transform part), and the effect of that in real life (the read/write part). The data transformation is indeed a mathematical concept, and with the help of read and write we make the mathematics (the transform part) useful to the real world. Bringing the “transform” part fully inside mathematical domain has its own benefit of using mathematics without fear (possible errors) for the analysis of the system, making the system more tractable mathematically. The catch is to treat both the elements of transformations, data and functions, equally.

Initially, code used to be bigger than the data, so sending data over the wire was feasible. But with time, data becoming huge, sending code to systems over the wire becomes the need, resting the data on the systems intact. With big data, the need of the hour is to treat the code as data, so that the code can be taken as argument to another meta function on a system having huge data which expects an algorithm for transformations.

Roughly speaking, codes are algorithms, algorithms are mathematical functions, functions are in turn actually look-up tables, i.e. data. Hence with this principle, all codes or functions are data.This is exactly the cornerstone of the functional paradigm. The functional programming is programming with functions, they treat functions and data likewise. Another principle I love, to control complexity, rules should not be complex itself.

Thumb rules rewritten for the functional paradigm:

Read-write and transformations(algorithms) should be separate.
Use immutable variables. Discourage use of reassignment statements.
Discourage side-effects (input/output or changing any variable in-place), every function should ONLY return its expected result.
Use referentially transparent functions (sometimes it is called pure functions) with no side effects, i.e. if x = y, f(x) and f(y) should be same forever.
Unit testing is a must for each function.
One of the main design patterns should be followed is to use expressions instead of instructions, i.e. it should be declarative in nature. Discourage use of loops like for/while – use recursive statements as shown above to calculate sum. Tell computers what needs to be done, not how to do it – it reduces error, especially edge cases.
With the need to control the complexity of the system and the advance design, the design pattern for the functional composition can be made to follow some basic algebraic structures, which in turn becomes more robust.

Posted in Uncategorized | Comments Off on The Artistic Way of Programming

Dissociative Identity Disorder Symptoms, Causes and Treatment Methods

As we all know that people are suffering from distinct diseases, day by day. Some people are suffering from Diabetes while a few are suffering from High Blood Pressure. In fact, there are so many diseases which are infecting most of the people, including, Diabetes, Asthma, Allergies, Lung cancer, Breast cancer, Colon cancer, Depression, Heart disease, Heart attack, Chronic pain syndromes, Fibromyalgia, Appendicitis, HIV/AIDS, Pancreatitis, Hypothyroidism, Hyperthyroidism, Hepatitis, Heart failure, Anemia, Melanoma, Metabolic syndrome, Obstructive sleep apnea, Parkinson’s disease, Migraine, Osteoporosis, Chlamydia, Hypoglycemia, Reactive hypoglycemia, Chronic bronchitis, Toxoplasmosis, Peripheral Neuropathy, Menopause, Andropause, Rectal cancer, Acromegaly, Cushing’s syndrome, Addison’s disease, Hyperparathyroidism, Hypoparathyroidism, Diabetic diarrhea, Infectious diarrhea, Brain tumor, Stroke, and more.

Frankly, the main aim behind writing this article is to make you aware of Dissociative Identity Disorder (DID) because this disease is infecting most of the people and it is so important to know about the symptoms, causes and treatment of this disease.

Let’s have some knowledge of Dissociative Identity Disorder!

Dissociative Identity Disorder (DID):

Dissociative Identity Disorder was previously called as Multiple Personality Disorder. The person with DID possesses two or more distinct personalities and work according to any personality alternatively without knowing. Sometimes, a person also experienced memory loss or forgetfulness.

DID is nothing, but one of a group of conditions called Dissociative Disorders. Dissociative Disorders are a kind of mental illnesses which cause memory disruption or breakdown.

Symptoms of DID:

A person with DID has two or more distinct personalities, including, the person’s usual personality and alternate personalities. A person may experience amnesia when alternate personality takes control over the person’s behavior. An individual with DID may not or may be aware of the other personality states. Each alternate personality has distinct individual traits, personal history, way of thinking, etc. In fact, alternate personality may be of different gender, have a different name, or a distinct set of manners & preferences.

DID Shares the Following Psychological Symptoms:

1. Amnesia (memory loss or feeling a time distortion)

2. Anxiety

3. Changing the quality of functioning, from highly effective to disappointing

4. Depersonalization (feeling disconnected from one’s own thoughts, feelings, and body)

5. Depression

6. Derealization (feeling that the surrounding environment is foreign, odd, or unreal)

7. Disturbances in eating and sleeping

8. Hallucinations (false perceptions or sensory experiences, such as hearing voices)

9. Problems with functioning sexuality

10. Self-injurious behaviors such as “cutting”

11. Serious headache or pain in other parts of the body

12. Substance abuse

13. Suicide risk – 70% of people with DID have attempted suicide

Causes of DID:

The previous incidents are the key features of Dissociative Identity Disorder. In fact, 90% of the cases of DID involve some history of abuse. The trauma also involves severe emotional, physical and sexual abuse. It might also be linked to accidents, natural disasters and war.

The episodes of DID can be triggered by myriad real and symbolic traumas, including, minor traffic accident, adult illness and stress.

There are Following Causes of Dissociative Identity Disorder:

1. An innate ability to dissociate easily

2. Repeated episodes of severe physical or sexual abuse in childhood

3. Lack of a supportive or comforting person to counteract abusive relative(s)

4. Influence of other relatives with dissociative symptoms or disorders

Treatment of DID:

The main objective of DID treatment is to relieve symptoms, ensure the safety of the individual and changing multiple personalities into one integrated and well-functioning identity.

The treatment also aims to help the person safety express and process painful memories, develop new coping skills and life skills, restore optimal functioning and improve relationships. In fact, the best treatment approach depends on the individual, the nature of any identifiable triggers, and severity of the symptoms.

Most Likely Treatment Includes the Following Methods:

1. Psychotherapy: It is also known as “talk therapy”, is the main treatment for dissociative disorders. It is a broad term that includes several forms of therapy.

2. Cognitive-behavioral therapy: This is one of the forms of psychotherapy, which focuses on changing dysfunctional thinking patterns, behaviors and feelings.

3. Eye Movement Desensitization and Reprocessing (EMDR): This treatment technique was created to treat people with persistent nightmares, flashbacks and other signs of post-traumatic stress disorder (PTSD).

4. Dialectic-behavior therapy (DBT): A form of psychotherapy for people with severe personality disturbances, which can involve dissociative signs that often occur after an experience of abuse or trauma.

5. Family therapy: This helps a little in order to teach the family members about the disorder as well as the family members recognize signs of a recurrence.
6. Creative therapies: These therapies include art therapy and music therapy, which allow patients to explore as well as express their feelings, thoughts and experiences in a safe and creative environment.

7. Meditation and relaxation techniques: These help people to better tolerate their dissociative signs and become more aware of their internal states.

8. Clinical hypnosis: This is also one of the treatment methods, which uses intense concentration, focused attention and relaxation to achieve an altered state of consciousness. This allows people to explore thoughts, feeling and memories which may be hidden from their conscious minds.

9. Medication: Medication is necessary in order to provide proper treatment to the patient. In fact, an individual with DID must be treated with anti-anxiety or antidepressant medication.

Top Medical University – An Initial and Important Step to Get Rid of Various Diseases:

A medical school is an initial and important step to get rid of myriad dangerous diseases like DID. These medical colleges provide not only theoretical, but practical knowledge regarding different kinds of dangerous diseases to the medical students so that they can participate in the current researches for the well-being of the patients who are suffering from various dangerous diseases, like Dissociative Identity Disorder (DID).

An individual can find unlimited Best Medical Universities across the world, where they can begin their professional career and give life to their dream of making a healthy and happy world forever. In fact, these universities provide direct MBBS admission without entrance test and donation at nominal fees.

Posted in Uncategorized | Comments Off on Dissociative Identity Disorder Symptoms, Causes and Treatment Methods

How Does the Ford GT Stack Up?

How will it compare to the competition?

The GT is by no means a Shelby GT 350 R, not even close. Besides the over $350,000 jump in price and the additional 100 or more horsepower. The new GT is even more track-focused then the previous ones. And the mid-engine layout, combined with the GT’s carbon-fiber construction it much more than a muscle car and more of a Super car.

Even though Ford has not decided on a specific horse power, the new GT with 3.5-liter twin-turbo V6 will produce more than 600 horsepower. Standing up well to the Corvette Z 06 and its’ 650 horses. Now Ford says it is working on the power-to-weight ratios to be the best of any production car. Even if they can’t hit the ratio of the Koenigsegg One with its 2.2 lbs / hp and make it to the range of the McLauren P1 with its 3.5 lbs / hp. Even with its aerodynamics the approx. 3500-lb Corvette Z06 may be a little overweight to held ground with the new GT Priced like a Lamborghini Aventador

Knowing it’s expected price range points to the real competition of the new 2017 GT. Granted the Lamborghini Aventador is packing 691 horse power, but outweighing the Corvette Z06 in curb weight by another 500 pounds, it may have a hard time keeping up with the new GT on the track. When you consider the Aventador holds twice the cylinders as the GT’s twin-turbo V6, and the fact that the Aventador is a naturally aspirated V12 all wheel drive, you can expect it to be faster off the line.

It will be interesting to see how the GT compares to the McLaren 657LT the car that feels like a competition vehicle. Weighing in at less than 3000 lbs, the 657 is pretty light, but the GT will probably weigh less. The Mc Laren 675LT is also a limited-production car, with only 500 units slated to built and cost about $50,000 less than the Lamborghini.

Then there is the Ferrari F12tdf with a price point just under $500,000 with a substantial increase in power. Touting a 6.3-liter V12 with 770 horsepower hitting 0 to 60 in under 3 seconds. The Ferrari will be a head over the GT by more than 100 horsepower, but the based on Fords claims the GT should be much more light weight. With Ford skipping a hybrid-electric system, it will be something to pit the new and severely less expensive Acura NSX with its hybrid tech and all-wheel drive against the new GT and its focus on light weight. With the NSX and its 573 horsepower will it be enough to hold its own against the GT? Time will tell.

Posted in Uncategorized | Comments Off on How Does the Ford GT Stack Up?

Autodesk : Top 4 New Features

Autodesk introduced AutoCAD 2017 in March 2016 aiming to help its users stay at the forefront. This latest release lets you work quicker and smarter across connected desktop and mobile solutions, create personalized design experiences, easily team up with colleagues, and stay updated with the latest features and updates. AutoCAD 2017 also includes AutoCAD 360 Pro, a mobile app that allows users use AutoCAD on the go. The latest version addresses several user functionality requests and delivers features that enhance everything from workflows to graphics processing. According to Autodesk, several AutoCAD users globally will be benefitted by several enhancements that have been added in the latest version, such as enhanced 3D printing, new features such as ‘smart centrelines’, share design views on cloud and improvements to PDF handling features.

In the updated features of the 2017 version, PDFs have been added to the supported ‘import file’ formats. As a result, users can import geometry, True Type text and raster images from a PDF file or underlay into the current drawing as AutoCAD objects. Also, the centerlines and center marks get updated accordingly when users move associated objects. Learning content and product updates are seamlessly delivered to help users get the most out of new features with Autodesk Desktop app, an application that substitutes Autodesk Application Manager. Here, users also tend to get the latest security patches and updates for all 2015, 2016, and 2017 versions of Microsoft Windows based Autodesk products. Now, let’s discuss the top 4 new features that Autodesk has included in its AutoCAD 2017 release. Top 4 New Features in Autodesk AutoCAD 2017

Enhanced 3D printing

Utilising the new Autodesk print studio you can create a 3D print ready file and directly print it in nearly all types of 3D printers. This 3D printing tool is offered by spark technologies and is available for 64 bit machines only. To make full use of this tool, you need to go to AutoCAD 3D modelling workspace and select print studio tool from 3D print panel of output tab. If it’s the first time you are using this tool then a prompt will appear from where you can download this tool. After you’ve downloaded and installed, click on print studio again and click on watertight or closed mesh object from your drawing which you want to use for 3D printing.

Smart Centrelines and Centre marks

This new AutoCAD release lets you to easily add centre lines and centre marks to the geometry. Likewise, you need to type the command ‘Centremark’ and click on circular object to create the centre mark, you can use this command to make a centre mark on circle, arc and fillet. Share Design Views on Cloud

Now, you can directly share files with users who don’t even have AutoCAD using A360 cloud account and all they require is a web browser for accessing shared drawing. In order to share a drawing, ensure that you’re logged into your Autodesk 360 cloud and your drawing is saved.

Co-ordination Model

In AutoCAD 2017 coordination model functionality has been improved with support for object snaps. Attach a Navisworks or BIM 360 Glue model to your AutoCAD drawing so you can view it as an underlay. Then just use the standard AutoCAD endpoint and center object snaps to snap to exact locations as you create and edit your design based on the attached models.

Posted in Uncategorized | Comments Off on Autodesk : Top 4 New Features

Stay Healthy and Wealthy

When you make those New Year’s resolutions, you’re thinking about fresh starts and the year ahead. What you might not realize is that some resolutions also could save money. Here are some popular resolutions that could help get you and your finances in shape in 2017.

Quit smoking: You can save money by stopping a pack-a-day habit, which can cost between $1,825 and $3,650 per year, depending on the cost of cigarettes in your area. Nationally, a pack-a-day smoker is going to spend an average of $2,000 annually on cigarette costs.

Set up and stick to a realistic budget: If you want to resolve to stick to a budget in 2017, you must start with a realistic plan. People tend to make financial resolutions the same way they do a weight loss plan. If you start with lofty goals they will be unachievable within a month. List your priorities for spending rather than restricting your spending. Focus on necessary expenses then include a certain amount for retirement savings. Then with the remaining money you have each month, set aside a little for enjoyment. It’s critical you have rewards in your budget.

Exercise regularly: You’ll save money in several ways with regular exercise. On average, Americans are spending $7,800 annually on health care, according to the National Association of Health Underwriters. But exercise brings real savings. “If people are eating right and exercising three times a week for 20 minutes a day, they see prescription costs decrease by 70 percent and medical costs decrease by 30 percent,” says Ric Edelman of Edelman Financial Services. Stop spending money recklessly: One of the best ways to stop spending your money recklessly is to track where it is going each month. Check with your credit union and download their free mobile budgeting app that shows expenditures by category so you can monitor your spending. A great way to get your spending under control is quit trying to “keep up with the Joneses”. If you want to fix your bad spending habits in 2017 start hanging out with other spendthrifts because you will likely become one yourself.

Eat healthier: A healthy eating plan can be as — or more — economical than fast food. It’s a total myth that eating healthy is expensive. Buy smaller but leaner cuts of meat, eat protein-rich beans and buy produce in season when it’s freshest and least expensive. A smaller amount of a leaner cut can slice your food bill and your bad cholesterol.

Build an emergency fund: Nothing takes the stress out of financial situation like spare cash. If you are among the millions of Americans that don’t have enough money set aside to cover unexpected expenses or emergencies, then you should resolve to build one in 2017. Experts recommend putting enough money in a savings account to cover six months’ worth of expenses in case of unexpected emergencies like job loss, maternity leave or medical issues. You can always apply a small amount of your paycheck towards this account, so you make sure it is hidden from you.

Pay off high-interest debt: Paying down credit card debt is one of the most popular short-term goals in 2017. Try focusing on paying off your high-interest credit card debt before other debts because it is more expensive. And, it you are motivated by seeing those results first hand, start by paying off your card with the lowest balance first so you can feel that sense of accomplishment. Create your estate plan: An important 2017 resolution would be to tie up any financial loose ends for your loved ones so they aren’t left trying to pick up the pieces. Make sure you have a will or trust that designates who’s in control of your assets. You certainly don’t want the state court system to make that decision for you. Don’t forget to designate a guardian for your children, and someone who will make financial and healthcare decisions for you if you are unable to do so.

Develop common financial goals with your partner: Many times finances are the biggest source of conflict between couples. It’s important that couples sit down and create a financial plan. It doesn’t usually work to try and manage their finances separately.

Any of these resolutions can help improve your financial security in 2017. I suggest tackling one financial tip each month so you don’t get overwhelmed. Then as you get accustomed to the new approach to spending and saving, add another. By the time 2017 starts dwindling toward 2018, you will find you’ve made progress on achieving your financial goals.

Posted in Uncategorized | Comments Off on Stay Healthy and Wealthy