« first day (601 days earlier)      last day (4347 days later) » 

10:00 PM
@CheersandhthAlf it's sample input
 
I'm lost. D:
Mental SegFault ensue.
 
Assumption, the mother of all fuck ups
% is nothing but "Shift+5" :) — Viswesn 4 hours ago
 
i see to associate it with a grouping algorithm called k-something
google...
 
@sehe The gauntlet is gathering dust! :)
 
10:03 PM
In data mining, k-means clustering is a method of cluster analysis which aims to partition n observations into k clusters in which each observation belongs to the cluster with the nearest mean. This results into a partitioning of the data space into Voronoi cells. The problem is computationally difficult (NP-hard), however there are efficient heuristic algorithms that are commonly employed and converge fast to a local optimum. These are usually similar to the expectation-maximization algorithm for mixtures of Gaussian distributions via an iterative refinement approach employed by both alg...
 
dunno if that helps?
 
@CheersandhthAlf Probably the most commonly used clustering algorithm in the world.
 
@ScarletAmaranth It will continue to do so for at least the weekend, so realistically next friday would be the first occasion. Oh wait, maybe wednesday morning
 
@MooingDuck @AnyoneElse If you guys get an idea of what I did wrong, and a possible correction, let me know. Otherwise I'm deleteing my answer in 24 hours.
 
10:04 PM
@sehe o_O Holy jesus on a stick :)
 
@EtiennedeMartel well i just remembered it because someone asked me about it recently. i recommended to instead just do center-disks and repeated flood fill for 2D data
simpler
 
0
A: How to know underlying type of class enum (C++11x)

Cheers and hth. - AlfBoth Visual C++ 10.0 and MinGW g++ 4.6.1 lack std::underlying_type, but both accept this code: template< class TpEnum > struct UnderlyingType { typedef typename conditional< TpEnum( -1 ) < TpEnum( 0 ), typename make_signed< TpEnum >::type, typename m...

^ Must ... drop ... link ...
 
Bjarne has a very nice dicsussion about this in "The c++ programming language" What changed?
 
10:08 PM
@CheersandhthAlf What changed?
 
yesterday, by sehe
@Drise If you want to plink him, use @ /cc @Jesus
 
@CaptainGiraffe oh, you mean with C++ 11. well first of all you get based enums, like enum X: unsigned { a, b };
 
@CheersandhthAlf i -1ed Nawaz and +1ed howard
 
howard is most often correct. except when he answers my questions, where he has 100% fail rate.
of course that's misleading ;-)
 
10:10 PM
he only answered one
 
Even if Nawas answer is correct it gives me a very cool spine.
@CheersandhthAlf lol
I really dont like this move to smalltalk style features.
 
what do you mean "smalltalk style"?
 
nawaz answer is incorrect because it uses static_case
 
How does Haskell handle dynamic objects?
 
just the concept of asking for an underlying type seems like a bad decision. I know I'm still stuck in the 03 ways.
 
10:16 PM
gotta bedone ifyou want to, e.g., serialize an enum
 
i'm not sure of the standardese for the comparision in my answer, but it works
 
@DeadMG so it's no longer an max int?
 
@CaptainGiraffe Never was.
 
I recall enums being designed for bit patterns.
 
@CaptainGiraffe A 16-bit bit pattern is a bit pattern just as much as a 32-bit bit pattern
 
10:19 PM
@DeadMG sure was in the 98 c++
ok rephrase: Can enums be bigger than ints?
 
YES
 
just assign LONG_MAX to one
not possible in C, but possible in C++
 
@user995434 I'll have to get back to this later. I've confused myself and am no longer being of use. Try Mooing Duck's answer; he's generally right about things. Otherwise, I'll work on it later tonight. — Drise 15 mins ago
oh I wish
 
@JohannesSchaublitb but enums wants to be bigger than LONG_MAX then?
 
10:23 PM
what does the enum want?
i dont understand
 
enum{ A = 8 } gives a 4 bit enum.
 
if you've got an enum that wants things, I think you could earn a Nobel Prize
 
@CaptainGiraffe that is highly unlikely
 
@jalf I'm just restating Bjarnes examples from "The c++ programming lang.."
 
wy does this not work
template<typename T> void f(T const&); void g() {} int main() { f(g); }
:/
ah on my newer GCC it works. weird
 
10:29 PM
Did I ever ask what people in chat thought of the C++ stacktracer I made? (Demo code is lines 229 on)
 
@JohannesSchaublitb still worked with 4.6.1
 
@jalf Nice to meet you jalf, I've read a lot about and from you. Nice to meet.
 
So formal.
Meh, some of my code crashes with GCC 4.8.
 
@MooingDuck could do with a little bit c++11 (thread locals and variadics, at least). Also, no mechanism to switch it of dynamically?
 
@CaptainGiraffe it's only guaranteed to have 4 bits, that doesn't make it a 4 bit enum.
 
10:33 PM
@CaptainGiraffe Oh hi. :)
I didn't realize I was famous
 
