« first day (291 days earlier)      last day (4661 days later) » 

GOOGLE KNOWS ME
 
It's damn annoying that you have to opt-out on each and every browser you use.
 
My question is, when you opt out of received targeted ads, do they still monitor what you do with it, or completely disable tracking.
 
Sometimes I google "I know you're listening" just to scare someone off.
 
6:08 PM
My guess is they just do not display targeted ads, they still track you.
 
How can they track your browsing behavior on non Google pages?
 
@StackedCrooked Usually, with cookies.
 
@StackedCrooked Haven't you ever seen google analytics running?
 
Analytics.
 
6:10 PM
The EU now requires every web page to ask before setting cookies.
 
@MartinhoFernandes Guess who cares.
 
@MartinhoFernandes And that was a poor adaptation of the XKCD comic.
 
No one respects that though.
 
it is dead on tho
first time I see that page
 
6:11 PM
@MartinhoFernandes It is because of the massive problems that law causes.
 
@Collecter Like?
 
@Collecter If I visit a random webpage that has analytics Google will know my identity?
 
I think it's just because no one cares.
 
@hexa This is my work computer and it was pretty accurate. I never see ads.
 
same here
 
6:11 PM
@StackedCrooked I am not sure exactly how analytics works, google it :P.
 
I believe a webpage can only read cookies in from its domain.
 
@MartinhoFernandes It cannot be/should not be enforced for countries based outside of the EU, even if their webpage is targeted at people in the EU. If a company is in the EU but hosts their servers in india, do they still have to? Etc. I will admit I have not put a lot of thought in it, just going off what I remember.
 
So stackoverflow.com can only read/write cookies from the stackoverflow.com domain. (If I'm not mistaken.)
 
@StackedCrooked Yeah, but if you add something from google.com (like ads or some analytics thingy) to the page, Google will know.
 
Analytics is a script that runs in context of a visited website.
 
6:13 PM
They can't access my Google cookies.
 
And it communicates with Google servers, obviously.
Otherwise it wouldn't make much sense.
 
@Collecter I still think it's mainly because no one cares.
 
You can preview HTTP headers on the requests on a GA-enabled site.
 
How the hell did it find out your gender and age?
 
6:15 PM
@MartinhoFernandes I am actually interning at a web company this summer. They send out articles every so often. Here is one on this subject. myworldgroup.com/wgn/2011/05/25/…
 
Why are you using IS. WHYYYYY.
It doesn't even work.
 
@Collecter Needs login :(
 
@MartinhoFernandes Really? Let me screenshot it
 
This "Detours" is a bit tricky to use without MSVC...
 
Use MSVC, then.
 
6:17 PM
 
@MartinhoFernandes This should work actually
 
Hehe. I don't have 1.8GB free :-(
 
@KerrekSB Wait, you're using the WinAPI without VC++?
Masochistic, aren't you?
 
@MartinhoFernandes Also, from the update at the bottom, I learned the law wont be enforced until next year. Which is why no one is yet.
 
@EtiennedeMartel MingW!
 
6:18 PM
@KerrekSB Yeah, GCC.
I figured.
 
GNU Crap Collection.
 
Now I'm missing dbghlp.h though :-S
@CatPlusPlus Haha. At least it supports C++ :-)
 
You need WinSDK to do anything serious anyway. It comes with a compiler.
 
> "If there are several lagging there's no way the commission will come down hard on them immediately,"
See, no one cares.
 
@KerrekSB It mostly supports being sooooo fucking slow.
 
6:19 PM
@CatPlusPlus There's a decent Windows API available for MingW, but it may not be entirely up to date or complete...
 
@MartinhoFernandes See the word immediately, they care but give some room.
 
@CatPlusPlus That's because it isn't cheating on covariant return types in multiply inherited hierarchies :-)
 
They didn't care enough to write a directive that has a clear interpretation!
If the people behind it don't know what they want, how can anyone comply with it?
 
