« first day (675 days earlier)      last day (4288 days later) » 

12:06 AM
I mean, why does the lexer care about the CPU name?
 
Can anyone tell me what the name for this type of diff is?
I'm looking through the manpage for diff and nothing seems to output anything close to that.
 
12:25 AM
@DeadMG Out of curiouity, have you looked at Cling?
 
no
nice one
 
@DeadMG If you want to interpret C++ using clang/llvm, it seems like an obvious starting point.
 
@JerryCoffin what's this with "ding", "dong" and "dang"
 
clang and cling != dang and ding
 
Did someone just ragequit?
That user just dropped 3 bounties on the top 3 questions of the month.
 
12:31 AM
yep
 
@DeadMG nah, you're just having me on
 
damn
850MB of documentation for cling?
at least they actually have documentation that's not that pathetic Doxygen garbage.
 
what is "ragequit"?
 
and it's all ASCII text!
 
@JerryCoffin Strictly, I'm not looking to interpret it, but something ... kiiinda similar.
 
12:33 AM
with 2K per page, roughly, that's 500 pages per MB, so, like 40 000 pages?
> set /a 500*850
425000
[D:\dev\learn\google_app_engine\hello]
> _
forgot one order of magnitude, "clang"!
 
well
turns out that about 99.999% of it was tex docs for something completely unrelated.
thanks, CINT.
 
-1 " I am not sluggard as these who usually ask for solution" is incorrect. — Cheers and hth. - Alf 19 secs ago
 
the tiny remainder (<300kb) does not at all mention how CINT functions
 
but isn't it ding documentation? as i understand it, ding replaces cint?
i think it would be natural for ding documentation to only explain ding, not its predecessor cint
 
well
I think that the fact that cling is not mentioned anywhere, to the point where I even forgot that was the thing I tried to download documentation for, says something.
 
12:43 AM
oh
hm, probably ungood stuff then
also indicated by the enormous size
 
ohhh, I think their website was just very unclear. Cling isn't actually integrated yet, and their latest version uses CINT.
oh great, more SVN commandline bullshit
 
@DeadMG Yes -- it says it's quite new. They've used CINT for years (quite possibly decades, though I don't remember for sure), and CLing is just getting to the point of reasonably usable.
 
well, it was a little helpful, I found the Clang name mangle function
so
1. Use clang to parse header. 2. Walk AST. 3. Mangle names, and declare. 4. Emit call instruction.
oh hi. found the clang::CompilerInstance class, which looks like exactly what I need.
 
1:21 AM
why CSS validation works but HTML validation errs out?
 
feck should i know?
 
well you have a point there
it was merely on the off-chance that somebody maybe knew
 
actually, that's not wholly fair
 
regulars and owners frequently ask such things here
but HTML/CSS is not one of the topics Loungers usually know about
 
1:24 AM
oh i think you would be surprised if you but knew
 
GGG
@Cheersandhth.-Alf there is probably a BOM in front of the xml declaration or something
some kind of hidden whitespace
Yup there is, check it in hexdump
$ hexdump -n 64 -C foo
00000000  ef bb bf ef bb bf 3c 3f  78 6d 6c 20 76 65 72 73  |......<?xml vers|
00000010  69 6f 6e 3d 22 31 2e 30  22 20 65 6e 63 6f 64 69  |ion="1.0" encodi|
00000020  6e 67 3d 22 55 54 46 2d  38 22 3f 3e 0a 3c 21 44  |ng="UTF-8"?>.<!D|
00000030  4f 43 54 59 50 45 20 68  74 6d 6c 20 50 55 42 4c  |OCTYPE html PUBL|
 
thx
but i can't square that with the alleged "server error"
on the third hand, i think since the css validation works, and does inspect the xhtml, there can't really be a server error
huh, two BOMs?
 
GGG
1:41 AM
apparently two yes =/
 
oh i understand now. it's the jinja template thing. it doesn't remove the BOMs!
so i need to save without BOM, and add encoding statement on top of Python source code. argh.
 
GGG
argh indeed.
or just strip it before it goes to the xml parser =p
oh it doesn't go to an xml parser does it
just spits out text... yeah fun
 
hm, i got rid of the BOMs but the W3C HTML validation still insists that there is a "server error"
curious, given that the css validation works nicely
 
Ell
hi guys
 
GGG
1:58 AM
@Cheersandhth.-Alf cached somewhere maybe...
what the heck is up with your username anyway
I need a new one too but damn
 
it works nicely for signing off answers on SO
 
Ell
what does hth mean?
 
@Ell google it?
 
Ell
you wouldn't say that in a conversation now, would you? ;)
 
GGG
urban dictionary ftw
I knew what it meant but googling it was interesting anyway
 
2:01 AM
@Ell sometimes i would, yes
 
Ell
IRL? :L
 
GGG
You'd say "hope that helps?"
I'd say "know what I mean?" or "does that make sense?" or "you're stupid."
 
@GGG yes?
i think it's only stupid people who think everything is sarcasm
 
Ell
@Cheersandhth.-Alf ahh I meant you wouldn't say "google it?" in conversation
 
GGG
2:02 AM
ohhhh
 
What is the best university for computer science?
 
but i did, didn't i?
:-)
@MohamedAhmedNabil stanford or mit
or texas a&m
 
