« first day (1793 days earlier)      last day (3168 days later) » 

12:00 AM
-O2 mode of g++ is now trolling me
 
oxygen optimization is my favorite optimization level
 
12:39 AM
-5
Q: How can I delete my StackOverflow account?

AngularNewbieMy feelings are hurt. I never want to come back. Please delete my account. I have tried reading the help, which does not include instructions. I tried talking to the people who were mean to me, but they were only mean more. My grammar and spelling are immaculate.

 
@Mysticial rekt
 
@Xeo Does that mean I'm not supposed to watch this week's episode yet?
 
Xeo
@Mysticial The question is, can you resist? :P
 
@Xeo Fuck you. You already know the answer to that. :)
 
Xeo
:)
 
user1804599
12:43 AM
I want to make a 2D platformer.
 
1:00 AM
@ScottW Your mom
 
1:13 AM
Scott is a mom
 
Everyone in mumble is muted and silent. q_q
Guess I'll come back another day.
Also @ElimGarak save me, OpenGL is a tyrant.
 
Repent and embrace DirectX as your lord savior. :P
 
q_q b-but Cross Platform!!
 
1:36 AM
Whats the C++ way to have a enum of std::pair?
 
....
What.
@Mikhail Elaborate.
Also.
Fucking LOL
> <Item Name="[0]">*((Furrovine::Vector&lt;$T1,4&gt;*)&amp;m + 0)</Item>
Valid expression
> <Item Name="[0]">*((Furrovine::Vector&lt;$T1, 4&gt;*)&amp;m + 0)</Item>
 
@Mikhail Whats a enum of std::pair?
 
Invalid expression.
One space, and the natvis visualizer shits itself.
How to parse whitespace, 101
@melak47 Didn't they have a whitespace parsing error for constexpr as well in VC++?
 
Step 1: remove whitespace
 
@ʎǝɹɟɟɟǝſ Yeah, you can't do that in C++. But I want to have a vector<std::pair<int,int>> MyEnums, where I can access them by something like MODE_A, MODE_B...
 
1:40 AM
Do it yerself. Goddamn foreign freeloaders!
 
@ThePhD like what
 
@Mikhail If they're one-to-one mappable and start from 0, you can do std::vector<int> and just map directly.
 
I still don't understand what has to be accessed with MODE_A, etc...
 
@melak47 Oh, not constexpr. It was exception specifications. If you have noexcept it was different from noexcept[Whitespace]
 
What is contained in the pairs?
How do the pairs relate to MODE_A?
 
1:41 AM
o.O
 
Why have an std::vector?
 
The functions wouldn't be considered equivalent.
 
What are you trying to do?
 
I think? they fixed the bug for VS 2015.
 
1:42 AM
@ʎǝɹɟɟɟǝſ They indicate how many buffers a particular mode requires...
 
You cannot be more cryptic than you are
 
being
 
@ThePhD lol VS
 
What’s an enum to you anyway?
 
bah, might as well just use globals.
 
1:44 AM
... wut.
 
@Nooble wot?
 
Man, I've got these cheeseburgers.
 
enum is a set of values with an associated order to them
they're not necessarily integers
 
How can I associate std::pair items with labels? I'm thinking of a structure with a hidden constructor?
 
if this was an another language than C++, you would just declare them (the values) as pairs
 
1:51 AM
yeah I know right...
 
Otherwise you have to use std::map<MyEnum, std::pair<int, int>>
fortunately it can be const
 
Does MSVC let us assign maps? I don't have the thing on hand...
 
what?
 
If you can't use std::initializer_list, then you can use workarounds for inplace initialization.
 
map<> = {{1,'foo'},{2,'bar'}};
 
1:53 AM
when was the last time you used MSVC?
 
Friday
 
There's even a boost library explicitly for initializing maps
 
I don't bother with that if you can add one line of code more
 
seems like you keep asking "does MSVC do this yet" :D
 
Common MSVC problem
 
1:54 AM
Just use a C-array and pass iterator pair of the array to map constructor
 
That should work with VS 2015.
Also, something strange happened.
I was having a conversation with a lady (we were both sitting in the back of the Python class on the Air Conditioner because there were no more seats) and she thought I was someone she met before.
And when I told her I wasn't, she said something that struck me as strange.
 
Also all the usual caveats with the static variables apply here - static initialization order fiasco, and others
 
"Oh geez, I apologize for messing that up... and any microaggressions I've committed."
 
@ThePhD o.O
 
... What the fuck are "micro agressions"???
 
