AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / user-139698

Rod's questions

Martin Hope
Rod
Asked: 2025-04-17 03:42:53 +0800 CST

No Excel, meu hiperlink não funciona para iniciar o RDP

  • 5

Tenho uma coluna de servidores e gostaria de colocar um link adjacente que iniciará a área de trabalho remota. Há duas macros abaixo e a segunda inicia conforme o esperado. A primeira não. Ela exibe uma mensagem dizendo "Referência inválida" e tenta abrir o RDP duas vezes (ele endereça o servidor correto).

Sub StartRDP(serverName As String)
    If serverName <> "" Then
        Shell "mstsc.exe /v:" & serverName, vbNormalFocus
    End If
End Sub

Sub StartRDP2()
 
        Shell "mstsc.exe /v:Server1", vbNormalFocus

End Sub

Aqui está o conteúdo da minha célula:

=HYPERLINK("#StartRDP(" & CHAR(34) & (D4) & CHAR(34) & ")", "test")

Quando clico no link, aparece o pop-up "Referência não é válida" e então o RDP abre duas vezes.

excel
  • 1 respostas
  • 22 Views
Martin Hope
Rod
Asked: 2025-03-09 07:21:56 +0800 CST

A caixa de seleção do aplicativo Blazor Server na lista de tarefas deixa o próximo item marcado

  • 5

Tenho uma lista de tarefas que os usuários podem marcar na lista, que desaparece porque Mostrar Tarefas Concluídas não está marcado. No entanto, quando a tarefa desaparece, o próximo item de tarefa é marcado, smh, o que é um comportamento indesejado. Você vê alguma coisa no código abaixo?

@page "/task-list"
@inject IJSRuntime JS
@rendermode InteractiveServer

@using ClassLibrary1
@inject TaskRepository TaskRepo
@inject NavigationManager _navMgr

<h3 class="my-0">Task List</h3>
<div class="mt-1">Active: @ActiveTaskCount</div>
<div class="mb-2">Completed: @CompletedTaskCount</div>

<button class="btn btn-success mb-3" @onclick="AddTask"><span class="me-2 oi oi-plus"></span>Add Task</button>

<div class="form-check form-switch mb-3 float-end">
    <input class="form-check-input" type="checkbox" id="showCompletedTasksCheckbox" @bind="showCompletedTasks">
    <label class="form-check-label" for="showCompletedTasksCheckbox">Show Completed Tasks</label>
</div>

@if (tasks == null)
{
    <div class="spinner-border text-primary" role="status">
        <span class="visually-hidden">Loading...</span>
    </div>
}
else
{
    <table class="table table-striped table-hover">
        <thead class="table-dark">
            <tr>
                <th></th> <!-- Drag handle column -->
                <th>Task</th>
                <th></th>
            </tr>
        </thead>
        <tbody id="task-list">
            @foreach (var task in tasks)
            {
                if (showCompletedTasks || !task.TaskCompleted)
                {
                    <tr data-id="@task.Id">
                        <td><i class="bi bi-grip-vertical" style="cursor: grab;"></i></td> <!-- Drag handle -->
                        <td>
                            <input type="checkbox" checked="@task.TaskCompleted" @onchange="@(async (e) => await ToggleTaskCompletion(task, (bool)e.Value))" />
                            @task.TaskName
                        </td>
                        <td>
                            <div class="d-flex">
                                <button class="me-1 border-0" style="background-color: transparent;" @onclick="() => EditTask(task.Id)">
                                    <span style="color: dimgrey;" class="bi bi-pencil"></span>
                                </button>
                                <button class="btn-sm border-0" style="background-color: transparent;" @onclick="() => DeleteTask(task.Id)">
                                    <span style="color: red;" class="bi bi-x-circle-fill"></span>
                                </button>
                            </div>
                        </td>
                    </tr>
                }
            }
        </tbody>
    </table>
}