@Cheersandhth.-Alf which one?
 
texas because bjarne teaches there
and also the g++ numerics guy
 
GGG
I mean it's kinda funny on SO, I get it, because you can't add personal niceties like that into your answers or whatever...
but in chat it's pretty bad ;)
 
2:04 AM
Im a 15 year old boy that lives in Egypt. How can i get a scholarship in Stanford or MIT
 
you would have to be very bright, plus, afford to go to us?
 
@Cheersandhth.-Alf Doesnt the scholarship cover that?
 
@MohamedAhmedNabil i don't know. i had a scolarship when i studied in scotland. but it didn't even cover the tuition fees. but that was back in 1980's
 
@Cheersandhth.-Alf It depends on the income
@Cheersandhth.-Alf How can i get a scholarship for something like that?
 
2:07 AM
i don't really know very much about that, sorry
 
GGG
@MohamedAhmedNabil start getting contact info for people who are in charge of scholarships at those universities, send some emails, make some calls, try to get someone at the university to help you out? I don't know, I've never gotten a scholarship.
 
@GGG im 15 and still gonna start high school when the summer ends
@GGG I just wanna be prepared from now
 
GGG
Well I assume you are good at whatever you're studying, or you wouldn't have high aspirations like that
Find out who you need to get in contact with, convince them that they want you at their university, because of what you will contribute
that kind of thing
get them to work for you to make it happen
 
@MohamedAhmedNabil Start now. Try and e-mail people and making personal contacts with people at the instituations. It may ot may not help but it definitely will not hinder you and you may get a head start on other people in your age group.
 
2:10 AM
@LokiAstari What about the fact that im not in US
@LokiAstari I need a SAT score right?
 
GGG
@MohamedAhmedNabil look into exchange programs
 
Do i have to take the SAT to try and get a scholarship
can i take the SAT exam outside school?
 
GGG
I'd look at all the scholarships they offer and make sure there's something that works for you first
see if they answer those questions online somewhere
if not it would make a good pretense to talk to someone over there, you can say which scholarships you're interested in and ask questions and explain your situation and stuff
find someone helpful, get the person's name
 
Its just the SAT i want to know about
Can i take the SAT outside school?
 
GGG
well some places accept a GED
which is basically the same
it's like a low-budget SAT ;)
 
2:19 AM
But the SAT is takable outside school?
 
GGG
I'm not sure, I know the GED is
I think the SAT might not be
 
GGG
But it could be like the university will look at a GED, but only certain departments, and some scholarships might have a "no GED" clause
 
I think ill have to go to the american department to get the SAT at school in Egypt :S
 
GGG
or whatever, I have no idea really ;)
 
2:20 AM
MIT accepts GED?
 
GGG
Who knows, maybe for certain things
 
ill see thanks
 
GGG
I'd just start calling their financial aid department until you find someone useful =p
@Cheersandhth.-Alf It served up the document, but it served it up with a status code of 500
That's why there's still a server error
Chrome renders it anyway, some browsers won't I think
 
i get status code 200 with wget
how do i check it in firefox?
 
GGG
Firebug
network tab I think?
same as chrome
Hmm I get 200 in chrome
 
2:29 AM
i feel the sick
 
GGG
Only the validator is getting 500 =/
@DeadMG eat the soup chickens
 
very curious, here's what my webdev toolbar tells me:
Response Headers
katika-prototyp.appspot.com

Cache-Control: no-cache
Content-Type: application/xhtml+xml; charset=utf-8
Content-Encoding: gzip
Vary: Accept-Encoding
Date: Tue, 21 Aug 2012 02:29:36 GMT
Server: Google Frontend
Content-Length: 1347

