« first day (1052 days earlier)      last day (3891 days later) » 

Ell
9:15 AM
Mornin' all
 
ohai
 
Ell
Do all of you guys have a folder inside your include directory which is the name of your project?
So you have to do #include "MyProj/Something.hpp"?
 
I do
 
Ell
And now I have to choose a build system
this is always pretty much arbitrary for me at this point :3
 
Gah, does anyone know what's wrong here?
 
9:21 AM
I use Ninja
 
@Ell That's why I usually stick with make
@Rapptz Since... 2 days?
 
No since.. um
 
inb4 3 days
 
Ell
I guess I should keep trying different ones until I find one I like using
I do like CMake, almost entirely because of the pretty build output
 
Apr 9 at 21:02, by Rapptz
I just finished building ninja
A whee bit more than 3 days.
 
9:23 AM
@Rapptz wokay. hadn't heard about it (from you) before
 
@Ell That sounds like the 'count up to 2^64' question :)
 
So...
Good morning.
...kids. :)
Here is another tale from the awesome world of AIX.
...and XLC.
 
@Xeo Where do you live again?
@Ell no
 
By default, shared libraries' static variables initialization order is somehow fucked up and the static variables in a shared library are not initialized before I enter main(), it seems.
 
@wilx Oh yummy. Tell me how much I miss it!
@wilx Possibly. I remember having to explicitely set the initialization priority on shared libs
 
9:26 AM
So, the cure is supposed to be to add -qmkshrobj=-300 (replace -300 with some arbitrary negative number) to the linking command line.
 
Yay. I called it
 
Yeah.
 
Xeo
@FredOverflow Oberhausen
 
The XLC compiler is so OOTB broken.
 
To be fair, it's the linker here, right.
 
9:28 AM
@Tuntuni Non-copyable.
 
@Xeo Ah, you're also one of those Germans taking over the Lounge :)
 
Xeo
@FredOverflow ... wait, what?
I've been living in Germany this whole time
 
@sehe: I argue that we are using the C++ compiler to do the linking with the native linker so it should do the right thing regardless. :)
 
Xeo
Okay, I'm confused. Maybe it's still to early for me
 
@Xeo I guess I never realized.
My brain never thought of you as a German.
 
Xeo
9:30 AM
lol
 
lol
 
Xeo
I was living in Berlin until the beginning of this year
@FredOverflow I could swear it has been mentioned multiple times while you were present.
 
Mein Hirn ist ein Nudelsieb :)
2
 
Xeo
heh
 
@FredOverflow lol
 
9:34 AM
Hirn === Gehirn?
 
@sehe Yes
 
I am wondering whether tail recursion could be optimized in vs compiler if you set the optional to -o2 or high level i.e. -o3?
 
@DarkHorse I am guessing yes, you could find out by looking at listings
 
@DarkHorse That's very simple to test. Just print the address of a local variable. If it changes during recursion, it's not optimized. If it doesn't, it is.
 
@FredOverflow looks like a good way to test that. I will try! thx
 
9:46 AM
@Rapptz Is says that gen<>::gen(gen<>&&)' is implicitly deleted because the default definition would be ill-formed. Why? It doesn't state any other reasons. It only tells me the copy constructor of random_device is deleted.
 
Try.. this coliru.stacked-crooked.com/a/da5086379255fc5b random_device doesn't work with Coliru but the code should work. // cc @StackedCrooked
 
@A.H what list? Do you mean assembly instruction?
 
yeah , but @FredOverflow suggested a much easier method
 
ok, I get it. Thanks
 
would be really surprised if it doesn't though
 
9:48 AM
@CatPlusPlus Have you thought about a Kickstarter project? :)
 
@Rapptz Your code works but why does that move constructor get deleted? Btw, the code I linked doesn't compile on my system either.
 
it'll be illformed, don't know why specifically.
 
:/
 
> It is possible to eliminate a single recursive call whenever the recursive call happens either immediately before or inside the (single) return statement, so there are no observable side effects afterwards other than possibly returning a different value. This includes returning expressions involving the ternary operator.
Maybe try with single return statement.
 
