Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Programming IT Technology

Moshe Bar on Programming, Society, and Religion 847

Well, here we are: Moshe Bar's answers to questions you posted earlier this week. Read and enjoy.

1) As a device-driver writer...
by Marx_Mrvelous

It seems like such a chore to write drivers that work on all distros since they all use different kernels. It seems to me that businesses only develop for windows because they are guaranteed that their drivers will work on all windows machines for X (4,5,6) years without any more work. Having experience writing Linux device drivers, do you think that a cross-distribution effort to standardize on kernel versions and guarantee major hardware manufacturers this compatibility would promote driver development in Linux?

Moshe:

I don't think a standardized kernel version across distributions is a) feasible business-wise b) necessary c) going to make driver writing any easier. Not that it is that difficult now. I also don't think that the various kernel versions among distributions is to be blamed for bigger (if really so) number of driver developers under Windows. Most drivers do not really create problems across the different kernel versions of the distributions, in most cases a simple recompile of the kernel module with the modified kernel headers is different.

On top of that, I really suspect that writing drivers across the many Windoze versions is far more difficult because each different Windows type (95, 98, ME, 2000, XP and what have you not) is really a different OS.

2) I have only one question:
by Baldric Dominus

Does Moshe have a son/daughter named "foo"?

Moshe:

Moshe does not have children yet. We do plan to fork() some children eventually, but have not yet made plans about their names. :-)

3) Different social groups
by CAIMLAS

As someone involved in many different activities, do you have cohesive social groups? That is, do the people from, say, your motorcycle-riding friends develop/use linux as well? I'm interested in knowing what your social ties are, being as it seems you are a fairly active individual.

Moshe:

The social groups of which I am a member of vary wildly, in part due to the fact that me and Ms. Bar have effectively two homes, one in Israel and one in Europe. Since Europe and the Middle East (ie Asia) differ quite substantially culturally and ethnically, I find the biggest differences lie therein. As to what concerns the various other groups (motorbikers, lawyers, business people, etc.) they do differ somewhat if on the same continent, but the diversity is actually something that attracts and intrigues me. A very typical motor-biker is not going to be a very typical kernel hacker, mostly. A very typical lawyer is not going to be a very typical Talmud student (although both study essentially just law and its practice), usually. However, I am not a typical member of any of these stereotypes (not sure if anyone really is). What unites them all is that they all do whatever they do with passion if they are good at it.

4) BitKeeper
by AirLace

Despite staunch opposition from certain developers, Linus has recently started to maintain the kernel using the non-free BitKeeper SCM product, which is not only proprietary but also uses undocumented file formats, making interoperability difficult or impossible. Do you think it's fair to encourage developers who would otherwise keep to Free Software to turn to a proprietary solution and what is in effect, shareware?

Moshe:

Nobody has to use bk to create patches or to send them to Linus. It is true that Linus is more likely to include them if they come through bk, but by far not all have adopted bk (Alan Cox being one famous such exception). I personally have switched to bk for my personal stuff, but I still don't much like the bk business model. The question is: would Larry lose money in any way if he was to open up bk completely? I don't think so. The other question is: would it be so difficult to produce a bk-compatible openBK? Don't think so either. If the community continues to adopt bk at this rate, sooner or alter, someone will come out with an openBK for sure. Welcome to the wonderful world of OpenSource!

5) As a device driver writer...
by dalutong

do you think that the Linux kernel should follow the same route as the Mozilla project. That being that when Mozilla reaches 1.0 the API will freeze and any plugins, applications that use gecko, etc. will be compatible until version 1.2 is out. Should the Linux kernel make some sort of standardized API for drivers so a driver that works with 2.4.0 will work for 2.4.20?

Moshe:

No, I dont' think so. The Mozilla API model is based on an old and mean-while superseded assumption: that writing software is expensive. In the OpenSource world having to modify a driver because something changed in the kernel, is an advantage not a disadvange, both economically and techically. Proprietary software goes at the tariff of US$ 50-200 per line of debugged code. No such price applies to OpenSource software. Additionlly, if the API changes it is for a good reason. Then why not letting your driver benefit from it?

