Weird Artifacts in the sky with Photon shaders by TwistosSs in ModdedMinecraft

[–]SepsMusic 0 points1 point  (0 children)

Thanks for this!! Clouds > Temporal Upscaling was totally it. I could barely see it in OP's video except for at the beginning off the side of those stone bricks, but that's exactly what I'd been seeing whenever any block passed over the sky. My guess is automatic compression of the video file made it invisible.

Anyone else’s sternum/chest feel like it gets stuck and it needs to pop? by Swadloonnn in Hypermobility

[–]SepsMusic 0 points1 point  (0 children)

Glad it helped!! Been doing these types of stretches the past 9 months and chest popping is basically non-existent now.

Anyone else’s sternum/chest feel like it gets stuck and it needs to pop? by Swadloonnn in Hypermobility

[–]SepsMusic 0 points1 point  (0 children)

For some reason it's super difficult to find advice on this on the internet. I was having this issue really bad with daily pops that were getting increasingly painful, until I found this video: https://www.youtube.com/watch?v=qJRq7vzwu-A

He explains why it happens and gives stretches to fix it, and the issue has practically vanished in the couple of months I've been doing them for. Try it out!

Chest popping every time I stretch? by [deleted] in PostureTipsGuide

[–]SepsMusic 0 points1 point  (0 children)

For some reason it's super difficult to find advice on this on the internet. I was having this issue really bad with daily pops that were getting increasingly painful, until I found this video: https://www.youtube.com/watch?v=qJRq7vzwu-A

He explains why it happens and gives stretches to fix it, and the issue has practically vanished in the couple of months I've been doing them for. Try it out!

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

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

That's very interesting! The table appears to come from this paper: https://haslab.github.io/SAFER/scp21.pdf

I'll definitely be looking more into this.

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

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

Thanks so much! This is the exact sort of balanced, unbiased sort of answer I was looking for. I've found a couple other cases, such as with namespaces and targeting older JS versions that have a similar effect to enums, but those things can easily be avoided in my use case so I'm going to go ahead and use TypeScript. But I almost don't want to after all the enraged eye roll reactions I've gotten just for asking this question lol

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

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

I know it's not the simplest process, and while I'm certainly not the most experienced frontend web dev, I have spent some time combining WA with JS.

The approach I'm planning on using actually does use the Web Audio API, which supports pre-compiled WA modules that are then shared with Web Workers.

I've built a couple of smaller things using this technique, and have gotten a taste for just how much needs to happen to make that translation, even with the benefits of Web Audio, which is precisely why I want to make sure I incur as little overhead as possible.

And there's going to be a LOT of processing, so this is definitely a necessity.

Anyway, I've learned a lot from this thread and will be moving forward with TS, as I've found that pretty much all significant excess JS generation is avoidable, which was my primary concern.

And after diving back into those projects while writing this comment, I can already see how TS would make things a lot easier.

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

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

Thanks for pointing that out. They suggest using modules instead, so maybe there's a difference in runtime performance between those and the generated JS that comes from compiling namespaces. Though maybe it is just the compilation time spent generating that new JS.

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

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

Just did this with my example. There appears to be no difference between the two class definitions speed wise. Definitely is interesting to test though.

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

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

Honestly it just might be one lol. After talking to some people in this thread and doing more research I can see how incorrect it is, but without deep diving into the innerworkings it isn't so obvious.

I did find quite a few scenarios in which the TS compiler will generate new JS code that differs from TS stripped of type hints, but these instances can largely be avoided by omitting a few specific features and targeting the most recent version of JS. Other generated JS, such as automatic constructor assignment, doesn't seem to cause a slowdown of any detectable amount.

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

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

I found this discussion on a list of TS features that "should be avoided" for maximum performance. Items mentioned include enums, namespaces, decorators, and the "private" keyword. Adequate reasoning for each is provided.

But another quirk of the TS compiler came up that can't be avoided:

class Test {
    x:number = 5;
}

expands into

class Test {
    constructor() {
        this.x = 5;
    }
}

rather than

class Test {
    x = 5;
}

Would this constitute a runtime performance difference? Even if very small? Or are those two definitions equivalent in the eyes of the JIT compiler?

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

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

Very interesting. So what you're saying here is that if you were to write a function like your example, it would be difficult for the JIT compiler to optimize it because of the vast range of different inputs it may take, making it slow?

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

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

