skysight-inc/HackerNews huggingface dataset:
Well...

> OpenTravel provides a framework where all companies in the electronic distribution supply chain can work together toward the common goal of creating an accepted structure for electronic transmissions using XML messaging. This enables suppliers and distributors to speak the same interoperability language, trading partner to trading partner.

Had you not explained, I would never imagine this is about hotels.
What's the way forward for Medium? At first, these types of partnerships seemed promising.

Now they tried the Medium memberships, and that doesn't seem to be catching any steam.
I understand that it likely "won't matter". My point was to ask if it was worth talking about outliers to the Never Rewrite law.

eg it's assumed when talking about refactoring over rewriting that a large portion of features is working. There should be some percentage where it's worth rewriting over refactoring. Or perhaps a size where it's small enough to easily rewrite.
I've been using https://github.com/sindresorhus/pify which is… also a different name but a similar one
Call me back when Penrose convinces a well-regarded quantum physics expert. At that point we can call up Scott Aaronson and ask him his opinion, as Aaronson is an expert on the intersection of quantum physics and computing.
Compiler Optimizations are Awesome
Building Relay Modern
"gravity plays a role in wave function collapse that will pose serious questions for the Church-Turing hypothesis"

Says who? Penrose is blacklisted, cite someone else.
This just motivated me to play around a little bit with JS async/await implementation. What I found interesting is that async functions will always return promises, even if an immediate value could be returned. Like for example in the following function:

async function getFromCacheOrRemote() {
if (random()) {
return "Got it";
} else {
await DoSomethingLongRunnning();
return "Got from network";
}
}

The function will return a Promise independent of which branch is taken, although it could return a string for the first branch. Does anybody know the reason? From a consumer point of view it does not matter if the consumer uses await, since await accepts both immediates and Promises. Is it because always returning promises is more convenient for users which use Promise combinators instead of await and less bug-prone? Or does it maybe even benefit JS runtime optimizations if the returntype is always a Promise - even though the promise in both cases might be of a different subtype?

For most applications it probably doesn't matter anyway. However returning and awaiting immediate values eliminates an allocation and eventloop iteration compared to using a Promise, which is helpful for high-performance code. This is why C# now introduced custom awaitables and things like ValueTask<T>.
If Scratch is going well and your 9-year-old is enjoying it, then I'd stick with it. You've already won half the battle. I just searched for 'using scratch for games' that returned a lot of interesting results. This is one of the results that looks like kids would find interesting: http://www.programmingbasics.org/en/downloads/scratchgames/
> Semver is marketing, not engineering.

I agree with many of your points, but that casual dig at semver is unwarranted and reveals a misunderstanding of the motivation behind it [1]. Semver defines a contract between library authors and their clients, and is not meant for deployed applications of the kind being discussed here. Indeed, the semver spec [2] begins by stating:

> 1. Software using Semantic Versioning MUST declare a public API.

It has become fashionable to criticize semver at every turn. We as a community should be more mindful about off-the-cuff criticism in general, as this is exactly what perpetuates misconceptions over time.

[1]: https://news.ycombinator.com/item?id=13378637

[2]: http://semver.org/
Takes a look at the code... logAppendResult almost same as logWriteResult...

Well, who are we to deprive you from the joy of writing lots of boilerplate code?
Doubly interesting given that, unless they were fighting for the ownership of a gym, there were no "same" invisible creatures - each player has their own Pokémon spawning, and that state is not shared between players.
This is so beautiful. Any plans to introduce Canada?

Also, one thing I really would appreciate is being able to find backcountry camping routes by km/mi length or by number of nights. Any plans for something like that? All I can seem to filter by is trailheads or campsites, but the route is really the important thing.
triple negation? Surely this isn't needed...
What's interesting is that this is not a new issue, nor is it the first time it has been raised (see http://money.cnn.com/2016/07/08/news/nato-summit-spending-co... from last year), yet Trump is apparently the bad guy for mentioning it.

