skysight-inc/HackerNews huggingface dataset:
Make something that people are willing to pay for. I have a series of project, each makes a relatively small amount/month but all together make a decent passive income, not enough for me to live on but I am sure that you can probably do something similar. Try many ideas and see if you can find something people need.
YMMV, but this is my experience so far:

The your contract / their contract thing doesn't worry me, I've never had my own standard contract to begin with.

Bigger clients usually have a standard contract, but it is negotiable to some extent. Some potential clients had two hundred page standard contracts where you're supposed to sign away the soul of your firstborn child, and even if those are largely unenforcable, I'm not going to sign it. (If the client isn't willing to budge on this, it'll just get worse later on)

Small clients I could visit in person, I've worked with single page contracts and a hand shake, to no ill effect so far.

I'm wary of small companies with big contracts, those tend to be the ones who take the first opportunity to screw you.

Also, I am always up front about estimates, making it very clear that it might take longer or shorter, and the smallest group of tasks I'm willing to give estimates for is a single day's worth of work. If I had to confer with the client every time some piece of work slips a few hours, I'd never get to the actual work. Also, there might be significant overhead attached to any little task, or simply overhead that cannot be assigned to any particular task, such as keeping documentation and planning up to date, which is invisible to the client if the work is broken down into too many single tasks.

For fixed deliverables, I give the client an estimate on the number of days it's gonna take, and we make a contract for that many days to work on the project, with the option to extend the contract at the same daily rate, should the need arise. If the client insists on the fixed deliverable being the subject of the contract, then it won't be a fixed sum of money or number of days; they can chose which way they want it, but can't have it both ways.
You probably should, but the problem is still there because std::vector implementations don't use realloc. They call new[] with the new size, copy over the data and delete[] the old chunk. This eliminates the possibility to grow the vector in-place.
I'll just go with stupid, not more and not less than any similar Facebook challenges that have been circulating the network for the last 6 months.

Also, you won't get cold, as @ubernostrum dutifully explained.
You may work in the industry, but who says you're privy to internal policy decisions which, if made public, would be deeply embarrassing and possibly lead to criminal charges?

Even if I trust your intent, why should I trust your knowledge?

Incidentally, I have worked in the industry, and corporate ethics are widely variable, ranging from Eli Lilly, which i found to be painfully homest, to Roche, who were quite open about having no ethics at all.
Like every "viral" thing on the Internet, it only works one time. The novelty effect is the only thing that makes such thing work.
In formulations they can patent and charge arbitrary prices for.
It sure hasn't stopped those for it from pointing to this article.
Own Your Product – Hiring a PM at RealCrowd
Why should C++persist in C insecure design decisons?

Besides realloc can force a memory move anyway. Its behavior depends from implementation and memory state.
echoing the prior comment: you have to actually do something of value before it can be positioned as the gift that keeps on giving :)
Become French resident, you will have a guaranteed living income of 434Euros (600$)
For anyone who would like to comment:
http://www.regulations.gov/#!documentDetail;D=DOS_FRDOC_0001...

(Comments from the public are "Due Oct 21 2014, at 11:59 PM ET")
I would say the ASL foundation is pretty well stocked right now, having received close to $100M. Not to mention the visibility from the media attention, which might well be worth another $100M, albeit over a longer timespan.

If you want to donate to more generic causes, you could pick one of my two favourites: EFF and Doctors Without Borders.

Or do even better: donate to causes you think are important. Don't listen to me, or anyone else.
It's not like there are huge numbers of researchers involved. There are climate scientists who argue against global warming. Coincidentally their research is underwritten by fossil fuel companies. It's not researchers in general, it's the weird outliers who coincidentally are being underwritten by vested interests.
Actually, it's the "it's the feedback loop that increases unhappiness" phrased differently.
When the request for growth comes about, the vector (assuming no in-place resizing, see the appropriate section in this document) will allocate a chunk next to its current chunk

This is assuming a "next-fit" allocator, which is not always the case. I think this is why the expansion factor of 2 was chosen - because it's an integer, and doesn't assume any behaviour of the underlying allocator.

