HNHacker News
TopNewBestAskShowJobs

tayssir

26 karma · joined February 7, 2009

submissionscomments
tayssir··on Lisp evangelists that miss the point about syntax
I concede that Lisp's notation probably isn't common sensical; and that learning it is a significant investment for many programmers, who are hardwired to quickly understand the conventional notation.

However, many important developments in math and science ran counter to common sense. In math, people with common-sense arguments resisted numbers which seemed "irrational", "imaginary" and "negative." (Supposedly, there were times when you could die over them.) Euclidean geometry seemed so obvious that people were scared to discuss non-euclidean ones. In science, even Newton had some self-ridicule about spooky action at a distance, like gravity:

"That one body may act upon another at a distance through a vacuum without the mediation of anything else, by and through which their action and force may be conveyed from one another, is to me so great an Absurdity that, I believe, no Man who has in philosophic matters a competent Faculty of thinking could ever fall into it."

http://en.wikipedia.org/wiki/Newton%27s_law_of_universal_gra...

tayssir··on My latest flash game, Robokill 2
Hi, great game! Just a few thoughts:

* In Act 2, things get more expensive, but I don't seem to pick up much more money. I think many people would stop playing at this point, as it's harder to tech up. (In particular, it makes it harder to casually experiment with weapons. Which of course may fit the theme...)

* It might be nicer for weapons in the store to be more sorted, so I can more easily look at what I want and compare similar weapons.

* In pitched firefights after a while, when I'm keeping the mouse down, the frame rates go down. Which is usually great for me, since it's a lot easier to do ninja things like strafe while grabbing money and dancing with bullets. Dunno if that's a bug or feature. ;)

tayssir··on Apple Gestapo: How Apple Hunts Down Leaks
There's many ways that governments protect their local industries. For instance, the US saved its semiconductor industry (Intel, etc) from doom at the hands of the Japanese, by aggressive tariffs and other trade policies. (Intel cofounder Andy Grove mentioned this in the context of worker's rights. [1]) And that's not mentioning all the subsidies that went into building the US high-tech industry [2], as well as US industry in general [3].

That said, I certainly don't think Apple developers are badly off compared to Apple janitors, or Bay Area fastfood workers. And it's not like countries like Japan and Germany are slouches.

And it's possible that the article on Apple under discussion is false, as some commenters claim.

[1] http://www.forbes.com/2003/10/10/1010grovepinnacor.html [2] http://books.google.com/books?id=Y75K660UfzsC&pg=PA293&#... [3] http://www.newamerica.net/events/2008/why_world_isnt_flat

tayssir··on Ask HN: Common Lisp vs Clojure for web apps?
I preferred Postmodern last year, for interacting with Postgresql. Around that time, I vaguely recall it was considered faster than CL-SQL as an Elephant backend; and I found it far easier to install than CL-SQL. (I recall during CL-SQL's installation, it kept signalling errors for each DB it supported which I hadn't installed. Someone at the office said I was supposed to just keep telling Slime to ignore the errors, prodding the install forward. That actually worked.)

Maybe things have changed in the interim?

If the OP chooses Clojure, then I'd note that the Java classpath really demands you respect its inflexibility. add-classpath is a second class citizen; I've had JDBC (the Java DB manager) swear up and down that it registered the MySQL driver I loaded via add-classpath. But come time to read from the DB, it only worked when I ensured that the MySQL driver was loaded at the beginning in the normal way. What that implies is that if I want to load a new DB driver, I'd probably have to restart the JVM. (Or do something absurdly tricky, or debug more deeply.)

tayssir··on Re: What You Can't Say
The New York Times has a handy little graphic about the link between federal subsidy/research and products which create a $1 billion industry: http://www.nytimes.com/imagepages/2005/04/01/business/200504...

(The accompanying article is here: http://www.nytimes.com/2005/04/02/technology/02darpa.html )

For more on how the system works, you can find a readable overview from sources ranging from Bill Gates Sr. to Noam Chomsky: http://www.taxpolicycenter.org/publications/url.cfm?ID=90058... http://www.zmag.org/znet/viewArticlePrint/8114

I'm not sure what pg means with "socialism." (Does this word mean that workplaces are run by the workers, an important concept within socialism? Or is it just something about higher taxes?) In any case, I probably don't agree with his argument that the profit motive is necessary for hard work, though I do believe that people who are their own bosses (self-managing workers) are likely much better for innovation than the alternative.

tayssir··on 'We Like Lists Because We Don't Want to Die'
If I understand correctly, that's just like Common Lisp's way to specify cyclic references. http://www.lispworks.com/documentation/HyperSpec/Body/02_dhp...
tayssir··on Reading Files in Clojure
I don't entirely agree. In CL, people pass around slurp-file snippets like: http://groups.google.com/group/comp.lang.lisp/msg/89501db253...

Further, Clojure's slurp has an optional encoding argument. (I'm glancing at its sourcecode, in the same emacs buffer that I'm typing this post in.)

If I understand your argument, slurp's too unlispy to include in the language. But at least in the CL world, the user is constantly adding to Lisp as she codes away. And there are many things in the CL spec which often considered unlispy. (Take loop and format. Loop is even criticized for being not well-defined, as well as being incomplete in ways you wouldn't expect, as you start pushing its limits. Though I should mention that I love both loop and format.)

