Mark Henderson (aphelionz)

Mark Henderson

39 Followers

Recent casts

Suppose you have a Deck object with 52 cards and it is represented in code via an array of card indexes like [0, 1, 2 ... 50, 51]. Deck has a function draw_top_card. Would you expect that function to return - on a fresh, unshuffled, deck - 0, or 51?

  • 0 replies
  • 0 recasts
  • 0 reactions

Check out my track on Audius! https://audius.co/intelcommunity/wallfacer

  • 1 reply
  • 0 recasts
  • 0 reactions

This is pretty wild / awesome https://www.adriancooney.ie/blog/web-scraping-via-javascript-heap-snapshots

  • 0 replies
  • 0 recasts
  • 0 reactions

Top casts

Hey guys I'm just on here because my parents are on the other sites

  • 0 replies
  • 0 recasts
  • 0 reactions

Teaching myself C++ right now and while there are definitely moments that match the hell that people describe, there are also moments like when you learn about emplace_back https://cplusplus.com/reference/vector/vector/emplace_back/

  • 0 replies
  • 1 recast
  • 0 reactions

I made a little nights + weekends project to learn C++: quiz yourself about ANYTHING using the OpenAI APIs: https://github.com/aphelionz/cppquiz I tried to use as many language features as were reasonable, and included a CMake build and GTest tests. Let me know what you think! #cplusplus

  • 0 replies
  • 0 recasts
  • 0 reactions

It's still insane to me that we can reason about (and practically utilize) numbers beyond the number of atoms in the universe. Intuitively it feels like it should be some sort of hard limit.

  • 0 replies
  • 0 recasts
  • 0 reactions

Onchain profile

Ethereum addresses