100 karma · joined April 7, 2018
I wish GitLab/GitHub would provide a way to do this by default, though.
mise supports an experimental bootstrapping feature: it can download itself and install the tools required for the project.
See https://mise.jdx.dev/cli/generate/bootstrap.html and https://mise.jdx.dev/continuous-integration.html#bootstrappi...
[tools]
uv = 'latest'
[tasks.python_uv_task]
run = """
#!/usr/bin/env -S uv run --script
# /// script
# dependencies = ["requests<3", "rich"]
# ///
import requests
# your code here
"""It's better at managing tools than `asdf`, very close to `direnv` and superior to `make` as a task runner (more verbose but much easier to understand). One of the advantages is that `mise` tasks can be standalone files (you can even write file tasks in python if you prefer, see https://mise.jdx.dev/tasks/file-tasks.html)
IMO, mise tasks are much better than `just`. A few things that make mise superior:
— solid environment variables support
— can run tasks in parallel, has a watch task feature, support for skipping tasks,…
— mise supports file tasks (i.e., running shell scripts, as many comments are suggesting here - https://mise.jdx.dev/tasks/file-tasks.html)
— mise tasks are defined using `toml`, and not a custom syntax
docker run --add-host=host.docker.internal:host-gateway --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:5.1.2
docker run --rm=true --publish 3434:3434 --volume $PWD:/data/repos:ro sourcegraph/src-cli:latest serve-git /data/reposThe security model works well for this use case also. If your shell script is only supposed to read a few environment variables and not make network calls, you are covered.
[1] See this highly voted issue: https://youtrack.jetbrains.com/issue/IDEA-186988 (opened since more than 3 years already)
The caveat is that it does not work well if you are composing the SQL queries from multiple small parts.
see https://www.jetbrains.com/help/idea/running-injected-sql-sta...
I suppose that other editors or IDE can do similar things.
What's the process around adding new apps? Would one be able to integrate easily?
I built Quest https://github.com/hverlin/Quest during the lockdown to search content across several apps (Gmail, Jira, Confluence...) as I could not find one that would allow me to do this.
I believe that just reading without understanding the thought process only helps a little.
See this article for example: https://darekkay.com/blog/accessible-ui-frameworks/
Maybe it has improved now?
Once you start relying on it a bit too much, it can hurt really badly if you are not able to fix issues by yourself, or if they decide to change the price later on. The worse is when a company that you were paying a software for goes out of business. You just have to start again.
After watching that I would recommend https://github.com/getify/You-Dont-Know-JS and that should give one a solid base.
Some features like named parameters or null checking might probably never make it to Java.
There is a nice talk about this that compares Kotlin to what will be in Java 19:
Seems that using Google takeout is your best bet.
I guess that makes it easy to get started with pandas (and learn about the pandas api). I wonder how some advanced transforms such as join/union/pivot will look like?
One basic feature that is missing for e.g. is that one cannot open a file using the syntax filename:line:column in the source editor. You will need to navigate the line number manually after opening the file.
Exactly! Examples are usually the most useful thing in the documentation.
Based on my experience, people go first to the examples and then read the description.
I guess that's also why stackoverflow is working so well as it is basically a large library of examples.