« first day (862 days earlier)      last day (4085 days later) » 

10:00 PM
@DeadMG you probably were on one of those servers that weren't dominated by 1-2 extremely rich players
 
I did that in GW1 for a while.
 
I like for every game that is made, there is always some one who finds an alternate game with in it
 
Xeo
Well, on Frostwolf not so much, because there are not only stupid people there, but still.
 
@Cicada I was one of those players.
 
you faggot
 
10:00 PM
not really
it's hilariously easy
all you need is the top profession(s) of the day like Jewelcrafting/Enchanting (back when I was doing this), not something like Blacksmithing, that's never a money maker
then get a statistics-gathering mod like Auctioneer
and it will literally just list the bargains and you just click to make money
 
I thought you can't stand MMOs
 
Xeo
@DeadMG Eh, I had Mining + BS and JC + Enchanting, and that went very well for enchanting mats.
 
mining is always suck
you're at the bottom of the food chain.
 
Xeo
@DeadMG Needed it for smelting.
 
10:02 PM
I should just make all parameters self-referring.
Parameters in parameters.
 
@Xeo Buy the ore.
 
Xeo
I bought the ores, smelted them, made the cheap rings with JC, and disenchanted them for mats.
Easy money.
 
yep
I often also found cheap weapons/armours that would disenchant into way more valuable mats.
 
Xeo
Or directly disenchanted stuff from BS
 
in addition, cutting gems was ridiculously simple moneymaking
and prospecting ore
 
Xeo
10:03 PM
Even better if you make enchanting scrolls out of that.
 
Hm.
 
Alright now give me money in GW2 thank you
 
I think D3D shader variable reflection is broken.
 
Because flipping really takes a lot of work
 
Xeo
The ores are cheap, and the enchanting scrolls are fucking expansive, especially the weapon ones.
 
10:03 PM
There's a lot of players competing with you
 
FFS two reboots?
 
Or maybe there's a special rule for this...
 
Xeo
If in doubt, you suck.
 
amazon looks for PS3 devs, wtf? careers.stackoverflow.com/jobs/30552/…
 
@R.MartinhoFernandes windows?
 
10:04 PM
I know
 
@bamboon meh
 
generally, it's a lot more profitable to process/manufacture goods rather than find them in the world
 
texture1D CelGradient;
sampler1D CelGradientSampler;
^ This looks like a Texture 1D Declaration to me...
 
Xeo
@DeadMG Aye
It's a pain to get Mining up to top level, though.
 
yeah I had that too
 
Xeo
10:06 PM
Buying the ores from AH is expensive for leveling up
Since the old ones are rare in there.
And highly wanted, obviously
 
even though when I started playing WotLK I had the epic flying mount
 
@thecoshman meh, I got something wrong?
 
@FredOverflow Didn't click, know what it is, starred :)
By the way for those who don't know this is from "The IT crowd" and it's a must
 
hmm
 
10:08 PM
It's like Big Bang Theory except it's funny
 
2h to dl 240MB
love this place.
 
Xeo
I hope everything goes well tomorrow >_>
I want my 50mbit
 
;_; I finished my wine
 
@thecoshman That's unfortunate.
 
