Finally reached the goal: Rails 3.2.6. The isn’t much change between 3.1 and 3.2 which is why I skipped 3.1. As there isn’t much front-end change, it means there isn’t any user-visible changes. Or at least there shouldn’t be.
- Move to jQuery
- Use paper_trail for versioning (or something else)
- Add SVG support (and maybe drop SWF support)
- Actual news ticker
- And more!
3.2.0 has been branched and currently running on yande.re (and konachan). The next version, 3.2.1 is on default branch and being tested on moe.myconan.net. As (finally) there are database changes, it will not be tested directly on yande.re until it is stable enough.
Changes include better support for JRuby, use mini_magick instead of custom plug-in, less monkey-patches (but more bugs), and various clean-ups.
As per title, I added my own reference of basic tasks after installing Ubuntu Server.
After working on it for several weeks, finally it got to the point where it’s relatively usable. No more Bundler-on-Rails2 evilry and the fact that 3.0 branch is still supported.
The best part is the one above. Yes, Moebooru now runs on Rubinius/Puma. The only foreseeable problem is it uses Process.pid on file uploads which, when several people uploading (or working with) files at same time, the temporary filename will collide.
Though due to me aiming more for workable implementation instead of correct implementation, there are quite a lot legacy stuff still in there:
- repeated_auto_complete doesn’t work in Rails 3 without vendoring or updating the gem itself (and I did both since Bundler’s git functionality seems broken in Rubinius).
- prototype_legacy_helper must be used since I haven’t had time to upgrade the *_remote functions (and still thinking how to do it).
- verification gem since I haven’t upgraded the route and its functionality, which previously built-in in Rails 2.3 has now removed.
- Unsightly lib/core_ext. Just look at evilry I have added to make it behave like 2.3-stable.
On the brighter side, now I can start cleaning up the code. Or upgrade all the way to Rails 3.2 ( ¬‿¬)
I haven’t been able to work on Moebooru for most of this month but I got to work on it this weekend. At ~30 changes, it went from -alpha to -beta.2 after receiving good amount of tests.
Summary of changes (more or less):
- Most instances of RAILS_ENV and RAILS_ROOT have been replaced with newer Rails.env/Rails.root
- Removed AssetCache modification library
- Replaced HTML5Sanitizer’s html5sanitize with Rails’ built-in sanitize (because the former doesn’t work in 1.9)
- Fixed Note Editor’s “History” button
- Fixed Comment page’s pagination
- Fixed Tag Relation search function
- Updated “hack” for UTF-8 handling in Rails 2.3 with Ruby 1.9
- Merged updates from moe branch (the one currently used in yande.re)
Since I forgot to branch the original source, the branching looked awesomely crappy. Therefore I decided to rebase entire thing to ease up keeping track with Moebooru “mainline”. All my commits are now in branch “default”. If you didn’t do any change, backout up to revision 9174b6b5b02d and then pull again. And then, don’t ever touch moe branch again anymore.
Apparently I forgot to restore original header when migrating the site. I decided to get a new header – an awesome (yuri) (ero)game cg from Hoshizora no Memoria.
Full size at yande.re.
Apparently now this blog is blazing fast. I’m not sure why but I sure can feel the difference.
I’ve done lots of changes on this site so I’m not sure which one did the trick most:
- Not using WordPress Multisite
- Moved to 64-bit OS
gzip-ed everything (er, most things)
- Used MySQL 5.5
Yeah, those are the changes. Also this site moved to all my four VPS’. Last (this) one is in Hostigation. Hopefully the won’t have the network problem like the one occurred sometime last month anymore. I enabled
ping plugin so I’ll have concrete data on what’s happened next time there’s network problem.
…and as it turns out, I set the expiration overly aggressive resulting in caching even the main page. Epic fail on my side.
Koi to senkyo to chocolate, an eroge from sprite just announced to get anime adaptation.
The January issue of ASCII Media Works’ Dengeki G’s Magazine is announcing a 2012 television anime adaptation of sprite/fairys’ Love, Election, & Chocolate (Koi to Senkyo to Chocolate) adult game on Wednesday. The 2010 Windows game follows the protagonist at a “mega academy” with over 6,000 students. To save his cooking club from being abolished, the protagonist agrees to run for student body president.
The art was good and as usual I have no idea what the story is about
And again, as usual, I need to prepare for art quality degradation compared to original art. At least I’m not a big fan of Akinashi Yuu (and Koichoco being the only eroge art he/she ever done) though it’ll still be sad seeing it degrades.
No information on animation studio or pretty much everything else.
Three months have (almost) passed, which means the contract for webhost I use almost runs out. Luckily I discovered this cheap VPS (thanks to LowEndBox) which accepts bank transfer as payment method.
Installed lots of things I did, and here I moved this blog. Powered by FreeBSD (woohoo), nginx and php-fpm. The RAM is a little bit small (256 MB) which means this site probably not as responsive as it used to be. Or maybe not. Tell me if you noticed any slowdowns!
Or maybe I should have chosen that Xen HVM option…
On other note, the DNS is provided by Free DNS. They’re so awesome, you should try it if you need managed (and redundant) DNS with IPv6 and DDNS support.
Well, looks like I can’t keep it consistent. Hopefully this one is the last one. Now animeBSD, the epic random something which resembles blog, got another address:
The main reason is I want to only take care of one blog. Well, there was only two (old one and previous one) but actually I planned to split the previous one to several blog by using WordPress multisite feature.
After several months though, it turns out using multisite is just like slowly killing yourself with poison. It’s useful for creating blog with many users but for one-man blog, it’s the worst thing to manage. Not to mention the ugly htaccess involved.
In the end, I decided it’s not worth the effort to split site. So here it is, united under one name again (no more Network.myconan!) and everything will be here. Including my posts at wordpress.com thanks to the cool WP Importer tool provided.
The import process wasn’t smooth for posts at blog.myconan.net and there’re crapload of broken links. I’ll fix them as soon as I can™. Until then, update your bookmarks!
Oh and I’ll use myconan.net for some other purposes. Mostly private thing and IPv6 thingy. static.myconan.net will still intact though and not going to be removed.
Update: added redirection on blog.myconan.net to ease handling of migration. Most images should be up again now.
Update 2: I just realized I lost all the tags. DERP.