Search found 694 matches

by MHD
Fri Jun 07, 2013 5:43 pm UTC
Forum: Coding
Topic: How to create my own programming language?
Replies: 15
Views: 19900

Re: How to create my own programming language?

If you want, learning Assembler and implementing a FORTH is a great excercise. Usually clocks in at only about 1-2k instructions.
by MHD
Sat Mar 23, 2013 10:37 pm UTC
Forum: Science
Topic: Microphysics -> Macrophysics in a cellular automaton
Replies: 8
Views: 3609

Re: Microphysics -> Macrophysics in a cellular automaton

YO! There is no such thing as quantum weirdness. All myths about QM being strange arose back before people even had a clue to what was going on. Meditation: What is a measurement? ... ... ... An interaction. Yes, that is right. It is an interaction between quantum thingies. When you measure weirdly ...
by MHD
Sat Mar 23, 2013 10:19 pm UTC
Forum: Science
Topic: Best proofs of evolution
Replies: 392
Views: 45568

Re: Best proofs of evolution

Natural Selection is true because Stochastic Hereditary Selection Processes works and Natural Selection is one. Ask any engineer who has ever worked with evolutionary algorithms. "Evolution" is a misnomer, the original theory is called Biodiversity by Natural Selection. It supposes that r...
by MHD
Tue Dec 18, 2012 11:38 pm UTC
Forum: Science
Topic: Understanding wavicles with Wheeler double-slits
Replies: 40
Views: 6305

Re: Understanding wavicles with Wheeler double-slits

Quatum field entities are empathically neither particles nor waves. They behave like quantum field objects and have their own equations. True, they exhibit some behaviour in common with particles and waves (interference, inertia). Quamtum field objects are properly predicted using Quantum Electro Dy...
by MHD
Tue Dec 18, 2012 11:18 pm UTC
Forum: Science
Topic: Worst thing you've seen in a lab
Replies: 256
Views: 223796

Re: Worst thing you've seen in a lab

I once accidentally wired the Vcc and the Vdd to the opposite of what they are supposed to be on a 16 pin inverting buffer (CMOS). It blew up. Almost in my face.

Always read the manual.
by MHD
Tue Dec 18, 2012 10:25 pm UTC
Forum: Computer Science
Topic: Why do our robots suck?
Replies: 157
Views: 89690

Re: Why do our robots suck?

Our robots suck because nobody understands what it means to think. We all do it, but no-one can write down the formulae.
by MHD
Tue Dec 18, 2012 10:23 pm UTC
Forum: Computer Science
Topic: Ambiguous cases and Asimov's Three Laws of Robotics
Replies: 50
Views: 38429

Re: Ambiguous cases and Asimov's Three Laws of Robotics

This is the kind of stuff I come up with when my mind wanders: First, Asimov's First Law of Robotics states that a robot may not injure a human being or, through inaction, allow a human being to come to harm. Now, let's say a robot with some kind of projectile weapon operating under the 3 laws sees...
by MHD
Tue Dec 18, 2012 10:05 pm UTC
Forum: Computer Science
Topic: How do I compute this number sequence?
Replies: 10
Views: 6889

Re: How do I compute this number sequence?

Study the ring axioms: Replace subtraction by addition of negatives, convert to RPN to get rid of parenthesii, and that makes it pretty easy: given N numbers, you need N-1 binary operations to yield a single number. Now, the tricky bit is that you at all times need to check the top of the stack if y...
by MHD
Tue Dec 18, 2012 9:51 pm UTC
Forum: Computer Science
Topic: Confusion about reversible/quantum computers
Replies: 8
Views: 8588

Re: Confusion about reversible/quantum computers

You are only examining an edge case of computation: Multiple input, single output gates. If you have a gate that implements a function from ordered triples of bits to ordered triples of bits, you can have the Troffoli(?) gate: Given inputs A, B, C and outputs A', B', C': C' = C, If C then B' = A and...
by MHD
Fri Nov 23, 2012 10:32 pm UTC
Forum: Mathematics
Topic: Happy Numbers
Replies: 4
Views: 2014

