« first day (1570 days earlier)      last day (3380 days later) » 

1:03 PM
@Xeo 2G1CUP
 
SIG1UPPED
 
so... a local login can/does run different scripts during login compared to a ssh login, right?
 
There's login/non-login shell and interactive/non-interactive shell
SSH sets up some environment variables if you want to check for that
 
right... see, when I use nomachine I get a folder mapped for a program that I need to use, but if I use ssh, that link is not in place
root owns the link...
 
That might be driven by PAM not shell
user image
7
 
1:14 PM
oh maybe
 
Good job
 
@sehe I can't understand the question anyway.
 
@CatPlusPlus I agree
 
@CatPlusPlus I don't recognise the sed arguments.
 
Ell
1:31 PM
Okay I need someone half decent at physics
 
definition of half decent?
 
Ell
Not very good at all
calculate the wavelength of the emitted photons
I did it with lambda = h/p but apparently that was incorrect
 
(I have no clue! :))
 
Rubber trousers.
 
Apparently it should be λ = hc / ΔE
 
Ell
1:45 PM
Yeah. my mark scheme says that too
but they should be equal
 
they?
 
Ell
λ = h/p
λ = hc/ΔE
h/p = hc/ΔE
it should do anyway
λ = h/p is the equation for the de broglie wavelength
but according to physics.stackexchange.com/a/64023/1466 this is equal to the wavelength of the radiation of a photon, as I assumed
hmmmmmmm
yet the de broglie wavelength and the wavelength of the photon differs for some reason
 
oh I see
 
0
Q: C.NET get argument from custom URL scheme

renevdkooiC++ (.NET)... I've got my Custom URL Scheme set in my registry. Now when I make a webpage with my custom url link eq. <a href='myapp://parameter'>Open</a> It works, and opens my app. Though, I cannot get the "parameter" part. When I run my app from the command line with an argument, it works f...

C++ (.NET) but actually C.NET but really
 
maybe it helps
 
@Xeo cool, but I don't have a Raspberry Pi
 
@Xeo old news
 
Ell
@TonyTheLion I still don't understand why the answers differ
Maybe it's due to tiny masses and large speeds though
I'll ask on Physics
 
2:00 PM
I assumed you might have made a mistake in your calcuation
but perhaps there's other reasons
 
Ell
I think there are other reasons
 
I'm curious about the answer now
how much does it differ?
 
> Uncompleted License Key request: Error! Your sign up can not be completed due to We're sorry. We are experiencing technical difficulties. Please try again later..
Well done Google
 
repost
2 hours ago, by Ell
user image
 
Ah. I'm late, as usual
 
Ell
2:10 PM
@TonyTheLion an order of magnitude
I'll post the question once its written up
 
oooh, I need 3 more rep, exactly three
 
now you need a downvote :P
 
lol
3335 is close :P
 
Is he good?
 
user1804599
2:24 PM
> app developer
 
user1804599
@FredOverflow no
 
Good job twitter
 
but do you truly know yourself sehe?
 
I like the title :)
@рытфолд Isn't an app just a program for a mobile device?
 
@FredOverflow just reading the original is better imo
 
2:27 PM
@Pris What do you mean, "reading the original"?
 
Oh, I didn't know the video was based on that. Haven't even watched it yet :)
 
@FredOverflow dat horizontal spacing before ERROR...
 
Guys, something arrived in my mail.
 
@FredOverflow ergh.... that noise gate
@FredOverflow oh, I think I've seen/hear this before :P
 
2:42 PM
@FredOverflow The text is classic. But the presentation is awesome. :)
 
@FredOverflow scott meyers sent you a book?
 
Awesome powers of deduction, right there
 
Xeo
@FredOverflow Show-off. Lynch him!
 
We should have known. He was already showing the signs with that weird hairdo
 
@Opo if you're going to require answers to be written as C please do not tag with C++. The answers for C++ are very different than the answers for C. — Mgetz 24 secs ago
 
2:45 PM
windows 10 on a raspi... never thought id see the day
 
@Pris I haven't opened the package yet, but that's what I anticipate, yes :)
 
It's actually a goat
 
A burrito
 
its a haircut guide so that you too can look like scott
 
Oh, making fun of Scott's hair. What else is new?
 
2:49 PM
@Pris I do not have enough hair for that hair cut.
 
Chapter 0: Favor composition over inhairitance
 