1:58 AM
if you didn't need the enum value -> thing mapping, you could go for something entirely different, say inline namespace leaky_enum { constexpr enum_thingy<pair<float, string>> = {0x01, {1.5f, "bla"}}; ... }
 
If you use local static variables then you avoid use-before-construct problem, but you don't avoid use-after-destruct problem
the second can also be solved, but I rarely bother with that
 
Wait.
Wait, this is a real term.
@Borgleader It's REALLY a real term:
Microaggression is a neologism which some use to refer to unintended discrimination. Psychiatrist and Harvard University professor Chester M. Pierce coined the word microaggression in 1970 to describe insults and dismissals he said he had regularly witnessed non-black Americans inflict on African Americans. In 1973, MIT economist Mary Rowe extended the term to include similar aggressions directed at women; eventually, the term came to encompass the casual degradation of any socially marginalized group, such as poor people, disabled people and sexual minorities. == Description and prevalence... ==
 
My intuition says that microaggressions are like aggressions, except they're small and/or subtle
 
Confusing me for someone else is a Microaggression, though?
"I'm sorry I'm a human being"?
 
2:01 AM
@ThePhD but that doesnt apply here. You didnt get discriminated she just thought you were someone else.
 
@Borgleader Right, so why did she apologize for "Microaggressions" at the end?
Like some kind of disclaimer clause.
"I'm not racist I promise."
 
user406009
There are valid uses for the term "microagressions". It's just so overused.
 
@ThePhD Maybe shes as awkward with men as I am with women?
 
@ThePhD well, apparently "people she knows" are a socially marginalized group, so she apologized for including you :D
 
Lol. Socially Awkward Women.
There should be 2 global clubs. Socially Awkward Men and Socially Awkward Women.
Then we can mix them together and everyone can understand each other.
 
2:03 AM
or an explosion
 
"You drop right off in the middle of conversation, I do too!"
 
So apparently, we couldn't get fiber up in this bitch. So we opted in for flat mobile net (4G, 150 mbps, shit is flying yo).
 
user406009
@ThePhD I am offended you don't also have a club for copter-kin. You are a microagressor!
 
@Lalaland I guess I'll just make one big club, the Socially Awkward Individuals club.
 
user406009
@ElimGarak data cap?
 
2:04 AM
@ElimGarak can't even get 50 mbps on this landline :[
 
@melak47 What can you get?
 
@Lalaland no cap, but it's a bit pricey
 
and 5 mbps up
 
.-.
25 is great.
 
@melak47 Same.
@Lalaland Yup, especially the uplink is the issue. ISPs like to hog that down.
 
user406009
2:06 AM
What do you need so much data for? Is it shared between a bunch of people?
 
need to be ready for the 8K future
:p
 
STREAMING IN 4K
 
We basically got a deal with our ISP that lets us trigger high speed access with unlimited data on a daily basis, which is cool of them.
 
user406009
8k would be worthless. Eyes have a limited resolution.
 
They told me the same thing about 60 FPS, but I can see the difference.
 
2:08 AM
The human eye can't see beyond 5 hours.
 
Buy a bigger screen, duh.
 
user406009
Did you do a double blind study? The placebo effect is really powerful.
 
The effect of framerate limitations is mostly felt via the input latency it causes.
But it's all about density, the solid angle subtended wrt to the display and how far your head is.
Also, Key and Peele are awesome.
 
hello nerds
 
2:14 AM
Sup Alex
 
Rapptz!
 
yes?
 
user406009
You guys need to swap names and avatars.
 
user406009
See how long it takes people to notice.
 
one is in italic
but which one??
 
user406009
2:20 AM
They might have swapped ownership.
 
user406009
And then binned the swap message.
 
Oh len(obj) is O(1) in python for all the builtins
cool
@ElimGarak not much
 
user406009
Isn't it the same in C++? For string and vector and map?
 
it is
but python is a different language with a different stdlib
so C++ is irrelevant
 
I'm learning python!
Tuples are kinda cool.
 
user406009
2:22 AM
The only language I know with o(n) string length is C.
 
user406009
And fuck c-strings.
 
C++03 lists.
 
It's o(1) if you just include the size on creation.
 
it's O(1) in C for static arrays
auto hello = "hello"; // sizeof(hello) - 1
 
But C doesn't have templated functions where you can pass the size down with the C-array, so you either have to package it in a struct or use 2 arguments.
 
2:24 AM
@ThePhD I should do more Python.
 
Speaking of lists and strings, Haskell.
 
not for arbitrary static arrays :P
 
@Borgleader You know what's better than python, though?
 
