skysight-inc/HackerNews huggingface dataset:
The vast majority of the time, you shouldn't start a tech startup.
My article.

The Link Between Quicksort and the Nature of the Universe.

Consider Quicksort. In an array of 100 digits, there are over 10^157 different permutations, more permutations than there are atoms in the universe. To go through every permutation, even at a billion permutations per second, would take longer than the lifetime of the universe. Yet your computer can sort through an array in milliseconds. Why? At the heart of this mystery, says Tegmark, lies the true nature of the universe.
Vala wasn't created due to licensing concerns but rather because it could provide a high-level language for Gtk+ applications that was at the same time safer and as performant as C. This is because at that time writing Gtk+ applications in C required lots of boilerplate, was extremely error-prone, and had not attracted as many contributors to GNOME.

There were C# (Mono) bindings available for Gtk+ long before Vala was invented and even a few GNOME applications using them, but C# Gtk+ apps didn't take off. I doubt anybody that chose Vala would have preferred to write their programs in C#. Because even if licensing concerns were not an issue, the performance of Mono was not up to par. Also, installing a Mono app pulled in huge dependencies, which gave it a reputation for bloat.
Except in both instances they acknowledged that it was the result of a 'Report' and then a human review, and not an algorithmic decision.
Yes, that is the point. No, NAFTA does not cover importing dairy products into Canada; similarly the USA kept tariffs on some dairy products as well as sugar and peanuts.

