News for hackers. Stuff that matters.

EmmanuelOga

Re:Emscripten and asm.js: C++'s role in the modern web on Thursday September 11, 2014 @08:14PM (#8305975)
Hmmm late to the conversation but I always wonder why emscripten focuses so much on C++, my understanding is that it compiles LLVM IR to javascript, and clang is used to generate the LLVM IR from C++ in the first place.

Wouldn't it make more sense to market it as llvm-ir-to-javascript compiler? That way it would be more attractive to users of any language with a llvm frontend.

Re:Simple API with Nginx and PostgreSQL on Friday July 26, 2013 @10:25PM (#6111638)
Every time I see something like this I think it is an opportunity to finally do something with http://www.eclipse.org/Xtext/. How cool would it be to come up with a simple (external!) DSL to mount SQL queries over HTTP routes, and transform the whole thing to a nginx configuration file?

Why Lisaac is broken and why I no longer work on it

http://mildred.fr/Blog/2012/11/28/why_lisaac_is_broken_and_why_i_no_longer_work_on_it/

Lisaac is a programming language with kind of an unconventional looking syntax (or at least not "mainstream looking" I would say) that used to be featured on the The Computer Language Benchmarks Game, with impressive metrics.I was wondering what happened to it since it seems to have "dissappeared". Anyway. I found an interesting article by someone who worked on it and later found Google's go...

( Read More... | no comments | on HN )
Re:Fez soundtrack contains hidden data on Friday April 20, 2012 @09:34PM (#3870542)
It is pretty easy to accomplish too. Here is a perl program an explanation on how to encode images on sounds.

http://www.ohmpie.com/imageencode/

Speaking about prevention (for the specific case of the like button), I have privoxy (1) setup to disable fb plugins with rules like these:

{+block{Facebook "like" and similar tracking URLs.}} www.facebook.com/(extern|plugins)/(login_status|like(box)?|activity|fan)\.php

{+block{Stupid facebook xd_proxy.php.}} http://static.ak.fbcdn.net/connect/xd_proxy.php.*

The second one also removes an annoyance I see from time to time when I bypass the proxy which makes the page request again and again that xd_proxy.php file.

If I really want to like something, I disable the proxy and reload the page. I use Proxy SwitchySharp (2) for chrome to do the setup for me in pages I visit often.

1: http://www.privoxy.org/ 2: https://chrome.google.com/webstore/detail/dpplabbmogkhghncfb...