skysight-inc/HackerNews huggingface dataset:
I feel like this would actually be a good project for a rust re-write. I like to think of rust as c or c++ except with memory "static type-checking". That seems like a huge incentive.
Every JS code is a valid TS, since TS is a superset of JS.

You can benefit immoderately from compiling your existing codebase in TS; you'll probably discover some bugs, even before adding any annotations.
In general we've found that companies are using the icon rel for favicons (16x16 icons) which don't do a good job of representing a company logo at larger sizes.
I'm surprised this didn't get upvoted. This is another excellent example of the innovative spirit that drives the Valley!
Explosive power is pretty important though, and this would be a nice way to train it outside of campus boarding which gives you one movement on each side of your body. This gives an avenue for a lot of different movement, but then there are system boards for that as well and those are a little more "quantifiable". Maybe this would be a good way to mix it up of you're bored of system boarding?

I agree about being cautious about using this. It seems like a good way for new people to mess up their shoulders. The thought of hitting crimps that hard/fast is terrifying.

I do really want to take some of my friends who climb like Fred Nicole (super slow and static as possible) and make them use this though. Sometimes utilizing momentum is important. Sometimes climbing everything static is a huge waste of energy and is actually bad technique, despite being generally safer and better for training outright strength (as opposed to power).
If you don't have time to write a type definition file, there's always the fallback to any type. (I tend to start with any-typed things, see any as a TODO marker, and then fill in definitions as I have time, interest, or need.)

declare var SomeGlobal: any

declare module 'some-node-module' { declare var m: any; export = m }

Also, hopefully more npm package maintainers will start to add typings directly now that TypeScript searches node_modules.
We detached this subthread from https://news.ycombinator.com/item?id=10414748 and marked it off-topic.
> I'd appreciate to add some Flow type annotations. Typescript looks great but it's still not JS.

The Flow type annotations are almost identical to Typescript. There's one edge case around one of them requiring a space before/after the colon and the other not, but I can't remember what it is. I just tried running one of the Flow examples through the Typescript playground and it worked fine[0].

The biggest differences between Flow and Typescript are how you run the build system (`tsc` versus the Flow server) and the file extension you put on the file.

[0] http://www.typescriptlang.org/Playground#src=%0A%2F%2F%20htt...
haproxy can be configured in so many ways. Without providing your haproxy config and testing environment these numbers won't make sense.

For example, configure haproxy with tcp splicing, and now you eliminated all the userland/kernel copies between client/server, and haproxy goes as fast as your kernel + network IO can go.
CAs are CAs because they established themself. Personally I don't trust them because they are susceptible to MitM attacks & government intervention attacks.

Some Mesh Networks & protocols like the Tor Browser use an IP derived from a public key.. so you're absolutely sure that who you're talking to is who they say they are.

Why can't we have our cake (long distance electronic communications) and eat it too? (encryption & assuredness of identity)

Celebrating "trustedness" of LetsEncrypt only perpetuates the belief that CA is working fine.

EDIT: See below discussion by other posters
They had (have?) a project to do that:

https://www.chromium.org/developers/design-documents/gpu-acc...

http://www.androidpolice.com/2014/11/19/project-ganesh-demoe...

I don't know what the status is of it. It'll help paint times (probably significantly), but it can't do much for layout, because the way the CSS spec is written, certain CSS properties require global calculations to figure out where every box should be laid out. (Think about floats, where they're supposed to butt up against other floated boxes, even if they don't have the same parent.)
link: https://www.identrust.com/
I have the same feeling. When I was a less experienced programmer, I found coffeescript to be a great tool for helping me to write 'better-looking' code while avoiding the 'bad parts' of javascript. Later, I decided to focus my expertise on javascript, learning its imperfections and beauties. Reading through parts of the sourcecode for Node.js and the popular Express.js library, I became more comfortable writing pure javascript. It now seems to me like a much more practical solution to just learn javascript and stop trying to write in a different language than the one used by the runtime
Check out https://cloud.google.com/nodejs
You might be right.

My thinking was this: peak cylinder pressure basically is proportional to torque, so at lower power levels cylinder pressure is overall lower. Even if the engine knocks, which will cause a spike in cylinder pressure, it starts from a much lower baseline, and there's also much less air/fuel mixture in there. Thus peak cylinder pressure for a knocking engine at low torque may not be much larger than that of a non-knocking engine at full power. But this is just speculation on my part, I don't have quantitative data.

It's also possible that it is the sharp pressure spikes that do the damage rather than the overall pressure level, in which case what I'm saying would be less applicable.
So, we'll be developing for 5 different target browser engines, 3 different operating systems, and about every viewport size imaginable for the foreseeable future.

