« first day (624 days earlier)      last day (4325 days later) » 

3:00 PM
@danuker If you have a brain, then you are a neural network.
hint, it's in the name: neural network. It emulates a network of neurons. Those things you find in human brains.
 
You're not an ANN, but you do have a rather sophisticated NN. And since the brainz are you, you're effectively an NN.
 
i also have a support system for the NN
 
Understanding is very important. Lack of understanding and critical thinking leads to things like PHP.
We don't like PHP.
 
hahahah
@DeadMG what I meant is that a neural network can do understanding, and since ANNs are so advanced (the link) that they're able to do it, then understanding can be automated
 
meh, php
 
3:06 PM
@danuker That's not really what he meant.
in fact, it's the exact antithesis of what he meant.
automation of the humans does not equate understanding by those humans.
 
@JohannesSchaublitb well, grep -c POSIX /dev/urandom could be construed 'infinite match loop'. But in reality, it will always finish. So, 'promising' infinite match is lying, in essence
@JohannesSchaublitb slightly more interesting is to optimize grep -c POSIX /dev/zero. Cause it is a little easier to 'promise' "i'm not going to return something else than \0" than to promise "i'm never going to stop returning \0"
 
@DeadMG how do we define understanding?
 
understanding X is knowing when to use X, when not to use X, and the ability to create derived works
 
Now susbtitute `X := women`
I succeeded at 'create derived works'. Not sure about the other requirements
 
@sehe If you don't sufficiently understand a woman, I don't think she'll let you create works derived from her.
 
3:13 PM
Unless it is a defected instance of woman which was derived by a moron.
 
lol
what you fellas up to?
besides talking about deriving women
 
epistemology
 
once again lamenting the idiocy of my politicians and education system
and how I feel it has very unfairly lumped me into flipping burgers for the rest of my life
 
Understanding basically includes pushing oneself to understand X by investigating its constituents and all other factors, following it up to the axiomatic level or a level sufficient for a certain operation or set of operations.
It is a perfect mix of human theory and first hand experience.
 
@DomagojPandža but isn't theory derived from experience?
 
3:17 PM
@DeadMG look at the bright side: shorter midnight walks for you. 15 minutes -> 3 seconds.
 
@DeadMG not true, I don't have a degree, and I'm not flipping burgers. You can prove your skills in other ways, it just takes more work
 
for example, Google's network has a neuron for detecting faces, and it wasn't programmed to do that
 
the fact you failed the degree doesn't help, I"m sure, but that doesn't mean you don't have any skill. You do, we've seen it on SO here
 
@TonyTheLion Why are you not flipping burgers?! Make yourself useful, pony!
 
@TonyTheLion Not to be insulting here, but I seem to recall that you currently don't have a non-burger-flipping job
 
3:18 PM
@danuker Close, theories can be formed from other theories which were experimentally derived by logical conclusions and consistency.
 
@sehe I'm writing collision detection algorithms
 
That's how we got quantum mechanics.
And relativity.
 
@TonyTheLion hmmm joke lost
 
no time for burgers, bad enough I have to cook my own food
 
And, well, everything that matters.
 
3:19 PM
@DeadMG I do have a job, but it's a contract
 
oh ok
 
and it will end soon, therefore, I'm looking out for the next
 
@TonyTheLion you could join the puppy: create SHA-2 collision detection algorithms. (The best detection is prediction, no?)
 
and I have 2 interviews next week
 
@DomagojPandža wow, that's like adding several more layers of abstraction
 
3:20 PM
Bill Gates also dropped out of college
 
Abstraction is the only way to understand. Humans need to simplify.
 
FYI, puppy
so did Steve Jobs
 
very true
 
Bill Gates, Steve Jobs, John Carmack, Blizzard founders fucked up most of their uni
 
and I've got bigger balls and more effective brains than all of those guys put together
 
3:21 PM
by playing games while they were supposed to be in class
 
@DomagojPandža so if I want to understand women, I have to create an abstraction?
@DeadMG if that isn't a typical puppy statement :P
 
@TonyTheLion Especially if you wish to understand women. Find the base class, the most basic interface.
 
And interact with it.
 
don't know if anyone has found that yet?
IWomen {};
 
3:22 PM
@DomagojPandža Happy to stick with the topmost interface for a specific instance.
 
@TonyTheLion Forgot virtual destructor, noob
 
thanks bitch
no Cat today?
 
no problem
 
probably sleeping, that cat is
 
3:23 PM
no Cat, no problem
@TonyTheLion I'm gonna go fuckin' sleep soon
 
lol
@DeadMG when did you last sleep?
‎"I have a car. I have a house. I have a bank balance. What do you have?"

"I have a gun. Get in the van"
lol
 
@TonyTheLion Yesterday.
 
