Search found 355 matches

by Notch
Wed Feb 16, 2011 6:33 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0861: "Wisdom Teeth"
Replies: 116
Views: 28331

Re: 0861: "Wisdom Teeth"

Randall has just made this user very happy. Also, the million+ purchases of the game must have too, I guess. And it's not even out of beta yet. I hope Notch comes back to the forums, but I think he's busy being all successful and stuff. I read them all the time! I just ran out of time to post, so I...
by Notch
Wed Sep 08, 2010 1:18 pm UTC
Forum: Computer Science
Topic: Unary Processor
Replies: 37
Views: 6855

Re: Unary Processor

It's possible to store arbitrary data in an integer without knowing the value of the integer. The simplest example would be to treat the integer as a queue of 1 bit values: // Returns input%2 and sets input to input/2 public Pile nextBit(Pile input) { Pile output; Pile copy; // Put every other bit i...
by Notch
Sat Sep 04, 2010 1:01 am UTC
Forum: Computer Science
Topic: Unary Processor
Replies: 37
Views: 6855

Re: Unary Processor

Yes. Or Game of Life, or Minesweeper.
by Notch
Thu Sep 02, 2010 6:16 pm UTC
Forum: Computer Science
Topic: Unary Processor
Replies: 37
Views: 6855

Re: Unary Processor

how do you differentiate between III + IIII and IIIIII + III. How do you let the system know "Hey, we are doing this." Even just counting implies that there is some sort of identifier that signals that no more things exists (the non presence of something is datam). [edit] Removed stupid a...
by Notch
Thu Sep 02, 2010 6:06 pm UTC
Forum: Computer Science
Topic: Unary Processor
Replies: 37
Views: 6855

Re: Unary Processor

Argh, now I got stuck trying to implement Rule 110 (which is turing complete) in a unary computer that can only add and remove a single egg at a time from a pile, and the only test is whether the pile is empty or not.
by Notch
Thu Sep 02, 2010 3:29 pm UTC
Forum: Computer Science
Topic: Unary Processor
Replies: 37
Views: 6855

Re: Unary Processor

I'm sorry, but WHAT? You CAN'T have a unary computer that does anything. Ever every single symbol is the same, you end up with a system that has no way of telling what is going on. The moment you introduce any sort of method to distinguish one instruction from another, you have created a binary sys...
by Notch
Mon Aug 02, 2010 6:20 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0774: "Atheists"
Replies: 1042
Views: 188169

Re: "Atheists" discussion (#774)

Those of you making a distinction between "atheist" and "agnostic" do realize that they are not mutually exclusive, right? Theism/Atheism simply refer to theistic BELIEF, while Gnosticism/Agnosticism refer to whether or not you feel you have KNOWLEDGE of something. Theist simply...
by Notch
Sat Jul 17, 2010 8:17 am UTC
Forum: Coding
Topic: What is good code?
Replies: 38
Views: 7087

Re: What is good code?

Another important factor of good code is the terminology used. It should be carefully considered, so that names are immediately clear and understandable to anyone who understands the problem space. If you're making a Buffy the Vampire Slayer simulation that takes place in a forest, the Willow class ...
by Notch
Wed Jun 16, 2010 9:17 am UTC
Forum: Coding
Topic: Manufactoria - Make Turing Machines with Conveyor Belts
Replies: 350
Views: 126730

Re: Manufactoria - Make Turing Machines with Conveyor Belts

It fails the first test?
by Notch
Mon Jun 07, 2010 11:37 am UTC
Forum: Coding
Topic: Manufactoria - Make Turing Machines with Conveyor Belts
Replies: 350
Views: 126730

Re: Manufactoria - Make Turing Machines with Conveyor Belts

I implemented a Rule 110 interpreter in it, effectively proving it Turing complete for an unbounded tape.

Check it out!
by Notch
Wed May 26, 2010 10:57 am UTC
Forum: Gaming
Topic: Alan Wake
Replies: 9
Views: 2390

Re: Alan Wake

I'm seriously not trolling here - is this game really interactive and clever and skill-based, or is it mostly driven forward by scripting and context-sensitive actions where you just kind of watch stuff happen? It's all scripted, and there's virtually no puzzles in the game at all (you have to time...
by Notch
Wed May 12, 2010 9:16 am UTC
Forum: Mathematics
Topic: Benford's Law for the Layman?
Replies: 9
Views: 2908

Re: Benford's Law for the Layman?

Compare this with a flat distribution from 0 to 1,000,000, which doesn't follow Benford's law: [snip] In this list, 12 out of 100 of the numbers start with a 1. As the length of this list increases and the randomness averages out, it will approach 11.1%. As for why things often follow logarithmic d...
by Notch
Mon May 10, 2010 11:12 am UTC
Forum: Science
Topic: If two possibilites exist theoretically...
Replies: 7
Views: 1691

Re: If two possibilites exist theoretically...

My example, technically, is a possibility. Starting tommorow, for the rest of our lives, we could only flip a coin to land in the heads position. The chance, due to the number times the event happens daily, are miniscule at best, but exists. Assuming coin flipping is truly random, and the many worl...
by Notch
Thu May 06, 2010 4:48 pm UTC
Forum: Forum Games
Topic: Count to a Million
Replies: 96167
Views: 7739505

Re: Count to a Million

29161
by Notch
Thu May 06, 2010 9:41 am UTC
Forum: Logic Puzzles
Topic: Transmission
Replies: 6
Views: 2058

Re: Transmission

I thought the same.. I doubt it's coincidental!
by Notch
Wed May 05, 2010 12:34 pm UTC
Forum: Logic Puzzles
Topic: Transmission
Replies: 6
Views: 2058

Re: Transmission

Not a solution, but some initial deciphering: The length of the message is the product of two primes. Splitting the message up along the smaller factor and turning 1's into #'s and 0's into .'s produces this: #.#.##.##.### ..#.#..##.##. ............. ###.####.#... ###.###...#.. ........
by Notch
Wed May 05, 2010 8:30 am UTC
Forum: Gaming
Topic: Minecraft
Replies: 9442
Views: 1535940

Re: Minecraft

I love making menger sponges, but I've never actually finished a level 3 one, though.
I got pretty close once on a public server somewhere.

In awesomer news, only three more weeks until I work on it full time! :D
by Notch
Mon May 03, 2010 9:42 am UTC
Forum: Coding
Topic: HTML/Javascript/Greasemonkey question
Replies: 8
Views: 1678

Re: HTML/Javascript/Greasemonkey question

"max-width:800px", or similar, should work. (ie it works for me here, using firebug)
But that's not relative to the window size.
by Notch
Mon Apr 19, 2010 11:28 am UTC
Forum: Science
Topic: Could quantum computers generate random numbers?
Replies: 32
Views: 4576

Re: Could quantum computers generate random numbers?

Yes. All they do is generate randomness in more or less predicable and manipulable ways. You don't get 100% certain results from quantum computers. [edit: Well, that's not really an accurate description.. but it fits this topic. :D] There are other ways of getting random numbers, though, such as sam...
by Notch
Wed Apr 14, 2010 8:46 am UTC
Forum: Coding
Topic: Agile: Flash in the pan or Future of development
Replies: 15
Views: 2619

