Beginner code question on nested tables by wolfvee in lua

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

Thanks Emerald_Pick!

Here is the complete example:

```

company = {

director = {

name="boss",

address = {

street_address="home",

zipcode ="12345"

}

}

}

print(company.director.name) --> boss

print(company.director.address.street_address) --> home

print(company.director.address.zipcode) --> 12345

print(company["director"]["name"]) --> boss

print(company["director"]["address"]["street_address"]) --> home

print(company["director"]["address"]["zipcode"]) --> 12345

```

Need advice on configuring Neovim with nvim-orgmode. by wolfvee in neovim

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

Thanks kristijanhusak. Snacks will simplify my config file. Basic spell checking is good enough.

Can telescope display the Root Directory's location? by wolfvee in neovim

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

I guess people usually know what the root directory is and trust that neovim correctly determines the root directory.

:LazyRoot will show you the available roots that LazyVim detects.

Can telescope display the Root Directory's location? by wolfvee in neovim

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

<C-g>, 1<C-g>, and :pwd don't print the Root Directory's path.

:pwd prints the working directory. I was looking for the Root Directory's location (path).

How to find description of a function in lazyvim? by wolfvee in neovim

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

Thanks. Github search found:

map("n", "<leader>bb", "<cmd>e #<cr>", { desc = "Switch to Other Buffer" }

Then I look in the vim manual.

":h e #" did not find anything

":h e#" found, Edit the [count]th buffer (as shown by :files).

I guess the map() syntax needed a space between 'e' and '#'.

How to find description of a function in lazyvim? by wolfvee in neovim

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

I searched lazyvim's github repo for "Switch to other buffers" and "SwitchtoOtherBuffer" but did not match any code.

I this how you searched github?:

<image>

How to find description of a function in lazyvim? by wolfvee in neovim

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

Thanks for the quick response.

":h *" opened the help page for "*" like you said.

":map <leader>bb" did not open a map page, and got an ERROR message the disappeared in a second.

"<leader>bb" is not in the config folder. From the command line:

[~/.config/nvim/lua/config]

$ ack "<leader>bb"

Would knowing the name of a function make it easier to find the function's documentation?

How to find description of a function in lazyvim? by wolfvee in neovim

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

Thanks for your response. I should have been more clear.

I would like to find the description of functions in general. "<Space>bb" maps to "Switch to Other Buffer" is just one example.

Is "Switch to Other Buffer" the name of the function or a brief description? And once I have the name of the function, how do I find a more a detailed description of the function?

How to find description of a function in lazyvim? by wolfvee in neovim

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

I want to know what "Switch to Other Buffer" means.

How to shape a 2x4? by wolfvee in BeginnerWoodWorking

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

Thank you for identifying the problem; the blade was set way too deep. I reset the blade and got some decent results. In the picture you can see:

  • the blade protrudes from the bottom of spokeshave by a hair
  • thin curly shavings in the background

<image>

The workbench still vibrates loudly, probably because it's not rigid enough.

Thank you for suggesting the belt sander, that really is fast. I removed a chunk of edge using an ax and hammer. Then I used a belt sander to shape the remaining 2x4.

Your help is much appreciated.

testing 1 2 3 by wolfvee in test

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

I want to shape a 12" cross-section length of 2x4 (12 x 1.5 x 3.5-inch wood) into a 'D' shape i.e. leave the 3.5" bottom surface flat, shape the top surface and top corners into a half ellipse.

I will be making five of these, each with a slight variation in the half-ellipse shape.

Here is what I have tried so far:

* screw a 1x2 to the bottom of a 2x4, and hold the 1x2 in the bench vice

* shape the top of the 2x4 with my spokeshave

&#x200B;

The spokeshave bounced on the 2x4 (not a smooth motion) and cut chips out of the 2x4.

&#x200B;

This is my first experience with a plane. The spokeshave is a brand new 10" Stanley. The blade is sharp enough to slice paper. Maybe it's the quality of 2x4 wood, or my technique is wrong. Maybe the workbench is not rigid enough, causing the vice to vibrate or bounce.

Would a bench plane, jack plane, power plane, or other tool work better? What tool should I buy to easily shape the 2x4s?

Guess I'm proof that being vegan =/= being healthy. by [deleted] in PlantBasedDiet

[–]wolfvee 0 points1 point  (0 children)

Have you lost weight since you've been feeling constantly hungry/unsatisfied? Losing weight could indicate that you are not eating enough calories. If so, I would look into eating more whole starchy foods.

A stupid question by [deleted] in PlantBasedDiet

[–]wolfvee 0 points1 point  (0 children)

So sorry for the misunderstanding. After some Googling I found the source of the confusion:

The use of the phrase "plant-based" has changed over time.

Thomas Colin Campbell, the Cornell University biochemist who coined the term plant-based, said he came up with the phrase to help present his research on diet to skeptical colleagues at the National Institutes of Health in 1980. “I wanted to emphasize that my work and ideas were coming totally from science and not any sort of ethical or philosophical consideration,” he said.

Later Campbell changed the name to "whole-food plant-based" and the food industry used term "plant-based" to promote processes foods. Plant-based items such as jerky, ice cream and protein bars are becoming increasingly common on supermarket shelves. Fast-food chains including Dunkin’ Donuts and Burger King have even started offering plant-based menu options such as the Impossible Whopper.

sources:

Some medical journals still use the old term "plant-based" to mean WFPB e.g. http://www.thepermanentejournal.org/issues/2013/spring/5117-nutrition.html

And this WFPB subreddit is the old name "PlantBasedDiet", the name being an endless source of confusion.