« first day (1485 days earlier)      last day (3479 days later) » 

user1804599
3:07 PM
I just had diarrhoea.
 
user1804599
@orlp that is UB
 
Nope, 1 1 0
What makes you think it's UB?
 
Homework due day again :P ...
 
user1804599
You dereference uninitialised pointers.
 
user1804599
Oh wait, those expressions aren't evaluated.
 
3:10 PM
the thing is
it should print 1 1 1
I can't figure out why it prints 1 1 0
 
user1804599
@orlp Why?
 
simple recursion?
if the type is int it prints true
 
user1804599
*z is of type int*. You haven't specialised Specialised<int*>.
 
@rightføld look at the second definition
template<class T> void f(T* t) noexcept(noexcept(f(*t)));
 
user1804599
3:12 PM
Yes.
 
user1804599
You pass int**.
 
user1804599
Dereferencing gives int*.
 
So that becomes int*
which then becomes int
 
user1804599
No.
 
user1804599
T is int*.
 
user1804599
3:12 PM
t is int**.
 
that goes into template<class T> void f(T* t) noexcept(noexcept(f(*t))); again
 
user1804599
*t is int*.
 
noexcept(noexcept(f(*t)))
so if it's a pointer type
it will take the noexcept specifier of the same function dereferenced
so it should go int** -> int* -> int -> true
 
wait coliru isback up?
 
user1804599
3:15 PM
It tries to call void f(T&) [with T = int*].
 
I would try disabling the first overload on std::is_pointer
 
user1804599
This is because the second overload is not in scope until the semicolon.
 
and see if that helps
 
user1804599
So noexcept(f(*t)) only considers the first overload since that is the only one that is in scope.
 
hmm
 
user1804599
3:18 PM
> 3.3.2/1 The point of declaration for a name is immediately after its complete declarator (Clause 8) and before its initializer (if any) …
 
user1804599
Exception specifications are part of the declarator.
 
damn you're right
then what I thought to be a compiler bug
is a fault in the standard
10
Q: Why is swapping multidimensional arrays not noexcept?

orlpI have the following snippet: #include <algorithm> #include <iostream> int main(int argc, char** argv) { int x[2][3]; int y[2][3]; using std::swap; std::cout << noexcept(swap(x, y)) << "\n"; return 0; } Using GCC 4.9.0, this prints 0. I don't understand why. According t...

template<class T, size_t N> void swap(T (&a)[N], T (&b)[N]) noexcept(noexcept(swap(*a, *b)));
that's the definition of std::swap
which is broken for multidimensional arrays
@rightføld lol repwhore :D
 
damn, C++ surprised me again
 
welp
we did it
we broke the standard boys
 
user1804599
fuck Java
 
user1804599
3:28 PM
Cannot do IntStream.range(0, 10).map(i -> readBytes(stream, 4)) because readBytes specifies that it may throw IOException and IntUnaryOperator.applyAsInt does not.
 
user1804599
IOException shouldn't be a checked exception.
 
checked exceptions in a non-inferring system are just dumb
 
user1804599
How are checked exceptions useful if they are always inferred?
 
always inferred != can be inferred or even usually inferred.
 
user1804599
They should at least be parameterisable and deducable.
 
3:34 PM
personally I'd learn towards "Virtually always inferred but useful on interfaces"
 
does anyone know how I would make my mingw compile in c++ 11 or c++ 14 mode by default instead of having to use the -std option?
 
no.
 
user1804599
I don't like exception specification for exceptions that you almost never catch except in main or some main loop.
 
oh wait, I remember you, you're a fucking twat.
crazy right-wing racist if I remember correctly
 
user1804599
Such as I/O errors.
 
3:36 PM
@rightføld Consider interface violation cases- for example if you're passing a callback as a C function pointer, that callback should obviously never throw, regardless of what the exception is.
or crazier cases like what if the comparator in a std::set throws, or the hasher in std::unordered_set.
checked exceptions are just a slightly more fine-grained approach than noexcept.
 
