subscribe via RSS

  • Migrating from Wordpress to Jekyll

    A couple of weeks ago I got an email from Amazon Webservices informing me that one of my EC2 instances was operating on degraded hardware and was to be retired. Technically I’m prepared for such an eventuality thanks to docker, however it was still going to take a few hours More...
  • Deploying ASP.NET 5 projects to MyGet

    MyGet is a package repository and feed host that you can push nuget packages (amongst other things) at. Their free tier allows you to have public feeds at no cost, and I've been using it to distribute my ASP.NET 5 EntityFramework 6 packages. More...
  • ASP.NET 5 on the Amazon (Linux) Cloud

    Yesterday ASP.NET 5 RC1 was released. Yesterday was also a milestone for me as I switched over from my shared hosting provider for eggsbenedict.info to Amazon Web Services. This post details some of the obstacles I needed to traverse in porting eggsbenedict.info over from a full Windows-based ASP.NET 4.5 application to full Linux-based ASP.NET 5 application, and offers some open-source libraries that I have created to enable such a transition. More...
  • Optimising WordPress and MySQL docker images for Amazon EC2 micro instances

    After seeing that my Amazon t2.micro EC2 instance would happily crash itself by quickly using all available memory when a few requests were coming in, I realised I needed a solution that did not involve me having to reboot the instance and bring the containers back up with so little traffic. The following outlines what I did to reduce the memory footprint to 160MB. More...
  • I've finally confirmed that LaTeX is awesome.

    I finally got around to learning LaTeX this week, and after writing my first document in it, I hope I never write in Word again. All the technical documents I've written in the last ten years have been in Microsoft Word, but I've always felt that it wasn't the best tool for the job. It took a couple of hours to get started on a document, and the first day was a little slow, but after two or three days I felt not only that I was progressing faster than I would be with Word, but that the final output was of a much higher quality also. More...
  • Chrome Extension: Github Follow

    Github Folow When files are moved or renamed in git their history is abruptly cut short. You can include the history prior to rename by executing the following command: git log --follow path\to\my\file.md However, on github.com no such solution exists. More...
  • Gnashing of Teeth on the Bleeding Edge

    Well I got eggsbenedict.info running on my (linux) dev box as a docker image, but it took some effort. The current stack is AWS EC2 + S3, MVC 6 on Kestrel, Entity Framework 7 + Postgres, AngularJs but there's still some Knockout templates lying around. More...
  • Migrating to ASP.NET 5

    Note - The libraries I indicate as not supported are specific to projects targeting dnxcore50 and the coreclr runtime. Some of these items are still supported by dnx451 and the clr and mono runtimes. I've had a lot of success with porting eggsbenedict.info to ASP.NET 5, a few days ago I confirmed and tested a full port on Windows. More...
  • .NET Development on Linux

    Last week in a rage regarding how shit my host is, I signed up to Amazon Web Services (AWS), found out how awesome Docker and moved the blog over to AWS. The blog now consists of three Docker containers; one for wordpress, one for MySql, and the last one which performs a backup of the MySql data to an S3 bucket. More...
  • Country tracking for eggsbenedict.info

    To help motivate me add content to eggsbendict.info I've added this page to keep track of the number of countries the site indexes thus far. The aim is to get as many countries added as possible, and then change the page to some kind of world map thing I can use for marketing purposes. More...
  • TrendBet now does multiple regions

    TrendBet is a little more lively now with multiple regions, meaning a new round is triggered every one minute rather than every five. I'll let this run for a few days to collect some data and then I'll extend tweddit to index the regions also. More...
  • Regions taking longer than expected

    I wasn't expecting the addition of multiple-region functionality to TrendBet to take so long, but it seems I underestimated the required effort. I had written the application to auto-update the UI with the resolution of each round when the timer reached zero, at which point updates to the stash would also be displayed to the user. More...
  • New Project - Tweddit

    I was going to add badges to Trend Bet on Tuesday, which would put it in a good position for me to move on to something else. However, I had an idea and spent the day building it anyway. The name is stupid, but hints at the functionality - it's a way to view current and past twitter trends, ranked in a similar fashion to reddit. More...
  • Entity Framework Code First makes Views unpleasant

    Getting an SQL View into Entity Framework Code First is a real bastard. Especially if said view doesn't expose any non-nullable fields you can combine to create a primary key. Here's how I ended up achieving it. More...
  • Sunday, 30 August 2015

    Today was a bit of a write-off. No real progress on Trend Bet due to a couple of items and this had me feeling depressed that there wasn't any progression in getting to what I've chosen as the finish line for the project. As such, I've started this blog so I can look back over a given week and feel relaxed that although I might not be able to see any progress in a project, that learning and/or invisible steps have been made in the direction of the finish line. More...