« first day (946 days earlier)      last day (4003 days later) » 

3:00 PM
"we added controls on the wire so you don't have to reach all the way for your iPod... +$50"
 
@LucDanton how many times has an ambiguity been found?
 
A lot of those are harmless.
 
@rubenvb This is an ambiguity: "adding two ints should never raise an exception."
 
I.e. you can second guess the real intention. Considering that the implementations have a stake in the process and are present at the meetings...
 
@undefinedbehaviour how is that ambiguous?
 
3:02 PM
The standard allows that to happen. It doesn't require it, but it's allowed.
 
@rubenvb why are you still having this conversatino?
 
@Borgleader Good question. The BOOBIES never came into being.
 
> Im not feeling down anymore. Neither is my penis.
This comment is a win.
 
user142019
@rubenvb pretty sure people are using longjmp for it. ( ͡° ͜ʖ ͡°)
 
3:06 PM
@rubenvb FYI, here's the definition of integer overflow: If during the evaluation of an expression, the result is not mathematically defined or not in the range of
representable values for its type, the behavior is undefined. [ Note: most existing implementations of C++
ignore integer overflows. Treatment of division by zero, forming a remainder using a zero divisor, and all
floating point exceptions vary among machines, and is usually adjustable by a library function. —end note ]
 
@rubenvb It keeps on attracting an endless stream of useless and duplicate answers. So the mods closed it to stop it off. It isn't closed because it's an unsuitable question. It's just that it's a moderation hell.
 
@undefinedbehaviour Well, TIL C++ sucks. What's new. My statement was indeed an undefinedness in the standard. Woohoo.
 
@rubenvb ... and how would you handle exceptions thrown as a result of this undefined behaviour?
 
user142019
FiM++ is the best programming language.
 
You don't, you can't.
Once a program exhibits UB it's over.
 
3:09 PM
@LucDanton You can't check to see whether the addition would cause an overflow?
 
@undefinedbehaviour that's before.
 
user142019
@LucDanton Doesn't the standard allow it to be over even before the UB is exhibited?
 
Yes and no. From the point of view of the language, there is nothing you can do after the fact.
 
And then no exception can be thrown.
 
Ahh... and as I said earlier, preventing the exception from being thrown will be more optimal...
 
3:10 PM
If an implementation says 'in case of this we do that' then you can go ahead and code against that. It's outside of the realm of C++ though.
 
user142019
You can check whether an addition has caused an overflow if your implementation supports it.
 
user142019
Using asm. ( ͡° ͜ʖ ͡°)
 
@rightfold not really, nasal demons may have spawned already...
 
user142019
You can perform the addition in assembly.
 
user142019
Whether an overflowing operation in inline assembly is UB is implementation-defined.
 
3:12 PM
@rubenvb How much easier would it be to bring such an integer overflow to the attention of the developer using assertions?
 
@rightfold that's outside C++.
@undefinedbehaviour The overflow is happening in your code. There's nothing they can do about it.
 
user142019
Dear Princess Celestia:Hello World!

Today I learned how to say hello world!
I said "Hello, World!"!
That's all about how to say hello world.

Your faithful student, Kyli Rouge.
 
You need to handle it.
 
user142019
Best language ever.
 
@undefinedbehaviour That doesn't seem realistic.
 
3:13 PM
@LucDanton It's about as realistic as the library example given to me, earlier...
 
@undefinedbehaviour linkie?
 
You can do it. Just at a massive performance cost.
 
0
Q: Using object inside constructor

AkearaI am creating my own vector class inheriting the STL one. I have a problem while creating the object. here is my class. using namespace std; template <class T> class ArithmeticVector : public vector<T>{ public: vector<T> vector; //maybe i should not initalize this ArithmeticVector(){}; Ar...

Y U INHERIT FROM STD CONTAINERS?
 
BECAUSE STUPID
 
@undefinedbehaviour 'Error-reporting via exceptions makes for composable libraries' is a very much established argument.
And in any case, nobody writes libraries for integer operations.
 
3:15 PM
@LucDanton How does the C++ standard library indicate errors?
Err...
 
user142019
@TonyTheLion It's fine if you do it privately.
 
0
A: Different casting operators used by different compilers

Partho MallickGenius, you are so genius, C++ program compiles without warnings in all compilers, you try to maked it to SolarisStudio 12.1/12.3 or more, that's awsome, actually I am not highly qualified in that your subject, but I understand you can do this really. tanks to post author to write this discovera...

wtf
 
C++ IoStreams, perhaps.
 
user142019
@undefinedbehaviour exceptions or UB.
 
user142019
I/O streams are a retarded wart.
 
3:16 PM
@AndyProwl lol
 
Choice of exceptions or error code (where failed objects go to a null state -- as in null object pattern).
 
@rightfold I know, but this isn't such a case
 
> C++ program compiles without warnings in all compilers
 
The C++ library is hardly a show of good design.
 
@rightfold No. The example requested before was relevant to IoStreams. Before an exception is raised, you'll find the failbit useful.
 
3:16 PM
^^ brilliant :)
 
