« first day (1204 days earlier)      last day (3746 days later) » 

11:00 PM
@LightnessRacesinOrbit what exactly is yuck?
 
cos it looks horrible
 
looks okay to me
 
silly C++ that's the best you can do huh C++
 
@LightnessRacesinOrbit I can't use 4min + 52s because it's UB
 
"4min 52sec" looks okay. "4m 52s" looks okay. "4_min + 52_s" is a mess
@BartekBanachewicz I'm not saying you could have done better. I'm saying C++ could have done better :(
 
11:00 PM
sec is not SI IIRC
 
@LoïcFaure-Lacroix I'm trying Touchpal again since I don't think I gave it a fair chance.
 
@BartekBanachewicz the SI symbol is s
 
@LightnessRacesinOrbit well you could overload operator, and write (4min, 52s)
 
don't
 
Xeo
@LightnessRacesinOrbit reserved names are bitches
 
11:02 PM
@BartekBanachewicz Wait, UB, really?
@BartekBanachewicz :D
 
@LightnessRacesinOrbit mhm.
 
@LightnessRacesinOrbit UDLs must start with _
 
@BartekBanachewicz How so?
 
Xeo
31 secs ago, by Xeo
@LightnessRacesinOrbit reserved names are bitches
 
@Rapptz Oh I see what you mean. So he was pointing out that you can't define UDLs such that that expression would be well-formed, because such UDLs would be UB.
The reason I questioned it is that I thought you were saying 4min + 52s is already UB (as opposed to ill-formed) given your program as written, which didn't appear to make much sense :)
 
Xeo
11:03 PM
@LightnessRacesinOrbit ye, non-underscore is reserved for future standard use
 
C++14 already has 4min + 54s under std::chrono::chrono_literals
 
user3010322
Hm.
 
@Rapptz The answer is specifically for C++11 (to the extent that it defines the literals noting the absence of the C++14 literals in a comment)
 
user3010322
Really not sure if I want to tackle a better matrix class.
 
user3010322
Mah fingers. ;~;
 
user3010322
11:04 PM
Eh, I'll do it later.
 
@LightnessRacesinOrbit 17.6.4.3.5 :)
 
user3010322
Time to start on Sparkling Bjarne and Dancing Kanji.
 
@BartekBanachewicz Yes, again, I know all about the UDL rules. It was a misunderstanding of what you were referring to.
 
Well, Touchpal is pretty neat I guess
 
5 mins ago, by Bartek Banachewicz
@LightnessRacesinOrbit I can't use 4min + 52s because it's UB
What you really meant to say was:
I can't define constexpr std::chrono::minutes operator "" min(unsigned long long m) { because it would be UB
 
11:06 PM
yep
 
Given that you didn't, the reason you can't use 4min + 52s is actually because such UDLs are not defined and thus your program would be ill-formed.
Hence my surprise at the time that you said UB :)
 
if feature detection gets standarized you could prolly do that in a non-UB way
 
or wait, no, it won't be retrospective
 
I do like the (x,y,z,...) approach, too, because that + looks redundant
 
11:07 PM
the one with comma op, really?
 
@BartekBanachewicz well, for other things
@BartekBanachewicz sure
In fact I'd like a whole host of options to be valid. "4 minutes, 32 seconds" "4:32" "4min, 32s" etc
 
I don't mind + here TBH. It's perfectly clear what it's doing, even if it's not what you write in real life typically
 
@BartekBanachewicz It's certainly not unclear, it's just ugly
 
@LightnessRacesinOrbit well, some sort of constexpr lexical cast might work there if you were ok with packing it in ""
 
Ell
I feel like people here feel the need to defend their knowledge reputation
 
11:09 PM
but that's like the classic definition of overkill :D
 
@LightnessRacesinOrbit I don't think you write magical numbers often enough for that to be worth it.
 
@Xeo Aright well that wasn't too hard, much easier than I expected. I had enough iron and silver to immediately make silver helmet and steel chest, so that's a good start too.
 
Ell
@BartekBanachewicz Like, people have to tell other people what they do know and not for reasons of preventing time wasting
let me think of an example
 
@Ell I'm not sure what you mean
 
11:12 PM
I don't understand what "Ducking" is or why it can't pick "Fucking" which is obviously the more saner approach
I hate virtual keyboards
 
@Ell We're essentially a scientific community, so I think that goes without saying! Yes, I wanted to point out that I already know how UDLs work. No, I didn't want Bartek to think he was schooling me. Sue me :)
 
@Rapptz Getting your head down to avoid being hit?
 
Right
 
@Ell Presumably it all comes down to pride in the end.
 
I'm just a little upset that this keeps happening since "Fuck" corrects to "Duck" and all I can picture is a duck so "ducking" after a long time with a form of (?) semantic satiation makes it seem like it's "verbing" the word "duck"
 
11:15 PM
@Rapptz in the case of touchpal the more you use it the more it knows which word to type
 