6) Database Clusters
by emil

As a cluster guru, I am curious about your take on database server clustering in both the commercial and the open-source space.

First, it appears that IBM DB2 has been wiping the floor with Oracle on the TPC benchmarks lately, and Oracle "RAC" has been a flop. However, IBM is not using any hardware from its proprietary server lines, but instead relies on clusters of "federated" databases running on 32 standard PCs running either Linux or Windows. It does appear that Oracle still generally beats IBM in raw performance on a single system (as IBM refuses to post any non-clustered benchmarks AFAIK).

Do you think that any of the hype over either of these vendors cluster packages is worth attention? Do you agree with Sun's claim that TPC(-C) no longer has any practical relevance? It all seems to be getting rather silly.

Second, is there any push to make any of the ACID-leaning open databases (Postgres, SAP-DB, etc.) fault-tolerant, perhaps using Mosix? I assume this would require modifications to Postgres enabling it to access raw partitions. Have you had any talks with the Red Hat Database people about cluster modifications to Postgres, just out of curiousity?

Moshe:

There have been talks with the DB2, Postgres, SAP DB and various other DB technologies. All their proprietary clustering technologies (in particular DB2's and Oracle RAC's) are bound to show very poor scalability and TOC. In the openMosix model, you install *one* DB2 or *one* Oracle 9i on one machine and - assuming we have finished implementing Distributed Shared Memory, something which we plan to do - then the processes making up an instance can migrate away to other nodes and make more room for a larger DB block caching area. All that happens transparently to the RDBMS under openMosix because we implement the clustering layer within the kernel and therefore all applications, whatever they might be, benefit from it.

Under Oracle RAC, for example, you need to install the RDMBS on everynode being part of the RAC cluster. If you need to apply a patch and that process takes, say, 2 hours, then the whole patching downtime to the DB will be 2 hours x n nodes. Also, in openMosix we are soon goin to implement Dolphin support, allowing us to copy a full 4KB page from node to node within 14.4 microseconds. Something like Oracle will immediately benefit from the cluster-wide ultra-low latency. If not in kernel space, then every application vendor would have to write his own driver, possibly conflicting with other applications trying to do the same on the same machine. In short, doing clustering at the DB application level is essentially flawed.

openMosix does not handle High Availability, so I am not answering that part of the question.

7) Not about Linux at all...
by Dimwit

...but the article said pick anything. Since there are quite a few philosophers on Slashdot (and since I'm Jewish and this question gets a lot of thought from me, and when will I ever be able to ask again?) here's my question:

Do you see any reconciliation between science and the G-d of the Torah? What about between Science and any sort of Creationism at all? Do you see the possibility that science, as it approaches the moment of Creation itself, becomes more in tune with religion? I guess a big part of what I'm asking - do you see a place for (or proof of) G-d in science?

Moshe:

No, as much as I am firm believer in our G-d, I do not believe the two things can ever go together in harmony. We know the world created itself a few billion years ago and not 5762 years ago (according to the Jewish counting). We know that evolution is the culprit for that inexplicably destructive and increasingly contradictory thing called the human, the human was not made directly by G-d. Yet, the religious teachings really do make for a more peaceful and quality living if followed the same way by all people. In my view, religious belief and science do not negate one another on the philosophic level, but on the at-face-value level. The more you try to negate G-d the more you end up having to believe in something in its stead. Kierkegaard for all his trying to disprove G-d always came back to G-d. Camus' attempt to show that there is no G-d only shows how divine the emptiness is that is left behind once you eliminate G-d. Staunch atheism is ultimately only an active attempt at ignoring the question what is the divine if it is not G-d, not at answering it.

8) What area of law are you studying?
by gosand

According to the FAQ on your website, you are currently studying for your first law degree. With such a heavy technical background, especially in CS, I am curious as to what area of the law you are planning on going into. Is it a technology-related area? It would be nice to have some more technically-capable people in the law profession, especially those who are Linux friendly. Or is going into law just your way of making money for that early retirement?