sbi
Awesome. http://www.youtube.com/watch?v=vIJINiK9azc (via @abbytmiller)
 
And just because you're outside the EU, that gives you no right to operate in EU market without following the rules.
 
6:24 PM
@MartinhoFernandes I have not organized my thoughts well enough to argue anything, and do not plan to at the moment. So let us leave it be.
 
sbi
Oh nice. I fought all morning with a project converted from VC9 to VC10, which refuses to be set from .NET Framework 4.0 to 3.5. After lunch I gave up, created a new project, set it to 3.5, and copied over the settings of the old one. One of those settings must have been to much, though, because in the end the new project now insists to stick to 4.0, too, and I'll have to start all over tomorrow.
Now I'm grumpy.
 
@sbi When aren't you grumpy?
 
sbi
@Collecter I wasn't when I saw the video balpha linked to.
 
@sbi Good answer.
 
sbi
@Collecter Just a true one, actually. I smiled a lot watching that.
 
6:30 PM
@sbi Those are the best kind of answers.
 
sbi
Anyway, this grumpiness is nothing that 20mins of good ol' q3a couldn't sooth. SO I'll be back in 20mins...
 
Are you using SP1?
 
@sbi I sometimes abuse svn (diff) to find out what the actual effect is of changing something.
 
> I've removed System.Core and System.Data from the list of dependencies in the default branch - they may come back though. I'm pretty sure VS2010 at least used to have a nasty habit of reinserting them, though that may have been fixed in SP1.
 
it's like implicit type conversion
 
6:33 PM
Though our problem was with VS insisting on 3.5 when we wanted 2.0
139
Q: My Dad is impatient with the pace of my learning to program. What do I do?

DavidSo my Dad bought me 5 books on programming (C++, Java, PHP, Javascript, Android) about a month ago. He's an architect and he knows NOTHING about programming. He bought me them because I told him programming was fun and I wanted to learn it. As you might know, being a kid (I'm 14) and being told...

Oh man, this is like... torture, right?
 
Learning 4 languages at once is not the best way to get started.
 
@StackedCrooked That's what you find wrong about that question?
 
@MartinhoFernandes I like Anton Barkowski's answer.
 
The kid seems to have a knack for the thing, but his dad is... an asshole.
 
In situations like this it sucks being underage. He can't really tell his dad to fuck off.
 
sbi
6:47 PM
@StackedCrooked Well, since I had only started to do that this afternoon, had only been changing one (project) file, and didn't have anything working yet, I hadn't checked in yet...
 
> You're going to feel discouraged from time to time. Sometimes it feels like half of programming is getting stuck, and the other half is getting unstuck. Getting unstuck is a valuable skill, and the more you practice it the better off you'll be. (Avoiding getting stuck in the first place is also a valuable skill, so practice that too.)
 
This kid is a pussy.
 
Damn
Sucks to be him.
 
sbi
@StackedCrooked If that is true, there's something wrong with the parent-child relationship. That kid is 14. I have a 14 year old, and we both tell each other "you are soo wrong!" once in a while, and sometimes that statement is true, and sometimes it's, well, wrong, and I honestly can't say that recently my teenager has been wrong more than I was.
 
@hexa You're kidding, right? (I have to ask, my sarcasm detector is broken.)
 
6:49 PM
Ofc I'm not. Where is his assembly book?
 
@sbi That's nice.
 
@hexa He had to hide it in his php book, since his dad didn't approve.
 
@Collecter ;)
 
@hexa Eh
Assembly is for chumps.
Real men use VB script without puking
 
0
Q: Preventing Singleton Cache Miss in C++

grahampIs there a way to prevent a cache miss when using singleton objects? Here's my current singleton implementation: SingletonObject.h #pragma once class SingletonObject { public: static SingletonObject* SingletonObject(); static void SingletonObject(); private: static SingletonObject...

 
6:51 PM
But in all seriousness, thats the perfect example of how to break a kid. And maybe even lose a good programmer for good
2
 
