79782110

Date: 2025-10-03 19:40:12
Score: 1
Natty:
Report link

enter image description hereThe units come from the root manifest. For OTG (Aka SVF2) look for the otg_manifest.json file. (see screenshot)

rootManifest.metadata["distance unit"].value  // e.g., "foot", "meter", "inch"
rootManifest.metadata["default display unit"].value  // e.g., "inch"
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: michael beale

79782101

Date: 2025-10-03 19:31:10
Score: 2
Natty:
Report link

Select * from Mans cross join point where Mans.id=point.id

If there are any colums you don't want duplicates (as in you do want to treat them as keys) then add them to the where condition with 'and where '

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lee Mesford

79782100

Date: 2025-10-03 19:29:09
Score: 2
Natty:
Report link

I confirm that .onDisappear() also works on visionOS 2.5 and up.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: GSD

79782094

Date: 2025-10-03 19:23:07
Score: 2.5
Natty:
Report link

you could also use

SDL_GetTextureSize
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jan Lukasiak

79782083

Date: 2025-10-03 19:06:04
Score: 3
Natty:
Report link

This is "GIMP-Ошибка: Невозможно открыть 'c:\Work\Test\1': No such file or directory". It is russian text in CP-1251, that renders in CP-866.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Лирад

79782072

Date: 2025-10-03 18:41:57
Score: 7 🚩
Natty:
Report link

Please, you forced Worklets 0.5.1 with what version of React native Reanimated?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Adegoke Opeyemi

79782059

Date: 2025-10-03 18:24:52
Score: 1.5
Natty:
Report link

I Generally prefer to keep the data validation in Serializers.py.

Serializers are for the data serialization and deserialization so it is better to handle the data validation in the serializers only. But some times some extra field are required which are formed from the defined schema fields, at this situation validation can be handled in models.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: manas jha

79782055

Date: 2025-10-03 18:21:51
Score: 4.5
Natty:
Report link

just use h-full or 100% for the box

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: rahul

79782045

Date: 2025-10-03 18:06:47
Score: 2
Natty:
Report link

Interesting question! Splitting services across different APKs can definitely get tricky with binding and intent handling. I had a similar issue while testing the k9 game apk, and organizing the communication between modules made things much clearer. Properly defining permissions and intent filters helped me keep things stable.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amazing Riddle

79782040

Date: 2025-10-03 17:56:44
Score: 5
Natty:
Report link

Edit -> Preferences -> Documentation Comments -> Doxygen command prefix: \ Doxygen command prefix

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Artyom Fedosov

79782038

Date: 2025-10-03 17:53:43
Score: 0.5
Natty:
Report link

registerWebviewViewProvider provides an optional parameter where you can set retainContextWhenHidden: true

vscode.window.registerWebviewViewProvider('myWebview', myProvider, {
  webviewOptions: { retainContextWhenHidden: true },
}),
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Haohan Yang

79782036

Date: 2025-10-03 17:52:43
Score: 0.5
Natty:
Report link

Coming to this in 2025, using Visual studio 2022, I'd like to add information about how to configure VS WPF project so the Microsoft.Toolkit.Uwp.Notifications NuGet package installs properly.

'Target OS version' for the project has to be set to '10.0.17763.0' or higher. [1]

Problem
By default .NET WPF app project, created in VS 2022, targeting any version of .NET framework, including .NET 8.0 and 9.0, has 'Target OS version' set to 7.0. (Meaning Windows 7 ?)
That informs the UWP NuGet package to not install some needed libs that would only function under Windows 10.

Solution
'Target OS version' can be changed

A. in Visual studio > project properties > Application tab > Target OS version

B. by manually editing project file (.csproj) and changing

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    ..
    <TargetFramework>  THIS PART  </TargetFramework>

to netX.Y-windows10.0.17763.0 [2] where

For example, for project using .NET 8.0 the whole section will be <TargetFramework>net8.0-windows10.0.17763.0</TargetFramework>

After the 'Target OS version' change, the NuGet package can be properly installed with all the required libs so examples in this tutorial will work.

If the NuGet package was already installed prior to 'Target OS version' change, it needs to be completely uninstalled and reinstalled.


  1. This means that the project and resulting assemblies are expected to only run under Windows 10, build '10.0.17763.0' or higher. And so they can support features of that version of Windows. Like 'Toast notifications' AKA 'App notifications'.

  2. The net8.0-windows10.0.17763.0 text chunk is also called 'Target Framework Moniker' or 'TFM'.
    Mentioned, but not explained, by the tutorial.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Riva

79782031

Date: 2025-10-03 17:47:41
Score: 0.5
Natty:
Report link

I solved it
1. Create a certificate in Apple Developer -> Keys -> Push Notification
2. Upload that file in firebase -> cloud message -> APNs Authentication Key

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hanif Marshall

79782023

Date: 2025-10-03 17:36:38
Score: 1
Natty:
Report link

Add this cast in your model to automatically format the data when retrieving from or saving to the database:

