skysight-inc/HackerNews huggingface dataset:
When I get into conversations about what space combat would really be like (if it ever even happens), I usually cite this book, and summarize the combat in one sentence: "The ships are taking evasive actions for shots which will hit them in 3 months." That's usually all it takes to make them really understand that space is nothing like you see in Star Wars.

On the other hand though, Heinlein makes a good case for interplanetary war never happening in Time Enough For Love. "The second best thing about space travel is that the distances involved make war very difficult, usually impractical, and almost always unnecessary. This is probably a loss for most people, since war is our race's most popular diversion, one which gives purpose and color to dull and stupid lives. But it is a great boon to the intelligent man who fights only when he must — never for sport."

An interesting digression, but he also makes the case for why a common currency between planets is completely impractical (like was mentioned in the news a year or so ago). The entire book is a great read, and it's probably tied for 1st in my list of favorites.
What is Trans Fat?
You seem to care a great deal about a topic you don't yet know enough about. You seem to have a superficial attraction to Ruby, which is fine, but it doesn't actually make Ruby better in any meaningful way. If you actually use a language and make real programs in it, you'll stop being a beginner before long, and your opinion now will be irrelevant even to you. Ruby is my go-to language for getting things done, but there is still a whole lot that is awesome in Swift.
Earbits was always an interesting company. The central idea seemed to be "pay to promote", which initially sounded like a crazy idea to me. In hindsight, it was a good idea, as virool, another YC startup, is doing very well with that model for videos (including a huge number of music videos).
I think I've got it.

The main thing here to notice is that this is a strategy and not a solution.

If the best options is in the first 1/e * n of group elements of the group you will end up with the last interviewee as the one to choose.

But if you use this strategy many times over max permutations of the group it WILL give you the best output in general.

btw i would like to thank the author for posting this.
Due Diligence Checklist : Helpful before fundraising or before an acquisition
With complicated subjects sometimes you need to read the explanation a few times before it completely makes sense.
It was a blast playing! Thank you CodeCombat team!

PS. Here's my entry code: https://gist.github.com/mpolyak/8af627cbdf596b5e294a

I wish I had more time to optimize it as well as develop additional army building strategies.

See you at the next tournament!
That would explain why it's getting on HN today...for the nth time :)
How will they sell them for cash without using an exchange and/or a bank account?

I can't just convert a bitcoin sitting in my wallet to something I can give to someone else to exchange for cash without a whole pile of guarantees.

The only people I can trade bitcoin with for cash is other bitcoin users, which - as I noted above - are few and far between.

Yes, sending BTC internationally is simpler, but that does not mean the recipient can do the same things with them as they can do with fiat, and as such it just shifts the problem to the recipient. When you send cash (using for instance western union) it is almost instantly available as well, without all the downsides of having to find someone that will trade your bitcoins at something approaching their market value.
"With this [CIA] memo and the CIA's influence in the media," author Peter Janney wrote in a guest column on our site last fall, "the concept of 'conspiracy theorist' was engendered and infused into our political lexicon and became what it is today: a term to smear, denounce, ridicule, and defame anyone who dares to speak about any crime committed by the state, military or intelligence services."

Janney, whose late father Wistar Janney had been a high-ranking CIA executive, continued: "People who want to pretend that conspiracies don't exist -- when in fact they are among the most common modus operandi of significant historical change throughout the world and in our country -- become furious when their naive illusion is challenged."
If the original title includes the name of the site, please take it out, because the site name will be displayed after the link anyway.

If the original title begins with a number or number + gratuitous adjective, we'd appreciate it if you'd crop it. E.g. translate "10 Ways To Do X" to "How To Do X," and "14 Amazing Ys" to "Ys." Exception: when the number is meaningful, e.g. "The 5 Platonic Solids."

Otherwise please use the original title, unless it is misleading or linkbait.
Yes, but it seems the blame game plays out differently. If a website won't run because it's demanding a plugin of some kind or a different web browser then the user tends to blame the website; if it runs, painfully slowly, on their browser but quickly on a different model of browser then (s)he tends to blame his/her browser. Really, the way forward is to have things set up so that sites can compile to arch-specific NaCl and PNaCl and "asm.js", and then serve the browser the best one that it will accept.
yep, you'll probably get a better response there
Sounds like a lot of companies :) But yes, the target audience for the components is probably the not very technical CTO (company wide or departmental) who believes that this will save a lot of money because stuff can be bought and not built. It'll end up as a few 100(0) developer licenses on a shelf, next to the 20 enterprise CMS licenses, the unused CRM licenses, the magic bullet never touched BI licenses etc.

Edit: typo
"OpenVR - 2 : Software" is the title on the article submitted. HN moderators generally favor using the original title.
I can't see a way to search for a hotel by name once a city has been selected. This is the first thing I tried to do.

