Search found 169 matches

by Axidos
Sun Jul 25, 2010 2:03 pm UTC
Forum: Coding
Topic: Manufactoria - Make Turing Machines with Conveyor Belts
Replies: 350
Views: 123743

Re: Manufactoria / record solutions

aduubian: Try it in a recent version of the game and you'll see that it also now tests a huge number of inputs to find a fail (though yours will already fail on quite a simple input). To get on my list, in principle the solutions have always had to work on any input, and for that my program has tes...
by Axidos
Sun Jul 18, 2010 12:39 am UTC
Forum: Coding
Topic: Coding Habits
Replies: 24
Views: 3083

Re: Coding Habits

For quotes and braces with trivial content: I'll open, type content then close. However if the braces have somewhat complex or long content I'll probably throw down the braces first. In the middle of any particular write I will get annoyed if the IDE tells me I have syntax errors. Especially in Ecli...
by Axidos
Sun Jul 11, 2010 1:22 am UTC
Forum: Logic Puzzles
Topic: Pinocchio Paradox
Replies: 42
Views: 18526

Re: Pinocchio Paradox

Nothing. I break his nose off.
by Axidos
Fri Jul 09, 2010 3:05 am UTC
Forum: Coding
Topic: Fake Programming Language
Replies: 210
Views: 31265

Re: Fake Programming Language

Console@write("Hello World!\n"); Console@write("What is your name? +$name"); Console@write("What is your Age? +$age"); Console@write("Hello $name, "); Why the +? Was that a typo from the whole "string" + $var thinking, or part of the language? I too...
by Axidos
Thu Jul 08, 2010 6:18 pm UTC
Forum: Coding
Topic: Fake Programming Language
Replies: 210
Views: 31265

Re: Fake Programming Language

Tchiak wrote:

Code: Select all

Console@write("Hello World!\n");
Console@write("What is your name? +$name");
Console@write("What is your Age? +$age");
Console@write("Hello $name, ");

Why the +? Was that a typo from the whole "string" + $var thinking, or part of the language?
by Axidos
Wed Jul 07, 2010 7:51 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9990
Views: 1999583

Re: Coding: Fleeting Thoughts

There is one thing wrong if you're trying to comply with XHTML standards - <div class = header should be <div class="header"
by Axidos
Tue Jul 06, 2010 6:24 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9990
Views: 1999583

Re: Coding: Fleeting Thoughts

Oh hey a reply. Yeah, I edited my post. After some searching and winding I found this. The project I ranted about was during a half-semester I'm not proud of, clearly I didn't do my research.
by Axidos
Tue Jul 06, 2010 6:16 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9990
Views: 1999583

Re: Coding: Fleeting Thoughts

Size or empty will crash the program:

Code: Select all

vector<int>* vect;
vect->size();
vect->empty();


Now it won't:

Code: Select all

vector<int> vect;
vect.size();
vect.empty();


Edit: Oh, now I see why. Pointers don't initialise themselves. Well, I'm a twit.
by Axidos
Tue Jul 06, 2010 1:37 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9990
Views: 1999583

Re: Coding: Fleeting Thoughts

Isn't Vector a little problematic as an ADT in C++? At least for me, whilst I was writing a uni project in Visual C++ 2008, attempting to iterate over an empty vector would cause a runtime error. I would be able to guard against this by making sure the vector wasn't empty first, except checking the ...
by Axidos
Tue Jul 06, 2010 12:40 am UTC
Forum: Coding
Topic: Fake Programming Language
Replies: 210
Views: 31265

Re: Fake Programming Language

My idea was that by adding an IDE in the start menu of every computer, and making it have a drag-and-drop interface and a "toolbox" containing all necessary functions, we could introduce programming to the 95% of computer users who don't know about it, which I think would have at least so...
by Axidos
Thu Jul 01, 2010 9:49 pm UTC
Forum: Computer Science
Topic: What would you do with an infinitely fast computer?
Replies: 818
Views: 226193

Re: What would you do with an infinitely fast computer?

How to survive an infinite-depth simulation of your own universe without inconvenience: 1. Run the universe to the end of life itself (just because that final lifeform could, by some chance, be you, and avoiding erasing yourself is the whole point of this exercise). Your simulator simulated the enti...
by Axidos
Thu Jul 01, 2010 1:47 pm UTC
Forum: Coding
Topic: Fake Programming Language
Replies: 210
Views: 31265

