HNHacker News
TopNewBestAskShowJobs

xymostech

677 karma · joined November 12, 2011

Genentech dev, former Academia.edu, Spring Discovery, Cricket Health, and Khan Academy. Co-creator of KaTeX https://khan.github.io/KaTeX/ and Aphrodite https://github.com/khan/aphrodite

https://github.com/xymostech

[ my public key: https://keybase.io/xymostech; my proof: https://keybase.io/xymostech/sigs/X4gWdG2AX9mYlklCEZ3Ox4wIwt_NHwxru4b1py5pwrw ]

submissionscomments
xymostech··on KaTeX: Math typesetting for the web
There's a list of functions it supports here: https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX

Most inline math is done, but we're missing a bunch of individual symbols (see CONTRIBUTING.md in the repo if you'd like to contribute!) The main things we're missing are environments (i.e. \begin and \end), but we'll be working on those soon!

xymostech··on KaTeX: Math typesetting for the web
We're not compatible yet, but we're working on it! In the meantime, you can fallback to MathJax on things we don't support. That way, most things can be rendered fast, and anything super complicated gets special treatment. We'll be releasing something soon on how to do this, and if you use React you can use the KA TeX component: http://khan.github.io/react-components/#tex
xymostech··on KaTeX: Math typesetting for the web
Yep! Also, ignore the IE 8 data on that page, there was a fluke with IE 8's .innerHTML. You can see http://jsperf.com/katex-vs-mathjax/2 for a version that IE 8 supports.
xymostech··on KaTeX: Math typesetting for the web
We're using the similar fonts to what MathJax uses (ours have some slight changes in spacing), but we do our own layout calculations to be much faster.
xymostech··on KaTeX: Math typesetting for the web
Not quite yet, but we're working on it. There are some significant features that KaTeX doesn't yet support, but we're working to add them in the near future.

In the meantime, you could use our TeX React component to use KaTeX when possible, and fall back to MathJax only when necessary: http://khan.github.io/react-components/#tex

xymostech··on Robot With Broken Leg Learns To Walk Again In 2 Minutes
It looks like they did try that, and it moved faster:

> “When the robot is undamaged, our approach yields dynamic gaits that are 30% faster than the classic reference gait,” say Cully and co.

However, there don't appear to be videos of that.

xymostech··on Show HN: Vim Awesome – Vim plugins
Just click the edit button next to "uncategorized", and select a category. You can edit and add tags as well if you'd like.
xymostech··on Programming Language Popularity on GitHub and Stack Overflow
Interestingly, PDFs actually do contain an embedded programming language in them, a subset of PostScript. [1] PostScript, meanwhile, is actually Turing complete with conditionals and loop structures inside of it. [2] I'd argue that makes PDFs a whole lot more programming language-y than CSS or XML.

[1]: http://en.wikipedia.org/wiki/PDF#Technical_foundations

[2]: http://en.wikipedia.org/wiki/PostScript#The_language

xymostech··on Can This Web Be Saved? Mozilla Accepts DRM, and We All Lose
You could use Chromium, the open-source version of Chrome. It comes without flash, which needs to be explicitly installed to make flash work. Not sure what OS you use, but this is what I do on Linux.
xymostech··on How a Florida kid’s “stupid app” saved his family’s home
About 50% of the bullet points on the site are great too:

Under "Actively Developed":

- Most patches make it better.

- Only some break it.

- Written in PHP so literally anyone can contribute, even if they have no idea how to program.

- Even babies and dogs can contribute.

Or under "Track bugs":

- Keeps track of bugs.

- You can assign them to people.

- Maybe you could fix them eventually. (optional)

xymostech··on Announcing the C++ FAQ
They say that the previous FAQs will be replaced by links:

> Both Marshall and Bjarne will be updating their FAQs to either forward or link to the new FAQ on a per-FAQ level.

xymostech··on It Is Time For Basic Income
Well, then McDonalds can offer more money to work there. Obviously, McDonalds wants to stay in business, so it has to offer up some incentive to get people to work for them. If they offer enough money, there will certainly be people who would work to flip burgers.

The jobs' salaries match what they are actually worth, and can't be offered as minimum-wage jobs that people take because they don't have any money and can't get a job elsewhere.

