skysight-inc/HackerNews huggingface dataset:
Microservices can be easier to test in that your tests need far less boilerplate to mimic whatever fixture your feature is running in inside the monolith.

If your monolith is huge, having to run all unit tests could take quite a while (and only running the tests you think were touched is disingenuous).

So unit testing is easier in a microservice (or just as hard).

In terms of integration testing, it kind of depends. If you believe microservices lead to more clearly defines abstractions and a cleaner separation of duties then it makes sense why you might think testing that is easier. But you're also testing more complex API boundaries. You're thinking about external (perhaps http?) error codes instead of library exceptions in your monolith language and that can be considered more complex I suppose.

If you ignore the organizational benefits it brings to a large team and assume your monolith will be just as clean or cleaner, then sure monoliths will be easy to test.
Actually, yeah you can. Happened in WW2. People can be drafted and stop lossed. Entire factories were taken over, wages were frozen, and product shortages happened due to military need. If people can't make a profit building military units perhaps it's time the military starts building it's own skills again.
They aren't, though. It's simply a CNAME alias to a third party ad and tracking provider.
The topic is covered more rigorously in the book, "Yuck! The Nature and Moral Significance of Disgust" (https://mitpress.mit.edu/books/yuck) When you look at the policing of discourse, you can see cringe as exploiting the much deeper sentiment of disgust, where there is a bunch of prior art discussing it.
Well I'm somewhere in that 99% of Americans, and I can tell you that "what keeps prices low for me" is very far from the top of my list of priorities. People have values and principles, that are important to us.
Boomers were promised flying cars. Gen X were promised a cyberpunk dystopia.
Do you have an app related to vaping?
Traditional soup broths aid the discovery of potential antimalarials
Holotropic breathing. Someone in my town offers workshops on Conscious Connected Breathing. I would have never thought that just breathing for an hour would fundamentally change my life, yet here I am. My relationship with deep seated trauma has been completely transformed. Technically the breathing was 2 hours, but it felt like 45 minutes. It feels like I now have access to a powerful drug, and an accessible way of asserting agency over my feelings and body.

This is one of those body upgrades that falls in the same category as Lasik. Tuning your core senses and ways of obtaining your needs tends to ripple throughout everything you experience and do. This breathing upgrade changed everything.
You can do that on a uhk too, but then you don't have printed keys. Which is okayish for the numbers themselves, but not the operators.
I would suggest buying more US made products, try to be less dependent on China...
Since it sometimes does help, "it never helps" is false. Lying is usually considered a bad manner.
Starlink Problem Astronomers Were Worried About Is Happening
But you don't actually need any access to Google's stuff to develop for Android, so Google can't lock you out and destroy your business. Google can just cause a lot of inconvenience.
Can you cite any real world examples of this happening?
I don't necessarily disagree with the article, I just want to point out that outside of the US others will readily view this line of thought as hypocritical and self-serving.

As a US citizen, I try to consider how the rest of the world may view our actions (glass houses and all). Following the logic here it would make sense for the rest of the world to cutoff trade with the United States due to the Iraq war, which has caused many civilian deaths.

But if you agree that the rest of the world should have sanctioned the US for the Iraq war (among other things) then there might be a consistency with trying to sanction China.
I have no clue about what terms we sign when we sign up to the developer account but I assume there is some clause about about what they did.

I’d assume they know this might be the cause and by leaving that out of the blog post, I feel like it’s a bit dishonest. Just tell it how it is.

“I caused a bunch of bad PR for Apple back in the days, wonder if that could be the reason for my account being shadow-banned?”

Not saying apple is doing the right thing here though. They should be honest too!
Post is an article about fonts and aesthetics from 2016.

We only know it's today cause of the sequel: https://twitter.com/bkMethod/status/1183784913209905152

The original only stated it was this month: https://gfycat.com/determinedenchantinggreatargus
It was ordered that all copies of the film "Nosferatu" be destroyed, because it allegedly infringed copyright. Shortly after the alleged copyright had expired a copy was found in a safe. It seems that someone had failed to fully implement the court order: a punishable crime, no doubt, if it was done deliberately, but perhaps it was just incompetence.
The anecdote of Wittgenstein brandishing a fireplace poker at Karl Popper at a meeting of the Cambridge Moral Sciences Club is quite well known—but that incident happened after World War II was over. So if Hayek’s recollection here is accurate, he apparently made something of a habit of it.
Interstellar?
I guess that is intentional to throttel down on people applying. It works for me: Except, when I desperately need a job, I don't apply. I primarily only know "this" style of applying - It's all big corp companies, though, I must admit.
100 years isn't really "these days," though.
Even if they did warn him by automated email, when he finally got through to them it would be much more professional to say that he broke the agreement and that's the reason than string him along
Thank you for the recommendation. Probably my next book to read. There is a little bison operation here in Oregon and I'm a regular customer. Strange to think that we are saving them by eating them. I like the "move everyone to Texas" version proposed upthread better.
Witnessed a "hero" in action, always evaluating what everyone in the room didn't know so he could pretend to be the expert.
Yes, that case was a final wake-up call for me to start migrating as much as I can away from Google. Phone is the hardest part - I do like Android much more than iOS, but the risk of getting randomly banned by some deep neural net without any recourse is something that I can't accept anymore.
Super! Just saw that :-)
Extremely valuable. In an hour you can learn why it's important. Mastering it could take a lifetime.
Well you may be fine if you have a lot of disposable income, but many poor Americans will not. Which is of course the opposite story that the OP tried to tell. If you are a minimum wage US worker paying hundreds of dollars more for basic goods is a drastic cut into your quality of life.