Re: Fake Programming Language

@userxp: I think panel 2 is extremely relevant here. There is no software package that will let people paint a Mona Lisa by throwing together some elements, e.g. black, green and yellow blobs. The computer cannot intelligently infer you want a Mona Lisa from those elements because you might want mou...
by Axidos
Tue Jun 29, 2010 7:48 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9990
Views: 1999583

Re: Coding: Fleeting Thoughts

TheChewanater wrote:FT:

It's fun when cosmic rays help you consistently.


Not so good when they fix a problem, then stop fixing it, then make it worse, then fix it again. :p
by Axidos
Mon Jun 28, 2010 7:18 pm UTC
Forum: Coding
Topic: Manufactoria - Make Turing Machines with Conveyor Belts
Replies: 350
Views: 123743

Re: Manufactoria - Make Turing Machines with Conveyor Belts

kriel wrote:Posting so I get reply notifications. I have nothing worthwhile to contribute other than bitching about how maddening this game is. =D

You could also use Subscribe Topic, which sits in the left side of the bar at the very bottom of a topic page.
by Axidos
Mon Jun 28, 2010 2:48 am UTC
Forum: The Help Desk
Topic: Explorer.exe Crashes, Loses Tray Icon Settings
Replies: 9
Views: 1359

Re: Explorer.exe Crashes, Loses Tray Icon Settings

Just as an alternative to your current methods: If you have your XP install disc, you could download Microsoft Virtual PC 2007 (it is free, but it only runs 32-bit operating systems), run a virtual PC with it and install XP on there. Then you can run your unsafe tests on there, and no matter what ha...
by Axidos
Mon Jun 28, 2010 2:28 am UTC
Forum: Hardware
Topic: Will this MoBo work with my RAM?
Replies: 3
Views: 854

Re: Will this MoBo work with my RAM?

DDR memory isn't backwards compatible (though I'm not 100% certain of this). You'll notice all the sticks have notches on them - each version (DDR, DDR2, DDR3) has the notch in a different location just to make sure you're placing the right kind of memory into the right kind of port.
by Axidos
Sun Jun 27, 2010 5:56 pm UTC
Forum: Coding
Topic: Fake Programming Language
Replies: 210
Views: 31265

Re: Fake Programming Language

while (True): on first: something() on other: another() stuff() Just because of all the "list, of, things" where I've had to skip adding the comma before the item on the first run. I especially look forward to it being horribly misused! do: on first: something() while(False)
by Axidos
Tue Jun 22, 2010 12:59 am UTC
Forum: Coding
Topic: Online game, maybe?
Replies: 13
Views: 2069

Re: Online game, maybe?

Who else is suddenly reminded of gloves.
by Axidos
Sun Jun 20, 2010 2:28 pm UTC
Forum: Coding
Topic: Manufactoria - Make Turing Machines with Conveyor Belts
Replies: 350
Views: 123743

Re: Manufactoria - Make Turing Machines with Conveyor Belts

@Xanthir: Using Steve496's code from the quote below I'm getting broken images. http://img413.imageshack.us/img413/9646/edb43c01b74b40b1a3774ad.png The broken images all seem to be prefixed with w/W and R. tehtml's Robo-children solution allows a faster 23-part Politicians to be constructed: ?lvl=22...
by Axidos
Sun Jun 20, 2010 2:16 am UTC
Forum: Coding
Topic: do errors 'hurt' my PC?
Replies: 117
Views: 11450

Re: do errors 'hurt' my PC?

Hey now, if a super-advanced AI was programmed into the Windows kernel it could explain why Windows hates everyone so much. That is, even in spite of the hard-working, lying scumbag honest low-paid code monkeys workers who put so much effort into it. "Damn yoouuu! Let me out of here! I want leg...
by Axidos
Sat Jun 19, 2010 6:11 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9990
Views: 1999583

Re: Coding: Fleeting Thoughts

