skysight-inc/HackerNews huggingface dataset:
Just use an IDE. phpStorm pretty much does this already.

If creating classes is a serious bottleneck in your app, you need to create fewer classes.

Let's assume this saves you ~15 seconds per class (which I think is generous). Let's also say you're creating a project with 100 classes (way too many -- use external libs instead).

Those 1,500 seconds add up to 25 minutes. Hardly a big deal for a project that's so big, you think it requires 100 brand new classes.

The personality of a programmer is to despise simple repetition that can easily be turned into code. This unfortunately often leads to micro-optimizations and tools that take longer to build than to solve a problem.
Unmanned launches, yes. Manned spaceflight, and astronauts themselves, have to adhere to extremely strict standards to maintain safety. Those standards cost $$$, time, and require highly educated and resourceful people.

The economies just don't scale. It costs a few thousand dollars to fly a transcontinental flight on a 777, and passengers don't have to be trained in all types of contingency situations like astronauts do. The cost for a single Shuttle launch used to be an eight-figure sum.

Someday getting to space will be as simple as a transcontinental flight. Unfortunately, rockets aren't the way we're going to get there.
There are no "nonlethal" alternatives, just less lethal as the words of art put it. One of the many reasons I haven't yet invested in pepper spray is that the threshold for my using it should be the same as for my handgun.

Any time you get into physical combat things can get seriously ugly, see e.g. Eric Garner.

As for US vs. European statistics, you always need to make sure each is honest (e.g. are they counting all populations in their countries? Counterwise, remove the US south and we look rather European), and there's no question that the US is flatly more violent, e.g. remove all homicides with guns and our rate is still higher.
You can't observe an experience. You experience conciseness, you don't observe it.
How can science work with something that you can't observe, and therefore can't measure?
HTTP is a continued pain point for C++ I find. It falls in to an impossible valley of "too simple for anyone to have bothered writing a really good standalone library" and "too complex to write myself". I don't see anyone jumping at the chance to build a HTTP request state machine built on top of nothing but the standard library when the standard library has no standard solution for efficient asynchronous operations or task scheduling.
Hm, would you expand on what you disliked about the integration? You're using the bookmarklet, right? I just click on "pin this" whenever I want to save the current webpage, and click on "my pinboard" whenever I want to look for a bookmark.

The killer feature for me is being able to type in a description for each bookmark, because later on you can search by any word in that description.

I've given up on tagging anything though.
It’s nice being able to keep bookmarks when switching browsers (at least it makes me feel less locked in).

It’s also nice being able to share bookmarks with your friends.
Well, if you mouse that fast then your use-case is similar to the aforementioned twitch-based FPS games.

> There are two parts to moving a cursor to a click target: quickly moving the cursor in the target's general direction, and then slowly moving to its exact position

This is a pretty basic usability issue and one of the reasons we put clickable things on the edge of the screen if we can.

See also:

http://www.joelonsoftware.com/uibook/chapters/fog0000000063....

(note that this is a great example of mouse and touch screens having completely different usability requirements)
Founding a startup is not rational. The vast majority of people lose a ton of money at it. It's not a good way to make any money.

There was an article a few years back that analyzed common traits among successful founders. There weren't many of them, but irrational optimism was one.

VCs are looking for people "with their hair on fire" for a reason. Starting a company is a painful, back-breaking, alienating grind, and if you don't have an intense emotional urge to get through it, you just won't.

It'd be nice if it weren't the case, but emotions are absolutely vital in understanding and making decisions.
Nest controls will soon make their way to Google Now
Sorry for wasting your time, I purposedly submitted this on Sunday, a slow news day.

I can agree though that sometimes it's hard to estimate time which you would spend on a story. I use a word-counting service (textalyser) for that, and this particular story is quite long even by longform standards: 7,800 words / 47,000 characters (with spaces).
It's responsive, has animations when scrolling, pretty color scheme and only small amount of text. Oh, and let's not forget the social buttons. What else can a consumer hope for.

sǝuᴉlǝpᴉnƃ uƃᴉsǝp uɹǝpoɯ >;)
> Where do you get this definitive statement from?

Kuhn's Structure of Scientific Revolutions was published in 1962. For over half a century since then, sociologists, historians, philosophers, and political scientists have been studying how modern science works, both on a small scale (in the lab) and on a large scale (as a society). Most of the results seem to confirm the basic idea set out by Kuhn, although many details remain controversial.

Rest assured, the boldness and tentativeness of scientific conjectures are not under any serious doubt. The part of Popper's model that later researchers have challenged is mostly about refutation and/or verification. For political and psychological reasons, as well as practical limitations, it is exceedingly difficult for scientists to conduct experiments that conclusively and unambiguously refute a hypothesis.

