TIME FOR AN UPGRADE

About a month ago I upgraded from my old Faithful 3770k, running on the Z77 MSI MPower motherboard with 32GB DDR3 1866Mhz ram to the following:

  • Intel i9 9900k
  • MSI MEG Z390 GODLIKE
  • 32GB HyperX 3466Mhz DDR4 RAM
  • Samsung Evo 970 500GB NVME
  • Intel Optane for my Primary Spinning Disk (a Seagate Barracuda 4TB)
  • Corsair Obsidian 750D
  • Corsair H150i All-In-One Water-Cooling Loop
  • Corsair RM1000x PSU

I have 13.5 TB of storage in total of which 500GB is NVME and 1TB is SSD.

The below CrystalDiskMark results show the difference Intel Optane makes, both benchmarks were run on Seagate Barracuda 4TB Drives, one with Optane enabled and one without:

Without Optane:

Seagate

With Optane:

octane

The difference in performance between the two drives is actually astounding.

IMG_6849

I am still running my GTX 1080 for the time being, however I did upgrade my Primary monitor to the Dell S2716DG, a 1440p 144Hz G-Sync monitor.

This was really a worthwhile upgrade and the new PC is performing great.

Here are some photos of my new setup:

TIME FOR AN UPGRADE

BOOK REVIEW – EXPLORE/CREATE MY LIFE IN PURSUIT OF NEW FRONTIERS, HIDDEN WORLDS, AND THE CREATIVE SPARK BY RICHARD GARRIOTT WITH DAVID FISHER

IMG_6577

Explore/Create is the memoirs of Richard Garriott, it tells the story of his life, from being the creator of the Ultima Games and starting Origin Systems with his brother, to his adventures in the arctic, visiting shipwrecks under the sea, and even his trip to space when he visited the International Space Station.

I am a huge fan of the Ultima games, a series of truly revolutionary PC role-playing games that were released between the early 1980s to the late 1990s. Each iteration in the Ultima series bought about something brand new, not only to the series but quite often to electronic gaming as a whole, for example the concept of morals and consequence that was introduced in Ultima 4, and to my knowledge this was the first time these kinds of topics had every really been addressed in a video game.  Or Ultima 7 that had the most realistic and immersive game world at the time, it is the first game I had ever seen where you could pick wheat in a field, grind it in a mill, then add water and bake a bread.

The Book also covers Richard’s many adventures, going places like the arctic, the amazon and even visiting the wreck of the Titanic.  And how he eventually followed in his father’s footsteps, astronaut Owen K. Garriott, when he traveled into space as a private astronaut with Roscosmos, becoming the second second-generation astronaut in history.

This book is a truly enjoyable and inspiring read and shows the full and rich life of a true polymath. I cannot recommend this book enough, so do yourself a favour and pick it up.

BOOK REVIEW – EXPLORE/CREATE MY LIFE IN PURSUIT OF NEW FRONTIERS, HIDDEN WORLDS, AND THE CREATIVE SPARK BY RICHARD GARRIOTT WITH DAVID FISHER

MOVIE REVIEW – BATMAN: GOTHAM BY GASLIGHT

IMG_6536

Batman: Gotham by Gaslight is a 2018 animated movie produced by Warner Bros Animation and DC Entertainment and is based on a one-off graphic novel by Brian Augustyn and Mike Mignola (originally published in 1989). The story forms part of the DC Else World series which places known characters in different timelines or realities and does not form part of the main DC universe continuity.

The story takes place in a Victorian era Gotham city sometime in the 19th century, which is strongly styled after London during the Victorian times. The story revolves around a killer, Jack the Ripper, who is terrorizing Gotham city and how the Batman is trying to apprehend him.

Various familiar characters make an appearance such as Poison Ivy, James Gordon and Hugo Strange, but they all take on different roles than the ones we know them for. For example, young Tim Drake, Dick Grayson and Jason Todd are in a street gang known as the Robins.

The movie is beautifully animated as with most DC animated movies and the voice acting is outstanding, Bruce Wayne\Batman is voiced by Bruce Greenwood, who does an exceptional job, however I do always find it slightly jarring when Batman is voiced by anyone other than Kevin Conroy.

This movie is immensely engaging and does a great job of bringing the graphic novel to life. It does have a major plot twist, that I will not spoil, that adds a real sense of surprise to how the story ends.

It is a great movie for Batman and DC Animated Universe fans and is a really enjoyable watching experience.

MOVIE REVIEW – BATMAN: GOTHAM BY GASLIGHT

BITE SIZE C# – LINQ

