« first day (2111 days earlier)      last day (2841 days later) » 

4:01 PM
C++ master race
 
i'm counting in weeks
 
I'm counting in floats
 
i mean, days and weeks are as accurate, weeks never deviate in day count
 
lol
 
@HugoCornel i thought people counted in whole numbers
 
4:03 PM
@ChemiCalChems Not in the US constitution.
 
oops\
 
um sure
thanks
 
Accidentally copy pasted some code of my project
 
@HugoCornel If you need/want to post code, post a link (e.g., to the code on coliru).
 
Trying to make a voxel engine
Is this chat about C++ philosophy or something?
 
4:05 PM
@HugoCornel Just look around.
 
@HugoCornel "Or something" probably covers things fairly well.
 
A V !A
 
Why were people talking about HTML?
 
Why wouldn't they
 
@HugoCornel because we are polyglot
 
4:06 PM
C++ MASTER RACEEEEEEEEEEEEEEEE!!!!!!!!!!!!!!!!!!!!!!!!!
 
@HugoCornel we... know
chill pls
 
This room evolved over the years
People that talked about C++ all the time either went crazy or killed themselves
 
Natural selection.
 
yeah
 
or retired
 
4:08 PM
they kept on discussing weird semantics and eventually grew brain cancer
 
@HugoCornel You should start to adapt to other languages too if you don't want to... "retire yourself".
 
html is a good start
 
@Shoe i mean, it's still an industry standard, but knowing other languages is also nice
 
after C++
 
@ProblemSlover that's not even a programming language
python is a much better choice imo
 
4:11 PM
Moreover C++ people definitely do not procreate, by definition. So it's hard to keep the gene going in future generations.
 
@Shoe yeah
 
Ell
@R.MartinhoFernandes I was looking at implementing the special font rendering stuff a long time ago
I really ought to give it a crack
It sounds very difficult and I'm not sure where to start, but I think it would be an "impressive" piece of code
And by that I mean something solving a real problem
 
I'm 29. That means I've taken enough radiation to increase my risk of cancer by simply being alive on Earth.
No, wait, that's not a proper reading.
It only increases the risk if taken over a year.
I thought I had a decent gauge of the scales involved, but I actually learned a lot just from doing this.
I like the fact that if you were to take your life's background radiation all at once you wouldn't suffer from radiation poisoning.
 
I'm shit hole is widely offered the CT scan as the way to diagnose the bunch of diseases . People standing up in lines for this service,. but they don't even realize that they will receive the dosage of radiation as much as for year. + it's ionising radiation
 
@ProblemSlover So?
Check my table.
That's still 14-30 times less than the amount needed to increase your risk of cancer.
 
4:30 PM
@R.MartinhoFernandes well.. it may take years or decades after exposure
 
@ProblemSlover Wut.
@ProblemSlover Did you read what I wrote?
 
@R.MartinhoFernandes Hmm...my recollection was that somebody who lived a long time (say 100+ years) received their lifetime dose of background radiation all at once, there was a reasonable chance they'd show some symptom of poisoning. Has my memory failed yet again?
 
@JerryCoffin No, that's spot on.
> Dose causing symptoms of radiation poisoning if received in a short time | 100y
 
@R.MartinhoFernandes Ah, yeah--just opened your link and found it. Thanks.
 
@R.MartinhoFernandes Man how many Scans did you get?
 
4:36 PM
@R.MartinhoFernandes What's that?
 
@Shoe It's Randall Munroe's Radiation Dose Chart with the units changed from sieverts to seconds of background radiation.
 
Im not trying to get argument started, but. If i can get two paperback books , which one for C++ Would you reccomend? (here is list of good books from stack: stackoverflow.com/questions/388242/…)
 
Lotsa rounding. Primary goal is easily gauging the severity of different events.
In increasing order, just in case it's not clear due the sudden unit shifts.
(There's a 14w-100d-7mo sequence; that's cause the 100d one is set by decree so I chose to keep it as faithful to the real value as possible)
 
read github. stackoverflow.
 
@ProblemSlover So now you should be aware of how your reply was a non-sequitur.
 
4:43 PM
@user5600875 Depends on your background and your style of learning (different people relate well to different authors).
 
@R.MartinhoFernandes My concern right now is to get some sleep rather than ...
 
@user5600875 No idea. A few x-rays.
 
