Tim WD

1.2K posts

Tim WD banner
Tim WD

Tim WD

@Timirlan94

I'm a Django developer. Here I'm documenting my programming journey(started in May 2020). https://t.co/LntNQ5oK9q #django #python #api

Katılım Ekim 2011
55 Takip Edilen39 Takipçiler
Subhrajyoti
Subhrajyoti@ismartsankar101·
Any side project idea???
English
1
0
3
0
Tim WD
Tim WD@Timirlan94·
Today I worked on facade. Now there's a design pattern called facade it allows us to write a lot more readable and cleaner code. So there's one main class and basically it talks to other subclasses and handles all the logic itself now a client should work only with that main clas
English
0
0
0
0
Tim WD
Tim WD@Timirlan94·
Today I worked on integrating the qwep platform. Now the qwep platform allows us to use their crosses for car details say if a user didn't find a certain part they can use a cross or alternative instead. Now we need an article of a car part with that we can get a list of brands
English
0
0
1
0
Tim WD
Tim WD@Timirlan94·
Today I worked on creating a new websocket connection. Now I needed to make a new websocket connection once a user typing a text search into a search bar, and then a user click the search button that websocket connection should be closed and the new connection should be started
English
0
0
1
0
Tim WD
Tim WD@Timirlan94·
Today I worked on web sockets connections and disconnections. Now that problem I faced a few days ago was about improperly established closing states when work was done or users left or closed the page. Now the backend handled closing fine but front didn't send a close signal
English
0
0
0
0
Tim WD
Tim WD@Timirlan94·
Today I worked on sorting offers. Now I need to sort a list of offers coming from the zzap platform, now if it's a local offer it should on top of ranking on the page. Now I used a generator to go through all offers one by one and not to load all offers in memory. Then zipped it
English
0
0
0
0
Tim WD
Tim WD@Timirlan94·
Today I worked on one super bug. Now when we launched our project live last week everything was okay until today, Daphne server three an error saying application 'took too long to shut down and was killed'. No idea what to do, have browsed the internet and nothing, the biggest er
English
0
0
3
0
Tim WD
Tim WD@Timirlan94·
Today I worked on the production processor. Now last weekend when we deployed out our project live the cpu run out of processes there was almost 100% in use. Turned there was a bug in the loop that ran the data massager all the time. Added a pass for 1 second and now it's 5% cpu.
English
0
0
3
0
Tim WD
Tim WD@Timirlan94·
I'm back
English
0
0
0
0
Tim WD
Tim WD@Timirlan94·
Today I worked on postgersql. Now yesterday when I updated all packages through get-apt command, now once I did that our server went off for a while because of postgres and its new configurations. So I went on stack overflow and found the instruction how 2 fix it there thanks SOF
English
0
0
1
0
Tim WD
Tim WD@Timirlan94·
Today I worked on integrating zzap. Now I needed to integrate the suggestions coming from the zzap platform, first I rendered our data from our database then I displayed zzap suggestions below using web sockets and the mosquito service. Also saved all the data receiving from zzap
English
0
0
2
0
Tim WD
Tim WD@Timirlan94·
Today I worked on production. Now I needed to deploy our project live. First I finished building the public shop page users can visit. So I pulled change down to the remote server Ubuntu, using uwsgi, ngnix, supervisor. Now for the asgi version of Django we need use Daphne server
English
0
0
1
0
Tim WD
Tim WD@Timirlan94·
Today I worked on web sockets again. Now yesterday I was rendering search results using web sockets and Django channels today though I was almost doing the same thing but this time I displayed product offers. Now there's the connection that's staying all the time waitin 4 trigger
English
0
0
3
0
Tim WD
Tim WD@Timirlan94·
Today I worked on web sockets. Now I needed to create a new page and render user's search results onto that page using web sockets and Django channels. Now I established the web socket instance using js on front and Django consumers and routings on the server side. Checks out 👍
English
0
0
2
0
Tim WD
Tim WD@Timirlan94·
Today I worked on mosquito. Now I needed to first get the data that a user puts into a search bar then send it upto mqtt broker and now other services that subscribed can get that data save or massage it and send that modified data back to mqtt so now interested services use data
English
0
0
2
0
Tim WD
Tim WD@Timirlan94·
Today I worked on the mosquito message broker. Now today I was learning and studying about Mosquito Broker or mqtt. Now Mosquito is software that allows a multiple services to talk to each other so it acts sorta like a postoffice when people send messages through centralized area
English
0
0
1
0
Tim WD
Tim WD@Timirlan94·
Today I worked on web sockets and Django channels. No I needed to configure web sockets and Django channels that use web-sockets, now I can send data about products to the server and get data back in real time. I use web sockets and DC for rendering suggestions when a user types
English
0
0
2
0
Tim WD
Tim WD@Timirlan94·
Today I worked on saving data. Now I needed to get data from zzap and save it with no duplication, added unique=True to fields needed to be unrepeatable, added 'unique_together' to models for the same reason, connected zzap models with core models through ids, no straight connect
English
0
0
3
0
Tim WD
Tim WD@Timirlan94·
Today I worked on sending article data and product data to the core app. Now I needed to send data to the core through the redis service, now once I get data from zzap I save it to redis temporary then I call a webhook on the core, trigger that redis data and save it to core db
English
0
1
2
0
Tim WD
Tim WD@Timirlan94·
Today I worked on receiving data from the zzap platform. Now I needed to get the data based on a part number, region and name of a car part, received that data, now I need to put that data upto redis and then synchronize it with the core project. Have location, name, shop name..
English
0
0
1
0