@hexa At least his dad is also not yelling at him at the same to get off the computer and go play a sport. -.-
 
@hexa > EDIT: Thank you so much everyone, you have no idea how much it means to know that there are some people that understand my situation. I've read every one and I'll consider everyone's opinion. ¡Gracias!
Make we won't lose him.
 
@MartinhoFernandes There is hope after all.
@MartinhoFernandes This is a strange question.
 
After much pondering, it "is not useful", so -1 from me.
Honestly, what do you expect the answer to be? Keep accessing the damn thing so it doesn't leave the cache?
 
Maybe I should write a browser plugin that scrapes the page for anime titles and then looks up ratings from other sites and inserts them next to the title (DOM modification). For example on a page like this it would be nice: en.wikipedia.org/wiki/Category:Anime_of_2011
 
6:59 PM
"Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter" says Eric Raymond
So damn true.
 
@StackedCrooked Have it scrape from My Anime List
 
@MartinhoFernandes My answer would be "Do not use a singleton".
 
@Collecter that's what I was thinking.
 
sbi
@StackedCrooked Yeah, I also like it.
 
@EtiennedeMartel Even though I agree in general, that doesn't avoid cache misses per se.
 
7:00 PM
@MartinhoFernandes Yes, but cache misses are easier to avoid when you're not playing with global variables.
 
Singletons are not really cache-friendly in general.
 
@sbi Maybe it's just my own personal version of English, but isn't referring to your kid as "it" a bit weird?
 
sbi
@StackedCrooked No, that's how things ought to be. If you can't take yourself back gradually, when your kids get older, you need to get help to do so.
 
I think the gender neutral pronoun for people is "they".
 
@MartinhoFernandes There are as many opinions about this as there are English speakers.
 
7:03 PM
@MartinhoFernandes Is there a non-neutral prononun also?
 
@StackedCrooked Huh, "he" and "she".
 
@MartinhoFernandes I mean plural.
 
@StackedCrooked But I meant singular when I mentioned "they".
 
@MartinhoFernandes "they" isn't singluar
 
sbi
7:04 PM
@MartinhoFernandes That's German coming into my English, I guess. In German you can talk about a kid as a neutrum, not revealing its sex. But I guess I've talked about her too much here already for that to still matter.
 
How is they doing?
 
How are.
They can be used as a singular gender neutral pronoun.
 
How is it doing?
 
Singular they is the use of the pronoun ' (or its inflected forms) when plurality is not required by the context. Singular they indicates indeterminacy: * either in regard to number — "Anyone who thinks they have been affected should contact their doctor"; * or, controversially, regarding gender — "One student failed their exam." In the example sentences, they and their are generic, non-referring (or only vaguely referring) pronouns within the scope of universal, distributive quantifiers denoted by anyone and any. "The use of the plural anaphoric ... pronouns 'they' or 'them' to mark non-...
 
sbi
@MartinhoFernandes In every-day speech, but from what I know (outdated, so beware) any English professor would be horrified when you turn in a paper using this.
 
7:05 PM
@sbi Interesting. In French, there's no neutral gender. Everything (even inanimate objects) has a gender.
 
"one" is also singular gender-neutral
One can only do so much.
 
I haven't done C++ file I/O in a while, and realized that ifstream::open uses a char* rather than a string. WTF?
 
@StackedCrooked But "one" is not specific.
 
@tkerwin C++ iostreams predate the standard library, IIRC.
 
@MartinhoFernandes Indeed.
 
7:07 PM
@tkerwin Just use c_str() to get a const char *.
 
sbi
@EtiennedeMartel By about 15-20 years.
 
@EtiennedeMartel That is so annoying. Portuguese suffers the same problem.
 
It takes string in 0x AFAIR.
 
sbi
@EtiennedeMartel The French word for child is "infant", right? What gender does it have?
 
