« first day (1110 days earlier)      last day (3839 days later) » 

12:00 AM
wrong room
 
Is disagreement grounds for complete disregard of opinion?
Perhaps I keep forgetting this medium :\
 
@Rapptz What would be the right room then? I couldn't find one with a suitable name
 
I don't think there is one
@Pawnguy7 No.
 
Mainly, one without a no-questions tag. ;)
 
@Pawnguy7 You can have your opinion. Just don't argue until we agree. Github is not the only website doing it right. It made YetAnotherArbitraryChoice.
@Pawnguy7 That's annoying. Can you have soft music on head phones?
 
12:11 AM
@agent154 Yes, I could downvote you.
 
@sehe That is not my intention. As before, I am trying to understand. For example, perhaps adapting tabs to the web isn't as easy as it appears.
@sehe At the time, I was trying to watch a tutorial video.
How do I fix this? I cannot observe myself as other see me.
 
Hey
 
Ho.
 
That's a cheerful song.
 
What song?
 
12:19 AM
up-up
 
@Rapptz That's so sad.
> Can someone explain how this is legal? How can a company own what I make in my free time? It seems absurd on the surface.
^
 
@Jefffrey I can't imagine that would stand up in court unless the work was done using a company machine or company time.
 
On the other hand I think I've read that in USA whatever you do on your free time and gets released while you are at X university is X's intellectual property. So...
 
no
 
12:24 AM
Who comes up with these things...
 
@caps Sometimes a company have better legals than you. And unfortunately the court system is not made to give justice, but to favor those who have better lawyers.
 
Xeo
@Jefffrey leave the company
you don't want to work there
Or, as Andrei put it, "Call headhunter"
 
@caps It's totally legal.
 
Yeah I think I'd just leave the company.
 
and not uncommon at all.
the issue is that the company pays you for your creative output, and it's almost impossible to prove if you had an idea on company time or in the shower.
 
12:26 AM
@Rapptz Thanks God.
 
they introduced the clauses because some employees would come up with ideas that essentially competed with the company, and sell them individually, who argued that they had it whilst not at work and so they owned it.
 
@Jefffrey Quick example, Facebook was written while Zuckerberg was in college but they don't own it.
 
Didn't somebody else complain and sue, though?
 
yes, but it wasn't the college.
 
@DeadMG That makes sense, but the clause should specify competing products not all products made with your free time.
 
12:27 AM
@Rapptz Well, the MIT takes a share though, doesn't it?
 
@Rapptz Difficult to define what competing means in a legal sense.
 
@Jefffrey He went to Harvard.
@Pawnguy7 Some of the students did, but not the college themselves.
It'd be asinine for the college to own all products of the student's free time.
 
AFAIK, pretty much the only way to get an exception is to be developing it before you work for that company.
 
@Rapptz I don't know why I've always thought it was the MIT. But anyway, Harvard takes a share IIRC.
 
Xeo
@DeadMG That's a different clause, really
"no compete" vs "I own everything you do"
 
12:29 AM
@DeadMG I've heard of no-compete clauses before.
 
non-compete doesn't cover it.
 
Seems kind of unfair though.
Ideas... can come at any time.
 
@Jefffrey They do not.
 
Coffee break, say.
 
if I'm being employed by company X, and I'm at work working on their software, and I have an idea, shouldn't they own it?
they are paying me for my ideas.
that's the whole purpose of me being there.
 
Xeo
12:30 AM
They are paying you for ideas related to their business
 
It is kind of a catch-22; one way or another someone (employee or employer) can get screwed.
 
Xeo
Also, realistically, with you being on the job for ~8h a day, chances are you will get an idea for something private there
 
Competing, perhaps. Anything beyond is nonsense, though.
 
well
I agree that it should be limited to competing
but I know that "all" is commonplace, at least here.
 
Imagine I come up with the idea for a new toilet. Do they own that too? :\
That would be a strange situation.
How common are C++ bindings?
 
12:34 AM
bindings to what?
 
Let's say you make a library, and want to use it in... say, Python.
 
Hahaha. Whiplash much?
 
I don't follow.
 
Xeo
FWIW, my company is pretty cool about private projects, even commercial
 
I don't have this issue because I don't work for software development.
 
12:36 AM
@Pawnguy7 You just changed subjects pretty drastically.
 
@caps not uncommon, I have been told.
 
@sehe I upgraded to 1 GB RAM after your first mention that Coliru had gotten faster. So now we have extra memory on top of the mystery upgrade.
 
everything compiles and runs so fast
it's actually faster than ideone
pretty neat
 
12:59 AM
dayum it's fucking cold here.
I wonder how many tests I should have for Wide's analyzer.
 
