Better HN
topnewbestaskshowjobs
Log inSign up

prestonbriggs

341 karma · joined Jan 18, 2011 (15y ago) · 128 submissions

Submissions

comment 2y ago · link · parent

If you look at some of the other Christmas lectures, you'll see he's often (always?) wearing the same outfit. So, tradition!

comment 3y ago · link · parent

Doing a good job of constant prop means doing a thorough job of implementing the best algorithm in the best paper. And to do that, you need to build a form of SSA. And to do that you need to compute dominators. And to do that, you need to build an appropriate form of the CFG. Don't need a PhD to do all those things (not inventing anything new here, just using other peoples' beautiful results), but it's still plenty of work to build a fast & thorough implementation, with lots of testing required.

Can't possibly be economical; but of course, the experience will teach you a lot.

comment 5y ago · link · parent

Yes, memorizing everything (all the music) helped hugely in practicing. I used to believe it was because I didn't have to read the music, and could focus on fingers, etc. But maybe the memorization effort (and it wasn't hard, as you mentioned) was enough to establish a framework, and the bulk of my practicing was hanging new details onto the framework.

comment 5y ago · link · parent

Has anyone used this approach to memorize music? E.g., for playing an instrument.

I used to be able to remember plenty when I was young and practicing a lot. And certainly professionals can remember significant amounts (and not just the music, but performance details, fingerings, etc).

Seems like a different mechanism, relying less on visual and spatial associations, more on hearing. But perhaps it's similar in that you learn a structure and attach details to it.

Or, having developed a good memory for music, can we use it to help memorize random facts? Perhaps associating them with places in a song.

comment 5y ago · link · parent

Indeed. But consider the 2nd sentence, the conclusion, and the twitter post.

On the other hand, I certain agree with your idea about teach/using handwritten recursive-descent parsers. Here's an old book that presents it pretty clearly, along with a nice approach for error handling. Maybe you can find it in a library. https://www.springer.com/gp/book/9783540082408

comment 5y ago · link · parent

Compilers have parsers, not languages. Many languages have more than one compiler (e.g., C), and the various compilers may use different techniques for parsing.

comment 5y ago · link · parent

I argued for years in favor of keeping the minimum runtime of a number of samples; never found much support.

comment 5y ago · link · parent

Golly would crush them all.

comment 5y ago · link · parent

Happens in other fields too. When I worked at Tera, I (and plenty of others) would talk to Burton Smith in the halls. Whatever the topic, he always made us feel included and smart. Then, after the conversation, as we moved apart, our IQ would drop and our understanding would fail.

Except maybe some of it stuck. Hope so.

comment 5y ago · link · parent

Eh? IBM 704

comment 5y ago · link · parent

One of my favorite moments in literature: "... and nothing more was said - may God forgive me - of duodecimal functions."

comment 5y ago · link · parent

Cynically, I think the publishers have a deal that Apple won't publish manuals.

comment 5y ago · link · parent

Then again, crows collect shiny things too.

comment 5y ago · link · parent

Thinking about it a bit more, I realize I've over simplified. Things were more diverse. At the time, there were significant academic compiler projects in the US written in PL/1, SETL, and Lisp. ML (as in Standard ML of New Jersey) work was getting started. I knew older guys who were interested in Algol 68. In academia, I saw no PCs and most grad students didn't have one.

comment 5y ago · link · parent

When I started grad school, in 1986, I'd written a lot of Pascal and used Turbo Pascal on my PC. But the school used Sun workstations with unix, so I had to learn C pretty quickly. Nobody seemed to use Pascal. There was a Modula II compiler around, but it was a resource hog and never popular. Oberon was published about the same time. I thought it was pretty cool and worked on a compiler for it, though the language evolved out from under me. My impression is that none of the Wirth languages made much of an impression in any of the US grad schools in that era. Of course, I didn't see everything that was going on, but I saw most of the compiler work. Almost 100% in C, moving eventually to C++.

comment 6y ago · link · parent

Cool, a Zenith Trans-Oceanic!

comment 6y ago · link · parent

Of course lots of musical instruments require chorded inputs. Pianos, guitars, trumpets, most woodwinds, even trombones.

comment 7y ago · link · parent

I remember the discussion here: https://news.ycombinator.com/item?id=18766301 Is this what growing up in those tenements leads to?

comment 7y ago · link · parent

Peter Matthiessen's book "Killing Mr. Watson" centers on a similar story in south Florida.

comment 7y ago · link · parent

I'm 63. When I was a kid (pick an age), there weren't anywhere near as many programmers as there are now. So while I believe lots of older programmers have gotten out of the field, one way or another, I think the remaining ones are simply hidden in the crowd.

comment 7y ago · link · parent

It's interesting to read about the 10,000-year clock while thinking about Canticle.

comment 7y ago · link · parent

The kids look fine, but the older folks look pretty bad, I think. So many of the captions are of the form: So-and-so waiting. For what? Nothing much, I'd guess.

comment 7y ago · link · parent

At the bottom of the page are links to other pages of Hedges' work. There are a number (e.g., in London) showing single men living alone. Often pensioners (OAPs).

Perhaps your guess that the particular tenements in Glasgow were reserved for families is right.

comment 7y ago · link · parent

Reminds me of the Bronx, from a train window, in about 2005.

comment 7y ago · link · parent

I was pretty surprised at the 17 knots in a fjord.

comment 8y ago · link · parent

Here's a link to the CADR paper: http://www.unlambda.com/lispm/memo528.html I like these; they describe a microcoded machine in more detail than I can usually find.

comment 8y ago · link · parent

Not much about Lisp here. It describes the design of a microcode-based machine that could be used for all sorts of things. You could use it to implement a PDP-11, an x86, or whatever (though it's biased towards 32-bit machines).

Google "microcode" and you'll get a start. Hennessy and Patterson will carry you further.

comment 8y ago · link · parent

Wikipedia disagrees. Skara Brae was occupied about 3190 BC. Earliest Egyptian pyramids were started about 2630. The Great Pyramid was built about 2560 BC.

comment 8y ago · link · parent

There's a lot of oil money in Tulsa, has been for decades. I'm not sure they'll notice.
12345