Are you sure you need a compare and a shift?pcmattman wrote:Code: Select all
if( nIndex > 2 && nIndex << 8 ) { // good index printf( "Safe index to use...\n" ); }

Are you sure you need a compare and a shift?pcmattman wrote:Code: Select all
if( nIndex > 2 && nIndex << 8 ) { // good index printf( "Safe index to use...\n" ); }
I like the style of the graphics.I have changed Style 2 to Style 1 via the template (including removing the header). If I create any more bearable templates for code I will make a post here before moving it into the main namespace.
While we're on the subject of style could I get some critiques on these SVGs I quickly made for the wiki? (Rendered as PNGs)
http://s138.photobucket.com/albums/q264 ... orn/osdev/
Well, actually, I earlier just moved all the "C PlusPlus" named pages on wiki to their renamed C++ counterparts.Combuster wrote:2) Wikipedia uses a custom version of mediawiki. Symbols in names are not allowed by the version we have.
What about section headers then? I can't find any other naming convention recommendations for them.Combuster wrote:1) The naming convention is for article titles, not section headers.
Some articles doesn't capitalize everything, e.g. Processes and Threads, Detecting Colour and Monochrome Monitors, [wiki]What order should I make things in?[/wiki] (← another plugin bug?) and Memory management. But, WP:ALBUMSCAPS (e.g. "Processes and Threads") looks better then everything-in-the-title-should-be-capitalized (e.g. "Processes And Threads") imho.Combuster wrote:[...], but actual articles should follow the rule.
Mainly that <code> isn't used in the articles, at all.Combuster wrote:3) It works as expected here - what is the exact problem?
Code: Select all
// set the colour
glColor(r, g, b);
Code: Select all
// ==UserScript==
// @name UnBrit
// @namespace http://nedbrek.com/unbrit.js
// @description Remove annoying British stuff
// @include http://wiki.osdev.org/*
// ==/UserScript==
var content = document.getElementById("content");
content.innerHTML = content.innerHTML.replace(/colour/g, "color");
content.innerHTML = content.innerHTML.replace(/Colour/g, "Color");
Why should the Wiki be adapted for Americans? that makes very little sense.. it's not our fault you can't spell COLOUR properly.nedbrek wrote:I have to really question the use of British English for programming topics. I was reading the CLI page, and the usage is inconsistent (although mostly British).