whatapalaver - faff of a techy nature
Latest Articles
Bootstrap have released version 5 which I would like to use in a Rails 6 project as it no longer requires JQuery. There aren’t many guides to installing Bootstrap 5 in a Rails 6 project and the one I followed...
rails
I tend to run my docker containers in the foreground, which happens by default when you run docker-compose up. I am then rewarded with a steady stream of output from all my containers eg. elasticsearch, kibana, API etc. It can...
docker
Debugging is a developer’s super power, so I’m keeping it quiet that I didn’t know about the python equivalent of ruby’s byebug.
tips
python
In our search app we have the concept of narrow search and broad search where filtered terms would be ANDed or ORed respectively. In a broad search for objects with colour=blue,yellow we return objects that were either blue OR yellow....
elasticsearch
I have a list of objects and would like to transform it into a list of lists of objects. That sounds like the start of tongue twister so it may be easier to demonstrate visually:
python