What Anime CLI?
github.com
github.com
>NOTE: MAKE SURE THAT YOUR LINKS ENDS WITH .IMAGE_FORMAT AND DOESN'T HAVE ANY & CHARS AFTER BECAUSE THIS SYMBOL IS RESERVED BY GOLANG
Makes me a bit uncomfortable with it. Shouldn't input sanitization be one of the first things to consider when doing user-facing applications?
This suggests to me that the author is misunderstanding why ‘&’ causes POSIX shells to do weird things.
I think what’s happening is the author tried a web URI that had an ampersand in, Bash then background the process and the author panicked thinking the Go runtime was parsing the ampersand rather than his or her $SHELL.
Yes, this is exactly what happened.
The author says this is one of their first Go projects, which explains their misunderstanding. They still have a lot to learn, not only about Go but Bash as well.
That being said, I am happy to see new programmers learn new things, especially in one of my favourite programming languages.
That experience really made me appreciate just how varied developers experiences were with the command line and also appreciative that people are still writing tools and happy to share them with the community even when they're not 40+ year old UNIX grey beards. It's good to see fresh folk adopt TUIs.
curl -s https://trace.moe/api/search?url=https://foobar/baz.jpg
And in the project the URL is simply appended:
https://github.com/irevenko/what-anime-cli/blob/main/cli/lin...
The API provides both GET and POST methods of passing the image file or URL and the author has somehow mangled them both into one as well :)
As first project though, it's a great learning exercise for the author. We all have to start somewhere.
This looks like just a cute script/program the author wanted to share with HN, I don't think it's a big deal if they didn't fully productionize the thing and just wanted it to be seen.
I don't know Golang, so I can't definitely confirm or deny any intricacies it may or may not have. Though as mentioned by others, it seems to essentially be a wrapper for a webpage
Being blatently vulnerable is not the same thing as being not production ready.
Creating URLs or command line arguments without proper escaping is going to fail in so many ways, even on data that isn't malicious.
I don't understand why so many websites and services do this; it's really silly.
On 4chan, various trolls love to make topics that test the definition to see if they are removed by being very technical with it.
I also tried trace.moe on The Wonderful Adventures of Nils, which is one of the most commercially successful “anime” of all time and it produced no results. So as the title suggests, perhaps it's one of those websites that says “anime”, where it actually simply means “moe art”.
The FAQ says they've indexed most of post-2000 anime and very little of 80s and 90s anime. It mentions you can even use a similar drawing of the scene to get a match, due to the method they're using!
I simply quæstion the sanity of delimiting the search to animated works from a single country, and as I pointed out since it can't find something from Nils, it isn't really about that.
> The FAQ says they've indexed most of post-2000 anime and very little of 80s and 90s anime. It mentions you can even use a similar drawing of the scene to get a match, due to the method they're using!
It also couldn't find anything from The Spirits Within and Advent Children, so it's really not about “animation from Japan” but about specific art styles, it seems.
Yes, the one colloquially known as anime.
If “moe art” be what one means, then simply use that word; — there is already a perfectly good word for it.
Feel free to popularize it on its merits first, then we can talk.
My big want is a fluff eliminator API. Like a service where people can define timestamps of where the actual good stuff is on a per-episode basis. Then a wrapper service that displays just the slimmed down episode portions chained together. But I don't know if the YouTube API or others even support stuff like that.
After all, there's a fairly strong correlation between high-importance scenes and overall framecount, which makes sense when you consider that frames are the main currency animation studios work with.
As an example, the final conversation between Okabe and FB in Steins;Gate is really not good animation, but it is crucial to the plot, and the dialogue and voice acting still make it a very impactful scene.
A truly sophisticated approach capable of identifying filler scenes would probably involve machine learning using data that's not (to my knowledge) actually available to the public, like engagement/watchtime statistics.
I'm trying to build something similiar[0] to this by indexing (and plotting) the anime score (given by MAL, something like IMDB for anime) on a daily basis. So in theory you could look at the graph and when you see a spike in score/user/favorites the episode may be good, or bad, or anything.
That's the idea. I was busy getting the indexer stable, so it's not really finished and I haven't spent much time on design. E.g. the airing dates aren't plotted yet etc. The current work is at https://anistats.com.
An example for a overhyped show would be https://www.anistats.com/anime/41353/the-god-of-high-school. And a steady climbing, probably better-than-thought movie would be this: https://www.anistats.com/anime/38088/digimon-adventure-last-...
My 2c of an advice: uncover the magic, learn the innerworkings of such methods. It is a much stronger and more powerful feeling than the "wow" effect you're having right now.
"Any sufficiently advanced technology is indistinguishable from magic."
Arthur C. Clarke
:)