Cyberpunk 2077 review
Dec. 31, 2023, 2:37 p.m. | (700 words)
I played in Spanish, possible that in a City that night city describes this
would be the native language. I learned a lot of swear words playing through
the game in Spanish.
I loved roaming around the city and "learning" the city. I prefer to do this
myself in real life though. I started thinking about how streets connect while
driving around the next day the same way I would while playing this game.
I don't like the repetitive use of the ads. You end up seeing the same stores
over and over again, so it can make remembering where you are at any given point
in the city more difficult since there is a "Tom's Diner" everywhere. I thought
of them as chains, and that everything is a chain or a franchise store to some
extent in this world, but that only protected my immersion to an extent. The
ads for the in game busiesses were repetitive and annoying.
The sexual stuff is just disgusting. At a certain point, it is like "why am i
escaping into THIS world? This is so dumb". Sometimes when it takes itself
seriously, I feel that it misses the beat. Its sarcasm is actually the best,
even though sometimes the sexual things can be disgusting. Johnny Silverhand
was kind of... dumb I guess? I can't take the message of self destruction
seriously, when it is to fight some sort of power that doesn't give a shit about
you in the first place.
I guess Johnny Silverhand had some cool one liners, but Arasaka was pretty cool
too. Takemura was awesome. At first I thought papa Arasaka was admirable
although he did have a lot of flaws, but the corpos working for him were
complete degenerates only interested in money. Papa Arasaka had at least a hint
of righteousness to him while young Arasaka just wanted to change things to
leave his mark. Not the best kind of person to lead an institution that is
supposed to last. So I guess young man Arasaka was never going to be able to
continue the power and righteousness of his father's empire, and continued to
progress towards a capitalist brutality filled with multi polar traps.
Considering this, it is really very sad what happens to him in the end.
I actually loved the game. I put my skill points into intelligence and cool (I
probably would not have chosen this stat if I played in English). I just now
looked up the stat name in English and it is "cool". The Spanish name for the
stat was "Temple" which i thought translated to "mettle" or "grit". Since I put
no extra points in constitution, I thought that would be a good balance, grit
and intelligence. Cool and intelligent while having no actual physical strength
sounds really really lame. Oh well. The game plays the same.
The hacking was a lot of fun. It was great to walk by people and just explode
their brains before they even detected you. The gunplay was a lot of fun too,
and I liked the crafting and the number crunchy stuff. I loved how the main
missions had many points where your contact would say something like "I'll call
you in a couple days after I have another lead", and then it gives you the
opportunity to run around and explore the city, and get into the gamier parts of
it. It helps the pacing of the story tremendously.
I really liked the game, but I don't like how it leans so hard into
transhumanism. It takes it as a given, as if you upload someone's conciousness
into a microchip they are technically still "alive". I tend to think that it
can be pretty easy to make everyone who is still alive think that a real person
is still alive, while in reality the person is just dead. I got the Arasaka
Ending, which I guess is the "bad" ending in terms of how everything pans out
for everyone but it did stick with me.
Loved the game overall, loved the story, loved the city. Would like to revisit
it again sometime, probably in German or Japanese down the line.
Deploying a django app on Ubuntu instance: Part 1
March 22, 2023, 4:50 p.m. | (346 words)
I'm going to walk through all the steps to deploy a Django application on a
Ubuntu virtual instance. I use Digital Ocean droplets. But Amazon EC2 or other
Linux instances with Ubuntu should be similar. Digital Ocean has some great
guides on there for getting set up on various things, but I want to fill in some
gaps and point out some minor troubles that I have had. It is not the most
intuitive thing and there are a lot of little errors that can happen along the
way and I need a reference.
1 - Set up a non root user on the droplet, with sudo privileges
sudo adduser new_username
sudo usermod -aG sudo new_username
After following the prompts to set a password and set up the user, a new
user named 'new_username' should be available. Now switch to the new user.
sudo su new_username
2 - Set up ssh for the django repo on github, and pull the repo.
ssh-keygen
The above command will generate an ssh key that can be used to push/pull
from the github repo.
Go to github Profile->Settings->Access->SSH and GPG keys. From there copy
and paste the ssh key that was generated from the above command into the
appropriate textbox. The key will start with ssh-rsa.
git clone git@github.com:github_username/reponame.git
Now the repo should be on the instance. I keep my requirements.txt file on
the repo to install all the dependencies from.
3 - Create a new virtualenv and install the project dependencies from a
requirements.txt
cd into the project directory created from cloning the repo.
sudo apt-get install python3-pip
pip3 install virtualenv
python3 -m virtualenv venv
source /venv/bin/activate
Now we have a new virtual environment, activated and the name of it should
be in parenthesis to the left of the shell.
pip3 install -r requirements.txt
All the requirements from the file should be ready to go.
Next post I'll go over how to set up the apache webserver with gunicorn to serve
the django application, and how to point the domain name to the IP that is
serving the app.
Switch to gunicorn
March 3, 2023, 1:32 a.m. | (143 words)
mod_wsgi was giving me problems. Everything would work find while loading
different parts of the website, until parts of the site that needed to access
the database were visited, and then apache would get a wsgi:error. The thing
is, it only happened once in a while.
It seemed like after about 2-3 queries to the database a wsgi:error would be
thrown. I'm still using apache, but I switched to gunicorn, and everything
works great now. I had to change some of the settings.py so that I wouldn't get
403 errors at times in the admin area, since gunicorn runs behind a proxy. But
after that, things are working great.
I had the domain name working with the IP, until I changed to apache settings to
allow for SSL. So that is next on the agenda. Getting the domain name working,
and also SSL.
Up and running
March 1, 2023, 9:42 p.m. | (91 words)
First post! Hopefully the first of many to come. Took me some time making the
database readable by Apache, and some final tweaking with the settings.py file,
but I am glad that everything works now (pretty well). I am getting some slow
down when accessing the site, but there is only a basic 'wsgi' error showing up
in the apache error logs. Basically, the site loads for a bit and then hangs.
Now to get SSL working with certbot, and the domain pointed at the IP and things
are looking good.