protected function casts(): array
{
    return [
        'completed_at' => 'datetime'
    ];
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniel Sousa

79782021

Date: 2025-10-03 17:33:37
Score: 1.5
Natty:
Report link

https://docs.spring.io/spring-framework/reference/web/webflux/controller/ann-requestmapping.html

{*path}
Matches zero or more path segments until the end of the path
and captures it as a variable named "path"

"/resources/{file}" matches "/resources/images/file.png" and captures file=/images/file.png

Perhaps it could be used at first of the url: /{**path}/products/.....

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Enrique Jiménez Flores

79782017

Date: 2025-10-03 17:19:33
Score: 17.5 🚩
Natty:
Report link

El genio dijo:
Simplemente use gemini-flash-latest

Todos los modelos: https://ai.google.dev/gemini-api/docs/models

Se solucionó para mi, el mismo error:
Producto: Selecciona Vertex AI.

Componente: Selecciona Generative AI o Gemini API.

Título del Problema: Error 404 v1beta persistente en Gemini API desde Arch Linux

Hola,
estoy experimentando un error persistente "404 No encontrado... Versión API v1beta" al llamar a la API de Gemini desde mi máquina local, aunque mi código especifica correctamente el modelo 'gemini-1.5-flash-latest'.

Pruebas y pasos de depuración tomados:

  1. El código es correcto: mi script utiliza MODEL_NAME = 'gemini-1.5-flash-latest'.

  2. La clave API es correcta: El mismo código y la misma clave API funcionan perfectamente en Google Colab, pero fallan en mi equipo local. También he intentado crear nuevas claves API en proyectos nuevos facturados, con el mismo resultado.

  3. El error persiste en todas las versiones de Python: El error ocurrió en Python 3.13.7. Luego instalé pyenvy usé una versión estable de Python 3.11.9, reconstruí el entorno virtual desde cero y el error persiste.

  4. El entorno está limpio: Hemos confirmado mediante scripts de diagnóstico que Python 3.11.9 está activo y que la biblioteca se carga desde la venvruta correcta. También hemos intentado reinstalar la biblioteca desde GitHub ( pip install git+...) para evitar la caché.

  5. No es un simple problema de red: el error persiste incluso después de cambiar a una red Wi-Fi completamente diferente (punto de acceso móvil).

El seguimiento siempre apunta a un v1betaarchivo de cliente, independientemente de la versión de Python o del entorno limpio. Dado que el código y la clave API funcionan en Google Colab, esto indica un posible bloqueo regional o un problema muy específico del lado del cliente con sus servidores al recibir solicitudes desde mi ubicación (Guatemala) en un sistema Arch Linux.

Reasons:
  • Blacklisted phrase (1): está
  • Blacklisted phrase (2): código
  • Blacklisted phrase (1): todas
  • Blacklisted phrase (2.5): solucion
  • Blacklisted phrase (2): estoy
  • Blacklisted phrase (2): crear
  • RegEx Blacklisted phrase (2.5): mismo
  • RegEx Blacklisted phrase (2.5): misma
  • RegEx Blacklisted phrase (2): encontrado
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Maynor Elias

79782010

Date: 2025-10-03 17:11:31
Score: 1
Natty:
Report link

Numpy's implemention of uint64 is 'unpredictable'. It randomly switches datatype to float64 and doesn't allow bitwise operations. This is seemingly just because such operations are not that common so the issue hasn't been fixed.

This issue cost me a lot of time to debeg but I eventually realised that appending an uint would make the entire array change to float64 so when the value was reread it had lost the precision to represent the least significant bits. Annoying isn't it?

uint32 is much more reliable!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Kwangle

79782009

Date: 2025-10-03 17:08:30
Score: 4
Natty:
Report link

Unfortunately I do not have an answer for you because I am currently going through the same process.

But I was wondering what you landed on here.

We have .NET Core (fortunately we're not on Framework) applications (batch and web) that we are moving to Azure VMs.

My initial thought was assign the VM access to KeyVault, then store client secrets for service principals in KeyVault and then grant the service principal rights to the databases and other resources as needed. This still sounds sub-optimal to me though for multiple reasons.

  1. Access to the VM gives you all the keys you need, which seems like a hefty risk.

  2. We're still ultimately dealing with client secrets (which is just a PW) and all the poor practice that comes along with passwords.

Somehow this seems absolutely no better than just storing our secrets in a config file on the VM, it's a lot of faffing about to wind up with the same exact issues we have had for decades.

Reasons:
  • Blacklisted phrase (1): I do not have an answer
  • Blacklisted phrase (2): was wondering
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Christopher Roos

79782006

Date: 2025-10-03 17:04:28
Score: 1.5
Natty:
Report link

The accepted answer is not accurate. OP is asking for a "real time use case". Normally in such system you don't store seat reservation in memory and for the lock to make sense it must be made on an entity. In a real system this will always be used by a transaction in some persistent store, with either explicit lock or some optimistic strategy. Accurate example must point to a need of thread synchronization in application memory. Something like cache for the idempotent request verification or WebSocket session storage fit the criteria.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MaciejL

79782005

Date: 2025-10-03 17:04:28
Score: 2.5
Natty:
Report link

Ey sevgili cahan

Kahır çekiyorum sensiz

Egerki gonulun vari ise

Bahtiyar edersin bu bahtsız kulunu

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gunel

79782004

Date: 2025-10-03 17:03:28
Score: 3.5
Natty:
Report link

There is no way to do this unless you manually move the slider with each onActionEvent call.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: johnny

79782002

Date: 2025-10-03 17:01:27
Score: 1
Natty:
Report link

I suggest to you if you want to load your dataset that is in form of text and you want to load that with pandas library , it's better to use this :

name_of_your_variable=pandas.read_table('name_of_your_file.txt')

This loading your dataset in good form and easy to use.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Parsa .h

79782001

Date: 2025-10-03 17:00:26
Score: 10 🚩
Natty:
Report link

Hey man could you solve this issue? i im facing same problem in the expo 52 and RN 77

Reasons:
  • Blacklisted phrase (2): could you solve
  • RegEx Blacklisted phrase (1.5): solve this issue?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Henrique Popi

79781992

Date: 2025-10-03 16:54:24
Score: 3.5
Natty:
Report link

Just realized that my problem was because my directory was in google drive folder :)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Francesco Eletto

79781990

Date: 2025-10-03 16:52:23
Score: 1.5
Natty:
Report link

I found how to get it working and maybe it will help others.
After caching the manifest xml files onto the system that will host the xml files and Android Studio SDK components which has a ur endpoint to access the files.
For Android Studio config either add the liine below to the idea.properties file in /Users/userid/Library/Application Support/Google/AndroidStudioversion.number or in the Help -> Edit Custom Properties option in the Android Studio GUI.

sdk.test.base.url=https://my.server.com/repo-to-use/

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Stephen Taylor

79781986

Date: 2025-10-03 16:50:23
Score: 2.5
Natty:
Report link

Your regex code works in online testers like PCRE engine.

But not in stringer because R uses the ICU regex engine, which does not preserve captures inside quantified grpups like (?: ...){n}.

As a result, only the last iteration is kept.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: DIPAK HALKUDE

79781982

Date: 2025-10-03 16:46:22
Score: 3
Natty:
Report link

Bdhhgsuebcovdusg dvdhd dvr hrbrhejge dbdud dvr fyebrjebr ehebduebebdyebe e hd e e dhe. Ekjdhd xhxbd chbdhdks dud due dhdbdhdnskd f hdbsigeoehbdhhhenbdvbbhdh hd

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mhdi Mhdi

79781977

Date: 2025-10-03 16:40:21
Score: 1.5
Natty:
Report link

I have managed to make something (although it probably isn't the most efficient way to do it) to do what I needed. I made some macros then use a total of 3 sheets (as it makes it easier for me to run through things) as follows:

Sheet1 - for this example this is where the unquie IDs will be added

Snippet of Sheet1

Sheet2 - this is a sheet that identifies if the unquie ID has already been added to Sheet3 and has an additional column that just presents today's date.

Snippet of Sheet2

Sheet3 - this is the sheet that stores the unique IDs and the date in which they were added to the report.

Snippet of Sheet3

On the Sheet1 as it uses a table and sometimes the data copied over has less than what is there before I made a macro to help clear it after a message box prompt when selecting the first cell where the data would be pasted:

Message box code:

 Sub YesNoMessageBoxCT()
    Dim resp As VbMsgBoxResult
    
    resp = MsgBox("Is new data being added/table being updated? If so please clear table.", vbYesNo)
    Const sName As String = "OMData"
    
    If resp = vbYes Then
        CTA2
    Else
        Exit Sub
    End If
    
End Sub

CTA2 Macro which deletes everything but keeps first 2 rows to for the table format, it also updates the helper cells on Sheet1:

Sub CTA2()
    Const sName As String = "Sheet1
    
    Dim lR As Long
    Sheets(sName).Range("N1").Value = "No"
    Sheets(sName).Range("A2").ClearContents
    Sheets(sName).Range("B2").ClearContents
    Sheets(sName).Range("C2").ClearContents
    Sheets(sName).Range("D2").ClearContents
    
    lR = Sheets(sName).Range("A" & Rows.Count).End(xlUp).Row
    Sheets(sName).Range("A3:A" & lR).EntireRow.Delete
    
    Sheets(sName).Range("N1").Value = "Yes"
End Sub

I included some code on the desired sheet so that whenever there change to Column A (and the two cells I used to help idenifty if the macro needed running or not were correct) to call the macro:

Private Sub worksheet_change(ByVal Target As Range)
    Const sName As String = "Sheet1"
    
    If Not Intersect(Target, Range("A:A")) Is Nothing Then
        If ThisWorkbook.Sheets(sName).Range("K1").Value > 1 And ThisWorkbook.Sheets(sName).Range("N1").Value = "Yes" Then
            CopyUniqueIDs
        End If
    End If
    
End Sub

So the macro for CopyUniqueIDs is the following:

Sub CopyUniqueIDs()
    Const sName As String = "Sheet1"
    Const dName As String = "Sheet2"
    
    'copy from sName sheet
    Sheets(sName).Range("A:A").Copy
    'Paste data to correct sheet
    Sheets(dName).Range("A:A").PasteSpecial xlPasteValues
    
    'Turn off copy mode
    Application.CutCopyMode = False
    
    MatchAndMove
    
End Sub

This just copies the whole of column A and pastes the values onto another sheet (Sheet2 for example). It then calls MatchAndMove which has the following code:

Sub MatchAndMove()
    
    Const sName As String = "Sheet2"
    Const dName As String = "Sheet3"
    
    Dim lSR As Long ' last source row
    Dim i As Long 'counter
    Dim lDR As Long ' last destination row
    Dim bDR As Long ' blank destination row
    
    With Sheets(sName)
        lSR = .Range("B" & Rows.Count).End(xlUp).Row
        
        For i = 2 To lSR
        lDR = Sheets(dName).Range("A" & Rows.Count).End(xlUp).Row 'gets last row on destination sheet
        bDR = lDR + 1 ' last destination row + 1
            With .Range("B" & i)
                If .Value = "No" Then ' Check if Match is no
                    If IsEmpty(Sheets(sName).Range("A" & i).Value) Or Sheets(sName).Range("A" & i).Value = 0 Then 'stop at blank cell
                        Exit Sub
                    End If
                    Sheets(sName).Range("A" & i).Copy Destination:=Sheets(dName).Range("A" & bDR) 'copy ID to correct sheet
                    Sheets(sName).Range("C" & i).Copy 'copy todays date
                    Sheets(dName).Range("B" & bDR).PasteSpecial xlPasteValues 'paste as value (number), cell formatted to show short date
                End If
            End With
        Next i
        
     End With
    
End Sub

This then checks if each row on Colum A for Sheet2 to see if there is an ID stored and to see if it already exists on Sheet3. If the indicator is "No" it will then copy and past the ID number and copy and paste the value of todays date. Tried to get it to just write the date without the copy and pasting but kept running into problems so this was the easiest solution.

So at the end of it Sheet3 has a record of every ID that has been added to the report and the date in which it was added. For the actual report sheet (not mentioned above) it can now just do a simple VLOOKUP to find the date and present it alongside the correct ID number and will automatically change when the ID moves around the report.

Sorry if both my question or answer is not explained well. I am trying to get better at explaining what I mean.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ascou

79781968

Date: 2025-10-03 16:29:17
Score: 2.5
Natty:
Report link

I don't know if your question is still open, but I post a suggestion anyway for future visitors.

What helped for me:

-right click on myscript.py
-choose 'open with' --> other application
-in the open field below, give the command
gnome-terminal -e '/usr/bin/python3 %F'
-click 'Set as Default'
-click 'Ok'

In this way a .py file always runs AND you can see the output of a print command (without having to create a launcher or a separate bash file).
More info: python-forum.io/thread-45643.html

–  Tycho van Woensel

Commented 1 min ago   Edit   Delete

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tycho van Woensel

79781957

Date: 2025-10-03 16:10:11
Score: 6 🚩
Natty:
Report link

Did you check the firestore rules ?
Do you have the right to write on the database ?

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have the
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • High reputation (-1):
Posted by: BLKKKBVSIK

79781956

Date: 2025-10-03 16:09:11
Score: 2
Natty:
Report link

The regex captures a group. I realised I can display this captured group using the group = 1 option in the `str_extract()` function

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: JisL

79781954

Date: 2025-10-03 16:08:11
Score: 3
Natty:
Report link

MAIN DI SINI BERHADIAH MENARIK DAN BONUS

CARI DI GOOGLE

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Revan Wijaya

79781953

Date: 2025-10-03 16:04:10
Score: 0.5
Natty:
Report link

When using AKS I had this error when I missed kubelogin. I ran 'az aks install-cli', closed and opened terminal and voila, it worked :)

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • High reputation (-1):
Posted by: Michel Samia

79781950

Date: 2025-10-03 16:02:09
Score: 0.5
Natty:
Report link

For this particular use case, I decided to give up on using the Web Speech API and instead combined the [Edge TTS Universal](https://www.npmjs.com/package/edge-tts-universal) library with Media Session API. On the plus site, the quality of many of the Edge-TTS voices is arguably much better than those of the Web Speech API. However, a downside is that the Edge-TTS is not instantaneous like the Web Speech API and Edge-TTS requires larger texts to be broken down into multiple smaller requests to the API.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Matt V.

79781942

Date: 2025-10-03 15:56:07
Score: 2
Natty:
Report link

This is much easier now just use https://learn.microsoft.com/en-us/dotnet/api/azure.security.keyvault.certificates.certificatemodelfactory.keyvaultcertificatewithpolicy?view=azure-dotnet

Example:

var fakeCert = CertificateModelFactory
  .KeyVaultCertificateWithPolicy(certificateProperties, cer: new byte[] {1,2,3});
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shawn

79781940

Date: 2025-10-03 15:55:07
Score: 2.5
Natty:
Report link

Change your internet to another network.
In my case, I changed my internet from WIFI to mobile data network, and it works.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mussadiq Ali

79781937

Date: 2025-10-03 15:54:06
Score: 4.5
Natty: 7
Report link

API returned a sequence type of Bloomberg DES_CASH_FLOW type array. How can I get each array item thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): How can I
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user31622811

79781923

Date: 2025-10-03 15:31:00
Score: 6 🚩
Natty:
Report link

everytime I adda code block to my answer.... SO freezes ?

Reasons:
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Tim

79781921

Date: 2025-10-03 15:27:58
Score: 3
Natty:
Report link

#include<stdio.h>

#include<conio.h>

void main()

{

int n,c;

printf("enter a number");

scanf("%d",&n);

while(c<=10)

{

printf("%d %d=%d\n",n,c,n*c);

c=c+1;

}

while(c<=5);

getch();

}

Reasons:
  • Low length (1):
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: zidi queen

79781917

Date: 2025-10-03 15:25:58
Score: 3.5
Natty:
Report link

ssh user@themachine -oStrictHostKeyChecking=no -tt "path/to/my/program.sh" -o ServerAliveInterval 120 works if the user is know by the machine

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Methil

79781891

Date: 2025-10-03 14:57:50
Score: 0.5
Natty:
Report link
@Override
public String getId() {
  return "ldap";

}

Found an answer to this question by posting the same question to the Keycloak discourse forum. The support team replied that you need to use the same provider ID as the default LDAP provider. Which means your custom provider will override the default one. Code snippet above.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TechQuestion

79781885

Date: 2025-10-03 14:43:47
Score: 8.5
Natty: 8.5
Report link

I need BioStar1 SDK. If anyone has it, can you share it with me?

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): can you share
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Batuhan Bayrak