yesterday, by Aaron Kyle Killeen
can anyone in the UK explain to me why immigrant Somali families on welfare get to live in $3 million dollar houses? If it were a reasonable country like Japan, they would have been kicked out for being homeless, if they even got in in the first place.
yeah...
I guess I found a new person for my plonk list
 
that's hardly his first offence
 
user1804599
I don't know the context.
 
I just found the first message from his profile pretty much
 
3:39 PM
I think he was here a few months ago spewing bullshit about separating whites and blacks and that kind of thing.
 
@Puppy would you call James Watson, the guy that discovered the molecular structure of DNA a crazy right-wing racist too?
 
if he was one, then yes.
scientific discoveries and personal batshitcraziness are othorgonal.
 
user1804599
 
@AaronKyleKilleen you are either joking or scum.
 
he's scum.
 
3:41 PM
@Puppy so what evidence is there that the observed racial differences in IQ are not caused by genes?
 
firstly, correlation != causation
 
user1804599
I am a racist.
 
secondly, it's well-known that it's wealth, health and other similar socioeconomic factors that cause IQ differences
 
user1804599
I think white humans are better than labradors.
 
racial differences in IQ are easily accounted for if you don't give black people two thousand years of sitting on their arses lording over everyone in the same spot to accrue ridiculous sums of money.
 
3:43 PM
thirdly, IQ is an indication of how good you are at IQ tests
 
pretty much that.
fourthly
 
@AaronKyleKilleen In case you are oblivious to the rules of science, you're supposed to provide a theory, do your best to refute it and provide proof, then present it to the world. You do not challenge the people that disagree with you to prove that what you're saying is wrong, it's your responsibility to prove that it's right.
 
why the fuck am I even speaking to you? I well remember from our last debate that you're batshit insane, don't care about any evidence, and are highly racially prejudiced.
I would plonk you but then you'd be inflicted on everyone else who comes in here
 
@Puppy that needs to be quantified, you can't just show a correlation, but as a matter of fact most of the gap remains after controlling for things like income
 
if only some kind room owner would ban you three thousand times.
 
3:45 PM
> but as a matter of fact most of the gap remains after controlling for things like income
[citation needed]
 
@orlp except you're the ones bullying anyone who questions the orthodoxy, I'm just asking what evidence you have to back that up
 
Good morning!
 
user1804599
@AaronKyleKilleen wat
 
Hey there, Puppy! What's going on?
 
just in case you hadn't noticed
 
user1804599
3:46 PM
I want pea soup.
 
AKK is a total fuckface crazy racist.
so kindly ignore him before you get infected.
 
user1804599
With rookworst.
 
public service announcement.
 
any fuckwit with paint can make that graph
where's the source
 
that's not a citation, it's just a graph.
 
3:47 PM
so who fed the troll?
 
user1804599
 
user1804599
@StackedCrooked No idea, but I wanna be fed with this.
 
@rightføld snert!
 
you can find all of the sources in there
 
@StackedCrooked Plix wield banhammer on crazy racist.
 
3:47 PM
everything is sourced
 
wow
 
@rightføld Peas?
 
I'm impressed
a blog?
the peer review must be absolutely brutal there
 
@orlp peer review doesn't really work when you only have those who share your prejudice peer review
 
user1804599
 
3:48 PM
oh shit
AKK is at it again
damnit AKK
 
Who are you talking to
 
@thecoshman honestly, I always hear nuts use the opposite argument
 
TIL AKK = Member of Stormfront
 
@thecoshman is that some evil organization is "controlling" the peer review and keeping the "real science" out
 
@rightføld This, I need. It will come useful one day. Today, it gets downloaded.
 
user1804599
3:50 PM
@thecoshman Lekker, een peer. Ik ga peren reviewen.
 
@orlp that it doesn't work when you have impartial people peer review? Of course not.
 