I'm mostly a C/Asm programmer, and dynamic allocation is one of the things that I very much avoid if I don't have to - I prefer constant-space algorithms. If it means a scan of the data first to find out the right size before allocating, then I'll do that - modern CPUs are very fast "going in a straight line", and realloc costs add up quickly.

Another thing that I've done, which I'm not entirely sure would be possible in "pure C++", is to adjust the pointers pointing to the object if reallocation moves it (basically, add the difference between the old and new pointers to each reference to the object); in theory I believe this involves UB - so it might not be "100% standard C" either, but in practice, this works quite well.
$500 per month is $6000 per year. $100,000 in high dividend stocks may generate close to that much in dividends per year. So contract for $100 per hour for 1500 hours in the next 18 months. Then make a good investment.
Some examples would be nice. What are these small projects?

Selling apps? Ad based revenue? SaaS?
Guile? Great idea. Can someone fix Emacs so that Guile (Scheme) is the default language? Stallman was pretty shortsighted with elisp.

http://www.emacswiki.org/emacs/GuileEmacs
The worse is that many now seem to equate GNU/Linux to UNIX, thus forgetting not all UNIX are alike, nor POSIX is a portable as it seems, X is not everywhere and many other differences.
>MSN Messenger is survived by Facebook, MySpace, Twitter, Snapchat, Skype, Google+ and Instagram.

Apart from none of those are actually chat programs, except for Facebook Chat.
https://news.ycombinator.com/item?id=2547254
http://www.quora.com/Is-it-hard-to-build-market-and-maintain...
A major conceptual issue with social networks is you get the highlights that people are willing to post. Face to face interactions let you see the day to day negatives and positives of peoples lives. However, online everyone seems to doing great, which is vary depressing.

Posts your unlikely to see an old collage buddy post on FB, "My kid just flunked the 8th grade.", "Just found my husband sleeping with X", "The IRS wants to talk to me." etc.
The latter nicely addresses to the recent HN discussion about "Friendly C"; may I ask what kind of software you are building, incidentally? (...don't tell it's medical :O)
We're speaking of a device where Apple can silently push kernel-level code over-the-air at any moment. Surely an extra IP connection to an Apple server is not changing anything in the picture, but it is helping millions of people using their device without getting weird error messages or certificate errors every time they connect to a hotspot.

If you don't trust Apple with your IP, you shouldn't use a device which runs their kernels, that's a no brainer; if you do trust them, though, you might appreciate the way they go through multiple hoops not to handle too much of your sensitive personal data, see for instance the design of iCloud Keychain: http://www.apple.com/ipad/business/docs/iOS_Security_Feb14.p...

So it's not like the impact of an IP connection is not taken into account in design considerations; it's just that it doesn't look so important in the big picture of the security and privacy implications of using such a device. For personal passwords, different avenues are taken.
There's also the ST:TNG episode "Second Chances". http://en.wikipedia.org/wiki/Second_Chances_%28Star_Trek:_Th... where Riker is duplicated. (There's also the good/bad Kirk in 'The Enemy Within', and the whole mirror universe concept, but those aren't duplicates.)
Good quality videos of construction equipment aimed at children. Put those on Youtube with ads. Link to a website that has affiliate links to stores that sell toy versions of the equipment - Bruder is one manufacturer to investigate. Gently adsense that page. Careful SEO.
You can't expect them to opensource everything, i think it's awesome they opensourced hubot!
How realloc is insecure ? The only lacking construct is a "moved" operator, which would re-assign pointer members, for example, when moving this to another location.
> Ever wonder how your friends found the time to read through A Brief History of Time and GEB without you ever knowing of their interests in science and math, or ever having caught them reading a book?

Or maybe you just didn't know they were interested in the first place. I actually discovered thanks to Facebook that I share interests with many of the people who I didn't ever suspect on being interested in the same things as I.

