Here is a quick guide on how to run the new Windows 11 on a Chromebook. At the time of this article, Windows 11 only exists as a leaked ISO . So I will leave it up to you to search the web and find that ISO. To do this, you will need to have a Chromebook with Linux support . Step 1: Enable Linux Beta Enable Linux beta. Make sure to allocate at least 28 GB of space for the container.| Bennett Notes
Surprisingly, I was able to play Genshin Impact on my Chromebook. I’m using the Acer Spin 713 Chromebook (affiliate link), which has a quad-core cpu, along with 8GB of RAM and 128GB for storage. This chromebook also supports Android apps, which allowed me to easily download the game from the Google play store. The performance is…a little less than satisfactory. On one hand, I’m actually able to move around and fight enemies and follow the story line.| Bennett Notes
Here is a quick guide on how to install Windows 10 on a Chromebook. This will allow you to run Windows app on a Chromebook. To do this, you will need to have a Chromebook with Linux support . If your chromebook does not support Linux beta, you can check out my older tutorial on installing Windows 10 on a Chromebook. Step 1: Enable Linux Beta Enable Linux beta. Step 2: Download Windows 10 ISO File Download and install the Windows 10 ISO file from Microsoft’s Website .| Bennett Notes
Want to play Portal on Android? It’s really easy to play portal on Android thanks to the work of developer nillerusr . The developer has ported source engine to non-nvidia devices so that we can play portal and half life 2 on any Android device. Furthermore, the performance is actually really good. Here’s how to install portal on Android. Source Engine APK First, download the and install the source engine apk from here .| Bennett Notes
Here is a quick guide on how to play steam games on Chromebook. This will allow you to play Steam Games (compatible with Linux) on your Chromebook. To do this, you will need to have a Chromebook with Linux support . If your chromebook does not support Linux beta, you can check out my older tutorial on playing steam games on chromebook using cr Step 1: Enable Linux Beta Enable Linux beta.| Bennett Notes
Starting with Android 10, it’s easy to recover wifi passwords for any network that you are connected to. In order to recover wifi passwords on Android, you will need to make sure that your device is running Android 10 or later. If you are using a Samsung Galaxy S10, Galaxy S20, or Galaxy S21 then this will work for you. Step 1: Get Wifi QR code Go into the Wifi settings and select the network you are currently connected to.| Bennett Notes
Running Linux on android used to be a pain. You would have to root your device or download some broken emulator. As of today, running linux on Android is the easiest it has ever been thanks to the app Termux . Here’s how to run Linux on Android. Install Termux The first thing that you need to do is install the app Termux . It’s an android terminal emulator that will allow us to setup a proot environment so that we can run Ubuntu on Android.| Bennett Notes
Have you ever needed to cast music from your PC to your Android device? Let’s walk though a quick tutorial that will show you have to use your Android as a bluetooth speaker. Download Android Wireless Speaker App Begin by downloading the app wireless speaker for android . All you need to do is download it, and launch it. No further configuration is needed. Take note of that IP address that is listed for your phone in the app.| Bennett Notes
Let’s take a look at how you can run android apps in Chrome browser. Keep in mind, this is more of a proof of concept than something you should heavily rely on. While simple apps and games will work, you will most likely run into issues when trying android apps with advanced graphics. To run android apps in Chrome browser we are going to use a modified version of the android-chrome runtime found inside of chrome.| Bennett Notes
You have probably discovered that downloading videos from certain websites is hard. If you try to download a video from youtube, you have to use one of the ad-infested free YouTube video downloaders. Other sites like Facebook, Instagram and Tumblr are even harder to find downloaders for. Luckily, there is a free and open-source program that will end your struggles and help you download and video from any site for free.| Bennett Notes
Believe it or not, Windows 10 comes with a lot of bloatware pre-installed on it. Things like Candy crash, Bing Weather, Bing Sports, etc. If you really wanted to, you could go through the programs and features tool and remove each app individually. However, that would take a lot of unnecessary time and some apps wouldn’t show up in that menu. To overcome this challenge, a user on GitHub created a Windows 10 bloatware removal script that uses PowerShell to remove the unnecessary apps.| Bennett Notes
Let’s not romanticize imperfection. The Pixel 3 is not _The Little Engine That Could, _or some gifted boy who was born without legs. There are people out there who treat Google like the underdog; despite the fact that they have full control over the future of Android. And while there’s nothing wrong with having favorites in a race, it can be dangerous to idolize a runner just based off his shoes.| Bennett Notes
Last summer, I was staying at a beautiful resort in the Dominican Republic with no access to mobile data, so I needed to depend on WiFi. Unfortunately, my network access only allowed me to have one device at a time on the network. This was a huge pain because I wanted to connect both my phone and laptop to the network. After some searching, I found out a simple way to share wifi from an android device.| Bennett Notes
There is an easy way that you can control one Android device from another Android device. This is useful if you need to perform any type of tech support for someone else’s device. To control Android from Android we can use the free app TeamViewer Quick Support. Compatibility: This is not compatible with every Android device. TeamViewer has a full list of the supported manufacturers. Unfortunately, if you have a Google Pixel device then you will not be able to take advantage of the remote co...| Bennett Notes
Here is a collection of some of the best Windows 10 screensavers that you should try. Fliqlo Fliqlo is my favorite Windows 10 screensaver of 2018. It has such a clean and minimalistic look that goes great with the design of my room. Sun Village This is a screensaver from Nvidia. It’s a nicely rendered 3D scene with lots of activity happening. It looks bright and vibrant and you can even enable the built-in FPS counter.| Bennett Notes
I don’t think that I have ever encountered anyone who said that they like ads (other than maybe the Super Bowl ads). Nonetheless, ads are a necessary evil which must be tolerated in order to compensate for various internet endeavors. However, there are many apps, games, and websites which abuse ads and destroy the entire experience. In the past, blocking ads from these apps required that you root your device. Luckily, times have changed and there are new solutions to blocking ads on your An...| Bennett Notes
I don’t think that I have ever encountered anyone who said that they like ads (other than maybe the Super Bowl ads). Nonetheless, ads are a necessary evil which must be tolerated in order to compensate for various internet endeavors. However, there are many apps, games, and websites which abuse ads and destroy the entire experience. In the past, blocking ads from these apps required that you root your device. Luckily, times have changed and there are new solutions to blocking ads on your An...| Bennett Notes
Windows 10 doesn’t have many cool options when it comes to theming. Fortunately, there are developers out there who went the extra step to create theme patchers and ither awesome skins. In this tutorial, I want to show you how you can get your Windows 10 desktop looking like the image below. Dark Theme The dark theme I used is called After Dark CC. Although it’s a paid theme ($2.50), it looks really cool.| Bennett Notes
If you want to play Fortnite or PUBG on a Chromebook, you can do this through streaming. It’s very easy to stream games to Chromebook using Moonlight. The only requirement is that you need to have an NVidia 600 Series or higher graphics card. Enable Streaming in GeForce Experience App The first thing you need to do is enable streaming in the GeForce Experience app. Install Moonlight Extension on Chromebook You can go here to download the moonlight extension.| Bennett Notes
The Windows 10 April update brought a lot of new features. One of the little-known features is a new power plan called ultimate performance mode. According to Microsoft, this mode decreases the micro-latency between the OS and the hardware. Exactly what that means, I’m not too sure. However, this mode is more than just made up fluff. I ran a couple of benchmarks between using the default balanced mode on my PC and the ultimate performance mode.| Bennett Notes
If I had a dollar for the number of times someone asked how to run Windows Exe Files on Android, I would be richer than your top Bitcoin miners. Most of the time, my response would have simply been that it’s not possible, end of story. Well, that sort of changed this week. If you are a Linux user, you have probably heard of Wine. The tl;dr is that Wine allows you to run Windows apps in Linux (it’s a Windows compatibility layer).| Bennett Notes
It might be crazy to run Linux on Surface Laptop, but there is a way to do it. If you have extra RAM to spare on your Surface Laptop, just use Virtual Box because you’ll have all the driver support you need and you will not have to change your boot configuration. For the brave, here’s how to install Linux on Surface Laptop the more traditional way. Create Bootable USB Begin by creating a bootable USB of your favorite operating system using the free program called Rufus.| Bennett Notes
When I was trying to install Ubuntu I experienced a very strange issue. The Ubuntu install hangs on splash screen for a very long time. I would select the option to try Ubuntu in the grub menu, and then I would get this strange screen with broken graphics. It looked like the graphics failed to load or something. The Ubuntu install freezes on that screen and would not advance. I eventually found out that this issue will occur if you are using an Nvidia Graphics card.| Bennett Notes
The Google Pixel 2 XL and the Galaxy Note 8 are two excellent devices. They are so good, that I would be lying if I told you that it was easy to make a decision between these two devices. Deciding which one to buy is going to come down to a lot of personal preference and trivial differences. So let’s do a comparison of the Google Pixel 2 XL vs Galaxy Note 8.| Bennett Notes
Kali Linux is a popular security-focused operating system that has many tools which could be used for penetration testing. In the past, I demonstrated how to Run Kali Linux on Android (version 1.0) via the terminal. Now let’s take a look at how to run Kali Linux 2 on Android without root. To do this, we will be using Limbo PC Emulator. It makes use of the SDL library to emulate Kali Linux 2 on Android.| Bennett Notes
Do you have an old computer laying around that you need to find a use for? How about running Android Nougat on your PC? The Android x86 team has successfully ported Android 7.1 over to the desktop CPU architecture. This means you can enjoy your favorite apps and games on any pc or laptop. Run Android Nougat on PC The first thing that you need to do is download the Android Nougat x86 ISO file.| www.bennettnotes.com
I built an invention inspired by Dr. Andrew Huberman. It is an electronics gadget to track sunlight exposure while worn on the face| www.bennettnotes.com
Recollecting the steps I took to get STM8 debugging working on a M1 Mac with Apple Silicone.| www.bennettnotes.com
I built a custom digital photo frame using the ESP32 for Mother's Day| www.bennettnotes.com
The articles, videos, podcasts, and books which have captured my interest in the past month.| www.bennettnotes.com
Everyday I discover a new linux terminal command to add to my toolbox. These commands speed up my software development, and make life just a little bit easier.| www.bennettnotes.com
A list of terminal commands for MacOS that I use on a regular basis.| www.bennettnotes.com
I recently purcahsed the Adafruit STM32F411 Blackpill and created my first project using the STM32CubeIde to print using the USB CDC as Serial. Here are my notes from getting started and setting up this project.| www.bennettnotes.com
Software engineers make up 3.6% of the US Workforce. This is surprising since I was convinced that everyone is becoming a software engineer now.| www.bennettnotes.com
Creating a hugo alias command for directory based archetypes commands.| www.bennettnotes.com
I have too many plants in my apartment. So I decided to build a wireless soil moisture sensor with Arduino on a custom PCB to monitor the soil moisture level. Then send alerts to my Android phone using Firebase cloud functions.| www.bennettnotes.com
Create responsive images in Hugo posts using the markdown render hook. Using the srcset tag and picture element the appropriate size image will be served by the browser. This is an alternative to using a shortcode as you can still using the regular markdown image tags.| www.bennettnotes.com
I'm deeply perplexed by the ideas of success, fulfillment, and happiness. All my life, I was told that I should desire to be successful. Then, I was sold to the idea that life is actually about 'finding happiness'. And lately, I've been on my personal journey to find fulfillment. How can I be fulfilled in life? After months of reading, listening and therapy, I feel like I can finally form a coherent thought on the matter.| www.bennettnotes.com
Here's a project I decided to try. Use the ATTiny85 to automatically turn off and on my Christmas Lights.| www.bennettnotes.com
I feel like I have no real interests or hobbies. My only interest is making money and the pursuit of any activity which can lead to that quickly. However, I feel like this attitude is robbing me of fulfillment and life experiences.| www.bennettnotes.com
I want to explain why I left YouTube for over a year. There were a lot of internal questions that I had to figure out and YouTube was causing additional stress. I learned that giving yourself permission to quit is one of the hardest things you can do in life. I also learned that fulfillment and pleasure are not always interchangeable.| www.bennettnotes.com
Everything starts off with an idea. You can't build a business without an idea. You can't make a movie without an idea. You can't draw without an idea. So how do you get an idea?| www.bennettnotes.com
What does it look like to be obsessed with success and prestige? Imagine a guy who starts many endeavors and side projects just because he wants to be known as the creator of something. Or someone who builds another social app, not because he has an unique problem that's unaddressed, but because he wants to be the cool tech entrepreneur who everyone admires and envies| www.bennettnotes.com
What's the best way to choose a porta potty at a music festival? Using the optimal stopping theory (also known as the secretary problem).| www.bennettnotes.com
The Mom Test was an excellent read on validating your business ideas and finding the right costumers. Here are my favorites quotes from the book.| www.bennettnotes.com
I am not afraid to keep a Google Home in my bedroom. Despite the risks and concerns, it offers me convenience that I come to enjoy.| www.bennettnotes.com
The team and I decided to use Istio to secure the communication of our microservices. However, we ran into many challenges using Istio in our environment.| www.bennettnotes.com
If you are developing a Chrome extension with message passing, then you might have received the following error: Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.| www.bennettnotes.com
One of the hardest things about coding and working on side projects is that you will often have nothing to show for all the time and effort you put into it.| www.bennettnotes.com
I have hit the point where I can't do anything for fun anymore. Every hobby is not an attempt to make some extra money or turn it into profit.| www.bennettnotes.com
Let's take a look at a Kafka Nodejs example with Producers and Consumers. Using the library kafka-node, it is very easy write a kafka application in javascript.| www.bennettnotes.com
Here is how I spend my weekends, flying a drone with javascript and NodeJS. Using the DJI Tello, it's very easy to do.| www.bennettnotes.com
I'm a mental hoarder. My head is like an undiscovered planet with space junk floating all around it. Learning to declutter and clear my mind was essential to alleviating some stress in my life.| www.bennettnotes.com
One of the most challenging areas of self discipline in life is time management. So often I want to do everything but end up doing nothing because of the perceived lack of time.| www.bennettnotes.com
Complacency after college was extremely hard to deal with. In college, things were always changing. New classes every semester, group projects, parties on the weekends and tons of socializing. After college, you sit at a desk for 8 hours staring at a computer screen. So what's the solution?| www.bennettnotes.com
A step-by-step tutorial on how to install hyperledger fabric on Kubernetes. This setup uses a two node cluster but can be done on a single VM.| www.bennettnotes.com
Does anyone else get too absorbed in side projects that you forget about life| www.bennettnotes.com
I decided to switch from WordPress to Hugo for lower cost and simplicity.| www.bennettnotes.com
The link between happiness and anticipation is becoming clear through the reward system of dopamine| www.bennettnotes.com
I took a course that discussed proven ways to be happy again with life. Here is a summary of my findings.| www.bennettnotes.com
Here's how to setup search using lunr on your static Hugo your Jekyll site| www.bennettnotes.com
When it comes to Ebooks vs traditional books, I often find that traditional books are better because they invite conversation.| www.bennettnotes.com
Search| www.bennettnotes.com
The JSON Web Token (JWT) is the easiest standard for protecting APIs and passing in claims data. A JSON Web token allows the server to verify the authenticity of the user and provide them access to protected API routes and data. A simple JWT flow goes as follows: The user sends login credentials to the server The server verifies user against the database then returns a JWT token if valid The user sends that token in the header with every request to API.| www.bennettnotes.com
There are many opinionated solutions for building a React Login with Google Firebase. I generally prefer an approach where the user isn’t shown the main UI until he is logged in. And if the user logs out, we immediately kick him back to the login screen. Luckily, this isn’t hard to do at all. Dependencies The only dependency you will need is the Firebase API. You can install this form the Node Package Manager.| www.bennettnotes.com
Chrome extensions are really cool. They allow the user to extend the capabilities of their browser and can incorporate really well into existing apps. So let’s take a look at how to build a Chrome Extension in less than 10 minutes. Chrome Extensions are written in Javascript, so I recommend that you have a basic understanding of Javascript before proceeding with this tutorial. What we’re building We are going to build a simple chrome extension that will allow you to search google for any...| www.bennettnotes.com
Stop saying that blockchain and decentralizing everything will fix the Internet. There has been a lot of news around Cambridge Analytica abusing Facebook profile data, and Facebook for mining user data without explicit permission. Yes, I agree that these are very bad things that need to be addressed. And I also agree that while Facebook is at the front-lines of this digital privacy war, we could also blame many other companies like Google, Twitter, Amazon, etc for similar practices.| www.bennettnotes.com
I have spent hours trying to figure out how to actually use the React Native Stacknavigator to navigate between screens. All the tutorials and guides seem to be missing important information, and the official React Native documentation is truly lacking in substance. So I want to save you some headache and give you a quick and easy setup to using the React Native StackNavigator. You need to Eject If you created your react-native project using the command:| www.bennettnotes.com
Google has been working on an interesting project called Poly. With Poly, you have access to hundreds of 3D objects that can be used to build VR games or with AR content. The interesting about Poly is that all of the graphics are available on demand. Think of it like Google Fonts just for 3D objects. So let’s take a look at how you can get started with Google Poly API Javascript and NodeJS bundle.| www.bennettnotes.com
I’m sure you have probably heard of the fancy new React Context API. It’s a new way for you to manage application state. If you are building a large react application, you have probably encountered a problem where you needed to access and share data across multiple components. For example, we might have information on the currently authenticated user that multiple components need information on. To solve this issue, you might use a library like Redux or Mobx.| www.bennettnotes.com
This whole problem started when I was working with an app in React Native. I wanted the app to be able to open when it received data from another app through the “share with” intent. For example, if I share an URL through the YouTube app, I wanted my app to be recognized as one of the apps that could handle the URL and open it. I am going to spoil the fun and tell you that there’s no easy way to do it straight through javascript with React Native.| www.bennettnotes.com
This is something that you probably don’t ever think about, but getters and setters are implicit on every javascript object. For example, if we take the following: person = {}; person.name = 'Dave' //uses the implicit setter on the object console.log(person.name) //uses the implicit getter The above code is something that you have probably have seen very often in javascript. However, this doesn’t give you much control over how properties are accessed or defined.| www.bennettnotes.com
I was working on a project in Angular 4 and needed to implement input fields that only accept numerical values. My first thought was to simply add the HTML5 type=”number” to the input. Unfortunately, this isn’t supported in Internet Explorer 10 and some of the clients would most likely be using Internet Explorer 10. My only other option was to implement a directive. Thanks to this StackOverflow answer, I was able to modify it to my needs.| www.bennettnotes.com
If you are building a web application using Angular 4 or Angular 5 there’s a good chance that you might be working with JWT tokens. Luckily, implementing token interceptor and retry in Angular 4 and beyond is very easy thanks to the new HTTP Interceptors. Using this, we can add an authorization header to every outbound request while also implementing a retry mechanism for requests that fail due to an expired token.| www.bennettnotes.com
If you are building a web application using Angular 4 or Angular 5 there’s a good chance that you might be working with JWT tokens. Luckily, implementing token interceptor and retry in Angular 4 and beyond is very easy thanks to the new HTTP Interceptors. Using this, we can add an authorization header to every outbound request while also implementing a retry mechanism for requests that fail due to an expired token.| www.bennettnotes.com
A user on GitHub just posted an alarming exploit shows how a simple CSS hack can steal internet passwords. It’s kinda funny how you wouldn’t really think of CSS when it comes to vulnerabilities and hacking. Since CSS is only used to style a webpage, its threat level is generally considered to be relatively low. However, CSS does provide developers with very advanced selectors. In this case, if you wanted to select an input with the value of A in it and turn it red, then CSS allows you to...| www.bennettnotes.com
Practically every online community has a forum. It makes sense though because forums are a great way to facilitate online discussion. Now let’s say that you wanted to build your own online forum. Well, building a very basic forum wouldn’t be too complicated. Just script together some PHP with an MYSQL database and you will be all set. Unfortunately, this would likely leave you vulnerable to many potential security holes and a terrible user experience.| www.bennettnotes.com
One of my favorite features in Angular are forms. Using Angular 4 forms or Angular 5 forms are very helpful because they provide for quick validation and object mapping. Here’s how you can create a basic angular 4 form (also works with angular 2, and angular 5). HTML You will also notice that I am using Bootstrap for some styling, that is completely optional. Let’s look at the form HTML:| www.bennettnotes.com
One of the most common reasons that you would want to use the android recyclerview is if you want to show a list of some sort. In this example, let’s take a look at how you can use the android recyclerview to show a list of installed apps on your device. Within each item, we will also include a checkbox. Here’s what it will look like: Layout Let’s first take care of creating the layout files.| www.bennettnotes.com
The day has finally come at which I can use machine learning and bitcoin in the same article. The only thing that would impress me more would be relating the topics of machine learning, bitcoin, and blockchain in the same article, but I digress. Anway, the value of bitcoin is astonishing. It went from $900 to well over $14,000 in less than 6 months time! So hey, let’s start riding this bubble and try to cash in before its too late.| www.bennettnotes.com
This has been a very interesting New Year. So far, 2018 has brought us two of the biggest bugs to hit CPUs in the past 12 years: Meltdown and Spectre. Intel is struggling to get their Meltdown bug under control while Amazon and Microsoft brutally await its impact on their cloud services. Both Meltdown and Spectre are serious issues, but Meltdown is easier to exploit and gives attackers more valuable information.| www.bennettnotes.com
Google Chrome and its developer tools are an absolute necessity for any web developer. But you shouldn’t stop there because there are even more great tools and extensions that will help you with web development and design. So let’s take a look at some of the best Chrome extensions for web development. React Developer Tools If you plan on doing development in React, then you should definitely download this extension. It makes debugging a lot easier because you can see your whole app’s h...| www.bennettnotes.com
Bootstrap is an amazing library and works wonders with ReactJS. Unfortunately, you can’t (or really shouldn’t) use Bootstrap.js with React because bootstrap directly manipulates the DOM; which could break React’s nice rendering flow. This becomes a big problem if you wanted to implement a Navbar using plain bootstrap. Take the following for example from Bootstrap’s documentation: You could directly take this code and put it in ReactJS (but change class _to _className) and you will...| www.bennettnotes.com
As a Javascript developer, I always prefer to use NodeJS as my API endpoint when interacting with a backend database. Unfortunately, it’s not always feasible to use NodeJS (especially in a shared hosting environment) and you might have to fall back to good old PHP. So here’s a quick refresher on how you can perform queries to a SQL database using PHP from an Ajax or Fetch call. Fetch Call Suppose I have the following XMLhttp request using the fetch API:| www.bennettnotes.com
As a Javascript developer, I always prefer to use NodeJS as my API endpoint when interacting with a backend database. Unfortunately, it’s not always feasible to use NodeJS (especially in a shared hosting environment) and you might have to fall back to good old PHP. So here’s a quick refresher on how you can insert an object into an SQL database from javascript using php. If you haven’t already, check out my previous tutorial on making SQL queries from PHP using fetch API.| www.bennettnotes.com
You probably don’t think about Javascript when you hear the words GPU programming. However, it should come as no surprise that there is a library to do anything and that includes GPU Programming in Javascript. Let’s get one thing clear though, you should probably not do this if you are looking to do serious GPU programming. For serious GPU programming, I recommended that you work with Nvidia’s CUDA in C and C++.| www.bennettnotes.com
Nvidia digits is a great way to get started with deep learning and image classification. It’s an open source platform that you can run on your computer to do things like image classification, object detection, and processing. It also contains a REST API so that you can easily do all of this through HTTP requests if you desire. For this tutorial, let’s take a look at image classification using Nvidia digits.| www.bennettnotes.com
If you are new to Javascript (or even a seasoned js developer), you will probably get confused when trying to understand the different types of for loops. So let’s go through the javascript for of vs for in vs for each loop. Standard for loop Suppose we have an array called myArray. Here’s how you would iterate through it using the standard for loop: var myArray = ['Cat','Dog','Horse']; for(let i =0; i< myArray.| www.bennettnotes.com
If you want to subscribe to variable change in Angular 4 service or Angular 5 service, you can use something called the BehaviorSubject from the rxjs library. A behavior subject is like an observable, except that it must be created with an initial value as it is must always return a value even if the subject hasn’t been updated. A behavior subject will always emit it’s first value as soon as it’s described.| www.bennettnotes.com
In this tutorial, we will take a look at how to build a multiplayer game using Javascript and NodeJS. My goal is to take you through the basic setup so that you can begin focusing on the actual gameplay. When building a full-scale MMO, there are a lot of things to consider like load balancing, network contingencies, etc. For now, we are going to focus on the bare minimum just to help you get an understanding of how you can creatively and effectively use the available tools of NodeJS to get s...| www.bennettnotes.com
Suppose that you developed an app that will give users free stuff when they click a button. Obviously, there’s nothing stopping one user from spamming the button one million times and collecting a whole bunch of free stuff. If you wanted to prevent that, you could use something like a CAPTCHA, or perhaps give each user a session and cool off period. You could also implement something called a proof of work system.| www.bennettnotes.com
Blockchain! It’s the mystical buzzword that every company is saying right now. At its core, the basic concept of blockchain is not hard to understand; it’s essentially a distributed linked list. It’s also used by the popular cryptocurrency called Bitcoin. The advantages of Blockchain is that it allows for a decentralized collection of data whose integrity is easily verifiable, and the data itself is immutable Keep in mind that a fully robust blockchain will also contain smart contracts,...| www.bennettnotes.com
If you are building a large single page application, there might come a time when you will need to add routes to different pages. Unlike traditional routes, adding routes in ReactJS does not trigger a page reload. This makes your SPA extremely fast and feels more like an actual application rather than a simple website. To navigate in ReactJS we will be using the React v4 router. Setting Up React V4 Router Begin by installing the React V4 Router from npm:| www.bennettnotes.com
There’s a good chance that you have probably come across the Javascript spread operator. If you are unsure, here’s what it looks like: {...} Good luck trying to google search that as you will probably get an empty results page. The Javascript spread operator is a new syntax found in ES6 (ECMAScript2015). The purpose of the spread operator is to allow an iterable like an array or string to be expanded (or spread) across another object or array.| www.bennettnotes.com
For the longest time, Javascript has always been implemented using a single thread in your browser. For the most part, this wasn’t a problem. If you’re just using javascript for simple DOM manipulations or form submissions then a single thread is all you need. However, once developers started getting more advanced with their Javascript usage, this eventually led to an issue. Let’s say I have the following single page application (SPA) that shows a list of prime numbers from 1 to 600,000:| www.bennettnotes.com
There’s a good chance that you don’t think of JavaScript when you think of artificial intelligence and machine learning. Instead, you might think of Python and popular libraries like Google’s Tensorflow. While TensorFlow is very powerful and complex, it does require a steep learning curve. Personally, I’m just looking to get my feet wet in some simple AI programming. However, I came across a javascript library called Brain.js. This library makes machine learning in javascript plausi...| www.bennettnotes.com
You can now officially use JavaScript to read USB devices that are connected to your computer. This is using the new WebUSB API that is still in early draft. As being so, the API could later change or be removed altogether until it receives the final verification. In order to use WebUSB you need to be running the latest version of Google Chrome, with the experimental web platform features flag enabled.| www.bennettnotes.com
Stories! Stories are everywhere these days. Snapchat, Instagram, Facebook, Facebook Messenger and Whatsapp all have stories. Hell, it’s only a matter of time before Microsoft Excel gets a stories update. [][1] In any case, if you want to build an app like Snapchat or build an app like Instagram, there is an easy way to do so. The focus of this tutorial will be about building the story functionality of Snapchat and Instagram into an app.| www.bennettnotes.com
I think I finally figured out how to setup Namecheap DNS with Cloudflare and Netlify. I use this process to host my static site built using Hugo on Netlify and cache through Cloudflare.| www.bennettnotes.com
Apple still charges a $99 yearly developer fee, even if you don't want to publish your app on the Appstore. The provisioning certificate that Xcode provides only lasts one week.| www.bennettnotes.com