skysight-inc/HackerNews huggingface dataset:
Ask HN: Is GraphQL suitable for communication between microservices?
I am looking to implement an app following the principles of domain driven design using microservices. In this situation, I plan to have each bounded context in my domain to be a microservice. I think this is a good size for each microservice for now and leaves the option to break them down into smaller services if needed in the future.

In terms of talking to the client(s), I plan to have a GraphQL API gateway sitting in front of these microservices.

I am also planning to have synchronous communication between the microservices as they are easier to reason about and test and if needed, some of them could be turned into async endpoints in the future.

Regarding communication between microservices, there are currently a few different flavors, for example:
- REST
- GRPC
- Thrift

I've experience with GRPC and REST and personally prefer GRPC. Using protobufs in GRPC makes renaming fields and adding new fields much more easier and reduces the risk of breaking clients.

After looking into GraphQL, I wonder if GraphQL might be useful for implementing communication between microservices. For example, it is also possible to use GraphQL over GRPC by using a JSON codec and having the GRPC be equivalent to the /graphql endpoint. In this case, you'd get the benefits of grpc middlewares, tracing, retrys and backoffs.

If using GraphQL on GRPC, I think the only benefit of GraphQL over protobuf GRPC is the ability to select only the fields we need and select nested/graph data when reading from a microservice.

