skysight-inc/HackerNews huggingface dataset:
Hey I hear you. When I started coding I was 9 and I did something like that in BASIC. It was awesome. I was actually considering what to start out with and I just went for iOS off the bat to see what happens. I also think kids these days pick up stuff way faster than 20-30 years ago. It's insane how fast they pick up things like touch interfaces, smartphones, tablets, etc for example.
If you're using Mono for web hosting then don't use Mono's FastCGI implementation. It's incredibly slow from what I've seen. Instead, use something like evhttp-sharp which has a wrapper for Nancy. Just to give you an idea look at nancy using evhttp ("nancy-libevent2" in the benchmark) vs FastCgi ("nancy" in the benchmark) at http://www.techempower.com/benchmarks/#section=data-r8&hw=i7...

I've tried to contact the folks who are maintaining FastCgi on Mono but the email I sent last week bounced. When you use evhttp though, (at least with C#) there's not a huge performance difference than when using it in Windows.
This thread is marvellous - inspiring for those of is heading through middle age and those of any age wondering should we compromise quality yet again.

Thank you - and good luck.

PS
was the NHS hack day an OPen Knowledge thing - I hear they are kicking off a NHS England wide data project?
At Tachyus (tachyus.com), we are using 100% F# to build the back end of our platform. Getting from zero to our first product deployment in three months, we've proven that F# is a great language for real world web projects -- especially when iteration speed and application correctness are both indispensable. Visual Studio and Windows Azure have actually been a huge part of the leverage we've gotten from choosing F#, as we can build, debug, deploy, and manage deployments directly from the IDE. With an Azure trial account created, you can literally get your first F# site up in minutes.

Unfortunately, I can't answer your question about Mono just yet. We are exploring the practicality of Mono (for mobile development in F#), and while I am optimistic, I can't speak to the reliability of the platform. So my answer (a complete cop-out) is to try out Visual Studio unless you are completely tethered to Linux/Mac.
Human flesh-bound volumes R.I.P. on library shelves
This sounds good. As a developer I frequently churn out stuff that I have no idea how to sell or grow.

Let the sales guys look through a list of stuff that has been made by developers, and if they find something they think they can add value to then a connection can be made.
Give us the 3 billion we deserve...
This description sounds a lot like eastern europe :) When I used to live there, electricity was only available when it wasn't raining. The internet was really crappy and it used to cost a pretty big percentage of my salary. Investors were practically non existent, and the brain drain took its toll on any innovation attempt (alongside the corruption). I have now left eastern europe for a better western country, and I have to face their '1st world' complaints. A brit does not, can not understand what that is like. I think the same goes for americans. Feel free to downvote your ignorance :)
From my point of view inheritance is a good thing because it ensures your family and loved ones will have a comfortable life once you pass away (kind of a life insurance).

Nevertheless it also bothers that people who inherit large fortunes can live a luxurious life without having to do real work a single day in their lifetimes.

Maybe putting a limit on how much wealth can be inherited by a single person would work better than a 100% estate tax. But this also raises another question, would you trust the government to manage your life's wealth after you die? I sure wouldn't!
I hear you, but if you check the timeline of the lesson, I didn't teach her every step of the code, that would be too much info off the bat. I wrote a bit of boilerplate code and her lesson - as I mentioned in the post - was just those 3 lines where we talked about variables mostly.
Or just rent an actual server.
Poll: How long have you been programming?
Includes years not programming professionally.
6 months - 1 year
1 - 2 years
2 - 3 years
3 - 5 years
5 - 7 years
7 - 10 years
10 - 15 years
15 - 20 years
20 - 30 years
30 - 50 years
> Huh, is it really implemented like that?!

Well, there is no grow() method on std::vector, so ... no?

But generally speaking, std::vector implementations are basically required to[1] grow the backing store exponentially so that adding elements to them absolutely does not call malloc on every growth of the vector.

