skysight-inc/HackerNews huggingface dataset:
First off. As someone else pointed out it depends on the application.

Heavily data dependent / ETL applications have different requirements than CRUD applications. There is not a one size fits all stack, you need to consider the user cases.

For example:

- We use DynamoDb and ElasticSearch on the back-end because our case is very key-value oriented but also needs faceted search in some use cases.

- We use Node.js for our user-facing REST API because it was fast to develop and quick to iterate on but we use GoLang for our internal gRPC APIs and front-end because in our case those are the hot paths and where the performance differences between node and Go make a difference.

For an activity feed API (hundreds of thousands of activities a day) I've used Redis with huge success.

The point being is if your app is truly enterprise you'll probably have more than one microservice, and you should pick the right stack for each microservice.

In absence of a hard business requirement that is significantly different between languages choose the framework your team can develop the fastest in and get to market fastest (like our hot path example).

My personal go to is...

Backend: Postgres, Redis, Elasticsearch, DynamoDb

Front-end server and APIs: Node.js with express (no framework), focusing on as few lines of code per microservice as possible

OS: Definitely Linux

Cloud Provider: AWS

Cache: Cache close to the app when possible, if you don't need cache to be synchronized across machines there is no need for a central cache. With that said, I personally love Redis

On the cloud platform note, I'm an AWS guy but they all have their benefits. I try to use as many AWS services as possible to decrease dev time / costs but write the code in such a way where it is abstracted so getting away from vendor lock-in would be possible (painful but at least possible).

All the cloud providers have a service catalog that can shorten your development time if you take the time to learn them use them right. I happen to like AWS value added services best.

With all that said:

- The most important things you should worry about is getting to market and solving the customer's use case. The stack is not important in 90%+ of cases. If you structure as microservices you can always replace individual services cheaply on a case by case basis once you have customers.

- Second, "When I ask tech stack I'm talking the whole dam thing" is very unprofessional and I almost didn't answer because of that. I suggest perhaps an attitude adjustment when asking the community for free consulting advice.
I don't think so but I'm not a security expert either so I might have this wrong.

If you send a group message, Apple provides your messaging client with all of the recipients' public keys that are used to encrypt the symmetric key that actually protects the message. They could slip their key into that list and I don't think you would be able to easily tell if they did that.

If you send a message to a single person, then that's just a group of one.

The interesting question to me is if Apple can be compelled to write code to do this if they haven't already done so (and I don't think they have). I wouldn't think they could be forced, but like Microsoft did with Skype, they might do it anyway.
I've been using Elixir/Phoenix for a while now and only have good things to say about it. I deploy on gigalixir.com, but Heroku works also. I'm the founder of gigalixir.
No "servers" to download and host. We have a "server" already it's called email.
> OK so you have a speeding loaded truck behind you that would not be able to break for whatever reason still want to slow down?

Mental experiment: which is preferable - colliding with a static barrier at an unchecked 70MPH or getting rammed from behind by a truck at a relative speed of 30MPH (assuming that's how much you've braked by)?

That said - slowing down =/= emergency stop - that truck behind you should leave enough room in front of it to come to a complete stop - unless you've cut in front of it. I'm probably ranting, but I'll repeat this as I've witnessed it far too many times: do not cut in front of loaded semi-trucks. The gap in front of them is intentional and it wasn't meant for you - it's their braking distance - they have ridiculous momentum and they can squash you!
Quite right, I forgot it. But it furthers the point I think.
Answering this before reading so I'm not impacted by others. SQL Server, ASP.NET Core, As little JavaScript as possible, No caching initially, Dedicated servers, IIS.
It's not obviously true that cloth diapers are better for the environment. EG:

https://alumni.stanford.edu/get/page/magazine/article/?artic...
I'm deeply aware how important UX and the actual interfaces are; however, there are still some underdeveloped building blocks, which are not getting enough attention.

