Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Articles related to "engineering"


What's the purpose of Vuex?

  • Vuex is a Vue addon that acts as a central data store to all the parts of your front-end application.
  • A Vue application is composed of a lot of separate but coordinated components that, when put together, create a functioning front-end application.
  • Vuex can help do that by keeping all that data in one place and allowing all of these separate components to access and change it.
  • Vuex is a datastore that is used by all the components in an application to share data.
  • If every component knows to keep and get data in Vuex instead of individually and treat it as the source of data, that greatly simplifies your application.
  • It's there to keep all your runtime data in one place and accessible to all the components in your application.

save | comments | report | share on


Build your jokes generator using Machine Learning and Serverless

  • The most efficient method for building a machine that has human-like responses is using neural networks and deep learning.
  • In our situation, we want to restrict the domain of the jokes to one-liners, question style comedy which would make the training of our model more focused, essentially what we are doing is gently nudging the machine in the right direction.
  • The machine intelligence we are building is for text generation, a deep learning neural network that can make jokes.
  • I am a big fan of Python for its readability and because it is very closely evolving alongside JavaScript so many things feel familiar, it's also the other serverless language, and this makes it an excellent candidate to write an Azure Function that tells us jokes.

save | comments | report | share on


Getting started with Django 3.0 part 1

  • In this tutorial i will share with you how to build real world application with Django.
  • What is Django ?
  • Django is a high level web framework built in top of Python.
  • Who use Django ?
  • Django is used by lot of companies such as Facebook, Google, Pinterest, Mozila etc...
  • What we will build ?
  • We go to build a simple phone-book application, but the ideas in this tutorial is applicable in any application.
  • We will use Django CLI, it comes with very useful commands.

save | comments | report | share on


12 Days of Gitmas: Setting up Git

  • how do I get Git set up?
  • Today's Day 2, where I'll be helping you install Git on your computer.
  • By default, your computer doesn't come with Git installed.
  • The simplest way to install Git is to go to the Git website and click the Download button, and then follow the provided instructions.
  • Once you have Git installed, there are a couple more things you need to do to get Git running.
  • In order to do this, Git needs to be able to match the changes made to the project with the person who made those changes.
  • In order to do that, you'll need to set a name and email that you'll "sign" your changes with.
  • Git Bash is a terminal emulator that allows you to access Git on Windows.
  • Now you are set up to use git locally...

save | comments | report | share on


#newsBxJS Weekly Episode 93 - javascript news podcast

  • Hey dev.to community!
  • BxJS Weekly Episode 93 is now out!
  • 🚀 Listen to the best javascript news of the week in a podcast form right here.
  • Hi, I'm Tim. I talk about webdev, javascript and video games.
  • We're always making dev.to better.
  • Do you prefer sans serif over serif?
  • We're a place where coders share, stay up-to-date and grow their careers.
  • We strive for transparency and don't collect excess data.

save | comments | report | share on


So you want to make a Twitter bot (2/3)

  • Doing this is kinda cool because we are still doing a pointless shitposting exercise but we are using industry standard tools for this, which means this is a fantastic way to learn about fancy-ass things like CI or devops, or servers, or deployments, or containers all without actually doing any of the work.
  • You can set these via the terminal, but there's this handy little package on NPM that lets you set them in a file, the idea here is that you don't commit this file, and instead every computer that runs the code (every environment) has its own private and personal copy of these variables.
  • Now, we sure have wasted a lot of time but we haven't fixed the problem we were trying to fix where we want the thing to run on its own lol.

save | comments | report | share on


Java Microservices: A Practical Guide

  • Now you could come up with the idea to say: Well, the risk check service is being used by other departments in my company and it doesn’t really have anything to do with my Mono(lithic) Bank domain, so we could try and cut it out of the monolith and deploy it as its own product, or more technically, run it as its own Java process.
  • Synchronous microservice communication is usually done via HTTP and REST-like services that return XML or JSON - though this is by no means required (have a look at Google’s Protocol Buffers for example).
  • This means you can have a look at your Java bank monolith and try to split it along domain boundaries - a sensible approach.

save | comments | report | share on


#showdev🗣 Web Reader using Web Speech API

  • The textarea contents are checked if it's a plain text or a URL.
  • A SpeechSynthesisUtterance object (utterance) is like an individual speech request, which we initialize with the string and attach all the speech elements like voice, rate and pitch.
  • User can input URL or text on the textarea to read.
  • If it is indeed a URL, GET request to load the page and scrape the readable elements.
  • Some URLs error out so we catch the error, alert() user, clear the textarea and reset the form inputs.
  • The pause and stop are more or less similar with different controls disabled.
  • I used parcel for hassle-free no-config bundling, which is quite simple for vanilla JS projects like this.
  • (like on a better way to check if string is a URL 😅 ) Please let me know in the comments!

save | comments | report | share on


Greener Grass - Device Defender - Detect

  • AWS IoT Device Defender provides a suite of options for Audit, Detection and Mitigation of IoT related security threats.
  • When the next deployment of your Greengrass Core happens the Device Defender Connector will be brought up and should start logging metrics every 5 minutes.
  • Now that metrics are flowing in, we have to start creating some security profiles that define what bad behaviour looks like.
  • We want to setup a rule that detects a variation in the amount of traffic, and report information when the event does occur.
  • These selected metrics are data points that will be plotted for you automatically when digging into a security event.
  • Run the following command to create the security profile defined in the json file.
  • Look out for a future post on how we can setup some simple alerting for Device defender, and then even mitigate problems automatically using Mitigation actions.

save | comments | report | share on


I'm using Ant Design to build the frontend of a React, Node.js and GraphQL-powered PWA Manga Reader. Here's what I've got.

  • About Me: I've been a professional web developer for just over 10 years now.
  • I'm currently the lead web development instructor at Better Coding Academy, and as part of what I do, I post videos on our YouTube channel at https://www.youtube.com/c/BetterCodingAcademy.
  • Happy coding!

save | comments | report | share on