{
  "id": 583525,
  "title": "Organizing myself using github ",
  "url": "/competitions/cmi-detect-behavior-with-sensor-data/discussion/583525",
  "author_name": "",
  "post_date": "2025-06-07T14:44:25.417644500Z",
  "votes": 3,
  "comment_count": 6,
  "views": 0,
  "content": "<p>Is it possible to use github to import my things? I am not very keen on working with Jupyter Notebooks. <br>\nHave you guys tried that before? </p>",
  "messages": [
    {
      "id": "3219342",
      "postDate": "06/07/2025 14:44:25",
      "content": "<p>Is it possible to use github to import my things? I am not very keen on working with Jupyter Notebooks. <br>\nHave you guys tried that before? </p>",
      "rawMarkdown": "Is it possible to use github to import my things? I am not very keen on working with Jupyter Notebooks. \nHave you guys tried that before?",
      "votes": null
    },
    {
      "id": "3219346",
      "postDate": "06/07/2025 14:50:01",
      "content": "<p>Yes of course <a href=\"https://www.kaggle.com/bryanpiguave\" target=\"_blank\">@bryanpiguave</a> </p>\n<p>This is a better way to work with code. I am also a VSCode and git type participant and resort to making repos and pushing/ cloning with local VSCode type development </p>\n<p>Just make sure to package your dependencies properly while committing the repo as internet will be off during submission. </p>",
      "rawMarkdown": "Yes of course @bryanpiguave \n\nThis is a better way to work with code. I am also a VSCode and git type participant and resort to making repos and pushing/ cloning with local VSCode type development \n\nJust make sure to package your dependencies properly while committing the repo as internet will be off during submission.",
      "votes": null
    },
    {
      "id": "3219619",
      "postDate": "06/08/2025 04:09:10",
      "content": "<p>Hi Bryan.</p>\n<p>Yes, using github is a great idea. I wrote recently a <a href=\"https://www.kaggle.com/code/nnjjpp/how-to-reuse-your-code\" target=\"_blank\">tutorial on importing your work from github</a>. Please let me know if you find it useful.</p>\n<p>Although there is version history for Jupyter notebooks here on kaggle, I have found notebooks are pretty bad at organizing, tracking and versioning your work. It is also a bad practice to copy-paste the same code into different workbooks. Much better to have your often used functions hosted on github and pip install them in.</p>\n<p>Nick.</p>",
      "rawMarkdown": "Hi Bryan.\n\nYes, using github is a great idea. I wrote recently a [tutorial on importing your work from github](https://www.kaggle.com/code/nnjjpp/how-to-reuse-your-code). Please let me know if you find it useful.\n\nAlthough there is version history for Jupyter notebooks here on kaggle, I have found notebooks are pretty bad at organizing, tracking and versioning your work. It is also a bad practice to copy-paste the same code into different workbooks. Much better to have your often used functions hosted on github and pip install them in.\n\nNick.",
      "votes": null
    },
    {
      "id": "3219975",
      "postDate": "06/08/2025 15:30:54",
      "content": "<p>Thanks for the tutorial. I will try it out. I agree with you. Notebooks give me headaches most of the time. haha</p>",
      "rawMarkdown": "Thanks for the tutorial. I will try it out. I agree with you. Notebooks give me headaches most of the time. haha",
      "votes": null
    },
    {
      "id": "3220120",
      "postDate": "06/08/2025 20:26:20",
      "content": "<p>Thanks Ravi. You are right, internet is off for this competition, which means we can't pip install directly in a submission notebook. However, we can pip install into a auxiliary notebook and attach this as a utility script notebook as described <a href=\"https://www.kaggle.com/code/kononenko/pip-install-once\" target=\"_blank\">here</a>.</p>",
      "rawMarkdown": "Thanks Ravi. You are right, internet is off for this competition, which means we can't pip install directly in a submission notebook. However, we can pip install into a auxiliary notebook and attach this as a utility script notebook as described [here](https://www.kaggle.com/code/kononenko/pip-install-once).",
      "votes": null
    },
    {
      "id": "3220127",
      "postDate": "06/08/2025 20:51:34",
      "content": "<p>Yes of course <a href=\"https://www.kaggle.com/nnjjpp\" target=\"_blank\">@nnjjpp</a> </p>",
      "rawMarkdown": "Yes of course @nnjjpp",
      "votes": null
    },
    {
      "id": "3220768",
      "postDate": "06/09/2025 22:42:09",
      "content": "<p>thanks for the information</p>",
      "rawMarkdown": "thanks for the information",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3219346,
      "author_name": "ravi20076",
      "author_url": "",
      "post_date": "06/07/2025 14:50:01",
      "content": "<p>Yes of course <a href=\"https://www.kaggle.com/bryanpiguave\" target=\"_blank\">@bryanpiguave</a> </p>\n<p>This is a better way to work with code. I am also a VSCode and git type participant and resort to making repos and pushing/ cloning with local VSCode type development </p>\n<p>Just make sure to package your dependencies properly while committing the repo as internet will be off during submission. </p>",
      "votes": null,
      "replies": [
        {
          "id": 3220120,
          "author_name": "nnjjpp",
          "author_url": "",
          "post_date": "06/08/2025 20:26:20",
          "content": "<p>Thanks Ravi. You are right, internet is off for this competition, which means we can't pip install directly in a submission notebook. However, we can pip install into a auxiliary notebook and attach this as a utility script notebook as described <a href=\"https://www.kaggle.com/code/kononenko/pip-install-once\" target=\"_blank\">here</a>.</p>",
          "votes": null,
          "replies": [
            {
              "id": 3220127,
              "author_name": "ravi20076",
              "author_url": "",
              "post_date": "06/08/2025 20:51:34",
              "content": "<p>Yes of course <a href=\"https://www.kaggle.com/nnjjpp\" target=\"_blank\">@nnjjpp</a> </p>",
              "votes": null,
              "replies": [
                {
                  "id": 3220768,
                  "author_name": "bryanpiguave",
                  "author_url": "",
                  "post_date": "06/09/2025 22:42:09",
                  "content": "<p>thanks for the information</p>",
                  "votes": null,
                  "replies": []
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": 3219619,
      "author_name": "nnjjpp",
      "author_url": "",
      "post_date": "06/08/2025 04:09:10",
      "content": "<p>Hi Bryan.</p>\n<p>Yes, using github is a great idea. I wrote recently a <a href=\"https://www.kaggle.com/code/nnjjpp/how-to-reuse-your-code\" target=\"_blank\">tutorial on importing your work from github</a>. Please let me know if you find it useful.</p>\n<p>Although there is version history for Jupyter notebooks here on kaggle, I have found notebooks are pretty bad at organizing, tracking and versioning your work. It is also a bad practice to copy-paste the same code into different workbooks. Much better to have your often used functions hosted on github and pip install them in.</p>\n<p>Nick.</p>",
      "votes": null,
      "replies": [
        {
          "id": 3219975,
          "author_name": "bryanpiguave",
          "author_url": "",
          "post_date": "06/08/2025 15:30:54",
          "content": "<p>Thanks for the tutorial. I will try it out. I agree with you. Notebooks give me headaches most of the time. haha</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3219342": "Is it possible to use github to import my things? I am not very keen on working with Jupyter Notebooks. \nHave you guys tried that before?",
    "3219346": "Yes of course @bryanpiguave \n\nThis is a better way to work with code. I am also a VSCode and git type participant and resort to making repos and pushing/ cloning with local VSCode type development \n\nJust make sure to package your dependencies properly while committing the repo as internet will be off during submission.",
    "3219619": "Hi Bryan.\n\nYes, using github is a great idea. I wrote recently a [tutorial on importing your work from github](https://www.kaggle.com/code/nnjjpp/how-to-reuse-your-code). Please let me know if you find it useful.\n\nAlthough there is version history for Jupyter notebooks here on kaggle, I have found notebooks are pretty bad at organizing, tracking and versioning your work. It is also a bad practice to copy-paste the same code into different workbooks. Much better to have your often used functions hosted on github and pip install them in.\n\nNick.",
    "3219975": "Thanks for the tutorial. I will try it out. I agree with you. Notebooks give me headaches most of the time. haha",
    "3220120": "Thanks Ravi. You are right, internet is off for this competition, which means we can't pip install directly in a submission notebook. However, we can pip install into a auxiliary notebook and attach this as a utility script notebook as described [here](https://www.kaggle.com/code/kononenko/pip-install-once).",
    "3220127": "Yes of course @nnjjpp",
    "3220768": "thanks for the information"
  },
  "source": "meta"
}