samy kamkar

Results 96 comments of samy kamkar

Fixed in 68f86a3 which has been merged into matser

I attempted the update above from @etiquet on 2.3.0 with no luck, error being "Failed to connect to ESP8266". Note I kept GPIO 0 low via 10K ohm resistor when...

Hi all! I'm also getting this same error (on OS X 10.10.5) For example: ``` $ th -limage -e "image.lena()" /usr/local/torch/install/share/lua/5.1/image/init.lua:220: Wrong JPEG library version: library is 90, caller expects...

I was able to solve this, though with a big hack. Running: ``` git clone https://github.com/torch/image mkdir image/build cd image/build cmake .. && make grep * -re jpeglib ``` The...

@smortex @neomilium Hey all, I'm finding that I get significant failure rates on nfc_open() with the PN532 via UART (FTDI) by default. It failed every time with the default apps...

And here's the debug output using the original version (still patched to support baud 115200 on macOS) ``` tigerblood:/Users/samy/code/nfc/libnfc/build$ examples/nfc-poll examples/nfc-poll uses libnfc 1.8.0 debug libnfc.general log_level is set to...

> Your detailed comment is really appreciated, even the implementation could help to target the problem but IMHO the final implementation should rely on kernel good-usage, not on a userland...

Think I found a culprit. `uart_send()` which `write()`s to the FD returns immediately on my system (macOS 10.14.6), yet the bytes haven't finished TX'ing! So while it returns successfully as...

> 🤔 have you tried adding `O_FSYNC` to the call to `open(2)` that returns this file descriptor? I would expect write to return imediatly until the system's buffer is full...

Ah, thanks! O_SYNC compiles (odd that it's not in `man open(2)` while O_NONBLOCK is documented there) but same issue, the TX data is overwritten. I tested with and without O_NONBLOCK...