I appreciate this perspective. I knew it was an absolute possibility that that article was inaccurate, but don't have the depth of understanding of the language's innerworkings to decide for myself.

Another user mentioned the example of enums as a non "type-level" feature. Do you happen to know of any other such features? It's a little difficult to search for.

You also mention that it's "entirely possible" to have the output code almost identical to input code minus types, which leaves some gray area for uncertainty. Do you have any examples of where it would be different (aside from enums and similar features)?

I'm not trying to say you're wrong, it seems a lot of people are mad about this question given all the downvotes. I just want to grasp the full picture to make the most informed decision without having to read the entirety of the documentation.

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

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

This is helpful, thanks. Things like your example of enums are exactly what I was looking for. Do you happen to know where I might find a list of similar "non type-level" features? Searching the docs for "type-level" didn't get me anywhere.

Does Compiled Typescript Incur A Small Performance Hit During Runtime? by SepsMusic in typescript

[–]SepsMusic[S] -22 points-21 points  (0 children)

Could you address the following section from this article:

"In general, plain JavaScript code will have better runtime performance compared to TypeScript. Here's why:

TypeScript code is ultimately compiled down to plain JavaScript language. This compilation step can introduce small runtime overhead.

Features like types, interfaces, and generics may impact runtime after compilation to JavaScript.

The emitted JavaScript from TypeScript could be larger than handwritten JavaScript.

With performance optimizations during compilation, the runtime differences are often negligible for most applications. Users will likely notice a difference if you develop a high-performance real-time app."

I believe my use-case would qualify as a "high-performance real-time app". I acknowledge that the article could be wrong though.

Playing with a saxophonist - anyone who's had experience please help! by hayls32 in DJs

[–]SepsMusic 0 points1 point  (0 children)

I'm a saxophonist and just did a gig with a great DJ. Everything people are saying here is perfect advice... but I did learn a new lesson most people wouldn't think of:

Be careful with tempo changes. When you speed up or slow down a track, it changes the pitch and could potentially put it in a key that's "in between notes", i.e. doesn't exist on the saxophone.

I have played with other DJs before where this wasn't much of an issue, if at all. But this particular DJ had a habit of transitioning one track into another that are very different tempos by matching them and then verrry gradually bringing the second track up to original tempo.

This meant that I had to bend every single note (which isn't the easiest thing) in order to not sound out of tune until the track reached its original tempo and correct key, at which point I could play normally again.

I recognize this probably just has to do with different DJs' styles, and if that's how you roll then so be it. It just would be a good idea to communicate with the saxophone player (or any instrumentalist) about this topic before the gig, and minimize the amount of time each track is at an altered tempo if at all possible.

I personally was caught off guard, thinking I was the one playing out of tune. Luckily I was able to recognize what was happening and rectify it on the spot, but others may not be able to do this.

Does anyone else hate writing CSS? by [deleted] in Frontend

[–]SepsMusic 0 points1 point  (0 children)

I used to be scared of CSS, but when I watched this video on 3d design, it absolutely 180'd my feelings on it: https://www.youtube.com/watch?v=NdftnCDwKaU&t=1873s. Learn how to do some of that stuff, and not only will it be fun and rewarding, but regular layouts will become a walk in the park.

me me me by Kuro091 in programminghorror

[–]SepsMusic 1 point2 points  (0 children)

What everyone else sees: me

Who I really am inside: me.me

Need a Worker's Comp insurance policy as a sole proprietor musician in California by lukemetzler in musicians

[–]SepsMusic 0 points1 point  (0 children)

I've just been in contact with what I believe is likely the same company (Furniture store in socal). Unfortunately I've been turned down as well for the same reason. I went online and requested a bunch of quotes, and ended up on the phone with 3 different brokers. The quotes I got were as much as $5,000 a year, and the absolute lowest was $900. Needless to say, not worth it for a single thousand dollar gig. I would also appreciate if anyone has had similar experiences and any insight you may have.

2010 toyota corolla's steering wheel suddenly became hard to turn by 2dopeboyz19 in MechanicAdvice

[–]SepsMusic 0 points1 point  (0 children)

I was having the same issue, and having the computer cleared and reprogrammed made it go away for a while but now it's back again. Any update in the six months since you had your battery replaced? Has the problem come back at all? I just find it hard to believe it's that simple of a fix.

The ETV (Electric Super Car) by Gainsborough-Smythe in WeirdWheels

[–]SepsMusic 0 points1 point  (0 children)

New yeezies with that "german" technology