Better HN
topnewbestaskshowjobs
Log inSign up

bitdiddle

832 karma · joined Feb 20, 2007 (19y ago) · 362 submissions

Submissions

comment 17y ago · link · parent

great read, thanks.

comment 17y ago · link · parent

business evolves. This is why often the focus is on process rather than objects. In reality there are no real classes of things, just instances, each distinct. The key word you mention is "structured". Sure, if you're building apps to support the DMV where documents and forms change once every 30 years and people work for life sitting there doing data entry on screens that look like those forms then it's a safe bet you can design a relational schema that supports this. The same holds for banking and other transactional settings. The relational approach is powerful, with an algebra to back it up and support a query language.

So where do you put the logic, business rules, integrity constraints that govern this data? In stored procedures, key constraints? Or does it leak into the application code, especially if the code is OO. Using OOP how do the objects map to the tables? Some high level abstraction like hibernate that presumes to make that declarative and automatic? Now what if the schema is not so static, suppose it's dynamic. How does it evolve?

I think what many have recognized is that there is considerable overlap in the db world with app servers and web servers. The web is a much more dynamic place and increasingly I think relational databases are used more for just simple storage.

We've all used RDBMS for years and they've had loads of PhD theses put into making them what they are. Sometimes a different view is helpful. CouchDB has a dirt simple REST based API. It uses JSON for communication and Javascript in the database. It lets you store almost anything you want and it supports replication. For a real world scenario think of say something like a web-based lotus notes that supports on and off line use and collaboration.

Another very interesting aspect of CouchDB is it's choice of implementation language, Erlang. What it inherits from OTP is readily seen in the small amount of code needed to implement it. Moreover when it comes to robustness Erlang is frightening in how rock solid it is.

For what it's worth I think it's a keeper

333.

Why CouchDB?(books.couchdb.org ↗)

39 points · by bitdiddle · 17y ago · 25 comments

comment 18y ago · link · parent

Fad-Driven Development, I love it :) Sounds like a new O'Reilly book in progress.

Well certainly the changing landscape of the Web has caused many to revisit the use of relational databases. There's considerable overlap with what app servers do, schemas are static beasts in general and often create application lock-in, bla, bla.. There is a fundamental tension in O-R mapping that I've concluded is best solved by dropping the R and using alternative persistence models.

That said, relational databases are phenomenal and aren't going away anytime soon.

I think CouchDB hits a sweet spot in a number of areas and is worth a very close look. It's still early and needs a lot of work but I think it's a keeper, especially given it's use of Erlang/OTP. Erlang is very mature and though it wasn't built with multi-cores in mind it's concurrency model is one of the few games around.

comment 18y ago · link · parent

Well you can't bone a chicken drumstick very easily with a bread knife, so why would one try to use CouchDB as a relational database. I really fail to see the point of this article, particularly given the title

336.

CouchDB and standalone applications(jchris.mfdz.com ↗)

1 points · by bitdiddle · 18y ago · discuss

comment 18y ago · link · parent

The clock project http://longnow.org/projects/clock/ was a motivator for Stephenson's new book, "Anathem"

I was a great read!

comment 18y ago · link · parent

Berkeley DB is very much the same idea as couchdb, a persistent hash. What's interesting about couchdb is the REST API that makes use of JSON and the use of Erlang/OTP. Erlang was built by and for telecom apps. It's robustness and scalability are phenomenal.

Couchdb also includes a map/reduce framework based on javascript. It's really worth a close look. The one thing I don't quite get is why they haven't used Mnesia instead of rolling their own storage model. Perhaps because it wasn't designed for very large datasets.

comment 18y ago · link · parent

Well the dollar seriously could go, when the world stops trading oil in it. That's already starting to happening.

Also the chinese and other large sovereign banks don't need to necessarily dump their dollars. That would be shooting themselves in the foot. Kind of like Gates selling all his MS stock. All they need do is change the mix and slow down their purchases of dollars, replacing those with euros.

That's also happening, started several months ago now.

I'm not sure credit will be so hard to get. There's plenty of money around, just a lot less stupid money. For folks who are credit worthy there will be credit. This will be a new concept to many people.

comment 18y ago · link · parent

I just plowed through the first 113 pages of "Anathem", a great read so far. I think this is a good book to read before programming to understand the downsides to the "syntactic" machines.

I hope this helps

comment 18y ago · link · parent

This is less an issue when programming in lambda calculus, if one takes the combinator approach and just uses S, K, and I.

I know, I can hear the complaints about the lack of good libraries...

comment 18y ago · link · parent

I ask questions about two things that seem great predictors. The first is interest in music. I'm not sure why but people who can read music and play any instrument well tend to make great programmers. I have no explanation for this. The second question is what the highest level math course they had was and what they found hard about it. This one reflects a personal bias. Knowing the answer for myself gives me a rough measure of how hard the person can think and their ability to handle abstractions.

comment 18y ago · link · parent

With all due respect to the talents of the best and brightest college grads, 250K, or 125K per head seems about right when compared to the starting salary those grads could get at a MS or Google. YC puts up a bit of funding and takes a small cut.

More importantly, I think is that it's giving young programmers a big leg up in understanding how the VC game is played and an opportunity to build a software career that is very independent. For really good programmers I suppose there is always demand, always a place to work and more or less define your own path. But if you sell your company for 15 mill, you get a nice piece of what I like to call FU money.

I've sort of followed this YC project from the beginning as an outsider and my sense is that the folks behind YC are putting back some of their good fortunes. It's a cool way to spend some of their money and possibly grow it even more.

All the negative press and trash talk about burned out programmers, etc. looks to me like a good measure of success. The others are looking at the backs of your sneakers

comment 18y ago · link · parent

