HNHacker News
TopNewBestAskShowJobs

Leszek

1,569 karma · joined May 2, 2012

[ my public key: https://keybase.io/leszek; my proof: https://keybase.io/leszek/sigs/3_mY6iFecdFZc6Ow5JJY9sZoaasKcTYHSNihcVgQptw ]
submissionscomments
Leszek··on The Tyranny of the Rocket Equation (2012)
What would the guideline be made of?
Leszek··on The Anti-hero of CSS Layout – “display:table”
Yeah, fair point actually.
Leszek··on The LaTeX cargo cult
Any reasoning about TeX being able to do things that HTML can't is irrelevant. TeX -> PDF can be done without an intermediate DVI stage using pdftex. There could therefore be a similar "htmltex" which could directly convert TeX -> HTML.

In the same way that pdftex has the advantage of knowing its output format (and can e.g. write pdf metadata), this hypothetical "htmltex" would know that its output is html, and could do things like allowing paragraph re-flow and embedding maths using MathJax.

Of course, this wouldn't be easy, you'd likely need to fork TeX to implement it correctly (or only support a subset of LaTeX features like the current TeX->HTML converters), but it's far from impossible.

Leszek··on The Anti-hero of CSS Layout – “display:table”
Or "display:flexible-box", maybe even shortening that somehow. Hmm.
Leszek··on The LaTeX cargo cult
The point isn't to convert a TeX program into an equivalent HTML program, it's to be HTML an output of a TeX program. For example, make \emph{foo} output "<i>foo</i>" instead of "/Times-Italic 12 selectfont (foo) show" or whatever the PS output would be.
Leszek··on Teaming up with Oxford University on Artificial Intelligence
From Wikipedia:

> The world's first computer science degree program, the Cambridge Diploma in Computer Science, began at the University of Cambridge Computer Laboratory in 1953. The first computer science degree program in the United States was formed at Purdue University in 1962.

Leszek··on GopherJS – A compiler from Go to JavaScript
Does it self-host? That is, could we have a fully client-side Go-in-the-browser?
Leszek··on Google May Lead $500M Round in Magic Leap Virtual Reality Tech
Minor correction: conventional 3d displays provide stereopsis AND vergence, but without accommodation (and the corresponding focal blur). Hence why there is a vergence-accommodation conflict, because one is provided without the other, while normally they are linked.
Leszek··on The Cargo Cult of Game Mechanics
The 70s was ten years. 2014 is one year. Is it so unexpected for there to have been 10 times as many good games (or movies) in the 70s as in 2014?
Leszek··on A hilariously sad tale of gender bias
The Dalai Lama, Gandhi and Mother Teresa you say? Penn and Teller would be the counter example to your potential counter-evidence: https://www.youtube.com/watch?v=o6voAW_Go5Y
Leszek··on Langton's ant
> All finite initial configurations tested eventually converge to the same repetitive pattern, suggesting that the "highway" is an attractor of Langton's ant, but no one has been able to prove that this is true for all such initial configurations

If Langton's ant is capable of universal computation, wouldn't non-halting programs be a counterexample to this convergence?

Leszek··on A Face Recognition Algorithm That Finally Outperforms Humans
Haar* cascades (specifically, Viola-Jones, which is what I assume you are talking about) are hardly state-of-the-art, they're over 13 years old now.

* Also, Haar is a surname, not an abbreviation, you don't write it in all-caps

Leszek··on Program Synthesis Demo
Isn't that the point though? That the search results show different possible interpretations of the text entry, and this is one of the possible ones?
Leszek··on Yo Channel
Lampshaded in one of the episodes where O'Neill asks what "kree" actually means, and the reply is that it's something along the lines of "yoo-hoo".
Leszek··on Live canvas editor compiles and runs as you edit
I've been working on something similar for teaching graphics programming to our undergrads. Uses esprima to parse the input JS and add some runtime error checking with line numbers, including unidentified variables and timeouts for loops:

http://www.cl.cam.ac.uk/~ls426/graphicstutor/

Leszek··on 2048
And here's another win, took me a fair few hours though.

http://imgur.com/9FckZVX

Leszek··on The Pebble Steel review: Wearables 2.0 arrive
You can add one more to that list, I'm currently waiting for my RMA replacement to arrive. I do love having it when it works, but I'm a bit disappointed with the hardware issues. Reminds me of the old RRoD issue on the old Xbox360s.
Leszek··on Shit programmers write
It's better than

    return foo ? true : false;
or even

    return foo == true ? true : false;
Leszek··on Enough is enough
Now being "authored 4 years ago"
Leszek··on Let’s Stop the Unix Time Insanity
Or just drop the idea of "day"/"year" being a fixed, constant integer number of seconds.
Leszek··on Scientist who faked data in his thesis will keep his Ph.D.
> and that's part of why it is the pinnacle of academic achievement.

Absolutely not. A doctorate is an apprenticeship in research, and the thesis produced is your "final test" as an apprentice. It's supposed to be the start of your academic career, not its pinnacle.

Leszek··on Linux-flavored Windows
I'm not sure what problems the author had with Cygwin that he didn't with Git's msys environment. I'm not denying that there were problems, I'm just curious what they were.
Leszek··on High Frequency Dating
I'm going to call Poe's law on this one, because I'm genuinely not sure if this is a parody post or not.
Leszek··on Painless Decorators in Python
How does this compare to the decorator module?

https://pypi.python.org/pypi/decorator

Leszek··on The kilo is losing weight, changing all of science
Presumably 6.0221413 * 10^23 * 1000 / 12 = 5.0184511 * 10^25
Leszek··on Exact numeric nth derivatives
They're exact in the sense that they give the same value as if you had calculated the value of the analytic derivative. This is different from numerical differentiation, which approximates the derivative with finite differences.
Leszek··on Visual Studio 2013 released to web
> based on customer feedback

Sounds about right to me. Why is this "spin"?

Leszek··on 3-Sweep: Extracting Editable Objects from a Single Photo [video]
AFAIK, Photoshop uses essentially the same method -- half the authors on the original Patchmatch paper were from Adobe.
Leszek··on On the Cleverness of Compilers
It's almost certainly intentionally ambiguous, and therein lies the joke.
Leszek··on Quine Relay
If anything, that makes it even more impressive.
← PreviousPage 9 of 11Next →