HNHacker News
TopNewBestAskShowJobs

stevetjoa

225 karma · joined March 15, 2011

stevetjoa.com

steve@stevetjoa.com

submissionscomments
stevetjoa··on ipython 2.0.0
Hooray, IPython 2.0.0 now has `Audio` in IPython.display. As someone who uses IPython notebooks for audio signal processing, this is huge. There were previous user-contributed ways to get around it, but now it's built in.

See http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/... for an example.

stevetjoa··on ipython 2.0.0
Good news: a moment ago, I was just able to install IPython 2.0.0 with `conda update ipython`. I'm excited -- it looks great.

Interestingly, if I then do `conda update anaconda`, it unlinks IPython 2.0.0 and re-links 1.1.0 after confirmation (which I decline, of course).

stevetjoa··on How not to write an API
I was a reviewer for a Springer journal (MMIR). I contacted Springer in October 2012 to let them know that they store plaintext passwords and share the plaintext passwords with their users (e.g. "Hey, it's review season again. Please login to accept or decline your review assignments. By the way, if you don't remember your password, here it is! abc12345"). Over a brief email exchange, I carefully, politely, and concisely laid out the problems with doing so. All I got was a hilariously dismissive reply.

In October 2013, I received another email from Springer with my password in plaintext, and they CCed this email to another person!!

I declined my review assignments, asked them to permanently delete my account, and I haven't heard from them since.

stevetjoa··on Ask HN: How did you get started with the programming languages you use?
As an EE, I used Matlab a lot for signal processing (image and audio). I had Matlab for Windows at the time. In 2007, I decided to slowly migrate my primary desktop environment over to Ubuntu, but I could not easily find (i.e., pirate) Matlab for Linux. Yes, I was aware of Octave and SciLab, but they are not enormously popular, particularly for niche fields that are comprehensively addressed by the Matlab toolboxes.

That's when I discovered Python (NumPy, SciPy, Matplotlib, IPython). As for the actual learning process, these three things helped me the most:

1. http://www.pythonchallenge.com/

2. http://projecteuler.net/

3. the emergence of Stack Overflow. I asked and answered a bunch of questions there.

I wrote more about my reasoning here in an old post (2010): http://stevetjoa.com/305/

stevetjoa··on Show HN: Entire concerts algorithmically "reconstructed" from YouTube videos
Same here.
stevetjoa··on Ask HN: Is there an Airbnb for cars?
I've seen advertisements around SF for https://relayrides.com/.
stevetjoa··on After almost 20 years, math problem falls
How pleasantly surprised I am to find that the work of Amir Ali Ahmadi, a friend and former student at Maryland where I was his EE TA, appeared on Hacker News. We both took the same graduate-level class on optimal control; despite being an undergrad, he was one of the best students in the class.

The result is intriguing and reasonably accessible: for all (multivariate) polynomials whose degrees are even and at least four, determining convexity (of any type! strong, strict, regular, pseudo-, quasi-) is strongly NP-hard. To prove this, the authors equate the problem of determining convexity to the problem of determining the nonnegativity of biquadratic forms -- a known NP-hard problem.

Find the paper here: http://aaa.lids.mit.edu/publications. (Edit: direct PDF link http://mit.edu/~a_a_a/Public/Publications/convexity_nphard.p...) See Table I on page 18 for a concise summary.

stevetjoa··on Ask HN: What's the best keyboard you've ever used?
I just bought the Das Keyboard Ultimate, and I like it a lot. The keys are firm and clicky, but not as firm as I remember the IBM Model M being. I'm slowly getting used to the unmarked keys, particularly the number row. The keyboard as a whole is weighted and doesn't move while typing. It's great.

For laptops, I love the Thinkpad. I returned an Asus Eee PC for the sole reason that the keyboard was unusable, and instead bought the Thinkpad.

Despite owning a MacBook Pro, I don't like the Mac keyboard and probably never will.

In case you haven't seen the Stack Overflow post on keyboards: http://stackoverflow.com/questions/687/keyboard-for-programm...

stevetjoa··on Q: Why can I access an out-of-scope C++ var? A: So you rent a hotel room...
200 upvotes in nine hours?! Is that a Stack Overflow record?
stevetjoa··on [dead]
Careful; it is not yet clear whether this person is affiliated with LulzSec. You should add "alleged" or "suspected" to the title.
stevetjoa··on Great People Are Overrated
Quadratic growth is f(n) = n^2. Exponential growth is f(n) = e^n, or 2^n, or 10^n, for example.
stevetjoa··on Miraculous New Spray On Skin Technology Treats Burns Without Scars
One company, Remedium Technologies, is developing something similar -- a foam spray to control bleeding: http://www.remediumtechnologies.com
stevetjoa··on [dead]
For those interested in similar websites:

