« first day (920 days earlier)      last day (4034 days later) » 

8:00 PM
I once had the odd idea of generating a random number based on a random number. I am not sure if that was more or less random, though...
 
@Pawnguy7 you mean like every pseudorandom algorithm ever made does it?
 
@jalf I wouldn't know. I think I had it seed itself at the beginning by cycling ten times of using the last random number as the new seed.
 
@Xeo care to write an example? :)
 
0
Q: Let everyone vote up and down,modrate and let them chat,too

ewdPlease DO this,or else i will spam this website with why i hate Stack Exchange. if this is "free" it needs to really be free. I will post what i will spam. Its contains "Stack Exchange modreators bombed the boston marthon" and "Stack Exchange helped osama bin laden do 9/11". Spam Question: I ha...

 
"or else I will spam this website"
4
 
8:04 PM
hey guys
 
awesome
 
@Fred You may enjoy reading this eternallyconfuzzled.com/arts/jsw_art_rand.aspx (and it seems I was wrong; I should have paid more attention in math classes)
 
@Mysticial lol
 
i'm working as an intern and our product stores matrices where the 3x3 portion of the matrix is the rotation part, stored in fixed point 22, where 1.0 = 1<<22.
what on earth does this mean
 
@Mysticial Some people
Either insane or troll, but I think this one is insane
 
8:05 PM
@AndyProwl Quick, we need to make a screenshot before this gets deleted :)
 
@FredOverflow Absolutely
This is a pearl
 
any ideas?
 
@SatchmoBrown shouldn't you ask the people you work with?
 
Where's the puppy?
We one of his answers on this one.
 
i would but they are not here right now
 
8:07 PM
@FredOverflow For what it's worth: stackoverflow.com/a/10219422/179910
 
Wait... what?
 
@R.MartinhoFernandes "There is nothing wrong with rand()", that's quite a big claim :)
 
Throw the exception, I'll handle it!
 
@Mysticial I'ts limbo time boys and girls! How low can it go?
 
8:09 PM
> The BEST Linux Distro!
 
...Aaaaand it's deleted :)
 
50 mins ago, by R. Martinho Fernandes
The problem with rand is that rolling a die correctly is a nightmare. (and being global too)
 
Awww
 
@FredOverflow :D Just in time
 
The question was closed just before I had time to post an answer
 
8:10 PM
@kbok That's why you have to post short dummy answers quickly and then edit.
 
@jalf How dumb can people be?
 
And with the comments:
 
@FredOverflow Ah, I should've thought about that
 
I'm still 1k from being able to see deleted posts on meta. So hopefully, we won't need to rush so badly in the future.
 