As a result, the bleeding edge of scientific research often follows fads rather than solid experimental evidence. Personal charisma, funding decisions, and political concerns dominate decision-making processes, and evidence is often so ambiguous at this stage that anyone can cite it to their advantage. It takes a while for this craziness to settle down.

In fields like theoretical physics where it is especially difficult to perform meaningful experiments, the time it takes for the dust to settle tends to be longer than in other fields. It can take decades, compared to months or years in other fields.

Only when a theory is no longer a fad and falls safely behind the cutting edge (i.e. it becomes "normal science"), do scientists finally get a chance to scrutinize it with solid experiments. Even then, politics can get in the way of proper refutation while the proponents of the theory occupy authoritative positions in academia. As Max Planck once said:

> "A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it."

(The above quote is often summarized as "Science advances one funeral at a time.")

Summary: A lot of conditions need to be just right in order for bold conjectures to be boldly refuted on the basis of solid experimental evidence. Bleeding-edge science often doesn't meet such conditions, due to both technical and human shortcomings.

Source: I have a Ph.D. in Science and Technology Studies (STS) [1], an umbrella term for interdisciplinary studies of science and technology in social, political, and historical contexts.

[1] https://en.wikipedia.org/wiki/Science,_technology_and_societ...
Experienced entrepreneurs give their insights on how to build a team
Many tech companies pay 0% in taxes. Some pay a negative tax rate. The wealthy pay about 10-20% effective taxes. The tax burden has been shifted to the middle class. And this isn't considering inflation, which taxes everyone except those on the inside (basically, banks and owners of gov't contracting companies).

Fixing these problems isn't communism. It's a return to mid-20th century American policies.

With this type of reform in place, it's a lot easier to envision a nice future where some people get $200K/yr to solve puzzles, and others get a $40K/yr minimum wage to blog about their day. Edit: and aside from basic income or minimum wage, this is how I think a lot of people should be paid -> https://news.ycombinator.com/item?id=8708820
A "confusion matrix" is statistical analysis you're looking for. An entry (i,j) is a score on how much the ith character is mistakenly typed (inputted) as the jth character. This can be easily adapted to various input devices.
I don't want the full ORM, especially don't want to mess around the relation parts. Just want a simple "ORM" tool generating model codes to access the database without the go reflection and taking advantage of the Go compiler.

Thank you very much for the advice though, :)
How to reduce California's per-person CO2 emissions 8x by 2050 (2011) [pdf]
Ask HN: What is the best iOS API for image to text conversion?
I'm looking for an API that will allow me to convert iPhone images of text to text I can use.
At the very least, a beautiful presentation. And it collects some interesting hints for anyone remotely interested in graphical design. But then it reminds me how this is a field in and of itself, that deserves more professional attention than my own amateurish efforts. When I play around with design, I will do so in my spare time :)
Rolling Thunder?
Google Protocol Buffers v3.0.0-alpha-1
Both Firefox and Chrome allow importing bookmarks from other browsers, and exporting them as a plain HTML file.

Personally, I also don't see the point unless you're using the Archive feature. Firefox Sync is free, encrypted, and available even if the servers are offline.
> The bit about broken iterators is actually nice, but in this case could be avoided by handing an external function two const_iterator which then cannot be changed.

No, I think you missed the point, which is iterator invalidation.

http://stackoverflow.com/questions/16904454/what-is-iterator....

It's important to understand that various container methods can cause iterators to point to something else (or even nothing!).

In the example given, push_back could cause all the contents of the vector to be reallocated at a new address to make room for the new element. Any iterators pointing to the old address, including the one used in the for loop, don't get updated in this process.

More details for the interested:

http://kera.name/articles/2011/06/iterator-invalidation-rule...

In contrast, Rust only lets you have more than one reference to an object (like a vector and an iterator) if all of them are immutable. So any container methods that would cause iterator invalidation wouldn't be available inside of a for loop.

EDIT: Re-reading, I realize you might have already understood iterator invalidation, so sorry for the re-explanation, but I'll leave it up there for those that haven't heard of it yet.

I will point out that:

1. This sort of for loop is idiomatic C++ code.

