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.

Friday, May 8, 2015

What is Conman? Is it Selling facebook Scrips

CLEVELAND - Perhaps the biggest challenge that cyber crime poses to the FBI is how to convey just how much of a threat it is to the United States and you.

“It’s your info they’re coming after,” warned Joe Demarest, Assistant Director to the FBI’s Cyber Crime Division, on a recent visit to Northeast Ohio to meet with the Cleveland field office and address the City Club about these concerns.

Cyber threats have shot to the top of the FBI's concerns because they involve everything regarding money and technology.

As are all of the FBI’s field offices, the Cleveland FBI is working to prevent the devastating losses that cyber crime can have on business in Northeast Ohio.

In recent years, the FBI established a cyber task force at each of its 56 field offices, manned by about 1,200 people.

On April 25, news surfaced that Russian hackers breached White House computers and obtained sensitive information, including President Obama’s unclassified email.

While that is a stunning headline, cyber crime still comes off as a distant, abstract concept to average people – at least, until their identity gets stolen.

Demarest said cyber threats generally fall into five different categories.

NATION STATES

Much like the aforementioned Russian hacking, the FBI’s next area of cyber concern is foreign countries trying to steal our industrial information or military secrets.

“Nation states – the most prolific army working against us,” Demarest said.

One of the most notable recent cases was North Korea hacking Sony Pictures over the controversial comedy “The Interview” in December.

Within hours of the attack on Sony, Demarest said the FBI had teams on the ground at Sony offices, going from computer to computer.

Thousands of emails from Sony employees were exposed, causing some people to lose their jobs while the financial damage to Sony ran into the millions of dollars.

No two nation states are alike in regards to the threat they pose to the U.S.

Demarest said China remains the biggest threat; Asian actors tend to infiltrate the U.S. health care industry.

While Russia poses a threat, Demarest said its abilities are not as good as ours – although its know-how can sometimes be traced back here.

“There are [people with] PhDs working against us on the other side of the world. Many are trained here in the U.S.,” he said.

Although the U.S. is currently working on a nuclear deal with Iran, the country remains a threat in the Middle East.


After initial takedown, more efforts put into making new fake accounts look genuine.

Virus Bulletin's research into a scam selling fake Twitter accounts being passed off as 'followers' has helped in the takedown of more than 45,000 such accounts - but has also showed that the scammers are upping their game.

The success of a social media account can be measured by the number of followers it attracts. It seems obvious that this doesn't work the other way: an account won't become more successful if it simply buys a bunch of followers. Yet the shady corners of the Internet are rife with sites that let you 'boost your reputation' by buying followers.

Facebook posts like this!

Not a day goes by that I don’t login to see one of these posts. And they always seem to have a bazillion (no exaggeration) likes, comments or shares.

Nearly 5000 people saw this (image on the left) in their newsfeed and figured clicking, commenting and then sharing would reveal some crazy feature or event.

And guess what did happen! Nothing at all.

These posts infuriate me.

And it’s not just the fact they are filling up my already overpopulated newsfeed with rubbish and distracting me from the stuff I actually wanna see, like my friends sharing their thoughts on TV shows, photos of food or jokes they’ve stolen from Reddit.  It’s the unashamed use of terrible circumstances like cancer, or sick kids or horrific accidents that these pages usually use to get clicks that really pisses me off.

Saturday, May 2, 2015

From Olden days. After A young kid from house means adult after Education While searching job They will sing this song

Remembering this song .Because of my friend way of thinking Suddenly I struck with this song
+dileep kandula

Sapatu etuledu pataina paadu brother
Sapatu etuledu pataina paadu brother
Rajadhani nagaramlo veedhi veedhi needi naade brother&nbsp
Swatantra desamlo chavu koodaa pelli laantide brother
Swatantra desamlo chavu koodaa pelli laantide brother

Charanam 1:
Mana talli annapoorna mana anna daanakarna
Mana bhoomi vedabhoomiraa tammudu
Mana kirti manchu kondaraa
Digreelu tecchukoni chippacheta pucchukoni
Dhilliki cherinaamu dehi dehi antunnaamu
Desaanni paalinche bhaavi paurulam brother
Sapaatu etuledu paataina paadu brother
Rajadhani nagaramlo veedhi veedhi needi naade brother
Swatantra desamlo chaavu koodaa pellilaantide brother
Bangaaru panta manadi minneru ganga manadi
Elugetti chaatudaamuraa intlo eegalni toludaamuraa
Ee punyabhoomilo puttadam mana tappaa
Aavesam aapukoni amma naannade tappaa
Gangalo munakesi kaashaayam katteyi brother
Sapatu etuledu pataina paadu brother
Rajadhani nagaramlo veedhi veedhi needi naade brother
Swatantra desamlo chavu koodaa pelli laantide brother

Charanam 2

Santana moolikalam samsara baanisalam
Santana lakshmi manadiraa tammudu sampadanokati baruvuraa
Chadaveyya seetuledu chadivoste paniledu
Annamo ramachandra ante pettedikkeledu
Devudide bhaaramani tempu cheyaraa brother
Sapatu etuledu pataina paadu brother
Rajadhani nagaramlo veedhi veedhi needi naade brother
Swatantra desamlo chavu koodaa pelli laantide brother




Actor :KamalHassan

Movie:AkaliRajyam