skysight-inc/HackerNews huggingface dataset:
Very neat! Would you consider adding a TeX() function to format the output strings into LaTeX? This functionality is very useful for someone who needs to present their results.

I'm doing some coursework for my MSc in math, and have taken to using CASs (Maxima, and Yacas via RYacas) to explore/validate my assignment questions/answers. The automatic TeX formatting in those systems has been an essential feature.
While there are benefits of eager investors, stable (enough) infrastructure, low personal tax rates, etc in the US, in this context it's more that the costs of being in the US are pretty negligible when you're small. There's fixed overheads and lots of additional unfamiliarities in figuring out offshore and multinational business that don't make sense when you're a small startup focusing on developing your product and sales chain.

Once you get large, though, the tax differences can start becoming the size of entire departmental budgets.
I commonly spin up jobs on ~1000 nodes for a fraction of an hour that would take my laptop 3 months to complete. $50 and done. Certainly this is not the web app / service hosting that you appear to be talking about, but I'm equally certain that I'm not the only one doing this.
On the rare instances where it has failed me, I have diagnosed the problem to be the router allowing (or faking, not sure) a success response from http://captive.apple.com/hotspot-detect.html

If anyone has coded a captive portal to behave differently when it sees captive.apple.com they should be ashamed. All they're doing is making life difficult for everyone unnecessarily.
Kids Must Take the Bus or Be Driven Home No Matter How Close They Live
CANVAS––Draw on the Web
Bilibili-user
The Falcon Heavy specs & pricing is fascinating. 12-13 tons to Mars for $85M? I wonder if we could see a human team on Mars within the decade.
برنامج واتساب بلس الازرق
The ICP license they're using in non-commercial. 京ICP备16007973号-3

Note the 备 which means non-commercial.

Pretty equivalent to a blog, or basic homepage.

Were they to try to commercialise what they/you plan to do, they'd need to apply for an ICP license via a different route, for online gaming (and as you alluded to, potentially betting). That would be a route paved in hell for any small startup.

Dismiss this as a non-threat, both as a commercially viable startup and/or as a ruse of the large company you're currently talking to. Don't waste your time with it.
Oh no doubt, I think these instances are poor form, and in this young age of IoT, companies as big as Nest/Google should bend over a bit backwards for early adopters when it comes to sunset period and possibly even rebates...if nothing else than to treat them like loss leaders.

But later on, as always-on-devices are the norm...I do think it'll be more acceptable -- with the appropriate regulations and consumer protections -- to kill a device at the end of the cycle instead of designing it to operate as a zombie, in the same way that users accept that MMOs and other multiplayer-heavy games are heavily dependent on company servers...though in that case, it's easier to design a game to allow non-official servers so that the community can carry on after the official shut-off...but that's where the analogy of video game == important home device ends, of course.
Who's a Dinosaur? YOU ARE
My curiosity lead me to this chart of emoji on the different platforms here: http://unicode.org/emoji/charts/full-emoji-list.html

This is why I stick to emoticons :)
Nah, I think you'll have more personal hygiene kits being carried around. Hit the market now and get in before the rush.
@nuna has extensive lab experience and just as importantly, managing the vast amounts of data that labs produce...initially we would partner with a lab until there is a need to do it in house
Right but Silicon Valley is still the best place to live and own instead of moving somewhere else, I know there's reverse immigration (Book: The rent is too damn high or something), but are there good schools, good neighborhoods? I am kind of spooked by just looking at this Election Campaign which has revealed the dirty underbelly of this country to me. I would still consider long term stability where I know the society is accepting, and I think down the line the economics can be improved if you think about it, because there are good cities, well educated people, but lack of enterprises and small business/startups to employ these people. I saw 500 startups just open a 30Bn fund for Canada and see small but solid indicators that things are changing.
Finally! http://qz.com/656320/dear-prime-minister-trudeau-a-modest-pr...
My point was that me as the interviewer (in a big company) doesn't have any incentive to "get over it" and "learn to fake interest" because of how the system works. Please re-read my comment and come back when you got my message.
No, I mean your original comment is inaccurate. The paper presents a time-space lower bound for parity learning, but the encryption scheme based on this result is only 'unconditionally secure' in a model where the adversary is restricted to having at most (n^2)/25 bits of storage. This isn't a general-purpose unconditionally secure encryption scheme, which is what your original comment implied.
wc hn.txt
26 371 1986 hn.txt

are newlines special? There are only like 10 \n in whole file.
I'm speaking out of ignorance here, but why does every webpage need to be encrypted? What about simple static sites that are only serving information?
I said rules as in basic network, HTML, CSS filtering rules that are created by people, and these filters are shared by all the major adblockers.

