« first day (1680 days earlier)      last day (3267 days later) » 

12:00 PM
biology graduated
not sure when
 
woof woof
> A British town exporting sunlight? Now you've heard it all.
heh
 
Ven
I like this avatar!
 
@TemplateRex That would be most welcome. Especially if it means that compiletimes are lower
@SeçkinSavaşçı Sure you can :)
I do it all the time
It's frequently not appreciated or even outright rejected. But who cares
 
Truth to be told, I want to farm some points
It turns out to be that helping newcomers are not a good way to do it.
 
Sure it is. But you have to be fast and accurate
 
Ven
12:06 PM
I want a rainymood-like, but with better view (as in imgur.com/gallery/55DIFEq)
does anyone have someone like this here :3?
 
 
Beautiful
Morning
 
@R.MartinhoFernandes That's great news!
Yeah it might be a function of stress
 
@R.MartinhoFernandes Nice
 
@Mgetz Where's that? Budapest?
 
12:12 PM
@AndyProwl Correct
 
Yeah looked like it
awesome
 
Ell
I want ice cream
 
@Mgetz frutibul
 
12:21 PM
I think I'm getting fat by looking at that thing
 
Your veins are tightening
 
@Jefffrey is that the unholy lovechild of Poutine and pizza?
 
that's not love, it's porn
 
Lounge<food>
 
yeah we just miss Alex posting pizzas
 
12:26 PM
@Columbo god, that is the best picture I have seen today
 
oh come on... there is always foodporndaily.com/pictures/…
 
@Mgetz AAAAHHHHH
 
@Columbo yeah that site is dangerous... it may result in drooling on keyboards
 
> smokey-salty-sweet-apricot-thyme-glazed-bacon
 
Scopes are correctly visualized now :)
 
Ven
12:27 PM
hey, that's cool!
 
well done fred
 
good job man
What's that?
 
Someday it'll be a beginner IDE for C.
I have been planning to do this for several years now, and I have run out of excuses.
 
Ell
What flavour ice cream to get
 
pizza
 
12:31 PM
Hopefully I'll have a workable prototype in September.
 
Ell
@fredoverflow nice
 
@fredoverflow are you using Clang to parse the shit?
 
@Ell Running through it with the step button is actually even more impressive than a screenshot ;)
 
@fredoverflow You are a brave man.
 
Ven
@rightfold do you know ocaml?
 
12:32 PM
rightfold knows all the languages
3
 
I know some OCaml
 
> Man Eating A Burger Attacked By Meat-Suit Wearing Vegetarian
enough internet for today
 
@AndyProwl Let me answer via my favorite medium, the screenshot:
 
@fredoverflow Guns are never a solution
 
@fredoverflow ffs you wrote your own parser? chapeau man
 
Ven
12:35 PM
@fredoverflow is there no EBNF-or-the-like kind of thing for kotlin?
Or do you purposely want to write a parser by hand?
 
you're a hero
 
@AndyProwl His language isn't C.
 
There is nothing magic about writing a recursive descent parser.
It's just a lot of tedious work.
 
@Puppy He said it's a C IDE
 
Right, it'll be the subset of C which I employ in my courses.
It would be pointless to implement bitfields, for example.
 
12:36 PM
oh I C
nice job anyway
 
Ven
@fredoverflow Nobody said anything about magic :-)
 
besides C is a lot easier to parse than C++ is (although still not exactly the easiest thing ever)
 
@fredoverflow dunno I've always heard C and C++ are a mess to parse
 
not really on the same order.
C is pretty easy to parse mostly.
 
yeah got it
 
12:37 PM
I would never attempt to write a C++ compiler.
Even the hardest problems in parsing C code are relatively easy to solve:
10
Q: Parsing an int(x) parameter

fredoverflowHere is a simple function with one int parameter: void f(int x) {} f(42); And here is another function with one int parameter: void g(int(x)) {} g(42); Now let us define x to be a type: typedef int x; void h(int(x)) {} h(42); // warning: passing argument 1 of ‘h’ makes pointer from inte...

I am not expecting any major hurdles along the way.
But we'll see.
 
the biggest problem with parsing C is that when you're done, you're parsing C.
5
 
lol
 
I was just deleting my answers, then I learnt I can only delete 5 a day.
 
it's to stop people mass deleting their answers
 
I know
But still I don't understand the idea of restricting deletion of not upvoted answers.
 
12:41 PM
1 min ago, by Puppy
it's to stop people mass deleting their answers
 
It's reasonable to not delete upvoted ones.
BTW, I got 15 by social engineering. Am I considered cheating?
 
Why do you want to delete your answers?
 
I check my non-upvoted answers and delete them if there are better alternatives.
 
@fredoverflow At least you end up with something that is both maintainable and debuggable :P
 
