Preferences

radus
Joined 845 karma

  1. I'm working on adding features to the snakemake aws batch executor plugin. The existing plugin supports execution on AWS Batch by dynamically creating job definitions based on rule resource configuration, but was missing support for features like using different containers for different rules, consumable resources, secrets, etc. Two approaches:

    1) https://github.com/radusuciu/snakemake-executor-plugin-aws-b... (my fork). Just add the features to the batch job building code 2) https://github.com/radusuciu/snakemake-executor-plugin-aws-b.... This is more experimental and not yet fully working. I wanted to try a few things. a) can we rely on existing job definitions (managed through IaC instead). b) can we implement a fire-and-forget model where the main snakemake process runs on Batch as well? c) Can we slim down the snakemake container by stripping off unnecessary features.

  2. Polars has a much more consistent API, give it a shot.

    Regarding your plotting question: use seaborn when you can, but you’ll still need to know matplotlib.

  3. > But are you really going to repair it?

    Yes

  4. Polars and duckdb interoperate nicely and can enable this flexibility
  5. I like using EFK (ElasticSearch-Fluent-Kibana) for this
  6. I guess then you've got to abstract one level further and formulate your advice as an allegory.
  7. Example: you want to set your local docker context to the production environment, so that when you type `docker system prune --volumes` you delete your production data.
  8. The answer is “it depends”
  9. Quick critique: module contains functions with many parameters, many branches, deep nesting, and multiple return points.
  10. docker swarm is also a decent solution if you do need to distribute some workloads, while still using a docker compose file with a few extra tweaks. I use this to distribute compute intensive jobs across a few servers and it pretty much just works at this scale. The sharp edges I've come across are related to differences between the compose file versions supported by compose and swarm. Swarm continues to use Compose file version 3 which was used by Compose V1 [1].

    1: https://docs.docker.com/engine/swarm/stack-deploy/

  11. They were defending rocks. They had not uncovered evidence of native martian life.

    See more discussion here: https://scifi.stackexchange.com/questions/160959/is-or-was-t...

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal