badhistory 内の shmusko01 によるリンク We all know about Godwin's law and Poe's but I introduce to you: The Dan Carlin law of history

[–]Astrokiwi 3ポイント4ポイント  (0子コメント)

Honestly, as a complete history amateur, I find my university library has a pretty good number of reasonably accessible English-language history books (despite being a French-speaking university). They can be a bit dry compared to pop history books, but they don't seem ridiculously technical or exceedingly academic. It feels like they're aimed at undergrad university students. So I find I'm definitely able to find good stuff that's reasonably readable without being editorialized pop fluff.

Physics 内の GoSox2525 によるリンク I've been doing intro E&M all quarter, and it a was frustrating at times. Today I just started reading about reference Frames and Maxwell's Equations, and I have something to say:

[–]Astrokiwi 3ポイント4ポイント  (0子コメント)

GR was my first experience with tensors in depth. I had to "unlearn" a lot of GR and settle down into a world where almost all tensors are 3x3 matrices in cartesian coordinates...

gamedesign 内の Hasuman によるリンク Avoiding button mash in Beat Em Up?

[–]Astrokiwi 0ポイント1ポイント  (0子コメント)

I'd just slow down everyone's attacks, and make it so you can't cancel an attack in progress, as well as a slight penalty delay (i.e. a "miss" animation) if you don't hit anything. Then if you hit "punch" a little too early, the enemy will get in range and hit you before you get to recover and hit again. So you have to make sure you time every hit.

Marvel 内の Thedmatch によるリンク If you haven't yet, I strongly encourage you to watch the Avengers: Earth's Mightiest Heroes cartoon. Even if you don't like cartoons.

[–]Astrokiwi 0ポイント1ポイント  (0子コメント)

In the early episodes, some of the outlines of the characters are thicker than others because of how they resized them, and it comes off as a bit cheap and amateur. But it gets better.

dataisbeautiful 内の ChocoboMaster によるリンク College has gotten 12 times more expensive in one generation

[–]Astrokiwi 0ポイント1ポイント  (0子コメント)

See, that just makes it weirder. Usually things get cheaper and higher quality when they're more popular. Like how all the gluten free people made it so that people who actually have celiacs can actually get cheap good quality gluten free stuff.

programming 内の arjun024 によるリンク Humans should think of sizeof() as a function, says Linus Torvalds

[–]Astrokiwi 0ポイント1ポイント  (0子コメント)

Just cast the result of sqrt(-pi).

In Fortran, that's not that silly a thing to do.

gifs 内の razerxs によるリンク Hollywood revolver

[–]Astrokiwi 1ポイント2ポイント  (0子コメント)

When you're a physicist, you get so used to absolutely everything making no sense that you learn to live with it pretty quickly.

AskPhysics 内の Sir_Bocks によるリンク Need some help with gravity simulation

[–]Astrokiwi 0ポイント1ポイント  (0子コメント)

Kinda. It's really saying that rather than being a point source, it's actually a blob that's denser in the middle and less dense in the outside. This isn't always strictly accurate, but it works for galaxy models where each "star particle" is actually a large number of stars.

There are different ways you can put the value in the denominator, and they will get stretch your point out into a blob in different ways, so it's up to you. I think the advantage of r2 + e2 over (e+r)2 is that you want it to approach r2 for large r, and this happens quicker for r2 + e2 than for (e+r)2 = r2 + 2er + e2 . You want to recover the GMm/r2 law at large distances as much as possible.

Btw, here is a brief wikipedia link.

AskReddit 内の Frageo によるリンク SwiftKey Users: If you reply to this and press only the middle word option a bunch, what do you post?

[–]Astrokiwi 0ポイント1ポイント  (0子コメント)

The only thing that you can get a Canadian Dollar, and the comics responding to the attacks are making a donation to the main reason for the first time in the end of the second half of the most of the mass of the most of the mass of the most of the mass of the most of the mass of the most of the mass of the most of the mass of the most of the mass of

funny 内の Muttley92 によるリンク You are welcome....

[–]Astrokiwi 407ポイント408ポイント  (0子コメント)

I rewatched the first Avengers movie recently, and it turns out his role in the Battle of New York is different than what I remembered. His job was to find a good vantage point and call the shots - he was the spotter. That's the main task that Captain America orders him to do, and it's exactly what he does (and he does it well, setting up the big hitters for some pretty good strikes). He just happens to shoot a few of the aliens when he gets the opportunity.

AskPhysics 内の Sir_Bocks によるリンク Need some help with gravity simulation

[–]Astrokiwi 0ポイント1ポイント  (0子コメント)

Just to clarify - the e in F=GMm(r2+e2) is not the 2.718281828 exponential e. It's just a distance you can set you anything you want. I don't know why I chose to write it as e.

AskPhysics 内の Sir_Bocks によるリンク Need some help with gravity simulation

[–]Astrokiwi 7ポイント8ポイント  (0子コメント)

