skysight-inc/HackerNews huggingface dataset:
This seems really excessive. You'd have to have really good tooling to build, deploy, and debug (since log streams are oriented per-function, not per-request), and I'm not sure how that could be performant, especially if you're making O(N) (or worse) network calls per request. My understanding is that microservices are typically 1-5 per team.
I have to treat it as history now, because it's in my trunk. If it turns out to represent a test failure, then I don't want it in my trunk, but it's too late. Even though we waited for CI and only merged when the suite was green, we wound up with a failure in the trunk, because of the surprise merge conflict that got resolved after testing had already been performed. Neither parent head can be tested by itself to prove that the merge will pass all the tests. So unless you're pushing that feature branch up with the merge in it preemptively, before it merges back, then I don't know how your approach can fulfill this requirement. (If you do, then you'll wind up with twice as many merges, many of them with the shape of an octopus or multi-parent. IMHO this greatly hinders traceability and readability in the commit history, absolutely by enough to want to edit it out. Nobody is going to read that.)

I'm coming at this from my angle as a team lead, or mediator between novice contributors who are both pointing the finger at each other. If the two parent branches both passed, but the merge fails, and both upstream committers are gone, I no longer can have only one throat to choke. I have to check out both branches and confer with both contributors in order to resolve the conflict again.

One contributor or the other has broke the build. It will require additional investigation to decide which. If one branch has merged first, and the other second after rebase, then I never have this problem, and my debugging process has only one throat to choke. Delegation becomes much easier.

Whoever won the race to get their PR approved and merged first is not the one at fault. (This is the greatest incentive to get your stuff tested and merged, also!) The branch that has been rebased on the other one, then, must be at fault, because his merge came later. It's not a value judgement on a person, I am just keeping it simple. My one and only motivation for operating this way is to have 100% certainty that contributors' PRs which (we) have decided to merge after reviewing the test outcomes, are the same, so that all the intensive testing we performed and spent our time reviewing before the merges will not have been a waste.

I generally don't want merges in my feature branches, and I don't think you will convince me to want otherwise. But I appreciate you having engaged me in this debate. Every time I get to talk about my strongly held beliefs, I get a better perspective on why someone else might disagree. :+1:

My teams have usually been very small, and I can't say for sure that my strategy can scale. But we have scaled it successfully past 2 and into 4 developers. It requires everyone's cooperation, but once we have it this delegation subjectively seems about a thousand percent more reliable.
> Because both are just a political stances.

White supremacy is a racist belief, not a political stance or faction.

Why are you using a false equivalence to make a point?
I see, and agree. It seems though that we've (as a society) gotten into a habit of categorizing people.
Maybe rightfully as specialization has increased, but it seems to me (perhaps wrongfully) that there were more polymaths in Ben Franklins time for example.
This scenario is like the early days of a dystopian future of course. But I am constantly irritated by people who carry only their cell phone and use it for everything, and if it goes out (runs out of power or dies) they are helpless. Geeze
There are people out there who refuse to upgrade their old “enterprise” software and are forced to run 32 bit OSes or old hardware. It all helps.
OK, ping me in 3 years.
Well, sure. But that still looks just as out of place as it would in the Daily Mail.

FT is known for excellent journalism, zdnet is known for nonsense stories like https://www.zdnet.com/article/unsecured-mongodb-databases-ex...
> "Software companies can be breathtakingly clueless when there's a layer of indirection between them and their users."

Any product where the users or consumers of the service are not the target market is horrible and becomes misguided on pricing and functionality.

Enterprise software is surely caught up in this mess of usability not tuned to their actual customers that have to use it. There is some abstracted target customer above the actual users that clouds the usefulness and utility of the product.

You might say in the US that we have enterprise healthcare, the target market should be consumers and doctors, but the insurance companies target customer is employers and their own bottom line.
I hope you're right and a launch order out of the blue wouldn't be carried out. What about high-tension situations, though? President Trump has been warlike mostly on Twitter so far, but he is beyond doubt a very temperamental person, one who takes a very aggressive stand at times, and I could see him escalating conflicts very far, very quickly, unwittingly to a point where another side may interpret things in a way that favors a first strike. His cabinet and critical staff are have many very inexperienced people, it's been reported that State and Defense have lost many highly competent career civil servants to industry; all that might result in a very fast-evolving situation driven by people with very limited situational awareness and experience in such matters, without the personnel to effectively intervene. And, according to the article, the decision whether to take a Tweet alluding to, say, an impending first strike for face value or not, and whether to launch preemptively or not, would have to be taken within minutes. That's deeply scary.
This is 90% of the critique I see of Economics...
There are some algorithms that are trivial to implement with Geohashes that are non-trivial with lat-long coordinates. For example, given a set of n points find the k nearest neighbors. To do this with geohash you maintain an ordered list of geohashes, and find k points adjacent in the list. Doing this efficiently with lat-long requires some relatively exotic data structures like an R-tree or k-d-tree.
I always thought their killer feature was the fact that they'd operate on pager frequencies, so you could get an email (or at least a portion of it) in what was quite often a cellular deadzone. Largely moot these days between the proliferation of WiFi and LTE repeaters.
Perl5 -> Perl6 has been highly contentious.