@Rapptz haha no
 
guys hop off the python train
 
2:24 AM
@ThePhD Nothing? :p
 
user406009
Python is quite good.
 
@Rapptz I think there's a delicious decay going on there
 
For auto?
 
Forever.
 
@ThePhD Having a lass to talk to in Python class?
 
2:25 AM
I always install python immediately after I get the basics installed (like browsers)
I never know when I need to write a script to do something
 
@Borgleader A GBuffer in C++ with OpenGL. :D
 
rip
 
@JonClements Would I be a bad person to say "C#"?
 
that seems like weird design
on auto's part
 
template<typename T> void f(T) would deduce const char* too
 
2:26 AM
Yeah.
Array decay is brutal
 
Well auto and typename T aren't really the same.
 
and applied before almost everything IIRC.
 
auto already has some fuckery going for it
 
@ThePhD Maybe?
 
well the rules are mostly the same
 
2:27 AM
so tired
 
Long day?
 
meh
you know
pprint.pprint in python is really shitty
 
Well, yeah. It says its own name twice.
 
pprint is the module name bub
pprint is the actual name of the function
point being
I want every brace on a newline
pls
 
it’s mean to mock a stammer
 
2:34 AM
Bah
I can't figure this out with OpenGL.
I guess I'll try another day. I've got OODLES 'n' OOODLES of homework to do.
 
user406009
2:44 AM
This chat can't seem to decide whether it hates OpenGL or DX more.
 
user406009
Ooh, this airport has standing desks.
 
you still at the airport?
 
user406009
Yes.
 
user406009
I'm nearing the 12 hour point.
 
user406009
Halfway done!
 
user406009
2:46 AM
(Or almost)
 
user406009
Stupid TSA made me miss my flight.
 
wait, why?
 
user406009
Wasn't any flights for the next 24 hours.
 
hahah, lalaland is a terrorist
 
user406009
Thank you, I'll be here all day.
 
2:48 AM
free wifi at the airport?
 
user406009
Yes.
 
user406009
Not all is lost.
 
check your mobile actually uses wifi for all the stuff you use
 
user406009
I am on a laptop.
 
Nothing like unsecure networks :D
 
user406009
2:50 AM
I guess I should switch to the https chat.
 
it's on a public chat
 
user406009
@chmod711telkitty My login credentials though
 
too late now
isn't ignorance such a bless? :p
 
Quick google how to make a bomb
 
user406009
Anyways, what's the worst someone could could with my snack exchange credentials?
 
user406009
2:52 AM
Steal all my worthless rep?
 
"how to get bomb on plane"
 
user406009
Lol, running java applets requires like 6 prompts nowadays.
 
user406009
"Are you sure?"
 
user406009
"Are you really sure?"
"Really?"
"You probably don't want to?"
 
google 'how much is a plane-ful of slaves?'
then google 'how to sell plane and slaves to ISIS'
I mean, if you bomb the plane you would die yourself
@lala ?
u there still?
 
user406009
2:59 AM
Yeah.
 
I was worried ... you were taken to some interrogation room
 
user406009
I'm not leaving till 5 pm UTC.
 
so you could have reached there faster by car?
 
@Lalaland just DO IT!
 
user406009
@chmod711telkitty Well, that would require a car.
 
3:07 AM
yeah I think the last time I had to deal with java applets I quit in disgust
 
user406009
And driving from Seattle to Houston would be a bit of a challenge.
 
its doable, not fun though
 
only 35 hours driving isn't it?
 
really?
you're right, I thought it would take longer
still that's like 4 days worth of driving, 3 if you really push it
 
Sep 7 '13 at 19:10, by DeadMG
bomb al-qaeda fertilizer pressure cooker pakistan afghanistan iraq US embassy assassination president
 
3:10 AM
Hahah, that's our puppy!
 
user406009
3:41 AM
I really wish constructors were normal functions.
 
user406009
Cause right now I just have lambda, lambda everywhere.
 
laffo, gawd, the speed, I am in heaven.
 
user406009
@ElimGarak No more buffering for the 4k porn?
 
7.2 MB/s right now. And the funny thing is, I still have 50/10 mbps of landline bandwidth to issue uninterrupted.
 
So whats hot in the C++ world?
 
3:54 AM
Modules.
 
lol
 
Ranges
Concepts
 
Concepts has been around of the last 10 years
English breaking
 
Concepts are boring.
 
Yeah.
 
3:58 AM
And really not all that great.
 
They're the language equivalent of vaporware.
 
Their best use is that the error messages suck less.
Other than that, there is just going to be a flood of people putting shitty concepts on their crappy templated code
 
They help with C++'s lack of Java style interfaces. Why they are called Concepts is beyond me.
 
But that's not really exciting.
 
Does it really help?
It's a compile-time thing. Even if you don't have to type template <typename T>, it's still a template. You can't compile a Concept function into a cpp file and then expect to use it with X type whenever you like.
 
4:01 AM
Thats probably true, one wonders if they have the same compiler limitation to transnational units.
 
Chances are, yes.
 
user406009
It would be cool if you could do SFINAE on concepts.
 
What I'm most interested in is @AndyProwl's interface lifting, where you create a type that has the functions you want and then you basically say "anything that satisfies this, put it in a std::any and then take care of the shitty boilerplate that lets me call it".
Because then you can ACTUALLY compile that.
 
user406009
That would be sorta cool. Right now there's a bunch of boilerplate for that.
 
Yeah.
I don't know what the keyword or type name would be, but
interface_of<SequenceContainer> that would allow me to handle any sequence container
 
4:06 AM
@ThePhD Protocols.
 
and compile it
would be the most amazing thing in the world
 
The boilerplate being inheriting from a structure?
 
From that structure or concept
 
user406009
And actually it wouldn't be done with std::any. The "C++" way of doing it is with inheritance and virtual method calls. There's a really good video about. Let me see if I can find it.
 
@Mikhail The boilerplate is writing out a virtual push_back or pop_back, and then storing the REAL type in an any or what have you, and then overriding to call each and every one of those functions.
That's really a waste of time.
 
Idk, I have a ComputeInterface class that my producer consumers inherit from...
 
I've just used my DVD drive for the first time in 4 years. That thing spins insane like.
 
user406009
You should hear the sound of a dying hard drive.
 
user406009
It would be like music, except that its the sound of all your data going away.
 
The data transfer rate is hilarious, how did we live with these things for so many years?
 
4:11 AM
The storage business has a perverse incentive to have shitty drives. For example, the WD Green line of drives will head park like crazy, which is never the right strategy.
 
user406009
@ElimGarak The cost per disk is hella cheap though.
 
user406009
The cheapest way of sending someone data is the ~10-20 gigabyte range is still DVDs.
 
user406009
And it might be the fastest, depending on your upload.
 
@Lalaland 0.01875 USD / GB here.
 
user406009
Actually, I'm wrong. So tired here, I thought that was 0.1875 USD/ GB.
 
4:15 AM
Wonder if the next generation of consoles will have optical drives at all.
 
user406009
Slowly running out of steam.
 
user406009
@ElimGarak Aren't new games like 20 GB or something?
 
@Lalaland GTA V is 60+.
 
user406009
That's a long time on your average internet connection.
 
Others are 40-60. But I guess fiber is reaching more homes every year. And the next generation of consoles is about 2020.
 
user406009
4:17 AM
It would be faster for me to hop in a plane. Fly home to Los Angeles. Visit my favorite Frys. Pick up the game. Visit the family. Walk the dog. Fly back to Houston. And then install the game.
 
Damn, I didn't know things were that desperate where you are (or by choice?). I think it was below average when you gave us the Speedtest.
 
user406009
I think it's like an hour a GB.
 
user406009
60 GB is 60 hours.
 
user406009
That's a lot of time.
 
Worst case scenario for me is 10 GB/h. :D The only thing I could use more of is the uplink. Currently stuck at about 25 mbps (which is about the worst case scenario I mention).
 
4:27 AM
Isn't it wonderful that airports now have power supplies, otherwise we could say goodbye to lala soon 😋
 
user406009
I had 12 hours of total electronics battery with me anways.
 
user406009
3 pieces of electronics + 3 battery packs.
 
user406009
I would run out of data first.
 
user406009
Only 2 GB left on my phone for the month.
 
user406009
I always carry lots of power with me on trips.
 
4:33 AM
Don't you have some sort of option to activate unlimited data transfer for a day?
 
user406009
Nah, they just charge you per GB IIRC.
 
We've got this option to get 4G LTE for a day, unlimited transfer. But I believe it is limited to about half of the 4G output (75 mbps)
 
user406009
As long as you stick to text, you almost never hit the caps.
 
Basically, on car trips, we connect a phone to the car and activate that option. The entire car's crew can enjoy whatever they enjoy. Worst case scenario in shit's creek towns is about 2.5 MB/s.
 
user406009
It's not the same unless you slowly download/rip your videos in advance.
 
user406009
4:37 AM
Helps build up to the trip.
 
But don't pick up the phone while it is being used, it's hot like hell. We actually put it in that mini freezer thingy. Viva la personal hotspot.
The best thing about high speed mobile networking is that any and all 4K porn transmission streams permeate all the local religious and conservative establishments.
 
haha hotspot. punny
 
Here we go, long mode active.
 
user406009
5:00 AM
Yay! Halfway done! 12 hours spent, 12 hours to go. I think I'll celebrate by going to that vending machine I saw on the other side of the airport.
 
Met anybody interesting at the airport? :P
 
user406009
You don't tend to meet interesting people when you stare at your computer screen the entire time.
 
user406009
Just like real life.
 
user406009
Except you guys I guess.
 
lol, inspecting state with gdb commands. Oh, SASM.
lol, y is TextEdit still a thing. Well, less shit than Notepad.
 
user406009
5:18 AM
Sublime is so much better.
 
Xeo
6:27 AM
mornin
 
user406009
Good morning.
 
Mawning. Lalaland, what are you doing at the airport? It must be mind-numbingly boring.
 
user406009
The Internet is full of marvelous things.
 
user406009
I also took a nap.
 
You can do that safely? Y u no watch planes land?
 
user406009
6:34 AM
A very light nap. Next to other people.
 
Xeo
@ElimGarak Just sleep with your head on whatever is valuable
 
user406009
There are no flights right now.
 
user406009
Too late.
 
user406009
I also walked through the entire airport a couple of times.
 
Why did the TSA stahp you?
 
user406009
6:36 AM
Checking out all the little shops and restaurants.
 
user406009
They didn't stap me. The line just took 1 hour and forty minutes.
 
user406009
People around me also missed their flights.
 
user406009
I mean, I got to the airport two hours before my flight.
 
user406009
I guess you need to get there 3 hours before in the US now?
 
user406009
Oh well, I'll make it home eventually. 10.5 hours till my flight.
 
user406009
6:41 AM
At least now I get to see the full 24 hr chat cycle.
 
Work on StarGazer :P
 
user406009
There's not much to do with that. Unless someone can convince an admin to reenable it.
 
Re-enable it? What do you mean?
 
Blunt Talk new episode. Still fantastic.
 
user406009
@ThePhD they killed StarGazer by removing user names from star events. If they add those user names back, it will immediately start working again.
 
user406009
6:47 AM
11
A: I'm seeing stars! (I can see who starred a message and so can you)

balphaI have always considered stars to not be secret (they aren't secret on the Q&A sites either, where they're called "favorite"). I can see how some people make that assumption though, since we don't really show "who starred this" in a dedicated UI, mostly because, well, we never created such a thin...

 
@Lalaland Wow, RIP the dream.
 
user406009
The bug was there for longer than a year.
 
user406009
Just took them 14 days to fix it post launch.
 
Sup Tony
 
7:05 AM
Hiiiii Tony
 
7:23 AM
Wait a second
Shouldn't I be sleeping right now?
 
It's a braWe new world.
I... I just died in your arms tonight. It must've been something you said.
 
8:01 AM
I've already reworded this question, and still its on hold: stackoverflow.com/questions/32545962/…
 
Started thinking about the fact that we blink. Now I can't stop blinking. Help.
 
@ElimGarak and breathing
 
8:16 AM
Okay C++ design advice, I got something like:
`typedef IOWork<void*> IOWork_External;`
`typedef IOWork<std::unique_ptr<void, MemoryQueue_D<void>>> IOWork_Internal;`
How would you guys convert between these two types...
 
@Mikhail I don't know how to explain or clarify my question any further. :/
finding the corners seems to make sense.
 
@edition For example, I have data in the following format ??? and I want to convert it to the following format ??? in both cases you show the format. I think you need to think about your problem more, there are bunch of really messed up stuff. For example, you appear to want a 3d mesh but the SVG file you show is 2D...
 
@Mikhail but I specified a class that I would be using to resolve that issue.
@Mikhail I don't want a 3D mesh.
SVG is 2D.
 
@edition Your best bet is to explain your problem in code, with how you are trying to use the specific library. Or to go the web-board for that specific library.
 
@Mikhail Oh. I see. :/
 
8:31 AM
@edition But honestly you must be on crack if you expect people to understand what you are asking, let alone to help.
 
oh, your right. Its very unclear what I am asking.
well, I think the question may have to be deleted.
oh no, I found a way of fixing it :)
fixed :D
almost
 

« first day (1793 days earlier)      last day (3168 days later) »