0
Q: Difference between .dtors and atexit() in C++

user3043261What is the difference between fucntions in .dotrs and functions called using atexit() ? As I understand. Functions marked with the ((destructor)) attribute are located int he .dtors segment, and called after exit. LIkewise, functions added using atexit(fctName) are placed in an array and also c...

C++ has attributes?
 
@Borgleader yes
 
Yes but that's not the syntax
 
The syntax is [[deprecated]].
 
2:52 PM
@FredOverflow I have listened through that. It is awesome. :D
 
Ell
I'm highly suspicious of my working though
 
@wilx Oh, it sounds like an audio book. Not what I expected at all.
 
Ell
I'm off by an order of magnitude exactly :P
so it just stinks improper calculator usage
 
@FredOverflow I really enjoyed the reading/recitation. :)
 
Ell
@FredOverflow Woah awesome!
 
2:56 PM
user image
7
his hair looks like a muppet
 
manamanah
 
> There's a theory that you can cure this by following standards, except there are more "standards" than there are things computers can actually do
lol
 
That question is about GCC attributes not C++11 attributes
 
@Pris Did you just make that? :)
 
i couldnt help myself, there's a cookie monster sticker near my desk and it was just too perfect
 
3:04 PM
As I say I don't want to use c++11 which I saw you didn't. Anyway I think it's good answer but I am not an C++ expert. Only C. I will accept your answet though. If you want to make it in C I would apreciate. And what was the problem in my code? — Opo 50 secs ago
you are hereby authorized to facepalm... and sigh
 
@wilx Just finished listening. I felt entertained :)
> Everybody in this country should learn how to program a computer... because it teaches you how to think. -- Steve Jobs
agree or disagree?
 
we should start with some of the programmers
4
 
@FredOverflow disagree
@TheForestAndTheTrees lol
 
But seriously, teaching programming to everyone doesn't force them to think any more than teaching them Latin.
and Latin is more poetic than Java as well.
2
 
i think it helps people learn problem solving steps
not 'how to think'... thats just too general
 
3:21 PM
but steve jobs said it so it must be right
 
yeah... why would you listen to him about programing of all things
 
@FredOverflow Agree. Since long time ago I think that if laws were made by programmers instead of representatives from people or lawyers, the laws would be much better, saner, cleaner, etc.
 
i wonder how involved he was in nextstep
 
@Pris He wasn't. He just bought it.
AFAIK.
 
in On lockfree logging, queuing and memory order, 18 secs ago, by sehe
@AdityaSihag Does your company have money in ample supply? (To pay for the datacenter cooling bill) :)
hehe. He's a nice guy. I can't help myself there
@BartekBanachewicz politically speaking, that sounds like a reasonable bet
 
3:28 PM
@wilx i thought he founded next
 
@wilx Because programmers never argue about bullshit.
 
@wilx I think that would still depend on the individual sanity of the programmer(s) that make the law.
 
@FredOverflow I think you missed the point
 
@EtiennedeMartel No, because programmers spot the conflicts between laws and edge conditions much better than ordinary people.
 
Not all programmers. An awful lot of them just lives with the conflicts and writes a comment.
 
3:30 PM
@sehe I do miss the point... please come back, point, I'm sorry!
 
@wilx Programmers are humans.
 
@EtiennedeMartel OK? How does that invalidate my proclamation about conflicts and edge conditions.
 
@FredOverflow Ms. Point now
 
Oh fuck... VirtualBox crashed while I was commiting my stuff... All the work I've done is lost for today :|
 
Hello everyone. I have a Random question. I don't have a CS background, so it may very well be stupid... but here it goes. Is there something inherent in a language's syntax that affects performance or compilation in a substantial way? Allow me to explain further...
 
3:31 PM
@Rerito lol, your fault! You should commit locally more often.
 
@Mohamad I have a random answer: 20499
 
Dynamic languages like Ruby and Python seem to have very flexible and expressive syntax. I know the latter is subjective, but at least from synctatic noise, this is true.
@sehe haha!
 
@wilx Hmmm wait a minute let's just see if the virtual disk is ok before jumping out of the window :p
 
oh noes not that
 
@Mohamad Not only it is subjective, but it is also too broad to be answered in a chat, I'm afraid
 
3:32 PM
For the most part, statically typed languages seem to have a more regid syntax... curley braces, parethesis, semi colons, etc...
 
