skysight-inc/HackerNews huggingface dataset:
You can see the number of imports and import graph on godoc. I don't see that on crates.io. You can also see if it's a fork on github.
What is on crates.io link that is missing on Godoc? More colours?
The package author chooses how much documentation is necessary for a given package. Given that html/js is a mess I expect more documentation to figure out how it works. Here is the godoc of a package with more text if that's what you are looking for
http://godoc.org/google.golang.org/appengine/datastore
On top of this the documentation is source code so you don't need a bunch of other fils to keep the documentation in sync.
Wait? Same guy built Turbo Pascal, Delphi, C# and now Type Script? First three is the list of languages that make me feel at home when I'm doing desktop development. Yet another reason to seriosly try TypeScript with default tooling if it's comming from this guy. His work is beacon of sanity in tangled world of software development.
Apply to StanChart to work on the Cortex team. They are always hiring. At the very least you will come away knowing what you need to know.
GWT came with a language that has a poor type system for JavaScript's needs.

Closure Compiler types are/were too verbose. It didn't support most module systems until this year.

Dart didn't provide an easy interface to existing JS libraries. Everything goes through a very cumbersome FFI. Also the only "tooling" was Eclipse.

TypeScript comes with a structural type system (with generics) designed exactly to fit existing JavaScript code perfectly, as well as a type definition scheme for existing code, as well as support for all current JS module systems (ES6, CommonJS, AMD). The tooling also comes in the form of an embeddable language service.

It succeeded because its a type system for JS, and not a compile-to-JS language for another ecosystem.
It's those transferrable skills, yo. In general, a liberal arts PhD will be able to work independently with little supervision, plan a course of work and make headway without much feedback. In general, they can also communicate effectively through text.

I totally get that people don't want to leave their speciality, but the PhD will normally give students a bunch of skills that are hard (but not impossible) to get elsewhere.

I have a psychology PhD, and now work at a tech company (I always loved stats, and discovered coding during the PhD due to laziness, so may not be a typical case).
Not-so-clever smart contracts
Sort of, and sort of not. A nice summary of different techniques from 2010 is here: http://spectrum.ieee.org/energy/environment/eight-technologi...
A 'secure:' scheme sounds good, but I don't see how would it solve (1), (2), (5), (5.1) and (8); the scheme can't protect you if the attackers can switch it out or send the user to a domain they control.
Shared Space: Balancing Astronomical Ads, Artificial Lights and Starry Nights
Literal Streetwear: ‘Pirate Printer’ Lifts Patterns from Urban Objects
Again we're in a sad state when people with tools at their fingertips can't see them and think if Google doesn't offer a blog service, there is nothing they can do.
That's such an easily solvable problem that I wonder why people even bring it up. Just distribute all the extra profit from the water sales equally among the population. The poor will get a check more than large enough to pay for the increased cost of water.

Alternatively you could just subsidize water use up to some threshold and then charge more for every additional gallon.
Their counterparts in Syria fared much worse ... the wells ran dry and Syria’s farmland collapsed in an epic dust storm. More than a million farmers joined massive shantytowns on the outskirts of Aleppo, Homs, Damascus and other cities in a futile attempt to find work and purpose.

To what extent the current situation in Syria influenced by environmental changes, I wonder?

Unemployed farmers -> Social instability -> Civil Unrest -> War?
Ha. This was an odd thread to read, the averages just aren't averaging out.

Try living in Cape Town. Before Uber arrived here taxi drivers were straight up extortionists. I mean that in the literal sense. I used to have to pay anywhere for R100 to R150 minimum. Uber now averages about R50 - R60, and the experience is a pleasant one.

So with my other side of the world experiences in mind I can see how something similar might happen elsewhere, such as Boston.
At some point the choice is going to have to come down to not people.

Or at least fewer of them.
Kotlin does have trailing closures: https://kotlinlang.org/docs/reference/lambdas.html#higher-or...

