« first day (860 days earlier)      last day (4094 days later) » 

11:05 PM
room suddenly died
 
user142019
Everyone is bored.
 
I am not.
what'cha doing, Lobster?
 
Xeo
Yay, back
 
I want to sort out stuff, but effort
2
 
@sehe damn you, stealing my stars! :p
 
11:09 PM
@je4d :) sorry ?
 
@sehe well, assuming you got the link via my twitter feed
 
user142019
There are too few atheists.
 
@je4d I must admit, I saw it in your tweet. Though, I did honestly retweet it - so it wasn't a secret
 
@sehe nope!
 
@thecoshman Ok, duly noted
 
user142019
11:10 PM
@BartekBanachewicz chatting with various people.
 
user142019
And checking Twitter.
 
@BartekBanachewicz trolling most likely :P
@Zoidberg seems equally slow for me
 
@sehe I was kidding.. just saw it in the bar on the right and thought "I know where that came from" :)
 
@je4d indeed
 
> A Linux driver created by the Intel Open Source Technology Center is the first open source driver certified by the Khronos Group under the OpenGL ES 3D Graphics 3.0 specification.
ughh
 
user142019
11:12 PM
 
they were faster than us -.-
 
Ell
they were faster than you? o.O
 
it's a subdivision of Intel :P
but still.
 
Xeo
Btw @LucDanton, out-of-class initialization of static data members happens in the context of the class, so if you had struct X{ static int i; static int foo(){ return 42; } }; int X::i = foo();, that would compile. Maybe there's something similar which could be done for the _a etc variables?
 
user142019
PS4 social stuff will be fail.
 
11:14 PM
NVidia haven't even sent Tegra for certification
 
user142019
Companies y u never realize things will be epic fail.
 
user142019
Sony don't know their audience.
 
@Zoidberg that's so close-minded
 
user142019
Anyway, DualShock 4 will still be best controller ever, like DualShock 3 now. :P
 
The DualShock has horrible joysticks
It's not going to change either
 
user142019
11:15 PM
@Rapptz Nope.
 
Yep.
 
user142019
It's le best controller evarrrrr.
 
@Rapptz nope
 
user142019
I like the joysticks.
 
Though I was to buy a pad today, it would be the new Razer one
 
user142019
11:16 PM
Way better than Xbox' crap.
 
I thought they were okay at first
I still think they are
 
Xbox triggers are better though
PS3 triggers are a fucking horrible mistake
 
but I like the Xbox joysticks better.
 
user142019
I don't like the shape of Xbox controller.
 
user142019
Way too big and uncomfortable.
 
11:20 PM
right, I figured out what the problem is.
Clang decided that the type of cout was std::basic_ostream.
 
user142019
Man.
 
user142019
I love vla.
 
confession bear: I actually liked the massive original Xbox controller
 
user142019
I like Xbox' massive, fan-cooled power adaptor brick.
 
user142019
 
user142019
11:24 PM
6.5/10 would kiss.
 
user142019
Assuming female entity.
 
that's how a modern pedalboard looks
 
user142019
Fuck.
 
user142019
I got vla in my beard.
 
wtf is vla
I thought you mean VL arrays
 
user142019
11:26 PM
Vla () is a Dutch food product. It is a type of custard (known in the United States as cornstarch pudding). Vla custard This dairy product made from fresh milk first appeared in the 1950s. Traditional vla is made of cooked milk with custard, but modern vla uses cornstarch rather than eggs. It is sweetened with sugar and vanilla is often added. It has the viscosity of yoghurt and is served cold. Vla is available in many different flavours. Plain vanilla vla is frequently served as a vlaflip, with yoghurt and fruit syrup. It comes in several flavours, such as chocolate, caramel, vanilla...
 
your beard can create variable-length arrays?
 
user142019
@BartekBanachewicz vla, not VLA, you noobs. /cc @DeadMG.
 
so it's something like polish Budyń
 
user142019
@BartekBanachewicz that's what we call "pudding" in Dutch. :)
 
user142019
But yeah it's similar.
 
user142019
11:28 PM
Vla is more fluid though.
 
man, I can see how weird Polish words are only if I type them here randomly
 
user142019
Vla is tasty as fuck.
 
damn
 