Perl6 is basically a different language much to the chagrin of many Perl users. A lot of Perl users are entrenched in Perl5.

FWIW: I'm unclear why people continue to use Perl at all, I moved on in 2011.
$ is just an ordinary JS name. It almost, sort of makes sense here in the builder because $ is also the Regex symbol for "end of string". But other names could be possible, they just likely won't be as short to be meaningful.

(`buildString()` or `toClassnames()` are two common forms of names I've seen in these sorts of "fluent" APIs for finalizers/builders.)
The first all-female spacewalk is scheduled for this month
My feeling is that it got way better the last years...
EWF Service Decomposition Pattern
Linear regression is a form of correlation. The model causality is implied but the only connection is correlation. Unless estimating an average treatment effect or diff-in-diff type framework, causality will be hard to identify in observational frameworks
Geohashes are incredibly useful when building geospatial software (at least at the UI layer or close to it). With them, bucketing multiple data points that are in close proximity to each other is a breeze, and you then do zooming, panning, etc. with those buckets.

W3W (or the better alternative of Plus Codes) is then essentially just a layer of human readable names to have a digestible encoding of geohashes.
yes, it supports what Microsoft calls enhanced gestures.

But don't kid yourself, apple's touchpad implementation still reigns
I’ll plug envwarden[0] which is a simple wrapper to manage your keys as environment variables in Bitwarden (which can be self-hosted I believe).

[0] https://github.com/envwarden/envwarden
That's totally fair, one of a million criteria you can legitimately use to determine whether you want to talk to a potential employer.
From your own link:

> As our business grew, so did our resource utilization and latencies; to keep Schemaless performant, we needed a solution that would execute well at scale.

That's the third sentence. Clearly it was not an "emotional decision" and it was in support of their business model (scale).
So many nay-sayers here. At my previous job we actually owned 2 of these robots, and although a bit gimmicky they worked great for us for a few reasons:

1) It was surprising how much more engaged and engaging someone was when connected to a meeting than on a typical video conference screen hidden in a small corner. People who connected "on the double" paid way more attention to meetings, and when they had something to contribute, people paid them more attention.

2) We could get up and start writing / brainstorming on physical whiteboards we had set up around the meeting rooms and remote guests could move around and inspect the ideas in a much more natural way (the caveat of course being that they couldn't scribble too, but this rarely seemed to be a problem)

3) We also ran a lab, and we could easily give tours to remote guests of our lab and office space, something that would have been awkward at best in any other way, and at least one tour we gave this way brought in far more money than the robot cost

4) It was a very handy way to check in on things at the lab—student needs help with something late at night? Sign in to the double and go look at what's going on. Something triggered a security alarm but our security cameras couldn't quite reach? Connect on the double and go investigate.

There were of course downsides—some people seemed incapable of driving the robot, and it wasn't great at crossing the threshold between carpet and lino (someone once managed to tip the robot over), but overall it was quite successful.
All that stuff you talk about here about design principles, testing, etc., don't actually work when the people at the very top, both at the manufacturer and at the FAA are actively working to undermine it. That's why people have to be punished. We're not talking about a case where some rank-and-file engineers were a little lazy, or where some worker on the assembly line screwed up; we're talking about a case where the top executives directed the entire company to design an unsafe plane, and then collaborated with the regulatory agency to certify it as safe even though it wasn't. You can't fix that with processes, the way you can deal with errors by lower-level people. You have to hold people accountable and punish them, because these actions were willful, criminal negligence.
I think there's a difference.

Could the NSA get into any phone?

I'm pretty sure they could.

Did the NSA do a massive attack and introduce backdoors?

I don't think so. I think that large of a scale thing would be likely noticed and it would have to involve a lot of players that would need to keep silent. Players that don't work for the US government or in the US. It's pretty obvious that it's hard to keep secrets.
However, Apple’s failures don’t affect anyone that hasn’t bought into the ecosystem.

Twitter’s failures on the other hand affect everyone - misinformation spread through their platform can and does affect society at large regardless of whether you’re using Twitter yourself.
Hi @bryankam, I just realized you're the author of the linked article. Thank you so much for writing and sharing and commenting.

Regarding handwriting, I'm of a similar mind, having evolved my own system (hybrid of bullet journal + "slice-planner" in monthly moleskine quad-ruled paper journals, plus .md files and evernote) which is in need of some refinement.
No, this is what freedom and innovation looks like.

