HNHacker News
TopNewBestAskShowJobs

jamesjporter

211 karma · joined November 10, 2012

submissionscomments
jamesjporter··on Very Short Reply Expected
Now that I know this I am _very_ angry that 'ahoy' and 'that is all' didn't carry the day.
jamesjporter··on _why's complete printer spool as one book [pdf]
Thank you!

The amount of people who hate on _why around here for silly reasons is absurd. I often see people judge him by the standards you would use to judge an engineer (by which he fails miserably), but the correct standards are those you would judge an artist (by which he succeeds admirably).

jamesjporter··on A non-magical introduction to pip and virtualenv for Python beginners
It also comes in handy when I'm trying to install something finicky that has a million dependencies, each of which also might be finicky (e.g. numba) and I screw something up and just want to start over clean and not muck around uninstalling things. virtualenv makes this easy—I just make a new environment for experimenting and then delete it if I mess up and want to start over, leaving my system configuration clean and other environments intact.
jamesjporter··on The most useful thing in bash
A funny story about "cd -". When I first started learning the command line during a programming course, they basically told us just enough to get by in order to complete the assignments. Somehow, "cd -" was mentioned but not "cd ..", so for a long time I used "cd -" as my only method for getting to the parent directory! (since that was usually where I had just come from). Reading about everyone discovering "cd -" much later in learning bash is very amusing, since I have been using it since day one (albeit in a totally incorrect way!)
jamesjporter··on Programmer Creates An AI To (Not Quite) Beat NES Games
Video is hilarious and worth watching the whole thing as others have mentioned, but there's some great stuff in the paper also. He mentions some really interesting future directions, e.g. obviating the need for the training data set of a human playing the game by having the computer initially try different sets of random inputs and continuously improving on those that do the "best" according to it's objective function. The bit about the computer trying to play "dinosaur coloring" is fantastic also.
jamesjporter··on Professor Tells Student to “get your shit together”
I agree, this would not be too out of the ordinary at my institution; although I usually would take the approach of going to a different class each day for the first week of classes.
jamesjporter··on Elsevier Has Bought Mendeley
+1 for Zotero, its the bees knees.
jamesjporter··on Elsevier Has Bought Mendeley
FWIW I prefer Zotero because I find downloading the pdf to actually be rather annoying. I just save the citation and double click on it to open the article in my browser whenever I need it. No metadata extraction necessary b/c Zotero pulls metadata from a doi or PMID (which is a quick copy and paste from the web) and unsurprisingly does it much better than Mendely pulls metadata from pdfs.
jamesjporter··on Elsevier Has Bought Mendeley
I've used both and found Zotero to be miles better.
jamesjporter··on Show HN: vim-expand-region - Incremental visual selection in Vim
For my fellow emacs users, our version (by Magnar Sveen) is here: https://github.com/magnars/expand-region.el
jamesjporter··on R, the master troll of statistical languages (2012)
The metaphor I use to explain R is that most programming languages are like different varieties of swiss army knife: general tools that can do a lot of different stuff with relative ease. R, on the other hand, is like a fillet knife: its totally obtuse for most things, but in spite of its oddities it outshines all other choices at one specific task (statistical data analysis / filleting a fish respectively). Depending on what sort of camping trip you're going on you might want to bring one or the other or both.
jamesjporter··on Vim speed is not really the point
Supposedly you can get this functionality from emacs jedi mode[0], although its a pain to set up; I have never gotten it to work properly.

[0]: http://tkf.github.com/emacs-jedi/

jamesjporter··on Sync to Paper
Whiteboards are my preferred method for this sort of thing. The building I work in is actually awesome for this; the safety shields (mol bio lab) at the end of everyone's desks double as whiteboards and the windows are write-on-able as well.

I also know a guy who used to have a piece of whiteboard paper glued the back of his laptop so he could close it and quickly sketch something out if he needed to, his desk is also covered in the stuff.

