HN user

chrishenn

227 karma
Posts8
Comments79
View on HN

Cool!

I once wrote a much hackier version of complex arithmetic in JavaScript [0]. It was to support a visualization of the complex derivative [1].

I found it useful to think of a complex number as a point in R^2 that operates under some different rules. I used Mathematica's `ComplexExpand` to translate from traditional notation for complex numbers [2].

[0] https://github.com/chnn/multivariable-derivative-viz/blob/ma...

[1] http://people.reed.edu/~ormsbyk/projectproject/assets/posts/...

[2] https://reference.wolfram.com/language/ref/ComplexExpand.htm...

Good ol' Socrates :)

This resonates with me very strongly. But it seems all too easy to extend this sentiment towards others and remind them that they don't know what they're doing, which creates a pretty toxic environment.

Ember Tutorial 12 years ago

I've been working with Ember over the past few months and am still impressed with how simple and productive it makes every day tasks. Basic CRUD stuff, especially render code, is a lot less drudge work. I'm even more excited for where the community is leading the framework, through projects like ember-cli and htmlbars.

Ember is conceptually pretty massive though. A tutorial like Michael Hartl's Rails tutorial would be a huge benefit, it looks like that's what this is aiming for. Thanks!

One pain point I've really felt recently with Python is in the deploy step. pip installing dependencies with a requirements.txt file seems to be the recommended way, but it's far from easy. Many dependencies (such as PyTables) don't install their own dependencies automatically, so you are left with a fragile one-by-one process for getting library code in place.

It was all fine once I got it worked out but it would so much nicer to provide a requirements.txt file and have pip figure out the ordering and dependency stuff. That and being able to install binary packages in a simple way from pip would make me much happier with python (no more waiting 10 minutes for numpy or whatever to compile).

As far as actual language features go however, I still find python a joy to work in.

I've always wondered what coding is like for those who don't speak english, or only speak a little. I imagine it's something like working with code beatified by this tool.

Almost every codebase is filled with english verbs and nouns. They are one of the primary tools for making source code readable by humans, not just machines.

Very cool tool.

How do provisioning systems compare to Docker? Right now I have a development environment that consists of salt stack provisioning Vagrant. Spinning up a production server just means running salt on the host (Rackspace, DO, whatever.)

Is there any use for Docker in this case?

As a Senior in high school who already works in a startup, I have another question: what shit should I being trying to learn in college?

There's a prominent attitude here that a degree in CS isn't all that practical—work experience matters more. What should I try to get from college? Just wondering if anyone can chime in.

I would add RequireJS to the list. Being able to think in terms of modules while developing a large application is extremely helpful, and explicitly defining dependencies is great when it comes time to build/concat the project.

Mocha is another alternative for testing. It's very flexible and with a little bit of work can be run from the shell (using phantomjs).

I've never come across a website that I felt needed a responsive layout, though I regularly think emails are a pain to read on a phone if they use html.

However, most html emails are marketing emails, so I'm still not sold of the idea of responsive templates. The emails I really care about are plaintext (the best type of responsive design---so simple!)

Black Widow 14 years ago

"Twitter has an enormous advantage over Facebook in one key area: while people on Facebook tend to friend their friends, people on Twitter tend to follow their interests. The following graph from Twitter is worth far more on a per-account basis because it is directly monetizable in a way that Facebook’s generally isn’t – you can show prophylactic advertisements to Twitter users based solely on the people they follow, and probably get a much higher rate of interest. Compared to other social display ads, Twitter ads, it is rumored, work extremely well."

Facebook users friend their friends AND follow celebrities/brands/products. Facebook also encourages you to share a lot of information about interests and locations. You might also share the same on Twitter, but its not neatly saved as part of your profile.

I'm not sure Facebook will be able to make more money off advertising then Twitter, but if they don't, it wont be because of lack of information about your interests.

Back That Gmail Up 14 years ago

If you use Google Apps with your own domain and make backups of your mail, then you have a very small chance of losing your address and your mail.

People hate on Google Apps, but you don't give up control if you follow both these steps (which is easy.)

I also don't see any reason why another email provider won't do what people are afraid Google will do.

Focus.py 14 years ago

OSX comes with (an old version of) python installed already.

Fact based, data centric news can still be quite biased through selection of detail, so Im not sure its any more trustworthy than an article.

Love the site though, really well done.