8:11 PM
@Mysticial lol, you faved it. (Also, cool, you're almost at 10k! Soon we will have a spy on meta!)
 
meta spy
 
I don't get this part. "going to spam with links of fcc.gov and gop.com" - are they bad or something?
 
user got nuked as well
 
@Pawnguy7 lol
 
Oh wait, I didn't actually read the thing until now. Boston and 9/11 omg lol.
 
8:14 PM
@FredOverflow Boston caused 9/11! You heard it here first!
 
I still am not entirely sure what this rant was about. I see the chat thing as... sort of like paying to put apps on markets - it blocks out lots of spam. And... well, you need rep to downvote... ehm... to be honest, all those rules make sense to me.
 
Were you involved in 9/11 as well?
 
 
@jalf Damn, it looks painful when it jumps and flops on the head.
 
8:21 PM
At first, it reminded me of a seal.
 
Also, it's amazing how they're "aware" of oxygen depletion and actually make steps to replenish it.
 
at least this one seems a little bit more cheerful
Some of those are just disturbing. I think I'll stop reading that tumblr now...
or I'll never be able to sleep
 
in C++11, for each works with arrays, right?
Not just collections that.. I want to say implement an interface?
 
It works with both C arrays and std::array, yes.
 
who here understands packets???
 
8:28 PM
But it doesn't work with pointers pointing into heap arrays, of course.
 
@TrevorRudolph what!!!
 
@jalf "what!!!" like you're mad im asking or excited about packets?
 
lol, probably exited
 
@TrevorRudolph One question mark is enough.
 
@TrevorRudolph I thought we were required to use triple punctuation when talking to you...
 
8:29 PM
ahaah
thats from a client to a server
 
Hexdump alert.
 
Have you considered stackoverflow.com?
 
fui, im not making a whole question for this?
 
Why are you asking, then?
 
8:31 PM
@DomagojPandža Really???
 
If you're not willing to make a question of it
 
idk, im getting into server emulation
 
There are partial questions?
 
I prefer sealed questions.
 
8:31 PM
@TrevorRudolph I'm not making a whole answer for this.
 
Ok, I'm curious about something
 
@TrevorRudolph Why not?
 
is there any data in that packet except for the time stamp and stuff
like im not taliing about the data section of the packet, liek does that packet tell the server anything
 
How are we supposed to know if we have no idea how the data is encoded?
 
How on earth did you arrive at the conclusion that "this chat room would be the best place on the entire planet in which to ask my question about this random sequence of bytes that I sniffed from a network connection"?
4
 
8:32 PM
Ahahahahahahahahah
Oh god
 
the data isnt there that packet lacks a data section to be quite frank
and this isnt random, its a handshake for a server, and there is no encoding it has no data, and i jsut answered my own god damn question haha
its a handshake!!!
got it!
bye
 
No, you didn't get it, but bye nevertheless
Learn to type before coming back
 
I sniffed a packet in the kitchen, here's a part of it: 0xDEADBEEF.
 
I just... don't understand it.
 
8:34 PM
You gonna get a visit from health and safety dept
 
Xeo
10:30 already again... man
 
Ahahaha, I still love this. <3
 
I need 6 upboats in for Generalist badge. Time to lurk that tag.
 
@R.MartinhoFernandes Subtle.
 
8:38 PM
10
A: Turbocharging the Roomba: solutions for premature deletion

Shog9This will be live in the next build: Deleted questions will be visible to their authors, regardless of those authors' reputation. They won't be linked to anywhere that they're not already linked, but if someone knows where to find their question and it's been deleted, they should always be abl...

 
@EtiennedeMartel I couldn't agree more. :Đ
 
Does a tuple work for any number of types?
 
@R.MartinhoFernandes There's few hard questions there
Countability my nemesis
@Pawnguy7 It's probably guaranteed up to some limit by the standard
 
@R.MartinhoFernandes There, you have 4 upboats. For the other two, you might consider answering 6 questions in . :P
 
It's limited by template recursion depth I guess
 
8:41 PM
@CatPlusPlus Ok. I don't know why, but I keep thinking that tuple = 3, even though a pair is two and it is a generalization of any size.
 
@Mysticial automatic deletion sounds fun to abuse.
 
@Pawnguy7 Because you're really bad at compsci as seen previously :v:
 
Xeo
@CatPlusPlus And even that limit doesn't say much.
I could implement a tuple type that can take 25k types easily, I think
 
Yeah it's not really that relevant since large tuples are unwieldy
 
@CatPlusPlus Hm. I think for some reason I read it as triple rather than tuple.
 
Xeo
8:43 PM
That too
But with log N indices generation, all you need is tuple : element<Ts, Is>...
 
You can exploit explicit instantiations to "reset the depth" and get longer indices.
 
If you use tuples larger than 5-6 elements then you're a horrible person and should use records classes at that point
 
Who the fuck needs huge tuples?
 
Ell
exactly :3
 
Xeo
@R.MartinhoFernandes ?
 
Ell
8:46 PM
just use a struct :P
 
My largest tuple has 6 elements I think
 
Xeo
Ah, wait, I see what you mean.
 
They miight come up in some cases when they're generated from other things I guess
 
Xeo
By that time, you're really only limited to number of variadic arguments, I guess
 
@Xeo MakeIndices<limit> x; MakeIndices<super_limit> y;.
 
8:47 PM
Why was it that initializing class members at the place of declaration is considered bad?
 
Xeo
@R.MartinhoFernandes and concat
Wait
Without starting from a later index?
 
I'm assuming implementations cache instantiations and don't do it again.
 
@Pawnguy7 Uh because it's not possible?
 
Xeo
hm
 
8:48 PM
And that they instantiate in order.
 
Save for some limited specific cases
 
Ell
@Pawnguy7 static ones I assume?
 
@R.MartinhoFernandes I did timings once and didn't notice anything significant.
 
Xeo
Depends on the implementation of indices though
 
Ell
ohwait.
You said member :3
 
8:48 PM
@R.MartinhoFernandes It is carefully designed, yes.
 
@CatPlusPlus Uh, C++11 in-class initializers?
 
Even when slicing FromTo<X, Y> you generate indices from 0 and then offset that.
 
Does it work for static? I hadn't considered, but... I figured they worked as before.
 
Xeo
@LucDanton offset_seq <3
 
It works with C++11 now.
I don't use it because it's weird
 
8:49 PM
That exists?
 
@Xeo I think I have indices<I...>::Offset<Base> or something nowadays.
 
@CatPlusPlus Yes.
class X { int i = 1; }; is legal C++11.
 
Less intermediate instantiations that way.
 
Xeo
hmm
 
@DeadMG Just a bit weird.
 
8:50 PM
@Rapptz I find it cromulent for those types that default construct to garbage.
 
Xeo
I'm still thinking of how to make log N indices reuse the most instantiations
 
T* p = nullptr; being a favourite.
 
Oh well
 
Xeo
I can make it reuse the same instantiations for both branches, but
 
it's mostly useful when (you instantiate it to one value in many constructors) and (the value does not depend on constructor arguments).
like initializing a pointer value to nullptr.
 
8:52 PM
@DeadMG Oh? That sounds clever.
 
Xeo
haha
 
lol
 
@Jueecy.new nothing surprising, then :_)
Ohai
 
