« first day (1749 days earlier)      last day (3203 days later) » 

12:00 PM
@Veritas placement new is also nice for job security
4
 
@LucDanton No, spoon feeding.
 
No spoon, feeding.
 
I did a 13km hike this evening, then I am going for a 30km one tomorrow & another 20+km on sunday
Intend to clock 60km+ this weekend
 
No, spoon. Feeding!
 
@R.MartinhoFernandes Relativity?
 
12:05 PM
@rubenvb 4km/s?
Nope.
 
No, I mean your gravitational energy
That would be modified over the simple sqrt G something.
 
What?
Did you reply to the wrong message?
 
Hold on, I'm puzzling together the whole problem here
I thought you calculated something and then compared it to the real speed of something and it didn't quite match up.
 
There is no spoon
 
there is only feeding
 
12:08 PM
@rubenvb I just added two vectors that were supposed to sum up to another.
 
What is "NH" btw?
 
New Horizons.
 
ah
 
@R.MartinhoFernandes yeah... E relative to S + NH relative to E = NH relative to S... how does that not work?
@R.MartinhoFernandes could that just be from rounding errors? (long shot I know)
@StackedCrooked on spoons?
 
Way too much. Have you seen the precision of the numbers I used?
-2.155445266674756E-02 AU/d and such
I got all the numbers from JPL's HORIZONS ephemeris calculator.
 
12:13 PM
@R.MartinhoFernandes no, I had not :P
 
@rubenvb That was something else intertwined through my monologue. I added Earth's heliocentric velocity and NH's geocentric velocity and the result is not NH's heliocentric velocity. Escape velocities are only relevant because I used them to check the plausibility of the results (NH was launched into solar escape velocity; the first result is below that, the second is a bit above which makes me believe it is correct).
 
@Rerito it's some whitespace here.
 
@rubenvb Weird, a colleague just output it in st and it showed him a tab :|
 
@Rerito well, a tab is whitespace, no?
 
user1804599
14:18 <        Denommus > catgocat: why don't you see the source?
14:18 <        catgocat > because I am a newbie?
 
user1804599
12:18 PM
vampire detected
 
@rubenvb Ok so you mean either a tab or a space will do?
 
@R.MartinhoFernandes could there be some funky way the measure those that makes such conversions not valid?
 
I don't even know what you're trying to do?
But I get a tab here to.
 
It's likely tab so that values can have spaces in them without quoting
 
@R.MartinhoFernandes Are you sure these velocities are parallel?
 
12:22 PM
WTF does that mean?
Oh.
@rubenvb I added velocities, not speeds.
I.e. vectors.
Ha, got it.
Seems I fucked up when retrieving the numbers.
 
@R.MartinhoFernandes yeah, and vectors can be not parallel.
 
Now it's between 43.05 and 42.9, and that difference seems attributable to all sorts of calculation errors.
@rubenvb And that matters not.
Vector addition works for any pair of vectors.
 
and for the record: speed and velocity implying vector or scalar nature is terribru.
 
I don't make the rules of English :/
 
@R.MartinhoFernandes huh?
 
12:26 PM
In English one uses "speed" to refer to the magnitude of the velocity. In formal contexts, I mean.
 
hmm seems our right.
I was confused.
I should stop doing physics for a while.
leaves for physics conference on monday
 
Hmm.
Actually, I got the numbers right.
 
Anyone here in NY next week, btw?
Cause I am.
 
Seems I don't understand what "Geocentric" means as the origin in HORIZONS
If I use some observatory on Earth as the origin, the result matches the expectations. If I use "geocentric", it's way off.
 
user1804599
The Earth doesn't exist.
 
12:28 PM
WTF is geocentric and why can't I just pick Earth system barycenter :<
 
@R.MartinhoFernandes yes
@rubenvb a (1,0)+(0,1)=(1,1) vOv it's that simple
 
Hmm. Figured out how to get Earth's center as origin. Same as before :<
 
@thecoshman yeah got confused with speed/velocity scalar/vector
~terminology~
 
just to make it fun, in casual use, velocity is a scalar
 
Oh found how to get the barycenter.
"@3"
 
12:31 PM
I think that's what got me. I knew velocity was used to describe the vector quantity.
 
