79652301

Date: 2025-06-04 07:36:41
Score: 5.5
Natty:
Report link
Al-Qusour Area in Kuwait: Advantages, Challenges, and Future Needs

Introduction

Al-Qusour is a residential suburb located in the Mubarak Al-Kabeer Governorate in the State of Kuwait. Despite its relatively compact geographical size, Al-Qusour is recognized as one of the most vibrant and appealing neighborhoods in the region. It serves as a home to thousands of Kuwaiti families and has earned its reputation for being both well-serviced and community-centered.

This report aims to examine Al-Qusour’s key features, current challenges, and future developmental needs. By evaluating the area’s strengths and weaknesses, we can identify the necessary actions required to ensure its growth and sustainability. Such analysis is crucial as Kuwait continues to pursue modern urban development in line with its Vision 2035, which seeks to transform Kuwait into a financial and cultural hub.



First: Features of Al-Qusour Area

1. Geographical Location

Al-Qusour enjoys a strategic location in the Mubarak Al-Kabeer Governorate, situated on the southern outskirts of Kuwait City. One of its most notable geographical features is its proximity to the Arabian Gulf, providing several blocks with breathtaking views of the sea. This has enhanced the area’s aesthetic appeal and increased its attractiveness as a residential destination.

Moreover, the suburb is well-connected to major highways, including Fahaheel Expressway and King Fahd Bin Abdulaziz Road, which facilitates easy access to central Kuwait City, industrial zones, and commercial districts. Its location also allows residents to benefit from both urban conveniences and a more relaxed suburban lifestyle, away from the hustle and noise of downtown.

2. Demographics and Social Cohesion

Al-Qusour has a population of approximately 80,000, with the majority being Kuwaiti nationals. This high percentage of citizens contributes to the area’s strong social fabric and sense of community. Extended families often live in close proximity, which fosters neighborly relationships and social support networks.

This social cohesion is further reinforced by frequent community events, religious gatherings, and cultural celebrations that take place in mosques and public halls. As a result, residents report a high sense of belonging and safety within the neighborhood, which is a key indicator of urban stability.

3. Services and Facilities

Al-Qusour is well-equipped with a wide range of services that cater to residents’ daily needs:
    •   Retail and Shopping Services: The area hosts a cooperative society (jamaiya), which serves as a central hub for grocery shopping and household items. In addition, numerous retail stores and local shops offer a variety of goods and services including clothing, electronics, and personal care items.
    •   Religious Institutions: Over a dozen mosques are spread across different blocks, ensuring convenient access to places of worship for daily and Friday prayers. These mosques also function as community hubs.
    •   Educational Institutions: The area contains schools, kindergartens, and early learning centers, offering both public and private education options. Some institutions even offer specialized programs in science, technology, and foreign languages.
    •   Recreational Facilities: The presence of a Science Park in Block 4 is a highlight, offering a space where families and children can engage in educational and recreational activities. The area also features jogging tracks, fitness corners, and shaded seating areas.
    •   Government Services: The Government Mall in Block 1 houses various ministries and administrative departments, reducing the need for long commutes for basic services like renewing civil IDs or processing official documents.
    •   Youth and Sports Centers: Block 3 includes a youth center equipped with football and basketball courts, which hosts local tournaments and provides training programs for teens.

4. Commercial Activity and Dining Options

The commercial sector in Al-Qusour is steadily growing. A wide selection of restaurants and cafes caters to diverse tastes, from traditional Kuwaiti dishes to international fast food. Popular venues include:
    •   Al Tanour Pasha Restaurant – Known for its Middle Eastern cuisine and outdoor seating.
    •   Oriental Restaurant – Offers a fusion of Asian flavors and a family-friendly environment.
    •   Burger King – A global fast-food chain that remains popular among younger generations.

Additionally, dessert shops, cafés, and juice bars like Cinnabon and Karakee are frequented by families and youth, especially during weekends and holidays. This thriving food scene not only enhances quality of life but also creates job opportunities for local youth.



Second: Disadvantages and Challenges of the Al-Qusour Area

While Al-Qusour has many strengths, the area also faces several pressing challenges that require attention from planners, municipal authorities, and community leaders.

1. Infrastructure Deficiencies

Despite the availability of essential services, Al-Qusour struggles with aging or underdeveloped infrastructure, particularly in the following areas:

•Rainwater Drainage: During Kuwait’s brief but intense rainy season, poor drainage systems result in street flooding and water accumulation in low-lying areas. This not only disrupts traffic but also causes long-term damage to the road network and surrounding properties. Residents often voice concerns about the lack of emergency response and temporary drainage measures.
•Road Conditions: Several internal streets remain in urgent need of resurfacing and redesign. Narrow roads, insufficient signage, and poorly maintained intersections increase the likelihood of traffic accidents. Additionally, some neighborhoods lack proper street lighting, which poses safety risks, especially at night.
•Sidewalks and Accessibility: Many sidewalks are either too narrow or poorly maintained, limiting accessibility for people with disabilities and elderly residents. Improved urban design is necessary to ensure safe pedestrian movement and inclusive infrastructure.

2. Population Density and Service Pressure

With the rising population, Al-Qusour faces increasing pressure on public services and infrastructure:
    •   Shortage of Parking: Due to the limited space between buildings and lack of underground parking, residents are forced to park their vehicles on sidewalks or in non-designated areas. This not only obstructs pedestrian pathways but also leads to frequent disputes among neighbors and visitors.
    •   Traffic Congestion: Al-Qusour’s internal road network was not originally designed to accommodate the current volume of vehicles. The absence of traffic signals or roundabouts in key intersections adds to the problem, resulting in long delays during school and office hours.
    •   School Overcrowding: Some public schools in the area are operating at full capacity. Class sizes are growing, leading to a strain on teachers and educational outcomes. There is an urgent need for new educational institutions to maintain the quality of education.



3. Urban Planning Limitations

Despite having a clear layout, Al-Qusour suffers from outdated urban planning strategies that no longer match modern residential needs:
    •   Lack of Zoning Enforcement: Commercial outlets have increasingly opened in residential blocks without adequate parking or space, disrupting the peace of local neighborhoods.
    •   Green Space Deficit: There is a visible shortage of public parks and landscaped spaces. The few existing green areas are small and unevenly distributed, making it difficult for all residents to benefit from them.
    •   Visual Pollution: A lack of consistent architectural standards has led to visual clutter in some streets, with random signage, wires, and unregulated building extensions negatively affecting the area’s appearance.


Third: Future Needs of the Al-Qusour Area

For Al-Qusour to meet future demands and maintain its livability, several developmental initiatives and reforms should be implemented:

1. Infrastructure Development
    •   Stormwater Drainage Systems: Authorities should invest in a modern rainwater harvesting and drainage system, especially in low-lying areas. This will mitigate the recurring issues of seasonal flooding and infrastructure damage.
    •   Road Widening and Smart Traffic Control: Roads need not only physical expansion but also the incorporation of smart traffic lights and surveillance systems to ensure smoother traffic flow.
    •   Public Utilities Modernization: Water pipelines, electricity grids, and internet infrastructure must be upgraded to meet rising consumption demands and prevent service outages, especially during peak seasons.


2. Enhancement of Public Services

To keep pace with demographic changes and improve residents’ quality of life:
•New Healthcare Centers: Small polyclinics and family health units should be introduced in under-served blocks to reduce pressure on main hospitals and offer faster access to primary care.
•Expansion of Educational Facilities: New schools and expansion of existing institutions are necessary to reduce student-teacher ratios and accommodate the growing number of students.
•Community Hubs: Public libraries, cultural centers, and event halls should be built to foster civic participation, offer educational programs, and support local arts and youth activities.
•Public Transportation: The area urgently needs a bus network or shuttle system that connects residents to major destinations like Kuwait City, universities, and shopping malls. This would reduce private car use and alleviate congestion.


3. Sustainable Urban Planning and Environmental Integration

A long-term vision for Al-Qusour must be based on sustainable and inclusive urban development:
•Expanding Green Zones: Introducing large multi-purpose parks, children’s play areas, and walking tracks will promote healthier lifestyles and environmental balance. Planting more trees and improving landscaping will also help reduce dust and heat.
•Encouraging Vertical Development: In designated blocks, low-rise buildings can be gradually replaced with apartment towers that provide modern housing while conserving land. This must be balanced with preserving the neighborhood’s traditional character.
•Green Construction Codes: Developers should be required to follow eco-friendly building standards, such as solar panel installation, efficient insulation, and the use of recycled materials.
•Smart City Features: Adopting digital infrastructure such as public Wi-Fi zones, smart lighting systems, and waste management technologies will align Al-Qusour with Kuwait’s national development goals.

Conclusion

Al-Qusour stands today as one of the most promising and well-established residential neighborhoods in Kuwait. It offers a compelling blend of social cohesion, essential services, and commercial activity that continues to attract new families. However, as the population grows and urban pressures mount, proactive and forward-thinking development is essential.

Addressing infrastructure challenges, modernizing urban planning, and expanding public services will not only enhance the quality of life for current residents but also ensure the area’s sustainability for future generations. If guided by comprehensive planning and citizen participation, Al-Qusour can emerge as a model for suburban development in Kuwait — one that balances tradition with innovation, and community values with national progress.


Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • RegEx Blacklisted phrase (2): urgent
  • RegEx Blacklisted phrase (2): urgently
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30716672

