« first day (1284 days earlier)      last day (3661 days later) » 

user1804599
9:00 PM
Well, problem solved then. :3
 
user1804599
Error.
 
I'm asking this way because I want to know if I'm the only confused person.
 
user1804599
Wrap<Foo> has no constructor that takes a Wrap<Foo>* as its argument.
 
@rightfold for which statement(s)?
 
user1804599
9:03 PM
Line 27.
 
should definitely error
 
@rightfold oops
 
    Wrap<Foo> wrap_ptr = &wrap_obj;
 
user1804599
You want Wrap<Foo>* wrap_ptr = &wrap_obj;.
 
user1804599
Also auto or fuck you. :v
 
9:04 PM
The thing is, that I expected operator-> forwarding to be more flexible than it is.
 
@StackedCrooked also error
 
note that it's equivalent to *(stuff.foo()) which you don't have foo
 
@StackedCrooked that would be confusing
not flexible
 
I don't think it's confusing
 
9:06 PM
and a poor design choice as well
 
@Rapptz ok, like that it makes sense
 
user1804599
Windows y u no #!. :(
 
@Rapptz it's not confusing that operator-> of a T* actually calls T::operator->?
 
user1804599
Not that it would help much, since all shebangs use Unix paths. :P
 
Not even a little
If you'd know what operator-> actually is, then it makes sense.
 
9:08 PM
no, it does not
 
yes, yes it does
how do you think operator-> overloaded works?
 
T* x = ...; x->y should call T::y not T::operator->.
 
#define breakable_if(X) for (bool breakable_if_var = X; breakable_if_var; breakable_if_var = false)
 
I legitimately think you're confused Jefffrey
 
9:10 PM
I legitimate think you don't understand what I'm talking about.
 
You're the one who's confused.
 
@FredOverflow epic win.
 
because T* x = ...; x->y; calls T::y not T::operator->
 
That's what he said
 
user1804599
@FredOverflow use a fucking goto.
 
9:11 PM
@Rapptz ...
 
@CatPlusPlus He said "should call", which it does
 
user1804599
> Perhaps you should refactor and encapsulate more code into classes that would take care of the leveling up process and manage the player health ect?
 
He was discussing the hypothetical of this being true being a confusing behaviour
 
user1804599
:lol: refactoring control flow into classes
 
I refactor my control flow into ice cubes
 
9:12 PM
@rightfold That's the 3rd time I've seen that suggestion
 
@Rapptz we are obviously on two completely different universes
 
user1804599
I love ice cubes.
 
Then just drop it and move on
 
Agreed.
 
user1804599
@CatPlusPlus How do you know about all the tools like Fabric and YouTrack and Puppet and whatnot?
 
9:14 PM
The little voice in my head told me
5
 
lol
 
user1804599
> No computer restart is required, however your browser or application will need to be restarted.
 
user1804599
lol Java update
 
user1804599
“your application will need to be restarted”
 
Seems logical
 
9:14 PM
@user3382670 This has been the sixth time I have cleaned up the mess that your questions contained, in about a month time. Yet, every single time you post a new question, it contains the same annoying errors. If you can't use the information you're getting in the answers, maybe you should consider abandoning the project. This has been the last time I've made up a definition for parameter_strings for you. — sehe 1 min ago
 
@FredOverflow This guy is in dire need of a state machine.
 
