« first day (1784 days earlier)      last day (3390 days later) » 

19:01
0
Q: How to calculate clustering success - pre assigment true classes are known

MonsterMMORPGI am checking clustering analysis at Wikipedia and can not figure out how to apply techniques to this example Assume that i have the following manually labelled data-set Class labels A,B,C,D Variables var1,var2,var3,var4,var5,var6,var7,var8 Variables classes A {var1,var3}, B {var2,var4,var5...

@MonsterMMORPG welcome, question dumper. this is the C++ room, not the help desk :)
whoops :)
@melak47 c++ generally good at such stuff
@MarcoA. I say "dammit" not "damnit" so clearly shoop
i mean c++ coders :d
19:06
People here are active on SO, and they will come across your question without needing you to link it here.
Running linux on Surface Pro 3 because fuck the police
user1804599
Great song.
but srsly, back to windows
@MonsterMMORPG Thanks for providing such an easy downvote opportunity
19:13
@puppy ye since you dont know just down vote :)
in SA if someone downvoting it is almost 100% that he doesnt know the answer
Shots fired
ahaha
fuck
I missed the runway by about an inch
Was the explosion glorious?
not really
I almost made it but then ran into a hill and hit my wings
my craft is small and simple so no big explosion
19:15
Damn it, I planned to write some code now. Oh, well, it's friday... Some KSP can't hurt.
woot
Puppy designed, built, and landed his own plane.
@MonsterMMORPG Before knowing whether or not I know the answer, first I would have to read the question, and since I didn't, it's impossible for my vote to be motivated by my answering abilities.
@puppy then what the hack for you down vote?
spamming your question in here
it is not a spam
the question also includes pseudo code which can be given with c++ as well
user1804599
Aug 25 at 5:56, by Xeo
The Good, the Bad and The Rules.
user1804599
you say that as if the presence or absence of code or it's language makes any difference whatsoever
@MonsterMMORPG FYI, if it isn't obvious enough already: Drive-by-linking is considered bad-taste/spamming. The chatroom regulars really don't like it - especially if it's from an someone who doesn't normally hang out here. Imagine barging into a bar you've never been to and making demands. Chances are, you're gonna get beat up.
@ScottW Hey!
buy a round for everybody, problem solved
How do I find my earliest message again @ScottW?
19:30
i think @AwalGarg made a thing that does that?
hmm
whoops
No but Scott had this fancy binary search thing.
I flew my spaceplane too fast and it blew up due to heat.
ITT @Puppy's a terrorist
user3047181
@Puppy did you really?
19:38
yep.
Ell
Ell
can anyone identify the song here? timed link
excuse the rest of the video :P
user3047181
@Puppy like, a proper one? big enough for a human passenger?
a Kerbal passenger, yes
user3047181
oh -_- i was super impressed for a second
user3047181
makes you wonder though, why there aren't more people in modern times making their own airplanes.
user3047181
19:40
considering that two amateur lads made one a hundred years ago
er, because it's fucking hard and the existing airplanes are amazing pieces of technology?
user3047181
and now we all have money and 3d printers
@MeltyButter It could only fly for about 100 metres. About 5 metres above the ground.
@MeltyButter You can buy kit planes i think
people these days expect to cross the Atlantic in comfort and style.
user3047181
19:41
@Puppy well like ten years later some chick made one that crossed the atlantic
@MeltyButter Certification. FAA, EASA. There's a lot of people who could build good planes, but regulations are strict.
in a terribly unsafe, hideously uncomfortable fashion
user1804599
There are people who cross the atlantic swimming.
user3047181
@elyse no way
user1804599
Benoît Lecomte (born 1967) is a French-born long distance swimmer (now a naturalized citizen of the U.S.A.) who has received wide credit for being the first man to swim across the Atlantic Ocean without a kick board in 1998. He did this to raise money for cancer research as a tribute to his father. During his 3,716 mile journey in 73 days, he was accompanied by a 40 ft. sailboat that had an electromagnetic field for 25 feet to ward off sharks. He was followed by a great white shark for 5 days. He also encountered sea turtles, dolphins, and jellyfish. The feat took him 73 days, with 8 hours spent...
19:42
But certification is good. All planes can crash. And many times, a lot of people die. There is a weight off your shoulders that at least during production, your aircraft was solid and passed off in good faith.
user3047181
@elyse and i was blown away when i heard someone swam the english channel... that is mental, that
user3047181
so why are people impressed with erik the red crossing in a boat?
user3047181
or columbo, for that matter
because they did not have safety boats in case they failed?
because they didn't actually know what was on the other side or if it would be safe?
because they didn't have modern preservatives preserving their food for them?
user3047181
@Puppy well neither did erik or columbus
19:44
@MeltyButter Er, that's my point. Those guys didn't; that guy did.
user3047181
@Puppy oh did benoit get food and water off the boat too? lame
well what do you think he did for the 75 days, ate fish he caught whilst swimming along?
@elyse his speed was a bit over 6 miles an hour assuming he swam at a near constant speed for 8 hours a day
insane
user3047181
@Puppy well yeah,
I can barely do 10 laps at a pool without dying
> Dummies
I can doggy paddle across a pool if you give me 10 minutes
@MarcoA. But he did say plz!
Anyone have any idea what Euler HRP in the context of 3d rotation could stand for? Best I could think of was Heading, Radius, Position. But that doesn't make a ton of sense.
Or Heading, Roll, Pitch. That makes tons of sense
user1804599
@fredoverflow Learning about monads is incredibly easy in APL, since in APL "monad" just means "unary function".
19:53
@fredoverflow yeah but not cock!
hello how is cock formed in grillfriand ?? thank you
7
user1804599
> A monad is just a unary function, what's the problem?
Hey @ElimGarak cum on Nooble
's Skype call and help him fix coed
@набиячлевэлиь firand was better
@sehe was it firand?
I always thought it was friand
Sep 1 at 11:29, by набиячлевэлиь
10/10 perfuckt grillfirand
It's what I liked
@sehe Never caught that one actually
Sep 1 at 11:30, by sehe
that wird
it's a thang of beauty
user3047181
hehe i lurf mi gurlfind!
20:04
1/10 - try again
rejected
melty butter what can an upside-down duck do in Ireland?
user3047181
duck all
user3047181
- like "fuck all", its a pun
the only thing I can think of is having some eggs with pepper outside a cafe in the fog
can't justify the plane ticket just for that though
user3047181
its never foggy in ireland really. just cloudy
20:07
@Borgleader wait, cout in a constructor is bad?
that's incredibly disappointing
user3047181
its the perfect climate really. sunny makes my eyes hurt, and the wind regulates the temperature
yay
puppy SSTO
apparently yes really SSTO
@Borgleader There could be a lot better design than that. Why didn't the poster put in parameters as variables? That would solve his problem, I think.
20:11
-2
Q: How to do Infinite Loop

