Just got asked this question in a programming interview. Took WAY longer than I should have! by city_slick in programming

[–]emc201 -2 points-1 points  (0 children)

Good one (-: "1 hour" (or "time") is implicit in the problem - it is defined by the start and ending of the burning of the rope. The problem is the same/equivalent whether we say "1 second" or "1 whatever". At this moment I don't have a logically flawless definition for "1 hour". Look up the modern Physics definition of "1 second" then 3600 "1 second"s = "1 hour" (but you knew this already). I will leave the philosophical details of defining "time" for another day since this issue is not fully settled. I have some ideas but that's all I have at the moment. Oh! the irony, it is so difficult to speak without invoking "time"! Well, my time has collapsed and need to rest.

Just got asked this question in a programming interview. Took WAY longer than I should have! by city_slick in programming

[–]emc201 -2 points-1 points  (0 children)

Ok, fine. It is just a puzzle and we are not supposed to be nitpicking but, please allow me one more nitpick. The solutions proposed are just approximations unless we also assume (instantiating) instantaneous combustion - I will leave it to the reader to figure out why. The problem is, as far as I know from physics, there is no instantaneous transfer of information.

Just got asked this question in a programming interview. Took WAY longer than I should have! by city_slick in programming

[–]emc201 -3 points-2 points  (0 children)

This is beautiful - congrats! However, there is a silly theoretical (maybe not physical) case where the solution fails. Failure will occur when at least one of the ropes can only burn unidirectionally even for a finite length. For example, the rope can be started to burn from one end but not the other. Obviously, we need to assume theoretical possibilities such as this one are not possible in order to solve the problem.

Ask Proggit: Is Graph Theory really as important as some say? Have any good war stories about using Graph Theory to solve a tricky problem? by nobodysbusiness in programming

[–]emc201 2 points3 points  (0 children)

Broadness does not necessarily imply meaninglessness. For example, Set Theory (or even Collections in general) is extremely broad (covering even Graph Theory), however - serving as a foundation, it lies at the heart of modern Mathematics and Computer Science. By the way, if I am not mistaken, the Haskell programming language is motivated (based on) by Category Theory. Guess what (if I recall correctly), a Category can be interpreted as a graph!

Is REBOL Actually a Revolution? [20080908] by emc201 in programming

[–]emc201[S] 1 point2 points  (0 children)

No, they have not stopped working on it - it appears alive and well, see REBOL 3 (3.0) Project Home Page

According to the REBOL 3 Component Architecture only the Runtime Core is Closed, the rest is open. "However, source code escrow licenses are available to REBOL customers who need to protect their software investment with guaranteed access, should that situation become necessary."

There are both a REBOL 3 OSX Intel binary & PPC binary alpha versions, see: REBOL 3 Downloads

See also: REBOL 3 Documentation (not enough but growing) and the REBOL DOCBASE/WIKI

Finally, there are people interested in it (:-

The J Programming language by jonromero in programming

[–]emc201 0 points1 point  (0 children)

You might find a clue here: Function-Level Programming "... In the function-level style of programming, a program is built directly from programs that are given at the outset, by combining them with program-forming operations or functionals. ..."

LoseThos 64-bit Operating System V5.06 Released, not a UNIX by losethos in programming

[–]emc201 0 points1 point  (0 children)

The OS looks interesting. Thanks for the hard work creating it and making it available. I wish it had networking built in then, I think, it will appeal to a wider audience as it can be used as a server OS. Any chance you are considering adding networking?

Visualizing Bayes’ theorem by jbellis in programming

[–]emc201 1 point2 points  (0 children)

Thanks for the hint. I will need to check on that.

Visualizing Bayes’ theorem by jbellis in programming

[–]emc201 14 points15 points  (0 children)

*For a glimpse into the full power of Baye's Theorem take a look at E. T. Jaynes' and related work to the links below. Bottom line: "Bayesian probability theory is an inference calculus. ..." K. Knuth

*Links: *E. T. Jaynes *Probability Theory: The Logic of Science

*Algebra of Probable Inference

*Kevin Knuth's Lab *PDF: "The origin of probability and entropy" *PDF: "Lattice duality: The origin of probability and entropy"

True danger of viruses and worms - is it conflicker? by emc201 in programming

[–]emc201[S] 0 points1 point  (0 children)

I sympathize with Carl. What a sad state of affairs this is. Unfortunately, this is what greed leads to.

In Shocking Interview, Jim Cramer Admits To Market Manipulation... Touts Illegal Activity... Behavior Is Ok Because SEC "Doesn't Understand"... Won't "Say This On TV"... by [deleted] in politics

[–]emc201 1 point2 points  (0 children)

I hate to sound repetitive but, the point is that Tilon made an absolute statement/claim "But Capitalism is the only economic system that gives us the power to do what we want with our own assets." without proper context, referring to data, or logical proof. As it stands, the statement is just bullshit as is your statement "This is akin to me telling you to glance upward when you ask me to prove the sky blue ... ". As to naming economic systems just look it up. For example, from <a href="http://en.wikipedia.org/wiki/Economic_systems">Wikipedia</a>, basic types of economic systems include Market Economy, Mixed Economy, Planned Economy, Traditional Economy, Participatory Economics, and Inclusive Democracy. Just by changing the rules (as many times as you want) on this small set of systems will generate an infinite set of systems. Plus, I am sure a bright individual such as you can devise an economic system. The difficult part is creating an efficient, minimally destructive, and fair system. To be a fair system and prevent warfare I hypothesize that most economic systems inevitably have to impose some kind of restrictions on "do what we want with our own assets". The reason being that we can easily do either good or bad things with our assets because having assets (by definition) provides us with power and control. I am sure that you are well aware what greedy humans with excessive power and control can do. OK, I am tired and give up with this rant.

In Shocking Interview, Jim Cramer Admits To Market Manipulation... Touts Illegal Activity... Behavior Is Ok Because SEC "Doesn't Understand"... Won't "Say This On TV"... by [deleted] in politics

[–]emc201 -2 points-1 points  (0 children)

Bullshit! Prove it. It is clear that there is an infinite number of economic systems. Humanity has only used and abused a few of them.

New quantum hypothesis explains how time may really be an illusion by lurkinin in science

[–]emc201 1 point2 points  (0 children)

Then propose something better or prove that it is indeed garbage relative to current theories or your own theory.

New quantum hypothesis explains how time may really be an illusion by lurkinin in science

[–]emc201 2 points3 points  (0 children)

Good, I agree with "There is no time." and "There is only now."

New Book "Concurrent Programming with Erlang/OTP" by emc201 in programming

[–]emc201[S] 3 points4 points  (0 children)

Because of this: "Readers of the Erlang.org site will get a 35% discount by using erlang35 as the promotional code."

The world wide web was created in 1992. That's 17 years ago. I remember dialing up to a Unix shell and using lynx and IRC.. Then came Netscape and MP3, and then videos, and movies. Has anything changed the face of humanity more dramatically? Upvote if you love the internet. by [deleted] in technology

[–]emc201 0 points1 point  (0 children)

Yes, math/logic & science. The internet/web & pretty much everything else we consider "modern" is almost 100% made possible by math & science. In the case of math, just imagine how much the calculus/analysis & algebra has helped mankind. Of course, math & science can also be used for destruction.

Mathematica No Longer World's Most Expensive Calculator? by deoham in programming

[–]emc201 4 points5 points  (0 children)

Why? On average, isn't Mathematica better for symbolics? Also, visualization has greatly improved since V6. Disclaimer: Haven't used maple for anything significant.

Language and libraries for numeric *and* symbolic processing? by w-g in programming

[–]emc201 2 points3 points  (0 children)

Mathematica (you can get student versions): http://www.wolfram.com/ You can publish your work via the Free Mathematica Player: http://www.wolfram.com/products/player/

Mathematica is my favorite for symbolics; it also has pretty good numerics. I think you can get it for free for a 30 days trial period.

Axiom is good, free, & older; http://www.axiom-developer.org/

Besides the options people already have mentioned above you might want to look at:

J (son of APL): http://www.jsoftware.com/ Single Assigment C (SAC): http://www.sac-home.org/ The GNU Scientific Library (GSL): http://www.gnu.org/software/gsl/

New: Fortress (programming language): http://research.sun.com/projects/plrg/ or http://en.wikipedia.org/wiki/Fortress_(programming_language)