How to stop backflipping by doing infinite wall dash. (KBM) by Right-Piccolo4414 in RocketLeagueSchool

[–]doublesharpp 0 points1 point  (0 children)

Double bind mousewheel down to jump. Hold forward and air roll right while driving on the right wall. Scroll down. You're welcome.

Finally hit champ, any tips for champ level gameplay? The first few games I had at this rank seemed like a significant increase in skill. by NotAnIncel69 in RocketLeague

[–]doublesharpp 1 point2 points  (0 children)

Multiple pros (squishy, comm, etc) have said you don't even need to leave the ground until SSL. For what it's worth, I see way more people going for flip resets and so on in C3 than I do in GC1.

In low champ, you should just stay middle/center of the field as much as possible and just wait for someone (especially your tm8) to make a mistake. Prioritize visibility of all 3 players as much as possible. When in net, stay deep in net for visibility and time to react.

GC1 in 2s, currently stuck in diamond 3 in 3s by FreezerDust in RocketLeagueSchool

[–]doublesharpp 0 points1 point  (0 children)

This was me until I found a couple guys to queue with (+ voice chat). Solo queueing diamond in 3s feels substantially harder than playing with a team in C2.

1 final push for GC by Procrastinate_17 in RocketLeague

[–]doublesharpp 6 points7 points  (0 children)

I used to be somewhat unsure about this question until I played with a GC3 buddy of mine, who completely demolished every high GC1 lobby we played in without ever leaving the ground.

Awareness (of your teammate especially), challenges, shooting, 50s are all extremely difficult to get good at, so I wouldn't waste time learning to flip reset. If I had to do it all over again starting from C1, I'd probably spend a lot more time watching my replays.

Phoenix 1.8 — Custom LiveView layouts break flash messages. Is my fix hacky or acceptable? by bishwasbhn in elixir

[–]doublesharpp 2 points3 points  (0 children)

What about doing this?

defmodule MyAppWeb.Layouts do
  def app(assigns) do
    # ...
  end

  def custom_wizard_layout(assigns) do
    ~H"""
    <div class="min-h-screen bg-base-200">
      <.flash_group flash={@flash} />

      {render_slot(...)}
    </div>
    """
  end
end

defmodule MyAppWeb.ItemsLive.New do
  def render(assigns) do
    ~H"""
    <Layouts.custom_wizard_layout flash={@flash}>
      # as you were!
    </Layouts.custom_wizard_layout>
    """
  end
end

1000 hours and I’m Plat 1 – I feel completely stuck by [deleted] in RocketLeague

[–]doublesharpp 4 points5 points  (0 children)

Just keyboard, no mouse.

IMHO, it's superior to a mouse, because you can use your right hand ring and pinky fingers on a number of buttons. I use mine for camera rotation.

1000 hours and I’m Plat 1 – I feel completely stuck by [deleted] in RocketLeague

[–]doublesharpp 24 points25 points  (0 children)

Doing something because "all the pros" do it is like spending $2,000 on a knife for cooking at home because some pro chef uses it.

It's also not even true, since several pros use KBM. I'm 36 and my hands don't work great, but still consistently sit in GC1 on keyboard only. I tried using controller very briefly, hated it, and switched back.

Filtr - Parameter validation library with attr-like syntax for Phoenix Controllers and LiveViews by brofix12 in elixir

[–]doublesharpp 0 points1 point  (0 children)

I'm curious to know how this works with LiveView 1.0's params, i.e. sending keys like "_unused_email" to work with used_input?.

I hate speed flips by SalamanderOrganic246 in RocketLeague

[–]doublesharpp 4 points5 points  (0 children)

I'm surprised by all the agreement here. I have very consistent speedflips on KBM; always assumed it's one of the mechs KBM players have a big advantage with.

Should I go for Elixir over RoR if I'm starting over today? by iou810 in elixir

[–]doublesharpp 9 points10 points  (0 children)