79781873

Date: 2025-10-03 14:33:43
Score: 6.5 🚩
Natty: 4.5
Report link

I have to complete the same task but I'm stuck on this as the code seems to need the range to be declared first? So for example where it says (min - max +1) how am I supposed to know what range min and max represent here? Does anyone know?

Math.floor(Math.random() * (max - min + 1)) + min
Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • RegEx Blacklisted phrase (1.5): I'm stuck
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jay

79781870

Date: 2025-10-03 14:30:42
Score: 2.5
Natty:
Report link

It is possible to declare the access level on all log annotations, including @Slf4j, since Lombok 1.18.42, using https://projectlombok.org/api/lombok/extern/slf4j/Slf4j#access()

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: madborn

79781863

Date: 2025-10-03 14:23:40
Score: 3
Natty:
Report link

“Discover the power of AhaChat AI – designed to grow your business.”

“AhaChat AI: The smart solution for sales, support, and marketing.”

“Empower your business with AhaChat AI today.”

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: AhaChat

79781858

Date: 2025-10-03 14:21:39
Score: 1.5
Natty:
Report link

I would not recommend doing that

If you don't version these files and you change any JS or CSS, do a deployment - users' browsers will still serve this content from browser cache, so they won't get a static content change.

That's why the static content version exists.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Vladyslav Sikailo