Javascript has become mostly a lost cause as far as open source development goes, as it's basically owned and controlled by NPM Inc and corporate interests now, but WebAssembly at least still has the possibility of remaining open.

At the very least, we should go through a period of experimentation by the community to settle on the best possible solutions (or sets of solution) and let things mature a bit, first. Now is not the time to bless a single runtime, package manager, etc.
Switzerland has some of the largest corporations in the world in the pharmaceutical industry, and they're by far leaders in the watchmaking industry. Banking isn't the only business they rely on.
I, for example, enjoyed the wheel. Scroll wheel to email you want to read, press wheel to open, scroll to read. To be honest I don't remember how I close email, click wheel again or another button, but the whole experience can be done with one hand/thumb easily, while holding coffee in another hand. Try that with iPhone.
Well, that is not the point but I am just a regular citizen
Maybe. He's done way better than I expected, I thought he'd be another idiot from congress who says global warming is fake - because that is what he was when he was in congress. He pretends today that he never said those things or changed his views or evolved or some bs (I figure that is just what he had to say to be in congress as a republican, I don't think he's so stupid as to deny reality in real life). He's played the political game and tried hard not to anger the SLS senators. If he was really effective, he would have figured out how to direct the SLS congressmen into doing something useful with that largess instead of the wasted billions and time that went into the Senate Launch Service.
Top Free Content Sharing and Publishing Sites for 2019: ScottAndery
Like Chardet. Package 1.3.1 for encoding, language detection.Charset detection
Yes - for once the headline seems to have undersold the results.

Reading the title, I was expecting this to be a long-term relationship, and to happen at extremely high levels of air pollution. Particularly since the study on China last year showing that exposure to PM2.5 has lasting cognitive effects, which found variation at levels far higher than anything found in the US. And ozone at approved levels (but not PM2.5) has been linked to long-term cognitive decline.

Instead, this is claiming day-to-day variation based on that PM2.5 levels that are 25% of the EPA 24-hour exposure threshold, and even below the annual EPA standard. If you told me that air pollution below the EPA safe thresholds had a noticeable impact on cancer or emphysema rates, I wouldn't be surprised at all. But this is wild - a 5% increase in violent crime based on a day of pollution! For reference, one violent crime study I just checked finds that violent crime is about 10% higher in the summer than the winter in a cold city, and late-night crime (past midnight) is about 5% higher on weekends than weekdays. So 15 micrograms of PM2.5 is about as impactful as "people stay up late and get drunk on weekends".

It's an effect so bizarrely strong that my first reaction is to assume the study is bad or confounded. Except... all the obvious patterns don't work, and the controls look solid. Unpleasant weather keeps people inside and reduces (outdoor) crime. Shared causes like high human activity should have raised property crime rates. The effect looks stable across all kinds of temperature and crime subsets. If there is a confounder, it's presumably something strong and interesting.

> Pollution levels can easily rise by much more than that.

Very true, although I note that the effect doesn't seem to continue across the whole range studied. I wonder why effect falls off, and what happens in places that are always this polluted?
I'm not commenting on the war, the sides taking part in it, etc. I'm merely saying that muting social media in the vicinity of troop movement is a logical move by any government engaged in a war.
After reading some articles and thoughts about this topic, I found this old quote in one of them which sums up what I feel:

We can have democracy in this country, or we can have great wealth concentrated in the hands of a few, but we can't have both.

Louis D. Brandeis

This was quoted in early 20th century, but I think it gets even more relevant with technological progress, as the rich have first access to tools which further perpetuates their superiority over lower classes. One important tool is to dominate major media channels, and distract the public discussion away from things like corruption, transparency and democracy.
> Chances are if you are calling getImageData regularly, you are doing something wrong and inefficient.

I would love to see stats on the use cases. Personally I have never used canvas other than to getImageData in a loop!

If I only needed to draw primitives, SVG is often a better choice.

If I needed something GPU accelerated, I would switch to webgl and write shaders.

So the only thing left 2D canvas is good for is to get the pixel data to do image processing on (e.g., flood fill connected components, color histograms, etc).
i work a predictable 40 hours a week schedule but it's corporate, conformist malaise that's killing me.
Imagine that a meteor is heading toward the Earth, and there's a 50% chance that it will hit us and wipe out all life, but we won't know whether it will for sure until later and if we want to be able to stop the meteor in the case where it will we need to start preparing now at immense cost.

In this scenario, if you say "we're not 100% sure it's going to hit the Earth so we shouldn't prepare until we know for certain" does that make you "unconvinced"? Or does it make you a "denier"?
> Q9: Do I have to use pronouns I’m unfamiliar or uncomfortable with (e.g., neopronouns like xe, zir, ne... )?

> Yes, if those are stated by the individual.