I think a very spirited debate can be held over the need for the United States to spend as much as it does on national defense, but I'm hard-pressed to imagine how one can defend the financial dereliction by many of our NATO allies.
I guess a similar level of movement isolation would probably be required for all those repurposed oil rigs and maritime-oriented machine rooms that anticipate taking advatage of sea water as server coolant.
Ask HN: Does a desperate situation always give rise to a bad job offer?
I've took what some people have referred to as "greedy path choices" in my career. Greedy as in an algorithm that favors the shortest route.

That doesn't set you up usually to find the best offer because you're thinking more reactively than proactively. And it adds a higher risk of ending up in a no-job or low paying job situation. But is it really possible to set yourself up for a good offer when you can't afford to be picky, when you have no income or money saved?
Mysql for some reason still lacks:

* uuid type

* datetime with timezone

* storing (and retrieving) the view definition as it was defined with comments, formatting, etc

* using the same temporary table multiple times in the same query

This is not an extensive list, but are things that bite me every day with mysql.

Even though it's not query cache related, I wonder why such basic features are still missing and what are the plans to include them? They sound much simpler and more important to add than adding a nosql protocol to a sql database.
This is pretty cool.

The second word I clicked was "cant"....and about half I saw were
typos of "can't", so, there's some bad data in there if you're trying to learn standard english, but it's good data if you want to understand things people actually write.

Anyway, time to go through and add some apostrophes to a few articles. :-)
Webpack 2 with Semantic UI Theming
> no malicious intent against the user

Lots of malware doesn't have malicious intent against the user. Like botnets for DDoS attacks. Those things generally don't have any noticeable impact on the user, aside from increased network usage, but do immense damage to their targets.

I agree it's different than typical malware. As for considering ad tracking malware, the term "malicious" is obviously open to interpretation, so yes, you could make the argument that that is malware. You'd just have to convince others this meets the criteria for maliciousness. I've certainly heard people say that DRM software is malware.
This seems like a good idea to me.

Nitpick: the captions under the checkboxes are very confusing because they're written with double negatives. "Users that have NOT X will be UNable to Y" could be "Only users that have X will be able to Y".
> In conclusion, regulations destroy innovation and the development of industries

Let's go back to using leaded gasoline then, shall we?

And we should remove all nutritional labels from food packaging.

Safety ratings for automobiles are clearly a waste of time and are holding back innovation.

Restaurant health inspections, also useless.

And I'm sure building codes have nothing to do with the fact the we don't really have earthquake deaths in the U.S. anymore.

And so on...

Of course, not all regulation is effective, and some probably ends up doing more harm than good. But we shouldn't throw out the baby with the bathwater.
I already read through https://en.wikipedia.org/wiki/Penrose_interpretation when I was trying to figure out what nonsense you were spewing. The article does not mention the Church-Turing thesis, hypercomputation, Gödelian incompleteness, or the Lucas-Penrose argument.

People can be known for more than one thing. Those two things can be unrelated, even if they're in the same field.
App Store mints more $1M publishers than Google Play
I think you are mixing two different discussions.

1) AI is not there

2) Human ingenuity is necessary.

With regards to 1) of course it's not there yet. But the progress is astounding and quite a few things will be possible even before we get to strong AI.

With regards to 2) already today there are several areas where technology is better than humans to detect mistakes. In fact we use computers in many cases to test our work. This is an increasing trend and will result in end to end computer design and implemented solutions.
In short, yes. And there's currently an ongoing arbitration between Google and Levandowski separate from this suit.
Nadia Egbal (github) has a great list of financial strategies for open source:

https://github.com/nayafia/lemonade-stand
There's a subscription link at the bottom of https://buildmyvocab.com/
> Uber can't plead the 5th as it's not a natural person and it isn't be criminally prosecuted.

