248 karma · joined Sep 8, 2015 (11y ago) · 101 submissions
comment 1mo ago · link · parent
comment 2mo ago · link · parent
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.
comment 1y ago · link · parent
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.
comment 1y ago · link · parent
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.
comment 1y ago · link · parent
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.
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
comment 2y ago · link · parent
Of course airlines do not care about documents allowing you entry to the departure point.
comment 2y ago · link · parent
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?
comment 2y ago · link · parent
Remove the loophole and everything gets back into place without any weird & local workarounds like Paris had to retreat to.
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
https://mypy.readthedocs.io/en/stable/command_line.html#cmdo...
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
https://www23.statcan.gc.ca/imdb/p3VD.pl?Function=getVD&TVD=...
comment 2y ago · link · parent
comment 2y ago · link · parent
I'm only seeing comparable productivity on the backend these days when teams are using AWS native services.
comment 2y ago · link · parent
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.
comment 3y ago · link · parent
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.
comment 3y ago · link · parent
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.
comment 3y ago · link · parent
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.
comment 3y ago · link · parent
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.
comment 3y ago · link · parent
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.