« first day (1797 days earlier)      last day (3156 days later) » 

5:00 PM
@ElimGarak I would imagine there would be fallback. Its kind of life critical.
 
@TonyTheLion Well, VFR is always an option. And the critical stuff is still the classic switches.
 
@TonyTheLion ...yeah (for a rather twisted definition of "cool").
 
@JerryCoffin yea its still a bomber, so thats not cool, but you know what I mean
 
0
Q: How can I implement double buffering in my c++ game?

JoanBI have the problem of the flashing screen and I know that I need to use double buffering to fix it, but I don't know how and where to add it in my game. If for some reason I can't use it, is there any other way of reducing the flashing, because with the bigger maps it's getting worse. Here is par...

lol double buffering
 
5:02 PM
on a console out
 
SR-71's cockpit is kinda claustrophobic. And really has the Star Wars Empire vibe to it.
 
@TonyTheLion if y ou have a verbol with a pointar to pixal colers you can form pixals
 
@Morwenn oh really, lol
 
5:04 PM
Btw. want to see the cockpit of the aircraft the Croatian Air Force uses? Cannot be unseen.
 
you should B&W it, the COLOR IS MISLEADING
 
@ElimGarak do I want to cry?
 
I cried
 
5:05 PM
@Mr.kbok B&W is either old, hipster or mainstream. I don't really fit any of those.
 
@Morwenn not mainstream, old, or hipster? That's something only a hipster would say.
 
upvote
 
@Jeremy Ok, I may be getting a bit old.
 
And yes, all the markings are in Russian (Cyrillic). Except for the components the Russians outsourced.
 
Waiiiiit
Are they in Russian?
Or just in Cyrillic
 
5:08 PM
Russian. The gauges are etched in, I think. MiG 21s are ancient.
 
Tracking branches are great.
 
user1804599
What do you think of capitalised keywords?
 
user1804599
Like this: Public Class Foo.
 
user1804599
Like is usually done in Visual Basic .NET.
 
I don't like them.
 
5:10 PM
Recently, they tried for supersonic flight near our capital. The plane broke apart when it came near the sound barrier. Parts of it fell into the surrounding rural areas, some woman was injured by the debris.
 
user1804599
VB.NET is really cool.
 
user1804599
yes1
 
your opinions are terrible
 
I remember someone creating a lowercase font only for VB keywords.
 
5:11 PM
> Introduction 1959
 
@ElimGarak Not to mention at least one that's clearly marked as being in "feet"!
 
I need some arrays with constants in a header only library, whats the best way to implement them?
 
@JerryCoffin Yes, that, the transponder (XPDR above it) and the "Display" thingy below. Not sure what it displays, though.
 
i've tried defining them in inline functions and returning them from the functions, as well as putting them inside a struct as a member variable, both cases are significantly slower that just having them as a global variable
 
Ell
@elyse I Don't Like Them
 
5:14 PM
but for a header only library i don't want to have to put the definition in the cpp file
 
Basically, everything that can't be built with duct tape and metals used in the construction of tractor cockpits is not of Russian design.
 
@ElimGarak lol
 
@gnzlbg Globals aren't necessarily all that awful as long as they're constants (read-only).
 
they are constant, but I dont want to violate ODR
i've tried making them a static constexpr member variable of a class, but then i have to provide the definition in a cpp file or i will probably violate ODR
 
@gnzlbg Sorry--hadn't yet noticed that you wanted this to be header-only.
 
5:16 PM
I could use an anonymous namespace with eric-niebler static_const trick i guess
 
Meantime, in the USA...
 
maybe i can use variable templates for that
 
s/variable/variadic?
 
@TonyTheLion s/variadic/verbidic
 
pointar formad?
@Nooble how is pointar formad in OpenGL?
 
5:20 PM
Man, the Lounge is the best place on Earth which is not actually a place.
 
it is the best place on internet
 
@R.MartinhoFernandes Win10 and software on it exhibits some weird annoying behaviour
 
I feel sorry for the plebs who have no idea it exists. Muahahah.
 
Middle mouse clicks get registered twice sometimes
 
@TonyTheLion variable
 
5:20 PM
Thunderbird UI sometimes dies after unhibernating
 
what are variable templates?
 
@CatPlusPlus ...how is that different/new?
 
Every update enables a scheduled restart task that always has 'wake to run' set
@JerryCoffin More noticeable than Win8
 
talking about dying
FF dies after having 20+ tabs open
 
@TonyTheLion Some C++14 addition to the template realm.
 
5:21 PM
it never used to do that
@Morwenn link?
 
Also it's suddenly really hot and two beers made me more drunk than I though they would
 
template <typename Typol>
Typol verbibol;
 
@gnzlbg Use Eric Niebler's trick if you really feel like it. It shouldn't be the worst option.
 
@TonyTheLion Not variadic templates
Because good terminology is the key
 
5:23 PM
@TonyTheLion Pure and utter shite.
 
"We can't figure out how to do untyped literals, let's do something far more complicated"
 
it's a core language feature designed to save you two characters in doing something stupid anyway
 
