Photo by Markus Spiske on Unsplash

The Fetch API in JavaScript is a simple interface for fetching resources over the internet. Fetch makes it easier for us to make web requests and handle the responses. This feature is built as a Promise-based JavaScript API for making asynchronous HTTP requests in the same way as the old XMLHttpRequest (XHR). Fetch is a simple and powerful way to fetch resources from a server.

In this article, I would like to share my understanding of this. Because earlier, I had found Fetch to be really hard to understand. But actually, it’s not as hard as some may think. To…


Photo by britt gaiser on Unsplash

PDF files are lightweight tools to share readable object among devices. As you know also, a ‘PNG’ is a picture format. A picture is more easier to read and supported for all devices. This article will be short, I just want to share about how to convert a ‘PDF’ into ‘PNG’ files using Python.

The pdf2image package can help us for turning a ‘PDF’ file into ‘PNG’. In this article, I just want to improve his project a little bit. The purposes is to make converting a PDF into PNG more easier. Without more talk, let’s do it.

Requirements

The first…


Photo by kaleb tapp on Unsplash

Wget is one of GNU Project product that uses to retrieves content from web servers. Its name derives from ‘World Wide Web’ and ‘Get’, it can be used for downloading via HTTP, HTTPS, and FTP. As you can remember, if you are Linux user and move into Windows environment, this feature not installed by default.


Code Wars is best platform for learning algorithm from programming language, here I want to write the solution for ‘Hands Up’ challenge using JavaScript. When it was written, the challenge is still in kyu 7. I know it just kyu 7, but the first time I met this challenge is around January but until today I’m not completed it until searching the Write Up.

The Description

Imagine that you have an array of 3 integers each representing a different person. Each number can be 0, 1, or 2 which represents the number of hands that person holds up.Now imagine there is…


Photo by Clint Patterson on Unsplash

“Disclaimer: This is just for informational purposes only. Any violence because of this, is beyond my responsibility”

Nowadays, cybersecurity is becoming an important part of our life. One of the most well-known attacks that I believe everybody knows is Denial Of Service Attack. Even for special security engineers, this attack is really hard to defend. Because this attack focuses on the services. As we know, in this digital era everything was connected by the internet. So, when the service is down. It means, our device is no more than trash (If we don’t have things that can be accessed offline).


Photo by Kelly Sikkema on Unsplash

There are several data types, understanding the data types makes easier to face the data, because different data have different way to analyzing it. This three are major types of data.

Numerical

Numerical is the common data type, basically it represents some quantifiable things that we can measure. For the example

  • Height of baseball teams
  • Age of students
  • Stock prices


Code Wars is best platform for learning algorithm from programming language, here I want to write the solution for ‘Roman Numerals Encoder’ challenge using JavaScript. When it was written, the challenge is still in kyu 6.

Question

Create a function taking a positive integer as its parameter and returning a string containing the Roman Numeral representation of that integer.Modern Roman numerals are written by expressing each digit separately starting with the left most digit and skipping any digit with a value of zero. In Roman numerals 1990 is rendered: 1000=M, 900=CM, 90=XC; resulting in MCMXC. 2008 is written as 2000=MM…


Photo by Road Trip with Raj on Unsplash

Change case formatting is one of many basic feature that provided by every text editor. In this article, I want to share about Change Case Formatting tips for your code using JavaScript.

For your information, in Microsoft Word, there are five common change case formatting:

  1. lowercase : To lowercase all text
  2. UPPERCASE : To capitalize all text
  3. Sentence case : To capitalize first word of a sentence
  4. Capitalize Each Word : To capitalize first word in every sentence
  5. tOOGLE cASE : To capitalize all text, but left the first word with lowercase

Program

As we know that for the first and…


Photo by Marc-Olivier Jodoin on Unsplash

Internet speed (Bandwidth) is one of important thing nowadays. Many believes, that work today is based on the connection speed. As long as I know, there are many site that provide internet connection speed test for download and upload. But do you only want to be user only?

In this article, I make a simple program to count our connection speed using Python. Actually, you can use another language that you prefer. The reason I choose Python is that Python has one libraries that used to test our connection speed. …


Code Wars is best platform for learning algorithm from programming language, here I want to write the solution for ‘Shifter Words’ challenge using JavaScript. When it was written, the challenge is still in kyu 7.

Question

You probably know that some characters written on a piece of paper, after turning this sheet 180 degrees, can be read, although sometimes in a different way. So, uppercase letters "H", "I", "N", "O", "S", "X", "Z" after rotation are not changed, the letter "M" becomes a "W", and Vice versa, the letter "W" becomes a "M".We will call a word "shifter" if it…

Handhika Yanuar Pratama

A Stoic Web Developer

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