79652288

Date: 2025-06-04 07:23:38
Score: 1.5
Natty:
Report link

The problem is solved by setting the RabbitMQ exchange name explicitly in values.yaml:

    msgbroker:
      analyzerExchangeName: analyzer
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: makeiteasy

79652284

Date: 2025-06-04 07:21:37
Score: 2
Natty:
Report link

There is a "Config File Provider" Plugin, which gives you the ability to prepare Maven settings.xml and link it to Jenkins credentials:

https://plugins.jenkins.io/config-file-provider/

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

79652283

Date: 2025-06-04 07:21:37
Score: 2.5
Natty:
Report link

Can we avoid the dialog moving out of the screen/window when resized? I have provided min and max height and width to the mat dialog. But when we drag the dialog towards top/ right top/left top of the screen and then when we resize the dialog the top potion of the dialog goes out of the screen/window. material version - 16.2.5 angular version - 16.2.0

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can we
  • Low reputation (1):
Posted by: HCN

79652282

Date: 2025-06-04 07:21:37
Score: 1.5
Natty:
Report link

The actual problem here i was trying to reach http site and at the same time trying to ignore the certificate errors by ignore-certificate-errors which has no impact even though http site has certificate error.

For such cases only the workaround is try to configure the browser not to throw certificate error or my team to fix the site configuration so that the site support https.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mahadi hasan

79652277

Date: 2025-06-04 07:16:36
Score: 0.5
Natty:
Report link

My approach is to set up a new file association:

Settings -> Text Editor -> Files -> Associations

Item Value
*.hbs html

Screenshot:

enter image description here

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

79652276

Date: 2025-06-04 07:15:35
Score: 1
Natty:
Report link

Then()

The return keyword is used to define values in data and prevent errors from occurring.

fetch('/api')
  .then((response) => return response.json())
  .then((data) => console.log(data));

Happy Coding :)

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

79652263

Date: 2025-06-04 07:09:33
Score: 10
Natty: 7.5
Report link

I’m encountering the same error with CocoaPods regarding gRPC-Core. Did you solved it?

Reasons:
  • RegEx Blacklisted phrase (3): Did you solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Trần Phước Lộc

79652262

Date: 2025-06-04 07:08:33
Score: 3
Natty:
Report link

As expected, it was related to config file being not loaded. Fixing the command resolved the issue.

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

79652258

Date: 2025-06-04 07:06:32
Score: 5.5
Natty:
Report link

I have created (with AI help) two scripts one .bat (cmd - Visual Setup) and another .ps1 (PowerShell). With these scripts you can create a portable anaconda without superuser permissions. All the comments are in Spanish.

I have tested all and works smoothly. I only recomend use the link Anaconda Navigator to launch all the tools, but it creates links for everything.

run_install_anaconda_portable.bat

@echo off
setlocal enabledelayedexpansion

:: Directorio donde esta este script
set "SCRIPT_DIR=%~dp0"
:: Carpeta donde se instala Anaconda Portable
set "INSTALL_DIR=%SCRIPT_DIR%PortableAnaconda"
:: Ruta del script PowerShell
set "PS_SCRIPT=%SCRIPT_DIR%install_anaconda_portable.ps1"

echo.
echo ===============================
echo  Instalacion portable de Anaconda
echo ===============================
echo.

:: Comprobacion basica existencia instalacion
if exist "%INSTALL_DIR%" (
    set "INSTALLED=1"
) else (
    set "INSTALLED=0"
)

:menu
echo Que deseas hacer?
echo.
echo 1. Instalar o Actualizar (descargar ultima version y actualizar)
echo 2. Reinstalar (usar el instalador ya descargado)
echo 3. Regenerar enlaces (crea los enlaces a partir de la instalacion)
echo 4. Desinstalar (borrar instalacion y enlaces)
echo 5. Salir
echo.
set /p "choice=Selecciona una opcion [1-4]: "
set "choice=!choice: =!"

if "!choice!"=="1" (
    set "ACTION=Actualizar"
) else if "!choice!"=="2" (
    set "ACTION=Reinstalar"
) else if "!choice!"=="3" (
    set "ACTION=RegenerarEnlaces"
) else if "!choice!"=="4" (
    set "ACTION=Desinstalar"
) else if "!choice!"=="5" (
    echo Saliendo...
    goto end
) else (
    echo Opcion no valida.
    goto menu
)

:: Detectar politica de ejecucion actual
for /f "tokens=*" %%p in ('powershell -Command "Get-ExecutionPolicy -Scope CurrentUser"') do set "CURRENT_POLICY=%%p"
echo Politica actual para CurrentUser: %CURRENT_POLICY%
if /i "%CURRENT_POLICY%" NEQ "RemoteSigned" (
    echo Cambiando temporalmente politica de ejecucion a RemoteSigned para usuario actual...
    powershell -Command "Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned -Force"
)

echo.
powershell -ExecutionPolicy Bypass -NoProfile -Command "& { & '%PS_SCRIPT%' -Accion '%ACTION%' }"

:: Restaurar politica original si fue cambiada
if /i "%CURRENT_POLICY%" NEQ "RemoteSigned" (
    echo.
    echo Restaurando politica original de ejecucion...
    powershell -Command "Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy %CURRENT_POLICY% -Force"
)

:end
echo.
pause
exit /b

install_anaconda_portable.ps1

param(
    [Parameter(Mandatory = $true)]
    [ValidateSet("Actualizar","Instalar","Reinstalar","RegenerarEnlaces","Desinstalar")]
    [string]$Accion,

    [string]$InstallDir = "$PSScriptRoot\PortableAnaconda"
)

function Get-LatestAnacondaUrl {
    Write-Host "Obteniendo la última versión de Anaconda desde https://repo.anaconda.com/archive/ ..."
    try {
        $html = Invoke-WebRequest -Uri "https://repo.anaconda.com/archive/" -UseBasicParsing
        $pattern = 'Anaconda3-\d{4}\.\d{2}(?:-\d+)?-Windows-x86_64\.exe'
        $matches = [regex]::Matches($html.Content, $pattern) | ForEach-Object { $_.Value }
        $latest = $matches | Sort-Object -Descending | Select-Object -First 1
        if (-not $latest) {
            Write-Error "No se pudo encontrar el nombre del instalador más reciente."
            return $null
        }
        return "https://repo.anaconda.com/archive/$latest"
    } catch {
        Write-Error "Error al obtener la URL del instalador: $_"
        return $null
    }
}

function Download-Installer {
    param (
        [string]$Url,
        [string]$Destination
    )
    if (Test-Path $Destination) {
        Write-Host "El instalador ya existe: $Destination"
        return
    }
    Write-Host "Descargando instalador desde $Url ..."
    Invoke-WebRequest -Uri $Url -OutFile $Destination -UseBasicParsing
    Write-Host "Descarga completada."
}

function Create-Shortcut {
    param (
        [string]$TargetPath,
        [string]$ShortcutPath,
        [string]$Arguments = "",
        [string]$WorkingDirectory = "",
        [string]$IconLocation = ""
    )
    $WScriptShell = New-Object -ComObject WScript.Shell
    $Shortcut = $WScriptShell.CreateShortcut($ShortcutPath)
    $Shortcut.TargetPath = $TargetPath
    if ($Arguments) { $Shortcut.Arguments = $Arguments }
    if ($WorkingDirectory) { $Shortcut.WorkingDirectory = $WorkingDirectory }
    if ($IconLocation -and (Test-Path $IconLocation)) { $Shortcut.IconLocation = $IconLocation }
    $Shortcut.Save()
}