a lot of people would say they were driving with a velocity of 45kmph
 
@rubenvb It's easy: V-vector-velocity, S-scalar-speed :D
 
@R.MartinhoFernandes V-vrong, S-stupid
 
Hmm, @3 still gives me the bad values :|
I am missing something.
 
12:33 PM
the point?
 
@thecoshman Oh, now those two letters before 2010, 2013, 2015, etc. finally make sense
4
 
Why is there such a difference between Earth-Moon Barycenter and some random location on Earth.
 
@AndyProwl lol
 
user1804599
Ask on Astronomy.
 
@AndyProwl lol
 
12:38 PM
@R.MartinhoFernandes Maybe the astronomers ride their bicycles very very fast.
 
user1804599
@AndyProwl lol
 
@AndyProwl lol
 
koala you broke the combo :P
 
@AndyProwl lol
 
user1804599
 
12:58 PM
@rubenvb Sry for the late answer, I was a tad busy. So I was just trying to set it using an echo -e "X\tY" > /proc/sys/net/ipv4/ip_local_port_range
 
spamming you with the pictures I have taken tonight while strolling:
 
You can put them on imgur and just link the album yknow
 
s/know/no/
 
Ell
@R.MartinhoFernandes but s - vector - displacement!
 
user1804599
1:05 PM
 
Displacement starts with d.
 
Ell
S is displacement to me
s = ut + (1/2)at^2
Etc.
 
@rightfold that guy was thinking about @milleniumbug's lua problem.
 
Ell
But maybe that's just because its not degree level
 
Er, I meant the word starts with d.
"speed" starts with S, so scalar.
"velocity" starts with V, so vector.
Easy.
 
Ell
1:06 PM
Oh my bad, I apologise
 
@AndyProwl Oh I just noticed.
 
o_0 nearly 20GB of history
 
Should've watched that porn in incognito
 
^
So I'm too lazy to turn on my computer.
Agh motivation.
 
@Nooble JUST... DO IT!
 
1:17 PM
And I have to find my glasses.
 
Accio glasses!
 
Which I can't do because I can't see them because I don't have my glasses.
 
@Nooble I added simpel configuration
 
@nabijaczleweli I can't see it because I need glasses.
 
@Nooble ctrl-+ is your friend
 
1:18 PM
@Nooble And you won't see it for a lil' bit because I need to push first
 
@jaggedSpire Ah yes.
Now only if I could ctrl + f "Glasses".
My eyesight is like +4.25 something_units.
 
@Nooble s/ctrl+f/"Hey mom! Did you see my "/
@Nooble That's not that bad
 
@nabijaczleweli eh, it means he can see clearly for less than a foot in front of him
 
@nabijaczleweli That's like 20/300.
Wait maybe it's -4.25.
 
A foot is about how far I can see well, and I've got -3.5
 
1:22 PM
@jaggedSpire Thanks, I didn't know despite having about the same glasses on my face
 
@Nooble and yes, nearsightedness is a negative number
@nabijaczleweli and fun times were had by all.
 
@jaggedSpire Solution: don't have feet up in yer face
 
Now I'm going to go to that place called work, and so won't be responding to anything for 9-10 hours.
@nabijaczleweli far more fun than it sounds, because it freaks people out if you do it right
 
@jaggedSpire Have fun :)
 
@fredoverflow The kind you use for BSTs.
 
1:23 PM
@jaggedSpire Booooooooooriiiiiiiiiiiiiiiing
@jaggedSpire kek
 
> You can – you can be with somebody you like to be with and just touch their cheek or hold their hand and it's the most beautiful thing in the world
You don't need sex when you're on that state
Because... because you're so satisfied with just holding hands that going... going for more than – than that isn't beautiful anymore
 
@R.MartinhoFernandes What?
 
I've found my glasses!
 
> You don't have to - you don't have to – that – it's – it's... I would – I would think it's just... I don't know what's... It's a weird trip
 
1:28 PM
@nabijaczleweli Arnie > Booof
 
@ʞɔᴉN It's not machined.
 
@Nooble World is such sharp, much wow
 
Well it's cut into size for you.
The cheapest aluminum I could find.
@nabijaczleweli Yep.
 
