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 - Virex

Pages: 1 ... 9 10 [11] 12 13 ... 333
151
Other Games / Re: League of Legends - Season 3!
« on: March 04, 2013, 11:23:02 am »
BoRK? This whole discussion sounds like it's about Swedish chefs...

152
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: March 01, 2013, 09:51:29 pm »
Common Lisp allows you to import only specific keywords from one package into another, using :import-from. You can also assign them a different name using :shadowing-import-from. Doesn't C++ have a similar system?
My god that is sexy. Somebody write to microsoft! C# is missing functionality!
I mean you can import a class under an alias, but keywords? How am I not doing that right now?
I don't know if it's that easy to translate since keywords in CL are essentially a special type of symbol. Technically, a keyword in CL is a symbol prefixed with a semicolon and unrelated to keywords in C#. I really should've used the word symbol in my previous post. Regardless of that, you can also import macros from one namespace into another, which would be the equivalent of C#'s keywords or C's preprocessor macros. The reason that this works, while many other languages don't allow it, has to do with the fact that CL does multiple compilation passes in which macros are expanded into code stepwise, so the compiler can postpone evaluation of a macro to a later pass if needed. I'm not sure if other preprocessors are that sophisticated.

153
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: March 01, 2013, 06:24:23 pm »
Common Lisp allows you to import only specific keywords from one package into another, using :import-from. You can also assign them a different name using :shadowing-import-from. Doesn't C++ have a similar system?

154
Creative Projects / Re: Programming Help Thread (For Dummies)
« on: February 27, 2013, 11:51:02 am »
You know, the more I think about it the more I've realised I dislike the "standard" OOP approach. At least in C#.

I've fallen in love with the style we use at work, where a class tends to just contain a single function (two functions if you're unlucky) and often has absolutely no state to speak of. You inject dependencies in at construction the function uses to do it's work. Very testable, very understandable and, as it turns out, quite efficient.

Lately I've seen a lot of simplicity winning over ugly hacks in the performance department. Whilst we got a "quick win" performance increase in introducing caching to some legacy code, but by the end of a big refactoring of the code to bring it up to standard and make it more workable we actually found it actually performed better without that caching.


In that case, couldn't you completely drop the concept of classes and use closures to encapsulate the state? Or do you still need inheritance?

155
Other Games / Re: League of Legends - Season 3!
« on: February 23, 2013, 04:08:41 pm »
In the end game, mid Karma can become pretty powerful as well, due to her ability to heal and shield for huge amounts (and blast the enemy team while doing so). Last game, my Q healed for 13% of the total missing health of all allies in the cone, which can easily add up to 400 HP per person, or more. Of course one has to actually get to the late game relatively fed, which can be hard at times.

156
Other Games / Re: League of Legends - Season 3!
« on: February 23, 2013, 01:04:54 pm »
So, it turns out that using Barrier on Olaf is pretty awesome. I wonder if there are other champs that scale of missing HP that could use it, Karma perhaps?
Yep, Poppy and Karma.
Oh god. Poppy with a barrier would be extremely hard to kill, since she can have a 400 HP shield while her HP is only 200 or something if your reflexes are good.


On that note, wouldn't Karma or Lux be ideal supports for Poppy bot?

157
Other Games / Re: League of Legends - Season 3!
« on: February 23, 2013, 07:28:35 am »
So, it turns out that using Barrier on Olaf is pretty awesome. I wonder if there are other champs that scale of missing HP that could use it, Karma perhaps?

158
General Discussion / Re: Minimum Wage
« on: February 22, 2013, 06:45:12 pm »
Well, this topic moved on pretty fast since I started writing this post, but I'm going to post it anyway!
Its a bit cheeper.
1 gallon = about 3.4 L, right?

More like 3.8, but yeah.