We are not the only ones who can write self-contained example programs. You could have copied one from any of the answers you've received. Not doing so indicates extreme laziness or incompetence. It's okay to learn, but if you can't manage asking questions in a fruitful manner you're simply aiming to high. (I hope you don't actually store pincodes unprotected in an archive.) — sehe 23 secs ago
 
user1804599
How the fuck does it know that “my application” depends on Java?
 
user1804599
(It doesn’t.)
 
I'm done with that user ^
We need a block/ignore list on the main site. I think I'mma downvote some of his questions now.
 
9:16 PM
@rightfold I recently tried using goto in a few situations and often end up with compiler errors because I was jumping over variable declarations (even when jumping beyond its last point of usage). Fixing this would require putting the variable and its usage in an explicit scope. And that negates any syntactic brevity that goto would have gained me.
So goto sucks.
 
user1804599
@sehe “Next time in Divorce: sehe breaks up with user3382670.”
 
@StackedCrooked Hmmm? Only in switches, a.f.a.i.c.t. (or with for loop-vars?)
 
user1804599
Ninja is so awesome. :3
 
@rightfold I fully don't get what brings these people here.
 
@sehe You can't goto over definitions
 
user1804599
9:17 PM
Teachers tell noobs to go to Stack Overflow for questions (at least mine did).
 
Hmmm. Definitions? Declarations??
 
Definitions, otherwise scoping and ~raii~ would be broken
 
@rightfold Yeah, well, it's not noob material, AFAICT. Boost serialization. Mmm.
 
user1804599
@sehe goto x; int x; x:; is illegal, as is switch (x) { case y: int z; case Ω: }.
 
user1804599
(Which letter other than Ω comes after Z?)
 
9:18 PM
ż
 
user1804599
:D
 
@CatPlusPlus Mm. ISTR definitions would just reinitialize vars, and destruct first when going back to before the declaration point.
 
Nope, it's straight up ill-formed
 
browsing gamedev.net is worse than browsing SO questions tbh
 
user1804599
9:19 PM
@FredOverflow It uses C-style arrays. It is not correct.
 
Why would you ever browse gamedev.net
 
@Rapptz I don't know why, but I love browsing gamedev from time to time :)
typedef vector<shared_ptr<SmallObject1>> ObjectList;
ObjectList * list1 = new ObjectList();
> Why all the pointers? Why is your vector not simply of type std::vector<SmallObject1>? And why is the vector itself a pointer?
 
Stahp :D
 
@ThePhD I mean AA for Ambient Occlusion; I can't get any decent results without sampling ~100+ times with multi-jittered
 
> They Are all pointers so that way I can share the objects with multiple lists (Display Lists, Collision lists, etc...), and the vector being a pointer so I can reference it to multiple objects that need the list.
 
9:22 PM
the problem is that I need to sample an entire half of a hemisphere; so there's plenty room
with random and / or jittered samplers, I need ~500+ samples : - /
 
user1804599
Today I thought a colleague about passing a delegate to EnumChildWindows from User32.dll in C# and he was totally amazed that I knew how this worked.
 
> C++ std::move() vs std::memcpy()
what the hell...
 
user1804599
std::move has an overload.
 
user1804599
Which is a generalised form of std::memmove.
 
Oh, for some reason, one of my favorite threads about compression got bumped. I'm eager to find out if there are new developments :)
 
9:24 PM
@CatPlusPlus coliru.stacked-crooked.com/a/f869350a1e3ee53e /cc @rightfold @StackedCrooked
 
user1804599
That may be the source of the confusion.
 
Yeah well. Don't do that then :)
 
@sehe hm line 27 works..?
 
@StackedCrooked it all works
 
@rightfold it's an algorithm. I wouldn't dub it an overload of the std::move value-category cast (technically, yes it is)
@StackedCrooked Cat already pointed that out. My point is, you can easily arrange the declarations/initializations such that there is no problem. The compiler effectively defines implicit scopes starting at each declaration.
2 mins ago, by sehe
Yeah well. Don't do that then :)
 
user1804599
When I find out any of your addresses, I’m going to order lots of crap to it.
 
No need to define extra scopes, IMO - unless you're in flow control constructs like for/switch
 
user1804599
@sehe RAII.
 
user1804599
Although arguably function may be better.
 
9:29 PM
@rightfold Hmm? What are you talking about? RAII Is prevalent here. No need for explicit scopes.
 
user1804599
X x;
{ std::ifstream s(blabla); something(x, s); }
x.blabla();
 
13 mins ago, by StackedCrooked
@rightfold I recently tried using goto in a few situations and often end up with compiler errors because I was jumping over variable declarations (even when jumping beyond its last point of usage). Fixing this would require putting the variable and its usage in an explicit scope. And that negates any syntactic brevity that goto would have gained me.
 
user1804599
You may not want to keep the file open during lengthy x.blabla() operation.
 
yes? what topic are you on? ^^
 
user1804599
2 mins ago, by sehe
No need to define extra scopes, IMO - unless you're in flow control constructs like for/switch
 
user1804599
9:30 PM
I thought you were talking about code in general. :P
 
user1804599
This reminds me.
 
Mmm. Maybe. Stacked describes one. Yes. But, in essence, you could probably reorder the declarations so that it's fine
@rightfold wokay
 
user1804599
There was one guy in my class who actually knew what if (c); { f(); } did, lol.
 
unconditionally executes f
 
@sehe I don't think you can always rearrange things easily. (However, I don't have an example ready due to lack of goto experience.)
 
user1804599
9:32 PM
Error when compiling with clang. :D
 
Error? That's non-comforming
 
user1804599
@sehe There is no such thing as not -Wall -Wextra -Werror -pedantic.
 
