A Little Wondering
I installed Visual Studio 2015 the other night and was just poking around and stumbled upon the Cordova Project Template that is provided. This not necessarily that new, but is new to me as I spend most of my time these days working on a Mac doing iOS, Docker (for server-side stuff) and other projects. Though, I miss and still enjoy the benefits of Visual Studio for some projects.
While looking over the project template, I was surprised to see a familiar folder structure
typings/cordova/* in the project.
Why is this folder structure familiar?
Another example of the folder structure, while I can't say for certain, but I can only guess that when the winjs started converting over to TypeScript that they chose to put their type definitions into the same structure. I won't claim to have inspired it, but would be cool to say I did.
It was a bit surprising and humbling to discover Microsoft had in one of their default templates a reference to some TypeScript type definitions that (while I didn't have anything to do with the creation of the definitions, nor DefinitelyTyped) I did created the simple little utility that runs continuously up on TeamCity.CodeBetter.com and tirelessly updates NuGet packages as they change over on DefinitelyTyped.
This reminded me, that I hadn't checked up on the NuGet user account for DefinitelyTyped in quite a while so I decided to head over to the NuGet.org, take a glance at the account and check out how many downloads there had been?
** HOLY Typings **, there've been over 2 million DT type definitions?
This little ditty was neat to find. I haven't done a ton with TypeScript in a while, but it's quite amazing to see the traction it is starting to gain.
This means that the TeamCity over at CodeBetter has pretty much been cranking out new and updated DefinitelyTyped TypeScript definitions for almost the last two years, but it's time to re-visit...
Thanks TeamCity @ CodeBetter
Before all of the new, cool, and hip online continuous integration systems came to be, one of the only free options for open source was an instance of JetBrains TeamCity over at CodeBetter and I'd like to throw out a big thank you for those at CodeBetter who put the time and effort into hosting this service for many of the .Net OSS projects out there.
I recently ported this job to an AppVeyor build for the DT project and after a quick round of using their wonderful support to work through a hurdle, I completed a new build at AppVeyor that replicated the one originally hosted on the TeamCity server.
So a HUGE thanks to AppVeyor for creating such great product, and offering free builds to the OSS community.
I'll keep an eye on the new build for a while (before I forget about it) and hopefully it'll run for another long time to come.
Happy TypeScripting!Read More
In summary I left my Octopress blog behind quite a while ago, and this site has been statically generated with a custom tooling build up around gulpjs and node.
Some of the details...
It was also right around the time that GulpJS came out and I needed a project to play around with...
So I did what every developer does. I wrote my own.
Using Approvals.NodeJS to capture previous renderings of the Octopress generated version of staxmanade.com, I was surprised at how quickly I ported my Octopress generated site to a new custom static site generator.
I'm not writing this to convince you to leave Octopress for anything (especially my home-grown tool), but felt compelled to get a blog post out describing some of the cool little features I've implemented.
Personal struggles with Octopress:
- Octopress site generation was too SLOW for me. There's even a helper rake task that moves your posts to a temporary folder to exclude from generation when you want to quickly see the post you're working on generate fast, but this just bothered me from a fundamental level.
- I'm not a Ruby developer and don't have the ability or desire to fork/maintain Jekyll or Octopress. I wanted to have something that I pretty much owned. (yea - that comes with a larger maintenance burden, but meh - I'm a developer and its part of the process)
- Disliked that every time I
rake gen_deployI didn't know the exact code-diff that was changed since the previous version. I'd like to know exactly what files have changed and how they have changed before they get deployed. (again, there's probably a solution here, but didn't really care to dig deeper)
- There's an issue on Windows where you end up mucking around with the codepage, which made working on things a bit of a headache.
So what did I end up with?
I now have a statically generated site all powered by
gulp and a small library/command line tool I've thrown up here: Togglejs.
How is this better ~err~ different?
- Regenerating my site only takes about 6 seconds (as opposed to the Octopress 30+)
- I learned gulp, and node.js streams along the way.
- Built by myself — which was a good for the learning experience.
- Don't have to set the codepage to
65001for Windows machines.
- Series support.
- I've implemented two different features for supporting a series. One allows me to control through YAML front matter posts and how they tie into a series topic. Another feature allows me to write out a series in a single markdown file, where I can specify a delimiter to split the articles up by. I may blog more about these in the future as they're a feature I've quite liked and was relatively easy to implement using my custom site generator.
- Easy post tagging for a custom feed that gets cross-posted to elegantcode.com
- The tog is easy to extend with custom commands and has a number of pre-built commands already ready to go.
Since I've not put a huge amount of time into it - and I haven't exactly developed it to be a competitor to Octopress or other static site generators, it pretty much has just what I need it to have at the moment and not really anything more.
How is this worse?
- I have to maintain it (this is both a blessing and a curse) - don't get the benefits of bug fixes by hundreds of contributors to Octopress.
- I haven't yet ditched the Octopress theme, so that change will be coming at some point.
- I don't have any automated process to deploying changes. So I can't just create a post on my phone, save to my repo and expect it to automatically show up online - but have ideas on how to do that.
gulp watchis not working correctly and it's not yet wired up to
livereloadwhich would be a nice next step...
This is my site so it's all up to me to make it right...
It's been a pleasure to build this up and just a fun little project to hack on (as if all the other OSS projects I hack on aren't enough).Read More
I'm writing this email to announce an early sneak peek into a project I've recently started to put some of my free time towards. Here's a preview from a small landing page I've recently put together.
If you, like myself, felt like the Xbox One platform was missing an essential Podcast player app, then you have come to the right place.
Have any interest in following along with me in this journey?
At the bottom of this page is a form, if you share your name and email, you'll get early access and an insider's view of the process of building an Xbox One application.