« first day (1791 days earlier)      last day (3382 days later) » 

02:01
Has anybody had problems with OpenCV when some nvidia dls would live lock before main? My remedy was to recompile OpenCV, but this feels like voodoo.
"string literal operator templates are a GNU extension". will this be in c++z?
@zounds Slated for C++222.
@Nooble By then they will have fixed variadics, too!
static_if
what's broken with variadics?
02:09
I still don't get why we don't let the compiler infer the staticness on its own
@jaggedSpire Time will tell...
> error: expected unqualified-id before ‘default’
what
I can't name a member default?
it's a keyword newfriend
are you okay?
MSVC compiles it.
@AnastasiyaAsadullayeva Nope.
02:14
is that how low your standards are
It should be contextual as fuck
ITT: Anastasiya forgets default existed for switch.
FYI MyObject()=default is broken in MSVC2013
you forgot your semicolon friend
02:14
@AnastasiyaAsadullayeva MSVC has all the sense of a drugged rat
@Rapptz Woops.
@jaggedSpire such as the sense of smell?
Also unnecessary includes from a previous experiment.
not you nooble
why aren't all keywords contextual
02:15
@LucDanton That too
because C++ is already hard to parse
suddenly I want to bool switch = true;
@AnastasiyaAsadullayeva because no one wants a revolution from the compiler writers
@Rapptz Oooh okay good. I'm all perfect again :)
guys lucdoc is kill
user1804599
02:16
@AnastasiyaAsadullayeva better introduce stropping.
And if we made all the keywords context-dependent, they might try and kill us all in our sleep.
@Rapptz no pls!
I forgot overloading existed
what is lucdoc?
I work on thing A
02:16
then I remember thing B exists
and then that spirals to thing C to Z.
user1804599
Since your code-base is of extreme quality, you can easily refactor that in.
user1804599
oh wait it's shit HAHA
I'm working on structs atm
2
I have no idea how to get inheritance info
why is that starred
02:19
You're the nooble now.
libclang doesn't like giving me info I require
@Rapptz I starred it because taken out of context it can be interpreted as you working on figuring out how structs work
like constexpr or inline
I suspect Nooble did so for much the same reason
what other keywords am I missing
oh just those two
02:20
@Rapptz sure it does
how
@jaggedSpire Yeah.
I've looked everywhere
I can find out if something is const or volatile.
I bet I can even find out void f() const && {}
but constexpr or inline idk how
maybe if I pray it'll tell me
I have a hacky thing where I loop through the tokens
and try to extract these keywords
02:25
in 2 hours from now you'll discover you can just ->isConstexpr()
I actually tried that already
can something be inline in one part of code but inline in another? Or do just want the compiler hint?
It's in DeclSpec::isConstexprSpecified does that help probably not
You never do just want the compiler hint.
@AnastasiyaAsadullayeva I can't find DeclSpec
How do you get one from a CXCursor?
02:28
Does CX stand for Cathay Pacific
uh I think it's C++
not sure though
anyway
Well when you visit your AST you do get DeclSpecs don't you
No I get CXCursors
there are things like STRUCT_DECL and friends which is a CXCursorType
Oh isConstexprSpecified isn't part of libclang
that's LLVM actual clang
02:34
RIP.
RIP indeed
Time to subprocess and chr some bytes.
I'm not sure how you're using it, I remember getting Decls and stuff. Haven't used the API for over a year though so it might be totally different by now.
I'm using one of their libraries called libclang
I don't wanna do token iteration
:<
clang pls
wow I didn't use that at all
I was using this
02:42
libclang is tiny as hell compared to that API
hence why I'm using it
and why other people use it I think
also it's in C
I think I got a good design working
transformations = {
    clang.CursorKind.FUNCTION_DECL: SphinxCursor(directive='.. function::', translator=function_to_string),
    clang.CursorKind.FUNCTION_TEMPLATE: SphinxCursor(directive='.. function::', translator=function_to_string),
    clang.CursorKind.CXX_METHOD: SphinxCursor(directive='.. function::', translator=function_to_string),
    clang.CursorKind.STRUCT_DECL: SphinxCursor(directive='.. class::', translator=struct_to_string),
    clang.CursorKind.FIELD_DECL: SphinxCursor(directive='.. member::', translator=variable_to_string),
at least this seems to be working decently
@Rapptz and hence why you can't get constexpr :p
pull requests welcome?
ikr
@jaggedSpire My code being the exception, of course.
@ʞɔᴉN oh, your code is exceptional all right. :P
How've you been
thank you, and I know you weren't being sarcastic because of the lack of <sarcasm> tags
02:52
@ʞɔᴉN Do my homework, I'll pay you $0.05.
and I've been doing alright, it's been like 100 degrees here lately so not getting much done
Oh god, the struggle of installing cmake 3.x on an emended system....
can Qt handle .csv files?
@Mysticial Sure, but that doesn't mean he'll be familiar with the functions used in C to perform arbitrary tasks. I'm familiar with pointers and arrays (I <3 iterators).
or do I need an external lib for that
02:53
@ʞɔᴉN ew
@Nooble I only accept rupees, sorry
It's getting colder here.
@jaggedSpire i know..
@ʎǝɹɟɟɟǝſ For whatever reason the problem statement wanted me to allocate memory inside the function I was supposed to write.
@ʞɔᴉN You should be dead, unless you're using freedom-units.
USA! USA! USA! USA! USA! USA! USA!
02:54
freedom-units were implicit. why use anything else?
MURICA
@ʞɔᴉN Good point.
I hate annotating things.
@ScottW just want to say I'll miss you buddy :')
Nick do you also work in finance
jFinance.js
@AnastasiyaAsadullayeva of course
02:58
He's also a chronic liar.
Hrm.
When you do
my_shader_parameter_collection["Projection"]
It returns an optional<shader_parameter>
Which means you can't do my_shader_parameter_collection["Projection"] = projection;
std::experimental::donotuse::danger::optional
And instead have to explicitly deference if you want to have it work
*my_shader_parameter_collection["Projection"] = projection;
Is this a good design?
@ThePhD Are you seriously going to abstract away writing shaders?
Ambitious.
03:00
?
No, you still need to write the source.
But the system compiles, links, and stitches together shaders.
Ahh ok.
@AnastasiyaAsadullayeva Should I just return the shader_parameter& and let the user suffer if they Out-of-bounds it?
I just imitate the std vector but put a bounds-checking assert. If they want to fuck up, they can find it in debug mode.
I most certainly cannot and do not want the default-construct behavior of std::map / std::unordered_map
@ʞɔᴉN You are good with english please help.
03:03
@ThePhD Why don't you just have 2 overloads
@jaggedSpire Sounds as good as ever to me. Guess I'll let at() return an optional<T&>
@AnastasiyaAsadullayeva I can't have 2 overloads for operator[] without introducing some kind of wrapping struct.
:25634897 Annotations.
Help.
Like a parameters[maybe( "Projection" )] or something
@Nooble I
I have to use what I "think" and "emotion".
And "voice".
And my shoulder hurts so I can't type.
03:04
have no goddamn idea what annotations are. :D
@jaggedSpire It's like while you're reading, you write crap on the margins.
not in an English context, at least
oh Annotations
not annotations.
Ignore me I don't know what my brain was doing there
How do you feel about the book so far?
Are you feeling rebellious?
Oh it's just an article.
Wait. map.at doesn't return an optional either, though it does throw if it can't find it..
#AlwaysRebellious
03:06
I need a new function name for this.
map.look ?
I'd just keep a running commentary in my head and write down the coherent parts of it
I do NOT want to return an iterator. Iterators for this are dumb.
@Nooble So I tried out the little snippet and I am still getting the undefined reference errors even after linking the library(Github Repo /imc-server)
@ThePhD ...find?
@jaggedSpire find returns key/value in an iterator. I'm just returning the value, if it exists.
03:07
std::optional is for people who don't live on the edge. Return a reference to a dereferenced pointer instead.
try_get?
Ehhh, try_get sounds C#-y. But it... is still a good alternative...
@NoahHuppert Well, what errors?
could also be confused for the version that throws on failure.
@Nooble Exact same errors Full log
03:09
though std::map already has try_emplace
I went with look while I figure it out.
cool beans
try_emplace... I never noticed map had that.
@NoahHuppert Well then, check if the function signatures match the .hpp.
Maybe try_get would be good...
AAAH bikeshedding 2hard
03:12
@Nooble They match exactly
@ThePhD I believe it's new in c++1z
@NoahHuppert What can I say: you're not linking the library.
Oh.
@NoahHuppert Are you including the include directories for the external library?
:( It seems like cherry tomatoes are almost out of season here. These are not nearly as tasty as the cherry tomatoes I got two weeks ago.
@NoahHuppert Try include_directories (${CMAKE_CURRENT_SOURCE_DIR}/path/to/include) in the main CMakeLists.
03:16
Cherry Coffin
Cherry Coughin'
map.at throws
Is there a map.at that doesn't throw? (And doesn't default construct)?
@Nooble No dice(include_directories (${CMAKE_CURRENT_SOURCE_DIR}/bno055)).
The very goal of .at is to not default construct and throw
@AnastasiyaAsadullayeva I want the no throw and no default construct.
Like vector.
Doesn't seem like there is one...
I could just immediately dereference a find.
03:18
Why don't you make your own proxy, problem solved
I have.
I'm writing the internals of the proxy right now.
@NoahHuppert Ask on SO then.
3v0
3v0
help
@Nooble Thanks for trying, wish me luck
3v0
3v0
im writing something but theres loads of other stuff I need to note down so I end up writing not that much
03:22
@NoahHuppert I'm sure you'll figure it out. It's just a linker error.
Which I have spent 3 days on :(
@NoahHuppert SO works magic. Just link to the repo and try to document it as best you can.
3v0
3v0
somebody?
@NoahHuppert Step away from the computer. Take a few hours not thinking about it before returning.
Also yes Stack Overflow is handy when you're at wit's end.
@3v0 this is not very descriptive, I don't think.
Oh I have. Usually with these kind of things I will be making lunch and the solution will just pop into my head.
03:24
@jaggedSpire He's snipe. Don't feed the troll.
3v0
3v0
ok im writing a word document but due to the subject its on theres a lot to write
@Mysticial Okay. Thanks.
i am SNIPE
@Nooble Okay, thanks.
@Nooble hihi :)
3v0
3v0
03:24
and I keep finding things that I need to renember to add to the document however theres so much that Im not writing that much just jotting the reminders down
@Nooble Does "CMake Library not linking correctly" seem like a good title(I only ask because last time I asked about a linking error with CMake I picked a bad title and it just got downvoted)
I should really stop writing but I need to finish homework or Mrs. Someone will scream at me.
@ʞɔᴉN My apologies for not keeping abreast of the latest Lounge Troll news
@NoahHuppert Seems about right.
03:25
I wonder if I could use my kitchen knife to shave the hairs off my arm
3v0
3v0
so annoying
I dunno what to do
@jaggedSpire Of course you can!
Go ahead and try, do it for science.
3v0
3v0
any ideas
Have I told you guys about how I hate annotating stuff?
Apparently not, at least with how hard I'm willing to press an 8" knife into my skin. (not very)
On the upside, I am not bleeding
03:27
it's not sharp enough then
@Nooble You know, there is a great website that I use to write quick notes
void Rectangle::initOnce()
{
    static bool rect_init = false;
    if(!rect_init) {
        //
    }
}
Yes, sharpening it more is the answer. There was a tomato just now that didn't get cut in half effortlessly.
3v0
3v0
im not a fucking troll
init/call once stuff feels so gross
@ʞɔᴉN Quicker than airplanes?
@Prismatic Yeah they are.
@3v0 What's the color of my underwear?!
03:29
almost as fly as me IRL
Hasn't been worked on for 4 years either.
3v0
3v0
shut up nooble
I'm working on it right now I swear
@Nooble cheating; snipe would know the color of snipe's underwear and could be right or wrong as snipe wished
@3v0 1v1 me irl
3v0
3v0
03:31
either help or im leaving
@jaggedSpire Rats! You've foiled my plans yet again!
have a good night sir
3v0
3v0
ok then
@3v0 Leaf me alone, the poor leaf said.
So, Age of Ultron, Avengers... They create a super AI that wants to destroy the world in order to save it... But don't mind all that... He accesses pretty much all the data in the world on everything known to man... And he thinks meteors are what ended the dinosaurs "Meteors... Boom. End."
Meteors are fucking meteorite trails.
03:33
Jesus fucking christ why are people so anal on SO
Alright it's 11:30 and I still have no clue how to start on this.
Time to bullshit the fuck out of it.
Pedantic nerd
@Nooble wat
@ElimGarak School stuff.
That must be fun.
03:34
@ElimGarak I always assume it's a minor difference in technical definitions between our universes due to magic existing there/<insert difference in physics here>
Alternatively I can say my shoulder hurts too much to write, and use that as an excuse.
My back hurts from carrying my team all day
@ʞɔᴉN Fire them.
@Nooble No, just get angry and start writing
That's my secret--I'm always angry.
03:36
#koalasuperpowers
@ElimGarak I fire one member a day already
@ʞɔᴉN 47 fired members in my fired members account.
@ʞɔᴉN TIL: ʞɔᴉN is The Trump
96 accounts in my account account.
more like 100, and yes you got me
I do work in finance after all
03:38
@ʞɔᴉN That's kinda what happened to me except it was only one person. And a train decelerated very quickly.
@Nooble are we talking about your soccer practice? :)
@ʞɔᴉN No just a train going home from school.
Ah so you had someone on your lap, how gentlemanly
Yeah that's how I'm going to tell the story.
How would that hurt my shoulder though 0_o
let's not discuss that
03:42
gitter is really really nice
Google Ultron
@AnastasiyaAsadullayeva Yeah.
> glitter is really really nice
@AnastasiyaAsadullayeva is it? all I get are random emails every couple days
@ʞɔᴉN Ahh if he/she was holding on to my shoulder.
In which case, that's what happened, minus the "on my lap" part.
03:44
@ʞɔᴉN I signed up today so idk
Nick you are such a great detective.
but the interface and features are well thought out
In fact I'm thinking of suggesting something similar for SO
Oh we're talking about different gitters.
I was thinking of Gutter.
oh god I'm dying, just found that
The git plugin thing.
03:45
I just keep reading glitter over here
same, I have to read the name twice
doesn't help that you guys keep dropping unrelated but similar words
Ok shot off to SO, incase any of you guys have any clues
0
Q: CMake Library not linking correctly