I'm an active Facebook user with 500+ friends, most of whom I know in real life, and I'm pretty sure almost none of them is consciously trying to "build a better image of themselves" in any other way they don't already do in real life.

Seriously, everybody is "building their image" in "real life" all the time. If you go over to a friend to see the photos from a mountain trip, they will show you the nice one, not the ones when they sleep drunk under the table. Facebook actually makes it somewhat more difficult, because unlike face to face conversations, everything you wrote or posted is there to stay.
MIPS Tempts Hackers with Raspbery Pi-like Dev Board
Build curated lists of small businesses in the US. I mean really quality spreadsheets, with city, state, address, owner name, contact name, email, phone, etc. Do this for business categories, like: bakeries, caterers, dentists, doctors, plumbers, etc. For the doctors and such, I would focus on small town entities who are not part of a large medical practice.

Then you sell exclusive, limited access to the list. The internet is virtually littered with small SaaS applications which are targeted toward small businesses. They are selling software for bookkeeping, time tracking, shift planning, appointment reminders, practice management, etc. These SaaS products have LTV numbers such that direct calling is worth their time.
But 2.3 (Gingerbread) was released in December 2010, so his device indeed runs something released in the last six years.

In an ideal world (for software and hardware vendors, at least) we would be replacing devices with their latest versions as soon as they come out and backward compatibility wouldn't be a problem. However, I can imagine a situation where spending $100 on a new phone is a luxury and not everyone can afford it. If a phone makes calls, sends text messages, and connects to the Internet, it's still usable.
Planet Sarcasm. It's one orbit in from planet Weltschmerz.

(I thought the reference to corporate taxes and that line revealed the sarcasm. The down votes suggest otherwise. The sarcasm, by the way, reflects my best explanation for the anger I've read when this topic comes up.)
As I read it: they are rendering pages on the backend if a slow device visits the site. On faster devices, it's better to let the Javascript run on the client.
I'd give a read to Start Small, Stay Small (www.startupbook.net) and other startup literature. Study Paul Graham's essays (www.paulgraham.com).

Random ideas:

- Start something like skoshbox.com, but with Indian goodies. You may not realize it, but foreign countries crave Indian tastes and flavors. I would probably pay for a monthly delivery of Indian spices and sweets.

- Start a podcast on a passion of yours. Offer free newsletter and video lessons, then charge for premium content or up-to-date episodes and consulting.

- Omegle meets paint. A collaborative canvas for children of different nationalities to meet on the Internet. No chat, no video/audio – just the canvas. Revenue may come from ads, sponsors, educational programs within the platform.

EDIT: to whoever downvoted my post, may I ask why?
And Google+'s Hangouts. And Skype's IMs. And tweeting to each other can also be seen as chatting.

I'd say the biggest chance is the fact that all of them are web-centric or mobile-centric.
What about Skype?

And if we are counting Facebook's Chat, most people I know uses Talk (Google+ Hangouts).
Since March this year, I have been able to build a semi-passive income of around $1500 per month (lowest around $1000 and highest $2000) by building/selling items on CodeCanyon.

Granted it's not truly passive income, rather semi-passive. That said, with minimal monthly efforts, the money comes in each month.
And you see no value in knowing exactly what you're getting or prescribing? E.g. per Wikipedia (https://en.wikipedia.org/wiki/Cannabidiol#CBD-enhanced_canna...):

"Decades ago, selective breeding by growers in US dramatically lowered the CBD content of cannabis; their customers preferred varietals that were more mind-altering due to a higher THC, lower CBD content. To meet the demands of medical cannabis patients, growers are currently developing more CBD-rich strains."

This is a major reason to prefer pharmaceuticals over the original raw herb, who's concentrations and additional and potentially unwanted active ingredients varies from plant to plant.
I second this recommendation. Also, you only need ~$60k, as long term INR denominated fixed deposits yield ~10%.
Still, we should learn to appreciate a thing that's better than everything even if it's still bad, instead of dismissing as not perfect. Incremental improvements, things like that...
Start Small Stay Small is essential reading IMO. I have the e-book/audio book package and I highly recommend it.
You don't want to earn a passive income. You want to leave your job. Fine. Except that looking for passive income stream is not the best idea out there.

If you can contract for $80/hour for US/EU clients (really possible), you'll need to work only 40 hours to cover a 6 month expenses.

But that won't probably be enough for one month, once you start earning it. You've been warned ;)
One way to reduce this risk is modularization. If development stops for a single module, it can be replaced quite painlessly compared to rewriting everything because one relied on a monolithic framework.
...and another relatively straightforward and open protocol is finally completely replaced with a heavily obfuscated proprietary one. I've worked with MSNP including writing a working client for it, and it was quite easy to do; it's mostly text-based:

http://www.hypothetic.org/docs/msn/sitev2.0/notification/exa...

As it evolved, MS made it more complex by changing many commands to be dependent on XML and SOAP, but 3rd-party clients could still reverse-engineer and keep up. There's been talk and some action on open-source Skype-protocol clients but I haven't seen anything concrete materialise - maybe if all MSNP servers shut down, the Chinese will up their action on Skype.

The interesting thing is that MSNP8 as of now is still functional (and I'm outside of China) - the servers are still up and presence/messaging works. Probably not for much longer though, sad to see it go.
Money is just the unit we use to measure what we value. The less we value space travel, the harder it is to do.

It's a marketing problem, not an engineering one.
It's the same with realloc: there is no guarantee that it will grow the chunk in place.
I wouldn't blame Stallman for being shortsighted with elisp. He began work on GNU Emacs in 1984. Scheme wasn't standardized until 1990.

I agree that Scheme would be a better choice of an extension language, and honestly I think Stallman would probably agree. It's more that changing the extension language would cause a lot of compatibility problems. I hope the Guile Emacs guys can pull it off.
>While the above bouquet of random monikers may excite the cutting-edge startup developer, try pitching such an amalgamation to management in an enterprise environment.

What "management" makes these kind of tech decisions? Sounds like a flawed management structure.
Listen to James Altucher's podcast with SJ Scott. He made 40k last month by continuing to publish several books to amazon.
I started with 2 weeks and bumped up to 3 weeks after 5 years.
Stanford Professors Want to Teach You How to Scale Your Business
Online Anonymity Will Soon Be the Only Kind We Have
Pelles IDE has full C11 support.
Linkredirector – New Way to Manage Your Links
How does one identify high dividend stocks?
I agree strongly with patio11. I have a simple rule:

1. Programmers are the final authority on how long a specific piece of functionality will take.

2. Clients are the final authority on what to build, in what order, and how much money it's ultimately worth to them.

In general, clients who insist on negotiating (1) are often unsalvageable. It's better to structure the relationship so that this never comes up at all.

But if a client continues to insist, "No, you should be able to implement our video encoding server for $500," I find that the best response is, "If you have another programmer who can do that for $500—and do a good job—then you should hire them instead of me. That's a remarkably good price."

Basically, learn to qualify your sales leads: You want to work with competent, reasonable clients for whom you can earn a lot of money. Everybody else should be filtered out of your sales pipeline as quickly as possible.
The difference is, if you don't understand or care about the lambda calculus, the computer scientists who do won't judge you. The practitioners and patrons of the arts who go off on these rarified tangents that require "engaging the field" do judge and dismiss those who don't understand or care for the creations of these practitioners.

Thesis: if you did decide to "engage the field" of modern art, it would take about a year (i.e. equivalent of one serious college course of two semesters) plus intermittent reading from a popular journal such as ARTFORUM to stay current.
Yes, it was standardized 24 years ago. I think Stallman's argument was that too much code was already written in elisp. For example, calc is a huge elisp app. He didn't want to lose apps like this:

http://www.gnu.org/software/emacs/manual/html_mono/calc.html
Just curious. For anyone who has used both Nix and Guix, which one do you prefer, and which do you think is more likely to gain traction (ignoring the 800lb gorillas of deb and rpm, for the moment)?
Huh, I billed my client for 181 hours today. Although, the payment is due on Monday and I delivered more than a prototype ;)
Just don't forget about taxes...
14 yrs ago, DOJ said letting 1 broadband company run half the US was a bad idea
It's more important if you need to be prescribed something. I need to eat fruit and vegetables to live, and the value of their being exactly formulated is negligible.

