« first day (874 days earlier)      last day (4083 days later) » 

1:00 PM
I, too, sometimes write (char*) instead of &
 
Xeo
@BartekBanachewicz He typo'd a cast?
 
@ThiefMaster No problem - missing '&', totally wrong.
 
The keys are like next to each other
 
@CatPlusPlus It avoids overloaded operator&!
 
@Xeo I mean, forgot something.
 
1:00 PM
@CatPlusPlus :)
 
@R.MartinhoFernandes In C, & avoids overloaded operator&
 
Xeo
@R.MartinhoFernandes And everything else, like sanity.
 
Stop ruining my joke.
It's lame enough without you bastards spoiling it.
 
From +5 to -2 in 30 seconds
 
30 seconds to -2
 
Xeo
1:01 PM
It should've been at -12 in 30 seconds. Fuck those upvotes.
 
@CatPlusPlus Wot! How could that get to +5?
 
n 00 b s everywhere
 
user142019
My code works! \o/
 
Xeo
@Zoidberg Cool, on to the next project then, I'd say!
 
user1357851
I think I should get out of here, I would be way too embarrassed if anyone ever found out I have been to a lounge named 'daisy' ... just too wrong >_<
 
1:03 PM
The task was to implement the my_print function in x86 assembly — Fazlan 1 hour ago
Kill me.
 
@Zoidberg Deliver it, quick!
 
@MartinJames ikr
 
@MartinJames :stackoverflow:
 
yea, scrubs like cat have lots of upvotes here
 
ah now that silly discussion have moved on, I can participate again
Talking about Scrubs, Zach Braff did AMA on Reddit.
funny read
 
1:04 PM
Who?
 
The actor that played the main character (JD) in Scrubs
 
Xeo
room topic changed to Lounge<C++>: smurf village [c++] [c++11] [c++-faq] [no-helpdesk]
 
ohhh smurfs
I like smurfs
used to watch it all the time, as a small kid
 
Oh, the TV series. I thought a 'scrub' was some synonym for repwhores, or summat.
 
Oh noes, I found a German identifier startupTitel.
 
Xeo
1:07 PM
@R.MartinhoFernandes Or a typo.
 
@Xeo Yeah, probably a German-induced typo.
 
looks like a nice acronym
hmmm
Radiosity is a global illumination algorithm used in 3D computer graphics rendering. Radiosity is an application of the finite element method to solving the rendering equation for scenes with surfaces that reflect light diffusely. Unlike rendering methods that use Monte Carlo algorithms (such as path tracing), which handle all types of light paths, typical radiosity methods only account for paths which leave a light source and are reflected diffusely some number of times (possibly zero) before hitting the eye; such paths are represented by the code "LD*E". Radiosity is a global illumin...
Too bad it's too slow to be practical... or NOT. BF3 actually uses it o.O
 
Xeo
@BartekBanachewicz Well, you know the graphic card requirements of BF3, right?
 
@Xeo hm, not quite? Something more than usual tripleA?
 
Xeo
1:09 PM
It needed the latest, specifically developed nVidia graphics card when it came out.
IIRC, anyways.
 
well, that was a while ago
I am pretty sure I could ran it on Ultra on my GTX
it's a very interesting algorithm, nevertheless
I stumbled on it while reading about shadowmapping
 
I feel like I've been divided by zero
 
Just asking @Xeo, are you interested in graphics at all?
 
Xeo
@BartekBanachewicz Kinda. I was relatively good ad writing shaders at the GA, and I'm kinda intested in all that vector and matrix and stuff, but I'm not good at it.
(read: I feel much more comfortable with logic / framework programming. Well, that and template meta wankery.)
 
1:15 PM
@Xeo I especially like the stuff that sits in GPU. How it can do nearly everything in HW. Not that I'm going to write in assembly, though.
 
Xeo
What I really liked was our Shader exam in the 3rd semester... Game of Life.
 
Everyone start making backups right now!
 
Xeo
@LucDanton lol
 
@R.MartinhoFernandes wow.
@Xeo nice. I wish I did stuff like this, not this bullshit :/
 
> I have set up a mail alias that resolves to every Member of European Parliament (all some 750 of them); the mail alias is europarl-all-mar2013@falkvinge.net.
 
1:18 PM
@Xeo I envy you.
With great intensity.
 
