Site updates
Made quite many changes in the past week, and counting changes I've been planning since last October (maybe November), that added up to about 90 commits, either major or minor. First, I decided to use the traditional format of query strings. I'm using many htaccess rewrite rules for this currently, but it's not flexible and once I wanted to add new features, I have to deal with more rewrite rules. It's simply much more convenient to just redirect the desired link for each script, and thus multiple queries can then be linked by "&" without much headache. So why from the beginning I ever wanted to use so many redirect rules? It's not possible that I did it because I think the "?x=y" format isn't pretty, but I couldn't think of any other reasons. It might remain as a riddle, which isn't important anyway.
Updating php codes was straightforward enough. The only trouble I had with this was updating existing links I put in my journals. Not a hard task. But since the total number of them was not so large that I chose to do it manually, which saved the time of debugging but also reduced much of my patience.
Updating php codes was straightforward enough. The only trouble I had with this was updating existing links I put in my journals. Not a hard task. But since the total number of them was not so large that I chose to do it manually, which saved the time of debugging but also reduced much of my patience.
Second and more importantly, I implemented the long-wanted CSS switcher. This idea came out last year when I was browsing Iroshizuku inks (but still just bought from another brand due to their price), so I wanted to make a set of themes and switch them periodically. Then the StackOverflow's once fun-to-try CSS switcher came into my mind again. This would be fun to change the CSS with one click. Although I've considered both the server side and client side, the former is easier to code since I don't have to worry about CSS file updates in situ (while I also considered using a query string, like theme=xxx, to call up for certain themes, which indirectly contributed my returning-to-traditional-query-format task), which is the most likely preferred to be done in javascript, the latter is more challenging but more flexible.
With the former as my backup plan, I luckily found some nice online snippets and eventually (don't want to spend more on this record) got the latter plan to work. My past experience with Perl/CGI cookies was bad, but this time, PHP handled most of it without any issues I could notice.
With the former as my backup plan, I luckily found some nice online snippets and eventually (don't want to spend more on this record) got the latter plan to work. My past experience with Perl/CGI cookies was bad, but this time, PHP handled most of it without any issues I could notice.
Finally, I just noticed using PHP's http response code function to call 404 and then die can't bring up the browser's built-in error message like how it used to. The reason was unknown. Maybe it means it's time to make my own error page, but I'm not motivated (yet).
☆゚・*:.。.☆゚・*:.。.☆☆.。.:*・゚☆.。.:*・゚☆☆.。.:*・゚☆.。.:*・゚☆
A tiny step, some progress
Another good thing, I made forward my CST -- which stands for Cute Souls Tarotkarten -- project and it's finally 1/78 done, including only the final works!
Maybe I should say 1/79 done, since I also need to work on a card back design, regardless of how simple it might be.
Maybe I should say 1/79 done, since I also need to work on a card back design, regardless of how simple it might be.
No. 9, the Hermit, the first card I got.
Just at the moment when I wrote its number in regular digits, I realised it's actually the mighty No.9, nice to have it as the very first card! (*´∀`)
The design stage came rather quick. The traditional Hermit card shows one holding a lantern --> skull lantern --> somewhere dark --> New Londo + some ghosts --> the crimson sealer's costume.
I did spend some time thinking about the location. Originally wanted to go near the water but the pillar zone looked more fun -- not fun to draw though.
The ghosts were not initially there, and I simply found it fun to have them, in a non-harmful cute form.
I did spend some time thinking about the location. Originally wanted to go near the water but the pillar zone looked more fun -- not fun to draw though.
The ghosts were not initially there, and I simply found it fun to have them, in a non-harmful cute form.
Learning a few from Saito-sensei's channel. Even though it's not a lot, I do find I'm making more use of my tablet's full potential. That's progress and I'm self-satisfied. Will watch his shadowing technique, in the future when I have time. But until then, I guess I won't change my current shadowing style, which may be physically off. ┐(・ω・)┌
Maybe the final card should be of a simpler look? But I won't change it at this point.
I just wish I can work faster on this since I definitely don't want to spend 6.5 years on the whole project. (つд⊂)
I just wish I can work faster on this since I definitely don't want to spend 6.5 years on the whole project. (つд⊂)
☆゚・*:.。.☆゚・*:.。.☆☆.。.:*・゚☆.。.:*・゚☆☆.。.:*・゚☆.。.:*・゚☆
Time to add some tagging system to my site. (・д☆)キラッ