<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: SHRAY SALVI</title>
    <description>The latest articles on Forem by SHRAY SALVI (@shraysalvi).</description>
    <link>https://forem.com/shraysalvi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F828911%2F02870afe-ed0c-4536-b096-ca456c0d375f.jpeg</url>
      <title>Forem: SHRAY SALVI</title>
      <link>https://forem.com/shraysalvi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/shraysalvi"/>
    <language>en</language>
    <item>
      <title>How to connect Ipython with own frontend?</title>
      <dc:creator>SHRAY SALVI</dc:creator>
      <pubDate>Fri, 15 Mar 2024 14:27:55 +0000</pubDate>
      <link>https://forem.com/shraysalvi/how-to-connect-ipython-with-own-frontend-5dop</link>
      <guid>https://forem.com/shraysalvi/how-to-connect-ipython-with-own-frontend-5dop</guid>
      <description>&lt;p&gt;I am a college student working on a project to create a Python playground website where users can write and run Python code. I am using the Ace code editor for the frontend, and I believe I need to use IPython in the backend to provide a Python environment for users to execute their code.&lt;/p&gt;

&lt;p&gt;However, I am unsure about how to proceed with integrating IPython into my website. Specifically, I need guidance on how to communicate with the IPython kernel and frontend. Additionally, I would like to set up isolated environments for each user using Docker, but I'm not sure how to implement this.&lt;/p&gt;

&lt;p&gt;Also, I think the Jupyter client can be an easy way to communicate with Kernal.&lt;/p&gt;

</description>
      <category>python</category>
      <category>ipython</category>
      <category>jupyter</category>
      <category>opensource</category>
    </item>
    <item>
      <title>How to get geometry and material details of blender models?</title>
      <dc:creator>SHRAY SALVI</dc:creator>
      <pubDate>Fri, 09 Sep 2022 18:18:20 +0000</pubDate>
      <link>https://forem.com/shraysalvi/how-to-get-geometry-and-material-details-of-blender-models-2mkl</link>
      <guid>https://forem.com/shraysalvi/how-to-get-geometry-and-material-details-of-blender-models-2mkl</guid>
      <description>&lt;p&gt;I have a blender model and I just export it in gltf format but I need geometry and material type to work in threejs. How could I get the geometry and other details of the object because the blender didn't provide the actual gltf file details?&lt;/p&gt;

</description>
      <category>blender</category>
      <category>glt</category>
      <category>threejs</category>
    </item>
    <item>
      <title>Install and run old dependency</title>
      <dc:creator>SHRAY SALVI</dc:creator>
      <pubDate>Tue, 26 Jul 2022 11:01:57 +0000</pubDate>
      <link>https://forem.com/shraysalvi/install-and-run-old-dependency-3h8d</link>
      <guid>https://forem.com/shraysalvi/install-and-run-old-dependency-3h8d</guid>
      <description>&lt;p&gt;I am trying to install &lt;code&gt;packages.json&lt;/code&gt; of the repository &lt;a href="https://github.com/datacamp/datacamp-light"&gt;datacamp light&lt;/a&gt; but the dependencies and other things getting old and didn't install. I used force install but not work. Also, I update modules and then install again not work. I also downgrade npm and node versions. Can anybody help me to install and run this repo properly in local machine. I really appreciate any help you can provide.&lt;/p&gt;

</description>
      <category>node</category>
      <category>npm</category>
      <category>react</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Select button in html</title>
      <dc:creator>SHRAY SALVI</dc:creator>
      <pubDate>Tue, 14 Jun 2022 05:38:08 +0000</pubDate>
      <link>https://forem.com/shraysalvi/select-button-in-html-4ggd</link>
      <guid>https://forem.com/shraysalvi/select-button-in-html-4ggd</guid>
      <description>&lt;p&gt;So basically I created a web page on which if a button (with id = 1) is clicked then django send an html button (with id = 2) to that web page. Now, according to static files button 2 is not going to be selected by &lt;code&gt;getElementById&lt;/code&gt;. So my question is how could I select button (with id = 2) to do another task on clicking that button (with id 2) using js specifically.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>html</category>
      <category>jquery</category>
    </item>
    <item>
      <title>npm run build throw an error, what is NODE_CI</title>
      <dc:creator>SHRAY SALVI</dc:creator>
      <pubDate>Sat, 11 Jun 2022 18:45:22 +0000</pubDate>
      <link>https://forem.com/shraysalvi/npm-run-build-throw-an-error-what-is-nodeci-1fn9</link>
      <guid>https://forem.com/shraysalvi/npm-run-build-throw-an-error-what-is-nodeci-1fn9</guid>
      <description>&lt;p&gt;here is package.json from a github repository&lt;br&gt;
