Interview Questions

 Apllying job is hard, even harder is to answer strange questions to interviees. 



1. Tell me your top 3 favorite software development tools.

2. What differentiates a good software engineer from a great one?

3. Describe the process you follow when reviewing someone else's code in a code review.

4. Tell me about a difficult bug you were tasked with fixing in a large application. How did you find and resolve the issue?


1) Docker, I no longer need to think versions, installation, uninstallation, encapsulation.

Type in typescript, it helps to keep my mind cleaner than components of  objects/arrays. 

Git, I'm that old to remember when we just copy files over ftp without versioning.


2) Engineers make assumptions while designing system, if those assumptions are accurate they are good engineers, If good enginners are using a system, that system made by great engineers.


3) I assume that submitted code has passed tests and  I have prior knowledge about changes.  

I would check general structure, flow of code, which files changed/added.  

I execute positive scenario, and negative paths. 

while cheking the code, I would check for naming conventions, comments (if necessary)


4) In waset we changed dubai bank to turkish bank to process credit card payments, and after 2-3 weeks a client wrote that they cant pay with their card. It was strange because we have already processing so many payments that he should be the only one that has this problem, not our system. But I've dig through and found the root cause. Bank was rejecting because between turkish entities any commercial transaction should preeceed in Turkish liras (According to turkish money protection act). I needed to put an ugly "if" for customers from turkey, convert euros into try using central banks rates.


wix ai site generation tool

1 out of 5/10

 Yes finally I also tried to generate a ai generated website:

It assumed my target language Turkish but kept asking where am I and my target audience. 

Most of my answers would sufficient to end it's curiosity but keep asking similar questions, i think it should lead what kind of site I would have. not e commerce, but rather informative.






Panel is from 90's . I love retro. 

So It didnt create any thing and when i select from existing templates it failed to complete, prepare for me. Wix really?


CloudFlare Databases

Cloudflare is well known for protecting origin server ip (letting attacks unless you pay the price)

Currently extending its scope to offer cloud functions and edge databases. With this post I want to explore differences of database offerings with you.


Cloudflare NameWhat it isSimilar Product
KVKey-valueRedis
R2unstructured dataMongo
D1Sql dbSQLite
Pub/SubMqtt brokerRabbitMQ
QueuesqueueRabbitMQ
VectorizeAI Vector DbPineCone
HyperDrivePostgresql AcceleratorDistributed pooling


KV

Key value databases stores small amounts of data for given namespace/key.
Most common examples can be user configuration settings, routing information, A/B testing configurations, authentication tokens, application data, user sessions, and shopping cart details

Pricing 10M read 5$ , write 50$

Private to workers

R2

R2 is unstructured database, you can store json documents, podcasts, html content, assets. Provides AWS S3 compatiblity.

Pricing

10M read 4$ write 45$ 
1GB 0.015$

Can be opened to public.


D1

serverless sql database sqlite based. Sqlite is very poweerful and has multi

Pricing

10M read 0.01$ write 10$
1GB 0.75$

Queues

For inter-communication between, job queuing, you can push from durable objects. I cant find detailed info if we can subscribe in our system or if it's used only in cloudflare workers.

Pricing

10M read/write 4$

Choosing a data or storage product. · Cloudflare Workers docs


Example scenarios

Small ecommerce store of 1k products 15k pageview

1k products in 20 categories, daily 1k visitors, 2k search, 10k product 20 tx, 10 comments, 1 person controlling everything:

Website features a diverse inventory of 1,000 products spread across 20 categories, catering to a daily influx of 1,000 visitors. With approximately 2,000 searches conducted daily and 10,000 product interactions, including 20 transactions and 10 comments, our platform engages a significant audience. All of this is managed by one person.

10$ mysql server, 10$ nodejs server


Extended ecommerce store of 5k products, 100k pageview

Big ecommerce hub 1M products, 1k vendors, 20M pageview