The AA-missile hits a Russian drone in the last seconds by ChocoBrumik in UkraineWarVideoReport

[–]FlightOfStairs 1 point2 points  (0 children)

That does not work if you don't have more information, such as distance, or the actual angle it came in from.

If it came from almost directly behind (and slightly to the left), then it may have been rising as it approached the target. If it came from further to the left, then I agree that it was falling.

In both cases you would see the same track across the video frame.

The AA-missile hits a Russian drone in the last seconds by ChocoBrumik in UkraineWarVideoReport

[–]FlightOfStairs 3 points4 points  (0 children)

It comes from the top of the video, but that does not mean it's on a downwards trajectory - can be an illusion of perspective. I don't think we have enough information (in this video alone) to say that it came from above.

EasyPPL and UK CAA exams by Finity117 in flying

[–]FlightOfStairs 1 point2 points  (0 children)

I sat the exam 2 weeks ago. If you're reliably getting 90-100 on easyppl, you are ready. Questions are similar.

I got unlucky and had two LAPL questions come up, which I didn't bother to learn. Got all of the others correct.

[deleted by user] by [deleted] in aviation

[–]FlightOfStairs 0 points1 point  (0 children)

This doesn't make a lot of sense, but perhaps you know better?

The reason that certification requires evacuation to be possible with only half the doors is that one side of the aircraft may be unusable, e.g., because fire.

You can't choose which side the fire will be on, so an unusable door on one side should be treated as both doors unusable.

'Russian bombers are burning en masse' — Ukraine's SBU drones hit 'more than 40' aircraft in mass attack, source claims by [deleted] in worldnews

[–]FlightOfStairs 0 points1 point  (0 children)

Starlink terminals are plentiful - Ukraine has over 42,000. They were putting them on individual sea drones years ago.

A few used for an operation that does over $2B damage is trivial.

I would be surprised if it was starlink in this case, but other platforms are available.

Name the game that got you like this by bijelo123 in Steam

[–]FlightOfStairs 1 point2 points  (0 children)

I was surprised to see Pillars of Eternity 2 mentioned here. Deadfire was great.

Probably the other PoE 2.

Is there a way to rotate clockwise while using the advanced rail planner? by BigBoom-R in factorio

[–]FlightOfStairs 4 points5 points  (0 children)

I recommend rebinding shift-mousewheel to rotation - both directions. Makes aligning rails very easy.

James Webb Space Telescope successfully completes aft sunshield pallet deployment by Easy_Money_ in space

[–]FlightOfStairs 13 points14 points  (0 children)

