« first day (3278 days earlier)      last day (1684 days later) » 

1:01 AM
 
1:29 AM
I got caught by a noob bug, mixing up enums
But I blame the language for letting somebody mix enums: godbolt.org/z/H3v3OD
I guess its because I have no class :-)
But also fuck anybody for thinking this was a good idear, I should invoice Bjarne
 
 
3 hours later…
4:23 AM
Nowadays, my effort is used on fix and improve software, fix and improve hardware and fix & improve real hardware, like fence and down pipe.
My life as an improving fixer!
 
4:35 AM
@CaptainGiraffe I'm pretty sure it's been at least a decade (and probably longer) since I encountered "prig" or "priggish".
@Mikhail ...or at least your enums lack class.
 
5:13 AM
So are there any legal space aliens?
 
 
2 hours later…
7:10 AM
 
7:20 AM
If global warming is real, how to we curb it with increasing population?
 
7:45 AM
Imagine, aliens brought and left humans ancestors on earth and periodically gave human some new technologies. 100,000 years later, aliens came back on to earth but was marked as illegal aliens then rumoured by fake news as invaders.
Better still when those aliens came back to check up on the humans, military shot them down.
What if ... aliens are the benevolent but humans are the mean, aggressive ones?
 
8:02 AM
In C++ is the order of execution guaranteed in
`if(foo1() && foo2())`
is there a way to force the execution of foo1 before foo2()?
would if be if(foo1()){if(foo2()){/*...*/}} ?
 
Order of execution is not guaranteed.
Short-circuit evaluation, minimal evaluation, or McCarthy evaluation (after John McCarthy) is the semantics of some Boolean operators in some programming languages in which the second argument is executed or evaluated only if the first argument does not suffice to determine the value of the expression: when the first argument of the AND function evaluates to false, the overall value must be false; and when the first argument of the OR function evaluates to true, the overall value must be true. In some programming languages (Lisp, Perl, Haskell because of lazy evaluation), the usual Boolean operators...
If the first condition is evaluated, depends on the outcome, the second may not get evaluated at all.
 
@TelKitty does turning it into nested if statements guarantee order?
 
8:36 AM
@TelKitty economies of scale, and not being stupid
 
8:49 AM
55
Q: Order of execution for an if with multiple conditionals

mrksIn an if statement with multiple conditionals, is the second conditional executed if the outcome of the first is clear? example: if(i>0 && array[i]==0){ } If I swap the conditionals a segfault may occur for negative values of i, but this way no segfault occurs. Can I be sure that this always ...

@thecoshman More people need to use more energy. Energy used per person might go down a bit, but 1000 people will use more energy than 10 persons.
 
@northerner Yes it is, also if foo1() is false, foo2() won't be ran
 
9:03 AM
Thanks
 
nwp
Why do people fear high population when the facts point to the contrary? I'm afraid humanity will go extinct because having children is too inconvenient.
 
@nwp That's like saying 'I am afraid that I have too much money' when you only have 50 cents in the pocket and nil on your bank account.
 
nwp
Starting 10000BC. Right. You can take almost any measurement at all and on that time scale it will look like that, for example number of posts in the lounge.
 
9:25 AM
Not if the population went down significantly.
For example, a population diagram on dodo bird or Tasmania tiger would look drastically different'.
 
nwp
You wouldn't even be able to see the decline.
 
Generally I am not someone who worry about things that are unlikely to happen.
@nwp Not at 7 billion, no.
This is Dow Jones index (index of the biggest stock market), as you can see, if there is indeed a decline, you will be able to see it.
@nwp You can't see it because there is none.
 
nwp
@TelKitty Zoom out 100 years and it'll look like the world population graph.
I meant the decline in dodos. They haven't been extinct for thousands of years so it doesn't even get a pixel at 0.
 
Please indulge me with said graph.
 
nwp
Point being we have more people dying than are born in developed countries. That doesn't sound like we're about to suffer from overpopulation. It just means we need to hurry up and get the rest developed.
 
9:37 AM
Yes, then we use up more energy, and thus faster global warming.
 
nwp
For a time, until the population is low enough that we don't use up more energy than now anymore. Or maybe we figure out nuclear fusion properly and it doesn't matter anymore.
 
