-
This is not really a issue, more of a FYI and question if someone else has looked into these things that maybe could fit on the forum, but I feel its more visible to put it here..
Anyway, just a c…
-
This is useful for creating programs that involve using an input device (such as an infrared receiver, keyboard, etc.).
```
#!/usr/bin/python
import struct
import time
import sys
infile_path…
-
Example/testing repository, where this can be demonstrated and where solution can be tested: https://github.com/OK-DMR/dmr-kaitai
Currently I have [bash script rebuild-all.sh](https://github.com/OK…
-
I'm using a local copy of `Tkinter-2.7.14-foss-2017b-Python-2.7.14.eb` from the official repo (we're on EB 3.5.1, which doesn't contain that version). When building Tkinter the "building" phase report…
-
So, this is a suggestion to add FFI that would allow understanding DM from other languages.
I have started working on mine, myself, https://github.com/Karolis2011/dremamaker-ffi
But it would requi…
-
```C#
// class Program { }
// class Program { };
(new Regex(@"(struct|class) ([a-zA-Z0-9]+[^\r\n]*)([\r\n]+(?[\t ]*)?)\{([\S\s]+?[\r\n]+\k)\}([^;]|$)"), "$1 $2$3{$4};$5", Null, 0),
```
```Pytho…
-
The `Variable` struct has a reference to the `Graph` struct. This is causing a lot of issues, namely it prevents:
- Adding support for `ndarray` and `nalgebra`.
- Python bindings since `#[pyclass]…
avhz updated
9 months ago
-
The motivating example is the NumPy API that is exposed to other Python extensions such that they can work with arrays natively/directly without a round-trip through Python code/abstractions.
How t…
-
We used to the following property: if `x` is a dtype then `numpy.dtype(x.descr)` is the same dtype. This property is broken in NumPy 1.8 when one specifies metadata to dtype. Is it possible to at …
-
Hi, I am planning to generate the BPF "assembly" code(`BPF_JUMP`, `BPF_STMT` etc.) by writing C or Python code.
```
struct sock_filter filter[] = {
BPF_STMT(BPF_LD+BPF_W+BPF_ABS, (offs…