did you guys seriously not know about this feature?
or are you pulling the puppy's fine leg
 
what do you think?
 
Xeo
8:55 PM
For any indexed sequence in any programming language the notion of front() is defined as the notion s[0] (let assume that indexes start from 0). If the expression s[0] is valid then the expression front() is also valid and vice versa. These two expressions are interchangeable.

The same way is defined the notion of back(). It is defined as  an expression with the maximum index n for which s[n] is valid. If there is no such an index that greater than 0 then it means that back() is equivalent to s[0] provided that the expression s[0] is valid.
Good job defining stuff the way you want it.
 
Not again, Xeo; this discussion is beyond boring. Leave it at isocpp.org...
 
@Xeo He's still at it?
 
Xeo
4 mins ago, by Luc Danton
T* p = nullptr; being a favourite.
 
Ahahah, not again. xd
 
lol
 
Xeo
8:55 PM
@R.MartinhoFernandes 52 posts already wasted on that :(
 
@Rapptz is it wierd, or bad practice?
 
Can we spell "t.r.o.l.l." ?
Or "attention d.e.f.i.c.i.t."?
 
I just think it's weird, I doubt anyone gives a shit if you use it.
 
Hmmm. How is that weird? You know what's gonna be weird? struct X { template <typename T> static T someVar = T(); };
 
Not possible I hope.
 
8:58 PM
Well, if it is bad practice, I would want to avoid using it (and learn why it is bad).
 
Well Foo::template Bar<T> is still up for grabs...
I mean GCC accepts it all the time, but it shouldn't I think.
 
Ell
@sehe how would that work? o.O
 
Why template?
 
@R.MartinhoFernandes In appropriate context etc.
Lack of typename being the focus.
 

« first day (920 days earlier)      last day (4034 days later) »