« first day (1585 days earlier)      last day (3381 days later) » 

12:00 PM
@Rapptz Why are you asking?
 
@Xeo sure, but they would have to do something, like spawn a new bullet object, and you can predict when that will collide with something.
 
Why can't I ask?
 
This was explained in the context of a space sim :P
 
@Rapptz Sure you can ask. Now answer my question.
 
I just wanted to ask.
 
12:01 PM
That's not an answer.
 
huh, our code itself is pretty good, though. not bad for 2006
 
Xeo
6 mins ago, by Jefffrey
Why am I so angry, damnit.
Think about that, and cool down ffs.
 
maybe I could resurrect it
 
@Xeo I already have an answer.
 
@Rapptz Grave robbery is obviously illegal in most jurisdictions. I don't think a "burden of proof" fight is necessary here.
 
12:02 PM
don't
what are you doing
 
A quick Google search turns up many examples
 
@Jefffrey lol
 
@Jefffrey Having a friendly conversation about grave robbery, and drinking coffee. You?
 
That will end the discussion immediately
 
12:03 PM
This fight was mine
You fight robber.
 
You're weird
 
That's irrelevant.
 
You stole something from me now.
 
Right so I'll have to shelve Asteroids for now and get back to work. Transforming a namespace into a "static class" because C++ has no namespace template arguments. Grr
 
12:05 PM
Are you also stealing the fight I'm trying to get you in?
What the fuck dude.
 
@LightnessRacesinOrbit You already were frustrated with the lack of this feature, was it last week? :p
 
@LightnessRacesinOrbit 'obviously'?
 
@Rerito A few days ago yeah
 
@Jefffrey Just for you I'll continue.
 
@Rapptz Perhaps "unsurprisingly" would be a better choice of word.
 
12:06 PM
@Xeo I love the phrase "cool down ffs" ;)
2
 
@Rapptz Do you think it's likely that grave robbery is legal, or are you just picking a "debate rules" fight for the heck of it? (No problem if so)
@BartekBanachewicz haha
 
@LightnessRacesinOrbit What is the difference legally between 'grave robbing' and 'archaeology'?
@LightnessRacesinOrbit Curiosity.
 
@Rapptz Now that is a good question
 
Xeo
@BartekBanachewicz I'm annoyed at the behaviour.
 
yes, let the hate flow trough you
 
12:06 PM
@Rapptz archeologists have legal rights
 
When they keep unearthing skeletons I'm like FFS what are you doing let the poor wankers rest in peace
Law notwithstanding
 
@Xeo I know. I didn't mean to upset you more, I just think we're all a bit heated lately.
 
@BartekBanachewicz I'm in heat.
 
Barteks gonna bartek.
 
12:07 PM
@BartekBanachewicz Oh well. So, the idea I had was some kind of 2-player Life. Like 0-player life, but there are two colors of cells. Players build patterns like glider guns and stuff and, well, those fire gliders at your opponent and disrupt their stuff and so on. I'm not sure how well it'd work; I suppose a player that manages to set up a breeder will win outright, but I wonder how feasible it'd be to set up a breeder while being bombarded by gliders.
 
Xeo
@LightnessRacesinOrbit Who are you, rightfold?
 
What you slapfightin about again
 
Here we go again
 
@R.MartinhoFernandes That sounds like a game to implement in Mathematica
or at least prototype
 
Life Wars
 