@R.MartinhoFernandes Not bad but not my cup of tea.
 
1:31 PM
Trying to track it down leads only to this song :S
 
@R.MartinhoFernandes Now you have something to obsess about for the rest of your life.
:)
 
As if I needed more.
 
:D
 
Hm.
Can I hash a tuple ?
 
@EtiennedeMartel Sure, as long as you provide the hashing function.
 
1:34 PM
@chmod711telkitty Way to miss the point.
@EtiennedeMartel Use boost's hash_combine.
 
Didn't read her own link apparently
 
Ah, so I have to do it by hand.
 
Actually, boost can probably hash tuples straight up.
 
We don't use boost here.
 
kicks Etienne
The moon can actually appear blue, though.
You just need the right kind of dust in the air.
 
1:36 PM
8
A: Generic hash for tuples in unordered_map / unordered_set

Leo GoodstadtThis works on gcc 4.5 allowing all c++0x tuples containing standard hashable types to be members of unordered_map and unordered_set without further ado. (I put the code in a header file and just include it.) The function has to live in the std namespace so that it is picked up by argument-depend...

 
Hey, we might be surprisingly "modern" compared to your average game development studio, we're not perfect.
 
@EtiennedeMartel I just used google to find that. :)
 
@R.MartinhoFernandes Or in your nose
Morning
 
> ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins.
 
1:39 PM
@EtiennedeMartel Seriously, though? Why not using Boost? I can accept that in libraries that do not want to depend on something huge like Boost for very little functionality. But if your end product is a game, you do not care about dependencies much, IMHO.
 
@wilx Our end product is a game engine and pipeline.
 
BLAHBLAHBLOAT
 
@rightfold Nice.
 
I'm on a bloat
 
We actually have boost, but a stripped down version of it that only includes the part we actually use, because compiling is slow as fuck.
 
1:41 PM
@Rerito wouldn't `tee /proc/... <<< "bla\tbla" be a better approach?
 
@rubenvb Honestly, I don't know. Googling right away
 
Xeo
@EtiennedeMartel pch!
 
You can set it with space
Also using tee for this is way overcomplicated
 
@wilx Also, do you you what's nice about that? It doesn't work with VS2012.
 
Well, I don't know why the bumblebee developers always suggest tee to modify their proc file.
 
1:44 PM
We're supposed to switch to VS2015 "soon".
 
I just thought they would have some good reason, hence my suggestion as a question.
 
tee will print out what you just wrote, but really whatever
 
ah ok.
 
tee is nice when you want to log to a file and see the output in the console
so that you can let the app run in tmux or w/e and hook up to it quickly, while also having logs in a file
 
@rightfold surprising how... crude it like looks :\
 
1:54 PM
@EtiennedeMartel Well, you can make custom hasher for tuples of 1,2,3,...,N items by copy/paste. :) Or you could just hash using the first element, though that will work less optimal.
 
Or generate them with Boost.PP.
decltype does not evaluate the expression you pass to it, right?
 
@EtiennedeMartel /me shivers and crosses himself
 
Like I can shove a null pointer dereference in there and it'll be fine?
 
@EtiennedeMartel It does not.
 
Xeo
@EtiennedeMartel Yes. But you could also use std::declval<T>()
If you want a value of a certain type
 
1:56 PM
before I learned about declval I messed by doing casts from nullptr
but that was a while ago
 
@FlorianMargaine Is that the "only" reason (I find it convincing enough though :) )?
 
@Rerito afaik, yes
 
Thanks for the tip :)
3
 
Aww yeah my monstrosity works.
 
@FlorianMargaine teeing into a fifo to give the same input to two programs!
 
Xeo
2:03 PM
@EtiennedeMartel But does the code suck?
 
@Xeo It's not so bad.
In any case, it's game code!
 
Xeo
so?
 