And some form of pattern matching via the "when" keyword: https://kotlinlang.org/docs/reference/control-flow.html#when...
"Taps" == municipal water supplies.

That is: Not ag.

(Ag water generally comes from canals, irrigation districts, and in some cases pumps or aquifers.)
does TS2 fix this?

function uhoh (x:string|number) {
if (typeof x === 'string') {
return x.length
} else {
return 'bar'
}
}

const a = uhoh('foo') //= string | number
const b = uhoh(3) //= string | number
Tokyo, interestingly, has about the same nominal GDP as the whole of India.
Yes, but it may destabilize the economy. The price may go up by such a degree that a significant percentage of the population can no longer afford food, which may lead to social unrest.

I'm not sure if your attitude, that supply and demand fixes everything, is the most probable outcome.
As a package user you could use your own git mirroring server or just use a fork. Even simpler just vendor it and you are safe from package removal. On the other hand a central distribution model is more problematic. As package author I want a certain degree of control over my code. If crates.io gets compromissed or is down everyone suffers. If crates.io received a DMCA(happened on npm) my package can be removed. I put some effort into that package so if for some reasons I want to remove it it should be my choice. Why do want to keep it hostage if it's not yours? I though at leat Mozilla learned that distributed is better than centralized. Do you want a place to find all the rust packages? Make a search engine(see godoc.org). Less is more!
Preferences are just that: preferences.

Manner of interaction is subjective, and pandered to, by tendencies reinforced by operant conditioning cues.

Just like linguistic creep mutating dialects, so too with tendencies to interact with affordances in certain ways. Someone from another country doesn't know how thick their own accent is.
I haven't used Typescript either, but some of the differences are self evident to me. myFunction(x) can be called with any argument type; tooling can't detect an inappropriate type and output a warning/error(?), so you get to find certain mistakes the hard way; at runtime. "foo"+1 might make sense, but "foo"/1 is garbage, silently propagating 'undefined' up the stack in conventional Javascript, costing time and money for everyone. The user of myFunction(n: number | null) is provided with a meaningful signature during development, this saves time by providing precise information in a concise manner. Those of us that have spent time with statically typed languages and good tooling know what a blessing this is. The Typescript variant offers the possibility of a performance optimization; x+1 might compile down to a single instruction, as opposed to whatever runtime type check has to be invoked when the type of x isn't/can't be known at compile time. I don't know if that optimization is 'real' in practice given our contemporary javascript/typescript stack, but you can bet it will be eventually.
It's the classic "not invented here" syndrome, but on the level of languages. It's not enough to be able to have strong types in Javascript, they want people to stop writing Javascript, scrap the entire ecosystem, create all new browsers on every platform, and only write in their strongly typed language that's just as flawed as Javascript.
That's pretty standard in emerging water markets, the chlorinated water was actually most likely not the recycled one (you do not chlorinate water that is not near drinking quality, if you do it to unfiltered reclaimed water you create really nasty chemical reactions), it's most likely water that has been collected or transported at least partially in open air systems and the chlorine is used as a antiseptic.
The drinking water is the higher quality water that has been treated and is transferred in a closed system with higher quality control, while the water used for lawns is most likely the reclaimed water.

When you can reclaim most of you water and ensure quality control throughout the system you simplify it, have one water feed for residential use, and usually another for agriculture and industry.
Reclaimed water even drinking quality is usually not put back into the tap because the cost of ensuring water quality make it unfavourable, it's used for agriculture and industrial uses, when it ends up again as drinking water it's often as filtered bottle water simply because you can then transfer the cost of the additional water quality control to the industrial users.
People frequently discuss exponential population growth, but rarely mention the terrestial confines of such thinking.

Then they say, oh but technology will continue to advance, and yet never mention pioneering space travel.