You can make a vector do this kind of pessimistic allocation by calling reserve() for every element you add, which will cause the allocation of exactly the amount you reserved. This would be dumb, though. Reserve is there so you can allocate a precise large number and avoid even the logarithmic cost of allocation in adding elements to the vector.

It's really worth noting that this is a better worst case than the worst case for realloc(), which is entirely entitled to reallocate and copy every single time you call it. You're pretty likely to implement the exact same algorithm as vector if you DIY because of this exact issue when performance is important.

I do agree, though, that it would be nice if there was a failable realloc in C++ (and C for that matter) as described above, where it simply returns NULL if there's no more room in the allocated space. What to do in that event should really be up to the caller, not a black box algorithm sensitive to all sorts of variables.

[1] Because push_back() has a requirement of having amortized constant complexity, which means that it would be non-conforming to have the entire array moved for every push. http://www.cplusplus.com/reference/vector/vector/push_back/

[N] However, std::basic_string allows linear complexity on its push_back, so that may be what the poster meant. I'm not aware of any widely used implementation that actually does it in worse than amortized constant, though.
The idea that you'd see an issue bloc made up of me and Chris Stucchio is pretty strong evidence that you're missing something here.
awesome thanks for the tip, I'm gonna check it out
Cool, how are these 'interesting movies', rather than 'popular'? Also, it would good to be able to filter by language, as if I don't speak Hindi/Tamil/German/Norwegian, I might not want to 'read' through a movie.

Nice work. Also, copy somebodies design. Yours isn't bad, but some subtle changes in fonts, colors, contrasts, etc would go a long way.

Congrats.
Different anarchism branches disagree very strongly on some issues. That's not surprising at all.

However, the housing market in SanFran is anything but free.
Yoom : Like, Dislike and Meet People
Agreed! I'd love to have something like this. I discussed it a bit in a previous comment: https://news.ycombinator.com/item?id=4714341#up_4715785
It shouldn't be, and won't be for long.
Barhrain today was nothing compared to the past 14 years. There are always instances of one team getting it more right than others, 88, 93, 00, 01, 02, 03, 04, 09, 12, 13, 14. But those years (except 09 and 88) were pretty much one sided.

This year the cars look amazing on track, the torque out of corners is great to watch, the skill of the drivers is now more important than ever. Gone are the days of Vettel sticking his foot down and hitting the apex with ease. Other teams will catch Mercedes up, the the engine unfreeze at the end of the year if not before.
I've been seeing a lot more of Lua as of late, in seems to be catching steam in all corners of the industry from games to infrastructure.
thanks dude, I do believe that's the first fundamental concept that makes most sense in a 101 course/lesson. If you get that, you can move on, if you don't, then you have no ground to stand on
Tenancy agreements and job contracts would probably be common uses. I like this, nice idea!
Whilst that maybe the way your bank has chosen to operate, it is most certainly possible for ATMs to report a step#5 failure to the banks host which will reverse the transaction.
Cold calling is one of the easier social skills. Write yourself a script with if then branches and read the thing when you get someone on the phone. You can write the scripts such that the questions you ask are reasonably close-ended and then write if then branches like a program.

That's what I did when I used to do door to door sales. You've got the time to plan, the person you're calling doesn't - you can offload a lot of the usual needs to be good at socialising by planning.

You can even use technical aids if you don't need to be near the person you're talking to. Make yourself a little program that notes changes in tone of voice, for instance. And then feed that into your plan's conditionals.

IME, the anxiety drops off after you've called on a few hundred people.

I'm not sure how that would work if you've got severe social anxiety though. That sounds like something it might be worth going to therapy or the like to deal with. After all, working with others is a pretty vital skill almost regardless of what you want to get done. But I can't comment on how to address the difficulties of that, not being a psychologist or having it myself.

#

The more general point as to whether to focus on your strengths or weaknesses. Three things spring to mind:

1) You need a wide familiarity with multiple areas to judge experts in those areas and to see how the things you're good at can be used to address them. It's usually worth investing enough in your areas of weakness, if you expect to run across a situation where they'd be relevant, to bring the skills up to a basic level of functionality.

