publishing some old stuff, here goes!

This commit is contained in:
Solomon Laing 2024-04-16 21:41:01 +09:30
parent a6acc8b9d8
commit ab099b6b33
2 changed files with 137 additions and 80 deletions

View File

@ -1,32 +1,28 @@
---
title: "Barbenheimer"
date: 2023-08-03T10:03:12+09:30
lastmod: 2023-08-07
draft: true
lastmod: 2024-04-16
draft: false
---
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
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
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.
## Oppenheimer
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
in a very surface level manner. 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,
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.
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 - I wasn't far off.
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
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
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
@ -36,12 +32,12 @@ 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
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
test impacted local peoples at the time. This second point I think is the most
valid criticism, however I think it falls short in justification as the movie
test impacted local peoples at the time. This second point, I think, is the more
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.
That being said, have some indication of the impacts, such as the fact that
the site for the Trinity test, or even Los Alamos, were not simple deserted
desert but rather inhabited and appropriated by the government for their use,
That being said, including some indication of the impacts, such as the fact that
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,
would not have hurt the story being told.
Although the movie was fantastic, and I left the theatre happy that I had gone to
@ -58,35 +54,35 @@ 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
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
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
relying on second hand information and opinion.
> 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,
> 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
> 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
movie 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
I loved Barbie. I found it an enlightening movie. After it
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
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
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
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
is not my - a, very comfortable in his gender, male - place to do so but I do
want to say something.
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
itself in terms of how much people enjoyed it and how popular it is and as much
as I'm sure there were some people hate-watching it, they will have been/are
Anyone criticising this movie for being too feminist or "woke" needs to
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, as much
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
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,
I recommend an attitude adjustment.
@ -96,3 +92,7 @@ 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
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.

View File

@ -1,9 +1,13 @@
---
title: "My Neovim Setup"
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
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
@ -100,7 +104,7 @@ 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.
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
effort required to version everything just isn't worth it.
effort required to version everything just isn't worth it for me.
## `lua/lazyvim/`
@ -109,23 +113,76 @@ and defines my config for Neovim.
## `lua/lazyvim/config`
The `config` directory contains all of my non-plugin related configuration. I
will omit `icons.lua`, and `options.lua` because they are fairly personal. If
you are curious feel free to take a peek at the files
[here](https://gitlab.inkletblot.com/inkletblot/config/-/blob/main/.config/nvim/lua/lazyvim/config/icons.lua)
and
[here](https://gitlab.inkletblot.com/inkletblot/config/-/blob/main/.config/nvim/lua/lazyvim/config/options.lua).
The `config` directory contains all of my non-plugin related configuration.
I treat it like it's its own module with an `init.lua` to pull everything together.
Icons, keymaps (those not handled within plugin definitions, etc), autocommands,
and options are all dealt with here.
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`
The utils folder contains some miscellaneous utilities such as a function to
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
the specifics here.
switcher function for Neorg (a org mode like plugin for nvim).
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`
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`
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.