function Create-Shortcuts {
    param (
        [string]$TargetDir
    )
    Write-Host "Creando accesos directos..."

    $menuPath = Join-Path $TargetDir "Menu"
    $targetCondaExe = Join-Path $TargetDir "Scripts\conda.exe"

    # Python.exe
    $lnkPython = Join-Path $PSScriptRoot "Anaconda-Python.lnk"
    $targetPython = Join-Path $TargetDir "python.exe"
    Create-Shortcut -TargetPath $targetPython -ShortcutPath $lnkPython -WorkingDirectory $TargetDir -IconLocation $targetPython

    # Conda Prompt (CMD)
    $lnkConda = Join-Path $PSScriptRoot "Anaconda-Condaprompt.lnk"
    $argsConda = "shell.cmd.exe activate base & cmd.exe"
    $iconConda = Join-Path $menuPath "anaconda_prompt.ico"
    if (Test-Path $targetCondaExe) {
        $finalArgs = "/k `"$targetCondaExe`" $argsConda"
        Create-Shortcut -TargetPath "$env:WINDIR\System32\cmd.exe" -ShortcutPath $lnkConda -Arguments $finalArgs -WorkingDirectory $TargetDir -IconLocation $iconConda
    }

    # Conda Prompt (PowerShell)
    $lnkPS = Join-Path $PSScriptRoot "Anaconda-Condaprompt-PowerShell.lnk"
    $argsPS = "-NoExit -Command `"& `"$targetCondaExe`" shell.powershell activate base`""
    $iconPS = Join-Path $menuPath "anaconda_powershell_prompt.ico"
    if (Test-Path $targetCondaExe) {
        Create-Shortcut -TargetPath "$env:WINDIR\System32\WindowsPowerShell\v1.0\powershell.exe" -ShortcutPath $lnkPS -Arguments $argsPS -WorkingDirectory $TargetDir -IconLocation $iconPS
    }

    # Anaconda Navigator (con entorno activado)
    $lnkNavigator = Join-Path $PSScriptRoot "Anaconda-Navigator.lnk"
    $iconNavigator = Join-Path $menuPath "anaconda-navigator.ico"
    if (Test-Path $targetCondaExe) {
        $argsNavigator = "/k `"$targetCondaExe`" run anaconda-navigator"
        Create-Shortcut -TargetPath "$env:WINDIR\System32\cmd.exe" -ShortcutPath $lnkNavigator -Arguments $argsNavigator -WorkingDirectory $TargetDir -IconLocation $iconNavigator
    }

    # Jupyter Notebook
    $lnkJupyter = Join-Path $PSScriptRoot "Jupyter-Notebook.lnk"
    $iconJupyter = Join-Path $menuPath "jupyter.ico"
    if (Test-Path $targetCondaExe) {
        $argsJupyter = "/k `"$targetCondaExe`" run jupyter-notebook"
        Create-Shortcut -TargetPath "$env:WINDIR\System32\cmd.exe" -ShortcutPath $lnkJupyter -Arguments $argsJupyter -WorkingDirectory $TargetDir -IconLocation $iconJupyter
    }

    # Spyder
    $lnkSpyder = Join-Path $PSScriptRoot "Spyder.lnk"
    $iconSpyder = Join-Path $menuPath "spyder.ico"
    if (Test-Path $targetCondaExe) {
        $argsSpyder = "/k `"$targetCondaExe`" run spyder"
        Create-Shortcut -TargetPath "$env:WINDIR\System32\cmd.exe" -ShortcutPath $lnkSpyder -Arguments $argsSpyder -WorkingDirectory $TargetDir -IconLocation $iconSpyder
    }

    # QtConsole
    $lnkQt = Join-Path $PSScriptRoot "QtConsole.lnk"
    $iconQt = Join-Path $menuPath "qtconsole.ico"
    if (Test-Path $targetCondaExe) {
        $argsQt = "/k `"$targetCondaExe`" run jupyter-qtconsole"
        Create-Shortcut -TargetPath "$env:WINDIR\System32\cmd.exe" -ShortcutPath $lnkQt -Arguments $argsQt -WorkingDirectory $TargetDir -IconLocation $iconQt
    }
    
    # Acceso directo en el escritorio al Anaconda Navigator (usando el .exe directamente)
    $desktopShortcut = Join-Path "$env:USERPROFILE\Desktop" "Anaconda-Navigator.lnk"
    $exeNavigator = Join-Path $TargetDir "Scripts\anaconda-navigator.exe"
    if (Test-Path $exeNavigator) {
        Create-Shortcut -TargetPath $exeNavigator `
                        -ShortcutPath $desktopShortcut `
                        -WorkingDirectory $TargetDir `
                        -IconLocation $iconNavigator
        Write-Host "Acceso directo en escritorio creado: $desktopShortcut"
    }    
}

function Install-Anaconda {
    param (
        [string]$InstallerPath,
        [string]$TargetDir
    )
    Write-Host "Instalando Anaconda..."
    $args = "/InstallationType=JustMe /AddToPath=0 /RegisterPython=0 /S /D=$TargetDir"
    Start-Process -FilePath $InstallerPath -ArgumentList $args -Wait -NoNewWindow
    Write-Host "Instalación completada."

    Create-Shortcuts -TargetDir $TargetDir
}

function Fast-DeleteFolder {
    param([string]$Path)
    if (-not (Test-Path $Path)) { return }
    $null = robocopy "$env:TEMP" $Path /MIR /NJH /NJS /NP /R:0 /W:0
    Remove-Item -LiteralPath $Path -Force -ErrorAction SilentlyContinue
}

function Verbose-DeleteFolder {
    param (
        [string]$Path
    )
    if (-not (Test-Path $Path)) {
        Write-Host "La carpeta '$Path' no existe."
        return
    }

    Write-Host "Archivos y carpetas a borrar..."
    $items = Get-ChildItem -Path $Path -Recurse -Force -ErrorAction SilentlyContinue | Sort-Object FullName -Descending

    foreach ($item in $items) {
        try {
            if ($item.PSIsContainer) {
                Write-Host "Eliminando carpeta: $($item.FullName)"
                Remove-Item -LiteralPath $item.FullName -Recurse -Force -ErrorAction SilentlyContinue
            } else {
                Write-Host "Eliminando archivo: $($item.FullName)"
                Remove-Item -LiteralPath $item.FullName -Force -ErrorAction SilentlyContinue
            }
        } catch {
            Write-Warning "No se pudo eliminar: $($item.FullName)"
        }
    }
    # Finalmente, borra la carpeta raíz si sigue existiendo
    try {
        Write-Host "Eliminando carpeta raíz: $Path"
        Remove-Item -LiteralPath $Path -Recurse -Force -ErrorAction SilentlyContinue
    } catch {
        Write-Warning "No se pudo eliminar la carpeta raíz: $Path"
    }
    Write-Host "Borrado completo."
}

function Uninstall-Anaconda {
    param (
        [string]$TargetDir
    )
    Write-Host "Iniciando desinstalación..."
    if (-Not (Test-Path $TargetDir)) {
        Write-Host "No existe la carpeta de instalación."
        return
    }
    $confirm = Read-Host "¿Seguro que quieres desinstalar y borrar completamente '$TargetDir'? (S/N)"
    if ($confirm -match '^[Ss]$') {
        Write-Host "Borrando carpeta de instalación..."
        Verbose-DeleteFolder -Path $TargetDir

        # Elimina accesos directos dentro del directorio de instalación ($TargetDir), incluyendo subcarpetas.
        #Get-ChildItem -Path $TargetDir -Filter *.lnk -Recurse -ErrorAction SilentlyContinue | Remove-Item -Force -ErrorAction SilentlyContinue
        Write-Host "Borrando accesos directos junto al script..."
        $shortcuts = @(
            "Anaconda-Python.lnk",
            "Anaconda-Condaprompt.lnk",
            "Anaconda-Condaprompt-PowerShell.lnk",
            "Anaconda-Navigator.lnk",
            "Jupyter-Notebook.lnk",
            "Spyder.lnk",
            "QtConsole.lnk"
        )
        foreach ($lnk in $shortcuts) {
            $lnkPath = Join-Path $PSScriptRoot $lnk
            if (Test-Path $lnkPath) {
                Remove-Item $lnkPath -Force -ErrorAction SilentlyContinue
                Write-Host "Eliminado acceso directo: $lnk"
            }
        }
        # Borrado del acceso directo en escritorio
        $desktopShortcut = Join-Path "$env:USERPROFILE\Desktop" "Anaconda-Navigator.lnk"
        if (Test-Path $desktopShortcut) {
            Remove-Item $desktopShortcut -Force -ErrorAction SilentlyContinue
            Write-Host "Eliminado acceso directo del escritorio: $desktopShortcut"
        }
        Write-Host "Desinstalación completada."
    } else {
        Write-Host "Desinstalación cancelada."
    }
}

# Ejecutar acción
switch ($Accion) {
    "Actualizar" {
        $installerUrl = Get-LatestAnacondaUrl
        if (-not $installerUrl) {
            Write-Error "No se pudo obtener la URL del instalador."
            break
        }
        $latestInstallerName = [System.IO.Path]::GetFileName($installerUrl)
        $latestInstallerPath = Join-Path $PSScriptRoot $latestInstallerName

        $localInstaller = Get-ChildItem -Path $PSScriptRoot -Filter "Anaconda*.exe" | Where-Object { $_.Name -eq $latestInstallerName }
        if (-not $localInstaller) {
            # Nueva versión disponible
            Download-Installer -Url $installerUrl -Destination $latestInstallerPath
            if (Test-Path $InstallDir) {
                Uninstall-Anaconda -TargetDir $InstallDir
            }
            Install-Anaconda -InstallerPath $latestInstallerPath -TargetDir $InstallDir -ScriptDir $PSScriptRoot
        }
        else {
            # No hay nueva versión
            if (Test-Path $InstallDir) {
                Write-Host "Ya tienes la última versión instalada. No se requiere actualización."
            } else {
                Write-Host "No hay nueva versión, pero no está instalado. Procediendo a instalar..."
                Install-Anaconda -InstallerPath $latestInstallerPath -TargetDir $InstallDir -ScriptDir $PSScriptRoot
            }
        }
    }

    "Reinstalar" {
        $installerFile = Get-ChildItem -Path $PSScriptRoot -Filter "Anaconda*.exe" | Sort-Object LastWriteTime -Descending | Select-Object -First 1
        if (-not $installerFile) {
            Write-Error "No se encontró instalador local en la carpeta."
            break
        }
        if (Test-Path $InstallDir) {
            Uninstall-Anaconda -TargetDir $InstallDir
        }
        Install-Anaconda -InstallerPath $installerFile.FullName -TargetDir $InstallDir -ScriptDir $PSScriptRoot
    }
    
    "RegenerarEnlaces" {
        if (-not (Test-Path $InstallDir)) {
            Write-Error "No existe la carpeta de instalación: $InstallDir"
            break
        }
        Write-Host "Regenerando accesos directos..."
        Create-Shortcuts -TargetDir $InstallDir
        Write-Host "Accesos directos regenerados."
    }
    
    "Desinstalar" {
        Uninstall-Anaconda -TargetDir $InstallDir
    }

    default {
        Write-Error "Acción no reconocida: $Accion"
    }
}
Reasons:
  • Blacklisted phrase (1): ¿
  • Blacklisted phrase (1): está
  • RegEx Blacklisted phrase (2): encontrar
  • RegEx Blacklisted phrase (2): encontr
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: fenix32

79652257

Date: 2025-06-04 07:03:31
Score: 3.5
Natty:
Report link

Here is how it looks in the updated UI:
Make sure you have it set to "Enterprise" not "Enterprise Plus" as well
enter image description here

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

79652255

Date: 2025-06-04 07:00:30
Score: 2.5
Natty:
Report link

The problem is your incorrect format.
Try SSS instead of sss for milliseconds.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Muhammadqodir Muhsinov

79652252

Date: 2025-06-04 06:59:30
Score: 3
Natty:
Report link

I was facing weird behaviour which was intermittent and when I turned off the animation and it did wonders for me.

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

79652251

Date: 2025-06-04 06:59:30
Score: 2
Natty:
Report link

The body function will be run in each goroutine. It should set up any goroutine-local state and then iterate until pb.Next returns false. It should not use the B.StartTimer, B.StopTimer, or B.ResetTimer functions, because they have global effect. It should also not call B.Run.

https://pkg.go.dev/testing#B.RunParallel

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

79652239

Date: 2025-06-04 06:51:27
Score: 1.5
Natty:
Report link

It looks like the application fails to create the users-table because it already exists as Andrew already pointed out.

You could try to add this line in your application.properties to make sure Hibernate knows how to initialize your SQL schemas.

spring.jpa.hibernate.ddl-auto=update

'Update' makes sure the table will be created if it doesn't exist and updates the table when you change your @Entity class.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Entity
  • Low reputation (1):
Posted by: Hans van den pol

79652236

Date: 2025-06-04 06:50:26
Score: 3
Natty:
Report link

Re-building a development client after installing react-native-maps fixed it for me.

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

79652234

Date: 2025-06-04 06:48:26
Score: 1.5
Natty:
Report link

Create Emulator in vs code.

Step 1- Tap on this devices section (bottom right section of vs code).

Step 2- Tap Here (top center section).

Step 3- If this error pops expand error (bottom right section).

Step 4- Copy command of suitable system image from here.

Step 5- Run the copied command in terminal or cmd. (Make sure sdkmanager path is set in environment variables for windows). It will take some time depending on internet speed.

Step 6- Try step 1

Step 7- Try step 2 this time no error should pop up.

Step 8- It will start creating emulator.

Step 9- New Emulator will appear in list of devices in VS Code. Just Tap to start.

Step 10- If still fails to launch. check virtualization status from Task Manager > Performance > CPU. Virtualization must be enabled unlike this.

Step 11- If virtualization is disabled (1)shut down pc, (2) go to BIOS setup of your pc, (3) enable virtualization, (4) save and start pc. Emulator will run this time.

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: HiddenFlame

79652231

Date: 2025-06-04 06:47:25
Score: 1.5
Natty:
Report link

Bit late but for those who are using the latest Spring boot 3.x with Liquibase 4.28.0 with Postgres, the same problem is happening & adding a logicalFilePath in the changeSet also doesn't help. We had to upgrade Liquibase to the latest greatest version 4.32.0 to resolve this issue.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Venkat

79652219

Date: 2025-06-04 06:38:22
Score: 1.5
Natty:
Report link

Had a problem where invalidating cache, deleting folders etc. wouldn't help at all - the UI completely froze after a while hanging on indexing/scanning. What surprisingly resolved the issue was renaming all the project folders that IntelliJ tried to open and scan at once - after that the program got a fresh start and I was able to open and index the project one by one.

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

79652210

Date: 2025-06-04 06:28:19
Score: 2
Natty:
Report link

Simple action can do for enable log document add code in wp-config.php located on wordpress home directory.

define( 'WP_DEBUG', true );

define('WP_DEBUG_LOG', true);

If you want shows error on screen then,

define('WP_DEBUG_DISPLAY', true);

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

79652208

Date: 2025-06-04 06:21:17
Score: 5.5
Natty: 4.5
Report link

Did the answer above work? I'm trying to do the same thing.

Reasons:
  • Blacklisted phrase (1): trying to do the same
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did the answer
  • Low reputation (1):
Posted by: Şeyma Günönü

79652207

Date: 2025-06-04 06:18:16
Score: 0.5
Natty:
Report link

The issue is due to that your python version doesnot support TensorFlow 2.5 .

TensorFlow 2.5 requires python versions 3.9, 3.10, 3.11, 3.12. Please ensure that TensorFlow 2.5 is compatible with your python version.

You can check your Python version using:

python --version 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sagar

79652201

Date: 2025-06-04 06:16:16
Score: 1.5
Natty:
Report link

I have a recently came across the same issue regarding the API rate limits, you can contact the Customer success manager responsible for your account on Ariba and request for the increase in the rate limits.
I have got the limits increased from 270/day to 4800/day for document management api.

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

79652199

Date: 2025-06-04 06:13:15
Score: 2
Natty:
Report link

Several points:

  1. Install the doc itself:

    $ mkdir raku/ && cd raku/

    $ git clone [email protected]:Raku/doc.git

  2. The name of the document should match the document names under the raku/doc directory in step 1.

  3. Some examples:

    $ alias 6d='RAKUDOC=raku/doc PAGER=less rakudoc -D'

    $ 6d Type/Map

    $ 6d .push

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

79652197

Date: 2025-06-04 06:12:14
Score: 1.5
Natty:
Report link

You need to either disable SELinux alltogether (in the /etc/selinux/config file change "SELINUX=enforcing" into "SELINUX=permissive" and reboot) or disable it specifically for HTTP (the semanage permissive -a httpd_t command).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 9xtb7boz

79652196

Date: 2025-06-04 06:11:14
Score: 2.5
Natty:
Report link

import expressMiddleware from this

const { expressMiddleware } = require("@as-integrations/express5");

or

import {expressMiddleware } from " @as-integrations/express5 "

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 23bce033 Ayush Saini

79652191

Date: 2025-06-04 06:10:14
Score: 0.5
Natty:
Report link
<script>
$('#input_text_date').persianDatepicker({
  calendar:{
    persian: {
      leapYearMode: 'astronomical'
    }
  }
});
</script>

The issue occurs because 1403 is a leap year in the Persian calendar. To fix this, you need to explicitly set leapYearMode: 'astronomical' in your configuration. The default setting (leapYearMode: 'algorithmic') uses a mathematical approximation that causes this one-day discrepancy for Persian leap years.

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

79652184

Date: 2025-06-04 06:01:11
Score: 1
Natty:
Report link

Use makeHidden:

return $collection->makeHidden(["password", "secret_key"]);
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: SyncroIT

79652179

Date: 2025-06-04 05:58:10
Score: 2.5
Natty:
Report link

My approach was incorrect from the start. It had to be done with templates, dependency injection and unique pointers for ownership (in my use case)

the things i found useful were comments and cpp conf about DI

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

79652173

Date: 2025-06-04 05:53:09
Score: 2.5
Natty:
Report link

I feel there's only one way to reduce your size of AAR, reduce the size of resources and assets you used in your library

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

79652168

Date: 2025-06-04 05:48:08
Score: 1
Natty:
Report link

I was looking for Enum to Name/Value, thanks to @Paul Rivera the `char.IsLetter((char)i)` helped me to get my result, here is my code, maybe somebody needs it:

    System.Collections.IEnumerable EnumToNameValue<T>() where T : struct, Enum
    {
        var values = Enum.GetValues<T>().Select(x => (Name: x.ToString(), Value: (int)(object)x));
        var isChar = values.All(x => char.IsLetter((char)x.Value));
        return values.Select(x => new { x.Name, Value = isChar ? (char)x.Value : (object)x.Value }).ToList();
    }
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @the
  • Low reputation (0.5):
Posted by: Mohammadreza Askari

79652166

Date: 2025-06-04 05:43:07
Score: 1
Natty:
Report link

In your interface you created: string | null, and the function typescript definition.

So, there is no need to create the function definition, you just need to set de type of value on the state.

As you can see on the documentation.

https://react.dev/learn/typescript

const [enabled, setEnabled] = useState<boolean>(false);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tiago Marques

79652163

Date: 2025-06-04 05:36:04
Score: 1
Natty:
Report link

Decide whether to run the command line or the GUI based on the input parameters

Before run commandline,i call this function

#ifdef _WIN32
#    include <windows.h>
#    include <fcntl.h>
#    include <io.h>
#endif

void attachConsole()
{
#ifdef _WIN32
    if (AttachConsole(ATTACH_PARENT_PROCESS))
    {
        FILE* fDummy;
        freopen_s(&fDummy, "CONOUT$", "w", stdout);
        freopen_s(&fDummy, "CONOUT$", "w", stderr);
        freopen_s(&fDummy, "CONIN$", "r", stdin);
        std::ios::sync_with_stdio();
    }
#endif
}

But console output is flowing:

enter image description here

exit immediately after the program executes the command-line logic without any extra blank lines or repetitive output. but it go wrong!

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ives-wpz

79652159

Date: 2025-06-04 05:34:04
Score: 2.5
Natty:
Report link

not in packer directly, but a friend made canga.io, which adds layers to vm image generation. this would get you where you want, I think.

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

79652158

Date: 2025-06-04 05:33:03
Score: 1
Natty:
Report link

I faced this issue too. To support both PostgreSQL and SQL Server, I switched from JsonBinaryType to JsonType and removed the PostgreSQL-specific columnDefinition = "jsonb"

By using jsonType and omitting database-specific definitions, the same entity worked seamlessly across both databases.

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

79652150

Date: 2025-06-04 05:17:59
Score: 2.5
Natty:
Report link

The reason it is happening is you have limited space for your text field. You can put your text field into a sized box and set height to the sized box to make sure it has sufficient space for the text field and error text.

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

79652145

Date: 2025-06-04 05:06:57
Score: 1.5
Natty:
Report link

I just had this same issue. To resolve you needed to install mongodb v5.9.1

For npm

npm install [email protected]

For yarn

yarn install [email protected]

This instantly fixed the issue

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wasim Akram Mallick

79652142

Date: 2025-06-04 04:59:55
Score: 3
Natty:
Report link

As an HTML developer who tests my websites often, I can say that this post has a lack of information to help us guide you to the answer; although that is not entirely your fault-- If you are wanting to run static (HTML5, CSS3, & ES6 Javascript) files from Visual Studio Code; then I would recommend downloading the Live Server Extention from the extensions tab of your IDE; & then all that you have to do is click on the "Go Live" button in the bottom right corner of you screen, & it should work just as intended with live-reloading there for you; & just as a side-note, please try to avoid using Microsoft Edge for development, it is a great browser for every-day life, but for development, Firefox is recommended for de-bugging due to its' powerful de-bugging tools, & I have found that it is much more consistent than Microsoft Edge for almost anything.

Reasons:
  • RegEx Blacklisted phrase (1): help us
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Heath Poulsen

79652138

Date: 2025-06-04 04:50:53
Score: 3
Natty:
Report link

Finally found the solution, thank you guys:

  1. Opened "intl.cpl" -> Some special language settings, i haver never seen

  2. There was the setting "Use windows displaylanguage"

  3. I changed the setting to "German" -> Problem solved!

I still don't get it 100%, maybe somebody can explain it.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: xileb0

79652133

Date: 2025-06-04 04:47:52
Score: 4
Natty: 4
Report link

You need to add "exports files;" in your module-info.java file then issue will be fixed.

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

79652132

Date: 2025-06-04 04:47:52
Score: 1.5
Natty:
Report link

Try to review formula because my case is Old formula didn't work.

Old :

If(**DataCardValue42.Text=Blank()**,false,true)

New :

If(IsBlank(DataCardValue42.Text),false,true)

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: อนุวัตร ทองชัย

79652123

Date: 2025-06-04 04:29:47
Score: 2.5
Natty:
Report link

As @pskink pointed out in the comment, when an event is completely handled, no emits are allowed, so if you want to still emit a new state you will have to create another event that emits the state that you want and trigger it where you currently emitting the new state, then the issue will go away!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @pskink
  • Single line (0.5):
Posted by: Basel Abuhadrous

79652121

Date: 2025-06-04 04:26:47
Score: 1.5
Natty:
Report link

After a lot of experimentation I was able to do this with ADF pipeline but don't recommend this since it is easy to miss fields in this approach and it works only if the schema is fixed. It basically works by bringing the nested field to the root, updating it and then joining it with the rest of the data.

Step 1: Create two branches for the input data

Branch 1:

  1. Select: Select properties.execution AS execution, OrderID

  2. Select: Select all properties in execution: Select execution.item AS item, OrderID

  3. Derived column: items = Array(item)

  4. Construct execution object - Derived column with subcolumns item, items

  5. Select execution, OrderID

Branch 2:

  1. Select all properties except properties.execution

Join: Branch1, Branch2 on OrderID

Dervied column: construct properties with subcolumns execution, and other fields within properties

Select: finally select only the required fields and output

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

79652119

Date: 2025-06-04 04:25:46
Score: 3
Natty:
Report link

My fault. I've rename the rootpath to invocation_path. Solved.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Irina

79652113

Date: 2025-06-04 04:10:42
Score: 2.5
Natty:
Report link

After running the code in Visual Studio Code, & even asking Github Co-Pilot to confirm; I have concluded that your Lua program is working just as intended, I have went through the following choices in an attempt to trigger the bug, but it has worked perfectly for me, I believe that this might be an issue with your Text Editor / IDE of your choice, but great job for a first time project, & continue doing what you are doing, for any further questions; just reply to this comment.

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

79652108

Date: 2025-06-04 03:59:39
Score: 0.5
Natty:
Report link

from moviepy.editor import VideoFileClip, TextClip, CompositeVideoClip, vfx, concatenate_videoclips, AudioFileClip

import os

# Load the original Fortnite clip

input_path = "/mnt/data/20250603_AltruisticPolishedBarracudaRaccAttack-k-SNrG5_2MfSJIMG_source.mp4"

clip = VideoFileClip(input_path)

# Shorten to the first 50 seconds max for Shorts

short_clip = clip.subclip(0, min(clip.duration, 50)).resize(height=1080) # Resize for vertical output

# Determine width after resizing to vertical

aspect_ratio = short_clip.w / short_clip.h

width = int(1080 * aspect_ratio)

# Create epic intro text

intro_text = TextClip("¡CLUTCH AÉREO EN FORTNITE! 🔥", fontsize=70, color='white', font="Arial-Bold", stroke_color='black', stroke_width=3)

intro_text = intro_text.set_position('center').set_duration(3).fadein(0.5).fadeout(0.5)

# Position intro text overlay on top of video

intro_overlay = CompositeVideoClip([short_clip.set_start(3), intro_text.set_start(0).set_position(('center', 'top'))], size=(width, 1080))

# Export path

output_path = "/mnt/data/fortnite_epic_clutch_edit.mp4"

intro_overlay.write_videofile(output_path, codec="libx264", audio_codec="aac", fps=30)

output_path

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Roger De Gracia

79652103

Date: 2025-06-04 03:52:37
Score: 0.5
Natty:
Report link

Hi I'm Trying to connect my postgress on Azure but after deploying i am getting this error
eventhough i have already installed the requirements over there

# Database clients

psycopg2-binary==2.9.10
asyncpg==0.30.0
requests
SQLAlchemy==2.0.41
pydantic==1.10.13

Exception while executing function: Functions.DbHealthCheck Result: Failure
Exception: ModuleNotFoundError: No module named 'asyncpg.protocol.protocol'
Stack:   File "/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py", line 674, in _handle__invocation_request
    await self._run_async_func(fi_context, fi.func, args)
  File "/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py", line 1012, in _run_async_func
    return await ExtensionManager.get_async_invocation_wrapper(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/extension.py", line 143, in get_async_invocation_wrapper
    result = await function(**args)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/site/wwwroot/function_app.py", line 115, in db_health
    engine = get_async_engine()
             ^^^^^^^^^^^^^^^^^^
  File "/home/site/wwwroot/function_app.py", line 94, in get_async_engine
    return create_async_engine(connection_string, echo=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/site/wwwroot/.python_packages/lib/site-packages/sqlalchemy/ext/asyncio/engine.py", line 120, in create_async_engine
    sync_engine = _create_engine(url, **kw)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 2, in create_engine
  File "/home/site/wwwroot/.python_packages/lib/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned
    return fn(*args, **kwargs)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^
  File "/home/site/wwwroot/.python_packages/lib/site-packages/sqlalchemy/engine/create.py", line 602, in create_engine
    dbapi = dbapi_meth(**dbapi_args)
            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/site/wwwroot/.python_packages/lib/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 1100, in import_dbapi
    return AsyncAdapt_asyncpg_dbapi(__import__("asyncpg"))
                                    ^^^^^^^^^^^^^^^^^^^^^
  File "/home/site/wwwroot/.python_packages/lib/site-packages/asyncpg/__init__.py", line 9, in <module>
    from .connection import connect, Connection  # NOQA
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/site/wwwroot/.python_packages/lib/site-packages/asyncpg/connection.py", line 25, in <module>
    from . import connect_utils
  File "/home/site/wwwroot/.python_packages/lib/site-packages/asyncpg/connect_utils.py", line 30, in <module>
    from . import protocol
  File "/home/site/wwwroot/.python_packages/lib/site-packages/asyncpg/protocol/__init__.py", line 11, in <module>
    from .protocol import Protocol, Record, NO_TIMEOUT, BUILTIN_TYPE_NAME_MAP
 
Reasons:
  • RegEx Blacklisted phrase (1): i am getting this error
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kishore Kumar

79652100

Date: 2025-06-04 03:35:33
Score: 2.5
Natty:
Report link

For my case, my code can run on vs code only after I have run the code from Xcode (have to run at least once from Xcode before running from vs code). As a reminder, you have to run flutter run --release if you want to use it even after you quit the flutter run.

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

79652098

Date: 2025-06-04 03:32:32
Score: 2
Natty:
Report link
  1. Open google chrome (by clicking on top left most icon which takes you to recent apps and go home from there to open chrome or any browser by any means.)
  2. Just use any file to link service online, I used file.io (maybe you can login your G account and upload to your drive also)
  3. Upload your file there and get the link to download, file.io has qr system which makes it easy, just scan and download.
Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Abhi

79652094

Date: 2025-06-04 03:25:30
Score: 3.5
Natty:
Report link

Tenfour04's answer doesn't work. It says "Cannot resolve method 'toBigDecimal'"

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

79652086

Date: 2025-06-04 02:56:23
Score: 3
Natty:
Report link

Yes sure you can do that but you need both hardware and software knowledge for the delivery rider location access for real time.

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

79652082

Date: 2025-06-04 02:49:22
Score: 0.5
Natty:
Report link

The proposed setup in my question works perfectly. I realized I hadn't restarted the Caddy container for a while. When I checked the Caddyfile, it actually contained some lines from a previous attempt at getting fonts working:

@fonts { 
path .woff *.woff2 *.ttf *.eot *.svg path_regexp \.(woff|woff2|ttf|eot|svg)$ 
}

handle @fonts { 
header Cache-Control "public, max-age=31536000" 
header Access-Control-Allow-Origin "" 
file_server 
} 

Removing this and restarting the Caddy container with the Caddyfile I provided in the question worked.

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

79652075

Date: 2025-06-04 02:36:19
Score: 2
Natty:
Report link

It should be --base-href /myapp/ not —-base-href=/myapp/

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

79652074

Date: 2025-06-04 02:35:18
Score: 1
Natty:
Report link

Just for completeness, I add the trivial case. The error maybe what the message says in its simplest form. A class YourClass is declared twice with a statement class YourClass { ... }, because you included the file YourClass.php twice.

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

79652069

Date: 2025-06-04 02:33:18
Score: 0.5
Natty:
Report link

What you want is not really the same as the datetime standards as the comments above. However your code works. So I see you have defined a ModelBinder for the DateOnly type. If you want to format input with output you should change this step from:

 if (DateOnly.TryParse(value, out var date))
        {
            bindingContext.Result = ModelBindingResult.Success(date);
        }

to

 var value = valueProviderResult.FirstValue;
 string format = "dd.MM.yyyy";
 CultureInfo culture = CultureInfo.InvariantCulture;
 
 if (DateOnly.TryParseExact(value, format, culture, DateTimeStyles.None, out var date))
 {
     bindingContext.Result = ModelBindingResult.Success(date);
 }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: công

79652066

Date: 2025-06-04 02:31:17
Score: 3
Natty:
Report link

in VSCode, you can use the Microsoft serial monitor extention to see the serial output of the ESP32

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: RaphouLeFou

79652060

Date: 2025-06-04 02:16:14
Score: 1.5
Natty:
Report link

When you see the label “Internal” under your build in App Store Connect, it indicates that the build was submitted using the “TestFlight (Internal Only)” option in Xcode.

To make the build available for External Testing, you must select “App Store Connect” as the distribution option during the upload process in Xcode—not “TestFlight”. This ensures the build is eligible for submission to Apple for external TestFlight review.

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Akhzar Nazir

79652053

Date: 2025-06-04 01:52:07
Score: 9 🚩
Natty: 5.5
Report link

I have the same issue, what is the proper way of connecting an existing database ?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sushant Karki

79652052

Date: 2025-06-04 01:52:07
Score: 5
Natty: 7
Report link

Thanks bro this quickly help me in the error i was facing how i can use it

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TeDDy

79652047

Date: 2025-06-04 01:37:04
Score: 4.5
Natty:
Report link

Seems to be a known Chromium bug and should be fixed in version 137 https://issues.chromium.org/issues/415729792

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

79652038

Date: 2025-06-04 01:19:00
Score: 1
Natty:
Report link

Turns out this has nothing to do with AWS, NextJS or any of the code, it's a MS Word Trust Center setting. I found two possible solutions (depending on your security appetite):

Option 1 - Find the downloaded file in your file explorer, right-click --> Properties, and check the 'Unblock' box at the bottom. This needs to be done on a file-by-file basis.

Option 2 - Open Word and go to File --> Options --> Trust Center --> Trust Center Settings --> Protected View and unselect the 'Enable Protected View for files originating from the Internet' check box. Then restart Word and thereafter, all files will open correctly.

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

79652026

Date: 2025-06-04 00:42:52
Score: 2
Natty:
Report link

I believe that in order to do that you have to join Apple's developer program. It's $100 yearly.

https://developer.apple.com

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

79652025

Date: 2025-06-04 00:38:51
Score: 1
Natty:
Report link

I posted this also on the marshmallow github page, and was able to get a good response there.

https://github.com/marshmallow-code/marshmallow/issues/2829

from marshmallow import Schema, fields, validate

class RequestNumber(fields.String):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, metadata={'description': 'Request Number', 'example':'REQUEST12345'}, validate=validate.Regexp(regex=r"^REQUEST\d{3,9}$", error="Input string didn't match required format - REQUEST12345")), **kwargs)


class Api1():

    class Input1(Schema):
        request_number = RequestNumber()
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Stephan

79652024

Date: 2025-06-04 00:35:50
Score: 1.5
Natty:
Report link

For anyone else on this page looking for the answer, I found the answer as recommended by RickN in the comments :)

Replace: const keyBytes = Buffer.from(key, "base64");

With: const keyBytes = Buffer.from(key.trim(), "base64url");

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dominic Andrews

79652022

Date: 2025-06-04 00:34:50
Score: 0.5
Natty:
Report link

As Ike mentioned in a comment, you don't need to delete the whole column. You can copy the data into a temporary extra column (probably copy - then paste values). Then in the column with the incorrect column formula, you highlight the whole column (minus the table header), and choose "clear contents" (which is the crucial step - not just the delete key). This will remove the computed formula from the column (which you can test by adding an extra row). Then you can copy and paste the data back into your now cleaned column. All external formulas and other column references, will carry on working for that column without needing to recreate those references.

I know this is old thread, but I was looking for this answer, and with the help of Ike's comment, I managed to keep everything working, which was awesome for my complex spreadsheet. Wanted to add this comment for anyone following with the same issue.

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

79652017

Date: 2025-06-04 00:21:46
Score: 4
Natty: 5
Report link

Thanks, best answer that I have seem today.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: andrey salas morales

79652013

Date: 2025-06-04 00:11:43
Score: 3.5
Natty:
Report link

Turns out, it's because of new version of flask-session is not compatible with the old version of airflow. I limited my flask-session < 0.6 and it works just fine!

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

79652002

Date: 2025-06-03 23:49:37
Score: 6.5
Natty: 7
Report link

Can I achieve that using maxscript?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can I
  • Low reputation (1):
Posted by: Ehab Kandil

79652000

Date: 2025-06-03 23:48:37
Score: 2
Natty:
Report link

The easiest way to do this is through this VSCode extension: https://marketplace.visualstudio.com/items?itemName=noknownerrors.copy-visible-text (copy-visible-text). It does exactly what it says. Just install it, then select what you need and press Ctrl+Shift+C – and voilà!

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

79651994

Date: 2025-06-03 23:37:34
Score: 3
Natty:
Report link

I checked 8b5bad8c0b214a1c9eec2bd86aa274c4. The callback failed with BadRequest.

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

79651992

Date: 2025-06-03 23:35:33
Score: 0.5
Natty:
Report link

You allude to this in your comment, so I'll add an example of how I've addressed this by manipulating linewidth rather than alpha to get a similar visualization of distribution that still has sharp lines.

Here's a replication of your current approach:

import matplotlib.pyplot as plt
import numpy as np
num_lines = 1000
np.random.seed(42)
xs = np.linspace(0, 10, 100).reshape(1,-1)
ys = xs*np.random.normal(1,1,(num_lines,1)) + np.random.normal(0, 1, (num_lines,100))
for y in ys:
    l = plt.plot(xs.flatten(), y, 'k', alpha=0.01)
    l[0].set_rasterized(False)
plt.savefig('ex.svg')
plt.show()

enter image description here

Here's an alternative -- I also try to explicitly tell matplotlib not to rasterize via ax.set_rasterization_zorder(None) (I believe this is the same as your l[0].set_rasterized(False) call).

The difference is that I switch to manipulating linewidth rather than alpha. I think the effect is fairly similar.

fig, ax = plt.subplots()
ax.set_rasterization_zorder(None)

num_lines = 1000
np.random.seed(42)
xs = np.linspace(0, 10, 100).reshape(1, -1)
ys = xs * np.random.normal(1, 1, (num_lines, 1)) + np.random.normal(0, 1, (num_lines, 100))
for y in ys:
    ax.plot(xs.flatten(), y, color='black', linewidth=0.01)
fig.savefig('ex_width.svg', format='svg')

enter image description here

When you zoom way in, you can see that the alpha approach (left) is fuzzier than the linewidth approach (right):

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Peter

79651988

Date: 2025-06-03 23:30:32
Score: 5
Natty:
Report link

Turns out this was indeed a bug. Fixed by this pr https://github.com/odin-lang/Odin/pull/5267.

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: Caleb Manning

79651985

Date: 2025-06-03 23:26:31
Score: 0.5
Natty:
Report link

I know this questions is already answered. But it is missing some main points those are my findings i am adding those points. The source of this answer is here.

1- Azure AD External Identities was previous name of Azure AD B2C.

Azure B2c is a business to consumer identity management system.

2- Microsoft Entra External ID

Microsoft Entra External ID is a combination of Azure Ad B2C and Ad B2B (Now Entra Id).
When you create tenant of Microsoft Entra External ID you system create two type of tenants.

  1. Workforce (B2B)

  2. External (B2C)

WorkForce tenant is used for Ad B2B (Entra Id) Operation.

External Tenant is used for Azure B2c Operations.

To Learn more about Microsoft Entra External ID check here

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Muhammad Zeeshan

79651971

Date: 2025-06-03 23:07:26
Score: 2
Natty:
Report link

I've managed to create a Bash script which poll the Local Dynamo Stream using AWS CLI and invokes the local Lambda with an event.

You can integrate it as part of the docker compose stack - I suggest using an amazon/aws-cli image.

https://gist.github.com/aldotroiano/69f3aaf900cec845c954329a55620f10

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

79651967

Date: 2025-06-03 23:00:24
Score: 1
Natty:
Report link

This works for me, hope it helps.

DateTime currentTime = DateTime.Now;

if (currentTime.Hour >= 5 && currentTime.Hour < 12)
{
    ltWellcome.Text = "Good morning " + strUserName + "!  Welcome to the system";
}
else if (currentTime.Hour >= 12 && currentTime.Hour <= 17)
{
   ltWellcome.Text = "Good afternoon " + strUserName + "!  Welcome to the system";
}
else if (currentTime.Hour >= 18 && currentTime.Hour <= 23)
{
   ltWellcome.Text = "Good evening " + strUserName + "!  Welcome to the system";
}
else
{
   ltWellcome.Text = "Good night " + strUserName + "!  Welcome to the system";
}
Reasons:
  • Blacklisted phrase (1): Good afternoon
  • Blacklisted phrase (1): Good morning
  • Blacklisted phrase (1): Good evening
  • Whitelisted phrase (-1): hope it helps
  • Whitelisted phrase (-1): works for me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: FAdao

79651960

Date: 2025-06-03 22:43:20
Score: 2
Natty:
Report link

try using interaction instead of inter

interaction: discord.Interaction
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: yeetboi

79651943

Date: 2025-06-03 22:20:13
Score: 2
Natty:
Report link

if i understood, what you want is to remove all the text.style.transform = ... from your code

https://codepen.io/codexico/pen/WbvGYqe

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

79651939

Date: 2025-06-03 22:13:12
Score: 0.5
Natty:
Report link

https://www.google.com/recaptcha/enterprise.js?render=6Ldi2VQrAAAAAH8zdoFKnPpy8vio2xkP8-8soIHh /* VUI LÒNG KHÔNG SAO CHÉP VÀ DÁN MÃ NÀY. */(function(){var w=window,C='___grecaptcha_cfg',cfg=w[C]=w[C]||{},N='grecaptcha';var E='enterprise',a=w[N]=w[N]||{},gr=a[E]=a[E]||{};gr.ready=gr.ready||function(f){(cfg['fns']=cfg['fns']||[]).push(f);};w['__recaptcha_api']='https://www.google.com/recaptcha/enterprise/';(cfg['enterprise']=cfg['enterprise']||[]).push(true);(cfg['enterprise2fa']=cfg['enterprise2fa']||[ ]).push(true);(cfg['render']=cfg['render']||[]).push('6Ldi2VQrAAAAAH8zdoFKnPpy8vio2xkP8-8soIHh');(cfg['clr']=cfg['clr']||[]).push('true');(cfg['anchor-ms']=cfg['anchor-ms']||[]).push(20000);(cfg['execute-ms']=cfg['execute-ms']||[]).push(15000);w['__google_recaptcha_client']=true;var d=document,po=d.createElement('script');po.type='text/javascript';po.async=true; po.charset='utf-8';var v=w.navigator,m=d.createElement('meta');m.httpEquiv='origin-trial';m.content='A7vZI3v+Gz7JfuRolKNM4Aff6zaGuT7X0mf3wtoZTnKv6497cVMnhy03KDqX7kBz/q/iidW7srW31oQbBt4VhgoAAACUeyJvcmlnaW4iOiJodHRwczov L3d3dy5nb29nbGUuY29tOjQ0MyIsImZlYXR1cmUiOiJEaXNhYmxlVGhpcmRQYXJ0eVN0b3JhZ2VQYXJ0aXRpb25pbmczIiwiZ XhwaXJ5IjoxNzU3OTgwODAwLCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ==';if(v&&v.cookieDep recationLabel){v.cookieDeprecationLabel.getValue().then(function(l){if(l!=='treatment_1.1'&&l!=='treatment_1.2'&&l!=='control_1.1'){d.head.prepend(m);}});}else{d.head.prepend(m);}po.src='https://www.gstatic.com/recaptcha/releases/GUGrl5YkSwqiWrzO3ShIKDlu/recaptcha__vi.js';po.crossOrigin='anonymous';po.integrity='sha384-WhGk2MFzizAR8e7ATZT9M5LnOdncMyMS/CPIMJVSwhC9bW85V2rZ6d8BZCQTAmG1';var e=d.querySelector('script[nonce]'),n=e&&(e['nonce']||e.getAttribution('nonce'));if(n){po.setAttribution('nonce',n);}var s=d.getElementsByTagName('script')[0];s.parentNode.insertBefore(po, s);})();

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

79651936

Date: 2025-06-03 22:07:10
Score: 1
Natty:
Report link
    Object value = mDataSnapshot.child("Suhu").getValue();
    String suhu;
    if (value != null) {
        suhu = value.toString();
        // Use the 'suhu' variable
    } else {
        suhu = ""; // Or handle null case appropriately
        // Handle the case where the value is null
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fajar Achmad

79651924

Date: 2025-06-03 21:49:05
Score: 1.5
Natty:
Report link

A:1 The instance needs to have access to the Internet via Public IP or by using Cloud NAT so it can query the repository.

A2: Please also try installing the requested packages, such as Google Cloud SDK `google-cloud-sdk`, before the migration.

A3: Those flags are not related to your issue.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Reynaldo Aceves

79651911

Date: 2025-06-03 21:34:01
Score: 1.5
Natty:
Report link

Memory issues like this often happen when the build container doesn’t have enough RAM, even if you set-- max-old-space-size=8192. Try increasing the pipeline memory size if possible, and monitor memory usage during the build to spot where it spikes. You can also test the build locally with the same Node options to see if it fails there, which helps isolate if it’s environment-related. Clearing yarn and Docker caches or disabling heavy build plugins temporarily might help narrow down the cause. Lastly, check if your pipeline environment supports swap space, as that can prevent the build process from being killed early.

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

79651906

Date: 2025-06-03 21:28:58
Score: 4
Natty: 5
Report link

thank you mikasa you saved me from the debugging hell not even the ais helped

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ERAPS

79651900

Date: 2025-06-03 21:22:57
Score: 3
Natty:
Report link

Problem seems to be a new setting "Security: system enforce file extension mime type consistency" (Settings -> Feature Toggles)", after disabling it, it works fine.

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

79651883

Date: 2025-06-03 21:02:51
Score: 1
Natty:
Report link

The best solution for encoding in search params format is:

new URLSearchParams({ [""]: value }).toString().slice(1)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nezort11

79651878

Date: 2025-06-03 20:58:50
Score: 1
Natty:
Report link

Don't use jeprof*.heap when generating your gif. Use jeprof.PID_OF_THE_APP.*.heap

Source

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Jolleyboy

79651873

Date: 2025-06-03 20:49:47
Score: 0.5
Natty:
Report link

Make sure you're importing ThemeProvider from @mui/material, not @emotion/react. I had the same issue and this fixed it for me.

https://github.com/mui/material-ui/issues/29835

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Erin M

79651870

Date: 2025-06-03 20:45:46
Score: 1.5
Natty:
Report link
SQL Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)


Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30713297

79651857

Date: 2025-06-03 20:30:41
Score: 2
Natty:
Report link

If you’re using Android Studio you may need to update your Build Variants. On version 2024.2.1 I had to choose from sidebar Build Variants > [ Re-import with defaults] (button at bottom right of panel)

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

79651856

Date: 2025-06-03 20:27:40
Score: 0.5
Natty:
Report link

Thanks to @DavidMaze I solve it. It was just a matter of deleting the strings and posting them as actual paths and the script did why I wanted. (stop running once I closed all the apps)

Thank you also to @furas to simplifying my code it runs much faster.

Final solution:

import os 
import sys 
import subprocess 
from subprocess import Popen

def back_insert(filename):
    #inserts backslashes into paths that have spaces in them
    fstring = filename.replace(" ", "\\ ")
    
    return fstring


#Runs the Emulator, socket, Timer and Tracker
commands = [
back_insert("/usr/bin/snes9x-gtk"), 
back_insert("/usr/share/OpenTracker/OpenTracker"), 
back_insert("/usr/bin/QUsb2Snes"), 
back_insert("/home/user/LibreSplit/libresplit")
]

procs = [Popen(i) for i in commands]
for p in procs:
    p.wait()
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): solution:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @DavidMaze
  • User mentioned (0): @furas
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Believe82

79651847

Date: 2025-06-03 20:18:37
Score: 4
Natty:
Report link

Voici un **guide complet pour installer MySQL sur un serveur Red Hat (RHEL, CentOS, AlmaLinux ou Rocky Linux)** et créer **deux instances MySQL distinctes** sur le même serveur.

---

## 🛠️ Objectif

- Installer **MySQL Server**

- Créer **deux instances MySQL indépendantes**

- Chaque instance aura :

---

## 🔧 Étape 1 : Installer MySQL Server

### 1. Ajouter le dépôt MySQL officiel

```bash

sudo rpm -Uvh https://dev.mysql.com/get/mysql80-community-release-el9-7.noarch.rpm

```

\> Remplacer `el9` par votre version RHEL (`el7`, `el8`, etc.)

### 2. Installer MySQL Server

```bash

sudo dnf install mysql-server

```

---

## ⚙️ Étape 2 : Démarrer et activer l'instance par défaut

```bash

sudo systemctl enable mysqld

sudo systemctl start mysqld

```

### Récupérer le mot de passe temporaire root

```bash

sudo grep 'temporary password' /var/log/mysqld.log

```

Sécuriser l’installation :

```bash

sudo mysql_secure_installation

```

---

## 📁 Étape 3 : Préparer la deuxième instance

### 1. Créer un nouveau répertoire de données

```bash

sudo mkdir /var/lib/mysql2

sudo chown -R mysql:mysql /var/lib/mysql2

```

### 2. Initialiser la base de données pour la seconde instance

```bash

sudo mysqld --initialize --user=mysql --datadir=/var/lib/mysql2

```

\> ✅ Sauvegarder le mot de passe généré affiché dans les logs :

```bash

sudo cat /var/log/mysqld.log | grep "A temporary password"

```

---

## 📄 Étape 4 : Créer un fichier de configuration personnalisé pour la seconde instance

```bash

sudo nano /etc/my-2.cnf

```

Collez-y cette configuration :

```ini

[client]

port = 3307

socket = /var/lib/mysql2/mysql.sock

[mysqld]

port = 3307

socket = /var/lib/mysql2/mysql.sock

datadir = /var/lib/mysql2

pid-file = /var/lib/mysql2/mysqld.pid

server-id = 2

log-error = /var/log/mysqld2.log

```

Enregistrer et fermer.

### Créer le fichier log

```bash

sudo touch /var/log/mysqld2.log

sudo chown mysql:mysql /var/log/mysqld2.log

```

---

## 🔄 Étape 5 : Créer un service systemd pour la seconde instance

```bash

sudo nano /etc/systemd/system/mysqld2.service

```

Collez ce contenu :

```ini

[Unit]

Description=MySQL Second Instance

After=network.target

[Service]

User=mysql

Group=mysql

ExecStart=/usr/bin/mysqld --defaults-file=/etc/my-2.cnf --basedir=/usr --plugin-dir=/usr/lib64/mysql/plugin

ExecStop=/bin/kill -SIGTERM $MAINPID

Restart=always

PrivateTmp=false

[Install]

WantedBy=multi-user.target

```

Recharger systemd :

```bash

sudo systemctl daemon-reexec

sudo systemctl daemon-reload

```

Activer et démarrer le service :

```bash

sudo systemctl enable mysqld2

sudo systemctl start mysqld2

```

Vérifier le statut :

```bash

sudo systemctl status mysqld2

```

---

## 🔐 Étape 6 : Sécuriser la seconde instance

Connectez-vous à la seconde instance avec le mot de passe temporaire :

```bash

mysql -u root -p -h 127.0.0.1 -P 3307

```

Exécutez ces commandes SQL pour changer le mot de passe :

```sql

ALTER USER 'root'@'localhost' IDENTIFIED BY 'NouveauMotDePasse';

FLUSH PRIVILEGES;

exit

```

---

## 🧪 Étape 7 : Tester les deux instances

### Vérifier les ports utilisés :

```bash

ss -tuln | grep -E '3306|3307'

```

### Se connecter à chaque instance :

Instance 1 :

```bash

mysql -u root -p

```

Instance 2 :

```bash

mysql -u root -p -h 127.0.0.1 -P 3307

```

---

## 📌 Résumé des deux instances

| Instance | Port | Fichier Config | Données | Service Systemd | PID File | Log File |

|---------|------|--------------------|----------------|------------------|------------------------|--------------------|

| Default | 3306 | `/etc/my.cnf` | `/var/lib/mysql` | `mysqld` | `/var/run/mysqld/mysqld.pid` | `/var/log/mysqld.log` |

| Second | 3307 | `/etc/my-2.cnf` | `/var/lib/mysql2`| `mysqld2` | `/var/lib/mysql2/mysqld.pid` | `/var/log/mysqld2.log` |

---

## ✅ Vous avez terminé !

Vous avez maintenant **deux instances MySQL indépendantes** fonctionnant sur le même serveur Red Hat.

Chaque instance peut être gérée séparément via ses propres commandes :

```bash

sudo systemctl start/stop/restart mysqld

sudo systemctl start/stop/restart mysqld2

```

---

## ❓ Besoin d’un script Bash pour automatiser cette installation ?

Je peux vous fournir un **script Bash** qui fait tout cela automatiquement.

Souhaitez-vous que je vous le fournisse ?

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Filler text (0.5): ---------
  • Filler text (0): --------------------
  • Filler text (0): ----------------
  • Filler text (0): ------------------
  • Filler text (0): ------------------------
  • Filler text (0): --------------------
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: hani amri

79651842

Date: 2025-06-03 20:13:35
Score: 0.5
Natty:
Report link

Use the format_source_path() function on your builder:

env_logger::builder()
        .format_source_path(true)
        .init();

The logs will look like

[2025-06-03T20:06:14Z ERROR path/to/file.rs:84 project::module] Log message

Use the other format_ methods to further customize the look of your logs.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cosimos Cendo

79651840

Date: 2025-06-03 20:11:35
Score: 2
Natty:
Report link

After lots of testing I found out the difference was Apache (1st server) vs. LiteSpeed (2nd server). The way to find it was by: <!--#echo var="SERVER_SOFTWARE" -->

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

79651836

Date: 2025-06-03 20:08:33
Score: 6.5
Natty: 7.5
Report link

How can I get it to fit inside an object that is not spanning the whole screen width?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: Tommy Pedersen

79651835

Date: 2025-06-03 20:07:32
Score: 4.5
Natty:
Report link

The issue was that I was using END when I should have been using End.

Note for new TI-84 programers: if you include extra whitespace (other then newlines) or include a syntax error you won't be warned, your program will just poop out.

Reasons:
  • Blacklisted phrase (2): poop
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: El3ktra

79651830

Date: 2025-06-03 20:03:31
Score: 2
Natty:
Report link

props.data should work in your code snippet to get the data of the row. The cellRenderer receives props of type CustomCellRendererProps, and this is documented in the AG Grid docs.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gaurav Chatterjee

79651828

Date: 2025-06-03 20:02:30
Score: 2.5
Natty:
Report link

As of version 1.2.0, this is apparently not supported for C#/.Net:

screenshot of linked website

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

79651822

Date: 2025-06-03 19:53:27
Score: 4.5
Natty: 5.5
Report link

wptrkinhthanks yoiu very muvh men

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sdadsa

79651818

Date: 2025-06-03 19:45:25
Score: 3.5
Natty:
Report link

I obtain a total of 295,241 calls per second for the CIE ΔE2000 function in SQL. Both C99 and SQL (MariaDB and PostgreSQL) versions are available here.

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

79651817

Date: 2025-06-03 19:45:25
Score: 0.5
Natty:
Report link

Adding my 2¢ because everything else here seems overly complex to me (with Python 3.13 typing):

def recursive_subclasses[T](cls: type[T]) -> set[type[T]]:
    """
    Recursively finds all subclasses of a given class.
    """
    return set.union({cls}, *map(recursive_subclasses, cls.__subclasses__()))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Benjamin Riggs

79651815

Date: 2025-06-03 19:43:24
Score: 2.5
Natty:
Report link

Matthias this was exactly what I needed! If you run the service manager and point it to the correct version of jvm.dll you don't need to worry about if your JAVA_HOME is correct. Since I was using 6.0.0.0 I needed to use Java 8 when Java 17 was already installed and set as JAVA_HOME. I opened this up, pointed to the java 8 JDK jvm.dll and it started right up afterwards.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: David Gerard