Ell
@lightness of course - I wasn't criticising, everyone does it, I just find interesting
 
Am I the only one around who does apt-cache search x | grep x?
 
Ell
I have been reading the cathedral and the bazaar again and there is a little bit on pride between developers
 
@Rapptz "semantic satiation" nice!
@Rapptz also I love the metacity of the word "verbing"
 
Ell
11:17 PM
@bartek I do that on occasion
 
> Hi. I'm Surya Prakash Singh, Web Developer and Computer Engineer .I love to learn new things related to Web technology .I used to sit in front of the laptop for hours on end, trying to understand the logic behind websites. How They Work, and Why they work the way they do. This area of work soon became my passion, and I've loved doing it since the very start.
> I like the fact that people come to me and ask for my help, whether it be creating them a Website, or making them some sort of Illustrative piece. I just like that fact that people like my work that much that they are willing to let me help them.Which is why I do this. (source)
 
@Ell Probably. Defense is a fairly natural reaction to feeling threatened, and (in various ways) most of us are probably at least a little threatening (even if entirely unintentionally).
 
@LightnessRacesinOrbit D'awwww.
 
@EtiennedeMartel *this;
 
Also, good evening peeps.
 
11:22 PM
Heyyo :)
 
@Xeo: I just went to a new planet in the Beta sector and it decided to rain meteors for a while.
 
Which C++ book are you not reading? — Lightness Races in Orbit 5 secs ago
> How They Work, and Why they work the way they do.
 
@LightnessRacesinOrbit inb4 youtube video
 
user1804599
Argh.
 
user1804599
The font in the documentation of Boost.MultiIndex is terrible.
 
11:27 PM
@rightfold the large Courier New?
 
user1804599
Yeah, mixed with the non-large font.
 
user1804599
Most unreadable.
 
user1804599
Also the line height.
 
11:38 PM
I ran with gcc 4.6.3. I get a compilation error. — anup.stackoverflow 49 secs ago
FUCK.
OFF.
 
@Griwes :)
anyone got GCC 4.6.3 handy, then? /cc @PlasmaHH
 
@Borgleader That's not even properly aligned!
Use aligned_storage.
 
@R.MartinhoFernandes Ok I will, but I thought I'd fix the compilation error first ;) I suck w/ templates :(
 
There's no reason to use regular new
 
11:46 PM
Oh wait, it is, I guess.
But still, what Rapptz said.
 
huh o.o
 
Or optional.
 
Use std::aligned_storage
ConstructorBenchmark(ConstructorBenchmark& other) = delete; // meant const?
Wow you use tabs :v
Shame on you
 
huh
came across a whole village of glitch
robbed the place blind of course
 
@Rapptz Blame ST2
 
11:50 PM
I use ST2 and do not have this issue
 
Well I don't recall telling it to use tabs =/
 
@Borgleader come on, that's a lame excuse
 
Ell
I like tabs
 
@BartekBanachewicz I'm a lame excuse ;)
 
@Ell "I like trains"
 
Ell
11:51 PM
I still can't understand the reasoning against them for indentation
 
user image
2
lol
 
Ell
but I use space because of peer pressure
 
How expensive is that card in magic now?
 
@Rapptz lol
@Rapptz A signed one was sold for more than $15k, I think. Not exactly sure, though.
 
user1804599
11:53 PM
Cooool.
 
user1804599
user image
3
 
user1804599
Dat difference highlighting.
 
@Rapptz lol
@rightfold hm, how'd you do that?
 
@Ell Two basic reasons. First, even the slightest difference in configuration can lead to code that looks like crap. Second, if you use them, mixing in any spaces can also lead to utter crap--and there's rarely any visual indication of (for example) the difference between a tab along and a space followed by a tab (until viewed elsewhere, and makes a complete mess).
2
 
user1804599
@BartekBanachewicz clang trunk.
 
11:56 PM
I see
 
People who mix tabs and spaces make me unreasonably raged
 
Ell
@jerrycoffin well my style would be leading tabs only, for semantic indentation levels, then spaces for alignment/any other whitespace you need.
 
that's just bound to fuck up sooner or later in an editor that won't view them properly
 
user1804599
Yay.
 
user1804599
 
Ell
11:58 PM
I can't see any flaw with my style that isn't shared by space only styles
I believe lightness thinks this too
 
@Ell Jerry just mentioned it.
 
@Ell In that case, your code is virtually guaranteed to look like shit with essentially any and every possible editor except your own. Even seemingly slight changes in configuration of the same editor will probably lead to bleeding eyeballs.
If you're going to use tabs at all, then you must use tabs exclusively for all indentation.
 
Ell
hmm I don't understand. changing tab width would only change indentation width
 
@Ell exactly the problem. For tab width, you might need to just add two spaces to align properly, but then another tab width would actually require you to have used no spaces at all.
 

« first day (1204 days earlier)      last day (3746 days later) »