epoxxyMy purpose is infinite loop. I have to print infinitely this string "Hello World %s" and I can just use ROP (Return-oriented programming). gcc -fno-stack-protector loop.c -o loop i can compile like this. Do you think what should I do. How shoud i do ROP ? #include<stdio.h> #include<string.h>...

user1804599
I should write a compacting GC in Rust.
@Prismatic critical thinking required. Conflating operation with reporting is bad separation of concern. Pop quiz: what's one reason to avoid (say) logging in a destructor?
What the hell is "return oriented programming"?
@Mysticial I suppose FP matches the description
20:12
@sehe ah
hint: that's obviously not what's meant (I hope)
@EtiennedeMartel does english really piss people off that much in quebec
@Prismatic Depends on who you ask.
@Mysticial recursive loop, probably stack-overflow
It ranges from sheer indifference to source of frothing at the mouth.
20:14
@Prismatic Is answering all statements with a "Is X really Y?" a pattern?
(don't answer that)
@Mysticial Leshak
(a.k.a. Haskell)
Return-oriented programming (ROP) is a computer security exploit technique that allows an attacker to execute code in the presence of security defenses such as non-executable memory and code signing. In this technique, an attacker gains control of the call stack to hijack program control flow and then executes carefully chosen machine instruction sequences, called "gadgets". Each gadget typically ends in a return instruction and is located in a subroutine within the existing program and/or shared library code. Chained together, these gadgets allow an attacker to perform arbitrary operations on...
@Wise How should I know why OP did anything =/
@Borgleader Some post to perplex unnecessarily.
20:35
Finds buffer overflow in a userland PS4 app... Leads nowhere.
@ElimGarak JOIN US!
On Skyep
@ʎǝɹɟɟɟǝſ I once wrote a ROP-memory scanner and chain-generator
used some pretty advanced pattern matching heuristics
for ROP-gadgets
then, as usual, work took over and I never finished that project or the paper associated with it
@Mysticial in the security field ROP is a technique to chain prologues/epilogues/executable parts together in order to manipulate the stack as you would if DEP/ASLR weren't active
DEP prevents you from just jumping to a non-executable section, ASLR screws your modules image bases (possibly other stuff too)
now to try to land my SSTO
what's a SSTO?
Ell
Ell
oh fecking feck
20:42
single stage to orbit
basically a plane with a small rocket that's powerful enough to simply fly directly into orbit
uhm, something like the old space shuttle?
not... really, since the space shuttle was lifted by a massive pair of rockets first.
posted on September 04, 2015 by Eric Battalio

You, blog readers, are kind enough to answer our surveys and often provide extended feedback through individual conversations. Continuing to depend on your feedback and kindness, we are sharing another survey : The purpose of this survey is to gain...(read more)

Space shuttle used boosters, linked by the large dildo (fuel stuffs) in the middle.
It basically burned the yearly budget of Croatia in 5 seconds.
hi does anyone the command for curl a page without any html tags in linux terminal
20:48
Interestingly enough, most people think the fuel tank is used by the boosters, which are actually filled with solid-state fuel. The dildo fuel tank is actually powering the main onboard engines and also contains the oxidizer as well. Well, none is used anymore, the STS project is history.
@ScottW Distractions are hard.
ok thanks
GTA5 sucks, I don't have that console feeling. I want something where I can type $walk && shoot passer-by && burp
GTA V is awesome. I use it as a bad flight sim.
20:50
@MarcoA. Compile-time Tetris
All air vehicles are hilariously non-physical
@melak47 No, like auto namedbuffer = gl::NamedBufferExt; If I call it directly and an error happens in that function, the stack chops off the 1 to 2 functions where its being called. If I 'pin' it to a local variable, it does not chop 1 to 2 pieces of the callstack around the place where I called namedbuffer.
?! o.O
everything was going fine until the craft went into a completely uncontrollable spin and hit the ground.
Fucking Webkit has a pixel mismatch wrt to all other browser engines.
20:52
@ThePhD UB
so I went to Switzerland yesterday
and they had those "funny conversion rates" for small amounts of money
i.e. to make it simple, if you have to pay 5 CHF for a newspaper, you can safely pay 5 EUR
that makes things really simple, doesn't it?
if you don't mind getting ripped off
good puppy, you got the "funny" part
oh they're really not as far apart as I expected
Puppy is still distressed by the loss of multiple spacecrafts today.
20:55
did he marry Samantha and had an argument afterwards?
@Puppy what's UB about that?
user3047181
how come I can't use dot separators in a lambda capture list? ridiculous
@melak47 If you're getting bits lopped off your call stack, that's UB.
@MeltyButter whaddya mean
auto p = std::make_pair(1,2);
auto lambda = [x = p.first, y = p.second]{};
works for me
user3047181
@melak47 why can't I just do [p.first, p.second]
20:58
@MeltyButter under what name is that supposed to capture it
user3047181
@melak47 first, second
you should specify it perhaps
first = p.first is fine.
what would you expect [vec.front(), vec.front()] to capture?
I have no idea why you expect a completely random expression to be a legal lambda capture
user3047181
21:01
@melak47 oh yeah...
user1804599
anyone familiar with Rust
vaguely
I am with mold
not really with rust
@MarcoA. you funny guy
21:03
@melak47 it's been a long day..
@elyse why
user1804599
nvm got it
Argh, I got foiled again by VS212's inability to auto-generate move assignment operators.
time to upgrade? :/
user1804599
I just needed, like, one more level of indirection.
21:10
This is not very good advice in the context. Yes - it seems to answer the question as posed by the OP, but you should really try to answer in a way that might help others in the future. The idea of sharing that state globally is simply a very bad idea. — sehe 11 secs ago
@sehe livecoding.tv died here
rip :(
Hehe. I can sit feeling righteous about my major overkill there
@TonyTheLion Just refresh
tried - I get timeout
its a bit finicky that thing
What's Lounge's highest GH streak?
@Puppy Well, its a function pointer that's being redirected against itself when its called.
Like....
static void CODEGEN_FUNCPTR Switch_GetnUniformdv(GLuint program, GLint location, GLsizei bufSize, GLdouble * params)
	{
		GetnUniformdv = (PFNGETNUNIFORMDVPROC)IntGetProcAddress("glGetnUniformdv");
		GetnUniformdv(program, location, bufSize, params);
	}
21:17
@melak47 It's not my call to make here.
Where "GetnUniformdv" was originally set to "Switch_GetnUniformdv"
wat.
It gets a proper address and everything
And then sets it to itself...
So when I first call "GetnUnifrmdv", it loads the function properly.
And then the rest of the time it uses the address got from the GetProcAddress
I... don't think that's UB, though?
... No? Maybe? I'm probably not explaining this well.
darn, can't watch sehe coding because of some stupid "You don't have flash installed"
I have absolutely no idea what the fuck.
9
21:20
Oh. Well, okay, nevermind me then.~
have a star for swear word
I'm assuming GetnUniformdv is some sort of caching function pointer wrapper?
but aren't you still loading the address every time?
It's a function pointer, period.
It's pointed at Switch_{Function Name}
funciton pointar?
The purpose of Switch_{Function Name} is to load the function, and then call it.
21:23
for puppy to say what he just said about code
The function gets loaded, and then gets set into the function pointer.
must be bad
phd what have you done?
N-Nothing!
how do you manage to baffle puppy that much?
@TonyTheLion Quickly
21:25
Okay, I think I get it...but why not just void whatever(stuff...) { static whateverptr = GetProcAddress("whatever"); whateverptr(stuff...); } ? load function pointer on first use, then just call it...also why are you loading the functions manually :S
I'm too tired today, I'll get some sleep
@melak47 ThePhd's mind goes places where no one dares wander
bye guys, bye @sehe, I hope I'll get to watch you coding a bit next time
and thanks for setting it up!
Sounds just like a thunk.
@melak47 whatever_ptr is first set to point at whatever.
So calling whatever_ptr loads it.
21:29
yeah but why...
now you need two functions :S
it's a micro-optimization
@MarcoA. cheers
a normal person would just delegate to the function after loading it
@TonyTheLion still having feed issues?
@Puppy how is it an optimization at all?
21:30
@sehe yes :( tried reloading 10 times, still times out
Because "whatever" comes from the OS, but only on Tuesdays and when the sky is blue and when you've successfully reloaded an OpenGL 3.x+ context since the only one teh OS can load is the OpenGL 1.1 one, because opengl32.lib is a shitter.
you supposedly avoid having to pay the double function call cost after the first time
since the pointer now points at the function you want to call
can't even ping livecoding.tv :/
My cube!
they could have blocked ping off course
21:31
Isn't really a cube...
I dunno what happened but yeah.
@TonyTheLion Maybe they ran out of startup money
@Puppy ... meh :/
@Nooble you got something the screen, good progress :)
@Prismatic sehe is still on it
@TonyTheLion It's infinite progress
@melak47 Pretty much.
21:32
So if you do it "when the program starts", every single function loaded will fail because the right drivers aren't being kicked on by wgl's stuff, so you have to load it either on first use or tell the user to EXPLICITLY load it after they get the right OpenGL Context.
@Nooble hey, you're not supposed to start til tomorrow! :p
I prefer self-correcting function pointer version.
@melak47 It's his engine, Icicle
@ThePhD but you don't do it when the program starts, you do it when the function is called the first time
@melak47 Right, because nobody uses OpenGL functions until after their context is created.
21:33
doesn't glload handle this stuff for you? :S
This is exactly what glload is doing. <_>
graphs are the coolest data structure
We are aware of 523 errors near Prague and Denmark - we are investigating.
@набиячлевэлиь I was joking :)
@ThePhD well then...why do you have to do it? :D
@melak47 Well, extra promo doesn't hurt
Ell
Ell
21:42
Why do I procrastinate sleeping ?
@Ell because internets is better
Ell
Ell
I am so exhausted though
@TonyTheLion you can see the LC chat
> MojoManNearly every chat that came up also had discussion about the issue, so seems pretty wide spread
oh
so its not just me then
I don't think I can finish the engine in time 0_0.
It just doesn't work and I have no way of debugging it because OpenGL.
user406009
21:51
@Ell Did you try more caffeine yet?
user406009
@Nooble 2d is the solution.
user406009
2d is always the solution.
user1804599
Screw GC implementation.
user406009
Think of how much simpler everything gets when it's 2d.
user1804599
I'll use a language which already provides a GC.
21:52
@elyse just direct the user to downloadmoreram.com when memory runs out
user1804599
Such as Go.
user406009
I thought you were compiling to JS elyse?
user1804599
No.
@Lalaland hehe heee
user1804599
Why would you compile to a language which lacks green threads.
21:53
@Nooble :(
user406009
Green threads suck.
user1804599
No.
user1804599
A lack of them sucks.
user406009
await-async for life!
user406009
Anyways, isn't Go sorta the antithesis of a functional programming language?
user1804599
21:54
Go is imperative.
user406009
I'm suprised you didn't chose, say Haskell.
user1804599
It also has about the same concurrency model as mine, which means I don't have to implement that either.
whoops
landed on the wrong continent ;p
user406009
@Puppy Not enough C++ in our discussions?
wat?
user406009
21:57
Nvm, I thought you were trying to make a joke with "landed on the wrong continent ;p"
@TonyTheLion at one point I tried restarting the stream. Shouldn't have :)
no
I'm playing KSP and I landed my spaceplane on the wrong continent.
user406009
Darn, my power is out.
hence I had a slight problem with there not being a runway for me to land on
user406009
That batter countdown it sorta menacing. 30 minutes until I'm out of here.

« first day (1784 days earlier)      last day (3390 days later) »