« first day (835 days earlier)      last day (4130 days later) » 

3:01 PM
Hello :)
 
@Zoidberg what? se fo-=a noai?
 
user142019
Ye thenks.
 
@Zoidberg Also, there are specific settings for working with LateX that DoTheRightThing(TM) for you
@Zoidberg Stress Induced Clouded Brain?
 
user142019
The teacher uses a system to automatically detect plagiarism. I hope it doesn't index Bitbucket private repos. xD
 
user142019
3:05 PM
Wait, I forgot I didn't give a fuck.
 
how could it access them?
 
@Zoidberg All teachers say that.
 
user142019
@DeadMG secret contract with Atlassian! :D
 
they actually do use it
at my college they use MOSS
 
Stanford is terribl.
 
user142019
3:06 PM
All schools are terribl.
 
Yes it's well-known for giving you worthless qualifications.
 
Don't plagiarise. Make new papers pdos.csail.mit.edu/scigen.
5
 
let the college-hate begin :>
 
@R.MartinhoFernandes lol
 
user142019
@R.MartinhoFernandes lol
 
3:08 PM
wow, ol
 
user142019
Awesome lol.
 
lol
@Zoidberg 404
 
@R.MartinhoFernandes Bloody awesome.
 
> physicists shockingly desire the study of kernels.
 
@TonyTheLion nope
 
user142019
3:10 PM
> Many statisticians would agree that, had it not been for 802.11b, the study of consistent hashing might never have occurred. This is essential to the success of our work.
 
@Non-StopTimeTravel well it's fixed now
 
@Zoidberg There is a graph of block size vs PDF...
 
@Zoidberg lol
 
user142019
@R.MartinhoFernandes lol
 
user142019
In the context of network setups.
 
3:11 PM
a phenomenon worth refining in its own right
 
> First, we added 150 100-petabyte floppy disks to our Internet testbed.
 
ahahahah
 
@R.MartinhoFernandes I was just about to post that but I realized I don't know the quote shortcut :(
 
Xeo
>
 
Thanks
 
Xeo
3:12 PM
with space
> like so
 
> Luce Irigaray, in her famous article "Is the Subject of Science Sexed?"
lol
Luce Irigaray (born 3 May 1930) is a Belgian-born French feminist, philosopher, linguist, psychoanalyst, sociologist and cultural theorist
lol
 
What's funny about that?
 
user142019
 
I like saying lol
 
user142019
Measuring energy in connections/second makes sense.
 
3:14 PM
I thought you knew that by now?
 
> Gaussian electromagnetic disturbances in our desktop machines caused unstable experimental results
 
@Zoidberg totally. :P
 
@Zoidberg Throughput is in milliseconds.
 
user142019
xd
 
@R.MartinhoFernandes > The DoS-ed machine learning approach to von Neumann machines is defined not only by the evaluation of DNS, but also by the practical need for RAID. here, we confirm the improvement of DHTs [5]. We explore an analysis of the lookaside buffer, which we call FluxBrat.
 
3:17 PM
You should watch the randomly generated talks they gave at a conference.
 
wow
download the talk they did over @ SCI 2005 or whatever
WMSCI 2005* which they got into with that prog
 
Yeah, that whole story is amazing.
I think the rejection letter of the paper that was rejected is even more baffling than the one accepted as "non-reviewed".
 
The rejection letter was funny.
 
user142019
Random text generators are funny.
 
user142019
Flack Overstow. :P
 
3:28 PM
Wow, an entire hall reserved for their lecture, free food, drinks, fancy rooms...
 
@GigaBass For science! :)
 
user142019
Still sucks.
 
hahaha
 
Hi. Is it logical to use 1000 1 bit-bitfields in a struct? Also, how much in bytes would that at least cost me? No bitsets please thanks
 
That sounds crazy.
As in batshit crazy.
 
3:33 PM
From here: Q: Why do drummers always have trouble entering a room? A: They never know when to come in.
 
Also, 125.
 
1000 anything in a struct is insane.
 
Thanks. Was about to do something stupid
 
@crispyfriedchicken: Does the "no bitsets" have any reason?
 
he doesn't understand C++, sounds like a valid reason
 
3:36 PM
The standard recommends that compilers support at least 16384 data members in a class... O_o
 
@R.MartinhoFernandes: Generated code can be nasty.
 
That ought to be enough for everyone.
 