(Okay, it's game engine code)
 
Through process substitution is probably better there.
 
@Xeo Well, it's gonna be considered crap even before anyone sees it.
Because why let facts stand in the way of a good meme, eh?
 
2:06 PM
bool clearDirectory(const std::string& _path)
{
	try{

		std::string command		=	"DEL /F /S /Q /A \""+_path+"*\"";

		execCommand(command.c_str());
	}
	catch(...)
	{
		return false;
	}
	return true;
};
^ Holy shit
 
Oh. My. God.
clearDirectory("C:\\");
 
It's like the museum of wrong
 
user1804599
oops, I took too much salmiak and now my mouth hurts
 
So.
I want to move a value into my map, and I want to overwrite whatever's having the same key when I do it.
 
user1804599
@Mr.kbok yeah, wtf multiple returns.
 
2:15 PM
insert_or_assign looks real nice, but it's C++17 so of course VS is gonna get it in 2026.
operator[] doesn't seem to play nice with move.
emplace does nothing if there's already something there.
 
@Mr.kbok flag for offensive
 
Is there a better alternative to erase then emplace?
 
write a free function for it :D
 
m[whatever] = move(whatever_else) should be a move assignment
 
2:25 PM
Windows 10 upgrade notification thing is kinda annoying so I'm just gonna go ahead and do it
rip me
 
user1804599
Install Gentoo.
 
@CatPlusPlus lol good luck
 
Xeo
and now they're shooting in our room
Luckily I'm not directly involved
 
IRTA guns
 
Xeo
@EtiennedeMartel You get an iterator-bool pair back on insert/emplace
auto ib = map.insert(std::move(val));
if (!ib.second)
    ib.first->second = std::move(val);
 
2:30 PM
@rightfold You know I tried that in a VM, and jeesuz, you have to do everything manually
 
Xeo
Or if you can take default construction, what Cat wrote
 
Its fine if you have time and patience, but installers are a thing...
 
To the french speakers here : I've got a funny one
 
> Les Chinois l'ont fait!
 
@Rerito wtf
 
2:33 PM
Boosh.
 
@FlorianMargaine Powerful innit?
 
Oh.
std::function requires its functor to be copy constructible.
Alright, time for plan B.
 
I should translate it for all of you to benefit from this piece of wisdom
 
Xeo
@EtiennedeMartel Write your own unique_function!
 
tl;dr "Maybe we all have viruses but the chinese don't"
 
2:36 PM
@Mr.kbok Admit that the "we must nationalize this network" is really tasty
 
internet knowledge is our benchmark for how much a politician needs to know to talk about something
 
@Mr.kbok You can extand that to anything science/IT related lol
 
think about this next time we make laws about public safety/health
yeah
@Rerito It's like the golden hammer for anything vile in this world
nationalize gays
nationalize taxes
 
Nationalize hookers! And drugs! Ehm, I mean legalize
 
lol government approved hookers
 
2:40 PM
Hello every one!
 
And then we can make a special tax for health care (STI and stuff) applied to "government hookers"
 
OTOH you need to wait 3 months to get a bj
 
Yes but everyone gets a BJ.
 
git svn fetch just eats up ram, it's just swallowed 3GB in a second :\
 
@EtiennedeMartel lol
 
2:46 PM
J'habite dans les Yvelines
 
my internet is the best
 
@coincoin Are you sure about this?
 
He's a duck.
 
Ah there's no arguing it then.
 
2:52 PM
@coincoin Download speed? I challenge you.
 
Duck internet is the best.
I need WinRAR.
 
@Nooble No, you don't
 
@BenjaminGruenbaum maybe @Rapptz or ... (what't thePhD called now?) might be interested in some way... @Bartek too
 
@nabijaczleweli Too bad, downloaded it.
 
@Nooble Use Totall Commander like all people
 
2:56 PM
 
@Nooble lol noob
Use 7-zip
 
Ok let me just uninstall this.
 
@Nooble Eh
 
It can unpack .rar, .zip and .7z (and others, like .iso and .tar.gz), and pack to .7z and .zip
Which is all you ever need
 
@Nooble My... ping is smaller.
2
 
user1804599
2:57 PM
> Speedtest.net requires Flash
 
user1804599
epic fail
 
And is truly free.
 
@milleniumbug WinRARAGGHHH is for pirates though... not sure why I don't have it...
 
(BTW. 7z compression format is waaaay superior to .zip and .rar)
 
2:59 PM
@milleniumbug .tar.gz and .tar.xz are even better
 

« first day (1749 days earlier)      last day (3203 days later) »