« first day (2812 days earlier)      last day (2360 days later) » 

04:19
left door open, rooster entered house
 
2 hours later…
06:41
@Mysticial If you decide to go with letsencrypt, I recommend to look at dehydrated as an alternative to their python-client. It doesn't require you to install some python thingy on your webserver.
06:56
21 hours ago, by Bartek Banachewicz
or "if you're saying that exceptions aren't for control flow then are you out of control when an error happens?"
I think they take the idea of a crash to another level
I don't really hate them, I suppose they're quite useful in a lot of contexts
07:56
@Borgleader It's already underway x)
 
1 hour later…
Ven
Ven
09:19
o/
09:39
@BartekBanachewicz They are for control flow, just not routine control flow.
meh, I don't find anything inherently objectionable about using exceptions for success-path control flow, I mostly object on a surprising-behaviour basis rather than a "that's totally broken" basis
 
2 hours later…
11:56
Anyone here uses proxy servers and can recommend good ones?
Apparently minimal GC support slipped into C++11 but no compiler bothered to implement it lol
Boehm GC is probably the only C++ garbage collector sometimes used
Herb Sutter proposed a local deterministic kind of gc used as a library component though
I dont think it's necessary to have
It was mostly added so that people would stop complaining about GC; the committee said "we did our job" :p
Fair enough
We have RAII, stop complaining already
@Morwenn Why don't you have the silver C++ badge anyway
12:08
@SombreroChicken SO is toxic
You are toxic
Remove yourself from the stadium
@SombreroChicken Because I didn't answer enough C++ questions
In my score is 670/400 for the the silver badge, but I only answered 73 questions while I need at least 80
Ah fair enough
803
Interesting
you're too late :p
12:20
@Morwenn I'm like 12 answers away from c++ gold badge but at this rate it'll take me like 3-4 years to get. 99% of C++ questions these days fall into the following buckets: above my pay grade, garbage.
@Borgleader Same, I haven't even answered a question in more than a year ^^"
learn boost and see if you can ninja some away from sehe?
My last answer on SO was in February, the one before that was August last year. I have to be careful, I have a 10 answer acceptance streak going xD
@ratchetfreak One does not simply "learn boost" that lib is massive.
sehe does
but it's a lifetime project
My last answer was April last year and contained a link to one of my libraries xD
-3
Q: I have a following program in c++ with an output

BICKY YADAV#include <exception> #include <iostream> using namespace std; class A { public: A(int n) : i(n) { cout << i; } ~A() { cout << i; } private: int i; }; int f(int n) { if (n == 1) { throw std::logic_error("0"); cout << "7" << endl; } A a(n); return f(n...

/cc @Mysticial lol at the bottom of that question
13:04
lol
13:38
if something that hands you out iterators is an iterable, what do you call something that produces a range? cc @user703016 you’d think I would have started on this bikeshed earlier
Ven
Ven
@LucDanton cc who?
Ven
Ven
@LucDanton i pinged him already
aw that’s nice of you, but the ping was more of a joke
Ven
Ven
it's okay i enjoy pinging him
13:45
( ͡° ͜ʖ ͡°)
14:16
@LucDanton range-iterable :noel:
Ven
Ven
co-range
also doesn't everything that hands out iterators also implicitly hands out a range?
@user703016 think of it as an API design exercise where you rename 'iterator' to 'range'; then what do you do about 'iterable'?
> when binding lambda to variable inside a generic lambda inside a template member function inside a template class
when your PR title goes straight to the heart of the matter
nwp
nwp
C arrays are insane, you failed.
you can use a class if you want, I like my minimal testcases to be minimal though
nwp
nwp
I don't see why the assert fails. Printing the addresses might reveal something.
The warning doesn't make sense to me either and it probably shows what is going wrong.
15:05
Hi everyone! Quick question. Can some one tell me why is there a '#' in "#__VA__ARGS" in the following line:

