on-internet

What is the dotted underline suggestion in VS Code?

I'm asking if someone knows what the dotted underline feature is called. And is there a way to display all of them for the opened file? When I mouse over it, a hint pops up with an info icon next to it, which does not seem to be a regular warning or error. I tried to find it under the Problems panel but failed. Gemini told me it is an "Info" suggestion type and can be enabled by clicking the filter icon. But I have already enabled all of them (Errors, Warnings, Infos) in the filter. Here's a minimal example: (first run mkdir main; cd main; go mod init main) package main import ( "fmt" "strings

Join the discussion →

How to call ShowModal on a Form but not show it to the user?

I have this situation - from Form1, I want to call Form2, wait for Form2 to do its thing, and go back to Form1. But I don't want to show Form2. I'm doing something like this in Form1: procedure TForm1.button1Click(Sender: TObject); begin application.createform(tform2, form2); form2.visible := false; // has no effect form2.showmodal; showmessage('form2 done !'); end; It's working, except for the fact that I don't want to show Form2, but I need to wait for Form2 to complete its work. If I call Show() instead of ShowModal(), the procedure won't stop and shows 'form2 done' right away.

Join the discussion →

How to showmodal a form but not show it?

I have this situation : from Form1, i want to call Form2, wait Form2 do its thing and go back to Form1. But i don't want to show Form2. I'm doing something like this in Form1 : procedure TForm1.button1Click(Sender: TObject); begin application.createform(tform2, form2); form2.visible := false; // has no effect form2.showmodal; showmessage('form2 done !'); end; It's working except due the fact i don't want to show Form2, but i need to wait Form2 complete its work. If i call 'show' instead of 'showmodal', the procedure won't stop and show 'form2 done' right away.

Join the discussion →

How Can i use a variable from file to another file using Python

i am working on a simple GUI interface using tkinter that takes the name and the display a welcome message when you click a button , but i need to split the GUI code to a file and the function of say_hello to another file , i do not want the code in one file **main.py** from tkinter import Tk , Label , Button , Entry , END from welcome import say_hello window = Tk() window.title("Welcome User") window.geometry("400x300") askName = Label(window , text="Enter Your own name : ") askName.pack(pady=20) nameEntry = Entry(window , width=24) nameEntry.pack(pady=10) btn = Button(window , text="Say Hell

Join the discussion →

Before Resigning, Jensen Huang Admitted He Was Facing an “Avalanche” of Excess Wafers and Memory, New Report Sheds More Light on the GPU & RAM Crisis

submitted by nothrone to technology 3 points | 0 comments https://respawnfirst.com/before-resigning-jensen-huang-admitted-he-was-facing-an-avalanche-of-excess-wafers-and-memory-new-report-sheds-more-light-on-the-gpu-ram-crisis/ Why are there people even defending this piece of shit? He is a billionaire, just like all the others, and he is actively ruining society. He does not give two shits about the people. He artificially created the RAM and GPU crisis. He is part of the reason for the state of society today. May he forever suffer. May the universe hear my prayers and kill this piece of shit

Join the discussion →

Career path as a Full Stack Developer

I'm currently a final year student of full stack web development looking for oppurtunities in tech field. What's the pathway and tools and tech needs to be learnt in a specific path to become a web developer I know reactjs, nodejs, javascript, html5, tailwindcss I want to know how real time webpages are made, how api's are integrated, how AI is integrated, what are the basic things needed to be known as a developer Along with this I also want to know pathway for java fullstack developer

Join the discussion →

Excel VBA - Getting error when opening files

I have a piece of code that opens all files in folder X. For some apparently random files, it can't open them. However, if I open them manually, save, close and re-run the code, everything works. Why is that? Set wbRFQ = Workbooks.Open( _ Filename:=CStr(File), _ ReadOnly:=True, _ UpdateLinks:=0)

Join the discussion →
Older stories