skysight-inc/HackerNews huggingface dataset:
I tried it along with Vue and React and it was my least favorite by far. Feels very overengineered and the level of complexity relative to the others doesn't seem worth it. Probably the least flexible of the three too.

That being said, it's still a big improvement over everything else I've used that isn't React or Vue.

Angular 1.x interop seems like the only compelling thing about it in my opinion.
This seems like a reaction to HBO's Mosaic app?
The app/show hasn't released yet, but I would imagine Netflix wants a foot in the door if its a success. https://techcrunch.com/2017/11/08/hbo-mosaic/
Not to wade into the discussion about who makes what money (we need data, full stop) - but in humanities, students largely do not get the type of tuition waivers that are under discussion.

By ignoring STEM students, you're overlooking the people who would primarily be affected.
As a sibling noted, your standard deduction will double. That likely isn't enough, so I would guess that juggling the income limits in the different brackets is what made up for the difference.

My state income tax paid is more than even the new standard deduction amount, and it showed a tax cut for me as well, so I can only assume the bracket reorg is what did that.

In the end, my income & tax situation is more complicated than the simple single slider this calculator gives, so it doesn't really tell me much that is useful.
Angular is _fine_, but it's largely a "me too" framework that brings nothing new to the table. On the other hand, it insists on using a non-standard language, which breaks all of the tooling used in the rest of the JS ecosystem.

React and Vue are reasonable options, but as someone using Angular in production I'd urge you to stay far away from Angular and TypeScript.
Hah! Nice catch. I noticed that after as well. I've certainly written a few lines of javascript in my day.
it's easy to solve scaling (and the double spend problem) when you're trusting a central entity (the coordinator).
My point has to do with the notion of retributive justice i.e. that punishment should be inflicted because the criminal deserves it - in a quasi-religious sense i.e. he is evil or deserving of hell. This usually carries along notions of moral good and evil that are almost never grounded in measurements to give them real meanings.

Conversely, I think people should think about crime in a more reinforcement learning approach i.e. rehabilitative.

I view humans as machines essentially. If a machine breaks you fix it, but there is no emotional garbage attached.

That's the concept I was trying to get across.
I respect your bittnerness towards the world, but Vice is no different than any of the other businesses that use easily accessible , low effort content to subsidize their high effort work (for instance: Vice uses articles like “I did everything Siri told me to for a week” to subsidize their video work, Buzzfeed uses listicles to support their genuinely good longform journalism, and Comme des Garçons uses the extremely boring “Play” sublabel to subsidize their avant-garde, expensive runway shows)
RDS i3 on bare-metal is in preview now, so it's not too far off

https://aws.amazon.com/blogs/aws/new-amazon-ec2-bare-metal-i...
We are working on 4-5 large admin apps (60-80 screens) using Angular and PrimeNG. After initial training the team (8-10 programmers) was very productive. The bundle size is a little large. But it has improved a lot with Angular 5.

Quite happy so far.
Sorry for my little pedantic observation:

The author wants the word "simple" here, not "simplistic".

The reason I even bring it up is that simplistic means overly simple, and that's a real problem in software development in my experience.

Overly simple means you aren't actually dealing with significant issues the problem space. If anyone ends up using your simplistic software, they will have to solve the problems you ignore in a non-optimal way.

Simplistic -- overly simple -- is the flip-side to overly complex and can cause just as many problems since it pushed extra complications elsewhere.

What we'd like is software that is as simple as it can be, but no simpler.
Direct download link from Apple Support: https://support.apple.com/kb/DL1946
So, this sounds really nice... is there anything that would prevent this from being used for server development?
I think he _does_ mean "simplistic." He means "so simple that people criticize you for it" which lines up with simplistic.
Pavement vs Lawn is a bit of a false dilemma, though. Nobody in SurfRider's "plant don't pave" campaign is advocating lawns. In fact, they advocate against lawns. There are low (or no) water, drought resistant, often native plants that will preserve the soil filter, which is crucial for a lot of reasons (storm overflows, sewage bottlenecks, pollution from runoff into the bay and ocean).

