publishing some old stuff, here goes!
This commit is contained in:
parent
a6acc8b9d8
commit
ab099b6b33
@ -1,98 +1,98 @@
|
|||||||
---
|
---
|
||||||
title: "Barbenheimer"
|
title: "Barbenheimer"
|
||||||
date: 2023-08-03T10:03:12+09:30
|
date: 2023-08-03T10:03:12+09:30
|
||||||
lastmod: 2023-08-07
|
lastmod: 2024-04-16
|
||||||
draft: true
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
Over the last two weeks my partner and I have seen both Oppenheimer and Barbie
|
Over the last two weeks my partner and I have seen both Oppenheimer and Barbie
|
||||||
at the movies. I have to admit that initially I was only intending to see
|
at the movies. I have to admit that initially I was only intending to see
|
||||||
Oppenheimer at the movies and then watch Barbie at home, as by my estimation,
|
Oppenheimer at the movies and then watch Barbie at home, as by my estimation,
|
||||||
Christopher Nolan movies are almost always better seen at the cinema. Both movies
|
Christopher Nolan movies are almost always better seen at the cinema. Both movies
|
||||||
were fantastic in my opinion however they have framed an interesting set of
|
were fantastic, and they framed an interesting set of
|
||||||
thoughts for me that I would like to delve into a bit here.
|
thoughts for me that I would like to delve into a bit here.
|
||||||
|
|
||||||
## Oppenheimer
|
## Oppenheimer
|
||||||
|
|
||||||
The first of the two that we went to see was Oppenheimer. I have been familiar
|
The first of the two that we went to see was Oppenheimer. I have been familiar
|
||||||
with Oppenheimer (the man) and the Manhattan Project for some time, but only
|
with Oppenheimer (the man) and the Manhattan Project for some time, but only
|
||||||
in a very surface level manner. That is to say, I had a good idea of what the
|
in a very surface level way. That is to say, I had a good idea of what the
|
||||||
broad strokes of the story would probably be, and I wasn't far off. Obviously,
|
broad strokes of the story would probably be - I wasn't far off.
|
||||||
with the director, cast, and subject involved, it was going to be a
|
|
||||||
fantastic movie. It is, in my approximation, a fantastic display of the art of
|
|
||||||
cinema and movie making. The projection, acting, story, etc, are world-class,
|
|
||||||
and it was a wonderful movie to watch.
|
|
||||||
|
|
||||||
On a personal note the only real complaint I had with the whole thing was the
|
The only real complaints I had with the whole thing were first, the
|
||||||
depiction of the Trinity test which I felt, through the focus on a practical
|
depiction of the Trinity test which I felt, through the focus on a practical
|
||||||
reproduction of the explosion, fell short of really managing to communicate the
|
reproduction of the explosion, fell short of really managing to communicate the
|
||||||
incredible destructive force of a nuclear bomb. Secondarily to that was, again
|
incredible destructive force of a nuclear bomb. Secondly was, again
|
||||||
this is very much my personal opinion here, the trivialisation of the line
|
this is very much my personal opinion here, the trivialisation of the line
|
||||||
Oppenheimer is famous for from the Bhagavad Gita. Perhaps it was wrong for me to
|
Oppenheimer is famous for from the Bhagavad Gita. Perhaps it was wrong for me to
|
||||||
do so but I expected this line to be somewhat more important in the movie than
|
do so but I expected this line to be somewhat more important in the movie than
|
||||||
it was.
|
it was.
|
||||||
|
|
||||||
The primary public criticism that I have seen of the movie is either that it
|
The primary public criticism that I have seen of the movie is either that it
|
||||||
turns Oppenheimer into a hero, and honestly I couldn't disagree more, it far
|
turns Oppenheimer into a hero, and honestly I couldn't disagree more, it far
|
||||||
from mythologises him in my eyes, or that it whitewashes, or at least ignores,
|
from mythologises him in my eyes, or that it whitewashes, or at least ignores,
|
||||||
the ways in which the Manhattan Project, particularly Los Alamos and the Trinity
|
the ways in which the Manhattan Project, particularly Los Alamos and the Trinity
|
||||||
test impacted local peoples at the time. This second point I think is the most
|
test impacted local peoples at the time. This second point, I think, is the more
|
||||||
valid criticism, however I think it falls short in justification as the movie
|
valid criticism, however I think it falls short, as the movie
|
||||||
is about the man, not about the bomb, or the Manhattan Project, or even the war.
|
is about the man, not about the bomb, or the Manhattan Project, or even the war.
|
||||||
That being said, have some indication of the impacts, such as the fact that
|
That being said, including some indication of the impacts, such as the fact that
|
||||||
the site for the Trinity test, or even Los Alamos, were not simple deserted
|
the site for the Trinity test, or even Los Alamos, was not simply an empty
|
||||||
desert but rather inhabited and appropriated by the government for their use,
|
desert but rather inhabited, and appropriated by the government for their use,
|
||||||
would not have hurt the story being told.
|
would not have hurt the story being told.
|
||||||
|
|
||||||
Although the movie was fantastic, and I left the theatre happy that I had gone to
|
Although the movie was fantastic, and I left the theatre happy that I had gone to
|
||||||
see it, I found myself somewhat forgetting it and thinking on it very little in
|
see it, I found myself somewhat forgetting it and thinking on it very little in
|
||||||
the week that followed.
|
the week that followed.
|
||||||
|
|
||||||
## Barbie
|
## Barbie
|
||||||
|
|
||||||
As I said earlier, I was initially not intending to see Barbie at the cinema.
|
As I said earlier, I was initially not intending to see Barbie at the cinema.
|
||||||
My partner and I don't often go to the movies and Barbie seemed like a movie that
|
My partner and I don't often go to the movies and Barbie seemed like a movie that
|
||||||
could just as easily be enjoyed at home. However, in the two weeks after their
|
could just as easily be enjoyed at home. However, in the two weeks after their
|
||||||
release, there was a great deal of discourse about the two movies, and particularly
|
release, there was a great deal of discourse about the two movies, and particularly
|
||||||
Barbie. One thing I noticed about this discourse that was of interest to me was
|
Barbie. One thing I noticed about this discourse that was of interest to me was
|
||||||
how divisive it was, and generally how gendered it was. I had friends commenting
|
how divisive it was, and generally how gendered it was. I had friends commenting
|
||||||
on the movie saying things along the lines of, "It's more a movie for girls" or,
|
on the movie saying things along the lines of, "It's more a movie for girls" or,
|
||||||
"I didn't really get it", and that's not even mentioning the amount of content
|
"I didn't really get it", and that's not even mentioning the amount of content
|
||||||
online that pointed to very similar talking points. And I decided that I had to
|
online that voiced to very similar points. And I decided that I had to
|
||||||
see the movie so that I could develop my own understanding of it rather than
|
see the movie so that I could develop my own understanding of it rather than
|
||||||
relying on second hand information and opinion.
|
relying on second hand information and opinion.
|
||||||
|
|
||||||
> A side note: I think on of the mistakes being made by people commenting on
|
> A side note: I think on of the mistakes being made by people commenting on
|
||||||
> these movies is that they are trying to compare them in some way. Although,
|
> these movies is that they are trying to compare them in some way. Although,
|
||||||
> both being movies they are comparable, their content, style, messaging, etc,
|
> both being movies, they are comparable, their content, style, messaging, etc,
|
||||||
> is, I would argue, incomparable. Any discussion trying to determine which
|
> is, I would argue, incomparable. Any discussion trying to determine which
|
||||||
> movie was better is going to go nowhere. As such, I will avoid doing so.
|
> movie was better is going to go nowhere. As such, I will avoid doing so.
|
||||||
|
|
||||||
I loved Barbie. I found it an enlightening movie. After the
|
I loved Barbie. I found it an enlightening movie. After it
|
||||||
movie was over I described it to my partner as viscerally enjoyable. I found
|
was over I described it to my partner as viscerally enjoyable. I found
|
||||||
it, funny, educational, moving, and profound. I will certainly see it again in
|
it funny, educational, moving, and profound. I will certainly see it again in
|
||||||
the future. To me, it felt broadly unlike anything I had seen before, and this
|
the future. To me, it felt broadly unlike anything I had seen before, and this
|
||||||
resulted in it feeling very refreshing. It articulated a great deal of things
|
resulted in it feeling very refreshing. It articulated a great deal of things
|
||||||
that resonated with me in a very consumable, entertaining way. Having said all
|
that resonated with me in a very consumable, entertaining way. Having said all
|
||||||
that, I think it is obvious why so many people, primarily men, leave the
|
that, I think it is obvious why so many people, primarily men, leave the
|
||||||
theatre saying thing such as I mentioned before.
|
theatre saying things like I mentioned before.
|
||||||
|
|
||||||
I don't want to dwell in this issue, or divide, because I honestly feel that it
|
I don't want to dwell in this issue, or divide, because I honestly feel that it
|
||||||
is not my - a, very comfortable in his gender, male - place to do so but I do
|
is not my - a, very comfortable in his gender, male - place to do so but I do
|
||||||
want to say something.
|
want to say something.
|
||||||
|
|
||||||
Anyone criticising this movie for being too feminist or woke needs to
|
Anyone criticising this movie for being too feminist or "woke" needs to
|
||||||
reevaluate their attitude. It is clear that the movie's success speaks for
|
re-evaluate their attitude. It is clear that the success of the movie speaks for
|
||||||
itself in terms of how much people enjoyed it and how popular it is and as much
|
itself in terms of how much people enjoyed it and how popular it is, as much
|
||||||
as I'm sure there were some people hate-watching it, they will have been/are
|
as I'm sure there were some people hate-watching it, they will be/have been/are
|
||||||
among the minority. I think that if you watch a movie like Barbie, particularly
|
among the minority. I think that if you watch a movie like Barbie, particularly
|
||||||
as a man, and don't like it either because of its attitude towards mes, its
|
as a man, and don't like it either because of its attitude towards men, its
|
||||||
portrayal of men and women, or its vocalisation of women's issues, then again,
|
portrayal of men and women, or its vocalisation of women's issues, then again,
|
||||||
I recommend an attitude adjustment.
|
I recommend an attitude adjustment.
|
||||||
|
|
||||||
It's hard for me to articulate exactly how disappointing it is that people take
|
It's hard for me to articulate exactly how disappointing it is that people take
|
||||||
such a negative view of what is really a fantastically entertaining and
|
such a negative view of what is really a fantastically entertaining and
|
||||||
educational movie. As much as other peoples perception of the movie does not
|
educational movie. As much as other peoples perception of the movie does not
|
||||||
affect mine, it does worry me that there are so many people who perceive it
|
affect mine, it does worry me that there are so many people who perceive it
|
||||||
badly.
|
badly.
|
||||||
|
|
||||||
|
### Editor's Note
|
||||||
|
|
||||||
|
This was written, and left somewhat incomplete, a while ago, I'm publishing it
|
||||||
|
now as I still feel the way I did then, but I'm not adding to it.
|
||||||
|
|||||||
@ -1,9 +1,13 @@
|
|||||||
---
|
---
|
||||||
title: "My Neovim Setup"
|
title: "My Neovim Setup"
|
||||||
date: 2023-01-17
|
date: 2023-01-17
|
||||||
draft: true
|
lastmod: 2024-04-16
|
||||||
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
> This is being published well after the config was finished, I don't care much
|
||||||
|
> for blogging, so I never properly finished writing this.
|
||||||
|
|
||||||
So I have, for the last six or so months, been really trying to learn to use
|
So I have, for the last six or so months, been really trying to learn to use
|
||||||
Neovim. I started with Vim, as I imagine many people do, and had a simple
|
Neovim. I started with Vim, as I imagine many people do, and had a simple
|
||||||
single file configuration with a couple of plugins and little else interesting
|
single file configuration with a couple of plugins and little else interesting
|
||||||
@ -14,8 +18,8 @@ learn about Neovim, and quickly I wanted to switch.
|
|||||||
I think I got lucky regarding when I learnt about Neovim. It was soon after
|
I think I got lucky regarding when I learnt about Neovim. It was soon after
|
||||||
they integrated Lua into it and people were starting to really explore plugins
|
they integrated Lua into it and people were starting to really explore plugins
|
||||||
for Neovim written in Lua. I quickly came across creators like TJ DeVries,
|
for Neovim written in Lua. I quickly came across creators like TJ DeVries,
|
||||||
chris@machine, and ThePrimeagen. By this point it was too late to turn
|
chris@machine, and ThePrimeagen. By this point it was too late to turn
|
||||||
back.
|
back.
|
||||||
|
|
||||||
## A Short Timeline
|
## A Short Timeline
|
||||||
|
|
||||||
@ -57,7 +61,7 @@ folke and others are creating around lazy.
|
|||||||
In this post I'm only going to cover setting up lazy.nvim in the manner than I
|
In this post I'm only going to cover setting up lazy.nvim in the manner than I
|
||||||
have it configured. I will go further into depth about my config in future
|
have it configured. I will go further into depth about my config in future
|
||||||
posts. I will omit things like my utility functions, keymaps, and indepth
|
posts. I will omit things like my utility functions, keymaps, and indepth
|
||||||
descriptions of my list of plugins.
|
descriptions of my list of plugins.
|
||||||
|
|
||||||
## File Structure
|
## File Structure
|
||||||
|
|
||||||
@ -91,7 +95,7 @@ what it contains here.
|
|||||||
## `init.lua`
|
## `init.lua`
|
||||||
|
|
||||||
Following the design of LazyVim my configuration is in its own module so my
|
Following the design of LazyVim my configuration is in its own module so my
|
||||||
`init.lua` contains only a single line requiring said module. I used to
|
`init.lua` contains only a single line requiring said module. I used to
|
||||||
configure each plugin separately and require them all from this file.
|
configure each plugin separately and require them all from this file.
|
||||||
|
|
||||||
## `lazy-lock.json`
|
## `lazy-lock.json`
|
||||||
@ -99,33 +103,86 @@ configure each plugin separately and require them all from this file.
|
|||||||
This is a file that is automatically generated by lazy.nvim, it allows you to
|
This is a file that is automatically generated by lazy.nvim, it allows you to
|
||||||
specifically version the plugins you have installed, down to specific commits.
|
specifically version the plugins you have installed, down to specific commits.
|
||||||
I don't do this. Some people complain about their configurations breaking all
|
I don't do this. Some people complain about their configurations breaking all
|
||||||
the time due to plugin updates however I have had this happen only once so the
|
the time due to plugin updates however I have had this happen only once so the
|
||||||
effort required to version everything just isn't worth it.
|
effort required to version everything just isn't worth it for me.
|
||||||
|
|
||||||
## `lua/lazyvim/`
|
## `lua/lazyvim/`
|
||||||
|
|
||||||
This is where the magic happens. It is a self contained module which describes
|
This is where the magic happens. It is a self contained module which describes
|
||||||
and defines my config for Neovim.
|
and defines my config for Neovim.
|
||||||
|
|
||||||
## `lua/lazyvim/config`
|
## `lua/lazyvim/config`
|
||||||
|
|
||||||
The `config` directory contains all of my non-plugin related configuration. I
|
The `config` directory contains all of my non-plugin related configuration.
|
||||||
will omit `icons.lua`, and `options.lua` because they are fairly personal. If
|
I treat it like it's its own module with an `init.lua` to pull everything together.
|
||||||
you are curious feel free to take a peek at the files
|
Icons, keymaps (those not handled within plugin definitions, etc), autocommands,
|
||||||
[here](https://gitlab.inkletblot.com/inkletblot/config/-/blob/main/.config/nvim/lua/lazyvim/config/icons.lua)
|
and options are all dealt with here.
|
||||||
and
|
|
||||||
[here](https://gitlab.inkletblot.com/inkletblot/config/-/blob/main/.config/nvim/lua/lazyvim/config/options.lua).
|
Some great keymaps that I value a lot:
|
||||||
|
```
|
||||||
|
-- move lines up and down
|
||||||
|
map("n", "<C-k>", "<ESC>:m .-2<CR>==", opts)
|
||||||
|
map("n", "<C-j>", "<ESC>:m .+1<CR>==", opts)
|
||||||
|
|
||||||
|
-- center after up and down movements
|
||||||
|
map("n", "<C-u>", "<C-u>zz", opts)
|
||||||
|
map("n", "<C-d>", "<C-d>zz", opts)
|
||||||
|
|
||||||
|
-- move through quickfix list
|
||||||
|
map("n", "<C-n>", ":cnext<cr>", opts)
|
||||||
|
map("n", "<C-p>", ":cprev<cr>", opts)
|
||||||
|
```
|
||||||
|
Also, these autocommands:
|
||||||
|
|
||||||
|
```
|
||||||
|
-- highlight on yank, thanks stack overflow
|
||||||
|
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||||
|
group = vim.api.nvim_create_augroup('highlight_yank', {}),
|
||||||
|
desc = 'Hightlight selection on yank',
|
||||||
|
pattern = '*',
|
||||||
|
callback = function()
|
||||||
|
vim.highlight.on_yank { higroup = 'IncSearch', timeout = 500 }
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- go to last loc when opening a buffer
|
||||||
|
vim.api.nvim_create_autocmd("BufReadPost", {
|
||||||
|
callback = function()
|
||||||
|
local mark = vim.api.nvim_buf_get_mark(0, '"')
|
||||||
|
local lcount = vim.api.nvim_buf_line_count(0)
|
||||||
|
if mark[1] > 0 and mark[1] <= lcount then
|
||||||
|
pcall(vim.api.nvim_win_set_cursor, 0, mark)
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
## `lua/lazyvim/utils`
|
## `lua/lazyvim/utils`
|
||||||
|
|
||||||
The utils folder contains some miscellaneous utilities such as a function to
|
The utils folder contains some miscellaneous utilities such as a function to
|
||||||
get a projects root for Language Server Protocols (LSPs) or a workspace
|
get a projects root for Language Server Protocols (LSPs) or a workspace
|
||||||
switcher function for Neorg (a org mode like plugin for nvim). I won't detail
|
switcher function for Neorg (a org mode like plugin for nvim).
|
||||||
the specifics here.
|
|
||||||
|
Many of these utils have been pilfered from other Neovim users, thanks everyone.
|
||||||
|
Other peoples configs are always a good place to start learning, especially in
|
||||||
|
the context of Neovim. I hope to greatly expand the content of this folder in
|
||||||
|
the future.
|
||||||
|
|
||||||
## `lua/lazyvim/init.lua`
|
## `lua/lazyvim/init.lua`
|
||||||
|
|
||||||
|
This is the primary initialisation for my config, following the `lazy.nvim`
|
||||||
|
spec, it ensures that `lazy` is installed and then runs the basic initialisation
|
||||||
|
for `lazy`, my config, colorscheme, etc.
|
||||||
|
|
||||||
## `lua/lazyvim/plugins`
|
## `lua/lazyvim/plugins`
|
||||||
|
|
||||||
|
This is where all of the specifications for the plugins I use live. I change
|
||||||
|
these a little from time to time, but now everything is set up, I try to limit
|
||||||
|
changes in general. I strongly recommend looking through if you're interested,
|
||||||
|
[here's a link](https://gitlab.inkletblot.com/inkletblot/config/-/tree/main/.config/nvim/lua/lazyvim/plugins?ref_type=heads)
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
For now, this is where I'm going to leave it at, I might add more in the future
|
||||||
|
though. For the interested individual I think that the best way to learn is to
|
||||||
|
read the code, so I suggest looking at my config on gitlab.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user