\me is bored
plugin fail :(
 
Sleeping is a waste of time.
 
wholly necessary
but first I need to shit
 
3:27 PM
Unfortunately,
 
shit is a waste of time
 
Shit is a waste.
 
shit is waste
 
Wasting time is a waste of time.
 
fap fap fap
 
3:28 PM
orgasm
 
I can't wait to get some sleep.
I can't see shit.
 
Born was a new organism!
Born to be Alive — The Village People
 
YYYYYYYYYYYYYYYYYYYYYYY M CA
 
3:31 PM
Born to be Alive is by Patrick Hernandez, actually.
P. Martinho Hernandez.
 
Pobot?
 
cock
 
3:33 PM
beep
 
Fuck Sundays, they suck! Fuck Mondays, they suck even more... Fuck everything, it sucks!
 
I don't give a shit! drinks from the bottle and shatters it on the wall
 
meh
I don't have a bottle to smash
 
What do you do if you have a piece of glass in your eye?
 
3:35 PM
Removing it with another piece of glass!
 
@RadekSlupik poke your eye out
 
Use its refractive properties to properly channel light into your fucked up eye?
 
@Domagoj assume obsidian.
 
I was just thinking about all the shit I know. Although I always deem that there is ever so more to learn... But fuck, that's some impressive shit. Even for my self-doubting standards.
Also, I thought about sleeping, I dismissed that pretentious idea.
 
3:42 PM
@DomagojPandža yea, it's interesting to start thinking about all the stuff you know
 
the sky
or the ceiling
had a good beauty sleep Cat?
 
Sup.
Going to bed. Stay fresh. Cilit Bang.
Yes.
Bye mpw-
wtf... blargh...
 
Most of the day I was fighting with my network equipment.
My router sucks.
I get 7MB/s when connected directly to the modem and ~1.5MB/s when connected via the router, regardless of whether I use Wifi or Ethernet.
 
3:55 PM
162
Q: What are rvalues, lvalues, xvalues, glvalues, and prvalues?

James McNellisIn C++03, an expression is either an rvalue or an lvalue. In C++11, an expression can be an: rvalue lvalue xvalue glvalue prvalue Two categories have become five categories. What are these new categories of expressions? How do these new categories relate to the existing rvalue and lva...

Is there any better explanation than this one?
 
What more do you need?
 
"A glvalue (“generalized” lvalue) is an lvalue or an xvalue." Is that all there is?
What is it used for?
 
Xeo
It's just for grouping
the important things are lvalues, xvalues, prvalues.
 
@CatPlusPlus that does suck
 
4:24 PM
"In C++, a function call that returns a reference is an lvalue. Otherwise, a function call is an rvalue expression." Is this still true in C++11?
 
Xeo
well, there's xvalues now. typename std::remove_reference<T>::type&& move(T&& o) would be one.
 
> The result of calling a function whose return type is not a reference is a prvalue
 
Xeo
4:39 PM
Hm, right, if we take "rvalue" as a grouping of prvalue and xvalue, the sentence is still true
 
5:01 PM
0
Q: which identifiers are available to lambda in constructor initializer list

Cheers and hth. - Alfmore to the point, what's wrong with this code: #include <assert.h> #include <functional> using namespace std; template< class BaseObjectId > class Check { protected: Check( function<bool()> const f ) { assert( f() ); } }; template< in...

^ Just because I'm not in thinking mode right now.
@Xeo c++11 is mostly compatible with c++03. a main exception is that conversion from string literal to char* has been wholly removed, now invalid.
@Cicada oh, how did you get that into /dev/junk/lounge/?
 
@CheersandhthAlf Any specific reason for using underscore in your variable names? int value_;
 
15
Q: Real life examples of xvalues, glvalues, and prvalues?

M3taSpl0itI was wondering if anyone could tell or explain some real life examples of xvalues, glvalues, and prvalues?. I have read a similar question : What are rvalues, lvalues, xvalues, glvalues, and prvalues? but I did not understand what everyone meant. Can anyone explain in what cases these values a...

 
One of the conventions for denoting data members.
 
@ManofOneWay The trailing underscore for data members makes it possible to have getters with the "same name" (except for the underscore, of course).
int value() const
{
    return value_;
}
 
That sucks, of course.
 
5:10 PM
Well, it sucks that you need such a convention. In Java, you can have the same name for data members and member functions.
 
Xeo
@CheersandhthAlf Try with [=]{ return ... }, skipping parameter list and return type
seems to just be a quirk with VC
 
Is [] the same as [=] or not?
 
Xeo
no, [] captures nothing
 
5:28 PM
@Xeo that, as well as the original, compiles fine with msvc 11 but not with msvc 10. is it formally valid to not have argument list?
 
@FredOverflow You little rep-wh*re! ;)
 