I thought REST was just a synonym for CDR :)

comment 18y ago · link · parent

Interesting thought. One can argue that the ability to write better OO code is already present in modules, functions, processes, and asynchronous message passing. Threads are needed in Ruby and Java to handle the asynchronous piece. Consider also Erlang's pattern matching style of defining functions, which reminds me a bit of generics in CLOS. Lisp like atoms are also a very useful device in Erlang.

So it strikes me that this proposal is sort of re-inventing in Erlang something that already exists. Moreover when one throws in OTP and it's frameworks for structuring collections of processes, I'm not quite sold on the benefits of doing this beyond making Erlang accessible to the larger audience steeped in the OO way.

Corrado Santoro has done a little bit with this in his agent technology http://www.diit.unict.it/users/csanto/exat

comment 18y ago · link · parent

excellent idea

comment 18y ago · link · parent

I'm very happy with it, the quality is generally good and I daily scan it for interesting articles in areas I'm currently keen on such as Erlang, etc.. As a programmer it's a valuable source and often I will read entire comment threads. That's rare nowadays as the signal to noise ratios are pretty bad at most sites.

comment 18y ago · link · parent

What I meant is that one can't deny others those same 4 freedoms, which include modifying and distributing the changes.

I like to think that what folks refer to as its' "viral" nature is really the preservation of freedom. It strikes me that this license more than any other protects the rights of programmers and enables them to earn a living. This might seem counterintuitive, and it certainly is counter to the propaganda that often spread about communism and programmers earning a living, but much of that stems from the way corporations are structured as legal entities.

comment 18y ago · link · parent

I agree that one shouldn't attack Gates FOR his philanthropy, but one should look closely at that foundation before forming judgments one way or the other. There are lots of questions about it with respect to his views on drug patents and one can legitimately question the investments. After all, the Perkins institute for the blind was founded by a drug dealer.

Moreover I didn't read the RMS as attacking the foundation.

I was put off by the tone of many of the blogs pieces about the RMS article. I've never seen RMS as "bitter" about MS. I think it was good timing on his part during this little love fest at Gates' retirement to point out that MS has not done much for computing science. RMS has given programmers a lot, much of it for free (as in beer and as in freedom). The only thing he seemed to be bitter about is the Linux versus Gnu/Linux thing.

I suppose this reflects my age, I felt the same way about the Arc bashing when it was released. RMS walks the talk, say what you want about him but you know where he stands. I wish we all had a similar regard for the US constitution.

comment 18y ago · link · parent

I don't see it as extortion, I like of think of it as share and share alike. Someone elsewhere commented that GPL advocates want to be paid back in code rather than money. There's some truth to that view. I like the analogy to the "tragedy of the commons". Everyone wants to graze their cows there for free, but then sell their milk for profits.

Programs are a form of mathematics. Freely (as in freedom) disseminating them is a good thing, it fosters creativity and synergy.

Enumerations are also a good thing, they help us remember and clarify contracts. The bill of rights is a good example. You have freedom of speech, the right to bear arms, to be secure in your letters, etc.. Notice that implicit in some of these is that you cannot deny others these rights.

I've noticed many are content to dismiss RMS because of his character. I've felt that way some in the past also but I would urge you to read some of his essays and even more so the works of Lessig, Moglen, and others in this area.

comment 18y ago · link · parent

perhaps, one builds up a set of neat macros and using emacs it's quite workable. For mathematics, Word still can't touch it. Word is also all about constantly needing the next $500 version. It's not clear also that they ever got this wysiwyg thing correct. It seems to change the fonts all the time in arbitrary ways. Sorry, I'd rather memorize a bunch of tags and use emacs.

comment 18y ago · link · parent

So what's your definition of "free"?

I believe FSF code, as in GPL is free. There are four freedoms that come with it. The only restriction is that one can't deny others the same freedoms. You're also free not to use it.

I find it interesting that so many criticize RMS for his character and style. I find myself very tolerant of people who are very talented programmers. I think RMS is a pretty decent programmer. Emacs, GCC, ... have added a lot of value over the years.

comment 18y ago · link · parent

.doc a best product. Sorry no way. Word to this day cannot produce anything near as good as Tex. I daily watch long email threads of collaborators struggling to share .doc files written with different versions of Word on different platforms.

354.

CouchDB(couchdb.org ↗)

3 points · by bitdiddle · 18y ago · discuss

comment 19y ago · link · parent

I would like one please. Thanks,

Bit Bitdiddle

bitdiddle@member.fsf.org

comment 19y ago · link · parent

This is a take off on a talk I heard years ago about networking

comment 19y ago · link · parent

all of the above, in that a corporation is a collection of interests. Depending on the capital structure, different players have different interests. Managing all of those in a way that promotes collaboration towards a common goal is a fine art, as they certainly will not all be aligned.

This is what intrigues me about the Y combinator approach. Anyone with 50K can fund a couple of kids out of school and if the chemistry is right, the idea has some merit, and a dash of luck (hard work always brings some luck), it can fly.

comment 19y ago · link · parent

If Web2.0 is now in Newsweek, is that itself an indicator that the wave has passed?

comment 19y ago · link · parent

I happened to interview with this company, Eons, a year or so ago. At the time they were looking to do a RoR knockoff of their existing site. I'm not sure where they went with that.

I'm wondering about a few things. The founder I believe was involved with Monster, .ie. has a track record. How do startups with this kind of capital succeed? The money itself is going to attract all sort of folks who won't necessarily add value. Does it come down to just leadership?

How this contrast with the approach of Y Combinator, where S,K, and I with a large dose of youthful energy provide a complete basis :)

360.

Why so much capital? (webpronews.com ↗)

1 points · by bitdiddle · 19y ago · 3 comments

1
910111213