@JerryCoffin Well im more a Paperback person. Will you call it wierd to not relate well to C++ Primer ?
 
@user5600875 I just said different people relate well to different authors. That sounds to me like pretty much the opposite of thinking it was weird if you don't relate well to a particular author (or book, etc.) If you want a smaller book and have some background in programming in a different language, I'd consider Accelerated C++.
 
@JerryCoffin Yea Accelerated C++ was my number one slot :( . Im really struggling on my second spot
I got Thinking in C++ , Exceptional C++ , and Modern C++ Design
 
4:53 PM
Made it prettier.
 
@R.MartinhoFernandes I think your exagerating when you saw "a few" . I barely ever got an X-Ray lol
 
What?
Why do you think I'm exaggerating?
 
"Effective C++ (Scott Meyers) This was written with the aim of being the best second book C++ programmers should read, and it succeeded. " . Wow.
@R.MartinhoFernandes You have 6 rays and CT Scans.. I think thats a little more than "a few" ;)
 
where does over 50+ come in?
 
5:00 PM
What @roscoe_casita @R.MartinhoFernandes ?
 
./nod
 
earlier today.. 273 notifications. ridicolus imgur.com/tItvtHg
 
Xeo
> poinoning
Might wanna fix that, Robot
 
Xeo
Also, it's kinda jarring to read "1y, 20mo, 2y"
and I think the 11y and 14y rows are swapped?
 
5:10 PM
@R.MartinhoFernandes @Jerry scares me sometimes
 
@Xeo ah, dammit.
 
Ah... came across a nice flamewar on Intel processors. Been a while since I've had something worth reading during lunch...
 
@BartekBanachewicz oh. That was cause Randall's not in order. I'll fix at home.
 
so is there a way to actually plan the ascent in ksp
 
5:13 PM
like I don't think nasa simply gave control to pilots and told them to "slightly lean east"
 
I just eyeball the whole thing.
 
I am pretty sure they brought everything they had to compute the most optimal route WRT speed and AoA
 
@Xeo dammit. Earlier Bartek ping was for you
 
Xeo
Gotcha
 
@BartekBanachewicz last I played, my ascent with my "standard" rocket was basically fire it up, let it burn out, lean 45°, stage, let it burn out, prograde, stage, let it burn out.
 
5:20 PM
mm
 
I'm really annoyed with all of these Lua frameworks. =/
 
That was almost entirely designed through trial and error
There's really not a lot of atmospheric help
 
@ThePhD Kill'em all.
 
@Morwenn I'm trying.
Good news, though: I found out OOLua's cheating isn't as fast as my benchmarks were reporting them to be.
I had made a derp and the benchmarks were running with errors, which silently exited for OOLua.
 
@ThePhD Force them to maintain MSVC compat and watch them try and give up the whole project.
 
5:23 PM
Which meant it was benchmarking how fast it took OOLua to fail, not do them all to work.
@Morwenn I'm the one ending up sending patches to various libs to get them to support VC++, actually. =/
 
That explains the faster-than-C speed.
 
I've already patched 4 lua libs.
I wonder if I'm spending too much time on this.
It feels like at some point I should just take my hands off and leave it be, like this is to much effort.
 
OTOH you're deep enough that it could take another person several months to start continuing your work, so you're not sure what to do
 
Yeah.
And to be perfectly honest, the other libs / frameworks were atrociously lacking.
Even for C++03 solutions they were just... not good/
 
evening
@BartekBanachewicz You don't really need a detailed plan.
 
go straight up for like, 2-3km, start turning east, be at 45 degrees by 10km, then pitch further east and be at about 75-80 degrees by the time your ap is 75km or so
 
@R.MartinhoFernandes Mmm. Hope that never happens with KeePass.
 
the d/v gained by having a more detailed plan is not very significant compared to having a better rocket.
also the exact best ascent trajectory depends on various attributes of your rocket so it's not really possible to define a "best" trajectory.
 
Hence eyeballing
 
Wtf
Fucking linker errors now with this shitty library
awhdawdhwajfaw
 
5:45 PM
@milleniumbug Same. I'm hoping the public backlash will prevent them from doing something like this again.
 
Ell
Drinking water out of a mug is rather strange
 