Xeo
@R.MartinhoFernandes 2^14? Wat.
 
How to do the "add unimplemented methods" on a source, when the prototypes are all @ the header? In Visual Studio 2012, can't find out. On Code::Blocks it was a simple right click
 
Xeo
@GigaBass VA X
 
3:38 PM
Not sure what that is @Xeo?
 
Xeo
VisualAssist X
 
user784668
@GigaBass Plugin.
 
@GigaBass VS probably doesn't have that option.
 
Xeo
@DeadMG Aye
 
3:38 PM
Well, we're not allowed to use bitsets. And we have to have 1000 1-bit value to represent whether the object is available or not. Not sure how to go about it. I think I would go for array of struct with 1 1-bit bitfield
 
Ohhh, googling it, I'll check it out. It's weird that it doesn't have it natively though, I think...
 
user784668
@GigaBass Non-free plugin.
 
> I would love to have such a facility because it is too much hassle to write bilingual/trilingual documents which is often the case at least in Indian environment. (On the subject of UTF-64...)
 
user784668
@GigaBass You want free, go Eclipse.
 
user142019
Bootstrap really fucked up the Web.
 
3:38 PM
@crispyfriedchicken vector<bool>
 
That so? Well I suppose I can do without it... @Fanael
 
bool is too big. I can't waste space.
 
@crispyfriedchicken vector<bool> is a hideous specialization which is space-compacted.
 
@crispyfriedchicken Read about vector<bool> :)
 
also, 1000 bytes? really, really not much.
 
3:40 PM
xkcd.com/blue_eyes.html corrected - I got there without reading it :)
 
@DeadMG You can only have 655 of those vectors!
 
good question
 
WTF
3
Q: Why can't the template parameters for enums nested in a template class be deduced?

Eric Possible Duplicate: Why doesn’t a derived template class have access to a base template class' identifiers? I have some constants named like this: template<int n> class usart { private: usart(); public: enum class tx {}; enum class rx {}; enum class ck {}; };...

Guys, can we reopen this?
The dupe is just wrong.
 
@R.MartinhoFernandes 655kb? Where'd you get that?
 
@DeadMG 640*1024/1000.
 
3:45 PM
oh, 640kb.
 
I was thinking 65,535 bytes.
why 640kb? random amount of memory of the year award
 
@DeadMG Really?
It's not random.
It ought to be enough for everybody.
 
@GigaBass Is the solution also posted somewhere?
 
yup.
 
Xeo
3:46 PM
@StackedCrooked Check the history of the message.
 
it was the link I posted before editting it :P
But that's cheating.
And I'd feel like crap if I looked it up without figuring it out.
 
eh
it's the kind of thing where the solution is obvious, if you happen to go down that path.
 
No, it isn't
 
I think a scientist could just ask another scientist what the color of his eyes are. Where in the wording is this prohibited?
 
It's just pure logic.
 
3:48 PM
> they cannot otherwise communicate
 
Was about to paste that, yeah.
 
@DeadMG lol
I just saw it when rereading.
 
I smell frying grey matter
 
> First, I apologize for any english mistakes I'll make, but being 15 and french doesn't help...
3
 
I think the answer requires the scientists to organize in a way that requires some form of communication. So I don't see a solution.
 
3:50 PM
Wrong. Think it out.
 
user142019
@KonradRudolph can I ask you a little question about DNA?
 
@StackedCrooked They don't communicate but remember, as perfect logicians, they can all come to the same conclusion based on the same facts, which may serve the same purpose in giving them all the same thought at the same time.
 
@Zoidberg sure
 
user142019
Do identical twins have identical DNA or almost identical DNA?
 
@Zoidberg I believe it's identical, disregarding methylation.
 
3:53 PM
I don't think so, there could've been further mutations thereafter
 
@DeadMG I see. (I suspected something like that.)
 
user142019
I've got two contradicting sources.
 
@GigaBass Regular people's DNA mutates too. That's what causes cancer.
 
I know it does, lol.
 
then you could be more specific
let's say, "The DNA of any two cells, where one is from each twin, is no more different than the DNA of any two cells from any healthy human."
 
3:54 PM
The mutations that occur after the cells divide with equal DNA and start their replication and all else, could be different, I suppose?
 
@Zoidberg Two cells in the same body are only “almost” identical
 
Supposedly mutations occur on their majority during the DNA exchanges between sperm/ovulus, but such as with cancer, there could be further mutations after that proccess is done
 