@Mohamad If you want to be crucified for raking up the "scripting languages" flame war, please be our guest
@Mohamad That's unrelated. Syntax is presentation only. Period. Case closed. Go home. Have a beer
 
@wilx Because the world is incredibly complex, and that's why the job of judge is incredibly hard.
Just because you know how to define rules for comparatively simple systems doesn't mean your knowledge scales.
 
No flame war intended. I'm just curious because by and large, only dynamic languages seem to have a flexible syntax
 
@EtiennedeMartel Nobody mentioned judges. Only law makers.
 
It's the lounge. You will get the flame war
 
3:33 PM
@wilx In common law systems, it's the same.
 
@Mohamad I think it's a fair question. You may get far better answers by asking on SO proper, though.
 
@EtiennedeMartel Well, I do not live in one.
 
@wilx That sounds a bit like saying "Nobody mentioned users. Only program makers."
 
@wilx That's what he's done! He committed locally. Now his snapshot is rolled back and all his local commits are gooooooooooooooooone
 
Ok, so there's no such thing that says "in order to have a faster language we have to use this syntax"
 
3:34 PM
@Mohamad The short and oversimplified answer is that syntax affects the time it takes to compile, but not the speed of execution. Execution speed is affected almost exclusively by the language's semantics (which "dynamic" would fall under).
 
@Mohamad Nope
@JerryCoffin Excellent summary
 
@Mohamad The only speed that is affected by syntax is compilation speed.
281
Q: Why does C++ compilation take so long?

Dan GoldsteinCompiling a C++ file takes a very long time when compared to C# and Java. It takes significantly longer to compile a C++ file than it would to run a normal size Python script. I'm currently using VC++ but it's the same with any compiler. Why is this? The two reasons I could think of were loading...

 
OK, thanks! that's all I want to know.
 
@AndyProwl Well, it is not.
 
Another question then... might also be stupid... but if syntax affects compilation time and not execution, doesn't that blur the line between static and dynamic? isn't it then possible to turn any language that's dynamic into a statically compiled one and gain the speed benefits?
 
3:37 PM
It’s not so much that it blurs it as it was never there to begin with. What language can’t you compile?
 
I don't think you can turn LISP into a static language.
 
by that i mean, what's to stop Ruby from by static? its syntax? or just a compiler that would handle the job?
 
@AndyProwl Most systems have (under various names) statutes that are passed by a parliament (or similar), and common law (which is established by courts/judges).
 
I don't think you can make LISP sane.
 
@LucDanton Let's build a french compiler, shall we?
 
3:38 PM
@Rerito Was?
 
@Rerito OCaml?
 
@Mohamad I think it's mostly a cultural thing. Not everybody sees "static" as better than "dynamic".
81
Q: What do people find so appealing about dynamic languages?

KibbeeIt seems that everybody is jumping on the dynamic, non-compiled bandwagon lately. I've mostly only worked in compiled, static typed languages (C, Java, .Net). The experience I have with dynamic languages is stuff like ASP (Vb Script), JavaScript, and PHP. Using these technologies has left a ba...

 
@EtiennedeMartel: Here, law makers are not laywers either, often. I think that if programmers were law makers than they would not be worse on average. I think they would even be better than average law makers now.
 
@JerryCoffin I'm not sure how to relate this information to the point I'm trying to make (i.e. that laws should be done by law experts, not by programmers)
 
@Mohamad Yes, sort of. Most of the speed difference results from things that happen at run time in a dynamic language, but at compile time in a static language. For example, in C if I define x as an int, the compiler generates code that assumes x is an int. In a dynamic language, x is just a variable, and the code has to figure out its type at run time.
 
3:41 PM
Clearly it's not spurious, the compiler knows more about the instantiation than you do. G++ is being nice and letting you know there is undefined behavior in your code. I would suggest using an enable_if to disable this template if N is greater than 63Mgetz 18 secs ago
 
Also, programmers are not the only people who are capable of abstract thinking.
 
@JerryCoffin I guess the blurring is more about what happens in languages like Haskell which are able (to an extent) to deduce strong typing information form context
 
@AndyProwl The point is that judges not only make decisions based on existing law, but those decisions are also taken as a form of law by other judges. As such, there's no clean separation between making law and making judgments based on the existing law.
 
@AndyProwl clearly anyone who says that only programmers are capable of that has never tried to talk to a mathematician, economist, or physicist
 
