« first day (1382 days earlier)      last day (3561 days later) » 

6:00 PM
@park argh stop deleting things!
right think I fixed my sendmail. still want to configure it to REJECT instead of DISCARD in the future so I can find out about this shit
 
@Mysticial Yes. The actual requirement is trivial destruction.
 
actually I suppose it is already doing that and the emails should be retried by the source MTA ... hmm
I can't tell because I'm testing it through work's email proxies
and they'll be hiding the rejection from me
ok good done
 
Don't use sendmail
Is what fixes sendmail-related issues
 
never saw the big issue with sendmail. just needs configuring properly
I'd set up a domain for someone and forgot to update /etc/mail/local-host-names #whoops
 
@LucDanton Hey! You're back! Haven't seen you in a while? Or is just a timezone thing?
 
6:05 PM
@Kay I have to disagree, there is a VERY valid use case for overloading operator& when creating RAII wrappers. However that is a bit advanced for an intro course. — Mgetz 3 mins ago
wat
 
@Mysticial I come from time to time, mostly when I code. Also sometimes I come in but don’t chat.
 
added it to my carefree how-to-do-things.txt :)
 
It's hard to configure and riddled with bugs
 
btw Android bluetooth tethering > *
didn't even realise this laptop has Bluetooth tbh
 
This is p accurate description of sendmail: wiki.debian.org/Debate/DefaultMTA#Sendmail
 
6:07 PM
@LightnessRacesinOrbit free cancer
 
@jalf overloading operator& is very useful when wrapping handles that are return parameters. I suppose I'm used to it since I've worked on windows so much.
 
@CatPlusPlus can't argue with that. I also couldn't give a flying fuck about any of those negs
 
Postfix/Exim are easier to configure and more secure by default vOv
qmail is the most secure by default, but it's a pain in the ass to maintain
Less than sendmail but still
 
it starts with q
 
oh good loud people in the hotel's courtyard
 
6:09 PM
There's also lamsonproject.org for a fully programmable MTA but dunno how's security of this
 
> Lamson adopts modern web application framework design and uses a proven scripting language (Python)
 
@LucDanton Interesting. "Trivially destructable" require that the constructor be implicitly defined. So if I have a constructor for initializing the member, that fails?
Nevermind, ignore me. I read wrong.
 
Post C++11 you can default the destructor in most cases. (Triviality requirements are steep though.)
 
I read "uses the implicitly defined destructor" as "uses the implicitly defined constructor"
It's 11AM. Too early in the morning for me.
 
truth is, I don't have time to fuss about changing things on my server
too much Lounging to do
brb going to find foodz
 
6:13 PM
:| I think I messed something up in git
 
possible
 
if I merged a branch, but somehow was still on it locally on a different computer, and continued to change it, what happens?
 
it'll make another branch
 
World explodes
 
@Crow merge it again; it'll get the new changes over
 
6:14 PM
Game over
 
Why is Coliru taking 8 years to run my shit?
 
@EtiennedeMartel it's trying to play with the big guys (MSVC)
 
user784668
folks
 
@Crow then the branch you're on locally would just contain additional commits on top of what had been merged to the other branch
 
I've received my CodeMentor payment
 
user784668
6:15 PM
can you recommend a decent external HDD?
 
@sehe 2$
 
@BartekBanachewicz how much
 
@BartekBanachewicz so you're rich now?
 
@ParkYoung-Bae $2
 
it wasn't that much.
 
6:15 PM
ooo
 
I mean it wasn't that much but it was more than $2.
 
@BartekBanachewicz $1.75 then?
 
okay cool that worked
 
user784668
@BartekBanachewicz €2?
 
@Crow next time you wonder how things work, make backup, try, and sell you panic to the poor
 
6:16 PM
Guys, question about unicode
 
@sehe who the fuck puts units as a prefix
 
impossble
 
user3010322
@rubenvb Flee now.
 
@sehe possble!
 
Am I right to say that this guy is wrong? boost.2283326.n4.nabble.com/…
 
6:17 PM
always
 
@ParkYoung-Bae 'muricans.
 
@SamDeHaan i knew it
 
He seems to think UTF-32 is a single uint32_t is a character encoding.
 
but i'll excuse them for once
because they invented internet and electricity
which are both good things
also the latin alphabet
 
p sure we invented everything
 
user784668
6:18 PM
@rubenvb UTF-32 is a ham encoding.
 
@rubenvb which guy?
 
that's what they taught me in history class
 
If I remember the Robot's ramblings correctly, there are still combining whatchamacallit (like accents) that will make a character more than one uint32_t.
@sehe Joel.
 
