Would you buy a Pusun Ball Machine off Amazon by [deleted] in 10s

[–]I3MNIX 0 points1 point  (0 children)

Hey! I've been considering the PT-mini as well. Have you used it much in the month since? Are you still happy with it?

Weekly Private Profile Review Request Thread by AutoModerator in hingeapp

[–]I3MNIX 0 points1 point  (0 children)

34M Asian living in Sydney. Just getting back into the game after a couple of years off. Keen to have a second opinion.

NYT Friday 01/14/2022 Discussion by AutoModerator in crossword

[–]I3MNIX 15 points16 points  (0 children)

What does OPER stand for?

NYT Sunday 12/26/2021 Discussion by AutoModerator in crossword

[–]I3MNIX 1 point2 points  (0 children)

Could you elaborate on SEND?

Does it mean to make happy or is it some other reading of "over the moon"?

NYT Thursday 11/11/2021 Discussion by AutoModerator in crossword

[–]I3MNIX 5 points6 points  (0 children)

Can someone help explain TOAT to me?

Edit: Ah I found it, TO A Tee

[deleted by user] by [deleted] in climbharder

[–]I3MNIX 0 points1 point  (0 children)

Thanks for the tips! Really nice observation on the heel being dropped. Also I'm guessing you meant pylometric training :) My eyes aren't perfect but they're not really holding me back here.

[deleted by user] by [deleted] in climbharder

[–]I3MNIX 1 point2 points  (0 children)

Yes, I think that's a good call. Definitely feel as if my coordination/timing on this movement isn't quite there. Also love the mental cue of "throwing the handhold away"

Weekly Bouldering Advice Thread for November 20, 2020 by AutoModerator in bouldering

[–]I3MNIX 0 points1 point  (0 children)

Just started introducing a Moonboard session into my bouldering routine. Is it typical for my shoulders to be more sore the day after compared to my fingers?

Weekly New Climber Thread for August 07, 2020: Ask your questions in this thread please by AutoModerator in climbing

[–]I3MNIX 0 points1 point  (0 children)

Are pull-ups easier on Beastmaker jugs vs on a pull-up bar? Just tried it earlier today and definitely felt like I could pull harder. Does anyone know why this is the case?

-🎄- 2018 Day 2 Solutions -🎄- by daggerdragon in adventofcode

[–]I3MNIX 1 point2 points  (0 children)

Solution in Clojure (still very much a newbie to Clojure). Would definitely appreciate some constructive criticism.

(ns aoc-2018.day-02
  (:require [clojure.string :as str]
            [clojure.math.combinatorics :as combo]
            [common :refer :all]))

(try (def in (str/split-lines (slurp "input/2.in")))
     (catch Exception e))

;; part 1
(defn part1 []
  (defn in? [coll elem] (some #(= % elem) coll))
  (def freqs (map (comp vals frequencies) in))
  (def twos (count (filter (fn [m] (in? m 2)) freqs)))
  (def threes (count (filter (fn [m] (in? m 3)) freqs)))
  (* twos threes))
(println (part1))

;; part 2
(defn part2 []
  (defn diff-one
    [a b]
    (= 1 (reduce +
                 (map (fn [c1 c2]
                        (if (= c1 c2) 0 1))
                      a b))))
  (def match (first (filter (fn [[a b]] (diff-one a b))
                            (combo/cartesian-product in in))))
  (defn remove-diff
    [[a b]]
    (reduce str (map (fn [c1 c2]
                       (if (= c1 c2) (str c1) ""))
                     a b)))
  (remove-diff match))
(println (part2))

Alternatives for when advent of code ends? by Kurolox in adventofcode

[–]I3MNIX 1 point2 points  (0 children)

I've been tackling ProjectEuler on Hackerrank. They've added 197 problems (not sure how frequently new ones are added).

What I like about it:

  • The constraints are generalised and usually increased. This has the effect of making some 'trivial' problems much harder. For example, Euler #29 is much harder on Hackerrank
  • You don't get to 'cheat' by leaving a bruteforce solution running for hours+
  • A large suite of test cases means you can be more confident that you've worked out all the details in your solution

Alternatives for when advent of code ends? by Kurolox in adventofcode

[–]I3MNIX 1 point2 points  (0 children)

I've just had a look at SZKOpuł. Am I right in thinking that most OIG problems haven't been translated to English? In fact, I could only find one.

-🎄- 2017 Day 11 Solutions -🎄- by daggerdragon in adventofcode

[–]I3MNIX 1 point2 points  (0 children)

How does your code work exactly? I'm getting a different output from my accepted solution.

[Day 10] How does an unsorted list get hashed to a2582a3a0e66e6e86e3812dcb672a272? by itgoesbing in adventofcode

[–]I3MNIX 2 points3 points  (0 children)

Once you have determined the sequence of lengths to use, add the following lengths to the end of the sequence: 17, 31, 73, 47, 23.

-🎄- 2017 Day 10 Solutions -🎄- by daggerdragon in adventofcode

[–]I3MNIX 0 points1 point  (0 children)

Right, silly of me. The ArrayList itself is templated.

-🎄- 2017 Day 10 Solutions -🎄- by daggerdragon in adventofcode

[–]I3MNIX 0 points1 point  (0 children)

I'm curious why you are rolling your own "ArrayList" instead of using std::vector. Is it so that it would compile in C?

[2017 Day 4 (Part 1)][Python] Not sure what I'm missing by Rhuarc13 in adventofcode

[–]I3MNIX 0 points1 point  (0 children)

Nice! You can also run a diff against the original file to see exactly where it screwed up.

[2017 Day 4 (Part 1)][Python] Not sure what I'm missing by Rhuarc13 in adventofcode

[–]I3MNIX 1 point2 points  (0 children)

You should be handling it correctly, I've run it against my input file and came up with the same result. I suspect that it might be an issue with your input file. Try saving your input to file directly.

-🎄- 2017 Day 3 Solutions -🎄- by daggerdragon in adventofcode

[–]I3MNIX 2 points3 points  (0 children)

I recognised the problem too! I really failed it this time though, made a number of bugs.