« first day (712 days earlier)      last day (4227 days later) » 

4:00 PM
@Als Ah, thank you. I run into the same situation quite a bit too. Talking along, and suddenly a baby wakes up and I'm gone for half an hour...
 
@JerryCoffin With my luck, if I tried that line on some drop-dead stunner in a bar, I'd find out she was a DB guru:(
 
I cannot read this
wtf does that even say?
O97UK2 ??
 
Q97UK2 ?
 
q97uk2
That's easy.
How can you not read it?
 
@JerryCoffin "Bed? Sex? No, silly! When I said I wanted assistance with an INNER JOIN, I meant..."
 
4:05 PM
@MartinJames Nerd humor.
Only nerds would give up the offer of sex to program SQL.
 
@Drise cuz I'm blind obviously
 
@TonyTheLion I suppose that makes hunting hard.
 
@MartinJames In which case you ask for some...personal coaching.
 
@Drise Can I not have my cake and eat it?
 
@MartinJames So... you fuck and get SQL help simultaneously? Damn. That's a hardcore porno if I ever I knew one.
2
 
4:09 PM
lol
 
@Drise Yeah, it's banned in the UK. The fucking is OK, but..
 
@Drise Director: "I hate working with amateurs. Always doing an inner join where the script clearly calls for an outer join!"
 
The annoying assembly <explode_bomb> assignment/question linked by @Tony has been 'voluntarily removed by its author'.
 
thank god
 
@MartinJames I did a bomb project like that a few years back...
Every time the bomb exploded it would contact the school servers to deduct a few points from your grade.
 
4:16 PM
@Mysticial Hehe..
 
The trick was to put a break-point at the start of the "contact server" function.
I exploded the bomb once before I was able to find the "contact server" function.
 
downloading portal
 
After that, I exploded it at least a few hundred more times to figure out the rest of the code (mostly by trial and error).
 
@Mysticial ..and change the sign of the score_delta parameter?
 
@MartinJames Nah... that was server side enforced.
 
