« first day (1181 days earlier)      last day (3783 days later) » 

7:00 PM
What does the std:: part mean? — Doug Smith 14 secs ago
4
 
Must be easy to get a job :P
 
huh? where is the "requires minimal understanding" close reason?
 
@EtiennedeMartel gratz, im almost at 50 on mine
 
@Abyx huh.
They removed it.
 
7:02 PM
fuckers.
 
@BartekBanachewicz and here's your combining character :)
 
16
A: Improving "demonstrate a minimal understanding"

Shog9Take #3: Catching camels, not gnats First off, a big thanks to everyone who pitched in here - trying to distill a broad class of (often ill-defined) problems into a clear, helpful bit of guidance is quite a challenge - I'm happy to see so many folks willing to take a crack at it. In particular,...

What the shit man.
 
@melak47 That looks like a soccer ball and klingon text
 
Why do they keep fucking with the close vote reasons.
I guess reason #3 is still good.
 
user3010322
@Borgleader Yeah, figured it out. Ended up going with RenderBuffer and DepthStencilBuffer, to be consistent.
 
user1804599
7:08 PM
We only need two close vote reasons called “shitty question” and “dupe.”
 
@Rapptz What the fuck.
 
user3010322
@melak47 Kinky~
 
user3010322
You had to call begin/end to get that to work?
 
oh come on
 
@ThePhD yeah, I've always called begin end, but on the render target. I don't even do anything with the silly d2d context
 
7:09 PM
that was my favorite close vote reason
 
@ThePhD Why is DepthStencilBuffer a special case?
 
why can't I draw "PILE OF POO" :(
 
user3010322
@melak47 You're not cool enough.
 
@Jefffrey Except "too localized".
 
user3010322
@Borgleader Because it is? I don't see why it shouldn't be.
 
7:10 PM
@Griwes which was removed as well
 
@Jefffrey That was kinda my point.
 
error C3850: '\uD83D': a universal-character-name specifies an invalid character
error C3850: '\uDCA9': a universal-character-name specifies an invalid character
 
@ThePhD I thought the only thing that changed was the format... just like depthbuffer.
 