Thank you very much. I understand a little better now. So one can say that the main trade off here is to do away with type annotations and the cost of performance, and syntax accept for how you annotate type, is not all that relavent
 
3:43 PM
128
Q: Dynamic type languages versus static type languages

cvsWhat are the advantages and limitations of dynamic type languages compared to static type languages? See also: whats with the love of dynamic languages (a far more argumentative thread...)

 
@sehe No real blurring there--even though most of the typing is implicit, Haskell is 100% statically typed. The blurring would happen with things like gaining execution speed by inferring types in JS or Python. There are also Lisp compilers that allow you to annotate types in various ways, and most of them gain speed from doing so as well.
 
Julia is an example of a language with dynamic typing by default but where type annotations can help code generation.
 
@LucDanton if you precompile the French, you can swear much more efficiently
@JerryCoffin Huh. The point was that a compiler is able to move the decision from runtime to compiletime even thought the source might not be explicit about things (Haskell is non-comprising there, which is why I chose it)
 
@sehe I doubt that even compiled French would have the efficiency of German or Russian for swearing.
 
@FredOverflow thanks for chipping in with those links! I'm finding them very useful
 
3:46 PM
I agree that if JScript and friend have annotations for this, that's a stronger example
 
Ell
I see no (theoretical) compelling reason to use a dynamic language
 
@JerryCoffin Right, which is why law should be made by those with domain experience, not by people who are capable of abstract/logical thinking, but likely know nothing about the domain (i.e. programmers)
 
@sehe I don't know of JS has annotations for it, but some implementations (e.g., V8) gain quite a bit of speed by inferring a static type in at least some cases.
 
I see. So that's very comparable
 
> it is a logical impossibility to make a language more powerful by omitting features
this in short.
 
3:50 PM
@Mgetz Indeed; or engineers of any kind, historians, geologists, and even law makers I dare to say :P
 
@AndyProwl Perhaps--but I think that's missing the point. Nobody is (or can) start out an expert in every area a lawmaker has to deal with. As such, what you need is somebody who can approach a new subject, learn enough about it to make rules of how it should work, and make a set of rules that's flexible enough to be usable in the long term. In short, it's really not much different from what programmers do all the time.
 
@JerryCoffin I don't think programmers usually make rules of how reality should work: rather, they formalize the way reality works into models that machines can process. True, sometimes it happens that this process of formalization brings to the discovery of suboptimal or conflicting processes, but I think similar conflicts and suboptimalities are generated by programmers all the time
 
