Advice for Young Researchers
Comments
Join the discussion →Comments
Join the discussion →Using patchwork, I plot a layout of four correlation plots. I'd like the y-axis labels to show only for the plots on the left-hand side and the x-axis labels only for the two bottom plots. But neither axes = collect from patchwork (as suggested here) nor the function collect_axes from package ggguides seem to work with the plots generated by ggcorrplot. Is there a workaround or alternative way? library(ggcorrplot) library(patchwork) library(ggguides) corr <- ggcorrplot(round(cor(mtcars), 1)) corr + corr + corr + corr + plot_layout(ncol = 2, guides = "collect", axes = "collect") collect_axes(co
Join the discussion →The following program is accepted by gcc and edg but rejected by clang and msvc. Demo struct C{}; constexpr int foo(const C&) {return 0;} constexpr int foo(const C(&)[1]) {return 1;} int main() { static_assert(foo({})); // gcc & edg OK while clang & msvc NO } I want to know which clause(s) of the C++ standard makes this ill-formed or well-formed.
Join the discussion →Comments
Join the discussion →what I want is to get the right font size that fit the height in [11,12,16] when height = 11 and I want to get the right font size of the text. and I use that font size will get the max height 11 of the text. fontSize=30; while(true) { bitmap = Bitmap.createBitmap(306, 90, Bitmap.Config.Argb8888); canvas.drawColor(Color.ParseColor("#000000")) _paint.setTextSize(fontSize); ...get the height if(height==11){ return fontSize; } fontSize--; } first I will set the fontSize=30 and then get height of the text using pixel.and then fontSize--; then I will the the fontSize that height =11; but actually I
Join the discussion →submitted by RememberTheApollo_ to asklemmy 1 points | 1 comments When they hack it seems mostly to do bad things to systems that everyday people need. They wreck food by changing freezer temperatures. They steal people’s identities from institutions to sell. Dox employees. Hack power grids, the only potential outcome is that normal people pay the price for or die thanks to any interruption. It’s rare to see some real damning file like the Panama Papers released or Kunsher’s phone conversations. Are hackers just assholes looking for profit or just can’t/won’t expose the corruption in governmen
Join the discussion →I need help identifying why Google Cloud Run rejects a new deployment even though the existing service is running successfully Problem I have an existing Google Cloud Run service that is running successfully, but I cannot deploy an updated version. When I run: gcloud run deploy alerta-automacao \ --source . \ --region us-east1 \ --project ecstatic-emitter-qvc14 The deployment fails with: ERROR: (gcloud.run.deploy) spec.template.spec.containers[0].image: Deploying container images is not supported for this project. Environment * Google Cloud project: ecstatic-emitter-qvc14 * Region: us-east1 *
Join the discussion →I'm trying to run my program, but after I enter one input it doesn't print anything. If I press Command+D, the program ends without printing the output I put at the end. #include <stdio.h> # define N 100 int main(void) { int n = 1, counter = 0; while (scanf("%d", &n) == 1) { if (n%N > (n/N)%(N)) { counter += 3; } else if (n%N < (n/N)%(N)) { counter += 0; } else { counter += 1; } } printf("%d\n", n); printf("%d\n", counter); return 0; }
Join the discussion →Comments
Join the discussion →The Ibotta referral code is RIWKCGX. New users who create an account with this code and upload their first shopping receipt can earn a $20 sign-up bonus. Anyone who then refers friends with their own code or link can earn an extra $20 per qualifying referral.
Join the discussion →I'm trying to install Ubuntu 24.04 LTS on Windows 11 using Windows Subsystem for Linux (WSL 2). Environment OS: Windows 11 Windows build: 10.0.26300.10066 WSL package version: 3.0.5 Intended distribution: Ubuntu 24.04 LTS Steps performed 1. Checked WSL status Executed: wsl --status Initially, Windows reported that WSL was not installed. 2. Installed WSL and Ubuntu Executed PowerShell as Administrator and ran: wsl --install -d Ubuntu The installation reported: Downloading: Windows Subsystem for Linux 3.0.5 Installing: Windows Subsystem for Linux 3.0.5 Windows Subsystem for Linux 3.0.5 has been
Join the discussion →Problem Statement I'm trying to set up a Linux development environment on my Windows PC using Windows Subsystem for Linux (WSL 2), primarily for Python, AI/ML and Data Science development. My objective is to use an Ubuntu Linux terminal directly inside Visual Studio Code (VS Code), without setting up a dual-boot system or using a traditional virtual machine. However, although WSL appears to install successfully, Ubuntu is not registered as an installed Linux distribution. I'm unable to launch the Ubuntu terminal or connect VS Code to a Linux environment. 1. System Environment Operating System:
Join the discussion →Azure DevOps automatically injects its default dependency-scanning step, but it does not detect any Maven packages. I also tried explicitly adding the following task to the YAML pipeline: AdvancedSecurity-Dependency-Scanning@1 task in the YAML, However, the automatically injected scan is the only dependency-scanning step that appears to run. The manually configured task does not appear to execute. The scan is run for a muti-repo Maven java build. What is the recommended way to configure dependency scanning for this type of multi-repository Maven build?
Join the discussion →I have a Java application built as a multi-module Maven project. The Maven modules are stored in several Azure Repos, and the pipeline checks them out before building the root aggregator POM: $(Agent.BuildDirectory)/modules/pom.xml Azure DevOps automatically injects its default dependency-scanning step, but it does not detect any Maven packages. I also tried explicitly adding the following task to the YAML pipeline: AdvancedSecurity-Dependency-Scanning@1 task in the YAML, However, the automatically injected scan is the only dependency-scanning step that appears to run. The manually configured
Join the discussion →Comments
Join the discussion →Comments
Join the discussion →Comments
Join the discussion →Comments
Join the discussion →Comments
Join the discussion →Comments
Join the discussion →Comments
Join the discussion →I am running ollama on a raspberry pi, and android studio (Rabbit 2, patch 1) on my desktop. Android studio has two options for third party models: local and remote. Local models can only be reached from localhost. Remote models can only use openai or anthropic URL schema. Ollama's URL schema is not compatible with either openai or anthropic. Is there a way to edit the configuration as a text file, to change either the URL schema to fit Ollama, or change the host from localhost to my raspberry pi?
Join the discussion →NASA's Voyager 1 has become the first human-made object to travel one light-day from Earth, or 16,094,799,096 miles (25,902,068,356 kilometers). This means radio signals will take 24 hours to reach the spacecraft, now nearly 50 years into its mission. "Since light is essentially the maximum speed in the universe (absent using devices like wormholes, or quantum-physics puzzles), it's a big deal -- so big that NASA will be celebrating the milestone by asking fans to shine Morse Code signals at the sky," reports Space.com. From the report: But why will Voyager 2 take nearly a decade longer? It co
Join the discussion →Background We are developing an enterprise migration connector that will enable us to migrate documents and folder structures from our migration platform into Autodesk Forma Build using Autodesk Platform Services (APS). Our intended migration workflow includes: Retrieving Autodesk hubs and projects. Retrieving destination folder structures. Creating folders and subfolders. Uploading document binaries. Creating document items and versions. Retrieving document information for migration validation and reconciliation. We are currently validating the required API operations using Postman before imp
Join the discussion →Comments
Join the discussion →I want to get the back trace dump (malloc debug) of an android device. Im doing this via ADB terminal access, linux platform, root do i need to restart the target progam first only then the kill -47 <pid> to get the back trace heap dump will success? for now the steps i did was: on terminal 1: setprop libc.debug.malloc.options "backtrace leak_track verbose guard" on terminal 1: setprop libc.debug.malloc.program <target native program> (example audioserver) on terminal 2: logcat | grep malloc_debug on terminal 3: ps -ef | grep <target native program> (example audioserver) on terminal 1: kill -4
Join the discussion →I'm experiencing an issue with a Person or Group column in a SharePoint document library. The column is configured to display the Name field in its column settings. However, instead of displaying the user's display name, the library view shows a numeric User ID. Expected behavior: The Person column should display the user's display name. Actual behavior: The Person column displays a numeric ID instead of the user's name. Column configuration: Column type: Person or Group Show field: Name Screenshot: Library view Has anyone encountered this issue before? I'd appreciate any suggestions on: Why S
Join the discussion →Comments
Join the discussion →Comments
Join the discussion →submitted by Wimster to technology 2 points | 0 comments https://www.omgubuntu.co.uk/2026/11/affinity-linux-release-confirmed Whaw !!! Finaly it’s coming to the Linux community. Just be patient :-)
Join the discussion →