mutations can (and do) arise all the time
 
user142019
Ah, I see.
 
user142019
Wikipedia y u wrong.
 
3:57 PM
Wikipedia
 
user142019
:P
 
user142019
Also.
 
user142019
High school teacher y u wrong.
 
A lie-to-children, sometimes referred to as a Wittgenstein's ladder (see below), is an expression that describes the simplification of technical or difficult-to-understand material for consumption by children. The word "children" should not be taken literally, but as encompassing anyone in the process of learning about a given topic, regardless of age. It is itself a simplification of certain concepts in the philosophy of science. Because life and its aspects can be extremely difficult to understand without experience, to present a full level of complexity to a student or child all at on...
 
user142019
It's bad and the teacher should feel bad. :P
 
4:00 PM
@Zoidberg Well it’s a good enough approximation. The differences are minute. For most intense porpoises, identical twins share the same DNA, just as do (non-mosaic) cells in a single body
 
Porpoises (; also called mereswine) are small cetaceans of the family Phocoenidae; they are related to whales and dolphins. They are distinct from dolphins, although the word "porpoise" has been used to refer to any small dolphin, especially by sailors and fishermen. The most obvious visible difference between the two groups is that porpoises have shorter beaks and flattened, spade-shaped teeth distinct from the conical teeth of dolphins. The name derives from French pourpois, possibly from Medieval Latin porcopiscis (porcus pig + piscis fish; cf. classical porcus marīnus ("sea hog"). ...
 
user142019
@KonradRudolph So it's good enough for forensic investigation, right?
 
@GigaBass Solved. I'd venture a guess it's not "the hardest logic puzzle in the world".
 
user142019
Thanks for the information.
 
I have a base class, with only 1 constructor, with 3 or 4 arguments, and I made a class that derives it, and adds two variables.
I want the derived class to do it's base class's constructor on it's variables, and have it's own constructor set it's 2 variables.
I'm getting constructor defaults on base class errors. Any ideas?
@AndreiTita, obviously it ain't so, but it's still something fun until you figure it out :)
 
4:03 PM
FUCK YOU, DEBUGGER.
Good morning people.
 
hey
 
@EtiennedeMartel lol Hi
 
@EtiennedeMartel What now? (you know I am always on the lookout for more juicy suckiness of VS)
 