How is a function defined and compiled in a cxx file polluting my shit all the way over here.
This makes no fucking sense.
Oh, okay.
So the dumbass, when making the second function, defined it inline in the header file
without calling it inline
and ONLY when a certain define is on
Great. I needed that fucking up my build and driving me crazy for 15 minutes.
Fucking...
 
alright, whats the best way to structure .h & .cpp files for a project?
 
@roscoe_casita .h++ & .c++ * :D
 
(VS)
what I mean is, including them in other .h files & .cpp files
I've been building projects for years, but have yet to see the 'correct'
I've looked for a good readme / tutorial on it, but results are lacking in substance
 
6:00 PM
@roscoe_casita i mean it depends for every field in C++ Programming. Every field has its own layout. for example OS Dev & lets say a language. They both have very different layouts. If i were you i would look at github projects of same type of goal your achieving, see their layout and go from there.
 
@roscoe_casita depends on the project
 
@BartekBanachewicz I've got a 1/4 million lines of code, segmented into 5 areas, 3 tiered arch
 
there's no one definitive answer, but a rule of thumb should be that files shouldn't be too large
what's "too large"? I'll know when I see it.
 
this has to do with the order of includes ~
the project files themselves are all segmented, and have strict dependencies
and it compiles, but I know it could be much faster if I could figure out how the includes in each header should be added
 
> could be much faster
that depends
 
6:05 PM
If your header files depend on order, you're writing them wrong
 
in general prefer forward declarations to includes
 
how so @milleniumbug ? declare all the classes upfront? gotcha
that makes more sense
thanks, I'll look at how to structure that
 
@roscoe_casita By that I mean, if you have A.hpp and B.hpp, and you have to include one before the other, or else you get compile errors/runtime errors/UB then you're doing it wrong
if B.hpp depends on A.hpp completely, have an #include "A.hpp" inside B.hpp
if only a small part, refactor so it's in a header included by both
if it's a circular dependency, on types, have incomplete type declaration (struct Type;)
 
6:27 PM
also I'm rewatching John Oliver's "Primaries and Caucuses" episode
it still doesn't make any sense
US elections are just awful
 
yep
 
@BartekBanachewicz I don't think it's so scary in this case--it was a vague recollection of an article on aging, pointing to (in the author's opinion) the fact that we couldn't really plan on extending life dramatically, because we self-repair about fast enough for the current maximum age, but without fundamental improvements to our self-repair we's accumulate too much damage from background radiation to live past 200 or so (but I doubt the argument--it depends on rate, not just total dose).
 
@JerryCoffin I think that extending our lifespan would be a bit of a disaster really.
 
@JerryCoffin wait are old people actually significantly more radioactive?
or is it only about accumulating damage (which sounds weird, because we replace our cells constantly)
 
not entirely
 
6:38 PM
well obviously not entirely
 
some kinds of cells don't get replenished and live for nearly our entire lives.
and the replenishment mechanisms themselves can also take damage
 
if we did perfectly replace every single cell, well, we wouldn't age
 
guys, do you ever simply cant be bothered with coding even though you are motivated with the project you are working on?
 
actually it's not even that
 
I am pretty sure that not aging simply doesn't help survivability
 
6:39 PM
in some ways our bodies are designed to be disposed of
 
it keeps fucking happening to me
 
for instance scarring often precludes regeneration of tissue that performs the function that the original damaged tissue performed
 
I think it's really more about giving way to next generation quicker so that the evolution happens quicker
it's a balance between being able to form an organism that can easily survive and breed and overpopulating with old genes
 
the main counterbalance to that is how large and complex you are
 
well it's because being complex is good for survival
 
6:41 PM
certainly for us
 
The puppy is saying that your mom is really complicated.
2
 
although for humans it's not just biological evolution but also social evolution
there's some indicators of evolution reflecting culture in some places
 
k time to get some shit to the Mun
 
6:55 PM
@BartekBanachewicz Like I said, I question his argument. There are a few places we accumulate damage from radioactivity though. For example, they sometimes treat thyroid cancer with radioactive iodine. Iodine accumulates in the thyroid, so the radioactivity kills the cancer cells (with minimal effects elsewhere). I don't know how long the iodine stays there, but pretty sure it's not permanent.
 
holy hell ksp interface is really soooo bad
playing coop would make sense at least in order to know what the fuck is going on
 
7:10 PM
it's not that bad.
 
@BartekBanachewicz have you used elm?
 
although to be fair, I typically consider it unplayable without MechJeb
 
Without knowing haskell, the source looks really nice
 
but MechJeb mostly just adds more displays and automates operations you can already do yourself
 
@Puppy Same is true of "computer" vs. "Morse code key". :-)
 