&lt;a href="https://github.com/datacamp/datacamp-light"&gt;datacamp light&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "private": false,
    "name": "datacamp-light",
    "version": "2.0.0",
    "description": "Convert any blog or website to an interactive learning platform for data science",
    "main": "dist/dcl-react.js",
    "scripts": {
        "start": "npm run serve",
        "start:dev": "webpack --env=dev",
        "build": "npm run build:prod",
        "build:prod": "NODE_CI=TRUE webpack --env=prod",
        "build:dev": "NODE_CI=TRUE webpack --env=dev",
        "serve": "webpack-dev-server --open --env=serve",
        "test": "cross-env NODE_ENV=development jest",
        "test:watch": "cross-env NODE_ENV=development NODE_PATH=dist jest --watch",
        "test:ci": "npm run test -- --ci --runInBand --coverage --testResultsProcessor='jest-junit' &amp;amp;&amp;amp; npm run report-coverage",
        "report-coverage": "codecov",
        "test-and-report": "npm run test -- --coverage &amp;amp;&amp;amp; npm run report-coverage",
        "lint:ts": "tslint -p .",
        "lint:ci": "tslint -p . -t junit -o reports/junit/ts-lint-results.xml",
        "precommit": "lint-staged",
        "prettier": "prettier --trailing-comma es5 --write 'src/**/*.{ts,tsx,js,jsx,css,scss}'"
    },
    "author": "Marcel Samyn",
    "license": "GPL-3.0",
    "dependencies": {
        "bluebird": "3.5.1",
        "brace": "git+https://github.com/datacamp/brace.git#v0.10.2",
        "browser-cookies": "1.1.0",
        "golden-layout": "1.5.9",
        "jquery": "3.2.1",
        "lodash": "4.17.10",
        "node-sass": "7.0.1",
        "nodelist-foreach-polyfill": "1.2.0",
        "react": "16.0.0",
        "react-ace": "git+https://github.com/datacamp/react-ace.git#v5.1.1-dc3",
        "react-dom": "16.0.0",
        "react-redux": "5.0.6",
        "redux": "3.7.2",
        "redux-observable": "0.16.0",
        "rxjs": "5.4.3",
        "store": "2.0.12",
        "strip-indent": "2.0.0",
        "universal-rx-request": "1.0.1",
        "xss": "1.0.3"
    },
    "devDependencies": {
        "@fortawesome/fontawesome": "1.1.5",
        "@fortawesome/fontawesome-free-solid": "5.0.10",
        "@types/enzyme": "3.1.10",
        "@types/enzyme-adapter-react-16": "1.0.2",
        "@types/jest": "22.2.3",
        "@types/jquery": "3.2.13",
        "@types/lodash": "4.14.77",
        "@types/react": "16.0.10",
        "@types/react-dom": "16.0.1",
        "@types/react-hot-loader": "3.0.4",
        "@types/react-lazyload": "2.2.5",
        "@types/react-redux": "5.0.10",
        "@types/redux-devtools": "3.0.38",
        "@types/redux-immutable": "3.0.35",
        "@types/storejs": "2.0.0",
        "@types/tapable": "0.2.5",
        "@types/webpack": "3.0.10",
        "@types/webpack-dev-server": "2.4.1",
        "@types/webpack-env": "1.13.0",
        "babel-core": "6.26.0",
        "babel-loader": "7.1.4",
        "babel-plugin-lodash": "3.2.11",
        "babel-plugin-transform-export-extensions": "6.22.0",
        "babel-polyfill": "6.9.1",
        "babel-preset-env": "1.6.0",
        "babel-preset-react": "6.5.0",
        "clean-webpack-plugin": "0.1.16",
        "codecov": "3.0.2",
        "cross-env": "5.0.5",
        "css-loader": "0.28.7",
        "enzyme": "3.3.0",
        "enzyme-adapter-react-16": "1.1.1",
        "enzyme-to-json": "3.1.2",
        "eslint": "3.19.0",
        "eslint-config-prettier": "2.4.0",
        "eslint-plugin-prettier": "2.2.0",
        "eslint-plugin-react": "6.8.0",
        "fork-ts-checker-webpack-plugin": "0.2.8",
        "happypack": "4.0.0",
        "html-webpack-plugin": "3.0.7",
        "husky": "0.14.3",
        "identity-obj-proxy": "3.0.0",
        "ignore-styles": "5.0.1",
        "immutable": "4.0.0-rc.7",
        "jest": "22.4.3",
        "jest-junit": "4.0.0",
        "lint-staged": "4.1.3",
        "lodash-webpack-plugin": "0.11.4",
        "markdown-toc": "1.1.0",
        "prettier": "1.6.1",
        "prettier-webpack-plugin": "0.2.2",
        "react-hot-loader": "3.0.0",
        "react-lazyload": "2.3.0",
        "redux-devtools-extension": "2.13.2",
        "redux-immutable": "4.0.0",
        "redux-mock-store": "1.3.0",
        "rxjs-marbles": "1.6.0",
        "sass-loader": "6.0.6",
        "script-ext-html-webpack-plugin": "1.8.7",
        "style-loader": "0.13.1",
        "stylelint": "8.1.1",
        "stylelint-config-recommended": "1.0.0",
        "stylelint-webpack-plugin": "0.9.0",
        "superagent": "3.8.3",
        "svg-react-loader": "0.4.5",
        "ts-jest": "22.4.6",
        "ts-loader": "2.3.7",
        "tslint": "5.10.0",
        "tslint-config-airbnb": "5.3.0-beta",
        "tslint-config-prettier": "1.5.0",
        "tslint-plugin-prettier": "1.1.0",
        "tslint-react": "3.2.0",
        "typescript": "2.4.2",
        "typescript-fsa": "2.5.0",
        "typescript-fsa-reducers": "0.4.4",
        "typings-for-css-modules-loader": "1.5.0",
        "uglifyjs-webpack-plugin": "1.2.5",
        "webpack": "^3.12.0",
        "webpack-bundle-analyzer": "2.13.1",
        "webpack-dev-server": "2.8.1",
        "webpack-merge": "4.1.0",
        "webpack-notifier": "1.5.0",
        "xterm": "3.4.1"
    },
    "jest": {
        "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
        "testURL": "http://localhost",
        "moduleFileExtensions": [
            "ts",
            "tsx",
            "js",
            "jsx",
            "json",
            "node"
        ],
        "moduleDirectories": [
            "node_modules",
            "vendor"
        ],
        "moduleNameMapper": {
            "\\.(css|scss)$": "identity-obj-proxy",
            "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "&amp;lt;rootDir&amp;gt;/__mocks__/fileMock.js"
        },
        "transform": {
            "^.+\\.tsx?$": "ts-jest"
        },
        "setupFiles": [
            "&amp;lt;rootDir&amp;gt;/src/test-setup.ts"
        ],
        "snapshotSerializers": [
            "enzyme-to-json/serializer"
        ],
        "collectCoverageFrom": [
            "src/**/*.{ts,tsx}"
        ]
    },
    "lint-staged": {
        "*.{js,jsx,json,ts,tsx,css}": [
            "prettier --write --trailing-comma es5",
            "git add"
        ],
        "README.md": [
            "markdown-toc -i",
            "git add"
        ]
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;now If I hit command npm run build it throw an error&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XpQaKTL4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yy60080vobrhpb0uyfvb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XpQaKTL4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yy60080vobrhpb0uyfvb.png" alt="Image description" width="722" height="232"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How do I build it on local machine ('npm run build')? Thanks in advance.&lt;/p&gt;

</description>
      <category>react</category>
      <category>redux</category>
      <category>node</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