xymostech··on Popcorn Time – Watch torrent movies instantly
This happens because it no longer downloads to the final location, it usually downloads to the same place but with .crdownload or something appended. I get around this by downloading with a different program (aria, wget, etc...) or by hard linking the file it's actually downloading to something looking like a movie file, and vlc-ing that.
xymostech··on Tab Closed; Didn't Read
The Tom's hardware one bugs me the most. For anyone who (thankfully) hasn't seen it yet, you get it by scrolling to the bottom of one of their question-and-answer posts, soon after the last answer (and it doesn't make it very obvious which one is last). If I found an answer in the thread, why on earth would I want to go check out another question?!
xymostech··on There will be blood - Photo Analysis
Posting the same link and comment five different times in the same thread isn't all that helpful.
xymostech··on Wireless HDMI for Everyone
Not (entirely) true at all! Someone reverse-engineered most of the Airplay protocol, so you could (if you wrote software to do it) do the same stuff on Windows/Linux/Etc: http://nto.github.io/AirPlay.html

For video streaming, you basically just have to send it a URL to a video file, and it'll stream and play it for you just fine.

xymostech··on Show HN: Visualize your Dropbox Space Usage
Would be nice if it would tell me where things are located. I can tell they're grouped by folder, but it doesn't tell me what folder that is or where it is within the Dropbox folder. (I know I can find it in my actual Dropbox folder, just wondering why that information is missing from here)

Also, there seems to be a bunch of "undefinedByte"-sized files lying around. Anyone know what those are? Maybe 0-sized files or something?

xymostech··on Microsoft does away with stack ranking
The answer to your question is probably "no". However, most of the discussion was in reference to the stack ranking at Microsoft, where people's pay was being determined by how well they were ranked by their peers. If you were generally likable, people might also say that your coding skills were better than they really were. So, I think that you're right, and it's a good reason why the stack system didn't work very well.
xymostech··on Python 2 vs. Python 3: A retrospective
In C++ it's fairly common to be calling begin() and end() on containers, where in Python it's not common to call next(), you let the for loop handle it. It's reasonable to rename a function to something ugly when you're never going to be seeing it.
xymostech··on Play Fantasy Even If You Hate Football
Presumably the fun part comes from the Final Fantasy aspects of it, and not from the football aspects of it. Min-maxing can be very fun by itself, regardless of the subject at hand.
xymostech··on Off
Just wanted to point out that the weird "hiding the address bar" thing isn't as bad as you describe (the behavior you talk about might have existed in one of the betas, but trying on my iPhone now it seems to be gone). Instead, if you press the top of the screen the address bar now appears, and pressing the top again makes you scroll to the top of the page.
xymostech··on We don’t have time for code reviews
What about

  window.alert = function(){};
xymostech··on Steam Machines – Prototype Details
Isn't the point of Valve's console that they want to get SteamOS out to people to test, not because they actually want to sell it to people? It looks to me like they're shipping with a variety of system configurations (one of them even has an i3 in it, certainly not a hardcore processor) and they're seeing how each of them holds up. They're going to leave it to other companies to actually make some real consoles (they might release their own too, but they're not the only ones who can), and one of those companies certainly could perform the system integration that you'd like to lower the cost.

The point of SteamOS is that it's open, and anyone can make them (and people other than Valve can sell them). If they become insanely popular, I'm sure that someone will jump on integration to sell a cheaper console.

xymostech··on Booting a Self-signed Linux Kernel
Why can't this procedure be standardized and made straightforward? It's hard now, but hopefully in the future it will just be a typical part of installing the operating system.
xymostech··on Firefox now only has one HTML parser
Does anyone know why about:blank is so magical that can't use the new HTML parser? Can it not be parsed like other pages?
xymostech··on Frosted Glass Effects — Why I switched to Android after all these years
I've been running the iOS 7 betas on my iPhone 4 (the oldest generation that iOS 7 will support). It definitely disables some of the features: a lot of the transparency is gone, the parallax is gone, and it's missing a lot of features like Siri and stuff. In beta 1, the performance was terrible, but it's gotten much better recently.
xymostech··on Skeuocard
If you press tab, it at least cycles through all of the input boxes on the front side in an appropriate manner, and you could probably design it to flip over on the next tab press. I'm fairly certain that would make it work with screen readers (but not positive).
xymostech··on Reversing Bits in C
I don't even think that mirroring images would require reversing bytes, unless you want to mess up the color components also or something...
xymostech··on Tox: secure messaging for everyone
They host their code on github. If you scroll about 100 pixels down, they say that. I'm not sure whether that's still okay (the not linking part) but they're not just randomly using github images.
xymostech··on Valve releasing Dota2 for Linux
I seriously doubt that anyone who wanted to play the game a week ago couldn't find a beta key floating around somewhere to play (there are about a million key giveaways on reddit, etc). I think that Valve getting rid of the beta status is more about them being confident that it's polished than wanting to release to a broader audience.
← PreviousPage 2 of 5Next →