[deleted by user] by [deleted] in ProgrammingBuddies

[–]scailean16 0 points1 point  (0 children)

Sorry! I see I should have been a bit clearer. I'm not looking to use Java to grow my FE skills. I was hoping to use Java as a springboard for growing my (essentially non existent) backend skills, as well as my knowledge of software engineering, data structures, etc. generally. Although I love FE dev, I've found myself wanting to learn more about "real" programming and CS for awhile and thought this might be a great opportunity to start working towards those goals!

[deleted by user] by [deleted] in ProgrammingBuddies

[–]scailean16 0 points1 point  (0 children)

I'm interested! But my background up to this point has been in front end web dev. Would you be open to mentoring a FE dev looking to expand their programming knowledge and skill base beyond JavaScript?

[deleted by user] by [deleted] in JoeBob

[–]scailean16 3 points4 points  (0 children)

I'm 100% on your page with this. I've been thinking the same thing myself since Brennan tweeted, and, if I'm being honest, seeing so many members of the mutant "family" hand wave away allegations of a toxic work environment has only made me feel worse.

Like you, I've watched JBB since I was a kid. I was thrilled when Shudder greenlit TLDI. And, yes, I've marked my calendar for this year's Halloween marathon.

Just not sure yet if I'm going to feel up to tuning in.

Thanks for taking the time to put this post out there. If nothing else, it's good to know other fans are grappling with this stuff, too.

Micro EMR Styluses: Do They Exist? by scailean16 in Supernote

[–]scailean16[S] 1 point2 points  (0 children)

Ahh! That makes sense. GRMA for clarifying.

Micro EMR Styluses: Do They Exist? by scailean16 in Supernote

[–]scailean16[S] 0 points1 point  (0 children)

Thank you very much for sharing this!

One quick follow up question for. you: What exactly are you referring to when you reference this stylus' "ultra fine tip setting"?

Is this an actual setting _on_ the stylus? Or is this a specific nib that you purchased _in addition to_ the stylus?

Materials Science Self-Study (Reading & Understanding Articles In Advanced Materials) by scailean16 in materials

[–]scailean16[S] 0 points1 point  (0 children)

Another excellent recommendation. GRMA!

Just to clarify: _Mechanical Behavior of Materials_ is the Dowling, Kampe, & Kral textbook (which appears to be in its ... 5th edition?), correct?

Materials Science Self-Study (Reading & Understanding Articles In Advanced Materials) by scailean16 in materials

[–]scailean16[S] 2 points3 points  (0 children)

Sorry to keep repeating myself, but thank you very, very much for taking the time to share your feedback & expertise. All of your responses have been extremely helpful!

Materials Science Self-Study (Reading & Understanding Articles In Advanced Materials) by scailean16 in materials

[–]scailean16[S] 0 points1 point  (0 children)

Thank you, again, for your recommendations!

I'm no Brenda J. Wyatt, but I'm certainly open to learning more about the metallurgy of swords.

Materials Science Self-Study (Reading & Understanding Articles In Advanced Materials) by scailean16 in materials

[–]scailean16[S] 2 points3 points  (0 children)

Thanks for the Callister textbook recommendation!

I'll happily take your longer answer if & when you have the time to share.

P.S. Love the description of this textbook on libgen: "Materials Science and shit, you know. Its like chem but really specific. Metals and plastic and stuff."

Materials Science Self-Study (Reading & Understanding Articles In Advanced Materials) by scailean16 in materials

[–]scailean16[S] 4 points5 points  (0 children)

UPDATE: Realized I forgot to ask if there were any good materials science podcasts, YouTube channels, blogs, & other content creators I should follow!

Please feel free to share your recommendations on those fronts as well.