Yay.
TBH we don't have the pricing defined yet, because we don't know what will be our server costs. In a few days we will know more and put up the prices.
Thanks, I'll drop you an email soon!
> it's not impossible or even difficult to completely abstain from alcohol for nine months unless you're an alcoholic

Its perhaps fairly simply to abstain from things that are legally-mandated to be labeled as alcoholic beverages.

It is not simple to completely abstain from alcohol, because alcohol is present at lower levels in things that don't meet the standards that make them legally regulated.

Without knowing the actual relation between alcohol consumption and effects on fetal development, its true you don't know whether abstaining from occasional, small quantities of things legally labeled as alcoholic is necessary -- but you also don't know if complete abstention from things legally labeled as alcoholic is a sufficient degree of abstention from alcohol, or whether it is worthwhile (in cost/benefit terms) to exercise additional vigilance in terms of other products which contain alcohol but at lower levels than meet the legal standard for labeling.
Star Wars: The Force Awakens Trailer (Official)
If these people want to milk some billionaires for whom shelling a few million is easier than taking the time to understand a technology, I say more power to them. So long as they aren't receiving taxpayer support, nor draining the lifesaving of retires, then they can sell their dream for as long as dreamers have deep pockets. Is it really any worse than homoeopathy?

A fool and his money.
Crypto currency with escrow, receipt of goods validated by a robot camera sending a picture to an anonymous network of validators who say "yep that's the scarf they ordered, trigger the payment"
What kind of work has been done publicly on a data model for resolving this kind of query? I was just wondering about that because I was noticing a little of how Google Maps responds in terms of different language names for places and features.

Could this model be built automatically from existing OSM data, or would someone else have to manually add some kind of additional hierarchy information? Has this been studied from the computational linguistics side as well as the geospatial information side?
love the db plugins support
> Either Britain becomes a FULL member of the EU with ALL responsibilities and rights or GET THE FUCK OUT. Rest of EU has had enough of them.

This breaks the HN guidelines and so have some of your other recent posts. We ban accounts that do this repeatedly. Please re-read the guidelines and follow them.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newswelcome.html
The flag OSM geocoder is Nominatim. It turns out it won't work if you provide only part of street name (if OSM contains full street name) or when you provide full name (if OSM contains only part of the name) [1]. So in my opinion searching for addresses is not reliable.

That's one thing, another is that addresses are quite often duplicated. There's no automatic check for that and such duplicates exist for years.

[1] - https://help.openstreetmap.org/questions/45825/how-can-i-geo...
I've seen a few requests come in where I really wondered if the subject investors had any technical knowledge at all.

Investor scams are unfortunately rather common.

As soon as secrecy, a breakthrough and a very large market coincide the gullible and their money are soon parted. I personally don't think this is a bad thing because it keeps me employed, at the same time you'd wish that this sort of thing would stop because it most likely hinders genuine breakthroughs from being given the attention they deserve. Some of those get recycled a few years or decades later so not all is lost but still, a few cold fusions and AI winters and the tech industry as a whole suffers.

As for the uBeam, ultrasound is a strange medium to choose for this particular job, ultrasound is fickle, has a ton of side effects, isn't particularly efficient and interferes with living creatures in all kinds of un-desirable ways. Going the electromagnetic route would seem to be the first thing to try (and some companies are doing this and have products, maybe not 'miracle class' but they'll do the job they're designed to).

The best bet for getting rid of the charger cord are a strong reduction in required power for the phones, better battery technology, maybe micro fuel cells or some other exotic conversion technology.

Populating the world with ultrasonic transmitters with about the same range as the charge cord they replace seems to fix one minor inconvenience by replacing it with a much larger one, not a company I'd bet on.
It's a forum, the example given in the article is also a forum. They are directly comparable.
If you're looking for positive intent, maybe propose that sites explicitly set the sizes attribute? Either way, you're asking folks to modify their <head>. Embracing the icon rel avoids duplicating effort.
"For example, FoundationDB was bought by apple and the product was shuttered. Under a living will, the product would become open source, as it is no longer developed by the company."

Would it? I assume the tech is still being developed. It's just that the continuing development is not offered as a product.

Further, once someone buys the company, don't they gain control over that company's assets? So if they no longer want to offer a product for sale, why should they?
This was my first thought too, but this screws up source maps and I can't think of how to fix source maps when using two transpilers. Any ideas?
I forgot to add: when you reach 1 GB we'll get in touch with you.
Why not Haskell? If you're going to be transpiling to JS might as well get all the power of purity and robust typing.
Try ClojureScript.