@EtiennedeMartel Good morning (in this case, that's wishing you a good morning).
 
@R.MartinhoFernandes Sometimes, I want to check the value of a variable, so I do it, and then VS freezes or something, and then the debugger just dies I guess.
 
user142019
4:05 PM
@EtiennedeMartel better than a bugger.
 
@GigaBass Sounds like you need an initializer list. Derived::Derived() : base(val1, val2,val3), x(whatever), y(whatever2) {}
 
user784668
@EtiennedeMartel Good fucking morning.
 
Xeo
Question: WTF happened to the room name?
 
user784668
@Xeo Food happened.
 
I'll do a tangible example: I have class X, which's constructor sets variables A and B.
I extended class X to class Y: I want to instantiate class Y, giving it 1 argument to build it's new C it has on top of class X's variables.
 
4:06 PM
@Xeo Tis fine. (you may want to refresh)
 
Xeo
Ah
 
Hold on @JerryCoffin, I'm thinking out on what you said, thanks
 
@ScottW "Good abstinent" is an oxymoron.
 
@JerryCoffin You mean not having fun is good?
 
4:08 PM
What were the x(whatever), y(whatever), @JerryCoffin? Not understanding. What's the term I can google this by?
 
@R.MartinhoFernandes da fuq?
 
Is base(values, ...) a keyword?
 
user142019
In C++, no.
 
@R.MartinhoFernandes Another sign that Israel != Jews.
 
user142019
In C#, base is a keyword and you can use it to call ctors of superclasses, as well as method implementations of superclasses.
 
4:10 PM
26
Q: What is this weird colon-member syntax in the constructor?

nilsRecently I've seen an example like the following: #include <iostream> class Foo { public: int bar; Foo(int num): bar(num) {}; }; int main(void) { std::cout << Foo(42).bar << std::endl; return 0; } What does this strange : bar(num) mean? It somehow seems to initializ...

 
Ah, I see, what's the "equivalent" in c++? Reading it @R.MartinhoFernandes, sec
 
@GigaBass You just write the name of the base class.
 
user142019
The equivalent of base?
 
@GigaBass The x and y are the variables Derived adds that it needs to initialize.
 
user142019
Since C++ has multiple inheritance, it can't have a general keyword for it. Write the class name instead.
 
user142019
4:11 PM
class foo : public bar {
public:
    foo() : bar(42) {}
};
 
Ohhh, I see, thanks guys, brb trying the stuff out.
 
user142019
struct foo : bar {
    void meh() override {
        bar::meh();
    }
};
 
@R.MartinhoFernandes Let me be the first to suggest UTF-655360, because "640K should be enough for anybody."
 
Is there a way in C to return a non-malloc char* string from a function?
 
4:14 PM
@JerryCoffin hehe
 
Assuming I'm passing a node-list of characters to a function and want to return the C string...
 
Xeo
@R.MartinhoFernandes I sense a light form of sarcasm.
 
@Zoidberg Sorry, was AFK. So forensic investigations use so-called microsatellites which are short, highly polymorphic repeat elements on the DNA and since they are highly variable the chances of random collision are tiny
 
@Jeffrey Sure -- you just don't want to. char *foo() { static char *bar="return"; return bar; }
 
but for identical twins the microsatellites are actually very similar if not identical because they are inherited
 
Xeo
4:15 PM
@JerryCoffin Fuck char* string literals.
 
user142019
Ok.
 
user142019
3000 EUR per month, is that much?
 
@JerryCoffin, inside it I need to populate the string char by char. I can't do a char* x = "something" assignment.
 
Xeo
@Zoidberg I'd say yes.
 
4:16 PM
@Zoidberg Yes
 
user142019
That's over 18 EUR per hour. o.o
 
@Zoidberg that's a lot yes
 
user142019
Thanks.
 
Xeo
@Zoidberg I'd divide by 170, not 160.
 
@Jeffrey Let me try to summarize. You need the data to remain valid after the return. That basically means it needs either static storage duration or dynamic storage duration.
 
4:17 PM
@Jeffrey You meant char const* x = "something", of course.
Or did you guys already cover that
 
@JerryCoffin, that was my original idea, but it's giving me seg fault: pastebin.com/08wxVz0L
stringAt() returns the char at the given position; stringLegth() well... it returns what is says.
 
damn set faults
@Jeffrey Why did you re-invent std::string's member functions?
 
@Non-StopTimeTravel, for exercise
 
Or maybe it's not std::string, but some other string
I see.
So a bit like running up and down the inside of a volcano in order to stretch your legs; makes sense
 
@Jeffrey Does your code do anything strcpy wouldn't do just as well?
 
4:20 PM
@Non-StopTimeTravel, because I've nothing to do and yeah, it makes sense to me :)
@JerryCoffin, then how would you manage it?
 
Jesus lol, why's this wrong?

Entity(int hp) : DrawObject(name, surfaceFile, xPos, yPos, ...) ;
 
@Jeffrey I'm not quite sure what you're really trying to accomplish, but what you have right now appears to be equivalent to strcpy(buffer, s); If you're getting a seg fault, it probably means you haven't allocated memory for buffer to point at.
 
@GigaBass What's with the semicolon?
 
It's the constructor's prototype in the header file
 
4:29 PM
Um.
 
that's not a prototype.
 
Back to the basics with you!
 
@GigaBass The initializer list goes in the definition, not the declaration.
@DeadMG Considering that C++ doesn't have prototypes, that was a pretty easy one.
 
@JerryCoffin I think he meant declaration, but hey.
 
I figured it'd go there because on the .cpp it won't show any sort of completion, while on header it does.
 
4:30 PM
@JerryCoffin, I've solved the seg fault problem but I can't understand an error: its giving me passing argument 2 of ‘stringGet’ from incompatible pointer type when I allocate char buffer[40] and pass it as &buffer on the function that accept a char**. Isn't char[40] of type char[] which is char*?
 
What* is the difference between declaration and prototype?
 
@Jeffrey No. You're doing it wrong. Just use std::string.
 
@DeadMG, I have to use C...
 
then wat dafuq are you doing here
go find someone who cares about C
 
@GigaBass In C++, there are only declarations. In C, a prototype gives the number/type of arguments to a function, where a declaration just declares something as a function. Which is to say: a C++ declaration is pretty much like a C prototype (and C++ has not equivalent to a C declaration).
 
4:32 PM
Well my obvious bad then, I meant declaration :) thanks
 