@sehe I was testing in MSVC, so didn't have variadics. Thread local would fix the multithreading problem. What do you mean "switch it off dynamically"?
 
@MooingDuck How portable is it?
 
@MooingDuck The only way to avoid costs, now, would be to compile with a NOOP implementation of StackTrace class
 
@sehe now that I reread it, needs more const too
 
@RadekSlupik Pretty portable IYAM
 
10:36 PM
@RadekSlupik runs on MSVC9 and GCC4.5.1
 
@MooingDuck const char* const name?
 
Ell
Hello.
 
@sehe it grabs mutable references, instead of const.
yeah, if MSVC had variadics it would be much simpler :/
 
@MooingDuck So, the compilers of forever ago?
 
@sehe I can't think of any other way to do it. It does add a sizable amount of overhead though, due to not being built into the compiler.
@DeadMG those are the ones I have access to. Should compile on newer as well.
 
Ell
10:41 PM
Is sbi currently listening?
 
@Ell try with @
 
@MooingDuck also on Mac OS X?
 
(and then hide)
 
Ell
@sbi, are you listening?
 
@RadekSlupik I haven't tried, but I can't think of why it wouldn't work
 
10:42 PM
I'll try it tomorrow.
 
sbi
@Ell No, but I am reading.
 
Ell
/me hides
 
Hide or the gorilla will throw bananas at you.
 
how's it going guys?
 
Define "it".
 
10:43 PM
life, basically
by default
 
I like programming and goths and that's my life.
It goes the same as yesterday.
 
sbi
@RadekSlupik Are you sure it's the bananas that you should fear?
 
@sbi Aww how cute.
 
crazy chimp
 
Ell
10:44 PM
@sbi ahh okay. Since you know my story. I sort of had a mental breakdown yesterday in the early hours after spending a day with that girl, then feeling like total shit. About an hour ago said girl sent me a message saying it would be better if we never speak again, and now I just feel like shite. :(
 
I'm sure it's the bananas. They're quite hard.
 
sbi
@Ell I can see how that can hurt.
 
Ell
@sbi just read over history if you don't remember it. Man I just feel like killing myself now o.o I know I won't it just really sucks
 
surprisingly, 'crazy chimp' was left hanging
 
@Ell don't feel like shit! You're awesome!
 
10:46 PM
@Ell girls are mean meanyheads sometimes
 
hey Ell. Get a hang on yourself!
 
I guess that makes them human... ;)
 
sbi
@sehe I minded him making fun of Ell's problem more than that.
 
@jalf "sometimes"?
 
sbi
@Ell I think I remember our conversations.
 
10:47 PM
@sbi yeah. I was considering saying something. About the general trollness of his messages, in fact
 
Ell
Okay :) its just you have given me good advice before and I think you are a good person to talk to. You are wise :D
 
I wonder if this is safe:
 
aw get a room :)
 
#if defined( __GNUC__ )
#   include <cxxabi.h>      // abi::__cxa_demangle, size_t
#   include <stdlib.h>      // malloc
    string demangled( char const name[] )
    {
        int const bufsize = 256;
        char* buffer = static_cast<char*>( malloc( bufsize ) );
        if( !buffer ) { return "?"; }
        int status = 0; size_t length = bufsize;
        char* const resultPointer =
            abi::__cxa_demangle( name, buffer, &length, &status );
        if( resultPointer != 0 ) { buffer = resultPointer; }
 
Ell
@sehe how do I get a room?
 
sbi
10:48 PM
I think, @Ell, you do need some real-world help. You know, people who can hug you, or put their hand on your shoulder. Who can sit and be silent for an hour with you, just to make you feel better. All this stuff which you can't have here. (I am not trying to shoo you away.)
@sehe I considered that, too, but then I just wanted it off the screen and talk to Ell instead.
 
@Ell Well, I don't know how much rep you'd need, but I can start a room from anyone's chat profile. I don't think it makes much of a difference, since it won't actually ever get private as long as it's on chat
 
@Ell just ignore people who hurt you. if you haven't tried to kill them first, they're probably just ungood.
 
@CheersandhthAlf I totally misread that somehow as something completely different. O.o I thought you were telling him to kill her
 
@m
ignore previous msg
 
?
 
Ell
10:52 PM
Okay, I don't like bothering you @sbi and I feel like I might embarrass you a little to talk so openly about it but I have no one else to talk to at this time of night, but honestly I am in such a bad state right now I just can't wait
 
@sehe !
 
@Ell click his picture, then "make a room with this user"
 
Ell
Kk will do
 
sbi
@Ell And if you feel like hurting yourself again, you really, really, really do want to get help. From what I know about that (not much, admittedly), it's very unlikely you will find out of that all on your own, in a phase of your life that's as troubled as this. I think I said it before: If you stub your toe, you try mother's remedies first, but when they fail, you don't feel bad about consulting a medic. There's no difference, really, with what happens in your head.
 
(not that I want you gone, but I think some privacy would help you talk)
 
10:53 PM
i wish i could kill my toes
 
@sbi oh, I broke my leg? I'll just walk it off...
 
I wish I could kill some stupid politicians. They're dangerous.
 
@RadekSlupik then who would make the laws?
 
@RadekSlupik O.O
 
10:54 PM
lawyers will take offence to that
 
@TonyTheLion and @sehe you could speak Dutch you know.
 
Zing
 
My processes are dying from lack of RAM.
 
Feel free to do what you want :)
 
