Live data from Hacker News

Viewing profile — yankjenets

yankjenets

HN member
Joined
Sat, Jul 28, 2012, 6:09 AM UTC
HN karma
14
Public activity
11 items

About yankjenets

No profile information was provided.

Recent public activity

  1. comment
    Comment #39721942

    It's a second semester freshman course for CMU CS undergrads.

  2. comment
    Comment #38848049

    Ah ok, understood. I would argue that is still not a convenient lie of "a branch is a pointer to a commit". Rather, the rebase command is changing what the branch is pointing to, a…

  3. comment
    Comment #38844465

    By "remove a commit" do you mean rebase A to point at its previous commit, HEAD~1? A commit SHA represents the entire DAG up until that point, not a given changeset. So in your exa…

  4. comment
    Comment #36249131

    Isn't that an offer, not a threat? Apollo is fully allowed to make things difficult by complaining on social media that he thinks the pricing is unfair. What is illegal or even une…

  5. comment
    Comment #36249029

    I listened to the audio as well. Can you please explain how you think Spez interpreted the threat? He thinks that Apollo is threatening to blast them on social media? Slander him? …

  6. comment
    Comment #24325059

    Because the answer should be an obvious "no it is not guaranteed to be sorted". If the answer is yes the input is sorted, then that context should have been given in the original p…

  7. comment
    Comment #24324640

    And if you had a magical oracle that spat out the two numbers if a solution exists, and otherwise told you no solution exists, you would have an O(1) solution. Just because you can…

  8. comment
    Comment #24324618

    My point was more it is just a different problem. Another "clarifying question" in this vein would be "if there is a valid answer, will they be in index 0 and 1 of the list?" I'm o…

  9. comment
    Comment #24323841

    > can I multiply a number by itself This is a great clarifying question. Ambiguous from the prompt. > what shall I return if there are multiple numbers meeting the criteria This is…

  10. comment
    Comment #20075619

    Optimize for readability above everything else. Almost all of these examples I'd argue would be better suited for something like .map(). Little point in being overly cute, and if y…

  11. comment
    Comment #18181466

    There's a phrase for that. "not permanent."