Craig Maloney ☕ ✅ is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Two problems with tootstream: 1) Visiblity prompt is inconvenient 2) No character counter

@charlag Hello. :)

The visibility prompt needs a little work to make it more convenient. Unfortunately it's the difference between making something that prompts vs having a bunch of flags (and the flags can be a real bear). If you have ideas on how to re-work that flow we'd love to hear it.

And yes, character counts would be awesome, but I'm not sure how to do that outside of using curses (which I'd like to avoid). Again, ideas are most welcome.

Thanks for using

@craigmaloney sorry for not using hashtag, it wasn't a call to improve something, just my bragging, don't take it too close, I'm a client developer too and I know that it's hard to not react.
About visibility: I think it could be something like
toot -vpub "BlahBlah"
But otherwise
toot BlahBlah
As usual

About char count... the only thing I see is manipulating the terminal manually and that's a hell afaik.

@charlag No worries. :) Please feel free to create issues in the github repo and we can discuss there. Or I can add them as well but you won't get notified on progress. Thanks!

@craigmaloney I guess the first step is to try a not-super-outdated version. I rarely feel like opening an issue unless I'm absolutely sure it's a bug or a UX bug and I have a better solution. This wasn't the case now, of course

Craig Maloney ☕ ✅ @craigmaloney

@charlag That's quite alright. I know not everyone is up-to-date on things.

But the -v prompt definitely could use some work and I don't want to lose that issue at all. And if readline somehow handles character counts without messing the terminal up then I'd love to try that. Otherwise I'm opening vim. ;)

· Web · 0 · 0

@craigmaloney I've installed tootstream without virtualenv before but now it doesn't work

pip3 install tootstream

creating /usr/local/lib/python3.6
error: could not create '/usr/local/lib/python3.6': Permission denied

@charlag That's strange. Wonder why it's trying to install python 3.6.

You'll want to do a pip install of the latest version:

pip install github.com/magicalraccoon/toot

That should do the installation.

Again, not sure why pip is trying to install python3.6 but that shouldn't be the result of Tootstream.

@charlag That's the first I've ever seen pip try to overwrite Python like that. Strange. Usually it complains when it can't install under dist-packages if it can't install.

Is pip an alias for something else? eg: what does `which pip` show?

@craigmaloney yeah, for me too, seems fishy and makes me worried, may it me some MITM?

# which pip3
/usr/bin/pip3

@charlag try doing a pip3 install --user github.com/magicalraccoon/toot and see if that works. That should install under .local

@craigmaloney heck, yes, it's worked. Thanks and sorry! I am so dumb. I don't really work with Python usually and I make stupid mistakes.

@charlag No worries. We all start somewhere with Python.

You might want to play around with Virtual Environments at some point. They're really neat in how they work.

I did a (sort of) introduction to Virtual Environments for our local user group:

youtube.com/watch?v=3EbILh0Q71

Glad this got sorted!

@craigmaloney well I'm pretty familiar with the concept (I am ex iOS dev and they work with Ruby from time to time so I used a lot of rbenv/rvm things)
I don't feel like Python is my thing tbh and maybe dynamic languages in general. I love rigid super smart compilers and super fancy types.