Tag Archives: Work

Why does this C++ program work in some compilers but not others? What is the major difference between c++ compilers?

I have written this program for my class. I have found it compiles and runs just fine with the GNU g++ compiler. My professor auto-grades our programs from his website, which uses the Microsoft Visual Studio compiler and it throws … Continue reading

problem getting a template website mailhandler contact form to work

trying to get contact form to send information to my gmail account. not sure were I’m fouled up. Here is my html code:

mongoldb update() wouldn’t work

First I created the mongoose schema: var cardSchema = mongoose.Schema({ **userId: String, imageUrl: String** }) Then I defined model: var Card = mongoose.model(‘Card’, cardSchema) Then I created a new card: var newCard = new Card({ **userId: “bablaba”** }); Then the … Continue reading

mongoldb update() wouldn’t work

First I created the mongoose schema: var cardSchema = mongoose.Schema({ **userId: String, imageUrl: String** }) Then I defined model: var Card = mongoose.model(‘Card’, cardSchema) Then I created a new card: var newCard = new Card({ **userId: “bablaba”** }); Then the … Continue reading

JVM Xmx argument only works with Xms, maybe even not work properly

I encountered a OutOfMemoryError: java heap space when trying to create a long byte array(139708800 bytes, meaning 134M). In order to solve this problem, I change the -Xmx argument of the JVM from default value(256M) to 1G. However, the OutOfMemoryError … Continue reading