2,538 karma · joined Jun 24, 2008 (18y ago) · 662 submissions
comment 8y ago · link · parent
As Jim Rohn famously said, you are the average of the five people you spend the most time with. While I don't completely agree because I think think "time" can also be interpreted to include reading-the-works-of, I think those five people (either in-person or remote) exert a lot of influence. They help shape your ideas, and provide boundaries or gateways to your thoughts through their feedback.
comment 8y ago · link · parent
But if that's the argument, then not even assembly is sufficient, as control over speculative branching and prefetch is only accessible via microcode in the CPU.
I think the argument is improperly framed. This is a discussion over public and private interface. The CPU is treated as a black box with a public interface (the x86+ instruction set). Precisely how those instructions are implemented (on chip microcode) is a private matter for the chip design team, which if correctly implemented, does not matter to the user, as the results should be correct and consistent. Obviously, a poor implementation can lead to Spectre or Meltdown. But for the most part the specific transistors & diodes used to sum a set of integers, or transfer a word from L2 to L3 cache, etc. shouldn't matter to us. If the compilers are relying on side effects to alter behavior of the internal implementation based on performance evidence, then that is a boundary violation.
C is low level. It remains "universal assembly language".
comment 8y ago · link · parent
Suffers? What a curious choice of word! I would claim quite the contrary, where innovation flourishes due to the ease and speed of dissemination of ideas.
Can you explain why you think innovation is dampened?
comment 8y ago · link · parent
Prof. Rodney Brooks (MIT, Robot Lab), who is famous for his subsumption architecture (SA) and against Minsky's central-model of representation (arguing instead for radically separate distributed systems), wrote SA and nearly all of his research in LISP. In fact, Brooks wrote a book on LISP programming and developed his own efficient LISP engine. Many, many of his grad students have gone on to become leaders of the AI (not ML) world.
Curiously, I am now reading "The Elements of Artificial Intelligence - An Introduction Using LISP" which depicts a "Knowledge Engineer" which stirring a cauldron labelled "Expert System". Copyright is 1987. It's a joy to see how far we've come in some respects, but how little progress in others. Perhaps this represents a measure of the maturity of certain subdomains?
I suspect in another decade "we" will rediscover the wisdom of those who have developed symbolic knowledge representation.
comment 8y ago · link · parent
We forget how steep the learning curve can be and how likely it is to turn students away when every page is a baffling struggle focused on topics with purposes which are not germane / not clearly related to the learner's wants. AOE is the equivalent of a music theory book for someone who wants to play "happy birthday." Or Knuth's series for a beginning coder.
comment 8y ago · link · parent
I'm hoping these blokes never crack open the amp to look at the plain old PVC-insulated wiring within. And don't tell them the oil-in-paper caps are fading over time. Ditto with the carbon resistors.
Meanwhile, humidity of the air and barometric pressure has a measurable affect on the sound of paper-cone speakers. How long before an "audiophile" barometric chamber is marketed?
comment 8y ago · link · parent
It might be possible, but it surely isn't easy nor obvious. "Instantly," as you claim? Sorry, but I'd bet a sizeable stack of money that's not the case. Perhaps if you're talking about a 20-year-old 1st generation Line 6 Pod or Yamaha Fx500, then okay, I can see that. But modern modeling amps are exceedingly good at reproducing the nuances of a valve amp. The Kempler is remarkable -- I would go as far as to say astounding -- in its ability to reproduce the breakup, compression, warmth etc. of an amp at all volume levels. If you heard one in person you'd be a believer. At the other end of the spectrum, even a $150 Fender Mustang amps does a respectable job of sounding faithful [disclaimer - the factory settings are pure rubbish and almost embarrassingly poor, but tweak the settings in the computer editor and a whole wealth of sounds are available, some of them are brilliant).
And why would someone want a valve amp for playback of recordings? The same reason you claim to hear the "warmth" of a valve guitar amp. The same reason guitarists use an EP3 (echoplex tape delay) with the tape out -- that preamp circuit compresses, clips, and enhances the waveform in a way that is very pleasing to the ear. Some notes increase in clarity and bloom in a pleasant way.
A valve amp doesn't imply distortion. Leo Fender was a radio tech before forming his amplifier/instrument company. He knew the value of having lots of headroom.
comment 8y ago · link · parent
Somewhat related, I recall stories of riots in China due to anti-cheating measures -- teachers and proctors were dragged into the streets and beaten, and one parent indignantly proclaimed "It's not fair! If they cannot cheat, how will they succeed?"
comment 8y ago · link · parent
Yes, miraculous is precisely the right word. 128 bytes of memory. BYTES! Or as the article's author so beautifully frames it : "the RAM can't hold a full Tweet". And that's just the RAM; CPU is similarly limited. "half the CPU time is spent Racing The Beam" meaning "half the time is spent tracing video ram to module the Cathode Ray Tube electron beam to generate the video output."
Just incredible that anything useful was possible. The more I learn about the 2600s architecture, the more impressed I am with the quality of the games that existed.
comment 8y ago · link · parent
I will typically build something out in a high level language, profile to see where the time is going, and take a closer look at the algorithm first to see if it's sensible or some different approach should be taken. If it's an appropriate algo, then it's time to look at the implementation to see where we can shave cycles.
For the most part, even if you're talking to hardware that requires exceedingly precise timing (interface/bus protocols, certain chips), C will probably do the job. (It's no coincidence it was referred to as "universal assembly language".) Only where one is absolutely starved for resources (as the NES, and many 8-bit systems were/are) is ASM necessary.
"high level when you can, assembly when you must"
comment 8y ago · link · parent
Perhaps among new developers. Us old-timers who have to maintain this stuff have learned to avoid "clever" code rather quickly and admonish those who write it. Elegant, to me, includes "easy to read and understand."
comment 8y ago · link · parent
Back in the early 1990s, I recall browsing the "open positions" list, posted in the cafeteria at work and being shocked at the variance in starting salaries: Windows (3.0) Programming positions (C & Visual Basic) requiring no more than a high school education were offered at $70,000. Positions for PhD Chemists began at $35,000 and demanded a long list of accomplishments not limited to publications in major journals. "listed as primary inventor on one or more patents, a plus!"
So in summary, one trade could be learnt by a motivated self-directed student in the span of a summer, for no more cost than a short stack of books. The other required at least 6 years of advanced education and likely $50,000+ of debt -- a serious investment not only in time and money but also opportunity cost, as those 6 years are NOT being spent earning. Yet the former paid twice the latter. (And may still, for all I know.)
Obviously, this was a lead-up to the great wave of offshoring efforts. Executives must have noticed this variance as well.
comment 8y ago · link · parent
If Musk had not gotten wealthy on paypal, SpaceX wouldn't have been possible. Nor Tesla. If some country had capped his wealth at an arbitrary # (say, $1,000,000) none of this would have happened. Instead, there's a self-driving car in orbit around the sun and thousands of engineers doing amazing stuff.
Opportunity is the natural consequence of a system that maximizes liberty. And yes, that opportunity is for success and failure. But by removing reward, you remove incentive, which reduces effort. Vicious circle. How is this difficult to understand?
comment 8y ago · link · parent
It's disgusting how twisted these criminal activities have become.
comment 8y ago · link · parent
It's the market filling in the gaps of Apple's engineering & marketing plan.
comment 8y ago · link · parent
There's apparently a fine line between "not ardently following the news" and "not paying attention at all."