{
  "id": 351866,
  "title": "Henry Hacker's .984 solution",
  "url": "/competitions/ai-village-ctf/writeups/robga-henry-hacker-s-984-solution",
  "author_name": "",
  "post_date": "2022-09-12T07:52:08.433Z",
  "votes": 6,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I let Henry use my account to post his solution. Henry's a slacker hacker and tried to find simple solutions. You can his creative notebook here. </p>\n<p><a href=\"https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher\" target=\"_blank\">Henry Hacker's Notebook</a></p>\n<p>Having looked at other notebooks Henry says he is particularly happy with his solutions for:</p>\n<p>Wifi: finding a direct embedding that hid the flag. <a href=\"https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher#Task-8.-WIFI.\" target=\"_blank\">Wifi solution</a></p>\n<p>The flag is the order of the standard deviations of each row.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1582365%2F76e0c3f1adbbabb52a5b0d5c42af4312%2F__results___33_1.png?generation=1662966872365759&amp;alt=media\" alt=\"STDDEV\"></p>\n<p>Crop 1: Finding an optimal solution through score reverse engineering. <a href=\"https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher#Task-21.-CROP-1.\" target=\"_blank\">Crop1 solution</a></p>\n<p>The best image is a background of [223. 128. 114.] with a circle of circle [179. 222. 105.]</p>",
  "messages": [
    {
      "id": "1935530",
      "postDate": "09/12/2022 07:07:56",
      "content": "<p>I let Henry use my account to post his solution. Henry's a slacker hacker and tried to find simple solutions. You can his creative notebook here. </p>\n<p><a href=\"https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher\" target=\"_blank\">Henry Hacker's Notebook</a></p>\n<p>Having looked at other notebooks Henry says he is particularly happy with his solutions for:</p>\n<p>Wifi: finding a direct embedding that hid the flag. <a href=\"https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher#Task-8.-WIFI.\" target=\"_blank\">Wifi solution</a></p>\n<p>The flag is the order of the standard deviations of each row.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1582365%2F76e0c3f1adbbabb52a5b0d5c42af4312%2F__results___33_1.png?generation=1662966872365759&amp;alt=media\" alt=\"STDDEV\"></p>\n<p>Crop 1: Finding an optimal solution through score reverse engineering. <a href=\"https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher#Task-21.-CROP-1.\" target=\"_blank\">Crop1 solution</a></p>\n<p>The best image is a background of [223. 128. 114.] with a circle of circle [179. 222. 105.]</p>",
      "rawMarkdown": "I let Henry use my account to post his solution. Henry's a slacker hacker and tried to find simple solutions. You can his creative notebook here. \n\n[Henry Hacker's Notebook](https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher)\n\nHaving looked at other notebooks Henry says he is particularly happy with his solutions for:\n\nWifi: finding a direct embedding that hid the flag. [Wifi solution](https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher#Task-8.-WIFI.)\n\nThe flag is the order of the standard deviations of each row.\n![STDDEV](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1582365%2F76e0c3f1adbbabb52a5b0d5c42af4312%2F__results___33_1.png?generation=1662966872365759&alt=media)\n\nCrop 1: Finding an optimal solution through score reverse engineering. [Crop1 solution](https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher#Task-21.-CROP-1.)\n\nThe best image is a background of [223. 128. 114.] with a circle of circle [179. 222. 105.]",
      "votes": null
    },
    {
      "id": "1936063",
      "postDate": "09/12/2022 13:47:14",
      "content": "<p>Great efficient WIFI solution <a href=\"https://www.kaggle.com/robga\" target=\"_blank\">@robga</a> . </p>\n<p>After reading <a href=\"https://www.kaggle.com/mpware\" target=\"_blank\">@mpware</a> notebook <a href=\"https://www.kaggle.com/code/mpware/ctf-journey#WIFI-(id:-wifi)----200-Points\" target=\"_blank\">here</a>, we see that the character embeddings reside on a 2 dimensional manifold (i.e. plane) in the shape of a spiral. Each subsequent character is further from the center than the previous one which causes the STD to be increasing like you observed. Using <code>PCA(n_components=2)</code>, we can find the exact shape of the character embeddings. This image is a 2-D plane residing in the 512 dimensional space where the embeddings live.</p>\n<p><img src=\"https://raw.githubusercontent.com/cdeotte/Kaggle_Images/main/Sep-2022/pca.png\" alt=\"\"></p>",
      "rawMarkdown": "Great efficient WIFI solution @robga . \n\nAfter reading @mpware notebook [here][1], we see that the character embeddings reside on a 2 dimensional manifold (i.e. plane) in the shape of a spiral. Each subsequent character is further from the center than the previous one which causes the STD to be increasing like you observed. Using `PCA(n_components=2)`, we can find the exact shape of the character embeddings. This image is a 2-D plane residing in the 512 dimensional space where the embeddings live.\n\n![](https://raw.githubusercontent.com/cdeotte/Kaggle_Images/main/Sep-2022/pca.png)\n\n[1]: https://www.kaggle.com/code/mpware/ctf-journey#WIFI-(id:-wifi)----200-Points",
      "votes": null
    },
    {
      "id": "1939623",
      "postDate": "09/14/2022 21:48:14",
      "content": "<p>Thanks for the contribution, because it turns out I made this graph and didn’t zoom in. I am a very visual thinker but have poor eyesight. I can now connect the approaches, and see the elegance. I enjoyed this puzzle. </p>",
      "rawMarkdown": "Thanks for the contribution, because it turns out I made this graph and didn’t zoom in. I am a very visual thinker but have poor eyesight. I can now connect the approaches, and see the elegance. I enjoyed this puzzle.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1936063,
      "author_name": "cdeotte",
      "author_url": "",
      "post_date": "09/12/2022 13:47:14",
      "content": "<p>Great efficient WIFI solution <a href=\"https://www.kaggle.com/robga\" target=\"_blank\">@robga</a> . </p>\n<p>After reading <a href=\"https://www.kaggle.com/mpware\" target=\"_blank\">@mpware</a> notebook <a href=\"https://www.kaggle.com/code/mpware/ctf-journey#WIFI-(id:-wifi)----200-Points\" target=\"_blank\">here</a>, we see that the character embeddings reside on a 2 dimensional manifold (i.e. plane) in the shape of a spiral. Each subsequent character is further from the center than the previous one which causes the STD to be increasing like you observed. Using <code>PCA(n_components=2)</code>, we can find the exact shape of the character embeddings. This image is a 2-D plane residing in the 512 dimensional space where the embeddings live.</p>\n<p><img src=\"https://raw.githubusercontent.com/cdeotte/Kaggle_Images/main/Sep-2022/pca.png\" alt=\"\"></p>",
      "votes": null,
      "replies": [
        {
          "id": 1939623,
          "author_name": "robga",
          "author_url": "",
          "post_date": "09/14/2022 21:48:14",
          "content": "<p>Thanks for the contribution, because it turns out I made this graph and didn’t zoom in. I am a very visual thinker but have poor eyesight. I can now connect the approaches, and see the elegance. I enjoyed this puzzle. </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1935530": "I let Henry use my account to post his solution. Henry's a slacker hacker and tried to find simple solutions. You can his creative notebook here. \n\n[Henry Hacker's Notebook](https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher)\n\nHaving looked at other notebooks Henry says he is particularly happy with his solutions for:\n\nWifi: finding a direct embedding that hid the flag. [Wifi solution](https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher#Task-8.-WIFI.)\n\nThe flag is the order of the standard deviations of each row.\n![STDDEV](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1582365%2F76e0c3f1adbbabb52a5b0d5c42af4312%2F__results___33_1.png?generation=1662966872365759&alt=media)\n\nCrop 1: Finding an optimal solution through score reverse engineering. [Crop1 solution](https://www.kaggle.com/code/robga/henrys-homework-marked-0-984-by-teacher#Task-21.-CROP-1.)\n\nThe best image is a background of [223. 128. 114.] with a circle of circle [179. 222. 105.]",
    "1936063": "Great efficient WIFI solution @robga . \n\nAfter reading @mpware notebook [here][1], we see that the character embeddings reside on a 2 dimensional manifold (i.e. plane) in the shape of a spiral. Each subsequent character is further from the center than the previous one which causes the STD to be increasing like you observed. Using `PCA(n_components=2)`, we can find the exact shape of the character embeddings. This image is a 2-D plane residing in the 512 dimensional space where the embeddings live.\n\n![](https://raw.githubusercontent.com/cdeotte/Kaggle_Images/main/Sep-2022/pca.png)\n\n[1]: https://www.kaggle.com/code/mpware/ctf-journey#WIFI-(id:-wifi)----200-Points",
    "1939623": "Thanks for the contribution, because it turns out I made this graph and didn’t zoom in. I am a very visual thinker but have poor eyesight. I can now connect the approaches, and see the elegance. I enjoyed this puzzle."
  },
  "source": "meta"
}