Today Pybites turns 6 years 🎉😎 We could never have envisioned that our end-of-2016 “Python blog side project” would grow out into a fully fledged business serving thousands of people worldwide! Here are 10 highlights / lessons learned from our journey so far: 1. Don’t procrastinate, implement We had been chatting for many years about ideas and things we could do to add value, but on that 19th of Dec 2016 we actually took action. Nothing counts till you implement! Day 1-10 of Pybites’ existence was literally writing Python articles (scroll down), nothing more, nothing less 💪 We had to find…
Articles
AI Best Practices Books Career Code Challenges Concepts Data Data Science Developer Devops Django FastAPI Flask Learning Meta Mindset Modern Python Modules News Packages Podcast Productivity Products Projects PyBites Modules Pycon Reviews Rust Soft Skills Special Testing Tips Tools Twitter Digest Uncategorized
Latest articles
-
-
This article appeared as a Pybites email first. If you like it consider joining our friends list for weekly Python, developer and (!) mindset content … Last year I built a cool API to post code images using our pybites-carbon tool. It will store the tip code in a database and store the code image in an S3 bucket. A few weeks ago I finally made it open source so I am happy to receive contributions etc. 🎉 I am not sure why I kept it private for so long but one reason was a much needed cleanup 😅🤯 OK some lines are black formatting, but…
-
Listen here: This week we talk with Kristen Kehrer about her journey as a data scientist, developer advocate and content creator. We dive into how she got into DS and what excites her about the field. We talk about her developer relations work at Comet ML, her journey from R to Python, and some really cool data projects she has developed lately (scratching her own itch). For example the school bus one will blow your mind 🙂 Next we move onto the importance of content creation and growing an audience (building your brand) as a developer. We talk about Kristen’s content creation process, how to…
-
I am increasingly using GitHub Actions these days. If you’re new to this you might want to check out our article or video. In this article I will show you 5 cool ways I use it day to day. Run tests and linters The first and most obvious reason is to automate tooling. Although you probably want to first and foremost do this step locally, for example by using pre-commit, it’s nice to always have that second automated check in the cloud. Example workflow. On: push dictates that I want to run this job upon every code push. You can read the steps…
-
Listen here: Welcome back to the Pybites podcast. This week we have Andrew McLeod on the show to talk about mindfulness. We talk about:– Mindfulness as it applies to the tech industry and why it’s important to humanise tech.– How mindfulness humanises.– How to be more aware of different parts of the body – as opposed to only thought.– The trap of trying to use mindfulness to fix problems that require action (eg mindfulness will make you aware you are hungry, it won’t resolve the issue)– How mindfulness can help with emotional intelligence (including in the context of code reviewing).– How mindfulness…
-
It was about time to give my GitHub profile a nice intro so inspired by Simon Willison’s blog post I decided to make an intro Readme that auto-updates. First I made a GitHub repo called bbelderbos, my username. That’s how it works: GitHub defaults to showing the Readme.md of your username’s repo on your profile page. Now the auto-updating part: Looks nice no? Some other things I learned: I hope this inspires you to not only make a “Hi there” Readme yourself, but also to try to keep it updated by pulling in other data sources that are relevant for you…
-
Listen here: Welcome back to our Pybites podcast. This week we talk about Loving the journey to your goal. We center our discussion about: 1. Setting Goals. 2. What can you do and how can you love the process? 3. Have that Confidence and discipline to achieve your goal. And self control to learn the routine and make it a habit to maintain. 4. Choose how to respond in every situation (If you missed something today don’t be disappointed, because it’s an opportunity to learn and do more). 5. Embrace difficult situations. it only means that you’re getting closer to…
-
Listen here: This week we talk with Yujian, software developer and entrepreneur. We dive into: – His background. – Why he uses Python and the switch from Java. – His core Python focus these days + cool side projects he’s maintaining. – How entrepreneurship is fundamentally different from software engineering. – His viral post on certificates vs the reality of looking things up as a programmer.– Book tips (The hard things about hard things, The startup of you and Grit).– And of course the importance of mindset as a developer (we cannot leave out the Julian question right?!) Enjoy this episode and connect with Yujian on LinkedIn or on our Slack. Other mentioned links:– His…
-
In our TIL Slack channel AJ shared a cool new find: Today I learned about sys.stdlib_module_names: a frozenset of strings containing the names of standard library modules. … AJ on the Pybites Slack – TIL (today-I-learned) channel So I thought to give it a little test drive, specifically checking for modules that were added and removed in Python 3.11. This is what I did: I used the pickle module to persist the frozenset that sys.stdlib_module_names returned beyond the 3.10 REPL session. Next I went into the 3.11 REPL and loaded it back into the mods_310 variable using pickle.load(). And lastly,…
-
In this article I will give you 10 tips for cleaner code. Hope this helps improve your Python code. 1. Smaller units. Break long functions (methods) into multiple smaller ones that do one thing (SRP or “Single-responsibility principle”). This will make your code more modular and easier to test. For example, a function that parses a csv file, builds up a result list and prints the results does 3 things and should be split accordingly. For more about writing better functions in Python, see this article. Update: a great addition by Michael Kennedy is to watch for comments in long…