HNHacker News
TopNewBestAskShowJobs

diegocr

70 karma · joined March 25, 2014

https://github.com/diegocr
submissionscomments
diegocr··on Arkenfox: Firefox privacy, security and anti-tracking user.js template
Might be worth pointing out this was previously known as the ghacks.net's user.js, and been available for years, https://github.com/ghacksuserjs/ghacks-user.js
diegocr··on WebTorrent now works in the browser, end-to-end
I can't get it to work, hope this helps:

Firefox 32:

ICE failed, see about:webrtc for more details

Nightly 35a1:

Mandatory/optional in createOffer options is deprecated! Use {} instead (note the case difference)!

setLocalDescription called without success/failure callbacks. This is deprecated, and will be an error in the future.

ICE failed, see about:webrtc for more details

this._pc is null bundle.js:25705

Chrome 37:

Uncaught, unspecified "error" event. bundle.js:9134

diegocr··on Firefox Developer Tools – Editable box model, Sublime Text keys
An awesome list of enhancements. Something not mentioned there is that the window.onerror function has a new "error obj" parameter with the stacktrace, which i found quite handy.
diegocr··on Haskell Cheat Sheet [pdf]
I think that's the first 13-pages-long cheatsheet i see.
diegocr··on Show HN: Digitizing photos of whiteboards using the command line
I got excited when i saw the results since they looked awesome, such that I thought I could replace my quick&dirty transparent GIFs script[1], but apparently it has issues with low-resolution images.

[1] : convert -fill none -draw "matte 0,0 floodfill" -type optimize -colors 64 +dither -trim -fuzz 3% +repage -strip $1 $2

Nevertheless, it's a great technique which i've just saved for such specific cases. Thanks!

diegocr··on Invoice Ninja
We at the jsPDF Team will be pleased if you help us fixing that issue, rather than just waiting for it to be fixed.