Jump to content

godbout

Member
  • Content Count

    175
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by godbout

  1. guys i've been spending one and a half month working on that. now you're making me want to switch to Go or apply for a job at Apple to clean their shi*.
  2. hey no worries. yeah, it does actually make sense to put it at the end ๐Ÿ˜…๏ธ i didn't spend too much time with OneUpdater to be honest because i quickly felt i wanted to 1) show the user there's an update as a result item 2) still have some control over when i update 3) play with Swift ๐Ÿ˜› but yours is definitely the way to go if you don't want to be fiddling around and want something that works with any language.
  3. hmm true. but probably truer in Germany where when it starts raining it lasts for a week. on islands one minute it's pure fireball the next is deluge. (just trying to find points to fight about ๐ŸฅŠ๏ธ) LMAOยฒ yeah ok i didn't see the point because in my case i love typing. i would type 1000 times over moving my hand from the home row to press one of the arrow key (although Ctrl+p is acceptable). that's the great thing about being able to write Workflows. each of us can use their brains and creativity to build things that match their quirkiness
  4. library in Swift to ease the integration of updates from within Alfred. the API is basically four (3+1, or 2+2 if you prefer) methods: 1. check if an update is available (compares latest version on GitHub release VS the version of your local Workflow): if let release = Updater.checkUpdate(for: "godbout/AlfredKat") { // release.version, release.file, release.page available } 2. launch the update Updater.update(with: release.file) 3. notify (useful before launching at it is blocking) Updater.notify(title: "Alfred K
  5. yeah, absolutely. not denigrating it at all. pretty smart solution actually. it's just a matter of values i think. i want something for myself that doesn't break my flow, that doesn't do anything too unexpected. so ultimately it wasn't a good solution for me. i've built a library that helps the boring part of checking and fetching updates, but that you can integrate the way you want in your Workflows (menu Item, background download, etc...). kinda best of both worlds for me. man that is another level of documentation. but i don't see any *shit* or *fuck* anywhere. is that
  6. i haven't checked yours coz i don't get much python. OneUpdater i had a look a few weeks ago and actually added it in Kat 6.0.0 but removed it in 6.0.1, i didn't like that it was breaking my flow when i wanted to use the Workflow and just launched the update. but maybe i haven't checked thoroughly and missed something. but again at the end i built my own thing ๐Ÿ˜๏ธ now that you've mentioned further down downloading and caching the releases info that makes sense yeah. i hadn't think yet of caching the list of releases. good point, thanks. as usual i'm b
  7. yes that's what i have in mind. but it's still too early to make decisions. i need to digest. like automatic frequent check, what does that mean? every week? every two days? do i allow a power user to change this from Workflow Variable? what keyword? i like "u" like "kat u". "time u". but that might only make sense for Workflows that have a delay before calling the ScriptFilter? what about if it's instant? etc etc. i don't want to think too much in advance but i'd like to still see this as a Workflow functionality rather than just for the Kat Workflow. so, still need some thinking. and i wante
  8. version 6.1.0 available: https://github.com/godbout/AlfredKat/releases/tag/6.1.0 now Alfred Kat detects if there's an update available. if yes it appears as the first result item. you can download the update, or go to the release page. currently it's checking for an update each time you use the Workflow. it's still fast, but not ideal. pondering the best way to avoid the constant check but still having a good UX. like automatic check, but still ability to force-check without having to fiddle around the Workflow Environment Variables. in conclusion, don't download this update. thank
  9. ok so next time i need to write down how to release a Swift command line too with proper Developer ID AND embedded libraries coz i can't find how to release the next version ๐Ÿ˜‚๏ธ๐Ÿ˜ญ๏ธ
  10. just speeding again through here to send some love โค๏ธโค๏ธโค๏ธ (hope i will not be banned for it)
  11. way faster than checking through the network connections. great one. thanks.
  12. ๐Ÿ‘€๏ธ๐Ÿ‘€๏ธ๐Ÿ‘€๏ธ https://github.com/godbout/AlfredWorkflowUpdater ๐Ÿ‘€๏ธ๐Ÿ‘€๏ธ๐Ÿ‘€๏ธ
  13. isn't that term offensive? or is it Mongolian, i forgot.
  14. i didn't have any issue. but yeah, you better keep another clean Xcode. also, at every Xcode update, you need to resign. a bit annoying yes. and the plugin is not the best Vim port out there. but still, i think it's the best workflow i've found till now.
  15. i could put a stuff online later, but it's pretty barbaric. like there's a useless window that you're gonna have to hide, and the shortcut is set to cmd+escape and that's it. but there's quite a few moves working. yeah i tried `shortcat`, the idea is very nice. but when i tried it it kept crashing. i haven't been able to use it at all. i think i read later that it was because you can't use it on itself. might have been the issue, but haven't tried again. i use Vimac currently. different style, but still gets rid of the mouse: https://github.com/dexterleng/vimac
  16. actually it's pretty straightforward. there's two ways to do it. one is by using the Accessibility API and gather inputs' contents. that should allow for a more precise experience, but i haven't explored this yet. the way i did it is by creating a tap event. basically you insert a tap in the event stream and grab and redirect some of them (keyboard ones in my case). it was not hard to do, but (at the time at least) hard to test. haven't gone back to it yet. to enter the global command mode, it's just a keyboard shortcut. (personally i tried to use something related to escape, like a long press
  17. was wondering until where i could push my bad humor. i guess limit reached ๐Ÿ˜‚๏ธ๐Ÿ˜‚๏ธ๐Ÿ˜‚๏ธ yeah i remember that. well, as usual, take my understanding with a grain of salt, but previous every year they would release a new major version, that means they'd break APIs for sure. seems that for the last recent years they mainly add new features. 5.4 should bring some asynchronous shits. so i'd say yes, it should be more stable. (you can quote me next time they break your projects.) actually it is. for developers that are used to Vim motions and commands in their f
  18. sorry what does `googling` mean? i'd be surprised if Apple and the bunch of people working on Swift would let it suck though? so i'd foresee more and more improvements. but maybe it's just wishful thinking. i've joined the bandwagon at a better time than you also. seems you were in when everything would be still slow and break at every update. i joined at 5.3, so things seem already quite stable and i don't see (yet) any performance bottlenecks. for myself? in the long term it's just kindavim.app. want to get Vim binding for the whole macOS, and prov
  19. if i remember/understood correctly i think they're getting copied only when necessary. so it's supposed to be Ultra Performantโ„ข. but of course as usual i might be completely wrong. at first i was dafuq, i want some part of a string and i can't even use that shit as a string itself??? but you actually just need to init a String with the substring like String(yourSubtring). the idea is as long as you don't need the substring, it takes no space. it's just a reference to the lower and upper bounds. after the initial dafuq i was like, nice, pretty smart. (as you can see by now
  20. ok i'm depressed now. i'm gonna give up Swift and will start developing my Workflows with this library: https://github.com/deanishe/awgo
  21. makes sense. i do like this. it's just i think a matter of habit and of not knowing the language well enough yet. i like to have methods with only a few lines of code in them, but with Swift it's usually hard to do. might improve, or i might get used to it. do you think it's still the case with Swift 5? i thought `struct`s were there especially to handle performance issues. also there's stuff like `Substring`s that are a special type rather than `String`s themselves so that they get copied only when necessary. well it's always the same c
  22. i like the language. you know it's new. it's like they took good practices from software development and baked them in. like the guard statements for returning early/happy paths. i like the named parameters too. i like to write APIs like i talk, and that helps a lot. the only thing i've struggled with (but it's a compiled VS interpreted thing) is the lack of dynamic(?) flexibility. like in PHP i can do crazy stuff like calling dynamically properties or methods and it takes two lines of code. in Swift everything needs to be stated clearly. currently it makes me feel that the code is extra verbo
  23. thinking about it, that's probably due to the fact that you were not using this fantastic new Alfred Workflow ScriptFilter library ๐Ÿ™„๏ธ
  24. ah, Alzheimer's. not remembering that you can't remember. sounds like the perfect recipe for happiness to me ๐Ÿ˜‚๏ธ well, not sure my "experience" is currently valuable to you. i was impressed by your SSH Workflow and the speed of what shows in the items subtitle while you're typing, so i knew sooner or later i'd have to switch to some compiled language, at least for some Workflows. personally i wanted to learn Swift for some other macOS software so that's a win. not having to force the user install PHP is another win. the speed compared to PHP is one more win, although in the case of
  25. yes, definitely fair. will remove for now and hopefully find a better phrasing tomorrow now that you've helped clarify my understanding. another day when i'll go to sleep less stupid than when i woke up. wondering when this is gonna stop though...
×
×
  • Create New...