Also, pave-overs are illegal in San Francisco - the problem is that the law is generally unenforced. Enforcement is complaint driven, and there's a huge backlog.

http://www.sfgate.com/bayarea/article/Paved-over-S-F-yards-r...
I always wondered how the hackers can get the money out of bitcoins to a fiat currency without exposing who they are. If they transfer it to an exchange, the exchange will know where the bitcoins came from being that transactions are open for everyone to see.
4 -> 5 included some new cool features but was a smooth upgrade. 6 is coming out in March and then a new "major version" is scheduled every 6 months.

This is common for end-user apps but feels very weird for developer libraries and frameworks.

We are used to X.Y.Z releases where X are "major rewrite", Y are significant updates, and Z are bugfixes.

That said, Angular's new scheme could be technically correct strict "semantic versioning". In semver X.Y.Z, Z releases are supposed to be bugfixes with no feature additions, Y releases add features but with perfect backwards compatibility, and X releases introduce breaking changes. A backwards incompatible change, no matter how small and easy to adjust for, should be a major version bump according to semver.
I remember reading something about that on HN; digging it up I saw that it was indeed you who posted that:

https://news.ycombinator.com/item?id=15422475
Deduction, not credit. Deductions aren't nothing, but they're just a percentage. Good if you're already going to spend the money, or if it's close. But spending a dollar to save a fraction of one can bite you.
Our PostgreSQL failover plan is very pedestrian, but it works well (even across datacenters). We run streaming replication off of the primary to a pair of replicas, with one replica in another datacenter. The primary write DB advertises a loopback IP out OSPF into a top-of-rack switch, where it's aggregated by BGP and distributed throughout our network. There's a health check script [0] running every 3 seconds that makes sure PG is happy and that it is still writeable.

If we want to failover (nothing automatic), we stop the primary (or it's already dead) and the route is withdrawn. An operator touches the recovery file on new primary, the health checker sees that, and the IP is announced back into the network. Yes, it's a "VIP", but it's one controlled by our operations team, not automation software. One nice things about this is that you can failover across datacenters (remember it's advertised into our network over BGP) without reconfiguring DNS or messing with application servers.

While the mechanisms are different, we do something very similar for MySQL with MHA. It's still an operator running scripts intentionally though (which is what we want).

I will definitely agree with you that manual operator intervention is better than automated failover.

[0] https://github.com/unixsurfer/anycast_healthchecker
I'm really glad Apple takes these positions in privacy. I think their efforts benefit all users, not just Apple users, because the other companies have to respond.

I would love to see them take it further by reducing the amount of "trust" required, such as more open sourcing and support for open source OSes (like Linux). They have definitely improved from "closed end to end" of Steve Jobs, but they could do even better.
I honestly don't know what you're on about. This person willfully engaged in fraud; they instructed their engineers to engage in a project to deliberately mislead regulators, and throw much, much more pollution in the air than they told people they did. This is not a simple mistake.
Removing the individual mandate won't change the requirements for plans.
> How is that relevant, the price spiking isn't because of people like you. It's because of people buying in now.

I wrote in my last sentence that they take the highest risk.

> how ill-equipped the majority of people are to understand risk and probability.

If that's true then conclusion would be that democracy/any liberal system is the worst system of them all, because if majority of people do not understand risk and probability they shouldn't be allowed to even vote.

As I already wrote, all the data is there, just turn on the TV and you will hear "it's a bubble". No one is deceiving anyone in saying it's not a bubble in mainstream media.
Sure, but I'd love to be able to, say, input a midi file and get Parsons codes for all the tracks.
There is a major problem with how programmers are judged.

Say you are given a seriously challenging and apparently problem; that is to say the naive approaches are all hideous train wrecks. You work on it long and hard, until you have a key insight that allows you to implement the simplest most elegant solution.

