« first day (997 days earlier)      last day (3952 days later) » 

11:00 PM
he's gonna get baaa<yaaawns>aaanned
 
So, I did R *= A / 256., G *= A / 256., B *= A / 256., and now everything is light-blue
 
Xeo
@Rapptz Not like the ending is really a spoiler
 
I'm tired and I want this to work
 
Xeo
More like, after epic fighting, YURI OVERLOAD WTF IS HAPPENING
 
Well, showing certain characters can be misconstrued as a spoiler. :P
 
11:01 PM
@Rapptz The cool part is that I actually recognize some of the text now. The sad part is that I'm more focused on trying to figure out what it says than watch the thing.
 
user142019
@sehe lazy I/O?
 
I'm glad anime openings and endings no longer show their own spin on actual scenes though.
 
Also why doesn't (0,0,0,0) get transparent
 
Or well, I haven't seen any in a while.
 
Xeo
@rightfold s/no.*es /\.\*/!
@Rapptz Hm?
 
11:02 PM
In the 90s anime openings and endings did their own "twist" on scenes because it was cool or something.
 
Xeo
mh
 
user142019
I have a good idea.
 
Also in the English dubs they sang the Japanese songs in English and it was a mess.
 
Xeo
The Railgun S opening has that
 
@Rapptz Lol, I remember those.
It was pretty lulz.
 
Xeo
11:03 PM
It shows a scene from the anime in a completely different way
 
I'm glad that's not a thing anymore.
 
user142019
Let's all go on Minecraft, find a huge mountain, completely hollow it out and then rebuild it exactly like it was before.
 
I think @Mysticial just changed the Subscribe button on YouTube. It's all red now!
 
Yellow was a terrible color for suscribe and blended into teh gray-white background.
Red master race.
 
Um..
 
user142019
11:05 PM
Should be rainbow.
 
It hasn't been Yellow for like 6 years dude.
 
@Rapptz Lies and slander.
 
What color was it before?
 
Is there a way to get a hex RGB from a pic in MSP?
 
It was grey.
 
11:06 PM
Or do I have to download Adobe Fucking Photoshop for that
 
user142019
@kbok get normal RGB, convert to hex.
 
@kbok The dropper tool
?
Is it called the "Dropper Tool" or the "Syringe"?
 
@Rapptz Yep. Kind of a pain in the ass though
@Rapptz "Colour picker"
 
ms paint questions?
 
Yes.
 
11:08 PM
@sehe Although I can't find it anymore, I've seen a very clever < 200 byte C program that will compute up to a few thousand digits of Pi. It can tweaked to go higher, but runs in polynomial time. If I ever get the time, I want to build a very light-weight open-sourced C++11 program that will run in quasi-linear time. Sorta like a miniature version of my big program - except nowhere near as fast or as memory efficient. — Mysticial 1 min ago
@Mysticial I remember seeing an obfuscated variant shaped as the symbol PI that prints the digits in fullblown ascii-art diagrams...
 
@kbok I would zoom in. Also Pixlr is pretty cool for an online tool.
I bet it's better than GIMP.
Then again I just dislike GIMP.
 
GIMP's interface is bananas.
 
You're bananas.
 
I am, a lot of the time.
But it's also because I'm sick right now and not thinking straight in the slightest.
 
re GIMP UI
 
11:13 PM
oh no we are going down the gimp road again..
 
lol
 
I have to basically rewrite resource management and loading in the Android thing I'm working on. FUN.
 
@CatPlusPlus What marvelous insightful arguments
 
@sehe Speaks for itself.
 
@CatPlusPlus It speaks what you write. What is there to see that's so abysmal that it 'speaks for itself'?
 
11:15 PM
Background services to load part of the UI? YEAH WHY NOT.
@sehe The close button behaviour.
 
@sehe Close button closes tabs rather than the whole window.
 
Note this is window's close button.
 
@CatPlusPlus Oh. AFAICT you closed two windows, and drew in the third?
 
No he closed tabs.
 
This is not how MDI interfaces should work.
 
11:16 PM
^ for some reason this was linked
 
Reminds me of Skype.
 
@Rapptz Wait, WTF never seen tabs in gimp. Why does he have (ugly ass) tabs?
 
@kbok Linked things are based on what you've watched, not global.
 