200 OK
 
@DeadMG Damned cookies!
You should find another brand.
 
lol
 
GGG
@Cheersandhth.-Alf The validator gets a document like this - pastie.org/4559799
except there's a blank line at the top
google's cock blocking them I think
 
2:36 AM
i'm just a total newb in app development -- what can i do about it?
and/or do you have any idea what could be causing it?
it seems very specific to the referrer mechanism for html validation?
 
GGG
Is there actually a problem with your app aside from the validator not seeing it?
 
nope
and it validates nicely when i just upload the code
maybe time to ask an SO question...
 
GGG
They'll just tell you to ignore the validator
Try making a bare-bones dummy app and see if it validates, maybe appspot just won't serve stuff up to the validator for some reason
 
hm, that works
it doesn't validate OK but that's OK, it's mostly Google's code ;-)
 
@RadekSlupik I do, ...but did I ever mention this? Or have you been browsing my utilities? :P
 
2:45 AM
there's no server error problem
here's the code for the problematic app:
it's also pretty bare bones
i mean it was just my second step after "hello, world"
 
what exactly does this mean?
 
@ApprenticeHacker this is an rvalue expression that yields a pointer to the object that the current member function was called on
 
@Cheersandhth.-Alf I mean the message I linked to.
 
oh, that's just nonsense
 
how is one more focused on efficiency when using C than C++?
 
2:49 AM
Not sure if I should stay up now or try to go back to sleep.
 
staying up FTW.
 
GGG
@Cheersandhth.-Alf tried to translate to English with the thing that pops up in Chrome, all text disappeared :o
 
I seem to have identified the problem: that the html validator doesn't include "Accept" spec in the header
some try catch needed
so now re-learn how that was in Python
Hurray!
That worked! validator.w3.org/…
    def accepted_mime_types( self ):
        try:
            types = self.request.headers["Acceptxxx"]
            return "" if types is None else types
        except:
            return "";
Oh, bug, from the testing
But problem solved, anyway.
 
3:05 AM
Another job well done.
 
3:16 AM
Ugh, Python!! My eyes!!!
 
And it's old Python 2.7, because Google App Engine doesn't support Python 3.x (yet).
 
Haha >_<
I need somewhere to rant about Eclipse lol... is this a good place? xD
 
lol
I don't understand how designing a UI is so complicated that they figured out people would want to switch INTO Debug perspective automatically, but not OUT of it... >:(
 
@Mehrdad Yes it is. We're bored enough to talk about almost anything here.
 
3:19 AM
@Mysticial: Haha thanks for confirming xD
Have you guys run into that problem? (Or do you just not use Eclipse? lol)
 
-2
A: How to override new in C++ when using the Boost libraries?

curiousguy I've overridden the global new and delete operators for my project, No. Only virtual functions can be overridden. Macro to replace C++ operator new Which is a terrible idea in the first place. Forget it. Redefining a keyword makes the behavior of your program undefined. the Boost l...

backup plix
 
Looks like a mathematician's answer...
"Only virtual functions can be overridden."... well, OK, it's called "overloading" but really, that's not the point...
 
actually, I think that for new, it's specifically called overriding.
and that would be a more correct term anyway because you are replacing the original new.
 
'replacing' is also used, maybe.
 
@DeadMG: Hmm.... Google "operator new override" (no quotes)
I see "overload" come up in the first few instead
 
3:30 AM
@Mehrdad As if I give a shit about that
 
lol :\
I agree it would make more sense to call it override... it just doesn't seem to be the right term (and curiousguy kinda missed the point when he emphasized this)
 
the only place that can rule on the term is the Standard.
and I sure CBA to find a quote.
 
> Replaceable: a C++ program may define a function with this function signature that displaces the default version defined by the C++ standard library.
'Replacing' and 'displacing'.
 
Yeah, seems like it's called 'replace'
 
But FTR overriding has been in common currency.
 
3:33 AM
@DeadMG: Just some advice... your "prick" comment didn't help the situation :(
 
eh
that guy has been flagged out of every chat room he's participated in
and he did act like a prick.
 
right... but still
 
so it's about time that he got the hint
 
I dunno how he manages to get into flamewar in like every other conversation. When I get called out multiple times, I take it as a hint that maybe I'm the one who's being the dick.
 
I need job
 
3:41 AM
Can someone else just vote to delete the post? I think it's the easiest way to fix the situation...
 
I already did
 
So did I...
 
