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.

error MSB4226 Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found when running GitHub actions build on a selfhosted Windows Runner

18 December 2025 @ 10:49 am

I'm building a selfhosted github runner image using a docker file. When we run a github actions build on this runner I get the following error: MSBuild auto-detection: using msbuild version '18.0.5.56406' from 'C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\MSBuild\Current\Bin'. C:\Users\ContainerAdministrator\.nuget\packages\microsoft.build.sql\0.1.14-preview\Sdk\Sdk.targets(22,89): error MSB4226: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\MSBuild\Microsoft\VisualStudio\v16.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found. Also, tried to find "Microsoft\VisualStudio\v16.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" in the fallback search path(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\MSBuild\Current\Bin\msbuild.exe.Config"

JavaScript browser console

18 December 2025 @ 10:47 am

I am new to js . Can anyone tell when i entered the page translation script code inside console , why it didn't worked in console . I was using desktop tried {"chrome" , "edge "} {"title":"00. Page Translator","url":"javascript:(function() {\n if (document.getElementById('google_translate_element') === null) {\n var bodies = document.getElementsByTagName(\"body\"); \n if(bodies.length > 0)\n bodies[0].insertAdjacentHTML('afterbegin', '<div id=\"google_translate_element\" style=\"z-index:9999999; position:relative; margin-top: 5px; margin-left: 10px; margin-bottom: 10px;\"><\/div>');\n var heads = document.getElementsByTagName(\"head\"); \n if(heads.length > 0){\n var

How to perform Test Automation to Access Call feature in MS Teams with robot framework

18 December 2025 @ 10:47 am

I need to Access the Call option Inside MS Teams and perform call Opreations using test automation - robot framework with python.can it be done USing FLAUI Library . as the MS teams is a Desktop App but the controls inside are web based . how can i achieve this. please give me a clarity and guidance.

Xdebug: [Config] WARN: Can't create control Named Pipe (0x0)

18 December 2025 @ 10:42 am

I use WAMP 3.4.0 on Win11 and try to debug a local web page. Unfortunately the "break at first line" and any other break point does not work. With xdebug.log_level=7 I only a couple of those messages mentioned above. Any suggestions?

How do i retrieve 'data attribution' from Google Earth?

18 December 2025 @ 10:42 am

I am working on a project that requires me to check which company uploaded the image and when was the last update for a list of coordinates on Google Earth. I uploaded the coordinates data using a KML file to visualize it on Google earth and checked for this. Found out they show this data as a footer under 'data attribution'. But I can't find any API or methods that would help me automate the process on a larger scale. I was thinking of using Selenium and some image recognition library in python to automate it, but I guessed that would run for hours before returning a result. Any ideas on how I should do this?

Is there a way in MCP to stream a LLM response chunk by chunk back to the client?

18 December 2025 @ 10:40 am

I'm using FastMCP in python to implement a MCP server. Currently I run into a problem when it comes to streaming of the generated tokens from the LLM. I don't want to wait for the completed response and return the whole text, I rather want to stream chunk by chunk to improve the response time for the user. This seems to be a valid use case to me when working with MCP. I don't have control about the Client, since I'm using Clients like LibreChat or Open WebUI to connect to the MCP server. In open webui for example you can implement a pipeline, that supports streaming (yielding chunk by chunk). Here is a minimal example of my use case: from fastmcp import FastMCP from llama_index.llms.lmstudio import LMStudio import asyncio mcp = FastMCP() @mcp.tool() async def story_teller(topic: str): llm = LMStudio(model_name="qwen/qwen3-4b-2507") prompt = f"Tell me a sto

Next js + Gsap integration tutorials

18 December 2025 @ 10:40 am

i need one how can i implement Next js + Gsap in my project i mean npm install ok then how can i create a files i mean is it using it in seprate component will help me to make the animations or i need to use it in my home page.tsx and guy if im papulating my ui with json data is gsap animation still work on every other components. can you guys tell me how to do it and my tech stack is NEXT JS, TAILWIND for navbar only and MUI for all other things currently added Gsap

MCP Ruby - How to define the content of a Resource

18 December 2025 @ 10:38 am

I'm trying to build a POC MCP server using the mcp Ruby gem. I have created a couple of tools, and now I need to add the first resource to give access to my posts, but I'm having a hard time figuring out how to return my collection of posts. How can I define my resources? I was expecting a method like the one in fast-mcp, but I can't find anything in the README or the source code. I can't switch to fa

Swift keyboard extension opens a URL when Full Access is not allowed on iOS 26.0 and later

18 December 2025 @ 10:36 am

I created a button in my keyboard extension to open my app. Previously, the app could be opened even when the user had not enabled Full Access for the keyboard. However, starting from iOS 26, this no longer works—the keyboard must have Full Access enabled first. Interestingly, the Si_me_ji Keyboard (Japanese keyboard) is still able to open its app from the keyboard even when Full Access is disabled. Does anyone know what they did to make this work? Has anyone else encountered this issue? I’ve also noticed that Keyboard==Kit has the same problem and hasn’t been able to resolve it either. Here is the code: @objc func goToApp(_ sender: UITapGestureRecognizer? = nil) { let extendParam = queryParam.isEmpty ? "" : "?\(queryParam)" if let url = URL(string: "\(SharedConfi

Getting this Hyperledger Error for weeks now: access denied: channel creator org unknown, creator is malformed - proposal response: <nil>

18 December 2025 @ 10:33 am

I simply want to add a peer to my org1. I am able to create certificates for it using both cryptogen and CA, and also spin up the docker container for this new peer. But every time, I try to query using this new peer I get this error: aryan@DESKTOP-ECAMGUU:~/fabric-samples/test-network$ peer chaincode query -C mychannel -n basic -c '{"Args":["GetAllAssets"]}' Error: error endorsing query: rpc error: code = Unknown desc = error validating proposal: access denied: channel [mychannel] creator org unknown, creator is malformed - proposal response: <nil> I have checked multiple times, that my certificates exist at the correct location for the new peer, and it has also joined the channel. I have also tried to delete the entire fabric-samples directory, and clone it again and starting from scratch, still getting the same error. These are the commands I have used to create certificates using