2) You'll probably never be as good in that area as someone who loves it and getting to a deep level of knowledge requires considerable sacrifices in other areas. You can probably rent the strengths you need and be stronger that way than either of you would be alone.

3) I don't know I'd be focusing on talent as much as I would passion. Effort trumps intelligence for most things. I've known some very smart failures in a wide range of areas. This week it'll be one thing, next week it'll be another. Since they don't sit down and do the work, since they're not really passionate about the work, just the idea of what they'll have at the end, it never comes to anything. They're not creators, they're just slightly smarter dreamers. To be a creator is to create. Just as to be a programmer is to program, or to be an (almost) anything is to practice that anything.
Not really, because admins that don't bother to read release notes or to verify GPG keys should probably be using package management systems maintained by those who do.
Hah, not the best link to open in a busy café :) But kudos to them! I'd love to know what the philosophy -> google progression was like.
"With this three billion from Google, we will solve the housing crisis in the Bay Area"

Huh.
Geekli.st is "social network" for tech recruiters.
Articles like these are the reason I'd really like to see a downvote button :(
Don't forget the car with 6 hubcaps!
I second 3rd3's suggestion of tree-style tabs. (I ended up with mine as a narrow strip on the right that expands when I mouse over.)

But I'll add that I mainly solved the "as a reminder" thing in other ways. I use Instapaper for a "read later" queue. For to-do-ish stuff, I use KanbanFlow to wrangle short-term tasks, and Trello to manage a deeper backlog. For "maybe I'll want this someday", I use Pinboard.in. Events and related links go into Google Calendar. And for "don't forget X" things, I sometimes use a dry-erase marker on the bathroom mirror, so I glance at things while brushing my teeth.

Now I've got my open tabs down to things I'm actually doing, and it has been a huge relief. Now I don't have to search through a bunch of open windows and tabs trying to find that one thing.
The continued misuse of that term seems telling. If they really think this is how normal banks work, it helps explain why they set up these bitcoin systems in such crazy ways.
What kind of stuff do they do in there?
How young can a child learn to program?

While I'm not ready to indoctrinate my four-year-old into the monkhood of true geekery while he's getting in his prime running around time, I was curious to see how logically he could think. My layman's knowledge was that children began properly interpreting and creating rules around the age of six, while four was still wild imagination territory.

For my experiment, I created an extremely minimal programming game, like a very stripped-down version of RoboRally:
https://dl.dropboxusercontent.com/u/5458223/robot_factory.jp...

The image depicted is doctored. We had already completed four playthroughs the night before with a similar setup, however. He was able to figure out how to program the robot to collect all of its pieces (three Duplo blocks comprised the robot; successful completion of the robot wins the game). I demonstrated the rules once, and then let him try to play by himself with minimal guidance. One interesting strategy he discovered was placing the "instructions" (the cards with arrows) on the game board in order to create a path.
https://dl.dropboxusercontent.com/u/5458223/robot_factory_re...

A few weeks later, we played it again, and I taught him how to make new "instruction cards". We're not yet at the place where we've done anything with variables and abstraction.
Apparently he liked the game well enough, because he independently recreated it at school:
"I don't think this is factually true." Agreed.

I work in a US metropolis. I don't know any web developers making $100,000 per year. I know seasoned software developers and engineers making that, but that is what experience costs. I can't really speak to the author's experience, but often, this downtrodden treatise on salary disparity tends to come from the younger, less-experienced programmers out there, regardless of nationality.

Ultimately, comparing salary to distant economies is fallacious. This is why things like cost of living should be taken into account. As an example, I'm currently earning less than a similarly-experienced software creator in San Francisco, while also spending at least an order of magnitude less on housing. I don't begrudge my SF compatriots their salary.
It's a nice idea but I think it would be a little too burdensome for every single email. Maybe if the mail was going out to >N people where N is configurable by the organization.