I feel like economists that extrapolate numbers into the future, but fail to consider space travel are like holy men, refusing to consider that the earth is round, and rather than the imaginary center of a flat universe; doomsayers, warning that we'll sail over the edge, if we venture too far out to sea.
It doesn't really matter whether Google was "in the right" or what the backstory of this case is. It's also not a question of bringing this to the attention of the "right" people at Google. This is an issue inherent to the entire system. The problem is that people entrust their work and often their entire public persona to entities that are guaranteed not to act in their interest.

I don't even think this is about access to decentralized alternatives, after all if you devote years of content to a platform you can probably manage to go through some technical setup pain. Gmail, Blogger, Youtube, Twitter, Facebook - there are self-hosted alternatives out there to all of them, but the big trade-off is that content creators have to shoot themselves in the foot on discoverability if they opt out of the big platforms.

Either at some point we will collectively wise up and re-decentralize or we'll go further down the path we're already on. Our lives ruled arbitrarily by DRM and ToS. I do recognize that I'm personally part of the problem, it's really hard to opt out.
https://en.wikipedia.org/wiki/Cochabamba_Water_War
To amplify your point, excepting water, the San Joaquin Valley in particular has the best climate and input factors in the possibly the world for producing high value crops at low cost and low environmental impact. If we could supply another 50-100M acre feet of water to the aqueduct system amazing thinks could happen.

My quick calculation is the biggest of these desal plants would only feed 25,000 acres of almonds. There are 1M acres +/- of almonds in California, if we wanted to double nut protein production in California (the leading global exporter of almonds) you would need about 50 of the plants described not just three.

Who wants to build the giga-desal plant to feed the Clifton Court Forebay?
This SciAm article lays it out exactly as you do.

http://www.scientificamerican.com/article/climate-change-has...
I'm one of two ex yahoo engs who integrated Summply summarization algo into Yahoo home page. More specifically it was (is?) a large personalization platform that would carefully pick which news to show you and in what order. It only took us a couple of days. It was mostly invisible for an outsider because Yahoo already had a decent summarization algorithm, but was a clear improvement.

While I don't know if all these dictionaries and calibrated weights of parameters were really worth $15M, I'm positive that such an IP was major reason of the acquisition.
Haruskah Messi memilih manajer Argentina
A better bottom-up strategy is one based on assurance contracts. Some scientists might not be willing to immediately part with Elsevier because of other constraints. But they can publicly declare a promise: if scientists X,Y,Z (perhaps their direct competitors, or the editorial board of a journal) promise to not work with Elsevier, neither will I. Scientists X,Y,Z might then have their own promises. If these promises are recorded publicly, that can start a growing movement where today no one has to do anything, but in a few months or years a lot of people have no disincentive not to work with Elsevier.
I think the author is using "wildcard" in general sense of "any value you fancy" rather than a "wildcard certificate".
Efficient Guttering
Do you prefer :: instead of / ? Btw go doesn't use URLs, just domain and path (e.g randomsofr.io/pkg/subpkg )
You may already be aware of this, but it's semi-fixable in TS1:

function uhoh (x:string|number) {
if (typeof x === 'string') {
return x.length
} else {
return 'bar'
}
}
function uhoh (x:string): number;
function uhoh (x:number): string;

const a = uhoh('foo') //= number
const b = uhoh(3) //= string
A particular band's music [1] is not a public good paid for largely out of taxpayer money. Private enterprise can do whatever it wants to do, as long as it is not actively hurting anyone else.

[1] Music as a whole is a public good, but any one band forced out of business does little to diminish this public good.
So skip seven appointments to discuss your multibillion tax bill with the IRS, and Obama will still come share the stage with you at a conference. Good to know.
Yeah, it's to the US's credit. It doesn't hurt that every corner of the world has an English speaking country, but it would never have taken over if not for the rise of the US and the decline of Germany. English's position would probably be far different if the world wars never happened.
I'm using a GQ GMC320 this week and it's app is surprisingly bad. It even uses the 16bit window sytle, which I didn't think possible.
> losing all agriculture would set California's growth back about 2 years

