Updating Files With the Githup Api - Python

One of the features we have at Globality is to update build/setting files on all of our projects using the Github API. We use that when we generate a new build configuration or a new test configuration. Our build configuration consists of multiple file and directories. Usually in the convention of build.{{ project_name }} and docker/shell files under it + some files in the root of the project like entrypoint.sh and others....

December 13, 2018 · 3 min · Avi Zurel

Bike Commuting in the Bay Area and beyond - Tips/Tricks and More

Bike commuting is great for many reasons, you stay healthy and fit, you get to enjoy time outside and you don’t waste your life away inside a car in traffic. I’ve been commuting with a bike in the Bay Area for three years now (all weather) and I collected a bunch of tips/tricks and beyond that might help you with your journey towards it. First, I would like to say, biking to work ***is possible, and it is a viable option....

November 13, 2018 · 7 min · Avi Zurel

Installing Python 3.7 on OSX

Getting python 3.7 installed on OSX might seem simple, but a quick Google search will show you that it’s anything but. If you don’t follow the steps, you will encounter multiple issues with the way the system is wired. I thought I am going to write a short tutorial type post on how to get it done. First, we will install pyenv brew install pyenv Once we have pyenv install, we can try to install python 3....

October 17, 2018 · 2 min · Avi Zurel

Generating CI Configurations at Scale

Intro You often hear about scale issues when discussing capacity, traffic, users and other resource related topics and issues. However, scale is often in the details, the processes and how things run at specific companies. At Globality, we have ~80 microservices running in production. We have FE, BE and Gateway applications. JS, Python and third party apps. Most applications also require internal libraries to run. All of this needs to be built, tested and deployed....

August 22, 2018 · 10 min · Avi Zurel

Insert a Line for Every File in a Directory

I recently imported this entire blog from Wordpress to Hugo. The move itself was smooth and there are a million blog posts out there explaining exactly how to do it. However, I wanted to do something different, I wanted to add a “warning” for every imported post saying that it might be broken and that you should be aware of that. I wanted to add imported: true to every file parameters....

August 15, 2018 · 2 min · Avi Zurel

Creating self starting worker machines for fun and profit – Avi Tzurel

I wrote a blog post in my other personal blog about how to create a machine that will manage it’s own lifecycle. I work a lot with background workers, and I constantly need a better way to manage my Resque worker machines, so I wrote a post about how I did it. I booted up over 50 servers with about 600 Resque workers using this method, and all with a click of a button in the UI....

August 8, 2012 · 1 min · admin

Lessons Learned: The First Six Months of Running a Software Consultancy

If you are running a consultancy business, or even thinking about it, this post is a must read for you. The comments are sometimes even more interesting then the post itself, some very interesting discussions were ignited by this post. Lessons Learned: The First Six Months of Running a Software Consultancy.

July 11, 2012 · 1 min · admin

RSpec speed-up (24.6%) by tweaking ruby garbage collection – Ariejan.net

We have been tweaking the GC for the Gogobot website, the affects it has are simply mind blowing. Since I am clearly not happy with the test suite time that we currently have, This seems like a nice solution and I am definitely gonna try it. RSpec speed-up (24.6%) by tweaking ruby garbage collection – Ariejan.net.

July 11, 2012 · 1 min · admin

Where are my engines?

Right now, I am working on an engine for the Gogobot application. As part of my work on the engine, I am working with the Mongoid gem and the Fabrication gem, both great gems b.t.w. The problem with Fabrication is that it wasn’t really adapted to working with Engines and it was relying a lot on Rails.root for where to locate the fabricator files. Since in an engine, the application is located in spec/dummy I needed a better way locate the fabricators....

July 5, 2012 · 1 min · admin

perform_later 1.3 has been released

Earlier today, I release version 1.3 of perform_later. The release includes: Support for a custom finder class from the args_to_resque method (more details in the README Bug fixes for the args that are being passed around Enjoy!

May 28, 2012 · 1 min · admin