News for hackers. Stuff that matters.

diegocr

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
Re:WebTorrent now works in the browser, end-to-end on Monday September 15, 2014 @04:35PM (#8321349)
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

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.
Re:Haskell Cheat Sheet [pdf] on Saturday April 12, 2014 @02:20AM (#7577148)
I think that's the first 13-pages-long cheatsheet i see.
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!

Re:Invoice Ninja on Tuesday March 25, 2014 @05:10PM (#7468982)
We at the jsPDF Team will be pleased if you help us fixing that issue, rather than just waiting for it to be fixed.