There are plenty of developers, especially here on HN, who would absolutely love to work with Clojure/ClojureScript full-time.
I've been using semicolon-free Typescript a lot lately (and really liking it that way) and its transpiler is ASI (automatic semicolon insertion) aware so it ends up adding the semicolons back into its JS output, which you can use as a safety net if you are worried that you don't quite have a handle on ASI.

That said, JS ASI is not much different than Python/Coffeescript newline rules and if you are comfortable programming semicolon free in those languages there shouldn't be a reason that you should feel uncomfortable going semicolon free in Typescript and/or JS. The nasty issues are in fact mostly the same as Python/Coffescript.
You have an interesting opinion. Coffeescript has, for several years now, encompassed nearly the entire API surface of ES2015.

* Comprehensions (more flexible with Coffeescript). Wait, that's ES7 now.
* Template strings
* For .. Of loops
* Destructing
* Classes. ES2015 has an awful implementation of this, without allowing an syntax for binding methods. Also enforces the somewhat arbitrary requirement of function properties only, as opposed to any type I choose. Don't forget, mixins with Coffeescript classes is a breeze, but no support with ES2015.
* Arrow functions. Unnecessary syntax with ES2015 (the parens even without arguments), not to mention confusing implicit return.
* Generators with ES2105. If you find a use for these in front end web dev I'll buy you a beer.

ES2015 does succeed in introducing an entire set of confusing ideas: we rolled for years with var's, but now I get my hand held with const and let, because figuring out how var works (or just relying on Coffeescript to handle it for you) is too challenging.

The point here is that it is frustrating to see people jump on the ES2015 bandwagon when Coffeescript has had the same feature set for years. It suffered adoption because of developers who didn't want to learn `another` language. I have met a tremendous quantity of developers - myself included - who initially rebelled against the use of Coffeescript, only to eventually fall in love with it.
> not picking a functional language

As opposed to what? In what ways do you not consider Javascript to a be a functional language?
You deal with them one at a time. It's not like there's magic involved.

Our SPA isn't even using jQuery. Loadtimes are fast, app is very fluid.

Many people seem to not understand that when you query the dom for a node, you can store that node and reuse it throughout your app.
Maybe logging in to the admin side of one of my applications to check analytics, approve new memberships, and the like? I shouldn't need to package and distribute that as an app, but some of the mobile-friendly widgets are handy.
having been inside another companys' RDF, i can totally understand that. you don't always understand how bad everything else when you're living it day to day.
Introducing the Plex Media Player
If my employer installs an espresso machine, it's not a problem for Budweiser because we were never going to be drinking beer at work anyway.

If I pull out my phone, take a picture and post it to Facebook, Google hasn't lost out on any searches, unless you are counting when people type "Facebook" into the Google search box.

Why does Google expect people to be doing creating a lot of search queries on their phones? (I assume a laptop isn't counted as a mobile device)

I could understand if people were using Bing on their phones, but they aren't. Google doesn't expect people to search on their television so maybe they should stop expecting people to search with their phone.
DigitalOcean gets Floating IPs
Yes good point! We'll make sure that we pick up icon rels that point to pngs or jpgs (not icos) too.
IEXPLORER 3.8.6.0 SERIAL KEY FREE CRACK DOWNLOAD
The emphasis was supposed to be on the part with the phases being aligned (at the point of the steepest slope) :)
That looks pretty good, but I don't understand why I can't restrict location services to when the app is in the foreground.
var a = 1;
a = 2;

window.someGlobal = 'foo';
Meaning they are not dumb enough.
Where are you starting from?

If you have never contributed to OSM, the process can be pretty easy:

Go walk/hike/bike the trail so you remember what it looks like, perhaps taking notes and recording a GPS trace of it.

Go to openstreetmap.org, make an account, move the map to the area where the trail starts, click "Edit".