user3010322
That, is, DepthBuffers have a whole class of formats on their own, and are distinctly separate and serve a different function from RenderBuffers (or Textures/Framebuffers associated with COLOR_ATTACHMENTi
 
user3010322
@melak47 :3
 
user3010322
7:12 PM
Where does that error come from?
 
user3010322
Is that D2D giving you a runtime error or a compiler error?
 
it's a compile time error.
 
user3010322
Just encode them differently, I guess.
 
user3010322
Use \x or an octal specifier or something.
 
TIL
@Abyx You were looking for the downvote button. Crap OP / crap code / crap question != off-topic
Actually, as it happens, we can claim "no valid testcase" for this one anyway
 
7:14 PM
@LightnessRacesinOrbit I already downvoted it
 
@ThePhD \x works! whazzat?
 
and now I want to close it
 
user3010322
@melak47 Hexidecimal specifier.
 
user3010322
IIRC.
 
user3010322
\0 is the octal specifier.
 
7:15 PM
@Abyx "Requires minimal understanding" was basically a downvote scenario. It should never have been a close reason.
 
user3010322
To encode characters in my UCD for UTF8, I use octal specifiers for anything outside of the ASCII range.
 
It breeds elitism
 
@LightnessRacesinOrbit Said tomalak.
 
@LightnessRacesinOrbit well it was a legal way to say "you suck, go rtfm you fucken retard"
 
user3010322
... Says the person correcting everyone's grammar, punctuation, spelling, and language lawyering everything ever. >.>
 
7:16 PM
Careful with \x though.
 
user3010322
\x has a limit to it, doesn't it?
 
@Abyx I'm not sure we want that to be legal.
 
user3010322
Some weird 4-characters-only or some crap?
 
"\x20F" has only one character.
 
yep, "\x123" works as \u0123
 
user3010322
7:17 PM
Ah.
 
@ThePhD no limit.
 
user3010322
It's the character bit.
 
user3010322
Yeah, octal ftw.
 
@ThePhD you can have any number of digits after \x
 
@Rapptz Oh gawd...
 
7:17 PM
\x0123a is only one character too.
 
@ThePhD it's hex
 
@Abyx Right, and it shouldn't have been. What's what downvotes are for.
 
user3010322
I know it's hex.
 
Also no, octal suxxorz.
 
@ThePhD What's the relevance of that to anything?
 
user3010322
7:18 PM
I'm saying octal is superior when \u is broken.
 
user3010322
@LightnessRacesinOrbit Nothing ♬~
 
user3010322
How goes the hunt for rep?
 
@LightnessRacesinOrbit but I already downvoted him. now I want to hurt him more!
 
@LightnessRacesinOrbit Downvotes don't let us stop anyone from answering.
I mean, some questions should not be answered, especially most of the RTFM ones.
 
user3010322
@melak47 So, I still need a decent name.
 
user3010322
7:20 PM
VectorBatch is.... alright.
 
@ThePhD VectorBeatch ftfy
 
\u is not broken.
 
user3010322
Looks like it is on MSVC. >.>
 
vc++ can be broken. so is g++, sometimes
 
8
Q: Why \g<0> behaves differently than \0 in re.sub?

Harry SpierI'm using Python 3.3 re.sub("(.)(.)",r"\2\1\g<0>","ab") returns baab BUT re.sub("(.)(.)",r"\2\1\0","ab") returns ba Is this a bug in the sub method or does the sub method not recognize \0 on purpose for some reason?

lol
 
7:22 PM
lol, [5, 10, 1].sort ().
 
user1804599
@Rapptz s/a/o/g :P
 
user3010322
Oh god my
 
@Griwes I agree, but it's not really our right to dictate that.
 
user3010322
Freetype and Cairo.... No! I refuse!
 
user3010322
Windows 4 lyfe.
 
7:23 PM
@LightnessRacesinOrbit But it should be! :D
 
@ThePhD :/
 
user3010322
@melak47 Don't look at me like that. :c
 
user3010322
You know how messy those APIs are!
 
The Pun Jar has been installed.
 
Ell
@ThePhD cairo + pango isn't that bad I don't think :P
 
7:31 PM
No it's not. In your code, LENGTH must be equal to strlen("something"). — Lightness Races in Orbit 22 secs ago
Is this comment correct?
 
rep capping is such a waste of rep
 
@ThePhD I don't think I know what freetype is like :D
 
user1804599
All comments are correct as they are completely ignored.
 
user1804599
@LightnessRacesinOrbit Also NUL.
 
@rightfold Already added it
 
7:33 PM
slowfold
 
user1804599
NUL is my favourite abbreviation after creat.
 
user3010322
>______> Don't use begin and end, huh?
 
user3010322
I SEE A LOT OF BEGINNING AND A LOT OF ENDINGS.
 
Hmm no I think I was wrong
oh well
stop posting links to private things please
 
7:34 PM
Is there a way to "print" the name of a template type?
 
Where does index come from in the second example? — Doug Smith 11 mins ago
 
It's MSVC-specific code, so I could go with a non standard solution.
 
user3010322
typeid( T ).name()
 
user3010322
Is usually fairly readable.
 
7:35 PM
Is there a way to do it at compile time?
 
user3010322
Uhhhhhhhh. Nothing short of a compiler error.
 
user3010322
struct {} _ = T();
 
7:37 PM
@JerryCoffin Ha. No, it's not that.
We had a severe pun problem in our team, so we decided to set up a jar where people would put money if they say a pun.
3
 
lol
 
@EtiennedeMartel I officially cannot work at Ludia, I'd bleed more money than I'd make
 
Huh, I can still reach 100k by Sunday night
my calculations were all off
only needed five days, not seven :D
 
user3010322
@LightnessRacesinOrbit Whips. Back to work!
 
@ThePhD woohoo!
 
7:39 PM
@ThePhD on MSVC :)
 
@EtiennedeMartel I probably would be able to afford to work there...
 
user3010322
@melak47 he asked for an MSVC solution.
 
Looks like they changed the close reasons.
There's no more "Minimal Understanding".
 
Whenever I see "2011", I immediately think "Oh it's one year old"
I wonder when this will fix itself
 
@Mysticial Right.
 
user3010322
7:41 PM
@melak47 How do I get BGRA support on my GraphicsDevice whne creating it, again?
 
@Mysticial Posted that earlier.
 
user3010322
Is there a flag for that?
 
D3D11_CREATE_DEVICE_BGRA_SUPPORT
 
Your are creating a nested namespace N inside N due to the using namespace N, try removing the last namespace Nichramm 26 secs ago
o.O
I'm not going crazy, right? He's wrong?
 
user3010322
@melak47 Wait, you have that commented out on your engine. D:
 
7:42 PM
@LightnessRacesinOrbit I don't think so :)
@ThePhD ..are you looking at the 7 months old master branch?
 
