Posts

Monkeysphere?

Interesting article at http://www.cracked.com/article_14990_what-monkeysphere.html . They didn't elaborate on the subject of religion, but I think (as some commented) that this is why the so-called golden rule is emphasized: trying to love everyone as you love yourself is another way of saying "realize they're also people just like yourself". No big discovery, I realize :) but I liked the connection.

More on biblical laws

Sort of a follow-up to my previous article - I just read " Why did the pig become so unpopular? " which added a lot of economic reasons for forbidding pig eating to the one I considered before (the disease part - pig meat has to be cooked really well to be safe, otherwise you risk a bunch of problems, which in Israel 5000 years ago is serious). Interesting.

More speculation...

... in the vein of this . Jesus says in Mark 11:23 I tell you the truth. Anyone may say to this hill, "Go and jump into the sea." He must not doubt in his heart, but he must believe that he will have the things he asks for and he will have them. What if Jesus didn't mean "if you have faith, I will move the hill (mountain) for you", but "if you have faith, the hill will move because the Universe was built to respond to human volition"? We know that the human body responds to human will sometimes (placebo effect); there's a speculative part of physics (quantum physics) that has as a basic tenet that human observation can influence the outcome of physical processes. Why the need for "unwavering" faith, then? Well, the Universe is probably a simple mechanism, if you're not very sure of what you want it cannot respond to your will. Maybe there's a "faith threshold" that triggers the mechanism; or maybe there's a required...

On extending DBMSes

Problem: you have some data for your company. The data has to be accessed from multiple applications (think accounting, personnel, sales and so on). How do you make sure business rules are obeyed - because if there's a bug in even one application, it will ruin the data and thus every other application. I agree with pretty much everything Fabian Pascal has to say about relational databases. The RDB *is* the place where data should live, and ideally it should be the place for business logic too - because business logic is about data. However, there are a few problems with this - mainly because of a lack in implementation, not in the theory of the relational database: No existing DBMS (Database Management System) - the actual implementation of the relational database theory - can support thousands of concurrent users, let alone millions. It is hard to do user management / authentication in the same database as your business data - in fact, it might be a good idea to have separate dat...

WCF - inheriting from a common interface

At work I have a few dozen (and will at some point get to hundreds) workflows with the same structure: [XmlSerializerFormat]   [ServiceContract(Namespace =  "http://schema.company.com/messages/" )]   public   interface  IBasicContract<TRequest, TResponse>     where TRequest :  class      where TResponse :  class    {     [XmlSerializerFormat]     [OperationContract(Name =  "GetReport" ,       Action =  "http://schema.company.com/messages/GetReport" ,       ReplyAction =  "http://schema.company.com/messages/GetReportResponse" )]     [ServiceKnownType( typeof  (Aggregate))]     TResponse GetReport(TRequest inquiry);        [XmlSerializerFormat]...

Multi-threaded server

Image
This is a reply to this question on stackoverflow . Many people "feel" that allocating a thread per socket is a bad idea. This might be true for 10,000 sockets, I don't know; however, for 300 threads which are idle most of the time, this is really not an issue - and hasn't been in Windows since at least Windows 2000. Here's how this would look on my system: I am going to put the code in the answer to the stackoverflow question; this is just a placeholder for the above image, mostly :)

Acting good without being good

From this comment : I seem to be known to many of those around me as an all around nice guy, a good guy even. But I'm an asshole, a self-absorbed prick. (...) I often find that I'm doing good things out of an awareness that I should want to do them, than because I actually feel that desire. This could have been written by me. Ouch.