@StackedCrooked It totally does. Your case probably prevents the elimination due to taking the address (+ observable side-effect) but in general, GCC is quite clever about TCO
 
9:57 AM
I suspected that.
 
@Rapptz Hmm, the answer in this question says "It turns out that the standard library implementation of GCC has not implemented yet the move and swap operation for the stream classes." Maybe it's the same for random_device?
 
GCC even recognises and eliminates mutually recursive tail calls
 
user457812
Tail call optimization is my god.
 
@StackedCrooked Yes, it’s replaced by jne .L6
 
10:02 AM
@nil are you the guy in cnblogs?
 
user457812
I can safely say that's a no.
 
@nil ok, you have a same name to the man
 
If I'm using MinGW and want to specify the version I'm using, should I say "MinGW 4.8.1" or "MinGW with GCC 4.8.1"? IOW, is MinGW just a synonym for GCC on Windows or is it something a bit more than that?
 
user457812
I'm guessing you're thinking of Nils.
 
user457812
I'd say MinGW GCC 4.8.1.
 
10:04 AM
@KonradRudolph Interesting. Anyway, observing the assembly, g++ eliminates tail calls at -O2.
 
@nil who's nils?
 
user457812
Nils.
 
user457812
Now back to watching anime.
 
@nil Hmm ok.
@nil What are you watching?
 
@KonradRudolph Could be accidental side-effect of general inlining
 
10:06 AM
he is watching One Piece
 
user457812
Hunter x Hunter, oddly enough.
 
@nil Oh, heard of that. Didn't watch it yet.
 
user457812
It's turned out more entertaining than I thought it would be.
 
@nil That one is awesome.
Esp the current arc.
 
@sehe Not really, since you cannot inline recursive calls without performing TCO
 
user457812
10:09 AM
I'm just happy that the show actually moves forward instead of spending a ton of time with people grunting to power up.
 
10:27 AM
how the fuck do you search for adapters/cables? I’m searching for a specific configuration to buy and I’m completely unable to find anything online, since the configuration seems quite uncommon
it’s almost like Amazon is mocking me, I can find literally every other permutation of jacks, not just the one I need
 
Ell
what are you looking for?
 
3.5mm male to male stereo to mono splitter
i.e. jack on both ends, one end stereo, other ends are mono (split channels)
the closest I got was 2x stereo + 1x mono (WTF?), or one cable with exactly the configuration I need, except that the mono jacks were RCA or 6.35mm
 
does anyone knw abt Kernel mode driver development?
i'm I in the right chat room?
 
@AsterVeigas Unlikely.
 
any chat room that can help me?
or blogs? That we really helpful
 
10:39 AM
tldp has lots of stuff on that
 
@KonradRudolph the point being that the indirect recursion isn't apparent at the first level of inlining?
 
@sehe yes. Mutually recursive TCO needs special rewriting rules to be resolved
 
is it me or is
testl %ebx, %ebx
jne .L6
infinite recursion
 
inlining would be more like "unrolling" the recursion, and this would lead to different addresses being print I think
@A.H. It tests if ebx > 0.
 
@KonradRudolph Get out your soldering iron.
 
10:45 AM
@MartinJames I don’t have one (and no place to store/use one even if I bought it) … otherwise this would be a no-brainer
 