Moshe:

I am studying law because at my age I already see how much faster younger programmers are than me. Back when I was in my early twenties nobody could beat me at programming. Nowadays, when I sit next to people like Andrea Arcangeli, I realize that programming, too, (even considering the advantage of experience) is for the young. Perhapes extreme programming, ie good quality, high speed programming, should be considered a sport and not an art or science or a skill. Since, I do not see myself being a programmer at 60 years (which is more than years from now), I deduced that I have to find a new job between then and now. Law is something that really goes well with progressing age. My area of law will be mergers/aquisitions, something that mainly bases on a wide-spread social network rather than talent or very intimate knowledge of the law. I do not actually intend to be a very good lawyer, just to be one.

9) Single Memory Space for openMosix
by Bytenik

Right now, as you've mentioned in the documentation, programs that access databases or shared memory do not derive any particular benefit from using openMosix.

Is there any work planned to enhance openMosix to support a single memory space among all nodes or to otherwise allow implicit sharing of memory? Is this what the "network RAM" research is attempting?

Implementing something along these lines in an efficient manner would hugely expand the range of problems that openMosix could be used to tackle.

Imagine being able to split a database transaction into hundreds of parts and run it in parallel on hundreds of openMosix nodes with a terabyte or more of combined RAM. The processes that share data would automatically migrate to the same node. Mmmmm good!

Moshe:

Network RAM is simply allowing mallocs or swap-outs to be done to the RAM of neighboring cluster node rather than to physical swap space on disk. In order to run databases under openMosix we will need to implement distributed shared memory. Due to the exceptional complexity of this project, I do not assume to have a valid implementation before the end of 2004.

10) IBM and Hercules?
by Jay Maynard