user3010322
... Uhm.
 
user3010322
Maybe.
 
@LightnessRacesinOrbit No.
 
@Rapptz No he's not wrong? Or no I'm not crazy?
 
The compiler automatically uses Super ADL to differentiate between the two namespace Ns obviously.
Latter.
 
7:44 PM
lol Super ADL
 
user3010322
SADL up!
 
@Rapptz :)
good
 
They should make Super ADL a thing.
 
user3010322
@melak47 y u no update master?
 
user3010322
It's so lonely
 
7:50 PM
@ThePhD because master is for releases :p
and the initial commit >_>
 
he doesn't know how to git
 
user3010322
=[
 
@Rapptz git out
 
Ell
@ThePhD learn git
the basics are really easy
and well worth it
 
user3010322
7:53 PM
I know how to make branches and work in them.
 
Interesting note: using N::A; instead of using namespace N; compiles just fine. I'm willing to classify this as a bug. — Rapptz 36 secs ago
 
life
 
user3010322
@melak47 You don't even have a D2D1DeviceContext in your code anymore. o.0
 
user3010322
Or at least, you're hardly using it anywhere.
 
user3010322
Why the change?
 
7:56 PM
idk
 
You can't just come here, say "it doesn't seam to do it right", dump a couple lines of code on us then leave us with a "thanks!" as if you're waving goodbye to a babysitter for the evening. What is your question? I mean your real one. — Lightness Races in Orbit 34 secs ago
 
because I didn't need it?
 
user3010322
Oh. Well, okay.
 
@Rapptz I ran into similar namespace weirdness with g++ while specializing std::hash before
 
@ThePhD also, the text thing wasn't really in it since I started to restructure crap 7 months ago :p
well, apparently it is in there, but I haven't been using or updating it
 
user3010322
7:58 PM
So what's the D2D stuff look like now?
 
there is none
 
user3010322
Wat.
 
that's what I'm saying :p
I haven't been doing any D2D things
 
user3010322
How did you do that deferred test. o.0
 
well I dumped Text.h back in there just now fixed up the includes and namespaces
and it worked ^_^
 
user3010322
7:59 PM
Lovely.
 
but it's still just a crappy little test :p
don't really feel like messing with text formats and crap right now
although I might get back to the D2D stuff some time for splines and stuff
 
@ThePhD lel you don't even need BGRA support. works without it, too o.O
 
user3010322
@melak47 Wat. o.0
 
oh, wait, lemme check again
yeah, no you need the flag :E
 
8:06 PM
 
the fuck kind of logic is that?
 
@ThePhD if you don't create a D2D1 device context you might get away without BGRA support, but stuff like creating a brush uses the device and likely uses BGRA internally, so it fails without the flag on your device
 
user3010322
@Rapptz Sound logic.
 
user3010322
:D
 
@Rapptz So, did you stop being sexist?
 
8:09 PM
Loaded question.
 
Aww, you knew about that.
 
user3010322
Haha
 
user3010322
A stick of lit dynamite.
 
@EtiennedeMartel I wanted to see if you'd correct me (you didn't). It's "begging the question" :P
 
@Rapptz You still didn't answer.
(hihihi)
 
8:10 PM
The word "sexist" is sexist against non-gendered individuals.
 
Feeling a little gender queer?
 
@sbi time for another parenting lesson
 
Ell
@Jefffrey you're a ruby whizz, right?
 
@Ell depends on what the question is
 
Ell
@Jefffrey I want a method which takes a block. Then I want to define a method that can be used inside that block only
 
8:13 PM
@EtiennedeMartel Mu?
 
@R.MartinhoFernandes I see you also know about that.
 
I read the Jargon File too much. catb.org/jargon/html/M/mu.html
 
む?
 
@Ell gimme 5 minutes
 
Ell
@Jefffrey Hmm. I think I need &block; block.define_method?
Meh. Proc doesn't have define_method
 
8:16 PM
^
 
Try one of the other fifty-three ways of defining function objects in Ruby.
 
maybe
block.define_singleton_method(:name) {...}
, or something
 
lol, define singleton method?
 
"singleton" has nothing to do with the pattern in this case
 
Ell
Hmm. Getting undefined method :/
@Rapptz just a method for one object
 
8:23 PM
@thecoshman lol
 
Ell
@Jefffrey I think I need to instance eval
 
3 messages moved to bin
try asking on Stack Overflow
 
i don't even know what the heck is going on
 
@DeadMG This again?
 
Ell
@Jefffrey gimme a sec, I'll show
 