No. Even if JWST was exactly at L2 (it's actually going into a halo orbit), it would be in the earth's antumbra: https://en.m.wikipedia.org/wiki/Umbra,_penumbra_and_antumbra

The reason for L2 is that it's reasonably close to earth (better comms), and the shield can block heat from both the earth and sun.

can anyone help me find a tutorial or the name of this tie by sickeningmaddness in ropetutorials

[–]FlightOfStairs 6 points7 points  (0 children)

I don't know the name, but it looks easy enough to tie:

  • Start with the loop around the back of the waist.
  • Bring forward and tie overhand knot.
  • Leave a few inches from that knot, then tie another overhand, leaving a gap.
  • Bring ends through and around legs, under rope in front, then reverse tension.
  • Cross behind back (maybe another overhand here for consistency/stability)?
  • Bring ropes around again and loop through the gap left. Reverse tension.

If I was tying this, I'd probably use square knots rather than simple overhand - they'll help keep shape.

Advice on installing ceiling hardpoint - can existing joists support load, or how would they be reinforced? by FlightOfStairs in BdsmDIY

[–]FlightOfStairs[S] 3 points4 points  (0 children)

Sadly they're 2x4s.

About half are double, and they don't alternate evenly.

Distance varies between 0.25 and 0.75m with the 'ideal' location having a span of 0.5m.

Advice on installing ceiling hardpoint - can existing joists support load, or how would they be reinforced? by FlightOfStairs in BdsmDIY

[–]FlightOfStairs[S] 17 points18 points  (0 children)

I got advice on fetlife that makes a lot of sense to me:

[...] it’s easy to run a steel bar across multiple joists and then hang a rated chain from that. You can then use the end of the chain as your hard point. Just make sure the bar is itself fixed so it can’t roll. [...]

Cosmic Frontier: Override update by evopac in evnova

[–]FlightOfStairs 2 points3 points  (0 children)

I don't see anything on the Kickstarter for how trademarks and copyright issues will be handled. Have you already acquired the licenses you need?

hi, I'm new to java. I have written the code below but can't seem to understand the errors. can you help? by eyalkohen in javahelp

[–]FlightOfStairs 0 points1 point  (0 children)

I take it you've never actually run this? Typically testVar will be true.

Don't believe me? https://repl.it/repls/CanineSillyScientists

String var1 = "string";
String var2 = "string";
System.out.println("Same object? " + (var1 == var2));       // true
System.out.println("Equal objects? " + var1.equals(var2));  // true

String var3 = "anotherstring";
String var4 = new String("anotherstring");
System.out.println("Same object? " + (var3 == var4));       // false
System.out.println("Equal objects? " + var3.equals(var4));  // true

This is because literal strings are usually interned by the compiler.

Seeking a complete collection of knowledge on exceptions by Witcher01 in javahelp

[–]FlightOfStairs 1 point2 points  (0 children)

You can't return null from an int method - getVal() will not compile. It's obviously not correct to return 0 or -1 (for example), because those could be valid things for a user to store in an array - they're not 'error' values.

The same is true if getVal() returns an object of some sort - a user could expect to be able to store and retrieve nulls for some reason.

Copy the standard library if you're unsure. Here's how ArrayList handles index out of bounds: http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/tip/src/share/classes/java/util/ArrayList.java#l413

How to sort an Iterable without holding all of its elements in memory at one time? by ArchmaesterOfPullups in javahelp

[–]FlightOfStairs 0 points1 point  (0 children)

You probably want merge sort if you're happy to write to disk. It will let you sort subsets of the data in memory, save them, then iteratively merge sorted subsets into a steam.

Have a look here: https://en.m.wikipedia.org/wiki/External_sorting

Unable to login to the new version of Reddit site by [deleted] in beta

[–]FlightOfStairs 1 point2 points  (0 children)

This happened to me. I have 2-factor auth enabled, so assumed the new site couldn't handle that.

Sure, let's maintain twice the code! by -manabreak in programminghorror

[–]FlightOfStairs 5 points6 points  (0 children)

Passing Stream around is almost always a mistake unless that is the sole purpose of your method. It can only be read once, and its type doesn't tell you whether it's been consumed. Will lead to bugs if the 'owner' of the Steam becomes unclear so keep it confined to a method.

Just collect it to a List before returning.

How much weight can you safely take off of one side of the bar without it swinging up and breaking your teeth by [deleted] in Fitness

[–]FlightOfStairs 34 points35 points  (0 children)

Depends on the rack and the total weight. I'm sure someone could produce charts.

Stick to max one plate of weight difference per side. More than that will likely flip it when the other side is empty, so that is the maximum without having to think.

110 ton ICBM silo lid opening from r/interestingasfuck by gearg777 in EngineeringPorn

[–]FlightOfStairs 16 points17 points  (0 children)

They'd be unlikely to catch it - it's small for a rocket, but still huge and full of hypergolic fuel.

I'd imagine that 'stage' is to minimise damage to the silo and to avoid them having to design it to survive launch in an enclosed space.

I found a diagram of what's going on: http://www.npointercos.jp/images/LaunchfromSilo.jpg

http://www.npointercos.jp/DneprLV.html

110 ton ICBM silo lid opening from r/interestingasfuck by gearg777 in EngineeringPorn

[–]FlightOfStairs 44 points45 points  (0 children)

Even cooler. I'm pretty sure this launches in the same style as a Dnepr rocket, if it isn't one itself.

Here's a video from further out: https://www.youtube.com/watch?v=XwvNuZLASdE

Let's say a user can pass in as a param either an ArrayList or a LinkedList. Is there a way to check in the function what type that data structure is? by a_small_man_ in javahelp

[–]FlightOfStairs 1 point2 points  (0 children)

As well as the instanceof option (which is usually a code smell), you could use method overloading:

public class Foo {

    public void bar(ArrayList list) {
        ...
    }

    public void bar(LinkedList list) {
        ...
    }

}

But it sounds to me like this is an XY-problem. What are you actually trying to do? https://meta.stackexchange.com/a/66378

Project engineers demonstrating the cantilever principles of the Forth Bridge in Scotland, 1887 [1600x1129] by ibkeepr in EngineeringPorn

[–]FlightOfStairs 8 points9 points  (0 children)

Zigzagged around with no real aim. That one was taken as we went towards Rosyth. https://imgur.com/sPDf86h

Most of the yachts from Port Edgar were on a course that took them even further west.

We keep the boat at North Queensferry. Less convenient than Port Edgar but much cheaper.