If you ever look at these filters, you'll notice that domains aren't the only thing they block but rather things like checking the dimensions of images for standard ad banner sizes, etc. - so even if that banner was run by the same site, it would still be blocked.
MicroSoft OneDrive free storage limit downgraded from 15GB to 5GB
Why don't you? Serious question.
How is this different from current storage options?
Deploying Flask in Production
Good point, thanks for reminding me about Armadillo.
Did not realize Michael works on that 100+ hours a week. Totally insane. Thanks for all the benchmarks and Linux info -- $35/year for you :)
Thanks a tonne! I am using the API provided by the awesome guys at Algolia at https://hn.algolia.com/api . They did all the hard work! My job was fairly easy :)
No. Next question?
Maybe it gets converted to HTML first. Each line would become a <p>...</p>, and italics are go from asterisks to <i>...</i>.
Video had issues. Can Anyone post a few screen shots of a few ui examples?
I also gather that "technical assistance" means "backdoor".

If that's the case, then it's ridiculous and it appears nobody in the U.S. Government has learned from history. When they did this with export controls on encryption the only people overseas who had access to proper encryption were those who were outside the law, and those who developed encryption in countries that don't have restrictions.

Of course, I may not be following what is meant by "technical assistance". However, if such a term doesn't mean implementing a backdoor, then if unbreakable encryption is implemented then it won't matter how much technical assistance is rendered by U.S. companies, nothing will have been achieved except wasting a lot of company dollars on a futile effort!
To me, Comey is a man who has lost the goal in pursuit of his particular mission.

Defense, intelligence, policing, all these things exist in order to uphold the constitution, protect the "American ideals", etc. Many of his statements pretty directly show that he doesn't care about the collateral damage to innocent people's privacy or any founding principles, he just wants his mission to be unhindered. It's the same mentality behind police forces wanting to make their job less dangerous and more straightforward, by escalating use of force and trampling rights.

With this hypocrisy, as has come many times before (congress shocked and demanding privacy when the CIA spies on them, for instance)... I can only shake my head. Come on.

Encryption is our webcam tape.
This is interesting to me because it may be a solution to "almost there" autonomous vehicle services in the next few years. Rather than getting picked up and dropped off at exactly your desired locations, users could pick up a car at a designated parking lot, drive the car the last mile to their destination and then the car would drive itself back to the nearest lot.

The fleet management aspect of it is less interesting since I've seen quite a few companies operating in this space already.
> since most Chinese startups are really inefficient

I'm curious, why do you think this happens?
You are welcome! My only issue with that is its only been a couple of days and we already have around 180 posts. So that would mean A LOT of scrolling by the end of the month. Thoughts?
Its not clear to me how this would be useful for nefarious purposes. Surely, to apply this detergent and collect the resulting biomarkers in a controlled fashion, they would require fairly complete access to the target individual? As in, the target would have to be sitting there letting an agent rub their arm with some swabs. And there have to be easier ways to do the same thing- file a sharp edge into the back of a door handle could likely get enough skin cells to extract DNA, without being too obtrusive. Am I missing something?
Content management is very much a domain specific problem which generic CMSs like Wordpress and Drupal solve poorly. For example, have a look under the hood at Wordpress's database schema and you will find that it is ill-equipped for anything more than basic blogging (which is its main intention in the first place). Building a custom CMS that meets a company's business requirements does not mean writing everything from scratch. High quality frameworks exist in just about any language you can imagine which provide abstractions for handling user authentication, prepared statements, XSS mitigation, session handling and a whole host of other items. As with any software development, the quality of your software is tied directly to the quality of your developers. The "big CMSs" will not stop a poor development team from making bad decisions.
Drupal is NOT insecure by default. You don't know what you are talking about.
I use http://xkcd.com, but that works.
Can you share more details on your work? I've wanted to build my own connected outlet for a while and if you have any pointers to resources on this, I'd love to see them.
I assume you are also replicating your nodes...how does replication impact ingress?
What happens when nodes exceed 10 GB? Do you split them?
Good analogy.
It's rather disheartening that Californians haven't managed to organise serious resistance to Feinstein.
Split the properties off into seperate companies, with their own management with little interference from the parent company.

And remove Marissa Mayer, who has made some absolutely dreadful business decisions and continues to make them. Sorry this is harsh, but she's had many years to prove herself now, and she has shown that she's not the leader that Yahoo needs to restore its past glories.

Unfortunately Yahoo is a shell of its former self, so I can't see how else they can resolve their problems except by giving different business more autonomy and zero interference. It's rather Darwinian, but those who will succeed will survive, and those who were never viable (of which there were many companies who were purchased for Mayer who would have ultimately folded eventually) will wither and die on the vine.
Well, the Monterey Bay Aquarium does species counts using water sampling and searching DNA[1] so something similar might be possible to search for s specific individual signature.