Noah HuppertI am attempting to write a program that uses the BNO055 Driver. I have tried many different methods of linking this library to my project. Since the BNO055 driver does not come with any build system setup or library built I have to include the driver in some fashion. For each of the following...

What would you guis think of a Onebox-on-hover feature on SO? By that I mean, when you hover over a link that points to a question/answer/github/cppreference/msdn/etc, after a short delay it displays a popup with the rendered question/answer/etc.
@ʞɔᴉN See.
@Nooble what theme is that
03:48
@AnastasiyaAsadullayeva I think I once had a chrome extension that did that for google links. I'd be interested
@AnastasiyaAsadullayeva Material. github.com/equinusocio/material-theme
posted on September 11, 2015 by Scott Meyers

I've been a loyal listener to CppCast since its launch earlier this year, so I was pleased to be asked to be a guest on the show. The result is now live. Among other things, hosts Rob Irving and Jason Turner asked me about my recent blog post on inconsistencies in C++ intialization syntax (their idea, not mine), my role as Consulting Editor for the Effective Software Development Series, common

@AnastasiyaAsadullayeva Big things on hover annoy me. They feel like cursor tripwires: easy to trigger, but then you need a larger gesture to get rid of them.
@LucDanton QoI
@Nooble Thanks!
Really neat and unreadable theme
I don’t see how it’s a matter of quality. The two sources of frustration are the main features of the thing.
03:51
@AnastasiyaAsadullayeva so buttiful tho
@AnastasiyaAsadullayeva Yeah that's the downside.
I kinda wanted the Monokai colors.
I don’t like having large-ish part of my screen blockaded just because my cursor rests on the wrong place.
@LucDanton Because you can always make them harder to trigger and easier to get rid of, and even add an option to disable them. As for the size, not bigger than a hand.
@Nooble regrettably I'll switch back to soda dark
@AnastasiyaAsadullayeva :(
bittersweet is the best ST3 theme
03:54
Also the item height in the menu is way too high
@AnastasiyaAsadullayeva Key word 'rest'. How hard are we talking? Will the user have to perform a small dance?
@ʞɔᴉN Linkity link please.
@ʞɔᴉN no its Seti UI
@LucDanton Exercise is good for health
user406009
@AnastasiyaAsadullayeva Like a hover box? Or expanding the content?
03:58
sʞɔns ʞɔᴉN
umop apisdn
@Borgleader that's pretty sexy, I don't usually mess with UI themes but I'll give it a shot
@Lalaland A hover box

« first day (1791 days earlier)      last day (3382 days later) »