user142019
noooooooooooooooooooo nu.nl/binnenland/3015293/…
 
user142019
Now we have a new Dutch king and he's an asshole.
 
@Zoidberg Oh boy.
 
user142019
Worst thing is
 
user142019
she has political influence (other than the right to vote).
 
user142019
4:35 PM
Which is fucking terrible.
 
user142019
She isn't elected.
 
@Zoidberg Didn't you say "he" before?
 
@DeadMG, whatever man...
 
user142019
@ShotgunNinja well that's the new one, in a few hours.
 
while (diff = (end - start) >> 1) oh god, why?
 
4:36 PM
@JerryCoffin, Found a solution myself, thanks anyway...
 
@LuchianGrigore Awesome.
That only ends when the assignment operator for whatever type diff is returns a value which equates or converts to a logical false, right?
 
So what would be right is this:

Entity:: Entity(int HP) : DrawObject(name, surfaceFile, xPos, yPos) {
this->HP = HP;
}

Correct?
It complains of not being able to access the members in DrawObject(...), but I've had it be a public DrawObject..
class Entity: public DrawObject
{
 
Xeo
@ShotgunNinja Or... start and end change.
 
Or 1 changes
 
Xeo
lol
 
4:38 PM
Look again. It's an assignment, not an equality operator.
 
@ShotgunNinja Doesn't matter
 
@Non-StopTimeTravel Oh? Am I mixing up my order of operations?
 
@ShotgunNinja I mean, when start and end change to values that happen to result in (end - start) >> 1 being falsey by the time they get through decltype(diff)::operator= and decltype(decltype(diff)::operator=)::operator bool (some syntax invented), the loop may end, despite the fact that no comparison operator is used.
 
@Non-StopTimeTravel Yeah; I was looking at the end effect, not the root cause.
 
o.o
whatever man.. :s
 
4:40 PM
Also, I've had no sleep at all last night, so forgive me if I'm being a total idiot.
And I pretty much just failed a Quantum Mechanics exam this morning. It's not even noon yet.
 
-2
Q: What're the pros and cons of lock-free programming and lock-based programming?

xmllmxI've been using C++11 for several months, I've been enjoying most components of the C++11 standard library except those of the atomic-operations-related. In my opinion, lock-free programming is too complicated to get it right, while lock-based programming is intuitive and easy to understand and ...

 
assert(pBrain);
 
@ShotgunNinja It's noon somewhere
 
@Non-StopTimeTravel Well, wherever that is, I'm moving.
 
@Non-StopTimeTravel This guy.
 
@EtiennedeMartel Who we know is pedantic obnoxiously picky: stackoverflow.com/questions/18642/…
 
Finally, I got it right! So proud :>
I had to pass the arguments to the constructor so I could use them to build the parent class... obviously... way I was doing things I wanted the parent vars to magic it up from thin air :D
 
@GigaBass I was gonna say that earlier. Got distracted.
 
Thanks anyway :)
Got there myself, now I won't forget for sure
 
4:52 PM
@ShotgunNinja He's a Perl dev. It's to be expected.
 
My thoughts were something along the lines of "where are name, surfaceFile, xPos, and yPos coming fro- OOH A SHINY"
 
@Non-StopTimeTravel There is finite probability that it is not noon somewhere.
 
user142019
> Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11
 
@MartinJames Can you quantify this probability as a reasonable estimate, according to Heisenberg's Uncertainty principle?
 
Xeo
 
user142019
4:54 PM
Yes, I'm really using Mozilla Konqueror Chrome Safari.
 
Damn shinies always distracting us...
 
@ShotgunNinja Perhaps, perhaps not...
 
@Zoidberg hehe
 
user142019
Do people still use Konqueror?
 
On a funny note I'm currently having a friend foam from the mouth raging at me @ fb chat saying I hit on his girlfriend yesterday lawl
 
user142019
4:54 PM
> A web browser with HTML 4.0 compliance, supporting Java applets, JavaScript, CSS1 and (partially) CSS2, as well as Netscape plugins.
 
user142019
lol, very modern.
 
I've seen someone legitimately using Gecko.
It was a while ago, in a faraway place...
 
@Zoidberg I hope not
 
@GigaBass If you did, fair enough. If you did not, I suggest you hit on his girlfriend today to make the hassle you have already received justified, (unless she's particularly ugly).
 

« first day (835 days earlier)      last day (4130 days later) »