Xeo
@CheersandhthAlf Yep, []{} is the shortest lambda you can have
 
ok thx. TIL lambda sans arglist!
 
@ManofOneWay I already openly admitted to rep-whoring. I even wear rep-mascara and rep-lipstick.
 
@FredOverflow I know you have =)
 
5:30 PM
@Xeo I didn't know you could leave out the parenthesis.
 
Xeo
> lambda-expression: lambda-introducer lambda-declarator(opt) compound-statement
from somewhere in the standard
> If a lambda-expression does not include a lambda-declarator, it is as if the lambda-declarator were ().
 
@FredOverflow Thanks for the link btw
 
No problem, links are free on Sundays.
 
5:49 PM
Damn.
It's the first tutorial I see that encourages use of UB.
 
Xeo
Because a pointer by defining is a reference to the address where a variable resides, when a function is defined as returning a pointer, you can also return a reference to the appropriate type. Here is an example:

double * GetSalary()
{
    double salary = 26.48;

    return &salary;
}
wat.
 
@FredOverflow What are you up to?
 
Yeah. Fuck that shit.
 
@ManofOneWay Enjoying a slow Sunday. Eating joghurt, browsing reddit.
 
@FredOverflow Sounds nice
 
5:56 PM
Also, playing Solitaire.
 
Classic
 
@FredOverflow Hey, a guy named "daknok" said a sensible thing in there. This sounds familiar...
THERE'S EVEN SEVERAL void mains IN THERE
That's it. I snapped.
 
6:18 PM
Oh no, not that agaain.
 
Yeah, my brain might have been slightly damaged.
 
6:46 PM
Hello chaps
 
Oï.
Man, another day off tomorrow. I'm sooo gonna sleep.
 
Say i have ClassA which has a member ClassB with a member ClassC. now i want to call callback functions in ClassA from ClassC , is the only way to do this to pass a reference of ClassA to ClassC or is there a cleaner and more anonymous way in C++ ?
 
Xeo
In the end, you'll need to pass a reference. How much you abstract that is up to you.
You can use std::function and std::bind the member of ClassA and pass that to ClassC, or you just pass a reference.
 
Sure i thought as much, trying to essentially write platform specific callbacks where by ClassA wont even be the same language on some platforms. Thanks though ive never used std::bind ill read up on that
 
Which indentation do you guys prefer? Given the options A and B: ideone.com/4JMFH
 
6:53 PM
Personally i use A
 
A hands down, B is much harder to read Oh I thought they were comments, B: it's more natural
 
Depends on my mood.
 
@ManofOneWay B
 
In this case, the std::move will generate one less copy right? ideone.com/jxX0v
 
Unlikely to make a difference.
 
Xeo
7:06 PM
@ManofOneWay B, but const and type switched
@ManofOneWay Yes
 
@CatPlusPlus Will the compiler move "a" implicitly you mean?
 
Xeo
@ManofOneWay I think that wasn't directed at your question
 
hi all!
Who does here play chess?
 
Chessinator.
 
I want to play blitz via web with smb? Are here chess-players also?
@CatPlusPlus Don't you play? :(
 
7:09 PM
No.
 
@Xeo Are all types worth moving when passing by value? Even the primitive data types?
 
Pity...
 
@ManofOneWay No.
 
What about enums?
 
Sprinkling std::move over integral types only makes you look silly.
 
7:11 PM
Should I consider enums as integral types as well?
 
@user1131997 Chess is boring.
Chess is like PHP; it sucks.
 
@RadekSlupik where does it suck?
 
@user1131997 you sit and 99% of time you do nothing.
 
what side of this game is weak?
you analyze combnations for next 10 moves each moves, also there are many tactics
 
7:16 PM
Fun!
I'll stay with programming and webdesign. :p
 
fun is polymorphic stuff
@RadekSlupik web design sucks, implementing own opengl or directx - not sux, but hard
 
Meh graphics programming.
 
OMG, that C++ tutorial thing needs to be nuked from orbit!
Hi.
 
Which one?
And what orbit? The one in which lightness races?
 
It was mentioned above.
 
7:21 PM
@RadekSlupik more mechanics for graphics, cause 90% of graphics programming is around mechanics and its side
 
@user1131997 I don't understand that sentence.
@RMartinhoFernandes Oh that one. :p
 
that graphics programming is basically related to the two things:

- mechanics
- optimized calculations of 1st point
 
Xeo
@ManofOneWay Absolutely not
 
@RadekSlupik thinking doesn't interest you?
 
Xeo
7:25 PM
It only makes sense for data types with external data (e.g., data on the heap)
 
@RMartinhoFernandes Agreed.
 
we definitely need one-boxing of google groups messages
 
