Better HN
topnewbestaskshowjobs
Log inSign up

voidpointer

658 karma · joined Dec 20, 2008 (17y ago) · 196 submissions

Submissions

comment 17y ago · link · parent

Don't get that in mine. Maybe I got an older version since I didn't go through the US AppStore...

comment 17y ago · link · parent

Yes it will be worth the effort. Alternatively, if you prefer a more modern book dealing with conceptual questions of programming in multiple paradigms in a similar spirit as SICP, have a look at Concepts, Techniques, and Models of Computer Programming (http://www.info.ucl.ac.be/~pvr/book.html).

comment 17y ago · link · parent

If you work through this, make sure to catch at least some of the video lectures available at http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussma... Abelson and Sussman rock big time, plus: the outfits and hairstyles of the participants are just wonderful (mid-eighties!) ;)

comment 17y ago · link · parent

Is it realistic to assume that a 3rd party application that can be customized to work with my database model can't be customized to work with a model exposed in some other way (web service, J2E, .Net or whatever)?

comment 17y ago · link · parent

In rails the database is mostly a storage space for freeze-dried model objects. Your typical enterprise RDBMS woes don't apply. Migrations just make sure that the database scheme is consistent with your actual model. As far as writing Rails applications is concerned the actual technology used to persist objects is (mostly) abstracted away from the task of application design and development.

comment 17y ago · link · parent

The model may still become a bottleneck if objects are tightly coupled and you can't scale out the model in a horizontal way. The low level nature and conceptual simplicity of the relational model allows database vendors to pull some pretty amazing tricks with scalability and clustering. People aren't building big database centric applications because they don't know any better (so I would hope). It all depends on the context. It shouldn't be the default because it can be inflexible.

comment 17y ago · link · parent

Most importantly, back in the day 1998/1999 there was not much around that could match up to the functionality of PHP. Java servlets were not supported widely, Netscape had their serverside javascript wich required you to buy into their servers... Going with PHP was a no-brainer for any small web-shop/startup. With all the web stacks that are available today, it wouldn't have been that clear.

comment 17y ago · link · parent

In my opinion the notion of implementing business logic outside of the database and acknowledging the longevity of the data are not necessarily in conflict. You need to have a well defined model and you can choose whether the database is a full implementation of that model or just a representation of the state of that model.

I don't find databases well suited for expressing complex behavior - programming languages are far better at that.

comment 17y ago · link · parent

The solution to this is a multi-tier architecture. Only one application that implements the domain model talks to the DB and all other apps talk to that application. This doesn't give you the raw performance of a model living purely in the DB but may be a viable design decision. You trade flexibility for performance.

comment 17y ago · link · parent

These are great examples towards the fact that the relational model isn't always the best way to go. Especially with regards to an evolving model. In object oriented models, polymorphism can be employed to extend an existing model with rather minimal impact. Introducing, for instance, a subtype for an address in a relational model isn't easily done. I'd rather model in OO land and use the DB as dumb object store. I haven't implemented a serious project based on an real OO database. Any experiences you guys would want to share with regards to model flexibility with an OODB?

comment 17y ago · link · parent

I think when arguing about XML, many people forget its relationship to SGML. Many of the drawbacks in XML are design decisions made in order to maintain backwards compatibility with SGML tools that were in use when XML was devised.

In order to simplify parsing (and in order to enable parsing a well formed document without knowing its DTD), XML threw out much of the syntactic sugar that SGML had to offer such as implicitly closed tags. I.e. Many people think that <tr><td>foo<td>bar... is invalid HTML because of missing </td>. In fact, it is perfectly valid because the HTML (SGML-)DTD specifies that a <td>-tag implicitly closes a preceding <td>. Most think it's a browser-hack. It is not.

What both XML (and SGML) add over S-EXPR is support for expressing grammers, a well-defined validation mechanism and quite good support for coping with different character encoding.

comment 17y ago · link · parent

Well, it has been pointed out before, but this is just too funny. I hadn't looked at joel's site for some time and I had to check some other posts to tell whether the blurbs under the real posts were there for humorous reasons or whether they were an actual part of the page template. Unfortunately the latter is true. He could just put "Joel loves developers."

What's there sounds like the same kind of marketing department cool-aid that the poor engineers at Sun are forced to put in their installers.

Now, if you are tempted to say something like "the inmates are running the asylum" in Sun's case that may very well be true: http://www.nps.gov/nr/travel/santaclara/agn.htm :-)

193.

Android Desktop Phone Designed by iPhone Engineer(i.gizmodo.com ↗)

6 points · by voidpointer · 17y ago · 3 comments

comment 17y ago · link · parent

No. He means that the quality of the books published by O'Reilly is essentially unrelated to the value/truthfulness of the advice that he is giving in the linked article.

comment 17y ago · link · parent

It seems almost ironic that an author who sees no value in education beyond securing credentials that get you a good position is only offering anecdotes to back his position.
1234567