The big difference between programmers and (most) lawmakers is that programmers (collectively) appear to have learned a lot more more about how to limit the damage when they make mistakes. Systems of law rarely have an equivalent of either version control (ability to roll back a change quickly if it's found to be detrimental) or alpha/beta testing. To a limited degree, smaller districts (e.g., counties) act as beta tests for national laws, but not systematically.
 
I'd say all it takes is capability of logical and abstract thinking, and that's not an exclusive feature of programmers
 
woooooooooooooooow
so false is false....2/29/100 does not exist.
Interestingly enough, this calendar has it as well.timeanddate.com/calendar/index.html?year=100
 
3:58 PM
If programmers were to make laws because of their excellence in formal and abstract reasoning, mathematicians would have the right to start laughing and never stop
 
@AndyProwl Programmers (at least good ones) make rules of how reality works all the time. Simply automating an existing process provides little real benefit, and in most cases was already done at least 30 years ago. Almost all real benefit from programming now comes from the programmer designing better real-life processes to be used, then automating them.
 
Also philosophers.
 
Right, philosophers too
 
"a year divisible by 100 would not be a leap year unless that year was also exactly divisible by 400. "
 
Have a pleasant day, everyone, and thanks again for being kind enough to entertain my question!
 
4:00 PM
Oh my... it seems that I've been doing system tests for three days with the wrong version of flash software in the peripherals. Well, isn't that a shame. I'm not going to be upset about it. I'm so not going to be fucking insanely crazy. I'm fucking not.
 
@JerryCoffin As I wrote, that happens - how often that happens depends on the amount of "good" programmers. But the same can be done by "good" non-programmers too. And if you look at the mess most programmers make all the time, thank god those people are not in charge of making law.
 
@MartinJames I feel your pain brother.
@MartinJames At least you now know it doesn't work with that flash software.
 
@AndyProwl Formal and abstract reasoning rarely make good laws. Much like lawmakers, programmers have to provide an impedance match between the formal, abstract cleanliness "inside" the machine, and the messiness of the real world--in a way that isn't excessively burdensome to the real world users.
 
@DonLarynx It did work with that version, just not with the version the customer has:((
 
@MartinJames No use crying over spilt milk.
 
4:03 PM
Three days of 'Cannot reproduce' followed by 'Oops, I fucked up'. Marvellous.
 
@MartinJames I was developing a date class when I realized I could have saved perhaps two days HAD I KNOWN Anno Domini does not exist in the Gregorian Calendar.
 
@JerryCoffin I don't think programmers in general are very good at common sense either. Really, IMO it's not about the profession or category, it's about being reasonable people and capable of logical thinking. Based on my experience, I don't believe that, on average, programmers are any better than other professionals in this respect.
 
@AndyProwl Have you tried to compare the results? I did a while back, and concluded that programmers have put together enough better framework in which to operate (e.g., the aforementioned version control systems and test programs) that even an average programmer does a substantially better job than even a stellar lawmaker, as a general rule.
 
In other news, the girl I put on a pedestal doesn't like programming as much as I do, and she isn't supportive. So I am distraught. @MartinJames
ilovemistakes.jpeg
 
4:05 PM
@JerryCoffin Society is a much more complicated beast than a program is. Testing a program is a trivial thing compared to verifying the impact of a law.
 
At least the Medellin cartels are off my back - I got that one fixed.
 
@MartinJames phew
that must be a relief
 
(and besides, most programmers don't do a lot of testing)
 
@AndyProwl Yes it is--which makes it all the more problematic that lawmakers haven't even attempted to do anything in this direction at all. The fact is that nearly every jurisdiction is stuck with dozens of laws everybody knows are complete crap, but getting rid of them is so difficult that it virtually never happens.
@AndyProwl They don't have to do a lot to beat lawmakers (who routinely pass national laws that affect millions of people with precisely zero testing before they go into full effect).
 
4:08 PM
@AndyProwl No holes in me:)
 
@JohnB Did you read my answer? I know this doesn't solve the problem. I describe the factors involved (5 minutes before your comment). I'd go read the change log/release notes or file a ticket with Boost Range :) — sehe 42 secs ago
Arrg. OP's who say "thank you for the effort but that doesn't solve my issue". At least read stuff please
 
@JerryCoffin We have issues with backwards-compatibility too (in fact, my company is quite suffering from some right now, and we have a lot less customers than a law system). Also, attempts to evaluate the impact of laws and initiatives do exist - AFAIK, it's part of what social sciences try to do. Sure, there's nothing like TDD for law makers, but I even doubt something like that could exist.
 
Hey is there anyone to help me out on a small issue? :P
 
no
grwfh my fucking head
 
4:12 PM
@user2513722 What's the issue?
 
How do I check for a character input instead of int in a while loop int array and warn user to re enter the value instead of just terminating and crashing the program?
 
@AndyProwl I suspect something like that could exist. It would probably take a different form from TDD as programmers practice it, but the fact is that lawmakers have been doing this much longer, and still done essentially nothing to provide a framework within which to prevent bugs, fix bugs, learn from past mistakes, or much of anything else. Even obvious improvements typically take decades (if not centuries) to put into place.
 
@JerryCoffin My feeling is that such a framework could not exist, because society does not offer an environment where things are reproducible, deterministic, and unambiguous.
You could in theory try to experiment on laboratory scale (micro-society of 100 people or something), but nothing would guarantee that the results would be the same, or even similar enough, when scaling up to a society of millions of people.
 
3
A: Error handling in C++

Kenny Cason#include <iostream> #include <limits> using namespace std; int main(){ int temp; cout << "Give value (integer): "; while( ! ( cin >> temp ) ){ cout << "That was not an integer...\nTry again: "; cin.clear(); cin.ignore( numeric_limits<streamsize>::max(), '\n' ); } ...

 
@FredOverflow actually I'm already using a while loop over it so I can't do while( ! ( cin >> temp ) ){ } as it'll again take in user input.
I'm doing like this:
int a[10];
while(cin>>a) {
//...
}
 
4:19 PM
@user2513722 !isDigit()
 
*while(cin>>a[i])
 
Extract the logic into a function.
 
Some of these questions can easily be Googled @user2513722.google.com/…
 
@DonLarynx Errrm.
Don't do that.
 
void helperFunc(int foo){
//stuff
if (conditional != true)
cout << "Invalid date. Try again: ";
cin >> tryagain;
helperFunc(tryagain);
}
where helperFunc is called from

void Date::Input(){
string str;
cout << "Enter a date in the format month/day/year: ";
cin >> str;
helperFunc(str);
}
@EtiennedeMartel Don't use cin.fail(); why?
 
4:27 PM
@DonLarynx Because you're only checking for one possible error cause. Just do while(cin).
 
@EtiennedeMartel But cin.fail(); will check whether it's a character input or not. If it is, it returns false. If it isn't, it returns true and we are done.
 
Yeah, but even then you have to clear the buffer.
And what if it fucks for another reason?
Input streams are a finicky thing.
 
holy shit
-3
Q: Is it worth to try using smart pointer to build an array?

Charles ChowDuplicate as shared_ptr to an array : should it be used? Before you read this question, I have to clarify something: Generally I think it's a bad idea to use smart pointers to build an array, the best candidate is vector from STL. I'm going to replace all raw pointers and raw arrays in my p...

It's so embarassing
I wish I never wrote that
 
@AndyProwl You could--or you could do your experiments on somewhat larger groups, such as passing laws at a national level that have already been proven at a lower level (city, county, district, whatever). Granted, that can't be done with everything, nor would the result be 100% perfect--but right now we seem to have a system where people have concluded: "it can't be done 100% perfectly, so we're not going to try to do anything at all."
 
@ArneMertz In your recent blog post, the first example with std::find seems to be missing an auto const pos = ..., is that the case?
 
4:42 PM
In the US, we have almost exactly the opposite: the federal government not only passes federal laws, but also has direct control over the Washington DC. Since 1973 they've (sort of) delegated direct control of the district to a local government, but are free to overturn any laws it passes. For a while, they sort of treated DC as a testbed--but laws that failed miserably in DC were still passed as federal laws.
@Columbo At least the question is closed (I realize that's not a lot of comfort, but maybe a little anyway?)
 
@JerryCoffin Yeah...
I look back on old answers and just want to delete them and change their content to "....nothing to see here......"
 
@JerryCoffin My feeling is that a verification framework for laws, even a partly successful one, would be incredibly hard to set up. But apart from this, the importance of testing was not discovered by programmers (in a sense, Galileo came up with), so if expertise with experimentation is what's currently lacking, there are probably other professional profiles that have more to offer - physicists, to say one, or even geologists, or engineers of any kind.
Hell even medicine involves more testing than programming.
 
omg life is sooooo easy
 
@DonLarynx Tell me your secret :P
 
@AndyProwl "
Hell even medicine involves more testing than programming." That's loaded as phuck
 
4:50 PM
@AndyProwl he's a kid
 
@AndyProwl Don't give up. That is my secret.
@AlexM. I just spent 3 entire days writing up a Date class that involves handling leap years and different formatting i.e. Julian format, two-digit format, etc.
 
Not giving up implies things are hard, not easy. I wouldn't need persistence if things were easy.
 
@AndyProwl Life is easy after you don't give up and finish !
 
@AndyProwl [side trip]Galileo? Seriously? The guy who insisted that the planets must follow perfectly circular orbits (in spite of observations) because he'd decided everything up there was part of heaven, so it had to be "perfect"?
 
@AndyProwl Before that it is extremely hard, almost level-9 hell.
 
4:52 PM
@DonLarynx Sounds like a massive violation of the single responsibility principle. Date calculations should be separate from date formatting.
 
@JerryCoffin I might be wrong, but I was always taught that Galileo was the father of the scientific method based on iterations of the kind "1. observe and find discrepancies with current knowledge; 2. make a theory that better fits the observations; 3. confirm theory with broader experimentation"
 
@JerryCoffin Indeed, the latter is handled in bool SetFormat(char f); and the former in void Increment(int numDays = 1);
It also does more :)
 
I should probably ask on SO, but just in case anyone knows off hand: In boost asio, if I post 3 handlers [A,B,C] to an io_service can I process and clear handlers B and C from A's callback?
 
you don't need to ask anywhere, you can try it
 
I'm actually writing up a test for it right now, but i don't think it'll be conclusive. If it works on my platform, fine... I want to know if its well defined behavior though.
 

« first day (1570 days earlier)      last day (3380 days later) »