I think one of the reasons why no one's ever done this is that with traditional email, it's impossible for the sender to know how many people one email has reached, or will reach. But I think Threadable (recent YC startup) could actually do this.
Have you considered that XCode and Objective C may not be the right tools for the job?
Previously https://news.ycombinator.com/item?id=664324 https://news.ycombinator.com/item?id=92007
Plus this isn't cloud, just normal VPS with marketing.
Nice idea but the big problem I can see is that nobody will want to vote their bosses emails as a waste of time.
Also in large corporations a lot of long emails will be sent that relate to company policies etc that nobody reads in practice but the purpose of the email is that it protects the company in the event that an employee says they were not aware of policy X.
Reminds me of OpenCyc [1]. I'll need to have a closer look at it someday.

[1]: http://www.cyc.com/platform/opencyc
EmberConf 2014 Slides
myHealthAssistant-a middleware system for healthcare apps on android
This middleware system opens an architecture for design healthcare apps independent of sensor activites
Not supporting picking on Kevin Rose, but what to do when a large influx of money and moneyed people causes the cost of living to skyrocket for the locals?
How much do you think it would actually cost to move them along to the infighting, corruption, and discrediting implosion stage of their social movement? Thirty thousand, maybe?

Google should just give them that as a 'down-payment' and let them spend the next three years fighting over it.
I wrote a post some time back on teaching my kids to code, thought I'd include it here in case anyone found it useful.

http://richiekhoo.com/post/18723300657/coding-with-kids
Did you all see at the bottom: "COMPUTERS (most of the good stuff is still in papers, here are a few books)"

Most of the good stuff is still in paper!
This falls under the "Why didn't anyone think/built of this yet?" Where is the global knowledge base? I am sorry, but it is not wikipedia. Wikipedia is what all us know/think to be XYZ?

What you are describing is a place for you to share everything you know about a subject, and I can use to find what 200 other people know about it.

This is simple and extremely powerful.
Competition with what? Windows, OS X? Xorg?