LINQ or Language Integrated Query is part of the Microsoft .NET Framework and it adds native data querying capabilities to .NET languages.

LINQ allows the user to query:

  • Objects in Memory (i.e. collections such as lists) using LINQ to Objects
  • Databases using LINQ to Entities
  • XML using LINQ to XML
  • ADO.Net Datasets using LINQ to Datasets

LINQ can either be implemented using predefined extension methods or alternatively using LINQ Query Operators.

Below are three examples utilising LINQ Extension methods:

In this example a list of Book objects is filtered to return only the Objects where the price is less than 10.

List<Book> cheapBooks = books.Where(b=>b.Price < 10);

 

In this example a list of Book objects is filtered to return only the Objects where the price is less than 10 and additionally the newly created list of Book objects is sorted alphabetically based on the Title field.

List<Book> cheapBooks = books.Where(b=>b.Price < 10).OrderBy(b.Title);

 

In this example the cheapBooks list is filtered to only return the Titles of the books therein and these Titles are then inserted into a new list of strings.

List<string> cheapBooksTitles = cheapBooks.Select(b=>b.Title);

 

Multiple extension methods can be combined to ascertain the desired results, for example:

List<string> cheapBooksTitles = books.Where(b=>b.Price).OrderBy(b.Title);
                                   .Select(b=>b.Title);

 

LINQ query operators tend to be slightly more verbose, and the above example can be implemented with query operators as follows:

List<string> cheapBooksTitles = from b in books
                         where b.Price < 10
                         orderby b.Title
                         select b.Title;

 

Some common extension methods are:

Single

var book = books.Single(b=>b.Title == ”Building Robots”);

Returns a single object that matches the defined criteria. However note that in the event that none or more than one book matches the criteria specified an exception will be thrown.

 

SingleOrDefault

var book = books.SingleOrDefault(b=>b.Title == ”Building Robots”);

Returns a single object that matches the defined criteria, if more than one book matches the criteria specified an exception will be thrown, however if no books match the criteria the default value defined will be returned.

 

First

Returns the first object that matches the criteria, however if no matches are found an exception is thrown.

 

FirstOrDefault

Returns the first object that matches the criteria and if no match is found the default value will be returned.

 

Last

Returns the last object that matches the criteria, however if no matches are found an exception is thrown.

 

LastOrDefault

Returns the last object that matches the criteria and if no match is found the default value will be returned.

 

Max

var maxValue = books.Max(b=>b.Price);

Max is used with numeric values and will return the highest value that is contained in the Price field in the Book objects.

 

Min

var minValue = books.Min(b=>b.Price);

Min is another operation used with numeric values and will return the smallest value that is contained in the Price field in the Book objects.

 

Sum

var totalPrice = books.Sum(b=>b.Price);

Sum is used to add up all the values in a numeric field.

 

There are many other methods available to filter and manipulate data in LINQ and the possibilities for the utilisation of LINQ are nearly endless, for example

var bookSelection = books.Skip(2).Take(3);

The above example will skip the first two books in the books list and take the next three placing them into the newly created bookSelection list.

The best option to gain a better insight of what is possible with LINQ is to give it a try.

BITE SIZE C# – LINQ

BITE SIZE C# – LAMBDA EXPRESSIONS

A lambda expression is a function definition with no name, no access modifier and no return statement. Lambda expressions are also known as Anonymous methods or functions.

The syntax for the definition of a lambda expressions is as follows:

(arguments) => expression

The below C# code does not use lambda expressions and is given as a comparative reference point:

static int SquareNumber(int number)
{
   return number*number;
}

static void Main(string[] args)
{
   Int y = SquareNumber(10);
   Console.WriteLine(y); // This will display 100
}

The above code can be refactored using a lambda expression as follows:

static void Main(string[] args)
{

   Func<int,int> square = number=>number*number;
   Console.WriteLine(square(10)); // This will display 100

}

The result of this refactor is fewer lines of code in order to achieve the same result.

Lambda expressions can also make use of Delegates as shows here:

delegate int squareDelegate (int number);

static void Main(string[] args)
{
   squareDelegate square = number=>number*number;
   Console.WriteLine(square(10)); // This will display 100
}

 

The syntax for a lambda expression that takes no arguments is as follows:

()=>expression

For one argument:

X=>expression

For more than one argument:

(x,y,z)=>expression

 

Lambda expressions can also be very effectively used with objects that implement the IEnumerable and IQueryable interfaces to filter or search based on defined criteria, for example:

var highPriceList = PriceList.FindAll(a=>a.Price>10);