Uber can plead the fifth [EDIT: no, it can't, see note at end] (it applies not just to natural persons, and corporations are subject to criminal process as well), but a party to a civil suit pleading the fifth can have that held against them, and if you take the fifth you can't do it selectively, any issue you take the fifth on you can't offer any testimony relating to. Taking the Fifth would be essentially waiving a defense on key points, and civil suits have a preponderance of the evidence standard, not the criminal beyond a reasonable doubt standard, so it would be fairly easy for Waymo to prove points against Uber where Uber essentially surrendered the ability to defend.

EDIT: while the discussion of the effects of taking the Fifth in a civil case of this type are something I stand behind, the basic premise (that Uber could take the Fifth) is incorrect; the self-incrimination protection of the Fifth is an exceptional provision of the Bill of Rights in that it has been held to apply only to individuals, not corporations and other similar entities, under the "collective entity rule."
We have built the infrastructure to design out entire plasmids - within Pinecone you can build 'non-coding Cassettes' that include all sorts of expression components. You can build designs that include all the standard DNA expression components - promoters, terminators, recombinase sites, etc. as well as incorporate the proteins to be expressed. We have not focused as much on building out variation in the design of the expression systems, but it is something we are actively working on making nicer.

In general, at least so far, our customers have had their own plasmids they're used to working with, or the generic expression systems offered by the DNA synthesizers have been sufficient.
Are you trying to argue that being cheaper, lighter weight and recyclable makes aluminum a worse choice for a mass produced mobile device? Are you insane?
By my purely speculative opinion, only 4, 5, and 6 apply to televisions, and only 4 applies to refrigerators.
The printing of titles on book spines
If you used this at all, it was in a Chrome-only app; this is pretty far from mainstream.

A good rule of thumb seems to be to use what everyone else uses, and make sure you're always ready to ship another version. People expecting compiled apps to survive unchanged for years are out of luck.
There's a simpler answer: it's hard to make money on open source software. Relatively few projects can generate additional services sufficient to pay even a single author's salary.

Anyway I think the original question kind of misses the point of open source. The big driver for the growth of open source is that it enables users license-free access to large quantities of software. The folks that have made the most money off open source are companies like Facebook/Google that run their business on open source or use it to drive adoption of products they can monetize in other ways.
Very nice! Thanks for sharing!

Some words are not found: https://buildmyvocab.in/affinity

(Just a little correction there: does not exist*)
I have a nexus 4 that is battered, the back glass got broken a couple of years after I got it and I just taped up the back with black electrical tape.

My gf says I'm the worst geek she's ever known since I use a nearly 7 year old PC, 4 year old laptop and a 4 year old trashed phone.

So if my phone is an expression of anything it's that I don't replace things that still work.
So if I'm on a metered data connection, getting hit with would result in...?
My biggest lesson on software security
The Knife of Aristotle Isn't Just a Fake “Fake News” Site–It's a Cult
Assuming that roughly matches the due diligence documents.
This "unleashes Zalgo" and is considered a major anti-pattern when designing async APIs: http://blog.izs.me/post/59142742143/designing-apis-for-async...
Ask HN: List of things AI cannot do in the next 100 years
Hi,

I was wondering what are the list of things AI will be incapable of doing.

Would love to know your insights in this.

I would like to come up with a concrete list of 100 actions/ things/ service/ activity etc,. that AI wouldn't be able to accomplish.
Isn't that all ads, then? I mean, as an end user, which is more harmful to you - downloading a bunch of ads and filling your screen with them, or downloading a bunch of ads and not displaying them?

You are going to use more battery and resources actually displaying the ads, not to mention the worse user experience. If I had to pick between the two, I would prefer 'download and don't display' over 'download and display'
Given that the author isn't that familiar with Pokemon Go, it seems plausible that he could have gotten some mechanics confused.
Pinning tests can be helpful for scary legacy code! http://rick.engineer/Pinning-tests/
This reminds me a lot of a Radiolab episode: http://www.radiolab.org/story/david-and-wire/

I think of the Radiolab story as a cautionary tail, if you try to capture all the special moments, you'll end up preventing them from happening in the first place. Many (most?) people only feel comfortable being themselves when a permanent record isn't being kept. By trying to always photograph your kid, they may start to feel like they have to put up a facade all the time. I know I certainly would.
Citation needed!

Most of the time it's much easier to leave stuff in internal repos than doing the effort to review and approve stuff for publishing.
In principle it could. It depends on how much of this is followed by governments or interested third parties (through courts).

For example many countries started to require that mobile phone numbers should be transferable between carriers and mandated the carriers to build an infrastructure for this.
Yes, that's definitely a discussion worth having.

To me you can rewrite anything that:

(1) you fully understand (and you'd better be right about that)

(2) you have total control over already

(3) is small enough for (1) and (2) to be possible

(this is where I think a lot of people over-estimate their capabilities)

(4) where you have the ability to absorb a catastrophic mistake

(which usually isn't the pay-grade of the programmers)

and finally

(5) where you have a 'plan-B' in case the rewrite against all odds fails anyway

None of these are absolutes, if there is no business riding on the result then you can of course do anything you want. The history of IT is littered with spectacular failures of teams that figured they could do much better by tossing out the old and setting a date for the deploy of the shiny new system. Whatever you do make sure that your work won't add to that pile.

The older, the larger, poorer documented, worse tested the system is the bigger the chance that it is not fully understood.
Promisify is a super simple function to write yourself though.

const promisify = (fn, ctx) => (...args) =>
new Promise((resolve, reject) =>
fn.apply(ctx, [ ...args,
(err, data) => err ? reject(err) : resolve(data)
])
)
Trickle-down Workaholism in Startups
More specifically, the "specialized software" was TortoiseSVN, and the "downloaded over 14,000 ... downloaded 9.7 GB" was an SVN checkout.

An SVN client being used to access an SVN repository is hardly unusual, certainly not in the way insinuated by the wording presented.
Web P
The question to ask is whose interests are being served? Why has the United States funded NATO for so long? Like you say, it's not like this is a new issue. So what's changed?
Soldering? Soldering for electronics is almost all automated now, and with most electronics being surface-mount it's mostly done by stenciled solder paste and reflow. The exception is for the few remaining items that can't be done that way, such as when wires need to be soldered to PCBs (though here for high-volume stuff they usually use connectors because the wires can be assembled with connectors elsewhere, and then the wire harnesses simply plugged in during final assembly).

Are you talking about some other kind of soldering, such as for stained glass or plumbing? Stained glass with real lead and real glass is pretty rare these days, much more rare than high-quality woodwork, and mainly for hobbyists. Plumbing soldering is done with a blowtorch and isn't all that difficult, but worse, copper in plumbing is being replaced by plastic which doesn't use soldering, but rather press-fit connectors. So don't count on that as a long-lived profession either (the soldering part I mean; plumbing itself will be around as long as humans have biological bodies and need to use water for cooking, hand-washing, toilets, and bathing, it'll just be easier as new technologies replace legacy ones).
Complex Things Fail In Complex Ways: An Object Lesson
Interesting... I will need to figure that out. I've not seen that before.

The HTML for the page is just a formatted response from our API server formatted by Go's internal templating engine. The back button seems to request something differently somehow.

Thanks for catching that. More work :)
Well, I'm a driverless car developer (albeit for a very special use case, and definitely not in Yandex), please show me a decent "GPS/INS integration" which would be cheaper than, say, $1500 and would be of any use on the road and will be readily documented. With many sensors, the likes of Bosch make many good parts, but if you're not a giant auto maker, you won't be getting any documentation. And AFAIK even if you are a giant auto maker, Bosch will make the entire system for you, and you won't probably get access to implementation details.

Also, there aren't really any good high-performance industrial (dust and vibration proof) computers on the market, at least not to be bought easily. Please don't suggest NVIDIA -- starting with only a decent GPU is not an option, you'll need quite a few GFLOPs of general computing power to solve all that navigation, control, and, importantly, self-diagnostics.

By high-performance I mean at least a full four-core desktop i7 or Xeon, not some mobile CPU.

> Most of the hard problems today involve dealing with other road users.

The problem is, you won't get to dealing with those road users before you reconstruct the previous 20 years worth of technology in-house. It's not like there is some ready-to-use open source Stanley-level software.
It's not a DC, but Taipei 101 has a mass damper, and there's a video of it swaying during an earthquake. Really impressive how much that things moves!

https://www.youtube.com/watch?v=NYSgd1XSZXc
Do you need to be hired by somebody when you have $150M+ in personal assets? You could start your own company entirely self seeded with 100+ employees with that amount of money, and still have a lot left over as a safety net.
Why add apps content into web search results? Using a website is much more comfortable than installing an app, checking its permissions, registering an account etc.
I think that this is the big question! I actually started an auction site based on allowing EU users to resell their Steam games (and ios/google play apps) b/c I think due to the Oracle v UsedSoft ruling Steam users should be able to resell their Steam game keys. However, b/c there is no mechanism to transfer keys (or ios apps) between users, there wasn't much my startup could do.

There was an attempt in Germany to sue Steam to allow users to resell their entire Steam account(1). However, that effort failed. I think they should have pursued a case that focused on allowing Steam users to resell individual games. There may still be a court case that could be won that focuses on reselling the individual games keys between users.

I think in the EU though there could be some debate about whether games are considered "software". Only software is covered by Oracle v UsedSoft as I recall.

(1) https://theundisciplined.com/2014/03/20/losing-steam-is-used...
It is true, and I will try it for sure at some point. Thing is that I tremendously enjoy software development as well, so this idea is on hold for now. Going global asks for solving more problems like logistics, but it is certainly worth the effort.
How does the audio editor work? Is it just select and delet/move like in audacity? I found that workflow to be a bit tedeous, because I have to play and replay in order to find the spot I need to cut. So instead, I've started recording one sentence at a time using a FOSS tool I wrote for the job http://thobbs.cz/push-to-talk/index.html

I wonder if it would be possible to use some kind of primitive speach recognition to automatically detect sentence/word bountaries so that you could select words using the arrow keys like in text.

One problem that I have with my solution is that the different sentences, recorded at different times, sound different, and there is an audible clicking noise when moving between them. It would be awsome if someone were to come up with an algorithm to "normalize" or smooth over the audio so that it would sound like I had recorded it all in one peice.
What if this is a self-modifying code? Now instead of clicking ad now DoDDS? Malicious is basically bad intent. This is an unauthorized activity so it is malicious.
Very cool! Although I feel that sometimes you really need a human touch to make it truly comprehended. For instance, I random clicked on "antediluvian":

https://buildmyvocab.in/antediluvian/

Everything here will get you a "good enough" understanding of what the word means, but this is the only one that really comes close to explaining the word's literal meaning, and it's too vague to be of much use:

any of the early patriarchs who lived prior to the Noachian deluge

A non-native speaker isn't going to have any idea what "Noachian" means (a native speaker probably isn't either unless they can explicitly identify "Noah" as the root), and "deluge" is part of the root of the word we're defining, so simply using the word "deluge" without explaining what it means doesn't really help.

In short, this is a good groundwork, but I think it needs a human editor to push the individual definitions from "acceptable" to "correct".
There's a lot of cool stuff on here.

This project in particular is way neat.
https://github.com/fogleman/primitive

I think that project was posted to HN some time ago?

Ah well, certainly worth another mention. It turned out really nicely! The effect is almost, (is impressionist the right term?) dk, not an art guy, but it is super cool!