This mercantilism on display here will be extremely harmful to people in America who rely on low cost imported goods just for the sake of predominantly wealthy people attempting to play geopolitics. If you're willing to harm poor Americans and cut trade then please state it like this, don't wrap it up in patriotism.

And to expand on the 'jobs coming back'. Given the high production costs that American companies would have to live with would instantly make their products unattractive in the rest of the world, where people are still going to buy Chinese phones. Giving companies like Apple an incentive to drastically increase the pace of automation, which again is the primary eliminator of jobs.

And even worse, unless you put a tariff on Samsung who will still produce in countries with access to cheap labour, american products will be uncompetitive in their own markets. If you do eliminate competition, the incentive to innovate will vanish. This in fact already happened in the US in the 80s, when the Reagan administration engaged in a trade-war with the Japanese to protect the automotor industry. We all know what this did to the american car market as a result.
I don't think this is true at all, or at least not outside of certain niches. I deleted my LinkedIn account years ago, and doing that had exactly no discernable impact on my career.
Our visions of the future are filled with apocalyptic zombie outcomes.
It means I'd stop getting bothered by clueless recruiters multiple times per day, which can only be a net benefit.
Ask HN: What is the best way to calculate percentile of streaming data?
Hello,

I need to code python function which will iterate through incoming requests and calculate percentile of size of body dynamically. Which lib or algo do you guy recommend?

Example: Requests are coming in batches. Let's say first batch has 50 requests, next one has 80 etc. I need to calculate percentile of size of body that each request has.
Sonoma County, CA here. Currently under the power shutoff and went through both the Tubbs fire in 2017 and the Kincade fire just last month:

It goes beyond the line maintenance issue - that is really a red herring IMO:

Clearing all fuels X-meters around lines doesn't help when you have hundreds of acres of fuel that hasn't burned in almost 80 years on either side of it, as we do here.

The bigger issue is that California has gradually seen a decrease in controlled burns in these areas.

A controlled burn is a fire set by Cal-Fire/Forestry managers in order to mitigate fuel buildup in fireprone areas.

When I was a kid, it was common to have pretty large controlled burns. My father was involved in setting them up.