@butt anything I should not miss in Dresden?
 
12:43 PM
@SeçkinSavaşçı wat
 
@AndyProwl But does he know my vaporware language?
 
@Griwes At least I hope so :) Clang is also recursive-descent, isn't it?
 
@Jefffrey 15 points.
 
@Griwes I wouldn't be surprised if he did
 
@SeçkinSavaşçı Did you ask a friend to accept one of your answers?
 
12:44 PM
@fredoverflow I think so, yes (I don't think there's many other ways to parse C or C++ that are sane, tbh).
 
@fredoverflow Clang's parser is no inspiration.
I mean, they have to parse some hard stuff, but it's seriously awful code.
 
The Scala compiler also uses RD, IIRC.
 
@Puppy We are talking about the ideas, not specific implementations ;P
 
pretty much everybody uses RD
 
@fredoverflow Nope. He was a new guy, explained him to upvote and accepting answers. Then I upvoted his question.
 
12:45 PM
When I read the Dragon book, I somehow got the impression that everybody uses parser generators.
@SeçkinSavaşçı I think you should do the right thing and give SO the 15 rep back ;)
 
Ven
@fredoverflow the scala compiler codebase is awful
 
@fredoverflow MINEEEEEEEEEEE!
 
@fredoverflow I've not read that book, but I've never met anybody with a good idea which starts with "I read the Dragon book and..."
it's always a terrible idea.
 
he he
 
Is compiler theory mostly useless in practice?
 
Ven
12:48 PM
@Puppy you mean parser generators?
 
@fredoverflow I dunno, it's good to get a bit of an understanding of what each piece is supposed to do and what it can and cannot do.
but I would certainly not use it to guide my implementation of any of the steps.
once you get past "This is a token", "This is a context-free grammar" you're pretty much done with theory.
 
Well, analyzing the AST also has some theory attached to it.
 
I've never encountered any useful semantic analysis theory
 
heh
 
there's some useful type theory stuff for some kinds of languages I guess (but far from all of them) like HM for type inference in functional languages
 
Ven
12:52 PM
A much better scala parser (using parboiled2 or something, iirc) is here: github.com/lihaoyi/fastparse/tree/master/scalaparse/shared/src/…
 
as for codegen
I can't really say but I can certainly say that codegen theory is useless to anyone with half a brain unless they work on LLVM ;p
 
@R.MartinhoFernandes White noise therapy?
 
@R.MartinhoFernandes The park is great! Also the castle by the bridge, of course.
 
Jez
hello
 
1:06 PM
Wow, last episode of Fairy Tail is very interesting
 
Microsoft does it again!
I install their latest compiler (VS2015 RC) and my code requires a Clang/GCC incompatible change.
 
Ell
@Puppy you still have to generate the IR though
 
@Borgleader just search the transcript :)
 
@Ell Yep, but that's usually pretty piddly.
 
Thanks, @butt. Will check those out.
 
1:11 PM
will check those butt out?
 
Xeo
mornin
 
hola senoras
 
> It depends on the definition of "human". If you mean modern human, Homo sapiens sapiens, it would be some ~50,000 years ago. Our species, Homo sapiens, is older, somewhere in ~200,000 years range. Genus Homo, of which we are the lone survivors, appeared about 2 million years ago.
 
Btw, there was a sign at the Czech-German border that said Czechoslovakia
 
@Puppy Same here, everything I have read about semantic analysis so far made me want to tear the pages out of the book.
 
1:15 PM
TIL we are the sole homos left.
 
Someone forgot to update that.
 
If we ever died out then the world would be nohomo.
 
you think we'll ever bring homos to other planets
 
Wow, my first ICE in IntelliJ.
 
@R.MartinhoFernandes Any pre-1945 architecture.
 
1:22 PM
Do you think override should be used on ALL virtual functions that override? And should const be used on all "constant functions" (functions that are not supposed to change anything, eg. getters)?
 
ExpressionTypingVisitorDispatcher? lol
@HalfEvil sure
If you don't mark a getter const, you can't call it on a constant object.
 
@HalfEvil I use const strictly for the reason @fredoverflow mentioned
 
void foo(const std::string& s)
{
    auto n = s.size();   // wouldn't work if size() wasn't const
}
 
The only new c++11 keyword I've been using for marking stuff a certain way is final
 
user3010322
EXAM DAAAAAAY.
 
1:24 PM
@fredoverflow That doesn't really matter if you just don't use constant objects.
 
Xeo
override is so nice and useful
 
user3010322
Today's the last one.
 
@ThePhD good luck
 
Xeo
shame on you if you don't use it
 
From 470 ms to 2 ms for parsing a document in multicore mode, cool
 