Does C++ have an operator thats takes bitmask and converts it to a logic 1. Such as ong long teh = 129309123; bool maybetrue=op(teh);(int)maybetrue==1
 
@sehe It's the single-window interface. Which acts retarded.
LoadingBroadcastReceiver WHY
 
11:18 PM
@kbok What is this
It was on my sidebar too
 
@Mikhail, !!?
 
@Mikhail I seriously can't read this.
 
@chris Thats exactly what I am using but I feel like I am insane, and the optimizer might mess it up.
 
Just some girl doing youtube videos
 
Fuck Android architecture.
@Mikhail What
 
11:20 PM
@Mikhail Just wondering, why exactly does it have to be 1?
 
@CatPlusPlus ... no comment. I don't inflict that on gimp
But granted, that was dumb interface
 
@chris Some idiot thought bitmasks were a good idea. Oh well... bool hasvalue = !!somepointer;
 
I inflicted my GIF on GIMP.
 
@Mikhail bool hasvalue = somepointer;
 
Argh, I don't even know where to start refactoring.
 
11:25 PM
Interesting, it looks like the filesystem proposal includes operator/ for concatenation.
 
Turns out my conversion code is absolutely terrible and does not work at all
Well, at least transparency does
 
@kbok just pipe to cleverbot...
 
@chris Why wouldn't it?
 
@CatPlusPlus It always seemed a bit odd to me. It's not immediately what I expected operator/ to do until I realized it's a filesystem library.
Not that I would expect it to do anything else, more just didn't expect there to be one.
 
@kbok What are you trying to convert?
 
11:30 PM
@ThePhD I needed alpha premultiplication for D3D1 hardware render surfaces -- which is done, and now I have all those unit assets and I want to change the player color on them so I have a map of associated colors
The only thing is that since I converted the assets to png first the pixel values have slightly decayed
 
Oh. Hm.
Is there a way to make a shared_ptr who's ref count is already greater than 1?
 
That would be invalid
 
Xeo
@ThePhD XY
 
I have a reference to a resource.
 
If you have one shared_ptr with a refcount > 1 then you have a leak
 
11:37 PM
That resource is already owned.
 
@ThePhD Whaaaat - you are trying to synthesize a raw pointer from a shared_ptr?
 
@ThePhD &
 
Xeo
let him try to explain atleast, before throwing suggestions at him
 
ModelDescription Load( IO::Stream& stream ) { // Does not own the stream
	IO::TextStreamReader reader( stream ); // only takes shared_ptr<Stream>
	return Load( reader );
}
 
@Xeo &
 
11:38 PM
enable_shared_from_this?
 
Xeo
@ThePhD That's a mighty bad interface, then
 
I had an interface before that took pointers or references and you optionally gave it a boolean saying "own the resource you're getting"
 
Xeo
Also, wtf is a shared_ptr<Stream> good for, if one reader is gonna consume it?
 
@ThePhD Custom deleter which does nothing IMO. But the real issue is the interface of TextStreamReader which sucks
 
Well.
Now I'm stuck then.
Because Reader may or may not own the stream that it's given -- it's an optional scenario.
 
11:41 PM
OH GOD
 
Xeo
2 mins ago, by Xeo
@ThePhD That's a mighty bad interface, then
 
What have I done now I'm sorry it's nt my fault ;~;
 
You need a god_knows_who_owns_it_ptr.
 
@ThePhD If stream is rvalue, take ownership. If stream is lvalue, refer to it.
 
Well, no, that's not the case. =/
 
11:41 PM
I had an interface before that took pointers or references and you optionally gave it the choice of saying " I want to own the resource you're sending me".
 
why_am_i_so_stupid_ptr
I've never heard of optional ownership
 
You need to get out more.
 
@ThePhD You need to suck less.
 
Hehe!
 
11:42 PM
:c
 
You're reaching Doxygen levels of suckage.
 
Whoa whoa, hey.
That's uncalled for. :C
 
argh, wtf. I have some debug cout <<s in my WndProc, and they work fine...unless I put one in the default WndProc case. then the WndProc prints nothing at all
 
@DeadMG How does that work for a pointer? E.g. Stream is a base class, and can be any number of FileStream, MemoryStream, etc.
 