The rank is supposed to be how well it does in its class. But I looked a few cities and the best hotel was always expensive (over $300). Never a good for the value midrange hotel. So it seems best isn't best in class.
That's strike two against him. Have you had the conversation with him about why he feels that way about open source?

The attitude about cloud services is more understandable, though inconvenient. However, I think you may be laboring under a misapprehension: You don't need to have a CI server to run tests automatically, you can have a test suite running locally and trigger it with a pre-commit hook (so you can't actually commit if a test fails).
Our designer was someone that my co-founder had worked with before. And thanks for the tip about price sorting.

We don't list any hotels with a score lower than 60, which means every hotel is a quality hotel.
Same here. For the record I think Rx is a lovely piece of work (as is LINQ btw). I can't think of anything I'd change in the bits of Rx that I've used so far.
Apple found a way to make their customers (including potential government customers) happy, and at the same time they have reduced the number of used iPhones on the market. This is a win for everyone except people that want an iPhone but don't want to give Apple money, and no one cares too much about their opinions.

I want an iPhone, and Apple has a huge financial incentive to make it harder for me to get a used one. If a used iPhone isn't significantly cheaper then I will buy a new phone and Apple nets $300 instead of $0.
10 yr. old graduates high school
Digging Deeper into DevOps on CMcrossroads
4 Page Guide to Core Data
this is very nice. im literally in the middle of booking a few weeks in greece with my girlfriend. trying to figure out the hotels on the different islands is a pain in the ass. will give you more feedback after using it a bit more.
Quick Guide: How to Use Core Data for Your Next iOS Project

In my last iOS project, I decided to use Core Data by Apple. My goal was simple: to store some data in my iOS app and be able to perform CRUD (Create, Read, Update, Delete) operations.
While there are long guides on how to properly use Core Data, I thought none of them gave me the information I needed in a concise and accessible way. If you are exploring Core Data for your project, and you have some background knowledge of database interfaces, I hope this 4 page guide gets your application up and running in no time.
I'm doing that with an old project of mine right now. It's mind-blowing..
I wish they continued to teach it through out High School too, since there seems to be a significant misunderstanding of how science actually works.
This is one aspect of Mass Effect's lore that I particularly enjoyed. They took heat into account when building the the Normandy - a stealth frigate.

It's a "stealth" ship because of two major things. Its hull's ability to deflect or absorb radar waves, and its heating/cooling exchange which was built in such a way that it can absorb heat into internal heat sinks for a limited amount of time, while cooling the exterior and engine emissions in order to reduce IR emissions.

With the stealth systems functional, you would have to find it by sight, which is hard to do.

They even discussed how the simplest way to disable many civilian craft was to disable their external emissive heat exchangers, since without them you couldn't run your engines for fear of cooking everyone inside. Warships had "tiger stripes" to limit the effect of losing one emissive surface would have on the ship's effectiveness. They also had methods of dumping massive loads of heat by ejecting molten salt (with an magic^w magnetic field collecting the cooled salt near the tail of the craft).
I don't think regexp support has a lot to do with being "stringly typed". In fact, regular expressions are one of the best tools to avoid that antipattern in scripting languages, because they allow you to easily analyze string input and construct an internal representation from it. I think it's more that most of the scripting languages originally grew around the task of text processing (e.g. as system scripts), so their facilities for dealing with text are great. Languages like Java, C#, Go, Haskell, etc., had more of a focus on general computing.
Yeah, that's so weird! We've heard that from a few people. We're currently looking into it. Neither of us can find any history of the domain being used for anything adult or porn related. So strange.
Am I the only one that finds this sort of thing rage-inducing? Hooray, the art of filling my inbox with spam has been advanced. I know the standard defense: "Oh, but my SAAS startup is totally different. People want my product, they just don't know it until they're part of our sales funnel" or "Yeah, but we only send out emails to people that signed up and then stopped using the service". The simple fact is that these types of "lead capture" strategies are just more effective spamming techniques. That's what your emails are. They're spam. If your business relies on emails to generate leads, then guess what? You're a spammer.

>some folks like to hide behind GMail or Yahoo addresses rather than using their work/professional address.

Gee, I wonder why? Is it perhaps because their work/professional address is used to get things done and maybe they don't want a bunch of marketing bullshit impeding their productivity?

People like this are the exact reason disposable email services like slopsbox exist.
I wonder why he didn't donate the shares directly, isn't that simpler for tax reasons?
I had the feeling the end was rushed. Like the author stopped developing the story at some point and just gave it some end. So he went for a "hollywoodesque" end. I can live with that and since the follow up books seem to be bad, it's better then a crappy open end advertising part 2.
Easier for a single person to do. But with decent sized group you're going to find yourself having to establish all sorts of patterns anyway... which are exactly the patterns a framework provides.
The Future of WhatsApp.
I've been trying PyCharm for a few days. It doesn't do anything that emacs can't do (maybe refactoring, but that's on the list ahead), but it's easier to setup. If it's really a memory hog like people are saying, I didn't notice, and didn't look, and didn't care, my computer has enough memory.

