Categories
Ask Psychology

[ Psychology ] Open Question : Was this wrong?

I do meet my relatives once in a while. My relatives don’t know me so well even after so many years.They percieve me negatively. They think im a good for nothing looser who’s destined to fail. But that’s not true. I am a good student in school.There are so many things I’m good at in […]

Categories
Ask

[ Law & Ethics ] Open Question : Will I be arrested if I walk into a courthouse in California and start videotaping and will the judge let me go if I say I’m sorry and I?

Won’t do it again Exactly what would I be charged with?

Categories
Ask Politics

[ Politics ] Open Question : Were the Taliban terrorists able to find their way all the way to Camp David!?

Did they use their Osamaphone???? I’m surprised their network hasn’t Bin Laden with too much data!

Categories
Ask Marriage & Divorce

[ Marriage & Divorce ] Open Question : What to do in this situation?

Suppose that my company gave me a really great job opportunity in Brazil or Thailand. It comes with a promotion and a raise. This opportunity comes once and if i miss it someone else will take it in the blink of an eye. My wife is against it. She works as a teacher and doesn’t […]

Categories
Ask Politics

[ Politics ] Open Question : Do you agree with comrade Bernie that we need to limit one child to married couples only?

Categories
Development

Create form action to js page

I want to create login form, and then the result is going to another page, using js to catch the value and create the process. I have success created it using onclick, but I want to change onclick to onsubmit as I don’t want to click the button, just press ‘Enter’ keyboard, the process is […]

Categories
Development

Reading percentage encoded url with umlauts with Qt

I am trying to read percentage encoded urls with umlauts, such as äüö,…, with Qt: QString str = “Nu%CC%88rnberg” qDebug() << QUrl::fromPercentEncoding(str.toUtf8()); But the output is Nu¨rnberg instead of Nürnberg. How can I correctly decode urls with umlauts in this form? Regards,

Categories
Development

Number of nodes in the graph & an Array of node

Index of array directs to value present at that index position. Here it is… (i -> array[i]) -1 represents Exit gate of the graph. ie. No outgoing edge 23 4, 4, 1, 4, 13, 8, 8, 8, 0, 8, 14, 9, 15, 11, -1, 10, 15, 22, 22, 22, 22, 22, 21 Relation as i […]

Categories
Development

Is there a way to filter output of bash ‘find’ command to exclude results with “permission denied”?

When I want to find a file I use the command find <directory> -name <filename>. Often the command will output multiple lines with “Permission Denied” at the end. Is there a way to filter the results to exclude these lines?

Categories
Development

s-files generated from riscv-gnu-toolchain does not run RISCV emulator

I must compile a set of C++ files into RISC-V code (RV32IM). I am using riscv-gnu-toolchain and compiles with the following CMakeLists.txt file cmake_minimum_required(VERSION 3.10.2) project(project-title) set(CMAKE_CXX_FLAGS “-march=rv32im -mabi=ilp32 –save-temps”) set(CMAKE_CXX_COMPILER riscv32-unknown-elf-g++) If I input a test C++ file, like the following #include <iostream> using namespace std; int main() { cout << “Hello, world!” << […]