... sigh
 
user1804599
main.cpp:3:11: error: if statement has empty body [-Werror,-Wempty-body]
    if (c); { f(); }
          ^
main.cpp:3:11: note: put the semicolon on a separate line to silence this warning
 
@CatPlusPlus so... I rerolled a deep elf earth mage like million times, just dying on the first floor over and over again; and now I've found a super-early amulet that makes 50% of damage dealt to me deplete my mana instead; this makes things very easy - the game is fun
 
user1804599
9:34 PM
I wonder what it does when a macro there expands to a semicolon.
 
@ScarletAmaranth Guardian spirit is bad for casters
What you want to do is run away
And always rest to recover mana
 
Lol revisiting the older answers by that lame help leecher:
 
Don't engage in melee
 
9:35 PM
it's not always possible; they can hit me when I press backwards and they're "close enough"
 
If you want to play a strong pure caster then pick Conjurer background
And get BATTLESPHERE online asap
 
user1804599
Well, so when I get this HTML import shit done tomorrow (fuck iframes, seriously) I’m gonna delete Rakefile and party!
 
I like casters; even tho they're brutally hard in that game
 
user1804599
I should do a dance like the Install Gentoo guy but with the title Delete Rakefile instead.
 
They have really weak start
 
user1804599
1 min ago, by rightfold
hihi http://coliru.stacked-crooked.com/a/582b998601f2497f
 
guardian spirit makes it easier I daresay
 
@rightfold now now
 
@sehe: could you please look at this — user3382670 Apr 15 at 17:06
The guy is really hilarious
 
9:36 PM
Only until you run out of mana and die because you have literally no offence
 
yeah I guess so; well, at least on the first few floors it's alright - and it's not cursed so I can just unequip
 
Always train offence first, it's your best defence in the earliest game
 
@StackedCrooked No such file or directory - /root/coliru/Web/../Archive/fe1dc960b4cc3e470/main.cpp
 
user1804599
@sehe KEK
 
fair enough, thanks
 
user1804599
9:37 PM
No such file and directory
 
And play WebTiles :v
 
@sehe hmm. weird
 
user1804599
And since when are directories not files?
 
@CatPlusPlus I do that, ye
 
Then gimme link
 
9:38 PM
how?
 
user1804599
@StackedCrooked bleem roebie
 
Server and nick
 
Not sure if it was posted before.
 
@Rapptz Of course. I think it was Jeffrey
 
9:39 PM
@Rapptz Repeatedly.
 
neat
 
user1804599
 
@CatPlusPlus dis epic weapon : - /
 
@sehe the 0 at the end of the url must be removed. my bad.
 
ah
 
@rightfold why else would you be updating java? :v
 
user1804599
Dunno.
 
user1804599
The popup suddenly was there.
 
user1804599
Piece of shit.
 
@sehe nope
 
yayy :D
 
Xeo
asfjkghjkaf, why is it not possible to just friggin reset an optional without any assignment possibly going on?
 
user1804599
globule.findMapping({src: '*.coffee', srcBase: 'static/js', destBase: 'build/js', ext: '.js'})
#=> [{src: ['static/js/a.coffee'], dest: 'build/js/a.js'}, {src: ['static/js/b.coffee'], dest: 'build/js/b.js'}]
 
@sehe I already mentioned in my previous post, and I put the link. No-one gave me a sufficient answer to my question there. — HA-AS 2 mins ago
 
user1804599
Oh this is awesome.
 
9:45 PM
Tonight is zombie attack...
@Xeo the reset call was deprecated, but I don't know why
 
@Xeo ..?
 
user1804599
FUCK YOU GOOGLE INSTANT
 
Xeo
@Rapptz When you assign an optional, and it is engaged, it will assign instead of destroy and reconstruct.
and apparently, the .reset() method does the same. and is deprecated. according to the docs
 
op = nullopt; op.emplace(...); doesn't work?
 
Xeo
Can't use an in-place factory because I want to reset the optional from another optional, where the second optional might be empty
 
9:48 PM
user image
6
 
@sehe the possible duplicate is already my previous post, and no one gave a helpful answer to it — HA-AS 1 min ago
What the...
You keep saying that, as if it is somehow an error that people failed to give you a helpful answer. Posting duplicates is even less helpful. — sehe 12 secs ago
 
Xeo
@Rapptz the assignment portion is not dead code, the compiler still has to go over it
and if the assignment operator of the object in question is deleted, well
 
it's assigning to nullopt though
 
@EtiennedeMartel wat
 
