HNHacker News
TopNewBestAskShowJobs

joshribakoff

1,692 karma · joined August 27, 2013

joshribakoff.com personal hub

fightingwithai.com patterns of agentic coding

submissionscomments
joshribakoff··on You don't need Next.js – Why we migrated from Next to React
It doesn’t matter if you have five visitors or 5 million you presumably want your website to stay online so you need something that restarts the processes when they die, etc. Honestly building and publishing a docker image is super simple. There are numerous hosted kubernetes solutions to deploy it to as well. I don’t think that using next JS or using Kubernetes means you are inherently over complicating anything, and this is coming from someone who prefers minimal technology (I personally don’t use next JS, but I see the value in it for others)
joshribakoff··on App Should Have Been a Website (and Probably Your Game Too)
Yes and no. UDP objectively performs better because it prioritizes sending relevant (in the context of real time application) data rather than retrying no longer relevant data (and all the overhead that entails).
joshribakoff··on Family of OpenAI whistleblower Suchir Balaji demand FBI investigate death
You’re just reiterating the parent commenters point, the first reason you listed was that he was “notable”. It would not be hard to find cases of unambiguous murder that go unsolved or under-investigated due to lack of notoriety.
joshribakoff··on GPT-5 is behind schedule
It either improves the results or it does not, i don’t think i see the problem.
joshribakoff··on GPT-5 is behind schedule
What about a doctor who used a mix of training both on live patients as well as cadavers and models?
joshribakoff··on GPT-5 is behind schedule
I tried to train an AI to guess the weight and reps from my exercise log but it would produce nonsense results for rep ranges I didn’t have enough training data for, as if it didn’t understand that more weight means less reps. I used synthetic training data and interpolated and imputed data for rep ranges I didn’t have data for using estimation formulas, the network then predicted better, but it also made me realize i basically made the model learn the prediction formula and AI was not actually needed and im better off using the prediction formula. But it also illustrates that the model can learn from a calculation or estimation the same way it learns from the real world, without necessarily needing to train exclusively in the real world. An ai car driving in a simulation may actually learn some of the formulas that apply both in the simulation and in the real world. The same simulations and synthetic data can also be just as useful for validation not just training. It’s not hard to imagine scenarios that are impractical, illegal or unethical to test in real life. Also, as AI becomes more advanced, synthetic data can be useful for generating superhuman examples. It’s not hard to imagine you could improve upon data from a human driver by synthetically altering it to be even safer.
joshribakoff··on Coder wrote a bug so bad security guards wanted a word when he arrived at work
Its my opinion, but you shouldn’t need a bank account or even internet connection to work on the code at all. Instead its better to mock it out in development.
joshribakoff··on Show HN: Bike route planner that follows almost only official bike trails
Constructive feedback: (i am on mobile). The map pulls up somewhere in Europe, even though I am in the bay area. I can’t really see for sure because the side bar covers the whole map. I cannot zoom in or out at all. When I clicked to add a point, it just adds it in a random location. The map is really zoomed out so a few pixels is like 100 km. There is metadata displayed such as the length of my route, but it seems I cannot input a length and have it create a route for me

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.

joshribakoff··on Zod: TypeScript-first schema validation with static type inference
>elixir will just recover

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.

joshribakoff··on Geico terminating insurance coverage of Tesla Cybertrucks
You’re probably being downvoted because the metrics they use do not measure whether you are a safe driver.

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).

joshribakoff··on Geico terminating insurance coverage of Tesla Cybertrucks
> they could just raise rates

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

joshribakoff··on Winamp Legacy player source code
The implication of this is not what you think. Basically github can go after Winamp and say they violated GitHub terms that is it. Just because winamp violated GitHubs terms of service does not mean they lose their copyright rights
joshribakoff··on Winamp Legacy player source code
So someone steals my source code and posts it on GitHub, now i no longer have copyright rights? The duty is on the copier to ensure they are granted a license.
joshribakoff··on Learning to Reason with LLMs
The correct metaphor is that 10,000 attempts would allow anyone to cherry pick a successful attempt. You’re conflating cherry picking with online learning. This is like if an entire school of students randomized their answers on a multiple choice test, and then you point to someone who scored 100% and claim it is proof of the school’s expertise.
joshribakoff··on Google uses AI to reduce stop-and-go traffic on your route
Off topic. Changing the timing of the stop lights is not causing cars to reroute to side streets. The article you’re linking does not even mention project green light.

In fact, project greenlight addresses some of the problems this article you linked complains about (the fact google and city leaders were working separately)

joshribakoff··on TOTP tokens on my wrist with the smartest dumb watch
E-mail or sms codes are not 2fa then either, if the attacker has your device (presumably with the e-mail app logged in already and the password saved). But this seems like a dubious distinction, its like saying 2fa is no longer 2fa if the attacker has access to the second factor. Thats not particularly remarkable.

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.

joshribakoff··on Show HN: Faktor – The missing 2FA code autocomplete for Chrome
Its called two step verification. Prevents someone from “guessing” the password but doesn’t stop someone who has physical access to the device with the password stored. Same as with e-mail or SMS codes, basically. I don’t think i recall any websites that detect i am using my phone and rely on a true “second factor” aside from enterprise applications where i got a hardware yubi key.
joshribakoff··on ID verification service for TikTok, Uber, X exposed driver licenses
Uber wouldn’t delete my data when I demanded them to, they just hung up on me rudely. I escalated to the CEO and they sent me this message explaining why and assuring my fears of a data leak were “unfounded”:

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.

joshribakoff··on Show HN: A JavaScript library for data visualization in both SVG and Canvas
Its not (just) the phrasing, its that you’re asking a loaded question the author already addressed in the OP. Your question is loaded because it presumes years of development means anything, and the author already wrote in the OP “im aware there are other libraries, but…”
joshribakoff··on H.R.1332 – Thirty-Two Hour Workweek Act
If you are on salary, normally you don’t get overtime. If you’re on hourly, this potentially just means less hours
joshribakoff··on Amazon's financial shell game let it create an "impossible" monopoly
Perhaps the suggestion is that Amazon’s retail operation is over-billed by the AWS operation… so on paper it looks like AWS is taking in profits that actually wouldn’t exist if not for the retail revenue
joshribakoff··on Python datetime pitfalls, and what libraries are (not) doing about it
> don’t know what you mean by “4 pm local time”

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”

joshribakoff··on Ask HN: How can I make local dev with containers hurt less?
If you need to use k8s, skaffold makes it a lot better to develop locally. Also the tool doesn’t just help with k8s.
joshribakoff··on Chevrolet Blazer EV Left Me Stranded in Rural Virginia
Whats an example of a “non legacy” manufacturer that has perfect software?

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.

joshribakoff··on Git rebase, what can go wrong
You can bisect across the more coarse merge commits, without “destroying” history and losing the ability to bisect across more granular constituent commits. Bisect is more robust when more information is preserved.
joshribakoff··on Git rebase, what can go wrong
Because sometimes a PR touches more code than a single commit, and you lose the more granular context surrounding the more granular changes. You can always ask git to make the log more coarse, but once you “destroy” the granular history it is for all intents and purposes gone.
joshribakoff··on Git rebase, what can go wrong
You can simply ask “git log” to show you one coarse entry per Pr rather than “destroying” the more granular history
joshribakoff··on Git rebase, what can go wrong
You can simply pass flags to “git log” to hide merge commits, without needing to rewrite history to “destroy” that information. While they are often noisy, sometimes they can be useful. I usually prefer to hide information rather than destroy it.
joshribakoff··on Marijuana use raises risk of heart attack, heart failure and stroke
The article states vaping also produces the adverse effects you refer to, and further it mentions additional adverse effects not specific to inhaling. You may be skeptical of the findings but you’re mischaracterizing what the article says entirely.
joshribakoff··on Free IRS-run tax filing pilot to be available in 13 states
They already have this in some form, its called “free fillable forms”, and it sucks. For example if there is any minor issue like something off by a cent it fails to submit and won’t tell you which field has an error or what the error is. Although its not officially maintained by the IRS, I don’t think… if i recall Intuit maintains it as part of an (arguably nefarious) agreement with the IRS. It’s presumably intentionally made to suck and hard to find.
← PreviousPage 7 of 27Next →