What you wrote was beautiful and more complete (I'm not being sarcastic; it looks like the High CL style, which I consider very aesthetic and good, though that's not the only aesthetic style I appreciate), but I think you're comparing a Clojure feature with something which exists mostly as a CL snippet passed around informally. (And is maybe now in some opensource library.)

tayssir··on Rich Hickey's Keynote from the JVM Languages Summit (video)
And a possible future feature is something like statically-checked locking, where order-of-acquisition issues are dealt with.
tayssir··on Starcraft AI competition
I often wished that I had a cyborg-mode: gaming with a very programmable interface. (With basically something like Emacs and a REPL.) I could teach the computer new things as I explored, and eventually start to play in a very high-level way.
tayssir··on SICP in Clojure (In Progress)
Well, the many tools for _The Elements of Computing Systems_ are written in Java, which makes it easy for people to experiment. http://www1.idc.ac.il/tecs/software.html

So perhaps a conceivable bonus is that SICP can somehow be merged with that book.

(This is not a direct answer to your question; there's nothing wrong with Scheme; just mentioning advantages of using Clojure.)

tayssir··on Michael Vanier: LFM and LFSP
Well, I think lots of people feel smarter with a better programming language. For instance, my ability to come up with better solutions is better when programming with Clojure than with PHP. It's like that saying, that perspective is worth 80 IQ points.

(Of course, I don't put any stock in IQ; it's just a saying.)

So maybe a more charitable view is that these people (who think Java is too constraining) wish to be smarter than than they currently are. And anyway, who wouldn't get a little frustrated with all the childproofing features in their everyday tools?

tayssir··on Wt: A C++ web toolkit
There's also a Java version (I haven't tried either). http://www.webtoolkit.eu/jwt#/
tayssir··on What happened to Argentina?
Actually, Ha-Joon Chang pointed out that the economic powerhouses (US, UK, Japan, etc.) relied on enormous protectionism when they were developing. However, now that they're powerful, they "kick away the ladder" and push developing nations to struggle under the ineffective free-market principles that they knew to avoid. http://www.newamerica.net/events/2008/why_world_isnt_flat
tayssir··on What Makes Us Happy
You might like Bertrand Russell's 1930 _The Conquest of Happiness_. At least if you're the target audience:

"I shall confine my attention to those who are not subject to any extreme cause of outward misery. I shall assume a sufficient income to secure food and shelter, sufficient health to make ordinary bodily activities possible... My purpose is to suggest a cure for the ordinary day-to-day unhappiness from which most people in civilised countries suffer." http://en.wikiquote.org/wiki/Bertrand_Russell#Conquest_of_Ha...

tayssir··on [dead]
I agree in the sense that Iraq is current affairs... though invading armies often rewarded useful locals, when setting up client states. (Recently, I saw "Terry Jones' Barbarians," which depicted an instance when this went disastrously wrong for the Roman Empire in the city I'm currently living in... http://en.wikipedia.org/wiki/Terry_Jones%27_Barbarians)
tayssir··on [dead]
I like politics, but the connection to Hacker News is a bit tenuous. Compared to links on (say) DARPA, where domestic US techies have gotten federal subsidy due to war spending. There is no need to focus on some Iraqi guy when the US tech industry is built on it. http://www.nytimes.com/2005/04/02/technology/02darpa.html http://www.taxpolicycenter.org/publications/url.cfm?ID=90058...
tayssir··on Andy Tanenbaum hasn't learned anything
Kernighan and Mashey mentioned in "The UNIX Programming Environment" (1981): "Success or failure often depends on nontechnical factors, whose importance often goes unrecognized by those who evaluate systems on purely technical terms." And they go on to mention some of these nontechnical factors, such as having started out on the DEC PDP-11.

In Ken Thompson's Turing Award speech, he claimed: "I can't help but feel that I am receiving this honor for timing and serendipity as much as technical merit. UNIX swept into popularity with an industry-wide change from central main frames to autonomous minis. I suspect that Daniel Bobrow (1) would be here instead of me if he could not afford a PDP-10 and and had to "settle" for a PDP-11." http://cm.bell-labs.com/who/ken/trust.html

Similar fate apparently happened due to the specialization of the MIT AI Lab's ITS: "Of course, ITS wasn't portable by any stretch of the imagination. It was an operating system in the old school of development, and it died rather suddenly when DEC announced that they were discontinuing the PDP-10 and its descendants in favor of the PDP-11 and VAX systems." http://www.crackmonkey.org/unix.html

(Personally, I only use a UNIX because it's a tool of the trade. It's free, or built into Macs. I don't enjoy it, but I use it, and found the _Unix Hater's Handbook_ refreshing.) http://www.cs.washington.edu/homes/weise/uhh-download.html

tayssir··on Alan Kay: "We're running on fumes technologically today."
Transistors are an interesting case. AT&T was a government-supported monopoly, allowing it to pursue expensive blue-sky research. And since transistors were expensive, the government purchased 100% of the advanced transistors until they were viable on the market. http://tech.mit.edu/V128/N51/chomsky.html

The New York Times discusses how technology flows from federally-funded research to industry. http://www.nytimes.com/2005/04/02/technology/02darpa.html

I agree that national states are centralized institutions, but corporations are another type of hierarchical power structure with their own set of disadvantages.

tayssir··on 21H.001: How to Stage a Revolution
I think this is too dismissive of other forms of revolution. I like Michael Albert's explanation of revolution, which is a fundamental change in at least one of a society's defining institutions. http://www.zmag.org/zspace/commentaries/2564

From this perspective, the 1953 US overthrow of Iran's parliamentary democracy (to install a monarch) was a successful revolution. And even a revolution with the best of intentions (which obviously wasn't the case with the 1953 revolution) won't necessarily result in an improved society. To the contrary, society might even regress. If a revolution suddenly occurred right now in the US, since we US citizens haven't laid the groundwork of serious popular organizing and institutions, we might expect a form of fascism to probably result.

