Hi there 馃憢

I’m a Business Intelligence Developer based in UK.

Custodes 1k - v2

Boarding Patrol Faction: Imperium Sub-Faction: Adeptus Custodes Points: 1,000pts HQ Trajann Valoris Troops 3x Custodian Guard Squad 5x Prosecutors Squad Elites 3x Allarus Custodians Contemptor Achillus Dreadnought Fast Attack 3x Vertus Praetors

March 22, 2023 路 1 min 路 matt40k

Tyranids 1k - Hoard

Boarding Patrol Faction: Xenos Sub-Faction: Tyranids Points: 1,000pts HQ Broodlord Troops 20x Hormagaunts 20x Hormagaunts 20x Termagants 20x Termagants 3x Tyranid Warriors 3x Tyranid Warriors

March 22, 2023 路 1 min 路 matt40k

Custodes - Boarding Actions

Boarding Patrol Faction: Imperium Sub-Faction: Adeptus Custodes Points: 500pts HQ Trajann Valoris Troops 4x Custodian Guard Squad Elites 2x Allarus Custodians

March 17, 2023 路 1 min 路 matt40k

Custodes 1k

Boarding Patrol Faction: Imperium Sub-Faction: Adeptus Custodes Points: 1,000pts HQ Shield-Captain in Allarus Terminator Armour Troops 3x Custodian Guard Squad 3x Custodian Guard Squad Elites 3x Allarus Custodians Contemptor Achillus Dreadnought Fast Attack 3x Vertus Praetors

March 17, 2023 路 1 min 路 matt40k

Achillus | Adeptus Custodes

Adeptus Custodes Contemptor Achillus Dreadnought with dreadspear and twin adrathic destructor.

February 3, 2023 路 1 min 路 matt40k

Container

Finally got round to painting my TTCombat container, I took out one of the panels and used some left over sprue that I bent to look like the genestealer was bursting out.

February 1, 2023 路 1 min 路 matt40k

Salamanders

Back in September 2021 I started getting back into Games Workshop鈥檚 Warhammer 40,000 universe after a long stint of being out of the game due to other more important life commitment taken over. I started by collecting the hideous, insectoid xenos Tyranids which I decided to plan in the traditional Genestealer colours of blue and purple. After a while and many thousands of points later, I grew bored of painting blue and purple....

January 10, 2023 路 1 min 路 matt40k

Test

Testing shortcodes

January 8, 2023 路 1 min 路 matt40k

Power BI failed to refresh - exception was raised

I was recently seeing alot of Power BI data refresh failures on newly created environments, however existing environments would be fine. The errors that were occuring were as followed: Failed to save modifications to the server. Error returned: 'Attempt to read when no data is present.. The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action. The command has been canceled....

October 3, 2021 路 2 min 路 matt40k

New Year tech clean up

Well as another weird year begins I鈥檝e managed to break some time off to do a bit of housekeeping. I鈥檝e remove some old forks, added licenses, tags etc. I鈥檝e also been renaming the default branch to main. git branch -m master main git fetch origin git branch -u origin/main main

January 17, 2021 路 1 min 路 matt40k

Invoke-SqlCmd Failing

A really annoying problem I hit recently with a some Azure Runbooks was the following message occuring: Invoke-Sqlcmd : The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing, ProcessRecord, and EndProcessing methods, and they can only be called from within the same thread. Validate that the cmdlet makes these calls correctly, or contact Microsoft Customer Support Services. After doing some digging, I found out that Invoke-SqlCmd isn鈥檛 thread safe, so other runbooks running on that Azure Automation account, could interfere with each other....

July 16, 2020 路 2 min 路 matt40k

HP Laptop review

It鈥檚 the time again that I go in search of a new laptop to replace my current one. Following on from my previous success with the Toshiba laptop - buying cheap and upgrading the RAM and HDD. I went in search of a cheap laptop. My requirements remained all but the same except for a Full HD screen. I once again settled on a Intel CPU. I did spent a large amount of time trying to find a AMD Ryzen based laptop and although they seem good I just couldn鈥檛 seem to find the right one, most seemed to have a optical drive which nowadays seems like a waste of money and just adds pointless weight to the laptop....

January 22, 2020 路 4 min 路 matt40k

Version control in PowerBI

Power BI is a awesome self-service reporting tool that has a low-level of entry for new comers, that allows end-users (ie Non-IT folks) to deliver elegant insight into data via interactive reports. It鈥檚 biggest flaw however is it doesn鈥檛 have any kinda of code version control support. Like it鈥檚 impossible. Various people/companies have developed hacky solutions however this goes against Power BI core design of being a simple, self service tool....

February 28, 2019 路 3 min 路 matt40k

Auto refreshing PowerBI

One of the problems we hit today was getting a Power BI to automatically refresh. The underlying data is updated every 5 mins, however the actual Power BI only refreshes when the user interacts with the report despite using DirectQuery. To overcome this, we鈥檝e built a simple HTML page that used a bit of JavaScript magic to force a refresh and the new Secure Embed feature. First, we need to get a code for the report, open the report then click File > Embed (You can select 鈥楶ublish to web鈥 - this means you don鈥檛 need to login to view the report, however anyone in the world could access the report)...