OOoooooh, fine-grained, massively-distributed spam in the service of good!
 
@ThePhD I finished my loader todays morning. How is yours going?
 
user142019
@R.MartinhoFernandes what that is ridiculous.
 
@R.MartinhoFernandes it's not spam
 
@BartekBanachewicz "Since lunchtime Thursday, the European Parliament is dishonorably classifying citizens and voters in their constituency as spam (!!) "
 
1:20 PM
@R.MartinhoFernandes I don't really see why this should be classified as such.
 
user142019
Because they don't give a fuck about it.
 
@R.MartinhoFernandes Ahahahaha, @TonyTheLion @DeadMG guess it's just up to your imaginations now, bitches. :P
 
user142019
EU is the worst thing that happened to Europe anyway.
 
user142019
After WWII maybe.
 
Maybe nuking entire planet isn't such a bad idea after all
 
user142019
1:22 PM
Switzerland and Norway ftw. \o/
 
@R.MartinhoFernandes Whoa. I expect some spam control to thwart that. Nice idea. He might just publish the list ; separated. It'll be almost as convenient and not as prone to blockage
 
@sehe Keep reading.
 
You mean, start reading?
 
@sehe scroll a bit up
 
@sehe Hmm, are you sure it will be as convenient? I have a feeling that e-mails with 750 recipients might have trouble reaching their destinations.
 
1:25 PM
@R.MartinhoFernandes bcc'ed? why should they?
 
Because it looks like spam
 
@BartekBanachewicz Because it's spammy, and some mail servers prefer to just drop that kind of crap.
 
user142019
Automatic spamfilter.
 
Yeah - I would copy and send 750 individual ones.
 
1:25 PM
He's going to be blacklisted really really soon
 
No porn - use imagination - move on
 
user142019
Reminds me of that mailing list question.
 
user142019
@TonyTheLion FACEBOOk
 
It's not about porn
 
¬_¬ oh dear... Ireland is smart
 
1:26 PM
@CatPlusPlus about what then? o.O
 
Censorship
 
SERIOUSLY YOU GUYS DIDN'T EVEN READ BEYOND THE TITLE?
 
1:27 PM
@R.MartinhoFernandes TL;DR
 
@thecoshman 'I'm convinced that Father Ted was a documentary' - LOL!
 
Porn is more or less irrelevant
 
they wanted to block skype sexcalls IIRC
@CatPlusPlus Porn is what drives the web
 
:cripes:
 
user142019
You can't block anything on the Internet.
 
user142019
1:28 PM
It's impossibru.
 
@CatPlusPlus That's a fact. I've learned that when working in Adva.
 
oh for fuck sake, Irish politicians really want users registered with an IP
 
Adva?
 
user142019
Look at TPB.
 
1:29 PM
@R.MartinhoFernandes :effort: you know, it is IMO fair they mark this as spam. After all, what is spam? Unfair propaganda advantage leveraging the low cost of email transport?
It seems "too easy" to create a "loud minority" using this kind of mechanism, and indeed it might be wholly unfair if politicians let their priorities be dictated by such "ad-hoc" activism. I have the same quibble with the well-nigh aggressive marketing by Avaaz.com
 
@Zoidberg My useless ISP has blocked Pirate bay. Wow. There's like 12 mirrors/proxys.
 
user142019
Skewer anyone who agrees with proposal problem solved.
 
@sehe I was the first to call it spam here.
 
I'll come back to this room when you're talking about something I give two craps about.
 
You won't come back if it's censored out in the meantime~
 
1:30 PM
@TonyTheLion Oh - you going on a long vacation?
 
@R.MartinhoFernandes Oh aha. Yeah. I hate this sort of initiative because it will ultimate only make policiticians deaf for public opinion, but now with "good" reason. gah.
On the other hand, look at activist orgs like "Amnesty International". They too function by facilitating citizens to call on politicians (abroad). However, they explicitely expect and require individual :effort: and initiative: you have to write a hand-written plea (which you may copy from an example) or you have to actively buy a postal stamp etc.
 
@Zoidberg you can from people who are not willing to put a tiny bit of work into fining one of the many work arounds
 
user142019
Those are noobs who don't use TPB or watch porn on the Internet anyway.
 
user142019
Or other "immoral"/"bad"/whatever things that would be blocked.
 
@Zoidberg Reading the bible in Aramaic?
 