my head started to ache again -.-
 
if it's a function argument, Clang does basic_ostream& -> basic_ostream*.
 
11:29 PM
I'll eat these two rolls I have and go to sleep
 
if it's anything else, then basic_ostream& -> basic_ostream.
 
0
Q: Having trouble when allocating memory when passing a double pointers address into a triple pointer

user2101171I'm creating a double pointer and sending in the address to allocate memory, which requires a triple pointer. Also, i am creating single pointers (goals and assists) and sending their addresses to allocate memory, which requires double pointers. I think the problem lies in allocation of memory, b...

^^ 3-star programmer :)
 
user142019
@DeadMG lolwot
 
@Zoidberg Yep.
 
user142019
Clang is junk.
 
user142019
11:30 PM
If you wrote your own C++ implementation and you'd be done by now.
 
lol I doubt that
 
user142019
lol
 
user142019
It's a pity clang can't output XML AST anymore.
 
user142019
It could do that in the past but it was crappy.
 
eh, what do I care about that?
I can visit the Clang AST to my heart's content.
 
user142019
11:31 PM
@DeadMG Do I know.
 
@Mysticial Well he's a C programmer.
 
@Xeo I don't follow.
 
Xeo
@LucDanton Well, if you could make it that a line, say _a <= foo introduces _a into some scope, and any other use of _a would happen in the context of that scope. If _a <= foo wasn't written prior to that, it would fail on the C++ level. But after thinking about it, I don't think there's anything like that. :/
 
@Mysticial C -.-
 
@Xeo What would the line look like?
 
Xeo
11:37 PM
@LucDanton That's the problem, I haven't found anything in (my brain version of) the standard that would give you that.
I have some other ideas floating around though, to make it a clear error to the user to use a variable that was not "freed" before.
 
DAT guy knows how to start
1
Q: Basic rendering of comet Wild 2 shape data using OpenGL

ArrietaI want to learn OpenGL, and decided to start with a very simple example - rendering the shape of comet Wild 2 as inferred from measurements from the Stardust spacecraft (details about the data in: http://nssdc.gsfc.nasa.gov/nmc/masterCatalog.do?ds=PSSB-00133). Please keep in mind that I know abso...

> Please keep in mind that I know absolutely NOTHING about OpenGL.
however, I want to draw NASA data
 
Ell
I don't understand why people prefix a class with c or a struct with s
 
@Ell No good reason anymore.
 
@Ell it made it clearer for me which purpose they have. But I stopped using it anymore
 
Ell
Was just wondering really
 
11:40 PM
Honestly if it came to that I'd just bite the bullet and explicitly bind + pass a function. I don't think I really need the sugar.
 
@CatPlusPlus Thanks for showing me SpringBok's driver for the windowing messages.
I managed to develop a system that's fairly abstracted and very nicely working for my purposes.
 
Xeo
@LucDanton That's the other problem with C++ - you can't just do a invoke(func_name, _a) to call a function, since it's potentially overloaded and/or a template.
If only []func_name(a)...
 
Not really related though :p
 
Xeo
@LucDanton Eh, I think it is. Any later use of _a except with operators would look horrible.
 
BaseWindow defines a virtual method GetWindowMessages, which returns a bunch of raw Native::WindowMessages. A second class MessageTransformer (name in progress) take all native messages and then processes them similar to how SpringBok does it.
The great thing about this approach is I can provide different MessageTransformers as necessary.
 
Ell
11:43 PM
Why would you need different message transformers?
 
I can't forsee the need of every game I'm ever going to make ever.
 
@Xeo zzz
 
Xeo
YAGNI
 
@ThePhD But what I can foresee is: if at some point in the random future you need it, you can implement it then.
and until then, you're wasting your time.
 
Xeo
@LucDanton ?
 
11:44 PM
if you use the std::function-alike interface I used, you can implement whatever the fuck you want on top of that in non-platform-specific code
 
@Xeo a) you sound like a broken record b) you know I know everything about that topic
 
@Ell structs in modern C++ are either PODs or metatemplate shit
 
@ThePhD you know it's fairly well accepted that you shouldn't make an engine, just make a game, and make what you need for that game. Then make a new game, and see what you can carry over. Keep doing this each time tweaking the core you bring over making it more generic, more reusable and you will get a much better engine
 