@code {
    private IEnumerable<ArcTask> tasks;
    private DotNetObjectReference<TaskList> dotNetRef;
    private bool showCompletedTasks = false;

    protected override async Task OnInitializedAsync()
    {
        tasks = await TaskRepo.GetAllAsync("TaskCompleted DESC, TaskPriority ASC");
        dotNetRef = DotNetObjectReference.Create(this);
        UpdateTaskCounts();
    }

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
        {
            await Task.Delay(100);
            await JS.InvokeVoidAsync("initializeSortable", dotNetRef);
        }
    }

    [JSInvokable]
    public async Task UpdateTaskPriorities(string[] reorderedIds)
    {
        for (int i = 0; i < reorderedIds.Length; i++)
        {
            var taskId = Guid.Parse(reorderedIds[i]);
            var task = tasks.First(t => t.Id == taskId);
            task.TaskPriority = i + 1; // Assign new priority based on position
            await TaskRepo.UpdateAsync(task);
        }
        tasks = await TaskRepo.GetAllAsync("TaskCompleted DESC, TaskPriority ASC");
        UpdateTaskCounts();
        await InvokeAsync(StateHasChanged);
    }

    private void AddTask()
    {
        _navMgr.NavigateTo($"/task-detail/{Guid.Empty}");
    }

    private void EditTask(Guid id)
    {
        _navMgr.NavigateTo($"/task-detail/{id}");
    }

    private async Task DeleteTask(Guid id)
    {
        bool confirmed = await JS.InvokeAsync<bool>("confirm", "Are you sure you want to delete this item?");
        if (confirmed)
        {
            await TaskRepo.DeleteAsync(id);
            tasks = await TaskRepo.GetAllAsync("TaskCompleted DESC, TaskPriority ASC");
            UpdateTaskCounts();
        }
    }

    private async Task ToggleTaskCompletion(ArcTask task, bool isCompleted)
    {
        task.TaskCompleted = isCompleted;
        await TaskRepo.UpdateAsync(task);
        tasks = await TaskRepo.GetAllAsync("TaskCompleted DESC, TaskPriority ASC");
    }

    private int ActiveTaskCount => tasks?.Count(t => !t.TaskCompleted) ?? 0;
    private int CompletedTaskCount => tasks?.Count(t => t.TaskCompleted) ?? 0;
    private int TotalTaskCount => tasks?.Count() ?? 0;

    private void UpdateTaskCounts()
    {
        InvokeAsync(StateHasChanged);
    }
}
c#
  • 2 respostas
  • 39 Views
Martin Hope
Rod
Asked: 2025-02-06 07:19:19 +0800 CST

Tentando extrair metadados de arquivo msi no powershell

  • 7

Dado:
PowerShell 5.1

Alguém pode me ajudar a extrair metadados de um arquivo msi?

insira a descrição da imagem aqui

Tentei o seguinte, mas nenhuma propriedade de comentários.

$filePath = "C:\Users\user1\source\repos\PRACTICE\WpfApp1\SetupProject1\bin\Debug\SetupProject1.msi"
$fileProperties = Get-ItemProperty -Path $filePath
$fileProperties | Format-List *
powershell
  • 1 respostas
  • 42 Views
Martin Hope
Rod
Asked: 2024-08-31 06:23:20 +0800 CST

Como adiciono uma coluna computada à saída do PowerShell get-service

  • 6

Gostaria de adicionar uma coluna computada à get-servicesaída com base no nome. Digamos que, para este exemplo, eu gostaria de pegar a Statuscoluna e fazer uma substring dela para mostrar os 3 primeiros caracteres em uma nova coluna de computador chamada Name 2.

Tentei o seguinte, mas não obtive o comportamento esperado:


# Get all services
$services = Get-Service -Name BITS, appinfo

# Add a computed column
$servicesWithComputedColumn = $services | Select-Object *, @{Name='ServiceType'; Expression={ if ($_.StartType -eq 'Automatic') { 'rsAuto' } else { 'rsManual' } }}

# Display the result
$servicesWithComputedColumn

insira a descrição da imagem aqui

powershell
  • 1 respostas
  • 25 Views
Martin Hope
Rod
Asked: 2024-08-22 05:48:53 +0800 CST

Existe uma maneira no Excel de ir do ponto a ao ponto b

  • 4

Eu gostaria de ir do ponto a ao ponto b conforme mostrado abaixo. Achei que fosse uma solução de transposição, mas não parece estar funcionando da maneira pensada.

Basicamente, estou tentando encontrar uma maneira de coletar/gerenciar facilmente os dados (Ponto A) e exibi-los de uma determinada maneira (Ponto B).

Tentando ter ideias de como resolver isso no Excel ou na programação?

Ponto A

