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.

ChatGPT Navigation Complexity

20 February 2026 @ 3:40 am

Is there a ChatGPT code or FireFox browser extension I can install that helps one at better managing the navigation history of a 15-Level chat conversation? In other words, a ChatGPT code that facilitates downstream and upstream chat navigation? I am new to ChatGPT and I am having a hard time navigating upstream in a Chatgpt conversation that goes downstream 15 levels deep. I would very much like to be able to backtrack to Level 1 to explore the second of three chat branches I have left to explore which is located on the very top Level 1 of the chat. I have tried using the DELETE approach to work my way upstream to Level 1 and it creates a mess. I have also tried the “Branch in new Chat” approach and I don’t understand it because when I apply it, it creates a separate chat that is totally separate from my original chat and it shows the word “imported” plastered all over the place. However, this separate branched chat fails to show the 3-way chat branch spl

How cheats are made in games with kernel level anti cheat?

20 February 2026 @ 3:38 am

I been learning C# for more than half a year, then I want to switch to C++ because it's closer to the processor. I'd like to make my own Fortnite cheat, because it could be a very fun and cool project (I mean, I can understand how a computer works in great detail and so on) but Epc Games has really good anticheat, and I heard you have to activate secure boot, tpm 2.0 and iommu in the bios. So my question is: how hacker bypass the anti-cheat? 0

antdv4 AutoComplete options misalignment

20 February 2026 @ 3:30 am

Please see the demo of the problem https://codepen.io/miranda-zhang/pen/JoKgdEz I want to be able to auto set suburb city county when selecting the postcode, but since there are suburbs with the same postcode value, the onSelect can not select on the correct item, e.g. when click on "THE ROCKS", it is selecting/logging "HAYMARKET" const [options, setOptions] = useState([ {value:"2000",label: "THE ROCKS 2000",item:{suburb:"THE ROCKS"},key:1}, {value:"2000",label: "HAYMARKET 2000",item:{suburb:"HAYMARKET"},key:2}, ]); const onSelect = (value,option) => { console.log('set suburb', option.item.suburb); }; return ( <AutoComplete style={{ width: 200, }} placeholder="postcode" options={opt

How to batch add members to a Google group, using the Admin API?

20 February 2026 @ 3:06 am

I am using the Google Admin API, via node.js. While I can add a users individually to a group, it isn't clear how to batch add them? I did look around the documentation, but still a little confused. Right now I am needing to add them individually (sync to a staff membership list in our application) and a weekly sync can involve thousands of users, which is very slow doing each user individually. My current code: import { Auth, admin_directory_v1 as directoryV1 } from 'googleapis'; class GoogleGroupsService { private async getAdminApi (): Promise<directoryV1.Admin> { try { const scopes = [ 'https://www.googleapis.com/auth/admin.directory.group', 'https://www.googleapis.com/auth/admin.directory.group.member' ]; const jwtClient = new Auth.JWT( this.keyConfig.clientEmail, undefined, this.keyConfig.privateKey.replace(/\\n/g, '\n'), scopes

what's mean from this error, please help me [closed]

20 February 2026 @ 2:54 am

Saya sedang melakukan integrasi ke API gemini menggunakan Next.js dan Prisma. Ketika melakukan live audio, terjadi error seperti ini. apa maksud dari Error: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-3-flash-preview:generateContent: [400 Bad Request] * GenerateContentRequest.generation_config.response_mime_type: allowed mimetypes are `text/plain`, `application/json`, `application/xml`, `application/yaml` and `text/x.enum`. at handleResponseNotOk (D:\overview-app\.next\dev\server\chunks\[root-of-the-server]__d680d9f5._.js:6560:11) at async makeRequest (D:\overview-app\.next\dev\server\chunks\[root-of-the-server]__d680d9f5._.js:6532:9) at async generateContent (D:\overview-app\.next\dev\server\chunks\[root-of-the-server]__d680d9f5._.js:6974:22) at async textToSpeech (lib\gemini.ts:73:18) at async POST (app\api\ask\route.ts:63:25) 71 | }) 72 | > 73 | const result = await