[1]http://www.washington.edu/news/2014/01/15/dna-detectives-abl...
I live in China, I've been here 15 years. My wife is an IP lawyer. I'm also German by third citizenship. My advice is: forget China, work on other markets, totally ignore the situation.

Honestly, the chances you are going to get decent cash from e-sports here are 1 in a million. Every wangba (internet cafe) has pirated titles. Few pay for games. Lots of servers are openly running hacked. New TVs here come with built in pirated content Netflix clones. Nobody cares.

Take it from me, there just isn't have a legal or commercial environment here that is likely to favor your business model.
Needs "Essential Debugging with print statements"
OK, thanks for the clarification. We are just completing beta tests and will officially launch the site April 14, 2016, so unfortunately we don't have users that are far enough along for that. However, I would invite you to set up a basic account (takes about 2 mins), and start developing one of your ideas so you can see for yourself how powerful this is. I hope to have testimonials to share in a few months. www.ideaessentials.com

Thanks!
No.
Providing the cookies are set with secure flag (https://www.owasp.org/index.php/SecureFlag), that will mean the browser won't send the cookie over http requests, only on https requests, and to answer the other comment below about 'JS snarfing', that is mitigated by setting the cookie as httpOnly (https://www.owasp.org/index.php/HTTPOnly) which doesn't mean http vs https, it means not accessible via DOM JavaScript.
I don't really understand the webcam paranoia. If my computer is completely compromised, somebody watching my face is the least of my worries.
Many of these bugs exist only because compiler writers take unjustified liberties with the C++ standard. That the standard permits compilers to interpret memset(0, 0, 0) as __builtin_unreachable() does not justify compilers actually doing so and violating programmer expectations.

I'm sick of victim-blaming here. Packages like tis-interpreter are very clever ways to solve problems that shouldn't exist in the first place. The C standard needs to be changed to redefine a bunch of currently undefined behavior as unspecified or completely defined.
> In San Francisco, when you rent an apartment, you can stay for as long as you continue to pay the rent and abide by the terms of the lease. A tenant does, in fact, have a right to live in a place forever (not given by God but by the San Francisco Board of Supervisors and mayor), and can only be evicted for “just cause.”

Well there's the problem, the law needs to change. A landlord should be able to periodically review and increase the rent. That's how it is in Australia, and residential leases are typically for 12 month periods. If the tenant doesn't like the new terms they can make a counter offer or move out, whereby the owner may have a vacant property for some time and have to wear the costs setting up a new lease.
Pardon my startup’s “disruption” while we “change the world”
Controversies like the "trailing comma" strike me as evidence that JavaScript has superfluous syntax. The reason it even uses commas the way it does is that it started life as a lisp with (manager-mandated) Java-like syntax.

I happen to agree with the position that syntax that can be made implicit should be. CoffeeScript has done a good job of this. LiveScript has done an even better one. What are the arguments against using a syntactically cleaner language that compiles down to the exact same features?
Ah yes, Reason! It's been a while :)
"Monads Explained Quickly, But Mostly Incorrectly" would be a better name.

Isn't what's defined here mostly just a functor?
"If you are a free user and have over 5 GB of content in your OneDrive, you will receive an email with an offer to claim a free 1-year subscription to Office 365 Personal*, which includes 1 TB of storage."
It's about risk/threat minimization
I'd rather rent the electric car!
My favorite is the refrigerator magnet we have on our refrigerator.

The refrigerator is where you put the refrigerator magnets, right? At least until the acid kicks in.

http://i.imgur.com/dy0ii.png
Doesn't Windows do this? Last time I tried it it was amazingly accurate.
Maybe if you're not making anything with any kind of novelty.
This article is almost entirely wrong
To me it's not about the computer being compromised, but rather joining a WebEx/Hangouts/other conference/meeting software that suddenly decides to start sharing your webcam without prompting you.

There's been numerous times where I've joined meetings and someone gets caught with a goofy face or working from home in their PJs because they mis-clicked something on a crappy e-meeting UI.
As in, my Ruby code generally has the least amount of implementation cruft compared to other languages. It would seem that it fits closest to how I think.

Hashtables, resource locking, regular expressions, string formatting, are all things I have to deal with a lot and I like dealing with them in Ruby more than any other language. Also, reflection in Ruby is superb.
I remember writing an internal white paper as a mock O'Reilly book. IIRC, my chosen animal was the badger.
Keeping the Sea Lanes Open: A Cost-Benefit Analysis
Three questions:

1) Are we talking royalties for (i) a single produced work? Ex. I get 1% of a particular book that you're writing or publishing. Or (ii) is it 1% of all future royalties from any written work that you publish? In the latter case, the legal framework will get rather convoluted because you'll need to define the exact scope of what is and is not covered (what about monetized blog posts? what if you shadow write for another author? what if you write a screenplay? etc.).