insira a descrição da imagem aqui

Ponto B

insira a descrição da imagem aqui

excel
  • 3 respostas
  • 75 Views
Martin Hope
Rod
Asked: 2024-08-07 22:44:24 +0800 CST

Problema do Powershell ao tentar instalar o .Net SDK no Azure Pipelines

  • 6

Estou tentando executar um trabalho de pipeline no Azure Devops usando o PowerShell para instalar o .Net SDK em meus servidores.

Isso funciona

    # Install sdk on each server
    Invoke-Command -ComputerName $buildServers -Credential $credential {
        c:\temp\dotnet-sdk-8.0.303-win-x64.exe /install /quiet /norestart" | Out-Null
    }

Mas quando tento transformar o exe em uma variável $ sdkVersion, não recebo um erro, mas certamente não o instala.

    # Install sdk on each server
    $sdkVersion = 'dotnet-sdk-8.0.303-win-x64.exe'
    Invoke-Command -ComputerName $buildServers -Credential $credential {
        "c:\temp\$sdkVersion /install /quiet /norestart" | Out-Null
    }

PS Se houver uma maneira mais fácil de fazer isso, sugira-a aqui.

.net
  • 1 respostas
  • 20 Views
Martin Hope
Rod
Asked: 2024-06-02 04:23:18 +0800 CST

Tentando instalar o SDK .net 8 com comando invoke vs enter-pssession

  • 6

Estou tentando instalar o .Net 8 SDK remotamente. Não funcionou Invoke-Commandpara mim com o script abaixo. No entanto, Enter-PSSessionfuncionou em uma sessão interativa.

Você pode me ajudar a entender por que as diferenças?

Invocar-Comando

invoke-command -computername Server1 {
  c:\temp\dotnet-sdk-8.0.301-win-x64.exe /install /quiet /norestart
}  

Enter-PSSession

PS C:\temp> Enter-PSSession -ComputerName Server1
[Server1]: PS C:\Users\blah\Documents> c:\temp\dotnet-sdk-8.0.301-win-x64.exe /install /quiet /norestart
[Server1]: PS C:\Users\blah\Documents>
powershell
  • 1 respostas
  • 24 Views
Martin Hope
Rod
Asked: 2024-05-15 08:21:16 +0800 CST

Como posso fazer com que os erros gerados passem pela outra parte da minha condição?

  • 6

Dado: PowerShell 5.1

Estou recebendo um "Acesso negado" para alguns dos computadores da matriz. Como posso fazer com que algum erro seja executado na parte "else" da condição onde NÃO está sendo executado? No momento, está apenas exibindo uma mensagem de erro inteira e não quero que o usuário veja tudo isso.

Invoke-Command -ComputerName $computers {
    $rstest = Get-Service -Name MyService1
    
    if ($rstest.Status -eq 'Running') {
        "Service $($rstest.Name) is running"
    }
    else{
        "Service $($rstest.Name) is NOT running"
    }
} 
powershell
  • 1 respostas
  • 8 Views
Martin Hope
Rod
Asked: 2023-11-15 05:24:49 +0800 CST

Presumo que preciso fazer algo manual com Res1 (uma tabela hash do PowerShell em forma de string)

  • 5

Gostaria de obter toda a carga útil que retorna do PowerShell em uma única classe. Estou assumindo que Res1 e os outros devem ser tratados como uma string personalizada para colocá-la nas propriedades c#. Ainda é um trabalho em andamento...

Seria bom ter informações em aula como as seguintes:

MyClass{
  public string ComputerName { get; set; }
  public string CUsedSpace { get; set; }
  public string CFreeSpace { get; set; }
  public string DUsedSpace { get; set; }
  public string DFreeSpace { get; set; }
  public List<string>  FolderGroup1Names { get; set; }
  public List<string>  FolderGroup2Names { get; set; }
}

Aqui está o aplicativo de console completo:

using System.Collections.ObjectModel;
using System.Management.Automation;