Welcome to the wonderful world of N-body gravity simulation! It's a field with a lot of potential.

Okay, this is a common problem when you're starting out. The force should approach infinity for a point particle - that is accurate. But even if it it's not a point particle, the force will get very large, and this will produce the same problem.

In "real life", as the free body approaches the fixed body, the force does get bigger and bigger. But then as the free body moves past the the fixed body, the force quickly changes direction while remaining big. You're now rapidly decelerating instead of rapidly accelerating, so in the end your final speed is the same as the speed you approached the fixed object with.

But in a numerical simulation, you can accidentally skip the second step, because you have a fixed time-step - you don't have infinite time resolution. So what happens is that you get a big jump in velocity, and that kicks you right out of the gravity field - you entirely jump over the step where you experience the gravity that's pulling you back down.

There are various ways to get around this issue. You can use a smaller time-step - this will reduce errors a lot. We also often use "softened" gravity. Here instead of F=GMm/r2 we use F=GMm(r2+e2) where e is a constant "smoothing length". This means that gravity doesn't go to infinity as r->0, but instead approaches some finite large number. Another thing is to force the energy of the free body to be constant. Calculate 1/2 mv2 and -GMm/r and sum them to get the initial energy of the free body. If there are no energy sources, then this will be constant, and you can recalculate GMm/r each time-step to get what the magnitude of v should be. You can also (as others have suggested) just merge your particles if they get close enough, but that doesn't always work - often they still get close enough to make these numerical explosions even.

badscience 内の PhysicsIsMyMistress によるリンク All of OP's comments in an /r/conspiracy thread titled: "If Space is a Vaccuum, why Doesn't it Suck Away the Earth's Atmosphere?"

[–]Astrokiwi 0ポイント1ポイント  (0子コメント)

I had a proper conversation with a girl on facebook who I used to know, and is apparently starting to gradually lose it, culminating in becoming a Flat-Earther. She saw a bunch of youtube videos that argued the point, and decided it agreed with the Bible.

I'm a professional astrophysicist, and I've lived in both hemispheres (and noticed how the stars move in both places), and circumnavigated the world. So when I argued against the Flat Earth, I was doing so from personal experience. But I didn't remotely get anywhere.

At some stage they've just abandoned all sense and there's nothing you can do.

movies 内の humanoiid によるリンク KUNG FURY Official Movie [HD]

[–]Astrokiwi 0ポイント1ポイント  (0子コメント)

They're all Germanic languages (Swedish, English, and German), not it's not surprising they have a lot in common. Though English is a bit of an odd one out, thanks to the big French influence.

fortran 内の Kalkinator によるリンク Determining number of lines read

[–]Astrokiwi 0ポイント1ポイント  (0子コメント)

I'll ask again - you're talking about doing I/O with namelists, right? Could you post the I/O section of your code so I can see specifically what you're trying to do right now?

fortran 内の Kalkinator によるリンク Determining number of lines read

[–]Astrokiwi 1ポイント2ポイント  (0子コメント)

What does your code look like right now?

My understanding is that if you're trying to read 8 values from a line that only has 4 values, Fortran won't just jump to the next line and continue reading - instead it'll just die and give you an error message. So I'm not sure how you are getting into this situation. Is this using namelists or something?

IAmA 内の askCERN によるリンク We just broke a world record at the Large Hadron Collider, for the highest-energy human-made particle collisions. We're one step closer to physics data collection at 13 TeV. Ask us anything about what's in store at this new energy frontier.

[–]Astrokiwi 2ポイント3ポイント  (0子コメント)

Honestly, "epiphany" and "heresy" aren't really part of the order. There are a few dramatic examples from the past that might lead you to believe that this is what normally happens, but I can't really think of an example in electromagnetism where something was considered "heresy". Even the "epiphanies" are a bit of a stretch. It's more about large numbers of scientists toiling on highly technical and obscure subjects for long periods of time making incremental progress than genius individuals suddenly coming up with radical ideas that dramatically challenge the establishment. Even special relativity is really just a step beyond Maxwell's equations, and some parts of special relativity were already (somewhat accidentally) developed before Einstein - he just put all the pieces together.

It's more like:

Obscurity, novelty, ingenuity, industry, ubiquity.

AskReddit 内の Universal-Cereal-Bus によるリンク Hey Reddit, what's a misconception you'd like to clear up about your country once and for all?

[–]Astrokiwi 1ポイント2ポイント  (0子コメント)

Honestly, everybody in my neighbourhood (Limoilou) seems pretty friendly. Whenever I'm walking my dog around the area people will stop and say hi and try to have a little bit of a chat, despite my very poor french. Though that might just be because I have an extremely cute dog.

AskReddit 内の Universal-Cereal-Bus によるリンク Hey Reddit, what's a misconception you'd like to clear up about your country once and for all?

[–]Astrokiwi 1ポイント2ポイント  (0子コメント)

It's a lot easier to learn French up here though, because people won't just immediately switch to English as soon as you say "le" instead of "la".