(I'm the maintainer of Hercules, an open source emulator for IBM mainframes that runs on Linux and Windows.)

You've mentioned Hercules in your column a couple of times, both quite favorably. Thanks!

One industry analyst from Germany has claimed repeatedly that IBM is getting ready to slap down Hercules with its lawyers, on the basis of some unspecified violations of their intellectual property rights. He's said that it's not just patent infringement, but refuses to go into exactly what else.

What effect would you think that taking such an action would have on IBM once the open source community finds out?

Moshe:

Hi Jay, long time no hear! I have heard similar rumours. If IBM is reading this: going against Hercules would be an extremely stupid move (not unlike the one by the asinine Adobe legal counsels against Sklyarov). Hercules only helps to sell more mainframes because as people familiarize with the Linux on the S/390 architecture, they will ultimately end up buying a mainframe to run their production workload. If you - as a vendor - want a particular computing platform to succeed, then you do everything possible to spread the gospel according to that platform. You don't go and destroy evangelists doing that for you. I use Hercules very often, and actually have an instance of Hercules running under Linux, with VM/ESA inside running Linux S/390 under it for about 3 months now. openMosix nicely balances the load across my 5 nodes cluster at home and I get very decent speed.

If IBM truly embraces Linux as just one of the members of the OpenSource family (rather than just Linux alone because it saves them billions in proprietary OS development) than it will not go against Hercules. If it does, then we all know that IBM is not serious about OpenSource and only taking advantage of it without really behaving like a good OpenSource citizen.

This discussion has been archived. No new comments can be posted.

Moshe Bar on Programming, Society, and Religion

Comments Filter:
  • by nordaim ( 162919 ) <nordaim@yah[ ]com ['oo.' in gap]> on Friday June 07, 2002 @12:40PM (#3660230)
    I am currently working with an individual who has more years of programming experience than I have years of life. His ability to code quality is amazing, but I find that the younger programmers I know can whip out the smaller portions of what he is doing on a scale 10x faster. It is his knowledge of all the intricacies of the language where his abilities really show: He can tweak someone else's code, that would take him hours to write, in a matter of minutes and make it scream.

    A very good project manager with excellent knowledge, but that knowledge is a hinderance because of how much of the picture he knows.

    I think of it along the lines of a lot of logic puzzles: There are many that the young (12 or less) can do in 5 minutes, but an adult will ponder for hours because they have too much experience to think about the problem properly. Too many options are available...

  • Re:About atheism (Score:3, Interesting)

    by rsidd ( 6328 ) on Friday June 07, 2002 @01:15PM (#3660457)
    The problem is, we have not proven Evolution by any means either. We can't. We have some evidence

    Actually, we have lots of evidence. Overwhelming quantities of evidence. We can't prove it because outside of formal systems in mathematics/logic, we can't prove anything. The world could have been created 5700 years ago with its fossil records, geological evidence, astronomical setup, etc created "just right"; it could also have been created 5700 seconds ago, with all of us already created, with our desks and computers and everything, and our memories pre-programmed to make us think we had a childhoood. None of this can be disproved, so it makes sense to look for the reasonable solution.

    (And if you really want to believe in God, I think it would be nicer to believe in a God who isn't a confidence trickster, who wouldn't set up all these fossil records and stuff just to con us for his amusement...)

  • bitkeeper (Score:4, Interesting)

    by larry bagina ( 561269 ) on Friday June 07, 2002 @01:27PM (#3660550) Journal
    The question is: would Larry lose money in any way if he was to open up bk completely? I don't think so.

    I think Larry stated his opinion about this here [kerneltrap.org]

    The other question is: would it be so difficult to produce a bk-compatible openBK? Don't think so either. If the community continues to adopt bk at this rate, sooner or alter, someone will come out with an openBK for sure. Welcome to the wonderful world of OpenSource!

    If "the community" had produced anything better than CVS, bit keeper wouldn't exist, and Linus/Linux would be using it. Welcome to the wonderful world of OpenSource!

  • Re:About atheism (Score:2, Interesting)

    by SLi ( 132609 ) on Friday June 07, 2002 @02:00PM (#3660804)
    And of course, conversely, nonbelievers have a strong interest in explaining religion through psychology. I admit at least I didn't think of that before I converted (to christianity).

    They need the assurance that there is no God - or at least that the existence of God is very unlikely. Otherwise the thought that they are going to suffer for eternity after death gets unnerving.

    Religion is explainable through modern psychology. Therefore, it's very likely that religion was invented by people themselves for their own, primitive need. Right? Think about it.

    I don't think so. Psychology is experimental science - theories are created and they become widely accepted only if they seem to work in practice. So what I'm saying is, if psychology didn't have an explanation for religion, would it be worth anything?

    Religion is lot older than psychology. Psychology was created to explain human nature, religion being part of it. So in fact those who don't believe because psychology gives them an adequate explanation on why other people do believe have come to a vicious circle.

    BTW, it's just as easy to explain the need to explain religion through psychology. Curious? ;)
  • Kernel API stability (Score:3, Interesting)

    by captaineo ( 87164 ) on Friday June 07, 2002 @03:27PM (#3661449)
    As the maintainer of a (very small but useful) piece of the Linux kernel, I disagree with the assertion that driver maintenance (keeping up with an unstable API) is cheap. I am very annoyed at the steady stream of patches I have to apply to keep up with even the 2.4 kernel. The worst part is when someone sends a patch directly to Linus or Marcelo - bypassing me and the other guys who maintain our kernel subsystem - so that the mainline kernel ends up out of sync with our own development code repository. We spend too much of our limited kernel-development time chasing API mismatches when we could be fixing real bugs or adding features. (fortunately most API-change problems are caught at compile-time, but there was one recent instance where an unexpected kernel change led to a HUGE but silent memory leak in my code)

    I would very, very much prefer if the driver API were frozen at least for the "stable" kernel series. I don't really mind what happens in 2.5.x.

    I understand and agree with Linus' philosophy that large-scale code breakages are sometimes required to force reluctant stragglers to adapt to a new, improved API. Just don't do this in a "stable" kernel series!

    IMHO the world would also be a better place if binary-only driver vendors (read NVIDIA) had to target only one, stable kernel API. But feel free to disagree...
  • Re:About atheism (Score:3, Interesting)

    by autechre ( 121980 ) on Friday June 07, 2002 @03:36PM (#3661529) Homepage

    I think that if you attempt to use the question "Can God create a stone too heavy for even Him to lift?" in an attempt to disprove the possibility of the existance of an omnipotent being, you'd also have to challenge the concept of infinity, which is certainly valid even in human mathematics.

    What is the maximum weight of a stone which an all-powerful God can create? Infinite.

    What is the maximum lifting power of God? Infinite.

    So, which is greater, infinity or infinity? Another poster came up with the answer, "God can create and lift ANY stone", which is also pretty good. It's beyond us to compare two such concepts, just as it's beyond us to compare infinity with itself. But just because I'm not capable of fully understanding/scientifically proving something does not mean that I can't/shouldn't believe in it. We still don't even understand the Earth's own oceans; when I ask my brother what a particular thing in his saltwater tank eats, the answer half of the time is, "No one really knows."

  • Re:About atheism (Score:2, Interesting)

    by kdoherty ( 2232 ) on Friday June 07, 2002 @05:22PM (#3662315)
    Wouldn't that mean those who can afford to obtain evidence will be saved? Does that sound like the way God likes to work?

    Er, what about people who never heard of Christ in their lifetimes? What about people who lived before him entirely? I thought baptism was a prerequisite to salvation.
  • by Anonymous Coward on Friday June 07, 2002 @06:20PM (#3662587)
    I am a Jew who is also an atheist. Yes, you can be both. A skinhead would still kick my ass no matter what I believe
    G-d does has a characteristic: He makes promises and He keeps them. He promised that Jews would be persecuted, and they have been. He promised that they would survive with their religion intact despite persecution, and they have. You state yourself that any anti-semite would try to kill you know matter what you believe, just because you are Jewish.
    Do you know of any other religion which has been persecuted as much as Jews yet has lasted as long as Jews have? As an Orthodox Jew myself, I don't think we could've done it without some help from above. G-d has kept His promise to protect us despite the constant threat of hatred. That's plenty of proof right there.
  • Re:DARWIN on the EYE (Score:3, Interesting)

    by johnrpenner ( 40054 ) on Friday June 07, 2002 @06:21PM (#3662593) Homepage
    > just how freaking complex something like
    > your eye is -- and where did it evolve from?

    'to suppose that the eye with all its inimitable contrivances
    for adjusting the focus to different distances, for admitting
    different amounts of light, and for the correction of spherical
    and chromatic aberration could have been formed by natural
    selection, seems, i freely confess, absurd in the highest
    degree.'

    (Charles Darwin, Origin of the Species)

    'The eye is created by the light, for the Light' (Goethe)

    regards,
    john [earthlink.net]

  • Re:About atheism (Score:2, Interesting)

    by MobyTurbo ( 537363 ) on Friday June 07, 2002 @07:01PM (#3662800)
    The other problem is that the Bible isn't consistent with external evidence. Consider the following passage: Lev 11:20-23
    In the original Hebrew it is quite clearer, the problem is that the "jointed-legs for hopping" and the "four legs" (for walking) of these particular insects (according to Jewish tradition only locasts are meant, "cricket" is a mistranslation) are expressed seperately, using different terms. Thus, in clumsy King James inspired translations, it appears to be that the passage is claiming that locusts, and a variety of similar insects that the KJV seems to have applied randomly ;-), have four legs. Incidentally, the tradition of which two types of locasts are kosher has been lost to most branches of Judaism due to the exile from the original regions of the Middle East where these two permitted species live; some Jewish translations thus leave these unknown-to-them terms untranslated. (Though they agree that crickets aren't ment - they don't have the proper wings) Yemenite Jews have traditions they say are reliable however concerning the species of locusts, and they may very well be right.

I tell them to turn to the study of mathematics, for it is only there that they might escape the lusts of the flesh. -- Thomas Mann, "The Magic Mountain"

Working...