Live data from Hacker News

Pokemonsay: Pokemon Version of Cowsay

github.com

31–40 of 54 posts

Re: Pokemonsay: Pokemon Version of Cowsay

#31

Earlier quoted context omitted.

The way you phrased this makes it seem like you aren't a programmer and are looking in from outside of the programming world. On another note: a less condescending way of conveying the same message would have been "Cool project. Pokésay would have been a great name instead of Pokemonsay."

I... am a programmer. And I'm terrible at naming too, usually. It was just a light-hearted comment.

Same here, no offence taken. I found it funny how it seemed as if you weren't a programmer, but you mention naming things as something programmers can't do, which is something programmers say. It made me imagine an outsider who agrees with the programmers are crap at naming meme. "Those shitty programmers with their constant misnaming of things." like people hating on cab driver's anti-social driving.

Re: Pokemonsay: Pokemon Version of Cowsay

#32
post #24

Imagine installing node.js and a json parser and 10+ other things just for a cowsay clone. I can't imagine what a clean install of all this crap would be just for this project.

Can we not do this? It's just as valid to have this kind of little thing written in node as it is to have it written in Perl.

One person's complaint about a json parser being too heavyweight is just as valid as the complaints that the arcane one-off cow template syntax is hard to use and understand.

Not to mention that this has different features than cowsay, and it's just a fun little project. It parses image files into the terminal display, it can scrape 3rd party websites to download new Pokemon images.

Re: Pokemonsay: Pokemon Version of Cowsay

#34

While it does support a few additional options according to the README, I think this whole project could have consisted of no code at all and just cowsay template files that you’d copy to the cowsay template directory. Typically /usr/share/cows/ Here is an example of a third-party template for cowsay: https://github.com/lochsh/alpacasay/blob/master/alpaca.cow

Do cowsay templates allow you to set the color for each character?

Re: Pokemonsay: Pokemon Version of Cowsay

#36

I really like this module and love the idea. The images are far too big though especially compared to cowsay/cowthink.

This might be a bit off topic, but what are your options for putting images or "image like" drawings in the terminal now days?

This seems to just use blank spaces with terminal background color codes to draw things, which means your smallest "pixel" is the size of a terminal line.

Are there ways of getting higher definition in a terminal with fairly widespread support and keeping full color?

The hacker part of me is thinking with some combination of finding Unicode characters that "fit" an outline combined with color quantization (since every "character" has to be one color at most) might be able to cut the size in half...

Re: Pokemonsay: Pokemon Version of Cowsay

#37

While it does support a few additional options according to the README, I think this whole project could have consisted of no code at all and just cowsay template files that you’d copy to the cowsay template directory. Typically /usr/share/cows/ Here is an example of a third-party template for cowsay: https://github.com/lochsh/alpacasay/blob/master/alpaca.cow

Most of the code here is for scraping images from a 3rd party and converting them into colored blank spaces to display in the terminal.

The actual code used to pick a random Pokemon and display it is only a few dozen lines.

Re: Pokemonsay: Pokemon Version of Cowsay

#38
post #11

I find it curious how programmers are so poor at naming their projects. This could've easily been named pokésay. That said, it's a cool project!

>This could've easily been named pokésay Not for users with a US keyboard

Just use English / US (International), it will make "é" become ' + e and allow lots of other combinations.

Re: Pokemonsay: Pokemon Version of Cowsay

#39

Earlier quoted context omitted.

The way you phrased this makes it seem like you aren't a programmer and are looking in from outside of the programming world. On another note: a less condescending way of conveying the same message would have been "Cool project. Pokésay would have been a great name instead of Pokemonsay."

I... am a programmer. And I'm terrible at naming too, usually. It was just a light-hearted comment.

[deleted]
Post reply on HN