skysight-inc/HackerNews huggingface dataset:
Sure, but you won't catch me disagreeing that the upcoming $30x oil price isn't a huge bargain. I think it is, and I think numerous oil companies are going to be tremendous investments at that point. Lots of commodity sectors are producing huge bargains already, and are likely to get cheaper yet. Anyone patient enough to hold long-term and suffer through the next few years, will be rewarded.

I don't think Russia is interesting. They're incapable of doing anything economically outside of commodities, and so long as the dollar is strong, Russia will be a mess. Putin has wasted his time in power on consolidating power, rather than diversifying the economy. They're a very low innovation, stagnate economy. That has resulted in the facade coming off, it's clear now that Putin has no clothes and can never cultivate a truly prosperous economy (their GDP per capita is now below Romania and Poland). It's the typical command economy outcome. Russian culture seems to spend all of its time being angry at the outside world for their self-inflicted wounds, creating an us vs them mentality, and it leads them to the same place every time: isolation. They have an intense victim mentality, and extremely low national self-esteem (which is where the projecting comes from and why Putin has to pretend to be a strong-man when he's the exact opposite).

You watch these documentaries on their culture, and it's almost unbelievable how backwards they are:

https://www.youtube.com/watch?v=iZcUsdARY6o

https://www.youtube.com/watch?v=pv6ROkgsiNs

https://www.youtube.com/watch?v=IaoYKoImjys

I agree that China is in very, very serious trouble when it comes to debt. They may be the most indebted nation per dollar of GDP at this point, including the huge sums of shadow debt stalking around their economy. However, I think it's more likely they'll stagnate for the next 20 years, Japan style, rather than suffer any near term sharp event. They've practically copied the mistakes Japan made perfectly. China's debt will eat most of their growth potential, until they either grow beyond it enough, or start paying it down.
I don't think I've ever heard of a startup where anybody but the founders work 65 hours a week and those are not even official hours.
Although this is a very plausible scenario, I'm not sure it's the "simpler" answer. It requires an incredible political will in favor of an extraordinarily controversial set of programs.

It seems to me that the "simpler" explanation is that these programs, whose existence and scope are no longer in dispute, have indeed generated intelligence about questionable conduct of members of / leadership of one or both houses of congress.
Edge 13 does support generators.

http://kangax.github.io/compat-table/es6/
do not forget that Snowden made it pretty clear the NSA was spying on the German Prime Minister, for the german intelligence agency! ...guess what may have been the offer they had. My guess? One agency spy on the other's leader as part of the job, exchange for its own leader info = ultimate power without the risk of a treason charge while investigating your own leader.
Now, this is weird... I submitted exactly the same link 1 day ago: https://news.ycombinator.com/item?id=10646580
We've been using it over at Ionic, and that's exactly what we've found as well. Types are great...but they're overhead that most apps don't need on day one. When you just want to get something up and running you can skip them. Once you dig in and really build out the application, you can add them and get a bunch of great benefits (type safety, autocompletion, "free" API documentation, etc.).

On top of that, tsc is possibly the fastest/easiest to use transpiler out there, which helps.
(Ozgun from Citus Data)

Both our open source extensions and the (currently) proprietary CitusDB product are heavily used in production. For example, https://blog.cloudflare.com/scaling-out-postgresql-for-cloud...

We're working on improving all our products, and we welcome your feedback.

Could you elaborate more on what you'd like to see? Please also feel free to use GitHub issues on our open source projects or hit me directly at ozgun at citusdata.com.
The OpenSSL team uses TLS on www.openssl.org. I don't know where you found that quote.
Yup. Similarly if someone is already so fed up with the toy that they are going to throw it away (rather than give it away in their local classified ads), how do you convince them to go through the effort of putting it on your service?
This has probably being said many times before, but Einstein's book on Relativity is still worth reading as an introduction to his ideas on Special and General Relativity. A 100th Anniversary Edition has been released [1] which includes extra commentary that acts as a reading companion and includes a look at the various foreign-language editions of his book that makes you realise just how far his ideas spread.