Anecdotally, in speaking with him, as more people (reaD: money) moved into the area, there was more and more uproar about controlled burns - eventually they just tailed off because people would be scared, complain about the smoke, nuisance etc.

TL;DR: Maintaining the lines and clearing brush doesn't matter when you have thousands of acres of fuel that hasn't burned in 60-80 years. That is a state/regional management issue. And when you buildup that much potential energy in an area, the laws of thermodynamics tend to take care of it.
It's a nice reminder not to believe the technohype. Most of the world changing-technology that's being hyped today isn't going to happen, and the world-changing technology that does happen isn't going to be what we expected.
2000 was always the future - probably for 3 or 4 generations of kids. 2020 seems arbitary
I think this is my favorite video about how to wrap cables: https://www.youtube.com/watch?v=kda4DPAn3C4
If online advertising isn't worth the spend, it seems certain that legacy advertising wasn't worth the spend. People just couldn't prove it.

That would mean that legacy TV, Newspapers, etc. were all a bubble too.
In 10 or 15 years the the better way to effect change will be armed conflict in addition to economic recession. In another 30 years there will be no way to effect change. The time to act is now.
There are a number of foss and proprietary pdf readers for chromium/chrome. There are also netflix apps outside of chrome. You don't have to use Chrome...
If you read the article and the attached twitter threads, stadia's streamed content is not of high visual fidelity.
The distinction between hardware and software is blurring. Software-defined-X is becoming a thing.

Apple/Google/Microsoft thinking is easier to understand if the black slab in your hand is considered one thing, not two things. If it is not a general purpose personal computing device (PC), but a branded PDA that makes calls.