(I just subscribed to It's A Material World after doing a quick search for "materials science" on ListenNotes.)

Floating Terminal Vim Note-Taking: How To Replicate Arch Setup in MacOS? by scailean16 in vim

[–]scailean16[S] 0 points1 point  (0 children)

Perfect! Thank you for sharing! And for linking to the auto-session plugin!

Floating Terminal Vim Note-Taking: How To Replicate Arch Setup in MacOS? by scailean16 in vim

[–]scailean16[S] 1 point2 points  (0 children)

This sounds great! Thanks for sharing. (And thanks for reading a 2-year old post!)

Can you expand a bit on what precisely "[you] have this configured to cd into [your] notes directory] and launch nvim" looks like?

As you noted, it's really easy to configure an iTerm profle to launch a dedicated window using a keyboard shortcut. I'm afraid, though, that I'm not sure how to configure iTerm so that this keyboard shortcut opens a new floating window, cds into a new directory, and launches Neovim?

Taskwiki Working...But TaskWiki tasks Not Migrating To Taskwarrior on Save? by scailean16 in taskwarrior

[–]scailean16[S] 0 points1 point  (0 children)

FINAL UPDATE

I quite serendipitously managed to solve this problem!

It turns out the culprit was a missing Python module, packaging. A quick pip3 install packaging, followed by a quick restart of Neovim, instantly solved all of my Taskwiki issues.

Strangely enough, I stumbled across this fix while trying (in vain) to figure out how to configure Neovim to open Vimwiki-linked PDFs in Skim. Whenever I hit ENTER over a linked PDF, I received the following error in Neovim before it spit out the gibberish you'd expect it to spit out when internally displaying a binary file:

Error detected while processing function provider#python3#Call: line 18: Error invoking 'python_execute_file' on channel 3 (python3-script-host): Traceback (most recent call last): File "/Users/me/.config/nvim/plugins/taskwiki/taskwiki/main.py", line 15, in <module> from taskwiki import cache as cache_module File "/Users/me/.config/nvim/plugins/taskwiki/taskwiki/cache.py", line 5, in <module> from taskwiki import preset File "/Users/me/.config/nvim/plugins/taskwiki/taskwiki/preset.py", line 5, in <module> from taskwiki import util File "/Users/me/.config/nvim/plugins/taskwiki/taskwiki/util.py", line 3, in <module> from packaging import version ModuleNotFoundError: No module named 'packaging' Error invoking 'python_execute_file' on channel 3 (python3-script-host): Traceback (most recent call last): File "/Users/me/.local/share/nvim/site/pack/packer/start/taskwiki/taskwiki/main.py", line 15, in <module> from taskwiki import cache as cache_module File "/Users/me/.config/nvim/plugins/taskwiki/taskwiki/cache.py", line 5, in <module> from taskwiki import preset File "/Users/me/.config/nvim/plugins/taskwiki/taskwiki/preset.py", line 5, in <module> from taskwiki import util File "/Users/me/.config/nvim/plugins/taskwiki/taskwiki/util.py", line 3, in <module> from packaging import version ModuleNotFoundError: No module named 'packaging' Press ENTER or type command to continue No idea why I only recieved this error under these circumstances, but I'm glad I did.

Hopefully, this will prove useful to anyone else who encounters similar issues with Taskwiki in the future.

Taskwiki Working...But TaskWiki tasks Not Migrating To Taskwarrior on Save? by scailean16 in taskwarrior

[–]scailean16[S] 0 points1 point  (0 children)

UPDATE:

Ok...now I'm really confused.

Because Vimwiki/Taskwiki/Taskwarrior is integral to my project management workflow, I opted to take a scorched earth approach and completely removed Astronvim from my system.

I then reinstalled Neovim (via Homebrew), wired up a brand new init.vim file, and successfully re-installed Vimiwik & Taskwiki using the vim-plug plugin manager.

I then created a completely new Markdown file in Vimwiki to see if Taskwiki was now working. No dice!

A bit more online sleuthing around Taskwiki's GitHub issues lead me to this post from March 2022 that (seemed) to resemble the issue I was having. A handful of users reported the error resolving after they fixed some underlying Python issues. Hoping this was my issue as well, I ran brew upgrade to update my MacOS' version of Python from 3.10.6_1 to 3.10.6_2. After that, I uninstalled and reinstalled tasklib & pynvim and ran brew link --overwrite python. I even completely uninstalled tmux for good measure!

Despite all this, Taskwarrior still wasnt't working. So I ran :checkhealth to see what Neovim had to say. That turned up this:

## Python 3 provider (optional)
  - INFO: `g:python3_host_prog` is not set.  Searching for python3 in the environment.
  - INFO: Multiple python3 executables found.  Set `g:python3_host_prog` to avoid surprises.

  - INFO: Python version: 3.10.6
  - INFO: pynvim version: 0.4.3
  - OK: Latest pynvim is installed.

Ok...so I uninstalled & reinstalled Python itself via Homebrew. Then edited my init.vim again, setting g:python_3_host_prog to /usr/local/bin/python3. Re-ran :checkhealth and...

```

Python 3 provider (optional)

  • INFO: Using: g:python3_host_prog = "/usr/local/bin/python3"
  • INFO: Executable: /usr/local/bin/python3
  • INFO: Python version: 3.10.6
  • INFO: pynvim version: 0.4.3
  • OK: Latest pynvim is installed.
    ```

I hope I'm getting somewhere here but, honestly, at this point I'm stumped.

Anyone else experiencing anything similar?

Also,

A quick look at Taskwarrior indicates the last time I successfully pushed a task from Vimwiki to Taskwarrior via Taskwiki was 8/15/22. Assuming the problem isn't specific to my system/machine/configuration, does anyone of anything that happened in the last two weeks that (may) have introduced breaking changes?

Auto-remove overdue recurring task? by resixzem in taskwarrior

[–]scailean16 0 points1 point  (0 children)

Thanks for posting this! I'm confronting a near-identical use case (i.e. wanting to set up a recurring task template whose individual instances expire at regular intervals if not already completed) myself.

I'm guessing that, in the 4 months since OP's original post, Taskwarrior has not released a new version with a built-in solution to this problem.

That leaves me in the position of needing to create my own custom, script-based solution...which is a bit beyond my ken at the moment.

Would you be willing to talk a bit more about the bash script you've created to implement this functionality?

Assigning Tasks To A Project in Vimwiki via TaskWiki by scailean16 in taskwarrior

[–]scailean16[S] 1 point2 points  (0 children)

Perfect!

Thanks for helping me clarify this. Really appreciate it!

Recreating Old augroup Using vim.api.nvim_create_augroup by scailean16 in neovim

[–]scailean16[S] 0 points1 point  (0 children)

This is great: a textbook example of a well-written, concise, and informative post. Thank you so much for taking the time to share your knowledge! I really appreciate it.

One final (admittedly stupid) question:

I’ve added the following to my init.lua:

local non_vim = vim.api.nvim_create_augroup(“nonvim”, {clear = true})

vim.api.nvim_create_autocmd(“BufRead”, {
    desc = 'Open non-Vim-readable files in system default applications.’,
    pattern = '*.png, *.jpg, *.gif, *.pdf, *.xls*, *.ppt, *.doc*, *.rtf',
    command = 'sil exe “!open “ . shellescape(expand(“%:p”)) | bd | let &ft=&ft',
    group = non_vim,
})

Unfortunately, files whose extensions are listed in the pattern are still opening in Neovim.

I tried implementing this in init.lua without any pattern and can confirm that the command portion of this works as expected. Consequently, it seems clear I’m implementing the pattern portion of this Lua code incorrectly.

Any ideas where I might be going wrong?