StackOverflow.com

VN:F [1.9.22_1171]
Rating: 8.5/10 (13 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

Tortoise SVN not asking for credentials

15 March 2026 @ 9:04 am

I just installed Tortoise SVN on my new computer (TortoiseSVN 1.14.9 - ARM64), however I'm not able to do any operation with it. Simple example: svn ls on old computer What I expect would be this (it works this way on my old computer): svn ls on new computer I tried two different repositories, getting always the same result. SVN seems to be installed properly: svn helpenter image description here TortoiseSVN also does not work properly when using it directly in Windows (right mouse button). Example: right mouse button repo browser When I enter the URL of repository, the Repo-Window just immediately closes.

mounting an external hard disk in linux [closed]

15 March 2026 @ 9:03 am

I have began having trouble in this area. It gives me such errors as "/dev/sdb" mount already mounted or busy" Also if I try to enter "sudo mount -t cifs /dev/sdb /media/mine" it says "bad unc" I have it already partitioned to the best of my knowledge.

How to ensure Blazor backend load is as low as possible?

15 March 2026 @ 8:50 am

I'm developing Blazor Web UI for an embedded application on Linux/ARM. Normally it will be one client per server connection but since the backend HW is quite limited I want to ensure the frontend does as much work as possible which, naturally, implies using wasm rendering mode. No problem waiting for SPA loading for a couple of seconds. But I just noticed this Blazor announcement:``` If you're exploring the features of .NET 9 Blazor, you might be pleasantly surprised to learn that each page is prerendered on the server, regardless of the selected render mode. This means that you'll need to inject all necessary services on the server, even when opting for the wasm (WebAssembly) render mode. This prerendering functionality is crucial to ensuring that WebAssembly mode feels fast and responsive, especially when it comes to initial page load times. Can someone explain to Blazor noob what does that mean exactly? D

this perl implementation doesn t produce unix like paths

15 March 2026 @ 8:44 am

I'm trying to build OpenSSL 3.6.1 on Windows using MSYS2 MinGW64. When running `./Configure mingw64 ...`, I get a Perl error: "Perl cannot create Unix-style path". I reinstalled Perl using Pacman but the error persists. Here are the detailed logs and illustrative images. I hope someone can help me resolve this.enter image description here

How to close boostrap info using click event in angular18

15 March 2026 @ 6:06 am

I am tryinjg to show info message when we click on the info button. But if i mouseover the button the info message is showing. I want to show only if i click the info button. Not mouseover. Also when i click the close button inside info ng-template, The info message also want to close. close event is not working. My code is not working. Where i want to change in my code to get the solution. I am using ngx-bootstrap: 18.1.3 app.component.html: <button class="sr-info-icon-set sr-info-control" style="margin: auto;" [tooltip]="staticHtmlTooltip" container="body" (click)="toggleTooltip()" > Info </button> <ng-template #staticHtmlTooltip> <div class="tooltip-content"> <div>Your content here...</div> <div>More content if needed...</div> <button class="btn btn-xs btn-default" (click)=&qu

The pointer existential crisis dilemma: If pointer stores memory address then how are memory addresses of a pointers stored?

15 March 2026 @ 1:13 am

If a pointer stores a memory address then how are memory addresses of pointers stored? And then how is the memory address of the pointer’s memory address stored? What I'm trying to explain is wouldn't you have an ongoing cycle? I drew a picture of the question I'm trying to get at enter image description here

Undo last pop() in a Python stack implementation

14 March 2026 @ 5:10 pm

I'm implementing a simple stack in Python and I want to add the ability to undo the last pop() operation. The behavior I want is something like this: s.push(10) s.push(20) s.push(30) s.pop() # returns 30 s.undo_pop() # should put 30 back on the stack print(s.peek()) # expected: 30 Basically undo_pop() should restore whatever element was removed by the most recent pop(). A few things I'm trying to keep in mind: undo_pop() should only undo the most recent pop If several pops happen in a row, I should be able to undo them one by one Ideally memory usage shouldn't grow too much if the stack is used heavily This is what I currently have: class Stack: def __init__(self): self.stack = [] self.history = []

Is there a lighter weight alternative to jQuery?

14 March 2026 @ 2:41 pm

I want to use jQuery in my RPi Pico 2 project, however, the "min" version I have is around 85k, which really retards performance. My basic need is AJAX calls to operate the hardware on the Pico without loading pages (loading a page to operate hardware creates one of those "oh, yeah" moments if the page reloads for some reason). So I'm looking for similar capabilities without the size. Note that the environment does not require Internet access, so loading from an official site is off the table. EDIT: By "performance", I'm referring to the overall user experience, specifically, load time - the time it takes to transmit the 85k jQuery. This was easily observed just by adding a reference to the local (on the Pico) download and reloading the page. The performance of jQuery itself has NOTHING to do with the Pico since jQuery runs on the browser.

"TypeError: component.toJSON is not a function" and other errors on unknown line discord.js [SOLVED]

14 March 2026 @ 10:49 am

We are trying to make a slash command for a Discord bot that creates forms. This is a stripped-down minimal reproducible example that produces similar results: require('dotenv').config() const discord = require('discord.js') const client = new discord.Client({ intents: [discord.GatewayIntentBits.Guilds] }); const container = new discord.ContainerBuilder() .setAccentColor(0x0099ff) .addActionRowComponents(actionRow=> actionRow.addComponents(button => button.setCustomId('button').setLabel('Open form').setStyle(discord.ButtonStyle.Primary), )) client.on(discord.Events.ClientReady, (client) => { client.channels.cache.get(/*channel*/).send({ components: [container], flags: discord.MessageFlags.IsComponentsV2, }); }) client.login(process.env.TOKEN); When running this code, you get the error 'TypeError: component.toJSON is not a function'. When adding other compon

Please help me with c# interfaces, windows, etc

14 March 2026 @ 9:06 am

I'm a novice C# programmer and I wanted to ask someone who I can watch a tutorial on how to work with interfaces or where I can read it to understand everything and make my own programs, so to speak.