Haha, those guys.
 
@Morwenn TIL
@CatPlusPlus confusing it is
 
5:24 PM
@TonyTheLion You were actually smarter before you learned that. :P
 
You can say that about programming as whole
Or bitcoin
 
The idea is more along the lines of « why the fuck do we need to use function templates and/or static members in class templates when we coud simply have variable templates? », which is perfectly reasonable.
 
it's really not perfectly reasonable at all.
it's fucking stupid.
 
It's perfectly reasonable.
 
it's really not at all.
 
5:25 PM
Soon(tm) I might be doing UE4 C++
UE4++
@Xeo
 
you're assuming that "templates" make sense to apply to everything equally, which is completely not the case.
 
rip me
 
and for example, constexpr function templates are not completely better than variable templates in every possible way.
 
Let's have a simpler abstraction for simpler needs is all it's about.
 
it's really not simpler at all, it's a fucking core language feature.
and the alternative is pretty trivial
 
5:26 PM
I expect you all to buy all of our games so I can hire someone to do programming for me
 
From a user point of view, it's simpler than defining a class member when you simply need a template constant.
 
you don't need to define a class member.
 
C++25 will bring us poop templates and still no modules
 
@Morwenn i've used a static constexpr variable template for now, i'm not sure if that introduces ODR tho :/
 
@CatPlusPlus I'm looking for a new job, do you have a London dept?
 
5:27 PM
Hahaha no
 
That said, I wonder why I'm still discussing the issue with the two grumpiest users in the room...
 
template<typename T> T& f() { static T t; return t; }.
job done.
 
Ask me in 10 years
 
