Wednesday, January 23, 2019

Cancer Medicine available ? yes it is their working for so many people

Today  I am Feeling so proud that I am going to write some useful article or content whatever. The thing is I went to a place called Narsipura it is the village in Anandpur(ANF - Railway Code) it is kind of town and that mandala for Narsipura village this place located in shivmoga district.


 Here the person name vaidya naryan, He make cancer ayurveedic style. with cost of 300 rupees. from all over use to for that. weekly 3 times he use to give that medicine  wednesday,saturday,sunday..it is big line refers to.


what a trend by Meizu Zero

Awesome Really

phone with out buttons never heard. Technology is never ending process.
Born and born.

Means its birth of rebirth and build quality is good and awesome. An surprised thing due to vivo apex is launching on MWC event announcement. this Meizu announced bit early.

Pressure buttons taking place in industry.

So exciting to see the mobile. But the thing is mobile without buttons end user doesn't feel , happy that not only. mobile should be naked and transparent. It should and industry should shake with that.

Really feeling very bore of seeing this mobiles. end to end.
I saw this kind of image in my engineering almost 8 years back. but still this  mobile is not in the market. don't know the reason.

still anyway great to here button less phone, which mostly equal to soap. 

Friday, September 23, 2016

How to trouble shoot on live website as a DEVELOPER

After Publishing of project means website.

Then any error is not showing on our website then we have to go to web config inside of code

  <system.web>
<customErrors mode="Off"/>
  </system.web>

We have to write our code like this. Then we can see where error is throwing exactly.

