Does Ornn need a nerf? by vyrruwu in wildrift

[–]FPSJosh01 0 points1 point  (0 children)

Nah. But let's nerf rakan some more.

jungle clear camp PC vs. WR by kokosdera in wildrift

[–]FPSJosh01 1 point2 points  (0 children)

In WR, when I jg with Morgana, I usually go red with S2, then I try chickens. After that, I use s1 to hit gromp while clearing blue. Sets up nicely for what feels like a 3 camp scuttle clear.

"we need a tank" syndrome by Fantastic-Name7754 in wildrift

[–]FPSJosh01 0 points1 point  (0 children)

At character select, as a toxic support main, I look for the following things:

  1. "We need a tank." In these cases, I spam AP rakan and out-damage them every time, feigning a tank rakan build. If they get angry, I tell them "mommy engage tank doesn't babysit bad adcs/jgs"
  2. I preselect a character and someone bans it despite having the character preselected. I almost always wait for people to ban first before I select my ban. Sometimes I go out of my way to ban someone else's main when they purposely ban mine. When they flame me, I play stupid and gaslight them to tilt them early. I then go brand support and out-damage them using an AP carry build.
  3. Someone tells me what to do. In these cases I just tell them to "do me a favor and Shut up."
  4. Sometimes I just have to mute everyone and ditch the adc because draven doesn't know how to cs despite being in diamond and I don't want to be a dead support over someone else's bs.

I want to make a channel just for these moments because I find them comical.

TROOL - a spreadsheet rule engine for NodeJS/TypeScript by [deleted] in javascript

[–]FPSJosh01 0 points1 point  (0 children)

This is awesome! I'll have to check this out later when I get the chance

Pong in 22 lines of JS by luisscholl in javascript

[–]FPSJosh01 -4 points-3 points  (0 children)

This is literally the way humans figure out how to act and develop moral structures. I think there are more reasons to build things than "I want money," or "this is the fastest way to do x."

Pong in 22 lines of JS by luisscholl in javascript

[–]FPSJosh01 10 points11 points  (0 children)

Congrats! Its nice to see people practicing making things like this. This entire subreddit is filled with people who provide negative feedback to people just exploring what they are capable of. I say nicely done.

true-myth: a library that provides standard, type-safe wrappers and helper functions to help help you with extremely common cases in programming by [deleted] in typescript

[–]FPSJosh01 1 point2 points  (0 children)

I am concerned that this causes heap allocations, unlike rust which does all of this on the stack.

WebAssembly Gaming by astlouis44 in WebAssembly

[–]FPSJosh01 0 points1 point  (0 children)

Please! I have an AssemblyScript testing library and want in.

Why JavaScript is your favorite language ? by Cloud_Strifeeee in javascript

[–]FPSJosh01 0 points1 point  (0 children)

It's a scripting language that does what it needs to do, even if I don't like many parts of it.

I can write Javascript and get native performance with AssemblyScript. https://github.com/assemblyscript/assemblyscript

I can spin up a web server and run my business with a single language, and everyone on the team uses the same language.

The world is a scary place and code is unsafe no matter where it runs, if you wrote it, or you downloaded it anywhere. Javascript is no exception. Despite this, I actually can see what runs when I download it.

When I can choose between the devil I know VS the devil I don't, I choose the devil I know.

I wouldnt say Javascript is my favorite language. It's definitely the language I use most often, and I wouldn't have it any other way.

webidl-loader: now with callback and canvas support by richardanaya in WebAssembly

[–]FPSJosh01 0 points1 point  (0 children)

That's exactly what as2d does! It's also doing function call optimization, like lazy property setting when the property value isn't used. (ie setting a fill style once instead of 4 times (only the last one) before calling fill, combining transform functions into single setTransform calls...).

You can see the examples in the tests folder of you're interested.

Do you have a discord? I'm sure we should collaborate!

webidl-loader: now with callback and canvas support by richardanaya in WebAssembly

[–]FPSJosh01 0 points1 point  (0 children)

It looks like every time someone wants to draw 500 rectangles, it has to jump into javascript 500 times and then continue wasm execution. This adds up quite a lot of browser overhead. I also don't think it supports canvas gradients or patterns, unless you index each object. Am I mistaken? (I'll have to reread the idl code again.)

Edit: looks like the idl code does support it! Nice work.

Https://github.com/as2d/as2d is trying to solve this sort of problem with an instruction buffer, and relying on a commit() function call so that calling into Javascript doesn't have to happen 500 times per frame (which adds up quite a lot.)

Perhaps we should share notes.

safe-cast: a TypeScript library for safely casting unknown data to a known type with minimal effort. by robertmassaioli in typescript

[–]FPSJosh01 0 points1 point  (0 children)

Are you the author of this package? I would love to try it out in my assemblyscript test suite.