@nwp Also Japan is the only country with declining population, what other developed country is having a declining population? There is none other than Japan?
More people dying than are born in developed countries is simply a hoax for the time being.
 
nwp
@TelKitty Every country in Europe, the USA and most Asian countries. There is a list on the side for the global fertility rate. 1950–1955: 4.96, 2010–2015: 2.52. We are already pretty close to go below 2 globally.
This looks rather bleak. But then again half of it is a projection.
 
9:52 AM
I don't see any decline, none at all.
@nwp I wouldn't worry about all the problem if I become a multi-billionaire either - it has not happened, it's unlikely to happen.
 
nwp
Wikipedia says Sweden (1.85). Don't know what to tell you. The others you listed don't seem to be explicitly listed.
 
You can check population history.
Unless google lies to me, I don't think it does.
 
nwp
Why would I check the history when the whole point is that the trend is reversing?
 
Malthusianism is the idea that population growth is potentially exponential while the growth of the food supply is linear. It derives from the political and economic thought of the Reverend Thomas Robert Malthus, as laid out in his 1798 writings, An Essay on the Principle of Population. Malthus believed there were two types of "checks" that in all times and places kept population growth in line with the growth of the food supply: "preventive checks", such as moral restraints (abstinence and delaying marriage until finances become balanced), and restricting marriage against persons suffering poverty...
People were saying that trend is reversing for more than 200 years now.
 
nwp
"1798 writings" "idea that population growth is potentially exponential" when we see that the base is falling to below 1 which means a decline.
 
10:00 AM
Please give me the data that indicates such a declining in total population.
 
nwp
It isn't yet. And I linked the Wikipedia article with the data. Don't know why you are not looking at it. Just for fun plot the population growth rate and see where we would end up if the trend continues.
Actually never mind, the UN did that already.
 
Surely if such a trend has started happening a while ago, historical graphs would show?
 
nwp
Looks like that trend started 50 years ago. And of course historic graphs from longer ago don't show that.
 
So why is that historical population data says otherwise to your theory?
All the theories are validated by historical data. Your theory is validated by nothing.
 
nwp
What theory? I'm pretty sure the UN numbers are fact (ignoring that there are future predictions in there).
 
10:08 AM
Because all historical data says otherwise?
 
nwp
What exactly do you mean by historical data? Surely you don't mean from 100+ years ago.
 
Past 20 years.
 
nwp
Past 20 years show a steady decline in fertility. Slower than when the trend started 50 years ago, but considering the rate must level off at some point that's to be expected. And the UN predicts that starting at ~2062 we will have a globally declining population.
To be fair it also shows a fairly large uncertainty, but it looks like nearly all sources agree that fertility is dropping rapidly and falling so far that population declines.
 
Population has not declined. Not in the past 200 years. People attacked Malthusianism
for more than 200 years. Data says otherwise. UN has never been an authority in science.
 
nwp
The UN agrees that population has not declined and predicts it will continue to rise until ~2062.
 
10:17 AM
If UN could accurately predict what the population would be in 2035, I would trust it a bit more.
 
nwp
Oh, they have a population prediction as well. Looks like it'll not decline that soon. Maybe I'm interpreting TFR wrong or something.
Looks like it's gonna be 9 billion by 2035, +- 300 million or so.
 
Oo, I see, starting point is 1950, that's when the WWII just ended, population growth at the highest level.
So convenient, compare it with the highest rate.
 
nwp
I'm pretty sure the UN doesn't have an agenda to make population growth look like less of a problem.
 
I am a person of science and technology, I only believe in facts, unbiased historical data being one of them.
Projections are not facts.
 
nwp
The left half of the graphs are facts.
Also you seem to talk awfully much about trust and authority for someone who wants facts.
 
10:38 AM
Let's not forget a year before 2008 Great Financial Crisis which nearly bankrupted all the major US banks (but eventually saved by the government guarantee), those banks were full of elite financial experts.
 
nwp
What does that have to do with anything? Financial experts screwed up and therefore the UN doesn't know how to collect population growth data?
 
There are very brilliant people on this earth, but 99.999% of us are mediocre.
 
nwp
The sky is blue, but sometimes there are clouds in the way or it's night.
 
 
2 hours later…
user7659542
12:23 PM
Why is it that team leads and sw architects don't even look at what is being done. They just ask something very vague and expect it to be done
 