This will return all items with a price larger than 10, and place these items in the highPriceList.

 

var nyCustomers = Customers.Where(a=>a.City==”New York”);

This will place all customers with the city property set to “New York” into the nyCustomers collections.

Lambda expressions are an extremely useful tool with many other uses.

BITE SIZE C# – LAMBDA EXPRESSIONS

REVIEW – AMAZON FIRE 10 HD (7TH GENERATION)

The Fire 10 HD is a tablet computer developed by Android. The one we are looking at today is the most recent iteration of this tablet, the 7th generation which was released in 2017.

The Fire 10 HD is a 10.1-inch tablet with a screen to body ration of approximately 71%. The screen is a 1920 x 1200 IPS LCD panel with a 16:10 screen ration and a screen density of 224 ppi. The screen is by far the best part of this tablet, it is bright, crisp and has a very large viewing angle.

 The Fire 10 HD has a Quad-core processor consisting of two 1.8GHz Cortex-A72 cores and two 1.4 GHz Cortex-A53 cores, making the tablet feel snappy and responsive. For a GPU the tablet uses the PowerVR G6250. The Fire 10 has 2 GB of RAM and comes in two variations for storage 32 and 64 GB but both can accept SD cards of up to 256GB.

The tablet has a VGA front-facing camera and a 2MP rear-facing camera which is capable of 720p video recording. The cameras are definitely the weak point of this tablet and to be frank they terrible to the point of being unusable. However, I have never actually used the camera functionality on any tablet I have owned so this does not really bother me.

The Fire 10 has a 3.5 mm stereo jack and the integrated dual stereo speakers implement Dolby Atmos Audio and they sound great, you can comfortably watch a movie without using headphones.

From a connectivity perspective the Fire 10 has dual-band Wi-Fi and built-in Bluetooth. The tablet has a micro USB connector used for charging the battery and data transfer.

The battery is advertised to last up to 10 hours and after 4 months of daily use I typically get 7-8 hours of usage between charges.

The tablet comes in three color options, red, blue and black and weighs in at around 500 grams.

fireback

A customized version of Android, called Fire OS, is used by Amazon on the Fire product range. This means that the default App store for the device is the Amazon App Store, however the Google Play Store can be easily installed to get access to the entire Android app library.

This device is great for content consumption, and this is predominantly what I use it for. From Amazon Prime video, to Kindle Books and Comic books, to Audible Audio Books, to Magazines, to Podcasts this tablet does an exceptional job at offering a convenient way to get access to a vast variety of content.

Since acquiring this tablet, I read significantly more comic books and magazines as I can easily and relatively inexpensively get access to them.

Now given all this, the real surprise of the Fire 10 HD is the price, coming in at $150(USD) if you opt for the Special Offer option, which means ads will be displayed on the lock screen of the device, or alternatively $15(USD) more to remove the ads. And given that the cheapest variation of the latest iPad is over $300 at present, this tablet offers exceptional value.

From a content consumption perspective, the Fire 10 HD is faultless. With access to the entire Amazon library of content, the selection is endless. So, if you are looking for a cheaper alternative to the iPad with a well-established ecosystem, or you are just looking for a convenient way to read your electronic books, comics and magazine the Amazon Fire 10 HD is a perfect choice.

REVIEW – AMAZON FIRE 10 HD (7TH GENERATION)

BOOK REVIEW – BATMAN: THE COURT OF OWLS AND BATMAN: THE CITY OF OWLS

The Court of Owls written by Scott Snyder and The City of Owls written by Scott Snyder and James Tynion IV, formed part of the New 52 line and was originally published from 2011 to 2012.

The main story focuses on mysterious secret society, The Court of Owls, operating in Gotham city who attempt to assassinate various high-profile individuals, including Bruce Wayne, using a group of highly trained assassins called the Talons.

The story does a great job of building a sense of history, covering several members of past generations of the Wayne Family and even a story focused on Alfred’s father, who served as a butler to Thomas and Martha Wayne when Bruce was a small child.

Gotham City is also fleshed out more than any other Batman story, making it feel like an important character in the story, not just a location therein.

Without spoiling anything, the story progresses at an amazing pace, building tension and mystery at just the right amount, making it a very difficult book to put down.

This story arc was the start of the New 52 Batman reboot and is a classic Batman story with great art work that pulls the reader in. It is a great place to start for people new to the Batman comic books series and is a must read for any fan of the Batman comic.

BOOK REVIEW – BATMAN: THE COURT OF OWLS AND BATMAN: THE CITY OF OWLS