Have any of you considered or implemented using GraphQL for communication between microservices? How did it go? Would you recommend it?
I was 18 in 2001 and started my first job as a programmer at the nadir of the bust (October '01).

I got the job via some personal contacts, it was in an academic institute and I was making barely over minimum wage (probably why there wasn't much competition for it). It wasn't really even an open position but when I asked around they had the budget to hire someone to help the physics phds with their non-research tasks.

I started studying CS at uni the next year ('02) and it was much easier to get in than previously, cause there were far fewer applicants. By the time I got my first job with a more decent salary it was 2005 and the worst of the bust already cleared away - so I guess I somehow managed to skip it altogether.
Materials Science. Tinkering with off the shelf hardware (even start with RaspberryPis). Systems Integration (legit systems integration, not the shitty title Accenture/Deloitte/Generic Consulting Company gives you for working at an Enterprise client). FPGAs. Electrical Engineering. Thermal Engineering is huge. or the usual: Software Engineering. (because satellites need software too)

Any of the above to name a few
Of course, do you not?
IIRC that kind of addon always existed. Some kinds of browser functionality was implemented that way.

It doesn't exactly "install silently", it's there by default. Just like the code for the bookmarks toolbar is there by default. It uses the addons API, is all.

The Presentation addon IIRC handles some prompts for https://developer.mozilla.org/en-US/docs/Web/API/Presentatio...

I'm not sure why it's structured as an addon, but it's basically browser functionality.
> That $10m out the window is like a Series A for a nefarious hacker with deep crypto skills [..]

Where "deep crypto skills" refers to someone who bothered to read the documentation on Solidity (the Ethereum contract language), specifically the section on function visibility[1], and the Parity wallet contract itself[2].

In other words, an obscure security hole was not found by a genius hacker. An obvious, trivial, simple mistake was exploited for $9m because the people investing money in it provably didn't know what they're were doing.

[1] http://solidity.readthedocs.io/en/develop/contracts.html#vis...

[2] https://github.com/paritytech/parity/blob/4c32177ef3f4521c66...
40+ New-Age Companies  Share How They Use NPS  to Grow
Maybe so. But maybe the recycling argument doesn't apply so much for lead as for iron.
Resonance
Yahoo mail is unlimited, has a sane folder structure, and in spite of the fear-mongering, is less likely to be attacked than GMail nowadays.
You could actually customize excite.com a great deal. You could choose your stocks, your weather with a zipcode. You could make a box with your favorite links, you could drag around the various boxes and news feeds, add RSS links. The whole deal. It wasn't personalized content created automatically based on your search history though.
I can assure you, radars have ∞ more chance of getting something changed verses just compaining about it on a website.

File the radars.
It wouldn't make sense financially or otherwise for them to try to trick people who aren't well suited to doing startups into doing one, which is what the parent seems to be implying.

Also, the parent says that it's a terrible financial deal for most founders to do a YC startup, which is laughably wrong. If you succeed, there are few better ways to become very wealthy. If you fail, the most common failure mode I've seen is that the team gets a much better than average signing bonus at one of the big tech companies. We've all heard horror stories about people going deep into personal credit card debt to keep their startup afloat, but that doesn't seem to be representative for YC founders.

And whether you end up cashing out for gigabucks or getting acquihired for vested equity megabucks, while you're running it, if you do it well, you get to work the way you like on problems of your choosing with people you like rather than letting your soul die slowly doing pointless tasks and sitting in pointless meetings at a big corporation. People should really not forget that part while they're harping on startup salaries. Startups can be a lot of fun, and you really can have an impact. Unless you join a pointless startup that loves pointless meetings, those exist too. But if you're the founder, you're free to try to run a low-bullshit company.

Anyway, that's all to say that you're trying to find the silver lining of a turd of a comment.
Reddit or SV in general or YC too.
'go dep' now production ready
One solution is to simply treat everyone equally and not give anyone a tax break.

I know this is not what most people think, but in the context of good governance, my view is that no (legal) behavior is any more or less meritorious than any other.
What high-speed astronomy can tell us about the galactic zoo
Is it not useful to look at both the statistic you mention along with the ones you responded to? They may not be equal in importance, but merit some consideration, no?
I don't understand why they are singling out Tesla here. There are currently 4 other large volume production EV's being sold in California (Nissan Leaf, Hyundai Ioniq, Chevy Bolt, BMW i3).

EV's make good sense both economically and environmentally for California in the long run, but we still need the tax incentives for the next few years until battery costs come down with new production capacity.
When the sun goes down
History is full of everything.
Tata Nano ($1600 equivalent) didn't disrupt a thing, why would this?
Yahoo's portal is personalized (but not explicitly so).
I heard that in ancient Moscow, house fires were so frequent, that there were markets of pre-half-built houses for sale outside the town. They weren't that expensive (wood was cheap), wo that if your house was burnt it was not really that big of a deal (still big, but not the end of the life).

The biggest threat was massive blaze. If some house caught a fire, no one would be putting it out, instead, everyone would be breaking other nearby houses, to contain the fire.
It's pretty common for people living in NYC to refer to anything north of the city as "up state". I'm not sure exactly where that boundary starts but I'd imagine it's somewhere near the first grouping of 3 or more trees.

It's so common in fact that I'd be willing to bet the author lives or lived in NYC and you have some relationship with "up state". :)
I believe all that is already assumed and known by all talking. I assumed people reading also already know that.
I suggest that you switch over to development for Pale Moon. There are lots of positives behind it, and all that I've heard is that they have no plan at the moment to switch over to WebExtensions.
Don't airbag alone cost 1k each? Also steel anti intrusion bars costs, increase weight, which requires a larger engine etc.
Storage of illegal numbers?
Cheap catalyst takes sunlight and carbon dioxide, makes methane
A more equal union: Of men and women
Why? We don't know what'll happen, but if you know an automated car will stop for you even if you're in the wrong, then why not go for it if you're already in an environment and culture with aggressive pedestrians and drivers.
Why do we need to assume the adversary controls the network? We've seen real examples of such attacks on networks, using methods like cable splicing, passive wifi listening, etc.

While there are alternatives to such attacks, active attacks require a greater investment by the attacker, and in some cases aren't practically feasible without being detected by the legitimate network operator.
I don't have experience with GraphQL or other graphing APIs but I do have experience with micro services written in Scala using a RabbitMQ backend and running in Docker containers on DC/OS (mesos).

We were experimenting with some other tools back on that projects and were looking at migration paths. If you're starting from zero, I'd recommend looking at Kafka. It's a true pub/sub model and you can use it easily to communicate with various services.

RabbitMQ is good for things that are unreliable and you don't care about data loss. We did care a lot about data loss and had to deal witreliable transfers (like SMS/text messages) there are better solutions like ZeroMQ. Avoid RMQ if you can is what I'm saying.

I'd personally recommend a backend like Kafka and writing your services in a language you like and are comfortable with. Write strong, solid test cases. With good unit tests and integration tests, language choices become less of an issue.

Also take a look at event-source for persistence. You can use regular old relational databases if you have an event sourcing micro service you rely on to persist information.
Piper – GTK application to configure gaming mice
I can't find this on Google.com - is it just in the App ?
The Inefficiency of Construction and the Politics of Infrastructure
UK bank TSB to use iris scanning in its mobile app
Omniscience has never been a requisite for mutual material success.
As a fellow Firefox user (writing this on Firefox, btw), I've heard people complain about performance issues all the time with Firefox vs. Chrome... and I've never understood the problem. Firefox with ~20 addons starts up like a charm for me, loads every page I need in moments, and has no problem doing anything I need it to do. Chrome, on the other hand, gums up my machine to the point that just opening a Chromium-based browser usually ends with my machine frozen like an iceberg, me pulling the battery, booting into safe-mode, and uninstalling the product completely.
A Decentralized Ponzi Scheme
Most "normal" people I observe either type in google.com, use a separate search box, or click a bookmark that goes to google.com.

Rarely do I see them searching using the url box. That's where web addresses go silly!
Steps You Should Follow to Get into Excellent Internship Program
AFAIK that degrades gracefully only if you have JS disabled but there are many other reasons why the progressive loading script may not work as expected.
fuckedcompany.com on 6-hour refresh.
For these kinds of exercises about fair dice and fair coins, it's a lot like the kind of jiggery-pokery that happens in Physics classes and stuff. "Under ideal circumstances . . .", "In a perfect vacuum . . .", etc.

Outside of games, for which this was explicitly created, these kinds of things are learning tools to understand distributions and dependent vs. independent events, and it also makes a separate point about assumptions.

In reality, if we were wanting to predict the outcome from a real dice-throwing event, we would either sample the results from actual people throwing dice, or we would simulate the results based on parameter inputs for exactly the types of things you are talking about.

Of course, no one really cares that much about dice, other than people who play board games with dice. :) So substitute any other stochastic method for generating an outcome that does matter, and the statistical approach will generally be the same: either sample or simulate.

Obviously there are exceptions, but that's really the basic idea.
As a longtime Guardian reader, I'd be careful about implicitly declaring the Guardian as any more "legitimate" than anyone else.

Can't speak on the topic of NYT, but at least in the case of the Guardian, it's clearly lowered its standards over the last several years to find a market.

(I still read it, but it's slowly becoming a left-wing Daily Mail cough Owen Jones cough, which is really disappointing).
This seems to auto-populate which is different, and is far simpler. iGoogle was widget based and relied on you to pick the info sources.
What is this thing you call a “type”
Exploring the Pipeline Pattern in Elm
The iPhone app has it already.
I liked your joke.
Have we hit peak crypto? I wonder if this would be more effective if it increased 10% each time instead of 2x. Interesting how nobody can run off with the money though... a fully traceable Ponzi scheme.
There can be an immutable smart contract which is in compliance with the law (though you have to be more specific with which law, but for these purposes I know we mean US law).

Point being, immutability is not sufficient to demonstrate that a contract is in conflict with the law.
HPKP is dangerous. With configuration mistake or lost keys you can render the entire domain unusable. Imagine microsoft.com being lost for 10 years because someone put nonsense in HPKP. It's like nuclear reactor, except the advantage is pretty small and risk is huge.
Designed by Engineer: how one developer was learning UI design
I think research points to a lack of physical activity, at least in children, as a casual factor.
My melanoma was initially an ugly black mole that grew on the side of my face, which I had removed by my dermatologist and sent to pathology for analysis, where it was determined to be a melanoma of intermediate depth.

Because of its depth into the skin tissue, I had a wide excision (where more skin tissue is removed) and a sentinel lymph node biopsy which removed four lymph nodes that were most closely connected to the tissue that was removed. Of the four nodes removed, three were negative (clear) and one had a micro metastasis (micromet) sized 0.18mm. This placed me at Stage IIIa.

The melanoma developed as tumors in my lung just over a year later, putting me at Stage IV.

The primary symptom I had was the mole. I felt completely normal.

As far as the treatment, read my answer about the "hellish" nature of it in another reply.
Typescript and Webpack 3 Starter Kit with Karma/Jasmine Unit Tests
A Guide for Becoming a Morning Person
Mozilla brings Python-style project documentation to JavaScript
>Welcome to Medium

>Sign in to discover more from experts in tech, politics, culture, creativity and more.

Is this going to become the new norm? Blocking dialogs demanding we login? This is 100% unacceptable
There are lots of perfectly legal things that are bad for everyone if too many people do them (the tragedy of the commons). Trying to reduce bad things happening to citizens is arguably the entire purpose of government.
Excerpts from the Times’s Interview with Trump
Machine and Deep Learning in Python: What You Need to Know
Looks like a good motivation to start learning Solidity.
That's not my experience in the UK. In my experience there are very, very few cyclists in the UK. To the point that anything they do wrong is pretty much irrelevant.

Disclaimer: I've spent most of my life living in areas where bicycles outnumber cars, so my standards are likely different from yours.
Yacron: a Cron-like program written in Python asyncio
Generate your own indented JSON using Python
Publish Jupyter notebooks with Hugo
Building Serverless Microservices with Python
The NYTimes has absolutely been able to adapt to the digital age successfully, so why can't any other news organization. The trick is to remove any executives who are afraid of change rather than embracing it.
Doesn't this happen every day, over trivially small sums? You've never heard of a credit card chargeback?
Incredible. Also, getting treated by Steve Rosenberg is so awesome. Your results are literally the reason he'll get the Nobel prize within 10 years.
Bluetooth is getting a big upgrade to make it better for smart homes
The country has negative interest rates. That money has to go to work somewhere.
That recent article about the rebellious self-owned Greek factory was case in point.

Great story, but the journalism was lacking significantly.
> 10 years ago there was a such thing as standards in journalism

Was there? Because last I checked all that these so called 'reputable' sources of news seem to put out is biased garbage full of misleading data and often blatant lies.

I've seen better journalism from bloody buzzfeed than I have from some of the "proper" news networks in Australia...
Who visits google.com anyway? I am pretty sure majority of those users who aren't interested in seeing these news are already using google search via browser address bar. Only those who go to google.com will see these news , and they seem to be an exact type of people who would enjoy such content and spend hours browsing it generating more revenue to google
How would a market driven solution not drive centralization? Datacenters are cheaper.
A keurig type machine for soylent paper bags would be an interesting sight. Now I wonder how keurig even began convincing people to use their unconventional methods for coffee.
I've been to some restaurants with crazy number of courses. Last time I went I got to gorge on a steak that was significantly smaller than a matchbox. Honestly, the only good thing about these restaurants were wine pairings.
Bit.ly is currently down
Importance of Pre-Mortems to Your Product
You can watch snapchat stories from the NYTimes, The Economist, WSJ, in addition to a whole bunch of other sophisticated serious media organizations. Often times the articles they publish on their stories, are just more interactive versions of the articles they published on their website with the text being the same.

The thing is, tabloids are just more popular than sophisticated news. People are more interested in buzzfeed or mashable or people magazine than they are with politics.
Is it giving you an error in the console? "names written on top of each other" sounds like the script is executed partly and then stopped.
Well...depending on what you're selling they are probably excellent customers. Sorry, couldn't resist.

On a more serious note however, I understand what you mean. I think there's also the perception that significant cases of drug abuse, addiction and the crimes related to this are something that seems to happen far, far away for most people in a position to offer help. Something you see in movies and dramatic VICE documentaries, but not in your own backyard. If you're not confronted with the problem it's easy to not perceive it as one.
Huge props to the DO team. Been a happy user of theirs for years and have always received good service (obviously not the tale for everyone). Lately I've been enjoying their slow but steady move into becoming a stronger offering by giving extra services like block storage and load balancers. That and their API, and their incredible library of docs have been amazing overall. So much kudos everywhere :).
TED: Everything you think you know about addiction is wrong

https://www.ted.com/talks/johann_hari_everything_you_think_y...
Trickle-down environmentalism is not real environmentalism, and the ruse is becoming clearer by the day.
MyEtherWallet is a sane wallet. They have their code in github so you can run locally, they have a .com website and a chrome extension. Personally I create some paper wallets and keep them safe, then I use MyEtherWallet chrome plugin for read-only access to the wallets. When I want to spend some ETH I scan the private key and spend immediately. All the excess funds form the transaction goes into another "locked" paper wallet.
In Uber, India's UPI Gets Its First Major International Backer
I stopped reading at the first subheader, since it immediately betrayed the author's own ignorance regarding AWS' support for both automation and "serverless" software. Lambda is by no means obscure, nor is CloudFormation.

Calling one's target audience "ignorant" does not make for a good argument, while we're at it.
But iGoogle still was very popular. It was killed despite being used by many because Google decided everyone should use Google+ from now on.
I didn't see the comment as snarky :) I'd argue however that those examples were just examples of others succeeding even though they had a limiting factor, not evidence to say that a reduced learning capacity is going to guarantee success haha.
+1. Their content marketing game is exemplary. Amazing example of how to do marketing right by serving the community.
Build Professional REST APIs with Python and Flask
Why create a startup?

Because you have a product and the development and marketing skills to persuade people to keep on using it. It's easy to get sidetracked with colorful terminology and complex definitions.
While technically true, using Google as your default search engine goes a long way to that goal.
> Smaller players also pay the highest cost for bandwidth. If some plans don't have bandwidth caps yet (many already do), they will get caps as soon as serving bandwidth as an individual becomes profitable.

Isn't it the other way around? Small providers offer low traffic costs while the big cloud providers (Google, AWS, Azure) charge significantly for bandwidth.
Minimock – a mock generator for Go interfaces
Yep, I read the Guardian's Australian edition every now and then and some of their stuff is absolute rubbish.

I'd love to know what the go-to center-left news source is over here. So far I haven't found it...
Because the benefits of the subsidy are disproportionately given to companies that exhaust federal subsidies. And Tesla will be the only one to do that for some time.

EV's don't make good sense "economically" for California yet. It's not unreasonable to wait until battery costs come down so mass adoption comes naturally.

They do make sense environmentally, but there is a far better way to compensate them for the actual value of their environmental benefit rather than a politically decided subsidy. California is already discussing doing it's own Cap and Trade market. Instead of subsidizing "zero emission" cars, it creates a market cost for carbon emissions, and raises the prices of gas engined cars, and not just newly purchased cars, all cars.

And it's fair, if your Tesla gets all of it's electricity from coal fired plants, you'll pay your fair share for that plants emissions.
Coinbase won't support UAHF
BitFury is back at BIP91 signaling
Without Marissa Mayer is there really nobody senior enough at Google to successfully fight such a bad idea?
13 Japanese Exchanges Agree to Suspend Bitcoin Service on August 1
NIST Random Beacon
Because you'll be more likely to feel sorry for the driver, and less likely to feel defensive.

It will be no more socially acceptable to jaywalk in front of an autonomous car than it would be to cut in line. (And yes, I know, line-cutting is rampant in China... but in India?)
The website [1] is worth reading too.

I like the idea of an automated prover and an SMT solver running concurrently, one looking for a proof and the other for a counter example.

[1] http://cosette.cs.washington.edu/