user3010322
1:24 PM
Then I can come home strip out of all my clothes and lay in my bed and never wake up again.
 
Hmm it seems MSVS may just be rejecting an unneeded typename
 
Xeo
too little is fine for them, too much is not :D
 
Yeah I know, just not sure if const should be used on functions that just for happens to not change any of the class members. Getters are pretty obvious but for other functions it might not be as clear
 
@Xeo override just makes sure you're overriding a function right? why is that such a big deal
 
@Puppy How about references-to-const?
 
1:25 PM
Guys, question: is the typename marked with /* HERE */ legal and/or necessary or not? coliru.stacked-crooked.com/a/430753613d0b6dba
 
and if you in the future want to add functionality to those functions so they cannot be const any longer
 
Xeo
@Prismatic Because it makes sure you actually do what you intended to do?
 
@fredoverflow Don't need em
 
Xeo
and not accidentally just shadow the base class function?
 
@Puppy gasp
 
user3010322
1:25 PM
@HalfEvil Does it modify the state or will need to in the future? -> no: const -> yes: non-const
 
Xeo
@rubenvb unnecessary, but explicitly allowed in C++11 IIRC
 
@Xeo I rely on syntax highlighting
 
Xeo
@Prismatic you suck, shame on you
 
virtual functions are colored bright blue!
 
@Xeo hmm I think my real issue might be a tad more complicated as the A in my case is still not completely specialized.
 
1:26 PM
@ThePhD Okay guess I have some code to go over now then.. Although I rarely use constant objects.
 
one sec
 
user3010322
Prismatic, you're the cancer in my codebases.
 
there's too many keywords to 'mark' stuff with. const, final, override, noexcept
 
user3010322
@HalfEvil You don't have to sweepingly fix everything. Just start using it now and employ it in a few places where it might be helpful.
 
I know they're all handy but still
 
user3010322
1:27 PM
The shitty people who don't do what they're supposed to because SYNTAX HIGHLIGHTING.
 
Then there's the 50 different meanings of 'static' based on context
 
user3010322
Like that bullshit note left in the libxml2 repo for Windows builds.
 
Hmm it fails when typename is included in a fully specialized case.
So much for symmetry of my code :(
 
@Prismatic Yeah:)
'static' should never have been used for class functions.
 
@ThePhD Yes, all c++ written before c++11 was cancer
 
user3010322
1:29 PM
@Prismatic Pretty much.
 
Have you worked on any codebase where all functions that override where marked with override? I rarely see it, if ever. "final" is a bit more common though
 
@MartinJames Should have been free void foo(); as in 'this is just like a free function!'.
 
@LucDanton lol
 
@HalfEvil Because final is something that prevents people from using your API in a way you don't want
override just make sure you didn't make a typo (afaict)
 
Only in C: if free something, you actually kill it!
 
1:30 PM
nah
if you change the signature of the base class then override ensures that you catch all the derived classes
 
@Prismatic Yes. It's bloody annoying when you really need to override something and you cannot:(
 
does coliru have an intel compiler?
 
@Puppy good point
 
Xeo
I pretend final doesn't exist :D
 
I am a good point.
 
Xeo
especially on classes
 
@Puppy ur mom's a good point
 
Is there any reason at all to put final on a function in a base class?
 
@rubenvb pretty sure the intel compiler is proprietary
 
@Prismatic So?
 
1:33 PM
@Xeo I have yet to final a class but I've finaled quite a few functions.
 
Xeo
@rubenvb The specialisation of A is irrelevant
Or does that not trigger the error?
 
@rubenvb So I don't think you'd be allowed to let people compile with icc over a server
 
@R.MartinhoFernandes lol, did you take a picture?
 
@Xeo that triggers the error
 
Xeo
1:34 PM
@rubenvb Yeah, as expected.
 
@Prismatic for demo purposes, with a time limit?
 
Xeo
It's just a general rejection of typename outside of dependent names, I guess
 
@Xeo It's unexpected as Clang/GCC/Intel all don't mind.
 
Xeo
9 mins ago, by Xeo
@rubenvb unnecessary, but explicitly allowed in C++11 IIRC
 
I read that the first time.
 
1:36 PM
@Andy
 
Anyways they know now.
So it can get fixed in like three years.
 
Xeo
Hm, maybe I remember wrong. Clang and GCC also don't complain in C++03 mode
I do remember reading something about that though
 
user3010322
Wait I already replied to that.
 
@Xeo I have a feeling the C++03 mode is kind of an orphan child that doesn't really get all the details right, even when they try.
 
user3010322
I'm clearly no ready for my final exam, I'm forgetting things.
 
user3010322
1:39 PM
OH WELL, DOESN'T MATTER.
 
