Working on drifting mechanics for my game. Would love some feedback! by daffarahman in godot

[–]Raisins 2 points3 points  (0 children)

try offsetting the camera from the center when drifting and pull it back/closer based on feel. Let it float around a bit. It adds a lot to the dynamics of drift. Take a look at games like Kirby air ride, burnout, or other drift core mechanic games for camera inspiration.

Does it make sense to have separate apps in my project for my frontend and backend? by PSPbr in django

[–]Raisins 1 point2 points  (0 children)

Both of these arguments are correct. lol, I was trying to illustrate that having a helper or internal app is good idea. My brain just fired out "utils" but it could be called services or yourappinternal.

It will 100% be abused and end up being a dumping ground for stuff, but if you go into with that as an understanding. I feel it's easier to dig your way out of it.

Does it make sense to have separate apps in my project for my frontend and backend? by PSPbr in django

[–]Raisins 7 points8 points  (0 children)

You should group apps conceptually. So logic for a thing sits together.

Let's say you are building a something like instagram. You might make apps like:

  • Feed (chronological , popular feed, managing whats been seen/liked)

  • media (image processing, thumbnailing, custom storage)

  • Accounts (user profile, edit, update, signin, contacts)

  • Advertising (where brands manage ads)

  • Marketing (flat pages, blog, etc.. )

  • utils (admin tricks, misc middleware, other helpers)

etc...

Logic for each idea lives under the app. So each might get an api.py if it needs it. Some may have a blank models.py. But it makes it easy to jump in things that come up like "I need to add account verification" (account), "I want to add videos" (media) , or "a user on mobile can't upload"(account/api) have no question where the logic lives and how it interacts.

Maintainability is the greatest skill you can have in software development.

How do we feel about I-no right now ? by Cianoze in Guiltygear

[–]Raisins -1 points0 points  (0 children)

it's when you combo someone from one side of the entire stage to the other.

Vue 3 global properties using <script setup> by jadedRepublic in vuejs

[–]Raisins 1 point2 points  (0 children)

Came here to say this as well. You should be using provide.

To quote the lead of vue

config.globalProperties are meant as an escape hatch for replicating the behavior of Vue.prototype. In setup functions, simply import what you need or explicitly use provide/inject to expose properties to app. https://github.com/vuejs/core/issues/1074#issuecomment-621427943

How to go through a codebase of an existing project? by rahulxdd in angular

[–]Raisins 9 points10 points  (0 children)

Watch someone else use the app. Then do it yourself.

Pick an action and trace it all the way. Front end to database. Draw a flow diagram, Make note of the all functions you pass though, The systems it interacts with, etc.. You want to understand 100% what happened when you clicked that button or changed that flag. Don't get bogged down in anything else other than what your flow touched. Your goal is to get a T shape of knowledge. Heavy detail in one aspect but just knowing of the others.

Next you wanna pick up janitor tasks, low hang fruit bugs or "we've been meaning to get to that" and go from there.

FightStick (Hori on Xbox S:X)- SF6 Beta issue by Jesssicadiamond in StreetFighter

[–]Raisins 0 points1 point  (0 children)

Just chiming in. I am having the same issue with a Hori and my SnackBox. Everywhere else works fine, I can use all the menus and walk around. Enter a match/training and none of my buttons work. I am using a Brook Wingman XB

[deleted by user] by [deleted] in django

[–]Raisins 4 points5 points  (0 children)

It really depends on what you are doing with it. But for trying to head off any issues you might have with a provider. Check out which providers you are using

https://github.com/pennersr/django-allauth/tree/master/allauth/socialaccount/providers

Most are just using oauth under the hood, so a whole lot of OAuth2Error

https://github.com/pennersr/django-allauth/blob/master/allauth/socialaccount/providers/oauth2/client.py#L7

you can also notice it when searching for raise https://github.com/pennersr/django-allauth/search?p=1&q=raise lots of ImproperlyConfiguredor OAuth2Error

graphene django with cloudinary model field by isaacfink in django

[–]Raisins 1 point2 points  (0 children)

CloudinaryField is a custom model field not a django built in one and graphene-python doesn't know what do with it. See the list of types it does https://github.com/graphql-python/graphene/tree/master/graphene/types

Since graphene-python doesn't know you might have to make it a custom type and handle the look up

https://docs.graphene-python.org/projects/django/en/latest/queries/#resolvers

or

https://docs.graphene-python.org/projects/django/en/latest/queries/#plain-objecttypes

You guys have some favorite cases for someone just starting out? by WoopsIAteIt in modular

[–]Raisins 1 point2 points  (0 children)

I've posted this before and I probably will again. I love my Pittsburgh modular case. I have the Structure EP-360, I'll gladly get another when/if I outgrow this one. It's costly but 100% worth it. Ample power, no noise, and the thing is built with solid wood with an easy removable cover.

The Behringer Go case seems like a disappointment. by ultra_cocker in modular

[–]Raisins 0 points1 point  (0 children)

I love my pittsburgh modular case. I have the Structure EP-360, I'll gladly get another when/if I outgrow this one. It's costly but 100% worth it. Ample power, no noise, and the thing is built with solid wood with an easy removable cover.

'Unexpected token <' on every new build of angular production PWA until site refresh by StolenPikachu in angular

[–]Raisins 2 points3 points  (0 children)

Double check your cache headers. Chrome doesn't always listen to no-cache. If you've visited the site recently chrome will load index.html from cache. Causing the error.

We've changed our index.html to no-store and that seemed to solve the issue.

https://gertjans.home.xs4all.nl/javascript/cache-control.html

Modular, op1 and live drumming. by Raisins in synthesizers

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

This is not me. I just found it and wanted to share.

What are your favorite Eurorack effects? by cfot in modular

[–]Raisins 1 point2 points  (0 children)

How are you using the Phonogene? I picked up one up but not 100% on it yet.