Select Page

Author: admin

Canny Edge Detector Using Python

Edge detection is an essential image analysis technique when someone is interested in recognizing objects by their outlines, and is also considered an essential step in recovering information from images.  For instance, important features like lines and curves can be extracted using edge detection, which are then normally used by higher-level computer vision or image processing algorithms. A good edge detection algorithm would highlight the locations of major edges in an image, while at the same time ignoring any false edges caused by noise.  But what are edges anyway? Edges are image features that can be used in estimating...

Read More

Three Ways to Make Your Swift Code More Readable

The importance of code readability is often underestimated, especially when programming in an environment which emphasizes user interface and user experience. While it’s true that it is extremely important to make a great app, it’s equally important to be able to change it in the future. With unreadable code, it can be much harder to solve bugs, with countless hours of trying to find the correct lines of code and to understand how it works. Any fool can write code that a computer can understand. Good programmers write code that humans can understand. — Martin Fowler With that in mind,...

Read More

Building Games With Python 3 and Pygame: Part 1

Overview A lot of developers get into software development because they want to build games. Not everybody can be a professional game developer, but everybody can build their own games for fun and maybe profit. In this five-part series, I’ll show you how to create 2D single-player games using Python 3 and the excellent Pygame framework.  We will build a version of the classic Breakout game. When all is said and done, you’ll have a clear understanding of what it takes to create your own game, you’ll be familiar with Pygame’s capabilities, and you’ll have a sample game.  Here...

Read More

8 Best WordPress Booking and Reservation Plugins

In the digital age, users are online 24/7. Everyone prefers to check availability and make appointments, reservations, or bookings online. They want to do this any time of night and day. This means when your doors close for the day, your business should still be available online. If not, you’re losing business!  Your website should make it easy for guests to view, reserve, and book available appointments. This is where WordPress booking and reservation plugins can help you meet your online business goals. They help you streamline your online appointments and bookings. Their solutions include basic booking, online calendar...

Read More

New flexbox guides on MDN

MDN released a comprehensive guide to Flexbox with new and updated materials by Rachel Andrew. The guide includes 11 posts demonstrating layouts, use cases and everything you could possibly want or need to know on the topic. All of the related Flexbox properties are nicely and conveniently attached to the table of contents, making this extremely easy to use. In this post, Rachel adds helpful thoughts and context about Flexbox. Her comment on Flexbox initially being treated as a silver bullet solution for all our layout issues struck me: Prior to Grid shipping, Flexbox was seen as the spec to solve all of our layout problems, yet a lot of the difficulty in using Flexbox is when we try to use it to create the kind of two-dimensional layouts that Grid is designed for. Once again, we find ourselves fighting to persuade a layout method to do things it wasn’t designed to do. Guilty as charged. I remember being so eager to ditch floats and learn a new syntax that I treated Flexbox as a square peg trying to be fit into a round hole. That definitely bit me on at least one project. Most importantly about this guide is that it forms a sort of trifecta of reference materials on layout specifications provided by CSS: Flexbox, Grid and other Box Alignment properties. Oh, and while we’re on the...

Read More