Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,535,371
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 05-04-24 11:40 PM
Guest: Register | Login

Main - Posts by Kernal

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70

Kernal
Posted on 03-14-07 02:23 AM, in So, themes Link | Quote | ID: 14891

Gone
Level: 88

Posts: 631/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
Uh...excuse my noobness, but what is/was "Test 1"?

Kernal
Posted on 03-14-07 02:36 AM, in Programming Poll #5: { } (rev. 3 of 03-14-07 02:37 AM) Link | Quote | ID: 14895

Gone
Level: 88

Posts: 633/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
A large number of programming languages, including C, C++, Java, and PHP, use the { and } symbols to enclose blocks of code. The questions that are part of Poll #5 are:

1. What do you call these symbols?

2. Where do you position them in relation to the rest of the code? For example:
void function1()
{
     doSomething();
}
vs.
void function2() {
     doSomethingElse();
}
etc.

3. If a block has only one statement in it, do you include them?

I refer to { and } as curly brackets. The word "braces" sounds really weird to me and makes me think of dental fixtures.

My preferred method of placing the curly brackets is as in the first example above (Allman style). I find it clearer and easier to read, and the lack of symmetry in the second choice (K&R style) drives me nuts.

I tend to be lazy and omit the curly brackets when there is only one statement, but when I do, I always out the one statement indented on the following line rather than just at the end of the same line. So I do:
if (os == WINDOWS)
     crash();
and not:
if (os == WINDOWS) crash();
or:
if (os == WINDOWS)
{
     crash();
}

Kernal
Posted on 03-14-07 02:39 AM, in So, themes Link | Quote | ID: 14896

Gone
Level: 88

Posts: 634/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
I think I kept the theme at the default "Daily Cycle" all the time, and I would forget that there even were multiple themes. So I haven't seen most of them.

Kernal
Posted on 03-14-07 12:35 PM, in Stupid Bug Bites Link | Quote | ID: 15014

Gone
Level: 88

Posts: 635/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
On a camping trip when I was about 10, I got something like 60 mosquito bites. It drove me crazy at night. Scratching generally makes the bites get way bigger, so I would have to use this anti-itch cream constantly. At night. Ugh.

And my parents wonder why I don't like camping. (OK, it was fun as a kid, but they took it way too far.)

Kernal
Posted on 03-14-07 10:30 PM, in Happy pi day! Link | Quote | ID: 15102

Gone
Level: 88

Posts: 637/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
It's also the day the second board started.

*throws some pi at people*

Kernal
Posted on 03-14-07 10:33 PM, in Programming Poll #5: { } Link | Quote | ID: 15106

Gone
Level: 88

Posts: 638/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
So, to you people who use K&R style, why don't you also put the closing curly bracket at the end of the last line of the block?

Kernal
Posted on 03-14-07 10:35 PM, in Happy pi day! Link | Quote | ID: 15107

Gone
Level: 88

Posts: 639/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
Uh, besides pi?

pie ~= 8.53973422

Kernal
Posted on 03-14-07 11:12 PM, in Happy pi day! Link | Quote | ID: 15117

Gone
Level: 88

Posts: 640/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
Yes, very corny. Has anyone figured out my value for pie?

Kernal
Posted on 03-14-07 11:22 PM, in I ate a tablespoonful of habanero sauce for a bet. Link | Quote | ID: 15125

Gone
Level: 88

Posts: 642/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
Once I said I'd pay a guy a dollar to eat a live ladybug, and he did it.

Kernal
Posted on 03-14-07 11:25 PM, in Happy pi day! Link | Quote | ID: 15126

Gone
Level: 88

Posts: 643/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
*also throws some e, phi, and even i at people*

Kernal
Posted on 03-14-07 11:32 PM, in The ONO Thread Link | Quote | ID: 15131

Gone
Level: 88

Posts: 644/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
371. When people are really reluctant to register at new message boards.

Kernal
Posted on 03-14-07 11:49 PM, in Happy pi day! (rev. 2 of 03-14-07 11:49 PM) Link | Quote | ID: 15141

Gone
Level: 88

Posts: 646/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
Here you go.

And check out that URL. I assume there's a maximum number of characters in a domain name.

Kernal
Posted on 03-14-07 11:53 PM, in Happy pi day! Link | Quote | ID: 15145

Gone
Level: 88

Posts: 647/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
*tries to imagine the number of people* Uh...forty-seven thousand, three hundred and fifty-six?

Kernal
Posted on 03-15-07 12:00 AM, in Happy pi day! Link | Quote | ID: 15148

Gone
Level: 88

Posts: 648/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
The common misconception that pi = 3.1400000000000000000000000 drives me nuts. Today should be called Pi To Two Decimal Places Day.

Kernal
Posted on 03-15-07 12:06 AM, in Happy pi day! Link | Quote | ID: 15154

Gone
Level: 88

Posts: 649/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
My TI-83+ only shows 10 significant digits (i.e., 10 digits total on both sides of the decimal point), although I think it uses more digits (15?) internally to help guard against visible roundoff errors.

Kernal
Posted on 03-15-07 01:02 AM, in The ONO Thread Link | Quote | ID: 15180

Gone
Level: 88

Posts: 651/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
379. The word "breasts". They're called BOOBS, dammit.

Kernal
Posted on 03-15-07 02:07 AM, in [s]3[/s] 4 reasons I have a SOL computer Link | Quote | ID: 15208

Gone
Level: 88

Posts: 652/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
I don't have a car either...I just use my bicycle and the bus system. I figure if I can live like this in Detroit, it'll be ten times easier anywhere else. I never want a car, I like saving all this money.

Kernal
Posted on 03-15-07 03:18 AM, in Happy pi day! Link | Quote | ID: 15232

Gone
Level: 88

Posts: 653/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
Posted by Kernal
Here you go.


Not sure if it's the one you were thinking of, but that site I linked to earlier in the thread has a million digits of pi.

Kernal
Posted on 03-15-07 02:46 PM, in New Features! Link | Quote | ID: 15341

Gone
Level: 88

Posts: 655/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
I'm not too fond of spell checkers, as anything I write tends to include way too many non-words such as "Acmlm", "The Magical Orb of Glimberflots", or "printf".

Kernal
Posted on 03-15-07 02:48 PM, in Stupid Bug Bites (rev. 2 of 03-15-07 02:48 PM) Link | Quote | ID: 15343

Gone
Level: 88

Posts: 656/1881
EXP: 6466583
Next: 184081

Since: 02-20-07

Last post: 6155 days
Last view: 6145 days
I don't like bugs, which is why I'm glad my apartment is relatively bug-free. Unlike my parents' house, which was always just teeming with bugs (especially ants and spiders) during warm weather.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70


Main - Posts by Kernal

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.238 seconds. (331KB of memory used)
MySQL - queries: 33, rows: 65/65, time: 0.231 seconds.