Xeo
@BartekBanachewicz Nah, I use structs if the first visibility I need is public. :P
 
11:45 PM
@Xeo ...
 
Ell
@bartek sorry I can't see which message that is in response Because mobile
 
@BartekBanachewicz structs are classes
 
@thecoshman no shit. I was talking about use-cases not semantics
 
Xeo
@LucDanton Sorry to bore you, then. (Also, am I really repeating myself that much?)
 
@BartekBanachewicz no shit. I am talking about there being no difference.
 
Ell
11:46 PM
I use classes, or struct for POD
 
Xeo
@StackedCrooked "moost"...
 
@Xeo It's not just you, there's a serious tendency in the room to rehash some topics to the death. E.g. I don't see why we need to bring up modules every other day.
 
@BartekBanachewicz What about it?
 
@LucDanton oh modules, modules are great. let's bum modules some more
 
Xeo
11:48 PM
@StackedCrooked Automatic jump-to-line
 
Ah.
Technology of today is pretty awesome.
 
@StackedCrooked lolwut, they just threw mutexes around stuff and called it a day.
 
2
Q: Does \u0052\u0022 start a raw string?

Anton GolovLet's say we have the following: \u0052\ \u0022\u0058(Please no?)\u0058\u0022 After converting universal character names and performing line splicing, the result will be R"X(Please no?)X" Which is a valid raw string. According to 2.5.3, "Between the initial and final double quote character...

 
That's what I thought.
 
for Robot
 
11:50 PM
Or perhaps they only want to ensure lifetime of the shared_ptr and not atomic access.
 
@TonyTheLion Why? I don't really know much about the translation phases.
 
@R.MartinhoFernandes meh, I thought you may
also, it's not like there's many others here that could possibly know
 
so how's that FTB server going that sehe is hosting? Are any of you actually using it?
 
Xeo
@StackedCrooked It's "safe", btw. The returned value is first copy constructed from the return x; statement, and after that the lock dies.
 
@StackedCrooked It would appear they want to share a shared_ptr among threads or something.
It's just silly.
@Xeo "safe"
 
11:52 PM
@Xeo Yeah.
However, it seems to suggest that accessing the object is also thread-safe.
 
user142019
So.
 
They just need a locker box.
 
Xeo
@R.MartinhoFernandes I'm actually wondering, would you really need that lock? I mean, you, as long as you, the owner of p_, lives, p_ can't possible die while making a copy.
 
@Xeo The point is that another thread may be writing on p_.
It's stupid.
 
Xeo
Oh. Oooh. Oh gawd.
 
11:54 PM
If you want to share something among threads with shared_ptr give a shared_ptr to each.
 
Xeo
@R.MartinhoFernandes That's what they do! On every operation, that is.
 
hey robot
I wanted to tell you
fuck Clang, like a whore, seriously.
 
11:56 PM
it generates two identical but distinct LLVM types for std::basic_ostream
then it sets the LLVM type for the global variable to one of them, and tells you that the LLVM type which corresponds to the Clang type basic_ostream is the other.
 
they canny be both identical and distinct?
 
Xeo
> immensely useful for resources that are shared between threads and need to be updated atomically.
 
@thecoshman LLVM types are pointer-equivalent, but you can create multiple types which are structurally equivalent.
 
Xeo
@StackedCrooked ^ Erm.
 
@DeadMG Oh. Thank you.
 
11:58 PM
@DeadMG <looks for table to flip>
 
> For example, the safe_shared_ptr template is immensely useful for resources that are shared between threads and need to be updated atomically.
 
and in addition.
 
hahaha
hahahahahaha
hahahahahahahahahahahaha
 
it has two different LLVM types which correspond to basic_ostream&, on top of previously.
sometimes it's basic_ostream*, sometimes it's basic_ostream.
 
Ell
is That what a mutex Is like?
 
Xeo
11:59 PM
@DeadMG I'm sure there's a reason. :>
 
@StackedCrooked Dat comment...:
> Why Tools ARE Belong while they should just (without “are”) belong - what an ignorance! sorry
 
Music recording is hard
 

« first day (860 days earlier)      last day (4094 days later) »