It's male.
 
7:08 PM
dealing with strings and i/o is my least favorite part of C++
 
@sbi "enfant". It's male. As in, "un enfant".
 
But in Portuguese, it's female: "uma criança". Yay for variety.
 
@sbi Still, we prefer to use the more specific "un garçon" (a boy) or "une fille" (a girl).
 
garçon means boy in french?
 
@hexa Yep.
 
7:10 PM
In English it means waiter, right?
 
@MartinhoFernandes Yes
 
The more you know.
 
sbi
@EtiennedeMartel Ah, right. (Sorry for getting this wrong.) Interesting. Well, I guess it's no more strange to talk of a girl as a kid in your language than to take of a girl in German, where the common form is a diminutive, and as such neutral. (Mark Twain made fun of this when he learned German.)
 
In portuguese, garçom means waiter
 
@MartinhoFernandes I read that as walter bright.
 
sbi
7:11 PM
@StackedCrooked LOL!
 
@StackedCrooked You need to sleep.
 
@MartinhoFernandes I was sitting far away from my monitor at that moment.
 
@StackedCrooked Get closer, we won't hurt you.
 
sbi
You should have seen me and my classmates when we discovered the literal translation of the word "cowboy". It took us weeks to get over this. :)
 
@hexa This side of the Atlantic that is very rarely used, and when it is, it's garçon, though that may have changed with the Orthographic Agreement.
Since I'm not agreeing with that, I'll go on using garçon.
 
7:12 PM
@EtiennedeMartel Promise?
 
@MartinhoFernandes In Brazilian Portuguese, no word is terminated with an N
 
@StackedCrooked Yes. But I can't talk for everyone.
@hexa Must be weird.
 
@hexa not even "magnetron"?
marathon?
 
@hexa I think in Orthographic-Agreement-Crippled-Portuguese we have that rule as well.
 
sbi
@StackedCrooked And John?
 
7:13 PM
@StackedCrooked "magnetrão" e "maratona".
 
@sbi Yeah!
 
@sbi "Johm" sounds just plain weird.
 
Of course, names do not apply :P
Unless you are in Portugal where they translate author's names
 
Yeah, stupid.
 
They translate names?
 
7:14 PM
Eh.
 
Karl Marx = Carlos Marques (AFAIK)
 
@hexa No!
Not that one.
 
Really? I thought I saw that
 
That is way too ridiculous.
Honest, I never saw that. I swear.
 
How would they translate John?
 
7:15 PM
João.
 
And StackedCrooked?
 
But this practice is declining.
@StackedCrooked lol.
 
@MartinhoFernandes good thing
 
Karl Marx = Karl Marx. William Tell = Guilherme Tell.
 
Well I doubt that the "Gospel of John" was really written by a person named John.
 
7:16 PM
@MartinhoFernandes In French we call him Guillaume Tell.
 
Ah!
What about "Joan of Arc"?
 
@MartinhoFernandes Jeanne d'Arc
 
She wasn't really "Joan" was she?
 
Jeanne
 
William Tell is Swiss though
 
7:18 PM
See, everyone does this.
 
Wilhelm Tell ;)
 
I guess famous people have their names translated.
Jesus = Jésus.
Ah, not that one though.
 
Well, people or characters with a long history tended to be given more local sounding names.
 
I think normally you just translate the first name, as there's almost always a correspondent native version of the name ... but translating the last name like Marques (Marx) that's new to me ;)
 
Look at all the different names for Santa Claus.
 
7:20 PM
@tkerwin Père Noël (litt. "Father Christmas")
 
@das_weezul That was hexa on drugs.
No one does that.
 
@EtiennedeMartel Goldorak has its name translated
 
LOL
 
@Drahakar Damn.
 
Does it mean Goldorak > Jesus?
 
7:21 PM
@Drahakar No.
 
