Hacker News new | past | comments | ask | show | jobs | submit | TrickardRixx's comments login

And Apple would still demand 30% of it. Not sure how Spotify's fee structure has anything to do with Apple's fans' arguments that they're totally not behaving anticompetitively.


Does the task system use threading, multiprocessing, or something else? I.E. can I do IO heavy tasks with this framework?

I'd like to read the docs myself to find out, but it seems like they are not hosted on the website. I can see that I can install the package and run the docs command, but I'd really rather use the web browser I'm already in to explore a new (to me) project's docs.


The task system uses a thread pool as well as an ioloop. So tasks can be normal functions as well as `async def` functions/coroutines.

You can also pass in a custom executor and use processes instead of threads.

Thanks for the feedback wrt docs app.


Thank you for releasing this project. It looks great! I just need to find an excuse to try it out now.


The Union Type PEP[0] suggests that the "bitwise or" syntax is equivalent, but cleaner than typing.Union

[0]: https://docs.python.org/3/library/stdtypes.html#types-union


Thanks! I missed that.


Because all the organizations that pay me to write code host their code centrally on GitHub


> GitHub

But then it's GitHub you need to know, not git.[1] And doesn't that have a point-and-clicky Web interface, like any "Upload files here!" Web site?[2]

[1]: Seems you're being fooled, by organisations that also believe it, that git is GitHub and/or vice versa.)

[2]:Sorry, I've had an account there since about forever, but hardly ever (never?) used it.


This is a complete non-sequitur. Whether I use a point-and-click interface or a CLI has nothing to do with the fact that I have to use a git-based workflow and can't just copy files to the server as a deployment.


IMO the Grimoire GPT's success is proof that there is a market for something like this.


Thanks for saying this! Really appreciate it :)


Anecdata: I’ve several times clicked “regenerate” and then thumbed-up the new response when nudged.


Sounds to me like a configuration-driven interface with the password manager is the appropriate solution here, then. I used this pattern to write config files out of secrets stored in SSM, which previously was ad-hoc secret sharing. FWIW I would never use Sendenv.


That is one solution yes, if you already have a password manager which gives APIs to work with it's secrets. Or a separate product like Doppler which is specialized for this use case. My idea was to avoid a central store, and honestly I don't intend to compete with these massive companies with my weekend long project. If a few people find it useful, I'm happy with it. Thanks for your feedback!


I like to develop with VS Code and devcontainers. I've never been able to get that setup to work with podman as the backend. Has anyone successfully done this or perhaps know of a blog detailing how to accomplish this that I haven't been able to find?


Yes, I have docker as an alias to root podman and VS Code is able to build a devcontainer with it. Rootless also works but was a lot slower for me. There are a couple of minor incompatibilities I've noticed in other areas:

* Podman doesn't have a unix socket like /var/run/docker.sock but it can be set up with podman-system-service if needed.

* Some applications check if /.dockerenv exists. They shouldn't, but you can just touch a file there to work around it.


I think I did at one point. Podman is 1:1 compatible with the docker CLI. I _think_ VSCode had an option to specify the docker command, in which case you can simply `podman` into it. Alternatively, if that doesn't then you can always put this script in your path as `docker`:

    #!/bin/sh
    exec podman "$@"
Edit: if you're on Windows then the simplest approach would be to copy podman.exe to docker.exe.


Podman as a devcontainers engine doesn't currently work rootlessly (the default) if you use devcontainer features [1] or (and this sounds like you're issue) if you use WSL2.

I haven't submitted the WSL2 issue to the Podman team yet. If you get to it before I do, can you link it here?

I've worked around the features bug by just using `devbox generate devcontainer` then adding all my desired container apps and services inside a `devbox.json` file.

[1] https://github.com/containers/podman/issues/18691#issuecomme...


VS Code devcontainers have been working fine for me with rootless podman in Fedora for over a year now. The one adjustment I had to make was manually provide args to podman to mount the workspace volume:

  "runArgs": [
    "--userns=keep-id",
    "--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z"
  ],

I'm not sure if this is still necessary, or if it's necessary on all platforms.


I've been using VSCode with devcontainers and podman for a couple of months now and everything seems to work fine for me. Is there a particular issue you're hitting?


Honestly, it's been a long time; I should probably just try again. The last attempt I made was on windows before WSL2 existed. At the time I assumed the issue was with podman on HyperV/WSL.


If everything else fails, you can always run code-server inside a podman container.


On your list I'm not sure I understand what the "Editor Extension"/"Tool" distinction is. Both continue and rift are under "Tools", but they are VSCode extensions.


Are venvs not part of stock Python dependency management?


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: