« first day (963 days earlier)      last day (4003 days later) » 

8:00 PM
@DeadMG dogggy dooog how's life!?
still a student?
 
wat man, I left university a year ago
 
wow
interesting
and what ur doing now?
 
sick
 
@Nils worked on some project
@DeadMG mark zuckerberg, is that you?
 
what the fuck is wrong with you
 
8:04 PM
plonk the bastard!
 
hahaha
 
all of them.
 
@DeadMG sry but I have not paid attention to this chat for quite a while, just wondering..
 
user142019
So the GC mallocs klass->instance_size bytes, inits vptr, calls klass->constructor which does placement new for built-in types or whatever LLVM generated for non-built-in types, and when the GC collects it it calls vptr->destructor which is kind of the same thing.
 
user142019
I should look up strict aliasing though.
 
8:06 PM
@Nils Wasn't talking to you
7 mins ago, by DeadMG
well, fortunately for you, LLVM doesn't have strict aliasing unless you ask it
 
user142019
I've heard about it but I have no idea what it is. XD
 
@microsoftarmy you are a very silly person.
 
user142019
@DeadMG what about the static_cast<object*>(someStringPtr) vs string : object thing you mentioned?
 
user142019
That has nothing to do with LLVM.
 
strict aliasing is a compiler optimization based on types
 
8:07 PM
First of all, "visual learners" still have to be able to speak the same technical language in order to get stuff done, regardless of how best you learn.
 
the short is that if you have a T*, there can be no U* that points to the same address unless at least one of them is char, or the types are related e.g. inheritance
 
user142019
I thought it didn't matter if both string and object are standard layout. What if I make object x; first member of string instead of klass *vptr;?
 
that's legal (it was inherited from C)
 
user142019
Ah, then I'll do that.
 
@rightfold AFAIK that only matters for unions.
 
user142019
8:08 PM
Thanks for the help.
 
why not just have string : object?
 
user142019
Oh yeah hmm.
 
user142019
Is string still standard layout when object has non-static data members in that case?
 
you'll have to check Standard but I believe it's virtual functions and bases that prevent standard-layout
 
One thing I keep wondering is how you ppl use typedefs, if at all.
 
8:12 PM
@ShotgunNinja yeah, i'm still at learning phase. not expert or something
 
of course
string can't be SL if ogonek::text<ogonek::utf8> isn't.
and if you want to know if it is then you'll have to deal with robot on that
 
user142019
 
user142019
ogonek::text<ogonek::utf8> is SL on my machine. :D
 
user142019
user image
8
 
For example, for frequently used classes it might makes sense to have a typedef std::shared_ptr<MyClass> MyClassPtr and the same for const shared_ptr and weak_ptr. If you do this in the header file then you will have consistent access to that typedef wherever you use this class, in the implementation files in the headers you still have to type everything..
 
8:15 PM
typedefs really are strictly useful when you want to give a type back to your user
there's no point in typedefing shared_ptr<T>.
that's dumb
 
it saves 7 chars on every use
 
which is utterly fucking worthless when I spend way longer than it would take to type those 7 characters trying to work out WTF is going on
 
so they are not really useful
except maybe for things like size_t
Cocoa has also a typedef for color IIRC
 
as I said
they are only useful if you have information your user does not and you wish to communicate that information to them in the form of a type.
or unless the name of a type is ridiculously long or something
 
then there is something wrong with the name of the type
and we have auto for things like iterators
 
8:25 PM
or it's a very big template.
typedef for shared_ptr<T> is dumb, but there's nothing wrong with typedef for boost::multi_index<keys<X, Y, Z>, and_way_more_arguments, and_some_more>::iterator_type<0>::type
 
user142019
-fmax-errors=1 does wonders in GCC. :P
 
heh
 
Ell
8:43 PM
oh my god. Is is possible for coke to go out of date?
Is it possible that coke is just disgusting now?
 
Both
 
Ell
It's making me gag.
eugh
 
coke, or ... coke?
cause for one to go bad, you'd have to have mixed it with the other.
 
yes Coke can go bad and when it does it can start growing black mold
 
user142019
Huh.
 
user142019
8:55 PM
Oh, needs to be a pointer. Duh.
 
user142019
I am doing placement new wrong! :v
 
@Ell I think so. There should be a date label on the bottle.
 
user142019
Hurray! :D
 
argh
 
user142019
foldr::virtual_machine vm;
auto obj = vm.make_string(foldr::text{u8"Hello, world!"});
std::cout << reinterpret_cast<foldr::string*>(obj)->value << '\n';
 
user142019
9:04 PM
It works!
 
I was playing a game of Starcraft 2, and the other players were fucking preteamers.
what cocksuckers
 
hi
 
Preteamers? WTH does that mean?
Cocksucker.
 
@wilx A pre-arranged team.
 
Preteamers are people who make a partial or full team before entering into the matchmaking queue or game lobby.
 
9:13 PM
Ah.
 
It's unfair because of advance planning.
 
yes
 
To be fair, I do that all the time on League of Legends, but the matchmaker is smart enough to pit teams against evenly-numbered teams, in addition to balancing their ELO.
 
the specific map is about the players turning on each other
so it's a waste of time to play against preteamers
because you think that you have a fair shot to win like everybody else, but in fact it's zero
 
For example, if you have a premade of 3, with two randoms, (a) usually, a premade of 2 fills the rest of your team, and (b) you usually are against another premade of 3.
 
9:15 PM
er, that's not pre-teaming.
 
@wilx That's someone that sucks cock.
 
pre-teaming is where everybody else has the expectation of randomised teams, and, it's a central mechanic of the game for the players to not be pre-arranged.
 
It's unfair because... wait.
 
Well, it's League, so a lot of it doesn't quite apply.
 
if you enter the matchmaker as a team, that's not pre-teaming because you only end up against other pre-made teams.
 
9:16 PM
@DeadMG Fair enough.
 
and secondly
the gameplay of LoL is not based around every player stabbing each other in the back and generally a massive melee
it is based around, well, two teams, the game assigns you a team and you're on that team
there's no questionable alliances, no backstabbing your partners for your own gain, etc.
you win or lose as a team
 
^ I wish more players understood this....
 
whereas in pre-teaming
it's basically "Half the players think that it's a free-for-all, but the other half are actually a team, so the game is effectively decided before it even began unless the pre-teamers are hideously incompetent"
 
@R.MartinhoFernandes lol
Ok. Thank you for the lesson. I have learned something new today.
Next is...
What do you use to edit LaTeX documents?
 
@DeadMG I guess the latter is not that unlikely since competent people wouldn't feel insecure and need to cheat.
 
9:20 PM
eh
what's more likely is that they pick apart the honest players for fun, then fight amongst themselves
 
It might still need a special kind of incompetence to lose, though.
 
also that
 
@wilx On windows? I use LaTeX a lot and I just use ProTeXt
 
Ubuntu.
 
9:21 PM
@Rapptz: Ok.
 
anyway, I'm not saying that games which are free-for-all cannot be played in a team fashion in a way that is fun and fair
 
@R.MartinhoFernandes: (1) Vim is unusable editor. (2) It is too low level for me.
 
but what I am saying is that you need to arrange it in advance... obviously a team vs people who don't even know the other players are a team in advance is a waste.
 
I have the opposite idea about low-level, but well.
 
9:22 PM
especially when the gameplay of the map in question involves taking it an hour for the team of "Everywhere that isn't America" to get across the Atlantic to America and kill you.
 
> Atlassian Bitbucket misses you!
wut
 
@R.MartinhoFernandes Yeah you bastard.
Breaking the bucket's heart.
 
@R.MartinhoFernandes: For me, Vim is like assembler. I can use it if I must but I avoid it as much as I can.
 
I like Bitbucket... kinda....
 
I like it too.
Free private repos is cool.
 