@KonradRudolph :(
 
Slightly related, can “OFC cable” ever mean anything except “optical fibre cable”?
because my headphones’ product description says “OFC cable” (redundant redundancy) but the cables are decidedly not optical
 
How do you know they're not?
 
@StackedCrooked Hmm, to be honest, I don’t, but to my lay mind it sounds physically implausible that a cable with 3.5mm jacks can use optics internally without apparent electronics to convert the signal
 
It seems a little unlikely, given the connectors used..
 
10:52 AM
hmm, seems pretty common though
apparently I assume too much, and modern LEDs and photosensors used are wicked efficient
 
Ell
Yeah optical cable has rounded glass end
 
Ell
Well who'd a thought it
I've never seen optical cable like that
 
> OFC (Oxygen free copper) cable for better sound quality and less loss
lol
 
I remember once a guy friend was explaining to me male/female plugs, he got really embarrassed, I could see him blushing lol.
 
10:55 AM
@StackedCrooked Hmm. well that’s bullshit :D
(Bullshit as in: very, very, very confusing, to the point where it’s almost deliberate)
 
@KonradRudolph thats pretty much normal for advertising
 
Ell
I can't find that cable either
 
@ScottW "Will you be my female plug?"
 
@ScottW ahahahhaa
 
Seriously though, what kind of idiot would come up with the name 'male' & 'female' plugs?
 
11:00 AM
Why call him an idiot? It's all natural. :D
 
Ell
It makes sense
Its a perfect analogy
 
do you look like a male plug?
I sure don't look anything like a plug male or female
 
Ell
Yes
I even have the 3 ridges
 
@Telkitty猫咪咪 It's not about the looks but about the principle. :D
How big do you think computers would be if we used people to connect electronic inputs and outputs?
 
Ell
And human components can only send data for so long ;)
 
11:04 AM
@Ell LOL. True dat.
 
@StackedCrooked WTF? I kinda thought that copper, being an element, would be, well, oxygen-free anyway..
 
hi guys !! im new to stackoverflow!
 
Ell
Hi!!!!1!1!1111!"1!1!"100!""="2!=8+3,
 
@Ell are u talking wid me??
 
OK, I googled: OFC is useful for 'plasma deposition (sputtering) processes, including the manufacture of semiconductors and superconductor components, as well as in high vacuum devices such as particle accelerators'... and stupidly-overpriced audio cables.
 
Ell
11:11 AM
You tell me o.O
 
SAM
@user2713461 Hi! me too!!
 
@SAM hi , where are you from??
 
@user2713461 Please lurk:) Whatever you do, don't post/link any questions about software development for a while, (and even then please no PHP/Ruby/JavaScript:).
 
2713461 = 3 * 31 * 163 * 179
Come back when you hit a proper prime userid
 
11:14 AM
@MartinJames Java ok ?
 
@A.H. Java? In here? Only if you are very, very 'brave'.
 
SAM
@user2713461 India... you?
 
@A.H. Where is .L6?
 
@SAM same
 
@FredOverflow just before this block with no other jump statements in between
 
11:16 AM
@A.H. Food, beer, sex is generally OK :)
 
SAM
@user2713461 Great! where in India?
 
@A.H. It is an infinite loop unless ebx is 0.
 
test does bitwise AND right? I first thought it was equality
@MartinJames infinitely better than Java
 
Can we have reopen votes here: stackoverflow.com/questions/18571917/… (10k+) - Why the OP deletes an interesting question with a lot of general applicability is unclear to me
 
11:42 AM
You are a male dog, if I was your bride, I would be a bitch :x
 
Ell
No! You're giving yourself away :P
 
mail order bitch :'(
 
male order? :)
 
Ell
12:08 PM
man template diagnostics suck a lot
 
that smile :p
 
12:25 PM
mail order brides aren't really delivered by mail
 
yeah right, you would know :p
 
@StackedCrooked How do you know!? :)
 
I ordered thousands.
 
did you get a discount?
 
@StackedCrooked in bulk ?
 
12:36 PM
@FredOverflow Not a good idea.
Besides overkill.
Also US-only.
 
You don't know that.
Yet
class template? check
function template? check
man template? No manual entry for template
 
@CatPlusPlus Belgian game company Larian got 1 million dollar from a kickstarter project.
But maybe they have something registered in US. Dunno.
 
12:52 PM
US or UK now apparently. But it's still a massive headache I'm so not going to deal with.
(Esp that nobody will care anyway)
 
Yeah, and once money is involved everything changes.
The fun goes away.
 
you mean you didn't have 'fun' with thousands of the mail order brides you have paid for?
 
they sucked
7
 
(removed) even before posting..
 
can't be too careful nowadays ... with everything cached many times by a lot of different servers
 
1:06 PM
When I posted earlier ' Food, beer, sex is generally OK', I was kinda hoping not to have to assimilate posts about oral sex with thousands of mail order brides :)
 