Re: Agile: Flash in the pan or Future of development

I don't use TDD myself (mostly due to me being the sole cowboy programmer in my project), but Berengal speaks the truth. There's a lot of nice synergies here. The main thing that makes sense to me about agile development is that it DOESN'T try to mimic traditional projects where the expensive parts ...
by Notch
Mon Apr 12, 2010 9:05 am UTC
Forum: Coding
Topic: coworker rants
Replies: 92
Views: 14606

Re: coworker rants

Yes, agile is the way to go, both in terms of project management and coding style! My worst coworker experience ever was a "java guru" (jguru.com), employed for his amazing java powers. He wasted weeks of our time setting up some architecture that would enable us to make deep copies of dat...
by Notch
Wed Mar 31, 2010 1:25 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0721: "Flatland"
Replies: 125
Views: 50841

Re: "Flatland" Discussion

Well, this comic just ruined my april fools joke.. Get out of my head, Randall!
(I was going to announce minecraft 4d)
by Notch
Wed Mar 24, 2010 4:31 pm UTC
Forum: Coding
Topic: 2D OpenGL Performance Help
Replies: 5
Views: 1452

Re: 2D OpenGL Performance Help

Display Lists can be a lifesaver for anything static. For example, for rendering text, you can set up one display list per character like this: for (char=a to z) glNewList(letterLists+char, GL_COMPILE) renderChar(char) glTranslatef(characterwidth, 0, 0) glEndList() then use glCallLists to render the...
by Notch
Wed Mar 24, 2010 4:25 pm UTC
Forum: Gaming
Topic: Minecraft
Replies: 9442
Views: 1535940

Re: Minecraft

There's an interview with me up on Gamasutra now! :D

That makes me happy. Very happy. :D
by Notch
Fri Mar 19, 2010 1:34 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0716: "Time Machine"
Replies: 112
Views: 24251

Re: "Time Machine" Discussion

sorceror wrote:I've thought about this way too much: http://ingles.homeunix.net/rants/timetravel.html


That's awesome. :D
by Notch
Mon Mar 15, 2010 10:30 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0714: "Porn For Women"
Replies: 298
Views: 67955

Re: Porn For Women

A statistic of approximately one in four women being raped in their lifetime might oppose that view. :| Fuck, really? Source? I feel ignorant and ashamed for humanity now. Well, I've researched it a fair bit, so I don't keep track of all the sources I see. I usually look at statistics for the UK an...
by Notch
Mon Mar 15, 2010 10:20 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0714: "Porn For Women"
Replies: 298
Views: 67955

Re: Porn For Women

Poppy Appletree wrote:A statistic of approximately one in four women being raped in their lifetime might oppose that view. :|


Fuck, really? Source?

