Tag: VSCode

Execute R command on specific termimal

Execute R command on specific termimal 1 Hi all, I am running R vscode on linux HPC node. I ran command in a R script (using ctrl + enter), but it was executed on a login node. I would like to execute the command in a specific terminal, where I…

Continue Reading Execute R command on specific termimal

Running Google Colab or Kaggle Notebooks on VSCODE

Boost Your Coding Efficiency: Running Google Colab or Kaggle Notebooks on VSCODE Introduction What is Google Colab? What is Kaggle? Limitations of Notebook Environments The Need for an IDE Introduction to Colab Code Setting up Colab Code Running Colab Code in Google Colab Running Colab Code in Kaggle Troubleshooting Common…

Continue Reading Running Google Colab or Kaggle Notebooks on VSCODE

Redirect loop detected. Notebook has jupyterhub version unknown (likely < 0.8), but the Hub expects 4.0.2 - JupyterHub

Thanks very much for your help. I changed the jupyterhub_config.py to this: c.Spawner.args = [“–allow-root”] And run the jupyterhub, and there is the terminal information: I 2023-11-27 17:01:45.679 JupyterHub app:2859] Running JupyterHub version 4.0.2 [I 2023-11-27 17:01:45.679 JupyterHub app:2889] Using Authenticator: jupyterhub.auth.PAMAuthenticator-4.0.2 [I 2023-11-27 17:01:45.679 JupyterHub app:2889] Using Spawner: jupyterhub.spawner.LocalProcessSpawner-4.0.2…

Continue Reading Redirect loop detected. Notebook has jupyterhub version unknown (likely < 0.8), but the Hub expects 4.0.2 - JupyterHub

Top 5 Editors for R Programming: Boost Your Data Science Workflow

Are you diving into the world of R programming? Whether you’re a seasoned data scientist or just starting out, choosing the right editor is crucial for your success. Today, I’m here to guide you through the top 5 editors for R programming, each tailored to boost your coding efficiency and…

Continue Reading Top 5 Editors for R Programming: Boost Your Data Science Workflow

JupyterHubSingleUser – Failed to connect to my Hub at http://127.0.0.1:8081/hub/api – JupyterHub – Jupyter Community Forum

After updating the base notebook image to Quay (base-notebook:2023-10-31) getting these connection errors in single user server spawn. Earlier used version jupyter/base-notebook:2023-04-14 this working without any errors. (python3.10 version used in working docker image) Environment:Used helm chart version “3.0.3” to deploy the 4.0.2 version of application on AWS EKS Cluster….

Continue Reading JupyterHubSingleUser – Failed to connect to my Hub at http://127.0.0.1:8081/hub/api – JupyterHub – Jupyter Community Forum

visual studio code – JupyterHub vscode extension Error: Unable to determine base url of Jupyter Hub Server

I want to access jupyterHub from my vscode. I have my URL like this: <my-hub-url>/user/<my-hub-user-name>/?token=<my-token&gt;. This URL works just fine in Chrome if I click on it and the connection between VSCode & the hub is also working using other computer but on mine computer I got : Here are…

Continue Reading visual studio code – JupyterHub vscode extension Error: Unable to determine base url of Jupyter Hub Server

Trying to spawn pods in other namespace – Zero to JupyterHub on Kubernetes