7:12 PM
@JohanLarsson yep
@Puppy it's godawful
 
what is it exactly that you want to do that the game interface doesn't support well?
 
@Puppy I can't comprehend how this is not a statement to the original UI being bad
 
it is a statement to the original UI being bad.
 
@Puppy to see even simplest navigation data I have to go to the map
 
that's why I keep telling you to use MechJeb and that I think the game is unplayable without it.
 
7:13 PM
@Puppy I am gonna build a physical equivalent vOv
 
erm
to see the map you need to ... go to the map?
most of the orbital game is played in the map view.
there's not much use for the non-map-view when you need to view the map.
 
@BartekBanachewicz do you like it?
 
@JohanLarsson I don't buy the radical FRP approach
also it's awfully limited compared to the full haskell
lack of typeclasses makes me question a lot of things
@Puppy meh. I'd rather sit in the cockpit
 
there's nothing there
 
@Puppy wow
that's the point
 
7:19 PM
no it's really not
KSP is not a flight simulator
 
says who
 
says the fact that there's nothing in the cockpit ;p
 
there's the ball and controls
with the input from mission control that's enough
I have to try it in coop anyway
I especially liked the idea of sitting in another room
with voice being realistically delayed
 
well
all I'm saying is, if you want to complain about the game having terrible UI, you might want to try using the UI it has ;p
 
@Puppy well then, the map is still fucking unintuitive
you can't display the apoapsis in a constant place
everytime you relaunch you have to reset navigation point
 
7:26 PM
mechjeb can show the apoapsis as a static display
and I don't know what navigation points are, never needed em
 
@Puppy that's not the game ui
 
true.
 
> try using game ui
> it doesn't do x
> use something else than game ui
I meant suborbital navigation
 
KSP features suborbital navigation?
 
yes
Oh also another thing
 
7:30 PM
you actually need suborbital navigation?
 
yes
there are quests for it
 
how come?
 
the flyby quests require you to fly by a certain point
and you can navigate to them
anyway another thing is you can't see both quests and say, your fuel
 
I have an odd feeling that you absolutely can.
 
I should've bought more LCDs
 
7:31 PM
but you certainly can with mechjeb
the KSP fuel display doesn't actually show what you need anyway, which is d/v.
 
@Puppy amazing
 
the raw fuel quantities don't matter.
 
anyway I saw mechjeb screenshots
when I want to play Excel as a game I'll let you know
 
depends on how you have it set up
you can choose which windows to have shown
 
one thing is certainly does is lowering the difficulty of the original game vOv
 
7:34 PM
meh
 
half of the original game is that it doesn't display the information you actually need.
for instance showing fuel instead of d/v would be a great example.
 
@Puppy yes because the information you actually need is which key to press on the keyboard to win
it should show that instead
 
nah, that would be playing the game for you instead of allowing you to play the game.
 
I am glad you killed your own point.
Now let me get back to my rocket
 
7:36 PM
I didn't kill my own point.
trying to figure out d/v based on fuel certainly is playing Excel instead of a game
 
whatever
 
I love implicit instantiation. So powerful.
 
7:53 PM
@StackedCrooked .. And dangerous
 
And they can trigger the creation of function local statics.
So they can generate code and data.
 
Has anyone here played with circuits.io?
it looks pretty cool
/cc @Ell @R.MartinhoFernandes
 
8:17 PM
#define min(a, b) [](auto x, auto y) { return y < x ? y : x; }(a, b);
^ min macro fixed :P
 
:D
No more multiple evaluations.
No need for (x) (y) stuff.
And it's not a dirty inline function.
 
amazing
i made the simplest circuit in that emulator and it doesn't work
welp
 
But it can lead to expensive copies. Should probably use forwarding.
 
I guess that's how it's gonna look like when I get my real hardware
 
8:20 PM
^ This is a good talk.
I learned a few new things.
Didn't know you can overload bitwise assignment operators on enums. (operator|= and operator &=)
Also a nice trick that allows you to implement the operators as templates and a way to enable them on your user defined enums.
 