@MartinJames Your hopes are in vain. Whenever a critical mass of men gathers in a room, jokes like that start showing.
 
he was hoping for something better ... I mean 'better'
 
better jokes?
 
1:22 PM
@Telkitty猫咪咪 what would that be? :)
 
sbi
Hi.
 
ah. the left-const-fundamentalist :D
 
@sbi Hi, long time no see :)
 
Ell
Hi @sbi :)
 
sbi
@ArneMertz I am a constant left-fundamentalist, if that's what you mean.
 
1:24 PM
What is a 'left-const-fundamentalist'????
 
Heretic! RT @JamesMcNellis: The const qualifier belongs on the right.
 
What is a 'const qualifier'?? duck :-D
 
const
 
const fundamentalist *sbi = Sbi();
 
@Greenflow what have ducks to do with const qualifiers? :P
 
sbi
1:25 PM
This is, BTW, my first visit from my new machine. This company has finally managed to buy me a Dell Precision M 4700. Not quite a huge and heavy as the MX 4400 I used to have at the company before this one, but way easier to carry, too. :)
@Telkitty猫咪咪 I am not a pointer. I am what others refer to!
 
It's a quacker..
 
Nothing, I duck the fire.... asking such question in a chat, which has C++ in its name :-)
 
@Greenflow ah k
 
It can be dereferenced, look: sbi->says("I am not a pointer. I am what others refer to!");
 
@sbi You're the pointee then.
 
1:32 PM
@sbi woot
I'm waiting for my job interview
 
sbi
@StackedCrooked Because I have a Dell now?
 
thought you have been with your current employer for 10+ years
 
sbi
@sehe Oh. Had enough of the old one?
Interesting. The website of Berlin's Parliament is hosted in the UK, says flagfox.
 
2:15 PM
@sbi courtesy of GCHQ?
 
sbi
@ArneMertz :)
Tonight I'll be participating in a panel discussion about rents and housing that's held in the parliament building. I just found out that, in order to be there some 20mins earlier, I will have to leave work Real Soon Now™.
 
So, what do we replace iGoogle with?
 
sbi
Does it need to be replaced?
 
Yes.
Google is shutting it down.
 
sbi
To me that sounds like What do we replace toothaches with? The dentists are shutting them down.
 
2:18 PM
@wilx I assume that is a problem to someone?
 
lol
Yes, it is a problem for me!
 
sbi
Really, google keeps coming up with new services to suck your data, and shuts them down when they fail on fulfilling this purpose. Why would anyone use them?
 
Google delivers an excellent text field for entering searches into. It boggles my mind that people try to use them for more than that
 
I want my google reader back :)
And google code search.
 
sbi
"Google delivers an excellent text field for entering searches into." Have you looked at DuckDuckGo?
 
2:22 PM
@sbi Yep. It doesn't have autocomplete which sucks, but tbh, the main reason I don't bother with it is that I really don't care if a big American megacorp logs in their databases that I googled for std::vector::erase again
also habit
 
next time you get from google a proposed search: alzheimer :-D
 
I thought they shut down iGoogle years ago.
 
Ell
they announced it last november for this novemeber
 
@jalf Email. :/
 
Ell
@jalf also, duckduckgo search results are really sub-par (imho)
I used it for a while
 
2:26 PM
@CatPlusPlus sure, but I'm a bit more privacy-conscious when it comes to my actual communication, than for web searches
 
Ell
when I switched back to google I realised what I was missing
 
Although I'm more and more tempted to get rid of GApps and just host everything myself.
 
also, I'm pretty happy with a proper email client connecting to my own domain's mail server
 
I haven't used GMail web interface for years.
 
I wonder when google notices how they hurt themselves when all their services have an aura of unreliability
 
2:27 PM
But they got nice infrastructure goin'.
And excellent spam filters.
 
true, but I don't get that much spam (and my infrastructure requirements are fairly modest)
why is the VC++ immediate window so hilariously useless
 
