« first day (1605 days earlier)      last day (3569 days later) » 

00:00
Hey, at least you have the balls to ask someone out. I can't.
fuck it's 8.
i needa write this shitty paper
no .h++?
@sehe Do you use error signs in some fashion (e.g. Syntastic/YouCompleteMe)?
@Puppy Oh, right. Bah just pick other.
00:08
why hpp and h++? :|
headers haven't changed much
the language they're written in has, though.
Oh… apparently the sign functionality has some limitations :(
who voted for .hpp?
"Me" or "I did"
00:12
Dunno, English is poor.
Thanks.
@Blob It plays nicer with tools. With .h, they have to guess whether it contains C or C++.
@LucDanton hm. i don't use these tools, but that's a decent argument.
@BaummitAugen "I" is a subject, while "me" is an object.
For projects that have C and C++ parts it can avoid confusion, too.
@LucDanton why would such a beast exist?
00:14
@Blob E.g. you are using a custom version of some C library.
@Nooble So "I did" would be best I guess.
I would say so.
@LucDanton I used to. But since YCM I don't think that happens - I get the 'cringly' underscores now (with location list)
00:30
They don’t go away even if I follow the help, so confused right now.
k I fixed the signs
@sehe Do you use YCM or the Syntastic checkers?
YCM
I have not found a reason to like Syntastic to date
It’s okay with Haskell. As usual though, sandbox workflows are still too new to work out of the box.
:D
YCM still gives me signs when I ask it not to :(
I think it might for me too. I don't mind. (TBH I thought it was a funny interaction with one of the plugins I used to use before (ErrorMarkers.vim or something))
00:42
My actual problem is the jitter from the 'gutter' (as it’s called) popping on and off as signs appear and disappear. I wanted to try if it could be present all the time, but as it turns out it’s not possible. So I’d rather not have the signs.
@sehe Do you have a global .ycm_extra_conf.py or do you go per-project?
@LucDanton Per project.
@LucDanton Mmm. I do notice the jitter but it doesn't bother me enough. I think this has always been the case with any marker plugin at all
The funny thing is that it’s annoying because checking the file is so fast/reactive. I.e. it is what we wanted for years!
Did time changed this weekend?
Like +1 or -1?
For Europe? Should be around end of March. Never before the 21.
I noticed - after writing the answer - you consider the input to be CSV. See How to parse CSV using Spirit, and this other answer (and also an adaptation for zero-copy parsing of a mapped file). There's also this one that maps columns: boost spirit parsing CSV with columns in variable order. For your inspiration — sehe 19 secs ago
Answers using Spirit heroics.
Finds out the OP thinks he's parsing CSV
00:55
@R.MartinhoFernandes Poor guy.
That didn't strike me from reading the parser
@ParkYoung-Bae Weird
k I set the options before loading the plugins in the rc files, restarted gvim and here we are
Wow wat
I swear I thought I saw Joseph Gordon-Levitt being awarded a star in the walk of fame.
But apparently I dreamt it.
@sehe What annoys me about that stuff is that I don’t feel it belongs to, say, the project repo since it’s specific to my dev env.
For a global one it’s fine, since I have a source controlled vimrc/. Eventually though I’ll have some sort of project where I need specific options, and if that file ever disappears I’ll be annoyed.
eh I’ll probably hack something horrific in the global one, when the time comes
01:04
.gitignore/.hgignore?
@LucDanton agree. I don't version the .ycm* file. I basically :!cp ~/.ycm_... before starting work but I do edit it (to point to the right boost, have right -std=c++yz flags etc.)
@Rapptz The file to disappear being a local copy, sorry.
A bit of an elite trolling: stackoverflow.com/a/28933809/85371
@LucDanton .gitattributes merge policy (or something)
?
Fuck, even 'local copy' is ambiguous I guess. The file to disappear being a repo-specific copy!
The transformation of math to code is pretty in a way.
But variable naming is hard.
I can't just name them the symbols..
I mean I do that all the time but when I start getting into subscripts it gets ugly.
01:09
You haven't seen physicist code, I guess.
Write a plugin to correctly display UCNs and switch on -fextended-identifiers!
α₁
@ParkYoung-Bae My Project Euler code is pretty ugly so I can imagine.
@LucDanton smudge/clean script?
@sehe I won’t add the file to the repo.
there is simply no way to make this look pretty
@LucDanton Sounds like a plan
though I am curious
Do you guys think mathematical code is a good use of unicode in identifiers?
01:17
depends on the density of unicode characters
if you're using a reasonable (whatever that means) amount of those, then I think it's a perfect use case
I am literally naming this function f.
@Rapptz I don’t like the idea that Unicode is 'special' to begin with.
If there’s a way to make subscripts work in IJulia, I don’t know what it is.
So what happens in Julia/IJulia is that \alpha<Tab> inputs α. I actually expected the source to contain \alpha and the rendering to show α. I don’t think the grammar would permit this though.
@Rapptz Nope
Regardless, what do you think of a putative system that would do the above @Rapptz?
I think that's cool.
01:23
APL exists :)
I meant where the source that contains \alpha.
The obvious drawback of the Julia approach is that you also need some way to input an actual α with your editor of choice.
Python does something similar to this
@sehe Not a reference
Like you can do \N{unicode name here} in the source code as an alternative to \uXXXX
don't think it works in identifiers though
also a bit more verbose than \alpha
01:40
\centauri
Night all :)
Night.
@sehe Good night.
Someone just posted this to a photography group, claiming that it is a photograph.
too real
Why wouldn't it be
01:47
@LightnessRacesinOrbit Pretty sure someone posted a modded Skyrim screenie too.
lol right
> Other Twitter users praised the decision. One comment read: "Kudos @ndtv for the #IndiasDaughter protest. A surprisingly mature decision in a mediascape (sic) that seems to deteriorate buy by the day."
the actual tweet has no such Engrish
yet they have the gall to implant a "(sic)" after a perfectly acceptable word
lol
> buy by
@LightnessRacesinOrbit Think of that! The media hates buzzwords!
01:52
Complained about it
To make a point
ugh log without base
time to play the "let's guess the base" game
log is usually base 10, to distinguish from ln in base e
I wish.
@ParkYoung-Bae except c++ log is ln
nice try though
> usually
nice try though
01:58
> log(x) refers to log2(x) in computer science and information theory.

log(x) refers to loge(x) or the natural logrithm in mathematical analysis, physics, chemistry, statistics, economics, and some engineering fields.

log(x) refers to log10(x) in various engineering fields, logarithm tables, and handheld calculators.
yes that's helpful @Park. Well done
inb4 bin

« first day (1605 days earlier)      last day (3569 days later) »