@RMartinhoFernandes Agreed
 
@sehe not while playing games.
 
@RadekSlupik mmm okay. we are very different then
 
7:26 PM
CSS is still playing games with me.
 
@RadekSlupik much more fun game for trying implement it in any lang
 
@RadekSlupik Take care not to think then
 
A cellular automaton (pl. cellular automata, abbrev. CA) is a discrete model studied in computability theory, mathematics, physics, complexity science, theoretical biology and microstructure modeling. It consists of a regular grid of cells, each in one of a finite number of states, such as "On" and "Off" (in contrast to a coupled map lattice). The grid can be in any finite number of dimensions. For each cell, a set of cells called its neighborhood (usually including the cell itself) is defined relative to the specified cell. For example, the neighborhood of a cell might be defined as the ...
 
@RadekSlupik Is she any good?
 
Scumbag CSS. Is standard, doesn't work the same across implementations.
@RMartinhoFernandes No, just bad.
 
7:28 PM
Games that don't require thinking tend to suck tremendously most of the time.
 
Tomorrow I'll be visiting Poland. :)
 
@RadekSlupik Which city?
 
Xeo
2:0 for spain, getting some loud explosions here...
 
@user1131997 I don't know how it's called. It's somewhere in the mountains.
South.
 
Lol.
So you're going to some city you don't even know the name of.
@violet Cat Plus Plus's answer worked. I got 1! :-D By the way, may I ask if you are female or male? — wagashi 15 mins ago
._.
 
7:31 PM
It's hard to remember those names. The Polish use /dev/random to choose them. :p
 
What a coincidence. Tomorrow I'm going somewhere too.
 
.___.
 
@RadekSlupik Which mountains?
There are few places in Poland with them
 
@user1131997 Bystra
 
some located on borders witch Czech Republic
 
7:33 PM
It worked with c++ as well. Thanks :) — wagashi 17 mins ago
lol
 
Bystrá is the highest mountain in the Western Tatras in Slovakia, near the Polish border. It is 2,248 meters high and surrounded by the valleys of Kamenistá, Račkova and Bystrá. See also *Tatra Mountains References *[http://www.go-zakopane.com/en/turystyka.php?gd=1.17 go-zakopane.com]
 
@CatPlusPlus +1, I didn't know you could change the type of an enum.
 
does anyone know how to upgrade mingw g++ in windows 7
the installer fails
 
Unpack the newer version where the older one is.
 
7:35 PM
mingw-get upgrade thinks it succeeds but it hasn't upgraded anything
 
I just replace the folder.
 
so i have to download archives and unpack them manually
 
I don't upgrade MinGW, because it breaks hilariously every time.
 
7:36 PM
Looks like mountains to me.
 
@Mysticial The only use I found for it so far is named booleans.
And that doesn't really need the new language feature anyway.
 
i think i got a good idea: first completely remove the beast, then reinstall
 
@r you are right ^^; — wagashi 12 secs ago
Someone didn't get a memo how pinging works.
 
That happens often it seems.
 
@CatPlusPlus He got a lot of things confused :)
@violet Cat Plus Plus's answer worked. I got 1! :-D By the way, may I ask if you are female or male? — wagashi 25 mins ago
 
7:41 PM
Wut.
 
Roses are red violets are blue / on the subject of gender I'm going to / just say 'screw you'
2
More on leapseconds:
 
So what you're saying is MySQL is a crappy software? Well I never.
 
Woot for mysql! Even if the kernel is stable, MySql somehow relies on actual wall clock time?
 
Ah, nevermind, that's that NTPd thing.
 
hahah
 
@CatPlusPlus I wonder whether it was because the kernel monotonous incrementing clock was out of order due to adjtimex? That should never happen
@RMartinhoFernandes Pretty sure that is from the presentation in which Jon Skeet used all kinds of song titles - no?
 
Dunno, I'm too lazy to investigate.
My server works, with NTPd running continuously.
 
the cat doesn't suffer leap secon\ds
 
My bet is on crappy software rather than kernel, really.
 
That's the one
@TonyTheLion Or he's on kernel 2.4.x (?)
 
When do I have to define a destructor of an abstract class?
 
9
Q: Disable "if(0)" elimination in gcc

Ivan ShcherbakovHow can I prevent GCC from eliminating the code inside if(0) block? When I use Visual Studio, one of my debugging techniques is to put code like this in my program: if (0) do_some_debug_printing_and_checking(); Then, when a breakpoint is hit, I click at the do_some_debug_printing_and_chec...

@ManofOneWay Always.
 
7:59 PM
@ManofOneWay always? abstract classes are the vehicle of pure virtual methods. those require virtual destructors
 

« first day (624 days earlier)      last day (4325 days later) »