Category Archives: About All

Print Number Series using Java

package in.malliktalksjava;

/**
* @author malliktalksjava.in
*
* This program prints the numbers in below pattern
* 1
* 123
* 12345
* 1234567
* 12345
* 123
* 1
*/
class PrintingNumberPatterns{

public static void main(String[] args){
printNumberSeries();
}

/**
* Print the numbers in assending and decending order by iterating it.
*/
private static void printNumberSeries() {
for (int i = 1; i <= 7; i += 2) {
for (int j = 1; j <= i; j++) {
System.out.print(j);
}
System.out.println();
}

for (int i = 5; i >= 1; i -= 2) {
for (int j = 1; j < i + 1; j++) {
System.out.print(j);
}
System.out.println();
}
}
}

 

Why Behavior Change Apps Fail To Change Behavior

TechCrunch

Editor’s Note: Nir Eyal writes about the intersection of psychology, technology, and business at NirAndFar.com. Follow him @nireyal.

Imagine walking into a busy mall when someone approaches you with an open hand. “Would you have some coins to take the bus, please?” he asks. But in this case, the person is not a panhandler. The beggar is a PhD.

As part of a French study, researchers wanted to know if they could change how much money people gave to a total stranger using just a few specially encoded words. They discovered a technique so simple and effective it doubled how much people gave.

The turn of phrase has been shown to not only increase how much bus fare people give, but was also effective in boosting charitable donations and participation in voluntary surveys. In fact, a recent meta-analysis of 42 studies involving over 22,000 participants concluded that these…

View original post 1,614 more words

Rating The Venture Capitalists

TechCrunch

Editor’s note: Zach Noorani is a former VC and recent graduate of MIT Sloan. Follow him on Twitter @znoorani.

For a profession full of business strategy experts, it’s impressive how rarely and narrowly the venture capital industry is subjected to conventional competitive analysis. Ask yourself: who are the VC’s customers? Limited partners (LPs) are probably the technically correct answer, but startups would certainly be the more fashionable one. It’s a reasonable debate. Either way, one’s the supplier and one’s the customer. Hell, maybe they’re both customers and VC’s are some kind of glorified broker. But the fact that there isn’t a popular consensus illustrates how impotent we’ve been at examining the industry.

This is important because if we recognized that a venture fund and a McDonald’s are actually the same thing at some level, we’d start asking some really good questions, such as “which funds are best in…

View original post 1,469 more words

Skype says it will kill its Desktop API by end of 2013

Gigaom

Skype, the Microsoft-owned internet telephony service, is planning to kill its Desktop API (application programming interface), according to an email sent to developers by Chris Andrews, Head of Skype Developer Program. (s msft) Skype wants folks to use Skype URIs as its believes that will allow the developers to access Skype via various platforms — mobile, web and desktop.

Skype is deeply enmeshed into the new Windows. Skype URIs need the Skype client for all communications, as Skype explains on its developer website. The action is to some extent driven by the growth of Skype on mobile, which has actually helped the company grow its usage.

The Desktop API enabled third party applications to communicate with the Skype network and is going to stop working sometime by the end of 2013. “Although we will continue to support the Desktop API for the rest of 2013, in September the App…

View original post 491 more words

CrunchWeek: Nokia’s Lumia 1020, Dropbox’s Developer Conference, Hulu’s Non-Sale

TechCrunch

[tc_5min code=”517854386″]

After a week off, CrunchWeek is back. Regulars Leena and Colleen were out of the office, but Greg Kumparak, Billy Gallagher, and I still got together to talk about the big tech stories from the past seven days.

We start our discussion with an overview of the new phone that Nokia announced this week, the Lumia 2010, which attracted attention for its 41-megapixel camera — something that prompted TechCrunch’s John Biggs to scoff that regular consumers aren’t interested in high-megapixel phones.

Greg takes us through the announcement, then we move on to Dropbox’s developer conference, where the company said that it has 175 million users and announced a Datastore API allowing developers to store and sync user data from apps. Lastly, we look at the announcement that Hulu’s owners aren’t selling the streaming video site (at least for now), and we talk about where Hulu goes…

View original post 2 more words

Slap, scratch, curse — why do mosquitoes love me (and not you)?

Gigaom

You’ve been there. At the beach. At a picnic. Playing volleyball. And the mosquitoes can’t get enough of you although they seem to be leaving John Doe alone. Why is that?

A new report in Smithsonian Magazine sheds some light on this mystery and it turns out mosquitoes may like you more than others based on your size, your blood type, your degree of fitness, your body temperature and other factors.