Oh, and snarky Australians (who I've seen bragging all over the internet recently for some reason or another), please cut it out. I was curious about the "cost of living" in countries, and found a website that would appear to be fairly well respected that provides such info. Anyway,

Quote
Consumer Prices in Canada are 26.66% lower than in Australia
Consumer Prices Including Rent in Canada are 33.34% lower than in Australia
Rent Prices in Canada are 46.54% lower than in Australia
Restaurant Prices in Canada are 27.42% lower than in Australia
Groceries Prices in Canada are 21.79% lower than in Australia
Local Purchasing Power in Canada is 6.99% higher than in Australia

That's a really goddamn big difference, especially considering how big the difference is between Canada and the US. The only things noticeably cheaper in Australia are rice and... milk. Yeah, that's kind of a reoccurring theme here.
On the discussion of relative prices, it would in theory have more to do with sales tax, or more particularly value added tax (aka VAT) than minimum wage. VAT is that it tends to make things more and more expensive the further down the production line you go.

Australia has a flat 10% VAT tax rate, which is high, but not as high as pretty much all of Europe's VAT tax rates (which are typically at least 20%).
The VAT and sales tax system in Canada is kind of crazy, but it seems to be that typically most transactions have a VAT tax of 5% with one of multiple different sales taxes added on at the end, a lot of consumer goods like groceries and such have no VAT added on due to exemptions, but that doesn't mean that their cost isn't increased by the value added tax due to stuff further down the line. Australia has no such exceptions as near as I can tell, it's 10% on everything, which must run away horribly when it comes to raising the cost of goods.

For example if it's applied to everything, a dairy farmer (just as an example) has to pay 10% VAT on buying feed, and on housing the cows, and on his own bread and butter, and on every other cost he incurs, and then of course you pay 10% on the milk when it's sold to his friend the cheese maker, then 10% to sell it to the grocery store, then 10% to sell it to the consumer...

Now, I doubt that tax is paying paid on all of that, but you can see that while 10% doesn't sound like much, all those 10%'s add up quickly, and you just know that people are going to raise their prices to compensate for the money they're paying in taxes.

The US meanwhile has no VAT taxes, which would probably be a good concise explanation for why goods are cheaper in the US than in Canada, and Canada cheaper than Australia.
That's... not how VAT works. Sure, the farmer has to pay 10% VAT, but, at least in most European countries, he can compensate that with the VAT people pay on his milk. So as long as the products you're selling are worth more than the products you buy to produce them, you don't have to pay any net VAT. The result of this is that the cost ends up being carried by the consumer, and any business that's reducing the value if it's end product relative to the starting products (bot those don't last long anyway)

159
Other Games / Re: League of Legends - Season 3!
« on: February 22, 2013, 10:09:47 am »
AP Leona? I thought her AP scaling was abysmal?


Edit: Checked it. The scaling on her q, w,e and ulti is 30%, 30%, 40% and 80% respectively. Pretty lousy, although I guess your tankiness makes up for it. Also, solo lane means you don't get much traction out of your passive, unless the jungler is babysitting you.

160
General Discussion / Re: Minimum Wage
« on: February 21, 2013, 04:45:13 pm »
You know what, all this economy stuff is way to complicated, and doesn't serve any good purpose anyway. Let's just put it all in a common pile and give everyone his share.


But that would be communaziism! McCarthy died for our consumerism, do you want to defile his legacy in such a vile way?

161
General Discussion / Re: Minimum Wage
« on: February 21, 2013, 03:11:35 pm »
The actual worth of a salary is relativistic.


It goes down as you approach light speed?

162
General Discussion / Re: SCIENCE, the Higgs, and everything else!
« on: February 20, 2013, 06:20:31 am »
Of course you can just fold in a solar sail to prevent it from pushing you off course while in interstellar space.

163
General Discussion / Re: SCIENCE, the Higgs, and everything else!
« on: February 19, 2013, 03:07:18 pm »

It is unlikely that what was found was some kind of graphene superinsulator.


The graphene would be used for electrochemical capacitors, which do not rely on a solid dielectric, but rather on a solid or liquid electrolyte, in which a Helmholz layer provides the actual capacitance.

Graphene turns out to be an awesome capacitor of sorts, GO SCIENCE!
If you're going to link to an awesome discovery, at least provide a peer-reviewed reference as well (Paywalled, you can message me for a copy)

164
General Discussion / Re: Male circumcision tied to less sexual pleasure
« on: February 17, 2013, 05:07:11 pm »
People, it's jut an unsightly flab of useless skin. Stop acting like removing it is the end of the world.

165
General Discussion / Re: Male circumcision tied to less sexual pleasure
« on: February 17, 2013, 11:24:33 am »
Well it took one post before we got back to the flamewar. That's a start.
The whole subject only serves as flamebait for MRA types. Did you really expect anything else?

Pages: 1 ... 9 10 [11] 12 13 ... 333