Live data from Hacker News

parrot.live

github.com

21–30 of 55 posts

Re: parrot.live

#22
Soooo, not knowing much about either curl nor front-end.. how DOES THIS WORK?

Is this just some weird default logging in curl?

Re: parrot.live

#23
post #22

Soooo, not knowing much about either curl nor front-end.. how DOES THIS WORK? Is this just some weird default logging in curl?

Curl just downloads the http response and prints it to the terminal. The sever streams the response and yields a frame of the video every 70ms or so. It sends control characters in the response to clear the terminal and change the color.

Re: parrot.live

#24
post #22

Soooo, not knowing much about either curl nor front-end.. how DOES THIS WORK? Is this just some weird default logging in curl?

I figure that the response uses ascii escape sequences to control the terminal (and that curl is just piping the response to the terminal).

Re: parrot.live

#25
post #14

Wow! Surprised to see this on the front page. I built this about 8 years ago on a whim, and it blew up. Only recently did I learn there was a memory leak, after getting a big traffic spike that caused an OOM. Over the years it’s burned through several TB of bandwidth per month. I built ascii.live to support different animations for fun, although I don’t have as much time to review PRs as I’d like.

There's an actual parrot emoji now for your GitHub description

Re: parrot.live

#27
post #14

Wow! Surprised to see this on the front page. I built this about 8 years ago on a whim, and it blew up. Only recently did I learn there was a memory leak, after getting a big traffic spike that caused an OOM. Over the years it’s burned through several TB of bandwidth per month. I built ascii.live to support different animations for fun, although I don’t have as much time to review PRs as I’d like.

> Over the years it’s burned through several TB of bandwidth per month.

I hope you're hosting it on Hetzner (or somewhere else with a generous traffic plan). They give you 20TB traffic per month.

Re: parrot.live

#28
post #7
post #4

Reminds me that I made a rainbow unicorn that jumped across your screen as a cmdline utility to be run after all tests passed. Coworkers got a good laugh if nothing else. Fun times.

Now you can just ask an AI to write the code to show a jumping unicorn. All the magic is gone from programming!

Others can ask AI to write it, but I don't have to use it. I can still write my own and use what others have written by hand.

Re: parrot.live

#30
post #7
post #4

Reminds me that I made a rainbow unicorn that jumped across your screen as a cmdline utility to be run after all tests passed. Coworkers got a good laugh if nothing else. Fun times.

Now you can just ask an AI to write the code to show a jumping unicorn. All the magic is gone from programming!

“You can use AI to write code to show a jumping unicorn” feels pretty magic to me.
Post reply on HN