HNHacker News
TopNewBestAskShowJobs

houshuang

515 karma · joined April 28, 2011

Post-doc in collaborative learning at EPFL, Switzerland. https://github.com/chili-epfl/FROG https://froglearning.wordpress.com

Engineer / Learning Architect at Minerva Project. https://minervaproject.com

[ my public key: https://keybase.io/houshuang; my proof: https://keybase.io/houshuang/sigs/Y_rXPmmrtVbU1K9cHyNJ7NLuZUHHDd04rA-i7IjA7fs ]

submissionscomments
houshuang··on Show HN: This page exists only if someone is looking at it
This is awesome. Would be fun to see more statistics - how many people have I provided the page for, for example.
houshuang··on Mozilla not accepted for Google Summer of Code 2015
I love Mozilla, but it would seem that they have a large enough budget to pay for any student interns they want themselves? Happy to see this go to smaller, less funded open source projects.
houshuang··on DHS Extends Eligibility for Employment to Certain H-4 Dependent Spouses
I'm currently doing my PhD in Canada, and here, spouses of the above categories automatically get open work permits for as long as the student/work permit of the principal applicant. Heading towards the job market, there are lot's of opportunities in the US, both within academia and industry, but the fact that my wife would not be able to work is a huge deterrent for us. Add to that, my wife is not in an industry where she would be likely to get a company sponsoring her for an independent work permit.
houshuang··on The New Haskell.org
Just to mention it here, IHaskell solves a lot of the annoyances with ghci. Easy multi-line input, don't need let in front of functions, can define modules and load them (automatically compiled), etc. I think they are working on support for template haskell too (important for experimenting with lens code etc)
houshuang··on Alibaba begins drone delivery trials in China
They have more lax regulations about some things, but apparently civil aviation is extremely tightly regulated, with most of the country set aside for military aviation (James Fallows has written about this). I'm sure they'd be wary of all their civilians runnings drones, filming things that shouldn't be seen, etc as well.
houshuang··on China’s Pearl River Delta overtakes Tokyo as world’s largest megacity
This doesn't always work, the Greater Toronto Area (GTA), even if you take the most narrow interpretation, is made up of a bunch of different transit systems. Walking along on Google Streetview, there is no way you could tell when on Yonge Street you have "left Toronto", and need to pay extra fare on TTC, or take YRT/Viva/Blue etc.

But it's a neat idea to think about transit and accessibility. I'd love to know at which point in the world you can reach the most people within an hour of transit for example, or two hours... This is the advantage in the Pearl River Delta (and probably Tokyo) - there is tons of high-speed rail, subways etc, so you can probably reach about 40 million within 1.5 hr (an hour high speed rail and half an hour on local transit). Whereas it takes me an hour and a half just getting to the airport in Toronto.

houshuang··on Ways to learn a language as an adult?
Learning French while being fluent in Spanish, not very impressive.
houshuang··on Starting data analysis with R: Things I wish I'd been told
Thank you. As said, there are always many ways of doing things in R.
houshuang··on Starting data analysis with R: Things I wish I'd been told
There are lot's of ways of doing things in R, and I am always learning. I always use vectorized functions when I do something to every row in a data.frame, but when I want to do something to every column, like here, I sometimes use for. How would you use something like plyr here, and would it be as easy to understand?

  likertcat <- c("1"="Not at all", "2"="To a small extent", "3"="To some extent",
    "4"="To a moderate extent", "5"="To a large extent")
  
  for(e in names(db[,9:44])) {
    db[[e]] <- revalue(db[[e]], likertcat)
    db[[e]] <- ordered(db[[e]], levels= c("Not at all","To a small extent",
      "To some extent","To a moderate extent","To a large extent"))
  }
houshuang··on Haskell Communities and Activities Report – November 2014 [pdf]
Incredible the amount of interesting work going on. And great very clear writeup.
houshuang··on How I Start: Haskell
Yes, I found the Data Analysis cookbook very helpful as well. However, it really drove home to me the need for a dataframe/Pandas-like library in Haskell... About half the code in every one of his examples was reading a CSV file, parsing it into some ad-hoc data structure etc. For very robust production apps, that can be justifiable, but for just a quick look at some data, it should just be a one-liner...
houshuang··on How I Start: Haskell
Great write up, nice dissection of a simple (but not hello world simple) app, with all the ecosystem setup, etc. Apparently he is writing a book now - looking forward to that.

I think it is very hard to understand what a "beginner" needs - I now come across tutorials that finally make a certain concept "click", however the reason might not be that that specific tutorial was great, but rather that I have already hit my head on a bunch of other tutorials and practice that "prepared me"... Howver, Chris Allen actually working on teaching Haskell to a bunch of beginners is probably a great way of understanding what helps people to 'get it' sooner.

houshuang··on Ask HN: How do you manage your photos?
(And also, how do you actually access the photos? I have thousands of photos on my harddrive, but I find it extremely rare to actually sit down and look through any of them)
houshuang··on Introducing Swift
The live REPL is totally out of Bret Victor, very impressive.
houshuang··on Octotree: the missing GitHub tree view (Chrome extension)
Brilliant - it's often quite slow to change between directories in the web view, this is blazingly fast. Especially useful for deeply nested (templated) projects.
houshuang··on The State of Hy
Is there any larger apps or libraries written in Hy? Would be great to see examples of "real-world" code outside of the tutorials etc. Wonder how it would be to use this for data analysis with Pandas/Matplotlib etc. IPython integration?
houshuang··on Light Table Plugin Tutorial - part 1
This is really neat - I'm eager to see what people come up with. I wonder if there could be something similar to M-: in Emacs, to quickly evaluate a form, and if people could actually use that to do text manipulation, etc.
houshuang··on Show HN: Sense - A New Cloud Platform for Data Science and Big Data Analytics
For my own work, maybe help integrate it with IPython as an alternative front-end. I don't have a cloud project, I just do my own data analysis/learning with IPython and IHaskell, and think a multi-pane approach would be much more powerful. (I applied for an account with Sense, looking forward to playing with it and providing feedback).
houshuang··on Show HN: Sense - A New Cloud Platform for Data Science and Big Data Analytics
Looks awesome, great with multi-engine support. I'd love if you could open-source your two-pane approach to IPython... I really like IPython (and have been working with IHaskell lately), but I find the RStudio approach much better... having my code on the left, moving up an down and executing lines with Cmd+Enter, running entire cells (knitr Rmd style), seeing graphs and documentation while you're working, etc...
houshuang··on Ask HN: What is the best functional programming language for data science?
This is a question that also interests me. I've been thrown into a lot of data sciencey work this year with learning analytics data from MOOCs - so far mostly cleaning and organizing, graphing etc, but we're moving into more machine learning, inference etc. I have a poor math background, but eager to learn, so while I've done most of the practical work in R and now Python with Pandas, I am playing with things like Learn Math, Logic and Computer Science with Haskell (also Think Stats and Think Bayes with Python).

I would love to see a more mature package with IHaskell, easy access to graphing, and a nice Pandas/data.table like library, and a set of statistics tutorials written around them, where you are basically learning statistics/probability at the same time as using the language. (I found this paper on functional probabilistic programming in Haskell very fascinating - the idea of using a Monad to wrap distributions, uncertainty levels etc around numbers seems very powerful http://web.engr.oregonstate.edu/~erwig/papers/PFP_JFP06.pdf)

houshuang··on Operators and Meta-operators in Perl 6
So what's the situation of Perl 6? Is it production ready? Any demonstration code?
houshuang··on Ask HN: How did you get started with the programming languages you use?
Learnt "BASIC with Dino" in primary school ('87) on TIKI 100 (Norwegian computers, like C64). Programmed games in AMOS (Amiga, BASIC with sprites and bobs, collision detection etc). Did some QBASIC, and Visual Basic. A bit of BZ (scripting language for BBS). Didn't do much programming for a bunch of years.

In 2004, I was living in an apartment in China, with a lot of time on my hands. Heard about Python and Ruby - gave Python a try, but got stuck on something trivial and had nobody to help me. With Ruby, I didn't get stuck. Used it on and off for years for small private projects, and two NGO internships where I used Ruby and RoR (but wasn't hired for it).

Still use Ruby for a lot of side projects, text wrangling, scraping etc. Began learning R for data wrangling/statistics/visualization. Amazing ecosystem, annoying language. Heard about Clojure and began playing with it after reading lots of interesting blog posts etc. My first intro to Lisp and functional programming. Liked a lot of it, but not crazy about JVM and stack-traces.

Through reading about Clojure, got interested in Haskell, and read a bunch about it - very interesting exposure to a ton of new concepts (which Clojure had warmed me up for). Also began looking at Julia for statistics, and lately had a look at both Nimrod and Elixir (which again introduced me to lot's of new ideas from Erland).

I've learnt a huge amount in the last year, and had my eyes opened to new paradigms. Still haven't really settled on anything new, and in the meantime I keep going back to Ruby and R to get stuff done.

Going back many years, choosing Python instead of Ruby might have been a better choice - it's clearly far ahead of Ruby in terms of academia - data science, machine learning, IPython Notebook, etc. However, knowing Ruby Python is almost too similar - like learning French while speaking Spanish... I can already read it, and don't feel motivated to spend the time to learn it, more attracted by new languages with other paradigms etc. (Why I'm spending time learning Russian as well :)).

houshuang··on Processing Hour of Code
Yes very cool to see the video window move etc. But I really wanted to jump around (ahead) in the video/speed it up.
houshuang··on Show HN: RinohType – A modern LaTeX in 6500 lines of Python
This looks great - hopefully wouldn't be too hard to implement Markdown as well. I really want to be writing my academic papers in Markdown or some other simple markup (my papers usually have a surprisingly simple structure), and still have them look nice. Making it _much_ easier to create nice-looking templates would be great (maybe even a GUI editor for templates).

However, I would also love to see more movement towards more flexible, semantic document formats for for example academic papers... I want to be able to read papers in my preferred style, whether on my iPad, Kindle or Mac. But still good support for citations, highlighting etc. Maybe epub is the way to go, not sure.

Anyway very exciting project, and good luck!

houshuang··on Write yourself a Scheme in 48 hours: A Haskell Tutorial
Wikibooks really needs to get syntax highlighting - I find it helps me a lot when reading code.
houshuang··on A Haskell kernel for IPython
Very cool. Agree about the rebranding of IPython, but I'm sure that'll come as the community matures.

IHaskell specific: As a beginning Haskell learner, is there a simple graphing framework that can make graphs shown inline in IPython (of course bindings to D3 etc to make web native graphs would be awesome, but even just images are fine) ... I'm currently learning maths/stats by implementing basic functions and experimenting with them in R, Julia, possibly Haskell etc. Being able to easily do simple graphs is crucial.

houshuang··on Functional Python Made Easy
Very neat, and great examples. I do a lot of data manipulation myself, and could see this being very helpful/useful.
houshuang··on Vim PDF Documentation
Probably would have been more helpful to link to the blog post explaining the project - http://nathangrigg.net/2013/09/reproducing-vim-help-as-a-ful.... It would be great if the top comments at least had a look at the PDF, and maybe read that blog post - the file is full of hyperlinks (that was the whole point), has a beautiful index viewable in the sidebar of Skim, and he made it because he wanted to read on his iPad, and be able to annotate...

Very cool. Would love something similar for Emacs... Maybe it exists, haven't really looked

houshuang··on 10 Months at Harvard, Quantified
This is very neat. I think this kind of time tracking can be very useful, especially for people in professions that are very self-directing, and provides a mix of short-term and long-term projects. I'm a PhD student and I've been playing around with setting up my own systems (http://reganmian.net/blog/2013/03/16/unobtrusive-time-tracke... and http://reganmian.net/blog/2013/03/29/time-tracker-one-week-o...).

A bunch of the things he noted resonate with me, like noting the difference between time spent in the office, and time spent actually working (even when you are not procrastinating, there's all kinds of little things taking your time). I've not been as rigorous about setting goals and then sticking to them, but I did set up a "traffic light" system, aiming to hit 4 hours work on my PhD every day ( a typical "long-term" goal which easily gets buried under short-term commitments and things you can "cross off a list").

I also have data that can let me show how long I work on things on average, at what time of the day etc, but I haven't dug into it yet... I see some great posts about quantified self people (like Sacha Chua http://sachachua.com/blog/2013/07/quantified-awesome-adding-...), but either they tend to use totally off-the-shelf programs like RescueTime, or they tend to write their own solutions... I'd love for the QS community to come up with some standards, for example a standard way of storing time-use data, and then some common libraries - I'd like to continue logging my time in whatever way works best for me, but if someone makes a really neat way of visualizing time spent vs length of chunks, I'd love to be able to run that analysis on my data too... R would be one nice place to host that.

houshuang··on Amazon India is now live
Great to see a good selection of Hindi novels, wish they were available for Kindle though. (Don't think the e-ink Kindles can even render Hindi though)
← PreviousPage 2 of 3Next →