Edit: Can't seem to reply to child, but Mir isn't really a credible competitor (See: http://aseigo.blogspot.com/2014/03/more-on-why-display-serve... . Unfortunately Mir seems to be mostly NIH; everyone else is cooperating on Wayland.)
Wouldn't putting more emphasis on karma just lead to more karma whoring? You want to encourage quality dissenting opinions rather than just making the echo chamber louder
The estate tax does sometimes force people to liquidate their assets in order to pay it. I'd say that's pretty morally reprehensible and a violation of property rights.
Speed memory access by arranging data to take advantage of CPU caching
Very cool.

But when you say "app" what exactly does that mean? Can it just be a web app that you save a shortcut to? Or is this actually a native app?
Even if a child does not fully understand everything, the child DOES understand that when they type an instruction, the computer will execute it! This is exciting, akin to finally getting that the squiggles on paper are words and letters, even if you don't know them and can't quite read them yet. The next step is to build up concepts, like executing steps in a loop, or storing information and getting it later, or starting and stopping. This is all worthwhile, even if you can't quite see it from where you are standing.
In order to take advantage of the Siri "api", it has to be a native app. All the native app does is open a webview with a specific link.

Siri doesn't recognize the names of bookmarks you save to your home page.
I think a lot of people up vote things without reading the actual article.
Here we go: http://www.bbc.co.uk/news/magazine-19524962
Something like Scheme would be appropriate.
Except, not actually: http://www.bostonmagazine.com/news/blog/2014/04/03/harvard-b...
I think it could be a simple like button, hence it could be anywhere. You could also build the platform to write and publish if you wanted, but regardless of where it is it would work the same. I will email you.
A more practical approach might be a way to stop water from going into the bowl. E.g., you lift up on the handle to close the tank flap. Or maybe there's a stop button next to the flush button.

That would be almost as good as an overflow drain, but wouldn't require adding second sewer pipe.
that's great man! I'll try that with my 3 and 5-year old boys to see if they pick it up. I was thinking about the whole "how young can a child learn to code" thing too and I think it's obviously a matter of the environment they're used to. If they create a lot, arts/etc, play with Legos for example at a young age, that sort of stuff, they might be inclined to pick up more abstract things at a younger age. My daughter likes doing a lot of math stuff for fun and she has a tendency towards numbers and abstract thinking so she picked it up naturally. We'll see how the boys do in a couple of years :)
Canonicals Mir
One of the focuses of HN is startups, especially startups backed by Y Combinator (the people that own HN). Y Combinator strongly urges (perhaps even requires) startups they back to be in or relocate to San Francisco.

Another focus is the tech industry beyond just startups, and many of the most discussed companies here are either in San Francisco, or if not a large number of their workers live there.

It should not be hard to see why stories about or that give information on a group that is trying to intimidate and threaten tech workers in San Francisco, and would like to drive the tech industry and its employees out of the city, would be of interest to a large fraction of HN readership.
Severe bug in g++ optimizer (-O2)
Psychopaths: how can you spot one?
> Marriage has historically been a religious ceremony, and by legalizing gay marriage we're codifying what opponents view as an assault on their deeply-held religious beliefs.

Couldn't the same be said about civil marriage in general? Yet I don't see many religious groups opposing civil marriage between a man and a woman.
Notice how the title of my submission says "from contributing", not "for contributing". Subtle difference, but has a completely different meaning.
So Google Chrome is now the "portable" C/C++ runtime that developers are encouraged to code for? Why must native applications take a dependency on Google's web browser again?
Seems like saavy and motivation are both key ingredients for 'lucky timing'.
Same here! I've found that people often have really interesting stories surrounding their discovery of a favorite album (for instance), especially when they have strong emotional or sentimental attachments. I think it'd be really cool to tap into that and even help people recall things that they might not otherwise recall by showing them the "path" by which they arrived to an album, the date when they first listened to it, etc, and then collect those stories to share. Could also become an interesting approach to content discovery—through personal stories instead of similarity algorithms.
Monument Valley Game: you have not seen nothing like this before
That's me. I can understand why people like it, but I found more rigorous materials on the same subject to be a lot more interesting.
Naked Gospel Singer.....Really?
An app that shows me where my friends and family are.

(Like Google Latitude used to do)
This is brilliant and amazing to read.

What comes to mind is, we need a list of analogies in the most simplest form so that we can explain fundamentals like variables to kids. Hell, anyone who doesn't know how to code really!

75. HN reads and smiles
Brute-force a git commit hash
gitbrute brute-forces a pair of author+committer timestamps such that
the resulting git commit has your desired prefix.
Every now and then I do "math" with my son (5 years now).

I just use a terminal and "bc". He loves to type in numbers and + or * and see the result. And for + we "guess" ahead of time what the result will be.

What amazed me early on: bc has variables. I explained it to him and somehow he immediately got it. You say A is 5 and B is 1 then A + B is 6.

His attention span is usually around 5 minutes, but each time it's fun.
Well, I can guarantee it's not going to be like jQuery, since I'm really not all that familiar with it. The book does deal with the structure of D3 in detail, which you'll see in the chapters that are already up on the MEAP, and then it gets into specifics for creating charts, using layouts, custom events, maps and so on.

And you're right, for those of you thinking of writing one of these books, it is a hell of a time commitment and, on top of that, you have to know something pretty well to be able to make it, but you have to know something inside and out to be able to explain it.
This is a "leftist singularity", when the least revolutionary half of the population is purged, and then the least revolutionary half of the purgers is purged, ad infinitum. It ends when the most righteous leftist kills the second most righteous leftist, or outside events intervene.

For examples, see French and Communist revolutions.
To be fair to him, a thread all about which team is dominating F1 is the kind of place on HN that I would expect to see races discussed. Not sure that shouldve taken you by surprise! Anyway, sounds like the race was good enough for you to enjoy anyway.