248 karma · joined September 8, 2015
If I work with one agent / few subagents on one feature I can steer it as soon as I notice it drifting into the direction of waste. This way I only review the total diff 1.5-2 times. And I also don't waste my own mental energy on context switching between tasks agents are producing diffs for in parallel.
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.
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.
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.
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.
There's also middle ground in the form of Digital ocean's kubernetes which runs noticeably cheaper than big tech cloud offerings.
Of course airlines do not care about documents allowing you entry to the departure point.
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?
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.
https://mypy.readthedocs.io/en/stable/command_line.html#cmdo...
Spending dozens of thousands on a personal people mover I would like it to enable and expand my freedoms. I.e. supporting painless weekend road trips. Fossil fuel cars answer this requirement, EVs don't.
For the extremely constrained happy path of commute in urban areas it is much more efficient to develop public transport. Living in a city with developed public transport I'd rather take the train than drive an EV to get to the same destination.
Is there a good reason why carriers in USA and Canada refuse to provide free incoming sms (& calls at expense of the caller) while abroad?
My experience might be limited to only a handful of sims from different countries, but prepaid Telus (Canada) failing to receive sms while visiting USA was a first and a big surprise to me. Made me transfer to PM which offers this.
https://www23.statcan.gc.ca/imdb/p3VD.pl?Function=getVD&TVD=...
I'm only seeing comparable productivity on the backend these days when teams are using AWS native services.
However, hiring engineers from Latam could indeed be an option to replace US workers if they can't offer an edge. The issue here is the language barrier.
7 figure on a spreadsheet enables a lot.
An unregistered savings account in one of Canadian banks (just a point of reference, not sure if US has better) currently offers 4% yearly. That's 40k a year off the million. Enough to retire with kids in a LCOL country or travel year round as a nomad with a base in LCOL country.
Build a little bit more wealth and all those LCOL options turn into MCOL. E.g. northern Italy.
All while just being a working professional. It'd be unheard of in Europe to have this kind of options after just a couple years of work.
This comparison only works at birth, or maybe up to teens. We are, most likely, working professionals here. With a degree and fairly established position. Becoming a millionaire is still a monumental task. However at this baseline US is much easier.
In the presence of vulnerable bystanders or users of the road (e.g cyclists on city streets), limit serves as protection against fatal outcomes in case of an error. That's the only case where no one could argue against limit.
Does UK track average speeds in cities? I'm not familiar with their system. But aware that Dutch use it on highways to make everyone miserable. While their east neighbor doesn't have a default limit on highways at all while still having one of the best in the world highway safety record.
Every Java developer I interacted in my career with wanted to avoid ORMs and instead come up with a bunch of pattern-abstracted ways to write raw SQL.
Every Python developer I interacted in my career with loved their ORMs. Django or SQLAlchemy.
Not to forget the data transfer costs though https://aws.amazon.com/ec2/pricing/on-demand/ And also the potential minefield of API GW and NAT costs.
That being said, I'd take large European mirrors that know to go down when car is put in reverse and basic sensor over this any day.
But if you like the idea of ignoring best practices, there are EC2 instances with 192 vCPUs that go for several thousands an hour. And taking as example Golang benchmarks https://github.com/smallnest/go-web-framework-benchmark where it's not uncommon to be able to serve 6 digits of 30ms requests per second with just 4 cores. Then the conclusion is, the limit is the sky, if you are stubborn enough.
It has. It'd be illegal and extremely dangerous to design a city without properly functioning infrastructure for emergency services, garbage disposal, physically impaired accessibility. Also very inconvenient to not include commercial deliveries and public transit into that list of essential road use scenarios. Most of the vehicles performing these services are heavy.
For the most part only private ICE cars are light enough to be a drop in a bucket on the road maintenance. Private EVs, and especially EV SUVs, are likely making an impact on the maintenance schedule though.