Maybe it gets better with practice, so I'll keep trying a bit more, but currently, count me as unimpressed:

1 - About code inspection. Well, I fully understand that inspecting Python code is hard, and any tool will have either false positives, or false negatives. But PyCharm gets false positives to the extreme, it complains about not resolving Python standard functions (like open), and it can't find some libraries at my virtualenv. It's so full of false positives that I'm not sure I'll be able to keep reading them - I normaly can't stand code with warnings, but in PyCharm there is no other way.

2 - About formating. It fully enforces PEP8, the most completely enforcement I've seen on any tool (no I didn't try the emacs el for that). That's a good thing if there is an option to turn it off, what I don't know, because I didn't search for it yet.

3 - About refactoring. No, PyCharm, I don't want Django to change because I changed a function name in my code. Maybe there is a way to tell it not to touch some dirs, but the default settings makes PyCharm much less reliable and slower than grepping the old name and replacing it by hand. I'll try to find such setting when I get out of work today, but it's making the case of PyCharm being easier to setup way less appealing.
So does it compile JS to native code for each platform (I highly doubt) or does it utilize a JS interpreter in each platform? If the latter, does it ship the same interpreter or utilize one that comes with each platform?
Why bashing a company without even reviewing the project? It's like saying F# is terrible, because it's by Microsoft, and without caring to look into what F# is. Be fair! Even the crappiest company can come out with a decent project!
Nerd is the new cool...
Excellent comment!

The only thing I would add is that I'd presume that if space was popular enough to fight over, there would be several ships flying around on several different trajectories. Between the vastness of space and an abundance of hot targets, it would not be trivial to locate another ship, especially if warships were designed with this in mind.
I know! I would have used it if I would have known about it!

This is yet another "X is closing" post where X is something that could have been successful if they would have advertised a little better. =-(
In which case, you would simply get in touch with support and prove your identity and purchase some other way as my thinking is that this would a rare occurence, since receiving a faulty purchase pair using a card that has expired and you no longer hold whilst living at a completely different address is a freak event. Plus, couldn't you still use the expired card as verification even it expired?
Tech Isn't All Brogrammers, It's Still Nerds Building New Things
Definitely been that guy: http://xkcd.com/1053/
Great point, bvanvugt! Love working with the sendwithus team (and anyone who sends transactional emails should check them out).
How are regular expressions "random" and "application-specific"? Admittedly I do not have a source for this, but I'd assume that a large percentage of programs employs Regexes somewhere. Every major language has Regex support, often built-in [1].

Swift, among other things, aims to make things less verbose right?

[1]: http://en.wikipedia.org/wiki/Comparison_of_regular_expressio...
Is there a video of 'how' you play?
> You have a stealth ship, only detectable by occlusion

With engines firing, the ship would still be spottable from every angle except essentially straight ahead.

From every other angle, the gas/plasma/etc flying out of the cone would still contain the same amount of heat energy, just dispersed over a larger area. Anything more than a few degrees above absolute zero will stick out like a sore thumb, and you'd have to disperse the heat from a single thruster over thousands of square meters to get close to that.

That's where cheap remote sensor networks probably win. For the cost of your single "thermally stealth" warship, your enemy can likely afford thousands of cheap dumb probes that can spot you from many angles.

"Stealth" will probably staying cold as long as possible. An attack ship/missile could be launched on an initial trajectory from somewhere in space by kinetic (rail gun-like?) means. It then remains dark/cold for most of its journey, until it is extremely close to the target. At that point it could launch chaff/flares and close in for the kill.

Alternately (or complimentarilty? is that a word?) another effective strategy might be to park a bunch of dormant ships/weapons around the area you wish to attack/defend. Dark and cold, they'd be nearly undetectable... until they're needed.
As someone who has actually developed in NaCl and participated in that community, your statements have no basis in fact and sound completely biased against Google.

Out of the box, PNaCl is now the default toolchain. All the NaCl docs discuss PNaCl as the target of choice. The build target of the tutorials in the NaCl docs is PNaCl. Also, in the dedicated NaCL Google Group, the NaCl team has been saying for years that PNaCl would eventually be the default and preferred target for NaCl components.
It looks good. My suggestion for the "Explore"-Page would be a map or at least a way to sort alphabeticly. I guess the list is now sorted by the ammount of recommended hotels.
But these labels mean something to teenagers, and it doesn't matter if it's society's fault for creating these labels. Kids know who the "popular," "cool" kids are, and they know who the "nerds" are. Likewise, they know where they stand. And it matters to them, and it has an impact on them. The result will vary, of course, and there will always be exceptions. So the study is asking "what happened to the kids who their peers considered 'cool' or a 'nerd'?"
A Tale of Two Newlines: Carriage Returns, Line Feeds, JavaScript Hair-Pulling
If a programmer can't learn new ideas after learning poor ones, they're in trouble. Even pg started with BASIC.
Thanks for letting me know. It looks like they opened it again. :) I just registered
Super offer. I do note the OP's dad is somewhere past 55 and by the looks of it you are quite young so your story may not transfer. Thank you anyway :)
Ive been using this software in beta for a few months. Its a great option if you're already paying for LTE and cable/fiber (and who isn't these days).