sbi
Well, I gotta get going. Please cross your fingers that I won't make a fool out of myself.
^__^         _#
(oo)\_______/  _________
(__)\       )=(  ____|_ \_____
    ||----w |  \ \     \_____ |
    ||     ||   ||           ||
 
2:42 PM
Hmm.. when called for the third time in one day by the same Personal Injury scamSales moron, is 'Bangalorized Bastard' an acceptable form of address?
 
Only if you want to remain civil
 
ffs
literally. Came across an uncommented function doing some sort of bit twiddling, and it is simply named... ffs
 
@Greenflow I can no longer be bothered with 'civil', so I'll go with 'Subcontinental Shithead' next time.
 
Ell
@sbi good luck :)
 
@jalf Heh.. well, at least the actual twiddling is usually easy to work out, though what it actually means may be another matter.
 
2:49 PM
@jalf oh right the fast fourier shift ;)
 
Xeo
whee, greetings from my ICE back to Oberhausen
 
@MartinJames uh, are they allowed to cold-call you?
 
@ArneMertz They are all coming in over VOIP gateways which seem to be impossible to filter :(
 
@MartinJames I didn't mean if it's technically possible for you to filter them, but if it's legally allowed in your country.
 
Ell
@ArneMertz but if it's not technically possible, it makes no odds :/
 
2:57 PM
@ArneMertz No, you can opt out of cold calls and, thoretically, sue companies who ignore this preference. In practice, some UK companies blatantly ignore this and call anyway. Bangalorized calls cannot be kept out, (supposedly).
 
Ell
Where is @bartek? :O
 
@Ell oh it does. If they call me on my personal phone here in Germany, I first demand to know where they got my data from and then that they immediately delete them from their servers. If they call again, I tell them I contact the German Federal Network Agency. Until now, that worked :-)
 
http://stackoverflow.com/questions/18576111/repeating-code-in-switch-statements
'I can use either C++ or PHP, but I'm really worried about the overhead of a function call'.
 
I'm really curious by the C++ or PHP. I can't seem to find a use case where you can choose between those two.
 
@Borgleader Maybe we're better off not knowing how he got to "C++ or PHP"
 
3:09 PM
Also, don't you just love a language where 'p=(int*)malloc(10.45f);' works :)
@ArneMertz You are indeed fortunate.
 
