I’ve been doing a lot of algorithms practice lately and I know that both slice and splice are vaguely floating out in the JavaScript universe. . . but I can never remember how to use them. So, I decided to put them both in terms I can understand and remember: baking.

SLICE

Slice returns a new array of selected elements that you’ve sliced out of an old array.

Think of a cake. You want to eat a piece of that cake. In order to do so, you must SLICE yourself out a piece.

Unlike real cake, the original cake (array) will…


I’ve been interested in Blockchain technology since before I knew I was really interested in Software Engineering. I attended a panel discussion at a Denver Startup Week discussing Blockchain basics, and was immediately fascinated, mostly because I didn’t understand most of what the panel was talking about. But it seemed like such a rebellious, anti-establishment piece of tech and I knew I had to learn more.

As I began to dig into coding, my interest in Blockchain only grew. For my final capstone project for Flatiron School, I decided to build my own Blockchain so I could better understand the…


Using the Web Speech API in a React Project is remarkably easy. The Web Speech API provides speech recognition and speech synthesis (text to speech aka tts). To use in your React Project, first run:

npm install --save react-speech-recognition

Then make a new functional Component in your project:

const Dictaphone = () => {
const { transcript, resetTranscript } = useSpeechRecognition()

if (!SpeechRecognition.browserSupportsSpeechRecognition()) {
return null
}

return (
<div>
<button onClick={SpeechRecognition.startListening}>Start</button>
<button onClick={SpeechRecognition.stopListening}>Stop</button>
<button onClick={resetTranscript}>Reset</button>
<p>{transcript}</p>
</div>
)
}
export default Dictaphone

Don’t forget to import SpeechRecognition at the top of your component file:

import SpeechRecognition, { useSpeechRecognition }…


WHERE TO START?

The Web Bluetooth API is some relatively new, experimental tech that allows a user to connect to a Bluetooth Low Energy (BLE) device straight from your web browser. It doesn’t yet have broad support from all browsers, but has compatibility with Google Chrome. In order to utilize the API, you must enable-experimental-web-platform-features in your Chrome preferences by visiting ://flags.

After that, it’s just a matter of writing some good, plain-old-Javascript asynchronous functions. I started playing with this tech by watching a video demonstration of the API by the very entertaining Niels Leenheer and following some of the examples in this…


Language is important. How we say things on a UI (user interface) of an application can be just as important as what we say. It’s important to make applications that are inclusive and accessible to everyone.

Be Gender Inclusive

“Guys” is not gender neutral. Using the “universal male” (aka referring to guys to mean ‘people’) assumes that the default human is male. Refer to a theoretical person as “they” instead of “he” or “she.” If you are collecting user data on gender, make sure a user can select a non-binary or ‘other’ option. …


If you’re a software engineer in training or a newly employed junior dev and you’ve never thought about Universal Access on the web, chances are you are what society defines as an “able bodied person” and it’s time to confront the bias in your own coding.

a graphic depicting a hand, eye, ear, and brain indicating various types of disabilities
a graphic depicting a hand, eye, ear, and brain indicating various types of disabilities

What is ableism?

Urban Dictionary: “Ableism is the discrimination or prejudice against people who have disabilities. Ableism can take the form of ideas and assumptions, stereotypes, attitudes and practices, physical barriers in the environment, or larger scale oppression. It is oftentimes unintentional and most people are completely unaware of the impact of their words…


an ice climber standing in front of a frozen water fall holding their ice tools
an ice climber standing in front of a frozen water fall holding their ice tools

As a software engineering student who just completed their first full stack application, I can honestly say that what intimidates me most about full stack development is the CSS. That’s right, I regularly risk life and limb to climb actual frozen water (that photo is me!), but I get the cold sweats over the box model, color theory, and font selection. When my friends ask me what kind of job I think I’ll end up in, I usually say something along the lines of, “Probably a back end developer because I’d rather make something work than make it pretty.” …

Kat Leight

Full Stack Developer. Prior Project Manager. Lover of cinnamon rolls and the great outdoors.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store