« first day (1358 days earlier)      last day (3582 days later) » 

7:00 PM
Until I observe it I'm not.
 
so apparently people in college now don't know what a paragraph is
 
Though I am likely heavier than a year ago.
Muscle mass weights more than fat.
 
the density difference is not big
 
nice reference
 
seriously what is with this return {}; business?
it is alien to me
I have much to learn about c++
 
Xeo
7:04 PM
braced-init-lists
or "uniform" initialisation
 
so it's kind of like int myarray[3] = {1, 2, 3};
?
 
@ThePhD That context
 
drinking is awesome
 
I use that just not for return statements
 
like super duper awesome
everything makes sense
 
7:05 PM
@AaronKyleKilleen Returns a value-initialized object of the return type.
 
@AbhishekKumarRavi > Noting Special, all are partial :)
?
 
alright I just didn't know that was allowed for return I thought it was particular to initalizing things
 
Well, it is.
 
@AaronKyleKilleen No.
 
It's initializing the return value
 
7:07 PM
that is aggregate initialization and return {} is uniform initialization.
uniform initialization is "new", it's only a few years old, aggregate initialization is practically prehistoric.
 
@puppy I think I saw some examples in the books do it like this int myvec{1, 2, 3}; is that what you're talking about?
wait that's wrong
not int
 
you're wrong.
just read the book again.
damn my A key is getting really sticky now
 
If it's supposed to be vector<int>, it's list-initialization.
 
@Puppy TMI
Time to head back home.
 
@R.MartinhoFernandes What? There's nothing about it, the key just doesn't come back up properly.
 
7:10 PM
That's what she said
 
found it
int units_sold = 0;
int units_sold = {0};
int units_sold{0};
int units_sold(0);
so that one was the third one then
 
Rebooting bare metal machines after system upgrade is always so thrilling
 
it is?
 
WILL IT BOOT
OR WILL I SPEND THE NEXT 3 HOURS IN RESCUE MODE
 
what do you mean bare metal?
 
7:11 PM
how tense
 
Aaand it's up
 
I have to write some asynchronous stuff for work, and its putting me off
its rather confusing to reason about
 
Production up, staging up, unrelated sites up
Kernel new
LOOKS LIKE ITS FINE
 
Rejoice!
 
damnit, just when I was ready to give you this
 
7:13 PM
I even didn't forget to setup autostart for the services
 
is there a word for a structure in which you need to complete the earlier phase to continue to the next phase? (not necessarily compsci specific)
 
sequential operations
sequential operations execute one after the other
 
7:17 PM
is there a way i can easily zero-initialize a class with private members
 
many
also, ow, my shoulder.
@zounds NO ZERO INITIALIZATION BAD BAD BOY DOWN
 
@Crow "sequence"?
 
@Crow Super Mario Brothers
 
Conga line
 
puppy: why
 
7:18 PM
because zero is not a magically useful value.
it is only useful in some particular contexts.
 
user3010322
@Rapptz DAT SAVE
 
I'm thinking kinda like Mazlowe's pyramid, except for human civilizations, where you have to first have basic needs, then that allows for x, then the previous step allows for y
 
it is if you're dealing purely with numbers
 
and if you know enough about the context to know it's useful then you can just explicitly initialize it with zero.
 
@ThePhD Werk werk... on your raytracer
 
7:19 PM
there's no reason for zero-initialization to have any special place in the language.
 
@zounds How many data members do you have?
 
default construction and zero initialization are fucking plagues.
 
user3010322
@Borgleader I am, but now I'm having trouble with shadows and the shaders.
 