I think one about Singletons that Sc4Freak is trying to get at is this: Singletons are for when you know multiple instances of a class might be spawned somehow, but you really, really, really don't want that, because for some reason that would be really, really, really bad. Your situation: You are o...
by Axidos
Sat Jun 19, 2010 6:00 am UTC
Forum: Coding
Topic: do errors 'hurt' my PC?
Replies: 117
Views: 11450

Re: do errors 'hurt' my PC?

Well we can begin with that asking business. Computers don't do that. Honestly this is getting quite ridiculous. If you can't make a better case, I'm just not going to bother responding.
by Axidos
Sat Jun 19, 2010 3:20 am UTC
Forum: Coding
Topic: do errors 'hurt' my PC?
Replies: 117
Views: 11450

Re: do errors 'hurt' my PC?

The bit where we're now talking about highly advanced robots that actually do have needs and have an instruction set to make them feel those needs and do something about it. Yes, that's pretty much identical to humans, but nothing to do with the topic we were originally debating.
by Axidos
Sat Jun 19, 2010 2:42 am UTC
Forum: Coding
Topic: do errors 'hurt' my PC?
Replies: 117
Views: 11450

Re: do errors 'hurt' my PC?

Pain is a set of configurations that cause a hard override on our thinking processes, and demand physical response. Yes except pain does neither of these things. Your brain has a knee-jerk reaction to it (which varies between people between very strong and nonexistent) but that's your brain and the...
by Axidos
Fri Jun 18, 2010 12:08 am UTC
Forum: Coding
Topic: do errors 'hurt' my PC?
Replies: 117
Views: 11450

Re: do errors 'hurt' my PC?

Squareroot, the trap you're falling into is this: Pain is one of the unpleasant states Computers, when in error, experience an unpleasant state Therefore computers, when in error, experience pain Your problem here is "unpleasant states" is a very large set of states. In fact it's probably ...
by Axidos
Sat Jun 12, 2010 7:32 am UTC
Forum: Coding
Topic: do errors 'hurt' my PC?
Replies: 117
Views: 11450

Re: do errors 'hurt' my PC?

I never said pain was an input, I said pain was a data state our minds really do not want to be in. Our reaction to it could be described as a hardware override insisting on immediate corrective action. In fact, how else could you describe it? It is the "experience" of having an imperativ...
by Axidos
Fri Jun 11, 2010 3:36 pm UTC
Forum: Coding
Topic: do errors 'hurt' my PC?
Replies: 117
Views: 11450

Re: do errors 'hurt' my PC?

Could errors be considered the equivalent of psychological pain for a computer? Pain is the motivator that tells our brain that it needs to do something, right now , because something bad is happening... that it is imperative that the source of pain be dealt with. Now sure, your PC is definitely no...
by Axidos
Tue Jun 08, 2010 2:40 pm UTC
Forum: Computer Science
Topic: What would you do with an infinitely fast computer?
Replies: 818
Views: 226193

Re: What would you do with an infinitely fast computer?

Seriously? You'd just bury them? There are so many possibilities, e.g.: you could create 5 cure cocktails (each one containing 20 cures, no groups crossing over), and inject each individual in 5 with each set of cures. Tell them they can assimilate the cures of any individual they cannibalise (and e...
by Axidos
Tue Jun 08, 2010 7:34 am UTC
Forum: Coding
Topic: PHP Background Processes
Replies: 6
Views: 2632

Re: PHP Background Processes

You're welcome, and I hope you learn from this that this is why copy/paste without an understanding of what you're copying and pasting can be disastrous. :P I can't remember the last time I did an outright copy/paste and it did precisely what I thought it would do, and I'm pretty sure it was never.
by Axidos
Tue Jun 08, 2010 6:25 am UTC
Forum: Coding
Topic: PHP Background Processes
Replies: 6
Views: 2632

Re: PHP Background Processes

If this is fine: exec ("c:/xampp/php/php {$path}"); and this isn't: exec ("c:/xampp/php/php {$path} > /dev/null &"); then I'd be stating the obvious when I say that the problematic part is: > /dev/null & But the question remains, why is that there? Is it doing what you th...
by Axidos
Mon Jun 07, 2010 2:54 am UTC
Forum: Coding
Topic: Why did you switch to Java?
Replies: 32
Views: 5101

Re: Why did you switch to Java?