Xeo
10:09 PM
@ThePhD Wait, show me the full line with if( (flags & shader_flags::unused) == ...
 
@kbok The second season of The Big Bang Theory was pretty funny.
 
@ThePhD it's terrible :(
 
Of Big Bang?
 
@Xeo The code lines isn't the problem. It's the description: it's saying that it's a Texture2D, even though I'm writing and compiling and using the shader as texture1D and even calling the tex1D instrinsic function on it and arwarhaghaghagh.
 
Xeo
@ThePhD Yes, show me anyways.
 
10:11 PM
But, uh. Flags are:
 
Xeo
I want to tell you that you suck
 
if ( ( flags & ShaderResourceFlags::Unused ) == ShaderResourceFlags::Unused )
	continue;

if ( ( flags & ShaderResourceFlags::TextureComponents01 ) == ShaderResourceFlags::None )
	continue;
LOL
 
Yeah, the first seasons are fun. But the last ones really suck
 
Goddamnit indentation.
 
Xeo
the comparision to shader_flags::unused is redundant.
 
10:11 PM
Y U NO HAS_FLAG FUNCTION
PEOPLE Y U INSIST ON NAKED BITWISE OPS
 
@R.MartinhoFernandes I do. I just don't use it all that often...
 
Xeo
Just if(flags & some_flag)
 
@R.MartinhoFernandes more fun this way
 
@Xeo Not the same.
 
@ThePhD I SEE YOUR RAW new.
 
10:12 PM
@DeadMG AHAAAA
 
I pity the fool, who uses var = new ....;, in his code.
 
Xeo
@R.MartinhoFernandes If you're using flags correctly, it should be? oO
 
You fell for my trap card:
ubiquitous_ptr<ShaderParameterBuffer> sparambuffer = null;
 
@Xeo Hey I'm in between games. Fixed.
 
dafuq is ubiquitous_ptr?
 
10:13 PM
A std::unique_ptr, but COM-Compatible.
 
Turns out there was still an entry in my brain for that particular GCC error message.
 
-4
Q: Determine if factorial

user2074033Does the following function answer the question: determine whether a number x is a factorial? Thanks. bool testfactorial(int x) { if(x>=1) return true; else return false; }

 
E.g. &myubiptr works.
 
@LucDanton That looks identical to his original.
@ThePhD NOOOO. That's not how you do it!
 
Hi
 
Xeo
10:14 PM
@DeadMG declval vs forward
 
@DeadMG And it compiles!
 
@DeadMG What? D:
 
Xeo
@LucDanton Aka a GCC fail.
Thanks anyways.
 
Do you guys have any good book to suggest me about how to organize a project in C++?
Software engineering?
 
You mean managing people?
 
@Xeo I don't have 4.8 on hand. You know. Vidya gaems.
 
Xeo
Whatcha playing?
 
No I mean how to organize the structure of a project
 
> The branch 'default' has multiple heads.
 
10:15 PM
@Xeo I cherish my relative anonymity in that regard.
 
@R.MartinhoFernandes I don't know how to kill that.
 
@Jeffrey You mean split the project into files?
 
@Jeffrey there's 'good' way of doing it really. Just keep it organised
 
Ell
@jeffrey directory wise?
 
std::unique_ptr<IDirect3DSurface9, COMDeleter> BackBuffer;
std::unique_ptr<IDirect3DSurface9, COMDeleter> DepthStencil;
D3DCALL(device->GetBackBuffer(0, 0, D3DBACKBUFFER_TYPE_MONO, PointerToPointer(BackBuffer)));
D3DCALL(device->GetDepthStencilSurface(PointerToPointer(DepthStencil)));
 
10:16 PM
@DeadMG That's what &myubiptr does. o_O
 
oh
you probably picked it up from me :P
 
@Ell, @thecoshman, @FredOverflow, mostly how to organize the project idea into classes and inheritance
 
Xeo
@ThePhD Yes, but it doesn't fuck with operator&.
 
Warning: Inheritance is severely overrated.
 
10:17 PM
Should... I not be overriding operator& ?
 
mmmm
it's generally not considered a good move.
 
> Cyclic (or two-way) dependencies are a common problem in software engineering. Many constructs involve a two-way link of some sort, and this implies that both classes or structures know about each other. Often this ends up looking like this:
 
Everyone hates you when you do.
 
@Jeffrey The term you are looking for is probably "object-oriented design". Look for books that have that in the title.
 
Stop being bad
 
10:17 PM
it will work with Standard containers (in C++11)
but it's not generally considered wise.
 
Xeo
@DeadMG Unless the implementor forgets to use std::addressof
 
@FredOverflow, thanks. Do you have any specific book in mind that you read and find acceptable?
 
I hadn't actually considered it
@Xeo That's a defect :P
 
Xeo
Still happens. STL said he always has to remind himself to use that.
@LucDanton Wokay.
 
@Jeffrey No.
 
10:18 PM
you don't really gain anything with &p compared to f(p).
 
... But std::unique_ptr overrides * for pointer deferences... why not complete the circle with & ?
@DeadMG True, it's more just syntatic sugar than anything
 
@ThePhD Because & already has existing semantics which everybody expects to work the same way on every type.
 
someone just tried to call my C++ code C, WTF
 
Xeo
@ThePhD Because people rely on &stuff to give you the address of stuff.
 
some people have no respect
 
10:19 PM
and using std::addressof to get the address is really annoying.
 
Ok thanks. Anyone here works with Qt by any chance?
 
@TonyTheLion linkage?
 
@TonyTheLion Some people don't know that C and C++ are two different languages.
 
Ell
Why can you override &?
 
10:19 PM
@Ell because C++
 
@DeadMG I have no link to provide.
 
@Ell Dunno.
 
@Ell Because it kills puppies.
 
Ell
yeah true xD
 
@FredOverflow some people are idiots :)
 
10:20 PM
but like || and &&, it's really only useful in an expression template context- if even that.
 
I'm not a puppy killer. ;~;
 
-6
Q: How do you compare two strings in c++?

Isaac MarbleThese functions output strings, and the std::cout shows they are visually and ascii numerically equivalent. If the input is 'Hi! bye...', it prints 'hibye true <- -> reverse eybih'. Therefore, a palindrome with capitals and symbols would create two equivalent strings. A '.compare', and some e...

 
Ell
I guess you should be allowed to do stuff if you want :L
 
lol
you can try compare with strcmp — Aram Gevorgyan 26 secs ago
 
Lol
 
10:21 PM
@Rapptz WTF is this?
 
@BartekBanachewicz forever alone
 