namespace ConsoleApp1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            List<ComputerInfo> computers = new List<ComputerInfo>();

            using (PowerShell ps = PowerShell.Create())
            {
                ps.AddScript(@"
$computers = 
@""
Server1
""@ -split [Environment]::NewLine

$oRes1 = Invoke-Command -ComputerName $computers {

    $test = 
    @{ 
        res1 = Get-PSDrive C | Select-Object Used,Free;
        res2 = Get-PSDrive D | Select-Object Used,Free;
        res3 = hostname;
        res4 = Get-ChildItem ""c:\temp"";
        res5 = Get-ChildItem ""d:\temp""
    }

    $test
}

[PSCustomObject]$oRes1

");

                Collection<PSObject> result = ps.Invoke();
                foreach (var outputObject in result)
                {
                    computers.Add(new ComputerInfo()
                    {
                        Res1 = $"{outputObject.Properties["Res1"].Value}",
                        Res2 = $"{outputObject.Properties["Res2"].Value}",
                        Res3 = $"{outputObject.Properties["Res3"].Value}",
                        Res4 = $"{outputObject.Properties["Res4"].Value}",
                        Res5 = $"{outputObject.Properties["Res5"].Value}"
                    });
                }
            }
        }
    }

    class ComputerInfo
    {
        public string Res1 { get; set; }
        public string Res2 { get; set; }
        public string Res3 { get; set; }
        public string Res4 { get; set; }
        public string Res5 { get; set; }
    }
}

Resultados:

ConsoleApp1.ComputerInfo,"@{Used=130977062912; Free=136249364480}","@{Used=130977062912; Free=136249364480}",Server1,"2023-06-13 2023-06-20 2023-06-21 2023-06-22 2023-06-23 2023-06-24 2023-06-26 2023-06-27 2023-06-28 2023-06-29 2023-06-30 2023-07-01 2023-07-03 2023-07-04 2023-07-05 2023-07-06 2023-07-07 2023-07-08 2023-07-10 2023-07-11 2023-07-12 2023-07-13 2023-07-14 2023-07-15 2023-07-17 2023-07-18 2023-07-19 2023-07-20 2023-07-21 2023-07-22 2023-07-24 2023-07-25 2023-07-26 2023-07-27 2023-07-28 2023-07-29 2023-07-31 2023-08-01 2023-08-02 2023-08-03 2023-08-04 2023-08-05 2023-08-07 2023-08-08 2023-08-09 2023-08-10 2023-08-11 2023-08-12 2023-08-14 2023-08-15 2023-08-16 2023-08-17 2023-08-18 2023-08-19 2023-08-21 2023-08-22 2023-08-23 2023-08-24 2023-08-25 2023-08-26 2023-08-28 2023-08-29 2023-08-30 2023-08-31 2023-09-01 2023-09-02 2023-09-04 2023-09-05 2023-09-06 2023-09-07 2023-09-08 2023-09-09 2023-09-11 2023-09-12 2023-09-13 2023-09-14 2023-09-15 2023-09-16 2023-09-18 2023-09-19 2023-09-20 2023-09-21 2023-09-22 2023-09-23 2023-09-25 2023-09-26 2023-09-27 2023-09-28 2023-09-29 2023-09-30 2023-10-02 2023-10-03 2023-10-04 2023-10-05 2023-10-06 2023-10-07 2023-10-09 2023-10-10 2023-10-11 2023-10-12 2023-10-13 2023-10-14 2023-10-16 2023-10-17 2023-10-18 2023-10-19 2023-10-20 2023-10-21 2023-10-23 2023-10-24 2023-10-25 2023-10-26 2023-10-27 2023-10-28 2023-10-30 2023-10-31 2023-11-01 2023-11-02 2023-11-03 2023-11-04 2023-11-06 2023-11-07 2023-11-08 2023-11-09 2023-11-10 2023-11-11 2023-11-13","2023-10-28 2023-10-30 2023-10-31 2023-11-01 2023-11-02 2023-11-03 2023-11-04 2023-11-06 2023-11-07 2023-11-08 2023-11-09 2023-11-10 2023-11-11 2023-11-13"

Atualizada

computers[0].Res1
{@{Used=130976595968; Free=136249831424}}
    BaseObject: "@{Used=130976595968; Free=136249831424}"
    ImmediateBaseObject: "@{Used=130976595968; Free=136249831424}"
    Members: {System.Management.Automation.PSMemberInfoIntegratingCollection<System.Management.Automation.PSMemberInfo>}
    Methods: {System.Management.Automation.PSMemberInfoIntegratingCollection<System.Management.Automation.PSMethodInfo>}
    Properties: {System.Management.Automation.PSMemberInfoIntegratingCollection<System.Management.Automation.PSPropertyInfo>}
    TypeNames: Count = 2
    Dynamic View: Expanding the Dynamic View will get the dynamic members for the object