Tony speaks Dutch??
 
10:56 PM
Born in Belgium
 
@RadekSlupik He's from Belgium.
 
how would anyone know? or verify?
 
Cool.
@zalenix easy:
He @Tony allees goe mee uwe?
 
What was that?
 
@RadekSlupik ja alles goed met mij
 
10:58 PM
@zalenix Gibberish. Google translate for you
Useful conversation this
 
@sehe Google translate doesn't do dialects. :)
 
hmmm
 
Ik ben bang dat het woord 'trol' nog herkenbaar is ook al doen we het in geheimtaal
 
to specify a sort algorithm that is exclusively in-place, or to favour a linq-style "return sorted range" style?
 
hahah
 
10:59 PM
@RadekSlupik Come in chat. We can do broabants
 
Someone request feature for chat in SO
for translate
 
What chat?
 
@sehe you mean mumble
 
Zaanse mayo?
 
@zalenix the ignore feature covers my needs
 
11:00 PM
:D
 
Feature requests are ignored by the metafags anyway.
 
mother tongue is for talking to your mother with
 
Tongues are for kissing and for eating.
Talking is for non-programmers.
Boys have ostreams and girls have istreams.
 
facepalm
 
The verbal istreams of girls pipe everything to /dev/null and the verbal ostreams from boys get their data from /dev/random.
 
11:10 PM
Who maintains your code?
 
PHP developers.
 
@ScottW come see
 
(added)
 
(updated)
1 message moved to bin
 
Oh c'mon now guys
did I hurt feelings ?
 
11:12 PM
@zalenix no idea what you're talking about
 
This chat room has made me insane
G4U
 
to name the algorithms SQL-style, or functional-style?
 
@zalenix you must be new here.
I am delete here.
 
@ScottW Got a point. Maybe
@RadekSlupik Just leet
 
OT
 
@zalenix OT? Off Topic?
 
puppy, are you getting more strawberries...
2
 
?
why so serious peopooool?
 
i'm thinking, like, whole entrecote baked in oven, with potato salad, and tomatoes
that's because it's over midnight and then i get hungry
 
11:27 PM
@zalenic because strawberry.
 
@RadekSlupik How about RAWBERRY?
 
served cold by a hooker. SLURP
 
ohhh puppies
 
11:31 PM
:D YMMV
 
vommitting your strawberries @DeadMG are we?
 
The puppy is vomiting strawberries
integrally
 
like a king
 
Like me?
 
11:35 PM
bring the pot, then we'll talk
 
did anyone post this yet?
 
@CheersandhthAlf What
 
"Visual Studio Express 2012 for Windows Desktop"
 
@CheersandhthAlf oh thank goodness
 
yeah, my reaction too :-)
 
11:38 PM
> Visual Studio Express 2012 for Windows Desktop will provide a simple, end-to-end development experience for developing Windows desktop applications targeted to run on all versions of Windows supported by Visual Studio 2012. With this new Express edition, developers will be able to use C++, C#, or Visual Basic to create Windows desktop and console applications.
 
"MFC is NOT in VS2012 Desktop Express. Sorry. Never was in Express, still isn’t. But IIRC the rest of the things I mentioned, such as the other language compilers, are included in Desktop Express since it’s a cross-language SKU approach now, and it has all the other new VC++11 stuff, so for VC++ Express users this still represents a superset of what was available before." - Herb
 
^ Sample.
I don't know much about metal actually.
 
lemme lissen
 
looks like an "interesting" video to watch
just look at the title :P
 
11:44 PM
Wow, I leave you guys here for a few hours and I come back to chat full of puppies and very weird songs.
 
Screaming metal is silly
It's like the result of people taking metal seriously
 
@StackedCrooked not bad
 
i still like "Little Wing" played by Stevie Ray Vaughan
 
so, if my unicode library has functions for comparing case sensitive/insensitive, with codepoint equivalence/canonical equivalence/compatibility, is there any other types of comparisons that I'm overlooking?
 
11:51 PM
@ScarletAmaranth Why are you not on mumble?
 
@StackedCrooked Listening to some Pink floyd at the moment (for the last 4 hours actually). Oh well, I'll come ;)
 
@ScarletAmaranth 40 minutes doesn't a few hours make
 
@StackedCrooked Y U NO say something! :)
 
he he what i find
 
TIL the coke bottle shape is trademarked
 

« first day (601 days earlier)      last day (4347 days later) »