« first day (1996 days earlier)      last day (2943 days later) » 

10:05 PM
lol im the best troll
Filed under: "It would be funny if it weren't true"
 
Hey, I found a use for __has_include. Yet another reason to C++17.
 
It's supported by like all compilers
 
Yeah, but I will still wait for GCC 6 before actually creating a C++17 branch. I shouldn't have to wait for too long, so that's ok.
It's handy to detect extension headers from the standard library without having to remember the names of random macros.
 
@Morwenn I have used it for Emscripten, since EMC++ is built on Clang which supports it.
 
When a sneezing cat gif meets a photoshopper. - TopGIF By @9GAGGifs https://t.co/b5bXiCLtmu
 
10:21 PM
I have another opinion question, what should happen if a type inherits functions with the same name, but different argument types from multiple bases.
e.g.

struct A { virtual void f(int); }
struct B { virtual int f(byte); }
struct C : A, B {}

should `C c; c.f(3);` be valid?
 
overload resolution?
 
@Puppy hmm my c++ compiler gives me an error "Error "C::f" is ambiguous"
 
also C c; is for peasants.
how about c = C();.
 
Ell
I like C c;
 
that's because you're a peasant
 
Ell
10:24 PM
or are you not talking about c++?
 
let c = C();
 
we are not
he is writing "Wide but it sucks tremendously" ;p
 
@Puppy it's an example, I'm illustrating a point, but In retrospect, perhaps C().f(3); would be more succinct.
 
let your_mom = fat()
 
although admittedly
his designs are nowhere near as bad as my original Wide designs.
but then I didn't have me to help me
actually no wait, they could be equally as bad.
they're both pretty terrible just in different ways so it's hard to compare.
 
10:25 PM
drugs?
 
Well most of the designs I've mentioned are ones I'm not too sure about, I have lots of other really good ones that I'm happy with.
 
maybe rename it to Weede?
 
@Puppy Have you dropped the array access operator in the end?
 
array access operator? what's that, seems like a nice story to tell over a beer or two.
 
@milleniumbug [] ?
 
10:28 PM
Basically operator[].
 
I know, I'm asking how is that relevant to Wide
 
What's up
 
Hey guys, what library would you recommend me to use to be able to download something through https after verifying that the certificate used in the https connection is valid?
 
@milleniumbug IIRC it was supported at some point then puppy decided to remove the feature, but I don't know the full story in the end :(
 
@TheQuantumPhysicist Have you tried libcurl?
 
10:30 PM
@Morwenn why in the world would you remove it?
 
@VermillionAzure Actually I wanted to ask about it, because it was my first guess
What I found on their website seems to be only downloading files, not checking whether certificate is valid
 
I'm goig to sleep. Bye.
 
That's why I'm asking whether someone else tried this
 
@TheQuantumPhysicist I'm not a networking guy so I'll try google-fu now
@TheQuantumPhysicist Well, dude
@TheQuantumPhysicist Looks like certificate validation requires an external website of some sort so... I'm guessing look for an SSL API?
@Puppy How are you managing the design of Wide?
 
@VermillionAzure something like boost::ssl? I was afraid I'd have to build the whole connection myself
 
10:34 PM
If your HTTPS library doesn't verify your certificates for you, it's shit
 
I would love it if there's something as simple as, getFile("..."), with return value of success, which includes certificate check
 
@TheQuantumPhysicist Looks like you already know a few good things
Yeah I can't help I'll shut up now
 
@VermillionAzure I did write boost::ssl stuff before, but for my own client/server pair. Now I'd like to use a webserver. This is kind of new for me.
@VermillionAzure Thanks for trying to help :)
 
@TheQuantumPhysicist What do you mean by "webserver?"
That's a pretty broad term
 
@VermillionAzure Well, generally like apache/nginx? I mean something accessible with https protocol?
 
10:37 PM
@TheQuantumPhysicist Static or dynamic web content?
 
@VermillionAzure What's the difference?
Just file download is what I need
 
@TheQuantumPhysicist Static content is usually not AJAX heavy
Dynamic content functions more like an online app or continuous connection I believe
 
Oh, no. Just get me that file under that link if the connection is correctly secure with ssl
 
@VermillionAzure Irrelevant from the perspective of a HTTPS client library
 
@milleniumbug True, I was just curious :)
 
10:39 PM
Is this thing worth a question on SO? I'm reluctant...
 
@TheQuantumPhysicist No.
 
Recommendations for libraries or tools are out of scope
 
It's only if you have a specific problem that you should ask. Otherwise you'll get opinions that vary across time since industry standard changes
 
10:40 PM
Hmmm, that guy who I plonked seems more reasonable than Cinch
I should re-check my priorities
 
@VermillionAzure I see!
 
@milleniumbug Who's that? (the other guy)
 
the one you're talking to
 
@milleniumbug Oh.
 
I'll play tomorrow with cURL... hoping to find the feature I need
Thanks guys, and good night :)
 
10:42 PM
@TheQuantumPhysicist night
 
@TheQuantumPhysicist github.com/whoshuu/cpr I heard is quite nice
Nominated, but not yet loungesome-approved, but still, 440 stars
 
@milleniumbug looks quite nice
@milleniumbug "loungesome"
 
11:10 PM
@Morwenn 'n ight
 

« first day (1996 days earlier)      last day (2943 days later) »