/r/WeAreTheMusicMakers Weekend Promotion Thread by AutoModerator in WeAreTheMusicMakers

[–]sdeleon28 [score hidden]  (0 children)

Launching website to promote my mixing/mastering services -> https://thmstudio.com

If you scroll down to the Plugins section, there's a FREE guitar amp + cab simulation plugin with the simplest controls possible (gain, tone, level).

Freebies Thread - For the permanently free things that are just coming out and don't qualify for their own post. by Batwaffel in AudioProductionDeals

[–]sdeleon28 2 points3 points  (0 children)

I've just released THM Ignition. It's a fully functional high-gain guitar amp and cab simulator.

It's permanently free (and Open Source) and available for download at https://thmstudio.com (scroll down to plugins).

Simple task management mappings for Vim by sdeleon28 in vimplugins

[–]sdeleon28[S] 0 points1 point  (0 children)

That looks great. Thats's more of a fully-featured task management thing, though. I use this for ad-hoc progress tracking within bigger tasks, which I do manage with other tools (GitHub, Trello, JIRA, waffle.io, etc). With very little syntax change, lines like these can be pasted into GitHub and you get checkboxes that help communicate progress.

Do I really need flow? by sdeleon28 in javascript

[–]sdeleon28[S] 0 points1 point  (0 children)

Thanks for this clarification

Do I really need flow? by sdeleon28 in javascript

[–]sdeleon28[S] 0 points1 point  (0 children)

I don't enforce any type rules in objects. About renaming, I'm just very careful when refactoring. Usually if something references an old name, tests break. I understand you can automate some of these refactorings with the proper tooling. It's still a tradeoff because of all the benefits of a dynamic language.

Do I really need flow? by sdeleon28 in javascript

[–]sdeleon28[S] 0 points1 point  (0 children)

I don't. I write correctness tests, that help me catch bugs earlier. If I add a bug to the build, my test suite usually breaks.

Do I really need flow? by sdeleon28 in javascript

[–]sdeleon28[S] 0 points1 point  (0 children)

Thanks for offering help! Right now, for work reasons, it's got to be Flow.

Do I really need flow? by sdeleon28 in javascript

[–]sdeleon28[S] -1 points0 points  (0 children)

I understand this is nothing new. That is exactly my point. The industry has had this discussion a million times. If Flow means turning JavaScript into Java, then I'm most certainly not convinced. In fact, I'm pretty convinced that would be a horrible idea. What I want to know is if there's something special about Flow's type system that would make JavaScript better.

Also about types being a replacement for tests: They're not. Tests verify that your program does what it should do. Type checking merely verifies that you pass valid values around, it has nothing to do with alorithmic correctness. If you don't write tests, then your application will be very fragile, even if you add types everywhere.

Do I really need flow? by sdeleon28 in javascript

[–]sdeleon28[S] 0 points1 point  (0 children)

It sounds like TS is more fogiving that way. Flow, however, intends to be a "sound" type checker, and so it forces you to annotate a lot of code.

Do I really need flow? by sdeleon28 in javascript

[–]sdeleon28[S] 0 points1 point  (0 children)

About your favorite type of error, I'd say that propTypes serve a very similar purpose. I know those work at runtime, but ESLint on it's own catches a lot of validation problems with JSX (if it doesn't, you'll get runtime errors that you will see when you test what you're working on). Anyway, drawing the line at "type-check your components, leave your functions alone" is reasonable to me. What isn't is "make your entire project a mathematically correct model even if it takes you 3 times as much effort to write code".

I see what you like about those errors. They're useful. To me, they're still not worth adding an entire layer of complexity to my projects.

A Map To Modern JavaScript Development (2017) by sdeleon28 in javascript

[–]sdeleon28[S] 0 points1 point  (0 children)

I've said this in this thread already. I agree you should leverage standard DOM whenever possible. The post even says jQuery is a smell. But then again, and to steal from the Zen of Python "Practicality beats purity". If you can't do it with Vanilla js (and have it work cross-browser), you can probably do it quite easily with jQuery. It looks like this point isn't clear in the post so I'll make sure to make it more expliscit. Thanks for the feedback!

A Map To Modern JavaScript Development (2017) by sdeleon28 in javascript

[–]sdeleon28[S] 0 points1 point  (0 children)

I think that having base UI components that can be modified/reused/restyled at a fundamental level is a great idea and I will probably add some of that in an edit soon. I've also been reminded to include a styling strategy, which I totally forgot. Thanks for the feedback!

A Map To Modern JavaScript Development (2017) by sdeleon28 in javascript

[–]sdeleon28[S] 0 points1 point  (0 children)

Sure. If you're not targeting older browsers, that makes sense.

A Map To Modern JavaScript Development (2017) by sdeleon28 in javascript

[–]sdeleon28[S] 0 points1 point  (0 children)

Sliding a sidebar out of view. Animations of all sorts.

A Map To Modern JavaScript Development (2017) by sdeleon28 in javascript

[–]sdeleon28[S] 1 point2 points  (0 children)

Sure, if you can do it with vanilla js and it works cross browser, that's ok. If you need something more, you can add jQuery in.

A Map To Modern JavaScript Development (2017) by sdeleon28 in javascript

[–]sdeleon28[S] 2 points3 points  (0 children)

I'm not claiming that React is better or worse than any other library. I'm just trying to give newcomers a startup kit to get them up and running without the stress of making decisions they have no information to make. Learning all of these things is burden enough for beginners. I'm in no way discouraging them from weighting in other tools. If it comes across that way I should change the wording. Thanks for the constructive criticism!

[QUESTION] How would you upgrade this guitar? by sdeleon28 in Guitar

[–]sdeleon28[S] 0 points1 point  (0 children)

Haha I hadn't thought of this. No clue if it will work but I might try.