Category: Python
Python tutorials
Transcribe Singlish with OpenAI’s Whisper? “Can meh?”
About a week ago, OpenAI released a new AI model that can transcribe speech with 50% fewer mistakes than previous models. The new model, called Whisper, works well with different accents, noise in the background, and technical language. The models (there are 5) have been trained on 680,000 hours
Read moreCustom Python Strings: Inheriting From str vs UserString
The Python str class has many useful features that can help you out when you’re processing text or strings in your code. However, in some situations, all these great features may not be enough for you. You may need to create custom string-like classes. To do this in Python, you can inherit from the built-in str class directly or subclass UserString, which lives in the collections module. In this tutorial, you’ll learn how to: Create custom string-like classes by inheriting […]
Read moreRepresent word vectors in Natural Language Processing
We’ve all heard about word embedding in natural language processing, which is a term used for the representation of words for text analysis, typically in the form of a real-valued vector that encodes the meaning of the word such that the words that are closer in the vector space are expected to be similar in meaning.
Read moreDemystifying Search
Search is a function or process of finding letters, words, files, web pages, or other data. Many operating systems, software programs, and websites contain a search or find feature to locate data. Search can vary from user to user. For Example, If a Software Developer searches Python on google. It gets the search results
Read moreSneaky REST APIs With Django Ninja
Many web projects have moved to the single-page application model. To use this model with Django, you build a project where Django is the back end accessed through a REST API. The Django Ninja library is a FastAPI-inspired tool kit for turning Django views into REST API endpoints with very little extra code. Along the way, you’ll be using curl, a command-line tool that allows you to grab the contents of a web page. If you’d like to quickly build […]
Read moreReading Pcap File with Python
If you ever work with something related to computer networking, you probably know what is Wireshark. It is a tool to collect network packets and it also allows you to analyze them. It is an awesome tool but it is not suitable to analyze more than one pcap file and use the data you collected to train a model. There are some Python packages(Scapy, Pyshark) to get information from pcap files but they are generally slow. As an alternative to […]
Read moreThe Software Engineer: An Unexpected Journey (how to learn to code and get a job)
If you’re late for the bus, need to finish your latest side project or (god forbid) go on a date with a real human (not AI) I’ll save you some time. TL;DR stop watching YouTube tutorials and stop using boot camps (for the most part) and just make something fun. Can’t think of something fun? Steal something fun from elsewhere. Here, make a terminal website like I did with a programming language you think it would be cool to learn […]
Read more