@gudenau You can't to my knowledge, it is just a common convention to post it as an separate message, but the s/x/y/ syntax is from sed.

@gudenau Well what error do you get? What missing DLL? What crash/exit code?

@gudenau
I once found Dr Memory while trying to look for an Windows valgrind alternative, but last time I tried it (years ago) it didn't work.

@Archimage
Last time I saw that situation the person reloaded their gun.

@gudenau On Windows, unfortunately not all windows at once, but you can select one window (taskbar or Alt+Tab), Alt+Space to open the menu when you would click on the icon, then choose Move (m), and move the mouse (since the cursor is on the titlebar to move it, but when you move it, it gets clamped to the screen area).

From devblogs.microsoft.com/oldnewt

@gudenau Maybe `signed char`? Note that the default signess of `char` is actually implementation defined unlike the other integer types.

From what I've seen, gcc uses for `char` in x86(-64) a `signed char`, and for ARM an `unsigned char`, but can be controlled via `-f(un)signed-char` command line parameter.

@gudenau setfacl -m u:theusertograntaccess:rw /dev/ttyUSB0

@gudenau What Ubuntu version? For 18.04 (bionic) you should just be able to use `apt install python3.6` or even `apt install python3.7`. Ubuntu 20.04 uses by default a newer version.

@gudenau There you go, too old python version. Either try finding and installing an old pip version, or install a newer python version.

@gudenau What Ubuntu version? 20.04 here, works fine. Maybe there is a syntax error because of f-strings, introduced in what it seems python 3.6. What does `python3 --version` output? (For me it outputs 3.8.5) Do you have other python versions installed (such as `python3.6`)? You could try using `python3 -m pip ...`.

@gudenau Never used or tested it, but looking at the documentation maybe something like `NativeScope.unboundedScope().allocateArray​(CLinker.C_POINTER, new Addressable[] { CLinker.toCString("a"), CLinker.toCString("b") })`?

RISC-V 64 Issues 

@gudenau I know you already solved this, but the object files contains the assembly code, and stuff (can) be restricted by what instructions you use, so not specifying the memory model when generating code is weird.

RISC-V 64 Issues 

@gudenau Just a shot in the dark: How are you compiling the object files? Do you also specify -mcmodel=medany etc. when compiling those?

@gudenau From what I can read from the man page, you'd create a new user namespace (CLONE_NEWUSER), where you can then get the CAP_SYS_ADMIN capability inside that namespace to CLONE_NEWPID. (Untested!)

@bclindner Still seem to work if you wait enough, like multiple minutes.

C++ Question (no stdlib) 

@gudenau I think global stuff get initialized, so for classes it would use an constructor.

The Java equivalent would be:

```c++
static Thing *thing = nullptr;
void init(void){
thing = new Thing();
}
```
(Java objects are basically pointers to objects in C++)
Maybe you could use:

```c++
static Thing thing(some, param);
void init(void){
thing = Thing(other, param);
}
```

Show older

Neui's choices:

Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!