oh noes :( GoingNative sessions will be from 6PM till 2:30 AM in MEST. no way I'm going to watch that live :(
 
@ArneMertz Years ago (before there was an official "do not call" list) I did the opposite: I told the sales guy I was really interested in his crap, but was on another call, so could he please hold? Got back on every 5 minutes or so to apologize and ask him to keep holding. Kept him waiting nearly an hour before he finally gave up. There was clearly an un official do-not-call list already though: I didn't get another call from a telemarketer for years afterward.
 
3:26 PM
@JerryCoffin hm think that will still work? there are hundreds of call centers, and I'm not sure they all share such a list.
 
@ArneMertz I dunno -- it was close to 20 years ago. A lot has changed in the mean time...
 
Problem nowadays is most telemarketer calls are by robots
 
@JerryCoffin uhm. yes. I tried some Turbo Pascal back then ^^
 
3:45 PM
@JerryCoffin LOL wow.... i feel bad for that telemarketer though... they're ppl too =/
 
3:56 PM
@Borgleader Until I see results of DNA tests (and can examine the procedures followed at the labs where the tests were done) I consider their humanity open to question.
 
user1804599
Today was a wonderful day.
 
user1804599
I'm having a wonderful time.
 
user1804599
Should I use C++ or PHP? No.
 
user1804599
> func TopocentricEcliptical(λ, β, s, φ, h, ε, θ, π float64) (λʹ, βʹ, sʹ float64)
 
user1804599
Ugh. :V
 
4:13 PM
@not-rightfold You seem to be an anti-Greek racist. Would you like to discuss that?
 
Nonsense. He uses greek letters.... he is definitely pro-greek.
 
@Greenflow I guess my Eliza-bot mode needs a bit more work...
 
user1804599
@JerryCoffin "Greek" isn't a race, so racism is completely irrelevant.
 
@not-rightfold Tell me more about your mother.
 
user1804599
My mother is even more irrelevant.
 
4:21 PM
Don't tell us, tell her. :-D
 
Of course there's no way to cancel Internet service online.
Time to make a phone call.
 
@not-rightfold You don't recognize that? (It's one of the responses Eliza used when it couldn't find any words it recognized in what you wrote).
@Insilico At least it's not as annoying as calling the ISP about why service has died and when it will be restored, and spending a half hour listening to the recording of "Please visit our web site at ..."
 
@JerryCoffin lol
They'll probably have the "retention department" or some BS try to sell me more crap. The thing is the new place I'm moving to is not part of their coverage area, so I have to cancel even if I wanted to continue with them.
 
I moved a few month from Germany to Norway. I discovered it is very disturbing for Norwegian callers when I suddenly only speak German. Hey, I did not ask for their calls. They want to sell me something? Speak my language. :-D
 
Apparently you can't include a file containing a bunch of rewrite directives in nginx. Woo.
 
user1804599
4:30 PM
I need a FANUC.
 
Or maybe overzealous wildcard include somewhere else.
Woo, works.
 
4:43 PM
Evening
Where can I find the maximum value that can be stored in a double without losing precision?
 
@not-rightfold a yellow robot?
 
Uh define precision.
 
HI guys! im new to stackoverflow!
 
TIL there's a Quebec section on Stormfront. Damn it.
 
@Jefffrey Do you mean the largest value that's still normalized?
 
4:48 PM
@JerryCoffin yup
 
@user2713461 That pretty obvious, considering how excited you sound.
People get jaded over time.
 
user1804599
@JohanLarsson Yes.
 
@EtiennedeMartel If that wasn't enough, the "member for 10 days" might give us a clue.
 
@EtiennedeMartel lol
 
@JerryCoffin Also.
 
4:50 PM
Hi
@EtiennedeMartel where are you from??
 
@EtiennedeMartel Only if they're in need of a dose of Pony friendship.
 
And the number name. Older users give themselves a proper name. Very old users even a proper avatar. I am not that old, yet. ;-
 
@user2713461 Montreal.
@JerryCoffin Come on everypony smile smile smile.
 
canada??
 
Explaining would take too long, so I'll go with "yes".
Man, that hay fever is killing me.
 
user1804599
4:56 PM
@CatPlusPlus Of course you can.
 
@CatPlusPlus 2 digit precision. I mean from what number to what number a double can hold every D.dd values (with D being whatever integer and dd being a 2 digit decimals)?
 
user1804599
If you want to store decimal numbers you should use a decimal number type.
 
@Jefffrey hi
 
@not-rightfold Hmm. And a double is not a decimal number type?
 
4:57 PM
No.
 
@Jefffrey No.
 
user1804599
No.
 
float is a decimal number type?
 
user1804599
No.
 
4:58 PM
No.
 
What is a decimal number type then?
 
Also there is a formula for every value double/float can hold.
 
YES
 
user1804599
decimal in C#.
 
There's no range of precision.
 
4:58 PM
float is a decimal
 
user1804599
No.
 
@not-rightfold C++?
 
user1804599
> C#
 
C++ has no built-in decimal type.
 
@CatPlusPlus there cant be no range of precision
 
4:59 PM
@Jefffrey You need a third party library for that (or implement it yourself)
 
user1804599
float, double and long double use base two (idgaf about weird architectures).
 
Are you all guys set to -pedantic or am I set to -stupid?
 
Neither.
The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point computation established in 1985 by the Institute of Electrical and Electronics Engineers (IEEE). Many hardware floating point units use the IEEE 754 standard. The current version, IEEE 754-2008 published in August 2008, includes nearly all of the original IEEE 754-1985 standard and the IEEE Standard for Radix-Independent Floating-Point Arithmetic (IEEE 854-1987). The international standard ISO/IEC/IEEE 60559:2011 (with identical content to IEEE 754) has been approved for adoption through J...
 
@Jefffrey lol
 

« first day (1052 days earlier)      last day (3891 days later) »