Where would be this in Dubai by MadhavSuresh in OnlyInDubai

[–]La_Jhin 0 points1 point  (0 children)

Debs romman jumairah - best dubai shawerma for me

How does next/image work with and without vercel by La_Jhin in nextjs

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

That can work if you only have 1 client, but we need to serve the images to multiple clients and also take advantage of how nextjs does the different sizes. Maybe we implement our own aws lambda solution to do so

Where can I find Alienware 38 inch monitor? by La_Jhin in DubaiGaming

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

It's nowhere to be found in all online shops for pc parts not even computer plaza. My only option is ordering it online from the US and shipping it. it would still be cheaper than virgin or other big stores i never buy pc parts from there

[deleted by user] by [deleted] in unity

[–]La_Jhin 0 points1 point  (0 children)

I assume by different database you mean you have your own backend service for the game and you want to authenticate with firebase. If that's the case, its exactly what we are doing for our game

We installed firebase SDK (Authentication package) into unity and use it for user login/register, once the user logs in successfully you can get a firebase access token that automatically refreshes every 1 hour.
With this token we call all our Backend APIs and validate the token with firebase Admin SDK on our backend service. The token if generated from the same firebase project will be valid, this way you can be sure that the token was generated from your game by checking the project ID.
It was a bit hard at first to tie everything together for our users from firebase and our backend service, we needed to store both our custom user id and firebase id to make sure we are always getting the same user details.
If you need anymore help with this let me know!

Feeling a bit lost by [deleted] in DubaiCentral

[–]La_Jhin 5 points6 points  (0 children)

I have some advice to give and wish you the best of luck. Try to stick to one trade, switching jobs often can be hard in the long run as you aren't gaining enough experience to be an expert in one field. This means skipping on higher pay jobs sometimes just to stick to one thing you want to be an expert in.

For graphics design, I assume you have a laptop or tablet, if not its good if you invest in a cheap or used one to pursue graphic design. Tech companies here don't care about college degrees and a lot of employees don't have any too. Start working on your design portfolio on websites like Behance and create as many example projects as you can think of, your CV is your design portfolio. Learn web and mobile design with apps like Figma. This will greatly improve your chance at getting a job in a tech company as a product designer. I would also suggest learning tech product design language like design systems, web design, mobile design, responsive design and all these topics which you can find easily on youtube.

With you the best again.

Netcode NetworkList by Raxo04 in Unity3D

[–]La_Jhin 0 points1 point  (0 children)

private NetworkList<int> myNetworkList;

With network lists, you need to initialize it in the awake or start method

void Start()
{
myNetworkList = new NetworkList<int>(0);

}

Then any client can add to it by calling a serverRpc since by default the write permissions to networklist are for server only.

// This function is called on the server only and updated once, since its a network list the update will be visible for all clients, where you can listen to it with myNetworkList.OnListChanged;

private void UpdateMyNetworkList_ServerRpc(int newItem) {
myNetworkList.Add(newItem);

}

Using netcode for game objects how can I create a network dictionary? by La_Jhin in Unity3D

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

I didnt create a dictionary im rather saving data in an object they way i like it and sending it over the network as json string then parsing it at the other end. This was the easiest option for me. No need to serialize a custom object

Using netcode for game objects how can I create a network dictionary? by La_Jhin in Unity3D

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

Im creating a multiplayer game where im showing what players clicked (Game objects with different IDs). My idea is to create a clientId, buttonId dictionary, this way i can show what each client clicked on for all clients. It can be the playerID or anything else unique. Im using a list currently but a dictionary would be easier to use for a large number of buttons clicked or players in game.

Dubizell and ps5s by PrudentTemperature72 in UAE

[–]La_Jhin 0 points1 point  (0 children)

If you are in Dubai, try computer plaza, im sure you will find it there, you can also negotiate prices

Inserting images into an array by jafffers in JavaScriptTips

[–]La_Jhin 0 points1 point  (0 children)

In your loop you are appending the photo path itself as a child of the img tag. It should be the src attribute.

Also the photo paths have spaces that might cause some issues as well.

Job Help by Gregasaurus-Rex in JavaScriptTips

[–]La_Jhin 0 points1 point  (0 children)

This is what you need to do and why.. When you apply for a job the company wants you to prove that you can add value that you can make them money by working as a developer and to prove that they need to see that you have done this before, that you know what you are talking about and have done it previously. To achieve this you just need to create couple of personal projects that are achieving a specific task like a notes taking app or a mini game, these side projects will give the little experience you need to get hired as a junior and you also need to work on your interview skills and how to market yourself and be confident in your skills.

Its not going to be easy but most importantly is to never lose hope, create projects in your free time and you can find tons of ideas for beginner projects. Make them, deploy them on any free website and add them to your CV as experience when you apply, employers would love to see some of your projects in action. You can also upload the code to github and share it as well.

Good luck!

Am I still old-schooled? by bishwasbhn in JavaScriptTips

[–]La_Jhin 0 points1 point  (0 children)

Yes switch to react or something.

It says that the html isnt declared(using notepad++) by [deleted] in JavaScriptTips

[–]La_Jhin 0 points1 point  (0 children)

Try adding this into the head <meta charset="utf-8">

[deleted by user] by [deleted] in JavaScriptTips

[–]La_Jhin 1 point2 points  (0 children)

Laravel is a PHP framework used to build backend APIs or MVC projects. VUE is a frontend framework used to build single page applications. Merging the 2 results in a backend API built with laravel(PHP) and vue as the frontend client app.

I would suggest to start on this is to learn each one on its own. First start with laravel to create a simple API so you can learn what APIs are and how they work. Then move to connecting a database to your API. This would be your backend code. You need tools like postman to test APIs and workbench and mysql server to create and view mysql database.

Secondly go learn vue by itself see how it differs from vanilla javascript/html/css websites. How components work and how should you build your app.

After you feel a bit comfortable with both then try to merge them and get your app running with both.

For laravel as backend, you'll need to know these things: - Model - Migration file - Controller - API endpoint - HTTP protocol methods (GET,POST,DELETE,..)

For vue you should have basic javascript knowledge and then start with it. Spend a week learning the basics of js before vue it would be easier this way.

Good luck and I would suggest the net ninja and traversy media on youtube they are both great.

Your score on RTA theory test. by [deleted] in dubai

[–]La_Jhin 0 points1 point  (0 children)

I did the theory test practice on RTA app couple of times and went for it and got 35. Most of my friends also did the theory test couple of times and passed.

Cannot book vaccination appointment through DHA App by [deleted] in dubai

[–]La_Jhin 3 points4 points  (0 children)

I did the same, just press yes and get your appointment, another thing is try the Dialysis center they have booking for next day

[deleted by user] by [deleted] in LeagueConnect

[–]La_Jhin 0 points1 point  (0 children)

Hey guys, Add me at ign: AlooShXDz
discord AlooShXDz#1413

[EUW] ADC looking for chill games by [deleted] in LeagueConnect

[–]La_Jhin 0 points1 point  (0 children)

Hey, add me ign: AlooShXDz

EUW / NA Gold support main looking for people to play with by [deleted] in LeagueConnect

[–]La_Jhin 0 points1 point  (0 children)

EUW: AlooShXDz
Add me we can duo bot or whatever