Xeo
Take a look at Clang's tests?
ISTR that they got a huge test setup
 
Clang probably need 10x as many tests to test their manual memory management.
 
Xeo
aw fuck, 2am
sleep
 
nn
hmm
I wonder if < makes much sense for bool.
hmmm, fuck.
my existing test harness can only check for compiler errors, not run-time behaviour.
 
1:17 AM
^^ /cc @R.MartinhoFernandes
 
maybe I can convince LLVM to JIT the module, and invoke the test function from there.
 
Is Wide usable for experimentation for us?
 
if you can figure out how to get it to link on Linux.
well, or just run Windows.
 
@DeadMG I think it's best to not define those operations until you find a compelling reason to do so.
I guess it would make sense if you want to sort a tuple<bool, int> or something.
 
I actually think that might well be a pretty good reason.
 
1:27 AM
Idd.
 
Interesting.
I had a folder of 20 DLL's.
And I searched the end to get about half.
And it took Windows 20 seconds.
 
alright
time to separate some more responsibility.
 
1:46 AM
Sigh.
 
1:57 AM
Hm...
Now drawing fonts seem to work in some projects.
But not Snake.
 
FUCK.
linker errors to std::function's copy constructor again.
 
Would you say undefined behavior or linker errors are worse?
 
definitely UB.
 
They have both caused me much pain :\
 
this specific linker error though is caused by a compiler bug.
 
2:02 AM
Perhaps I view linker errors as bad due to my evident lack at fixing them :D
Compiler bug? Hrm.
Yesturday, I got an internal compiler error.
 
well let me put it this way
I have a dozen other uses of std::function, including copying and moving it, in this TU, and none of them cause an error.
I met this compiler bug before but the workaround didn't work again.
 
This is with LLVM?
 
well, it's in my own code, but I link to LLVM, yes.
alright!
dumbest workaround ever.
 
The compiler, I meant.
 
Deferred* Generator::CreateDeferredStatement(std::function<Codegen::Statement*()> func) {
    return arena.Allocate<Deferred>([=] { return func(); });
}
oh no, I use VS.
 
2:06 AM
I never seem to know exactly what LLVM does.
bytecode?
 
@Pawnguy7 Basically, it goes from a medium-level representation of the source code to low-level (and low-level to machine code).
 
So it can act as a compiler on its own?
 
hmm
strictly, you could code in LLVM IR, but nobody would want to.
the format is intended to be lowered to from a higher-level language, it's not intended to be easy for a human programmer.
 
I mean.
You do something with it, to make Wide go to this IR.
Does it then (LLVM) turn it into machine code?
 
@Pawnguy7 Yep.
I translate to LLVM IR, and LLVM then outputs an object file, which an external linker (grrr) can turn into an executable.
 
2:20 AM
I wonder if renaming my Button to Butan will magically fix it.
Oh, that reminds me.
Can anybody explain to me what nationalizing healthcare does?
It never saw it explained why it would theoretically be better.
 
Canada does it, so it must be better.
 
Hm?
 
it's substantially cheaper
plus, you don't get people dying of easily treatable diseases
or losing economic output because they can't afford to be treated.
 
The middle is true. I don't understand how it is made cheaper, though.
 
@Pawnguy7 Start with every penny of profit made by healthcare insurers.
then add every penny they spend on competing with each other- advertising, that kind of thing.
then add all the admin overhead involved in having another system of payments instead of just raising the tax amount a bit.
 
2:28 AM
Admin overhead?
 
having people pay you isn't free.
oh yeah
then add all the ways in which healthcare insurers don't bother to compete and therefore essentially screw everyone over.
plus all the risk of going bust and then what happens to the people you covered?
 
What is the cost of people paying you?
The only thing that comes to mind is a tax.
 
well, you have to run a database with their payment details.
providers charge for transactions.
 
So... corporate style paypal, sort of?
 
you have to process all the forms that tell you how to charge them
all that stuff.
 
2:31 AM
I have no idea what profits healthcare insurers make.
 
essentially, healthcare is practically a textbook case of a service where at least the essentials must be nationalised to be effective.
 
All I know is, there is a reason people with known conditions don't get covered.
It costs more money.
 
@Pawnguy7 It doesn't really cost more money. It only costs more money in the short term to the provider. In the long term, it's cheaper to just treat them in almost all cases.
and secondly, do you really want to leave people to suffer because you can't afford the treatment? if so, government can do that just as readily as a corporation.
to put this in perspective
in the UK, every person is treated for every medical condition.
how much does this cost, you ask?
less than half the percentage of our GDP than the US spends on their healthcare.
 