Fun facts from the story (which you need to read in whole if mosquitoes really bug you:)

  • Mosquitoes have favorite blood types. They’re more likely to dine out (on you) if you’re Type O than if you’re type A. Type B folks lay somewhere in the middle.
  • 85 percent of people secrete a chemical through their skin that telegraphs which blood type they have and mosquitoes prefer secretors to nonsecretors even if they have a non-preferred blood type.
  • Mosquitoes…

View original post 95 more words

Sweat Equity: From Co-Founders To Co-Investors, Freestyle.VC Invests More Than Just Cash

TechCrunch

When Freestyle.VC co-founder and investor Josh Felser walked into the TechCrunch office a few weeks ago, you could tell something was on his mind. He was in the midst of sorting through a hiccup one of his portfolio startups was having with the Apple App Store. As we sat down, he excused himself for a few minutes to reach out to his contacts to figure out what could be done. I don’t usually find investors this consumed with tactical issues, particularly when it’s for seed-stage startups. But that’s what makes Felser and his partner in crime, Dave Samuel, distinct in the ever-growing sea of angel and seed investors.

Felser and Samuel are part of an elite group of co-founders who have not only started multiple companies together but have also seen successful exits for these companies. Together, the duo started Spinner (acquired by Aol for $320 million), and Grouper (acquired…

View original post 1,659 more words

Sites scrape heaps of our data, so why don’t we get a personalized experience?

Gigaom

Almost everything we do – from driving to work to calling our families to ordering a sandwich for lunch – creates millions of pieces of useful data about our likes and dislikes. So web sites should be serving us a uniquely tailored set of content, right? Yet for the most part, the experience for users has remained static. While there are exceptions, much of the personalized element of most online content is the advertising (oh, and weather).

Consider the following: My grandmother in Florida and my buddy in Tel Aviv see the exact same site when they visit USAToday.com (except for the ads). Why is that? Both my grandmother and my buddy bring dozens of pieces of data with them to every site they visit. Our current-generation technology is capable of giving each of them a more personalized, contextual site experience, yet most web publishers don’t utilize this capability.

In the near…

View original post 620 more words

Gillmor Gang: Batteries Not Included

TechCrunch

[tc_5min code=”517854525″]

The Gillmor Gang — Robert Scoble, Dan Farber, Keith Teare, and Steve Gillmor — talked Microsoft reorg and the chance it might make a difference. No one is underestimating the power of the Windows giant, but rearranging the deck chairs may not move the needle enough to matter. With Office subsumed in one group and Windows in another, Steve Ballmer has traded one fiefdom for a more amorphous one in which to launder the move to the cloud.

Is @scobleizer right that a change at the top is in order, or am I right that Microsoft’s real problem is a loss of trust in Redmond’s ability to convince us that the imperative is providing innovation for customers? Remember the old slogan: What do you want to do today? Today, the answer is increasingly found in the realtime world of Apple, Google, Twitter, Netflix, and only maybe Microsoft.

@stevegillmor…

View original post 14 more words

Finally there’s evidence that we’re embracing energy innovation

Gigaom

Advancements in distributed and clean energy technologies are redefining the provision of safe, reliable, and cost-effective service within the electric utility industry. New business models are emerging to challenge the utility-dominated archetype of the past century.

But the debate over how to manage the transition to a new normal is just beginning. It is going to take a combination of political will and smart policy to avoid stifling innovation and progress.

At the end of last month, President Obama announced an energy plan that included sweeping initiatives to manage carbon emissions, accelerate the deployment of renewable energy, and strengthen energy efficiency goals. That announcement came on the heels of a motion issued a few weeks earlier by California Public Utility Commissioner Carla J. Peterman that set energy storage procurement targets for the state’s investor owned electric utilities (IOUs).

While it is, unfortunately, likely that these proposals will be watered down over…

View original post 706 more words

9to5Mac

Apple News & Mac Rumors Breaking All Day

Gigaom

Technology news, trends and analysis covering mobile, big data, cloud, science, energy and media

digiphile

We're already living in the future. It's just not evenly distrbuted yet.

Tech

News and reviews from the world of gadgets, gear, apps and the web

The Past and Present Future

Ken Hinckley's Ideas, Visions, and Opinions on the Research Frontiers of Human Technologies

TED Blog

The TED Blog shares interesting news about TED, TED Talks video, the TED Prize and more.

Inside BlackBerry

The Official BlackBerry Blog

Bill Mullins' Weblog - Tech Thoughts

Security and System Tools and Tips. Software Reviews, News, Views, Downloads and Links.

insanebloom

Poetry. Travel. Et cetera.