There is an old saying: "Don't reinvent the wheel". This saying is correct, and it is applicable in all areas of our life, including programming. The whole concept of DevOps is to utilize existing tools and resources, so you don’t have to spend hours creating new code from scratch. Due to the powerful benefits it provides, it shouldn’t be surprising that the global DevOps market was worth over $4.3 billion in 2020.
In this article, we will talk about how to optimize our time and our results by learning how to use the modules that are built into CPAN.
A stored procedure is a set of SQL statements with an assigned name, which can be stored for later use so it can be reused and shared by multiple programs. Some of the benefits offered by stored procedures are:
Security.
Performance.
Ease of use.
Maintainability.
Scalability.
In this article, I will show you how to secure data using a stored procedure. But before I do that, let us go through how stored procedures can be a secure and safe way to give access to your database.
Spreadsheets have become a big part of the business. People often use them for better and neater visualization of a specific document. Microsoft Excel is the most famous software for spreadsheets and allows you to...
The public sector includes many different areas. Some groups leverage cutting-edge technology, like military leverage. Others like the public administration are years or even decades behind. This blog series explores how the public sector leverages data in motion powered by Apache Kafka to add value for innovative new applications and modernizing legacy IT infrastructures.
This post is part 3: Use cases and architectures for Government andCitizen Services.
To help you quickly get started with Milvus, the open-source vector database, we released another affiliated open-source project, Milvus Bootcamp on GitHub. The Milvus Bootcamp not only provides scripts and data for benchmark tests, but also includes projects that use Milvus to build some MVPs (minimum viable products), such as a reverse image search system, a video analysis system, a QA chatbot, or a recommender system. You can learn how to apply vector similarity search in a world full of unstructured data and get some hands-on experience in Milvus Bootcamp.
We provide both front-end and back-end services for the projects in Milvus Bootcamp. However, we have recently made the decision to change the adopted web framework from Flask to FastAPI. This article aims to explain our motivation behind such a change in the adopted web framework for Milvus Bootcamp by clarifying why we chose FastAPI over Flask.
Web Frameworks for Python
A web framework refers to a collection of packages or modules. It is a set of software architecture for web development that allows you to write web applications or services and saves you the trouble of handling low-level details such as protocols, sockets, or process/thread management. Using a web framework can significantly reduce the workload of developing web applications as you can simply "plugin" your code into the framework, with no extra attention needed when dealing with data caching, database access, and data security verification. For more information about what a web framework for Python is, see Web Frameworks.
There are various types of Python web frameworks. The mainstream ones include Django, Flask, Tornado, and FastAPI.
Flask
Flask is a lightweight micro-framework designed for Python, with a simple and easy-to-use core that allows you to develop your own web applications. In addition, the Flask core is also extensible. Therefore, Flask supports an on-demand extension of different functions to meet your personalized needs during web application development. This is to say, with a library of various plug-ins in Flask, you can develop powerful websites.
Flask has the following characteristics:
Flask is a microframework that does not rely on other specific tools or components of third-party libraries to provide shared functionalities. Flask does not have a database abstraction layer and does not require form validation. However, Flask is highly extensible and supports adding application functionality in a way similar to implementations within Flask itself. Relevant extensions include object-relational mappers, form validation, upload processing, open authentication technologies, and some common tools designed for web frameworks.
Flask is a web application framework based on WSGI (Web Server Gateway Interface). WSGI is a simple interface connecting a web server with a web application or framework defined for the Python language.
Flask includes two core function libraries, Werkzeug and Jinja2. Werkzeug is a WSGI toolkit that implements request, response objects, and practical functions, which allows you to build web frameworks on top of it. Jinja2 is a popular full-featured templating engine for Python. It has full support for Unicode, with an optional but widely-adopted integrated sandbox execution environment.
FastAPI
FastAPI is a modern Python web application framework that has the same level of high performance as Go and NodeJS. The core of FastAPI is based on Starlette and Pydantic. Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework toolkit for building high-performance Asyncio services. Pydantic is a library that defines data validation, serialization, and documentation based on Python-type hints.
A new sheriff in town. Microsoft launched the fully managed Azure service for performance test engineers and developers to perform high scale load testing called Azure Load Testing, currently in preview mode. It is quite a big announcement for performance engineers. Let us see whether Azure Load Testing fulfills our needs or not in this blog post.
What is Azure Load Testing?
As foretold, aptly put, Azure Load Testing is an offering for the customers who are in the Azure ecosystem. Even if you are not in Azure, you can still spin up the load test resource for performance testing. But the catch is PRICING. We can discuss the pricing in another blog post. Let us focus on the features, how to get started, and more.
I recently noticed that animations in Safari were stuttering pretty badly on my M1 powered 2020 MacBook Air, and dove in to figure out why.
The why:
This wasn’t a bug. This was a feature.
By default, macOS Monterey enables “Low power mode” on Battery power and disables it when using a Power Adapter. Safari, it seems, is programmed to interpret this setting to mean that it should reduce the number of times it paints to the screen to prolong battery life.
On my MacBook Air, that means from 60fps to 30fps.
DevOps is a complex subject that is hard to understand initially. If you are just finding out about what DevOps is, you are probably searching for information on the topic. DevOps is a type of software commonly used online. Huge corporations and businesses rely on DevOps services to run their applications. Podcasts are an efficient way to learn about anything during your day, no matter where you are. If you are wishing to build some expertise on what DevOps is, here are the six best DevOps podcasts to get you started.
This DevOps podcast is hosted by a software engineer. They post almost every day, and provide listeners with the most current DevOps trends. He talks about everything, from ways to become better at DevOps technology to all of the companies that are handling this complicated software in a powerful way. He’s done episodes on Google, different software types, engineering teams, and more. Occasionally, he will do a podcast with a fellow engineer or software expert. Software Engineering Daily is a great option for those who want an abundance of DevOps content.
From its humble origins as a role inside Google, site reliability engineering has become a type of position or team that a wide variety of companies now embrace.
But that doesn’t mean that every company under the sun needs SREs. In this article, we unpack how to determine whether SREs should be a part of a given organization. In so doing, we aim to help both employers who are trying to figure out whether they should invest in SREs, and SREs wondering which types of companies are looking for the skills they stand to offer.
Web Real-Time Communication (WebRTC) has fast become the de facto framework used for building applications to facilitate audio and video communication over the web. WebRTC connects users through their browsers or on their mobile devices. In this post, we’ll get you up to speed on why WebRTC is so widely adopted for development today. Along the way, we’ll use Infobip’s set of SDKs to get quickly get started.
Let’s begin by diving a bit deeper into the details and history of WebRTC.
Placer.ai, an analytics company that provides data on consumer foot traffic, has announced the release of an API that will provide developers with access to location and consumer data that can be used to build retail analytics services.
I’d like to tell you something not to do to make your website better. Don’t add anythird-party scriptsto your site.
That may sound extreme, but at one time it would’ve been common sense. On today’s modern web it sounds like advice from a tinfoil-hat-wearing conspiracy nut. But just because I’m paranoid doesn’t mean they’re not out to get your user’s data.
All I’m asking is that we treat third-party scripts like third-party cookies. They were a mistake.
Browsers are now beginning to block third-party cookies. Chrome is dragging its heels because the same company that makes the browser also runs an advertising business. But even they can’t resist the tide. Third-party cookies are used almost exclusively for tracking. That was never the plan.
In the beginning, there was no state on the web. A client requested a resource from a server. The server responded. Then they both promptly forgot about it. That made it hard to build shopping carts or log-ins. That’s why we got cookies.
In hindsight, cookies should’ve been limited to a same-origin policy from day one. That would’ve solved the problems of authentication and commerce without opening up a huge security hole that has been exploited to track people as they moved from one website to another. The web went from having no state to having too much.
Now that vulnerability is finally being closed. But only for cookies. I would love it if third-party JavaScript got the same treatment.
When you add any third-party file to your website—an image, a stylesheet, a font—it’s a potential vector for tracking. But third-party JavaScript files go one further. They can execute arbitrary code.
Just take a minute to consider the implications of that: any third-party script on your site is allowing someone else to execute code on your web pages. That’s astonishingly unsafe.
It gets better. One of the pieces of code that this invited intruder can execute is the ability to pull in other third-party scripts.
You might think there’s no harm in adding that one little analytics script. Or that one little Google Tag Manager snippet. It’s such a small piece of code, after all. But in doing that, you’ve handed over your keys to a stranger. And now they’re welcoming in all their shady acquaintances.
Request Map Generator is a great tool for visualizing the resources being loaded on any web page. Try pasting in the URL of an interesting article from a news outlet or magazine that someone sent you recently. Then marvel at the sheer size and number of third-party scripts that sneak in via one tiny script element on the original page.
That’s why I recommend that the one thing people can do to make their website better is to not add third-party scripts.
Easier said than done, right? Especially if you’re working on a site that currently relies on third-party tracking for its business model. But that exploitative business model won’t change unless people like us are willing to engage in a campaign of passive resistance.
I know, I know. If you refuse to add that third-party script, your boss will probably say, “Fine, I’ll get someone else to do it. Also, you’re fired.”
This tactic will only work if everyone agrees to do what’s right. We need to have one another’s backs. We need to support one another. The way people support one another in the workplace is through a union.
So I think I’d like to change my answer to the question that’s been posed.
The one thing people can do to make their website better is to unionize.
I saw Bartosz Ciechanowski’s “Curves and Surfaces” going around the other day and was like, oh hey, this is the same fella that did that other amazingly interactive blog post on the Internal Combustion Engine the other day. I feel like I pretty much get how engines work now because of that blog post. Then I thought I should see what other blog posts Bartosz has and, lo and behold, there are a dozen or so — and they are all super good. Like one on gears, color spaces, Earth and Sun, and mesh transforms.
If I was a person who hired people to design interactive science museums, I’d totally try to hire Bartosz to design one. I’m glad, though, that the web is the output of choice so far as the reach of the web is untouchable.
I wonder what the significance of the Patreon membership level numbers are? 3, 7, 19, 37, 71. Just random prime numbers? I threw in a few bucks. I’d increase my pledge if some of the bucks could go toward an improved accessibility situation. I think the sliders are largely unfocusable <div> situations so I imagine something better could be done there.
Edible printing has been gaining more and more popularity as people are looking to save time by making their delicious creations at home. With these edible printers currently available, you create edible prints and add some personal touch to your desserts with fun designs and motifs. The process involves creating preprinted images or text with edible...
Most people may be wondering what we mean when we say best thermal printer. Well, it’s a type of printer that uses heat to transfer images onto paper or other materials. It is also known as direct thermal printing because there are no moving parts like laser printers. The technology used is based on the...
Are you looking for WordPress typography plugins to improve your website design?
Your font choice plays an essential role in your web design. Improving your website typography makes your site easier to read and offers visitors a better experience.
In this article, we’ll show you some of the best WordPress typography plugins you can use with your WordPress site.
Why is Typography Important for Your WordPress Site?
Your website typography is a very important part of your overall design. Choosing beautiful and easy to read fonts will increase your website engagement and boost the time your users spend on your site.
Many of the best WordPress themes come with access to Google Fonts and allow you to tweak the typography to suit your needs.
There are built-in settings within the post and page editor that give you more control over your fonts and layouts.
However, there’s a lot more you can do with your typography, like add subtitles, use drop caps, include footnotes, let users resize fonts, and much more.
By choosing the right WordPress plugins, you can improve the typography on your WordPress website without writing any code.
Having said that, let’s take a look at some of the best WordPress typography plugins that you can try on your website.
Google Fonts for WordPress has a library of over 1,455 stylish fonts that you can use on your WordPress site. It comes with a live preview for each font to help you select the font for your headings and content.
The plugin has Adobe Fonts integration and also supports thousands of Google Fonts. You can also upload custom fonts and change font size, color, weight, and line height in the plugin settings.
wp-Typography is a free WordPress typography plugin. It gives you more control over special characters like hyphens, ellipses, trademark symbols, fractions, and more.
The plugin supports over 70 different languages and can help to provide an improved reading experience for your visitors.
Zeno Font Resizer gives your visitors the option to change the font size on your website with a couple of clicks. This can improve your user experience for those who prefer larger text.
The plugin makes it easy to add a font resize option to your WordPress sidebar. It also uses jQuery, so your visitors can adjust the font without the page reloading.
Page Title Splitter is a unique plugin that lets you split longer post titles into two lines. This lets you use longer and more descriptive post titles while making sure they’re still readable.
This works for all posts, pages, and custom post type titles. It gives you complete control over the layout of your title on desktop and mobile devices.
Secondary Title is a simple plugin that lets you add subtitles to your posts and pages. This is common with popular websites like Buzzfeed, Medium, Mashable, and more.
Adding secondary titles, or subtitles, lets you explain your title and gives you a better chance to hook your readers and encourage them to read your content.
Toolkit for Block Theme is a WordPress block editor plugin to customize your theme design and styles. It lets you change fonts, integrate Google Fonts, and use additional global styles to make a perfect website for your business.
It gives you the option to host Google Fonts locally, so you can import any font family and use it on your website. The plugin has several other options for WordPress block themes.
Editor Plus is an advanced WordPress customization plugin. It comes with typography controls and a panel to manage your font properties.
The plugin lets you change the font weight, font style, font size, letter spacing, line height, and color. You can also control the font display on different screen sizes and devices easily.
Text Hover is a plugin that lets you add a text hover box to your content and make your site more interactive.
This can be helpful when displaying phrases, definitions, explanations, acronyms, and more. It helps to give your readers more context when reading your articles.
Font Awesome lets you add icon fonts to your website. Icon fonts are simple pictograms you can use to improve your buttons, feature boxes, navigation menus, and more.
OMGF is a plugin that will optimize your Google Fonts. It lets you host your fonts locally to speed up loading times.
The plugin helps to minimize DNS requests, reduces layout shifts, and leverages browser caching to improve performance. It’s very beginner friendly and runs quietly in the background.
SeedProd is the best WordPress theme and website builder on the market. It comes with ready-made template kits that you can use to launch your website in just a few clicks.
You can even use the dynamic text feature to create animated headlines to attract your visitors. Plus, you get access to the entire Google Fonts library to use on your website.
Thrive Themes has a popular WordPress website builder and offers a powerful suite of tools to grow your online business. It’s a 1-stop solution for beginners to set up a business website and add growth tools all at once.
Thrive Builder lets you customize font styling, font size, and font color within the website builder settings. You can also integrate any custom font plugin with Thrive Themes to add more fonts to your WordPress site.
Thrive Builder lets you change the default source to import fonts, and you can add new fonts of your choice easily.
There’s a unique caching option that will optimize your Google Fonts with a single click. If you run a website speed test, this is one of the most common speed issues users report.