Re: Don't they teach recreational math anymore?

This is fairly interesting.
by MHD
Fri Nov 23, 2012 10:27 pm UTC
Forum: Mathematics
Topic: problem on coordinate conversion
Replies: 3
Views: 831

Re: problem on coordinate conversion

Is this homework?

Look into the Lorenz group.
by MHD
Fri Nov 23, 2012 10:26 pm UTC
Forum: Mathematics
Topic: Are conversations considered markov chains?
Replies: 9
Views: 3148

Re: Are conversations considered markov chains?

a) Markow chains are in themselves small categories. (Composition is multiplication, arrows are real numbered probabilities [0, 1]) b 1 ) Almost anything imaginable forms a category. b 2 ) A conversation is imaginable. b QED ) A conversation is a category. c 1 ) Categories can map from one to anothe...
by MHD
Fri Sep 07, 2012 12:48 pm UTC
Forum: Coding
Topic: What Fun and Useful Programming Language Should I Learn?
Replies: 39
Views: 12223

Re: What Fun and Useful Programming Language Should I Learn?

Many of these have already been mentioned. LISPs: Compile time code generation like no other. Common Lisp - Maximalist standard library. Productivity wise some of the best you can get. Been around forever, very battle tested. Clojure - JVM based. Scheme - Minimalist, good for scripting. ML family: P...
by MHD
Thu Mar 29, 2012 7:17 pm UTC
Forum: Computer Science
Topic: Computer forensics question - Microsoft Word - School Threat
Replies: 8
Views: 4660

Re: Computer forensics question - Microsoft Word - School Th

Investigate how the server logs access and file writes? I am somewhat certain any server with a bit of self respect logs FTP activity. Then investigate what IP submask wrote it or somesuch. I am no expert but that is where I would look.
by MHD
Thu Feb 23, 2012 5:05 pm UTC
Forum: Coding
Topic: APIs that deserve more publicity
Replies: 15
Views: 4593

Re: APIs that deserve more publicity

The llvm is pretty great for building functions at runtime.

I wonder if there is any implementation of proper Tompson NFA Regular Expression out there? If so, put that on the list.
by MHD
Thu Feb 09, 2012 4:50 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9743
Views: 1554911

Re: Coding: Fleeting Thoughts

It's been mentioned several times on these forums. It does miss some of the bad things of C++, but I think in exchange it's also missing some of the good things. It also doesn't seem to add anything spectacular you couldn't have in C++ some way or another. So until somebody can point out such a thi...
by MHD
Thu Feb 09, 2012 4:33 pm UTC
Forum: Computer Science
Topic: Generating a strange sequence
Replies: 4
Views: 2067

Re: Generating a strange sequence