@Mehrdad Boost is not header-only. Some Boost libraries are.
 
what post?
 
@LucDanton: Yeah I guess
 
3:43 AM
18 mins ago, by DeadMG
-2
A: How to override new in C++ when using the Boost libraries?

curiousguy I've overridden the global new and delete operators for my project, No. Only virtual functions can be overridden. Macro to replace C++ operator new Which is a terrible idea in the first place. Forget it. Redefining a keyword makes the behavior of your program undefined. the Boost l...

 
buhldeeted
 
@DeadMG Don't tell me that asshole is back?
 
unfortunately
 
@EtiennedeMartel: Wow, has he been THAT troublesome?! >_<
 
@Mehrdad One of the biggest trolls I've seen.
 
3:45 AM
@EtiennedeMartel: Seems like everyone knows him around here except me lol
 
apparently he was civil at one time or another...and since then has turned into a raging asshat
 
@Mehrdad Lucky you.
 
@EtiennedeMartel: lol yea
 
@Mehrdad Told you he'd been flagged out of every chatroom.
including this one, quite recently.
 
wow..
 
3:46 AM
@Mehrdad answer a question in a way he doesn't like, or point out a flaw in one of his answers
 
and considering that the room generally tolerates me, that's really saying something.
 
Takes quite a lot to get the flagging going in here.
 
lol
 
you'll get to know him all too well
 
How unfortunate, I was about to write a plea to not use emotionally-laden epithets in the comments. Ah well.
 
3:47 AM
I prefer to think of my comment as "scientifically accurate"
but I won't be publishing in any journals any time soon
 
heh
 
Basically, that jerkass thinks that he's the only one right, and everyone else is wrong. Standard issue arrogant fuckery.
 
@EtiennedeMartel he's even said he is always right...lol
 
@cHao There you go.
 
at least I'm actually always right
 
3:49 AM
reminds me of the user "JUST my CORRECT opinion"
his username always made me laugh
 
:)
 
ah
 
i do have to admire the name
 
there's one guy on Meta who changes his username to be things like that all the time
 
haha
 
3:50 AM
currently called "Discount Gucci Handbags" or something like that
 
@DeadMG pekka?
 
@DeadMG one guy? lol
 
^ lol
 
@cHao Very true.
 
@Mehrdad It's an Internet reference.
 
3:50 AM
@DeadMG No, you just change the meaning of the word "right" when you turn out to be wrong.
 
@LucDanton: What is? Sorry I don't remember the context lol
 
@Mehrdad The name.
 
@LucDanton: Ah lol
 
no, you simply care about things I don't
I mean, the key thing you seem to be missing is that it's always the same definition.
 
@DeadMG Like truth. Or beer. Or unicorns.
 
3:52 AM
it's just changed from your definition
but I always maintain the same one
 
Ouch, he got suspended
 
yay!
 
again?
wow...
 
.... "again?"??!!
 
surprised that I didn't get anything
I mean, I did call him a prick
 
Ell
3:54 AM
hey
 
hi
 
@DeadMG: You can always ask for punishment lol
 
naw
the mod simply decided that I was being my usual accurate self
 
@DeadMG Nah, karma just gets you in a different way.
 
no, that's me repaying karma for making me feel sick
 
Ell
3:55 AM
how do you pronounce sadism? as in BDSM.
 
say dism
 
sad -dism?
 
Ell
thought so
don't want to make a fool of myself though
 
nay, @DeadMG is right apparently
 
Be classy and French it up a little. Go with sad - ism.
 
3:56 AM
@Mehrdad As per usual.
 
I bet Tim was the one who suspended him since he's also processing flags right now. He also moderates chat a lot so he sees a lot of flamewars.
 
@LucDanton: lol
@DeadMG: -.-
 
Sadism, state of being sad?
 
Ell
when you enjoy hurting others. or yourself. one of those :L
masochism is the opposite of it
 
sadism as in sadomasochistic tendencies?
as in deriving sexual pleasure from inflicting pain upon others
 
3:57 AM
Sadism, the state of being like the Marquis de Sade.
 
Well, the good marquis was also a manipulative bastard, really psycho.
 
Ell
masochism is pleasure from hurting others
 
no, that's hurting self
 
@DeadMG schadenfreude?
 
sadism is hurting others, masochism yourself
@EtiennedeMartel I don't even know what that is
 
Ell
3:59 AM
oops I wrote one thing meant the other
 

« first day (675 days earlier)      last day (4288 days later) »