 sure the codes are correct...
<issue_comment>username_2: LGTM
I agree with converting most of the ErrFatal to INTERNAL_ERROR. But I'm slightly skeptical about the possibly transient ones, like MySQL going down unexpectedly.
It boils down to how we'll react to those errors. Would we retry the query on an INTERNAL_ERROR? If yes, then we're good. If we're not, then INTERNAL_ERROR won't work well for the case where MySQL went down unexpectedly, because that's a query we could have retried elsewhere.
I'm still ok with submitting this because we're not going to get this right on the first attempt. So, we just fix forward based on experience (past & future).
<issue_comment>username_0: @username_2: to answer your question, I'm considering INTERNAL_ERROR to be retryable by VtGate, but not something that clients should retry. INTERNAL_ERRORs, for the most part, only make sense to retry on a different VtTablet. In essence, I don't think clients should control which VtTablet exactly they want to route a request to, but VtGate can.

This somewhat falls apart, because of two cases:

1. Transient MySQL connection issues. I can see the case for these being considered TRANSIENT_ERROR instead of INTERNAL_ERROR, but I decided that I'd rather have clients delegate the retry behavior to VtGate, and not retry themselves.

2. There are some INTERNAL_ERRORs that are global across the VtTablet fleet, and thus shouldn't be retried by VtGate. Unfortunately, there's no better error code than INTERNAL_ERROR, so we're going to end up retrying a few more errors than we previously used to.Q: I need help walking through these vector problems including magnitude and direction. Given the following vectors, answer the questions (a) through (d)
i. <2,-3> ii. -i+2(square root 3)j iii. <-2, 3> iv. i-3/2j
a.) Which vectors have the same direction but not the same magnitude?
b.) Which vectors have the same magnitude but not the same direction?
c.) Add vectors i. and iii. by drawing a picture below and also by using your unit vector addition.
d.) What is the magnitude and the direction of the resultant vector from (c.)?
ftpd_banner=Welcome to Mate's FTP service.
I can login to ftp from my phone when i am in LAN with wifi. But wheError: Server returned unroutable private IP address in PASV replyn i am on mobile data, not in LAN i can still login but when auth ends it says connection refused, but if i try to create folder it does create, thing is i can't see anything on ftp. On the phone i see it returns pasv address of  |||IP_ADDRESS|||  which my routers lan address so it's not routable from the WAN. How to fix this issue?
on firewall side i did not change anything just added routung from xxxx port to  |||IP_ADDRESS||| :21 that's it.
Not quite sure what is the correct combination of options, but based on the search results of https://www.google.com/search?q=vsftpd+ftp+passive+nat, it sounds like you can define the public IP as "listen" adress or alternatively set "pasv_address" option fro vsftpd.
I have not tested those, but sounds like you are not the first one to look into that challenge.
You may need to define a port forward in firewall.
And enabling NAT reflection / NAT loopback for the port forwarding rule, the outside IP should be reachable also from inside LAN.
Thank you for answer. I am not good when it comes to networking. I am gonna read things about how to make NAT reflection.
What ports do i have to forward? I already have forwarded xxxx port to  |||IP_ADDRESS||| :21 port. And pasv mode uses 1040-1050 port ranges from LAN to WAN right?
Passive mode on FTP means the client creates more connections to the server instead of the server creating connections to the client. When you set pasv_min/max_port you need to forward that port range from the router to the server like you did with port 21.
What is better for security active or pasive?
I had openvpn configured with tap device, so when i connect to openvpn first ftp does work because it can reach routers LAN address. I made openvpn as secure as i could, read many guides. But it's slow.
Probably passive, and active mode will frequently not work anyway because the ports will be blocked by a NAT or firewall on the client side. That's why passive mode was invented.What to Pay for a Car — What’s a Good Price?
Here’s how to determine a fair price for brand new cars (see below for used-car pricing).
What to Pay For a New Car
All new cars have a window sticker that displays the manufacturer’s suggested retail price (MSRP). It may also include destination charges, dealer-installed option prices, and other miscellaneous charges. The total of these charges is the price you would pay for that vehicle, less sales tax, without any discounts or rebates.
All these charges but destination charge can be negotiated. Manaufacturers charge dealers this fee for vehicle delivery, and dealers simply pass it along to customers without markup. It cannot be eliminated from the cost of a car.
Price can be negotiated for most vehicles. Unless the vehicle is a hot seller and in short demand, it’s usually possible to get dealers to discount the MSRP. But, how much? What’s the best price I can expect?
Here’s your strategy for negotiating price.
1. Get online price quotes
Use Internet car buying/pricing services to get dealer price offers. The services are free and you are not obligated in any way to accept them. We recommend you use multiple services so that you’ll have a number of prices to compare. The best sources for free quotes are:
The prices come from dealers in your area. Even though the prices are discounted, you may be able to do better if you are a good negotiator.
2. Learn about rebates and incentives
Visit Best Car Deals for information and advice about current car incentives, rebates, lease deals, and low interest loans, including 0% APR loan deals.
Also go back to Edmunds.com (see link above)and click on the New Cars section “Rebates and Incentives” link. You’ll be shown the current incentive programs, if any, for the vehicle you’re interested in. Any price quotes you receive should already include any Customer Cash-Back Incentives, but you should verify this to make sure. If there are Dealer Marketing Support incentives, dealers are not required to share that money with customers, but many do.
3. Get dealer invoice prices
Invoice price is the wholesale price that a dealer is charged for a vehicle by the manufacturer. Dealers make their profit by selling at a margin over invoice price. Essentially, the best deal you should expect to get on a car purchase is something above invoice price, but less than MSRP, allowing the dealer to make some profit, which is needed to stay in business.
A new online service, TrueCar
, provides dealer invoice prices for any car make and model but, more sigificantly, they show you the best price that other people are paying for those cars. They even give you a savings guarantee that you can take to dealers in your area. Give them a try. It’s a free service.
Some of the prices you may get when you ask for price quotes could actually be less than dealer invoice price.
How can a dealer’s price offer be below his invoice price?
Dealers get certain bonuses and holdback fees from the manufacturer when vehicles are sold, especially when sales goals are reached. This reduces the actual cost of a vehicle to the dealer. Furthermore, any factory-to-dealer cash-back rebates and direct-to-customer rebates and bonuses also serve to reduce cost. If a dealer is willing to share some or all of his manufacturer-provided money and offer a price discount of his own, your purchase price can easily fall below invoice price.
How much over invoice if no manufacturer help?
Here’s a good rule of thumb: On cars whose MSRP is $20,000 or less, offer $500 over invoice. For cars with MSRP of $20,000 to $30,000, offer $1000 over invoice. And for cars with MSRP over $30,000, offer $2000 over invoice. This assumes the dealer is getting no rebates or marketing support from his manufacturer, and that there are no direct-to-customer rebates.
These are only suggestions. If the car you want is in short supply due to heavy demand, you might not be able to get much of a price reduction at all. If it is a slow seller at the end of the model year when a dealer has plenty of inventory, you may be able to do better than invoice price, assuming there are manufacturer incentives.
What to Pay for a Used Car — What’s a Good Price?
Used cars vary in price depending on year, model, style, mileage, equipment, and condition. While it’s possible to get a good car for as little as $1000, the odds are