user3010322
Really, I need to make my Raytracer better. :(
 
fred: around like 3-5 per class, but i have a bunch of classes like this
 
7:19 PM
Write a proper ctor dummy
 
what are the traps of zero init then?
 
user3010322
At the moment it's data-driven and everything gets run through the same functions and produces the same output.
 
@puppy so you're saying I shouldn't create something until I have the stuff i need to put into it?
 
user3010322
@AaronKyleKilleen Uhm. Yes, always fucking yes.
 
7:20 PM
@ThePhD Isnt shadows just launching a secondary ray from the hit point towards light source and check if theres anything in the way?
 
@TonyTheLion Being left with a bunch of meaningless zeroes.
 
I <3 zero
:P
 
Zero is indeed less than three
 
My programming capability is a meaningless zero =/
 
user3010322
@Borgleader Yeah, but I seem to be always hitting something when I do it for mesh-triangle types (but not regular triangles), so I'm all confused.
 
user1804599
7:21 PM
Meh, Polish notation.
 
but it looks so neat to create a bunch of things at once with commas at the top of my function
 
user3010322
Either way, though, my current raytracer is a little bad in the way materials are handled.
 
user3010322
Right now every material is just expected to output things useful for Blinn-Phong shading and basic styles of refraction
 
user3010322
It all gets run through the same lighting algorithm.
 
write the whole thing using template metaprogramming
 
user3010322
7:22 PM
Which is very stifling since you can only change properties. I need to create materials which have a virtual function take a RayBounce and then manipulate it as they see fit.
 
TIL this is a thing
 
@Borgleader I love horizontal stripes.
 
user3010322
Horizontal best stripes.
 
that phone is awesome
 
7:24 PM
@ThePhD ikr
 
@Xeo You could introduce captures by using double braces (like $left(( blabla )) ) and BOOST_PP_OVERLOAD - or its technique. So, for instance, $left( &, (mystream << myobject <<) ). Renaming it seems worse to me... i mean, leftc?
 
Xeo
it was a stupid toy snippet that nobody should ever use
 
@Xeo Didn't seem stupid to me at all
 
The cool thing about C++ is that you can make toy snippets.
 
Xeo
Hm, I should eat something.
 
7:26 PM
The idea of putting expressions into lambdas, especially with generic lambdas and parameter packs is neat. Came up several times already in different places, but nobody seems to take it serious. :confused:
 
hey
 
I should visit the mountain countryside more often
 
gyazo.com/855483c2e402089cd6a355a627e47f6d.png I need to animate this ship move, so it moves to that tile, with an animation. what can I use to do that?
 
it's even more beautiful in winter
 
@BenBeri Question is off-topic as too broad
 
7:28 PM
ah sorry
 
user1804599
> Pledge $10,000 or more
> 1 backer
 
user1804599
HUP HOLLAND HUP
 
Ell
Woah
In a span of 66 years we went from not flying -> landing on the moon
how crazy is this?
 
user1804599
The flag of Costa Rica always reminds me of the flag of North Korea.
 
@Ell Not terribly.
 
Ell
7:41 PM
How can you not think that?
 
user1804599
We better go to the moon again before terrorists take over the world.
 
Ell
That could have happened in one persons lifetime
 
because they're the same underlying concepts as powered steam engines.
we just invented more efficient fuels and got some more domain-specific knowledge.
 
Ell
They aren't the same underlying concepts
wut
rockets aren't planes
also, do you find anything amazing? :P
 
@Ell In some ways, they're simpler.
 
Ell
7:43 PM
I guess they are
 
user1804599
How do you get a rocket in the air with a lever-based engine?
 
don't get me wrong, rockets are pretty amazing things.
 
user1804599
Team Rocket.
 
but their core is a simple "Combust chemical fuel".
 
they are rocket science
 
7:44 PM
it's the same shit that we did firing bullets out of guns, just a lot bigger and with different fuels.
rockets are iterative, not revolutionary.
 
user1804599
@JohanLarsson Someone once said that rocket science ain’t rocket science.
 
user1804599
Speaking of guns.
 
firing a bullet is easier imo, it is fire-forget
 
user1804599
I am in desperate need of a coil gun.
 
7:45 PM
what is it?
 
user1804599
@JohanLarsson It’s fire–die.
 
robben should have gotten a pink card and been sent home for his diving
 
the real amazing stuff about rockets is keeping people alive whilst you're in one.
 
user1804599
 
user1804599
@JohanLarsson It was Van Persie who made the diving goal, not Robben.
 
7:47 PM
actually firing a rocket is mostly about packing it with enough fuel, calculate the trajectory with Newtonian dynamics (relativity for bigger trips), aim, and you're off to the races.
it's the fact that people survive whilst in one that's amazing.
 
@rightfold Robben is a known diver
 
user1804599
Firing a rocket is counting down and pressing a button.
 
IYAM it says something more fundamental that we haven't been back to the Moon in 50 years and show no signs of returning or going further out.
 
Ell
So landing on the moon is amazing then? :P
 
what's amazing is that they spent all that money on all that technology and got basically nothing back for it.
 
user1804599
7:49 PM
Fame and fun.
 
Tang
 
we had to show those commies what's what
they sent a guy into orbit, okay well we'll send one to the moon!
 
yes, you showed them that despite having a capitalist economy, you could be just as wasteful as them
 
user1804599
@Blastfurnace Q/A ratio 0, cat-duck avatar, top answer does not do manual resource management. I already like you.
 
@puppy oh come on you don't think that it had anything to do with our ICBM technology?
 
Ell
7:51 PM
@Puppy they were at war with the russians right?
They got public confidence up I think
 
@Ell No.
 
True story, I used to babysit Titan II ICBMs.
 
Ell
Oh it was just the space race? :P
 
@AaronKyleKilleen Most of which could have been developed without wasting billions on much bigger rockets sending men to the Moon for nothing.
 
user1804599
Space race master race.
 
Ell
7:52 PM
I don't know really
wasn't it during the cold war?
 
user1804599
Space race is superior to all other races.
 
@Blastfurnace you used to babysit inner city black men?
 
@AaronKyleKilleen And most of which you're now having to pay huge sums to decommission, I might add, and you've never used.
 
@puppy it was for science, and thank heavens we never used them.
@puppy mutually assured destruction
 
I should have been more specific. I meant rockets not cool bros.
 
7:53 PM
Space is cool
Much cooler than nukes
 
user1804599
Nuke space.
 
you can spend money on science without having to spend billions on using it for pointless nationalism ejaculation
 
user1804599
Nuke Lightness from Orbit
7
 
Would sending people to Moon right now less wasteful?
Is sending people to Mars wasteful?
 
@puppy well people thought it was the next frontier, in retrospect we know just how difficult it is to colonize space
 
7:55 PM
@CatPlusPlus Not really.
@CatPlusPlus Yes.
 
Ell
What about all the profit that might be had by mining stuff on mars :O
 
heh
 
Exploration is important
 
technically, you could mine stuff on Mars, but you'll have to spend a billion dollars per ton to bring it back to Earth.
 
7:56 PM
Without exploration we wouldn't know there's America to send stupid people to
 
there's nothing that valuable per weight.
 
Ell
Yeah that's true
 
Also space
So your argument is invalid
Because space
 
Ell
I don't think we'll ever leave our solar system really
 
user1804599
@CatPlusPlus We should send all idiots to the Moon without any protection.
 
7:57 PM
hmm
that has yet to be written, I feel.
 
user1804599
Hmm, not all of them.
 
user1804599
We still need people to test medicine on.
 
1. Build Dyson sphere
 
we know there are theoretical solutions like Alcubierre drive, and whether or not they're practical is a matter for future generations.
as well as if there's anywhere in space worth going
 
@rightfold what're you trying to say about people who test medicine?
 
user1804599
7:57 PM
@CatPlusPlus around galaxy centre, not around Sun.
 
user1804599
The Sun sucks.
 
Ell
I think we will be hit by something and die before we leave
 
Can you substitute black hole for a star
 
user1804599
@Ell Why?
 
@Ell you pessimist
 
7:58 PM
Hooray for <cctype> functions + standard algorithms!
 
user1804599
@CatPlusPlus But it’s supermassive!
 
We'll be hit by a smooth criminal
 
Ell
We'll be touched by a smooth criminal
 
user1804599
@Ell What would that bring you? You don’t know what happens when you die.
 
Ell
I think I just remain unconscious when I die
 
7:59 PM
I've brought the server up-to-date and into civilised state in 4 hours 47 minutes
 
user1804599
Maybe you will continue to live in eternal pain mentally.
 

« first day (1358 days earlier)      last day (3582 days later) »