the functions (procedures) in MIPS

Firstly, you might want to check this quick MIPS reference. It really helped me. Secondly, to explain jal, jr and $ra. What jal <label> does is jump to the label label and store the program counter (think of it as the address of the current instruction) in the $ra register. Now, when you want to … Read more

JAVA_HOME is set to an invalid directory:

I have set JAVA_HOME in my system C:\Program Files\Java\jdk1.8.0_ 131\bin; and I am trying to run cordova command( cordova build ) on command prompt, but I’m getting the error bellow. I have tried all the ways, but not able to resolve this issue: ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.8.0_ 131\bin; I … Read more

too many initializers for ‘int [0]’ c++

In C++11, in-class member initializers are allowed, but basically act the same as initializing in a member initialization list. Therefore, the size of the array must be explicitly stated. Stroustrup has a short explanation on his website here. The error message means that you are providing too many items for an array of length 0, … Read more

How to make Font awesome 5 work with webpack

I’m trying to use Fontawesome in my Flask/webpack project. The craziest thing is some point it worked then stopped, I changed something stupid, it worked again and finally it stopped working completely. What I have: package config: webpack config (rules section): webpack, entry section: myStyles.js: The last line though caused the error in Chrome: I … Read more

how can I login anonymously with ftp (/usr/bin/ftp)?

Anonymous FTP usage is covered by RFC 1635: How to Use Anonymous FTP: What is Anonymous FTP? Anonymous FTP is a means by which archive sites allow general access to their archives of information. These sites create a special account called “anonymous”. … Traditionally, this special anonymous user account accepts any string as a password, … Read more