@rubenvb surrogates or something?
 
user784668
@rubenvb You're confusing glyphs and characters (= code points).
 
6:19 PM
Joel is usually right :)
You can have combining characters in utf32 yes.
 
@ParkYoung-Bae no, they're the ones combining UTF16 code units
 
@Fanael that
 
@jalf I don't know I suck at UTF-\d+
 
:)
 
UTF sucks at me
 
6:19 PM
@sehe but then a combining ` with an e would fail isalpha in his eyes.
 
isbalpha
 
I thought that UTF-8 could go up to 6 bytes per character but now that I think about it I'm not so sure
 
but the character is indeed a letter right?
 
@rubenvb well, if you want proper, then Boost Locale + ICU is the way to go
 
@rubenvb It’s a very long discussion… What guy?
 
6:20 PM
@rubenvb I think you mean the character, not the diacritic, then yes. Otherwise character != grapheme cluster
@LucDanton Joel
 
@LucDanton the exact post I linked to. The Joel dude.
 
he's not right at least in that even UTF-32 doesn't necessarily fit all "physical" characters inside a single code point
 
@Fanael there is no one to one relationship between characters and code points
because that would be too simple
 
I don’t think he’s wrong.
 
@JerryCoffin Kinda indicates that it really shouldn't be law
 
6:21 PM
like you can have combining characters, and "É" is either the character "É" or "ACUTE ACCENT + E"
 
It's a cute accent indeed
 
@ParkYoung-Bae damn, beat me to it
 
user784668
@jalf Character is defined as a synonym to code point by Unicode, are you, too, confusing glyphs and characters?
 
there's Unicode normalization for that but there is an infinite amount of sequences that can't be normalized
 
The point I think he's wrong on is that using the regex utf32 stuff will magically make everything work. Because somewhere in there, there'll be a call to isalpha("ACUTE ACCENT") which will screw everything up.
 
6:22 PM
@jalf ICU had the same idea?
 
@zneak say what?
 
@ParkYoung-Bae of cute accents?
 
It was another pun.
 
you can have "ACUTE ACCENT + ACUTE ACCENT + ACUTE ACCENT + E" if you want
how do you normalize that
 
Normalise before processing
 
6:22 PM
oh
 
There is classification of codepoints, and I’m fairly sure ‘alphabetical or not’ is in it.
 
@zneak is that legal/allowed?
 
@zneak canonical forms
 
absolutely
 
user784668
@rubenvb Of course.
 
6:23 PM
zalgo
 
zalgorithms!
 
@sehe the <center> cannot hold.
 
dat answer
 
sure it can
 
4428
A: RegEx match open tags except XHTML self-contained tags

bobinceYou can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...

 
6:24 PM
According to the starboard, only if you align it right?
 
Fuck I hate unicode.
 
user784668
Can you recommend a decent portable HDD?
 
´´´´´ <- free accents, take yours
 
@LucDanton surely a combing accent is different than a non-combining one.
`e is distinct from è
stop confusing me, fools!
:-p
 
Normalise before processing
 