user402642
If you keep on getting memory leaks aka glibc detected errors on a UNIX machine, how long will it take until you corrupt the whole memory space? Or does glibc automatically free memory that you corrupted? aka... do I have to restart my UNIX machine to free all of the memory?
 
Who's Goldorak?
 
@MartinhoFernandes Quebec name for that: en.wikipedia.org/wiki/Grendizer
 
Goldrake?
 
@CarlodelMundo If you end the process that is leaking, the system should return the memory to the system
 
7:22 PM
Robo Gurendaizā
 
@CarlodelMundo Your name fits perfectly in our conversation ;)
 
@CarlodelMundo If you keep getting leaks, at one point you'll run out of memory, and the system will kill the process, reclaiming the memory.
 
CUnit tests done, 45 mins to waste before leaving ;)
 
CUnit?
 
You're at the right place then.
 
7:24 PM
Yup
 
@StackedCrooked Careful typing that. Don't forget the "i".
 
@Francis Never heard of it.
 
@StackedCrooked I know it's hard to believe but there is actually a test framework for C
 
sbi
@MartinhoFernandes You mean this is the right place to come to to waste time? Yeah, indeed. The only problem is, I got only so much time to waste, but this chat room seems to have infinitive resources for wasting...
 
Among C++ unit testing frameworks googletest seems like the only maintained one.
 
7:26 PM
Speaking of which, if I want to mock out some C∪C++ implementation, is it a good idea to just do the implementation in a .cpp file and pick the mock object file for linking tests?
 
@sbi That's why there's so many people in here. We can share the waste.
 
@EtiennedeMartel That didn't sound right.
 
@MartinhoFernandes Indeed. Meh.
 
@MartinhoFernandes I don't really understand.
 
sbi
@EtiennedeMartel In that, shared wasted time is like shared love: The more you share, the more it becomes...
 
7:28 PM
@sbi Infinite love.
And wasted time.
 
@sbi I guess that's kind of cute
 
@MartinhoFernandes That would be a good way to avoid polymorphism.
 
sbi
@Francis You know, I meant to point you at the C chat room (tongue in cheek, though), but it's not on the first few pages of the room list, and it's nigh impossible to filter for "C", so I had to give up.
 
@sbi Well, it's not like this room is about C++...
 
@sib I'm here because I enjoy C/C++ :p
 
7:30 PM
HERESY
 
@sbi My first name also being Francis this conversation is kind of confusing to me.. :)
 
@Francis Here we go again.
 
C/C++ is a prohibited term
 
@hexa I know
 
at least today
 
7:30 PM
It's C∪C++ now.
 
sbi
@Francis Oh no! Now you've done it!
 
cuc plus plus?
 
@EtiennedeMartel that's like saying "See you, C++!"
 
Oh. I didn't follow the whole conversation about it sorry
 
is that a hostess bar?
 
7:31 PM
@tkerwin It's not a U
@tkerwin Sex again?
 
It's a set union symbol.
There's also set intersection, for when you are talking about the common subset C∩C++.
 
C∩C++ = C rite?
 
And there's also C/C++
 
@hexa Not quite.
This is how I'll be referring to this shit from now on, so you'd better learn it.
 
sbi
@Francis It's kind of a red flag here, really, due to all the stupid questions by people who think "C/C++" is an actual language.
@Francis It's stolen, though. Albert Schweitzer said that love is the only thing that doubles when you divide it.
 
7:32 PM
C⊕C++
 
CNC++ is the next version of Command & Conquer?
 
Nobody ever speaks of C/D
 
@hexa C&C is dead. C&C4 killed it.
 
@EtiennedeMartel Command & Control?
 
sbi
@StackedCrooked Well, what can I say/do? At least you're in a much better position than the two Freds where when @FredN still was here.
 
user402642
7:33 PM
@hexa @dasweezul @EtiennedeMartel Thanks for the responses!
 
@EtiennedeMartel Age of Empires II is the hot stuff right now.
 