For most consumers, that’s right, and for them, the strategy is right. Make the PDA experience seamless and safe.
Children are being locked away, alone and terrified, in schools across Illinois
Yes, it's pretty easy to disassemble it and find out. It's basically auto-updates, some closed-source extensions like Chromecast (although you can manually download the Chromecast bits for Chromium if you'd like), some branding differences as compile-time #defines. https://chromium.googlesource.com/chromium/src/+/master/docs...

(Do you know that all of Chromium is in fact open source? Have you looked at the source and the build process? Are there any parts in it that are actually precompiled binary blobs?)
> Racket CS remains "beta" quality for the v7.5 release, but its compatibility and performance continue to improve.

Does this mean Racket CS is faster than the default Racket?
Tools to help healthcare providers deliver better care – Google Blog
The 1% are above any state. They will align with any state that gives them favorable tax loopholes. If America clamps down they will just leave. Look at Eduardo Saverin for example.
The Drug War is hardly political, and hardline immigration policies are not "racial".
You weren't supposed to look at the literal villages, you were supposed to look at the subway stations and the theatrical events.
... they could have advocated for better wired internet, but now it's too late.
I don’t think it will be all that interesting. Trump has it in the bag.
The key logical fallacy is that by cutting trade with China, the various grievances you list will somehow improve. For example, if we don't trade with China, do you think the recently passed Hong Kong Freedom And Democracy act will have any leverage with the Chinese? They will turn Hong Kong into another city in Guangdong the next day.
I am glad to see that websites are struggling to ruthlessly track users for showing ads. It means that the efforts so far are working. They have our attention.

Now it's time for standards creators to be responsible and to do something in favor of their users: the user should have the final decision about being tracked/shown ads.

But when the most used web browser is in the hands of the biggest ad vendor, then there is little hope...

I guess we can only expect for web pages to turn into a sort of dynamically-generated JPEG that cannot be parsed/analyzed.
A very good analysis of the said scene - https://www.youtube.com/watch?v=gXTnl1FVFBw&t=228s
The way I read it, the discussion is about third-party ads which are disguised as first-party ads by using CNAME DNS records, so that `totallyfirstpartyads.mywebsite.com` is actually just referring to `serveads.thirdpartyadcompany.com`.

More than that, random subdomains are used to subvert adblockers.

To me, it seems that the discussion is about third-party ads which are masquerading as first-party content. It's not about first-party ads or whether the content should be free, but about third-party advertisers pretending to be first-party.
When I grew up in the 80s, every movie we ever had was a VHS copy from a friend. Along with every cassette tape and all the Commodore 64 software. I remember the day my old man’s cool friend stopped by and handed me a box of about 100 5.25” floppy disks full of games and software.

I didn’t learn until I was practically an adult that some silly people actually bought movies and software. Now it’s the norm.
The law is a sham that's routinely changed in favor of those who make the most money. Just because something's legal doesn't mean it's right. The law also applies differently based on who you are and how much justice one can afford. I also think you're exaggerating. Someone saying if content is worth something to you, you should be willing to okay for it is a far cry from them labeling themselves the arbiter of copyright like you seem to have done.
I’m genuinely shocked Trump hasn’t capitalized more on the HK situation. It would have been perfect for him to, at the very least, get some major concessions from China. Instead, we’ve been ones suffering.
> No there wasn't.

Yes there was. Go to archive.org and check for yourself.

> The commercial internet is a trillion times bigger than anything that came before and services billions of users around the world, many for free, paid for by ads.

Bigger doesn't mean better. The web is now flooded with malicious and manipulative content. The ads pay for that content, while taxpayers and consumers pay for the infrastructure that actually makes the Internet possible. Ads pay to keep the web centralized, they don't pay for what makes the web possible.

> This is a tired old myth that everything was somehow better in the good old days but that's all it is.

There is indeed, but notice that I did not say that "everything was somehow better in the good old days". I made a very specific comment about a very specific topic. My comment: there was plenty of quality content on the web before ads arrived. Ads made the web worse. Argue against this if you like, but not about things I did not claim.
There's the dodos of mauritius
The Big Data of Big Hair
Scary. Presumably you have some real world examples of this?
Better timestamp: https://youtu.be/tJeEuxn9mug?t=1840
Most HN-posted stories about big gubmint looking into startups will have at least a few comments that seem eager to advocate on the behalf of the company in question. Perhaps they imagine themselves as one day being in a position to get paid $6m as a trademark fee for the name "We".
Absolutely agree. Also, as a European, I can tell you that this perceived escalation is not an American phenomenon based on Donald's rhethoric. It's based in increasing perception of Chinese misdeeds in the West and around the world. And it's real in actual escalation of what China is doing.

In 2015, during the umbrella movement, there was discontent in Hong Kong over the taken-away promise of near-future free elections in 2017. In 2019 Hongkongers have their rights taken away NOW and are affected NOW. In 2019 we have a fairly accurate picture of what's going on in Xinjiang. The list could go on...
Hatching in One Page Dungeon
Oh yeah. I've seen numerous extension cords that just twist into an unrecognizable mess after a few weeks because of internal stress, in the hands of folks who don't know better. My own cords, of similar build quality from similar big-box stores, last decades and still coil and lay like new.
My thought exactly.

Germany is probably the unfriendliest EU country when it comes to piracy, enforcing fines even on small offenders.

Grandparent's example with the DVD player region lock isn't exactly piracy.
If Apple believes Rambo violated the Developer Agreement, why not let him know? Why not give him a warning? Both Google and Facebook recently violated Apple's Enterprise Developer Agreement, had their accounts locked, and within 48 hours their accounts were reinstated after they were allowed to correct the issues. Same has happened over the years to other companies.

If Apple did lock his account because of some violations(s), why not give him the same opportunity?
The author is also a New America Fellow, so they must use a trick from any center-right academic fellow to publish center-right articles to be picked by center-right journals every now and then (and then be misquoted as munition to "based" arguments on fringe social media)
Thank you for the article. I’ve personally stopped buying Chinese made/owned products due to the HK protests, but it has been extremely difficult to convince friends and families to do the same because I couldn’t properly explain to them why this was such a big issue. Thank you for spending the time to write up this article, and thank you for taking a stand.
Ironically, Google them.

(And plenty here on HN for a decade now.)
Exactly. This is the template for emerging economies. Grow your domestic economy, have your consumers support your industry. That’s the recipe, but suddenly this is “bad” for our own economy and people.
So Google Fiber is throttling your connection, as you paid for, but the network connection to netflix is unthrottled. Netflix is also deploying OCA (Open Connect Appliance) servers directly inside most big ISPs - https://openconnect.netflix.com/en/#sample-architectures
Welp, guess who is going to fire up Civ 5 tonight? This guy.
Do you think so? If you do, and you hire people, you should seriously consider not thinking in that way.

Any manager who can put two and two together should be well aware that the impact that an average IC has on the success of a failing company that's bigger than 100 people is near-zero.

It's just pedigree snobbery, to look at a resume, and go: "Oh, well, he worked for losers, he must be a loser, reject."
> I think it's slightly more complicated. Having an older manager/supervisor is not a bad thing. Working in a department where you need to have put in 12 years to become a supervisor is a problem.

Exactly. I was too brief with that point, but the issue is first-line managers, in some cases, having more experience than I had years of life at that point. It's an environment that seems to condemn people to life as a minor cog in a huge machine, where your opinions aren't respected and you have no hope of making it into any sort of management responsibility.
Because despite his bluster he’s been completely ineffective. Talk is cheap. Execution matters.
This is what I believe as well. I prefer no numpad- there is a number row afterall. I will not give up anything else though. I see so many of these keyboards with no function keys or even a number row. It's all hidden behind some mode toggle. It's for the birds.

They do look nice but they seem to cross my personal boundary into being less pragmatic as a result.
Simple tutorial: set up PostgreSQL 12 streaming replication
Because lawyers. Apple currently is under no obligation to release the rational for their decision. If they publicly tell him why, he can challenge it much more effectively. The apple NDA is possibly too broad to be enforceable and given that ALL of their competitors are allowed access to the developer system, gives them no traditional protection of trade secrets. Id est, It gives them an unintended benefit of controlling the public story (and thus some degree of market forces) about their products, but does not keep their market competition from peaking inside.
If they divulge the rationale, and he challenges it in court it would upend their (and lots of other) developer programs, or at the very least cost them lots of time, attention and goodwill fighting to preserve it.
We're already starting to get a lot of Whataboutism in the comments here. Yes there are other issues in the world, do you really think we're not aware there's a lot of bad stuff going on in the world??? If you're so concerned with those other issues go write your own blog post about your issue and gather supporters on your own.
Honestly, I’m pretty sure if you asked some random person if they would be willing to not be able to afford anything for cutting the ties with everything made in china, they would refuse.
Also, Plato also didn't come into existence in a void. The exact creation date of the Iliad isn't known, but it's assumed to be around the 8th or 9th century BC. That means that Greece had a culturally stable society for some 500 years before Plato was born, even though it was mostly composed of interdependent city states rather than central rule. The first time that was achieved was under Alexander the Great, so well after Plato.
I've had a similar experience.

Setting everything up in the first place was a massive pain in the arse, definitely not for the feint hearted (I imagine there are tools/scripts to make it much easier nowadays), but it's been almost plain sailing since.

It's very rare that I have delivery problems, maybe once every year or two, which is roughly the same as through my O365 mailboxes!

Only issue is when there is a delivery problem, there is usually nothing you can do. Some of the block lists have a procedure for removal, many don't.

But after running my own mail server for something like 15 years, I've decided I just don't want the hassle any more (even if it isn't much work), and plan to move everything to O365.
I agree with you and imagine many others do as well. I think you are right it's about time I draw a line in my own personal life as well. No more Chinese manufactured goods for me. In fact, I think I will go ahead and get rid of what I currently own.
Janu miluje Petr. -- PETR loves Jana.
Petr miluje Janu. -- Petr loves JANA.

Does context define subject/object since otherwise these seem equally to mean Jana loves Petr?