No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
- PC Specs
- Framework 13 (Ryzen 7840U; 64GB DDR5; 4TB PCIe Gen4 NVMe)
11 Posted Topics
The GitHub Repo is [here](https://github.com/apkrieg/foovm). This was part of a contest with someone I met on Omegle. The goal was to see who's VM could run a set of example app the fastest, the catch: We had about 24 hours to implement the solution. My language of choice was Golang, … | |
Okay. So I have this code in intel syntax. BITS 64 section .text global asm_proc asm_proc: jmp program section .data ; b8 - mov rax, <32bit immediate> ; 64 00 00 00 - The number 100 decimal ; C3 - ret program db 0b8h, 064h, 000h, 000h, 000h, 0c3h I … | |
Okay, so I am learning Assembly and I started with 32bit and `bswap` seemed to work fine. Now I have this code main.c #include <stdio.h> #include <stdlib.h> extern int asm_proc(void); void print_bits(unsigned long long bits) { for (int i = 0; i < sizeof(unsigned long long) * 8; i += … | |
Okay, so this is my current code: #include <stdlib.h> #include <stdio.h> #include <stdint.h> struct Display { int width; int height; char **array; }; struct Display *display_create(int width, int height) { struct Display *display = (struct Display *) malloc(sizeof(struct Display)); display->width = width; display->height = height; display->array = (char **) malloc(sizeof(char) … | |
Re: Can you please provide the class you generated the output with? There are some things missing like the primes list in the code you gave. Thank you. To answer the question in the title, "What is the inverse of XOR?". The answer is, XOR. If you do this: 0xE1 XOR … | |
Re: I'd suggest trying Fedora Linux instead of Ubuntu as it will give you a simpler interface for connecting to wifi and make life a bit easier (only simpler in Fedora 20+). If it's a browser issue, I suggest installing Google Chrome. You can also try rebooting your router or other … | |
Re: I can't find it using Google or the jarfinder site. I also can't find any documentation on it. I'm not sure it really exists (or is maintained). You would probably have better luck using Androids libraries and using Android for your application. You could probably use some dirty hacks to … | |
Re: You should be able to do it just like you did in normal JRE. You could also try compiling the C++ to a DLL and using JNA which requires a little less work than JNI. You could also just port the C++ code to Java which might actually be faster … | |
Re: If you want to record video from a webcam you can use [this](http://webcam-capture.sarxos.pl/) If you want to record the user's monitor, you can use the Robot class or use JNI with a DLL for lower level recording (offers better speed). You can also use JNA to record the screen with … | |
Re: You should make V3 non platform-specific. I am on Linux and can't compile it with the windows.h header. Supplying a binary would also solve the issue because Wine in Linux can run Windows binaries. | |
Re: Maybe try a different IDE to make sure ti just isn't your code. You can try Code::Blocks, MS VC++, or even just Sublime Text with GCC to compile. I'm not sure why the compiler would work like that unless you have a really outdated/beta version. Good luck finding a solution. |
The End.