Now a naive observer will look at it, say well that's obvious, and then ask why you wasted a week to write 40 lines of code.
I see Florida Man has made the news again
Ha, I know a crypto nerd who was investing all his savings into bitcoin, several years ago. Today? He’s a rich man, but he still holds the vast majority of assets in Bitcoin and has not attempted to sell them all at once. So he’s Bitcoin rich right now. I wonder what his ultimate destiny will be.
I understand the Angular part but why Typescript?
It's obvious to nearly everyone that this is the world's biggest pump-and-dump scam.

Sentiment on HN, Twitter and the financial press is nearly unanimously negative. Co-workers and family members are convinced this will end in tears for the foolish speculators.

But one thing bugs me about all this.

Historically, bubbles burst after long-time critics finally capitulate. Pyramids and Ponzis collapse when most people have bought in and there's nobody left to sell to.

Are there any examples of bubbles bursting when 98% of the population knew it was a bubble in advance?
Humans are not machines, so trying to look at them that way is going to be flawed.

Furthermore, there is no excuse for what they did. They knew it was wrong. They knew it was against the law. It was not an accident; it was a deliberate act. There's not really any rehabilitation that can take place here.
How does one take a short position in Bitcoin?
You definitly are not speaking on behalf of everyone...

I've got friends and colleagues who don't even know how to setup their mobile phone wanting to buy in to BTC. They are actually managing to do it because of the proliferation of new, simple, exchanges. What makes matters worse is they have no idea what a wallet is - leaving everything in the exchange.
FYI, that paper was from 1983, CRDT was introduced 2007, conceptually they share the same idea, but most modern CRDT implementations tends to use Lamport timestamp to causally solve conflicts.

In short, antidote looks like a decent solution to this kind of problems.
I agree that overcomplicating code is bad, but then again, what is "simplistic"?

Let's talk Python. To me, using comprehensions is way simpler than loops. Using

for i, item in enumerate(my_list):
# do some stuff with i and item

is way simpler than

for i in range(len(my_list)):
# do some stuff with i and my_list[i]

And still, I bet that most C/Java folks will look at these things with disdain.

Also, higher-order functions. They do sound strange, at first. And yet they're a great tool to combine simple pieces of code. I'm starting to think that "elegance" is just the ability to build complex interactions of simple elements. Think chess, or languages like Lisp and Smalltalk, or Euler's identity.
Maybe I need a little more handholding than the average linear algebra student, but if the language in that paper made any sense to me at all, I probably wouldn’t need any instruction on determinants.
Is map-reduce really less simple than a for-loop? I agree with your other examples, but I see these too things as totally equivalent (unless you're in a language that make a dog's dinner of this type of thing, like old C++).
We use Brex for this! They're YC W17, and do credit cards for startups. You should email them at pedro@brex.com!
Seconding the “source code in escrow” solution as a mitigation about concerns of working with a startup. IMO enterprise customers happy to pay for it and it usually never gets asked about again
I suspect some of the money that chased dotcom stocks in the 90's is chasing bitcoin and alt coins. There hasn't been a stock bubble since the 90's, so I guess bitcoin fills that need to speculate, that the stock market is not providing.
I agree that punishment as retribution is a poor way to run a civilized society. But punishment as incentive structure fits the framework of "deserving" just fine - full participation in human society is a privilege, not a right, and extending that privilege to people who will hurt society is a poor use of resources. And credibly threatening not to extend that privilege will cause people to try to be the sort of person who "deserves" not to be punished.

Viewing humans as machines doesn't work precisely because humans have agency. A machine generally does not decide to break, and a machine generally can be properly fixed (or if it can't, it's obvious). Attempting to convince a machine that it will suffer some negative consequence for misbehavior is unlikely to have any results at all.

Meanwhile, especially for humans making decisions about corporate strategy (which means that they're in a culture that's pretty firmly incentivized towards "is this profitable"), credibly convincing them that they will suffer punishment is a great way to change their behavior and prevent them from deciding to do something unwanted. And one way to credibly convince people that they will suffer punishment for an action is to actually punish people who do the same thing.

