« first day (778 days earlier)      last day (4396 days later) » 

00:00
I'd have to imagine that the density of the wall would have to be on order of 10^15 - 10^20 times the density of water or something like that.
sbi
sbi
@sehe You changed history. (Sounds grander than it is, really.) Now it reads: You: "10m/s^2" Me: "9.81m/s²" You: "fixed". And that's wrong.
Anyway, time for me to go to bed. My smallest isn't here now (we're all boys here tonight), so I can sleep longer tomorrow morning, but not long enough to be awake after 1am.
@sbi It is YOU who changed the history: chat.stackoverflow.com/messages/6491988/history You said "2^2". And even with your edited message, it is still fixed:
2 mins ago, by sehe
@sbi What is not fixed now? I know that the actual value is different (and varies) but that's completely beside the point: "assume"...
sbi
sbi
Good night.
Night
night
00:02
@Mysticial Why? Just make the wall bigger?
It sounds like you want to keep some constraints that you do not make explicit.
@R.MartinhoFernandes Assume the wall is infinitely tall and wide. But thickness is 30 cm.
@Mysticial Then its mass is infinite...
Unless density is 0.
@R.MartinhoFernandes But the force isn't infinite because the distance increases as you get further away.
@Mysticial Isn't the force GMm/rr?
It's an infinite integral but the area is finite.
@R.MartinhoFernandes Only for point source.
So you have to do a 3D integral over the volume of the wall.
With +-infinity on the 2 of the dimensions.
I think that integral with infinite bounds still has a finite area. I'm 100% sure though.
But IIRC from class, an infinite plate only exerts finite force.
Ell
Ell
is there a nam for a webserver that isn't meant to serve lots of people? ie like the msdn library local help server
^^ awesome...
> Thus the force exerted on the particle is independent of the distance h from the wall.
Damn, that page goes on to talk about the Schwarzschild radius/distance...
*aka black hole point of no return
What's rho in that? I don't see it defined anywhere.
00:14
@R.MartinhoFernandes mass per unit area?
On the other hand, the r that is defined on the first line never shows in the calculations. Are those supposed to be the same, but misprint?
I haven't looked close enough at it yet.
@Mysticial That is defined as r.
Hi guys..
Yeah, has to be r.
00:15
Hello friend
R is just the variable of integration.
where's the lowercase r?
First fucking line.
oh, haha
00:17
Then never again.
Ell
Ell
as if this started off from a comment about a Chinese keyboard
That's why I assume it's the ρ that shows out of the blue.
it probably got absorbed into the rest of the constants G, rho, and m
rho is never defined.
yeah, it looks like r = rho
00:18
There you go, with freehand forces.
notice how there are no symbols embedded into the text. So r was just to keep it simple.
@R.MartinhoFernandes nice :)
So F would be the constant force that the site gives.
lowercase g is earth's gravity?
Yeah. A public website?
Srsly though: A server farm?
00:21
haha, as expected G is in the denominator.
http://stackoverflow.com/questions/13664844/c-amp-iterating-over-array-views-with-different-dimensions#comment18754923_13664844
Wtf is he trying to do -.-;
so it's rho = g / (q *2pi * G)
That's big. Very big...
not too serious answer
1
A: are extern variables initialized to their default value?

Johannes Schaub - litbIf the variable was declared as extern but is nonglobal, it too receives the same initialization handling. For instance namespace A { extern int x; int x;} This nonglobal variable will be initialized to zero. All namespace scope variables receive this handling.

