skysight-inc/HackerNews huggingface dataset:
Python Microservices chassis pattern package
TL;DR: Python Microservices is a Microservice chassis pattern like Spring Boot (Java) or Gizmo (Golang). PyMS is a collection of libraries, best practices and recommended ways to build microservices with Python which handles cross-cutting concerns: https://github.com/python-microservices/pyms

When we started to create microservices with no idea, we were looking for tutorials, guides, best practices, but we found nothing to create professional projects. Most articles say:

- "Install flask"

- "Create routes"

- (Sometimes) "Create a swagger specs"

- "TA-DA! you have a microservice"

But... what happens with our configuration out of code like Kubernetes configmap? what happens with transactionality? If we have many microservices, what happens with traces?.

There are many problems around Python and microservices and we can`t find anyone to give a solution.

We start creating these projects to try to solve all the problems we have found in our professional lives about microservices architecture.

Nowadays, is not perfect and we have a looong roadmap, but we hope this library could help other felas and friends ;)

We will be grateful for any contribution!

https://github.com/python-microservices/pyms

Thanks!
It's still one of my favorite things about mergesort that there's a variant that can use 4 separate tape drives to sort 2 tapes' worth of data with barely any working memory.

It just streams the data back and forth until it's sorted.
No, but they should be able to recover from it, which is almost as good.
I read this article a few days ago and said almost exactly the same thing. The mook stuff is fun, but the line you quoted:

>“We are not beefing endlessly because we do not desire peace or because we do not know how to engineer peace. We are beefing because we no longer know who we are, each of us individually, and collectively as a species.”

is the important part of the piece for me, and I'm happy to see you and others singling it out. I really relate to what Rao is saying here. It's a sensation not unlike boredom. Like we're all waiting for something, anything to happen.

A weird example: In 2016, I flew home to PA from Boston specifically to vote against Trump in a place that mattered. I stayed with my parents for the night, and when I came back from the voting booths, the TV was on and it suddenly became clear that the unthinkable was happening - Trump was winning. I vividly remember the sensation that came over me wasn't disappointment. It was excited anticipation, like the way you feel right before you leave for a big vacation. It was like "ok, here's something actually _happening_ that I'm a part of." It's kind of fucked up, but that emotion that washed over me felt "truer" than any principled argument that this guy could do real damage, etc. It felt like suddenly I was living -in- history, rather than beside it.
> MacOS does use 64-bit time values, so there shouldn't have been a problem. But the "ls” command (and the Finder graphical application) do do some date arithmetic. I suspect that there is old code that is using a 32-bit variable, thus causing the incorrect display.

I was unable to reproduce that by bypassing unzip:

% touch -t 210301010000 this
% ls -l this
-rw-r--r-- 1 eesmith admin 0 Jan 1 2103 this
That seems to contradict what the paper's authors have to say on the matter:

> Prof Sewell said the ‘right people’ are now interested in developing the potential new therapy and said progress could now move ‘quite fast’. The team says human trials on terminally ill patients could begin as early as November if the new treatment passes further laboratory safety testing.

Source: https://www.telegraph.co.uk/science/2020/01/20/immune-cell-k...

Some level of skepticism is certainly warranted, but it's not impossible that this is way closer to "actual medicines for patients" than you might think.
Translated into reality, it means "I forgot my password".
Also Heinleins Stranger in A Strange Land. Martian speakers unlock psychic powers.
>The old two wrongs make a right defense.

Where the hell did you get that from my comment?

I'm saying that no prosecutor is going to take a fraud case where the fact pattern is of a consumer manipulating a return system in order to achieve an outcome that was identical to one expressly allowed by their state law (return or exchange for non-defective example within 90 days).
I think the lack of strong social ties was also the norm through most of the 20th century (in the US at least) but people didn't have the opportunity to connect with focused interest groups as they do now. Prior to that social ties were enforced through religion and that created it's own problems.
Yes - agree. I am being provocative as well (HN doesn't like, but sometimes it's useful).

This is a problem of policy and social engineering - technology can and will help, but it won't solve it.
No one doubts the value of personal development, least of all the interviewee.

But I'm not sure what that has to do with buying expensive formal education credentials.
Foreign rock/pop
Looks really good. I'd love to be able to import from plantuml.
Firstly, just to clarify: I don't have a strong opinion on whether Britain is the most racist country in Europe. If you had to press me for an answer, it's probably about average, recently become slightly worse than average. I did strongly disagree with your previous claims that it's "the exact opposite of how it really is" (i.e. that the UK is by far the least racist) and that people not voting for Labour somehow means that they can't be racist.

> I thought we were moving beyond "immigration quotas are racism"?

They're not automatically racist, but support for them can still be motivated by racism, especially when people are willing to risk suffering economically themselves to reduce immigration.

> Eastern Europe is almost entirely white so reducing immigration from there couldn't be racist to start with.

I'm not sure why skin-colour is so important. Jews are "white" (or at the very least the Jews who live/lived in Europe are/were white), but antisemitism is considered a form of racism. In any case, whether you call it "racism" or not, there could still be xenophobia and prejudice.

> People in the UK overwhelmingly want to reduce immigration, something like 80%+ want that so it's a massively bipartisan issue,

I have not seen any such polls. The most that I could find was 76 % in favour of reduced immigration, but I could also find recent (2019/11) polls with a small majority (56 %) in favour of keeping FoM. The latter seems consistent with the result of the recent GE where more people voted for parties intending to keep FoM than those that wanted to get rid of it (the split was around 54-46). The former poll could also, in principle be (people would like to reduce immigration, but on net, would not want to lose FoM, including their own FoM; also elections aren't single-issue).

> not because the entire country is seething with racism

Nobody is claiming that everybody even slightly opposed to immigration is racist — that would be absurd.

> but because the existing policy recognises no limits on infrastructure build outs.

The fact that people are generally most in favour of reducing immigration in the areas with the least immigration weakens the argument that they're motivated by legitimate concerns about the infrastructure not coping.

> But sure, whatever, by all means, believe a place immigrants choose to move in huge numbers is filled with hatred and racism against them

Immigrants also move from South Asia to the Middle East, despite there being immense systemic discrimination against them, for economic reasons.
Good guess, you had me checking it, but no. I looked it up and it seems to be my purchase date (and consequently original Apple Carplay subscription date) with 20 years added to the year part of the date.
Of course if you had quoted the full context of your supposedly damning gas quote:

"It is sheer affectation to lacerate a man with the poisonous fragment of a bursting shell and to boggle at making his eyes water by means of lachrymatory gas. I am strongly in favour of using poisoned gas against uncivilised tribes. The moral effect should be so good that the loss of life should be reduced to a minimum. It is not necessary to use only the most deadly gasses: gasses can be used which cause great inconvenience and would spread a lively terror and yet would leave no serious permanent effects on most of those affected."

lachrymatory gas: That's tear gas. To cause a great inconvenience yet leave no serious permanent effects. To reduce loss of life to a minimum. That's clearly not a memo calling for genocide.
What’s Wrong with Computational Notebooks? [pdf]
Similar discussion here:

https://news.ycombinator.com/item?id=19579216
I understand how it might seem obtuse and undecipherable, but it makes it so much more genuine and heartfelt to me. You can’t fake the experience of somebody who can channel that style of deep 2000s Internet zeitgeist.
“ Melanoma, also known as malignant melanoma, is a type of cancer that develops from the pigment-containing cells known as melanocytes.[1]” (from Wikipedia)

“autologous -
adjective -
(of cells or tissues) obtained from the same individual.”
What rapid changes have we seen lately? The change in that person's comment has been in the making for over a hundred years. The first thing I personally can think of (in the context of America, as one of the last Western countries to accept GLBT people, not in the context of the wider world, which has been accepting for much longer than America) is American GLBT communes in the 1780s.

Given where we are in GLBT acceptance, it seems like, if anything, this was one of the slowest-changing social norms of all, and one that more than a few generations were pushing for before the ones that are currently here.
Still nope. Several of the Brooklyn listings are scams: top link is a 4 BR for 900 in Bushwick, which speaks for itself. The others are NOT near Manhattan (these NJ spots like Newark, Montclair, even Bayonne are not considered close because of very long commute times). Gravesend is not anywhere near Manhattan. The list goes on, I just addressed page one. Streeteasy has more realistic listings.
Sideways: Depth-Parallel Training of Video Models
Why Google Is Pushing into Health Data
wrt the data point, to be fair most research is still coming out of universities where students have access to the same data as anyone else. So from a research perspective it's not a huge deal, much as with compute industry can scale up known techniques while individual researchers do more interesting stuff.
Ugh, they ruined PocketCasts when they bought it and did that major 'update'. Fortunately I found Podcast Republic the day mine updated and haven't looked back.
The Great U.S.-China Tech Divide
"Je n’ai fait celle-ci plus longue que parce que je n’ai pas eu le loisir de la faire plus courte."
As one commented mentioned these "nut allergies" can be psychosomatic, where the mind is literally triggering the physical reactions based purely on expectation.

On the other hand "nuts" including peanuts are typically processed in the same facilities, so cross-contamination is real too.
a game seems less about solving a problem though. Educational games can semi help with solving the problem of learning specific topics, but often hard to pull off well.
Also Stephenson's "Snow Crash."

It's an interesting idea, but pretty thoroughly debunked.
Options:

1. make it a plug in to another platform and charge.

2. give it away for a sign up and email so you can get feedback on new features and add a pay tier with more features.

3. try selling it to a set of potential users in person and/or skype to get some feedback.
It still just means you're finding parameters that match some subset of the relationships present in the data as a whole.

All sliding the window does is discover the parameters that work for the whole data set in chunks - it is an artificial distinction. It still regresses to: you've found some number space generated by some function that matches some percentage of the numerical relationships (correlations) present in the data.

It's circular reasoning because during creating the parameters you're testing it on the "future" data. It only "guarantees" success in the "future" because you discarded all the parameters that didn't work in the "future". No different from writing a model that uses the S&P 500 price "parameters" between 250 and 1000 and back-testing it on data from 1950-1996.

The only way to prove your algorithm's robustness is to generate random data and test it on that. Once you've tested against every one of the infinite possible realities of a single time window, then you can rightly assert that past results have guaranteed success in the future. Hint: it's impossible, but the random data testing is actually the correct technique to test algorithms at scale.

Back-testing on historical data is like a footnote compared to the thesis simulation can generate - the only value it contains is correlating relationships between market data and external variables not present in the numbers. Back-testing to tune an algorithm based purely on the numbers in the data is just an exercise in quantified hind-sight bias.
All providers do this where they can.

Office 365 had an issue where their DNS resolutions were fubar and impacted the service for certain customers, but their position was that the service itself was fine.
It reads LessWrong's cooler brother.
I switched from LastPass to Bitwarden after LastPass started trying very hard to use the same password for every website I tried to generate one for.

Bitwarden sync can sometimes be a little slow but on the whole I am very pleased with it and would highly recommend it.
Another data point of one: all my allergies correlate with the amount of detergent/soap/shampoo/deodorant I am using and to whether I've been the past few weeks in the big city or in the rural countryside.
Thanks for this information. RMS is definitely a soldier I’d like to “thank for their service”.
It has larger grains. It is called "kosher" salt because larger grain salt (typically coarser than even typical kosher salt) is used to drain the blood from meat and fowl, a necessary step in rendering it kosher by Jewish law.

Edit: basically, it is just coarse salt.
As I said in a comment you responded to.

> Programs can deal with the issue by performing atomic full writes by performing renames, but most programs don't bother to. SQLite cannot do that, because it cannot afford doing full writes as databases tend to store a lot of data.

I'm aware you can do that, but most programs aren't. If you pick any random program, chances are it won't do that.
What's the deal with lines that are composed of two lines with a space in the middle? This seems a very odd choice for something "hand drawn"

Eg: https://excalidraw.com/?id=5650452045627392
I would look for toys that help teach causality.

Also, train sets and marble maze blocks can be an early exposure to a very abstract take on branching logic.
OpenCV has a bunch of image processing algorithms that I searched for, but don't see mentioned CLAHE Contrast Limited Histogram Equalization _ I have used to good effect to get better contrast
Neural Network DeNoising
https://papers.nips.cc/paper/4686-image-denoising-and-inpain...

https://arxiv.org/pdf/1807.08176.pdf

I'm sure github has some repos on this
Couldn't you just add time as another dimension?
Sry for the confusion my bad, too late to edit unfortunately. As pointed out this is the link to the OP post that was missing initially as well.
My startup uses apollo-server with NodeJS and hosts our entire GraphQL backend on Heroku.

To be honest, we only did this because we are comfortable with NodeJS and Heroku -- we knew little about the alternatives.

If given a choice, I'd rather use something like Prisma that'll make my life 10x easier than the hell that was defining schemas from scratch.
I wonder if this could have anti-aging uses to identify and remove cells dealing with metabolic dysregulation.
GCP has different SLAs for each product, but the ones I've seen are per-customer. The details vary by service, but they generally define downtime, like x% errors for y% amount of time, and then have financial penalties for z% downtime[1]. There are sometimes clauses requiring retries with exponential backoff[2].

Their SLAs are short and readable. It is worth reading a few of them, especially if you have a SaaS and are thinking about your own SLAs. Just search Google for [google $product sla] to find them.

[1] https://cloud.google.com/stackdriver/sla

[2] https://cloud.google.com/datastore/sla
The simple secret to developing resilient designers
Cooler? It reads like LessWrong's twin that decided to play D&D for an afternoon instead of Shadowrun.
As someone with Crohn's and who knows people with all sorts of similar (maybe?) autoimmune diseases, any nugget of hope for something besides immunosuppressant treatment (meaning our bodies are always welcoming of other infections/sickness) is welcome.
I enjoy and appreciate Venkatesh’s Ribbonfarm writings, and other writings like his. While the cultural situations he’s writing about may be obvious, I appreciate his discovery and naming (‘jargon’) of the patterns he finds. You could look at it as developing an intellectual framework. I consider it a sort of contemporary philosophy, which tries to be both conceptual and actionable. Some of his essays have made me rethink major outlooks on my own life, and make important decisions. I think it’s important writing for our time.

Often his essays are essentially experiments in structures and definitions, a kind of ‘what if we looked at things this way?’ methodology. In answer to your question of jargon/jokes, yes, that’s his methodology. There’s a lot of serious stuff in there too, but he likes to have fun with the ideas, as well as try to integrate his words into modern (online) culture in useful ways.

Venkatesh wrote a related article a couple of years ago: ‘A Quick (Battle) Field Guide to the New Culture Wars’ (https://www.ribbonfarm.com/2018/03/06/a-quick-battle-field-g...). He essentially proposes that the only way to understand the the culture wars is to see them as actual wars, fought using the logic of warfare, not of, say, diplomacy or social rationalism. This essay has been extraordinarily useful to me, and has helped me develop very different political stances and associated actions.

As this article itself suggests, I enjoy an information diet in moderation — some short, some medium, some long. Ribbonfarm is part of the medium/long diet, and I feel much better having read there.

EDIT: removed unnecessary criticism of parent]
There is no “unintended acceleration” in Tesla vehicles
Do you lean more towards "fun" projects or trying to solve "serious" challenges?
Interesting article, but normally "network effect" is associated with the concept that the value of membership in a network increases as a power of the size of the network. Rather than size, it seems that the type and quality of the various networks that an individual is embedded in is the controlling factor regarding the advantages and disadvantages that shape the individual's life in a progression from family to education, employment, and community. In the end, it is more about "path dependency" than "network effects".
"Devi" can't be the most popular last name in India. Lots of Indians have the place of birth as last name or fathers name (eg Sundar pichai or vishwanathan Anand) with no last name technically

Devi is sometimes used as filler name just like kumar.

I would assume real last names like shah or Patel or aggrawal to be more popular
the jokes are there to build a bond with the reader through identification of shared knowledge ... specifically, if the reader 'gets' the joke then they feel a sparkle knowing they have a special shared insight with the author.

I got the permaweird joke but the rest went over my head, naturally I stopped reading about a third of the way through as it is long-winded.
Have you read the copyright license for google analytics? Their license and EULA has not been tested in court either. There is nothing that proves that google can't claim copyright infringement for all sites using their web products.

"You will not (and You will not allow any third party to) (i) copy, modify, adapt, translate or otherwise create derivative works of the Software"

As you typed, The interpretation of what is or is not a derivative work in this context is a subject that is legitimately complex. Its not tested, beyond the fact that the companies of 1/3 of the largest websites has had their lawyers green light to use software with such language in the license. So far the bet that a website does not constitute a derivative work of the analytic software it is using is holding.
So at least 6 figures went into it, somewhere between $400,000 and $4M. The simple ability to invest that much money over 15 years puts you in exceptionally rare air. A vast majority of people can't afford to save over $27,000 per year, let alone invest it. Your financial stability, even minus your investments, are likely at a point that a vast, vast majority of people are incapable of reaching (short of a lottery ticket, or similar event).

I'd also point out that, as an investor of hundreds of thousands of dollars, you get concessions from brokers that people investing hundreds or thousands of dollars don't get. You're a top-tier investor. Not elite, but orders of magnitude above from the median.

I'm happy for you. I really am. But it's important to understand that most of the US, let alone the world, is incapable of reaching the same heights as you.
My prediction is that whoever comes up with the next forward leap in AI will be someone who at minimum has a firm grasp on the various branches of undergraduate level maths. Naively tinkering with heuristic statistical ML methods like neural nets and hoping that higher level intelligence somehow magically pops out isn't the way forward. We need a more sophisticated approach.
Several countries don't have a 0.01 coin, so they have rounding when making a cash payment.

Here in Denmark, where the smallest coin is 0.50kr, and a single bag of sugar is 9.95kr, I'll pay 10kr at the till. If I buy 6 bags of sugar, which is 59.70kr, then in cash I'd pay 59.50kr.

When paying by card, the exact amount is paid.

For the USA, a reasonable first step would be rounding to the nearest 5¢.

Someone so poor that 10¢ matters can game the system with careful purchases. The shop won't care, since handling the 1¢ coins is just a hassle for them.

https://en.wikipedia.org/wiki/Cash_rounding
Unfortunately android and windows are known to be collecting, storing, and (windows) potentially selling lots of information about the user and device. I think this makes them unsuitable for children.
Tested a KIA e-Niro during the weekend and it had gas stations in the points of interest list on the infotainment system. Cute. :)
To their defense, many / most gas stations sell lots of useful stuff and have services apart from gas so there is that.
GP mentioned digital signage, so probably some displays at a business. Unlike a computer which would mostly either be left on (asleep) or shut down properly, I'm sure users had no qualms about killing power to these displays as they closed up every night. Write flushing problems would be exacerbated in that environment.
Or we're in an era where that sneering prototype for clickbait blogs is being rightly consigned to the dustbin of history.

When faced with a link to an article on The Register, searching for the source it's been copied from is a good first step.