It's very unlikely this executive will make the same mistake again, punishment or no punishment. Rehabilitation isn't the point. But we need to make an example of them, and I say that without the slightest shred of emotion.
Most corporate problems are most likely solved by pretty simple code. The problem is that you are not building your resume that way and your future job searches will suffer. To stay up to date I often squeeze things into my work that are not strictly necessary.
I feel kind of guilty since I rarely used my card.

The points I would usually get from my other cards were better.

Also for online transactions, which was supposed to be the strong point of Final, I never use my card on unreputable sites. But even if I did, disputing transactions is so easy these days.

Sorry that you didn’t make it folks. Good luck in your future adventures.
Still playing catch-up. React is already on 16.

Joking aside, apart from semver another reason for the weird versioning in Angular is that it's a rather large collection of modules, especially if you include things like RxJS (which technically aren't exclusively part of Angular but affect APIs due to their widespread use). So it's fairly easy to get a semver major version bump because of an implementation detail you likely wouldn't care about but that breaks backwards compatibility with some older library in some way.
Entirely possible that this isn't a piece at all. Sounds like it might be just a random toss-off $5 job by a hired hand.
For sure. If you look at Old Testament K&R C and PDP-11 assembly language side by side, you can see the mapping very clearly. It's been a looooong time since I did PDP-11 at that level, but if memory serves, I'm pretty sure that a switch(e) {...} can be done as a single jump instruction with indexed-indirect addressing mode.
Futures on Bitcoins will be introduced next week on CBOE and the week after on CME.

I wonder if we will still see this kind of crazy rallies as it will be easier to short it.
I think that's derriz's point. It's very difficult, and would be prohibitive for a small business to immediately convert bitcoin to cash.
For one thing, it uses extensive mathematical jargon that won’t make any sense to beginners... or even to advanced students other than math majors.
Is there a way to remove or bypass Apple ID from the iPhone x I found one in Central Park and kept it on me as I commute through the park every day for 3 weeks with no call or text sent to the phone so I decided to restore it since I did not know the passcode
What do you propose to do with criminals that pose a direct risk to society? (e.g. serial killers)
Trump's administration recognizes Jerusalem as Israel's capital
GM hasn't been found to have cheated yet. So far there is a class action lawsuit by a private firm that has tested one truck.
They use a term "privatized records" that is not directly recognized by the GDPR. If this is equivalent to data anonymization or pseudonymization is a mathematical proof, that I'm not familiar with. Still kudos to Apple for doing "something", then it remains to be seen how well it stands the test of time.
> as someone using Angular in production I'd urge you to stay far away from Angular and TypeScript

Say what you will about Angular, but why the hate on TypeScript? I've found using TypeScript one of the better experiences I've had in the Angular ecosystem.
Some commentators pointed out that Stockfish was crippled by running on incomparable hardware.

maelic:
It is a nice step different direction, perhaps the start if the revolution but Alpha Zero is not yet better than Stockfish and if you keep up with me I will explain why. Most of the people are very excited now and wishing for sensation so they don't really read the paper or think about what it says which leads to uninformed opinions.

The testing conditions were terrible. 1min/move is not really suitable time for any engine testing but you could tolerate that. What is intolerable though is the hashtable size - with 64 cores Stockfish was given, you would expect around 32GB or more otherwise it fills up very quickly leading to markant reduce in strenght - 1GB was given and that far from ideal value! Also SF was now given any endgame tablebases which is current norm for any computer chess engine.