11:43 PM
I just discovered boost.org/doc/libs/1_42_0/libs/iostreams/doc/functions/tee.html It has changed my life.
 
Xeo
> proposal for more explicit vtable control
 
How do I know when new FileStream( /* */ ) is an r-value pointer or an l-value pointer or something or other?
 
Xeo
Stop writing, start thinking
 
Ell
Night folks
 
11:45 PM
What? Thinking? At this time of night?
 
Xeo
Question: How is it useful for a stream to not be owned by the reader, if the reader consumes it anyways?
 
@ThePhD Don't use base classes and virtual functions.
 
Xeo
> It is also possible to put data elements there, thereby creating the equivalent of virtual static data members (which I am strongly in favor of).
 
    default: {
            std::cout << "DefWindowProc\n"; //how does this break std::cout?
            return DefWindowProc(hwnd, message, wParam, lParam);
        }
 
@DeadMG That's a lot to sacrifice.
 
11:46 PM
@Xeo For me, the real question is what do you want to do with the stream when you're done using the reader.
 
@melak47 It's UB to do output in default cases.
 
@R.MartinhoFernandes wha?
 
Xeo
@DeadMG That's the same question, coming from the other side.
 
@R.MartinhoFernandes TIL o.o
 
@Xeo Probably.
 
11:47 PM
why O.o
 
@melak47 Just messing with you.
 
Xeo
I like how you guys just believe whatever he says.
4
 
BinaryReader binaryreader( stuff );
// .. La la la, hum de dum OH MY GOD WE'VE HIT A BLOCK OF TEXT!
TextReader textreader( binaryreader.Stream() ); // Gotta get some text
// Use it until we've got our text
binaryreader.Read( /**/ ); // Back to the numbers
 
lol
 
@Xeo Hey I assumed he wouldn't be messing around with something so serious!
 
11:47 PM
@Rapptz ...
 
Now he has lost my trust forever.
 
Anyway - I'm late to this thread, and also full of Ruddles County, so just ignore anything I post, or take the piss, or whatever. I gotta sleep.
 
I'm not intuitively certain that there's a reason not to have the reader permanently take ownership of all the streams.
 
Any idea how to generate lakes?
 
11:48 PM
Come on, it was way too ridiculous.
 
@Rapptz that's a net win. If the trust was ill founded, you'd better be without it...
 
Dams.
 
@R.MartinhoFernandes Agreed
 
Haha I'm just kidding.
 
Right
 
11:48 PM
I tried to think about how it would work with it being UB though.
But couldn't make heads/tails out of it
 
@Rapptz me too. For 2.5 brief seconds. That's mainly because I happened to just switch to this tab. Back to youtube again!
 
Xeo
> Interesting thing: aside from various references to the values created by <random>'s distributions as "numbers", nothing in the formal concept prevents a distribution's result_type from being std::string. Therefore, this basic algorithm is pretty much a string_pattern_distribution where the pattern is the param_type.
TIL
 
Hm.
Guess I'll just have to ditch new.
 
And figure out some better way to have polymorphism on this thing.
 
Xeo
11:50 PM
Anyways, time to sleep. G'night
 
@ThePhD I thought you knew better by now.
Damn you Markdown.
 
Haha.
 
@ThePhD what thing
 
:b
@Xeo Niiight.
 
Xeo
Also, fuck open windows and bright monitors at night :|
I'm getting assaulted by insects.
 
11:51 PM
mosquito infestation. I recall this...
 
@melak47 Stream.
 
@R.MartinhoFernandes Should have used a ZWS.
 
Insects don't seem to be a problem on the 9th floor.
 
@Xeo just press the close button on all windows. and put on a dark wallpaper.
 
Oct 17 '11 at 20:11, by Johannes Schaub - litb
today I left the lamp on when I left my flat and the window open -.-
@Xeo I even proposed a 'solution' chat.stackoverflow.com/transcript/message/1691589#1691589 ... :|
 
11:55 PM
Hm.
I'm not sure how to deal with this.
With polymorphism in the way, the package is always getting contaminated. =/
 
Is this about that loader thingy?
 
@Rapptz I saw that.
 
Me too, decided to share since I stumbled upon it again
 
It's crazy how well people can do that.
 

« first day (997 days earlier)      last day (3952 days later) »