9:25 PM
1
Q: writing a program to run another written program

user2457457I'll start with my use case. I am a teacher and I have students writing pretty simple c++ console programs for me. I want to automate grading their programs by writing a test harness for their whole application. When they use cin to ask for input I want to give it. When they use cout I want to be...

where to even begin
 
Xeo
> I am a teacher
...
 
to be fair the question isn't that bad.
The answers are though.
lol
 
Xeo
@Rapptz It's a bad fit for SO, though
 
don't see why
Answerable objectively.
Does feel a bit like "give me the code" though
 
Xeo
Too open ended / too broad
 
9:30 PM
I agree but it doesn't seem like he hasn't put any effort into researching a solution
 
also
 
@Xeo Don't see how to be honest.
Too many solutions?
Possibly.
 
Xeo
No research, no specific problem
 
Blizzard introduced spawning- which basically means that if any of you wish to play Starcraft 2 HoTS multiplayer for free, you can as long as you're playing with someone like myself (or the other guys who have it)
 
Xeo
Really, SO is not a "how do I write this program" place.
 
9:31 PM
> static auto s_hide_key = false; // TODO: at least put it in some singleton
found that in my code
 
so if anyone wishes to try some Starcraft 2 for absolutely nothing, give me a bell (americas or europe)
 
Xeo
@DeadMG Wazzat?
 
gotta go finish packing and get ready for a few weeks in Utah. peace
 
Pups buying souls in exchange for Startcraft.
 
9:32 PM
@Xeo Remember how the old games used to let you spawn copies for LANs, so you could play LAN parties with only 1 copy?
 
Xeo
Not really, but I see where this is going.
 
well, quite a few of them did.
 
How "old" are we talking about here?
 
it's basically the same principle, but replace "LAN" with "Internet"
@R.MartinhoFernandes Er, I knew of a few that did it in like, late 90s. I think it died out after that.
 
9:33 PM
I need to buy a goddamn display.
 
but basically, as long as you're playing with someone who paid for the game, you can play Starcraft 2 for free indefinitely as long as your friend wants to keep playing with you
I figured there might be some people here who were curious but not curious enough to pay a bunch of monies to give it a go
in which case I would be happy to spawn them for a few games
 
user142019
Oh cool.
 
user142019
GMP has UDLs in C++11.
 
FUCK YOU GOOGLE JUST SERVE ME VANILLA VERSION OF THE WEBSITE I DONT GIVE A FUCK IF MY PROXY IS IN FRANCE I DONT HAVE ANY FUCKING USE FOR FRANCE-ENABLED QUERIES
 
Heh.
@R.MartinhoFernandes: Take a deep breath.
 
9:41 PM
At least when I was getting the Germany-enabled queries they could be slightly useful.
 
user142019
Oh.
 
I.e. if I googled some place's name to find out its address I didn't need to add "berlin" after it to find it. That was moderately nice.
 
I believe you can override that localization somewhere in the search settings.
 
user142019
You can like likes these days.
 
WTF
meta-likes
lolwat
 