1:34 PM
I'd wager there is a good bit pirating that is done by people who only know the obvious stuff
 
I figured that asking this question wasn't appropriate on SO so I came here. Ok so I purchased a C++ Primer and I have finished with the basics and I'm about to start STL. Even after being better than most of the books out there, it isn't perfect (so far). The authors aimed to teach their readers about the best practices and also tried to keep them away from the bad ones. Concepts likes these (http://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-a-bad-practice-in-c) and (http://stackoverflow.com/questions/3601602/what-are-rvalues-lvalues-xvalues-glvalues-and-prva
 
user142019
@sehe no, I'm reading that report by PVV.
 
user142019
And some Erlang docs in between.
 
user1357851
worse come to worse, I write my own p2p
 
@ChosenTorture what problem? C++ Primer is a rather good book. If it's not complete, search elsewhere. There will hardly every be complete C++ book/tutorial
 
user1357851
1:35 PM
thought of doing that for mobile phones
 
user1357851
but don't want to get sued
 
Use libtorrent.
It's horrible, but does the job.
 
@ChosenTorture Also, practices vary. These can sometimes be only opinions, and you can't read one - you will need your own
 
Ugh with this opinion crap again
@ChosenTorture The only C++ reference is C++ standard
 
user1357851
@R.MartinhoFernandes can it be done on a phone? how different is the phone os from a computer's os?
 
1:37 PM
@BartekBanachewicz I know that C++ Primer is one of the best out there but as I said I don't want a disorganized study table with some concepts in one book and some of them in the other. And I'm willing to modify C++ Primer accordingly with good answers which I find on the internet
 
@CatPlusPlus sigh it's you who is starting. Are you trying to say that there are no opinions whatsoever? Declining the existence of the concept itself?
 
@Zoidberg I was giving an example of another "bad"/"immoral" internet activity :)
 
@ChosenTorture why should you want to modify a book? -.-
 
user142019
@sehe And I was telling what I was reading.
 
...
 
1:38 PM
@Telkitty libtorrent runs on Android. Not sure about other phones, but it's highly likely it works there too.
 
@BartekBanachewicz To improve it
 
@Zoidberg We're not autists. At all.
 
@ChosenTorture why don't you send suggestions to the authors?
 
user1357851
@R.MartinhoFernandes so I assume there are p2p apps on the market already?
 
@Telkitty of course
 
user142019
1:39 PM
@sehe I have no idea what Aramaic means, and I don't read bibles.
 
user1357851
names?
 
@Telkitty uTorrent?
 
@Telkitty No because Google bans them
 
@Zoidberg It's a language.
 
Do your homework
 
1:39 PM
@BartekBanachewicz Would that help? I'd have to wait several years before they consider my suggestion and decide to incorporate it in their book
 
@BartekBanachewicz Uh. It's going?
 
@ChosenTorture But the chances that someone would really benefit are relatively high, compared to I don't know, putting "corrected" (note the quotation) version on the internet
@ThePhD I think you are overcomplicating things. I've thought about that and see no reason why range function shouldn't accept stateful range
 
user142019
@R.MartinhoFernandes TIL
 
user1357851
uTorrent seems to be on Android and iphone
 
@BartekBanachewicz You're missing the point. I'd have to wait for several years for a thing that I'm not sure will happen. I'm just looking for methods/suggestions to improve the imperfections in C++ Primer
 
1:42 PM
Or maybe it's Apple than bans them
Who knows
 
@ChosenTorture but what are you going to do with this improved version?
 
Save yourself sanity and don't touch mobile shit
 
It's not like mobile torrent client is the most useful thing ever
 
user142019
@Telkitty Spotify is P2P.
 
@BartekBanachewicz Teach myself better C++
 
1:43 PM
@ChosenTorture If you want to teach yourself C++, I'd recommend reading books instead of writing them
 
@BartekBanachewicz Writing about stuff is a good way to identify your weak spots.
 
Hencewhy you smack yourself and stop writing questions to SO mid-way because you figure out the problem.
 
@CatPlusPlus oh lord, sounds messy
 
Rubber-duck Downvote Anxiety Debugging.
 
@R.MartinhoFernandes okey. s/about// should work too
 
1:44 PM
@BartekBanachewicz Yeah I want teach myself by reading and improving the imperfections in the source that I'm trying to learn from
 