Ell
Back to school tomorrow, hollidays go far too quick :(
 
You have holidays?
 
You'll need a skipper for your parser
 
10:24 PM
That reminds me, why does support for std::regex suck?
 
Congratulations on noticing your problem.
 
I am the 1%
 
@Ell This guy just found out that you can overload operator& in C++, and he is freaking out :)
5
 
@Rapptz Because it's not that important? vOv
 
it's important to me :(
 
10:25 PM
Use Boost.Regex
Same thing
 
@FredOverflow Holy shit.
 
I know I can use Boost.Regex
 
He stripped in liek 10 seconds.
 
@georgemano Who are you?
 
WOW
DID HE TRY TO STICK A REMOTE UP HIS ASS?!
2
WHAT IS WRONG WITH THIS GUY.
 
10:27 PM
What.
 
@ThePhD Especially when he's covered in a fucking duvet. That's some impressive stripping.
 
WTF are you watching.
 
@FredOverflow Fred's link above /cc @R.MartinhoFernandes
 
We're guessing the count until it's the right one
 
10:29 PM
After seeing that, I'm not sure I should overload operator& anymore... =[
 
george I don't think anyone in here cares
 
@ThePhD Ok, no, thanks. Not interested in porn right now.
 
@georgemano std::vector<std::string>?
 
What language are you using? :)
 
10:30 PM
English
duh
 
@georgemano We have a Python room, don't we?
 
I wish we had [so.ask]
george what language do you speak
 
@georgemano Have you tried asking a question on stack overflow?
 
lol
 
There is a much larger audience that knows good regex on the question part of the site.
And they are actually interested in answering.
 
10:33 PM
and this guy here tends to bin people's questions
 
is repwhore grounds.
 
Ell
Regex Is easy
 
just go and ask already
 
Ell
I don't know what Your question is. Ask it on so and I will answer
 
Because we don't want to.
 
10:35 PM
TIL:
> Because the runtime does not support 1D textures, the compiler will use a 2D texture with the knowledge that the y-coordinate is unimportant. Since tex1D(s, t) (DirectX HLSL) is implemented as a 2D texture lookup, the compiler is free to choose the y-component in an efficient manner.
 
Ell
Heh. Treat em mean keep em keen ;)
 
So, 1D textures are just a lie.
So why are they fucking allowed to be made by the API and declared in shaders.
=l
 
Ell
Isn't a 1d texture just an array?
 
Yes, but DirectX has special types for 1D textures
 
Xeo
@ThePhD So you can communicate your intent better?
 
10:37 PM
But if I use the API and set it as a Texture1D, the D3D API errors and crashes (silently and internally, of course).
 
lolo
suckage
 
If you turn on the D3D Debug, you see that it gives an error about the dimensions of the ShaderResourceView not matching.
And then the majority of the screen draws black.
 
Xeo
0
A: Can enum class be nested?

Edward BirdNo, there is no way of doing this without defining everything in a long list inside one enum. enum class A{ PARTICLE_MATTER_BARYON_PROTON, PARTICLE_MATTER_BARYON_NEUTRON, PARTICLE_ANTIMATTER_BARYON_PROTON // etc }; If this doesn't make sense to you, then you are surely a physicist. I am...

> I am accepting this as the answer to stop further notifications from stackoverflow asking me to accept an answer.
lol
 
So, now I know: all Textures are 2D textures. No exceptions. No fun.
 
Ell
What about 3d textures?
 
10:39 PM
I don't know. I would hope they don't do the same dumb thing.
 
Ell
I wonder what the next desktop architecture will look like
 
@LightnessRacesinOrbit zomg
 
Ell
can framebuffers contain arbitrary information ?
 
@Ell No. The graphics card makes sure that the information can be interpreted as a flying spaceship or video game character, and throws away everything else.
 
Ell
Heh. Silly question really xD
 
10:43 PM
yep
 
1D textures can easily be expressed as 2D textures, and aren't really all that common, so why build special cases
 
Ell
But no need tk error on them
 
LMAO
@BartekBanachewicz Bartek, I will give you 2£ on paypal if you can help me out tonight, please help me. — Marcus Ekström 1 hour ago
i don't even...
 
@BartekBanachewicz You'll be rich by morning!
 
but guis. 2 pounds. two
offer of my life
 
10:51 PM
@BartekBanachewicz Via PayPal, too! So you may even get to spend it. Eventually!
 
lol.
 
Guy is persistent.
 
I flagged his comment but it declined it.
 
Xeo
@AndyProwl That is not the same as this solution. At least using this method I do not have to watch out for using the same value twice, which is more of a problem than the nesting. Therefore this solution is better than your one. Since I am asking the question, I am also the judge of the best solution for me. So why the necessary down vote? — Edward Bird 8 mins ago
sigh
 
Sigh indeed.
It's funny when people ask for help and then reject your offer of help.
 
10:59 PM
Surprise, surprise everybody. The troll is back. — Edward Bird 11 mins ago
this guy is a moron
but we knew that already
 

« first day (862 days earlier)      last day (4085 days later) »