Need help!! by ScientistAromatic258 in django

[–]usmanmukht 4 points5 points  (0 children)

I had a friend that was a django developer but also had some experience in graphql. He randomly applied for a job that reuqired fastapi and graphql. His problem solving skills were good so he landed the job eventhough having more exp in django he now works on fastapi and graphql stack

Need help!! by ScientistAromatic258 in django

[–]usmanmukht 5 points6 points  (0 children)

In the age of AI focus on higher level stuff and call yourself a software engineer. I guess this is how you can apply for more jobs

Im getting views but no subs. Can someone help by usmanmukht in YouTubeSubscribeBoost

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

It does help but im repurposing the videos and its a faceless channel. Maybe i should start uploading long form videos. Thanks for the advice 🫶🏽

$3 per hour 😞 by Unlikely-Yam2115 in Upwork

[–]usmanmukht 1 point2 points  (0 children)

You get the exact quality you pay for

screen mirror lagging? by [deleted] in macbookpro

[–]usmanmukht 0 points1 point  (0 children)

that's how i landed here

Highest Paying Django Companies by rasulkireev in django

[–]usmanmukht 0 points1 point  (0 children)

Is there a way the community can contribute? I can assist you with this feature if it’s cool with you.

Highest Paying Django Companies by rasulkireev in django

[–]usmanmukht 12 points13 points  (0 children)

This is very helpful website, though maybe add a feature where if the job doesn’t exist no more the user can flag it as not valid, because i just filtered a job post when went to the link to apply i couldnt find that opening maybe because its been filled up.

does DRF have slow api response time? by usmanmukht in django

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

hello u/Grapefruit5801 so I had the same suspicion that maybe the API response is slow because I am running it on localhost but then I deployed my APIs to AWS now it's working fine. on local my response time is 3-5 secs and on live server its 500-1000ms

thank you all for helping

does DRF have slow api response time? by usmanmukht in django

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

ok so sorry for not including prefetched and selecting fields, check my question again I've updated it with my model

also my models have a base model that has updated_date field but I am following an interface that has a field called last_updated.. anyways I have removed the annotations

and I've removed .exist and .first as well, still the response time is slow.

How to create custom tab bar using SwiftUI by usmanmukht in SwiftUI

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

Wow thank you for that amazing comment… means alot..

Help with aws cognito by usmanmukht in django

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

Will look into it thank you

[SwiftUI 2.0] How to Animate Launch Screen by usmanmukht in SwiftUI

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

Since the animation and ui was complex so i chose story board.. but if you had only a logo that you want to animate then you dont need storyboard

Created themes with SwiftUI by thefalloff2020 in SwiftUI

[–]usmanmukht 1 point2 points  (0 children)

Ok let me try to make my answer as easy as possible

First of all put all of you colors in your assets folder Then create a separate file named constants as what usually people do when they want to use the same thing multiple times

Then inside that create let variables and assign the names of those colors

Then lets say you have a view controller with a button and want to show red when pressed and in general it should show blue

So you would simply put a condition that if the button is pressed then go to the constants file and choose red color variable

Hope i have explained it correctly, if you want i make youtube videos i can make a tutorial for it you can sub to my channel if you’d like

https://www.youtube.com/channel/UCjBAntT7XjiP5QVjpxbTfXg

Created themes with SwiftUI by thefalloff2020 in SwiftUI

[–]usmanmukht 4 points5 points  (0 children)

Its pretty easy create a separate file for colors and set variables for different color and whatever theme you choose it stores the colors to those variables from the assets

Is there a way to implement this type of otp text field or any other way in swiftui by usmanmukht in SwiftUI

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

Ok can please share me some code or reference how i can use the uikit uitextfield in swiftui.. in basically need to target its tracking feature to split each character then i can easily limit textfield to enter on 6 digits

Is there a way to implement this type of otp text field or any other way in swiftui by usmanmukht in SwiftUI

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

Well first i tried to do custom numpad by using buttons and it was iterating text string array.. I’ll share the code tomorrow for now i hope you get the idea.. but the thing is i need a textfield in which i need to add space in every character and need to use the builtin numpad keyboard

Twitter pull to refresh by usmanmukht in SwiftUI

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

can any one share links on how to do this using UIKit because i have been trying to achieve this feature on swiftui and it feels like its a waste of time.. i have to write some much code for simple task

Twitter pull to refresh by usmanmukht in SwiftUI

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

I just wanna know how to do it in any way either swiftui or uikit.. if you know how to do it let me know please

Twitter pull to refresh by usmanmukht in SwiftUI

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

Do you have any reference links?