@milleniumbug AKK
 
user1804599
Oh I flagged that message about Somali people btw. Just an idea.
 
@thecoshman no, they are furthermore claiming that peer review in academia is influenced by people
> The claims of race realists are based on scientific evidence.
 
duh.
 
3:51 PM
@rightføld which one?
 
> race realists
 
the whole point is to have other people influence the paper.
 
wow...
 
user1804599
yesterday, by Aaron Kyle Killeen
can anyone in the UK explain to me why immigrant Somali families on welfare get to live in $3 million dollar houses? If it were a reasonable country like Japan, they would have been kicked out for being homeless, if they even got in in the first place.
 
user1804599
I want hamburgers and pea soup.
 
3:52 PM
huh... flag icon is not there o_0
 
I would plonk him, but this is entertaining.
 
oh there we go
 
I go play this game for 10 minutes
10 minutes
 
@rightføld Pea soup goes well with hamburgers?
 
and AKK is already fucking things up
god damnit AKK
 
user1804599
3:52 PM
@Nooble Sure.
 
peas go well with anything?
 
user1804599
Nah, not with ice cream.
 
damnit rightfold
 
@rightføld I'm sure it can be made good
 
user1804599
I want to live a whole week on just peas and ice cream.
 
3:53 PM
you are such a freak.
 
Or Smoothies.
 
peas?
blech.
 
Pea flavored ice cream.
 
user1804599
Rest in Peas
2
 
all that other stuff, like piercings, gender changes, etc, I can get over
but peas?
 
3:54 PM
@AlexM. I had him plonked and I didn't see his messages
 
user1804599
I don't see what is disgusting about piercings and gender changes.
 
user1804599
Piercings are great.
 
(and I forgot about plonking)
 
@rightføld got any?
 
user1804599
No, but I know people who do.
 
3:55 PM
I like how you mention piercings and gender changes in the same sentence
 
user1804599
I'll have piercings soon though.
 
@rightføld why wait?
 
@thecoshman Financial maybe?
 
user1804599
I already bought them, only have to get holes in my earlobes.
 
user1804599
And that's like free.
 
3:57 PM
@Puppy How dare you offend rightfold's love of peas.
 
user1804599
 
user1804599
This is the most delicious food ever.
 
user1804599
I love peas.
 
Chickpeas...
 
user1804599
witte bonen in tomatensaus JONGE
 
4:00 PM
You know what I hate? I can take a look at the references in that racist blog post, and try to critique every one of them, but there's just no time to do that. They can spew bullshit so much faster than it's possible to take time to address the faults in their ways.
 
user1804599
And in the end both their nonsense and your counter-nonsense are TL;DR anyway.
 
user1804599
No one cares. Get out.
 
@rightføld Frog GIF please.
 
gifs don't work on AKK
kickhammers do
 
user1804599
4:03 PM
And whites are on average worse at running. So what?
 
@AaronKyleKilleen the first time, I clicked invalid.
 
First of all, let us assume that what you're saying is true. And that blacks are more likely (let's say 0.0002% instead of 0.0001%) to get this syndrome.
 
The second time, not sure
But seriously dude, you're offensive, stop.
 
Then first of all I'm interested in what other disorders are white-only.
 
user1804599
Albinism :D
 
4:04 PM
Second, this is incredibly insignificant for a large population such as a race.
And third, even if there was a significant disadvantage in being black, that still should not be used as an argument to any policy ever.
There's a significant disadvantage in being retarded, so let's seperate retarded people?
 
Brunner's syndrome has been found in whites only I'm pretty sure but has only affected like 14 people or something but the 2 repeat allele is vastly more common in blacks and makes people more likely to be violent
 
There's a significant disadvantage in people with a very large big toe, let's seperate those?
 
but Brunners syndrome establishes that the gene affects violence
 
So what?
What racism advocates is pre-emptive violence against innocent people.
On a much larger scale than this violence can ever be.
 
who said anything about violence?
 
4:08 PM
Racial seperation is violence.
 
user1804599
@AaronKyleKilleen The dumbness syndrome establishes that people like you invade chatrooms and brag about uninteresting crap. Unlike Brunner syndrome, dumbness syndrome is much more prominent and annoying.
 
@rightføld most places will only pierce you with a fresh peace that they sell you, so they know it's a clean peace.
 
user1804599
@thecoshman It's not a significant amount of money anyway.
 
user1804599
It's like twelve bucks at most.
 
the only violence I'm talking about is by criminals, some of whom have the 2 repeat maoa allele, which happens to be more than 20 times as common in blacks
 
4:09 PM
@rightføld sure, it's cheap enough. But tattoos are better :P
 
user1804599
Nooo
 
oh joy
 
@AaronKyleKilleen So what are you proposing with this supposed information?
 
user1804599
Tattoos are bad.
 
I'm rebuilding the Wide AST for proper ownership semantics instead of that arena-based crap
 
user1804599
4:09 PM
I only like very few of them.
 
So, is there a 'easy' way to work on a Rust library but also have a binary being built with it that for 'testing' it?
 
user1804599
> This user has been automatically suspended for posting inappropriate content and cannot chat for 29 minutes.
 
user1804599
Nice.
 
I think for now I just need to write some modules and farm them out to a library proper at a later point.
 
@AaronKyleKilleen lock up the blacks? disable their reproductive organs? put them in special black-only communities? all acts of physical, freedom or social violence against innocent people
 
4:11 PM
@thecoshman Tests can live alongside the code that they test, there is an annotation to mark them (so they are only part of test binaries).
3
Q: What's the best way to organise unit tests in rust?

lapinrigoloI have a number of methods in a mod. These methods need to be tested but they're private. I currently have the unit tests inside the same mod but I'm not sure this is the right way to go about it as I'm mixing two different things. Should I put my unit tests in a different file? If so, how do I ...

Is that what you were asking?
 
@AaronKyleKilleen and by the same source of yours white people are much much much more likely to get this "warrior gene" than hispanics, so I should suggest we impose any policy against blacks against whites as well, to protect the hispanics
or let me guess, you have some bogus blog post about why hispanics are the bad guys as well?
how convenient
 
@LucDanton no, I mean I want to write a program that's using the code... though I guess I could do that as a 'test' program...
 
That’s kinda what is happening though :)
 
@rightføld got bumped up an hour now.
@LucDanton yeah I guess it is...
still, like I said, for now I'll just write it as a main.rs with modules.
 
4:15 PM
I should've probably made a funny Boost.PP demonstration using the concatenation of a seq containing the letters
 
I’ve not tested Cargo yet (which is slated to be the top-level tool, sort of) because it’s too recent for me so I can’t comment on that. Everything I’ve done involved calling the compiler by-hand.
 
@rightføld ...and best of all, "whirled peas".
 
user1804599
@thecoshman nice
 
@LucDanton oh man, start using cargo for sure.
 
user1804599
Rust module system should have been filesystem-based.
 
user1804599
4:16 PM
It's way too complicated as-is.
 
I didn’t like what I saw in the very early days (or hours) tbh.
 
it sort of is... it's just seem to be bad that they use two system, src/myModule.rs or src/myModule/mod.rs
 
user1804599
And you have to repeat the structure in some file.
 
IMO the latter is something you only good for doing like the 'public face' of the library.
 
@AaronKyleKilleen wow. fuck you, you racist cunt.
 
4:19 PM
Guys.
AKK is a known conversation poison.
 
@R.MartinhoFernandes and gurls, nothing but a crazy bunch of guys a gurls
 
> $ curl https://redacted-because-lol.example.com/rustup.sh | sudo bash
^oh right, I don’t like Cargo
 
@LucDanton huh?
 