January 22, 2019 路 2 min 路 matt40k

Microsoft christmas

Power BI Secure embed codes - allows easy sharing of Power BI reports. The public embedded codes - publish to web - has been out for a while that allows you share the Power BI reports that the anyone on the Internet (unauthenticated members of the public) should be able to see. The key difference is the secure part of the name. Users will need to authenticate, this does of course mean they will require either a Power BI Pro license or the report will be using the Power BI Premium capacity....

December 18, 2018 路 2 min 路 Matt Smith

Monzo

Monzo is a digital only UK bank. It is fully authorised in the UK by the Prudential Regulation Authority (PRA) and regulated by the Financial Conduct Authority and the PRA. Simply put, if Monzo goes belly up, your money is protected. If you are over 18 years old and have a Android or iPhone (as it鈥檚 app only), it鈥檚 worth signing up, it takes minutes. Especially whilst they are giving away 拢10 for new customers!...

December 10, 2018 路 1 min 路 Matt Smith

Power BI folders

One of the annoyingly missing features in Power BI is the ability to organize fields into folders to allow users to easily find them. Luckily the amazingly animated Will Thompson posted an update on Power BI Ideas, which has received over 400 votes, that it has been developed and is available as a preview feature in the Nov'18 Power BI Desktop release. The display folders are part of the new modeling view....

December 7, 2018 路 1 min 路 matt40k

Remember a business is a business

At the end of the day, a business is a business. It鈥檚 sole job is to make money. There isn鈥檛 anything wrong with this, I like getting paid each month, it enables me to be to, you know, buy food and keep a roof over my head. Once you accept you need money to live in today鈥檚 society you can kinda see how a business needs to make money and if you can reduce costs it, brillant....

November 24, 2018 路 2 min 路 matt40k

vardecimal support is enabled for the database but disabled for the project

I had a bit of a weird one where one of the SSDT projects failed to deploy. The package would successfully deploy locally, but failed from the deployment server. An extract from the log: vardecimal support is enabled for the database but disabled for the project. See SQL Server Books Online for more information about how to turn off vardecimal support. The short version of the story is the deployment server was trying to msdb....

October 1, 2018 路 1 min 路 matt40k

API

Towards the end of last year I was writing .net core AWS Lambda. I was super impressed with how .net core (and even PowerShell) works on Linux. I would have to say C# is by far my favorite programming language, the only exception might be T-SQL and the idea of being about to write code and get it to run on Linux is amazing. Mainly because Linux servers are, to be blunt, cheaper....

June 8, 2018 路 2 min 路 matt40k

Renaming a SQL Server

So you鈥檝e renamed your SQL Server, but something isn鈥檛 right. Returns the old name. The fix is simple. You just need to restart the SQL instance and @@servername will return the correct name. More info on the Microsoft Docs. On a similar note, Octopus Deploy has similar annoyance, the server name doesn鈥檛 update for the server node. Again simple fix for this simple annoyance: The other thing that can get missed is the SQL Jobs....

May 7, 2018 路 1 min 路 matt40k

SSRS Error - There is an error in XML document (2, 2)

I got this error when opening an SSRS project in Visual Studio. The solution. Upgrade SSDT. Turns out my colleague had a higher version of SSRS component - if you go, within Visual Studio, Help > About it will give you the version number of Visual Studio then the individual component versions.

March 20, 2018 路 1 min 路 matt40k

Predictions

Here are a few of my predictions based on my experiences over the last few months. First. Azure Data Catalog is going to be massive in the near future (18 months). The (hopefully) future integration with the new SQL Data Discovery and Classification is going to help massively with GDPR. Secondly, Chris Webb is going to become very popular. With Azure Analysis Service, the big question is optimize or scale. The killer feature for any monitoring tool aimed at the BI market is going to have to answer that question....

February 27, 2018 路 1 min 路 matt40k

Bye bye Startcom

In the old days, you would have to throw money at a trusted Certificate Authority (CA) who would sell you a SSL certificate. The alternative was to self-sign or use someone like cacert, the problem is out-of-the-box, no browser\OS supports this so you get a security warning, which isn鈥檛 something you want when your trying to be secure. StartCom, was a trusted CA who issued free SSL certificates. Microsoft Internet Explorer, Google Chrome, Mozilla Firefox all trusted StartCom which means you could get a free SSL certificate without the warnings....

December 3, 2017 路 3 min 路 matt40k

Troublesome CSV

Another day, another source of bad data. This time, it was a CSV. As you can see, the format changes mid file. This makes importing tricky. The way I tend to handle importing into SQL is to create staging tables with all the columns defined as varchar, then, once its imported into SQL, then convert it. The problem occurs when you try to determine the number of columns required. Traditionally, we let the system auto determine how many columns we have, and if we have headers, define the names, unfortunately because the format changes we can鈥檛 do this otherwise it will ignore the additional columns - assuming the first row doesn鈥檛 contain all the columns....

December 3, 2017 路 1 min 路 matt40k