This is a superficial analysis. It assumes that California's agriculture could be easily replaced. Not to mention that whatever replaces it may face the same issue with desalination. In actuality the entire country is dependent on California agriculture to a large extent and "The loss of California’s output would create a dire situation for at least a decade."[1]

[1] http://www.slate.com/articles/health_and_science/explainer/2...
Individual shells probably aren't that powerful but there are also absolutely huge explosives at the end of tunnels which were intended to be exploded and destroy enemy trenches. Googling brings up this article about a 50,000lb tunnel bomb under a field in Belgium: http://rense.com/general47/50000lbWW1bomb.htm
They're right, supply and demand fixes it - you price out the poor people, they die, then demand is reduced.

Capitalism usefully values human life at circa zero when resources are limited, or when there are lots of humans available to feed in to your luxury goods supply chain.

See, no problem.
I don't know about TS, but in the main competitor, Flowtype, you can give uhoh this type:

uhoh : ((x : string) => number) & ((x : number) => string)

And get what you expect:

const a = uhoh('foo') // : number
const b = uhoh(3) // : string
why is the crossfader disabled?
Fed Govt Pleads with Indonesia Over Execution of Nigerians
Well for one the line shouldn't really be one of the first bits of advertising for the book if the author also knows it's wrong. The second example is taken from the GitHub repo for the book though, and is exactly the same type of error.

> you probably deterred people from buying it.

Quite possibly, but I think with good reason. I don't know what's in the book but I'm concerned it won't contain things like a discussion of what whitespace is and is not, how to decide what you should do for your data and when isSpace might not do what you really need. I can't review it properly but at least one bit of code in the repo looks dangerous and one bit on the website looks dangerous.
> many who hold that view of non repetition have leanings that are favored by soft sciences. They dont feel the "need" for repetition even in hard science.

Really? You're suggesting that psychologists (to arbitrarily pick a softer science) would deny physicists (to arbitrarily pick a harder science) should reproduce their studies where possible?

That seems remarkable to me, perhaps I've missed these discussions. Can you provide evidence that this is a pervasive movement in some sciences, rather than the opinion of a few?

"Many" is a trigger weasel word, of course, and needs backing up.

My interpretation -- perhaps incorrect -- is that you feel the softer sciences are wilfully undermining the quality of harder sciences. I very much doubt this is the case. Some philosophers of science and some softer science key influencers may introduce difficult and challenging questions about the appropriateness and usefulness of some research methodologies (as are people in this thread) but I doubt they'd make the blanket assertion you're suggesting.
The Long Chase
Cambridge Method System REVIEW THE TRUTH
How to design parabolic, hyperbolic, elliptical reflectors for 3D printing
Your first solution sound like it would just inflate prices.

Your second doesn't appear to account for any cost increases except for directly used water.

This approach seems rather over-simplistic.
Top best mechanical pencil in the world
Dude, stop shilling for taxis.

4/5 people under the top comment have said they lived in Boston and taxi service was terrible. 1/5 people is defending it all over the place like they're getting paid to...
What do you do with the extra time?
While a compile can't enforce APIs, the ABI generated by compiler.
Is this mandatory nowadays? I mean it's nice that PS (and even Pixelmator and Affinity) have that, but I did design work many years ago and managed fine.

Sure it will be more inconvenient, but it's doable.
It's the same as noting you can more quickly calculate 19x21 by noting it's equivalent to 20x20 - 1. This ghostly term is the -1
If you mean investigating the corrupt for corruption then I'd say that was closer to legitimate democracy than a coup.
Not OP, but he said "device"/"router", not many of those run Windows 8.

FWIW I do the same, also use that host file at the border router and yes the difference is quite big. I'm always shocked about the extra adverts I see when using a computer or tablet outside of my own network.
It'd be unusual for GCHQ to leak that kind of thing.
How to Snag a Cheap International Business Class Fligh
Scala compiles to JavaScript, to the JVM, to Android, and (soon) to native. Give it a try!
I recommend you try the JavaScript backend.

