posted on 2009-10-19 23:04:56
Well, it seems a lot has happened since last time. An additional lisp library for concurrency called Calispel
has been released and is up on Cliki. Unfortunately, it depends on cl-jpl-utils which in turn depends on cl-rsm-queue, neither of which are on Cliki. Such is life. There are good things though, a release candidate for CCL 1.4
has been put out. I've also started a branch porting Paktahn to Embedded Common Lisp. It didn't wind up being as tricky as I thought. Hopefully, I'll have something I can merge to master in a week or two. Of course, I wouldn't have gotten anywhere without Leslie
. Geez, that guy is patient. Anyway, what about non-lisp news? The ACM Reflections conference is over and hopefully videos will be posted
soon. Additionally, there's been some discussion
about whether or not it's time for Factor 1.0. There's still really great work being done on the language implementation. I would like a proper book for it and binaries to be available in my linux distro but I can wait.
There's also been a good discussion on what math programmers need to know on reddit recently. The outstanding comments (IMO) are here
. Similarly, there was a good thread a few weeks back titled "What do you wish you knew when you started programming?". A few of my favorite comments are here
. More importantly, there was a very enjoyable article
about Office Politics as interpreted by Hugh MacLeod and The Office. As some folks in the hackernews thread
mention, the model isn't universally applicable. Yep, that's right. It's a model. Go figure.
Well, it's been a very hard week. Mostly because I just hate my Algorithms class. I don't hate algortihms just the way it's being presented and taught. I'm pretty sure I can overcome the obstacles involved, I'm just much less motivated to do so than I would like. The last two semesters I really had a fire under my butt about school for some reason. Maybe not but when I had to rise to the challenge, it was relatively easy to do so and I was kind of proud of that since it was a divergence from my past. This semester the fight just isn't in me and I have next to no pride in what I'm doing in school. I'm sort of coasting and I'm finding it hard to break out of that. Of course, I'm learning the material and I'm doing extracurricular things to improve my knowledge, joy and understanding because I care about programming
. Whether that's stupid or not is another question but also kind of irrelevant, I didn't choose to be fascinated by this stuff. I just can't help it. So I'm not doing what I love, I'm doing what I can't help but do. It's gonna be a long road.
I've still been getting a few things done. I've written a few quick hackish, sbcl-dependent scripts. Maybe I'll post some of the code for them soon. I started working on Redlinux again. The last release I made was back in May
and a lot has changed since then, more about my approach than about Redlinux. I'm hoping to make a new release by the end of November. So far the big change is my build process. As in, now there actually is one. It should be trivial
to rebuild from scratch in the future. See what a non-distribution it is? The upcoming release should have a nice proper script for creating a new user and doing a little initial setup. Above and beyond that, I'm hoping to work on the documentation some. If anything, the real problem is it may not fit on a single CD with all the programming software I've bundled in.
A while back I wrote a post on getting an undergraduate CS education for under $1,000. It was mostly focused on which books and resources were ideal for self-study. I reworked said list and posted it on Amazon
over the weekend. A lot of my decisions about what's worthwhile for self-study has changed (since I've actually read more). My motivation stems largely from the fact that I prefer self-study to school. Finally, there are two slightly older articles
of mine that linked to a bunch of really interesting articles that are still among my favorite blog posts I've stumbled upon since trolling the internet for programming stuff. I'm hoping to do a real writeup on a number of these articles and add in a few of my own ideas in the near future. And since I'm calling it "the near future" you know advance I'll never get around to it. Well, hopefully not. :)
That's all for now. Back to homework guys.
posted on 2008-06-09 18:52:59
In the style of my former post on a Math Undergraduate Education
, this post proposes a list of texts suitable for a rigorous and well-rounded foundation in Undergraduate Computer Science. A future post will cover the philosophical details and practical implementation of such an approach.
This list of 24 texts costs about 900 dollars when bought used off of Amazon.com. Click on the book's title to get forwarded to it's Amazon.com page. The ordering of the list loosely conforms to increasing difficulty but it is not a recommendation as to structure. I will probably delve into those details in the aforementioned future post.How To Design Programs by Matthias Felleisen, Matthew Flatt, Robert Findler and Shriram KrishnamurthiStructure and Interpretation of Computer Programs by Harold Abelson and Gerald SussmanParadigms of Artificial Intelligence Programming by Peter NorvigAlgorithms by Sanjoy Dasgupta, Christos Papadimitriou and Umesh VaziraniIntroduction to Algorithms by Thomas Cormen, Charles Leiserson, Ronald Rivest and Clifford SteinComputer Networks by Andrew TanenbaumProgramming Language Pragmatics by Michael ScottComputer Organization and Design by David Patterson and John HennessyIntroduction to Computing Systems by Yale Patt and Sanjay PatelOperating System Concepts by Abraham Silberschatz, Greg Gagne and Peter GalvinOperating Systems: Design and Implementation by Andrew Tanenbaum and Albert WoodhullThe Humane Interface by Jef RaskinCode Complete by Steve McConnellReal-Time Rendering by Tomas M'OllerArtificial Intelligence by Stuart Russell and Peter NorvigIntroduction to the Theory of Computation by Michael SipserModern Cryptography: Theory and Practice by Wenbo MaoHacker's Delight by Henry WarrenPurely Functional Data Structures by Chris OkasakiCompilers: Principles, Techniques, and Tools by Alfred Aho, Monica Lam, Ravi Sethi and Jeffrey UllmanLisp In Small Pieces by Christian QueinnecProgramming Languages: Application and Interpretation by Sriram KrishnamurthiTypes and Programming Languages by Benjamin PierceConcepts, Techniques, and Models of Computer Programming by Peter Van Roy and Seif Haridi
There are a few caveats to this list that should be noted.
1) As mentioned it does not presume to teach language-specific or platform-specific knowledge. It is slanted towards theory and books on how to write C or HTML, do Linux Kernel Development or learn the Win32 API, or work with OpenGL or TCP/IP should be purchased separately.
2) Since it does not deal heavily with specific languages, it does not make any prescriptions about what languages one should know. Generally, I believe it's good to know a language which epitomizes each of the major programming paradigms whether these paradigms are valid or not (as Krishnamurthi posits in PLAI). This means at least one OO language, one stack-based language, one functional language, and one logic/constraint language. I'd recommend Smalltalk for Object Orientation, Forth for a stack language, Erlang or Haskell for a functional language, and Prolog for a constraint language. Beyond that it would probably be reasonable to learn C as a good representation of the von Neumann architecture and "for culture" and hypothetically python, perl, or ruby to learn a web/glue/scripting language.
3) The list could certainly be shorter. It leans towards functional programming, lisp, and programming languages due to my own personal interests and some material could be omitted from those areas correspondingly. Notably, Distributed Systems and Databases are conspicuous absences from my list. This is because I have yet to find any sort of consensus about quality books on either subject. I'm not interested in Databases but I'm certainly interested in Distributed Systems. Computer Networks is about as close as this list gets.
The beauty of this list, if there is one, is that the basis is strong enough that one could jump off in any direction after it's completion. If you were interested in video games get more books on rendering and physics, if you're interested in cryptography and security get more books on that, etc, but the foundation should be strong enough for any direction you'd like to go in. This list may get updated in the future. It's far from perfect but it does seem to me like a pretty reasonable place to start.
posted on 2008-03-17 18:09:16
I'll try to actually write something useful in here (be it technology ruminations, code, or an essay) soon. For now, I'm too busy working, having fun, and sharing content with you all.
Today, I'm posting an excerpt from Eduardo Galeano's Upside Down
. It's the first thing of Galeano's that I read (on recommendation from a friend) and I still think it's probably my favorite thing of his I've read. This excerpt is called Language and it's the first in a set of 3, taken from page 37.
"Companies are called multinationals because they operate in many countries at once, but they belong to the few countries that monopolize wealth; political, military, and cultural power; scientific knowledge; and advanced technology. The ten biggest multinationals today earn more than a hundred countries put together do.
"Developing countries" is the name that experts use to designate countries trampled by someone else's development. According to the United Nations, developing countries send developed countries ten times as much money through unequal trade and financial relations as they receive through foreign aid.
In international relations, "foreign aid" is what they call the little tax that vice pays to virtue. Foreign aid is generally distributed in ways that confirm injustice, rarely in ways that counter it. In 1995, black Africa suffered 75 percent of the world's AIDS cases but received 3 percent of the funds spent by international organization on AIDS prevention."
Well, what do you think?
posted on 2007-11-21 19:03:20
Just for the heck of it, you know?
It'd be pretty swell if I could get a BenQ FP222WH
Flatscreen Monitor. It takes HDMI input so I wouldn't need a TV in my first apartment!
Zareason is producing some Ubuntu keyboards
and I need a USB keyboard to hack on my PS3 so that would come in handy.
Considering that I'm leaving school for a bit this list will mostly be books to study next semester but really anything off my Amazon wishlist
will do bookwise.
The following 12 books would be my 12 books of Xmas. They're of particular importance to me. And I say buy used.
Algebra by I.M. Gelfand (Author), Alexander Shen (Author)
Functions and Graphs (Dover Books on Mathematics) by I. M. Gelfand (Author), et al.
The Method of Coordinates by I.M. Gelfand (Author), et al.
Introduction to Linear Algebra, Third Edition by Gilbert Strang (Author)
Discrete Mathematics and Its Applications by Kenneth H. Rosen (Author)
Concrete Mathematics: A Foundation for Computer Science (2nd Edition) by Ronald L. Graham (Author), et al.
Calculus by Michael Spivak (Author)
Structure and Interpretation of Computer Programs - 2nd Edition by Harold Abelson (Author), Gerald Jay Sussman (Author)
How to Design Programs: An Introduction to Programming and Computing by Matthias Felleisen (Author), et al.
Programming Erlang: Software for a Concurrent World by Joe Armstrong (Author)
Introduction to Algorithms by Thomas H. Cormen (Author), et al.
Watchmen (Absolute Edition) by Alan Moore (Author), Dave Gibbons (Illustrator)
Finally, you gotta have some useless stuff:
Like video games. Uncharted on the PS3 and Okami or Shadow of the Colussus or Rogue Galaxy on the PS2.
And wall art. I guess I should have something on at least one wall in the apartment next semester right?
Cool wall art includes disassembly maps of famous old games
like Super Mario Bros and Pac-Man. Or some of the cool internet maps
from the XKCD store.
Yeah. That's about all I can think of. Be careful though. Give me all that stuff and some rice and you might not hear from me for another few months. Now then, what do you guys want for Christmas (or insert holiday here)?
posted on 2007-09-23 21:32:12
It's been a nice, leisurely weekend thus far. I've been meaning to post more and to post some things that are a bit less technical but I've been bad about making the time of late. This is a smattering of things that have been backed up in my head.
I realized recently that there's a Milosz poem I never threw up here that I really wished I had. It's titled Diary of a Naturalist
and taken out of his work From The Rising of The Sun
My generation was lost. Cities too. And nations.
But all this a little later. Meanwhile, in the window, a swallow
Performs its rite of the second. That boy, does he already suspect
That beauty is always elsewhere and always delusive?
Now he sees his homeland. At the time of the second mowing.
Roads winding uphill and down. Pine groves. Lakes.
An overcast sky with one slanting ray.
And everywhere men with scythes, in shirts of unbleached linen
And the dark-blue trousers that were common in the province.
He sees what I see even now. Oh but he was clever,
Attentive, as if things were instantly changed by memory.
Riding in a cart, he looked back to retain as much as possible.
Which means he knew what was needed for some ultimate moment
When he would compose from fragments a world perfect at last.
Isn't that nice? Here's one I wrote that just sort of flew out this afternoon:
The world is not chaos or justice,
Mere good and bad happening all round.
Swept under the rug in our wake,
Dust returning to dust, in clumps at that.
We do not like to go quietly, or alone.
But what of the unquantifiable interim?
Ah, qualified not quantified: Rich, peerless,
Are there stories greater than our own?
Certainly not with more twists, turns, surprises.
Still, here I am, trying to understand how:
I have become trapped like a fly in amber.
Like those who have come before me, now
Teachers, who sought after explications for the
Milieu of an era, the abstract of an age.
I'm not sure what I think but I may be warming up to it. Now that that's out of the way.
Top 5 Books I couldn't live without:
Unattainable Earth by Czeslaw Milosz
Hackers & Painters by Paul Graham
Orthodoxy by G.K. Chesterton
The Success of Open Source by Steven Weber
The Future of Ideas by Lawrence Lessig
Selected Essays by Jerzy Kosinski
The Blue Octavo Notebooks by Franz Kafka
The Trial by Frans Kafka
Tender is the Night OR The Great Gatsby by F. Scott Fitzgerald
The Unbearable Lightness of Being by Milan Kundera
Of late, I've also really been enjoying reading Founders at Work by Jessica Livingston. If you're considering ever starting your own company or if you'd just be edified by reading about people succeeding outside the system/convention and innovating I'd highly recommend picking it up. There's also a book called Coders at Work in progress at the same publisher by a different author. That book is composed of interviews with some of the world's premiere programmers and it may find it's way onto the can't live without list. At least, I expect it will.
As my last point today, I'd like to congratulate Electronic Arts. They have successfully made the first good skateboarding video game in years. This is a huge thing for me because I love skateboarding games because I'm a big skate nerd and it's taken way too long for someone to best Tony Hawk's Pro Skater 2. Honestly, what happened to you Neversoft? Anyway, I highly endorse EA Blackbox's new game skate. It's amazz-z-zing. I might need to end up getting one more game console after all. Alright, more later folks.
posted on 2007-07-27 16:57:13
Summer Reading List:
Worldchanging by Alex Steffen
The Wealth of Networks by Yochai Benkler
Infotopia by Cass Sunstein
Code by Lawrence Lessig
The C Programming Language by Kernighan and Pike (Amazon lies. I have the first edition!!!)
Introduction to Computing Systems by Patt and Patel
Sync by Steven Strogatz
Collected Fictions by Jorge Luis Borges
Godel, Escher, and Bach by Douglas Hofstader (Amazon lies again. First edition! [even though it's not as cool as 1st ed. k&p])
Programming the Universe by Seth Lloyd
The Future of Ideas by Lawrence Lessig
The Singularity is Near by Ray Kurzweil
Rebel Code by Glen Moody
Just for Fun by Linus Torvalds and David Diamond
Cradle to Cradle by Braungart and McDonough
Hackers and Painters by Paul Graham
The Mutt by Rodney Mullen
Identity by Milan Kundera
Emergence by Steven Johnson
Stuff Partially Read This Summer:
The Future Of Ideas
Programming the Universe
Introduction to Computing Systems
Stuff Partially Read Prior To Summer:
Godel, Escher, and Bach
The C Programming Language
The Singularity Is Near
The Wealth of Networks
posted on 2007-07-22 00:01:00
I'm back. The beach trip had it's ups and downs but I'm glad to be back and there's plenty that I missed in the computing world that I'm catching up on. I did get a few books read while I was there though and met a skateboarder and a guitarist that were fun to hang out with. I hadn't skated like that in a while. The books read: Emergence by Steven Johnson, The Mutt by Rodney Mullen, Identity by Milan Kundera, and snippets of Jerzy Kosinski's Passing By, Cass Sunstein's Infotopia and Seth Lloyd's Programming the Universe. Yep yep. More soon to come.
Edit at 5:10 PM: I also just acquired the upcoming Aesop Rock album "None Shall Pass". How long have I been home? Two hours. When did this leak? Two days ago. When is it coming out? August. Nice.
posted on 2007-06-08 21:06:00
On Tuesday I was quite relieved to be off work. It had been a stressful day at the office but I had exciting dinner plans with friends (trivia night at Benchwarmers with Justin and Bria, for the curious). I had finished Cradle to Cradle
by McDonough and Braungart the day before and needed to start on my next summer reading book. Nothing on my list
really suited though. Most of the books are rather academic and while I find social production fascinating academic writing wasn't really something I was ready for. With that in mind I stopped in two bookstores while I was running afternoon errands and walked away with a copy of Paul Graham's Hackers and Painters
. I'm about 50 pages in at the moment and have really enjoyed reading it for the past few days. I'm sure some bits will make it into my next quotables. However, it has raised a number of questions\issues\thoughts in my mind for which I consulted the collective intelligence of "teh interwebs\tubes" this morning and stumbled upon someone who had made both a parody of Paul Graham
and what is (in my mind) a more serious\grounded critique
. Perhaps the most nerd-controversial thing Graham talks about is programming languages. There are few things more hotly contested in the programming world. In the critique of Graham though, what I found most interesting were the analogies drawn to other internet authors like Eric Raymond. I finally stumbled on this quote on a different site: "Every 5 minutes you spend writing code in a new language is more useful than 5 hours reading blog posts about how great the language is."
And it was at about that moment that I realized that (formal and\or programming) languages are completely incidental. Graham notes early in the book that Computer Science has a real mix of participants. The computer science building at a university might contain honest-to-goodness mathematicians who get their work filed as computer science for funding purposes, a middle ground of those studying computers without making things with them, and programmers trying to make software. For the programmer, language is incidental. The language is only a tool towards creating software...and arguing about programming languages is in some way similar to the creation-evolution debate in suburban America. If you're a scientist it's possible that such a debate matters. It can affect how you approach your work and\or your starting assumptions. Similarly, if you're a computer scientist at a university it affects your research. If you're a programmer though, or a suburban American, than any group can be right. It's effectively incidental to your daily life. If you live in suburban America and are neither a pastor nor a scientist than it matters not whether God created the universe or whether it began out of nothingness one day and it matters not whether it took ages or attoseconds. You will still get out of bed, dress, tend to whatever dependents you have (dogs, children, spouses, etc) and go to work. That is what you will do three hundred and fifty days a year, regardless. Similarly, the programmer can be using the world's best language or it's worst but they will still roll out of bed and try to produce software with it. The only point at which language can conceivably matter to the programmer is if it can ease software development and this is a very personal, very individual thing. The same might
be said of SCMs (souce control management systems).
The extent to which people fanatically advocate languages, architectures, etc. beautifully exhibits how intrinsically subject to network effects technology and specifically information technology (that is, computers) are. It's not an issue of simple memetics. Why do mac users advocate mac? Why do linux users advocate linux? Why do python users advocate python or perl users perl? Why do nvidia owners advocate nvidia or amd users amd? Why do PS3 owners advocate PS3 or Wii owners Wii? Simply because the ability to manipulate all that information that you use computers to manipulate in your life (and there is lots of it) whenever you want and wherever you want is good. The information becomes more useful as its accessibility increases. You would never bother typing journal entries into a computer if they couldn't be posted to the internet. There would just be no damn point. You'd keep a journal. At some point Graham tries to draw a distinction between the popularity contest of high school which he argues as being pretty arbitrary and the popularity contest of the real world which supposedly is less so. Here's a thought: Neither of them are arbitrary and both of them are examples of human beings making decisions based on incentives, not that economics has any concrete idea how to explain any of this human behavior beyond such a simple premise. Clearly though the implications are profound. If there is a less mainstream technology which has become an integral part of life for an individual they will fervently advocate the technology so that others adopt it in an effort to keep the engineers hired to maintain and\or improve the technology around as long as necessary. The support industry itself advocates the technology in an effort to maintain their jobs.
Everybody hopes to know or be involved in the next big thing because it's tied to their employability. If you're looking for work, you'll try to learn Java before Algol. This may be dumb because Algol would certainly distinguish you more from the mobbish competition. Moreover, whatever companies do need Algol coders would have little in the way of alternatives and probably have to pay decently. You'd have a bit more bargaining power potentially. Of course, so would they. Take the job or be unemployed. Really though, the whole thing is just ridiculous. The fact that all we want computers for is to do useful and interesting things complicates the issue as does the fact that the differences in languages cause differences in the ease of solving certain programming problems and also perform differently where speed is concerned. And I'm convinced that just ordaining a standard language, platform, architecture, etc would result in a net productivity\innovation loss. Besides, the majority of programmers get employed in spite of all this and many innovations make it to prominence. I still don't buy the quote from Almost Famous about pop music being good because so many people like it but there's something much more complex at work here that I just feel like is slipping off the tip of my tongue and hiding in the back of my head. I guess it sort of reminds me of what McDonough said about nature having good waste (which in some sense means no waste). The extra blossoms produced by a cherry tree litter the ground but in a good sense. It's all so that one new cherry tree will emerge but it manages to fertilize the "littered" area anyway. Almost like it's all about making goods with positive network effects. And certainly languages like ripping off each others features. As do markets. So maybe this good waste is what we're really after. Markets definitely don't make good waste when they produce things. It's clear that our way of making stuff is pretty borked. But there's definitely something to be said for letting all our ideas fly around and crash into each other. But...what does it mean if there are no experts left? Were we wrong about the concept of the expert to begin with?
This blog covers consumption, XKCD, programming, linux, Xmas, Education, injustice, Quotes, metapost, milosz, Webcomic, 2015, Uncategorized, creation, Lessig, Discrete Math, Operating Systems, ragequit, Milosz, Gapingvoid, C, Pics, Poetry, Lists, Neruda, recreation, Erlang, work, careers, Programming, poetry, apple, Project Euler, Lecture, Open Source, Books, LISP, melee, Music, Essay, goals, strangeloop, Gaming, fqa, IP Law, Butler, HTDP, Personal, Linkpost, games, heroes, rip, \"Real World\", Hardware, adulthood, Displays, MPAA, personal, Self-Learning, Linux, Programming Languages, Dad, math, Reddit, SICP, lisp, coleslaw
View content from 2007-06, 2013-06, 2015-05, 2011-07, 2010-04, 2010-09, 2009-04, 2008-04, 2009-07, 2009-09, 2008-01, 2007-12, 2012-10, 2007-08, 2008-10, 2012-01, 2011-01, 2009-11, 2008-02, 2014-01, 2009-10, 2009-05, 2015-03, 2010-01, 2013-04, 2007-10, 2011-04, 2008-07, 2010-07, 2007-11, 2008-03, 2009-06, 2011-02, 2008-11, 2013-05, 2009-08, 2015-02, 2011-09, 2008-12, 2013-03, 2011-05, 2012-04, 2012-05, 2009-12, 2009-03, 2013-01, 2012-03, 2008-06, 2007-05, 2011-08, 2014-09, 2013-09, 2012-09, 2010-10, 2009-01, 2008-05, 2009-02, 2007-07, 2010-03, 2012-08, 2010-02, 2014-07, 2012-12, 2007-09, 2012-06, 2013-07, 2008-08, 2014-11, 2011-10, 2010-05, 2010-11, 2015-01, 2013-10, 2014-05, 2011-06, 2015-09, 2008-09, 2010-08