Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!


Member Since 04 Feb 2008
Offline Last Active Yesterday, 10:41 PM

Topics I've Started

Editor is not wrapping like it should

24 April 2015 - 12:45 PM


I'm not sure what happened, but the simple editor is no longer wrapping long lines. I eventually had to write a user style:

@namespace url(http://www.w3.org/1999/xhtml);

textarea, pre {
    white-space: pre-wrap !important;

Anybody else having issues?

Editor ate my PHP Code

24 April 2015 - 12:28 PM


It seems IPS does not want anything to do with any sort of PHP.
Here's the post in question: http://www.gamedev.net/topic/667797-confused-can-i-use-php-to-make-a-game/?view=findpost&p=5225258

Here's the code I tried to include: http://pastebin.com/X5WdZSGM

And here is a sample below:
header('Content-Type: text/plain');
print file_get_contents('php:'.'//input');
I'll try some things to coerce dumb forum software to post PHP.

Well, I've solved the mystery. IPS will banjo parts of your post if you make any mention of (standard PHP process handles). More specifically, IPS will censor any part of your post that contains this exact string, sans invisible whitespace: php:​//

Holy hell, it censors it outside of the code block as well! What is this madness!?

Is it pronounced "tomato" or is it pronounced "tomato"?

16 April 2015 - 08:47 PM

So, how about it? I figured programmers were also farmers who can also read and write, and with all these riveting either-or threads and polls, I figured I'd just ask the farmers on gamedev.


Windows PowerShell is the greatest ever

29 October 2014 - 03:45 PM

Windows PowerShell is the greatest language ever. It's like Windows batch, except it's not!! It's like .NET and linux bash had a baby, and stuck it within all the greatest operating system ever made, Windows Vista and every version that came after it, including Windows ME and Microsoft SAM.

The language that has a greek-sounding name can't even compete, because it's a language mainly aimed for stone aged GUI software and business related software. How boring! In PowerShell, all you need to do is open the run dialog and enter "powershell", and you'll have access to all of .NET's library at your fingertips! Can that foreign-sounding language do the equivalent? Nope! You have to load a crufty development environment, that takes FOREVER to load, and it costs money, too. I'm also broke and have got things to do, and software and games to write very fastly so I can get EVEN MORE money!!

Sure, PowerShell's not as fast as compiled .NET or as delicious as gyros, and the syntax can be a little strange sometimes, but at least you can take command and batch files like nobody's business! If you really needed the optymizations, you could use .NET compiler directly, and feed C#, VB.NET, or even LISP into .NET's own compiler class! Wow, what a bargain -- it's like 3 languages in one! Not only that, PowerShell also features a DEBUGGER (free of propaganda) to help you help me help you find your bugs faster!

With all of these capabilities combined, you can write ANYTHING YOU PUT YOUR MIND TO.
Also, how long will it take a handful of people to write "World of Worldcraft" in PowerShell? I have GDI+ and a wooden spoon.


The Calling Conventions of gamdev.net Members

03 October 2014 - 05:14 PM

Name a calling convention after yourself or a fellow gamedev member!

Your calling convention must:
  • Begin with double underscore
  • Contain "call"
  • Describe a behavior of yourself or another member of the forum (past or present)
  • Not aim to offend
The list so far:
// Author: L. Spiro
// Performs most fastest call ever, forcibly implementing perfectly optimized 
// quantum computing even on machines incapable of such a thing.

// Author: L. Spiro
// Usually effective, sometimes tentacle-rapes young girls.

// Author: yoshi_lol
// Supports 22 registers

// Author: fastcall22
// Disables any attached debugger and trashes the stack with propaganda about
// optymizations and debuggers, if a debugger was detected

// Author: fastcall22
// Poisons every function with __fastcall, because it has the word
// 'fast' in it, so that must make the program run EVEN faster-er

// Author: L. Spiro
// Asks for advice before every call, ignores advice and calls the wrong function.