Marijuana is hard to OD on and doesn't cause long term liver damage when used at reasonable levels for extended periods (which opiates do). Prescriptions aren't necessary.
Prediksi Bola Schalke 04 vs Bayern Munich 30 Agustus 2014
Passive income is generally a unicorn
Has Science Fully Explained Sunshine?
Hi, get into mobile business, not the usual Google Play or App Store as it really crowded, perhaps Nokia, even BlackBerry, it can generate 500 usd easily, I have been able to generate much more that amount at some point :-)
Contact me if want more info jaime.enriquez@inodesoft.com
No. Modern realloc are efficient, when moving large memory blocks, because they rely on the kernel ability to quickly relocate memory regions without involving memcpy() (through mremap() on Linux).

Edit: shamelessly citing my blog entry on this subject: http://blog.httrack.com/blog/2014/04/05/a-story-of-realloc-a...
Twitter has DMs, Snapchat has text chat, Skype has IM, Google+ has hangouts, Instagram has direct messaging.
aren't they taking 50% of your sales?
With no single known cure available for a given condition, one of the most useful parameters in case treatment is chosen might just be simple toxicity itself, depending on how the outcomes are judged by the treated, and treator if involved.

In corporations which historically benefit enormously from
regulatory and media influence, it should not be unexpected
for them to obfuscate or propagandize to influencers and the public on topics such as harm vs benefit to consumers, especially when the public is becoming threateningly powerful politically on that exact subject.

If you are in the toxic materials business, nature may be against you and depending on ethics, a very profitable approach has been shown to be not only playing unfairly but underhandedly tilting the playing field in your favor at the same time.

Not like there's any question.
To Test or Not to Test? That’s a Good Question
Because hover saves user two clicks (one to access a tooltip, another to dismiss it) and desktop users are already familiar with additional information displayed on hover.

If a hover tooltip has a clickable content then yes, using on click to lock the tooltip in place is a good idea. For example, hover navigation with subcategories can be awkward to use and on click navigation is a better choice here. But for a simple caption in an interactive chart it would be an overkill on desktops.
Inside Casual
Proof of concept viruses are already out for this architecture, so it just becomes a bigger management headache.
Send HTML mail
Everybody in the world loves incense.

Make a beautiful webpage with a mystic style and offer all kinds of incense, scents, shivas, buddhas, elephants, spiritual stuff all over the world.

In no time you'll be as big as amazon.
If you are in software dev worth reading http://lizkeogh.com/2012/03/11/cynefin-for-devs/
This is what I've always done! I agree with what another poster said about how revealing it can be -- you suddenly see yourself in the position where the decision had actually gone a certain way and you have to deal with the consequences. People always look at me funny when I explain it to them, though.
S&P does a pretty good job of it.
Are you in love with Golang too?)
Either you can sell your own product/services or sell someone else's product/services ...

- Take advantage of growing e-commerce in India - sell other peoples product ... buy directly from manufacturer and sell it to consumers thru platforms like Flipkart, Snapdeal, etc. ... most of the manufacturer in tier-2 and 3 cities dont have a clue about e-comm selling so help them out and make a good return...

- Start affiliate business (selling other people's products/service) online...

- Create your own product/service and sell it thru your own e-comm store or thru Amazon or Ebay or Yahoo stores.

- Start writing a blog and make it so popular with your amazing content that you can make money thru Ads, affiliate marketing and/or by email marketing.

- You can also start a drop-ship store and sell to the consumers in north-america, europe and/or australia.

- there are small businesses on sale on Flippa (however you need to learn how to find a good one) that can easily make you $6k a year .... find a business that is of your interest/passion ....

Good Luck!
Someone should become dead for this.