It is true that user interfaces are just as important, but half-baked solutions might do more harm, than good, resulting in disappointment in those who'd be willing to try them out.
DNA is not our destiny; it’s just a very useful tool
It seems like this could easily be fixed my multi factor authentication. I've clicked on phishing links on purpose just out of curiosity. They usually show a page that looks like a FB log on.

But to actually use the phished credentials, they would have to log on to FB. FB could simply send a text.
> eliminate your exposure to social media discussions of the news.

Sadly most news has become a newsfeed. CNN, Fox, etc are all newsfeeds-breaking news! new update! new notification! here are some pundits talking about it.

The reality is we need news-we don't need a 24/7 news cycle.
They mentioned that in the article and link to another article about this.
It’s clearly decentralized as you cited multiple providers in your own post. These providers share no common (logical) servers. Would Apple go totally out of business every people that didn’t relied on this provider would be totally unaffected. If you own your domain and only delegate to a provider it’s almost seamless to switch to another. (Admittedly it’s more frequent for businesses than for individuals).

This is a totally different story for Facebook.
>Not everything is done with the military.

I'm not claiming it is, nor am I arguing that culture isn't also a factor. I'm saying that military presence shouldn't be discounted, as the parent seemed to be doing.
I am freakishly hooked on this book and the thing I find, is that every 5 to 10 years I read it again, there are parts that realise I never understood (or even truly read) when I read it before.

Mind you, I have that with particular novels & movies I return to, too.
Node is fine for the frontend -- I'd go with React and React Native personally -- but between NPM issues and a general cowboyishness, I wouldn't go near it on the server-side.

Backend/API layer would be one or more of Ruby, Python, or Java, depending on what my team felt comfortable with. Large, mature communities, healthy ecosystems, overall decent tooling, good support for testing and deployment automation.

Nothing Microsoft. Not going down that road again if I can help it.

AWS hands-down. Google tends to have this pathological distaste towards providing support for their customers, and I don't trust them to not just shutter any of their non-core products randomly one day.

I am very sold on GraphQL or Protobufs as the interchange format over REST.

Databases, hard to go wrong with PostgreSQL. Redis and Memcache for caching.
People used to do lots of things that they don't do anymore. When we look at history, whom do we admire? Those who "dreamed" enough to make improvements, or those who said "slavery, that's just human nature"?
Well, that comes down to cultural or personal preference. Some cultures consider feet unclean. Some people consider the anus unclean. How clean you try to make a body part depends on how clean you consider or expect it to be.
That's a bit disconcerning, i mean, obviously not all roads are going to be painted properly so you would assume that they have a myriad other ways to figure out that this is a road bifurcating and not far away there's a huge (1m+) obstacle. I 've been researching driving car literature but i find there's surprisingly little detail about the kind of data used and safeguards taken. Makes you wonder if the entire field is really as mature as it claims to be. I mean , if it fails in the perfectly large american roads, how is it going to perform in chaotic traffic in some old european cities and beyond where almost nothing can be taken for granted? Does anyone know of a comprehensive review of the technology that goes in an AV from the past 1-2 years ?
This Court Case Is Bad News for Social Media Privacy
DI water? De-Ionized? The stuff marked "Not safe for human consumption: Lab Use Only" because of how dirty the ion exchange membranes get [among other things]?

Or were you trying to say 'distilled water'?
Scammers abused Facebook phone number search
You could make tens of millions if you stayed under the radar for long enough. There are hundreds of ways to monetize this.
> very vital brand new application for your company that needs to be maintained long term

Long term maintenance is easier if the tools are relatively stable. I think that argues against most (all?) Javascript frontends. Eg, if you started this 3 years ago, your current JS devs would want to throw away your entire JS framework and tooling stack. Odds are if you do it today, they'll want to do the same in < 3 years.

For minimum maintenance issues, I'd pick PostgreSQL for db (data integrity FTW), Redis for caching, and do a server-rendered app.