9:42 PM
@wilx AFAIK only language (which is set to be forcibly English for me; i.e. I don't get the site in French)
But I'll check it again.
I don't want my search results polluted with French wikipedia results and shit.
 
I think I have 0 likes lifetime
 
user142019
> X and Y like that Z liked W.
 
fucked up, that is
 
user142019
Oh. And you can add your mood to status updates now.
 
9:45 PM
Fuck Google's favourite meal.
 
user142019
Facebook is becoming MySpace.
 
The web used to be usable back in the days :'(
 
@rightfold Inorite
 
user142019
Meh.
 
user142019
Fuck reinterpret_cast.
 
9:47 PM
This is the price to pay for getting GEMA out of my YouTube :'(
 
user142019
static_cast is too limited.
 
@R.MartinhoFernandes What exactly did you do?
 
@R.MartinhoFernandes To be fair -- there are easier ways to do that
 
wait
I missed something
 
Oh wait, found it.
There's a link on the bottom right corner that makes it work again.
And sets a cookie so I don't have to do it all the time. Cool.
@TonyTheLion Just set up my browser to use a proxy located in a GEMA-less country.
 
user142019
9:56 PM
Time to implement Array.
 
Xeo
@R.MartinhoFernandes Meh, Stealthy
 
user142019
elements.~std::vector<object*>() do I really need a using/typedef for this? :v
 
dafuq you doing
 
user142019
Trying to explicitly call a destructor.
 
user142019
Oh, .~vector().
 
10:04 PM
@Xeo What the heck to you think that does?
 
Xeo
@R.MartinhoFernandes Yeah, but why manually go through setting a proxy?
Also, you still haven't answered me about the non-existence of std::is_final
 
@Xeo Who said anything about manual anything?
 
Ell
Imagine arbitrary meta likes
People could like an ironic like. Or an ironic like of an ironic like
Ironic has lost its meaning now :L
 
user142019
People on the Titanic were ironic, too.
 
heheh someone made this summary video.
 
@Ell lol
 
Xeo
@R.MartinhoFernandes No wait to test it without compiler intrinsic.
 
Spoilers for the movie Up..if you've never seen it.
 
Xeo
GCC has std::__is_final<> based on its __is_final_class() intrinsic
Dunno about Clang
But it's kinda needed for std::tuple (EBO), you'd think
Clang also seems to have an __is_final intrinsic
 
10:17 PM
Well, unless you have a specific interface, it's worthless for anything other than EBCO, so tuple it is.
If you have a specific interface you can do more, but it sucks not being able to just mimic the interface from a member.
 
Xeo
Yeah
 
Okay, so is LGA 2011 newer than lga 1150?
 
Ell
No
I don't think
LGA 1150 is has well
 
I don't get it did they reduce the pin count?
 
6
Q: More Stars - Userscript that frees up room so you can see more starred messages

SternoSince I've never written a GreaseMonkey script before, I borrowed heavily from this script and basically played around with it until I got what I wanted. So credit to them for helping me get there. More Stars I don't like having my chat window fill the full monitor, but I found that with my pre...

Oh you mean some other pin.
:P
 
Xeo
10:21 PM
I'm also a bit torn about ranked_overload(fs...), since I need to write a perfect-forwarding-etc operator() for it, which screws the basic ordering up and only leaves the ranking (and SFINAE), but I guess that's the only thing that matters anyways if you're using that function
 
user142019
It's 1000k degrees in here.
 
You mean 1M?
 
user142019
Uh well, it doesn't matter whether I say 1000k or 1M since both are the same, so yes, I mean 1M.
 
user142019
I mean both.
 
@rightfold Well, you could mean 1000K
 
user142019
10:23 PM
k, not K
 
user142019
And "K degrees" makes no sense.
 
I don't expect you to make sense often.
 
user142019
Makes sense.
 
(If you want to got that route, "It's 1000k degrees in here." doesn't make sense at all)
 
user142019
It's called an exaggeration.
 
10:25 PM
@rightfold And all the others are called innocent mistakes.
Your pedantry is inconsistent.
 
user142019
My code works!
 
@rightfold nope
 
user142019
It probably exhibits lots and lots of UB!
 
Ell
The best kind of behaviour!
 
Does anybody know of any dual socket 1150 motherboards?
 
user142019
10:30 PM
Not sure how I'm going to implement dictionaries.
 
Isn't dictionary just a synonym for hashmap?
 
user142019
Well I'm obviously going to implement it as a hash table.
 
Ell
@pubby dictionary is the name of the interface I think
 
user142019
I want to use std::unordered_map<object*, object*, hash, key_equal> with custom hash and key_equal but those need to call user-defined functions.
 
you should use a directed acyclic graph
 
Ell
10:33 PM
Could be rb tree
 
user142019
Most likely not a problem since those are just function pointers.
 
user142019
Cannot implement it yet since I have to have method calling working first. :P
 
Ell
Does anyone code in bed?
 
user142019
I am doing that right now.
 
Ell
If so how do you position your laptop?
 
user142019
10:37 PM
  ↓ laptop here
o_/\
 
Ell
I was just trying such but couldn't get my balance right
Also, awesome drawing
 
Xeo
That looks exhausting.
 
user142019
Works quite well.
 
Ell
Also my neck :(
 
user142019
@Ell Use a pillow.
 
10:38 PM
@rightfold In what?
 
Xeo
If I use a laptop while in bed, I either sit straight with a board on my knees, or lie on my stomach.
 
Just make sure you don't split hashing and equality.
 
user142019
For my programming language.
 
Ell
I have a pillow, obviously not big enough :/
 
Does anybody know how a Xeon is different then a i7?
 
user142019
10:39 PM
If you implement hash and == for your type, you can use it as a key.
 
user142019
And if you don't, you get an exception.
 
Ell
At the minute my back is twisted, I'm on my side. One elbow is on the bed
It doesn't feel healthy
 
user142019
And hash must return a Hash object and == must return a Boolean, obviously.
 
user142019
And now I remember that I need to implement Booleans.
 
user1182183
10:41 PM
@Mikhail yes, a xeon is allowed into a motherboard with 2 physical CPU slots
 
user1182183
actually it's the only Intel processor with the only and only socket which supports 2 physical CPU's on a motherboard
 
@GamErix thanks, I have 6k to spend on a haswell computer and want a dual socket.. But I can't find a dual socket 1150 mobo
 
user1182183
and is more geared towards heavy resource tasks, server stuff, not gaming, like i7
 
user1182183
@Mikhail I did find a few :o
 
@GamErix can you send a link, maybe I am retarded
 
user1182183
10:43 PM
w8 a sec
 
user1182183
mayne ots in my history
 
user1182183
actually you have to search for "xeon server motherboard" or something
 
Ell
Xeon is server processor
less power consumption I think. And more reliable some how
 
user1182183
it has at least all the server features a i7 doesnn't need
 
user1182183
10:44 PM
an security stuff
 
user1182183
etc
 
I think i7 has a graphics card and xeon doesn't?
 
user142019
Wat.
 
user1182183
@Mikhail i7 has indeed Intel HD Graphics Integrated GPU
 
user1182183
as for xeon I don't know
 
user1182183
 
user1182183
:P
 
user1182183
not that much, 0.5k $
 
user1182183
(I just picked a random board)
 
@GamErix Xeon has integrated graphics. Yes.
 
@GamErix I'm not from the land down under, actually from the USA
 
user1182183
10:50 PM
or spend 1.5k on a quad processor board :P
 
user1182183
then buy 4 xeons
 
user1182183
and you have no money left
 
user1182183
xD
 
user1182183
also servers need special ram
 
user1182183
EEC or somethinc
 
user1182183
10:50 PM
ECC
 
user1182183
security or something
 
Darn it doesn't have enough PCIe ports
 
user1182183
how many do you need? ; o
 
It would be nice to have 2 16x, 1 for the graphics and one for the capturing device
 
user1182183
10:52 PM
has 3
 
user1182183
I can't read..
 
user1182183
wait... it has 128 ports? WTF?
 
yeah thats a lot, also I am not sure what kinda case to use
 
user1182183
View more -> "Compatible processor" tab
 
user1182183
i'm wondering how such a server would perform running a freaking game with a ~8 SLI NVIDIA TITANS ;d
 
user1182183
10:57 PM
GTA4 on 1000,0 FPS?
 
It would vSync and back
 
user1182183
even i7 with gtx's 660 have problems.
 
user1182183
lol disable vsync
 
user1182183
xD
 
the real trick is to drive 8 displays
 
user1182183
10:59 PM
SLI makes 8 cards into 1 display, or am I wrong? ; o
 
user1182183
but ye 8 displays
 
user1182183
woudl be coool
 

« first day (963 days earlier)      last day (4003 days later) »