@Mysticial Tanks to post author to write this discoverable progress.
 
user142019
I don't find anything about I/O streams in C++ useful.
 
Shall we send him tanks?
 
@undefinedbehaviour iostreams may well throw exceptions instead.
 
lol
 
3:17 PM
1
A: Using object inside constructor

rubenvbIf you need elementwise operations and math on a std::vector, use std::valarray. If not, I don't see why you are subclassing std::vector. Don't inherit form std:: containers, they don't have a virtual destructor and will blow up in your face if deleted from a pointer to base.

 
Is it spam what with the link? (Or: quick, I want flag weight.)
 
user142019
I wonder whether there is an implementation of FiM++.
 
Ell
@rubenvb You know the questions I just posted, why do I need a quadratic?
 
@rubenvb Which section of the standard says that?
 
Ell
I think I can do it with trig? (i.imgur.com/McdNUUt.png)
 
3:18 PM
@LucDanton I'm afraid to click on it. :)
 
@Ell hmm, it reduces to a linear equation, you're right. The quadratic terms from Pythagoras cancel out.
 
Very low quality it is then.
 
@undefinedbehaviour the section defining the std containers.
 
@rubenvb Sections have numbers...
 
@Ell Nice diagram-drawing-thingy.
 
3:19 PM
@LucDanton cast the flag. Then let one of us delete it. It auto-validates it.
 
@undefinedbehaviour I am not your personal search engine.
 
Ell
@LucDanton why thank you :) A few minutes on inkscape can help to clarify problems a lot
esp. when you suck at drawing circles free hand :P
 
@rubenvb You're the one making the assertion...
 
> deleted by Tony The Lion, Andy Prowl, Mysticial just now
 
@undefinedbehaviour out of experience and being told so by people here.
 
3:20 PM
@LucDanton Your flag should be auto-validated now. :)
 
@undefinedbehaviour also, who are you to question me?
 
@rubenvb As I said, you're the one who made the assertion. Aren't you reputable enough to be able to reference it with quotes from the standard?
 
Wow.
 
lol
 
My e-dick just got slapped in the face.
 
3:23 PM
@rubenvb IOW, either it's really big, or you're bending down really hard. :)
 
@undefinedbehaviour I'll make the assertion that there's more fish in the Atlantic than in the Pacific without substantiating it, just to get you sooooo mad!
 
mind == blown.
 
Also there are ducks on the moon.
 
or mind = blown. That would be a hell of an assignment.
 
assert(head.Contains(air) == lethal);
 
3:27 PM
room topic changed to Lounge<C++>: Go sucks. [c++] [c++11] [c++-faq] [no-helpdesk]
 
Go ducks
 
@TonyTheLion Too bad they lost.
 
user142019
@TonyTheLion DuckDuckGo
 
Is §22.4 p1 optional, @rubenvb?
 
@undefinedbehaviour WTF are you bubbling about?
 
3:31 PM
@rubenvb Looks like Standardese to me.
 
Not even close :v
 
He's very seriously very close to being my first plonk victim.
 
@rubenvb My dinner is sitting fairly well, thankyou.
 
(or did I already plonk before, I forget)
 
PLONK
Gone like the wind
 
3:33 PM
@rubenvb Do you drink?
 
Peuh-lonque.
 
lol
 
It's really like magic.
all the badness goes away. Wuuuuu-shaaaaa
 
3:34 PM
And he's my second victim.
 
Woah only second... I feel bad now :/
 
yeah, I'm very lenient.
 
@rubenvb Feel free to forcefully set down your wine of cheap quality.
 
dayummm
 
holy crap
 
3:36 PM
@TonyTheLion wow...
holy shit...
 
I'm an asshole :/
 