8:28 PM
well, gotta keep the place clean and tidy
to at least some degree
 
@DeadMG Did you listen to what @sehe told you yesterday?
 
something about editing audit messages
 
Ell
 
How the fuck does rapptz contain swear words.
 
8:32 PM
@Rapptz That's probably racist.
 
@Ell oh, well, you solved it then?
 
I tried registering for a game and it told me i have a forbidden word in my name.
Is it rap?
Why would rap be forbidden
 
Ell
@Jefffrey yeah :)
 
I think it's "app"
 
lol
 
8:34 PM
@Rapptz Racism.
 
@Ell i'm definitely rusty on ruby, good for you ;)
 
its pptz - not sure what language though
 
Ell
@Jefffrey I am too tbf
 
Uh, it's Simone de Beauvoir's birthday.
 
nobody important then
 
8:40 PM
@DeadMG I tried to study what I can or can't say here but did not learn much, it did seem that maybe one should not ask programming questions here? Was that right assumption? Resources consumed during research: chat.stackoverflow.com/rooms/549/bin and chat.stackoverflow.com/…
 
well, there's a whole site dedicated to answering your questions, so why not use it?
2
 
@DeadMG Oh dear.
 
this site is for lounging around
 
@DeadMG We also sometimes answer questions here.
That said, there's no link to the newbie hints on the starboard.
 
@DeadMG vs @EtiennedeMartel

Fight!
:-)
So that's what I could say.
Okay, I got it.
 
8:43 PM
@DeadMG How do you expect him to know our rules, then?
 
etienne just won
 
I don't.
what I expect is that when I point them out, then he respects them.
 
not that links in the starboard are read by newbies anyway
 
It does say though
 
8:45 PM
@GlennTeitelbaum It also says , yet I don't see any such kitty here.
 
I don't see any either
 
[c++] and [no-programming] ... I can't fit that in my reality
 
See? So the tags are lying.
 
@SampoSarrala [tag:c++]
 
@EtiennedeMartel It's a big lie
 
8:46 PM
room topic changed to Lounge<C++>: Tags are truthful. [c++] [c++11] [c++1y] [no-helpdesk] [no-questions]
 
@GlennTeitelbaum it reminded me of "Big city life"
 
For safety measures, read the rules before chatting.
13
 
Now there's some clear rules :-) And these lasts until someone (like me) comes in and begs for heeelp.
 
8:49 PM
@Rapptz That should be a rick roll link
 
no
 
@GlennTeitelbaum no
 
Oh, there was rule... now those tag rules got ruined by @Rapptz
 
I notice the 14th room owner thing is gone. Who did you guys pick?
 
no one
 
8:50 PM
oh
 
user3010322
@melak47 Why do you render into a Texture2D instead of the device context or device? And how do you get that texture onto the screen after you've rendered it?
 
@ThePhD "into the device context" uhh you'll need to bind some kind of rendertarget to that context anyway, right?
 
user3010322
Oh. Uh, well alright.
 
user3010322
And, I have no idea.
 
room topic changed to Lounge<C++>: Tags are truthful. [c++] [c++11] [c++1y] [no-helpdesk] [no-money] [no-questions] [only-kittens]
 
8:53 PM
and I render into a texture and them sample from it later. but you could render directly onto whatever Texture2D created with the RenderTarget flag
 
Ell
Hmm. I just realised I'm using a unique_ptr
and I don't know why I am
 
because ownership
IMPAHTANT
 
Ell
I'll just use a thing on the stack
copy all the things
 
user3010322
!!
 
user3010322
I figured it out!
 
user3010322
8:56 PM
VectorGraphicsDevice
 
user3010322
Now all the world makes sense.
 
can't you do pixels with D2D, too? :D
 
user3010322
SHHHHHHHH
 
user3010322
VectorGraphicsDevice
 
2DGraphicsDevice
 
user3010322
8:58 PM
I had GraphicsDevice2D, actually.
 
oh wait...no numbers in the front. So I guess it'll have to be....$2DGraphicsDevice
 
user3010322
I'm just not sure I want to keep it that way.
 
user3010322
Can't D2D render in semi 3d?
 
idk
on that note, I should really implement $$$Factory
 
user3010322
Come to think of it, I don't know everything D2D can do.
 
user3010322
8:58 PM
I just want it for text.
 
it can do splines, some shapes like rectangles, ellipses
 
Ell
Are you two guise sharing a library?
 
nope :p
 

« first day (1181 days earlier)      last day (3783 days later) »