http://isitsnowinginsfyet.com

http://diddukewin.com

stevetjoa··on What is the best way to absorb the material from a book?
As you read:

1. Write notes in a separate, clean notebook.

2. Ask questions. Write down the questions.

3. Read fewer books, but read them well.

For me, writing and asking questions significantly enhance reading comprehension.

stevetjoa··on How Perceptual Hashes Work
If you're interested in this article, then you may interested in locality sensitive hashing (LSH), a randomized hash that has been used seemingly everywhere. I recently used it to speed up music source separation (papers pending).

The idea is similar to the one mentioned in this article, but more general. Unlike a cryptographically secure hash where x != y implies that h(x) != h(y) (collisions aside), LSH says that if x and y are "near", then P(h(x) = h(y)) is "high". This quality is important when doing robust similarity search. For example, if your image is noisy or rotated or scaled, you hope that you can still find the clean version in a database.

LSH has been used in many application domains including images, video, music, text, bioinformatics, and more. LSH is not directly comparable to a feature extraction algorithm such as SIFT.

[Edited for clarity.]

stevetjoa··on How Perceptual Hashes Work
I do research in music information retrieval. See the ISMIR 2003 paper below. In short, it searches for landmarks in the spectrogram, hashes those landmarks, then compares those hashes against database hashes for temporal continuity. http://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf

A seminal paper on audio fingerprinting is the one by Haitsma and Kalker. http://ismir2002.ismir.net/proceedings/02-fp04-2.pdf

stevetjoa··on I want to get a job in bio-related programming - what should I do next?
You could follow material posted online. For example, last semester, I sat in on this class: http://cbcb.umd.edu/confcour/CMSC828H-syllabus.html

If you are a bioengineering MS and know Python, then by studying the materials and journal papers, you may be able to do the assignments. At least it will give you an idea of the important problems and existing approaches.

stevetjoa··on DCA: A simple, unpatentable cancer treatment?
Encouraging, but read this too, particularly the edit at the bottom, along with the link to ualberta.ca dated May 12, 2010: http://www.tweaktown.com/news/19694/has_cancer_been_cured_bi...
stevetjoa··on Signal processing to music audio -- synthesis, effects, and analysis.
I study music information retrieval (MIR). Here are some of my bookmarks:

MIR Tools: http://www.music-ir.org/evaluation/tools.html

MIR How-Tos: http://www.ifs.tuwien.ac.at/mir/howtos.html

MIR Data Sets: http://grh.mur.at/sites/default/files/mir_datasets_0.html

MIR Toolbox (Matlab): https://www.jyu.fi/hum/laitokset/musiikki/en/research/coe/ma...

Million Song Dataset: http://labrosa.ee.columbia.edu/millionsong/

The "music" tag on Stack Overflow has some basic discussions on MIR: http://stackoverflow.com/questions/tagged/music

stevetjoa··on Ask HN: Focus and concentration
This excerpt is fantastic -- refusing to let Nixon's impeachment derail his path toward writing a novel.

When I find myself about to lose focus, I ask myself, "Ten years from now, are you going to remember that crappy TV show you watched for one hour on a Tuesday, or are you going to remember the moment your advisor kicked you out of his group?"

stevetjoa··on HN: What is something you learned way too late in life?
Investing. And related to that, risk taking.
stevetjoa··on [dead]
"I watched two videos and didn't see anyone innocent getting killed."

What are you implying?

"Of course if I saw someone burying an IED, I'm not sure I'd be too sensitive either."

This article describes several unprovoked attacks by US infantry, the soldiers' total disregard for human life, and the investigation afterward which often led to inadequate punishment of the guilty parties.

Careful, planned murder of an unarmed 15-year old farmer by grenade and gunfire.

Severed human fingers as trophies.

Superiors who conveniently ignored this behavior.

The guilty soldiers' downfall after they beat a fellow soldier for snitching, then threatened to kill him, because "it's too easy."

stevetjoa··on Ask HN: I'm a cs grad student seeking advice
Perhaps the following posts on Stack Exchange may help:

What should a CS grad know? http://programmers.stackexchange.com/questions/16325/what-sh...

Advice for nontraditional CS student? http://programmers.stackexchange.com/questions/39243/advice-...

Personally, I believe the most important language-agnostic skill for any CS/engineering graduate student is the ability to model problems and solutions with pen and paper before diving into the code. The theory lays the blueprint for the house. The code is the bricks.

← PreviousPage 2 of 2