Is that a valid comparison?
 
that's even worse when you consider the US's GDP per capita is higher than the UKs, so the absolute cost per person is even higher than that.
 
2:35 AM
Healthcare's fubar here
 
simple fact is, practically every country in the world has far better coverage for a far lower price than the US.
 
As I understand it, insurance is lots of predictions.
They need to take in more than they estimate people will cost them.
And they don't accept people they think will cost them.
 
@ScottW You are forced to.
By law.
 
So how does treating them all cost less?
 
Yeah but why would you want to do that?
 
2:36 AM
@Pawnguy7 Healthcare insurers have LOTS of overhead (especially profit) that government doesn't.
and secondly
government has revenue streams healthcare providers don't.
 
How is it you know these things?
 
let's say I have a condition X that prevents me from working.
if the healthcare insurer treats me, they gain nothing.
if the government treats me, they gain tax revenues on my income when I return to work.
here, you can see that it can make economic sense for a government to treat people an insurer can't, even assuming the best of their intentions.
 
@Pawnguy7 Anyone with basic attention span for the news can know about these things.
@ScottW Sure, in the short term.
 
@Rapptz specific statistics on the profits of insurance companies?
 
@Pawnguy7 That one's pretty obvious.
 
2:38 AM
@Pawnguy7 Does it even matter?
 
Spoiler: Insurance companies in the US are for-profit
 
every single penny is taken right from you.
and it's taken from you unnecessarily.
 
Do you think grocery stores are also this way?
 
no.
the difference between a grocery store and a healthcare provider is that anyone can set up their own grocery store if they want to.
 
@ScottW The fee is $95 or 1% of your income, whichever is greater.
 
2:40 AM
if Walmart and every other grocery store began to institutionally rip you off, you could just shop somewhere else, and practically everybody in the country could become that competition, if they noticed.
but the reality is, you cannot start up your own healthcare provider.
 
Isn't this the point of antitrust laws?
 
@ScottW Yeah, but it can increase to up to 2.5%. Trust me it isn't worth it.
 
@Pawnguy7 Assuming that they are effective.
 
Given Internet Explorer, I am not certain.
 
the reality is that healthcare providers have no incentive at all to compete with each other.
pretty much every person in the US must have healthcare cover and they must pay a few biggest companies whatever they charge.
 
2:42 AM
iunno, $200ish iirc
 
@DeadMG I don't know how they don't have the same incentive as any other business.
 
no that's expensive
 
@Pawnguy7 Because the reality is, nobody can establish a competing business.
 
@DeadMG but the ones that already exist?
 
@Pawnguy7 Have just as little incentive as them.
 
2:43 AM
kff.org/interactive/subsidy-calculator here's a calculator on healthcare.gov
 
@DeadMG Isn't the incentive to have the customers not go to the competition?
 
this presumes that there is effective competition to begin with.
sure, strictly, you could choose to sign up with any of the national providers.
but the reality is
switching takes time, and people want to see savings for that time.
 
I read it's sometimes cheaper to make a deal directly with the doctor. (was a recent post a reddit)
 
if you could switch provider to save $1 a year
nobody's gonna do it.
we have a similar situation in energy market (and to a less extent, banking market) here in the UK.
technically, they're in competition, but the reality is, hardly anyone ever actually changes.
hence, 10% price rises every year for the last five years.
 
Is this on a premise of...
Undercutting is sort of like MAD?
 
2:46 AM
the difference is that over here, they're getting hauled before Parliament to explain why they're ripping everyone off, and in the US, they'd be congratulated on the efficacy of their business.
@Pawnguy7 Right.
 
And unlike other areas.
They don't really have anything to innovate, do they?
 
not really.
 
Ack, I am so close.
The font works if I do it right at the beginning of Snake.
 
and there's little threat of competition because the startup costs are untenable.
 
Just not in the later part...
 
2:48 AM
so if you have an innovation to deliver cheaper healthcare
it's essentially irrelevant.
 
How does greater life expectancy relate to this?
 
I hope I'll still be able to program when I'm 60.
and 70
 
@Pawnguy7 People don't live very long if you don't treat them, in short.
 
That is one way to look at it.
But older people are going to cost more, aren't they?
 
yep.
 
2:51 AM
Well, I found one that is $104.78/month @ScottW but if you make less than $45k then the price can be lower.
 
And as healthcare is innovated, we are going to end up with more and more old people.
 
yep.
this problem is pretty endemic to many Western countries.
so you have two choices: cut them off, let them suffer horribly, and save the money, or treat them.
 
or well, $11,490 to $45,960 to be exact.
 