12:09 PM
@R.MartinhoFernandes so, are you abandoning the project (and that's why you finally shared) or do you want input or ?
 
@Xeo You accidentally plinked me instead of @райтфолд
 
Xeo
That was no accident.
 
@CatPlusPlus Nobody's slapfightin
 
@CatPlusPlus nothing really, we debated fixed/variable time ticks and jefff called me a condescending prick. That's all.
 
@Xeo I think you missed my funny joke
inb4 what funny joke
"inb4" is my favourite thing
inb4 we know
 
12:10 PM
@LightnessRacesinOrbit That unfunny joke.
 
tried to start a discussion about the namespace template wankery on work's Skype chat. nobody interested.
it's like I don't actually work with programmers
 
because that's not what namespaces are for
 
SCARLET!
Last Mentalist tomorrow :(
@ScarletAmaranth it could be, quite easily
 
@BartekBanachewicz That "condescending" thingy must have been a real trauma for you.
 
12:11 PM
yup :-\
 
@Jefffrey STOP!!
 
Just wondering if it sounds like it'd work; seeking input to see if it's worth pursuing.
 
@ScarletAmaranth this season's been so good, too
 
@LightnessRacesinOrbit He brought that up again, for no reason.
 
Plonking the both of you
 
12:12 PM
@R.MartinhoFernandes I wrote two-player game of life two years ago, but had no idea how to make it interesting.
 
I'm in too good a mood today for Lounge drama
 
It's not like Cat actually cares what we were fighting about. He just needed to say that again.
 
@LightnessRacesinOrbit yeah; were they trying to imply that Patrick killed the "psychic" guy? (smell of beer, fraud...) - I mean, of course he didn't
 
@ScarletAmaranth I didn't take that implication
 
I wish I could plonk people in real life
 
12:13 PM
@LightnessRacesinOrbit They dropped all the shady stuff with the eavesdropping on Rigsby/Van Pelt they did on s6
 
@chmod711telkitty :D
 
@R.MartinhoFernandes implementation is trivial. Do a networked version and let's just play it. Give each player a counter that ticks at a set rate and each tick is one manual flip of the field. Divide the board in two and allow only clicking on your side
 
@Rerito Yeah - one network release said that the season's events would have repercussions on Rigsby. Probably a typo for Wiley.
 
@chmod711telkitty See "Black Mirror" (the series)
 
So in the end I dropped it. (like almost every project I started)
 
12:14 PM
I am not sure how scoring would work though
 
@BartekBanachewicz I was actually thinking about being even more restrictive and having less than half the field for each.
 
@R.MartinhoFernandes works too.
 
All the world's a field
 
one thing I fear is that the middle area would quickly litter and form an impassable barrier
 
@Xeo Can you ban me for like 24 hours? Thanks.
 
Xeo
12:15 PM
No
 
That also makes sure you can't build ginormous puffers or something.
 
@sehe: Oh, I absolutely discourage it (see my answer!). I'm just saying that to indicate that one "can't" is false. :) Man, I wish! — Lightness Races in Orbit 19 mins ago
@LightnessRacesinOrbit Good to see you're still capable of intentionally misunderstanding things by being pedantic then :)
 
@R.MartinhoFernandes you can't because set tick rate
 
@Xeo Why not? Isn't that what you want?
 
@BartekBanachewicz ?
 
12:16 PM
if you set out to build something huge you'll run out of manual ticks
 
If you have ticks, you should visit a top-rate doctor.
 
@R.MartinhoFernandes well that was my idea
 
Oh, I was going for something more real time.
 
you start with say 50 ticks and then you get one per second
that's still real time, but a bit less chaotic
 
With some sort of atomic builds, i.e., you can paint stuff temporarily, and then press a button and it all gets painted at once.
 
12:17 PM
@R.MartinhoFernandes that's why prototype
 
Chaos is the metafeature binding together all of reality, and all of us with it.
 
@R.MartinhoFernandes why not store the winning combination then and just paste it into the field?
 
@LightnessRacesinOrbit I am fairly displeased by the fact that Heller isn't really working on anything interesting as of current; would be cool if he started a new serie
 
@BartekBanachewicz There's no winning combination.
 
@ScarletAmaranth series* Yeah, like a new season of the Mentalist!
 
12:18 PM
@BartekBanachewicz lol
 
What are the ban scales? 1 minute, 30 minutes and then...?
 
Puffers will get disrupted and blown to bits if they crash into something.
 
I still want Jane to be Red John.
 
There's really no way to build some dynamic structure that is immune to external interaction.
 
@LightnessRacesinOrbit it was an arbitrary decision... could have been any of the listed guys then; bit of a shame :-\
 
12:19 PM
Just spam r-pentominos
 
Immunities come in part from vaccinations which in turn do not cause autism, except in some subspecies of Vulcan seylat.
@ScarletAmaranth yes
 
@R.MartinhoFernandes okey, so how would you score
 
What is a "puffer"?
 
number of your pieces that get into your opponent's side?
 
"why are we overrun with idiots" - the only answer there is that there are too many individuals who just will not give a damn/comprehend. Or they're so desperate that they'll go on anyway. "If it's possible to build dikes, why do we still have floods?" "If we can kill ants with poison/lure them away, why do they still keep coming"? — sehe 1 min ago
 
12:19 PM
@LightnessRacesinOrbit a GoL structure?
 
@LightnessRacesinOrbit A pattern that moves across the universe leaving debris behind.
 
Maybe I'm being slightly cynical there ^
But at least it saves me from feeling entitled to overreach
 
Ideally the debris are shaped like something useful, like glider guns.
 
@thecoshman That's a nice way to explode the system :v
 
12:20 PM
@R.MartinhoFernandes lol
you're thinking that scale
 
@Xeo Time is an event too!
 
@thecoshman Whether or not you can see them now is besides the point; you will see them when they come into view and you kind of want the object to have had a meaningful and rational history when it does. Otherwise the moment you turn yourself 180º all your objects start flying right through each other, which is a bit shit. No?
 
But even a static structure surrounded by glider absorbers will fail because you can't have absorbers next to each other (overpopulation) and the gliders can pass between them. Or you get bombarded with spaceships and your glider absorbers break. There really is no stalemate.
I'm only concerned about the opposite: no useful structure ever remains for any usable period of time so it's not fun.
 
A stale mate is someone with whom you enjoy eating slightly dated bread products, often accompanied by butter or jam.
 
@BartekBanachewicz Glider breeders don't have to be ginormous.
 
12:23 PM
I just had a brilliant idea
 
Everybody duck!
 
Xeo
@R.MartinhoFernandes You'd need to be able to have generated stuff not interfere with self-placed stuff from the same player, or something?
 
it's never going to work, it's too idealistic
but it's great
 
Ell
How about you have some cells you have to defend?
 
I thought about that
 
12:25 PM
@BartekBanachewicz With 38 cells in a 135×41 box you can make a breeder that breeds puffers.
 
A breeder that breeds puffers that replicate themselves.
 
you're such a fucking nerd
 
9 mins ago, by R. Martinho Fernandes
With some sort of atomic builds, i.e., you can paint stuff temporarily, and then press a button and it all gets painted at once.
 
I don't know if that's a good idea actually ^
 
Xeo
12:27 PM
@R.MartinhoFernandes No, I mean so you can have a defense in front of generators without the generated ships destroying that defense
 
@BartekBanachewicz Thinking of having conquering your opponent's build space as a goal.
 
have any of you used any entity-component-system libs for c++
 
A generator is someone who consistently rates girls named Jenny out of 10 for attractiveness intelligence and engineering prowess.
 
@Pris no, but they prolly suck
 
12:28 PM
lounge<c++> is all about the broad sweeping generalizations
 
"prolly"
 
@BartekBanachewicz why do you think that?
 
Feb 13 at 16:47, by Bartek Banachewicz
you haven't even read the article, but you already have an opinion about it.
Feb 13 at 16:47, by Bartek Banachewicz
@Jefffrey You know, I thought you were better than that.
@BartekBanachewicz You're such a hypocrite sometimes, boyo
 
@Pris because most of the libraries for C++ suck, and tend to suck even more when it comes to gamedev
 
12:29 PM
Can't really fight logic like that
 
@Pris that's not logic, that's experience
I wish you the best of luck with using ECS libraries in C++
 
@Mgetz lol at the sensationalism of that article. I read the story elsewhere and just got facts (well, as far as I know)
 
@BartekBanachewicz Like, you cannot manually clear any cells in your build space that are of your opponent's colour. Yours you can repaint as you wish, but your opponent's you'll have to kill with your troops. If you get >x% of your build space of the colour of your opponent at any point, you lose.
 
12:31 PM
@R.MartinhoFernandes funny
 
I'll give it a try when I get the time.
 
hmpfh I've just realized I can't slap "every x seconds" in the update loop
 
@LightnessRacesinOrbit eh, we'll see. I think it's focusing on the security aspect. My major concern is that these holes in many cases still exist. More to the point some of these people are retiring and not all of them are going to work for private security firms. Some are finding more lucrative jobs in Organized Crime.
 
it needs an unique ID or something otherwise the thing will just keep adding the events
so a CEO of competing game company wrote me a cold email with offer and got my name wrong
 
@Mgetz dosh dosh dosh
 
12:34 PM
Ugggh client wants a staging deploy RIGHTNOWDAMMIT and nothing is fucking ready
 
@BartekBanachewicz competing with yours?
or of your job
also how did he spell it
 
Braket
 
@CatPlusPlus Shouldn't the server be handling that?
 
@LightnessRacesinOrbit the security side of things I can't worry about too much because it's going to get a lot worse before it gets better due to IOTs
 
Braket Orangechweits
 
12:35 PM
@CatPlusPlus Then maybe to back to work instead of chatting in the Lounge? :P
 
sorry
 
@Jefffrey What?
 
bad joke
 
@Mgetz I don't know what IOT is
 
Provisioning runs take forever
20 fucking nodes
 
12:36 PM
@LightnessRacesinOrbit Internet of Things
 
Everyone is bad at security
 
such a good tune
 
Bye
 
@LightnessRacesinOrbit yeah, who needs to worry about NSA when your lights have such bad security that Organized Crime can extort you just to allow you to use illumination
 
12:39 PM
@Mgetz I don't worry about the NSA
 
@LightnessRacesinOrbit he used a completely different name
 
@BartekBanachewicz "Dear Vlad from Moscow, ..."
 
@Jefffrey Good bye.
 
@LightnessRacesinOrbit fair enough GCHQ reads all your email anyway
 
@Mgetz yup
lol C++ I need typename in a typedef
wait no that doesn't work either
typedef N::field_key_t field_key_t;
// fields/../fieldset.h:39: error: type ‘N’ is not derived from type ‘productname::fields::preg_fieldset_t<N>’
// fields/../fieldset.h:39: error: expected ‘;’ before ‘field_key_t’
awesome
and this
// fields/../fieldset.h:40: error: declaration of ‘typedef struct productname::fields::fields_t<N> productname::fields::preg_fieldset_t<N>::fields_t’
// fields/../fieldset.h:12: error: changes meaning of ‘fields_t’ from ‘struct productname::fields::fields_t<N>’
 
12:46 PM
Hi.
Is there a place where I can i buy criticism?
10
 
@Elvisjames I'll just PM you my Paypal address, then we can get going.
 
@Elvisjames generalizations and insults are free here tho
 
actually, the fact that the search results don't even include the match in the message I'm replying to is telling of the search result accuracy. so never mind :P
now fix my C++ plz kthx
 
Good morning everyone!
 
12:54 PM
@LightnessRacesinOrbit decltype maybe?
 
dont fink so
hi Nooble
 
@Elvisjames You have arrived. If you code is sufficiently mind-blowingly batshit-bad, we may even pay you.
 
@LightnessRacesinOrbit Hey :)
 
I passed webdev
I'm the god of fakery
it was a classic "as long as the things on screen look right it's right" exam, like most during the re-take session
half of the time I was like "wtf am I doing"
 
@AlexM. hiihi
 
1:00 PM
the other half I was like "ok I'll make it look like it says here, may god have mercy on my soul"
 
@AlexM. on the screen? How does the exam look?
 
got a 8.3/10
e.g. it was something about making some elements selectable under certain circumstances and stuff
 
Nice.
 
I actually just simulated selection using some visual cues like background changes and said "selection works perfectly but the functionality for the extra stuff is not there"
 
Whilst you were suffering with that, I was sleeping.
 
1:02 PM
turned out that was enough to get full points for having the selection work
lolol
I feel so bad
there was this chick who got a 6 initially and came back for a grade raise
and she actually took everything seriously and studied, and also attended college the whole semester
 
Tryhard
 
yeah lol
I still feel bad for being able to get ahead of her with lots of googling and fakery
 
user1804599
I think I will write a register-based VM instead of a stack-based one.
 
the prof was all like "ooh hey X, what's up" with everyone
calling their names
I was the only one he didn't know anything about
 
user1804599
1:07 PM
It's easier to generate, analyse and inline code for it.
 
or who I was
lololol
 
What would be a great undergrad college project?
 
user1804599
Stalingrad.
 
Nothing, because you're not getting paid
 
1:10 PM
@Elvisjames something done the night before presentation
 
grr can't get a testcase written
 
@LightnessRacesinOrbit They changed to Elastic Search or something recently, and I suspect there some kind of cache now. It used to be that a message with a link to a chat search would immediately have the message itself in the search results. Now that doesn't happen anymore.
 
@R.MartinhoFernandes I shee
 
@AlexM. Isn't that the way you're supposed to do it? That's what I've been doing for all my presentations.
 
Nov 19 '14 at 10:17, by PeeHaa
@LightnessRacesinOrbit They moved to elastic search making the entire chat search even more crappy (yes that apparently is possible)
(found that by testing whether your message would show up. it doesn't.)
 
1:13 PM
lol
 
lol
I'm hungry.
 
user1804599
aaararrgh Image.save closes the I/O object
 
Do you guys have any recommendations/preferences on accessor naming? I was thinking of going with C# style accessors foo(){return mFoo;} and foo(int foo){mFoo = foo;}. Are those to unclear, should I use a combination of C# and Java style? So foo(){return mFoo;} and set_foo(int foo){ mFoo = foo;}
 
Don't use accessors.
 
Ok, may I ask why?
 
1:21 PM
@NoahHuppert Because if a function does something meaningful, it should be meaningfully named
otherwise let the members keep their invariants
 
146
A: Why use getters and setters?

R. Martinho FernandesA public field is not worse than a getter/setter pair that does nothing except returning the field and assigning to it. First, it's clear that (in most languages) there is no functional difference. Any difference must be in other factors, like maintainability or readability. An oft-mentioned adv...

@NoahHuppert How about turning the question on yourself?
 
Will do, I am coming off a Java heavy project so they are second nature atm.
 
next semester I have to do maths :'(
maths that starts with this stuff "Interpolation and Quadrature"
I don't even know what the fuck those things are
 
@BartekBanachewicz that
 
@AlexM. We have it this semester and it's quite easy
 
1:28 PM
That SO Answer really put it into perspective. It is doing the exact same thing as = and if you change it to possibly validate and reject the setting of a var it is now acting differently then when you used it in every other case.
 
@AlexM. Do you study or teach?
 
@NoahHuppert although a comment on it is a good point
 
@NoahHuppert Yep, that's the gist.
 
I disagree, you should always use at least setters. You use one argument for setters and indeed argue against it properly but there are more arguments. The simple possibility is that you later on perhaps find a far more efficient algorithm to implement the exact same interface that might require a setter to do something like at the moment something is set hash a value immediately. Setters can do anything direct assignment can and more. With the possibility that you later find a more efficient way in mind. There is no loss to using setters from the start. — Zorf Oct 14 '14 at 12:37
 
there's a loss of clarity
> It's a beautifully simply piece of code until you realize its a setter.
 
1:29 PM
@Elvisjames study
 
lol > Bartek
 
lol butthurt:
ok, i'll delete it . Just one question, does c++ allow splitting the input using a regex? @BЈовић and don't call regex as garbage.. — Avinash Raj 29 mins ago
 
user1804599
lazy I/O being the default is fucking terrible
 
@l4mpi Re: constructiveness: you entered that rather late. Do you wish to remove your comments in relation to downvoting/punishing? I'm all in favour of educating the OP. I do it all the time. And it works, often. However, downvoting good answers is like poisoning the humans because poisoning the ants didn't work out. — sehe 26 secs ago
Meta is good punishment for entitled bossy SO nerds
 
what the fuck
this exam will be hell
the final boss of college
 
1:33 PM
-2
A: How to split a string using STL?

A Thttp://stackoverflow.com/a/237280/587021 FWIW, here's another way to extract tokens from an input string, relying only on standard library facilities. It's an example of the power and elegance behind the design of the STL. #include <iostream> #include <string> #include <sstream> #include <a...

 
we had math only on the first year
 
WTF, this guy just quotes everything from another answer.
 
SE is offline?
 
oh noes SE is offline!
 
World has ended
Brb going to bunker
 
1:36 PM
Ok you won!
 
My 1.7MB C++ file takes 2 minutes to build and produces a 2MB binary.
 
> Lady Gaga is engaged to longtime boyfriend and Chicago Fire actor Taylor Kinney. She announced the news on Monday, two days after Valentine's Day
 
Fear not, the best part of SE is clearly still working.
 
I downvoted and it broke from the sheer authority
 
Ell
@AlexM. What are w and f?
 
@Ell I don't know
 
seriously StackStatus posted that they will get it down for a minute
 
it's about Gauss
quadratures
and lots of weird shit
 
no need to post shitload of screens and "me-to-s"
 
In numerical analysis, a quadrature rule is an approximation of the definite integral of a function, usually stated as a weighted sum of function values at specified points within the domain of integration. (See numerical integration for more on quadrature rules.) An n-point Gaussian quadrature rule, named after Carl Friedrich Gauss, is a quadrature rule constructed to yield an exact result for polynomials of degree 2n − 1 or less by a suitable choice of the points xi and weights wi for i = 1, ..., n. The domain of integration for such a rule is conventionally taken as [−1, 1], so the rule is stated...
 
1:38 PM
@Bartek SO is down
 
it's this
 
two is not "shitloads"; calm your knickers
 
Annddd we back
 
IT'S BACK GUUYS
 
Fascinating
 
1:39 PM
@CatPlusPlus somehow
holy fuck
wtf onebox
> The reason I am using pointers is mostly because the internet told me to, and somewhere it says that that wouldn't work, and you have to use pointers. But thank you for pointing out my gullibility to the internet
 
He follows the internet... lol
 
uh ffs why haskell doesn't have whenM
 
1 quick style question and then I'm out, Is initializing member vars that are not passed through as a constructor argument in this fashion Foo(): mOne(2), mBaz(new Foo(2)){} a bad idea/style. Should should vars be initialized in the constructor body?
 
it's not a style question; you will take a performance hit if the thing you're initializing is naughty
 
1:47 PM
lol performance
 
just stating the facts, cat!
 
You'll need to make the types default-constructible for no reason
 
user1804599
 
I mean - just stating the cats, fact!
 
That's the important part
 
1:48 PM
thought that one's obvious :P
 
What is the name of that style of initialization? I would have StackOverflow'd that but apparently "C++ Constructor with colin intilizer things" is not a good query
 
1
A: Trim / Remove useless whitespace and tab from a string

FredOverflow I can only use C++98, regex are for C++11 Here is a super-efficient in-place solution that does not require any libraries and works in C++98: template<typename FwdIter> FwdIter replace_whitespace_by_one_space(FwdIter begin, FwdIter end) { FwdIter dst = begin; IGNORE_LEADING_WHITESPACE: ...

gotos in templates... gotta love C++ :)
 
bah I should use rankNTypes more judiciously
 
@NoahHuppert lol new
 
Yo, I had to think of something!
 
1:55 PM
Condolences
 
@R.MartinhoFernandes It's a good answer :) Flagged and dv
 
@NoahHuppert Suprisingly, second link in Google or DuckDuckGo query answers your question
> It's a member initialization list.
 
`for(auto i: 1 to 100){}`
Why doesn't this work ?
 

« first day (1585 days earlier)      last day (3381 days later) »