79781855

Date: 2025-10-03 14:12:37
Score: 1
Natty:
Report link

The hint text for Search Query on Get emails (v3) helped me solve this. It says to refer to docs.microsoft.com/graph/query-parameters#search-parameter. That page says it uses KQL syntax. Another page tells me that KQL syntax includes something simple like - received<10/16/2022 ... that is working for me!

One would think Odata filter syntax would work, but, it doesn't.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jon vB

79781853

Date: 2025-10-03 14:11:37
Score: 0.5
Natty:
Report link

For a workaround that only adjusts compiler flags, consider setting -Walloc-size-larger-than=18446744073709551615 or similar. For whatever reason, it doesn't seem that -Wno-alloc-size-larger-than is respected in all cases.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: davidvandebunte

79781835

Date: 2025-10-03 13:53:32
Score: 1.5
Natty:
Report link

Steps:
1. Insert the breakpoint on where you want to debug by clicking on the left side of the line-number.
2. Go to the Last cell that call all other functions. At the left-top corner of the cell, where you see the play button, right click, and select debug cell.
Then it will run and stop at where you inserted the breakpoint, which can be at different cell at the top.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chuong Nguyen

79781834

Date: 2025-10-03 13:53:32
Score: 1
Natty:
Report link

This just happened to me after adding a new emulator image, based on Pixel 3. Seems this operation downloaded new phone profile definitions, and AVD matched these to my other emulator images as well, forcing the DPI to the phone profile and ignoring the DPI set in the actual settings.

I'm emulating an industrial handheld low res device (480x854), the result was comically chaotic : in the Pixel 3 device, icons on the home page were absolutely tiny, while icons in settings and app list where so huge, one would fill the entire screen.

Solution : change the phone profile used by the emulator to one that actually matches the DPI you want.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Francois Gaudet

79781832

Date: 2025-10-03 13:49:31
Score: 1.5
Natty:
Report link

Just as a workaround, create an SSH tunnel between the remote host (where Minikube is running) and the client host. Then simply use https://127.0.0.1:<APISERVER_PORT> in the Kubeconfig.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ilya.v

79781830

Date: 2025-10-03 13:47:31
Score: 3
Natty:
Report link
what (fillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfillerfiller)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: zib vop

79781827

Date: 2025-10-03 13:42:29
Score: 3.5
Natty:
Report link

this will fix the issue. Tools -> options -> preview features.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: karayakar

79781821

Date: 2025-10-03 13:33:27
Score: 3.5
Natty:
Report link

if nothing works, insted of yarn try bun. I heard is faster and lighter

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dan Borăscu

79781819

Date: 2025-10-03 13:32:26
Score: 4.5
Natty:
Report link