Unfortunately pretty much all "free trade" deals turn out to be "free trade except for a small number of politically well-connected industries". :-(
eh, it takes a lot more than this to successfully short a stock. layoffs, more debt for buybacks, these long term losing strategies are often bullish for shares in the short term.
Have I ever told you you're my hero? You're everything I long to be.
Apple had the iPod line. The evolution to smartphone was pretty obvious. Apple have 0 things which are cars at the moment.

It's also not clear they understand the market or sales environment at all.
To me it doesn't seem likely that Apple can do to the car what they did to the smartphone. It is such a strange "me too" move that it's almost as if a big shareholder or some exec saw one of those Apple stickers in a car's rear window and decided it would look better as a real badge. Apple's value add isn't immediately clear, that's for sure.
West Lake story: An underground fire,radioactive waste, and governmental failure
And the Nokia 9000[1] launched 11 years before the iPhone. Post-Mac, when has Apple ever been first on anything?

They weren't first on MP3 players, smartphones, tablets, online music stores, or smart watches, either.

[1] https://en.wikipedia.org/wiki/Nokia_9000_Communicator
Automating VMs with Elastic Beanstalk and deploying to a platform like Heroku are effectively solved problems.

Container orchestration brings in new challenges like operating a consensus database, managing data volumes and load balancing.

And this is on top of VM management.

Yes, ECS, Kube, Nomad are very similar. All relatively hard to use right now compared to their simpler ancestors.

Here is more in depth info about the challenges of ECS:

https://convox.com/blog/ecs-challenges/
Agreed. What percent of cars on the road are currently self-driving? I guess roughly 0%. Apple has missed 0% marketshare.
> There is a large difference between not saying what type of fish it is, and directly contradicting the truth(lying.)

Uhm, way to take it out of context. I was only bringing up McDonald's in reply to the quote in the parent comment:

>> I don't order "the fish" in any restaurant.

I wasn't using it for any other argument.

Now, in reply to your point: like I said much earlier, as Wikipedia says, the FDA and other "experts" don't consider this to be lying either. So if you have a problem, you should be complaining to them instead.
Speaking of alternatives, what's wrong with Resilio sync?
Tons and tons of newspapers? Not really. Here in Australia there are precisely two.

All major newspapers are owned either by News Limited, a subsidiary of News Corporation, or Fairfax Media.[1]

1. https://en.wikipedia.org/wiki/Media_of_Australia#Newspapers_...
You can't be serious? Are you!? please tell me that you have a source.
Are there any good resources for managing feature flags like this? I am currently using Netflix Archaius and it's working great, but I find it's easy to forget what values are set or what flags exist. Over time, it's easy to make a mistake and deploy something broken. I'm currently working on instituting a kanban policy to replace feature flags with static configurations ~1-2 months after their initial deployment where possible. But I'm thinking there's a better way to avoid this trap.
What rock have you been hiding under?

That's where we are, right here, right now.
No one person should be responsible for a safety-critical feature of a vehicle. It's not about management, it's about single points of failure.
Ask HN: Does this “legal” programming language exist?
As I was reviewing some legal documents, a realization hit me - these are generally very logical documents (ideally).

Are there any programming languages that allow the user to do imports on larger legal documents, define terms, define conditions, and compile into an actionable legal document?

If not - anyone down to hack together a prototype with me?
The alternative is something like socialism or communism. No thanks.
Divine Indigestion: The endlessly fabulized American self
Perhaps you're a little too invested to see the experience the mechanism properly?
I think you're right but I hate that "better outcome" means "harsher sentence" rather than "more accurate trial outcome."
Then why is the thread still here?
And what's worse, this kind of issue is hard to detect. At least with unicode the code was crashing most of the time.
> With little or no recourse to them.

Did those parties enter into a contract with Facebook that said that Facebook owed recourse if they changed or censored something? Evidently not.
Bring back the surprise and delight into messaging with TimeWrap
TimeWrap is a personal messaging app to compose delightful messages and send them instantly or schedule them to be opened in future. Almost like a time capsule! Download now on the App Store: http://apple.co/2blOmKT
According to Murphy's law, every imaginable scam will happen.
Monads, Haskell, and Elm: A Socratic Dialogue – Medium
The rockr was obvious evolution.
The vegetarians argue that the problem with eating animals is that they feel pain. We know that this is true of plants. They just don't care about plants. They need to make an argument on the premise "plants are morally worthless because they are plants", which would be true, not on the premise "plants are morally worthless because they don't feel pain", which is false.

People abstain from murder (and rape, though that's much less analogous to the dietary debate) because society sanctions murder and rape, and where it doesn't, because the victims and their families are likely to take exception. (Compare traditional Icelandic law, where killing a person was legal under a variety of circumstances, but concealing the fact that you'd done so was criminal. Consider that the United States fully criminalized rape within marriage in 1993.)

The second of those reasons does not, and will never, apply to food animals. They have no power to take retribution. The first one doesn't, but can; it is the reason Brahmins eat a strict vegetarian diet. But it is not particularly compelling; very few people are impressed by the argument "you should abstain from meat because it makes me happy when I can make other people obey my commands".

And that's what leaves moral vegetarians in the ridiculous position of arguing from known-false premises. It doesn't mean I can't laugh at them for trying.
With the iPod out and the iPhone not yet, people were basically begging Apple to do a phone. It was a super obvious move at the time.
such is the content at vox.com
completely unrelated - wasn't sure how to send you a message (maybe I'm missing some obvious DM ui on HN) - but thanks for the Samsara recommendation. legit.
Caviar+Square / San Francisco, CA, USA / Full-Time / On Site

https://www.smartrecruiters.com/Square/95339782
> The moment you're operating in two countries you are subject to the same legal, tax & accounting rules that multi-national corporations have to conform to.

Was it necessary to set up a company in RSA? Why not just be employees or contractors of the US company you happen you own? That's what I was going to do when I looked into doing this (myself, not via Atlas).
Tiny little farms like that wouldn't be a huge amount of food. It's vastly inefficient compared to a huge factory farm and you can just summon up the tractors and watering infrastructure to properly run a farm.
But bower came after NPM...

Anyway, I didn't really intend this library to be in-the-loop. I just did it because I couldn't find one I liked in 2016. Which is just nuts on itself. so I went all old-school and tried to keep cross-browser support high and make it simple. It took an hour to be done and a couple of them to test and document it (plus another couple of them for small details such as CDN, bugs/patchs/small features).
I've been doing the same on Android for a some time now. Before HN was responsive, I preferred native apps for presentation, but the good ones lacked voting, commenting, etc. Honestly the web client is quite usable on mobile now.
You're conflating violations of human rights, like lynching, with private discrimination, which violates no rights.

You do not have a right to a product or service (like healthcare), or a job, that someone else provides. You're only entitled to your life, liberty and property. As soon as you assume a right to things others produce, you support the violation of their life, liberty and/or property.

>An important question is, why would anyone desire to see others oppressed and abused, that they would defend the power to do it?

Private discrimination is not oppression. Using government violence to prevent someone from discriminating is oppression.

Private discrimination is something we all engage in, every day. What you're arguing for is prohibiting certain types of discrimination, in certain areas of private life. For instance, prohibiting racial discrimination but not ideological discrimination, and in one's business interactions, and not sexual interactions.

The whole concept of prohibiting private discrimination is wrong, as it presumes we do not have a total right to determine who we associate and do business with.
For some reason I'd like to share this base64 data: URI. I think it might be a URL to a certain PDF.

data:text/plain;base64,aHR0cDovL2F2aWF0aW9ud2Vlay5jb20vc2l0ZS1maWxlcy9hdmlhdGlvbndlZWsuY29tL2ZpbGVzL3VwbG9hZHMvMjAxNS8wNi9GLTM1JTIwSGlnaCUyMEFvQSUyME1hbmV1dmVycy5wZGYK
In other words, nothing different than what we have now.
Another strategy is to use https://github.com/wal-e/wal-e to continuously backup and restore from S3 on boot (e.g. https://github.com/deis/postgres). But restores will be slower and it probably doesn't come with strong durability guarantees.
Maybelline Great Lash Waterproof Mascara, Very Black [111], 0.43 Oz
I'd argue that while containers have been attractive for that reason, they're actually really bad at it (layered binary blobs?) -- and good at the other stuff. It's pretty unfortunate that's been one of the main propelling forces behind containerization, I think we've ended up with subpar tools because of it.
As I learned recently, the German government.
It was just a guess - I have no real idea why Dell wouldn't allow returns on those items. And firmware was just an example. You could also solder in a completely separate computer if you really wanted to. Then you need to open the whole thing up and do visual inspections, reflash the firmware, test it, etc. It may not be worth it for $500, or cost close enough to $500 that they just don't allow returns.
Self driving cars are coming off peak hype and beginning their long descent into the trough of disillusionment.

If we're talking about a robust, reliable, commercially successful transportation service, really, nobody is early.

CEOs are talking ~2020, but the roboticists are like 'well, actually there are some fundamental unsolved problems that have to be adressed before level 4 autonomy can be much more than an amusement park ride.'

Google pioneers like Anthony Levandowsky and Chris Urmson are talking 30ish years now before we'll see unmanned cars driving across the country. This may have something to do with why so many google vets have jumped ship over the last year.
We are hiring quants. They make pictures we give to some of our clients. We have even been able to hire women.
There are different kinds of users. No need to call something silly and irrelevant just because it doesn't fit your preferences and priorities.

For example, one of the first things I check when trying out a new Linux distro is whether I can tweak the font rendering exactly the way I like. If this takes more than a few minutes, or if Firefox and LibreOffice don't pick up my tweaks consistently, that distro is out. I don't care what other awesome features it has. If I'm going to be looking at it for 10 hours a day, it had better not hurt my eyes. I would never sacrifice visual comfort just to get something that's supposedly "more functional". But that's just me. Other people will have other priorities.
Three if you count Perth's local daily, The West Australian, which is owned by Seven West Media. That doesn't really change your point though. But, Australia is a small country (in population terms), and it only has six or so major cities, so I don't think we could expect vastly wider media ownership than we've currently got.
You would typically use something like nginx as a proxy, in conjunction with uwsgi for managing a number of workers, and then offload slow operations to a task queue via redis or something similar. Caching obviously helps if it's applicable and it's also easy to expand to multiple servers with a load balancer. Websockets are a little bit more complicated but definitely possible.

As a side note, the synchronous request processing is more a consequence of Python rather than flask itself. I've personally found that I build more scalable things in Python, compared to something like node, because it lends itself to scalable architecture decisions. You can do a lot of things in node that are super convenient when you have a single server but that require major changes when you expand.
I'm not a big fan of UB either, but keeping the order of argument evaluation indeterminate seems very sensible to me.

Imagine you have a function like f(int, double). If argument evaluation order is fixed, you can no longer exchange the order of arguments: for all you know, someone might be depending on the first argument being evaluated first!
I'm a lifelong Apple fan. I own almost everything they sell, but I don't want an Apple car. Not even a little bit. I'm not even curious to see what they do. I just am not interested. With phones it was obvious that Apple could improve them. TV and smartwatches were obvious too. I fail to see how Apple's expertise can translate from personal electronics to something like a car. I'm not even interested in what the other smartcar people are up to. Cars are boring and should be completely utilitarian. I'd rather not even own a car.
Where does one go to learn about such things? Is it economics? Any recommendations? Thanks in advance!
You raised my hopes and dashed them quite expertly, sir. Bravo!

Not to get off on a rant here, but it is annoying when developer tools are posted here without a mention that it's not available for an OS developers here may be using. Doubly so when there's a Linux download link that just does nothing.
I had pondered a different approach: using machine learning coupled with something like Prolog or Microsoft Z3, but never got around to it.

You could probably make quite a bit of money helping companies get out of bad contracts due to minor errors in legalese.

I don't think I have time right now to help though. Keep me updated.
Dawn of the Dead Ends: Fixing a Memory Leak in Apache Kafka – Heroku
On a Mac:
Click Dropbox Icon in the menubar -> Options (gear in bottom right) -> General -> set Dropbox badge to "Never Show"
“Is this Hiromi Uehara or WaveNet?”
I'd love that. Writing is a poor representation of language. It'd be nice to bring it up a notch. Here's a suggestion in a paper I wrote on better second language acquisition. https://www.researchgate.net/publication/261022308_BETTER_SE...
'Tuna' might not be the best word to describe these fish species served as sushi. In the original Japanese the labeling is much more explicit, where they are called 'maguro' which is less broad a category than 'tuna'. So while escolar may be 'tuna', it's definitely not 'maguro'. In fact escolar has been illegal in Japan for for decades because it's considered harmful due to its diarrhea inducing wax ester content.
Of course, it proves the overall point, but turning on the minimize button is just a pref, exposed by GNOME-tweak-tool [1]

1: https://askubuntu.com/questions/125765/how-do-i-add-minimize...
For what it's worth I find the finder icons and sidebar additions to be nice touch, but I guess it would be nice to be able to disable that. The office integration on the other hand is beyond useless. The Dropbox badge mostly gets in the way of being able to scroll trough my documents and I have never used it for anything.
Agree. I now see the agent it installs is suid root.
Queueing theory book – free [pdf]
Why does Apple need its cars to be autonomous to do well in this space? There are plenty of people who would drive an Apple electric car even if it doesn't drive itself.

And since when was Apple any good at building the platform for someone else's hardware? Motorola ROKR E1? Apple CarPlay?
Yeah, I was running it under gunicorn. But that still leaves you with a small number of concurrent connections. If you want to have long connections, for something like long polling or websockets, then being limited to one request per CPU core seems a little sketchy.

Mind you, it could just be that I take high concurrency for granted. I build most web stuff on Node or Clojure, but now that I think about it, apps that require long quiet connections are actually not the norm.
I agree with what you're saying, but at the same time it's a hell of a lot easier to end up a wealthy adult if you come from a wealthy family. "Small" loans from family etc.
WRT Convex lenses: he could flip the lens upside down to allow gravity to pull the pools of resin off the lens.

Also, he may be able to spin it on a surface, like what is done for coating silicon in order to spread the resin evenly across the surface.

http://webnemo.uniroma2.it/new/img/spincoating.gif
I don't think Apple wants you to own a car either. Their billion dollar investment in Didi Chuxing and pursuit of autonomy points to something else.
The new strategy should be: Tesla is "Apple Cool" already, and at the head of the pack. Apple has ungodly amounts of cash kicking around and could easily (at least cash wise), buy Tesla.

This feels like an obvious "buy don't build" scenario.
Tales from an Internship: Solving a Race Condition in Twilio Usage
Her point. The author is a woman. That gives it s totally different resonance. It's a bit shallow, but I understand it.
Ideally, yes. It's not actually the case though. Again, ideally.

Well tested databases have evolved to have to survive arbitrary power cuts- even in the middle of a transaction; and so have slowly become reliable enough to trust to start from on-disk state only.

Good f-in' luck bringing your db flavor of the month back online from disk state alone. Hope you didn't have any transactions open to your DB before it got rescheduled to a different node in your cluster.
Maybe Apple realized they couldn't one day remove the steering wheel and expect people to still buy Apple cars.
> There are plenty of people who would drive an Apple electric car even if it doesn't drive itself.

I don't think that that's true.
I on the other hand really enjoy using my car and I would love for it to be even better. Most cars have terrible usability for most of their functionality. Terrible touch screens, sluggish performance, confusing settings, it's a mess.

However I feel like Tesla is the Apple of cars and it's not clear what value Apple would provide above and beyond Tesla.

But perhaps more competition in that space would be a good thing. Or maybe Apple has the scale to take what Tesla started and bring it to the next level. Maybe they should buy Tesla instead.
Because people can be interested in how things work without having the time or inclination to study them in depth.
So, move expensive operations outside of the web processes. Looks like the Flask community has worked out good ways of doing that. Seems legit, answers my question :)
Use gunicorn for a simple solution.
5 Things I Learned from 5 Years of Stack Overflow
Experimental acceleration of evolution was the plot of the 1964 teleplay, "Wolf 359", which was one of the very best Outer Limits episodes. A scaled-down version of a distant life-bearing planet was constructed in a laboratory safe-room. The passage of millennia of days and nights was simulated by a strobe light blinking at an imperceptibly-fast rate. Evolutionary progress was monitored and photographed through a mini-telescope in the adjoining room. Spoiler alert: it did not end well...

Wolf 359 asks whether evolution, at the grand scale, might be moderated, at least in part, by the mere accumulation of day/night cycles, regardless of their individual and cumulative lengths, like some sort of a cosmic iterator.

https://en.wikipedia.org/wiki/Wolf_359_(The_Outer_Limits)
Can you really assume your app server and your database are in the same Availability Zone? I would expect to have app servers spread across different AZs.
That's true, but won't that apply to Liu Zhongtian (the billionaire in question) too? He probably didn't start out rich, and even if he earned his wealth from this grey-area arbitrage, many rich people in the US do that too.
Surgeons use robot to operate inside eye in world first
Why isn't that foundation disapearing with our money in some years?

Is that foundation taking government money?
If you're taking a protectionist view of their manufacturing business, China relaxing duties on finished goods would make sense. It's unclear (to me anyway) that that decision was made with the intent to spur raw aluminum exports vs some clever guys putting two and two together.

And yes, in case the loophole closes. These guys may have been the largest operation that some guy flew a plane over but they probably weren't the only ones.
I figured they're backing out because they couldn't convince the government to switch to the proprietary Apple iroads standard which are 3x the price, and incompatible with every other car.
It wasn't obvious at all. The leap from the iPod of the time to the first iPhone was massive. If it was so obvious it wouldn't have caught the entire industry off guard. Apple changed the entire industry with the announcement of the iPhone. If it was obvious to you I hope you bought massive amounts of Apple stock back in '06.
Edward Snowden, the world’s most famous whistleblower
I'd love to see them.