## [ Politics ] Open question: Is it true that if you disagree with a liberal, you are racist?

[ Politics ] Open question: Is it true that if you disagree with a liberal, you are racist? .

## [ Politics ] Open question: Why do Republicans not move and start their own country?

Republicans are constantly complaining about liberals and democrats. Why do not you take the dictator to create your own country? .

## real analysis – Question on the existence of "geodesic" curves

Let $$F: mathbb R ^ n to mathbb R$$ to be a continuous function of Lipshitz that is coercive, that is to say, $$lim_ {|| x || to infty} F (x) = + infty$$.

Given any rectifiable curve $$c: [0, 1] to mathbb R ^ n$$, define the $$F$$-Arc length of the curve, $$A (F, c)$$ as $$sup sum_ {i = 1} ^ n | F (c (x_i) – F (c (x_ {i-1})) |$$, where the sup is taken on all points $$x_i in [0, 1]$$ such as $$0 = x_0 <.. .

Given such a $$F$$ and two points $$a, b$$ in $$mathbb R ^ n$$is there still a "geodesic" curve $$c_0$$ such as $$A (c_0, F) = inf A (c_0, F)$$? When the infimum is taken on all the straightenable curves such as $$c (0) = a$$ and $$c (1) = b$$.

If no, what additional conditions on $$F$$ must it be imposed for this to be true?

## [ Politics ] Open question: capitalists like Donald Trump will destroy the future of humanity because they do not care about global warming ?! True or false?

[ Politics ] Open question: capitalists like Donald Trump will destroy the future of humanity because they do not care about global warming ?! True or false? .

## [ Politics ] Open question: My English teacher said that if you support Trump, you will probably fail in this class. What did he mean by that?

[ Politics ] Open question: My English teacher said that if you support Trump, you will probably fail in this class. What did he mean by that? .

## architecture – Design question about synchronization of two asynchronous data streams

I have two asynchronous flows suppose: Trip: {tripId, date, city} Bill: {billId, tripId, date, amount}. I have to design a system to get an aggregated view in real time of the following nature: City, TripCount, TotalAmount. Events in both streams can be out of sync or duplicated. But the result must be accurate and in real time.

My solution:

1.) Create two different database tables: Trip and Bill (indexed on TripID and BillID). Read the flow messages and persists in these tables with the status column waiting in the Bill and Trip tables. Then write to a worker who will read in the invoice table and look in the travel table for the record containing the given trip ID. If the record is found, the aggregate view will be updated in the third table (City, TripCount, TotalAmount). Then we will change the status of the invoice and the trip record to treaty. A background job will run periodically and delete all records whose status will be processed from the Bill and Trip tables.

The problem I see with the above solution is the indexation done on TripID and BillID will become a bottleneck if I delete the records at a very high frequency. Other, do you see another problem with this solution. I've read on the internet that people suggest it as a very famous anti-pattern cause, here, I'm using DB as a wait-and-see file.

2.) Here is another solution: Take the flow data, keep them in the tables: Trip, Bill (for auditing purposes and to avoid duplicates). To store the path data, temporarily take a very fast data structure for a distributed key-value pair. I am taking REDIS for this purpose. So, after writing the trip data in the database, I will write the same data in the cache with tripid as key and save as value. Then I will put the invoice data in the queue. Workers will read in the waiting line and look in the cache for the tripid. If the tripid is present, the workers will read the cache data, update the aggregate view and delete the tripid from the cache and charge the message from the queue. If the tripid is not found in the cache, the server will deliver the same message in the queue.

To avoid duplicates, the insertion will fail if we try to insert the same tripid or billid in the tables. In case the insert fails, I will not put the message in the queue and cache it.

Experts, tell me your thoughts on the two solutions above and offer us a better solution, if any.

## [ Politics ] Open question: Do you think Miss Michigan should have lost its title because of "insensitive tweets"?

https://www.freep.com/story/news/local/michigan/2019/07/19/kathy-zhu-miss-michigan-world-america/1775246001/ Do you think that women should be forced to wear the hijab? .

## [ Politics ] Open question: Why is it fashionable to say "women of color" but is it racist to say "color"?

[ Politics ] Open question: Why is it fashionable to say "women of color" but is it racist to say "color"? .

## Question about trying to bring a C # feature on C ++ on Nintendo DS

Thank you for contributing an answer to Game Development Stack Exchange!

• Please make sure to respond to the question. Provide details and share your research!

But to avoid