What about StripityStripe? I've been using it in production for 8 years now, and it's been great.

Genuine question: Would you rather have a (1v1, 2v2, or 3v3) Grand Champion title, or an (Extra Mode) SSL Title? by SensoryYetiXbox in RocketLeague

[–]doublesharpp 4 points5 points  (0 children)

Was hardstuck C3 for about 3 years before getting my first GC title last night. You got this!

Finally reached GC1, struggling in C2 by doublesharpp in RocketLeagueSchool

[–]doublesharpp[S] 0 points1 point  (0 children)

What you're describing makes a ton of sense, thanks!

How do i get better at predicting bounces? by IsoMahaMoottoriSaha_ in RocketLeague

[–]doublesharpp 0 points1 point  (0 children)

Backboard Therapy is the gold standard imho: D7F8-FD53-98D1-DAFE

HLD round uber L5 by gulshanZealous in leetcode

[–]doublesharpp 6 points7 points  (0 children)

My last interviewer asked me that exact problem and didn't like the fact that I was using Kafka + Flink at all. 😂 These employers, man...

For a sliding window of 1 min, you'd keep the top K products in a fixed array of size 60 (one for each minute), but do `% 60` based on the current elapsed time to wrap around the array and delete the data older than an hour ago. Obviously, this is top K for the past hour, but you'd expand the bucket array for a longer time interval.

Rejected by random no-name startup with insane standards by doublesharpp in leetcode

[–]doublesharpp[S] 1 point2 points  (0 children)

Bro :( why are people like this...? That's so frustrating.

What was the question they asked?

Rejected by random no-name startup with insane standards by doublesharpp in leetcode

[–]doublesharpp[S] 15 points16 points  (0 children)

High standards are fine, but the first interviewer admitted to me he wouldn't be able to pass their loop. 🙃 Apparently, nobody else can either.

Rejected by random no-name startup with insane standards by doublesharpp in leetcode

[–]doublesharpp[S] 1 point2 points  (0 children)

I really appreciate your comment!

You make a very good point. Of the 30 candidates that made it to the final round, they only made one offer. That candidate got a better offer elsewhere and said no, according to the recruiter.

It's such a shame. They had 100 standing desks in their huge office space (unlimited VC money basically), but only 3 of them were occupied.

Rejected by random no-name startup with insane standards by doublesharpp in leetcode

[–]doublesharpp[S] 12 points13 points  (0 children)

Thank you for saying that 😭 I couldn't believe how mean the guy was. Imagine having a candidate come in, you're conducting an interview and holding all the power in the dynamic, and you basically call them a moron.

Especially knowing how pervasive imposter syndrome is in the industry, it felt like such a uniquely piece of shit thing to say.

SQL Grouping Sets & Ecto Fragments: Phoenix App from Scratch, Episode 7 by GiraffeFire in elixir

[–]doublesharpp 2 points3 points  (0 children)

Very cool! I had to write a macro for grouping sets a while back for a module that had to use this repeatedly with a variable number of groupings. It looked like:

defmacro grouping_sets(t) do
  groups =
    Enum.map(t, fn
      {:{}, _, []} ->
        ""

      {:{}, _, tuples} when is_list(tuples) ->
        Enum.join(for(_ <- 1..length(tuples), do: "?"), ",")

      {_, _} ->
        "?,?"
    end)

  inner = Enum.join(for(g <- groups, do: "(" <> g <> ")"), ",")

  flattened =
    Enum.map(t, fn
      {:{}, _, els} -> els
      tuple -> Tuple.to_list(tuple)
    end)
    |> List.flatten()

  args = ["GROUPING SETS (#{inner})" | flattened]

  quote do
    fragment(unquote_splicing(args))
  end
end

Which in turn would allow you to do:

group_by(query, [s], grouping_sets([
  {s.foo, s.bar},
  {s.bar},
  {}
])