> You should run this script almost every day to get the latest updates.
@thecoshman Top of the landing page for Cargo, installation instructions.
 
Yeah that's horrible.
 
4:23 PM
cargo cult downloader
 
user1804599
 
Piping stuff from the Internet into sudo bash is disgusting.
 
Well, it's still early, they really should sort out delivering Cargo and Rust via proper pkg managers.
 
user1804599
Yeah, should totally do wget …; bash ./rustup.sh instead.
 
Still, cargo itself is very nice IMO.
 
4:24 PM
I'm almost home again.
Q: What did you do on sunday?
A: I went home.
 
@thecoshman It has external tests that go in a separate part of the package tree btw.
 
@LucDanton yeah I know. You do 'unit tests' in the source files, and then 'integration tests' in the <project root>/tests folder.
 
Other than that, write two packages.
 
@R.MartinhoFernandes Does that mean "almost back to Berlin", or "almost back to Portugal"?
A2: Made ambiguous statements (well, one, anyway).
 
Speaking of, @R.MartinhoFernandes do you go through Paris when going to and from Portugal to the more central parts of Europe? How do you deal with the public transportation there?
 
4:33 PM
I've only been to Paris once, and my cousin acted as a guide..
 
@LucDanton I can't speak for Robot, but I've never had any problem with transportation in Paris. In fact, even though I speak/read/write English and no French, I find the Paris subways (quite a bit) easier to figure out than The Tube in London.
 
@Jerry I didn't leave Berlin.
I did stop by a bookstore, though.
 
@JerryCoffin Peripherique? Grossly unpleasant.
 
@R.MartinhoFernandes I see. And getting home from the bookstore took a significant part of the day? I know there are lots of cranes and construction going on there, but I had no idea Berlin had grown quite so large...
 
The more infamous reputation of the system there hangs around the light rail and rail systems.
 
4:35 PM
16 flags? Wot?
 
@MartinJames About the usual for AKK.
 
@AaronKyleKilleen you scare me.
 
Oh.. it's the black/white tree again.
 
1 hour ago, by Puppy
oh wait, I remember you, you're a fucking twat.
 
@Puppy Orite. All is explained.
 
4:37 PM
@LucDanton I don't recall any problems from when I used the rail system. Pretty sure I've never tried the light rail though.
 
@JerryCoffin Berlin construction - OK for some, but I walked round Ostkreutz stn. for an hour, looking for a train.
 
@MartinJames Hmmm...trains are usually pretty easy to find. They are fairly large. :-)
 
@MartinJames yes well, I've seen you trying to navigate places, not much better than robot
 
@Jerry no. I slept at a friend's place in west Berlin and left around 14. Took the wrong train, feel asleep in it, ended up in the southeast, almost outside Berlin. Then took a train back which due to I-don't-know-what ended a few stops later. I took another one from there to the Ringbahn and then the Ringbahn. I had to switch one last time then, and that's when I stopped at a bookstore.
Then I proceeded to, instead of doing the switch, getting on the line that got me there. Then I stopped when I realized the mistake and went back again.
 
@R.MartinhoFernandes Oh my! I think you've now cemented your reputation for managing to get lost, even in situations where most would think that was impossible.
 
4:52 PM
Robot would get lost in a 0D space.
 
@thecoshman If it's 0D, how does it qualify as "space" at all? Besides, we all know space really has 20 dimensions (or maybe 22...or possibly 10--I can't keep up with all the notions of string theory).
 
@JerryCoffin Zero spatial dimensions, ie everything is in exactly one point/infinitely far apart, with zero/infinite volume/size.
 
user1804599
Guten Tag.
 
@JerryCoffin I think they decided that 11 is the fundamental number in M theory.
 
I find it surprisingly hard to find rankings of public transportation systems (for metropolises). I keep hitting rankings of US cities :/
 
5:09 PM
@Columbo It was a typo, Thanks. And what wrong with examples? Maybe you want to say that instead of int there must be used size_t? — Vlad from Moscow 9 mins ago
 