The quill-html-edit-button on Github seems to do the job.

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Nick W

79781817

Date: 2025-10-03 13:30:25
Score: 2
Natty:
Report link

The best option is to have a way to use service accounts (bot accounts) with restricted access to your google sheets.

Using unity's default API Key requires you to make the google spreadsheet public, and using the OAuth, well you already know the friction it creates to mainatin the developer's google account as testers every seven days.

That's why I created my own plugin to seamlessly integrate authentication using google service account without loosing all the features the current Google Sheet Extension offer.

Here's the github repo and the youtube tutorial I made. Try it out and let me know.

Youtube Link: - https://www.youtube.com/watch?v=bsEYavsGfJs

Github Repo - https://github.com/IamBiswajitSahoo/UnityLocalizationGoogleSheetsSA

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: BISWAJIT SAHOO

79781813

Date: 2025-10-03 13:25:24
Score: 0.5
Natty:
Report link

In aggrid v32+ this can be set with:

--ag-cell-horizontal-border: solid rgb(150, 150, 200);

Source: https://www.ag-grid.com/archive/32.3.7/react-data-grid/global-style-customisation-borders/

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: TCB13

79781801

Date: 2025-10-03 13:10:20
Score: 1.5
Natty:
Report link

The Site Recovery Provider is installation that is done on on-premises server. As this is installation package it is not in the scope of Azure Bicep. Azure Bicep manages only Azure resource. Site Recovery Provider is not Azure resource. You could try to use third party services that do machine configuration to install packages on your servers.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Stanislav Zhelyazkov

79781796

Date: 2025-10-03 13:07:19
Score: 0.5
Natty:
Report link

Found a solution, searched the migrations themselves and changed from Cascading to Restrict

migration.AddForeignKey(
name: "FK_Films_People_ComposerId",
column: "ComposerId",
proncipalTable: "People",
principalColumn: "Id",
onDelete: ReferentialAction.Restrict);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: James

79781794

Date: 2025-10-03 13:05:18
Score: 1
Natty:
Report link

You can check the Authorization Scope of indvidual pipelines from here:
https://dev.azure.com/%7Borg%7D/%7Bproject%7D/_apis/build/definitions/%7Bbuild_id%7D?api-version=7.19

I was having issues with just a small number of pipelines that could not access shared resources. In my case it was pipline trying to pull a file fomr a repo in a central repo.

look for the "jobAuthorizationScope" and make sure it is set to "projectCollection" if it is set to "project" then the only way to change it at this point is to use the Azure DevOps rest api.

I have spoken to Microsoft Support and so far I have not had a definative answer as to why this setting was unexpected for a handfull of pipelines.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Max Edgar

79781791

Date: 2025-10-03 13:04:18
Score: 2.5
Natty:
Report link

Fatal error: Uncaught mysqli_sql_exception: Table 'contact us.college' doesn't exist in C:\xampp\htdocs\300\insert.php:24 Stack trace: #0 C:\xampp\htdocs\300\insert.php(24): mysqli->query('INSERT INTO col...') #1 {main} thrown in C:\xampp\htdocs\300\insert.php on line 24

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Isaac yego

79781790

Date: 2025-10-03 13:03:18
Score: 1
Natty:
Report link

I'm very, very late, but I found this question in 2025 and then I've found an interesting solution to adjust text size on the launch screen.

You can't have custom fonts and you can't have any logic to adjust font size on the launch screen. What you can do these days though, is add an SVG file with the text and then use autolayout to scale it.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Przemysław Wrzesiński

79781788

Date: 2025-10-03 13:01:17
Score: 4
Natty:
Report link

Please see

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Zorgiev

79781783

Date: 2025-10-03 12:50:14
Score: 2.5
Natty:
Report link

It's a bug: https://youtrack.jetbrains.com/issue/IDEA-328297/Not-possible-to-run-Dart-scratch-file

Opened 5 year ago.

Java Works fine on android studio Flutter/Dart project. While Dart doesn't.

Java runs on scratch

Dart Doesn't

The workaround as per sidekickbottom is to move the scratch.dart inside the project folder(like any folder in the project).

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Y Melo

79781775

Date: 2025-10-03 12:41:12
Score: 2.5
Natty:
Report link

This can be done using CronJob itself. Using PodAffinity rules, I made sure that all the pods/jobs created using CronJob are scheduled on the same node as that of the Hastebin' application container.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rishabh Agarwal

79781767

Date: 2025-10-03 12:32:10
Score: 1
Natty:
Report link

Xcode-like GUI in SwiftUI = use a three-pane split:

So it’s basically:
NavigationSplitView { List } detail: { HStack { TextEditor ; Divider ; InspectorView } }syed ibrahim academy

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: syed ibrahim academy

79781757

Date: 2025-10-03 12:18:06
Score: 2
Natty:
Report link

Five years later, and I've been having similar problems trying to get a printInfo with a correct '-imageablePageBounds' Rect for A4 paper. In my case the incorrect y-offset is 41 when it should be 12. The good news is I've found a workaround:

NSPrintInfo *printInfo = [[NSPrintInfo sharedPrintInfo] copy]; // autorelease later
    NSLog(@"As-received copy of sharedPrintInfo:");
    NSLog(@"   paperSize = %@", NSStringFromSize([printInfo paperSize]));
    NSLog(@"   imageablePageBounds = %@", NSStringFromRect([printInfo imageablePageBounds]));
    [printInfo setPaperSize:[printInfo paperSize]];
    NSLog(@"After [printInfo setPaperSize:[printInfo paperSize]]:");
    NSLog(@"   paperSize = %@", NSStringFromSize([printInfo paperSize]));
    NSLog(@"   imageablePageBounds = %@", NSStringFromRect([printInfo imageablePageBounds]));

and the 'noop' reset of the paperSize seems to trigger a recalculation of the -imageablePageBounds value:

As-received copy of sharedPrintInfo:
   paperSize =  {595, 842}
   imageablePageBounds =  {{18, 41}, {559, 783}}
After [printInfo setPaperSize:[printInfo paperSize]]:
   paperSize =  {595, 842}
   imageablePageBounds =  {{18, 12}, {559, 818}}

I've only tested this on Tahoe but I think it proves it's a macOS bug so I'll try reporting it again.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): having similar problem
  • Low reputation (1):
Posted by: Chuck

79781755

Date: 2025-10-03 12:17:06
Score: 1.5
Natty:
Report link

