« first day (1074 days earlier)      last day (3892 days later) » 

12:01 PM
It appears I lost my Random Name List.
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
 
LOL let's have a bet whether I would get 1k+ reps because this cash cow question
 
user1804599
Don't worry; just go to your back-up drive.
 
@not-rightfold No such thing.
 
user1804599
Jesus saves, Robot does no incremental back-ups.
 
It has to be on paper because I can get ideas at any time.
 
12:05 PM
interesting blog by John Cook, who interviews Michael Atiyah
 
Also, backups would be helplessly outdated, i.e., almost only already used up names.
 
@R.MartinhoFernandes wut? no backup?
 
56 secs ago, by R. Martinho Fernandes
Also, backups would be helplessly outdated, i.e., almost only already used up names.
 
Xeo
that second part is a weird parse
 
I like those.
 
12:08 PM
If it was so unimportant, why panic when you realised you had lost it?
 
I never downplayed its importance.
It's extremely important: I cannot create a folder without it.
 
Xeo
auto p = some_weak_ptr.lock();
if (!p)
  false;
p->foo();
return true;
^ from a coworker
 
Xeo
he had the revelation as soon as he explained the problem :)
 
I'm pretty sure that'd warn.
 
Xeo
12:10 PM
VS apparently doesn't
 
Statement has no effect.
 
Oh.
Right.
VS sucks?
 
Xeo
mh
 
@Xeo "Also almost all already used up names" for maximum alliterative power.
 
Xeo
You mean maximum "fuck-you"-ness?
 
12:13 PM
@R.MartinhoFernandes what random name list?
 
@melak47 his random name lists for new characters in his Hollywood screenplays
 
a robot writing hollywood screenplays? don't let the writers guild hear that!
 
Robor is writing an online brothel, he needs random female names for his cyber whores
 
@not-rightfold "prior art"
 
Xeo
12:30 PM
... Posix regex sucks :(
 
user1804599
Use Perl.
 
user784668
@Xeo s/ Posix //
 
@Xeo not a vim expert I see
 
12:49 PM
SourceTree, why you don't have native look&feel on Windows? I just want to select text with mouse, not whole fucking line %)
 
Woah. Order yesterday, expected delivery: Friday. The order has arrived just now.
 
what's best GUI for Git on Windows, other than SourceTree?
 
@R.MartinhoFernandes what did you order?
 
@melak47 Books :S
 
@Abyx why "other than source tree"?
 
12:51 PM
50 shades
 
I should block amazon in my proxy.
 
haha
 
@melak47 because SourceTree is quite weird.
 
user784668
@Abyx CLI
 
it is?
 
12:51 PM
@Fanael no.
 
@Abyx Why?
My team mates both use SourceTree (Mac and Windows).
 
@Abyx I suppose you could use the Github windows client...:3
 
I just use the CLI and fugitive.
@melak47 That's not good for anything non-trivial (I used it only for the blogging).
 
@R.MartinhoFernandes yeah, well if he doesn't like sourcetree~
 
@R.MartinhoFernandes window with diff shows an image, not text o_O
I mean text rendered as an image.
 
12:53 PM
WOAH WHTA
Who the fuck designed that.
 
user784668
LOL
 
@Abyx huh?
 
^ this is not text. it looks like a text, but you can't select glyphs with mouse
 
so..just because you can't select text in it, it's "weird" ?
 
yes, it's weird
 
12:56 PM
@melak47 Erm, it totally is.
 
can you select the text on buttons or titlebars? :p
 
I'm used to use the Hg Workbench, and SourceTree looks totally weird comparing to it.
 
@melak47 Sometimes you can. Try pressing Ctrl+C on a MessageBox and then paste it somewhere.
 
@melak47 well, sometimes I want to copy a part of a line from diff
but I can't imagine how people can use CLI.
 
@Telkitty猫咪咪 dat burn
 
1:00 PM
I tried to use hg, but after a month I gave up
 
@Abyx you can copy lines from the diff. Ctrl+C on the selected line :)
 