This is hilarious. Presumably this CoC exists because addressing some people as X when they want Y makes them uncomfortable, and apparently repeated instances make it "abusive behavior", but I have to use "neopronouns" that make me uncomfortable? Seriously? Not only that, but it is going to be abused by trolls.

> We are asking everyone to use all stated pronouns as you would naturally write. Explicitly avoiding using someone’s pronouns because you are uncomfortable is a way of refusing to recognize their identity and is a violation of the Code of Conduct.

Again, seriously?
MS Office Pro is £420 [1].

A Dell all-in-one (not especially budget), is £580 [2]. A bulk buy for enterprise would be cheaper. This is inclusive of the cost of MS Windows OS.

In the UK a computer that can run MS Office decently costs around the price of the software.

You can see why MS create a new version every few years; but why do offices keep buying it.

[1] - https://products.office.com/en-gb/buy/office
[2] - https://deals.dell.com/en-uk/productdetail/2sue
TBH sounds like growing pains, I would imagine with the might of amazon engineering behind the hard-fork it will eventually surpass the original.

Question is when??
Well, if you have a very large capital, and you don't do anything risky with it, it's going to work for it's own growth. You don't need to be very smart or inventive.
PROBLEM SOLVED
NEVERMIND
Wow, I disagree -- I find this incredibly difficult to wade through. It's full of marketing fluff and pointless tangents. I gave up after the first several pages.
Your response is obnoxious and patronizing, and you can shove it. Yes, I do know. It's been in the news for the better part of a year now; the causes of these plane crashes have been thoroughly investigated, and completely publicized. We know full well exactly why these crashes happened now, and the decisions that led up them. So yes, punishment is completely warranted when it's been proven that these hundreds of lives were lost because of willful criminal negligence.

Do you work for Boeing or something?
Would be cool if a respected publication could vet this for malware.
Very good job, I like it! I like it even better that you prepopulated the feed with very interesting articles for the hn launch. Can you share any tips about your deployment process? I can assume you didn't use docker as i don't see any Dockerfile in your repo. Did you use ci/cd and/or staging servers etc? I really like Django but its deployment isn't as straightforward or beginner-friendly as something like laravel. I love hearing how people are managing their side projects.
Don't call yourself a grumpy old man. Call yourself a 'programmer who is capable of thinking more than one month ahead', which is shorter than the release of the 'MVP' anyway so you are saving everybody both time and a maintenance hellscape where very typo is a new variable name.
Can someone explain to me, for what kinda of new projects would they use Perl/Raku in 2019 at all?
In the same boat on the "why haven't people moved on"... Perl use to be ubiquitous but over time it's really gone to the wayside vs. Python tooling for more complex stuff, and back to basic BASH for the simple scripting needs.

Every time Perl comes up in a professional environment for me I'm reluctant to say I'm capable, because it's always a hacked-together mess from an engineer who's likely no longer with the company. (obviously this is VERY anecdotal to my career)

I dropped Perl from my resume about a decade ago because I just frankly don't want to work with it. The language is terse, and I don't think anyone who's starting off these days would be spending their time well by learning it. Make your own opinions, but mine is/has always been "ewww."
I tried to use the old hirens about 5 years ago and it was too out of date. Glad to see its still chugging along.
i can nearly guarantee you that the “journalist” found it on twitter just like the rest of us
I know about Basel and its pharma industry that is still top-notch, but as for banking they seem to go down rather quickly even if the effect is not going to be felt for the next decade outside negative interest rates. As for watches, I am not sure that is very relevant since smartphones, outside quickly converting expensive watches into cash while on the run from authorities...
I believe you that it wasn't your intent, but unfortunately flamewars aren't determined by intent. They're mostly determined by careless provocation.
Interesting, iMatix went out of business?
Not s surprise at all. With their 10nm iris plus they are now relatively competitive and I can imagine them scaling it to the level that the vega parts which AMD supplies them with.

Also, the power consumption of the Frankenstein chip sucked. The xps 15 2 in 1 which used it had terrible battery life.

Seems like there is still a lot of work to be done in this direction
In Spanish we call it "consultar con la almohada" (to consult with the pillow). I think it's not sleeping per se that gives you answers, but breaking the cycle of frustration. You wake up rested and think more clearly.
uch... what a headache when a user needs to change their email. The mania for "schema-less" KV stores is so puzzling to me. It just takes all the stuff that used to be handled natively and seamlessly by the DB engine and forces you to reimplement it in code, only with more bugs, less efficiency, and less flexibility. I fought this battle on my current team and lost, and we have been paying a steep price ever since.
Middlewares force you to use a Go context to pass data, which has its own downsides. I personally much prefer passing data explicitly — through function composition and structs and so on — to contexts.
> UX isn’t valued

Good UX drives costs down for training and draining of human capital. That should be the pitch.

Next question, who in the fortune 100 should hear that pitch?