After some research and experimentation with test projects, I have reached some conclusions.

GroupId is not relevant when executing `gradle build`. However it is relevant when executing `gradle publish', either locally or to a repository. When publishing a project, the generated artifact goes to local file system or to a repository. In both cases, the path is determined by the GroupId (e.g. GroupId: 'com.company.product' -> Path: com/company/product).

When the published project is loaded as a dependency by another project, the GroupId should be correct (e.g. `implementation 'com.company.product:LibraryProject:1.0.0'`). Otherwise, the published project cannot be loaded.

Regarding package names, it is not mandatory that they start with the GroupId. However, it is recommended to keep package names and GroupId aligned, both for semantic reasons and for containing the namespace.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Giorgos

79781751

Date: 2025-10-03 12:11:04
Score: 2
Natty:
Report link

There’s actually a lightweight free plugin for that. It lets you rename WooCommerce sort option labels (like ‘Sort by popularity’ or ‘Sort by latest’) and also hide the ones you don’t want to show in the dropdown.

https://wordpress.org/plugins/sort-options-label-editor-for-woocommerce/

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user1254268

79781740

Date: 2025-10-03 11:55:00
Score: 1.5
Natty:
Report link

If you’ve got a Shopify development store, you can add a custom app by going to Apps → Develop apps for your store → Create app, then using the “Install app” option once it’s set up. If it’s a public or custom app built elsewhere, just use the install link provided. I’ve worked with PixelCrayons before for Shopify development, and they made this process super smooth. They handled everything from app setup to testing on the dev store. Definitely worth it if you don’t want to deal with all the technical steps yourself.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rupali Narad

79781731

Date: 2025-10-03 11:42:57
Score: 0.5
Natty:
Report link

The solution was to include the --function argument to the deployment command:

gcloud run deploy testfunc --source . --function=run_testfunc

As per the documentation, the function argument

Specifies that the deployed object is a function. If a value is provided, that value is used as the entrypoint.

in my Github Action, I added the --function argument using flags

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: unie

79781730

Date: 2025-10-03 11:41:56
Score: 3
Natty:
Report link

Upgrading node to more recent version (v22) fixed the issue in my case.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: James Wrcsti

79781728

Date: 2025-10-03 11:39:56
Score: 1
Natty:
Report link

Why use conversion, if you can simply configure the session for all known date types:

alter session set nls_date_format = 'YYYY-MM-DD HH24:MI:SS';
alter session set nls_timestamp_tz_format='YYYY-MM-DD HH24:MI:SS.FF6 TZR';
alter session set nls_timestamp_format='YYYY-MM-DD HH24:MI:SS.FF6';
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Why use
  • Low reputation (0.5):
Posted by: Деян Добромиров

79781711

Date: 2025-10-03 11:26:52
Score: 0.5
Natty:
Report link

I had the same issue with the Apple Vision Pro simulator. None of the above fixed the issue.
Here is what helped for me:

Target -> Build Settings -> Architectures -> Supported Platforms:
Showed "xros", either change to "visionOS" or under "Other" add "xrsimulator" (also then visually displays "visionOS" as selected).

Then, the simulator shows up in the Run Destinations.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Low reputation (1):
Posted by: RabbleRousy

79781704

Date: 2025-10-03 11:12:49
Score: 9
Natty: 7.5
Report link

Hello Everyone from 2025 - was any solution found ever for this appearance ?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution found ever for this appearance ?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sergey Penkin

79781700

Date: 2025-10-03 11:09:48
Score: 0.5
Natty:
Report link

Delete package-lock.json and run npm install, to get a clear install with updated peer dependencies.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Jonathan

79781684

Date: 2025-10-03 10:52:44
Score: 1
Natty:
Report link

Any updates on that ?

I'm trying to get real-time crypto feed but... invalid syntax

I successfully stream stock prices (websocket),

but when I try to do that with crypto ( https://docs.alpaca.markets/docs/real-time-crypto-pricing-data )

I'm connected, then authenticated, but when I try to subscribe: 400 invalid syntax

also the same happens with example python code using alpaca_trade_api - error: invalid syntax (400)

I'm sending

{"action":"subscribe","quotes":["BTC/USD"], "feed":"crypto"}

also tried without "feed":"crypto"

and also "bars":["BTC/USD"]

and symbol BTCUSD

what's the proper format? and why even official python lib doesn't work ?

Reasons:
  • Blacklisted phrase (1): Any updates on
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: razor

79781669

Date: 2025-10-03 10:35:40
Score: 2.5
Natty:
Report link

The issue was by default the Apple Intelligence might not have been turned on and the models are not downloaded in the local device.

So, go to Setting -> Apple Intelligence & Siri -> Turn On Apple Intelligence

The models will start downloading. Check for response again, won't get that error again.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sagnik Saha

79781668

Date: 2025-10-03 10:35:40
Score: 1
Natty:
Report link

For me using backticks around table name helped:

ALTER TABLE `my_table` ADD IF NOT EXISTS PARTITION ...

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ksenia Rogozhina

79781658

Date: 2025-10-03 10:24:37
Score: 2
Natty:
Report link

the differences go far beyond just names. While both systems use the ELF (Executable and Linkable Format), there are several key distinctions:

ABI (Application Binary Interface) – Each OS defines its own calling conventions, stack layout, and system call interfaces.

Linking to Libraries and Kernel – Linux object files often depend on glibc and the Linux linker, whereas VxWorks DKM (Loadable Kernel Modules) objects are linked against VxWorks-specific runtime libraries.

Sections and Relocations – Section attributes and relocation entries are tailored to the target OS and its loader.

Loading Mechanism – In VxWorks, kernel modules are loaded directly into memory, while Linux uses dynamic linking and the standard executable loader.

💡 Key Takeaway: Even if the CPU architecture matches, object files are not interchangeable between Linux and VxWorks. Using the correct toolchain for your target OS is essential, especially in embedded or real-time systems development.

Understanding these differences can save hours of debugging when porting code or building cross-platform modules. It’s a subtle yet critical part of system-level programming.

https://amirhosseinrashidi1.medium.com/stackoverflow-1-5f2a214b9d53

https://www.linkedin.com/posts/amirhosseinrashidii1_aebahyaebaesaetabraesaehaeqahyaevabraecaexaev-activity-7379817571870535680-7YHd?utm_source=share&utm_medium=member_android&rcm=ACoAAF52UO8BpEyzSRR3jYdIZTHh632CK0C6OtM

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Amir Hossein

79781657

Date: 2025-10-03 10:22:36
Score: 0.5
Natty:
Report link

Yes you can extract the world-view matrix from a World-View-Projection matrix. The key is guessing the projection matrix, and multiplying the WVP matrix by the inverse projection matrix. One way of guessing the projection matrix is by parameterizing the matrix, transforming a 1x1x1 cube by the WVP*P^-1, and checking how close the 1x1x1 cube edges are - is it still 1x1x1 or has it been distorted? You can do a simple coarse search to find the parameters with the least error, or use an algorithm like Nelder-Mead to do a more refined search.

Here is an example app that displays two cubes like BZTuts 10. I have stored an archive of the original webpage in case it ever goes down: BzTuts10_archive.7z

BZTuts10_example.jpg

Here is showing PIX displaying the second cubes WVP matrix (row major). PIX (or renderdoc) is useful to understand the WVP matrix if your app supports it.

PIX.jpg

Here is showing exported the geometry using just local coordinates (no transform). Both cubes are on top of each other at the origin. If you don't have much geometry you could manually move them in place - eg a tree might just have 2 meshes one for the trunk, one for the leaves. But if your working on a car game, its possible the car has 100 meshes - too many to manually place.

local.jpg

Here is showing the distortion that takes place if you use the WVP matrix. The two cubes appear squashed. It is this squashing behaviour we want to stop.

wvp.jpg

Here is a python script that shows how to do a coarse search and a refined search using Nelder-Mead to come up with the parameters for the projection matrix. It is done for DirectX, and has comments for how you might change it for OpenGL. refine_bz.py

Here we setup the cube we are going to see if it stays 1x1x1 after transforming.

import numpy as np
from scipy.optimize import minimize

# ---------- Define your WVP here ----------
# Replace with your actual 4x4 numpy array
#WVP = np.identity(4)  # placeholder
#209 CBV 2: CB1

#WARNING: numpy convention is COLUMN major
#row major defined, .T on the end transposes to column major
WVP = np.array([

 [1.33797, 0.955281, -0.546106, -0.546052],
 [-0.937522, 2.05715, -0.0830864, -0.0830781],
 [0.782967, 0.830887, 0.83375, 0.833667],
 [0, 0, 4.37257, 4.47214]

], dtype=np.float32).T

# ---------- Cube geometry ----------
cube = np.array([
    [0,0,0,1],
    [1,0,0,1],
    [0,1,0,1],
    [0,0,1,1],
    [1,1,0,1],
    [1,0,1,1],
    [0,1,1,1],
    [1,1,1,1]
], dtype=float)

edges = [(0,1),(0,2),(0,3),
         (1,4),(1,5),
         (2,4),(2,6),
         (3,5),(3,6),
         (4,7),(5,7),(6,7)]

We parameterize the projection matrix as based on fov_y_deg, aspect, near, far. We fix far to 10,000 because it needs to be big and we don't want to generate small values and it does not affect the skewness. Aspect ratio is just the window width/height which is 800/600. Then the only values we need to guess are field of view degrees and near. If near is not small (eg <1) then something has gone wrong.

#DX
def perspective(fov_y_deg, aspect, near, far):
    f = 1.0 / np.tan(np.radians(fov_y_deg)/2.0)
    m = np.zeros((4,4))
    m[0,0] = f/aspect
    m[1,1] = f
    m[2,2] = far/(far-near)
    m[2,3] = (-far*near)/(far-near)
    m[3,2] = 1
    return m

These are the key functions:

def cube_edge_error(WVP, P, printIt=False):
    try:
        P_inv = np.linalg.inv(P)
    except np.linalg.LinAlgError:
        return 1e9
#    M = WVP @ P_inv #GL
    M = np.linalg.inv(P) @ WVP #DX
    if printIt:
        print("Estimated World-View matrix (WVP * P_inv):\n", M)
    pts = (M @ cube.T).T
    pts = pts[:,:3] / np.clip(pts[:,3,None], 1e-9, None)
    err = 0.0
    for i,j in edges:
        d = np.linalg.norm(pts[i]-pts[j])
        err += (d-1.0)**2
    return err

# ---------- Coarse grid search ----------
def coarse_search(WVP, aspect, far, 
                  fov_range=(30,120,2.0),
                  near_values=(0.05,0.1,0.2,0.5,1.0)):
    best, best_err = None, float("inf")
    fmin, fmax, fstep = fov_range
    for fov in np.arange(fmin,fmax+1e-9,fstep):
        for n in near_values:
            if n >= far: 
                continue
            P = perspective(fov, aspect, n, far)
            err = cube_edge_error(WVP, P)
            if err < best_err:
                best_err = err
                best = (fov,n)
    return best, best_err

# ---------- Refine with Nelder–Mead ----------
def refine_params(WVP, aspect, far, init_guess):
    def cost(x):
        fov, n = x
        if fov <= 1 or fov >= 179: return 1e9
        if n <= 0 or far <= n: return 1e9
        P = perspective(fov, aspect, n, far)
        return cube_edge_error(WVP, P)

    res = minimize(cost, init_guess,
                   method="Nelder-Mead",
                   options={"maxiter":500,"xatol":1e-6,"fatol":1e-9})
    return res.x, res.fun

# ---------- Run ----------
aspect = 800/600  # set your aspect ratio
far = 10000

coarse_guess, coarse_err = coarse_search(WVP, aspect, far)
print("Coarse guess: fov=%.2f, near=%.3f, far=%.1f, err=%.6f" %
      (coarse_guess[0],coarse_guess[1],far,coarse_err))

refined_params, refined_err = refine_params(WVP, aspect, far, coarse_guess)
print("Refined: fov=%.6f, near=%.6f, far=%.6f, err=%.12f" %
      (refined_params[0],refined_params[1],far,refined_err)

It came up with:
Coarse guess: fov=44.00, near=0.100, far=10000.0, err=0.002176
Refined: fov=45.171178, near=0.099151, far=10000.000000, err=0.000002043851

Then you just need to do WVP*P^-1 and you have the WV matrix!

How well did we do? Since we have the source code to BZ Tuts 10 we can look at how the projection matrix is created:

XMMatrixPerspectiveFovLH(45.0f\*(3.14f/180.0f), (float)Width / (float)Height, 0.1f, 1000.0f);  

So we were pretty close guessing 45.17 for 45 and almost exact for near. Far is way off but it doesn't affect skewness. Ultimately we just want to remove distortion, so its OK if the projection matrix is not exactly the same as the app uses.

This is the result of exporting the scene using our estimated WV matrix. You can see the cubes are not distorted - yey.

wv.jpg

See this page for the python code etc: https://github.com/ryan-de-boer/WVP/tree/main

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Twinsen

79781653

Date: 2025-10-03 10:16:35
Score: 0.5
Natty:
Report link

This is not really possible. You can get close with a new native List Slicer and paginated overflow but the arrows are vertical rather than horizontal and the user will need to actually select the value after paginating.
enter image description here

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: davidebacci

79781650

Date: 2025-10-03 10:15:34
Score: 2
Natty:
Report link

The publishers also would generate a lot of logs if the dispatcher doesn't cache properly so each request is then forwarded to pubs. I would check that too.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Diana R

79781627

Date: 2025-10-03 09:45:27
Score: 1
Natty:
Report link
<map>
  <string name="client_static_keypair_pwd_enc">[...]</string>
  <long name="client_static_keypair_enc_success" value="448" />
  <boolean name="can_user_android_key_store" value="true" />
  <string name="client_static_keypair_enc">[...]</string>
</map>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Leydi Enriquez

79781623

Date: 2025-10-03 09:36:24
Score: 2
Natty:
Report link

This is a known issue

From support :

Meanwhile, we'd suggest setting dotSettings files are read only to prevent this behavior.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Yvain

79781617

Date: 2025-10-03 09:34:24
Score: 1
Natty:
Report link

You’ve got a version-mismatch problem, not a “how to use the Button” problem. SPFx 1.21.1 is pinned to React 17.0.1 and TypeScript 5.3 (and Node 22). That combo is fine, but if your project pulls in React 18 types (or otherwise mixes React type definitions), JSX props can collapse to never, which produces errors like:

“Type string is not assignable to type never”

“This JSX tag’s children prop expects type never …”

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: microsoftdeveloperdesigner

79781613

Date: 2025-10-03 09:29:22
Score: 4.5
Natty: 5
Report link

the answer is in a knowledge base article of uipath
https://forum.uipath.com/t/nothing-happens-when-opening-or-clicking-uipath-assistant/800265

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31620565

79781608

Date: 2025-10-03 09:26:21
Score: 1
Natty:
Report link

In my case, I copied the Dockerfile's text to Notepad
then pasted back, then it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
Posted by: Vijay

79781592

Date: 2025-10-03 09:03:15
Score: 1.5
Natty:
Report link

BaseObject is of Object type known at compile time and compiler does not know its type until run time. So while accessing BaseObject we need to cast ComputerInfo explictly,as derived type available at run time only.

var a = (ComputerInfo)result[0].BaseObject;

or ((ComputerInfo)result[0].BaseObject).BiosBIOSVersion

this way you can access it.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vaishali Dhokchawle

79781591

Date: 2025-10-03 09:02:14
Score: 0.5
Natty:
Report link

I ran into this and this had the following cause.

In my package json I have an entry packageManager specifying to use a specific version. In my cli however an older version as active. Hence the difference in the lock file because the different versions were outputting a different format

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rico Humme

79781589

Date: 2025-10-03 09:02:14
Score: 2
Natty:
Report link

Okay, so finally this is my bad !

In my repository I had this function :

public function __get($property)
{
    return $this->$property;
}

This is what causes my exception when findAll() is called.

I'll find an alternative.

Thanks everyone!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user21049957

79781571

Date: 2025-10-03 08:37:08
Score: 0.5
Natty:
Report link

You can change the viewport to include the "notch". Add this html snippet into your <head>..</head>

<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"> 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mart

79781556

Date: 2025-10-03 08:20:04
Score: 6 🚩
Natty:
Report link

Could it be a hardware issue due to the shutter speed of the camera? Do you have the camera set to NTSC or PAL?

I can't run your code right now, but I suggest you debug your code by setting breakpoints in your code to see what is exactly happening.

Did you see this thread? -> https://stackoverflow.com/a/54444910/22773318

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (2.5): Do you have the
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: th0miz

79781520

Date: 2025-10-03 07:23:50
Score: 0.5
Natty:
Report link

What worked for me is deleting the .metadata/.plugins/org.eclipse.jdt.core folder inside workspace. And then restarting Eclipse.

That forces reindexing of project.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Marko Adam

79781519

Date: 2025-10-03 07:21:50
Score: 2
Natty:
Report link

Did you follow the instructions in the get-started link? See below instruction snippet:

Now this is the command to fetch all information in the bridge. You didn’t get much back and that’s because you’re using an unauthorized username “newdeveloper”.

We need to use the randomly generated username that the bridge creates for you. Fill in the info below and press the POST button.

URL/apiBody{"devicetype":"my_hue_app#iphone peter"}MethodPOST

This command is basically saying please create a new resource inside /api (where usernames sit) with the following properties.

When you press the POST button you should get back an error message letting you know that you have to press the link button. This is our security step so that only apps you want to control your lights can. By pressing the button we prove that the user has physical access to the bridge.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: AndreDumont

79781515

Date: 2025-10-03 07:14:48
Score: 2
Natty:
Report link

Solved: https://github.com/r-tmap/tmap/issues/1197

If there are any similar issues let us know on GH

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Martijn Tennekes

79781512

Date: 2025-10-03 07:12:47
Score: 4.5
Natty:
Report link

This is part of the big update 4.2, see https://r-tmap.github.io/tmap/articles/adv_inset_maps

Please let us know if there are open issues.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let us know
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Martijn Tennekes

79781511

Date: 2025-10-03 07:11:47
Score: 11
Natty: 7
Report link

I'm facing a similar issue where Facebook Login only grants one permission despite multiple approved scopes in my live-mode business app. Tried setting scope and config_id it correctly. Did you resolve this? Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Did you resolve this
  • RegEx Blacklisted phrase (1.5): resolve this?
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm facing a similar issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Huzaifa

79781498

Date: 2025-10-03 06:43:40
Score: 3
Natty:
Report link

If you are using the latest version of Expo and Expo Router, the links may help you to work with a protected route in any Expo app.

Appwrite Docs for setting a protected route in an Expo app
YouTube video for how to define auth flow in an Expo app using protected route

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shuvo

79781490

Date: 2025-10-03 06:32:37
Score: 2.5
Natty:
Report link

Use the package tmap.glyphs for this. See https://r-tmap.github.io/tmap.glyphs/articles/donuts

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Martijn Tennekes