Chapi Dev Talks
8.52K subscribers
937 photos
107 videos
12 files
593 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
For an extensive error reporting in python check this out and use it in your own case

import traceback
import sys

def divide_numbers(a, b):
try:
result = a / b
return result
except Exception as e:
exc_type, exc_value, exc_traceback = sys.exc_info()
tb_info = traceback.extract_tb(exc_traceback)
filename, line_num, func_name, text = tb_info[-1]
local_vars = {}
local_vars.update(locals())
error_info = {
"exception_type": exc_type.__name__,
"exception_value": str(exc_value),
"filename": filename,
"line_num": line_num,
"func_name": func_name,
"text": text,
"local_vars": local_vars
}
return None, error_info

result, error_info = divide_numbers(10, 0)

if result is None:
print("An error occurred:")
print(f"Exception Type: {error_info['exception_type']}")
print(f"Exception Value: {error_info['exception_value']}")
print(f"File: {error_info['filename']}, Line: {error_info['line_num']}")
print(f"Function: {error_info['func_name']}")
print(f"Code: {error_info['text']}")
print("Local Variables:")
for var_name, var_value in error_info['local_vars'].items():
print(f"{var_name}: {var_value}")
else:
print(f"Result: {result}")
❀4πŸ‘2⚑1πŸ‘Ž1
Why not uptime checker in lambda ?

I just added this for our prod uptime checker. Will see how it perform and definitely lower down the time rate.

Depending on the outcome either i will go fully on serverless uptime checker or move to some free open source selfhosted service.
πŸ‘1πŸ‘Ž1😁1
i didn't know we are running this much jobs 🀯 in AWS Batch.


DAMN i gotta make sure to improve the performance. This bill is gonna be crazy
πŸ‘1πŸ‘Ž1
I am extremely active on friday and Saturday finished like more than 15 ticket that has been sitting for almost month.

I need Friday and Saturday to be 4 times a week πŸ˜‚.

Two times in a Row OverTime Pay 😜
πŸ”₯4😁2
Chapi Dev Talk Group.
180
This beka guy is definitely linked with some kinda black magic spell 😭😭😭😭😭
🀣10πŸ‘1
Go and participate. Only after you joined the channel and the group else you won't be in the pool 😜
Forwarded from Beka (Beka)
okay I won something from chapi's channel and we're gonna do premium giveaway.

If you want telegram premium just comment something on this post and you'll be in the giveaway pool.
😁1
Don't miss this amazing Voice Chat tonight.

I think this might be the best voice chat for 2024.

Paulo's is an amazing security researcher.

Don't miss it set your calendar for Tonight.

Join the channel 🌟
πŸ‘8❀1
Forwarded from Codenight Info
Talk With Paulos Yibelo : Security Engineer At Amazon

Join Us on Codenight Talkshow as we welcome Paulos Yibelo, Ethical Hacker and Security Engineer who worked at INSA, Amazon and many other companies.

Get ready for an in-depth conversation about:

- Unveiling the Hidden Threats: A Deep Dive into Cybersecurity Vulnerabilities
- From Breach to Resilience: Strategies for Strengthening Cyber Defenses
- Behind the Scenes: The Art of Ethical Hacking and Security Research

Join us live on the Codenight Telegram voice chat this Sunday at 8 PM. See you there!
❀17
This media is not supported in your browser
VIEW IN TELEGRAM
Show me a better marketing job please?

Flutter peps you must go here
😁7
https://marketplace.visualstudio.com/items?itemName=mddanishyusuf.iconbuddy-vs-code-plugin

https://iconbuddy.app/

The ultimate source for icons.
Download, Customize, Edit and Personalize. Over 200k+ open source icons.
⚑7πŸ”₯2πŸ‘1πŸ‘€1
For the people who are kind of confused when is the start of Ramadan even if it is not 100% sure due to the cloudy weather in Saudi it is difficult to sight the moon but it was being reported that it is not sighted so it might not be tomorrow.

Stay tuned I will update you once I confirm all the information.
πŸ‘4❀2