that's the diagram from arduino page
 
@StackedCrooked still broken due to it being lowercase
 
You're literally Hitler <windows.h>
 
that's my circuit encoded in the emulator
 
Ell
8:23 PM
@BartekBanachewicz never used it
I use kicad for schematics
 
spot 0 differences between those two
 
@milleniumbug the uppercase rule originally was meant for macros that evaluate their arguments more than once.
so I win by the old law
 
was it? TIL
 
@BartekBanachewicz Just curious : What type of circuit is that?
 
@user5600875 what you mean by "type"
@Ell well it looks amazing
 
8:25 PM
@BartekBanachewicz By type i mean. For example :: "Mother Board Circuit"
 
it's a "Button Circuit" then
(hint: you didn't help at all with that example)
 
butt on a circuit
 
@milleniumbug Well... Jerry told me. Dare you question Jerry?
:P
 
wait fuck
the hell
 
@BartekBanachewicz Just saw it in image. Its arduino piece.
 
8:27 PM
Apr 2 '15 at 23:27, by Jerry Coffin
@StackedCrooked Not to mention the use of upper-case for constants came from a misunderstanding in the first place. All-uppercase was originally intended as a warning about (function-like) macros that might evaluate their arguments more than once. People who missed the point started to use them for all macros, including those guaranteed to evaluate arguments only once, and even those with no arguments at all.
 
it works now
but either I am extremely dumb and/or incompetent
 
yeah, but I still prefer uppercasing every macro so they don't trample over my functions
nice tidbit of history though
 
fucks sake
this button works the wrong way
I mean it's probably the right way and I'm dumb
ugu
well at least we know the simulator works
 
@milleniumbug nice
 
8:38 PM
if (lastButtonState) {ledState = !ledState;
        digitalWrite(led, ledState);
}
cool
I turned Arduino into a giant latch
if only the fucking editor didn't use tabs
hmm but this soft looks pretty nice for diagrams as well
it's easy to use and intuitive
 
A 1-hour video about enum BitFields. What am I doing with my life?
 
and wow the arduino apis are really simple to use
I mean sure you have to have physical resistors unlike say STM where you can just say "oh make this one pull-down" and it does magic
but overall I suspect usability wise Arduino will be a good choice
and the tutorials are waaaay simpler
> An analogy would be warming up a pizza in your microwave, and also waiting some important email. You put the pizza in the microwave and set it for 10 minutes. The analogy to using delay() would be to sit in front of the microwave watching the timer count down from 10 minutes until the timer reaches zero.
it's a nice feeling being led by the hand
 
9:07 PM
@Nican making it smarter?
 
 
1 hour later…
10:19 PM
wow lounge is so ded
 
I was about to break the silence
 
youtube down?
 
Works here.
 
works here
Tubexit
 
blank white screen
 
10:28 PM
@Puppy No its not odnw
 
it's certainly not odnw
 
i meant down..... you know i meant htat
 
I know you meant htat
 
10:57 PM
@KretabChabawenizc I’ll do you two better: ranger pets now keep their names when you change them. And that was a balance patch that nerfed elementalist specifically for PvE while tweaking/overhauling Guardian.
 
There
I did it.
I fucking did it.
13 frameworks, all properly benchmarked and tested the fuck out.
Now to run this on a neutral machine, get proper results, get pretty graphs, and then take a FUCKING nap and stop ever looking at all these SHIT libraries.
 
yeeaaaah!
go derpstorm!
 
11:22 PM
Does "Hana" in Boost.Hana have any special meaning?
 
don’t think so
 
Ell
@Mysticial not initially
It's just a short memorable name
But it means one in Korean
And flower in Japanese
Supposedly.
 
I can confirm that it means flower in Japanese.
 
11:52 PM
@Mysticial And "one" in Korean
@LucDanton Impressive
 
Why do all y''all dudes know so much Japanese?
And Korean? =)
 
Because they're all massive nerds
3
 
@CaptainGiraffe Wakaranai
 
@Mysticial I think I understand =9
@Mysticial Also, I'd like to extend a personal Thank you for all the stuff you have contributed with. I have learned a lot from your extensive answers.
 
@KretabChabawenizc I’m pacing the content btw, will give you my impressions once I’m done with it
 

« first day (2111 days earlier)      last day (2841 days later) »