insira a descrição da imagem aqui

c#
  • 1 respostas
  • 55 Views
Martin Hope
Rod
Asked: 2023-11-15 01:13:32 +0800 CST

Como faço para pegar a saída do meu objeto Powershell e transformá-lo em objeto c #?

  • 5

Como faço para pegar a saída do meu objeto Powershell e transformá-lo em objeto c #? Estou tentando obter informações de espaço livre em unidades remotas e encontrei este tópico SO que gostaria de usar: Como obter o valor do script do PowerShell na variável C#?

Talvez se transforme no seguinte:

class MyCSharpObject
{
    public string Name { get; set; }
    public string Used { get; set; }
    public string Free { get; set; }
}

Entrada:

using System.Collections.ObjectModel;
using System.Management.Automation;

namespace ConsoleApp1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            using (PowerShell ps = PowerShell.Create())
            {
                ps.AddScript(@"
Invoke-Command -ComputerName "Server1" {Get-PSDrive C} | Select-Object PSComputerName,Used,Free
");

                Collection<PSObject> result = ps.Invoke();
                foreach (var outputObject in result)
                {
                    // outputObject contains the result of the powershell script
                }
            }
        }
    }
}

Saída:

outputObject.ToString()
"@{PSComputerName=Server1; Used=130904309760; Free=136322117632}"
c#
  • 1 respostas
  • 51 Views
Martin Hope
Rod
Asked: 2023-11-11 04:46:53 +0800 CST

por que meu arquivo wav não está sendo reproduzido em meu aplicativo de console

  • 4

Meu arquivo wav não está sendo reproduzido quando todas as minhas pesquisas mostram algo semelhante ao abaixo. O volume também está aumentado.

using System.Media;

namespace PlayingSystemSounds
{
    internal class Program
    {
        static void Main(string[] args)
        {
            SoundPlayer simpleSound = new SoundPlayer(@"C:\mypath\new.wav");
            
            simpleSound.Play();
        }
    }
}
c#
  • 1 respostas
  • 52 Views
Martin Hope
Rod
Asked: 2023-11-05 07:43:31 +0800 CST

Por que minha ação Cancelar também está entrando na minha ação Salvar?

  • 5

Quando clico em Cancelar, o fluxo entra no meu método Cancelar, mas depois disso entra na minha ação Salvar? Huh? Por que? (Apenas para sua informação: este é um componente filho de um componente pai)

<h3>EditPage</h3>
@inject AppState _appState
@inject IJSRuntime _jsRuntime

<div class="container">

    <EditForm Model="@_model" OnValidSubmit="@Save">
        <div class="row">
            <div class="col">
                <button type="submit" class="btn btn-primary">Save</button>
                <button @onclick="CancelEdit" class="ms-3 btn btn-secondary">Cancel</button>
                <button @onclick="()=>Delete(new MyClass())" class="ms-3 btn btn-danger">Delete</button>
            </div>
        </div>
    </EditForm>
</div>

@code {
    [Parameter] public EventCallback<string> OnClick { get; set; }

    MyClass? _model;

    async Task Delete(MyClass item)
    {
        if (!await _jsRuntime.InvokeAsync<bool>("confirm", $"Are you sure you want to delete item?"))
            return;

        //do delete
        _appState.IsEdit = false;
        _appState.EditingId = "";
    }

    protected override void OnInitialized()
    {
        _model = new();
    }

    void CancelEdit()
    {
        _appState.IsEdit = false;
        _appState.EditingId = "";

        OnClick.InvokeAsync("Cancel action occurred");
    }

    void Save()
    {
        //persist work Add or Update

        _appState.IsEdit = false;
        _appState.EditingId = "";

        OnClick.InvokeAsync("Save occurred");
    }
}
c#
  • 1 respostas
  • 30 Views
Martin Hope
Rod
Asked: 2023-10-27 05:51:52 +0800 CST

Como obtenho a quantidade total de cada agrupamento de widgets

  • 5

Como obtenho a quantidade total de cada agrupamento de widgets?