Users in areas with only DSL or 3g can also take advantage.

In addition you get a vpn-like location picker for those of you watching BBC or Netflix in restricted regions.
There's a little imposter syndrome in everyone?
OpenVR: Building an Oculus Rift for only $150
Rotor: open source embedded multi-core processor
Are meetings more creative without chairs? Research says Yes.
This is the second time you submitted this. Deleting than resubmitting a Show HN is against HN guidelines.
I came to the same conclusion when I implemented it in Mithril ( http://jsfiddle.net/qQ59s/ )

The way I thought about it is that a temperature conversion model entity needs 4 API points (get as °C, get as °F, set as °C, set as °F), and you want the canonical precision to be bound to the latest modified unit of temperature.

The "mathematically correct" approach would get pretty complicated with a fraction library and value objects, but given that the output of the conversion cannot always be expressed as a decimal on the UI in the first place, and that the weight of the "correct" solution far outweights adding a second storage variable, we can make an engineering decision to simplify the implementation while staying correct enough for the purposes of the example. In fact, the vanilla JS implicitly does the exact same thing by storing the canonical precision in the last modified field's `value` attribute.

Typically, you'd want to store the result of a computation when setting anyways, since re-computing them on every read can be expensive.

In code, this simply means that you store the latest modified value as-is, and store the imprecise computed value for the other unit of temperature:

var Temperature = function() {
this.setCelsius = function(c) {
this.celsius = c
this.fahrenheit = 9/5 * c + 32
}

this.setFahrenheit = function(f) {
this.fahrenheit = f
this.celsius = 5/9 * (f - 32)
}
}

var t = new Temperature
t.setFahrenheit(2) //we want 2°F to mean 2°F, not 1.999...

As a related note, it's kinda curious that some of the implementations end up having slightly different semantics, specifically in order to fit into their frameworks (and an implicit desire for terseness), and sacrifice code quality (in terms of logic encapsulation, computational cost profile, etc.) to achieve that end.
NukeMap – Drop a nuke on a map
It could be less specific as a raw string literal, like python r"".
A web component to show a profile-card for your GitHub account.
The startup world rewards success through any means necessary, unfortunately.
Ask HN: Ask for credit card at the start or end of free trial?
Hi HN, we're developing a new analytics tool for app developers which uses paid plans, each with a free trial.

Any recommendations on whether to ask for credit card at start (required to begin) or end of trial period? Or what criteria to help us decide.

ps - yes we can test it but won't have enough statistically significant traffic for a while
What do you mean? Deep down no one actually thinks they are cool? In both my high school and grammar school there were kids who were self proclaimed 'cool'. They were seen as such too. I don't think this was out of the ordinary.
> objects that like a hostile ship are dark,
> drifting, and small.

A ship that is actively maneuvering or accelerating to tens of thousands of miles an hour would put out a considerable bit of heat.
Who you are in high school doesn't define you.

But it does for a lot of people. I know people who have the same friends from HS, listen to the same music and generally act the same way. They graduated HS, but never really left the mentality.
This is often a returning topic here on HN where most users probably work in startups and/or companies with consumer facing apps. Those would want every platform to have the look & feel of the platform you're running on. Although... Seems the new version of iOS Skype is WP8 styled and feels a bit alien on iOS while it's not unpleasant at all. So not sure if I agree always. Anyway; if you have apps for internal use or use with partners, it is actually often better for the apps to be 100% identical on all platforms as that will save tons of support calls. That's why a lot of companies just do iOS first, design it for that and will make the Android version exactly identical. To save time there, often HTML5/Cordova is used for that by internal departments / IT, but I know you can make MUCH nicer apps in the same / less time if you use Xamarin (Forms or Metaframe) (or maybe a solution like this) (although I cannot imagine IT would pick JS over .NET or Java, ever).
Mmmm...we had 3 million people hit our website in the past few years. It wasn't a problem of getting customers, we needed to keep them better.
PF Chang's Chain Confirmed Credit and Debit Card Breach
Apparently the correct name is 'covers' (See mattmansers comment below). I wasn't familiar with the terminology but the math still holds as far as I can see. Just replace 'bookings' with 'covers', so depending on the average table size 5 reservations sounds about right.