Пікірлер
@calebsoftwarefrontend
@calebsoftwarefrontend Күн бұрын
hello. I am Caleb from Kenya. I would like to participate in a mock interview as a junior react developer
@SalihCantekin
@SalihCantekin 22 сағат бұрын
Can you please share your resume with me? you can find my email address in channels page.
@user-dc9zo7ek5j
@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
@SalihCantekin Күн бұрын
I agree. That's why I am just trying to mention about that bug, not complaining about it :)
@ypbr
@ypbr 2 күн бұрын
why don't you break the loop when you have two 7? does that affect the results?
@SalihCantekin
@SalihCantekin Күн бұрын
Yes, that would be a better approach :) You're right
@SalihCantekin
@SalihCantekin Күн бұрын
it might affect slightly I reckon
@ypbr
@ypbr Күн бұрын
@@SalihCantekin So I got the job? (:
@SalihCantekin
@SalihCantekin Күн бұрын
@ypbr you would if we had one :)
@yusufcirakkk
@yusufcirakkk 3 күн бұрын
continuation'ı gözüm tutmamıştı zaten :)
@SalihCantekin
@SalihCantekin 3 күн бұрын
Öyle deme, iyi bir arkadaş o da :)
@ismkdc
@ismkdc 4 күн бұрын
Sen de yanacaksin stephen
@SalihCantekin
@SalihCantekin 3 күн бұрын
😂😂😂
@rajasharma9405
@rajasharma9405 16 күн бұрын
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
@SalihCantekin
@SalihCantekin 14 күн бұрын
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.
@jj70161
@jj70161 19 күн бұрын
Is there a chance that i can be interwieved by you? i'm junior golang backend developer.
@SalihCantekin
@SalihCantekin 19 күн бұрын
Of course. Please share your details (resume) with me on [email protected] I'll contact you 😊
@jj70161
@jj70161 19 күн бұрын
@@SalihCantekin My laptop has some problems😅 as soon as i fix it i will send my resume. Thanks for the opportunity.
@ucretsiztakipci6612
@ucretsiztakipci6612 22 күн бұрын
Why not the azure blob storage queeu but the bus service?
@SalihCantekin
@SalihCantekin 22 күн бұрын
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 :)
@ucretsiztakipci6612
@ucretsiztakipci6612 22 күн бұрын
@@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.
@SalihCantekin
@SalihCantekin 22 күн бұрын
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?
@ucretsiztakipci6612
@ucretsiztakipci6612 22 күн бұрын
@@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.
@SalihCantekin
@SalihCantekin 22 күн бұрын
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?
@sifirdanmezun
@sifirdanmezun 26 күн бұрын
Support comment ❤
@SalihCantekin
@SalihCantekin 25 күн бұрын
Cheers!
@thingstodowhilehave
@thingstodowhilehave 29 күн бұрын
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?
@SalihCantekin
@SalihCantekin 25 күн бұрын
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
@bestekarx Ай бұрын
nice!
@SalihCantekin
@SalihCantekin 25 күн бұрын
Cheers!
@mucahittozal9481
@mucahittozal9481 Ай бұрын
Thats very helpful, i didn’t know that i can inject a queue into a task
@SalihCantekin
@SalihCantekin 25 күн бұрын
Cheers!
@ahmettarksahin3777
@ahmettarksahin3777 Ай бұрын
thank you for such a clear explanation!
@SalihCantekin
@SalihCantekin Ай бұрын
I hope you enjoyed
@yunuskeskin1894
@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
@SalihCantekin Ай бұрын
Thanks for your support. It is priceless 😊
@Huijaaja42
@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
@Sertecvar Ай бұрын
Cool
@abdullah-tz9ld
@abdullah-tz9ld Ай бұрын
Thanks
@fightUnivers3
@fightUnivers3 Ай бұрын
Comment
@ozancank
@ozancank Ай бұрын
thx for video
@ozancank
@ozancank Ай бұрын
thx for video
@ozancank
@ozancank Ай бұрын
thx for video
@ozancank
@ozancank Ай бұрын
thx for video
@ozancank
@ozancank Ай бұрын
thx for video
@ozancank
@ozancank Ай бұрын
thx for video
@ozancank
@ozancank Ай бұрын
thx for video
@egemen5404
@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
@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
@SalihCantekin Ай бұрын
That seems better :)
@Y4riss
@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
@SalihCantekin Ай бұрын
That would work but what it generates would be not satisfying as in pattern
@fredrickamoako
@fredrickamoako 2 ай бұрын
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.
@SalihCantekin
@SalihCantekin 2 ай бұрын
You are most welcome. Please see other interview videos :) they might help as well
@gorkemkayas
@gorkemkayas 2 ай бұрын
I am very grateful to you for these videos. I hope they understand the value you deserve before it's too late.
@gorkemkayas
@gorkemkayas 2 ай бұрын
Actually I am confused a bit about how c# understand the request is cancelled.
@SalihCantekin
@SalihCantekin 2 ай бұрын
Ct has an event in that is fired when someone calls the cancel function.
@gorkemkayas
@gorkemkayas 2 ай бұрын
@@SalihCantekin thanks 🙏
@middleclassesports5230
@middleclassesports5230 2 ай бұрын
Hello sir
@SalihCantekin
@SalihCantekin 2 ай бұрын
Hi 👋
@advaitathreya5558
@advaitathreya5558 2 ай бұрын
@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
@SalihCantekin
@SalihCantekin 2 ай бұрын
Welcome aboard then. We'll have loads of fun here 😊
@skol45
@skol45 2 ай бұрын
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.
@SalihCantekin
@SalihCantekin 2 ай бұрын
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 😅😅
@skol45
@skol45 2 ай бұрын
interesting staged interview, i like these series, please "interview" more ppl :-)
@SalihCantekin
@SalihCantekin 2 ай бұрын
Totally depends on the volunteer devs :) if we got any, we can
@sausiakas
@sausiakas 2 ай бұрын
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
@SalihCantekin
@SalihCantekin 2 ай бұрын
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_est
@Bhavishya_est 2 ай бұрын
easy-peasy questions for . Btw i am doing leetcode for 1 years
@SalihCantekin
@SalihCantekin 2 ай бұрын
Then yeah, it must be a piece of cake for you