@TonyTheLion have never seen most of them. Vaguely remember some. I can't bame you for any :)
 
IDWMaster and n2liquid? I don't have any negative impressions of either of them.
 
yea some have been there for a long time.
 
Wuuusaaaa
 
user142019
3:38 PM
I'm plonking Shriram, Lightness Races in Orbit, Osada Lakmal, Dave, SpicyWeenie, saccharine, SiPlus, Mhjr, DiscreteGenius, Bob Apple, user1479589, rici, Ben Harris, Griffin, anand patel, Oleg Orlov, lunadir, Raindrop, Fred Mcgiff, knowbody, Wind And Flame, undefined behaviour, Elegiac, Freddie Willow, and yiz.
 
@Borgleader exactly.
2 mins ago, by undefined behaviour
@rubenvb Feel free to forcefully set down your wine of cheap quality.
 
5
A: Determine which copy constructors is called in C++ code

Andy ProwlThe compiler is eliding the call (actually, two calls) to the copy constructor. This is allowed (but not mandated!) per paragraph 12.8/31 of the C++11 Standard even if the constructor or destructor have side effects: When certain criteria are met, an implementation is allowed to omit the copy...

 
That is one bad joke.
 
^^ Why was this marked as CW after only 3 revisions?
 
@rightfold so I'm not that much of an asshole?
 
user142019
3:38 PM
@TonyTheLion No, I love you.
 
@AndyProwl You accidentally clicked the box. It was wiki from the start.
Just flag it out.
 
lol, damn
ok, thank you
 
Can't you rollback?
 
3:39 PM
I feel the need to announce those who I'm ignoring, probably out of some sense of self-esteem issues...
 
user142019
I want to implement FiM++ with type inference, integers and an FFI but then I wouldn't finish Ø. :<
 
Just implement one thing until its finished, then do the next thing
 
user142019
Strak plan.
 
@TonyTheLion things are never finished.
That's the problem.
 
Since were comparing plonk lists: Evan Carroll, Sativa Diva, SiPlus, DiscreteGenius, user1690130, JABFreeware, Baumr, Connor, Johann
 
user142019
3:40 PM
Parsing it would be a bitch.
 
close to finish, infinitesimal distance away from being finished
 
user142019
Identifiers may contain spaces and they only end when there's a keyword or punctuation.
 
@Borgleader: Mine's bigger than yours...
 
lol
 
user142019
Many keywords also contain spaces.
 
3:43 PM
Hmmm my rewrite of Ambrosia is leading me to: everything is an atom.
header file, source file, bunch of source files, libraries, executables.
Dammit.
Wait
Atoms and molecules.
Going alchemist all the way
 
yiz
@AndyProwl how much time do you spend answering questions everyday?
 
Are you kidding me? MySQL added a stupid limitation just because...
 
Because MySQL is horrible piece of shit
 
the @cat has arrived.
all is well.
 
@CatPlusPlus alternatives?
 
3:48 PM
@Jeffrey Also known as "by design".
 
@rubenvb I felt a disturbance in the force right before that message popped up.
 
@EtiennedeMartel I expect design decisions to be justified. Thay haven't justified this one...
 
@rubenvb Our favorite hero unit.
 
Shit, I feel the need to start from a semi-clean slate.
 
@Jeffrey Laziness on the developers' part?
 
3:49 PM
This is gonna blow.
Another half year going to waste on Ambrosia.
 
Over time I found myself a human I could love, got married, and now I’m happy (though animals are still sexier than humans as a whole to me)
D'awwww.
 
Oct 31 '11 at 16:22, by R. Martinho Fernandes
Humans are still animals.
 
yiz
Do you fancy cows?
Or do you prefer something smaller like a goat?
 
@LucDanton Indeed. I'm guessing most otherkins aren't vegans.
 
3:55 PM
 
yiz
yes, edible Peta girls ready for the bear (NSFW)
 
@yiz It depends on the questions, but a couple of hours every day at least I would say
 
What I dislike about the PETA is that they always go for the low hanging fruit.
 
They don't care about solving the core issue, all they care about is being in the news.
 
3:58 PM
@Jeffrey I don't know, every other RDBMS in existence? Like PostgreSQL?
There is no reason to use MySQL ever
 
@Jeffrey MariaDB. Because nothing can be as bad as MySQL (even a fork of it).
(Channeling some Cat right now with my negativity)
 

« first day (946 days earlier)      last day (4003 days later) »