2) Have you looked into SEC regulations regarding setting up such a structure? I'm not 100% sure how it works for films, which often option off royalty rights to all kinds of people, but (i) above would be a bunch of individual contracts in a similar manner. However, in case (ii) above it seems you would essentially be setting up a corporation for yourself that contractually owns your IP and receives royalties on it while issuing shares to others.

3) How much creative control do shareholders get in exchange for shares? Basically, are all shares non-voting, or if I own rights to 51% of your royalties do I get to tell you to stop writing alternate history novels for adults and hop on the sappy YA train instead?

In any case, I like the idea since it takes the concept of Patreon beyond the "well-intentioned benefactor" level.
> Is there a good reason not to use a syntactically cleaner language ...

I find Coffeescript hard to read. Especially when dealing with nested callbacks (e.x.: when you have to nest, such as with Jasmine `describe` and `it` blocks for testing).

Here's an interesting thread on the "cons" of using Coffeescript: https://news.ycombinator.com/item?id=6527316
I was hoping that this was something I could buy for my son's tablet. That would be awesome.
>"I saw something in the news, so I copied it. I put a piece of tape — I have obviously a laptop, personal laptop — I put a piece of tape over the camera. Because I saw somebody smarter than I am had a piece of tape over their camera."

Such a telling statement. It's my belief that this man does not adequately comprehend the magnitude of the issues at hand. General Hayden, on the other hand, is a man whom I believe to actually understand the technology that he was charged with professional addressing.
PostgreSQL Query Optimization
Half of a functor and half a (co)monad; it's very misleading and will just increase the general confusion around monads for beginners.

Even when you think you figured it out, it's just one part of the puzzle too. I'd stay away from anything self-described as "quickly" or "the hard way".
IME, especially building APIs for mobile apps: nulls suck anyway!
Study: Students who take notes by hand outperform students who type
It doesn't have to be either/or.

I'm expecting to see Teslas on Mars before I die.
I agree with you that it is a difficult problem to tackle and I've been thinking partly on what you say.

About your first point there are two important things, first that we are going to start with simple spreadsheets and then evolve to more complex ones. And second that we are going to have some user interaction, because there is a lot of information that is in the user's head that we can't infer only from the data.

About the second point, the first "simple" spreadsheets are going to be (probably) without macros, etc. (anyway at the start we can do ThingsThatDontScale(TM)). I think that making a transpiler from excel functions to a programming language shouldn't be that difficult, but the macros are a totally different beast.

Thanks for your reply!
Lua: quick enough, simple, embeddable. Assembly: powerful. C: something needs to tie everything together and providing a statically linked executable is always the best way to distribute software.

Everything you listed should be thrown in the bin. Go and Python both have significant whitespace/indentation. I guess I don't know anything about the others.
I'm a Python programmer. In Python, trailing comma are idiomatic, so I welcome this.

Perhaps I'm just a lazy bastard, but it makes cut & paste a lot easier.
Fair enough. Maybe CoffeeScript specifically isn't the answer. But the general idea of compiling neater languages into JavaScript strikes me as a better long-term solution than settling for its current syntactical warts, which are entirely historical accidents.

I do like ES6!
> Perhaps space is the "next big thing" that everyone was wondering about?

When we will be able to generate value by being in space. Asteroid mining, for example, would make space travel expand a lot.
Sure. I guess I assumed it would be a web app, though.
You might want to catch the 1997 scifi flick Gattaca on Amazon Prime before it becomes anachronistic.
I wouldn't be surprised if they already collecting DNA samples in bulk from the sewage systems of America
Cry me a river. Publishers and ad companies deserve everything they're getting and more.
if you want the fastest ingress, disable replica until your ingress is done, its faster to create replica at the end of ETL for that given index. Also, you want to disable auto allocation as well, this will disable shard movement during ingress, re-enable it afterwards.

on a 100 node cluster i had roughly 500GB on each node. this was not a single index, multiple indexes, with roughly 8 shards per index per node. Shard count is pretty important to get correct.

I did not manually control document routing (it was hard based on the type of data i was ingressing), so it was set to auto and during the load i observed hotspots in the cluster (you have to look at BULK thread/queue length), some nodes were getting burst of docs while others were idle, roughly 40-50% of the nodes in the cluster were under utilized, and maybe 5-10% had hot spots from time to time.

Also, depending what you use to push data in, (I used ES hadoop plugin) , you have to account for shard segment merges, which literally pause ingress for a brief moment and merge segments in a given shard. You have to set retry to -1 (infinite) and retry delay to something like a second or two, otherwise you will end up with dropped documents.