From 18cc5f69129615850e48a995f7c3406b74d8d2f4 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Sat, 5 Aug 2023 21:11:48 +0100 Subject: Redesign website --- pages/about.wiki | 61 ---------------------- pages/blog/steam-deck-workstation.md | 99 ++++++++++++++++++++++++++++++++++++ pages/contact.html | 59 +++++++++++++++++++++ pages/contact.wiki | 16 ------ pages/index.html | 42 +++++++++++++++ pages/index.wiki | 37 -------------- pages/kpnx.wiki | 98 ----------------------------------- pages/now.md | 16 ++++++ pages/spotify.html | 21 ++++++++ pages/template/blog.wiki | 2 - pages/template/incomplete.wiki | 1 - pages/template/sourcecode.wiki | 1 - pages/test.wiki | 9 ---- 13 files changed, 237 insertions(+), 225 deletions(-) delete mode 100644 pages/about.wiki create mode 100644 pages/blog/steam-deck-workstation.md create mode 100644 pages/contact.html delete mode 100644 pages/contact.wiki create mode 100644 pages/index.html delete mode 100644 pages/index.wiki delete mode 100644 pages/kpnx.wiki create mode 100644 pages/now.md create mode 100644 pages/spotify.html delete mode 100644 pages/template/blog.wiki delete mode 100644 pages/template/incomplete.wiki delete mode 100644 pages/template/sourcecode.wiki delete mode 100644 pages/test.wiki (limited to 'pages') diff --git a/pages/about.wiki b/pages/about.wiki deleted file mode 100644 index 383b1f5..0000000 --- a/pages/about.wiki +++ /dev/null @@ -1,61 +0,0 @@ -__PRIMARY__ -{{NAVBARSORTORDER:2}} -{{DISPLAYTITLE:About}} - -Hello! - -I am a student in the United Kingdom studying computer science at university. -I mainly enjoy building web services and have some interest in cybersecurity, though most of my programming experience is in Java. -Most of my public projects have something to do with ''Minecraft'', as it was through that game where I really got into programming and computer science. - -I also have an interest in physics, specifically astronomy. Had I not chosen to study computer science, I would have likely studied physics instead. - -== Projects == - -Most of my large projects are related to ''Minecraft''. -A lot of other projects aren't listed here simply because they aren't significant enough, and/or because I can't waffle on about them for long enough to fill a whole subsection. - - -=== Quests === - -{{sourcecode|[https://github.com/LMBishop/Quests LMBishop/Quests]}} [[File:questcompass2-256.png|right|150px|Quests logo]] - -Quests enables ''Minecraft'' server owners to create goals or missions for their players to work towards. -It is probably one of my largest projects in terms of both how many people use it and the time I've spent working on it. -As of writing, it is used by approximately 1,200 servers and up to 9,000 players each day. -Unfortunately, I lack the time to properly maintain it, but it is still a project which I am mostly pleased with, as it gave me a good bit of experience designing somewhat large Java projects. - -The main description page can be found on [https://www.spigotmc.org/resources/23696/ SpigotMC]. - -=== Next bus === - -Next bus is a small service which returns live bus data based on open telemetry. -I wrote it as my nearest bus stop lacked a departure board and I knew that bus timings were openly available online. -This was one of my first web projects, and while I admit the the front-end is terrible, it was never designed to look pretty or for anyone but myself to use. -This project helped me to both learn the basics of how the web works (...and to also stop turning up late to lessons). - -While I have no need for it anymore, it is still accessible at [https://leonardobishop.com/~/nextbus/ https://leonardobishop.com/~/nextbus/]. - -=== This webiste === - -{{sourcecode|[https://github.com/LMBishop/website LMBishop/webste]}} -This website was written in TypeScript, and it parses pages written in a markup language and renders it as HTML. -I could've simply written these pages as static HTML, but I hate myself so I decided to over-engineer this solution instead. - -There are some caveats with this system though, in no particular order: -* re-rendering pages are a pain after edits -* files are read from /static/image rather than /pages/file (which breaks the point of the entire namespace system) -* templates can't transclude other templates -* the Template namespace is the only transcludable namespace -* code is a bit wack in places -* I'm never happy with the visual design -* I don't actually know what to fill this website with - -=== u/YTLinkerBot === - -{{sourcecode|[https://github.com/LMBishop/ytlinkerbot LMBishop/ytlinkerbot]}} - -YTLinkerBot is a small reddit bot which automatically crossposts YouTube links to reddit whenever a creator uploads. -This bot was originally written in Java, but it is (mostly) in the process of being re-written with NodeJS. -This is due to the fact that it constantly hits the YouTube Data API quota, as it works by continously polling YouTube for each registered channel. -The new recode will use Google's WebSub service, though the challenge comes with having to automatically manage channel subscriptions for a service which anyone can sign up to, and right now I don't have the time to implement this. diff --git a/pages/blog/steam-deck-workstation.md b/pages/blog/steam-deck-workstation.md new file mode 100644 index 0000000..884282d --- /dev/null +++ b/pages/blog/steam-deck-workstation.md @@ -0,0 +1,99 @@ +--- +title: Steam Deck Workstation +date: !!timestamp '2023-08-03' +--- + +I have this dilemma. Do I: a) spend ages tearing down my PC so I can lug it onto +a train to take to my uni house and rebuild it again there, where it could +get stolen, or b) forego the PC and simply not have a desktop workstation / +gaming rig instead? + +Earlier this year, genius me came up with a third option: +convert my [Steam Deck](https://www.steamdeck.com/en/) +into a desktop PC instead! + +## Why + +While I was back at home over Christmas, I had played and really enjoyed +Overwatch 2, and wanted to keep playing once I went +back to university. Unfortunately for me, my laptop is both not powerful enough, +and not capable of outputting to external displays for Complicated reasons. + +The obvious solution would be to simply bring my PC, however I had a criminally +small desk at the time (which means I have absolutely nowhere to put it, not +even the floor), and it would take too much effort to bring back on the train +with everything else I brought home. + +I remembered I had recently bought a Steam Deck, which had been sitting in +my bag collecting dust, and figured I could try and turn that into my +desktop PC. After all, it *is* a device designed to be portable. + +## Testing Valve's claim + +Valve champions the fact that their Steam Deck can be used as a normal PC. +They have Windows drivers, and even sell a +[dock](https://store.steampowered.com/steamdeckdock), which I bought solely for +this purpose. + +Unfortunately Overwatch breaks when using Proton, which meant I had to install +Windows. This involves the tedious task of partitioning the Steam Deck. +Additionally, my scope had expanded to wanting to install a Linux environment +as well, so I could use it instead of my aforementioned dodgy laptop to work on +projects. + +
+ +
+ GParted running on the Deck. It was as annoying to use as it looks. +
+
+ +SteamOS is based off Arch, so in theory I could have just installed all +my packages on there and replaced KDE with by preferred sway. However, the root +partition is mounted as read only by default, and any changes made to it get +completely wiped whenever SteamOS is updated. No go. + +Instead, I repartitioned the internal disk and decided to do a triple-boot +setup: SteamOS (so I can still use it as it was intended), Windows (solely to +play Overwatch 2), and Arch (because I use Arch btw). + +
+ +
+ Internal drive partition table +
+
+ +As the Deck is only 512gb in size, I decided to go with booting Arch +off a microSD card, which would be left inserted in the Deck's built-in microSD +slot. + +## The experience + +For productivity, it was great. I managed to work on some projects using it, +got some university work done, and procrastinated a lot. + +
+ +
My university setup
+
+ +For gaming, it was not so great. Turns out running games on a 1080p +monitor is quite a bit more demanding than 720p. Overwatch 2 experienced quite +frequent frame drops, and Counter-Strike was even worse somehow. Not to mention +I was also on Wi-Fi, which means I'm rubber banding all over the joint anyway. + +There were some other issues too. The Steam Deck is nice and fast when a single +game open is in +[gamescope](https://github.com/ValveSoftware/gamescope). +However, when trying to use it as a general desktop PC, +its limitations start becoming much more obvious. Simple things like updating +the system with `pacman` left the system effectively unresponsive until it +completed. Loading a heavy program like IntelliJ also froze up the system until +it finished. I don't know if this is an IO bottleneck (this partition is booted +off a microSD card after all) but I did observe the same 100% CPU utilisation +when doing simple tasks in Windows too. + +## Conclusion + +Maybe just plug a laptop into the monitor next time. diff --git a/pages/contact.html b/pages/contact.html new file mode 100644 index 0000000..bb315a2 --- /dev/null +++ b/pages/contact.html @@ -0,0 +1,59 @@ +--- +stylesheets: + - /css/contact.css +--- +

Contact

+
+
+
+

name

+
+
+

+ Leonardo Bishop +

+
+
+
+
+

pronouns

+
+
+

+ he/him +

+
+
+
+
+

website

+
+ +
+
+
+

email

+
+ +
+
+
+

github

+
+
+ LMBishop +
+
+
+
+

subatomic particle

+
+
+

Neutrino

+

+
+
diff --git a/pages/contact.wiki b/pages/contact.wiki deleted file mode 100644 index 3ecc059..0000000 --- a/pages/contact.wiki +++ /dev/null @@ -1,16 +0,0 @@ -__PRIMARY__ -{{NAVBARSORTORDER:3}} -{{DISPLAYTITLE:Contact}} - -{{incomplete}} - -You can find me at: -* GitHub: [https://github.com/LMBishop https://github.com/LMBishop] - -You can contact me on: -* Email: contact (at) leonardobishop.com - -== PGP signature == -
-
-
diff --git a/pages/index.html b/pages/index.html new file mode 100644 index 0000000..df4cbae --- /dev/null +++ b/pages/index.html @@ -0,0 +1,42 @@ +--- +stylesheets: + - /css/home.css +--- +
+
+
+
+

who

+
+
+

+ Hello I'm Leonardo. I'm currently completing a degree in Computer Science + at university, and I like to spend some of free time working on projects + like Quests, or learning new tools and languages. +

+

+ You may see me around online using the nick "LMBishop". +

+
+
+
+
+

where

+
+
+ +
+
+
+
+

what

+
+
+

+ Feel free to look around. This is my personal site where I post about + things which interest me, or share stuff I'm working on. If you're not sure + where to start, check out the now page. +

+
+
+
diff --git a/pages/index.wiki b/pages/index.wiki deleted file mode 100644 index 64c1415..0000000 --- a/pages/index.wiki +++ /dev/null @@ -1,37 +0,0 @@ -__NOTITLE__ -__PRIMARY__ -{{NAVBARSORTORDER:1}} -{{DISPLAYTITLE:Home}} -
-██╗     ███╗   ███╗██████╗ ██╗███████╗██╗  ██╗ ██████╗ ██████╗ 
-██║     ████╗ ████║██╔══██╗██║██╔════╝██║  ██║██╔═══██╗██╔══██╗
-██║     ██╔████╔██║██████╔╝██║███████╗███████║██║   ██║██████╔╝
-██║     ██║╚██╔╝██║██╔══██╗██║╚════██║██╔══██║██║   ██║██╔═══╝ 
-███████╗██║ ╚═╝ ██║██████╔╝██║███████║██║  ██║╚██████╔╝██║     
-╚══════╝╚═╝     ╚═╝╚═════╝ ╚═╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚═╝     
-
- -Hello! 👋 - -I'm '''Leonardo Bishop''', a programmer studying computer science full-time at university. - -You can check out my projects on the [[about]] page. - -== New website == - -This new website is written in TypeScript and these pages are witten in wikitext. - -The source code for this website is available on [https://github.com/LMBishop/website GitHub], freely available under the ISC licence. (If you have suggestions on how to improve it, specifically how the code is designed, please let me know!) - -== Accessing old content == - -All traffic to leonardobishop.com is now redirected to this new website. To access old content on here, you should prepend the path with a tilde (~). - -For example, the following -
-https://leonardobishop.com/nextbus/
-
-will become -
-https://leonardobishop.com/~/nextbus/
-
diff --git a/pages/kpnx.wiki b/pages/kpnx.wiki deleted file mode 100644 index 099a133..0000000 --- a/pages/kpnx.wiki +++ /dev/null @@ -1,98 +0,0 @@ - - diff --git a/pages/now.md b/pages/now.md new file mode 100644 index 0000000..1713514 --- /dev/null +++ b/pages/now.md @@ -0,0 +1,16 @@ +# Now + +Learning Rust. Trying to understand the hype. + +Working on [murder](https://github.com/LMBishop/murder), a port of the classic +gmod game mode by Mechanical Mind for [s&box](https://sbox.facepunch.com/). + +Trying to expand the number of things I can Actually Cook. + +Enjoying the relative freedom and lack of stress during the few weeks I have +after the end of semester, and before my year long placement. + +
+ +*I update this page every so often with what I'm up to. Its contents are +ephemeral, I do not keep a log of them.* diff --git a/pages/spotify.html b/pages/spotify.html new file mode 100644 index 0000000..b0110ba --- /dev/null +++ b/pages/spotify.html @@ -0,0 +1,21 @@ +--- +scripts: + - /scripts/spotify.js +--- +

Spotify

+ + This is a work in progress once I figure out Spotify's tedious + authentication flow. + +
+ + + +
+ +
+
+ + This page shows what I'm currently listening to on Spotify. + It requires JavaScript to work. + diff --git a/pages/template/blog.wiki b/pages/template/blog.wiki deleted file mode 100644 index 92b60bd..0000000 --- a/pages/template/blog.wiki +++ /dev/null @@ -1,2 +0,0 @@ -Blog post • {{{date}}}
-
diff --git a/pages/template/incomplete.wiki b/pages/template/incomplete.wiki deleted file mode 100644 index 126992f..0000000 --- a/pages/template/incomplete.wiki +++ /dev/null @@ -1 +0,0 @@ -
🛠 This page is a work in progress! Some information may be missing, incomplete, or out of date.
diff --git a/pages/template/sourcecode.wiki b/pages/template/sourcecode.wiki deleted file mode 100644 index 28ea390..0000000 --- a/pages/template/sourcecode.wiki +++ /dev/null @@ -1 +0,0 @@ -: ''Source code available at {{{1}}}'' diff --git a/pages/test.wiki b/pages/test.wiki deleted file mode 100644 index efb04e8..0000000 --- a/pages/test.wiki +++ /dev/null @@ -1,9 +0,0 @@ -{{NAVBARSORTORDER:4}} -{{DISPLAYTITLE:Test page}} - -This is a test page -* somewhere -* somewhere else - -== Heading == -Content -- cgit v1.2.3-70-g09d2