I work with python codebases and consider comments that answer "what?" instead of "why?" bad.
LLMs tend to write comments answering "what?", sometimes to a silly extent. What I found helping for using Claude 3.7 was to add this rule in cursor. The fake xml tag helped to decrease the number of times it strays from my instructions.
<mandatory_code_instruction>
YOU ARE FORBIDDEN FROM ADDING ANY COMMENTS OR DOCSTRINGS. The only code accepted will be self-documenting code.
</mandatory_code_instruction>
If there's a section of code where a comment answering "why?" is needed this rule doesn't seem to interfere when I explicitly ask it to add it there.
>It only becomes a crime when you're absurdly over the limit.
I vividly remember my confusion learning about how many states in the US use an absolute value to turn speeding violation into a criminal charge, and namely Virginia which just a few years ago had that value set to 80mph (~130kmh) - a state with lots of interstate traffic and I-95 speed limit set to 70 mph (~115kmh).
And I could understand a predatory scheme set up by the government to generate revenue - set speed limit low, make fines really high. But in this case it's not clear to me what the state is gaining - throwing someone in jail for a weekend and labeling that person a criminal ruins their life for good but there's almost no profit for the treasury.
The pilot license is the largest obstacle to mass adoption, not even the price, in my opinion.
For fixed wing private flying you are looking at at least hundred hours fully dedicated to new knowledge and skills at an expensive rate. That's assuming you are proficient at learning and able-bodied enough to pass medical.
Unlike driving, when flying you can't just safely pull off to shoulder and stop to figure out whatever problem you are having. So there's a lot effort spent on ensuring whoever is flying is able to prevent known issues and handle emergencies in a non-tragic way.
A microlight licence is available with only 25 hours of tuition, although getting even 25 hours has been very difficult this year due to the bad weather.
But there are already regulations and companies with their executives are being held accountable against it. Does it matter how many badges the person designing the system is wearing if it complies with regulations and passes an audit? The problem with leaks to me looks like more of the nature of lax enforcement and few consequences when found in the wrong.
Airlines always check additional documentation for people with passports that do not get visa-free entry to destination. It's a liability issue - they would have to fly that person back if they are not let in.
Of course airlines do not care about documents allowing you entry to the departure point.
I don't follow how is this concerning. All people with more than one citizenship I know at least via a few handshakes use their passports exactly this way for travel.
Why would a Russian citizen go through the hoops of getting a Russian visa on their Czech passport? Does Czechia not allow dual citizenship to call the second secret?
We don't necessarily even have a choice. I have two passports, and I have to use both of them when I travel between my two countries of citizenship, which is the only overseas travel I do.
If just one of them goes missing, then I am stranded — no matter which country I'm in or which passport I lost — until I can get it renewed. It is illegal for me to just get a visa on my other passport and travel on that instead.
Indeed, this isn't spy craft, it's the reality of multiple citizenship.
The reality of entering a country of citizenship is they want you to use that country's passport.
For instance you have to use your Australian passport to enter Australia.
To enter the US you should use your US passport (and have your other passports handy), but strictly speaking you don't need any passport to enter the US as a citizen, you just need to be able to establish your identity.
This can sometimes lead to tricky situations, because another party, the airline, considers you to have only one passport (declared for your ticket) and definitely not change passports from one end of a trip to the other.
The stupid thing that almost no one provides for people who have multiple passports. Often you have to choose to declare the one that makes your life the easiest, or at least breaks the fewest rules.
American car companies push for large vehicles because those are exempt from strict emission standards. And the rest eventually started following because the US is the most lucrative car market in the world, even if their own country has different legislation.
Remove the loophole and everything gets back into place without any weird & local workarounds like Paris had to retreat to.
I don't really agree that this is the "trouble". Any competent transit-related professional knows what type of driving is wrong. Even American cops know [0] that in terms of traffic the key thing is to not impede traffic and target dangerous driving.
However, hunting school zone speeders, left lane hoggers and traffic weavers will never generate as much revenue as using an automatic machine that points at cars going faster than arbitrary number.
And then I also encountered errors just like op in my app layer about trying to execute a write query via read-only transaction.
The workaround so far is to invalidate connection on error. When app reconnects the cluster write endpoint correctly leads to current primary.