Chapi Dev Talks
8.55K subscribers
952 photos
109 videos
12 files
599 links
My name is Chapi and I am a Developer.

I post my thoughts about tech here.

Message to our assistant to give U Feedback: @sophiservebot

Join https://t.me/chapidevtalks_group

Urgent? Contact Me: @chapimenge (Don't say hi or ask Meta Questions )
Download Telegram
Chapi Dev Talks
Congratulations for the winners πŸ†πŸ₯³
❀9πŸ‘4
Chapi Dev Talks
Telegram played us πŸ˜‚


One account is last seen within aweek πŸ˜‚

FYI: telegram automatically choose the winners
🀣6🀨6😁2
So if they didn't use it, it might actually give it to someone else.

1 person claimed it already.

I would love if I see the UI from the winners side
πŸ‘2
So far you might have been called CRUD developer. Let me change you today by challenging you on the following.

What if you create your own Redis Database? Head over to this site before March and crush it https://codecrafters.io/

But i have also another challenge why don't you create a Peer To Peer Video Call application ?

Is that easy let's push it a little bit why don't you create your own Language Server for your favourite programming language ?

Too hard okay let me make it easy why dont you create your own JSON parser that handle parsing, dumping to json(make sure to include indentation option). This will make you busy for a bit.

Push the boundary people let's make ourself uncomfortable for a while and learn the most out of it.

Enjoy,
Chapi Menge
⚑13❀9πŸ‘5πŸ”₯1πŸ†’1
As you face more errors it becomes a pattern.

I think recently what it gotten used to me if somebody is telling me I facing this issue I don't need to see the other person code it just clicked the part where I have search ups and downs of the internet πŸ˜‚.

Specially when it is related to aws weird errors I might spend days of solving and changing your solution many times but after that I know where I will go to when I face it again.

If you are forgetting the errors you faced the thing that almost got you cried(or you even cried eko πŸ˜‚) you are doomed.

Anyways sometimes reading the documentation is not enough you gotta make sure how to be able to integrate multiple documentation into one concept.

The worst type of error for me is the one I face the problem before and when I forget the site I have used to solve it πŸ˜‚.

You will understand the pain when you start working with Aws in different regions and working on infra deployment with CICD in place πŸ˜­πŸ˜‚
πŸ‘18❀2😁2πŸ€“2
Everybody Tap the screen. Let's goo

Everything is double.

Flower flower yesss please 1 flower. 🌹

Oh I forgot am a programmer I develop. I tap the keyboard. I say let's go to the compilers/interpreters.

Have a blessed day my people.
😁49πŸ‘9πŸ₯°6πŸ‘Œ2πŸ€”1
One of the most common mistake I have done repeatedly is running command in production server when I want to run that command in staging server or dev server.

I have done this mistakes many times. Today I want to save you from doing this.

All you need to do is just add this command to your ~/.bashrc file and you will be good to go.

For example For staging server, you add the below to your .bashrc file and just see the results.

nano ~/.bashrc

Then paste the below(make sure it is ctrl+shift+v not ctrl+v πŸ˜‚)

# Set the color codes
RED='\[\033[0;31m\]'
GREEN='\[\033[0;32m\]'
YELLOW='\[\033[0;33m\]'
RESET='\[\033[0m\]'

# Set the PS1 variable with the desired format
PS1="STAGING ${GREEN}\u@${YELLOW}Staging ${GREEN}\h ${YELLOW}\w ${RED}\$${RESET} "
Once you add the above to your

Run the below command to make the above effect.

source ~/.bashrc
Then look at your terminal looking amazing telling you it is staging server you are working on.

Thank me later before you ran to drop table using the environment variables on production thinking you are on staging πŸ˜‚
πŸ‘3❀2✍1
Worst case I can do it tmrw πŸ˜‚
😁46πŸ‘5
This happened 😑😭.

Python list with string is a bit weird. What happened is when you add two string in different consecutive lines inside of the list the string gets concatenated.

Another thing that happens is not looking at the whole errors. I was only looking at the authentication.middleware` is not a package.

If I could have looked a bit to the left I would have figured out soon but I know the test is ugly because it is concatenated already.

Anyway good takeaway is make sure to read the whole error message, they are so underrated specially for beginners.

Good day people πŸ™.
😁12πŸ‘4
The only truthful way to get 5 star ⭐ rating on Upwork is by doing the real work.

I have got all of my work history with 5 star included huge amount work history.

There might be a series of tips to include in the next few posts
πŸ”₯34πŸ‘6✍5❀2
In my opinion most of Upwork proposal advice on YouTube are outdated.

Many of the people also tells you to tell the client about your experience a lot and I disagree with it.

Client mostly cares about their job not your fancy experience. Indeed experience matters but not as the level of solution to the client problem in the proposal.

People worry if I tell the client the solution he will not hire me, but did you forget client expect many of the freelancer to knows the solution before hand, you are just making yourself stand out of the crowd.

Anyways make sure to talk about the client solutions in the proposal.
πŸ’―27πŸ‘7❀5πŸ™5
As a Python developer as much as I love Python, I have been shooting myself in the foot by not using Type system. Typescript devs can relates this feeling. Let me show you my Vscode setup for Python type checking.

First type <Ctrl+Shift+P> and type "Setting" and select "Preference: Open Settings(UI)

Then search for "Python" and use the following settings to level up your python game.

1. Add Import: offers to add missing imports
2. Auto Format string: Automatically adds f strings if you are using {} in your string
3. Auto Import Completions: Same as Add Import
4. Complete Function Parentheses: Automatically adds parentheses when you type a function name
5. Inlay Hints: Shows function argument names
6. Inlay Hints: shows function return type
7. Inlay Hints: Variable hints will show the type of the variable
8. Type Checking Mode: Set to "strict" so that to minimize runtime error and also familiar yourself to type system. But feel free to change the mode to basic if you feel like it is not helping you.

Feel free to add more settings to your liking.

I have attached my settings check them out. Let me know cool settings too 😜
πŸ‘14