« first day (990 days earlier)      last day (3967 days later) » 

user142019
4:00 PM
@MartinJames I fear an outbreak of organs. Would be a pain if they escaped my body.
 
@rightfold [tseː plʊs plʊs]?
 
user142019
:D
 
@rightfold Maybe, see appendix II.
 
user142019
See Prependix A.
 
see plus plus
 
4:01 PM
@R.MartinhoFernandes right :-)
 
@MartinJames The entry says it's been removed...
 
sea plus plus
 
user142019
Man, it's cold.
 
Holy see.
 
user142019
Hole C.
 
4:02 PM
Hole-in-one C
 
@ShotgunNinja they removed the appendix? painful operation...
 
Albatross C
 
@ArneMertz Well it was about to rupture, spilling filth across the entire document.
@MartinJames Objective=C
OWAIT
 
user142019
@ShotgunNinja s/ C/-C/
 
@rightfold pedant
 
This thread is like Monington Crescent, but ended by any mention of 'documentation'.
 
@R.MartinhoFernandes They fixed they memory leaks and made it fast? I choose not to believe.
 
stackoverflow.com/questions/17430377/… What the flipping fuck, is this legal: A(const B& _b = B()): b(_b){} ?
 
@Borgleader Yes
of course
 
TIL
 
4:07 PM
I mean, I didn't look at the Q, but just from your message...
What about it should be illegal, in your imagination?
 
@Borgleader C++03 push_back does exactly that
 
@LightnessRacesinOrbit First time I actually see this.
 
that is, temporary binded to const ref
 
@Borgleader Which part? There are like four C++ features there
 
It kind of makes sense now that I think of it
the const B& _b = B()
 
4:08 PM
@ShotgunNinja We're occasionally working on ways to do it :D
@Borgleader It's what I do all the time. :D
 
@Borgleader struct B {}; int main() { const B& b = B(); } So this too?
Temporaries can bind to refs-to-const. Their lifetime becomes that of the ref.
This applies no less in function parameters.
 
How long does a room have to be idle before it gets frozen?
 
@milleniumbug No?
 
@LightnessRacesinOrbit I meant I've never seen that as a default value for a parameter, I had always assumed default values needed to be constants, not return values from functions
 
@milleniumbug Are you thinking of the vector ctor, or maybe resize?
 
4:09 PM
B() is constant.
It's the same no matter what. :D
 
@Borgleader So, in fact, your surprise is at void foo(int x = bar());?
 
@R.MartinhoFernandes Most likely resize.
 
@LightnessRacesinOrbit Yes
 
I'm just trying to break your "problem" down into its raw form. It's a good habit to get into.
 
@ThePhD Two weeks IIRC
 
4:10 PM
@Borgleader Okay.
 
@ThePhD That's pretty cool, actually.
 
@LightnessRacesinOrbit unless it's a member
 
Don't understand a word of it, but it looks cool.
 
aside: wtf is [[carries_dependency]]?!
 
Of course, I'm not going to try to pull it apart with my usual vigor or tenacity, because I don't give a shit, but still.
 