@StackedCrooked Ha. AoE2. I loved massing longbow men.
 
@sbi No worries :) I'll get used to it.
@EtiennedeMartel Nice :)
 
@Francis Command & Conquer.
 
That's an algorithm.
Oh, wait.
 
7:35 PM
A game where players rush to tanks.
 
Merge sort.
 
sbi
http://code.google.com/404 -- look at the page title
:)
 
That's one sad robot.
 
@sbi it's all in the details :)
 
sbi
7:36 PM
@EtiennedeMartel "look at the page title"
 
Error handling done right. (Except for not allowing C++ exceptions then..)
 
I think Firefox has this special about:robots page or something.
 
@sbi Yes. But the robot is still sad.
 
@hexa SQL?
 
7:38 PM
not quite
 
@hexa It's like the bastard child of C and PL/SQL
 
Sourcerous Query Language.
 
it's pro c
 
@hexa preprocessor macros?
pro c, lol
 
sbi
BTW, that 404 page for the cycling SE site was also funny. Where did I put this... <rummages_through_twitter/>
 
7:38 PM
@StackedCrooked I don't know thats why I'm asking! :P
 
not for amateurs
 
@tkerwin I better stay way from it then right?
 
Woaaaa.
 
sbi
@hexa Reminds me of a dark period during my studies, when we had to write ESQL/C, or what was it called. <shudder/>
@EtiennedeMartel You hurt?
 
7:41 PM
Yeah, me too, my current job isn't enterprisey enough.
 
sbi
Anyway, I'm off for tonight. See you guys (typing) tomorrow!
 
@sbi No, but thanks for asking.
 
That's impressive.
 
user457812
Nifty.
 
7:45 PM
only 3 languages use Ç
 
I know a man with a wooden leg named Smith.
 
portuguese, french and romenian
pretty cool gif tho
and I hate Ç. It is a completely useless character. Portuguese is filled with bloat, bleh
 
And redundant ways of writing phonemes.
Like Ç, C before i or e, SS, S starting a word, etc.
They all sound the same.
 
yes, it is annoying
 
But as annoying and stupid as it is, I've grown to like it, and I hate the butchers that want to do some "Orthographic Agreement" crap.
I think I'll be writing "wrong" for the rest of my life :(
 
7:52 PM
Alright guys, I need a second monitor for my job. IT is asking for justification.. I need some good ideas. I know I can't say "Because I am a programmer"
 
Changing natural languages by comitee is stupid.
 
@CodeMonkey It greatly increases productivity.
 
@CodeMonkey Well, why do you need it?
 
By allowing you to work while you chat.
 
@Code: It's easy. Code on one screen, documentation on the other
 
7:53 PM
@EtiennedeMartel That's what I said
 
or, hell, just code on both screens
 
@DeadMG Code on one screen, chat on the other.
 
I'd never go back to one screen because I really need the Bison docs open whilst working in Bison
 
@EtiennedeMartel Their response "understands having a dual monitor setup does supply productivity gains in some applications"
 
@CodeMonkey Honestly, if they don't want to, you're pretty much screwed, and no amount of studies is going to change that.
 
7:55 PM
Hack into the servers, hold the code repository hostage and blackmail them.
Don't mention my name.
 
Say that you need to have the reference material in one monitor and the code you are working in the other
 
@CodeMonkey however if you keep a tab open with this chat on your second monitor it'll greatly reduce your productivity
 
@Francis ROTFL
 
A C-stuct cannot have methods in it. Then why this code is compiling despite I am saying extern "C" ideone.com/EpD5t
in a CPP source file
 
extern "C" only means that there will be no fancy shiz with the names
 
7:59 PM
extern "C" is not a way to switch on C-only syntax.
 
@Mahesh that's not what extern "C" means
 
so C code can link C++ code
 
Though it does forbid a few things.
 

« first day (291 days earlier)      last day (4661 days later) »