When you get rsync error: rsync: [generator] chgrp "/mnt/MyDir/MySubDir/." failed: Operation not permitted (1)

20 February 2026 @ 2:30 am

I'm building my new laptop, copied some stuff over via shared network drives, then next day start copying more files like yesterday, except I get error message: rsync: [generator] chgrp "/mnt/MyDir/MySubDir/." failed: Operation not permitted (1) After much head scratching and "What's changed? Wrong user? Mismatched trailing slashes? Changed a password?" Then I realised ... ... I had reversed source & destination paths! Obvious once I worked it out, but maybe someone else will benefit when they make the same ID-10-T mistake.

Activate cell working on Chrome on a Windows laptop, but not Android Google Sheets app

20 February 2026 @ 2:21 am

The following code activates the correct cell when viewing/editing a Google Sheet on a Windows laptop through Chrome. However, the cell will NOT activate with viewing/editing the same spreadsheet on an Android device through the Google Sheets app. Does anyone know if this is intentional, or is it a bug on their part, or a problem with my code? function setActiveCell() { if (sheetName.getRange('B4').getDisplayValue() == '') { sheetName.getRange('B4').activate(); return; } for (var x = 5; x < 30; x++) { if (sheetName.getRange('B'+x.toString()).getDisplayValue() == '') { sheetName.getRange('B'+(x-1).toString()).activate(); return; } } } Also, alert method of opening a info box does not work on Android, but does on Windows and chrome, specifically this code: SpreadsheetApp.getUi().alert('text') All the rest of my code works properly in both cases.

Small number of observations in Count Data

20 February 2026 @ 2:18 am

I have a practical question. I am working with count data and apply ZINB regression due to its structure. My dataset has 174 observations. And for one of my hypothesis I split my sample into two subsamples. Then, one of the samples has 40 observations, unfortunately a very limited real world observations. My question is that can I still run my regressions with this size? Or do you have any suggestions to make working with it solid and defensible? Many thanks!

Find column value within a long string

20 February 2026 @ 1:48 am

We have a table that contains small phrases like addresses, names, locations, etc. and would like to search a long string for any that are found. I have done a lot of research but all I can find is the exact opposite of what I am trying to accomplish. For example let's say I have a record in the table called search_phrase that is equal to "123 Main Street" and I want to search if it is in a string called search_string which is equal to "This is a test for anyone that resides at address 123 Main Street. Please call if you do". So would love if we could write the following query: SELECT * FROM search_phrase WHERE keyword IN ('This is a test for anyone that resides at address 123 Main Street. Please call if you do') And because "123 Main Street" is in that long string on the right of the "LIKE" operator it will be found. All I have found is where statements like keyword LIKE "%st

.NetFramework4.8 AllowAnonymous attrributes

20 February 2026 @ 1:07 am

I'm trying to implement an endpoint that bypasses the standard NTLM authentication in a .Net4.8 MVC application. I've tried to go down the route of just adding the [AllowAnonymous] attribute to the controller or endpoint or both and no matter what, when I attempt to curl the endpoint with: curl -v 'https://mydomain/MyController/MyEndpoint' -X POST -d '{jsondata...}' I always get back: * upload completely sent off: 377 bytes * schannel: remote party requests renegotiation * schannel: renegotiating SSL/TLS connection * schannel: SSL/TLS connection renegotiated < HTTP/1.1 401 Unauthorized < Server: Microsoft-IIS/10.0 < WWW-Authenticate: Negotiate < WWW-Authenticate: NTLM < X-Powered-By: ASP.NET < Date: Thu, 19 Feb 2026 21:21:30 GMT < Content-Length: 0 It seems that no matter what I do, I cannot whitelist this endpoint as opting out of authorization. What makes it a bit harder is t