I feel ignorant and ashamed for humanity now.
by Notch
Fri Mar 12, 2010 11:54 am UTC
Forum: Coding
Topic: Is Java that bad?
Replies: 114
Views: 19294

Re: Is Java that bad?

.. that runs for 99% of the people running the web, and brings in millions in revenue for a lot of people.
by Notch
Thu Mar 11, 2010 8:56 pm UTC
Forum: Coding
Topic: Is Java that bad?
Replies: 114
Views: 19294

Re: Is Java that bad?

Well, it's trivial to freeze up firefox with javascript or java as well.
For example, the jsMath thing on these forums regularly freeze my firefox when I open a thread that uses it. ;)
by Notch
Thu Mar 11, 2010 3:08 pm UTC
Forum: Coding
Topic: Multi-variable conditionals
Replies: 24
Views: 2214

Re: Multi-variable conditionals

urobythos wrote:

Code: Select all

x&&y?  case1:
!x&&y? case2:
x&&!y? case3: case4;


Pft, that's long.

x?y?case1:case2:y?case3:case4
by Notch
Thu Mar 11, 2010 3:04 pm UTC
Forum: Coding
Topic: Is Java that bad?
Replies: 114
Views: 19294

Re: Is Java that bad?

This is an example where C# is a better language than Java. You can code like you were using public members, while hiding the fact that you could actually be using getters and setters. Things are simpler and less verbose, while achieving the same benefits. That's the sign of a better language. Acti...
by Notch
Wed Mar 10, 2010 8:25 pm UTC
Forum: Coding
Topic: Multi-variable conditionals
Replies: 24
Views: 2214

Re: Multi-variable conditionals

That only works if the language guarantees that true==1 and false==0 and nothing else ever. And it's not really much clearer than what Berengal said.
by Notch
Wed Mar 10, 2010 11:36 am UTC
Forum: Coding
Topic: Multi-variable conditionals
Replies: 24
Views: 2214

Re: Multi-variable conditionals

Here's how you should not do it in java: (This is what Sc4Freak did, but encapsulated) I always use the if/else ladder in real life, or if it gets complicated, see if I can't make the code logically branch on the first test to make it clearer. public enum CompoundBoolean { Neither, First, Second, Bo...
by Notch
Tue Mar 09, 2010 3:27 pm UTC
Forum: Coding
Topic: Is Java that bad?
Replies: 114
Views: 19294

Re: Is Java that bad?

I'm not quite sure I follow. If there are things that make it less verbose, surely that would be a sign of the language "is better", not "could be better"?
I took it to imply you meant there is some fundamental flaw with java, but I'm sorry if I misunderstood.
by Notch
Tue Mar 09, 2010 8:13 am UTC
Forum: Coding
Topic: Is Java that bad?
Replies: 114
Views: 19294

Re: Is Java that bad?

I'll go out on a limb here and say "no, it isn't". Avoiding writing code has been around since macros in assembler, and probably earlier. It's not a sign that the language is bad. And since this thread is about bad things about java, here's something that's been bugging me for quite some t...
by Notch
Mon Mar 08, 2010 12:46 pm UTC
Forum: Coding
Topic: Is Java that bad?
Replies: 114
Views: 19294

Re: Is Java that bad?

Aaeriele wrote:Which seems to me like a fairly decent sign that the language itself could be better.


To me it's just another layer, like templates in C++ that help automate the task of writing repetitive C++ code.
by Notch
Mon Mar 08, 2010 8:48 am UTC
Forum: Coding
Topic: Is Java that bad?
Replies: 114
Views: 19294

Re: Is Java that bad?

I'd rather have list and map literals. Java only has number, string, character, boolean and array literals, of which the array is the only collection type. Let's face it, who uses arrays anyway? List and Map literals are coming in Java 7, which should be released about the same time as Half-Life 4....
by Notch
Wed Mar 03, 2010 1:40 pm UTC
Forum: Coding
Topic: Is Java that bad?
Replies: 114
Views: 19294

Re: Is Java that bad?

Congratulations, you have torn down one of the fundamentals of Java with a single statement. "Is Java that bad?", indeed... How do you think it should work? What would C++ do? To me, this is a pretty natural result of java working hard to avoid having anything with undefined behavior. The...
by Notch
Wed Mar 03, 2010 1:28 pm UTC
Forum: Computer Science
Topic: Rant: Java's Type System
Replies: 56
Views: 12225

Re: Rant: Java's Type System

I still strongly doubt this whole "money is always handled in ints" claim. Any proof on this? I don't see any reason whatsoever why money wouldn't be handled using something like BigDecimal (Java) Because BigDecimal works well in every way but one. Performance. Financial institutions are ...
by Notch
Mon Mar 01, 2010 5:17 pm UTC
Forum: Coding
Topic: Is Java that bad?
Replies: 114
Views: 19294

Re: Is Java that bad?

Finalizers are pure evil. public class Foo { protected void finalize() { // Oh, there are no more references to this object? FooCache.instance().add(this); // Now there is! And the object will no longer be deleted. // This method will never again be called by the garbage collector, // even if all re...

Go to advanced search