2.386 * 10^10 kg / sq meter
00:24
Link doesn't work :S
not bad...
@Mysticial Yeah.
google says this is 23 860 000 000 kg / m2
That's pretty heavy wall
That's on the order of megatons.
00:24
weird that it knows about "sq meter"
it's the wall of the universe
@JohannesSchaub-litb were you following how this all started?
yes
it started from the big bang
...
I cannotread this answer without downvoting it. The questioner already knows that it is invalid in C++. He says "Why isn't std::function a valid template parameter while a function pointer is?". How is it helpful to tell him that it is not allowed? It's your luck that @JonathanWakely is more forgiving than me. — Johannes Schaub - litb 43 secs ago
00:30
2.386 * 10^10 kg / m^2
If the wall was 1m thick. The density would be `2.386 * 10^10 kg / m^3`.
I wonder if one cubic meter of that is enough to be a black hole.
no it isn't
not by a long shot
Schwarzschild radius of 2.386 * 10^10 kg is only 3.54 *10^-17 meters.
Hmm. a template parameter can be of type std::nullptr_t. weird
do you know any usecases?
Ell
Ell
isn't the only value of nullptr_t nullptr?
note that this is still ambiguous: template<std::nullptr_t> void f(); template<int*> void f(); int main() { f<nullptr>(); }
so i cannot quite see the purpose of allowing nullptr_t
and f<0>() works for neither
user142019
hmm
template<typname T> void foo(T t); foo(nullptr) isn't T deduced to nullptr_t here?
00:39
@Zoidberg'-- hmm good idea
template<std::nullptr_t t> struct A<t> {}
would be a valid partial specialization for template<int*> struct A {};
hmm wait, but t must be deduced!
user142019
template<> struct A<std::nullptr_t> {};
i guess it's too late in the evening to think about this for me :)
@Zoidberg'-- there is no template parameter of type std::nullptr_t there xd
user142019
oh yeah fuck
user142019
template<> struct A<nullptr> {};
user142019
xD
00:41
still not
it's just an argument of type std::nullptr_t
user142019
Ask on Stack Overflow, there is probably somebody who knows a use-case. :P
ah yeah i seem to remember that non-type template parameter types need to match exactly
so that will rule out my earlier partial specialization that involved std::nullptr_t
Proper use cases of X.
Maybe you could use it in SFINAE since only null works
We recently had one of those. lol
user142019
00:45
School is making me even dumber than I already am.
user142019
It makes me believe that PHP > Java.
0
Q: What is a proper use-case of `std::nullptr_t` template parameters?

Johannes Schaub - litbToday I came to know that C++ allows non-type template parameters of type std::nullptr_t: template<std::nullptr_t N> struct A { }; template<std::nullptr_t N> void f() { } For the life of me, I cannot come up with any sensible use-case for these. Can anyone please come up with a r...