user3010322
LAST EXAM AND THEN BACK TO BEING TheD FOR THE REST OF MY EXISTENCE. \o/
 
@R.MartinhoFernandes lol
 
is this your final exam for your degree
 
Fuck, I misplaced my Windows Intel Compiler license file that I got for being a student almost a year ago.
 
user3010322
@Prismatic No, it's for closing out this semester and going back to being a jobless, studentless bum over the summer since I didn't pursue an internship.
 
1:41 PM
you didn't store it in password db in the cloud?
 
ah
 
s/the could/your butt/
 
we brought champagne and stuff to our final final exam
it was a bird course too, felt so good
 
Ell
to the exam?
 
FOR those seeking commercial sex in Berlin, Peppr, a new app, makes life easy. Type in a location and up pops a list of the nearest prostitutes, along with pictures, prices and physical particulars. Results can be filtered, and users can arrange a session for a €5-10 ($6.50-13) booking fee. It plans to expand to more cities.
 
Ell
1:42 PM
drinking alcohol during an exam doesn't seem like a good idea :P
 
it was in our bags and stuff, drank it right after we finished
 
thankfully, I have the key
phew
 
Ell
nice
 
@rubenvb store in password db in the butt
 
1:43 PM
prolly not that smart tbh, drinking on campus like that
 
@Puppy no, I'll just upload the lic file to some cloud storage thing
 
So .. if you were a young hot female. would you use Peppr or tinder?
 
LOL
 
Ell
that depends
am I a prostitute?
 
> Falls Sie sich kurz gewundert haben, weshalb bei mir alles gerade etwas länger gedauert hat. Ein Java-Update ist mir dazwischen gekommen. Wie ich Updates hassen. Aber jetzt bin ich auch wieder auf der Höhe.
Update Java while you host a live-ticker? wtf
 
1:44 PM
@Ell but you are not a young hot female either :p
 
@chmod711telkitty probably illegal
 
Oh, hold on, it's a woman
> Eine Sportredakteurin, die sich die Finger wund tippen wird.
 
@Ell Yes.
 
@butt prostitution is legal in Germany
 
as it should be in most places I currently feel
 
1:47 PM
@R.MartinhoFernandes oh, interesting
probably legal then
 
user3010322
It's illegal in the U.S., except in the state of Nevada I think.
 
Ell
@Puppy I don't see what is wrong with prostitution being legal
oh wait
I misread, nvm vOv
 
that's pretty much What I Just Said™
 
Ell
20 secs ago, by Ell
I misread, nvm vOv
 
1:48 PM
32 secs ago, by Puppy
that's pretty much What I Just Said™
 
Ell
50 secs ago, by Ell
I misread, nvm vOv
 
@butt <= best chat feature
 
ITT: We just quote our previous statements back at each other
 
Ell
yup
 
right
 
Ell
1:48 PM
and it seems I won
bcos I had the last word
 
I am going to call the tax office and demand a tax rebate
 
@R.MartinhoFernandes This nickname was crafted for that, too.
 
user3010322
A conversation made entirely of our transcript?
 
wish me luck.
 
Ell
1:49 PM
@Puppy good luck
 
@chmod711telkitty Interesting. :D
 
Ell
make sure you have supplies while waiting on hold
 
god, 1300€ for a hong-kong paris flight ;_;
 
user3010322
@buttifulbuttefly Geez, expensive AF.
 
@buttifulbuttefly that's my 3 months salary
 
1:51 PM
It's one month of rent for me (and I only pay half of the flat).
rip, rsp, rbx, ymm, etc
 
Ell
rip in peace
 
yeah rip
the rent would cost me about $200
 
Xeo
@buttifulbuttefly wow
A flight from Duesseldorf to Tokyo and back is only ~600-800 bucks oO
 
it's probably because I'm looking for flights on the high season, where everyone from asia is going to europe
lol there's a flight at 15 272 € this is a joke
 
probably business class
 
1:54 PM
possible for 1st class
 
but that's like 1 month of salary!
 
a bit too dear for business class
 
I feel like Indian
 
@khajvah Too early for that here:( Maybe tonite..
 
I didnt get it :/
 
1:56 PM
have any of you ever flown first class
 
after hiring multiple tradies, things don't look as expensive as they used to be (US$260 for an hour is the most that I have paid so far ...)
and I am paying a tradie not a hooker
 
@chmod711telkitty was about to make a hooker joke :(
 
Anne and I once had an Indian at lunchtime. It was totally weird - there was sunlight coming in the windows as we ate. It made me so uncomfortable that I could not finish my meal. Never again; I've stuck to the normal 'after the bar shuts at night' since.
 
Ell
@buttifulbuttefly you have a very nice salary
 
1:59 PM
^
 

« first day (1680 days earlier)      last day (3267 days later) »