@Abyx Please, keep it SFW. No pictures of hunks in the lounge ... :(
@melak47 Wow. So advanced
 
@melak47 yeah, but I don't want whole line =(
 
@Abyx Because you never have silly problems like that ("huh, that's not copyable")
 
@Abyx then your lines are too long :p
 
1:02 PM
@Abyx Another UX fail: "Reverse File", that's what tac|rev does on UNIX, right?
 
@melak47 sometimes I want to copy a single identifier, e.g. to paste it in commit message
 
Maybe they should name the button "Reverse Cowboy Engineering"
 
@sehe I dunno what that button does
 
@Abyx then your identifiers are too long! :D
 
@Abyx I can only assume it undoes the patch shown. Or, you know, maybe it shows the reverse patch instead. It's hard to tell. UX fail
 
user784668
1:04 PM
@sehe Nah, it'd be "revert" then.
 
@sehe well, didn't I say that I don't like SourceTree?
btw, the "tac" name is a CLI fail.
it looks cool and h4xx02-ly, but it's still a fail.
 
tac?
 
man tac
 
Xeo
@melak47 reverse cat
 
>_>
 
1:08 PM
hm...
 
Xeo
It does what it says on the tin!
 
I disagree
 
@Abyx Didn't I not care? I'm looking at the screenshot because you stuffed it under my nose. I can't help but feeling invited to pick on it :/
 
[abyx@server:~]
% man tac
No manual entry for tac
it seems that not every *nix is weird
 
Xeo
lol
 
1:10 PM
if cat concatenates files...tac chould concenate them and print the entire string reversed, not just the lines :p
 
> There is no tin
@melak47 tac|rev
 
but now the lines are reversed and then everything is reversed! that's all wrong D:
 
@R.MartinhoFernandes Oh god! What are you gonna do when you have to find the name for your first born :{
@R.MartinhoFernandes Like, during a power outage. Highly inconvenient, I concur
 
@melak47 With fugitive I get the complete set of functionality of my text editor.
@sehe I'll just try to not get one.
 
Oooh. That's gonna be tough.
inb4 robot joke
 
1:15 PM
What happens if you make a Faustian deal where payment is your first born and then the first thing you do after signing is scheduling a vasectomy?
@sehe Keanu's reflection there is great.
 
@R.MartinhoFernandes Dunno. Read the small print!
(if you let it be born, then, technically it would appear you kept your end of the deal. That would unfortunately not be received well in most societies)
 
@R.MartinhoFernandes Assuming that you are currently still childless, of course.
 
Want to work on Mono on the server side (Class Libraries, JIT, Perf)? The fine folks at SineNomine are hiring: http://www.sinenomine.net/node/934
^ Cool
 
I think @kotAPI ate the newbie hints.
 
Or he's changing his screen name, into something random
 
1:24 PM
But the newbie hints are gone.
 
If you're new here, go there
6
 
God. Some more creativity when fishing for stars maybe
 
nah, it's ok as it is
 
it is. but it doesn't do the job
To whomever ate the Newbie Hints please return them at the following address: chat.stackoverflow.com/rooms/10/loungec, or we will have to bill the extra expenses in newbie tuition and correction
 
1:25 PM
it wasn't intended to be a valid noob hint
 
Also, you can't cast from object to object. You cast a value to another type. — sehe 9 secs ago
 
hm... I just pressed F7 in firefox. maybe I should already switch to MSVS and start working.
 
nah. Try F8 first
 
btw, am I too paranoid when I wrap all types in *.cpp files into anonymous namespace, because of ODR?
 
No.
ODR violations lead to very insidious bugs.
 
1:33 PM
oh fuck! I just searched Standard for "static struct" and found it!
but it was a variable declaration
(definition? nvm.)
but static structs would be quite useful, like static functions are.
 
Oh.
Cool. Found a bug in ogonek while investigating for an SO question.
 
How does a static struct work?
 
More like behaviour that changed from Unicode 6.1 to 6.2 and I didn't update.
 
@Pawnguy7 it doesn't exist, but if it would, it'd put struct in anonymous namespace
 
@sehe "Sine Nomine Associates is a woman-owned" I would fear working for a place where that is the first sentence I read about the company.
 
1:40 PM
@Nican hmmm?
 
@Abyx Assuming it did, what would be useful about it?
 
@sehe The twat you posted earlier, sinenomine.net.
 
> it'd put struct in anonymous namespace
 
@Nican Oh god. Was my account abused as well :/ What the fuck is twitter on these days
 
1:41 PM
Hmm. My interpretation of the grapheme rules expects one output, but the machine interpretation gives another :|
 
21 mins ago, by sehe
Want to work on Mono on the server side (Class Libraries, JIT, Perf)? The fine folks at SineNomine are hiring: http://www.sinenomine.net/node/934
 
@Nican Can you link to the twitter status? "Sine Nomine" should have been a rather large tip-off by the way.
 
@R.MartinhoFernandes Robot, whats the difference between your interpretation and machine interpretation? ;)
7
 
@Nican Uhoh. I don't read my own tweets that well. "Sine Nomine" is a very bad name IMO
 
Ah.
 
1:42 PM
Ok, it's cool then. Proceed
(afk)
 
@Borgleader For a moment I was about to explain the actual difference. Then it hit me and I laughed out loud.
 
I have <SpacingMark SpacingMark Extend>, and "Do not break before extending characters." The code breaks it into <SpacingMark SpacingMark><Extend>, though :<
Oh.
EX = Extend, XX = Unknown. Ooops.
It's <SpacingMark SpacingMark Unknown>.
 
alright!
found a subtle exception safety bug in the MSVC stdlib.
 
@DeadMG call STL and give him shit :P
@R.MartinhoFernandes Should be a simple fix then right?
 
user1804599
2:02 PM
Yay!
 
user1804599
Almost five o’cløck!
 
@Borgleader There's no bug. I was misinterpreting the input because I thought XX was "Extend".
Well, according to the OP of the question that got me looking into this, that behaviour is still wrong, so it's a bug in the Unicode data.
Protip: do not open a 145MB XML file with Firefox.
 
Ell
It can't even deal with 145mb? :3
 
@Ell it can deal with 145mb. It can't deal with 145MB.
 
Default parameters are not part of a function signature, right?
 
2:09 PM
@Ell I tried it and it was the first time in years that I needed Ctrl+Alt+F1 to take back control over my system.
@Jefffrey Right.
 
Ell
I don't understand why. Is it the parsing taking up CPU time?
 
No freaking idea.
It's not even crazily nested or anything.
There's like, one level and it's a ginormous list of empty elements with attributes.
 
They probably wrote XML parsing in Javascript
 
btw
 
user1804599
@BartekBanachewicz lol millibits
 
2:12 PM
@not-rightfold IKR
 
user1804599
@R.MartinhoFernandes I tried to open the UCD (XML, flat) in Chrome and it took ages.
 
user1804599
Not sure how big it is, though.
 
Ell
Ugh I hate lad culture
 
@Ell IRTA I hate lectures
 
@not-rightfold That was what I opened.
 
Ell
2:19 PM
Never had a proper lecture :P
Maybe a few
 
@Ell whats lad culture?
 
user1804599
@R.MartinhoFernandes Heh. :P
 
I am wondering if I should unpin Notepad++ from my taskbar
 
user1804599
I tried to parse it with XML::Twig but it used over 2 GB of RAM.
 
got a new favorite ?
 
user1804599
2:20 PM
The horror.
 
user1804599
Fuck XML.
 
@not-rightfold duh, use rapidxml
 
@not-rightfold I like TinyXml
 
Ell
A lad in the dictionary is A boy or young man (often as a form of address)"
 
user1804599
@BartekBanachewicz Meh C++.
 
2:21 PM
@A.H. tinyxml is crappy. Pugi and Rapid are better imho.
 
Ell
But lad culture is like "Oh you're such a lad because you did something stupid"
 
@not-rightfold and actually doesn't use 2GB of RAM, noob.
 
@BartekBanachewicz even tinyxml2 ?
 
Ell
Or "Oh you're a lad because you've had loads of one night stands" etc.
 
user1804599
Oh well.
 
2:22 PM
@Ell I think I am getting it
 
user1804599
When I have my 32 GB of RAM I can just load the entire thing into RAM use a DOM API.
 
@Ell In other words, "You're a lad because you're a fucking moron"?
 
Ell
Exactly
But it encourages people to do stupid things because they want to be called a lad
 
@not-rightfold where did you download that much from ?
 
Ell
2:23 PM
It has a great impact on young people I observe
 
@DeadMG well having a lot of one-night-stands and being a moron are two orthogonal things
 
who wants to be called a lad
 
Ell
Also idk if I'm describing the same thing as on the Wikipedia page
 
@BartekBanachewicz Yeah, one only implies being a moron and the other will probably get you lots of unfortunate diseases too.
@Ell Peer pressure is nothing new. Either you have the power to resist it, or you don't.
 
Ell
2:25 PM
I resist it mostly I think
 
@DeadMG meh, that's like saying going outside will probably get you hit by a car
or I dunno, robbed on the street.
 
Ell
not quite
 
@BartekBanachewicz Nah, it's like saying that if you go out and dance in the middle of a motorway at rush hour, you will probably get hit by a car.
 
Ell
sleeping with more people is a much stronger correlation :P
2^n
 
@DeadMG oh, so you mean that kind of one night stands
:v
 
Ell
2:27 PM
What kind? O.o
 
the disease spreading kind, apparently
 
FUCK
Markdown ate the "<U+0BC6 U+0BD7>" bits in my answer.
 
why does val[0]["reputation"] not select reputation from this JSON. Where val is for key "items" =/
 
Not enough jQuery.
 
Actually I am using jQuery =/
 
2:31 PM
eh robot's faster than me.
@Borgleader ahaha then too much jQuery
 
> I'll be tutoring a C++ class for the next 10 weeks and when people start asking me what namespace std is, I would really like to have a better answer than "It just has all the names needed to run the program
FOR FUCKS SAKE
 
Ell
^
 
-4
Q: How is namespace std implemented?

Kacy RayeI don't expect anyone to actually write out the whole source code, but what I would like to see is an example of how a simple hello world program is made possible. To be more explicit, I would like to how the header file and namespace are structured. Something I would really like answered withi...

 
2:38 PM
in Dumbville, Moronegon
2
 
Xeo
You'd think p_message = many anyToken >> string "PRIVMSG" >> many anyToken matches blah.blah.blah PRIVMSG blahblah :blah
But maybe I'm thinking wrong
Who here has tinkered with Parsec before? :D
 
Ell
Oh sheesh that guy shouldn't be tutoring
he better not be getting paid. That could be me.
 
@BartekBanachewicz You'd think someone that will be teaching X has a vague idea of what X is :S
@Xeo Sup.
 
@R.MartinhoFernandes right.
 
Ell
@xeo sehe iirc
Oh wait that was spirit.
 
2:41 PM
@Xeo There is no backtracking by default.
 
Xeo
oh
 
many anyToken consumes everything.
 
Xeo
Guess some trys are needed?
 
@BartekBanachewicz I'm teaching a friend C++ soon. I hope I get this right :s
 
3
A: Accessing private members of a class

Vaughn CatoHere's an example of get/set methods: class account { public int getA() const { return a; } void setA(int new_value) { a = new_value; } int getB() const { return b; } void setB(int new_value) { b = new_value; } int getC() const { return c; } ...

needs downvotes
 
2:44 PM
@TemplateRex Gosh, four upvotes.
 
Xeo
manyTill anyChar (string "PRIVMSG") >> ... it is
although that feels wrong
 
Xeo
dunno
 
@R.MartinhoFernandes it's a sad world
 
Xeo
Is <|> backtracking?
I guess not, otherwise I wouldn't need try, eh
 
2:47 PM
As a rule, if it does not have to be backtracking, assume it isn't. Parsec is designed so you explicitly control where backtracking happens.
 
Xeo
k
 
Ell
I wonder why udl made it into the standard
 
It's one of the most fancy features, and also one of the most useless.
It's almost all sugar.
 
Ell
Which bit isn't?
 
Xeo
hm... p = char ':' >> manyTill anyChar space -- how do I get the : into the matched part without resorting to do-notation?
Ok thanks again @sehe but I dont understand what the bloomin 'eck is going on here tbh Im relatively new to programming still inexpereinced today is first time I heard about std::map let alone all this boost stuff. IS there any other simpilar way e.g an algorithm that would just use the typedef struct or could you explain ur code further plz man? — Ossz 42 mins ago
poor guy
 
3:00 PM
@sehe you are a horrible person.
5
@Xeo Just do it.
 
Xeo
Needs code-highlight for pun
 
Or char ':' <^(:)^> manyTill anyChar space.
 
Xeo
lol
 
What's funny?
Parsec was the primary reason I fell in love with the infix applicative stuffs.
"parse this and combine using (:) with the result of parsing that"
 
we all know that throwing an exception from a dtor is dangerous as fuck.. what I haven't though about was that if an object of type T[N] goes out of scope and an element's dtor throws the elements in the array which still haven't been destructed won't be (which of course makes sense since running them will potentially throw another exception, and on goes the saga). but still
 
3:07 PM
(:) <$> this <*> that is ugly. I don't like that you have to use two different infixes.
 
actually, I think that they will be run.
 
@DeadMG they won't, I'm reading the standard and just tested it out on g++
 
@Xeo lol
 
@MohammadAliBaydoun :P
 
what's git alternative for hg identity ?

$ hg identify -i
803e77e22568+
 
3:09 PM
@DeadMG another weird thing, can't seem to even catch the exception being thrown
 
@Abyx $ git rev-parse HEAD
 
@R.MartinhoFernandes ok, but can it detect changes in working directory?
 
@DeadMG check this out, maybe it's some weird part of the standard that says this is undefined behavior and therefor illegal.. but that's it's uncatchable is kinda weird
 
@BartekBanachewicz holyshit that actually compiles
 
@Abyx Not sure what you mean. HEAD is always the commit the working directory is based on. Does that answer it?
 
3:13 PM
@R.MartinhoFernandes I mean that if working directory has changes, hg identify appends "+" to revision id
 
ah, dtor exceptions can't be caught at all. anyone know where in the standard this is specified?
 
Oh.
@refp Wut.
 
@R.MartinhoFernandes well, g++ doesn't wanna catch 'em
 
Xeo
You mean throwing while another exception is thrown?
 
@refp show us teh codes, please
 
3:15 PM
I will, hold on
neither will clang
 
@refp You need a noexcept(false) dtor if you want to throw from one.
 
@R.MartinhoFernandes oh, alright
 
Throwing from any noexcept function std::terminates.
 
noexcept(false) is so messy. Stupid double negatives.
 
3:18 PM
@R.MartinhoFernandes ah yeah, that will catch it
the dtor of elements after the object in an array still won't be called, however
as a side-note (if anyone asks)
guess you could write a stupid (but not so stupid) wrapper to make an array of which catches the exception and then.. well, prints some diagnostic; or make an array-wrapper which includes a array-element-wrapper that knows about the parent array and forwards the exceptions to the dtor of the array-wrapper (aka. the parent array) which will rethrow 'em (just so that one element won't fuck up the dtor-call for every other element)
(if you need to make arrays out of some type which you cannot modify and for some reason thinks it's an awesome idea to throw from the dtor)
since I got nothing better to do I will write an implementation of such
 
the real trick is to just never, ever, throw from a destructor.
 
anyways, how do you detect if files were changed in git?
 
@Abyx git status?
 
@DeadMG sure, I completely agree
 
Personally, I just look at my prompt.
 
3:30 PM
@R.MartinhoFernandes uhm, I need something like os.popen('hg identify -i').read().strip()[-1] == '+'
 
Xeo
@R.MartinhoFernandes That's cool
 
Mah prompt iz da best.
 
yeah, looks cool
 
Ell
@DeadMG I forgot why it's not a compile error
 
@Abyx Oh, programmatically. Check the return code of git diff --quiet.
 
3:33 PM
@R.MartinhoFernandes thanks.
 
@Ell Basically, that would involve inferring noexcept. Which has been suggested at least, if not formally proposed.
 
3:49 PM
> Reminds me of Adolf Hitler in May 1945.
 
@StackedCrooked @Mysticial TWGOK is over :( Great show guys.
 
Xeo
Where did it end? I can't believe they covered the whole Goddess Arc
 
holy shit
you watched it too?
 
ugh, fucking asynchronous getJSON bullshit >.>
 
Xeo
@GamesBrainiac No, I read the manga
 
3:58 PM
ahh
well, they did manage to cover it all in 12 eps
bitter sweet
 
Xeo
As I said, I somehow don't believe that
 
well, i might be wrong
but, the goddesses kick all the bad guys butts
 

« first day (1074 days earlier)      last day (3892 days later) »