« first day (410 days earlier)      last day (4530 days later) » 

sbi
9:00 PM
@RMartinhoFernandes Do we? I wouldn't know. :) Its regularity was one of the few things Mark Twain praised German for, though. (He complained about just everything else, so this means something.)
 
I had to vent.
 
sbi
@ManofOneWay While it is indeed very closely related to the "ss", originally it wasn't a double-s. There's a hint in HTML transcribing it as "szlig".
 
http://upload.wikimedia.org/wikipedia/commons/d/da/BjarneStroustrup.jpg
Man he looks so relaxed, I wish I was that relaxed!
 
sbi
@RMartinhoFernandes What do you do about it? Have you tried to find that professor? Do you send a reply to every individual mail that reaches you? Do you just feed it to your spam filter so it learns to weed it out?
 
@sbi I set up a canned response that I send to each student.
Since they don't know the teacher's mail address, I don't see how I could get it.
This is not the first time something like this happens either. Seems like my name is more common than I thought.
 
sbi
9:07 PM
@RMartinhoFernandes Here you'd be able to at least find some secretary in his university on the web. Well, but then, maybe not for a philosophical faculty...
 
@RMartinhoFernandes Yeah, I found "you" on Linkedin !
 
@sbi Actually, I don't know what school they're from. All I know is that they're 8th graders.
 
sbi
@RMartinhoFernandes Oh. Don't those assignments need a school header somewhere?
 
@sbi Facepalm. I didn't think of looking at the damn assignments.
 
sbi
Oops. Someone downvoted my three basic rules of operator overloading today.
Must have been the cat, I guess he didn't like them.
@RMartinhoFernandes What's wrong with you? Yesterday I was faster than you searching for something in the chat's annals, and today you are unable to do some minimal logical deductions. That's very unusual.
 
9:11 PM
@javagirl Wrong chat
 
@ManofOneWay yep, but mine is not very active one
and also here i can be silly
 
@sbi Well, seems like 8th graders don't write their school name in their assignments.
 
sbi
@ManofOneWay You know, it became so silent here because they are all busy virtually slapping you for chasing away a user with a hint at being female. :)
 
@sbi haha
 
sbi
@RMartinhoFernandes Do I now need to point out that you might want to look for other hints in those emails? Or ask one of the kids?
@javagirl You are very welcome to be silly here. We often talk about Java being silly. :)
You lost ten grand? Yeah, that's a deployment artifact. You'll get it back after the next recalc. #stackoverflowdevsrunningabank
Scary, that.
 
9:16 PM
@sbi Damn, will you please stop making sense.
Basically, I don't want to be bothered with those e-mails.
 
It's a problem I don't want to work on solving.
 
sbi
@RMartinhoFernandes Here's something I learned from being a parent: Avoiding to do something now (like fight for your right to not to buy that candy bar at the supermarket) always hurts in the long run. Get a "I don't want to" credit now, and pay back with a lot of interest later. :(
 
@sbi Recently I've been realizing that "Talking Heads" were actually pretty genious.
 
sbi
9:21 PM
@StackedCrooked Yeah, I didn't appreciate them either when I was young.
A few months ago, when I went to do the weekend shopping with some of my kids, I was stressed out and "parked" the two smaller ones at the TV playing cartoons in a clothes outlet while buying groceries. I have been regretting this ever since, because they now never fail to ask me whether we can repeat that — every single fucking weekend I need to take them with me buying groceries. I hate myself for having done this to me.
 
It seems that we may have a government by Monday.
 
sbi
@StackedCrooked What?
 
@StackedCrooked Yeah, right.
 
sbi
The German news sites I frequent don't have anything yet.
@StackedCrooked Oh.
I'm not sure whether it would be appropriate to congratulate you after, how long?, almost two years? (And that's taking into account that I would have to wait until it actually happened. ISTR them being close to forming a government about two weeks ago, and then failing yet again.)
 
9:29 PM
@sbi Got to ask, why don't you just do that?
 
@sbi If I were you, I'd wait until it happens.
 
sbi
@DeadMG Um. Because it's bad for a 4yo to mindlessly watch violent cartoons for 90mins in a row?
@RMartinhoFernandes I meant to say that this was given, but even after it really happened (if it happens), I'd not be sure whether to congratulate.
 
