Live data from Hacker News

Bongo Cat

bongo.cat

191–200 of 208 posts

Re: Bongo Cat

#192

Earlier quoted context omitted.

> I’m not sure what the go/C equivalent of “Ugh, you’re using jQuery? Time for a rewrite” is. Observed "in the wild": C » C++ C++ » C++ w. STL C++ » C# VB » VB.NET WinForms » WPF » Silverlight » UWP Edited to add: Java EJBs » Java Servlets » Java Spring C++ » Java » C#

You're describing switching to a different language. There's plenty of that going around no matter what language you're using. But I don't recall once seeing anyone decide to rewrite something in the equivalent of a different C "framework". There's certainly a lot less of that outside of frontend development.

That's because if you want to write for the Web Platform, you haven't been able to switch languages; you were largely stuck with JavaScript for decades.

Contrast that to writing for the Windows Platform--you could easily choose one of many languages.

Re: Bongo Cat

#193

It's fun and game, but there is too much latency between my keyboard and the output sound. It is impossible to overdub something.

I got significant latency as well that made it unusable to play as an instrument, in Safari and Chrome on Mac... surprisingly you seem to be the only other one reporting the issue I see so far though.

Re: Bongo Cat

#194
After recent guitar lessons copyright disputes I've decided to learn perfect pitch. No need for written material if can hear it.

Online tools I've found present note in all octaves, which I found confusing. So I've created own tool — no frameworks, 5603 bytes, entire code displayed on the page (except soundfont-player library).

http://sergeykish.com/perfect-pitch-ear-training

Re: Bongo Cat

#198

Earlier quoted context omitted.

While i use React at work for bigger things, I've come to use Vue for almost all my "smaller" hacks since it becomes a win to use almost as soon as you start using inputs. After this it scales pretty well up for anything that is on "one page". Apart from work things the main example would be a that I built a small audio sequencer hacked together with Vue. That project would've been suicidal to do in JQuery but also w…

> My main "issue" right now is if i should just leave it and let it be useful at the current level [...]. Or [...] making it more "application" like rather than just a small one-page hack. Both, perhaps (ie. fork it)?

Maybe down the line (too many side projects already). I really should just add that little extra bit of work to make the Vue version usable.

UI wise i need to add an envelope editor instead of entering numbers manually, the player code already has support for envelopes although it needs a bit fixing with how sustain is handled.

Would be fun to "put up" the project for public consumption, took the opportunity to try out a serverless backend (since this isn't something i plan to manage myself or think will pull or cost in any real money) and that was fairly easy for what i have in mind (adding the possibility to share tunes and some 3rd party login for saving stuff maybe)

Re: Bongo Cat

#200

Earlier quoted context omitted.

(TL;DR; It's just a different way of working with less manual code) I never spent much time on webdev in the era where jQuery came into being but as I've understood (and from the jQuery code I've seen since) it solved basic issues in working with manipulating the DOM and gives powerful animation tools,etc. So as you say the upgrade over the browser API DOM manipulation is obvious, clear and direct. I'd say that my ba…

Thanks for sharing. I have very little experience with game engines but React/Vue always resembled them to me a bit. Here's the data, render when changed. I just don't think it's needed in most Web cases. Sure, if you attach behavior code to every interactive element directly, all of which are controlling the same portion of the screen and depending on each other, it's a recipe for a mess. If, however, you call somew…

And that was my original point, using React for a small one page thing like this is grossly overkill but Vue is a good smaller alternative at this scale that gives you most benefits.

I looked at the jQuery example above and checked the Vue example in the same repo. That example has about as many lines total but the Vue example is 30% smaller in total due to shorter lines.

https://github.com/tastejs/todomvc/tree/gh-pages/examples/vu...

Post reply on HN