Though you could probably move here and live that 10 years for 1/100th of the cost
(We're not hiring yet)
 
5:28 PM
I don't speak Polish
 
The only danger is getting invaded by Germany again.
 
Neither do we
All you need is "kurwa" and know where to buy alcohol
(That's everywhere)
 
Why buy when you can steal
 
@gnzlbg I don't know.
 
(Note: it might be a better idea to move to Germany instead)
 
5:30 PM
I"m crying
from laughing so hard
I've lost the plot
rip
 
Is that codeword for barfing
Codephrase
 
Does it putting a static constexpr variable template in a header introduce an ODR issue?

template<std::size_t i>
static constexpr std::array<int, i> value{{}};
 
No, just an OCD issue
staticexpr constexpr volatileexpr template variables
Coming soon to garbage can near you
 
verbibols
 
5:32 PM
Let's talk about bullshit fart mechanics in Stick of Truth
 
Never fart on another man's balls.
Bin in 3... 2... 1...
 
I don't know how that formed in your mind
 
I ask myself that every day
 
1 message moved to bin
 
@TonyTheLion What, a pointar?
 
5:33 PM
A babby
 
nuuuu sparkling bob ._.
 
Nobody knows who that is
 
@ElimGarak no the thought about farts and a man's balls
 
@CatPlusPlus robert martin?
 
@Jeremy -1 not sparkly bjarne
 
5:34 PM
@TonyTheLion Stick of Truth. South Park. Y u no play.
 
And by nobody I mean me because that's the only opinion that matters here let's be honest
 
@ElimGarak I suck at gmames
 
cat++ doesn't even robert martin
do you even clean code
 
@Jeremy Who was that?
 
5:35 PM
I'm not a fucking janitor
 
Cat doesn't code, he just mashes other people's codebases together. He's reducing his shit footprint.
 
Wait but really do people not know who Robert Martin is?
 
Better question is
Do people care
The answer is
No
 
Doesn't work? Blame party A. Works? All Cat.
 
@CatPlusPlus Agile manifesto?
 
5:35 PM
@ElimGarak More likely other people's shit footprint
 
Man I fisto
 
i've put it in an anonymous namespace for now
 
Fisto, the Hanar spectre.
 
that should prevent any ODR
 
It won't prevent OCD tho
 
5:36 PM
No, that was Blasto.
 
rip
Blasto my ass to
the moon
 
@gnzlbg Honestly, as long as nothing yells at me for misusing it, I don't really care that much about ODR.
 
fart
Hahaha look at this scrub who never had to dig through 30000 lines of linker errors
 
user1804599
@Ell :(
 
@CatPlusPlus I had to.
 
5:38 PM
@Morwenn is a static constexpr variable so one cannot really change it... but even then i remember from the static const paper that there were tons of issues, variable templates solve some of them
and an anonymous namespace solves the rest
 
Does it solve the problem of C++
 
@Jeremy No.
 
(Rhetorical question)
 
user1804599
 
I really thought that everyone knew who Robert Martin was ._.
 
5:39 PM
@TonyTheLion There's a lot of cool large scale things happening in that space
Stop thinking about webdev as Apache-powered PHP and HTML
 
Ell
@elyse man this has happened before
 
> Robert Cecil Martin (colloquially known as Uncle Bob[1]) is an American software engineer and author. He is a co-author of the Agile Manifesto.[2][3]
Even Wikipedia doesn't give a fuck
Why should I
(That's the whole article)
Also everything I've seen of that guy was nonsense or another name for an existing thing so
 
I will remember him solely because his middle name is Cecil.
 
He is decent iirc but I mix him up with Fowler
@Cat you can write 'Shit Code'
 
meh
 
5:42 PM
Would be a fun book I think
 
I've only ever witnessed him being referenced in an appeal to authority fallacy
nobody has ever actually given any reason why he's anything at all.
 
He probably made that Wikipedia page himself.
 
Have you read Clean Code?
 
user1804599
He's funny.
 
no
 
user1804599
5:44 PM
I need something fun to do.
 
user1804599
I am bored.
 
Ell
@JohanLarsson I have
I found Clean Code really good
Oh wait
Not clean code. Hmm what was it
 
user1804599
Clean Coder?
 
user1804599
Code Complete?
 
Clang?
 
user1804599
5:45 PM
Cumshots?
 
Cumpiler?
 
ah, maybe it was code complete
 
@CatPlusPlus Like what?
 
no idea now, brain has been broken for a long time
 
@ElimGarak Nobody's gonna read Clang and find it really good
 
5:45 PM
@JohanLarsson He wrote Clean code and Clean coder as a follow up
 
@elyse When really bored, I sometimes do useful things like cleaning parts of the house. At least it's kind of satisfying once it's done.
 
user1804599
why are UAP dialogs full-screen
 
user1804599
it's disruptive as fuck
 
user1804599
@Morwenn there is nothing to clean since I don't make a mess in the first place.
 
Ell
@elyse yes code complete!
 
5:46 PM
Also, there was a kerfuffle between Robert Martin and Joel Spolsky + Jeff Atwood back when they did the SO podcasts
 
user1804599
Noun: kerfuffle ‎(plural kerfuffles)
  1. A disorderly outburst, disturbance, commotion or tumult.
  2. 2011 June 6, Mark Memmott, “Sarah Palin's Had Her Say; Now Let's Hear From Paul Revere”, The Two-Way, National Public Radio
 
@JohanLarsson They are interchangeably worth listening to yes
 
@elyse Same here, but dust still accumulates, whether you want it or not.
 
@TonyTheLion Distributed systems man
 
user1804599
let's give EiffelStudio a try
 
user1804599
5:46 PM
oh wow .NET integration
 
Ell
kErfuffleStudio
 
@elyse have you tried VS with R#?
 
user1804599
No, and I won't. Fuck VS.
 
grumpfold
 
user1804599
How does .NET ecosystem compare to Java ecosystem in terms of FOSS libraries?
 
@CatPlusPlus oh butts
 
user1804599
@Jeremy tldr
 
So, I cannot find the article I wrote on deriving Rayleigh scattering from classical electrodynamics. I cannot remember the name of the draft file. I hate when that happens.
 
womp womp wompp
 
shoulda put it in source control
 
5:50 PM
@elyse Then don't. But, it's full of vitriol, and he kinda threatens SO with a lawsuit. :)
 
so i just ended reimplementing the static_const trick...
crap..
 
At least it gets the job done.
 
it is sad that the only way to safely put an array in a header is to use both variable templates and anonymous namespaces..
 
user1804599
{SYSTEM_CONSOLE}.write_line("Hello, world!")
 
user1804599
whoo this is funky
 
5:51 PM
Also, why is styling Latex documents so annoying? Such wonderful equation rendering and typesetting... And then when it comes down to creating something visually interesting, it annoys the shit out of me.
 
@ElimGarak tickz?
 
Use Word
Or Writer
Fuck LaTeX
@Jeremy Neeerds
 
> Variable templates won’t suffer from the ODR problem since they’re templates.
 
depends on what odr is imo
 
Word is really bad at equation rendering in some cases, participating media rendering is basically a shitfest of sausage equations. And refuses to export the fonts properly to PDF. Might have to find an intermediate one for exporting. But it's really good for everything else.
 
5:53 PM
Stop writing equations
Problem solved
 
user406009
@ElimGarak I find that paper > everything for equation writing.
 
Ell
@ElimGarak LaTeX really is bad man
well
it produces great documents
but IMHO it's a terrible experience to write
 
@Ell Yeah, but at least you can simply copy-paste stuff only it works.
 
LaTeX is not hard to write.
 
Ell
it is
 
5:55 PM
its not that bad
 
It's not hard per se, it's just ugly. It is terrible. And I don't like any of the generic templates.
 
Not if your reference point is things that don't look like absolute shit
(looking at you word.)
 
It's garbage
Garbage for nerds
Another so productive day
Passing by
 
Ell
It is easy to write if you're just writing words
but trying to lay shit out is hard
 
I need to lay in images of graphs, test renders, examples renders, tables, equations... And it all needs to be nicely formatted.
 
user406009
5:58 PM
@ElimGarak Paper!
 
I need to lay in some more beer
 
@Lalaland Wait, paper?
 
@CatPlusPlus You know what's garbage? WYSIWYG.
 
STOP, some of us are working here
 

« first day (1797 days earlier)      last day (3156 days later) »