Did it really take me 5 months to make a character slide down a slope and have a bit of realistic wobble to it? If I didn't have that wobble, I could have finished it in a week. Game dev is unreal. (engine).
This is a journal of my progress relearning to code. Today I started from scratch learning C++. Thought I have do coding with C++ before and even made some applications with it. However afer yonks of not pratice and kinda forgetting some thew stuff I originally learnt I thought it would be a good idea to have a refeasher.
So I made so very basic console apps even with some user inputs.
So why I'm doing this? I want to work towards making my own simple game/application and not only upskill but also improve my current skillset.
Do I have a plan/project in mind? I do want to make a game, got a 2D side scroller in mind however one step at a time. I might do a few non game projects first. Will update as we go.
Now that software development is shifting primarily toward mobile and cloud computing, the venerable C++ programming language is returning to the dominant position it held during the object-oriented boom of the 1990s. In this O'Reilly report, you'll learn why C++ is once again the preferred choice across several diverse industries, after taking a backseat to Java during the 2000s. C++ is a complicated beast that's not easy to learn. But when you need a powerful, highly portable systems progra ...
Studies and Research Into Endogenic and Non-Disordered Plurality
I've been neglecting my Studies and Research page for a while, so I decided it was about time to bring it back. This time completely reorganized and mobile friendly. (Sort of. A lot of these are still PDFs, so clicking the links isn't mobile friendly. But you can actually reach it on mobile now unlike my old page.)
Blue links are free. Orange are paywalled but Sci-Hub compatible. Red is paywalled and not sci-hub compatible.
Latest Update: 5/12/24 (This post will be continuously updated with more research. If you see this in a reblog, you may not have the newest version. Patch Notes will be at the bottom.)
Papers on The Tulpamancy Community
Varieties of Tulpa Experiences
Book: Hypnosis and meditation: Towards an integrative science of conscious planes
Learning to Discern the Voices of Gods, Spirits, Tulpas, and the Dead
DOI: 10.1093/schbul/sbac005
Tulpas and Mental Health: A Study of Non-Traumagenic Plural Experiences
DOI: 10.12691/rpbs-5-2-1
Unusual experiences and their association with metacognition: investigating ASMR and Tulpamancy
DOI: 10.1080/13546805.2021.1999798
Personality Characteristics of Tulpamancers and Their Tulpas
DOI: 10.31234/osf.io/5t3xk (This is a pre-print and may lack peer review.)
Papers on Other Endogenic/Non-Disordered Plurals
Multiplicity: An Explorative Interview Study on Personal Experiences of People with Multiple Selves
DOI: 10.3389/fpsyg.2017.00938
Exploring the experiences of young people with multiplicity
ISSN: 2057-4266
Exploring the Utility and Personal Relevance of Co-Produced Multiplicity Resources with Young People
DOI: 10.1007/s40653-021-00377-7
Conceptualizing multiplicity spectrum experiences: A systematic review and thematic synthesis
DOI: 10.1002/cpp.2910
It's just a body: A community-based participatory exploration of the experiences and health care needs for transgender plural people
(Note: While most of the paper is paywalled, the introduction is still interesting and worth reading IMO.)
DOI: 10.1016/j.ejtd.2023.100354
Transgender Mental Health (Includes a chapter on Plurality)
Screenshots
ISBN: 978-1-61537-113-6
Papers on Spiritual Plurality and Plural-like Experiences
Can the DSM-5 differentiate between nonpathological possession and dissociative identity disorder? A case study from an Afro- Brazilian religion
DOI: 10.1080/15299732.2015.1103351
The Absorption Hypothesis: Learning to Hear God in Evangelical Christianity
DOI: 10.1111/j.1548-1433.2009.01197.x
Multiple Personality and Channeling
DOI: 10.29046/JJP.009.1.001
Commentary on "Multiple Personality and Channeling"
DOI: 10.29046/JJP.009.2.011
Papers on the Agency of Imaginary Friends
Explaining the Illusion of Independent Agency in Imagined Persons with a Theory of Practice
DOI: 10.1080/09515089.2022.2043265
Investigating Valence and Autonomy in Children's Relationships with Imaginary Companions (Paywalled)
DOI: 10.3233/DEV-130123
The bully in my mind: Investigating children's negative relationships with imaginary companions (Thesis)
https://ir.ua.edu/handle/123456789/1468
‘When my mummy and daddy aren't looking at me when I do my maths she helps me’; Children can be taught to create imaginary companions: An exploratory study
DOI: 10.1002/icd.2390
Imaginary Companions, Inner Speech, and Auditory Verbal Hallucinations: What Are the Relations?
DOI: 10.3389/fpsyg.2019.01665
Maladaptive daydreaming is a dissociative disorder: Supporting evidence and theory.
DOI: 10.4324/9781003057314
Papers on the Agency of Fictional Characters
The Illusion of Independent Agency: Do Adult Fiction Writers Experience Their Characters as Having Minds of Their Own?
DOI: 10.2190/FTG3-Q9T0-7U26-5Q5X
‘I’ve learned I need to treat my characters like people’: Varieties of agency and interaction in Writers’ experiences of their Characters’ Voices
DOI: 10.1016/j.concog.2020.102901
Papers on the Agency of Hallucinations in Psychotic Disorders
A psychotherapy approach to treating hostile voices
DOI: 10.1080/17522439.2016.1247190
Auditory Hallucinations in Dissociative Identity Disorder and Schizophrenia With and Without a Childhood Trauma History (Paywalled)
DOI: 10.1097/NMD.0b013e3181c299ea
The Representation of Agents in Auditory Verbal Hallucinations
DOI: 10.1111/mila.12096
Rethinking Social Cognition in Light of Psychosis: Reciprocal Implications for Cognition and Psychopathology
DOI: 10.1177/216770261667707
Relevant Quotes From Irrelevant Papers
These are papers that largely have nothing to do with endogenic or non-disorder plurality, but include important quotes. These relevant quotes are screenshotted so you don't need to read entire papers for one paragraph.
Non-disordered plurality is mentioned in the International Classification of Diseases. (ICD-11)
Authors of the The Haunted Self and creators of the Theory of Structural Dissociation reference that hypnosis or spiritual practices may result in self-conscious dissociative parts of the personality.
DOI: 10.1080/15299732.2011.570592
Additional Quotes and Articles:
Email Correspondence From Dr. Colin Ross To @/SysmedsAreSexist.
The Mystical, Mind-Sharing Lives of Tulpamancers (Includes Quotes from Samuel Veissiere, Michael Lifshitz and Tanya Luhrmann)
Imaginary Friends: Helpful or Harmful? (Includes quotes on tulpamancy from Dr. Richard Loewenstein.)
...
Patch Notes: 5/12/24:
I've added an "additional quotes and articles" section for sources that lack review, but are still helpful nonetheless. This includes Imaginary Friends: Helpful or Harmful for its quotes from Dr. Loewestein, and The Mystical, Mind-Sharing Lives of Tulpamancers for its quotes from three doctors studying tulpamancy.
I've also added the Colin Ross emails from sysmedsaresexist.
1-C++ Hello World Program
2-How to Download Dev C++ or Dev Cpp, to do C++ Programming
3-Summation of two numbers, declaration, comment, and arithmetical operators, etc.
4-how to reset and fix all problems of Dev C++ (IDE for c and c++)
5-Program of Average, Data Types, and Ohm's Law
6-Square of input number
7-Swapping the values of two variables
8-Percent and Salary Program
Saturday again. Gaming again. At the country house, village. I take with myself notebook Asus F3s. And I played in it in Quake 2. And I don’t launch anything else. And a single thing I did. I install Dev Cpp for Winfows Xp. And check, that Visual Studio 6 C can start. From programs I have Visual Studio 6 with Visual Basic 6 and Visual C 6. So, I can seat and learn something. And, I have interest to make program in old Visual Studio or another ide.
And village – it is a time for little physical work, very good for health. And time for free time. And, of course, I need to drink a may tea from thick glass tumbler. Weather was good. And it was a may. Last saturday in may. I was there. And by the evening it starts to be colder. Rather cold to see it. It was colder. So unexpected.
And main feature it is videogames, of course. And I play games! Of course, play ok! In a second quake. And quake surprise me this time. My first attempt was like this. I play it as a straight going shooter. To go from point A to point B. And, maybe, a little to walk a side. Ok. As idea, it is, almost, straight walk. Shoot and go forward. And watch industrial landscapes.
And second attempt. It was already a little different. I get heat game is going to be trickier. Labyrinth is bigger. And I stuck in level with name Supply something. And I need to return to previous map. As I understand. And need to go to some place. But button F1 it is good to read information! And at first time I never read it. So, it is already interesting level design. Go back to previous map.
And also, it was a cool moment. It was a scene with train. Witch I get as a puzzle. And, I cannot walk it though as a first attempt. First, it is good to push a button. And after, I start to jump at rails. And they are under voltage. And I try to jump to some place under the train. Train is stopped. And I think that somewhere in train there is a way out. Or something valuable.
I jump many times. And I think almost successful. Bu all the time I die. On no! And I even make a pause. And start again. And this moment was about another way to solve it. It is to turn of electricity. And walk the rails very calm. And get to the ladder. And push the button. So, we see, that game from stupid shooter in this moment turns into something tricky.
So, a train. It is like Half Life. And I even start to think that concept of Half Life goes from this scene of second Quake. So, it is such investigation. About to push buttons. Search ways. Shooting, of course too.
In this plan, I want more a stupid run and shoot. And I played in level easy. Just for interesting. And here I get a puzzle. Such a puzzle.
And, also, it was a scene with a crate. And crate is going automatically. And you can follow him. And I watched a lot how it goes. And I can to follow it, in door that opens. And it was a secret. And I though it is a way forward. And it was a secret. Symbol Quake.
I take a notice, that game is not just run forward and little walk and shoot everyone. And it is a industrial base, techno base. Push buttons. Take a look to the mechanisms move. Look at what there is on a scene. So, it goes tricky.
Quake – it is very interesting game, of course. Very different. Color theme very cool. Design of objects. Everything is done here with interesting to explore. And shooting and explore, also exists. And it is a straight idea for Half Life.
Dima Link is making retro videogames, apps, a little of music, and some retro more.
Xen Orchestra (XO) is a web interface tool for Xen and XCP-ng Administrators to visualize and administer the complete Virtualization stack. The Xen Orchestra doesn’t require an agent installed on the Desktop machine for it work. All operations are performed from a web interface.
On the VM that hosts Xen Orchestra below are the minimal hardware requirements:
2 vCPUs
2GiB of RAM
20GiB of free SR space (2GiB on thin pro SR)
The installation can be done on an instance running in XCP-ng or any other virtualization environment provided connectivity to Xen/XCP-ng servers is available.
To use a ready appliance refer to Deploying Xen Orchestra Appliance on Xen/XCP-ng from CLI
Step 1: Update System
Let’s start the installation by updating all the system packages:
sudo apt update
Also consider performing an upgrade:
sudo apt upgrade -y
With the upgrade done you can reboot now or at later stage.
Step 2: Install Node.js 14 on Ubuntu | Debian
The next step is the installation of Node.js on Ubuntu / Debian Linux system:
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
Once the repository is added proceed to install Node.js:
sudo apt install -y nodejs
To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Confirm installation of Node.js and Yarn
$ node -v
v14.16.1
$ yarn -v
1.22.5
Step 3: Install XO packages on Ubuntu 20.04|Debian 10
Install Python:
#For Python 2
sudo apt install python2-minimal
#For Python 3
sudo apt install python3-minimal
Install XO packages on Ubuntu 20.04|Debian 10 by running the commands below:
sudo apt update
sudo apt install build-essential redis-server libpng-dev git libvhdi-utils lvm2 cifs-utils
Confirm package installations:
The following NEW packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-essential cifs-utils cpp cpp-9 dpkg-dev fakeroot g++ g++-9 gcc gcc-9 gcc-9-base
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libatomic1 libbfio1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev
libctf-nobfd0 libctf0 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-9-dev libgomp1 libhiredis0.14 libisl22 libitm1 libjemalloc2 liblsan0 liblua5.1-0
libmpc3 libpng-dev libpng-tools libquadmath0 libstdc++-9-dev libtalloc2 libtevent0 libtsan0 libubsan1 libvhdi-utils libvhdi1 libwbclient0 linux-libc-dev
lua-bitop lua-cjson make manpages-dev redis-server redis-tools zlib1g-dev
0 upgraded, 58 newly installed, 0 to remove and 0 not upgraded.
Need to get 42.3 MB of archives.
After this operation, 184 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Step 4: Fetch Xen Orchestra Code and Build it
Next is to clone Xen Orchestra code from github:
git clone -b master http://github.com/vatesfr/xen-orchestra
Now that you have the code, you can enter the xen-orchestra directory
cd xen-orchestra
The start building of Xen Orchestra and install other dependency packages on Ubuntu / Debian system.
$ yarn
yarn install v1.22.5
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
warning [email protected]: Invalid bin field for "url-loader".
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Done in 180.55s.
$ yarn build
...
Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
[10:36:00] Finished 'buildStyles' after 6.95 s
[10:36:00] Finished 'copyAssets' after 6.96 s
Successfully compiled 129 files with Babel (17350ms).
[10:37:55] Finished 'buildScripts' after 2.03 min
[10:37:55] Finished 'build' after 2.03 min
Done in 138.77s.
Now you have to create a config file for xo-server:
cd packages/xo-server
sudo mkdir /etc/xo-server
sudo cp sample.config.toml /etc/xo-server/config.toml
In this config file, you can change default ports (80 and 443) for xo-server. If you are running the server as a non-root user, you will need to set the port to 1024 or higher.
You can try to start xo-server to see if it works. You should have something like this:
$ sudo yarn start
yarn run v1.22.5
$ node bin/xo-server
app-conf /home/jkmutai/xen-orchestra/packages/xo-server/config.toml +0ms
app-conf /etc/xo-server/config.toml +6ms
2021-04-20T10:42:27.569Z xo:main INFO Configuration loaded.
2021-04-20T10:42:27.575Z xo:main INFO Web server listening on http://[::]:80
2021-04-20T10:42:27.651Z xo:mixins:hooks DEBUG start start…
2021-04-20T10:42:27.774Z xo:mixins:hooks WARN start failure
error: Error: Command failed with exit code 5: vgchange -an
Logical volume ubuntu-vg/ubuntu-lv contains a filesystem in use.
Can't deactivate volume group "ubuntu-vg" with 1 open logical volume(s)
at makeError (/home/jkmutai/xen-orchestra/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/jkmutai/xen-orchestra/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
shortMessage: 'Command failed with exit code 5: vgchange -an',
command: 'vgchange -an',
exitCode: 5,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: ' Logical volume ubuntu-vg/ubuntu-lv contains a filesystem in use.\n' +
` Can't deactivate volume group "ubuntu-vg" with 1 open logical volume(s)`,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
app-conf /home/jkmutai/xen-orchestra/packages/xo-server/config.toml +219ms
app-conf /etc/xo-server/config.toml +2ms
2021-04-20T10:42:27.799Z xo:xo-mixins:subjects INFO Default user created: [email protected] with password admin
2021-04-20T10:42:27.807Z xo:mixins:hooks DEBUG start finished
2021-04-20T10:42:27.808Z xo:mixins:hooks DEBUG clean start…
2021-04-20T10:42:27.822Z xo:mixins:hooks DEBUG clean finished
2021-04-20T10:42:27.931Z xo:main INFO Setting up / → /home/jkmutai/xen-orchestra/packages/xo-web/dist
Use forever-service to install XO as a system service:
$ sudo yarn global add forever
yarn global v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- forever
Done in 21.97s.
$ sudo yarn global add forever-service
yarn global v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- forever-service
- get-forever-config
Done in 8.77s.
$ cd ~/xen-orchestra/packages/xo-server/bin/
$ sudo forever-service install orchestra -r root -s xo-server
forever-service version 0.5.11
Platform - Ubuntu 20.04.2 LTS
orchestra provisioned successfully
Below are the commands to interact with service orchestra:
Start - "sudo service orchestra start"
Stop - "sudo service orchestra stop"
Status - "sudo service orchestra status"
Restart - "sudo service orchestra restart"
Let’s start the service:
sudo service orchestra start
Confirm the service is running:
$ sudo ss -tunelp | grep *:80
tcp LISTEN 0 511 *:80 *:* users:(("node",pid=269785,fd=18)) ino:1883628 sk:9 v6only:0
If you ever need to delete the service, run the command:
sudo forever-service delete orchestra
Additionally install xo-cli tool.
$ sudo npm install --global xo-cli
npm WARN deprecated [email protected]: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated [email protected]: looking for maintainer
/usr/bin/xo-cli -> /usr/lib/node_modules/xo-cli/dist/index.js
+ [email protected]
added 75 packages from 50 contributors in 26.199s
Step 5: Access Xen Orchestra Web interface
You can now access the web UI of Xen Orchestra by putting the IP you configured during deployment into your web browser.
Use below default login credentials:
Username: [email protected]
Password: admin
Navigate to “Settings” > “Users“
Select admin user and click “edit” under Password section to update user’s password.
Step 6: Add XenServer | XCP-ng Server
Add the Xen|XCP-ng server by going to “Home” > “Add server“
Input the server label, IP Address, Username and Password used to login.
Confirm connection is successful
You can now see existing Virtual Machines and create new ones from XO console.
Studied some theory, watched some tutorials, learned some new stuff and did some exercises!
For some reason I find it really normal for me to stay in my home all this time. I am motivated to study, but of course, as everyone, I am anxious about this whole situation that is going on.
I hope everyone stays safe and inside their home. And let's hope this situation will end soon!
The Ultimate RAD environment loved by developers for quickly building high-performance native cross-platform applications in modern C++ and Delphi using powerful visual design tools and integrated toolchains.
Sometimes I don't need it, I just know I'll have so much fun doing it. That's what's happening it this code right now. It was just too cute not to write :) #code #programming #coding #dev #developer #devlife #development #programminglife #stem #meninstem #menwhocode #tech #tecie #technology #techlife #cpp #cplusplus #metaprogramming #codeislife https://www.instagram.com/p/B958TamAorc/?igshid=1ox6mkklb1uv0
Опять суббота. Опять гейминг. На даче. Взял с сбой свой ноутбук Asus F3s. И на нем рубился в Квейк 2 (Quake 2). Особо ничего другого не запускал там. Единственное, что установил версию Dev Cpp для Windows XP. И проверил, что Visual Studio 6 C запускается. Из программ у меня там Visual Studio 6 с Visual Basic 6 и Visual C 6. Вот, могу там сидеть и заниматься. Вообще, мне интересно сделать и ретро программы на старой визуал студии или в старой среде разработке.
А так дача – это время небольшого физического труда, очень полезного для здоровья. И время для отдыха. Естественно, надо выпить майский чай из гранёного стакана. Погода была хорошая. Это еще май. Последняя суббота в мае. Ездил. К вечеру стало холоднее, довольно заметно. Похолодало. Вот неожиданно.
Самый прикол — это конечно видеоигры. Играл! Конечно рубился. Во вторую кваку. Квака, конечно, в этот раз удивила. Мой первый заход был такой. Я просто играл как в прямолинейный шутер. Идти от точки А к точке Б. Ну чуть-чуть побродить. Ладно. По сути, прямо фактически все. Стреляешь и двигаешься вперед. Любуешься индустриальными видами.
Во второй заход. Уже было чуть иначе. Я понял, что игрушка похитрее становится. Лабиринты побольше. Я, кстати, запутался в итоге на уровне Supply что-то там. Мне надо вернуться на предыдущую карту, как я понял. И, куда-то, проследовать. По кнопке Ф1 надо читать что пишут! В первый заход вообще не читал. То есть, интересная конструкция уровней уже. Вернись на карту назад.
А также был прикольный момент. Была сцена с поездом. Который уже я воспринял как головоломку. И далеко не с первого раза прошел. Сначала кнопку надо нажать. Потом я начал прыгать на рельсы. А они под током. И пытался куда-то под поезд прыгнуть. Поезд стоит. И я думал там проход. Или что-то важное. Прыгал много раз.
И даже казалось почти удачно. Но все время погибал. Блин. Даже перерыв делал. Потом снова. А этот момент по-другому совсем делался. Надо было отключить электричество. По рельсам пройти спокойно. И залезть по лестнице наверх. Нажать там. То есть смотри, что игра с тупого шутера вот в этот момент превратилась во что-то хитрое.
Такой вагончик еще. Крайне напоминает Half Life. Я даже так и подумал, что концепция халфы взята из подобной сцены второй кваки. Как бы такое исследование. Про нажимание кнопок. Поиск прохода. Стрельба, конечно, тоже.
В этом плане, лично я как-то хотел тупо побегать пострелять. Тем более, что играю на уровни Easy. Просто на интерес. А тут тебе - загадка. Такая.
Еще была сцена с ящиком. Там ящик автоматически ездит. И можно за ним. Я долго наблюдал, как он двигается. Ящик. И сумел пройти за ним в открывающуюся дверку. И там был секрет. Я то думал вперед по уровню. А всего лишь секрет. Значок Квейка.
Заметил, что игрушка стала не просто беги вперед и немного поброди и всех пристрели. А вот база такая индустриальная, техно база. Кнопку нажми. Присмотрись к движению механизмов. Посмотри, что есть на сцене. Как-то хитрее стало.
Квейк – очень интересная игрушка, конечно. Разнообразная. Цветовая палитра очень радует. Дизайн всех объектов. Очень интересно все тут сделано. И стрельба, и исследование что ли такое есть. Ну прямо точно идеи для первого Half Life отсюда взяты.
Дима Линк делает ретро видеоигры, приложения, немного музыку и еще некоторое ретро.