asked
hmm when did GCC add support for nullptr_t ?
user142019
In the third millennium.
00:48
@JohannesSchaub-litb 4.6 I think.
@Zoidberg'-- In the modern age.
user142019
After Jesus died.
user142019
Ante death?
user142019
00:51
oh Anno Domini
user142019
I’m bored.
@JohannesSchaub-litb: You're right. Can't undo the vote, but will cease casting close votes for the rest of the day. :) — NPE yesterday
4 followers were trapped and closed it
@JohannesSchaub-litb You make it sound like a cult.
01:07
SO is definitely cultish.
Ell
Ell
@zoidberg learn an instrument
user142019
@Ell I’m trying to learn the C++ compiler, yes. But it’s a very difficult instrument as it’s never working.
Ell
Ell
probably out if tune. its a semitone flat from the sound of it
try c#
or learn language
jeg er Elliot
user142019
Elllang.
Ell
Ell
yea ill pay you a fiver to write me a language
01:22
@Ell Classic post - I would give that five stars if I could.
Ell
Ell
hehe thank you
user142019
@Ell Elllang is C++ without trigraphs.
user142019
Okay. Done.
Happy first sustained nuclear reaction day!
user142019
>>>+[[-]>>[-]++>+>+++++++[<++++>>++<-]++>>+>+>+++++[>++>++++++<<-]+>>>,<++[[>[
->>]<[>>]<<-]<[<]<+>>[>]>[<+>-[[<+>-]>]<[[[-]<]++<-[<+++++++++>[<->-]>>]>>]]<<
]<]<[[<]>[[>]>>[>>]+[<<]<[<]<+>>-]>[>]+[->>]<<<<[[<<]<[<]+<<[+>+<<-[>-->+<<-[>
+<[>>+<<-]]]>[<+>-]<]++>>-->[>]>>[>>]]<<[>>+<[[<]<]>[[<<]<[<]+[-<+>>-[<<+>++>-
[<->[<<+>>-]]]<[>+<-]>]>[>]>]>[>>]>>]<<[>>+>>+>>]<<[->>>>>>>>]<<[>.>>>>>>>]<<[
>->>>>>]<<[>,>>>]<<[>+>]<<[+<<]<]
user142019
01:35
Slow Brainfuck interpreter written in Brainfuck. :)
Anyone got a good tool for converting FLAC to MP3 on Windows?
(Don't ask me why I want to do that)
I created a bookmarklet:
Hello all
javascript:(function(){Element.prototype.createChild=function(e){var t=this;var n=e.split("/");for(var r=0;r<n.length;++r){var i=document.createElement(n[r]);t.appendChild(i);t=i}return t};var e=document.getElementById("chat").createChild("iframe");e.src="http://www.stacke‌​‌​d-crooked.com";e.height="400px";e.width="100%";})()
good evening sirs
@EtiennedeMartel why do you want to do that? :P
01:37
hilarious how @Mehrdad is commenting on my question
@emartel Actually, come to think of it, MP3 might not be the best destination format.
It definitely needs some tweaking though :)
@EtiennedeMartel I'm really not an audio guy, but I think Winamp had a "output to mp3" option back then :P
iTunes doesn't support Flac.
So, I'll just convert them to AAC.
iTunes is crap
user142019
01:39
I disagree.
Yes.
@Zoidberg'-- It's crap on Windows.
@EtiennedeMartel btw, free GSL finals in 21 mins on twitch
But, I used it for a while on OS X, so let's say it's a comfort zone thing.
oh, I don't own a mac
that's probably why I grew to hate iTunes
@Donny Why are you dumping Objective-C code on a C++ chatroom?
01:39
iTunes is great on mac
FWIW, I'm a C++ programmer and knowing why certain constructs are part of C++ increases my likelyhood to stay in charge longer than not knowing. This sounds like a real life actual problem for me. — Johannes Schaub - litb 4 mins ago
user142019
TIL about supervisors in Erlang.
@emartel iTunes is probably the best music player on OS X.
@EtiennedeMartel @Donny so we can ignore it and move on :)
Owh sorry
user142019
01:40
@EtiennedeMartel nah, that must be emacs. :)
Next time, put in on an external paste site.
@EtiennedeMartel you need a "tool" as in a software or a lib?
@Zoidberg'-- Alright, let's say dedicated music player.
@emartel Context: I obtained a music album through less than legitimate ways, and it's in FLAC. So I want to play them on iTunes. But it doesn't support FLAC. iTunes does support a proprietary Apple lossless codec, AAC, so I'm wondering how I can convert to that.
Googling right now.
Converting to MP3 would mean losing audio quality (FLAC is lossless as well), so I don't really want to do that.
user142019
Maybe Miro Video Converter can do that. It uses FFmpeg internally.
user142019
But I only used it to convert videos to MP3.
01:44
I'd probably go with Audacity, it can probably do it audacity.sourceforge.net
user142019
Or just use FFmpeg from the command line.
Import and export WAV, AIFF, AU, FLAC and Ogg Vorbis files.
user142019
FFmpeg can convert like, everything. xD
it does support FLAC
Ell
Ell
can't vlc convert?
01:48
@EtiennedeMartel AFAIK the AAC encoder is proprietary.
@Ell This reminds me that I don't have VLC installed on this PC. Huh.
user142019
AAC is an ISO standard.
user142019
Would be weird if it were proprietary.
Must be confusing something else then.
user142019
Well, the encoder could be proprietary.
01:51
hi quick question, in the linker program 'ld' in linux, where does the d in the name ld come from?????
user142019
But the only reason you’d make that proprietary would be if you used techniques to make it more performant than the free ones.
@wardd dynamic?
linker dynamic?? lol
in my makefile i have a variable called LDFLAGS so i was just wondering what does the d mean.. :)
Tek
Tek
Anyone want to take a shot at this? The answers have been unsatisfactory so far unless it's not possible without a 3rd party library. stackoverflow.com/questions/13665534/…
Ell
Ell
no I'm pretty sure AAC is proprietary
01:55
@Zoidberg'-- "After initially being proprietary for many years, in late 2011 Apple open sourced and made royalty-free the Apple Lossless codec."
@Ell 'Tis not.
@Zoidberg'-- This is what I was confused about :)
user142019
Ah okay. :p
Ell
Ell
so. iPods can only play iTunes music. or maybe it used to he and isn't now
user142019
There is/was VLC for iOS.
Ell
Ell
Ohh right it isn't anymore
user142019
Fucking Apple took it out of the App Store, IIRC.
Ell
Ell
01:56
also, take these broken wings and learn to fly again learn to live so free
@Zoidberg'-- Wait, they can just remove software from the App Store?
What was their reason?
user142019
@ThePhD eh, well given that they own the App Store, yes.
Ell
Ell
it was a threat to rhem? o.O I don't know
@ThePhD They wanted it out.
@R.MartinhoFernandes Yeah, I just found out: cultofmac.com/76340/…
01:59
Officially, probably some bullshit about whatever.
user142019
The source code is still available so you can build it yourself.
The owner of VLC is a fucking douche.

« first day (778 days earlier)      last day (4396 days later) »