Of the server-side frameworks I know, Elixir Phoenix is my favorite, but Rails is older and arguably changing less. Probably some Java framework is even more crufty / stable?

Of course, there are other concerns besides stability that might argue for different choices - eg, using Elixir Phoenix means that a lot of your caching would be unnecessary, because the dynamic parts of view rendering are "cached" in compiled functions and the responses are very quick without further caching. And you'd get richer experiences with an SPA, in exchange for a lot more work. But you highlighted maintenance.
Are we still talking about Facebook? Does it still exists? O_o
From what I read on your project, it was quite daring to expose you to Bloc and Iceberg and the latest Pharo.

I wouldn't have.

Because these things are still in flux.

These things are interesting and are the way forward. But not ready for end users.

But this has exposed you to the realities of creating new things: it is not as clean as one would want nor are users that cool when facing them. In a unusual environment like Pharo, it gives a kind of blurring effect since a user has a hard time distinguishing between solid ground and treacherous new terrain.

I would advise you to look back at Bloc and Iceberg when Pharo 7 is released.

The occasionnal freeze of the environment is indeed a pain and a new user would cringe more than once. I actually have a REPL server running in my images to restart the UI when such stuff occurs. Not the realm of a newcomer for sure.

Pharo is great for my uses. It is not the best tool for everything, granted. But when dealing with complex domains, I haven't found anything close.
For liability reasons, the municipalities would have to enforce certain rules and organized structure. Good luck selling that to anarchists...
Mobile Cross-Platform App vs. Native App Development – Which One Is Better?
Emphasis should be on the requirements.

What do we want the system to do?

And how can we control our privacy?

Let's answer these questions first.
Ask HN: Bi-directional data sync, how did you do it?
Since Mulesoft's acquisition I've been thinking how I would build something similar. A couple of projects I'm involved in have mentioned "We need bi-directional sync between Salesforce and X, Y and Z", which has always been followed by "but MuleSoft and PieSync cost serious $$$$$".

I've used Zapier et al and scripted single-direction sync. Apart from the need for a decent change detection and conflict resolution, I'm at a loss for how you would reliably sync data between multiple sources.

Can anyone tell me how they've implemented bidirectional sync? I get the ESB-esque bit of mapping data to a standard format; when it comes to working out what's changed and writing the changes to each system I already have a handful of cases where data would be incorrectly overwritten. E.g.:

09:00:00 Data polled from systems A and B (for these are 'enterprise' systems without webhooks or notifications or changefeeds)
09:00:01 A record in the batch is updated in system A
09:00:07 The changes are written back to each system, OVERWRITING THE CHANGE IN SYSTEM A

Without the ability to lock system A while the sync is done, I don't see how this can be prevented?

References appreciated; I'm on holiday soon and up for a lot of reading. StackExchange has been very silent; 'ESB' and 'bi-directional sync' aren't the right keywords?

Finally, any open source implementations I should look at?
Don't take this the wrong way, but from the outside, this seems condescending.

And secondly it's important to remember your roots, but in my opinion the focus was wrong (or maybe the conversation included this aspect, you just didn't present it): we were around back when Berlin was a swamp and we're still around now, prosperous and developed.