user7659542
IMO that s a big issues in large firms
 
user7659542
in smaller startups you have scrum meetings and are working together as a real team.
 
user7659542
The team leader and others do genuinly care. They do really listen to everything what is being said. And not only this, but they think about what you are saying and figure out whether what you are doing makes sense and is the correct way to do it
 
user7659542
At the firm I am working at, they don't really listen and just expect you to do your job. The architect is just some youngster who likes to speak without actually saying much. Especially on a topic he doesn't know...
 
user7659542
What the Fck is wrong with those large firms? Are all large firms like that?
 
12:33 PM
@traducerad Well, you could always change jobs a few times and let us know whether all large firms are like that.
 
12:49 PM
@traducerad The 'Not my job' problem?
they aren't graded on if the software is correct usually
They can shift that blame to the engineers who are often given absolute garbage requirements and designs
 
user7659542
1:15 PM
@Mgetz yes and no. THey do care, but not enough imo
 
nwp
3:21 PM
signal(SIGINT, [](int) {}); :thinking:
 
 
1 hour later…
4:47 PM
@nwp A stateless (non-capturing) lambda has a conversion to pointer to function, so it should be all right.
 
nwp
Yeah, it's perfectly fine. It just looks weird. To me at least.
 
@nwp I guess that's sort of understandable. Interfacing directly from a quite-abstract thing like a lambda to something like a signal that's so low-level that most other OSes would hide them from users completely.
 
@JerryCoffin I thought you still had to name them though. Guessing that's just an MSVC quirk
 
nwp
Hey, you can use auto instead of int to make it look a little more fancy.
 
@Mgetz You mean assign the lambda to some named variable, then use it? I don't recall seeing anything like that with MSVC recently (but I don't have it installed here at work, so I can't verify).
 
5:00 PM
@JerryCoffin it's been awhile since I've needed to do anything like that but yeah
 
5:23 PM
513
Q: An apology to our community, and next steps

David FullertonI’m David Fullerton, Stack Overflow’s CTO, responsible for the product, engineering, and community teams. I joined Stack Overflow in 2010 because I believed in the vision and mission of Stack Overflow. I wanted to be a part of building a community where programmers come together to help one anot...

 
 
1 hour later…
6:47 PM
@Mgetz That's a pretty big step forward--an apology in which somebody actually apologizes, instead of trying to blame others and make excuses. We're not out of the woods, but at least there's one person involved who's capable of saying the right sorts of things. Now we have to see how that translates into action.
But make no mistake, there's a lot of action that needs to be taken before the situation is rectified, and I have to admit that I'm a bit skeptical about how much of it will really be dealt with--although this sounds like a real apology, it's from the same person who's apparently been in charge of the situation for years now, while it's all been going to hell in a hand-basket, rather dimming my hope for significant changes.
 
7:03 PM
@JerryCoffin they're talking the talk, now they need to walk the walk
 
@Mgetz Yup...but at least now they are actually talking the talk.
 
@JerryCoffin Which is a step in the step of the right direction.
Btw, I just got a recruiter LinkedIn email looking to "fill a client's full-time Ruby developer position". The person bothered to use my name in the intro, but didn't bother to see if there was any hint of Ruby on my profile.
 
7:37 PM
@Mysticial If you had @Cat++'s information, you should give it to the recruiter. Then again, that would probably be cruel and unusual punishment for the recruiter.
 
7:49 PM
lol, what would Cat do?
 
@Mysticial Well, as I recall, cat despised ruby with a passion. And other than that, well, cat was cat...
 
ah
 
 
2 hours later…
9:42 PM
@Mikhail So I was at Microcenter yesterday looking at HDs to replace this one that just failed:
Jul 5 at 3:24, by Mysticial
user image
The warranty conveniently expired 2 months ago...
The Seagate Barracudas. They have a TBW rating. WTF.
Apparently it has onboard flash for caching. The drive isn't even advertised as a hybrid drive.
 
9:54 PM
The only drive I liked is the WD Black with its 5 year warranty. But it's expensive. (half the price of a similar-sized SSD)
 

« first day (3278 days earlier)      last day (1684 days later) »