-
Posts
985 -
Joined
-
Last visited
-
Days Won
21
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by nikivi
-
-
> appropriate place to describe my personal preferred method of building workflows
True. But as a reference to an external place like a wiki entry maybe super beneficial. I plan to do it once I figure this issue out.
Don't take any of it as criticism. I just think more generally a screencast of someone developing a Go workflow with AwGo with 'proper' dev enviroment for fast feedback (modd or watchexec thing) will go along way.
-
-
1 minute ago, deanishe said:
You're asking me for docs on how to open a file in your editor?
I need the location of the file to open it. Maybe it's obvious 🤔
-
~/src/extensions/alfred/alfred-my-mind master*
❯ source .env
Print: Entry, ":bundleid", Does Not Exist
Print: Entry, ":version", Does Not Exist
Print: Entry, ":name", Does Not Exist
Print: Entry, ":variables:USER_ID", Does Not Exist -
I just want to have a smooth dev experience of workflows that is just like developing normal go programs.
trying out the .env thing now -
I still have the operating systems book open. Will read and come back. I never dealt much with sourcing things to really get what it meant.
-
8 minutes ago, deanishe said:
I use zsh-autoenv, so that’s how I normally source the env file.
Interesting. Curious how it compares to https://github.com/direnv/direnv
-
5 minutes ago, deanishe said:
Then open the log file in your editor instead.
Is there a doc somewhere on how to do it? I remember I had to open Console and find Alfred or something but not sure.
-
3 minutes ago, deanishe said:
the weird things
The need for the .env file. I kind of get it but it's not mentioned anywhere in awgo readme. And I do wonder what is your preferred way of developing and looking at debugger logs.
-
Ok found https://github.com/deanishe/alfred-booksearch/blob/master/.env
But carrying that `.env` around across all repos. Maybe I misunderstand the contents but I wonder if it can be replicated as part of `wf.DebugMode()` call to source this env.
-
Usually I might be okay with bearing through with it and squinting. But I was trying to develop a workflow with my girlfriend who is new to both Alfred and Go so we had to do a lot of copy pastes into editor just to see what Alfred debugger said. 😞
-
1 hour ago, chris said:
writing Workflows in GO
I want to do more screencasting and learning materials around awgo as it's super cool library.
@deanisheIs there a doc I can see on how I can make developing workflows with AwGo nicer. I can't run the binary straight away so have to do it through debugger but that has font size that makes it impossible to read. 😞
Would be nice if there was some awgo function I can call debug() and it would figure out the weird things for me as I run it inside Alfred workflow. ❤️
-
Can't post screenshot from full screen of 16* macbook as forum software doesn't allow. But it's impossible to read. 😞
-
-
I do both, small workflows in one mono repo (https://github.com/nikitavoloboev/small-workflows) updated with OneUpdater. Workflows with more code are updated with deanishe library https://github.com/deanishe/awgo which is the go version of his python library (and shared either in small workflows or as a separate repo).
I like this structure as there is too much friction I feel in sharing a small workflow by creating a new github repo every time.
One other thing that's useful to know is how to symlink workflows.
-
I remember when I tried to brute force a solution, Alfred preferences started lagging like crazy. And mine wasn't even as big as yours. Curious how yours runs.
Had to rewrite it to use code and not alfred objects to solve it later.
-
7 hours ago, deanishe said:
important to me that my todo app is scriptable
I actually started to help Fahad (2Do dev) out with adding a backend to 2Do. Written in Django. I hope 2Do gets some scriptability in soon time but I find 2Do so fast and nice to use (due to it onscreen keys like `n` for new tasks, `t` for due date today, `y` for tomorrow etc). That adding/moving tasks is very fast already.
One thing I do want to write though is a proper GitHub client because https://www.realartists.com/blog/ship-20.html was amazing but it died. The code for it is on GitHub but it requires a big backend component in C# that I don't want to touch. Most of my tasks are either GitHub issues or personal todos so it would cover everything. GitHub projects are underutilized as task managers even for teams that don't deal with code. Just lacks a nice fast client.
7 hours ago, deanishe said:Do you know Vikunja?
Looks nice and I love that is has API. Although one thing is I personally hate using web interface for anything productive (note taking, todos).
7 hours ago, deanishe said:virtual magic sword are somehow more motivating
For me I think the social network aspect of Habitica kind of interesting. I think it might be nice to challenge yourself and your SO for example of who gets a better sword. 🙃
--
Apologize for drift away from your question, Chris. I'm just too curious about what tools people are using and what they like/hate about them.
-
Very curious why you moved to Habitica as I know you used 2Do (which imo is amazing)
-
21 minutes ago, IOIO said:
As a newbie, I'm not feeling very welcome here
It's super nice and helpful community. Just norization is probably a heated topic as I don't know a single person except maybe Apple that likes this change.
-
I have tried restarting Alfred and issue still occurs. I remember having a similar issue once that was present for all my workflow invocations where a restart did help fix it. But this issue hasn't appeared for me in a long time (over a year).
-
I am using this workflow https://github.com/deanishe/alfred-booksearch with version 0.2.0 and an action in the workflow doesn't work due to Alfred bugging out. The issue is outlined here https://github.com/deanishe/alfred-booksearch/issues/2. I thought it was a bug with workflow but it seems to be some issue with Alfred and my macOS but I don't know what. And not sure how to get logs for the kind of error that causes this.
I attached a video recording of it to the issue. You see a small flicker after I activate one of the options that should transfer to next Alfred script filter. It flickers and than quits.
I am running macOS version: 10.15.6 and Alfred version: 4.1.1 -
For clearing logs I use KM macro
-
In here:
You can currently show these options:
But there is no option to show `Description` which to me would be nice to see at a glance. Thank you.
-
I am curious whether there are things that Spotlight may do better than Alfred for example. Perhaps by interfacing some results better.
I am kind of all in on Alfred and it's great but I feel like if there were improvements made to Spotlight (if any), I wouldn't even know of them. 🤔
Advice on structuring my Github repos?
in Discussion & Help
Posted · Edited by nikivi
I plan to release such a video once I figure out how to not look at Alfred debugger.
And funny thing is I now there is a way to do it as I did it before, just don't remember how.. Since then I document everything.