In my eyes that's the real achievement! (look at Iraq, Iran, Egypt, even Greece or India to some degree)
The US’s biggest arms export partners
As a fellow bearded and balding guy, it's not real hard to use different guards, but the motions are new and using two mirrors to cut your own hair are awkward at first. You have to be ready to accept a short single guard buzz cut for your first 3-4 attempts. Having good clippers helps too.
Have been waiting on this for a very long time. Hopefully AWS will keep up-to-date with LTS versions more quickly in the future. :-)
My favorite stack as well, minus Convox (haven't heard of it before though). A no-brainer for me personally, unless there are realtime requirements.
Does Python Smell Like Java? Tool Support for Design Defect Discovery in Python
I think that being ignorant of current events in the world around you is irresponsible and selfish. It undermines democracy and prevents you from addressing problems in society where you could make a difference.

A better suggestion is to focus on higher quality news sources: I'd recommend Reuters (try the iOS app) and the Economist, and Channel 4 News in the UK.
Wow you're right I was going to say that people locked into serfdom in the middle ages had it bad, or that all that slavery in the early US, but no, you're right. People in America today definitely have it the worst of anybody and we're definitely super close to the end of the world.

Except that's bullshit. You know that right? There has never been more opportunity for people to improve their situation and lot in life.
Dustin Kirkland leaving Canonical...and joining Google!
Or maybe having a population with no hard challenges in their youth, like learning to drive and surviving. Seems to lead to people incapable of handling adulthood or developing judgement about risk.
weird because we've been relatively paceful only in the first world and only in the last 30 or so years. jugoslavia was just torn in an ethnic war; spain, ireland and russian client state were host to terrorost movement up until a couple generation ago, with many issue yet unresolved and likely to resurface. before the first world war there were a host of proxy wars around africa and middle east, class cleansing in the east, before that full on wars in the americas, before that france england and germany were in a state of constant skirmishes, with spain under siege by the moors and italy cities changing state flag every couple of generations. china was in warring state mode too until unification, then class warfare, then religious warfare, then the great step ahead.

humans have been a bunch of assholes, we living in a niche of limited peace on a few locations shouldn't give us the peace of mind that everyone else understand the value of integration. note that a person or a family by itself is likely to integrate, it's significant migration that end up into more or less pronounced isolationism.

again, just have a look at all the chinatown and italian quarters. the actual border may be fuzzy, but the sense of identity is definitely there. and while wwii was an exceptional time, smaller conflict are still very present and the failure integration models are popping up every day stronger.
How Silicon Valley, spooks and the super rich took control of the 21st century
I didn’t put it up, but I think I mentioned ALB in one of the editing passes. Could’ve missed it then though, so no idea :)
Postgres + Go + Vue.js + Redis + AWS

Go with or without any framework (like Buffalo)

Vuejs with Vuex
I’m going to disagree that this is common. Newborn schedules in general are not super predictable. I don’t know anyone who has described their newborn’s schedule as “clockwork”.
https://www.cdc.gov/fluoridation/faqs/infant-formula.html

>Can I use flouridated tap water to mix formula?
"Yes, you can use fluoridated water for preparing infant formula. However, if your child is only consuming infant formula mixed with fluoridated water, there may be an increased chance for mild dental fluorosis. To lessen this chance, parents can use low-fluoride bottled water some of the time to mix infant formula; these bottled waters are labeled as de-ionized, purified, demineralized, or distilled, and without any fluoride added after purification treatment. The U.S. Food and Drug Administration (FDA) requires the label to indicate when fluoride is added."
What pandas (Python) taught me about taking an average
I got my start with Logo (which I think is a direct ancestor of Scratch) from MIT
um.. it costs a LOT of money to become a doctor in America.
> facilitated through the power of the gun

Fascinating, seeing as many people's experience of self-identified 'anarchism' is through the power of the fist.
The author asks whether her principles are relevant today, and I think they are, at least for someone like me. Firstly, starting by poking around a small issue that interests me generates motivation: as soon as I have made some progress, I find lots of things that I want to look into more deeply. Secondly, it gives me confidence that I can master the topic, an antidote to the sinking feeling I get from looking at a multi-page table of contents.
I completely agree, and I'd rather that it's done this way, I believe the benefits far out weight the risk of abuse.

On the other hand, with old fashioned paper journals, you could get all copies and store them yourself. If you lose them they're gone too. If there was a cryptographic construct where the access of data would require a public action, i.e. "to assemble the key to decrypt this data, I need to broadcast this to the world", then I can think of a number of good ways to store things with a robust accountability feature.
Your technical stack should not be frozen. During years, it will probably evolve, either to use some promising features of new technologies, or to still be able to hire. For instance, hiring some Cobol developers is really hard (and then expensive) these days.

More important than technologies is testing. If your whole app is well tested (with both unit and E2E tests), you won't be reluctant to upgrade some part of your system because it doesn't answer your needs. Moreover, it would bring a lot of reliability and would be self-documented. That's the biggest point IMO.

For nowadays mood, we are really glad using React, Node, GraphQL and PostGreSQL for all our apps.

Note: we wrote a blog post about one of our long running customer story, which may interest you: https://marmelab.com/blog/2018/03/28/1859.html
Such a best things you said in this topic.....

http://www.ukessaypapers.co.uk/
> It is important to share with your children the things you are passionate about, but equally important is to watch for things your children are passionate about.

Absolutely, it is very important to me that we do things they enjoy. Otherwise I might end up doing the exact opposite of what I intended — and end up with them having an impression that working with technology is plain boring and a chore. Now of course in any creative endeavors there are times of pain and struggle, but I want my kids to experience the joy and satisfaction that can come from it too.
New Blockchain Platform Achieves Record-Breaking Processing Speeds
Ruby with rails or php with laravel, the js stacks are too new and too hip for a long term application, go with a mature stack that doesn't change with the wind
Yeah, I meant that by single (English is my second language).

And of course cloth diapers are probably a good idea for twins too, but I just couldn't handle it. There comes a point where you'll give almost anything to get five minutes of free time every now and then.
> “You run into the exactly same resource and distribution problems as the government has, and you are going to start instituting the same sort of structures sooner or later.”

This is spot on. I think we would have to radically change our species behavioral tendencies before anarchy based societies would ever work like they think they should.
With the recent advances in Machine Learning, this was bound to happen
The Best Fiction Books That Take Place at Work
I'm not sure about the stack (depends on what you are comfortable with, your requirements...) but:

1. use something that has been around a long time and is well supported/known

2. you probably don't need stuff like cassandra or other "big data" data stores (just yet). PostgreSQL/MySQL is plenty fine to start with (and easier to manage/think about).

3. please use only a single cloud provider.
How Cape Town found water savings California never dreamed of
> the market has more Java or PHP engineers

That's a quantity over quality argument. Assuming there isn't an extreme shortage, I'd opt for a language and/or framework that tends to attract higher quality candidates. Personally, Ruby/Rails feels like it hits the sweet spot there.
For our SAAS we're running:

- DB Engine: MariaDB on RDS (multiple instances) + Redis for specific use cases.
- API layer: Symfony (PHP)
- Frontend : React
- Caching: Redis
- Ops: Rancher Orchestration on EC2, and a bunch of AWS features like S3, ALB, ...

We had some hiccups here and there, but I'd say we are happy with the stability of it.
Show HN: Promo – launch promotions across the internet from your iPhone
> It undermines democracy and prevents you from addressing problems in society where you could make a difference.

There are plenty of people undermining democracy while being well aware of what's happening around them. Moot point.
While memcached is great. I feel like its hard to argue for both redis AND memcached. It seems like redundant infrastructure unless you have very specific needs.
For travelers, this site tells you if your destination country uses paper, and if so, if it's OK to flush it (not all sewer systems can handle toilet paper)

http://www.wheredoiputthepaper.com/
Indeed. But if it would make a clickbaitable story, would it seem more lucrative to cover this vs. yet-another-corporate-embezzlement cause? In other words, media attention is also eyeball driven, to the point of sensationalism.
Google should be ashamed of themselves for this meaningless, token “make ourselves feel good” payout. They have straight up exploited the reporter of the exploit.

This could have been used to make millions and they took advantage of the reporter’s good faith and benevolent motivations.

Google, this is worth at least $1,0000,000 to you guys, and even more, in lost revenue, plus the impact of what gaming your search algorithm would have cost and damage to your reputation. Stop taking advantage of people.

Give this man what he deserves!
Max Schrems: the man who took on Facebook – and won