when I was that age, or thereabouts, I played Doom for hours on end
although arguably, you don't want your children to grow up and be like me :D
 
sbi
@DeadMG We all noticed.
 
lol
@DeadMG What? Being a genius is bad?
 
9:33 PM
well, as of right now, it doesn't look like I'll have much opportunity to capitalize on that
 
sbi
@RMartinhoFernandes We aren't discussing being genius, but what he thinks being genius is all about.
 
@DeadMG Are you sick again?
 
heh
 
sbi
Seriously, I am living without a TV for more than 20 years now, so my kids aren't used at all to be doused in mindless crap.
 
I was more referring to the probability of failing my degree, since I spent the last month hiding from the lecturers and groups I'm supposed to be doing coursework with
 
9:34 PM
Er, ok, that's probably bad. There's a way to fix that.
 
I'm using an std::vector to store some UChars, and it seems to be storing more UChars in its buffer than what I allocated in the vector
 
@DeadMG You'll be a poor genius like Van Gogh.
 
@IDWMaster Yes, it's called "capacity". The vector uses it to avoid an expensive operation (resizing the buffer) every time you insert or remove a single T.
lol
 
sbi
@IDWMaster Without even having a further look at the issue: It's your fault. There's no bug in your implementation of std::vector.
 
9:35 PM
Some americans are crazy
 
I wasn't saying it was a bug, I was simply saying it exhibited a certain behavior and I didn't know why
 
@RMartinhoFernandes Yeah, the question is whether or not I actually will
 
^ I'm not an art guy. But this is ...
 
lol
 
@ManofOneWay OMG, is there a US news agency that doesn't spew nonsense?
Also, awesome comment there.
> What do you get when you cross a Mormon and an Atheist?A person who rings your doorbell for no reason
5
 
9:38 PM
I don't know, @DeadMG is there ?
 
@RMartinhoFernandes 4chan
 
@ManofOneWay He's in the UK.
 
sbi
@IDWMaster You would have to create a repro case. Boil your problem down to 10-50 lines of code that reproduce the issue, explain what you'd expect, and what you see instead. Supply compiler version and the like, and roll it into an SO question. (Before you do that, though, search SO in case someone has already asked this.) Feel free to drop a link to the question here and discuss it with whoever hangs out then.
 
It's not the same thing, you know.
 
Really? I thought DeadMG was from the US!
 
9:39 PM
wtf
I am srs insulted
 
Sorry about that
=)
 
you should be
 
@sbi Think I know what the problem is now. I need to append a \0 at the end of it
 
@DeadMG Although you sometimes have the hubris of an american
;)
 
@IDWMaster No you don't.
 
sbi
9:40 PM
@IDWMaster To a std::vector?? Sounds very fishy.
 
A std::vector knows its size.
 
sbi
@RMartinhoFernandes Wasn't there a recent study that showed that people watching fox news are actually less well informed about the world than those that watch no news at all?
 
@sbi Making a somewhat unusual library
 
@ManofOneWay being American and having hubris are unrelated
 
@DeadMG I actually traveled to London not too long with my girlfriend and I must say people were very kind and helpful
 
sbi
9:41 PM
@DeadMG You know, now every Merkin will be seriously insulted about you being seriously insulted over being pinned as a Merkin.
 
@RMartinhoFernandes Yeah thanks to sizeof!
 
wow, I don't know what London you went to
but the London I have to travel through doesn't put bins in it's fast food restaraunts
because 20 years ago, the IRA had a habit of putting bombs in them
 
sbi
@IDWMaster Now it gets fishier, still.
 
@IDWMaster Still doubt you need to add \0 at the end. You never need to do that except when using the lousy C API.
 
do you know how inconvenient it is to have to carry around your rubbish when there's no danger of bin bombs?
 
sbi
9:42 PM
Anyway, I really gotta go to bed. A day home with a sick child is exhausting, and for once I need more than six hours of sleep in order to be able to bully the kids out the door in time tomorrow morning.
 
@sbi Good night. And good luck with the bullying.
 
@RMartinhoFernandes I'm using cout to print it to the console
 