tayssir··on Persistent Myths in Feminist Scholarship
I think he means that that argument sounds similar to the ones actually given by slavery's supporters. I've heard an old economic argument that chattel slavery is better than wage slavery (what we have now), because you treat something you own better than what you merely rent.

(So an anarchonistic example is that a car you own will remain in better shape than one you rent. That's actually not such a terrible argument, though of course we'd reject it nowadays.)

That said, I don't personally know either way, and Wikipedia does mention that _Uncle Tom's Cabin_ is popularly seen as propaganda. (I personally haven't read the book, but it wouldn't surprise me if it were 'propaganda' in the sense that it was biased and promoted a political point of view. Apparently, before the Nazis, propaganda didn't have such bad connotations.) http://en.wikipedia.org/wiki/Uncle_Tom%27s_Cabin#Literary_si...

tayssir··on The abolition of work
I agree. I think that after automation, whatever residue of crap jobs in society should be shared in an equitable way. Participatory Economics (parecon for short) offers one decentralized way of doing this; maybe people know of others. http://en.wikipedia.org/wiki/Participatory_economics
tayssir··on The Disadvantages of an Elite Education
I don't think that's true. I know many people who work towards a classless society, which isn't segmented into groups with antagonistic interests. After all, no one believes in the class societies of the past, like under the pharoahs, feudalism, slavery; which took generations to overthrow. (And during those times, persuasive justifications were offered for those systems.)

I'm personally interested in Participatory Economics (Parecon for short), which is a model for a decentralized classless economy, which offers properties that I think many people want from their economic system. http://en.wikipedia.org/wiki/Participatory_economics

tayssir··on The Math Gender Gap Explained
Women might also be filtered out by gatekeepers: teachers, advisers, interviewers and admissions committees. In an earlier thread, I quoted a physicist who wrote about this: http://news.ycombinator.com/item?id=625431

(Not to mention peer pressures; it can be hard to fit in socially with your peers when you're different. For example, many hackers have complained about the abuses they suffered during highschool.)

In the _Princeton Companion to Mathematics_ (which I very much recommend for anyone interested in math), mathematician Dusa McDuff claimed:

> Very successful within this limited sphere, I was highly motivated to be a research mathematician. While in some respects I had enormous self-confidence, in other ways I grew to feel very inadequate. One basic problem was that somehow I had absorbed the message that women are second rate as far as professional life is concerned and are therefore to be ignored. I had no female friends and did not really value my kind of intelligence, thinking it boring and practical (female), and not truly creative (male). There were many ways of saying this: women keep the home fires burning while men go out into the world, women are muses not poets, women do not have the true soul needed to be a mathematician, etc. And there still are many ways of saying this. Recently an amusing letter circulated among my feminist friends: it listed various common and contradictory prejudices in different scientific fields, the message being that women are perceived to be incapable of whatever is most valued.

As a programmer, I'm very interested in meetings without common negative patriarchal traits, like ego. She claims:

> I have found meetings intended primarily for women to be unexpectedly worthwhile; the atmosphere is different when a lecture room is full of women discussing mathematics. Also, as is increasingly understood, the real question is how any young person can build a satisfying personal life while still managing to be a creative mathematician.

tayssir··on The Male Programmer Privilege Checklist
I'm reminded of Smolin's _The Trouble with Physics_:

> Note that whereas there have always been talented women musicians, the number of women hired by orchestras rose significantly when candidates began auditioning behind a screen. This is why there is affirmative action. In all my experience, I have never seen a woman or an African American hired through an affirmative-action program who didn't strongly deserve it -- that is, who wasn't already arguably the best applicant. When hiring committees are no longer composed only of white men and we stop hearing expressions of open prejudice, then we can relax affirmative action. As it stands, people who are different -- who, for one reason or another, make powerful older male physicists uncomfortable -- are not hired.

(This was in the context of an argument about how physics institutions often filter out challengers to orthodoxy: including those who think differently, not just look differently.)