Tech (15 posts)

Tech

Copying an InfluxDB measurement into a new measurement

[READMORE] You can split a single InfluxDB measurement into smaller measurements for performance tuning or for application aspects you may not have planned while initially storing data.

In the influx shell, run the following statement:

SELECT * INTO <destination_measurement> FROM
Read more »
Tech

Docker: Failed to establish a new connection: [Errno 113] No route to host

Experienced a strange issue today while rebuilding one of my Python containers which was failing on pip install.

The problem is strange because internet works fine on my host system (that also uses Google's 8.8.8.8). Seems to be a

Read more »
Tech

Google sucks at UX flows

This [1] is the UI for managing Google's service in G Suite. I totally missed the fact that this page was paginated. The list has loads of whitespace at the bottom, which on my large screen monitor is quite considerable.

This is

Read more »
Tech

Lessons From Using Amazon MQ

I'm not sure what rationale Amazon Web Services employs to name its offerings — AWS DeepLens, AWS DeepLens/AppSync vs. Amazon MQ/Lex, etc. — but Amazon MQ still appears under the AWS namespace in the SDK. FWIW, it's basically Active MQ

Read more »
Tech

Docker vs. Disk Space

After constantly battling with my system over free space at a crucial time when deadlines had to be met, I finally decided to spend time figuring out what the heck was going on. docker-compose up was failing with errors like INTERNAL ERROR:

Read more »
Tech

Containerization vs. FaaS

Containerization is a major leap from using fat VMs to run isolated environments for your app. But I'm not entirely sold on "Dockerize all the things".

I <3 the workflow of coding, testing, and deploying Docker containers to AWS ElasticBeanstalk. If

Read more »
Tech

Fetching millions of rows in Python w/ psycopg2

I ran into an issue with psycopg2 getting "stuck" on querying a large result set. cursor.execute("...") would run fine and so would cursor.fetchone(), but cursor.fetchmany(BATCH_SIZE) with a moderate value of BATCH_SIZE=100 would get stuck _.

It

Read more »
Tech

Couldn't connect to Docker daemon / ERROR: Error processing tar file(exit status 1): unexpected EOF

When running docker-compose build, if you encounter the error — ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running? or ERROR: Error processing tar file(exit status 1): unexpected EOF — ensure the following:

  • Current user can
Read more »
Tech

Project Management with GitLab

After giving Trello a second try, I can earnestly say it doesn't work for us. Kanban boards are a good way to schedule short-term tasks. But you wind up needing to supplement it with other tools to manage, among other things, the

Read more »
Tech

Cross Platform App Dev with Go

Most apps are either thin-clients for server APIs (Whatsapp) or fat, stateful, rich clients (Games) that sync state with the server. You can probably break any app down into the following sections:

  1. Network Layer — server API calls over HTTP, TCP, UDP
Read more »