6:25 PM
Well, they don’t look combined to me: ´e
Oh I see your point!
I can’t input Zalgo from my layout though :(
 
@Fanael I heartily recommend one
 
user784668
ë̈̈
 
user784668
@sehe Smartass.
 
why, thanks
 
Paaaaaaatch come on
 
6:30 PM
inb4 tooltip fixes
 
Nah, new content
But they still haven't launched it yet
 
I hope they make Mai Trin harder
 
Your what?
 
Mai Trin
 
No, not yours, his
 
6:32 PM
Oh, fractals
 
cat getting more incoherent than usual lately
 
@Puppy I suppose that depends on what the law was intended to accomplish.
 
Incoherent Cat
Needs a new avatar methinks
 
> methinks
 
meth ink
 
6:36 PM
Always reminds me of jar jar binks
 
also, image is from shady russian site (first hit on google). My apologies :-p
> methinks: A really pretentious and annoying way to say "I think." [...] Sadly, abused by people who make special trips to Pinkberry. [...] it is often suggestive of idiocy. - Urban Dictionary
 
Seems accurate
 
Oh. It may derive from SW. TIL.
 
@rubenvb Urban Dictionary: a really pretentious and annoying way to support nonsensical conclusions. It is almost entirely idiocy.
 
@JerryCoffin No shit. It's funny as hell.
 
6:41 PM
Interesting how you can have a highly selective sense of humour
 
You don't need operator& for that. — jalf 9 mins ago
yes you do if you want to make sure anything previously held by the smart pointer gets released
 
6:52 PM
Yay.
 
hello
 
Hi
 
user3010322
@Mgetz Lol, @MooingDuck is arguing about a thing he already invented.
 
@ThePhD shrug it's a very narrow use case that I regret even bringing up. That use case is very specific to having to interop with COM.
 
This sickness is making me sleepy.
 
6:57 PM
@Mgetz No, you don't.
@Mgetz Yes, you do if you want to use operator& for it.
 
user3010322
@Mgetz You just need a free function.
 
this is the best cheese
 
gorgonzola
 
@R.MartinhoFernandes
 
0
Q: Why does Stroustrup's std_lib_facilities.h modify the input size of the operator[] with std::vector?

acarlowHere's an excerpt from the current std_lib_facilities.h (from his website): ... // trivially range-checked vector (no iterator checking): template< class T> struct Vector : public std::vector<T> { using size_type = typename std::vector<T>::size_type; using std::vector<T>::vector; // i...

 
6:58 PM
Danablu (known as Danish Blue in English speaking countries) is a strong, blue-veined cheese. This semi-soft creamery cheese is typically drum or block shaped and has a white to yellowish, slightly moist, edible rind. Made from cow's milk, it has a fat content of 25–30% (50–60% in dry matter) and is aged for eight to twelve weeks. Before ageing, copper wires or rods are used to pierce the formed curds to distribute the mould (Penicillium roqueforti) evenly through the cheese. The holes can still be seen when the finished wheel is cut open. Danish Blue was invented early in the 20th century by a...
 
damn it Stroustrup.
 
did I do it right?
 
yes
 
6:58 PM
yay
 
user3010322
Jan 18 '13 at 7:10, by ThePhD
@R.MartinhoFernandes I actually did something useful with @MooingDuck and came up with a good way to create an 'Address Of` for std::unique_ptr. It was mostly for com initialization. The name ended up becoming ptrptr, so we haven't really solved the name problem yet: http://stacked-crooked.com/view?id=09acbd607d45bb941fcde44f572f50b9
 
user3010322
It ended up staying ptrptr and I use it everywhere.
2
 
@Mgetz There's no reason for needing operator& other than wanting it to be done with operator&.
 
@Mgetz Is the thing you care about returning the special handle, or that you use the name operator& to do it?
 
user3010322
The code is a bit stale and old, though.
 
user3010322
7:00 PM
Because I've generalized it to work with anything that has release and reset.
 
user3010322
And to even support some funky casting scenarios.
 
@R.MartinhoFernandes and this is why I regret bringing it up, either way...
 
Oh, it's Tuesday.
 
@Mgetz oh god no
 
@Jefffrey is learning things bad?
 
Do you see the pattern?
inb4 design patterns
 
?! who's drunk now
 
I'll be in a bit
 
in here at least 1 person is drunk at all time
 
@Jefffrey What?
 
@rubenvb [tag:lol]
 
The drugs are kicking in.
Poor Jeff
 
@Jefffrey [tag:lol]
 
7:08 PM
how
 
tags hate sehe
 
oh yeah
[tag:not-special]
 
wtf?
 
@rubenvb it won't ever work with special characters
 
7:09 PM
@Jefffrey escaping
 
@Jefffrey chat.stackoverflow.com/messages/17984548/history (Do you have to be an owner to see that?)
 
I didn't know how to do tags until two hours ago lol
I went to sandbox to practice
 
poor thing
 
@sehe I GOT IT ON MY OWN
:)
@R.MartinhoFernandes nope
 
Anyway, I'm out.
 
7:11 PM
cout
 
rout: outputs to stdrobot.
 
normally I'd have to wash my one of my special beer glasses for this but I'm extra lazy today
so I'll just get a random glass
remember when I said I'd stockpile McDonald's glasses?
 
@ThePhD What problem does it solve?
 
I gathered ~12
and started throwing them away
because I was too lazy to wash them
 
user3010322
@Jefffrey FuckingCOMInitialize, is what.
 
7:13 PM
For a second there I wondered if it's getting dark outside or already getting bright again
6
 
Verdict?
 
guilty
 
Clock says 21
I trust the clock
Also I'd probably be more hungry if it was dawn
 
what's the verdict? My clock doesn't have "brightening" or "darkening"
 
Deduction skills~
 
7:14 PM
1 min ago, by Cat Plus Plus
For a second there I wondered if it's getting dark outside or already getting bright again
 
user1804599
Wonderful.
 