If you recorded a trace, drag it into the editor so it can show it as a reference (hopefully it's a GPX, it might be necessary to convert it).

Using the "line" tool, trace the trail, combining the information from the GPS trace, notes and imagery. Make sure to select the finished trace and mark it as a walking/biking/hiking trail. Then click save.

So there is a lot to do, but none of the individual steps are hugely complicated.
Yeah could be. Well, at least I thought that about the first couple of screw ups. But by the last one, it was getting funny, I kept thinking "Nah, this is a cruel joke of some sort, it can't be that bad.."

So it kind of my personal interaction with that company and somehow they managed to screw up so many things in a row, so it definitely left an impression.
Yeah its a similar concept. We hope to make it more consumable and validate the content by others, so that people can see a popsnip post and trust the content instead of having to scour the internet to ensure they have the right answer.
I occasionally float just to relax or recover from working out/jiu-jitsu, but it's mostly as a complement to my meditation practice.
Nazi Past of Long Island Hamlet Persists in a Rule for Home Buyers
What you've just done to my comment is common on the Internet, but extremely harmful to an intelligent discourse. I wrote what I did all together because each sentence informs and provides context for the others. In isolation, each sentence may carry a different meaning than if they're grouped.

In the future, remember this when you decide to dissect someone's writing.
PG has a couple essays directly related to this topic. The first about using a language which is implicitly more powerful than others ("Beating the Averages") [1] and the other is about how using a less common language is a positive selector in the hiring process ("The Python Paradox") [2].

[1]: http://www.paulgraham.com/avg.html
[2]: http://www.paulgraham.com/pypar.html
> Is it really any worse than homoeopathy?

That depends on whether or not the inventors are aware of the fact that their tech likely will never work.

In that case it is fraud. In the other case it is simply some group of people that are very much ready to believe their own story and successfully transmitting that enthusiasm to investors. I've seen a couple of cases like that and it always makes me sad that reality will shatter the dream ('wouldn't it be nice if?', yes, but that does not automatically mean that it is possible...).

More often than not charisma plays an important role in these exercises in wishful thinking.

If the purveyor of new, unproven tech is aware that it does not work there is yet another class of character, the ones that think they're only 'faking it until it will inevitably work'. Just one more little kink to work out and then all the reasons to fake it will disappear.

The only ones I have no compassion with are the cold hearted fraudsters who dream up their schemes knowing full well they'll never deliver. Those are - fortunately - quite rare.
Bolivian women knit parts for hearts
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
));
}); // I
}); // love
}); // TypeScript
}
}

Actual code from the article above. Just added comments.
We use DigiCert.

They are generally good. There was one case when they started pulling a Comodo thing on us - the lawyer's signature was unintelligible, go and redo the paper - for some secondary document. But each email includes a note to email their support head if something's off, which is what we did and he had the cert issued in an hour after that. So the tops do care about their service levels and there's an easy way to escalate issues.
The article showed Ember 1.9 coming in dead last because of code size. 2.0 is supposed to be a little better but do you really think it's going to be ahead of the curve? It seems pretty unlikely... I hope you'll say more.
I thought there was some kind of aviation safety rule against using radio receivers on board commercial flights, maybe because of retransmission of signals on the receiver's intermediate frequency?
Would you prefer "CIA enhanced interrogation manuals"?
Not necessarily. A complete rewrite can often introduce more bugs than are solved. There's lots wrong with OpenSSL, but there's also a lot it does correctly.

Refactoring code like this is actually a good way of doing things!
Migrating away from CoffeeScript too. I'll be happy to have the ternary operator back. The existential operator was handy but became a source of land mines as the project grew. Will miss list comprehensions though.
> Coffeescript has, for several years now, encompassed nearly the entire API surface of ES2015.

Agreed. I didn't say features; I said looked. It looks horrible in comparison.

ES6/7 code is much cleaner, clearer, and more idiomatic, than CoffeeScript. (in my experience, and I've used/debugged/worked with a LOT of both)

Not going to crap all over the features of CoffeeScript, those were good (though they produced pretty awful looking JS code as a result). I would say however it wasn't worth the trade off in debugging pain.
Guide to Sending Email Like a Startup
...I think this is satire... Right? Poe's Law is really kicking my ass here. The fact that it's so hard to tell is the scary part.

In any case, I alternately applaud/decry this hilarious/appalling idea.
imo these (esp indentation) are why I don't plan on abandoning coffeescript any time soon.. es6 be damned!
That system still appears to include intermediaries. They're just stuck in a Rube Goldberg machine rather than dealing directly with the two parties.
Typescript isn't exactly a pseudo-language. It looks just like JavaScript with Flow annotations. In fact, Typescript is intended to be JavaScript + Type Annotations, so it's just as "native" as JavaScript + Flow annotations, with the addition of some Babel-style ES6 transpiling as well. The only difference is the explicit build process versus running the transforms in browser, and I've seen projects use the Typescript compiler (itself written in JS) as their in-browser transpiler (SystemJS supports it as a first-class transpiler option alongside Babel and Traceur, even).
+1 for Enron. I was getting really excited as I saw it scale out and out and out. I knew there was going to be a huge jump and I was going to make a massive return. Unfortunately it didn't occur to me to be more reflexive. I think I barely managed to recoup my initial investment.
How would that be any different from training people to use any other system?
I'm not being facetious, don't take it the wrong way, but you could fix it. It's surprisingly easy.

I fixed a bunch of stuff wrong with my home town and found it pretty gratifying