Alina Bazavan (@SemPedia) header
Alina Bazavan (@SemPedia) profile picture

Python / Django Developer https://xitter.cf/t.co/npnIXAsyLE

Romania
Joined May 2009
Alina Bazavan retweeted
Helpful resources: - repo: github.com/googleapis/python… - docs: ai.google.dev/gemini-api/doc… - migration guide from the old SKD: ai.google.dev/gemini-api/doc…
2
6
92
6,038
Alina Bazavan retweeted
The Google Gen AI Python SDK v1.0.0 is here! It brings major improvements and stability, including: - Gemini API and Vertex support - pydantic types - function calling - JSON response schema - streaming - async - Imagen 3 support - finetuning happy building!
100
246
20
2,184
207,660
Alina Bazavan retweeted
Every decision has an opportunity cost. In the past I would say yes to way too many things. Then I learned to say no to things so I could focus on the few things that really matter (80/20). A day only has 24 hours and sleep matters. Protect your time, learn to say no!
1
8
420
Alina Bazavan retweeted
Did you know there's a way to use #Python dictionaries to emulate an ordered set? Here's how:
5
11
55
8,330
Alina Bazavan retweeted
This is major. TypeScript in Node! Play with it in CodeSandbox today. Release is scheduled for July 30th. Cheers to my coworker @satanacchio for getting this one in. The other month I was talking about things that keep me from loving node and he was like *hold my beer*
3
21
2
113
16,672
Alina Bazavan retweeted
Pydantic is hiring a Platform Engineer! 🎉🛠️ pydantic.dev/jobs/platform Join the @pydantic team and help us build robust, scalable platforms that empower our users! Retweets appreciated! 🚀
1
17
1
60
9,040
Alina Bazavan retweeted
Seems trivial: Old way time: 0.574936 seconds New way time: 0.573479 seconds
1
1
2
137
🅰️📢 Angular 18.1 has just been released! It introduces the new @let syntax for declaring local variables in the templates: #angular #javascript #typescript #AngularAddicts @angular
25
1
99
5,508
Alina Bazavan retweeted
Do you want a quick way to get a transcript from a YouTube video? The youtube-transcript-api #Python package is noice! 🎉 🙏 2 loc: ``` from youtube_transcript_api import YouTubeTranscriptApi transcript = YouTubeTranscriptApi.get_transcript(video_id) ``` Or use its cli 😎 📈
1
7
36
4,751
Python Question / Quiz; What is the output of the following Python code, and why? 🤔🚀 Comment your answers below! 👇 #python #programming #developer #morioh #programmer #coding #coder #webdeveloper #webdevelopment #pythonprogramming #pythonquiz #machinelearning
24
9
86
6,482
Alina Bazavan retweeted
Python tip: Because tuples are immutable, there's no need to copy them (they can't be copied). tuple(my_tuple) returns itself. On the other hand, lists are mutable, so copying them makes sense. list(my_list) returns a new list.
6
36
2,101
Level up your skills and get certified with GitHub: Join us for the next 2 Learn Live sessions and get your certification voucher code during the sessions! Available until June 27, 2024. 🗓️June 19 & June 26 8:00 am PT / 11:00 am ET 17:00 CEST / 20:30 IST aka.ms/CertifiedwithGitHub
1
18
1
69
4,776
Alina Bazavan retweeted
1
29
140
7,795
Alina Bazavan retweeted
Deploy a Kubernetes cluster in AWS EKS using Terraform buff.ly/4boJtOR #kubernetes
22
69
2,776
Alina Bazavan retweeted
Terraform for GCP How to create Kubernetes Cluster buff.ly/44Dfsbs #kubernetes
9
46
1,763
Alina Bazavan retweeted
DevOps Pipeline: From Code to Kubernetes with GitHub, Jenkins, Maven, SonarQube, and ArgoCD buff.ly/3Uydcxx #kubernetes
15
99
5,213
Alina Bazavan retweeted
Python 3.13 beta 1 just landed. My favorite new feature is the new #Python REPL. Honestly, this may be my favorite feature since f-strings.
11
23
7
165
30,363
Alina Bazavan retweeted
In #Python, using mutable objects (e.g. lists / dicts) as default arguments in functions can lead to unexpected behavior. This happens because the default argument is evaluated only once when the function is defined, not each time it's called. Better solution: use `None`:
2
8
34
2,148