Having fun with geometry data in MariaDB and ElasticSearch

At Qandidate.com we get an insane amount of job applications each day. Because we’re an awesome company to work for? Well I hope so, but that’s not the reason why. It’s because we make a free ATS or Applicant Tracking System. Companies worldwide manage their vacancies and candidates with our […]

Having fun with geometry data in MariaDB and ElasticSearch

At Qandidate.com we get an insane amount of job applications each day. Because we’re an awesome company to work for? Well I hope so, but that’s not the reason why. It’s because we make a free ATS or Applicant Tracking System. Companies worldwide manage their vacancies and candidates with our […]

The ST_Distance() function

Syntax ST_Distance(g1 ST_Geometry, g2 ST_Geometry) ST_Distance(g1 ST_Geometry, g2 ST_Geometry, linear_uom varchar(128)) The linear_uom parameter converts the result to the specified unit of measure. To calculate the distance if the geometries are in a geographic coordinate system where the coordinates are in an angular unit of measure, you must specify a […]

Настройка XDebug с docker container

Для меня целью было настроить первый пример связки XDebug и docker container, котрый бы работал и я мог понять что и как работает. Поиграть так сказать с настройками по пути чтения документации. В поиске я искал наиболее простой пример, для простоты понимания. В этой статье я нашел то что мне […]

Laravel + Docker: наш успешный опыт использования

В статье пойдет речь о нашем опыте использования Docker для быстрой настройки масштабируемого dev окружения для web разработки. Я коротко расскажу о задачах, которые стояли перед нами и об инструментах, которые были выбраны для решения этих задач. Статья отмечена значком tutorial, потому что вы найдете в ней инструкцию по разворачиваю […]

CI для фронтенда: Gitlab, Traefik, Docker

В каждом уважающем себя проекте должны участвовать QA инженеры. Ежедневно перед ними будет стоять задача проверки выполнения задач в отдельных ветках. Очень часто процесс перехода на нужную ветку, сборки и тестирования занимает много времени, к тому же, локально не всегда возможно полностью воссоздать максимально идентичное боевому окружение.Цель данной статьи — […]

A different view on Dependency Injection in Laravel

Basically, instead of having your objects creating a dependency or asking a factory object to make one for them, you pass the needed dependencies into the object externally, and you make it somebody else’s problem. You make it somebody’s else’s problem to inject the dependencies of your class. In the […]

Calculating distance using MySQL

On a client project recently, we had to make it easy to filter database query results based on the distance between a user and an entity in our database. It’s easy to get overwhelmed in that context, worrying about the crazy amount of PHP calculations you’re going to have to […]

Поиск по географическим данным при помощи PostGIS

PostGIS — это географическая информационная система, или ГИС (geographic information system, GIS), реализованная в виде расширения к PostgreSQL. ГИС позволяет хранить пространственные или географические данные, такие, как точки, ломаные линии и полигоны, производить по ним эффективный поиск, а также выполнять с ними другие операции. В общем, можно написать убийцу Google […]