1,692 karma · joined August 27, 2013
fightingwithai.com patterns of agentic coding
I have personally had good luck with my Garmin watch. If I start out near a major trail, it tends to suggest routes along that trail. I’m able to input a desired length such as 10 miles and then it suggests multiple routes that are close to that length and use major trails. My biggest complaint with the Garmin is that it tends to suggest the same routes every day.
Thats not true. It just crashes the “sub” process and if the parent process spawns the sub process again with the same inputs its just going to crash again.
Are you aware you can also try/catch your errors in typescript?
The whole point of the library is to validate something at runtime so of course it is going to blow up. There are also API methods that simply return a boolean instead of crashing if it fails validation. You can then use type guarding and narrowing of the type.
The metrics simply correlate with accident rates. For example, your premiums increase if you drive late at night, which does not mean that you are a bad driver. Their metrics also do not punish you for accelerating aggressively or driving at high rates of speed (only if you turn too fast or hit the brakes too hard, but if I slam on the brakes in the name of safety, or perform an evasive maneuver, does that mean I am an unsafe driver?)
Also, it’s worth pointing out other insurance companies have a solution for this that has worked for decades. If someone proves they are an unsafe driver by receiving a infraction or filing a claim, then you adjust the rates. No need to spy on the person with invasive amounts of data, or use arbitrary metrics that use correlation instead of causation. But Tesla has to reinvent things that were not broken in the first place, like door handles (just replaced the door handle on a brand new model S because dust got in there LOL).
Well, they (insurance companies in general ) also dropped a lot of homeowners in certain states, rather than simply raising the rates.
Perhaps they have done some market research and determined that there is an inflection point beyond which raising rates would actually reduce profits due to reduced competitiveness
In fact, project greenlight addresses some of the problems this article you linked complains about (the fact google and city leaders were working separately)
You can call it 2sv, though. Two step verification. But a user can certainly chose to use in a way that makes it 2fa by storing the totp secret on a dedicated device. The bottom line for most use cases is that it stops people from getting in even if they guess or crack your password.
With hardware tokens, it still has tradeoffs. What happens when the “user” (read attacker) claims they lost or damaged the yubi key? What factor do you use to verify them before sending a new yubikey in the mail? What happens if someone breaks into the user’s mail? Etc. no method is perfect.
Maribel again with Uber Support. Thank you for your patience while I took a further look at the deletion request. Unfortunately, we are unable to delete all of your information on the account due to security measures. Please visit our Privacy Notice for more details, specifically the sections titled E. Data retention and deletion. As of May 12, 2024, your account was marked for deletion. Keep in mind that deleting your driver account is permanent and will automatically delete your rider account as well. Any credits associated with your accounts will be lost. Additionally, I want to emphasize that we have strict security measures on the platform to ensure that your personal information and your safety are secured. Your understanding is appreciated.
It means “whenever it is 4pm wherever you are”.
As in, i want my alarm to go off at 4pm everyday regardless of whether i am traveling.
Python calls it a “naive” time, it has no timezone or offset. Its just a data structure that says “4pm” rather than “4pm eastern time”
An example ive used is when a user had to specify schedules for a digital menu board system. When the user says breakfast ends at 10am, that means wherever the digital menu board is located, not “10am where i was when i set the schedule”. It also doesn’t mean “end breakfast an hour early/late when daylight savings occurs”
It makes sense in any context where you need to do something at a certain time each day, and you specifically don’t mean “do this thing exactly every 24hrs”
Im currently in the process of selling my Tesla (“non legacy manufacturer”) back under lemon law because of constant hardware and software issues like windows intermittently refusing to roll up (despite 6+ service center visits), windshield wipers not working, random alerts about “faults” they allegedly can’t locate in their logs, getting alerts on my phone that windows are left open when they’re not, lane departure warnings when the setting is turned off and i am not departing a lane, loud popping noises on speakers followed by infotainment “crashes”, etc.