@DeadMG What's a bin bomb?
 
@DeadMG I didn't notice. Are you saying a lot of places don't have bins?
@sbi Good night
 
@IDWMaster Have you tried std::string instead?
 
9:43 PM
@ManofOneWay Yes. Because the IRA used to put bombs in them.
 
@RMartinhoFernandes std::string is politically incorrect.
No Unicode support
I'm using ICU
 
std::vector doesn't have Unicode support either.
 
@RMartinhoFernandes It's where you put a bomb in a bin. Nobody notices if you put random things in a bin, and it's common to dump things in bins, and they're common in populated areas, so it's actually a good place to put one if you want to kill people
 
@RMartinhoFernandes I'm storing Unicode characters in a std::Vector
 
@DeadMG Oh, silly me.
 
9:44 PM
the IRA was a big fan of it back when the US was paying them to bomb us
that's why there are hardly any bins in London, even though that was decades ago
 
@IDWMaster You can also store them in a std::string (or a std::basic_string). It's not allergic to it.
 
When the US was paying them to bomb you?
What have I missed?
 
@RMartinhoFernandes I suppose so. std::vector seemed to be the best way to do it in my case though.
 
well, the IRA got most of their funding from the US
the other people in Ireland were too busy trying to kill each other to try to kill us
 
Well, now std::string seems like the best way, because it takes care of terminating \0s.
 
9:47 PM
@RMartinhoFernandes What I'm doing: I'm working on another implementation of .NET, and I need to write a generic Array class, which can be callable from managed code
So I am using std::Vector inside the Array class
 
Why doesn't an array need Unicode support?
 
Array itself doesn't
But what I'm doing with it does
I convert a UnicodeString to a UChar*
Then convert that to byte*
Through re-interpretation
I made a newer version of Array now. I'm waiting for my VM to start up so I can upload it to GitHub
 
0
A: Why can't variables defined in a conditional be constructed with arguments?

Johannes Schaub - litbIt should be noted.that if(functor(f)(123)) ...; would then not be the call of an anonymous functor with argument 123 anymore but would declare a functor initialized by 123. And i think introducing such pitfalls for that little feature is not worth it.

 
@DeadMG But with, funded by the US, you mean some rich guys in the US?
Want kind of people was that?
 
@ManofOneWay People that fund terrorists.
 
9:50 PM
I found a bug in my Array class, so I'm uploading a corrected version now
 
They do exist.
 
don't know, I didn't ask that much because it was some time ago
 
Sure but why attacking the UK?
 
usually because they wanted Irish support for something they really wanted
but as I previously said, I didn't ask that much because it was a long time ago, and I don't actually know very much about it
 
@IDWMaster Is that supposed to mimic .NET's System.Array?
You're allocating refcount with malloc and releasing it with delete. That's nasty.
You're also actually making a deep copy when say you're making a shallow copy.
 
9:59 PM
hey @DeadMG you were pinging me earlier?
 
also refcount? .NET is garbage collected
@jalf: Yeah, I promptly proceeded to speak, I guess you missed it :P
 
yup
 
I finished fixing up my lexer, and I wanted to speak to you about your suggestion of defining identifier as "anything except that other stuff I care about"
 
yup?
 
10:00 PM
@RMartinhoFernandes How should I do it?
 
you can't ref-count .NET objects, that won't break ref cycles
@jalf atm I've got *( !(punctuation || string || character || whitespace) >> eps )
that look right to you?
 
I would keep "identifier" free of meaning
 
@DeadMG How's the .NET framework do it then?
 
Thats what iimo c++ does right but imo c does wrong ( it does.not do this separation)
 
@IDWMaster They use a garbage collector.
 
10:02 PM
@DeadMG Doesn't that essentially use some form of ref counting?
 
uh
no
it uses mark and sweep, essentially
 
@DeadMG yeah, looks sensible to me. Depends on what other stuff you might have in your grammar, but that seems sane
@DeadMG except it doesn't because that's a pretty awful GC algorithm. ;)
 
that's what the "essentially" is for
 
oh right :)
 
Isn't that like, too liberal?
Won't that make, say, ` a valid identifier?
 
10:04 PM
@RMartinhoFernandes is that a problem, though? The objective was to simplify the compiler writer's job
 
as far as I know, conceptually, the .NET GC behaves as mark and sweep
 
and if you want to write weird identifiers, why not let you?
 
although in terms of implementation details, a competitive GC has to evolve a lot on that basic concept
and the CLR enforces a generational GC, I believe, as their System.GC class offers an API which would only be relevant for generational GCs
 
@jalf Not really, but it feels Perl-ish.
 
well, it's a garbage collector, so sure, conceptually it's the same. One major difference though is that the .NET one moves objects in memory, which mark and sweep typically doesn't do
 
10:06 PM
with managed references and pinning, arguably, that's an implementation detail
 
yup
 
if you didn't compact, you could just make, uh, is it pin (obj) { } a no-op on obj
 
sure
 
although, of course, the API is designed to allow a compacting implementation
as mine will be
 
I think what I'll end up doing for the native/managed parts of my implementation, is I'll implement ref counting at the native layer; then create a secondary object model for managed code which uses garbage collection.
 
10:08 PM
Id est, behave as if everything was generation 0.
@DeadMG Couldn't you write a non-generational one and just ignore the generation parameter?
 
dunno
you'd have to read the CLR spec
 
Back to writing a new GC for Android....
 
what, not man enough for the CLR? :P
 
10:24 PM
Hello
 
sigh
0
A: Why can't variables defined in a conditional be constructed with arguments?

Johannes Schaub - litbIt should be noted.that if(functor(f)(123)) ...; would then not be the call of an anonymous functor with argument 123 anymore but would declare a functor initialized by 123. And i think introducing such pitfalls for that little feature is not worth it.

 
what's going on here?
 
people ignoring what you write.
"ohh noo you are wrong!! forget what you wrote in your answer, you are writing bullshit!!"
 
Ah, I'm on a downvote spree :-)
0
Q: How can I check if an object of a class has been instantiated or not?

user521180I want to check if an object of class rectangle exists and if there is, then I want to use one of it's methods, if not then i create a rectangle and use its methods

 
what an idiot
@AlfPSteinbach the answer is never "singleton", but "what's wrong with your design"
fits
 
10:43 PM
lulz
i'm lulzifer
 
@JohannesSchaublitb How much reps have you received today?
 
What's the limit? 200?
 
If I will give you +1 for your answer, then you have 15 more minutes to get 2 more reps until this day ends
 
10:46 PM
lol
 
Now, go get those 2 reps and take some rest after that =)
 
i have one hour more
they calc in UTC
 
I see
101
A: What is x after "x = x++"?

Mysticialx does get incremented. But you are assigning the old value of x back into itself. x = x++; x++ increments x and returns its old value. x = assigns the old value back to itself. So in the end, x gets assigned back to its initial value.

Isn't this undefined?
 
@AlfPSteinbach thanks for looking into my haskell question
 
i don' t know if i answered it or not
 
10:59 PM
hi
 
i haven't got to "fixed point" discussion yet, i think
 
@AlfPSteinbach not really, but it doesn't matter. I decided it's clearer to specify the arguments most of the time, like when it's not a simple function composition or something like that.
@sbi You know, not all "Merkins" are so shallow. Just most of us. Like me.
 
11:20 PM
@AlfPSteinbach you removed the 'The URL contained a malformed video ID.' link...
 
@surfasb: nice singer
 
@AlfPSteinbach mmm nice singer... shame that the singing is utterly boring
 
@AlfPSteinbach in all fairness it doesn't help that the band is mainly a very bad synth track
 
^ It might sound like bass and two guitars, but it's just one man playing a single guitar. He wears a silly tinfoil hat, not shown in this video.
 
11:32 PM
interesting. not the best I've heard in classical guitar, but the pop stuff sounds good
I like the energy of a Disk Read Error (aside from the title) [candyrat.com/artists/EwanDobson/EwanDobsonII/]
 
11:57 PM
I am new to stackoverflow, and I looked on the main website and there were questions with tags puzzles so can I ask a puzzle so can I do it on the main website.It is actually an interview question.Sorry If I should not have asked this question here
 

« first day (410 days earlier)      last day (4530 days later) »