Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - olemars

Pages: 1 ... 91 92 [93] 94 95 ... 161
1381
General Discussion / Re: Eurovision
« on: May 12, 2011, 02:43:05 pm »
Caught a glimpse of the ongoing semifinal. There were a bunch of guys with two-metre tall hats on stage. And a girl on a unicycle. Good old eurovision still lives I see.

Ah, 'twas Moldova. I've long suspected some of the poorer eastern european countries send shitty songs to the contest to make sure they don't win, since hosting the contest (which the winning country must) would bankrupt them.

Looks like Cyprus follows the same philosophy.

Edit: I swear the Romanian artist is singing "Shave the world".

Edit2: Title of the song from Belarus: "I love Belarus".

Edit3: Ireland, what the hell?

1382
General Discussion / Re: Smallest PC evarrrr (ok, maybe not)
« on: May 12, 2011, 12:16:33 pm »
It would have to at least be recompiled, and have appropriate binaries for the dependencies available as well. Should be very possible though. Maybe someone should send a couple to Toady.

One thing about this computer that's a bit boring is that there's just one USB port. You'll either need an external USB hub or live with keyboard only. Also a bit unsure about how it does networking (or if it does at all).

1383
Creative Projects / Re: Unconventional Incubation...
« on: May 12, 2011, 10:51:40 am »
There's good eating on them though. You are planning to raise them for eating, yes?

1384
Creative Projects / Re: Programming Help Thread (For Dummies)
« on: May 12, 2011, 02:45:38 am »
There must be a million standard conventions. This is the one we use for C++ at work:

Everything is CamelCase
Classes begin with uppercase: class ClassName
Member variables begin with m: mMemberVariable
Static variables begin with s: sStaticVariable
Function begin with lowercase: functionName()
Function parameters begin with a: aParameter
Local variables begin with lowercase: localVariable

I don't see the point of using separate notation for private and public members. Is there something special in C# that warrants it? Underscores make my eyes bleed so I never used them. Particulary hate the Microsoft way of using single and double underscores every bloody where.

1385
General Discussion / Re: The Measurement Thread
« on: May 11, 2011, 05:42:32 pm »
Sure, but the mole as a unit is just a count, basically multiples of avogadro.

1386
General Discussion / Re: The Measurement Thread
« on: May 11, 2011, 05:28:04 pm »
That's incorrect. One mole is the amount you have of a substance if you have a number of particles of it equal to avogadro's constant. The formal definition is the number of atoms in 12g of carbon-12. So you have one mole of something if you have 6.02214078×10^23 particles of it.

1387
General Discussion / Re: Eurovision
« on: May 11, 2011, 04:10:44 pm »
So.. uh.. the singer holds one of the choir girls in a headlock while the others rip her top off? And what the hell at 2:55. Discrete but prompt change of camera there.

Was it 2008 or 2009 the russians brought in a miniature ice rink complete with figure skater on top?

1388
General Discussion / Re: Eurovision
« on: May 11, 2011, 03:18:30 pm »
Kill me now.


1389
General Discussion / Re: Eurovision
« on: May 11, 2011, 01:40:59 pm »
I just think it's pretty cool that people all across Europe can watch and participate in something at the same time (particularly, that ISN'T sport for a change).

Or war.

I haven't watched it the last couple of years to be honest, but it does hold some morbid fascination. Personally I think it was even better before they lifted the rule about every song having to be in that country's official language(s). Norway won one year with a "song" that consisted of ten seconds of vocals and four minutes of humming and violin. That was a big controversy in those days. In 1980 was this thing. Now it's just autotune pop.

EDT: I guess 1980 was one of those years.

1390
Creative Projects / Re: Programming Help Thread (For Dummies)
« on: May 11, 2011, 01:12:38 pm »
Classes and inheritance are great, but you need to be justified when you use them. They either make your code more simple or they don't :P
They might make your code less simple, but more extensible. Often I have to re-do entire sections because I failed to adhere to strict inheritance and tried to do too much in a single class.

And since I'm extending my code continuously, adhering to the "everything is a class and preferably even multiple and almost everything inherits from everything else" has saved me a lot of time. In this case I'd even make a Descriptor abstract class that WeaponDescription and Material both inherit from.

Oh and Max, try to decide if you want to start your membernames with capitals or not, you're now doing both at the same time :)

Inheritance is powerful, but it can quickly become too much of the good. Trying to debug and improve decade-old code with 6-7 levels deep inheritance chains is not fun at all. This was my day today...

1391
Creative Projects / Re: Programming Help Thread (For Dummies)
« on: May 11, 2011, 09:00:46 am »
Structs are just classes with default public access in C++. Assuming it's the same in C#.

1392
Creative Projects / Re: Programming Help Thread (For Dummies)
« on: May 11, 2011, 08:34:13 am »
Only if there is an implementation-specific difference that requires such subclassing, for instance Melee and Ranged weapons, although a generic weapon and material class probably won't hurt in any case.

You can pretty much change your mind whenever though, a Sword is still a Weapon and can be treated as such without losing any of its unique Swordiness.

FakeEdit: Ninja

1393
General Discussion / Re: Pick a place!
« on: May 11, 2011, 06:56:44 am »
Hmm. Possibly Japan. Possibly not Japan right now though. Then again I'm fairly OK where I am. I wouldn't underestimate the Sami either, driving a snowscooter as much as you want while hunting reindeer and wolves has its merits too.

Dude, the two are right next to each other.
You can get ALL of the Finnish metal in Sweden with the greatest of ease.

Yeah, just open the window and you can hear it faintly in the distance.

The Vatican. A 1/829 chance of being the pope, seems good. Nice house, great hat.
Nah. It's a sausage fest.

1394
General Discussion / Re: The Measurement Thread
« on: May 11, 2011, 04:54:18 am »
A norwegian land-mile or "rast" was once defined as the appropriate distance to walk before you can justify taking a break. Nowadays it's just defined as 10 km.

1395
Other Games / Re: Mount and Blade
« on: May 10, 2011, 03:31:37 am »
There are some nice mods that never got ported over to warband, that might be worth the extra few bucks. The basic vanilla singleplayer is pretty much the same between the original and warband though, warband just expands on it a good bit.

Pages: 1 ... 91 92 [93] 94 95 ... 161