1 line
7.2 KiB
JSON
1 line
7.2 KiB
JSON
[{"post_id":8,"post_title":"So long, WordPress!","post_text":"Once again in my endless consistency, I've decided to get rid of WordPress in favour of a custom system. This is a continuation to stuff I described in the <a href=\"\/blog\/4\">\"Personal\" website<\/a> post. I'm working on a redesign of the website, this is only a temporary slate to facilitate the removal of WordPress.\r\n\r\nAs mentioned in the linked post, major old links will still work for a while. Comments have also been backported even though there are few, there's just nothing to display them yet since this current layout is only temporary.","post_published":1550614196,"post_new_url":null},{"post_id":4,"post_title":"\"Personal\" website","post_text":"This is going to be a short post, but it's better than nothing (oops).\r\n\r\nEarlier this week I was thinking back on the earlier days of Flashii, back when that qualified as my personal site, and how I'd do something new with it at least every other week. This also made me realise that flash.moe has been stagnant for nearly almost over two years even though there's a number of projects that I could be posting stuff about.\r\n\r\nThis is not intended as an announcement or anything, but I might bring out a redesign sometime soon. I don't think I'll open source it since I might work with basic PHP\/HTML files and stuff since there really isn't a need for informational personal websites to run on elaborate MVVM\/MVC frameworks and designs. Especially if it means they barely get updated since updating the design accordingly is a pain.\r\n\r\nIf I do end up pushing this through I'll make sure that old links will remain working.\r\n","post_published":1517761750,"post_new_url":null},{"post_id":3,"post_title":"Make backups, kids","post_text":"So yesterday I had that biggest mindfart ever, while doing some maintenance to Testii, Flashii's public test preview, I deleted every file in the www folder.\r\n\r\nNow you're probably wondering; \u201cHow does that even happen?\u201d Well I wanted to purge the uploads folder so I did a rm -rf *, this was my first mistake since I should\u2019ve gone up a directory and rm -rf'd just the uploads dir or left the r flag out since the uploads dir doesn\u2019t have subs had it not been for the r flag only a single experimental file would\u2019ve been lost. But that still doesn\u2019t explain how I managed to delete everything which is where the real kicker comes in, I absentmindedly entered cd .. twice before executing the command... Yeah it just keeps getting better...\r\n\r\nI could blame rm for not having a confirmation, especially when using the r and f flags, but the fact of the matter is that I just fucked up and I\u2019ve accepted that. I should\u2019ve made backups and I should\u2019ve been more cautious before using a command that forcibly and recursively destroys everything in its path...\r\n\r\nAnyway, I guess I\u2019ll lay out the losses also. All databases were unaffected by all this so stuff I kept on git was back up within a 10-minute timeframe. A lot of archived stuff was lost, none of it was really important but it\u2019s mainly just sad that it\u2019s gone now. data.flashii.net is pretty much entirely gone which is kind of inconvenient since it was still used for some assets but fixing that is as easy as updating references to assets.flashii.net. I\u2019m also taking this opportunity to kill oniichan, since like everything on it is gone anyway, in favour of an archive section on flash.moe, despite the domain being really cute it costs me nearly \u20ac20 a year and it literally goes towards nothing.\r\n\r\nSo yeah, the morals of this story; don\u2019t use flags you don\u2019t actually need on commands and make backups... or just don\u2019t be me, that should work too.\r\n","post_published":1480955714,"post_new_url":null},{"post_id":2,"post_title":"Electron","post_text":"Something that's become popular in the past few years is Electron. If you don't know what Electron is it basically allows you to wrap a web application in a Chrome based window and have it run \"natively\" on Windows, Mac OS X and GNU\/Linux distributions, if you want to know more <a href=\"http:\/\/electron.atom.io\/\">go read up on it yourself<\/a>.\r\n\r\nNow you're probably wondering where I'm going with this. Well I think this is by far one of the worst things to have happened to systems development, despite being marketed as native it really should be \"native\". Yes it wraps around to give you access to native APIs such as Windows' notification system and such but at heart all Electron is is a Google Chrome window without a navigation bar, you could literally just launch chrome with the <abbr title=\"chrome --app=http:\/\/google.com\">--app directive<\/abbr>.\r\n\r\nI can kind of get why you'd want to use HTML and CSS to make UIs for desktop programs (believe me, XAML is cute but can be a bitch to debug), it's relatively easy to work with, does a lot for you and doesn't overcomplicate. Despite that you should be challenging yourself by learning something new instead of just shoving stuff you do already into an environment it shouldn't be applied in. A new challenge and the knowledge that comes with it is never bad!\r\n\r\nNot to mention the ridiculous amount of memory you'd need to run multiple Electron based applications at once, people are using the excuse of 'People have a lot of memory nowadays anyway' as an excuse to not memory manage their software properly which by far is the most dumb thing of all. Just because there's a lot of space doesn't mean all of it should be used, you need space to move around as well. I used to frequent a Slack organisation but basically just gave up on going to it because the application made my computer completely kill itself, and my <a href=\"http:\/\/flash.s-ul.eu\/JpqqggFD\">computer is pretty decent<\/a>. Considering that writing this same program in C#, or any compiled language really, it would run a million times better I just said 'fuck it' and stopped bothering. Now lets get the --app directive of Chrome back into this, if you'd use this instead of the \"native\" electron application and conserve memory space by using the already active instance(s) <a href=\"http:\/\/flash.s-ul.eu\/J5yvchxD\">as far as that's possible with Chrome anyway<\/a>.\r\n\r\nNow to hop onto a more controversial related side topic. The current situation with Chrome's dominance feels a lot to me like the situation with Internet Explorer back in the 90s, granted I wasn't actually there for that but you can make a few links to this and ActiveX which was finally fully deprecated and removed with the dawn of Microsoft Edge. Of course Electron isn't half as retarded as ActiveX was but certain links are there. That's how I feel about it anyway, feel free to call me retarded in the comments.\r\n\r\nWith that you can probably interchange Electron with Node.js for most of this post although Node is a tad less ridiculous, still would never seriously use either though which means my resources wouldn't be the ones being wasted in the end. I still don't really get why people would voluntarily choose to write Javascript when they have the countless other options.\r\n\r\nAnd alternatively you could just use your browser because most people have one open all the time regardless...\r\n","post_published":1463335056,"post_new_url":null}]
|