I hereby claim:
- I am euphoria on github.
- I am euphoria (https://keybase.io/euphoria) on keybase.
- I have a public key whose fingerprint is 8D69 A9E1 16CF 6978 4531 EF27 7A34 D649 2C53 3E84
To claim this, I am signing this object:
# With curl (and web browsers), we hit the backend and it redirects us successfully. | |
$ curl -v https://gitlab.tradeforecaster.com/ | |
* About to connect() to gitlab.tradeforecaster.com port 443 (#0) | |
* Trying 192.168.153.203... connected | |
* successfully set certificate verify locations: | |
* CAfile: none | |
CApath: /etc/ssl/certs | |
* SSLv3, TLS handshake, Client hello (1): | |
* SSLv3, TLS handshake, Server hello (2): |
# Imagine this is first/first_build.py | |
from cffi import FFI | |
ffi = FFI() | |
with open("/usr/local/include/tfc.h") as f: | |
ffi.cdef(f.read()) | |
ffi.set_source("first._first", | |
""" | |
#include "tfc.h" |
I1116 13:27:43.573652 2116 master.cpp:2179] Received SUBSCRIBE call for framework 'Spark Dispatcher' at [email protected]:59715 | |
I1116 13:27:43.573742 2116 master.cpp:2250] Subscribing framework Spark Dispatcher with checkpointing enabled and capabilities [ ] | |
I1116 13:27:43.574337 2116 master.cpp:1119] Framework a19f589a-e395-4038-bfd1-572e8b7a0258-0112 (Spark Dispatcher) at [email protected]:59715 disconnected | |
I1116 13:27:43.574389 2116 master.cpp:2475] Disconnecting framework a19f589a-e395-4038-bfd1-572e8b7a0258-0112 (Spark Dispatcher) at [email protected]:59715 | |
I1116 13:27:43.574472 2116 master.cpp:2499] Deactivating framework a19f589a-e395-4038-bfd1-572e8b7a0258-0112 (Spark Dispatcher) at [email protected]:59715 | |
I1116 13:27:43.574527 2116 master.cpp:1143] Giving framework a19f589a-e395-4038-bfd1-572e8b7a0258-0112 (Spark Dispatcher) at scheduler-f |
ffi.cdef("struct my_struct { int a; int b; };") | |
first = ffi.new("struct my_struct *") | |
first.a = 1 | |
first.b = 100 | |
""" | |
(Pdb) first | |
<cdata 'struct my_struct *' owning 8 bytes> | |
(Pdb) second = ffi.new("struct my_struct *", first) | |
*** TypeError: initializer for ctype 'struct my_struct' must be a list or tuple or dict or struct-cdata, not cdata 'struct my_struct *' | |
""" |
I hereby claim:
To claim this, I am signing this object:
$ rustc --crate-type dylib rusty.rs | |
$ python rusty.py | |
5 |