It was happened in my dotnet project
MVC 4. (C#)

We cannot deploy our visual studio 2013 code in IIS server 4 or 6

it will throw an error system.web.host version error

Then we cannot see our website we use face an error









Friday, November 20, 2015

Hey I found something disaster

Warning going everything

Natural calamities have traditionally been known to bring out the most humanitarian instincts in people. However, in a disturbing series of reports from Kurnool,

2009  Kurnool placed floods total disaster

A Familiar Road To Disaster(2013)

In the holy town of Kedarnath, legend has it that Lord Shiva moved the hills 12,000 feet above land to deny the Pandavas —
humankind — a sight of him. Struggling to find an explanation for the death and destruction triggered by the cloudburst and flash floods in Uttarakhand last year, people living on the banks of the Mandakini recount this myth every day

2014 disaster

With the rains in the city, flood like conditions is common every year. A view at Police Barracks in Visakhapatnam. EPSCops clearing the floodwaters that got stagnated in a women's police station in Visakhapatnam.EPS

2015 disater


Water- Water everywhere due to heavy rain fall started in chennai from 13th November 2015 and destroy the life cycle chain of chennai. Houses, Vehicles, Roads submerged in water because of heavy rain fall in Tamil Nadu. Offices and Schools remain closed in chennai and Tamil Nadu. Rain fall stopped the connectivity of chennai from other states in terms of food supply and communication. Every day Southern Railway cancels 10-15 trains due to rainfall. People are not able to get food and other needed things dut to less connectivity in several areas of Chennai.

This all the things I believe ending of something https://www.youtube.com/watch?v=XMBOkdoRj_o
I mean to say friends

Thursday, November 12, 2015

SQL ID Extraction from String

Suppose we have a requirement that we have to extract numbers from a set of alphanumeric strings.E.g. the input will be

ID StringValue
1 My Address is #456, 13th Main, 16th Cross, Area code - 560009
2 My first mobile number:91161181100. Second mobile number:- 1111111111. 

Third one is
: 1212121212


The respective output will be
ID CommaSeperatedValues
1 456,13,16,560009
2 91161181100,1111111111,1212121212


Inorder to solve this problem,first we will split the strings with space(' ') as the delimeter as shown under

DECLARE @T TABLE(ID INT IDENTITY,StringValue VARCHAR(500))
INSERT INTO @T 
SELECT 'My Address is #456, 13th Main, 16th Cross, Area code - 560009' UNION ALL
SELECT 'My first mobile number:91161181100. Second mobile number:- 1111111111. Third one is: 1212121212'

;WITH SplitCTE AS(
SELECT 
 F1.ID, 
 X.SplitData 
 ,Position = PATINDEX('%[0-9]%', X.SplitData)
FROM (
 SELECT *, 
 CAST(''+REPLACE(StringValue,' ','')+'' AS XML) AS XmlFilter 
 FROM @T F
 )F1
 CROSS APPLY
 ( 
 SELECT fdata.D.value('.','varchar(50)') AS SplitData 
 FROM f1.xmlfilter.nodes('X') AS fdata(D)) X
 )
 SELECT *
 FROM SplitCTE
The output is as expected
ID SplitData Position
1 My   0
1 Address   0
1 is   0
1 #456   2
1    0
1 13th   1
1 Main   0
1    0
1 16th   1
1 Cross   0
1    0
1 Area   0
1 code   0
1 -   0
1 560009   1
2 My   0
2 first   0
2 mobile   0
2 number:91161181100. 8
2 Second   0
2 mobile   0
2 number:-  0
2 1111111111.  1
2 Third   0
2 one   0
2 is:   0
2 1212121212  1

Now, it is quite silmple to figure out the set of numeric and alphanumeric strings by using the

PATINDEX function as shown under

WHERE PATINDEX('%[0-9]%', SplitData) > 0


The output will be
ID SplitData Position
1 #456   2
1 13th   1
1 16th   1
1 560009   1
2 number:91161181100. 8
2 1111111111.  1
2 1212121212  1

The next task is to find out the numeric values which can be done by using the following SQL Code snippet

SELECT ID ,AllNumeric = LEFT(SUBSTRING(SplitData, Position, LEN(SplitData)), PATINDEX('%[^0-9]%', SUBSTRING(SplitData, Position, LEN(SplitData)) + 't') - 1)   
FROM SplitCTE

The output will be
ID AllNumeric
1 456
1 13
1 16
1 560009
2 91161181100
2 1111111111
2 1212121212
So now as a final step, we need to use the FORXMLPATH and group by the items by using the ID

SELECT ID,STUFF(( SELECT ',' + c1.AllNumeric
    FROM numericCTE c1
    WHERE c1.ID = c2.ID
    FOR XML PATH(''),TYPE)
    .value('.','NVARCHAR(MAX)'),1,1,'') AS CommaSeperatedValues
FROM numericCTE c2
GROUP BY ID

The result
ID CommaSeperatedValues
1 456,13,16,560009
2 91161181100,1111111111,1212121212

Friday, August 28, 2015

Varaition in Explanation about Technology

Programmers are a fickle bunch. One day they’re all using Java, and the next day Python is the hot new thing. While developers indelibly will dabble in different languages, we’re now seeing them do similar things with databases, particularly those of a NoSQL bent. The database explosion benefits developers, but it’s a headache for the admins tasked with managing the stuff.



Time was, you installed the Oracle database and were happy with it, damn it. Oracle defined what you could do with the data, and your developers worked within those bounds. While the department across the hall may have used another database, such as Postgres or DB2, it was not radically different. It may have done some things differently and had its own particular schema, but it was still SQL at the end of the day. Everybody was on the same page.

My, how times have changed. Thanks to the rise of big unstructured data, social media, and the changing nature of Web-based consumer apps, the capabilities and requirements of databases have mutated beyond what relational databases can comfortably handle, and as a result, both the type and number of databases has exploded.


The data is made available through a JSON graph, using the DataSource interface having the following asynchronous operations: get, set, and call. The client can traverse the graph using JavaScript paths similar to when accessing the JSON data directly. For demonstration purposes, we’ll consider this minimal JSON object:

Netflix has been using Falcor, in various iterations, for a little over three years. The decision to create Falcor stemmed from a need to free up developers from worrying about data access. With no viable alternative in existence, Netflix poured a considerable amount of effort into creating its own platform. So why open-source that platform? We posed that question to Husain.

“What we really thrive on [at Netflix] is selling great experiences in terms of watching titles. We’re not selling software. We’re taking the good engineering that we do in-house and releasing it into the community… often doing good things helps you, and that’s what Netflix’s interest [is] in open-sourcing Falcor.”




Tuesday, June 2, 2015

D3

What is D3? .Why D3 Comes ?

D3 allows you to bind arbitrary data to a Document Object Model (DOM), and then apply data-driven transformations to the document. For example, you can use D3 to generate an HTML table from an array of numbers. Or, use the same data to create an interactive SVG bar chart with smooth transitions and interaction.

D3 is not a monolithic framework that seeks to provide every conceivable feature. Instead, D3 solves the crux of the problem: efficient manipulation of documents based on data. This avoids proprietary representation and affords extraordinary flexibility, exposing the full capabilities of web standards such as HTML, SVG, and CSS. With minimal overhead, D3 is extremely fast, supporting large datasets and dynamic behaviors for interaction and animation. D3’s functional style allows code reuse through a diverse collection of components and plugins.

How it works ?
Modifying documents using the W3C DOM API is tedious: the method names are verbose, and the imperative approach requires manual iteration and bookkeeping of temporary state. For example, to change the text color of paragraph elements
D3 employs a declarative approach, operating on arbitrary sets of nodes called selections. For example, you can rewrite the above loop as:

d3.selectAll("p").style("color", "white");
Yet, you can still manipulate individual nodes as needed:

d3.select("body").style("background-color", "black");
Selectors are defined by the W3C Selectors API and supported natively by modern browsers. Backwards-compatibility for older browsers can be provided by Sizzle. The above examples select nodes by tag name ("p" and "body", respectively). Elements may be selected using a variety of predicates, including containment, attribute values, class and ID.