@CatPlusPlus 10 minutes to patch
 
Notes are up
 
@ThePhD v0v
Do you guys have trouble with github avatars?
 
user3010322
 
coliru is down bitches
 
user3010322
Yes, com does do that.
 
the phd just broke coliru
 
user3010322
Oh well.
 
user3010322
FWIW it's working for me.
 
7:23 PM
I want to use notepad++ because I work faster in it than in gVim but the name is so lame
why must I be so shallow :'(
 
oh lawd, what will happen to melandru runes
 
@Puppy no it's not bitch
 
> New kites
Noooo I'll need to find more chests
Ah nvm not sellable
 
So maybe that means they’ll have a sane drop rate. I’m not holding my breath for that though.
 
user3010322
7:27 PM
@Jefffrey Congratulations. Now do that for hundreds of COM calls and you'll be all set!
 
Xeo
@LucDanton what game?
 
Guild Wars 2
Yeey it's patchin'
 
@ThePhD I see.
 
@ThePhD No problem.
 
welp installed npp anyway
 
7:34 PM
Ahaha dialogue cheesy as usual "(gasp) NO"
 
@Puppy I doubt every COM function takes only 1 argument.
 
user3010322
That's easily solveable with variadics.
 
@Jefffrey That's what lambda captures are for.
variadics unnecessary.
 
user3010322
The problem is that now you have to write the lambdas to do that at a million callsites.
 
user3010322
... Or, you could just write ptrptr( myunique/myshared/myReleaseResettable ) and then pass the result to the function and let C++ take care of it for you.
 
7:36 PM
@Puppy I don't know what I've read.
 
you mean, the solution that I created like, four years ago?
it's frankly suboptimal because this solution can also be used to automate proper error handling
 
:lol: so many people rushing this
 
your mum's face is a callsite
 
@Puppy What if you have to pass > 1 pointers?
 
@Jefffrey Then chain them.
 
7:47 PM
i can give you some pointers on chainsmoking
oops nearly created a massive bug. can I do boolean OR without short-circuit evaluation?
 
@ThePhD I merely rewrote, someone in this room invented it first
@LightnessRacesinOrbit pass it to a function
 
was there ever a C++ compiler that allowed something like this?
for (int i = 0; i < sth; ++i)
{
}
for (i = 0; i < sth; ++i) //same i as above
{
}
dink smallwood's sources are filled with these
and I just can't find an explanation for it
 
@MooingDuck pass what to what function
 
I've never seen such a thing
 
@MooingDuck Me.
 
7:50 PM
@Puppy probably
 
user1804599
@AlexM. shadowing!
 
user1804599
Oh wait same i.
 
obviously the C++ 11 compiler VS2013 comes with throws errors at me and I suspect it's invalid in C++03 too
 
@AlexM. yes
 
user784668
@AlexM. VC 6, so nothing you should worry about in 2014.
 
7:50 PM
@LightnessRacesinOrbit the left and right sides? bool non_short_circut_or(bool l, bool r) {return l||r;}
 
well I can't state for certain that any given person did or did not take it from me, but I can state that I created it long time ago.
 
@MooingDuck ah yes :)
 
@MooingDuck You mean, operator|?
 
I could also do + I suppose
 
@LightnessRacesinOrbit wait, boolean or doesn't short-circut!
you tricked me!
 
7:52 PM
aight, so VC 6
thanks
 
@MooingDuck yeah it does..
 
@Rapptz logical-or does. boolean-or can't
 
void kill_all_scripts_for_real(void)
 
the fuck is boolean or?
 
okay this made me laugh
 
7:52 PM
you mean bitwise or?
 
kill all scripts FOR REAL
 
@Rapptz yeah that one
 
WE'RE SERIOUS NOW
 
user1804599
@AlexM. mysql_real_escape_string
 
man I just write code, I don't know what | is called...
 
user1804599
7:53 PM
Pipe.
 
user784668
The next version of PHP will introduce fix_all_php_problems.
 
user1804599
Bitwise OR.
 
@Fanael That's a paradox, I think.
@Rapptz false BOOLEANOR false = false - _ BOOLEANOR _ = true.
 
also const somename = somevalue <- probably defaulted to const int
wtf
 
main() {}
 
7:56 PM
this codebase is weird as fuck
 
void main(...) {}
auto main()
 
@MooingDuck what...
@MooingDuck yeah I'm talking about logical i.e. boolean OR. not bitwise
bitwise OR could theoretically short-circuit as long as the LHS was all-ones ;P
 

« first day (1382 days earlier)      last day (3561 days later) »