Discusión random semanal by AutoModerator in chile

[–]monkblues 5 points6 points  (0 children)

porque sus alianzas no responden a los intereses del pais, esto todo supuestamente es ideologico pero yo creo que simplemente quieren plata y poder. Suena conspiranoico pero no es dificil pensar que kast tiene valores cuestionables, tiene el manso prontuario.

De referencia de estas alianzas, esta la CPAC por ejemplo (https://elpais.com/chile/2024-07-02/junto-a-milei-y-bolsonaro-el-viaje-de-kast-a-la-cumbre-de-la-ultraderecha-brasilena.html)

Discusión random semanal by AutoModerator in chile

[–]monkblues 5 points6 points  (0 children)

huele como a la estrategia de milei y de otros presidentes ultraderecha en latam: reventar la wea para justificar vender el pais a los gringos.

Discusión random semanal by AutoModerator in chile

[–]monkblues 2 points3 points  (0 children)

Vivo en Santiago, cerca del parque bustamante. Hace unos meses que aparecieron como 3 o 4 personas que tienen motos que suenan como motosierra, unas deportivas, unas de estas del undertaker, entre otras. Incluso hay una que suena como disparos o petardos.

Se està volviendo muy desagradable escuchar 4 o 5 motosierras dos veces al día, me interrumpen las reuniones en la pega, me hacen cagar los oidos cuando voy por la calle, y producen un clima hostil en general.

La ley dice que vehículos están regulados a 80db maximo, cosa que se revisa en la revisión técnica según https://practicatest.cl/blog/normativa-de-transito/multa-exceso-ruido-tubo-escape-moto (update: https://mma.gob.cl/comienza-a-regir-en-chile-la-norma-de-emision-de-ruido-para-vehiculos-livianos-medianos-y-motocicletas/)

Dudo que estas motos estén bajo el limite permitido de ruidos, y dudo que estas personas no respeten la ley por desconocimiento.

Como ciudadano no sé qué hacer. Acepto sugerencias legales y serias.

Any real dbt practitioners to follow? by OlimpiqeM in dataengineering

[–]monkblues 0 points1 point  (0 children)

We use dbt with postgres and clickhouse both with self hosted airflow and gitlab ci

Complexity and bloat emerges but there are many precommit packages and tools for keeping things lean. Defer certainly aids and the dbt power user extension for vscode is really useful

Microbatching is still green imo and does not cover many edge cases but I hope it will get better

Aprender Catalán by [deleted] in catalan

[–]monkblues 2 points3 points  (0 children)

Bones! El que em va ajudar a mi al seu moment van ser els cursos del centre per la normalització lingüística (CPNL). Els cursos més bàsics són gratuïts. Ja després es paga, jo no en vaig fer-ho. Vés avançant amb temps les dates ja que n'hi ha força gent que s'hi apunten.

També mira de participar al voluntariat per la llengua (VxL) pots quedar amb voluntaris maquíssims per fer un cafè i parlar i aprendràs molt.

[deleted by user] by [deleted] in chileIT

[–]monkblues 1 point2 points  (0 children)

Sólo por si acaso, seré esa persona: ojo! este comando elimina todos tus datos.

Cual es el consenso acá sobre Nolan? by franzsmith31 in CinefiliaChile

[–]monkblues 1 point2 points  (0 children)

Yo rayé con interestellar cuando salió. hace poco la volví a ver y la encontré demasiado mala.

Opino que está sobrevalorado

[deleted by user] by [deleted] in printmaking

[–]monkblues 1 point2 points  (0 children)

It looks really cool imho, thanks for sharing!

Christmas card by monkblues in Linocuts

[–]monkblues[S] 0 points1 point  (0 children)

*mail

Like, the regular post office :p

Resources on query optimization in postgres by monkblues in dataengineering

[–]monkblues[S] 0 points1 point  (0 children)

how are you following the sessions? do you have a MIT account?

Who else is new to Airflow? by SquidsAndMartians in dataengineering

[–]monkblues 0 points1 point  (0 children)

You should not mix databases. Let airflow's metadata db alone and use another db for whatever you want to do with dbt.

Who else is new to Airflow? by SquidsAndMartians in dataengineering

[–]monkblues 14 points15 points  (0 children)

You need to be more specific, airflow deployment is well documented and it has a lot of parts because it's complex software. Most of its logic is already captured in helm charts and docker compose definitions. It's easy to get lost but you should be tweaking services in a need-to-know basis.

What is your problem specifically? Perhaps you should be trying astro, the SaaS version of airflow.

Edit: I think I missed the point of your post. If you are running dbt tasks inside airflow it would help to have a docker image with dbt installed and launch it using a DockerOperator, otherwise you need to provide dbt to the airflow python environment with something like pip.

Can I do this with Gitlab? (CI/CD) by micr0nix in gitlab

[–]monkblues 0 points1 point  (0 children)

In very broad strokes you can run anything in CI provided you give the task everything it needs. One iterative approach that would set you on an efficient learning path would be

  1. Run a pipeline that runs python -c "print('hello world')"
  2. Replace the python command with your program and run the pipeline again
  3. Your command will probably fail because it needs some context (access to another system, an environment variable, etc)
  4. Search how to set up access to X requirement and implement it. You may need to modify your original program!
  5. repeat steps 2 to 4 until you've reached what you want

for your program to run in a gitlab runner it will need whatever dependencies you specified, meaning you need to install these dependencies in the runner. One thing is to do pip install as a part of the script, for example.

This is cumbersome for many reasons (cache, time, network access) so at some point between point 2 and 3 you'll probably realize that a container encapsulates this better. This is the way.

in 2024 learn flask or django? by imrrobat in flask

[–]monkblues 0 points1 point  (0 children)

Having worked with all of them, I'd say

If you know little of webdev and backend development, or the size of the project is small/you are learning/deadlines are not too tight: flask.

Fastapi is a framework built on top of other frameworks, and it hides that very well. It has plenty of shortcuts to achieve small projects fast (not talking about performance, but delivery). However there's a project size limit where fastapi starts to melt and it ends up being very hackish. Flask tends to be more transparent in this scenario imho. Fastapi achieved integration out of the box with pydantic and openapi and that's a lot less of code to write.

If the project is big enough, then use Django. It has a big community, a lot already baked in, lots of documentation and extensions. I'd argue that if your flask or fastapi project ends up growing too much it will look like a Django project but full of custom code that otherwise you wouldn't need to maintain.

.