This is pretty close to a combination of the coutnability of the Interegers and the countability of the rationals. To refer to a set as "countable" is to say that all the elements can be assigned a unique natural number sequentially. (In technical terms a bijection exists between the set a...
by MHD
Thu Feb 02, 2012 5:18 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9743
Views: 1554911

Re: Coding: Fleeting Thoughts

Has anyone looked at D?
It's like C++, but without all the bad things.
by MHD
Thu Feb 02, 2012 4:59 pm UTC
Forum: Computer Science
Topic: Boolean formulae satisfiable
Replies: 10
Views: 2983

Re: Boolean formulae satisfiable

Given that you only have seven variables, you can just enumerate all 128 possible variable configurations.
by MHD
Thu Feb 02, 2012 3:19 pm UTC
Forum: Science
Topic: Common Misconceptions within Physics and Astronomy
Replies: 98
Views: 15270

Re: Common Misconceptions within Physics and Astronomy

I think that before we venture intro the unknown territory of discussing Quantum Mechanics, how about we actually, actively eliminate misconceptions?

http://lesswrong.com/lw/r5/the_quantum_ ... _sequence/
by MHD
Thu Feb 02, 2012 12:56 pm UTC
Forum: Science
Topic: What would you do with infinite energy?
Replies: 41
Views: 7082

Re: What would you do with infinite energy?

If we are discussing having a magical heat source, I would like to have a magical cold source too.
Say, one block of 10K and one of 1000K. And of course some kind of dial to regulate the energy flux.

Then we could make some serious Carnot Cycles.
by MHD
Sun Dec 18, 2011 1:01 pm UTC
Forum: Coding
Topic: Odd design decisions?
Replies: 55
Views: 7300

Re: Odd design decisions?

As far as I know, Haskell is the only other language that has as full-fledged generic programming as C++. And concepts are explicit in Haskell, except that they're called typeclasses . If I remember correctly, you don't need to state explicitly that a type implements a typeclass, but you can do it ...
by MHD
Mon Dec 05, 2011 9:15 am UTC
Forum: Fictional Science
Topic: Intelligence evolving from other parts of the animal kingdom
Replies: 41
Views: 11020

Intelligence evolving from other parts of the animal kingdom

Couldn't even fit a period in that title, huh. So a few days ago I had this pretty rad idea; screw primates, marsupials are the new overlords. (not in those exact words) Then I began thinking: Kangaroos are pretty much apex herbivores, relatively few natural predators, especially the large ones. Th...
by MHD
Mon Dec 05, 2011 8:51 am UTC
Forum: Science
Topic: I want to model the Universe. ALL OF IT
Replies: 20
Views: 3722

Re: I want to model the Universe. ALL OF IT

What you do is you start off by making the theory of everything and prove that the universe is turing computable...

If it isn't you're out of luck.

If it is; you need to approach this problem from the opposite end of the size scale.

Simulate quantum mechanics. ALL OF IT.
by MHD
Fri Dec 02, 2011 11:25 pm UTC
Forum: Science
Topic: photon size
Replies: 61
Views: 10545

Re: photon size

At the very least nothing is smaller than the Planck length, approx. 10-35 m.
by MHD
Fri Dec 02, 2011 10:57 pm UTC
Forum: Science
Topic: Bad science jokes!
Replies: 100
Views: 27993

Re: Bad science jokes!

Shcrödinger and Heisenberg are driving cross country. Suddenly, a police car gives chase and as good citizens they pull over. The officer goes up to the diver, Heisenberg and asks: "Do you know how fast you were going?" To which Heisenberg responds: "No, but I know exactly where I was...
by MHD
Thu Nov 24, 2011 11:56 pm UTC
Forum: Mathematics
Topic: "Surreal numbers" or "when 0.999... ≠ 1 etc."
Replies: 13
Views: 5083

Re: "Surreal numbers" or "when 0.999... ≠ 1 etc."

Let F(X) = M X where M is Natural Let A be a Natural Is it always true that the sum of A / F(X) for all Natural X does not diverge? Is it always a Rational result? If that is true then it is trivial to prove that 0.9999.... = 1 as it is really just the above with M = 10 and A = 9 EDIT: From what I ...
by MHD
Thu Nov 24, 2011 4:05 am UTC
Forum: Mathematics
Topic: "Surreal numbers" or "when 0.999... ≠ 1 etc."
Replies: 13
Views: 5083

Re: "Surreal numbers" or "when 0.999... ≠ 1 etc."

Let F(X) = M X where M is Natural Let A be a Natural Is it always true that the sum of A / F(X) for all Natural X does not diverge? Is it always a Rational result? If that is true then it is trivial to prove that 0.9999.... = 1 as it is really just the above with M = 10 and A = 9 EDIT: From what I c...
by MHD
Sun Nov 20, 2011 6:12 pm UTC
Forum: Mathematics
Topic: How many digits of Pi do you know?
Replies: 445
Views: 92309

Re: How many digits of Pi do you know?

Image
That's me on the right...
by MHD
Sun Nov 20, 2011 2:05 pm UTC
Forum: Computer Science
Topic: What modern programming languages lack or doesn't need.
Replies: 30
Views: 5652

Re: What modern programming languages lack or doesn't need.

That needs an arrow, like ->. Then, add in named parameters (rt2 = ret2) = func(param2 = p2, param1 = p1), and maybe a distinguished token to indicate "argument binding" like := // Prototype: def func( param1, param2 ) -> (ret1, ret2, ret3, ret4, ret5) // Use, ignoring ret3 and ret4: (rt2...
by MHD
Fri Nov 18, 2011 10:52 am UTC
Forum: Computer Science
Topic: 10/GUI with webcams?
Replies: 8
Views: 3429

Re: 10/GUI with webcams?

I know this is an old post, and I'm not a developer of any kind (I have a hard enough time with bash) but is this actually an interface anyone could imagine using? I really don't get the problem it's trying to solve. I know the thread is more about the technology, and that side is intriguing, but t...
by MHD
Fri Nov 18, 2011 10:39 am UTC
Forum: Computer Science
Topic: What modern programming languages lack or doesn't need.
Replies: 30
Views: 5652

Re: What modern programming languages lack or doesn't need.

What I mean with return variables is not the same as return parameters. Parameters are passed to a function. Return variables are literally the returned value. def func(param1, param2) (ret1, ret2) ret1 = param1 x param2 ret2 = param2 x param1 end (r1, r2) = func(p1, p2) Multiple returns, tuples opt...
by MHD
Thu Nov 10, 2011 11:18 pm UTC
Forum: Computer Science
Topic: What modern programming languages lack or doesn't need.
Replies: 30
Views: 5652

Re: What modern programming languages lack or doesn't need.

There is this project "Valix" that aims to make a safe OS that is essentially a giant VM. The language is prototype-OO similar to Self and Smalltalk. Anyway: Return variables are another thing that makes me shiver with excitement. def func(int input) (int output) if input < 0 output = -inp...
by MHD
Thu Nov 10, 2011 11:08 pm UTC
Forum: Mathematics
Topic: What do you think the most underrated area of math is?
Replies: 13
Views: 3232

Re: What do you think the most underrated area of math is?

Some contenders: - The Umbral Calculus - Tauberian Theorems - Arakelov Theory - Fewnomial Theory - Functional Equations - Tropical Geometry - Sieve Theory - Sturmian Words - Dessins d'enfants - Bubbles All of these are insanely cool. I especially like Functional Equations, they might revolutionize ...
by MHD
Tue Nov 08, 2011 10:46 pm UTC
Forum: Fictional Science
Topic: What is the mass of a feather?
Replies: 229
Views: 305259

Re: What is the mass of a feather?

1. measure length of feather
2. fix end of feather to a perfectly smooth rotation joint
3. apply known force for a known period of time to the other end of the feather
4. measure angular velocity
5. solve the regular rotational movement equations for mass
by MHD
Tue Nov 08, 2011 10:33 pm UTC
Forum: Fictional Science
Topic: Favourite faster than light technology
Replies: 92
Views: 17218

Re: Favourite faster than light technology

Commonly with Sci-Fi you have to go "FTL, Causality, Relativity; choose two."

I like axing causality in my settings.
by MHD
Tue Nov 08, 2011 10:21 pm UTC
Forum: Computer Science
Topic: What modern programming languages lack or doesn't need.
Replies: 30
Views: 5652

Re: What modern programming languages lack or doesn't need.

By that logic, any procedure call is unsafe. Just because I'm not looking at the source code for Foo::~Foo() at the moment doesn't make it "arbitrary code"; it's not going to magically change into something other than what I wrote. No, that is all fine and dandy if you wrote it. What if y...
by MHD
Tue Nov 08, 2011 4:27 pm UTC
Forum: Fictional Science
Topic: Parallel Universes
Replies: 29
Views: 10012

Re: Parallel Universes

Well, it gets trippy for me when the "splitting" propagates at c through space...
by MHD
Tue Nov 08, 2011 4:19 pm UTC
Forum: Fictional Science
Topic: Destructive power of starships
Replies: 60
Views: 15464

Re: Destructive power of starships

OTTO: FTL drives then...

Did you read up on why they case TIME PARADOXES?

I'd say that is a bit more dangerous...

Go to advanced search