4:11 PM
@R.MartinhoFernandes Yeah, resize. I should have Checked The F** Manual before :(
 
@LuchianGrigore Oh?
 
@ShotgunNinja It is cool. @Rapptz made it, and I made an earlier version. His is very fengshui. :D
 
@LightnessRacesinOrbit Merely an optimisation hint.
 
@Borgleader [C++11: 8.3.6/5]: A default argument is implicitly converted (Clause 4) to the parameter type. The default argument has the same semantic constraints as the initializer in a declaration of a variable of the parameter type, using the copy-initialization semantics (8.5).
 
@LightnessRacesinOrbit Such lifetime extension only happens on local variables.
 
4:12 PM
^this
 
struct foo {
    bar const& x;
    foo() : x(bar()) {} // broken
};
 
@R.MartinhoFernandes So int foo() { return 3; } struct A { A() : x(foo()) {}; const int& x; }; int main() { A a; } is UB?
> <geordi> warning: a temporary bound to 'A::x' only persists until the constructor exits
TIL
 
@LightnessRacesinOrbit No, because x is never accessed. But if it is, yes.
 
(for that exact code)
@R.MartinhoFernandes ok
 
Pluto's fourth and fifth moons got named.
 
4:16 PM
Did they REALLY?
Uh
I should get to work now.
Maybe STL might send me a message today~~~
 
You are starting to sound creepy.
 
=[
 
@R.MartinhoFernandes TIL that Pluto has more than 1 moon.
 
I am not creepy. :c
 
Can a non-planet have moon/s?
 
user142019
4:20 PM
Of course; your mom has seven moons.
 
Oh shit. Now that I have speeded up µTorrent. I'm getting annoying, multiple synflood warning popups from Kaspersky. I'll start VS again to slow it up.
 
@MartinJames Many do.
 
user142019
Disable AV.
 
A minor-planet moon is an astronomical body that orbits a minor planet as its natural satellite. It is thought that many asteroids and Kuiper belt objects may possess moons, in some cases quite substantial in size. Discoveries of minor-planet moons (and binary objects, in general) are important because the determination of their orbits provides estimates on the mass and density of the primary, allowing insights of their physical properties that is generally not otherwise possible. , there are over 200 minor planets known to have moons. Terminology In addition to the terms satellite and ...
 
4:22 PM
 
@MartinJames Am I missing something or µTorrent has transfer limit option?
 
What I thought of
 
user142019
2375 Radek is best minor-planet.
 
@milleniumbug It has. I set it to 100kB, but I still get the stupid popups :(
 
user142019
Disable AV, problem solved.
 
user142019
4:23 PM
Re-enable when download is complete.
 
Hahaha disabled AV and now I'm getting annoying 'Check your computer security' popups from Vista :(((
 
@MartinJames Very intrusive AV you have here.
@MartinJames This can be disabled too :)
 
Tempted to disable Vista.
 
user142019
Ah fuck it, not in the mood to walk.
 
user142019
I'll go home in an hour.
 
4:26 PM
@MartinJames Good choice.
 
user142019
@MartinJames What.
 
user142019
Why do you use Vista.
 
user142019
Upgrade to XP or 7 will ya.
 
@rightfold I like B-612.
 
user142019
I don't.
 
4:28 PM
@rightfold 'Upgrade to XP' LOL!
 
user142019
@MartinJames Well what else? It's certainly not a downgrade.
 
user142019
Gentoo would be a lot better, I admit that, but still… XP > Vista.
 
0
Q: error: cannot convert ‘std::string’ to ‘char’ in assignment

Michael FarmerI have an executable called as a shell script: ./lineGraph argv[1] argv[2] ... argv[9] It creates an instance of the class lineGraph (code simplified tremendously here): class lineGraph { string z[3]; lineGraph(string lumi, string label, char *typeArg, string volume, string axisStyle, st...

Who upvotes this?
It's self-contradictory nonsense
 
user142019
@LightnessRacesinOrbit An idiot.
 
user142019
> lineGraph *graphData = new lineGraph
 
user142019
4:29 PM
-1 needs more auto.
 
Ell
okay I'm confused as to what order this is done in:
`*out++ = data->left_phase;`
is it increment out by one, dereference it then assign?
 
@rightfold and less new
 
@LightnessRacesinOrbit The answer is worse, it should have more downvotes (I would but my rep is currently a multiple of 5 :()
 
user142019
@Ell Dereference out, then either assign followed by increment or increment followed by assign.
 
user142019
IOW don't do it unless you're an idiot.
 
user142019
4:30 PM
*out = data->left_phase;
++out;
 
Ell
That's what I'd do. But I'm reading other code :S
 
user142019
@Ell Remember: C++; // increments C, yields old value.
 
@Ell *out++ = expr is the normal way of writing to output iterators: write and advance.
 
user142019
Oh it's an output iterator. In that case it's fine IMO.
 
Ell
It's a pointer to an output buffer, so yes I guess
 
4:32 PM
@rightfold It's extremely common for iterators.
 
user142019
Yes, I've used output iterators for my assembler.
 
Why you no lineGraph graphData(argv[1], argv[2], argv[3], argv[4], argv[5], argv[6], argv[7], argv[8], argv[9]);? — milleniumbug 3 mins ago
haha
 
Because ~~Java~~
 
user142019
graph_data = LineGraph(*argv) FTFY
 
@rightfold you ain't 20% cooler anymore...
 
4:39 PM
So I have a database with data for lots of nodes in a logical network. The data spans a great deal of time. Sometimes nodes have been moved around the physical network without being given a new unique "identity", causing data for two effective nodes to be rendered under the same logical node. This bug is to be fixed separately for future node moves... but for now the pre-move data for some nodes is in my way.
The obvious approach, given that we don't "need" that old data, is just to delete it. However, the database is huge and I don't really want to do that.
So, instead, I'm going to create a hard "filter", allowing an admin to choose a "commissioning date" for each node that may not equal the timestamp of the node's first piece of data. This is essentially a hack to hide data older than some admin-chosen point in time.
 
Alright, todays Daily WTF scared me
 
user142019
Linky?
 
But I can't think of a good name for it. "Hard filter?" Doesn't talk about dates. "Commissioning date" isn't quite accurate as we're only going to store the most recent "commissioning date".
 
user142019
@LightnessRacesinOrbit Thank you for serving my laziness.
 
@rightfold You're not really very welcome, if I'm honest.
 
4:43 PM
because I work for a phone company that keeps audio in giant 55MB wave files, and our imports/exports to smaller wave files was slow, and I fixed it by changing the buffer size from 200ish bytes to 4096 bytes and using the number of files instead of the exact sizes of the audio :(
 
user142019
Gah, TL;DR.
 
user142019
lol
5
 
@MooingDuck '200ish bytes' - haha...
 
> Snowden issued a statement written in Spanish, thanking North Korea for their commitment to freedom.
 
hmm, looking at the source again, I seem to ahve changed the buffer size to ~10k...
 
4:46 PM
Isn't "North Korea" and "commitment to freedom" an oxymoron?
 
@MooingDuck Yeah, 8192, or some cluster-size multiple, would be my choice.
 
aha found my notes. I got the time to decrease from 80 seconds to 28 seconds in my code.
@MartinJames I apperently used filesize. They vary. Effectively the same as not buffering I guess.
heh, the origional code spent 17 seconds importing and 62 seconds updating the progress bar >.<
 
user142019
@Jeffrey Isn't the whole article a joke?
 
@rightfold I wish it was not :)
 
I changed that to 21 and 6 respectively, haven't looked into optimizing our progress bar yet.
 
4:50 PM
@rightfold I'm too ignorant and possibly naive to even realize that.
 
no wait, why did import time go up? Oh, I'd doubled the amount of data being tested.
 
user142019
@MartinJames inb4 he leaks secret information from North Korea.
 
@MartinJames I can't find any verifying sources
 
@MooingDuck lol
You need a "progress bar update progress bar"
 
user142019
You mean a progress bar that shows the progress of updating the other progress bar?
 
4:53 PM
@rightfold Yeah - 'We have 500,000 troops, but 490000 have cardboard-replica rifles'.
 
@R.MartinhoFernandes I'd calculated it was attempting to update the progress bar approx 144179 times a second. I got it down to approx 71.
 
user142019
@MartinJames And the other 10000 ones just got nuked by accident.
 
'The other 10000 have no rifles at all because we can no longer afford the cardboard and paint'.
 
user142019
LOL
 
@MooingDuck Hmm, maybe you should limit that to some function of filesize and progress bar size in pixels?
And not as a function of time, which is not predictable.
 
4:57 PM
@MooingDuck LOL! I'm surprised the GUI input queue did not blow up.
 
@MartinJames actually that particular bit isn't using the GUI input queue, it was directly repainting. I still need to rewrite that bit.
 
@MooingDuck Yeah - that sounds like a good plan! I usually update such things on a 2-sec timer - one of the few times I use polling.
 
user142019
Okay. Half an hour more to wait and I can go home.
 
user142019
> The standard negators not1 and not2 accept only unary and binary functors that define argument_type or first_argument_type and second_argument_type respectively
 
user142019
Why not variadic? No language support? Seems kinda limited.
 
5:04 PM
It's old.
 
user142019
Ah.
 
very old
 
user142019
How old exactly?
 
Xeo
Original STL
 
Hm.
 
Xeo
5:11 PM
Hi.
 
A GUI markup language built out of C++ syntax.
... This is pretty.... interesting?
 
Ell
neh.
 
@Xeo Hi there.
 
user142019
@ThePhD Sounds like a perfect recipe for tears and nightmares.
 
user142019
@Xeo olol :v
 
5:12 PM
@rightfold It kind of is, and I can hardly read it, but apparently it works.
I mean, it does work. I'm looking at it.
 
user142019
@ThePhD That's always the case with C++.
 
It's not horribly ugly.
It uses operators to append new elements like +.
It encapsulates it into a Slot[ ... ] array-bracket-thing, so that it can force left-to-right parsing, I guess.
 
@ThePhD "out of C++ syntax"? Yeah, sure.
 
Xeo
@ThePhD That's not inherently LTR-forcing
 
user142019
I've been sitting here at school chatting for about four hours straight. :P
 
5:15 PM
@Xeo Well, it's making the operators behave well enough to make this thing work.
 
Xeo
It's just that operator[] can only ever take 1 argument, so stuff[a,b,c] calls the comma operator
but looks nicer.
 
Well
There's no commas.
It uses [] to add a new child
 
Xeo
Oh
 
(to what you're working on)
 
Xeo
Well that's weird
 
5:17 PM
and it uses . for a widget's metadata.
And for things on the same "level" (children[ a, b, c]), it uses +
 
Xeo
Man, the Asylum has been frighteningly silent. /cc @R.MartinhoFernandes
 
so children[ WidgetType().PropertySet( value ).OtherPropertySet( value ) + OtherWidgetType()[ InnerWidget().PropertySet() ] + FinalWidgetType().SomePropertySet( vals ) ]
If you block it out...
 
I'm trying to avoid telling Anne that I've booked a holiday or, at least, flights, in August. When looking over the prices, I found an 18-day period with lowish fares, but only one seat left on the outward leg. I booked it anyway and now I'm too much of a coward to tell my wife :(
 
children[
     WidgetType().PropertySet( value ).OtherPropertySet( value )
     + OtherWidgetType()[
          InnerWidget().PropertySet()
     ]
     + FinalWidgetType().SomePropertySet( vals )
];
 
user142019
Eww.
 
5:21 PM
@Xeo ikr
 
user142019
children
    [ foo
    + bar
    ];
 
user142019
Much better!
 
Uh.
Sure I guess.
But that's the syntax they're using.
 
Ugh.
@MartinJames lol
 
Xeo
@MartinJames Planning to fly alone?
@R.MartinhoFernandes It's like they're brewing up something dark.
 
5:25 PM
@Xeo Like my reflection proposal thingymahjigger? :D
 
I'm sure he loves it.
 
Ell
ahh look at this gross c code I am trying to translate! subversion.assembla.com/svn/portaudio/portaudio/trunk/examples/…
 
Xeo
@R.MartinhoFernandes ha
 
@Ell Looks like bog standard C code.
    FILE  *fid;
    fid = fopen("recorded.raw", "wb");
    if( fid == NULL )
    {
        printf("Could not open file.");
    }
    else
^ random snippet
Typical C "Ah, we failed, let's print something and proceed." strategy to deal with errors because propagating it up is tiresome.
 
Ell
5:28 PM
then there is the gotos :')
 
@Xeo Well, with ~188 other passengers and ~5 crew, none of which I will know personally.
 
Ell
printf("Could not allocate record array.\n");
goto done;
 
@Ell Those are the good ones.
 
Xeo
@MartinJames But was the original plan to fly with your wife?
 
They goto done is a jump to cleanup code.
 
5:29 PM
@Xeo It's usually done that way, yes :((
 
Ell
Well this is the first time I've seen gotos before :P
I still don't like them :L
 
Xeo
@MartinJames You're so screwed.
 
@MartinJames Oh boy.
 
@Xeo Yeah, I know:( I will have to buy her off, somehow.
 
@R.MartinhoFernandes I'm cooking up a reflection system, and I might propose it to the std, because... why not?
Or at least, throw my hat into the rich_pointer discussion.
 
5:31 PM
@ThePhD Have fun.
 
@ThePhD If it's a library-only solution, just open-source it.
 
@MartinJames Why would you do that without talking with her about it?
 
It's a nice day!
 
@R.MartinhoFernandes It's working at the compiler-ish level.
 
@StackedCrooked There is no need to bin every C++ question posted.
 
5:31 PM
I'm bolting it onto Clang.
 
@LightnessRacesinOrbit I don't bin all of them.
 
Ell
@ThePhD can I see the code?
 
@Ell Only after it works.
 
Ell
@ThePhD why? o.O
 
Admittedly, at the moment I'm still working on improving my encodings first.
@Ell Why would I give you something broken?
 
Ell
5:32 PM
if you let people see it they can improve it
 
@LightnessRacesinOrbit It's not my fault! The flight was there, right in front of me, with only one seat left! The 'Continue' button was staring at me....
 
Ell
@ThePhD it's not broken, it's unfinished
 
@ThePhD Because he is a fixer of broken things?
 
I'll tell her it's a business trip.
 
@StackedCrooked Ell, The Edifier?
 
5:34 PM
Oh, fuck it. I'll have to come clean :((
 
@MartinJames Godspeed.
 
@ThePhD Thanks. If it goes badly, I'll update my will to leave you my rep.
 
D:
All the rep in the world wouldn't replace you. Stay alive!
 
@MartinJames hahahaha
 
Yeah. "I'm off on business for a couple weeks or so", "Germany again?", "Err.. actually, Tenerife'........... Unlike me, it would not fly :(
 
5:40 PM
evening fellas
 
Of FFS, another 'not-'
 
"Oh FFS, not another 'not-'" FTFY
 
Will the screen name not accept a '!' as the leading char?
 
I can't change it anymore, cause stupid SO rules
 
I guess SO's not taking you seriously. :b
 
5:44 PM
I can change my name and back again whenever I want...
 
Yeah but thats because you're part of the system
 
Xeo
@R.MartinhoFernandes But only a hundred or so times, no? :P
 
I don't want to change that often :P
Though I might be convinced to want that for suitable compensation.
ITT Robot sells ads on his screen name.
 
Xeo
Btw, would you be "not-R. Martinho Fernandes", or "R. not-Martinho Fernandes" or "not-R. not-Martinho Fernandes"?
4
 
user142019
5:46 PM
@Xeo "not-R. Martinho Fernandes" would be most-consistent IMO.
 
I'm not sure that's would go down very well
 
user142019
He should go to some obscure African country.
 
Well, there's not-Xeo too.
or Xeo-not.
 
@not-TonyTheLion This is where'd id write my views on this article... if I had any
 
I like the second one. Sounds like "Juggernaut". :D
 
5:48 PM
lol
 
@rightfold And get killed?
 
user142019
Borat-NOT
 
@ThePhD It does?
 
user142019
@R.MartinhoFernandes killed and eaten
 
Ethiopia is safe, I'm sure
 
5:49 PM
@R.MartinhoFernandes Well, I say Xeo like Zee-oh, so it'd be Zee-oh knot, which is like Jugger knot.
 
Xeo
Obtw @rightfold, I got me some delicious Vla
 
Xeo
@ThePhD I pronounce it "Kseo" with a sharp s :P
 
user142019
@Xeo Nice! Which one?
 
Xeo
5:50 PM
pure Vanilla
 
ohhhhhhhhhhhh nice
 
user142019
Which brand?
 
I have to make food, but :lazy:
 
user142019
Campina? :>
 
@ThePhD Using words with silent consonants for phonetic transcription is a very silly thing.
Well done.
 
user142019
5:51 PM
@ThePhD Slipknot!!!!!!!!!
 
I don't know how to do fancy language markup.
 
Xeo
@rightfold Zuivelhoeve
 
are you in Holland?
 
Xeo
Nope
But that's the one you get here.
 
oh nice
 
5:52 PM
@ThePhD You could use "naught".
 
user142019
@Xeo Not bad. Did you order it online or do you live near the borders?
 
Xeo
@rightfold Neither
 
Hm, naught...
 
Xeo
I walked 5 minutes into the next supermarket :P
 
Reminds me of noughaty.
 
5:52 PM
Or "not"...
 
user142019
@Xeo OIC.
 
not-y dog xD
 
user142019
Lol. Guy in front of me in the train leaves and the weed smell is gone.
 
I wonder what that means.
 
@rightfold He stole your weed?
 
user142019
5:54 PM
It could mean the guy consumes weed on occasion.
 
Spray with weedkiller.
 
user142019
> I like my girls like I like my wine. Ten years old and locked in my basement.
 
user142019
That sounds bad.
 
Xeo
Better than "... and in a barrel"
 
Thats fucking gross
 
5:56 PM
I like my wife like I like my wine. Cork in the mouth, tied on with wire.
 
user142019
@Xeo They want to roll!
 
My gf is like my wine... I don't have any
7
 
user142019
 
I don't like wine.
<_<
>_>
 

« first day (990 days earlier)      last day (3967 days later) »