I would hardly say that I am able to correct C++ Primer
you can of course ask about it
and don't just believe what's written
But I wouldn't go into it with "I'm improving the book" attitude - questioning would be a better verb
 
@DeadMG Such as this stackoverflow.com/questions/1452721/…. Anything about this is never mentioned in C++ Primer
 
@ChosenTorture Which imperfections?
 
@DeadMG The C++ part
 
seriously, shut up.
 
1:48 PM
@ChosenTorture It's a practice. I am not saying that using namespace std is good. Merely pointing out again that these may well differ. And I assume we are talking about .cpp, not .h files of course
 
@BartekBanachewicz Part of the author's job was to teach us good practices and keep us away from the bad ones. I simply want to include a pointer to a bad practice that the author forgot to include in his book and teach myself better C++ in the future.
 
@ChosenTorture well make a notebook then. Or a blog.
I've stumbled on a ruby begginer blog recently, and it was quite fun to read
So that might be a nice option; just write about good things you learn/find
 
hmm..I have a key left over in my custom keyboard layout....how about a "std::" key? :p
 
this way, people can also give you realtime feedback
 
@melak47 🍌
 
1:52 PM
Realtime Feedback:
"WOW YOUR BLOG SUCKS I HATE YOU SUCK DICK."
 
@R.MartinhoFernandes is that a banana? I can't tell becuase windows/chrome/??? sucks
 
"hey grt article..... thx....."
 
Ooooh :abbr 🍌 std::
 
@ThePhD you're loaders sucks.
@R.MartinhoFernandes no. just no.
 
1:53 PM
@BartekBanachewicz Now you're talking! That is what I was asking earlier....methods to improve the manuscript which I'm learning from. One of the them would to wrrite those points in a notebook. I'm looking for a more efficient method
 
Xeo
@R.MartinhoFernandes o_o
 
@R.MartinhoFernandes what?
 
@R.MartinhoFernandes That shit is Bananas.
 
@ChosenTorture continue on reading
 
@ChosenTorture stop reading, start doing :D
 
user142019
1:54 PM
@melak47 lol.
 
@melak47 Map a key to a banana, and then add a banana as abbreviation for std:: in vim.
You get the best of both worlds.
 
@R.MartinhoFernandes I can't even see bananas >_>
 
You're daltonic?
 
nope, just unicode handicapped
 
@melak47 'Doing' things require proper training and learning. That is what I'm trying to get
 
1:55 PM
Handicoded.
 
@Zoidberg ah. so that explains their preoccupation with "social" and "songs playing near you"
 
@ChosenTorture meh. You can just sit down and write code. you have to start writing at some point
You shoul've done all of the examples from Primer while reading
 
user142019
Nooooooooooooooo.
 
@ChosenTorture You can read all books on C++ and you'll still be bad at it
 
user142019
R class starts now. ;_;
 
user142019
1:56 PM
Somebody make me dead.
 
@R.MartinhoFernandes because... you can insert a banana quicker than you can say "std::"?
@Zoidberg You will
 
user142019
@sehe if you map a key to 🍌, yes.
 
@Zoidberg Well. Why abbrev then :) Just map the same key in Vim
 
Because a key map behaves differently.
 
user142019
You map key to 🍌 OS-wide, and you map 🍌 to "std::" Vim-wide.
 
1:57 PM
@CatPlusPlus I guess you're right. I'll keep those good answers in the favorite tab on SO and try to write more code.
 
You need code reviews not books
You need intuition
 
If you :map the 🍌 key, you cannot type 🍌s easily. If you add an abbreviation, typing a banana becomes 🍌^V
 
I find the best code reviews come from the Lounge<C++>.
 
Xeo
-1
Q: error C2079: uses undefined class 'std::unique_ptr<_Ty>'

user633658This error has been searched but inconclusive or misunderstood solutions. I have a class with an inner class. The outer class has a template defined with a single parameter. The intent is to use the template parameter within an inner class member. template <typename T> class Foo{ ...

Erm
@ThePhD "You suck." done
 
@ThePhD "your code sucks"
 
Xeo
1:59 PM
With a Clang-style note: on why, sometimes.
 
@CatPlusPlus Where can I get regular code reviews?
 
@Xeo It's been (Hint: ...) lately
 

« first day (874 days earlier)      last day (4083 days later) »