[1] "Relativity: The Special and the General Theory", 100th Anniversary edition by Albert Einstein, With Commentaries and Background Material by Hanoch Gutfreund and Jürgen Renn [ http://press.princeton.edu/titles/10434.html ]
It's also the one that will most likely kill these programs dead. Neither party wants security agencies picking winners for them, or deciding who gets to be in Congress.
This was a really helpful article, thank you for posting it. I've been cognizant of these issues for some time but I hadn't seen any articles encapsulating them so cleanly. Thank you.
There is a selection bias here, you hear about the successes but not so much about all the crackpots that increased suffering needlessly. This article is about one such case, in case you didn't notice.
Managers, Developers, and the in Between
I'm confused why they are so doom and gloom over this amazing new language (Perl 6) that is nearly a stable release.

Cf various rants by chromatic, eg http://www.modernperlbooks.com/mt/2013/02/goodnight-parrot.h...
Well, it's not a big problem. This case won't exist in most BSTs. Even if it appears in some BST, splay tree for example, it will be amortized.
In order to qualify for DMCA safe harbor, the site has to 'have no direct financial benefit' from the content (https://en.wikipedia.org/wiki/Online_Copyright_Infringement_...)

In the Napster case, the fact that the infringing content drew in more users was enough to prove it was financially benefiting from the content. Even if Udemy refunds all the class fees for the infringing classes, they would still get the benefit of bringing in new users to their platform because of the infringing content.

In other words, it might be hard for them to claim safe harbor.
> ACLU, EFF and NRA

I consider my neighbour being able to own an assault rifle as an encroachment of my civil liberties.
The astonishing amount of data being collected about your children
I think for insertion, once you find the heap the new element should be inserted into, you would remove the max element from the heap, and re-heapify that subarray with the new element. Then you would insert the max you just removed into the next heap in the same way, and so on. That sounds like it could be less expensive than shifting the whole array, but I haven't done the math (and it seems that Alexandrescu hasn't either, yet).

Note that I'm making a couple assumptions about the data structure that were left unstated in the original post:

* Each element of each heap is less than every element of every subsequent heap.

* "When the max value in a heap is less than the searched element" was a typo and "When the max value in a heap is greater than the searched element" was intended.

Maybe I just totally misunderstand this data structure though :-( It's still morning for me.
We previously used Basecamp[0] but have switched to Confluence[1] in the last month or so.

[0]: https://basecamp.com

[1]: https://www.atlassian.com/software/confluence
There used to be one as part of the ANTLR Advanced Tutorial. I used that to bootstrap a fairly complex expert systems shell used as the core of a few things.
Thanks-- just to clarify these are regular engineer/developer hours, I will make a note in the original post that these are not founder/co-founder hours.
Why FPGA manufacturers keep their bitstream formats secret
He said plausible.
One of the last interviews I saw by Jim Gray mentioned shipping around astronomical data sets in big boxes of hard drives. At that time, they were more likely in the 10GB range than 1TB.
It’s too bad there’s no analysis here of the comparative cost (in terms of logic gates or whatever) between this system and a conventional pair-of-numbers representation, for various operations (e.g. addition, multiplication, negation, multiplicative inversion, trigonometric functions, ...).

My suspicion is that this kind of thing wouldn’t have enough savings to be worthwhile except for very specialized problems, but it’s hard to guess without seeing someone try. It would be a fun thing to play with for a high school student with a bit of free time.
If you don't think Clinton has the desire for privacy burned deeply in to her core, you haven't been following the news.
What style would you want it in if not tutorial? You're in the reference to learn something (possibly again), right? That's a situation tutorial style is well suited for.
Nearly $4B invested in virtual reality since 2010
Javascript VM performance is what makes a computer seem fast these days. People talk about being able to use a C2D still or even a Pentium 4, they'll go on and on about how a 8-10 year old machine is still usable.

But even a not-quite 8 year old Penryn system with 4GB of RAM and an SSD is going to chug and chug on today's websites. The same site is pretty decent on a recent i3/i5 but it's painful to use those older C2D systems these days.
The same way the creator can own it.

"Steal" has more than one definition. In the context of copyrighted works, it means to distribute without permission, or to make an unauthorized copy of that work.
I didn't say Udemy was responsible for flagging content. But I am saying there's no fucking way there are only 125 copyright infringing cases. It's a shit ton more. It may not be their responsibility to find them. But to imply that's the extent of the problem is wrong and a lie.

"nor can anyone other than the copyright holder reasonably be expected to"

I don't think this is a fundamentally true statement. For example I believe that Facebook has a moral obligation to provide tools to stop freebooting. https://www.youtube.com/watch?v=L6A1Lt0kvMA
Wirecutter is a similar format... a list of "Best X to Buy" http://thewirecutter.com/
Do you think it matters if Udemy is getting 50% of the revenue from the sale of pirated material? Do you think that changes their responsibility in comparison to a company like Youtube?
Has {s,}he tried other browsers? I vaguely remember that in Firefox or Chrome, memory for a tab is kept together (tabs don't stomp on each other's pages) so the OS will naturally page it out when you haven't looked at that tab in a while.

This might not be true but I thought I'd make the suggestion.
Highly educated people cannot possibly be desperate, mentally unwell, or disaffected? That's also "simply false" and you say so yourself: "You can be a rocket scientist and a religious idiot at the same time". You can be highly educated and a lot of things at the same time (which one would know from reading HN on a regular basis), but perhaps only the traits that fit your narrative are allowed.
Well learned a new acronym today. I assume L1 I$ means Layer 1 pipeline cache?
Reader's Digest site has infected readers for days
Japan Seeks Tech Revival with Artificial Intelligence
I$ = instruction cache
I saw this at http://arstechnica.com/security/2015/11/hey-readers-digest-y...
Stop Apologizing for Wanting Work/Life Balance
Yes, there's an agreed procedure.[1]

[1] http://www.seti.org/post-detection.html
If it was that easy to tell whether a course was pirated (yet alone determine the original owner), this whole mess probably wouldn't have happened. Udemy is in the best position to identify infringement since they have complete access to the courses, but it's anyone's guess whether they would go to such lengths. I would guess the best bet would take a few screens at random durations then perform an image search against a database of screens collected from courses on other marketplaces. Then use Mechanical Turk for final verification. I suppose you could perform facial recognition against profile photos of authors on other marketplaces as well (for the courses that actually include a headshot). I've used OpenBR to do similar things in the past but accuracy was too low to be useful in my case.
Well, Ubuntu's basically Windows if you squint. iOS and Android are very different compared to both.
I commute by bike through central London (Zone 4 to Zone 1). While I try to avoid busy roads (and roads at all, when I can), I don't feel like I'd be able to listen to something while biking and still be safe.

Is your bike route quiet enough that you feel safe listening & biking?
A lot of people use Pinterest to build lists of gifts or whatever. That's the main use case. Discovery is secondary, in my opinion.
Arduino Weather Station – Internet of Things and the Particle Photon
I love reading these old articles. Here's another fun one: https://news.ycombinator.com/item?id=1719975
An interesting point: but the distances over land don't vary that much. I suspect it is insecurity of sea travel between Italy and Spain, but from what? Anglo-French conflict, North African corsairs?
> Why not? What allows AES to escape such an attack?

What attack? A known plaintext attack is just a type of attack. There aren’t any such known attacks against AES currently. http://crypto.stackexchange.com/a/10837/7264 is related.
Model your threat and then mitigate it, for example if you are worried about China buy an Intel CPU made in the US, if you are worried about the US buy Huawei gear.

Lets just leave it at you don't posses the budget to make any reasonably legitimate claims about your op sec.

If one of your use cases is browsing the internet, you might as well just give up.

If they can put stuxnet on Iranian PLCs you're fucked, however, in reality no one really gives a shit about what porn you might be watching or whatever other irrelevant activities you might be doing.
The only things you can think of related to software development are compiling small applications and opening single text files in editors? What about an IDE that does partial compilation/indexing every time you change a line? What about searching through large codebases? Etc.
> Want to bang up a quick solution, as in MVP? Use bare-bones Javascript

Actually, adding the bare minimum of type annotations (fields & function signatures) and type casts (e.g. casting whatever you get from querySelector into the concrete type of element) results in fewer key presses, because you can auto-complete everything and because you get additional machine-assistance like call tips and type checks.

So, you'll be actually faster if you add some types. Type inference does cover quite a lot. In practice, you'll need very few annotations and casts.

This Dart demo, for example, only needed a single type cast to be fully typed:

https://dartpad.dartlang.org/e23e4d137570c652591e
I was previously using Harvest, but recently switched to hiveage.com. It has a great UI and the free version seems to be all I need (unlimited clients, unlimited invoices).
The enemy is ambiguity. To avoid ambiguity, you need to be explicit. Being explicit is expensive. Thought prediction (auto-completion) is the solution.

We need a computer-assisted predicate-oriented language. This will become the only UI we need.
I get the sentiment. But for a computer oriented magazine, having advertisers in the computing industry is pretty much par for the course, no?
To be fair, though, given the non-excludable nature of digital goods, it doesn't make a whole lot of sense to make it "stealing" in the first place. Pretty much by definition you can't really prevent access to it. Maybe it makes sense in the context of companies having a hand in the "theft" because they can more readily be made to comply.
Speaking of mobile development, something that's been annoying me for a long time is that while you can "emulate" the devicePixelRatio of a mobile device, it doesn't actually seem to do anything meaningful.

For example, my phone has a resolution of 1080x1920 and a dPR of 3, so the viewport size is 360x640.

If I set these properties in Chrome Dev Tools, I just get a 360x640 rendering out of it. I'd like to be able to get a proper 1080x1920 rendition of the device screen too! It doesn't matter that it will look absolutely enormous on my desktop screen, I just want to make sure that my code and styling actually works like I want on it. I really shouldn't need to use an actual device for something as simple as this.
Ask HN: How much does a founder pay on exit? Is offshoring dumb?
Is it simply the following?

> Qualified dividend and long-term capital gain: Tax rate is 0% for the 10%–15% brackets; 15% for the 25%–35% brackets; and 20% for the 39.6% bracket.

Example:

> Let's say I start a company as the Founder and grow it over a period of years. I exit by selling my remaining 10% of shares for 50 million dollars (company valuation of 500m USD)

Do I simply pay a number very close to 20% (due to marginal taxation) of that 50 million dollars?

Essentially I am pretty well-versed in international taxation and have previously used offshore companies (I do not live in the USA, I have offices outside of the USA, and my customers are mostly not from the USA, etc, but I am American). For my next startup, which will be an interface for international buyers of wholesale goods, I am still deciding how to legally set up the company. Now obviously if I set up in a haven I can pay 0% tax on corporate income, but I'm planning for an exit, and when I sell my shares, I will still be liable to pay the US capital gains tax rate.

Basically my final thought is this: I may be able to save up to 15% on corporate income tax by using a haven, but if I'm planning for an exit, perhaps this doesn't matter at all. Additionally, even if not planning for an exit, if I'm able to raise money at a >15% more favorable rate in the valley as a standard Delaware c-corp, and have access to US capital markets, then perhaps it makes more sense to just form a Delaware C-corp and defer international tax minimization strategies until we have a big company. It certainly seems to me that 15% more optimistic valuations are possible in the valley as compared to Singapore or Hong Kong, for example, and the simpler corporate structure should allow investors greater confidence and security.

Any thoughts or feedback?
Confluence by Atlassian (we also use JIRA)
Chinese military scaled back cyberthefts after indictments, U.S. officials say
The Cavendish banana is slowly but surely being driven to extinction
Can you compile TS from inside of JS or TS? something like `babel.transformFile`, that gives you back the compiled code?
He is also a Twitter god. Highly recommend following @pinboard.
Look at the quote. Knuth is explicitly only talking about NP problems.
> Executive Editor, PCWorld

Next up, the editor of Oil&Gas Weekly on why Tesla cars get such poor performance.
Lists are only part of project management/collaboration, and because that is a situation where needs vary widely and the benefits of customization are huge, it is futile to try to design an app for making lists. The best list making app is a good scripting language. Wunderlist, Evernote, todoist, etc. all have nice features, but they are just not ever going to work for more than a small percentage of the population.
How are you planning on seeking financing for your company? No Silicon Valley VC will fund you unless you have a Delaware C-Corp.
The Microsoft Band 2 Review
Basically gambling is one of Bitcoin killer apps, instant deposits, instant withdrawals and anonymity fits best for the players and operators.
i could be wrong, but i came to the same conclusion in a different way as i first heard the statement made during the announce about the power being comparable with laptops.

as soon as he said whatever high percentage of laptops it was i was thinking:

"clever. people who care enough to watch this are likely to care enough about hardware to have high power laptops - as apple fanboys some macbook or other. they probably don't even realise what kind of laptops people buy in large volume and how little horsepower they have - nor what kind of proportion of the wider market macbooks actually make up - iirc around 1 in 20, which is probably enough to exclude most of them from '90% of laptops bought' over any given period, because they are clustered up near the top end of the range."

i guessed the performance might be similar to last years bottom end macbook.

there is also the programmer inside of me who is skeptical from experience working on low-level optimisations for x86/64 and arm (various 5/6/7) code on various platforms...

apple are genuises at marketting imo. the cult, the fanboys, the elitism, the beauty... all of it culminates in making it difficult for people to think objectively about their products. so i'll not be surprised if the idea of the iPad pro being a laptop killer doesn't die - and maybe even comes into fruition. it doesn't actually have to outperform anything if people believe that it does...
ElasticSearch in my experience has a smart team and good codebase to work on in Java.
Deploying APIs Built via Node.js to IBM Bluemix
There is still the EPEAT thing though.
I have been wanting to build this for years. We should chat!
The People's Sexiest Man Alive 2015, but Is He Truly Sexy? – Infossible
You'd re-heapify all heaps greater than the one that ejected an element, since heaps greater than you are all full except for the very last one.
Yes, you can: https://github.com/Microsoft/TypeScript/wiki/Using-the-Langu...
Basically, for human-readable output << is far inferior to the alternatives that came before it and after it, and from an API perspective has nasty warts both in syntax and semantics.

* C's printf() is superior because it can be localized.

* Later formatting functions like Python's .format(), C# String.Format(), and C++ fmt::format() (from cppformat library) are far superior in normal use cases: they can be localized but they don't suffer from printf() safety problems.

* << suffers from severe problems in terms of syntax because it sits between arithmetic and comparison operators in precedence. So you can std::cout << x * 5; but you cannot std::cout << x & 0xff;

* iostream also suffers from the curse of statefulness. Unlike other formatting functions, changing the precision you want to use changes the properties of the IO stream itself, which is nonsensical. Either the properties should be bundled with the number or they should be lexically scoped.

Maybe << is nice for one or two things, but for the bread and butter of what developers do, it's absolutely terrible. I don't know how it makes "streaming nicer" because I'm not sure what you mean by streaming—the word has a few different possible contextual meanings, and I can't imagine how << makes any of those any easier.

The worst part of this is that they could have just used function call syntax and two of the major usability problems would have instantly disappeared. It would avoid problems with precedence and it would allow you to pass additional precision parameters.

Unfortunately, localization is really a hard (as in non-negotiable) requirement, and since << is so terrible at it, you are often forced to rip its usage out of a program rather than just work around it.
Absolutely not then. I've never heard of 65 hrs a week either (for non founder/cofounder)