HackerTrans
TopNewTrendsCommentsPastAskShowJobs

HKayn

no profile record

Submissions

/Dev: Vanguard X LoL – League of Legends

leagueoflegends.com
2 points·by HKayn·2 ปีที่แล้ว·0 comments

comments

HKayn
·3 เดือนที่ผ่านมา·discuss
One rather prominent case would be Tailwind. v4 made breaking changes in the way Tailwind is set up, requiring different packages and syntax. However, if you ask an LLM how to set up Tailwind on your Vite & React app, it will confidently list the setup steps for Tailwind v3, which no longer work.

At times I would see people daily asking for help with their broken Tailwind setups, and almost always it was them trying to use Tailwind v4 the v3 way because some AI told them so.
HKayn
·11 เดือนที่ผ่านมา·discuss
Why did you use something as heavy as SvelteKit for a website with a single page? This doesn't inspire confidence.
HKayn
·11 เดือนที่ผ่านมา·discuss
The project appears to be located inside the repo of the website: https://github.com/BlueprintLabIO/prompt-injector/tree/main/...
HKayn
·2 ปีที่แล้ว·discuss
JavaScript's behaviour in this case is consistent if we accept that JavaScript would always rather compute the next-best gibberish than throw an error.

While `1 / 0` is not a valid operation, it can be interpreted using limits. If `x` approaches 0, then `1 / x` will approach `Infinity`, hence JavaScript's result of this operation.

But with `0 / 0`, there is no unambiguous interpretation, so JavaScript defaults to `NaN` as its indicator for when a number is expected, but not received in valid form.

I'm not defending this behaviour of the language, just pointing out that there aren't "two different ways" of wrong behaviour at display here.