jamesjporter··on Show HN: My weekend Project - Almost Flat UI Theme
Wow looks great! One little piece of advice: the "disabled" button doesn't look quite inactive enough to me; if I saw it on a webpage I might try to click on it. Maybe make it a bit lighter/more transparent?
jamesjporter··on Just Use Sublime Text
Excellent, thanks! Here's to hoping I can get it to work with nyan-mode, the most important emacs plugin :P
jamesjporter··on Just Use Sublime Text
His point about touchpads is spot on though. I often find myself jumping around by clicking when I code with my laptop and no peripherals (there's no "combo breaker" since my hands are sitter so close to the trackpad anyway), but when I get home and plug in my mouse and external keyboard, it becomes much more of a hassle to click and I switch to a more keyboard-centric workflow.
jamesjporter··on Just Use Sublime Text
Woah how do you get your status bar to have the > shapes like that? Looks very nice :)
jamesjporter··on Ruby 2.0 speed ÷ Python 3 speed
Of course an advantage of python over ruby (speed-wise) is that you can leverage numpy if you need to do fast matrix operations, whereas ruby has no such library (that I'm aware of).
jamesjporter··on Richard Garriott on why “most game designers really just suck”
I'm continually impressed that Wizards manages to keep Magic as balanced and fun as they do, especially considering that they don't have the resources to really playtest formats other than standard. It always makes me angry seeing people in comment threads for previews/spoilers raging about how Wizards is "ruining the game" or some such nonsense. Making Magic is _hard_ and many players don't seem to understand this :( Of course the Magic community is anger-inducing for any number of reasons; but that's another can of worms entirely.
jamesjporter··on Amazon and CIA ink cloud deal
Haha I work in the life sciences and I thought the GP was referring to the National Institutes of Health, which was confusing!
jamesjporter··on What American Startups Can Learn From The Cutthroat Chinese Software Industry
The cutthroat attitude may be good for businesses, but this arrangement sounds miserable for users:

>Platform-to-platform in China is war, and it is fought viciously and bitterly. If you have a Gmail account and send an email to, for example, NetEase163.com, which is the local web dominant player, it will most likely go to spam or junk folders regardless of your settings. Just to get an email to go through to your inbox, the company sending the email needs to have a special partnership.

jamesjporter··on Learning Emacs, any tips or tricks, best tutorial?
This absolutely, best way to learn is to have a specific goal in mind. I got started with emacs because I was using an IDE called RStudio (http://www.rstudio.com/) which I really liked, and I wanted something similar for python but couldn't find anything to suit my needs. I set out to recreate the functionality of RStudio in emacs and have (largely) succeeded. It took a lot of mucking around but I really learned my way around the editor.
jamesjporter··on Breaking down Amazon's mega dropdown
My favorite thing about DDG is that at this point there are so many bang syntaxes defined that if I don't know the syntax for something, I can often just guess and half the time I get it right!
jamesjporter··on This Story Stinks
Less Wrong (http://lesswrong.com/) is another topically focused online community with civil and interesting discussion.
jamesjporter··on Ten years of PyPy
I'm personally very excited about the prospects for NumPy in PyPy, as this is my main use case for python. Relatedly, on the PyPy homepage, you can give money to help grease the wheels on development of specific PyPy features: http://pypy.org/. There's also quite detailed proposals that describe where the money will go, how it will help each feature's development, why each feature is useful/cool, etc. To me this seems like a really awesome way to organize donations for an open source project and gives me greater confidence that my donation will have an impact.
jamesjporter··on Zuck, Bill Gates, Jack Dorsey In Short Film To Inspire Kids To Learn How To Code
This is true for EE, but that's an engineering degree. Sciences PhDs have a much harder time, even in industry (e.g. biotech is languishing).
jamesjporter··on Does academic research cause economic growth?
I think the programming industry is interesting because my impression (I have no idea if this is backed up by data) is that there's much more mixing between academia and the private sector (i.e. people move from academic to industry jobs and vice-versa more frequently/easily) than in other fields (natural science, social sciences). I wonder if this increases the productivity of either.
jamesjporter··on OpenJournal - Discuss academic papers (open source)
I use zotero to manage my paper library and its wonderful. One of my favorite features is tag search. If I find a paper where they measure, say, the strength of a particular protein-DNA interaction that I'm interested in, but I know I'm never going to remember the title, I can just tag it with "Pnt binding strength" or something, and then search for it later.
jamesjporter··on Zuck, Bill Gates, Jack Dorsey In Short Film To Inspire Kids To Learn How To Code
lack of US PhDs? We already produce way more PhDs than the economy can absorb; if anything we should either produce less PhDs or create a better job market for them.
jamesjporter··on A user is trying to steal from us and I don't mind
I would be concerned about this as well; they'd better be damn confident that the people they hellban are actually scammers.
← PreviousPage 3 of 5Next →