5 ms·
Another interesting example is Shazam, which listens to 10 seconds of music and identifies the song. When I encountered it, I knew immediately that its implemen
by WalterBright 9y ago
Another interesting example is Shazam, which listens to 10 seconds of music and identifies the song. When I encountered it, I knew immediately that its implementation must be based on a fourier analysis of the sound to generate a fingerprint. That's because FA was a required part of my engineering curriculum.
No matter how good a programmer I was otherwise, without knowledge of FA I'd probably hack around for years with one inadequate ad-hoc solution after another. If I was really clever, I may even actually reinvent FA, badly.
This is where having proper engineering/mathematical training pays off. Just being a great programmer is just not enough.
For another minor example, I was given the minor job once of printing what was on the graphics screen on the printer. I knew that constructing a coordinate transform matrix was the answer, and had it running in a couple hours. A coworker, an excellent programmer, who had never heard of matrix math, was completely astonished at this and thought it was just black magic.
- pavlov 9y agoYet if you look at the engineering team at a company like Shazam, I'd bet a small minority of them actually work on song fingerprinting. Shazam is an app company. Most of the people there will be working on UIs, serving requests fast enough, integrating with partner APIs, and other standard software development where they never once need to feed audio packets into libfftw or whatever. Your other comment seemed to suggest that you feel the Boeing model should apply here, and the people who don't work on the math-heavy product core should be considered technicians. Is that the right interpretation?
- heeen2 9y agoThey also need a decent database to find the song from a five second sample occurring anywhere in the whole up to say 8 minute song, for their whole song library
- giancarlostoro 9y agoAlso in some cases have access to not well known artists altogether.
- WalterBright 9y agoI'm suggesting that a well-rounded team has a mix of skill levels and expertises.
- meheleventyone 9y agoIn my experience this is where the ability to learn from literature would really help. In this specific case you’d encounter Fourier analysis pretty damn quickly if you started to read around the subject. Likewise whilst I think my formal teaching gave me a grounding I actually value the self-learning aspect from my degree more. The hard problems are the ones you’ve not heard the solution too before. The main thing a formal education provides is a leg up and hopefully a solid set of skills to help find answers to hard problems.
- emacsgifs 9y agoI can confirm that without specific education, reading around things like audio analysis and audio fingerprinting, Fourier comes up pretty quickly, and did before Shazam was a thing. Honestly, I think tenacity and an ability to learn and move quickly are the most valuable engineering skills one can have.
- maephisto 9y ago>> Honestly, I think tenacity and an ability to learn and move quickly are the most valuable engineering skills one can have. I agree. Nowadays the information is abundant and so easy to reach. One only needs to be able to understand and learn. From there, sky is the limit.
- aalleavitch 9y agoThe only place where I think this doesn't apply is within an extremely specialized space. I think that very few engineers of that type are generally necessary, though. At the same time, I'd imagine that if you do have the academic background for extreme specialization, you're probably going to be able to demand a pretty high paycheck.
- zerr 9y agoNot sure about your examples. I mean, when working as a programmer, we encounter tons of things we've never heard before but we do the research, we study what's needed to complete the task and we complete the task... e.g. it is quite easy to search about audio recognition - you encounter fingerprint, then you do the research... Your examples make sense when you're isolated on some island without a connectivity, but that's not the case usually. Also, I think companies like Shazam have separate people/teams in "science/research department" and "engineering department".
- jakobegger 9y agoIt‘s easy to google how Shazam works now, since they exist. I‘m pretty sure that googling for „audio fingerprint“ or „algorithm for recognizing a song“ wouldn‘t have gotten you the answer in 2002. You need to know the maths if you want to invent something new. If you just want to reimplement existing stuff, maybe you can get away without it. (Inventing new stuff is actually pretty rare for programmers. I don‘t think I‘ve actually invented much, despite having worked as a software developer for more than 15 years...)
- sho_hn 9y agoPeople tend to underestimate the age of working knowledge a lot. Shazam wasn't an original invention, similar things were implemented in hardware in the 80s, and original research in this area done even much earlier. Sure, though, as you go back in time, the probability that the environment you could get exposed to that knowledge in overlaps with academic circles probably increases.
- whistlerbrk 9y agoSeriously, consider that the PARC people were working on perceptrons decades before they became truly feasible. There is almost always prior art to build on. The most valuable engineering skill I find is the ability to say "I've run into a problem, I am not the first person to run into this, let me research how other people solved similar problems so I can understand my problem and it's edges better".
- pjc50 9y ago> job once of printing what was on the graphics screen on the printer. I've had several variants of this, and the problem was not one of coordinate transform but either futzing with the API to actually get at the printer, or re-layout the items on the screen because transforming a 16:9 screen to a 1:1.6 piece of paper will look weird.
- sillysaurus3 9y agoFA is the first thing that anyone who remotely googles for "identifying music technical implementation" pops up. The idea that someone couldn't figure this out on their own just because they didn't have rich parents who could afford to send them to some school is quite mistaken. Put yourself in their shoes. You're you. You weren't sent to a school. What would you do to figure out the problem? Would you really hack around for years without success, or would you look up related material, read, study the problem, and check for existing solutions and scholarly articles on the topic? You know, all the things that a Real Engineer does. And you'd get results quickly. Because you are a real engineer regardless of whether you went to a school.
- codeisawesome 9y agoI’d just like to add to all the people responding with “google didn’t exist back then” in the comments here, that libraries did exist. I found a great wealth of usable and applicable information in mathematical encyclopaedias, handbooks and software engineering books and journals (even 5 year old ones) in the public library where I live.
- WalterBright 9y agoLet's say you did some research that suggested FA was the right solution. Now what? FA is not a freshman topic, it's a senior topic. You've got 3 years of math background you'd need to learn first to get to the point of being able to properly understand it (rather than blindly using it as a canned formula).
- sillysaurus3 9y agoI'm speaking from experience. It's a generational gap, I think, which is why it's hard to understand. But it's true. FA is using cosines up and down the spectrum to convert a set of samples (audio, image, etc) into a frequency spectrum (the magnitude associated with each cosine). I didn't have to look that up. I just know it. And I'm no genius. This isn't nearly as difficult as it seems. Especially because universities usually spoonfeed you information at an absurdly slow rate. There's value in that – I'd wager you could whip me if we have to bust out some paper and solve some integrals. But then again, I can just get a computer to do that hard work for me. I know what integrals mean and why they're useful, which is far more important than the rote memorization of techniques to solve them. Now, if you want to argue that there are specializations that you can only learn in university, you'll get no disagreement from me. Distributed systems is a perfect example. On the other hand, I know those fundamentals too because I completed 6.824 on my own time. It's freely available. And yeah, matrix math is a piece of cake too. The world has simply changed. Information used to be valuable and guarded. Now all that matters is raw talent and motivation. And credentials, sadly. But the world is slowly learning those aren't a great proxy for talent. It's probably hard to empathize because you were well off enough to go to university. But you have to remember that intelligence is mostly genetic (probably), so talent can come from all walks of life. What would you have done if your parents had a massive divorce and someone squandered what little your family had? Are you sure you would have gotten a scholarship? When your parents never instilled the value of university into you from a young age?
- justonepost 9y ago'Without knowledge of FA I'd probably hack around for years with one inadequate ad-hoc solution after another. Yeah, learning to read and appreciate papers and academic literature is an important skill.
- emacsgifs 9y agoSimply doing some reading before reinventing the wheel... That's the skill.
- aalleavitch 9y agoOn the flip side here, though, once you have that ability it generalizes very well. My original educational background might be in biology, but I know how to read a technical computer science paper and where to find them. It means that I may not have knowledge intuitively, but I know where to find and learn it.
- BjoernKW 9y agoI'm not at all against proper maths training because it can help with many aspects of an engineer's daily work. How's your example different though from specific industry knowledge that typically doesn't come with your usual engineering curriculum?
- WalterBright 9y agoAn engineering degree is foundational. For all the responders who suggest this kind of thing can be picked up on the job by competent professionals, in my years at Boeing, I never saw a single tech pick up stress analysis, calculus, kinematics, heat transfer, dynamic analysis, etc., on their own. Not one. Frankly, I felt that was a crying shame. Nearly everyone needs a structured environment and program to learn that stuff.
- BjoernKW 9y ago> Frankly, I felt that was a crying shame. It is. Given the right environment (which might include coaches or teachers) it should be possible to pick up knowledge about stress analysis, kinematics, heat transfer, dynamic analysis on your own. Calculus is a slightly different matter because it's indeed more foundational than the other areas you mentioned. Still, I think calculus can be learned without a formal education programme, too. After all, most of it has pretty obvious areas of application.
- deleted 9y ago[deleted]
- snarfy 9y agoHow many people on the Shazam team needed to come up with the fourier analysis? How big was the Shazam team? What did the rest of them do? This is my problem with only hiring comp-sci to build software and get stuff done. They all want to hire the John Carmacks of the world, but Doom would have never happened without John Romero. It's a waste of a PhD to spend it porting low level driver software from one architecture to another, but that type of work needs to be done, even by companies like Google.
- megaman22 9y agoAnd honestly, there's a difference between the high-level big-idea fancy stuff that Computer Science focuses on, and the low-level, details of implementing things correctly and performantly. They are not the same skills, but that's all been lumped together under this software engineering profession.
- deleted 9y ago[deleted]
- 112233 9y ago> This is where having proper engineering/mathematical training pays off. Rather, this is where personal research skills are needed. I cannot imagine a programmer "hacking around" without researching existing solutions for obviously difficult problem. To put it differently, none of the colledge Comp Sci "training" has yet been of any use in my 20 years of programming work.
- WalterBright 9y ago> none of the colledge Comp Sci "training" has yet been of any use in my 20 years of programming work I don't have a CS degree. But I have taken college CS courses, and have been able to apply them directly to solve problems I worked on later.
- 112233 9y agoProbably depends on how they make curriculum. Some of the things I remember having been taught: runge-kutta analythic geometry turbo pascal (or one of his relatives) DFA/NFA Some of the things I find useful at work: memory and cache behaviour on different archs Dijkstra's algorithm posix I mean, chance of being lucky to learn exactly the things that will be useful in programming (as opposed to other less volatile arts) is a small one.