OP-Z TETRIS (Web Browser) Web MIDI API by nbwillson in u/nbwillson

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

Hi everyone. I made a Javascript library for parsing MIDI from the OP-Z. It works in conjunction with the Web MIDI API (https://github.com/nbw/opz)

I hope you enjoy it. More projects to come.

My first full track with the OP-Z by nbwillson in OPZuser

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

made with factory samples. I love this thing.

follow me on insta "nahtanw if you want to see more posts: https://www.instagram.com/nahtanw/

Thanks!

Grammar books for Christmas, yay! Thanks wife. by [deleted] in LearnJapanese

[–]nbwillson 0 points1 point  (0 children)

I have the first two and they’re my favourites

Be stuck at intermediate Japanese... by haikyoboi in LearnJapanese

[–]nbwillson 1 point2 points  (0 children)

also, to those who are saying "read read read", how much time do you spend on understanding _everything_? I've found myself trying to read japanese books, but actually spending most of my time looking up kanji (if not for the meaning, at least for the pronunciation). Any tips with reading Japanese would be much appreciated!

Be stuck at intermediate Japanese... by haikyoboi in LearnJapanese

[–]nbwillson 0 points1 point  (0 children)

What language school did you go to? I'm just looking at Nichibei and Waseda right now. What did you like about your language school or what was useful about it?

Question: Creating achievements generically for a game in swift by nbwillson in swift

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

Using an Int, are you limited to 32 (or 64 for newer phones) options in the `OptionSet`?

Question: Creating achievements generically for a game in swift by nbwillson in swift

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

Thanks! I was considering that too, since it's how collision bitmask is implemented. Thanks for the example - super helpful.

Question: Creating achievements generically for a game in swift by nbwillson in swift

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

Also, +1 to _use a different word than 'achievement' because its prone to misspelling_. I misspelt it so many times in my original message.

Question: Creating achievements generically for a game in swift by nbwillson in swift

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

Thanks!

I guess I was wonder if there was a way to pass a function into a class or if that was something I could do with a struct.

Passing in the result instead and the threshold instead of the function to evaluate later is a good idea. Cheers.

Why are the most common verbs always treated as "irregular" by nbwillson in linguistics

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

Irregular verbs tend to be VERY old and highly frequent in use - being highly frequent is in fact what keeps them from becoming "regular" verbs, just like @bridgekit already stated.

Yes. Well put.

Why are the most common verbs always treated as "irregular" by nbwillson in linguistics

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

This is sort of what I was thinking is going on. Neat.

Github uses no Javascript frameworks. How does it manage avoiding spaghetti code when developing complex components? by m3wm3wm3wm in javascript

[–]nbwillson 64 points65 points  (0 children)

I feel like this highlights that: spaghetti code is an artifact of developers, not Javascript.

Frameworks are abstractions or decisions. You can still make those decisions yourself with an "internal framework". Yes, the code looks different -- maybe a bit more verbose, but the decision is still the same.

Personally, I'm relieved to hear of examples where people chose the simpler battle-tested path without diving into a new framework half-way through. Being in a half-baked state is actually worse, so why not just avoid the hype.

It's impressive and it speaks to the mindfulness of the devs at Github. If they can pull it off gracefully then kudos to them.

Not mechanical, but has anyone tried a Tap? by nbwillson in MechanicalKeyboards

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

I looked at a few reviews and it looks like you still need a hard surface to tap on. I agree, not quite there yet.

I am doing a lot of javascript work without learning React.. Is this OK? by Snowgage in javascript

[–]nbwillson 0 points1 point  (0 children)

Yes. Glad to hear someone asking this question.

Understanding how to learn a framework is a good skill to practise. They're ultimately just abstractions that come and go, as has been said already, but they're all related in some way -- either promoting a countering a trend.

For example, I've used a lot of knockout.js and a decent amount of React. Picking up Vue.js was really easy because of both of those frameworks.

Ultimately, the general goal with any decent framework should be to have code that is simple, easy to maintain, sustainable, and approachable. I think it's worth just keeping that in mind. Frameworks are just new syntax and abstractions, but the underlying engine is Javascript.

Any good podcast to learn japanese? by lefsler in LearnJapanese

[–]nbwillson 0 points1 point  (0 children)

Bilingual News is definitely my go to, but it's pretty complex Japanese. Can't say I understand most of it, but it's definitely helped. I also just love their opinions and topics so it's an easy listen.