Hello manics, thank you for your quick response and the tips on further debugging!In the default setting everything works fine, I can even use a profile as long as I dont use the kubespawner_override.namespace option. Here are the logs from the profile+namespace setting with the debug logging:Hub: [I 2023-11-16 19:58:45.827…

Continue Reading Trying to spawn pods in other namespace – Zero to JupyterHub on Kubernetes

RStudio highlight for LaTeX code – RStudio IDE

Hello everyone, I recently start using Quarto and R markdown intensively to write some latex math equations.However, I found that in both qmd and rmd doc, R studio does not highlight any latex code in the math environment. This makes it hard to write multiple equations in the same $$…$$…

Continue Reading RStudio highlight for LaTeX code – RStudio IDE

Decoding the Best IDE for You in 2024

Navigate the coding landscape with our comprehensive comparison of RStudio vs VSCode. Uncover the strengths, weaknesses, and unique features of each IDE to make an informed choice for your programming needs. Explore the showdown between RStudio and VSCode to optimize your coding experience. Embarking on a coding venture often feels…

Continue Reading Decoding the Best IDE for You in 2024

GPU Bar1 Memory Usage Couldnt Release After Running Pytorch Code – CUDA Programming and Performance

I found my gpu bar 1 memory usage could not released after I ran my pytorch code in VSCode with anaconda envrionment (pytorch 2.0.1; py3.10_cuda11.8_cudnn8_0 pytorch), GPU dirver version:545.84, Operation system : Windows 11.I found that other users also had the same problem as me, but they could clear the…

Continue Reading GPU Bar1 Memory Usage Couldnt Release After Running Pytorch Code – CUDA Programming and Performance

Unable to spawn server after login JupyterHub on EKS cluster – Zero to JupyterHub on Kubernetes

HiI have installed jupyterhub with my newly created EKS Cluster with helm install, Installation was success and able to get the login page, while login with admin userI’m getting error message like below Your server is starting up. You will be redirected automatically when it’s ready for you. 100% Complete…

Continue Reading Unable to spawn server after login JupyterHub on EKS cluster – Zero to JupyterHub on Kubernetes

After installing Jupyter Hub and Jupyter Lab on CentOS 7, how do I use them on Windows?

After installing Jupyterhub in CentOS 7 Master account, I want to set up analysis environments and use Jupyter Lab in each account. I want to connect with Jupyter lab from windows-based computer, so people don’t need to log-in to CentOS 7, they just need to write password in Jupyter Lab…

Continue Reading After installing Jupyter Hub and Jupyter Lab on CentOS 7, how do I use them on Windows?

Google Expands Duet AI in Google Cloud for App Development, DevOps, and More

At Google Cloud Next, Google has expanded its always-on collaborator Duet AI with new features aimed at helping developers with application development, DevOps, database management and migration, data analysis and visualization, as well as cybersecurity. Duet AI in Google Cloud provides expert assistance across your entire software development lifecycle….

Continue Reading Google Expands Duet AI in Google Cloud for App Development, DevOps, and More

How Google Cloud Is Leveraging Generative AI To Outsmart Competition

At Google Cloud Next, the search giant’s annual cloud computing conference, generative AI took center stage. From Sundar Pichai’s and Thomas Kurian’s keynotes to various breakout and partner-led sessions, the conference was squarely focused on generative AI. Thomas Kurian, CEO, Google Cloud Google With the investments made in generative AI,…

Continue Reading How Google Cloud Is Leveraging Generative AI To Outsmart Competition

How Google Cloud is leveraging Generative AI to beat the competition

At Google Cloud Next, the search giant’s annual cloud computing conference, generative AI took center stage. From keynote speeches by Sundar Pichai and Thomas Kurian to various breakout and partner-led sessions, the conference was completely focused on Generative AI. Thomas Kurian, CEO, Google Cloud Google With the investments it has…

Continue Reading How Google Cloud is leveraging Generative AI to beat the competition

macos – How to change Git version in RStudio on Mac OS 11 (M1)

I have two versions of Git installed on my computer (which runs Mac OS 11 on an M1 chip). git version 2.37.0 (Apple Git-136) came pre-installed. Unfortunately, I found that version to cause some issues and decided to switch to the regular version. I used Home Brew to install git…

Continue Reading macos – How to change Git version in RStudio on Mac OS 11 (M1)

wsl2 Ubuntu18.04 install CUDA Pytorch

wget github.com/ebxeax/ebxeax.github.io/blob/main/toolbox/initUbuntu/initUbuntu.sh bash ./initUbuntu.sh CUDA11.6 wget developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-wsl-ubuntu.pin sudo mv cuda-wsl-ubuntu.pin /etc/apt/preferences.d/cuda-repository-pin-600 wget developer.download.nvidia.com/compute/cuda/11.6.2/local_installers/cuda-repo-wsl-ubuntu-11-6-local_11.6.2-1_amd64.deb sudo dpkg -i cuda-repo-wsl-ubuntu-11-6-local_11.6.2-1_amd64.deb sudo apt-key add /var/cuda-repo-wsl-ubuntu-11-6-local/7fa2af80.pub sudo apt-get update sudo apt-get -y install cuda Load library path gedit ~/.bashrc export PATH=/usr/local/cuda/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PAT source ~/.bashrc Test nvidia-smi Test nvcc -V Pytorch pip3 install torch torchvision…

Continue Reading wsl2 Ubuntu18.04 install CUDA Pytorch

linux – TensorFlow GPU Detection Issue in DataSpell on Ubuntu 22.04 with Nvidia 1080 GPU

I have successfully configured TensorFlow on a fresh Ubuntu 22.04 installation, following the instructions provided in the official TensorFlow documentation link. I have setup CUDA® Toolkit 11.8 cuDNN SDK 8.6.0 in my conda enviroment and I have my nvidia drivers installed. My system is using a Nvidia 1080 GPU, and…

Continue Reading linux – TensorFlow GPU Detection Issue in DataSpell on Ubuntu 22.04 with Nvidia 1080 GPU

Singleuser pod unable to register to hub on k8s – Zero to JupyterHub on Kubernetes

Hi,I am trying to deploy the zero to jupyterhub on k8s charts on my k8s cluster (microk8s with calico networking).I am stuck where I can access the hub UI (I am using domain name so I bind the hub to domain.com/jupyterhub) and I am able to login (with the dummy…

Continue Reading Singleuser pod unable to register to hub on k8s – Zero to JupyterHub on Kubernetes

Generating Images with Stable Diffusion XL (SDXL) 1.0, HuggingFace and PyTorch | by Data Drifters | Aug, 2023

Before we start, please follow us on Medium and grab the tutorial’s notebook here. SDXL 1.0 is StabilityAI’s latest diffusion model for image generation, it outperforms previous versions of Stable Diffusion models and rival with black-box SOTA image generators such as Midjourney. SDXL 1.0 contains two models and you can…

Continue Reading Generating Images with Stable Diffusion XL (SDXL) 1.0, HuggingFace and PyTorch | by Data Drifters | Aug, 2023

r – RStudio-Type Outline in VSCode

I’m looking for a similar feature in VSCode to the “Outline” feature in RStudio. For example. in RStudio I can create hierarchical sections in my code like the following: # Setup — (code here) # Section 1 — (code here) ## Subsection — (code here) # Section 2 — (code…

Continue Reading r – RStudio-Type Outline in VSCode

RStudio Dark Mode: A Stylish and Productive Coding Environment

Key Points Dark mode in RStudio provides a visually appealing and comfortable coding environment. It reduces eye strain and fatigue, allowing longer coding sessions without discomfort. Dark mode enhances focus, concentration, and productivity by minimizing distractions. Customization options in RStudio enable users to personalize the dark mode experience. Dark mode…

Continue Reading RStudio Dark Mode: A Stylish and Productive Coding Environment

Top Tools for Machine Learning (ML) Experiment Tracking and Management (2023)

One thing is getting good results from a single model-training run when working on a machine learning project. It’s another thing to keep your machine learning trials well-organized and to have a method for drawing reliable conclusions from them. Experiment tracking provides the solution to these problems. Experiment tracking in…

Continue Reading Top Tools for Machine Learning (ML) Experiment Tracking and Management (2023)

Gromacs Developer Setup – User discussions

GROMACS version:GROMACS modification: Yes/No Hi,I’m trying to build gromacs using cmake, as I wish to work on developing in Gromacs. I tried using Clion, and was able to successfully configure the cmake project, but due to its heavyweight nature, I switched to VSCode instead. When I tried using the CMake:Tools…

Continue Reading Gromacs Developer Setup – User discussions

ebastien/openapi-lang: A high-level language for OpenAPI

4 hours ago A high-level language for OpenAPI. Contribute to ebastien/openapi-lang development by creating an account on GitHub. An OpenAPI LanguageOAL is a high-level functional programming language for designing OpenAPI definitions. As an Interface Description Language, it is not general purpose and not Turing-complete, by design. The motivation is to…

Continue Reading ebastien/openapi-lang: A high-level language for OpenAPI

java – Gradle setup project using OpenApi not compile vsCode

I pull a project from github that has weird setup. I’m new to gradle. The project structure you can see on the below screenshot. The folder has two sub folders. 1sub folder is openapi where all generated-sources are stored there. 2nd sub folder is the main code of java that…

Continue Reading java – Gradle setup project using OpenApi not compile vsCode

Working with mappy and comparing it to Blast

Working with mappy and comparing it to Blast 0 Hello! Following a previous post of mine (Alignment error using Biopython) and thanks to the kind help of @zorbax i came up with this piece of code to do the alignment i wanted: import mappy as mp import re # Load…

Continue Reading Working with mappy and comparing it to Blast

Alignment error using Biopython

Alignment error using Biopython 1 Hello, i am trying to write a program using biopython that will align some sequences from a fasta file (for the test that i will present 5 of them) against a fasta file containing a genome. For each, gene-genome alignment i want the score of…

Continue Reading Alignment error using Biopython

Rocker Project – Other projects

Here are some images and tools that serve a similar purpose to the Rocker images. Please refer to the links for more information. Docker images for R Jupyter Docker Stacks The stack of Docker images by Project Jupyter, based on Ubuntu, install packages from conda-forge, and configured to run Jupyter….

Continue Reading Rocker Project – Other projects

Best Vs Code Extensions for Seamless Development

VSCode, an immensely popular and widely recognized integrated development environment (IDE), is regarded by many as the top choice across various programming languages. With countless extensions available, I have carefully selected a collection of the finest ones to showcase. These Vs Code extensions serve diverse purposes, including aiding in code…

Continue Reading Best Vs Code Extensions for Seamless Development

Error installing rstudio-desktop package on Arch

When I run yay -R rstudio-desktop in terminal, the installer goes for a while before hitting this error and exiting. Buildfile: /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/build.xml i18n-checksum: [echo] Commands.cmd.xml i18n checksum matches: true i18n-unix-check: i18n-unix: i18n-windows-check: i18n-windows: generate-i18n: ext: [jscomp] Compiling 62 file(s) with 93 extern(s) [jscomp] 0 error(s), 0 warning(s) javac: [mkdir] Created…

Continue Reading Error installing rstudio-desktop package on Arch

Building Serverless APIs with OpenAPI , Sat, Jun 24, 2023, 10:15 AM

This is an in-person, hands-on workshop where you will learn how to design and build serverless RESTful APIs using the API-first design or API-first approach with the OpenAPI version 3 specification. This approach allows you to design and document your API before writing any code, thereby improving communication and agility…

Continue Reading Building Serverless APIs with OpenAPI , Sat, Jun 24, 2023, 10:15 AM

python – PyTorch OOM error while half the GPU memory is free

I am training an object detection network using the detecto library.The dataset consists of RGB images of 50*50 pixels. The batch size is 2. When I run the code (using NeoVim as my IDE), I get this before the end of the first epoch: Variable._execution_engine.run_backward( # Calls into the C++…

Continue Reading python – PyTorch OOM error while half the GPU memory is free

Duet AI: Artificial intelligence that simplifies cloud programming and presentation creation

Artificial intelligence is revolutionizing the way we interact with technology. This time, Google is introducing Duet AI, a powerful tool that helps developers code on the Google Cloud platform and makes it easy to create online presentations. Simplifying programming in Google Cloud Duet AI is a generative artificial intelligence developed…

Continue Reading Duet AI: Artificial intelligence that simplifies cloud programming and presentation creation

Jupyterhub startup vs user configuration – JupyterHub

I have a Jupyterhub instance I’ve deployed to google (GCP) using repo2docker. The instance is currently running fine with several user libs imported via pip, and is using Google Authentication. I am trying to deploy a custom Authenticator but having path issues All the user pip installs go to /opt/conda/lib/python3.10/site-packages,…

Continue Reading Jupyterhub startup vs user configuration – JupyterHub

Wildly different training results on Jupyter Notebook Locally (Mac) vs Kaggle – fastai

dayson (dayson) May 8, 2023, 7:54am 1 Beginner here – I am running example code from the chapter 1 intro, and I am a bit confused why running the code below on my Mac (with Jupyter or VSCode kernel) provides an accuracy of 0.00000 and overall different train results than…

Continue Reading Wildly different training results on Jupyter Notebook Locally (Mac) vs Kaggle – fastai

visual studio code – Add SageMath to pylance

I am using VSCode to write some SageMath code in a Jupyter notebook. Everything works fine and I can run my code but Pylance underlines all Sage imports and reports them as missing I have tried adding the path (/Applications/SageMath-9-8.app/Contents/Frameworks/Sage.framework/Versions/9.8/local/var/lib/sage/venv-python3.11.1/lib/python3.11/site-packages) in Python > Analysis: Extra Paths (which worked for python’s…

Continue Reading visual studio code – Add SageMath to pylance

Zephyr & mbedtls_poly1305 methods – Nordic Q&A – Nordic DevZone

Hoping someone can point me towards some guidance on how to properly enable, configure, and build mbedTLS options on the nrf52840. I’m currently using Zephyr 3.6, with the nrfconnect 2.3.0 toolchain, working in VSCode on Win10. I’m trying to establish a secure connection to a web endpoint that requires ECDH…

Continue Reading Zephyr & mbedtls_poly1305 methods – Nordic Q&A – Nordic DevZone

InterSystems Open Exchange Applications Digest, February 2023 |

Hey Developers!  Here is a digest of new solutions and applications submitted to the InterSystems Open Exchange in February 2023. General Stats: ✓ 18 new apps in February✓ 822 downloads in February✓ 701 applications all time✓ 23,931 downloads all time✓ 2,066 developers joined New Applications (18) New Releases (74) apptools-admin by…

Continue Reading InterSystems Open Exchange Applications Digest, February 2023 |

14 VS Code Sessions | RStudio Workbench Edition 1.4.1707-4

14.1 Overview RStudio Workbench allows you to launch VS Code sessions from the home page via the Job Launcher, if configured. Users can start VS Code sessions that allow them to work with VS Code while still working within the administrative framework provided by RStudio, such as authentication, PAM session…

Continue Reading 14 VS Code Sessions | RStudio Workbench Edition 1.4.1707-4

Credence Genomics (Pvt) Ltd hiring Bioinformatician in Chennai, Tamil Nadu, India

At this time our organisation has multiple positions that will be positioned across South Asia and South East Asia. POSITION 1: Bioinformatic position : Onsite only: Level 1 – 3 ( Depending on exam and interview outcome – [ Technical interview 4 hours – Remote Application skill assessment & Oral interview…

Continue Reading Credence Genomics (Pvt) Ltd hiring Bioinformatician in Chennai, Tamil Nadu, India

7 Best Tools for Machine Learning Experiment Tracking

Image by Author   5 years ago, data scientists and machine learning engineers used to store Machine Learning (ML) experiment data on spreadsheets, paper, or on markdown files. Those days have long gone. Nowadays, we have highly efficient, user-friendly experiment tracking platforms.  Apart from lightweight experiment tracking, these platforms come…

Continue Reading 7 Best Tools for Machine Learning Experiment Tracking

python – How to use vscode‘s extension jupyter to run on slurm compute node?

I’m trying to use vscode to run jupyter on slurm. It’s easy to run on login node. But, as you know, if you run too much on the login node, the administrator will ban your account. So, I will apply for a compute node before I run jupyter: srun -p…

Continue Reading python – How to use vscode‘s extension jupyter to run on slurm compute node?

[WinError 126] when importing pytorch on pc with Nvidia gpu – windows

razolli (rasul) January 26, 2023, 5:51am #1 Even though vscode shows that torch library is installed, when I try to run my code this error occurs: File “c:\Users.…\Desktop\I3D_WLASL\train_i3d.py”, line 4, in import torchFile “C:\Users.…\Anaconda3\lib\site-packages\torch_init_.py”, line 139, in raise errOSError: [WinError 126] The specified module could not be found. Error loading…

Continue Reading [WinError 126] when importing pytorch on pc with Nvidia gpu – windows

Jupyter Sagemath Kernel With Code Examples

Jupyter Sagemath Kernel With Code Examples In this session, we are going to try to solve the Jupyter Sagemath Kernel puzzle by using the computer language. The code that follows serves as an illustration of this point. mkdir -p /usr/local/share/jupyter/kernels ln -nsf /opt/SageMath/local/share/jupyter/kernels/sagemath /usr/local/share/jupyter/kernels/sagemath The Jupyter Sagemath Kernel was solved…

Continue Reading Jupyter Sagemath Kernel With Code Examples

Precompile errors with `pkg> update` or `pkg> add` for some packages – General Usage

In the package manager I was getting some precompilation errors when trying to update Julia. So I have removed all the offending packages, which included Pluto and tried to add Pluto again with the following result: (@v1.7) pkg> precompile (@v1.7) pkg> add Pluto Resolving package versions… Updating `~/.julia/environments/v1.7/Project.toml` [c3e4b0f8] +…

Continue Reading Precompile errors with `pkg> update` or `pkg> add` for some packages – General Usage

R programming language tutorials – Technical Ripon

Are you learning the R programming language? Want to learn how to do more tasks with R? Check out our Do More With R video tutorials below — most with accompanying text articles and code, almost all under 10 minutes. In the table below you can easily search all tutorials…

Continue Reading R programming language tutorials – Technical Ripon