While we are on the topic of business.
I was reading on workplace SO once.
It sounds like many startups crash and burn due to personal relations.
 
there's a mountain of old people in the aftermath of the boomer generation. after they are gone it will be more balanced, i hope..
 
2:53 AM
well, it would be simpler to just state "Many startups crash and burn due to every fucking reason imaginable".
they're super duper fragile.
 
True.
I guess you could make it worse if they are family. Or is that better? I am not certain.
 
bankruptcy laws ftw! :)
 
QtCreator's pretty neato.
 
@BartekBanachewicz ok. I rebuilt it again. It now works on this project if I put it at the beginning, but not in later things. Maybe some sort of bad copy or memory issue, I will look into it tomorrow.
 
2:56 AM
Ctrl-K is the magic key in QtCreator
 
if you type r and then space it lets you search online
but the reference it uses is cplusplus.com lol
 
fake vim has much improved as well, it's actually useful now
 
I should see if I can send a patch to add in en.cppreference
 
or change your dns :)
 
Oh wow.
I can type git commands myself
that's neat
 
3:03 AM
WTF?!?! I just got an accept on a really old answer. The unaccepted the more upvoted answer and gave it to me?
lol
 
@ScottW sign up for what?
 
@ScottW Um, no. 2015 is the date for exemption sign ups iirc
Oh no, it's true.
Just looked it up
 
If you miss the sign up in 2014 you can't until the next annual enrolment.
there's an exception that says if something happens in your life you can get covered
 
0
Q: Binary Bomb Phase_4

Ian Ding08048d21 : 8048d21: 83 ec 1c sub $0x1c,%esp 8048d24: 89 5c 24 10 mov %ebx,0x10(%esp) 8048d28: 89 74 24 14 mov %esi,0x14(%esp) 8048d2c: 89 7c 24 18 mov %edi,0x18(%esp) 8048d30: 8b 74 24 20 mov 0x20(%esp),%...

^^ lol
 
3:12 AM
lol why bother giving yourself a real name and a picture just to post that?
 
-6 and no close votes. That's pretty impressive.
 
I flagged it though.
 
What did you flag it as?
 
Very low quality.
Because I can't edit that shit to make an actual question.
 
I flagged this as "not an answer" hours ago :(
0
A: Replacement for MS _vscprintf on MacOS/Linux?

user2308104Works great! The only modification that I can add is the fix to va_copy, this function need two parameters like the following code: int _vscprintf (const char * format, va_list pargs) { int retval; va_list argcopy; va_copy(argcopy, pargs); retval = vsnprintf(NULL, 0, format,...

Maybe it is but it definitely looks like a comment to me still
 
3:20 AM
well, it's kinda an answer and kinda a comment.
I would argue that it does add something.
 
It's a comment tbh but he can't comment so.
yes
there's an exception for life changing events though
so if it's really bad I'm sure you will get covered
nah
I meant if it's bad enough that you had to move states :P
it's ~110 a month which isn't that bad I guess
that's cheaper than 2.5% a year for me
2014 -> 1%, 2015 -> 2%, 2016 -> 2.5%
So it's not worth the fee IMO
Yeah, up to $347.5 per child.
Children are half the price.
That sounds weird out of context
Hm, expensive.
 
3:38 AM
@Xeo Huh? You mean like syntax coloring of the build command..?
 
@ScottW Done
 
@sehe That was only briefly used. I ended up making g++ a symbolic link to g++-4.8. I also added the output of g++ --version and clang++ --version as ingredients for the hash key.
But that's a long time ago.
The only recent change is the upgrade to 1GB RAM.
 
If you make < $40k you can get lower prices
would have been free if you were under 26.
 
@ScottW yes, it does, very gently
 
or well, under your parents.
 
3:45 AM
:D
 
what do you sell?
 
In other news, I found it.
m_remoteUrls.append(QLatin1String("http://www.bing.com/search?q=%1"));
m_remoteUrls.append(QLatin1String("http://www.google.com/search?q=%1"));
m_remoteUrls.append(QLatin1String("http://search.yahoo.com/search?p=%1"));
m_remoteUrls.append(QLatin1String("http://www.cplusplus.com/reference/stl/%1"));
m_remoteUrls.append(QLatin1String("http://en.wikipedia.org/w/index.php?search=%1"));
 
QLatin1String? seriously?
 
surprisingly easy to patch in I guess.
 
hmm
C++'s type system makes me grump.
 
3:48 AM
@DeadMG They're URLs. I don't think I've ever used a non-latin1 url
 
happens
 
gitorious is annoying :/
No wonder github exists
 

« first day (1110 days earlier)      last day (3839 days later) »