The computational power behind each entity was very different - while SF was given 64 CPU threads (really a lot I've got to say), Alpha Zero was given 4 TPUs. TPU is a specialized chip for machine learning and neural network calculations. It's estimated power compared to classical CPU is as follows - 1TPU ~ 30xE5-2699v3 (18 cores machine) -> Aplha Zero had at it's back power of ~2000 Haswell cores. That is nowhere near fair match. And yet, eventhough the result was dominant, it was not where it would be if SF faced itself 2000cores vs 64 cores, It that case the win percentage would be much more heavily in favor of the more powerful hardware.

From those observations we can make an conclusion - Alpha Zero is not so close in strenght to SF as Google would like us to believe. Incorrect match settings suggest either lack of knowledge about classical brute-force calculating engines and how they are properly used, or intention to create conditions where SF would be defeted.

With all that said, It is still an amazing achievement and definitively fresh air in computer chess, most welcome these days. But for the new computer chess champion we will have to wait a little bit longer.
I think so, consider[1]:

var r = array.map(x => x*x).reduce((total, num) => total + num, 0);

vs its for-loop counterpart:

var r = 0.0;
for (var j = 0; j < array.length;j++){
var x = array[j];
r += x*x;
}

Maybe I'm just not as smart as everyone else, but I only have to keep like two things in my mind when looking at the for loop (easy), whereas in the map-reduce case, I need to have a very "holistic" view of what's going on (hard).

[1] https://stackoverflow.com/questions/17546450/for-array-is-it...
"I am holding BTC from the time it was worth couple of times less when everyone was saying it's a bubble also. Even if it goes down below 10k now I will still make money."

It sounds like you haven't been through a bubble before.

In the dot-com bubble, the losing stocks didn't see their value cut by 3-5x. That was the winning stocks - Amazon lost 93% of its value between 2000 and 2001, EBay lost 75%, Cisco lost 80%. The losers saw it cut to zero. In a very short period of time, too - slower flameouts took a matter of months, quick ones were literally overnight. One day a company would have 3000 employees and be worth $5B, the next day the company would be bankrupt and everyone would be laid off.

I've got a few grand in Bitcoin too (a remnant of the last Bitcoin bubble in 2013 that I never bothered to dispose of), and it's been a fun ride, and it wouldn't surprise me if this is still near the beginning of the Bitcoin bubble and we have a while to go. But please, for the love of god, do not invest money in Bitcoin that you can't afford to lose. Because when bubbles pop, they don't just drop a couple percent or even a couple times. They usually go to zero, and everyone who was burned avoids that asset class for at least the next decade if not for life.
what's funny is that the code compiles the small map-reduce and the for loop to exactly the same bytecode probably. :)
I tried to do that on coinbase and it won't let me
Ask HN: Do you use Nomad in production?
We are evaluating a scheduler to use for our services and we came across Nomad (http://nomadproject.io)

This article (https://medium.com/@copyconstruct/schedulers-kubernetes-and-nomad-b0f2e14a896) which a co-worker sent has a very good reasoning / introduction to why this particular company uses Nomad and it does seem to match our requirements.

Plus we already use Consul and Nomad plugs really well with Consul.

Are there more stories about people using (or not using and why) Nomad? Haven't found much in hacker news through Algolia search

Cheers
We use it on an app that's a bit over 100k lines of our own code. It works fine, there are some gotchas but overall it's as decent to work with as any other framework. Build setup is a bit of a bear but that is largely due to our own requirements and patterns.
To be fair, I think it only trades there and Binanace. But yeah, I'd probably stay away.
Lightning Search and Log Velocity Analytics
Decision Fatigue
> People don't cross shop domestic and VW.

Huh? Don't most people just shop for ... cars?
It'd be interesting to see Angular join the React bandwagon and embrace codemods. React has broken compatibility several times (though you now get deprecation warnings on the final minor release before a breaking major) but Facebook has an internal policy that if React breaks compatibility, the React team has to fix the application code it breaks -- which has lead to every breaking change coming with codemods which can automate the necessary adjustments, making upgrades significantly smoother.
Where's this "I'm feeling lucky" button? I definitely don't see it at all on the home page. I've even tried an in-browser search for "lucky".

EDIT: You have to click "TV" first. Which was confusing, since I was looking for music and thinking TV referred to watching actual TV.
Are you going to submit this 2-3 times a day forever?
Recovering a private key with only a fraction of the bits – rdist