Resultado Esperado:
WidgetA - Soma da quantidade
WidgetB - Soma da quantidade
WidgetC - Soma da quantidade
WidgetD - Soma da quantidade

using static System.Net.Mime.MediaTypeNames;

namespace ConsoleApp1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            List<Widget> list = new();
            list.Add(new Widget() { WidgetName = "WidgetA", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetB", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetC", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetD", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetA", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetB", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetC", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetD", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetA", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetB", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetC", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetD", Quantity = 2 });
            list.Add(new Widget() { WidgetName = "WidgetA", Quantity = 2 });


            var queryResult = (from x in list
                               group x by x.WidgetName into res
                               select new Widget
                               {
                                   WidgetName = res.First().WidgetName,
                               }).ToList();
        }
    }

    class Widget
    {
        public string WidgetName { get; set; } = "";
        public int Quantity { get; set; }
    }
}
c#
  • 2 respostas
  • 20 Views

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Reformatar números, inserindo separadores em posições fixas

    • 6 respostas
  • Marko Smith

    Por que os conceitos do C++20 causam erros de restrição cíclica, enquanto o SFINAE antigo não?

    • 2 respostas
  • Marko Smith

    Problema com extensão desinstalada automaticamente do VScode (tema Material)

    • 2 respostas
  • Marko Smith

    Vue 3: Erro na criação "Identificador esperado, mas encontrado 'import'" [duplicado]

    • 1 respostas
  • Marko Smith

    Qual é o propósito de `enum class` com um tipo subjacente especificado, mas sem enumeradores?

    • 1 respostas
  • Marko Smith

    Como faço para corrigir um erro MODULE_NOT_FOUND para um módulo que não importei manualmente?

    • 6 respostas
  • Marko Smith

    `(expression, lvalue) = rvalue` é uma atribuição válida em C ou C++? Por que alguns compiladores aceitam/rejeitam isso?

    • 3 respostas
  • Marko Smith

    Um programa vazio que não faz nada em C++ precisa de um heap de 204 KB, mas não em C

    • 1 respostas
  • Marko Smith

    PowerBI atualmente quebrado com BigQuery: problema de driver Simba com atualização do Windows

    • 2 respostas
  • Marko Smith

    AdMob: MobileAds.initialize() - "java.lang.Integer não pode ser convertido em java.lang.String" para alguns dispositivos

    • 1 respostas
  • Martin Hope
    Fantastic Mr Fox Somente o tipo copiável não é aceito na implementação std::vector do MSVC 2025-04-23 06:40:49 +0800 CST
  • Martin Hope
    Howard Hinnant Encontre o próximo dia da semana usando o cronógrafo 2025-04-21 08:30:25 +0800 CST
  • Martin Hope
    Fedor O inicializador de membro do construtor pode incluir a inicialização de outro membro? 2025-04-15 01:01:44 +0800 CST
  • Martin Hope
    Petr Filipský Por que os conceitos do C++20 causam erros de restrição cíclica, enquanto o SFINAE antigo não? 2025-03-23 21:39:40 +0800 CST
  • Martin Hope
    Catskul O C++20 mudou para permitir a conversão de `type(&)[N]` de matriz de limites conhecidos para `type(&)[]` de matriz de limites desconhecidos? 2025-03-04 06:57:53 +0800 CST
  • Martin Hope
    Stefan Pochmann Como/por que {2,3,10} e {x,3,10} com x=2 são ordenados de forma diferente? 2025-01-13 23:24:07 +0800 CST
  • Martin Hope
    Chad Feller O ponto e vírgula agora é opcional em condicionais bash com [[ .. ]] na versão 5.2? 2024-10-21 05:50:33 +0800 CST
  • Martin Hope
    Wrench Por que um traço duplo (--) faz com que esta cláusula MariaDB seja avaliada como verdadeira? 2024-05-05 13:37:20 +0800 CST
  • Martin Hope
    Waket Zheng Por que `dict(id=1, **{'id': 2})` às vezes gera `KeyError: 'id'` em vez de um TypeError? 2024-05-04 14:19:19 +0800 CST
  • Martin Hope
    user924 AdMob: MobileAds.initialize() - "java.lang.Integer não pode ser convertido em java.lang.String" para alguns dispositivos 2024-03-20 03:12:31 +0800 CST

Hot tag

python javascript c++ c# java typescript sql reactjs html

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve