![](/static/66c60d9f/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/170721ad-9010-470f-a4a4-ead95f51f13b.png)
r/whoosh 😉
r/whoosh 😉
Now I understand where ChatGPT hallucinations come from.
This is what I was thinking at first. This just looks like classic chain letter.
But on rereading, it appears that the person at the top is controlling who’s sending books to who, and might even be dictating where you buy the book from, which is definitely a scam.
My guess on how this works. Upon DMing the person in control, you’re instructed to buy a book from a specific website (that they control) and have the book shipped directly from there to the “stranger.”. However, “stranger” doesn’t actually exist, no books are ever sent, and the person running this whole scam is just pocketing the money rubes spend on “books”.
WTF are you talking about? All I’m saying is that if you write code (that in the context of this discussion passes arguments to a method you didn’t write, that may not be the type the author of the method expected someone to pass, but really, that’s completely beside the point), you should, oh, I don’t know, maybe test that it actually works, and maybe even (gasp) write some automated tests so that if anything changes that breaks the expected behavior, the team immediately knows about it and can make appropriate changes to fix it. You don’t need a strongly typed language to do any of that. You just need to do your job.
Theoretically, they’ll test and notice that doesn’t work and fix their code before they deploy it to production.
Good bot
Not unless you’re “buying” it from some service that doesn’t let you download the file. Definitely don’t do that.
Just buying the mp3s and having them forever.
This is normally done on the server, by whatever tool is building the final html pages. If it’s just a static website (doesn’t take user input, glorified brochure), then one might use a static site generator (eg Jeckyll), each of which have their own mechanism for sharing common snippets. If building a more dynamic website with a database backend, then one would be using other tool (eg. Ruby on Rails), which would also each have their own mechanisms for sharing common snippets.
On it’s face, this is a very odd request. I feel like, in trying to simplify the question, you’ve left out a lot of pertinent details.
My suspicion is that you have a specific problem you’re trying to solve, and, due to lack of experience with web development, you’ve settled on this solution of using JS to copy an html snippet from one document to another, when a proper solution to the actual problem is probably nothing like that. Without knowing what the original problem is and what environment the code would be running in, I’m afraid it’s going to be nearly impossible to offer any suggestions.
Well, I’m pretty sure it wasn’t a platypus. There was definitely one or more real-world people behind this. I doubt anyone thinks that their name is actually Jia Tan, though.