> electricified
 
9:50 PM
Looks safe.
 
Xeo
@Rapptz It's a run-time check though
 
@EtiennedeMartel that is one low quality image
 
@EtiennedeMartel dafuq
 
> discreetly
 
user1804599
Tony it’s your new home.
 
9:51 PM
Some people have an interesting definition of "discreet"
 
user1804599
Wear Google Glass for porn while you’re in it.
 
dyld: Library not loaded: /usr/lib/libc++.1.dylib
I messed up my computer.
 
user1804599
dyldo
 
> build it in 18 easy steps
erm, yea right
 
This chat is the only thing that works. I can't start any new apps..
 
9:52 PM
that's the only thing you need
this chat
 
user1804599
@TonyTheLion Only 18 steps? Outperforms C++!
 
user1804599
@StackedCrooked ahahhah
 
user1804599
Ik had dat ook een keer.
 
user1804599
Had ik libc++ geüpdatet in OS X en toen kon ik geen programma’s meer openen.
 
Ctrl + Alt + Delete
 
user1804599
9:53 PM
You can reset it in recovery mode, though.
 
user1804599
If you still have the original. :v
 
user1804599
Otherwise it’ll be a system reinstall for you.
 
I still have my old mac.
 
Inb4 OSX is terrible
 
user1804599
OS X is nice.
 
user1804599
9:56 PM
I should change my name to slutfold.
 
yes you slut
 
user1804599
:3
 
no, change it to rightslut
 
hai
 
user1804599
9:57 PM
hai
 
user1804599
Dat shark.
 
Xeo
auto updateCache = [](auto& c, auto& xxs) -> cache_t& {
    if (auto v = xxs())
        v = boost::in_place(*v);
    else
        c = boost::none;
    return c;
};
hmpf
so verbose
but in_place seems to be the only way I'm able to bypass the assignment shit
 
no braces on if statement :<
 
10:03 PM
what is it with you guys and these low quality jpg images
 
@Rapptz ask the imgur OP
 
Xeo
@Rapptz I don't want it even more verbose
 
@Rapptz "low quality jpg"? Sounds repetitive.
 
don't make me ruin your joke!
I'm too lazy to actually
Oh today is Earth Day
 
Xeo
So I was wondering why the updateCache thing wasn't working
 
10:09 PM
that explains why everyone at work was so weird
 
Xeo
    v = boost::in_place(*v);
well, genius
 
lol
 
@EtiennedeMartel couldn't you embedd a high quality PNG in a JPG's metadata? :v
 
user1804599
@Xeo I wanted to ask why you assigned to v, but I thought it was probably an idiotic question given you are way better at C++ than I am.
 
you're an idiotic question.
 
Xeo
10:10 PM
No, that was just me being an idiot.
 
Idiot overflow
 
> TIL Dr. Gay Hitler, son of George Washington Hitler, was a local dentist in Circleville, Ohio, and served the community from 1922 through 1946. Many roads in the area still contain the word 'Hitler' through this family.
Dr. Gay Hitler sounds like a cool name
 
user1804599
Sounds like a mad scientist from a sci-fi movie.
 
user1804599
The “Dr.” is what does it.
 
Hey scrubs come learn how to play Crawl badly crawl.lantea.net:8080/#watch-CatPlusPlus
 
user1804599
10:16 PM
No.
 
user1804599
Fu.
 
no
 
it's pretty fun
 
user1804599
As in I’d rather fu. <3
 
user3010322
@ScarletAmaranth You're going to a level far beyond my knowledge. Good luck out there.
 
10:17 PM
@ThePhD soft shadows from AO -> 100 samples tho
 
user3010322
Yeah, way beyond anything I could ever do.
 
even this is SLIGHTLY noisy
 
@ScarletAmaranth Specular on the red ball is broken.
 
@DeadMG is it?
 
yep.
 
10:18 PM
how come?
 
user1804599
Broken by design.
 
because
the specular has a clear circular edge.
the specular on the blue ball fades
 
oh ye, I don't do dynamic range thing, on overflow I don't normalize, just saturate
mmm
well, this might be a problem with my directional lights then
 
user1804599
Spectacular.
 
@rightfold fixed (copied the files from recovery partition over to my disk)
 
user1804599
10:29 PM
Nice.
 
hopefully there are no subtle version conflicts or anything :)
lately homebrew got much better than macports
 
user1804599
Reinstall OS anyway.
 
Xeo
It started out as some weird timekiller at work
 
user1804599
Meh, not nearly as useless as my Boost.Preprocessor quicksort.
 
Xeo
Well, I just didn't like Bartosz' thunk thing, and I like my lambdas
Of course you can't actually do the interesting stuff of consing to a list :D
 
user1804599
10:44 PM
Fuck, 0% battery.
 
user1804599
Just when this awesome song started playing.
 
user1804599
Bye guys! <3
 
haha! he's on battery power
 
user1804599
Gotta sleep anyway. vOv
 
@HA-AS Cheers. I appreciate the feedback. On SO it's customary to vote (see help) "thank-you" comments are generally avoidedsehe 10 secs ago
muhahaha. I'm not easily satisfied
Don't fall asleep now
that would be a waste of time
@ScarletAmaranth something really quirky about that horizon. Perhaps just the interference with the ball circumferences
 
10:52 PM
@sehe mmm; I find it difficult to test this stuff, I usually just render something and take a look whether it looks good : - /
 
It does look good. The composition is... well artistics come into play
 
also compilation takes like ~40 secs and raytracing extra 20, so it's really annoying to just rapidly play with scenes
(stupid AMP takes forever to spit out compute shaders)
 
user3010322
I'm pretty sure for my slim scenes it takes me like at least 2 minutes to compute ti with 3 spheres and a plane, so.
 
user3010322
You're doing just fine.
 
user3010322
My latest abomination with no refraction looks like this:
 
user3010322
10:55 PM
 
user3010322
I don't really like the reflections though?
 
user3010322
They make me sad.
 
if I turn of ambient occlusion, I can run stuff at 30fps
but soft shadows are too pretty
(I run on GPU tho)
 
user3010322
I multiply reflections by the material's color
 
user3010322
And it... sort of makes sense?
 
user3010322
10:57 PM
I mean, I'm not sure if I had a red ball with mirror properties
 
user3010322
If that's how the reflection would look
 
@ScarletAmaranth correct me if I'm wrong, but isn't AO supposed to only apply to the ambient light term? (i.e. no AO in direct light?)
 
@melak47 yes, it applies to ambient light term; and it throws soft shadows
 
@ThePhD depends on your material. metallic surfaces tint the reflection, but lacquered sort of surfaces don't really
 
user3010322
And what about glass surfaces?
 
user3010322
11:00 PM
They usually just tint like metallic surfaces, right?
 
uh
no? :S
 
user3010322
Meow.
 
refractions maybe, but not reflections
 
user3010322
I see.
 
Critical angle problems.
 
My pizza is melted on the outside and frozen in the middle. I'm too pissed to operate the microwave right.
Nothing can beat the old 'two knobs' design. The multi-pushbutton UI is just shite.
 
protip: get less pissed next time :P
 
@MartinJames two knobs? my microwave only has one: duration :S
 
@ThePhD You're back!
 
user3010322
I guess.
 
user3010322
11:18 PM
You have a shiny new avatar.
 
but your name is still not Blogreader :(
 
boredleader
 
Blorgbeard
 
Wide has virtual functions now
 
neat
 
user3010322
11:21 PM
 
user3010322
This si what happens when I turn on refractions
 
user3010322
Why. ;~;
 
are you working on an N64 engine? :^)
 
@ThePhD I guess...HAL can't let you do that? :/
 
@ThePhD oh my god you're worse at this than I am; and I am pretty horrid :)
 
11:23 PM
@ThePhD Err.. something derped with red?
 
> and especially never ever put templated functions or operators into the same namespace as a user-defined type
 
@DeadMG Im::IncrediblyObese(Sender:WideObject); override;
 
@StackedCrooked ... wut
 
That's kinda severe.
 
@ScarletAmaranth This is my winning character btw dobrazupa.org/morgue/CatPlusPlus/…
Gargoyles are hilarious
 
11:28 PM
 
@StackedCrooked I really don't see why they would "prescribe" such a rule
 
probably spotty compilers back then
 
that doesn't make any sense
v.begin() turns an Iterator
Iterator + n will never ADL into calling the N UDT
Oh wait I misread
never mind me
 
fuck
sleep fail.
first time since I started taking amitriptyline :(
for some reason the higher dose feels like it's less effective, maybe it's just all the chocolate and stuff I've eaten over Easter
 
11:47 PM
@melak47 lol
 
user3010322
@Rapptz Ha ha har.
 
:>
I should work on that Lua C++ class binding thing.
 
user3010322
After I'm done failing, sure.
 
> How do I, as a prostitute, file my taxes?
lol
 

« first day (1284 days earlier)      last day (3661 days later) »