4:18 PM
@Mysticial :((
 
Fuck. You guys are becoming increasingly harder to please. Zero stars for my hardcore porno joke?
I thought that was for sure starbait.
 
@Drise Oh, go on then.
 
@Drise Well, if the joke didn't get a star, at least whining did! :-)
 
@MartinJames I ran out of funny fuel.
@JerryCoffin Less whining, more stating surprise.
 
@Drise SexQL: "Bringing a whole new meaning to the UNION operator."
 
4:24 PM
I can't decide. std::string filename or std::string fileName?
 
Would you write lastname or lastName?
 
Hm...
 
Programming is like sex: One mistake and you have to support it for the rest of your life.
 
pfft, only original sex/programming jokes plz
 
4:26 PM
i don't know any :(
tellme tellme ! :D
 
@Drise Lower camel case.
 
that's what "original" means
you make them up yourself
 
@Drise Oh, I see...
 
So does he.
 
@Drise filename is common enough to just treat as a compound word (i.e., use it with no separator), but if you insist on separating the words, file_name is clearly the right way to do it.
 
4:27 PM
 
@JerryCoffin I like your reasoning.
 
@Marko Programming is like sex; the first time you do it, you cry.
4
 
Ok, was trying to figure one out the whole time, @jornak good job! :D
*
 
Wow
 
man
the starboard is full of such epic fail
 
4:29 PM
I'm just about 50/50 for my distribution of filename/fileName
135 for filename and 123 for fileName
 
fileName.
 
awwwwwwwwwwwwwwwwww
 
Seems I could never make up my mind.
 
fileName hungarian notation!
 
Hungarian? I was taught that was Lower Camel Case.
 
4:31 PM
 
@TonyTheLion A face only a not even a mother could love!
 
@Marko "fileName" doesn't fall under Hungarian if I understand it correctly
 
Does not? I'll read some more.
 
doesn't really
 
Hmm, looks like not, as I can remember if we were using let's say Label for price, you would shorten the Label "lPrice", and that was called hungarian notation
 
4:34 PM
@Marko No -- HN encodes the type, so for this it would be something useless and stupid like psFileName.
 
psz?
ps? :D
 
user784668
@JerryCoffin No, that's not Hungarian, that's the stupid type of Hungarian.
 
@Marko psz would be `Pointer to String, Zero terminated" (i.e., a C-style string).
 
Oh, ok. Thanks
 
add in my pants to everything you say in my pants.
@JerryCoffin or Pecan Street Zone in my pants
 
4:37 PM
I recently took a large dump in my pants
 
lol in my pants
 
I also had a good wank in my pants
 
I just took a large dump too, in my pants
@DeadMG fap fap fap in your pants. :P
 
@TonyTheLion in your pants in my pants?
 
wut in my pants.
 
4:39 PM
in our mutually shared pants in my pants
 
oh gawd in my pants
:P
pants-ception in my pants
 
I also cooked some dinner in my pants
 
I still have to cook dinner in my pants
but I'm too lazy in my pants
just got my council tax bill in my pants
 
I just shaved in my pants
you know, tony, you're really not very good at this in my pants
 
4:42 PM
I suck
 
@Fanael That's Hungarian as Charles Simonyi invented it. You might want to read his original paper before arguing about what it is or isn't.
 
anyways enough of that game
 
there was something about the people who keep asking you for help
until you die from fatigue
now it works perfectly. Thanks. Could you please give me an idea how can I remove one color from the gradient. I want to remove pink color from the gradient. Total colors will be 4 or 5 not six. When I remove one color from HSL2RGB function, removed color area transform into black with no color. I want that the removed color area should be filled by previous color, and gradient look fine with 4 colors. Thanks. — furqan 20 mins ago
And I also want my own OS and PC built, can you do it for me? Thanks.
 
user784668
@JerryCoffin Exactly, Simonyi's Hungarian is the stupid Hungarian.
 
Some OPs demand/expect too much.
 
4:44 PM
@Fanael Actually, he seems to include both kinds.
@VinayakGarg They seem to believe your obligations as an answerer extend to cocksucking and a six-month tech support contract
 
@Fanael It's "Hungarian" because "Simonyi" is a Hungarian name -- i.e., it's named after him. He invented it, and it is what he says it is. If you want to use something else, feel free -- but while it may be useful (probably not, but always possible) it's not HN.
 
@DeadMG haha, now I feel better about the 3 hours I wasted on a OP :)
 
@DeadMG you're really into cocksucking, aren't you?
 
twenty minutes ... pufferfish
 
@DeadMG yea
 
4:55 PM
@DeadMG lol hilarity
 
Hey everyone. Is it a problem if I barge in here a bit?
 
@BartekBanachewicz Maybe I'm shoving my face into a hornet's nest here, but I feel like I notice that a lot around .NET development and in Q&A forums. "How solve this problem? Okay thanks, now how solve this one? And this one? And this one?" The worst part is it's usually something included directly into the library, not even like a fancy compiler secret.
 
user784668
@GraceNote Yes.
 
@GraceNote No.
 
@GraceNote Perhaps. Except I don't really hold any clout here, I've been here a total of ... 2 days?
 
4:59 PM
@GraceNote Anything in particular?
 
Well, I mostly wanted to check if @sbi was around, and if not, if anyone knew when he usually might be around.
 
i don't reckon him saying he is going anywhere. Your best bet would be probably tomorrow morning.
 
user784668
@GraceNote Create some flame-prone topic on meta, he'll show up.
 
@GraceNote later in the evening he normally turns up
 
Mmm. I mostly wanted to ask if he was comfortable with being possibly quoted on a blog article I'm writing about homework, or if he'd prefer that I paraphrase him and don't bring up his name.
 
5:01 PM
you'll have to ask him that, won't ya
 
That I would
 
@GraceNote I don't know the guy but I'd heir on the side of paraphrasing or quoting, but always pointing by to his answer/question.
 
@GraceNote I guess some regulars can have other contact to him than "hanging around waiting until you show up". Like email address.
 
@GraceNote I mean, who doesn't like it when they get a little accreditation every now and then?
 
sbi is grumpy
 
5:03 PM
@BartekBanachewicz Oh well then.
 
I was first going to just paraphrase it, but in thinking about it, sbi is the only person I've seen express the sentiment I wanted to capture, so it struck me as a "HEY YOU'RE TALKING ABOUT ME!" kinda thing so I wanted first and foremost to let him know in advance that I was drawing from his words.
 
well, we can certainly tell him that you were looking for him
 
And, well, if I'm poking him about it already, might as well see if he'd mind a direct quote of his comment.
I'll just hang in here silently, if he'll probably be here tonight.
 
I'm way jelly. sbi is going to be MLA cited in homework.
What a lucky guy.
One day, everybody, I'm going to be awesome enough and have enough SO points to be cited somewhere.
 
so people go to uni to learn Java?
 
5:06 PM
Believe it.
 
Actually, it's usually a Computer-Science-Department-has-you-at-the-mercy-of kind've thing.
 
nobody yet tried to teach me java
 
better start repwhoring
 
and I'd rather keep it that way
 
5:07 PM
In my uni, the fisrt THING you learn through the door is JAVA
"JAVA IS THE WAY OF THE FUUTUUURE"
 
They didn't teach me Java in Uni, I had classes where Java code is required so I had to teach myself
 
Java is the way to retardation.
 
And I was like "Hahahahaha, no. [Skips 5 required classes and dances all over Java's grave.]"
After having ActionScript and C++ and C# and C, I could never go to Java.
 
And now I have to teach myself Matlab
 
Even AS3 has getters and setters.
Java doesn't let you have any language convenience at all. No overloadable operators, nothing.
It's, so. UGhgughgughg Worst place to write Vector3 Vector2 Vector4 libraries.
/endrage
 
5:09 PM
There was an argument as to why Java didn't need operator overloading but I don't remember what it is.
Or if I even agreed with it for that matter
 
it was created for idiots?
 
@Borgleader You know what the argument was? Because James Gosling didn't like the way it was used in C++. THAT WAS THE BASTARD'S REASON.
 
idiots can't deal with operator overloading
 
He's put it in an interview somewhere with
Bjourne Stratsoup
 
@GraceNote I don't think he'd mind.
 
5:11 PM
THere's even an SO question comparing the two.
 
his current alias is explicitly intended and designed to be completely anonymous
but he'll probably be on later tonight
 
@ThePhD I remember reading it on Herb's blog
 
Oh, he's undercover, is he?
 
@TonyTheLion Probably a few do -- the ones who hate the idea of programming, but have heard it pays well and the working conditions are good (i.e., the type who'd have studied COBOL when I was going to college). The rest go to college to learn something interesting, but subjected to Java as a way of pounding such radical ideas out of their skulls.
 
What's is the best way to tokenize a c-style string, and to know which delimiter was used?
 
5:13 PM
102
Q: Why doesn't Java offer operator overloading?

rengolinComing from C++ to Java, the obvious unanswered question is why didn't Java include operator overloading? Isn't Complex a, b, c; a = b + c; much simpler than Complex a, b, c; a=b.add(c);? Is there a known reason for this, valid arguments for not allowing operator overloading? Is the reason arbi...

 
@GraceNote Basically, on Usenet or something, he gave out all his personal information, and then regretted it, so now he goes anonymously.
@VinayakGarg Why would you ever inflict a C-string upon yourself, and you need to know which delimiter is used.
 
@ThePhD It's not even how it was used, but the theoretical notion that it could be used to do terrible things -- as if an operator+ that did subtraction (for example) was somehow a lot worse than a "method" named Add that did subtraction instead.
 
@DeadMG Because I am using ifstream::getline
 
@DeadMG Ooooh, that's an ill thing to hear
 
And I need to know the delimiter, because I am writing two-pass assembler.
 
5:15 PM
@TonyTheLion @VinayakGarg He found the question before I did. But yes, the 203 upvoted post in that question.
As a person that writes some basic Matrix and Math libraries by hand, doing things in Java with Sketch or whatever the hell that simple programming construct was called was just teeth-grinding when coming from C++.
 
lol, the assembler is a "homework", and I can't ask it on SO
 
You can't ask out of academic honesty, or...?
 
@JerryCoffin It was just a terrible idea to punish EVERYONE because one person might mess it up. Clearly, if someone might go on a killing spree that THEY CLAIMED was inspired by a Lovecraft book, CLEARLY we should ban and burn EVERY SINGLE book Lovecraft has ever written. Because, problem SOLVED.
 
@GraceNote "homework" tag deprecation is unfortunate
 
@JerryCoffin java sucks. allrighty?
@VinayakGarg can't you just ask a good question instead? -.-
 
5:19 PM
@VinayakGarg All the tag removal means is that we don't need a label for it
You can still ask a good question about your material, you can even tell people it is homework if you want to avoid a straight-up answer (or you could just ask about the methodology and not ask for a solution). We're not abolishing the question class, we're destroying the tag and its associated stigma.
 
@BartekBanachewicz "What's is the best way to tokenize a c-style string, and to know which delimiter was used?" <-- is it good?
 
Conveniently this happens to be why I'm writing a blog article on it.
 
@VinayakGarg Well, that's only a title. But it's promising.
 
user784668
Is there a SE site where I can ask some questions about fonts?
 
I'd answer in my style ("don't"), so I am not going to judge it
 
5:21 PM
Title says it all
@BartekBanachewicz Expected
 
user784668
Because freetype is the second most annoying thing to work with, losing only to Java.
 
@Fanael UX or Graphic Design, possibly? It depends on what exactly you're asking about fonts
 
I didn't want to use freetype so I'vee started writing my own TT font format parser.
 
@VinayakGarg expected because you've seen me answering/commenting or because it's a stupid academic task?
 
But the Font community is EXTREMELY esoteric.
 
user784668
5:22 PM
@GraceNote How the fuck to configure freetype and fontconfig and shit to make it do what I want.
 
@ThePhD I wouldn't say so.
 
@ThePhD The only problem with banning Lovecraft books is that some people would want to read them just because they were banned. This is closer to preventing shootings by cutting off everybody's "trigger" finger at birth.
 
@Fanael now, I'd upvote THAT question ^^
 
@BartekBanachewicz Expected because I have seen a lot of answers relating c-strings in C++, that say so. I have not seen your answer.
 
user784668
@BartekBanachewicz I've found a nice workaround: remove the Microsoft fonts.
 
5:24 PM
@BartekBanachewicz Perhaps a revision: the font -programming- community is extremely esoteric and most people either depend on FreeType or the terrible Necronomicon-level strategies that hold these TT fonts together are only given lofty description in the piecemeal TT Font Format Specification, which is delivered in the most inconvenient way I've ever seen.
 
Hmm.. seems I will have to tokenize the string myself
 
@Fanael I have no idea where that belongs on account of not being certain I know what freetype is
 
user784668
@GraceNote Freetype is a font rendering library that's used by just about everything in the *nix world.
 
@VinayakGarg to be completely honest, parsing is quite interesting. If you want that exercise to really have some meaning, do it D-style and embed the tests into your code
Or just write unit tests
and hand them out with your assignment
 
@VinayakGarg That depends on exactly what you're trying to do, but that's only true if your needs are pretty esoteric (and go well beyond what you mentioned in your proposed question title).
 
user784668
5:26 PM
Huh?
 
user784668
> 2012-06-16 – Small update to fix an issue people were having with Chrome and the Verdana version from Windows 7 SP1. Also a minor update to Bitstream Vera Sans.
 
user784668
So the bug I'm having is fixed by upstream…?
 
Not impossible
 
@BartekBanachewicz Parsing is indeed fun. I don't avoid it. Its just I should learn the existing options as well.
 
@GraceNote Ingnorance is bliss
 
user784668
5:28 PM
Nope.
 
user784668
I have the "fixed" version installed.
 
@JerryCoffin Example statements (from 8085) "Somelabel: MOV A, B"
 
@VinayakGarg you should. But you should also learn how to write tests. And the best test cases are those who fail, obviously. They teach you how to write better code and better tests.
 
@BartekBanachewicz ah, the perfect world. I would love to be in it. But...
 
@VinayakGarg For something like that, you normally want a full-blown parser -- something like Flex/byacc work nicely. Can also be done with Spirit::Qi, but I find the latter more trouble than it's worth as a rule -- minor mistakes can produce horrible error messages, and it's usually (quite a bit) slower to compile a Spirit grammar than to run Byacc and compile the result.
 
5:33 PM
@JerryCoffin The lab assignments covers Lex and Yacc. But this particular assignment is supposed to be done in C. But I will bend it to C++ (for std::map).
 
@VinayakGarg Doing something like this in C generally means a recursive-descent parser, which isn't terribly difficult either.
 
@VinayakGarg don't bend. use. Either C or C++. There's no such thing as C/C++
bb
 
@JerryCoffin Currently I am studying parsing, so it will be some time after which I am able to code it. For now I will use, multiple while(isalpha()) and ifs in between.
 
posted on September 27, 2012 by Eric Brumer - MSFT

Hi, my name is Eric Brumer. I’m a developer on the C++ compiler optimizer, but I’ve spent some time working on Project Code Name Austin to help showcase the power and performance of C++ in a real-world program. For a general overview of the project, please check out the original blog post. The source code for Austin, including the bits specific to page curling described here, can be

 
@BartekBanachewicz I never said C/C++. But yeah I mix C in C++.
 
5:43 PM
@GraceNote Well, he's German, so European timezones
 
@jalf Huh, I figured him for Pacific ocean area. Whoops.
 
also hi :)
 
Hi jalf
 
Xeo
Yay, finally at home
 
What do say when a Lisp programmer tells you about a serious problem and asks you for advice? -- "Have you told your parens yet?"
 
Xeo
5:50 PM
@GraceNote I think he should be having dinner with his kids or bringing those kids to bed right now.
 
Mmkay
 
Xeo
So he might show up not too far from now
there he is
 
@Xeo Already? Isn't it still kinda early over there?
 
Xeo
@Mysticial 8pm?
 
@Borgleader What does "language X does not need feature Y" mean, anyway? And what does it tell us about X and Y?
 
Xeo
5:51 PM
@sbi, a mod is waiting for you
 
@Xeo I guess that's about bedtime for the younger ones. :)
 
sbi
@Xeo Huh?
 
Xeo
@GraceNote Told ya so!
 
Hi all!
 
sbi
Hi @Grace. What do you want to quote me on?
 
5:54 PM
@sbi Gimmeh a moment
 
sbi
@Xeo Indeed, I just fed, washed, and bedded them. I could now have the evening for myself, but I am tired. Also, I still have lots of stuff to do before I can go to bed. :(
 
thinking about the visitor patter... I would like to have many message receivers accept many kinds of messages, and the receivers would only need to implement a method that accepts the kind of messages they care about. Something like the old question below, but I wonder, is it really not possible to do something like that without having a common base receiver where all possible messages are listed?
 
sbi
@GraceNote Ok, granted. :)
 
7
Q: Visitor and templated virtual methods

Thomas MatthewsIn a typical implementation of the Visitor pattern, the class must account for all variations (descendants) of the base class. There are many instances where the same method content in the visitor is applied to the different methods. A templated virtual method would be ideal in this case, but f...

the CRTP can help a bit I think but I would like to have containers of generic messages and recievers...
 

« first day (712 days earlier)      last day (4227 days later) »