Rob's Blog

Jack of all trades, master of... some

Installing brain.js

If you get an error like “Install Error: Can’t find Python executable”, you may need to install windows build tools, the command to run is npm –add-python-to-path=’true’ –debug install –global windows-build-tools You may then hit some issues with TSLint and… Continue Reading →

writeFile, createWriteStream + writing to .json causes node crash

When using the fs module to write to files, sometimes you’re going to write to a JSON file. const contentStream = fs.createWriteStream(            “./src/utilities/corpus/corpora/” + fileName + “.txt”,            {flags: “a”}        ); or fs.writeFile(     “./src/utilities/corpus/corpora/” + fileName + “-master.json”     , JSON.stringify(masterList)     , (err) => {          if (err) { throw err; }         console.log(“Data written to file”);     }); I’ve found that this can cause what seems like node to crash out… Continue Reading →

graphQL cache

There are a few schools of thought on this graphQL as an api gateway, meaning you can leaverage the restful http cache… but you have to build a restful api too cache at the resolver level, which could be done… Continue Reading →

GraphQL basics

This is my introduction to graphQL, and at the moment just a dump of working code

Webpack, Bootstrap/Reactstrap and CSS Modules harmony

Seeing a few debates and helping a few people with this subject, I thought I would put my 2 cents onto digital paper. So to me, the problem starts because you want the speed and robustness that bootstrap offers, but… Continue Reading →

React and Bootstrap guide and tips

work well together although really you don’t want to use bootstrap javascript as thats changing the dom which you want to leave to react, Reactstrap – suggested react-bootstrap – with care as stuff like the navbar toggler doesnt work without… Continue Reading →

Node, Express, Websockets, React, Redux = Magic

Guide on web sockets in React and Redux

Monolithic Vs Microservices Architecture: Where to start?

I’m sure you’ve read at least five articles titled: the Monolithic Vs Micro services architecture… and if this is your first one, then I’d probably suggest first watching Mastering Chaos – A Netflix Guide to Microservices to get a good… Continue Reading →

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

Do you know about ‘Let’s Encrypt’?

So this Post comes from finding out some people I know are still paying good money for SSL certificates Just to be clear, it takes about 2-5 minutes and is entirely free with an auto renew feature. I’d say a… Continue Reading →

© 2019 Rob's Blog — Powered by WordPress

Theme by Anders NorenUp ↑