I'm so sick of people spewing JetBrains' marketing points without checking the substance of it.
pretty much the route i went.

review when asked. promote sci hub at every opportunity.

in fact sci hub is reaching the point of reliability now that university libraries could loose journal access and no one would notice or complain. since its easier to just stick the id in sci hub than check the library its becoming the default choice.
I don't know the specifics in Turkey, but academics elsewhere are often expected to be the front-line defenders of free inquiry and equality. This is because free speech, free thought, etc. are necessary to do honest research.
Or, the amount of drunk drivers is so small that whatever number Uber takes off the streets doesn't make a statistical bump. The p-value hit the threshold for DUIs and deaths, but not for alcohol-involved accidents.
The UK also has terrorism concerns, originating from the IRA days.

But they didn't abolish trash cans (or better, they replaced them with a metal ring and the bag stays visible)
Sort of. I tried the above and it reported the following error message:

error TS2354: No best common type exists among return expressions.

So at least it detects the problem. However the type inference algorithm should arguably return a union type here.

I find it good practice to always specify the return type of functions anyway. Then it will pick up cases where you return a type you didn't intend to; instead of just using a more general type it will tell you about the inconsistency.
10) Reading fiction from a good writer

anything you can recommend ?
> Just about all high-energy industries that don't use up limited resources are sustainable.

This is an odd statement. Don't most high energy industries use fossile fuels? Such fuels are non sustainable.

We are not yet at the point of such plentiful sustainable energy deployments that we can separate the notion of power utilization from source. High levels of utilization, in absence of specific plans to create sustainable energy supply, must be assumed to exploit non sustainable sources.
A very happy way to live as a Javascript coder is to avoid the `this` keyword, in my experience. You really don't need it. Instead write this function as

(x, y) => Math.sqrt(x*x + y*y)

That can never have any state bugs, because it's a pure function (just like you can never have type errors with a sufficiently good type system).

And you might be interested in the native JS function (since ES6) called Math.hypot. Happy hacking :-)
I'm not the best developer but I never had any issues during interview except when I didn't want the job. Damn I'm even stammering but still looks like it goes well most of the time.
Big note, I'm from the EU, interviewed in France and UK (London), none of them had big technical steps like in the US (from what I read here), nor a billion steps.

Why? I think (I didn't analyze anything) that is because I'm just being myself. I talk to the interviewer like it's a friend. If I think of a joke I just say it. Thoughts like "will be it ok if", "should I say this or that", etc NEVER cross my mind. I'm having a conversation, not a test.
Same for technical stuff, if I don't know something I just say I don't know. Hopefully I still have an idea, so I would say something like "I don't know this / never used that, but my first guess would be X", then usually it ends up being a discussion that at the very last would teach me something, even if I don't get the job.

That being said, I understand it's hard to do stuff like that if this is not your default mindset and you are being close to desperate.
Just curious, this looks like some already supported feature of nginx, only that it's supported through redirection. Is this a redirection too or a protocol change? How will that be reflected on the address bar?
That theory strangely fits in with a lot of religious myths quite readily though.

I grew up in a religious household and even as a kid, I couldn't help but draw parallels between current technology or science fiction and religious icons or events, before I even knew the name for that concept.

For example, in Islam the Quran mentions a steed, made of light in some tellings, whose step takes it to the farthest point within its sight.. [1]

A craft that travels at/near the speed of light?

They also have the concept of seven skies, or heavens; could it be seven planets known at the time?

What about the different orders of angels in Christianity, flying beings (again made of light in some versions) each having an increasing number of wings?

And of course there are already adaptations of the story of Atlantis as an alien mothership that crashed into the ocean and eventually sank.

In any case it's fun to think about.

[1]: https://en.wikipedia.org/wiki/Buraq