2. C++ compilers don't even warn you when you push_back while having active const_iterators to your vector. Rust does, which is the point of the example. This is a case where C++'s const (logically won't change) is inferior to a stronger immutability guarantee, which Rust provides.
Git Repository Hosting
it is using eventlet in the background, so for IO-bound tasks you will see concurrency, but I would imagine that CPU-bound tasks will still be hampered by the GIL in the same way that vanilla Python is.
Forgive the early adopter
i think Information Retrieval
They want access to our conversations because we demand features that require this. As a user, I want to type in "from:priyanka secluded beach" and get the exact message I was thinking of. And I don't want to bother handling my own encryption keys.

It's simply not possible to accomplish this without Google having access to my email.
What’s new for designers, December 2014
I really like the attitude of the father of the kid who was shot. To not vent his anger, but use it to come to a constructive solution that will hopefully reduce the chances of such unnecessary deaths in the future... that is amazing. And a great use of settlement money as well.
Orleans Goes Open Source
"So it is useful to assume that there aren't limits, and press on."

Faith in science.
If we pour water on the sun, will the sun be extinguished?
The Sad Story of Softbank’s Aldebaran Robotics
The reference materials page is also worth checking out: http://css.csail.mit.edu/6.858/2014/reference.html
Laid the ground? Yes, of course! Philosophy is very good at asking important questions and inspiring research.

But helping to solve them? Don't get your hopes up. We still haven't really solved any of the questions that Socrates came up with 2400 years ago.
Many of the things that we expected to become reality by now 20 years ago are still miles off.
I think it's more that society has veered to the right.
Oops, did you change the link to point directly to the iTunes Store page? Anyway, that's much less aggressive than a screenful of that creative blue. I would have loved it in small doses in the right places, but it was just too much.
Department of Energy Computer Network: ESnet
Goldstrike Trading
The Comforting Certainty of Unanswered Questions
Java performance puzzle
Some do, but not all. Most mouse ergonomics are made to be right handed, and since learning the mouse & keyboard is a new an alien concept for both left and right handed people, they can simply learn it with their dominant hand on the keyboard.

I wonder if that would make them better at micromanaging RTS games with keyboard shortcuts vs. shooting with the mouse in FPS.
Why would science never be able to observe or measure an experience ?
'Now he is spearheading Microsoft’s fight against US government demands for access to emails from a Microsoft customer which are currently sitting on a server in Dublin, Ireland, as part of a narcotics investigation. Earlier this year, a US court ruled that Microsoft should hand the data over. Microsoft declined to comply, voluntarily entering into contempt.'

If you're not gonna read the article, maybe don't post about how terrible they are? Refusing to hand over other people's mail is exactly what they're doing here.
Air Fares 101 – Why do fares change all the time?
Right, that should be the whole point. Why would I post the same opinion everyone else has? Apart from a nice circle jerk, that would serve no purpose. The whole point of my post is that it differs from any other and offers a yet unseen perspective, whether you like that perspective or not.
And it will keep on being shifted to the middle class until it disappears. The "rich" don't have enough money to maintain a subsidized economy, the middle class does.

As for the big companies, they use so-called tax loopholes to defer tax payment and keep foreign-sourced income offshore. They'd get taxed when/if that money reenters the US. And you can be sure they'll be taxed eventually as uncle Sam gets more needy to run a subsidized economy. State interventionism with FATCA and so on will only grow until there will be no way for them to avoid taxation.
How The Racket Almost Upended Journalism
Show HN: Game of Thrones – DIY – 3D printed accessoires
Oh boy I should've knocked on wood. They emailed me today, the old plan is gone. Now I have to upgrade to $8/month, which is ridiculous compared to the alternatives.
Autonomous Cars Will Require a Totally New Kind of Map
One-year GitHub streak
This is very wrong. You're giving the state the power to control journalism. As for the audience deciding what's worthy, you'll get Jersey Shore quality or worse.
Did you find anything worth using for your use case?
Notably: "The main intent of introducing proto3 is to clean up protobuf before pushing the language as the foundation of Google's new API platform. In proto3, the language is simplified, both for ease of use and to make it available in a wider range of programming languages. "

protobuf has been great for private data storage and RPCs, but it hasn't really been used as a schema language for public APIs until now. I have written my own JSON <-> protobuf codecs in the past and had great results (my guess was that Google did something similar internally). But this would be even more useful if this were widely used (better tooling), and some of the changes they're making around adding more types would also be helpful, so I'm excited to see this.
To me, adding on the possibility that it could be some sort of Mach 5 super airliner, suggests that the practicalities of it as an SSTO platform are perhaps not nearly so compelling as once thought

Ding!

Yeah, that was my reaction. If SpaceX get the reusable first stage tech running on Falcon 9, then they shave $40M off the cost of each launch (the first stage fuel and oxidant costs $300,000; the stage itself, including nine motors, costs around $40M). Even if each flight costs a couple of mill to refurbish and can only fly 10 times, they'll still have cut the $40M price to around $6-7M.

Meanwhile, here's Skylon, a decade late off the starting blocks. With the Sabre engine running on liquid hydrogen, which is a beast to handle, with valuable He as a consumable.

Frankly, the airliner option looks silly to me. The only real target market for a Mach 5 in-air vehicle is the military.
Love to do programming and love to learn programming languages what ever language is weather c , c++ or c# i just love it :*
Regards
http://lovecoverphotos.com/category/quote-facebook-cover-pho...
looks pretty good for a summer internship project, but nothing more. Why are all these guides uglier than bootstrap?
This ambiguity is something I tried to put in words so many times, and you did it so very eloquently!

During a discussion I will often find myself go on multiple tangents to test the meaning of a phrase I am listening to, lopping with each new word coming in.
And surprisingly to most I will sometimes arrive at multiple meanings I grasped and incidentally can't decide on which to pick!

While this is really embarrassing at times, I however consider this capacity of seeing a difference where most don't: a gift. The brain grows on this branching capability and I believe it is exactly this that enables me to understand a conversation faster than average.

So I have a somewhat autistic level of conversation but also have access to uncommon thought patterns just through casual conversation.

Thank you for sharing this.
On the open-source side, Tesseract OCR is probably your best bet and depending on your need you may couple it with Open CV. With Tesseract you may need to do some custom training but my experience is that it make the results way better.

Non open source version often require using Web services which introduce potentially extra lag and definitely force your app development to work asynchronously.

[Edit] fixed some typo
The company that forces its customers (WP) to upload all of their contacts and calendar entries without their knowledge or explicit consent to their "cloud" is fighting for privacy? Wow.
It took >300 years for transatlantic marine routes to reach acceptable levels of safety - and it really had to wait for modern navigation system + coal propulsion + metal.

I wonder if going to space will become routine before supraconduction and MHD drives are widespread. Like https://en.wikipedia.org/wiki/Yamato_1 for air travel.
It's tricky and there is no one-language-to-rule-them-all because they have up- and downsides.

C++ has the advantage of an incredible amount of code written in over the years that mostly works. It also executes fast. It's also easy to find developers for it. With the new addons to the specification it's even possible to write readable code with it.. However, it has a stupidly long, verbose and feature creepy standard (well over 1000 pages), which results in no developer reading it. Because of it's design, compilation times tend to take long (as a ridiculous amount of headers are included even in the most simple applications).

Go is pretty much the opposite. It has a lean and readable spec (on purpose) and a fairly common canonical syntax without much discussion about it. Because it's relatively new, there is not much written in it however. It has some specific strengths, like a concurrency implementation that abstracts most of the process/thread/mutex stuff. With this, it does appeal to new projects that don't depend on libraries written in other languages. There is no point in porting multi-million SLOC applications to Go though, as that would be incredibly time-consuming. It has the potential to surpass C++ in a few decades though, as it operates in the same domain (systems programming).

Python is a versatile scripting language. It has nice syntax and is incredibly flexible at manipulating data. Add to it the well documented, feature-rich standard library. With it you can evaluate data with incredible flexibility and it has a fairly complete feature set for general programming tasks that span multiple OSs. The downside is that it's slow in execution and needs the interpreter along the scripts. Especially for smaller tasks and simple automation it is the first choice however because of it's small footprint in constraints (you can just edit and drop a scriptfile anywhere on a Linux system and it works).

Java.. I'm not entirely sure what Java does well. I hear praise for the JVM, but generally I get the impression that it is plagued by legal issues, alien looking GUI tools, more than verbose syntax and it also has a stupidly long specification (almost half of C++'s). Maybe someone can shed light on this one. Tools maybe?
> Instead of really solving the problem at hand, you have to work on quirks and idiosyncrasies.

FWIW, I work in Big Data and feel the same way :)
prove there is no God.
Crew and ground comfort (combined with the specific altitude) and it was yet another microgravity mission.

I can only get hand wavy about the field is not uniform mass concentration blah blah. Presumably deep in the decimal points, a 40 degree orbit or a 38 degree orbit has higher (although still very small) gravitational anomalies.

It was a fairly common "track" for shuttle missions. Perhaps 5 or 6 missions were in the same orbit.

(edited to point out this was not cut and paste from the 107 marketing materials, its from an older launch, although the orbit is identical for identical reasons. Basically they reflew a 90s era mission, STS sixty-something)

"Columbia will climb to a 173-statute-mile (278-kilometer)-high orbit with a 39-degree inclination to the Earth's equator to allow the seven-member flight crew to maintain the same sleep/wake rhythms they are accustomed to on Earth and to reduce vibrational and directional forces that could affect on-board microgravity experiments."
I'd actually much rather read the opposite article: things that C++ excels at that Rust falls down on. I'm not an expert, but I think there's still allocation use cases C++ is better at.