@Puppy Obvious nonsense until/unless they can justify its being 42.
@LucDanton Could that be because many (most?) US cities are so rank? :-)
 
heh
wouldn't it be awesome if it turned out it really was 42?
 
why is theory of computing such a weird class you guys?
 
@Puppy I already know it is (the mice told me).
 
@corvid All remotely advanced mathematics is weird.
even basic mathematics has odd spots, like division by zero.
 
5:13 PM
is theory of computing advanced? Where does "advanced" mathematics begin?
 
anything that isn't just addition.
where the operands are exclusively in the range of 1-10.
 
I always thought anything up to Calc III was supposed to be considered beginner to intermediate level :|
 
@corvid It follows the same pattern as everything else: everything you learn before you're 10 (or so) is simply "the natural way the world has always been". What you learn from 10 to 30 (or so) is "new and exciting and advanced". Anything that happens later than that will always be suspect, and most will (deep down) consider it "just not how the world is supposed to be."
 
user1804599
what is calc III not everyone lives in the USA you know
 
In Murickah the progression is: Basic Algebra -> Precalculus (sin/cos/tan and limits) -> Calculus -> Calc II -> Calc III -> Linear Algebra -> Number Theory
 
5:18 PM
@rightføld Could it possibly be a third calculus class? Admittedly, some education systems are a bit inferior, but are you honestly saying that we can't expect people to know Roman Numerals?
@corvid In America, the progression varies (at least somewhat) between schools.
I believe most do at least attempt to touch on discrete mathematics somewhere along the line though.
 
yeah but that doesn't seem to be part of the progression because it has no prerequisites, it's more on the side
 
@corvid I guess I'm too lazy to do a survey of all colleges, but that doesn't seem to be the case at MIT.
 
but that's smart people school. I'm doing discrete at my school now, it seems to only require a basic knowledge of algebra
 
@corvid So at a "smart people school", they have to make the prerequisites explict because they can't depend on your having as much background in mathematics as at other schools?
 
5:33 PM
I'm home!
 
yeah pretty much. Can override pretty much any class with enough convincing at any other school
 
5:44 PM
oh fucknuggets.
fuck you C++.
std::unique_ptr<T> f(); totally overrides std::unique_ptr<U> f() where T : U.
 
> fn with(callback: &mut for<'a> FnMut(&'a Data)) { … }
moar syntax! cc @Rapptz
 
Ooops. Keyboard cleaning.
 
@R.MartinhoFernandes ooh, lol
 
that's what they all say
 
@R.MartinhoFernandes Are you actually in your apartment, or can we expect an entire saga of the journey from the outside door to your apartment via the Dürerplatz and Ringbahn?
 
5:49 PM
hmmm... impl Foo{ fn new() -> Option<foo> { /* stuff */ }} is that 'sensible' in Rust if I want a 'constructor' but it's running code that might not be able to make a valid object. eg, if foo was a 'Server_Connection' that might not be able to make the connection.
 
fuck off.
the type is not copied.
 
would a book on OpenGL provide more or less enough relevant information to transfer directly to WebGL, or should I get a book on WebGL?
 
time for dindins.
 
@thecoshman I don’t see why not.
 
@JerryCoffin lol
I'm typing this from my room, with my keyboard.
 
5:54 PM
@LucDanton it's basically like if a C++ constructor could throw. I'm saying my foo constructor might give you a foo, but equally it might not be able to. at least, is that how you'd read the code?
 
@R.MartinhoFernandes I'm relieved to hear it. :-)
 
If the constructor takes exactly one parameter it’s not unusual for it to be named from_X, e.g. from_str. (That one isn’t exactly a constructor, but then again nothing is :)
@thecoshman Sure.
 
right so.
 
@Puppy Isn't that a good thing? Covariant return types with pointers and references do this.
 

« first day (1485 days earlier)      last day (3479 days later) »