#define trace(...) __f(#__VA_ARGS__, __VA_ARGS__)
15:43
@Shubham # is the stringizing operator, so from the looks of things, it's printing out the names, then the values of some arguments. For example, if you had a = 1, b=2, c=3, and did trace(a, b, c), that would turn into __f("a, b, c", 1, 2, 3). Presumably __f would then print those out. (Side warning: I've never used the stringizing operator on a variadic macro parameter pack. Offhand I'm not sure whether that's really "a, b, c" or `"a", "b", "c".
@LucDanton Well, it's still kind of Iterable :/
i.e., whether it turns the whole argument pack into one string, or turns each argument into a separate string. More likely that latter, now that I think about it. In any case, it's taking parameters, and producing both their names in string form, and their values.
If the object can produce iterators at will then it's a generator, if there is some "end" iterator then it's a range I guess
Iterable vs ClosedIterable / FiniteIterable idk
@user703016 ikr
@LucDanton Clang seems to recognize it as all right. I'd guess gcc's warnings just don't fully understand decomposition declarations yet.
15:50
@JerryCoffin it’s not just the warning (which has a history of unreliability) though, the assert fires as well
@LucDanton Okay, let me rephrase: I'd guess gcc just doesn't fully understand decomposition declarations (or structured bindings or whatever the official name is this week) yet.
16:30
-2
Q: how to pass data into my graphic card?

Pie Piei'm a self teaching c++ programmer and I would like to know how/if its even possible to do this. I want to speed up my program by passing data into my graphic card instead of my normal ram. for example: int main(){ for(unsigned int ddr3; ddr3 < maxNum; ddr3++){ ;;; } //cloc...

/cc @Mysticial @milleniumbug
@Borgleader nice
@Borgleader you omitted me :(
Also today is a big day
It's the first time I've sent my CV out w/o an "education" section
my degree stopped being relevant before I actually picked it up from the uni
@Borgleader This is like just tossing a supercharger on an engine, you'll probably make it slower and do damage
also my plane is delayed again
17:12
someone put a supercharger on it and broke the engine
@Borgleader You must have taken the blue pill. There is no engine.
17:33
@JerryCoffin There are 4 lights though.
@Borgleader 4 lights in an infinite darkness....
@JerryCoffin Don't worry there isn't a train there, there are two
@Mgetz My train of thought seems to be broken though.
 
1 hour later…
19:12
Using Turbo C++ to teach these days is not just stupid. It is neglegence and/or incompetence. Those teachers are actively harming the students by teaching them that outdated crap. — Jesper Juhl 13 mins ago
punches not being pulled
19:44
@Borgleader I wonder who owns the turbo c++ name, I assume embarcadero
as turbo became C++ builder
yeah honestly with c++ builder being free last I checked, using turbo is almost malicious
@Mgetz Could be. Could also be MicroFocus. I believe a few specific things were sold to other people, then MicroFocus bought up the remaining assets. Hard to be sure which bucket the "Turbo" trademark (assuming there was one) fell into.
@JerryCoffin quick search of USPTO didn't show an active mark, but that doesn't mean it doesn't exist
Honestly I'd be tempted to create a new 'Turbo C++' bundling clang and atom
3
just put it up for free
just so people stop using the ancient version
@Mgetz If we're going to be honest, a compiler you have to pay for is nearly a piece of history.
@JerryCoffin true, I think ICC might be one of the few holdouts. MSVC is essentially free with VS community now
Does PGE and EDG still exist?
@Mgetz You've been able to get the Microsoft compiler for free since long before VS Community came along--for years it (the compiler, but not an IDE) was in the Windows SDK.
19:56
@JerryCoffin yeah it went behind the VS firewall of garbage for awhile
I think you can download a separate "build tools" installer now anyway, that's just the build environment
@Mgetz EDG does, I'm pretty sure. Still have customers too (Including both Intel and Microsoft).
@Mgetz Wouldn't surprise me.
@JerryCoffin Yeah I know microsoft uses it for intellisense, but I thought they'd highly customized their copy and were in the process of removing it.
What does intel use it for?
Oh--gotta go to a meeting. Later.
@Mgetz icc.
Oh... looks like PGI got acquired by Nvidia for nvcc
but they still technically sell it apprently
20:15
@Mgetz it's an Indian thing, the administrators cover their ass and technical incompetence by providing their students with what reassembles a C++ education.
21:09
I would suggest you to not use Visual Studio as it is an absolutely waste if you want to start programming in C. For writing code in C all you need is a compiler and a text file. All you need is quick introduction to GCC, how to debug your program with GDB and the first pages of the GNU make manual. The moment you build your program manually instead of the "magic" that happens in visual studio you will feel much better. — малин чекуров 9 mins ago
22:06
@Borgleader The great C programming sales prevention force.
 
2 hours later…
23:40
I wonder whether spam email works ...

« first day (2812 days earlier)      last day (2360 days later) »