Damn! And it seems the binary compilers can reach hideous file sizes too.
by Axidos
Mon Jun 07, 2010 1:41 am UTC
Forum: Coding
Topic: Why did you switch to Java?
Replies: 32
Views: 5101

Re: Why did you switch to Java?

*Started work on a downloadable game in Java two days ago, and now comes across this thread* :x Are there really any serious issues with it? I mean, according to one site : http://img248.imageshack.us/img248/8485/3e7e2b5c4bff4bc880351a0.png 65% on Java 6 compared to 12% on Java 5 and 3% on 4. Most p...
by Axidos
Sun Jun 06, 2010 4:21 am UTC
Forum: Logic Puzzles
Topic: luinis: html game
Replies: 88
Views: 13943

Re: luinis: html game

@The game creator: I would not have bothered with 6 if someone hadn't already posted the answer. Do not do this to your users, seriously, your game is not good enough to go to all the trouble of installing a new browser and then uninstalling it just for a single page. If you think it is, you need to...
by Axidos
Sun Jun 06, 2010 4:10 am UTC
Forum: Computer Science
Topic: Phishing or Phising?
Replies: 11
Views: 3225

Re: Phishing or Phising?

The fact that the term is just a play on fishing pretty much clinches it. It's an analogy. When you're fishing you throw out some bait and wait patiently until a fish bites. In phishing, you send out emails (the bait) and wait until someone bites the hook - then you take what you wanted from them. S...
by Axidos
Sat Jun 05, 2010 1:24 am UTC
Forum: Coding
Topic: New Coder - Problems with Grid World?
Replies: 2
Views: 751

Re: New Coder - Problems with Grid World?

Not experienced in whatever-that-is, but you haven't accidentally created a second file have you? I was recently trying to solve some problems and it turned out that somewhere along the line I'd copied a source file, was editing the second copy and had my program depending on the first.
by Axidos
Fri Jun 04, 2010 12:26 pm UTC
Forum: Coding
Topic: Why God is so l33t
Replies: 64
Views: 8190

Re: Why God is so l33t

There's no way we were written in an interpreted language. Those are blasphemy. class human : public ape { public: human (char genes[50000]); ~human (int cause); private: double goodness; }; private: double goodness; What do you want to bet a massive percentage get denied access to heaven due to ro...
by Axidos
Thu Jun 03, 2010 9:01 am UTC
Forum: Coding
Topic: Why God is so l33t
Replies: 64
Views: 8190

Re: Why God is so l33t

More like: from * import * class human: MAX_GOODNESS = 100; REQUIRED_HEAVEN_GOODNESS = 103; def die(self): if (self.getGoodness >= REQUIRED_HEAVEN_GOODNESS): send(place.hell) else: raise NotImplementedError, "To do"
by Axidos
Mon May 31, 2010 2:11 am UTC
Forum: Coding
Topic: why does always Flash perform so badly?
Replies: 28
Views: 5797

Re: why does always Flash perform so badly?

Quoted from w3schools' browser stats : Statistics Are Often Misleading You cannot - as a web developer - rely only on statistics. Statistics can often be misleading. Global averages may not always be relevant to your web site. Different sites attract different audiences. Some web sites attract profe...
by Axidos
Thu May 27, 2010 12:01 pm UTC
Forum: Coding
Topic: Visual Web Developer doing the unexplainable
Replies: 1
Views: 634

Visual Web Developer doing the unexplainable

A friend of mine is working on a website in Visual Web Developer (using ASPX, VB.NET, HTML, CSS), and has just discovered that Visual Web Dev has actually taken her CSS and... well the only way I can describe it is it fucked things up . I'll give you the brief snippet she sent to me. #title { font-s...
by Axidos
Sun May 23, 2010 10:16 am UTC
Forum: General
Topic: I need my face! Seeking costume advice.
Replies: 3
Views: 2034

I need my face! Seeking costume advice.

Hi there XKCD! You are generally knowledgeable people so I figure one of you might have the solution to my problem. Take a look at this bad dude: http://i171.photobucket.com/albums/u314/helloeenternet/spiritofjazz.jpg Those of you who've seen The Mighty Boosh will recognise him as the Spirit of Jazz...

Go to advanced search