Live data from Hacker News

Bongo Cat

bongo.cat

111–120 of 208 posts

Re: Bongo Cat

#113
post #98

Earlier quoted context omitted.

Then you realise this is what a lot of people spend their working lives doing, rewriting frontend code in a different framework for no good reason other than they want to.

Yeah, no native tools ever get written in different languages and frameworks. Or is it only not acceptable when Front End developers do it? Personally I've never known anyone do this for any other reason but educational reasons. When I wanted to learn React, I copied other websites in React. I do similar things when I'm learning Golang, or C, or any other language I'm interested in.

I’m not sure what the go/C equivalent of “Ugh, you’re using jQuery? Time for a rewrite” is. It happens a lot more in frontend land than in the rest of the developer ecosystem.

Re: Bongo Cat

#114
post #89
post #48

Earlier quoted context omitted.

For the same reason that the original was developed: for fun!

You are having fun using a modern stack? Please teach me!

Well, for starters, I guess picking a project topic that is fun helps. You could do a lot worse than a bongo cat meme in that regard

Re: Bongo Cat

#117
In case you want (like me) to share your best art with you colleagues:

let e = $.Event('keyup'); '09090586 '.split('').map((k, i) => {setTimeout(()=>{$.play(InstrumentPerKeyEnum[k],k,e.type==="keydown")}, i * 200); setTimeout(() => {$.play(InstrumentPerKeyEnum[k],k,e.type==="keyup")}, i * 250)});

Re: Bongo Cat

#118

I made an app in such playful style but without memes, maybe crowd in this thread would appreciate it. It would at least keep your kids occupied for few minutes. https://play.google.com/store/apps/details?id=com.castlewrat... https://github.com/jmiskovic/hexpress

I love this app! I've had it installed for a while because the hexagonal note layout is fascinating

Re: Bongo Cat

#119
post #12

Please add `return false` or `event.preventDefault()` to your keyboard handlers! Otherwise the browser assumes the page didn't do anything with the events and uses its default keyboard handlers. I have find-as-you-type enabled, and pressing keys launches search for me. Handlers need to "eat" the keyboard events to prevent default browser behavior.

Also HN, please add "`" for inline monospace text.

Re: Bongo Cat

#120
Please add `return false` or `event.preventDefault()` to your keyboard handlers! Otherwise the browser assumes the page didn't do anything with the events and uses its default keyboard handlers. I have find-as-you-type enabled, and pressing keys launches search for me. Handlers need to "eat" the keyboard events to prevent default browser behavior.
Post reply on HN