hello. I am Caleb from Kenya. I would like to participate in a mock interview as a junior react developer
@SalihCantekin22 сағат бұрын
Can you please share your resume with me? you can find my email address in channels page.
@user-dc9zo7ek5jКүн бұрын
Very nice discovery and explanation. Its probably an oversight on his part. However it does not really matter, since he was not doing 1:1 to the real implementation, rather was trying to show what is behind the scenes.
@SalihCantekinКүн бұрын
I agree. That's why I am just trying to mention about that bug, not complaining about it :)
@ypbr2 күн бұрын
why don't you break the loop when you have two 7? does that affect the results?
@SalihCantekinКүн бұрын
Yes, that would be a better approach :) You're right
@SalihCantekinКүн бұрын
it might affect slightly I reckon
@ypbrКүн бұрын
@@SalihCantekin So I got the job? (:
@SalihCantekinКүн бұрын
@ypbr you would if we had one :)
@yusufcirakkk3 күн бұрын
continuation'ı gözüm tutmamıştı zaten :)
@SalihCantekin3 күн бұрын
Öyle deme, iyi bir arkadaş o da :)
@ismkdc4 күн бұрын
Sen de yanacaksin stephen
@SalihCantekin3 күн бұрын
😂😂😂
@rajasharma940516 күн бұрын
What if same long URL is sent multiple times and I want same short url since long url is already there. How do u make it work for this requirement
@SalihCantekin14 күн бұрын
This could be handled in two ways; First, the destination URL could have a collection of Generated Code. In this case, we would be able to store the same destination address with multiple code which may mean multiple user. However, in this case, in order to access the code and the detail, we would have to lookup all the collections of all the addresses. Thus, this cost us as performance loss. And also, we may need even more stats with the code in the same json document and the same document can grow day by day, if we have the same destination url from many different users. The second way could be handling each destination url with a unique code for it. So even the destination is same, we can generate a different code and attach to it. This allows us to use the same document with even more detailed data. i.e. user data, stats. The cons of this approach is that adding new documents even for the same destination urls. Nonetheless, if we have a user portal where we show all the details about the shorten urls, we have the freedom to extend our data. Moreover, as each code is unique, we have the performance boost. Additionally, we can still find a hybrid solution where we have both of the approaches in one solution. Like, weekly jobs could collect the documents that have never been visited into one document and get rid of the redundant documents. I hope my answer is somewhat useful and answers your question.
@jj7016119 күн бұрын
Is there a chance that i can be interwieved by you? i'm junior golang backend developer.
@SalihCantekin19 күн бұрын
Of course. Please share your details (resume) with me on [email protected] I'll contact you 😊
@jj7016119 күн бұрын
@@SalihCantekin My laptop has some problems😅 as soon as i fix it i will send my resume. Thanks for the opportunity.
@ucretsiztakipci661222 күн бұрын
Why not the azure blob storage queeu but the bus service?
@SalihCantekin22 күн бұрын
Blob Storage Queue is not design to process simple messages. Service bus is one of the options here. To be fair, the best would be Event Grid :)
@ucretsiztakipci661222 күн бұрын
@@SalihCantekin The latency of the free version of Service Bus is horrible. If there is no bulk operations. However, the performance is no the key indicator. We also should discuss the pricing.
@SalihCantekin22 күн бұрын
Even in pay-as-you-go, first 1 milyon message is free. Also, I didn't have any latency even on Free version. What did you have?
@ucretsiztakipci661222 күн бұрын
@@SalihCantekin Cold start problem very very long one. Batch limits, (solved recenlty) testing. But swiched to VM with rabbitmq and sleeping like a baby for high load times.
@SalihCantekin22 күн бұрын
It is expected already. If you keep it in Dev servers, it is acceptable. You can still increase the plan. Vm must be more expensive. Isn't it?
@sifirdanmezun26 күн бұрын
Support comment ❤
@SalihCantekin25 күн бұрын
Cheers!
@thingstodowhilehave29 күн бұрын
I want to insert data into the database using a single writer and multiple readers approach. However, a question comes to mind: what if transactions are a requirement for me, and how can I handle cases where an error occurs during insertion or validation? How can I roll back everything in such situations? If I have only one program running, I can manage transactions globally. But here's my second question: how can I achieve this in distributed systems?
@SalihCantekin25 күн бұрын
Sorry for the late response; For the first question, the pattern you may be applying would be that IUnitOfWork pattern which helps you create a transaciton in a single point and commit or rollback within the same point. Thus, you may create the transaction and Insert your data to database by using multiple readers, then finalize your transaction. For the second question, you may have to apply something like Distributed Transaction, distributed lock mechanism might be needed to applied as well.
@bestekarxАй бұрын
nice!
@SalihCantekin25 күн бұрын
Cheers!
@mucahittozal9481Ай бұрын
Thats very helpful, i didn’t know that i can inject a queue into a task
@SalihCantekin25 күн бұрын
Cheers!
@ahmettarksahin3777Ай бұрын
thank you for such a clear explanation!
@SalihCantekinАй бұрын
I hope you enjoyed
@yunuskeskin1894Ай бұрын
Thanks Mr Cantekin. I feel deeply responsibility for all of your videos, to expand your impact area, that's why I'm writing this message. There is no one that I feel same feeling 😅
@SalihCantekinАй бұрын
Thanks for your support. It is priceless 😊
@Huijaaja42Ай бұрын
!2 is just history expansion in your shell, not a "Linux command." It is not a program like ls or cp and it is not something you can find in all shells.
@SertecvarАй бұрын
Cool
@abdullah-tz9ldАй бұрын
Thanks
@fightUnivers3Ай бұрын
Comment
@ozancankАй бұрын
thx for video
@ozancankАй бұрын
thx for video
@ozancankАй бұрын
thx for video
@ozancankАй бұрын
thx for video
@ozancankАй бұрын
thx for video
@ozancankАй бұрын
thx for video
@ozancankАй бұрын
thx for video
@egemen5404Ай бұрын
Thank you very much for the video. I had been looking for some features but couldn't find them. I especially loved the tabs features 😊 Note: The copy history feature is also available in Windows. You can open with Win + V.
@ermekbakyt5507Ай бұрын
Thx for video!!!
Ай бұрын
I guess the returns would be diminishing, but what if we add "number7Count equal or greater than 2" to the while condition? (while(newNumber > 0 || number7Count >= 2))
@SalihCantekinАй бұрын
That seems better :)
@Y4rissАй бұрын
for the coding question, would this work ? pseudo code result = () for i in range(length/2) x = random(1,2) if x == 1 : result = ( result ) else : result = result ()
@SalihCantekinАй бұрын
That would work but what it generates would be not satisfying as in pattern
@fredrickamoako2 ай бұрын
I needed something like this, very insightful the minds of interviewers and the interviewee's composure, the engagement of both parties during the coding part of the interview has changed my perspective of how these interviews are supposed to be. Thank you very much.
@SalihCantekin2 ай бұрын
You are most welcome. Please see other interview videos :) they might help as well
@gorkemkayas2 ай бұрын
I am very grateful to you for these videos. I hope they understand the value you deserve before it's too late.
@gorkemkayas2 ай бұрын
Actually I am confused a bit about how c# understand the request is cancelled.
@SalihCantekin2 ай бұрын
Ct has an event in that is fired when someone calls the cancel function.
@gorkemkayas2 ай бұрын
@@SalihCantekin thanks 🙏
@middleclassesports52302 ай бұрын
Hello sir
@SalihCantekin2 ай бұрын
Hi 👋
@advaitathreya55582 ай бұрын
@Salih This was really useful. I'm transitioning from academia to industry, and this seems to be really insightful.. Keep up the good work, you gained a subscriber
@SalihCantekin2 ай бұрын
Welcome aboard then. We'll have loads of fun here 😊
@skol452 ай бұрын
56:00 Whats the point in this example while using Math.Max() and Math.Min() ? I thought using pre-fabricated methods was not allowed? You used .Max() and .Min() and its entirely pointless when trying to showcase breaking down problems, i mean if its allowed one couldve also used: numArray.Max() which would return the highest number in the collection immediately. So i think you shouldve replaced .Max() and .Min() with actual "self made" expressions instead of using these pre-fabricated ones aswell.
@SalihCantekin2 ай бұрын
Min and Max under Math library is a simple if statement which could be used in this example. The Max in enumerable, however, has a logic behind which I ask the candidate to express his own logic for this situation. Imagine if someone asks you to order an array just to see your algorithm skills. In that case, would you use Array.Sort functions and finish the interview in a minute 😅😅
@skol452 ай бұрын
interesting staged interview, i like these series, please "interview" more ppl :-)
@SalihCantekin2 ай бұрын
Totally depends on the volunteer devs :) if we got any, we can
@sausiakas2 ай бұрын
Quick question, would solution of simply adding "()" to a random index of parenthesis string work? Cause it wasnt said in the issue description that it was not allowed
@SalihCantekin2 ай бұрын
You could do that and totally produces valid ones. As a down side, it would not have so much diversity in the output :) but again, it was acceptable
@Bhavishya_est2 ай бұрын
easy-peasy questions for . Btw i am doing leetcode for 1 years