(Background: I'm more of a MySQL guy, I've only been using postgis for a few months to solve this particular problem set.) I have a table that contains a point and a radius: id | location | radius 1469989 | 0101000020E6100000091B9E5E292651C0DCF4673F529E5140 | 100 1948448 | 0101000020E6100000BB0A293F299863C03B8908FF22D35140 | 10 I want to do a search that basically says "get me all points within (20 km + radius) from me".
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Daniel Orner
How to keep your new tool from gathering dust
When technology organizations run into problems, they often look to tech products to solve them. It makes sense: we build tech to solve problems, so naturally we look to someone else’s tech to solve our problems. But for any piece of tech to work as intended, you have to make sure everyone on the team agrees on using this technology to solve that problem.
Underscoring (or dunder-scoring) the importance of native type methods in Python
All data in Python resides in objects. And all Python objects have a type with associated attributes and methods. Many of the native data types come with their own methods to create and initialize new instances and work with various operators by default. Your custom classes aren’t so lucky. Fortunately, you can ensure that your classes and objects behave like these native data types using something known as dunder methods or magic methods.
Rewriting Bash scripts in Go using black box testing
Testing is an integral part of any application, and writing automated tests is critical to ensuring the safety of your code. But what do you do when you’re rewriting a program in an entirely different language? How do you ensure that your new and old program do the same thing? In this article I’m going to describe a journey we took to change a collection of Bash scripts into a well-organized Go library, and how we made sure that nothing broke along the way.
The complete beginners guide to dynamic programming
If you’ve been programming for long enough, you’ve probably heard the term dynamic programming. Often a key subject in technical interviews, the idea will also come up in design review meetings or regular interactions with fellow developers. This essay will examine what dynamic programming is and why you would use it. I’ll be illustrating this concept with specific code examples in Swift, but the concepts I introduce can be applied to your language of choice.
Why SOLID principles are still the foundation for modern software architecture
The SOLID principles are a time-tested rubric for creating quality software. But in a world of multi-paradigm programming and cloud computing, do they still stack up? I’m going to explore what SOLID stands for (literally and figuratively), explain why it still makes sense, and share some examples of how it can be adapted for modern computing. What is SOLID? SOLID is a set of principles distilled from the writings of Robert C. Martin in the early 2000s.
How developers can be their own operations department
code-for-a-living May 24, 2021 Many companies run parallel development and operations organizations. But what you just ran one team that did both? When Flipp, my employer, first started as a scrappy, small team, we had only a handful of systems. Every dev had the context they needed to work with those systems and the skills to do so (we were honestly lucky to have the right skillsets in the team). The same couple of people handled the software development, deployment, and troubleshooting.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Daniel
Contact Daniel, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack