text:
Clarify that System.Decimal is not IEEE-754 compliant in documentation

Issue description
Neither the reference docs or the decimal docs point out that the decimal type is not a binary128 or decimal128 value despite being listed among binary32 and binary64 values.
This is evident when we look at the representation of 1.0 in different 128-bit floating point formats (in little endian.)

binary128: 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x3F
decimal128: 0x1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x22
Decimal (GetBits): 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
Decimal (Memory): 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00

Note that the last 2 bytes of decimal128 are different. Parsing the decimal128 value into System.Decimal either through GetBits or Memory casting will fail the IsValid() check (indicating it's not a Win32 DECIMAL.)
Since decimal128 and binary128 are standardized in the 2008 revision of the IEEE-754 format, this can lead to confusion when referring to decimal128 values (as System.Decimal is not an IEEE decimal float despite being a decimal floating point value.)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b24345d9-7aec-14ad-8c3c-56410267849a
Version Independent ID: f83555d8-9dac-5019-3345-bb0f03e1311d
Content: Floating-point numeric types - C# reference
Content Source: docs/csharp/language-reference/builtin-types/floating-point-numeric-types.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

ping @tannergooding for a recommendation on the best fix.

authors: BillWagner yretenai


text:
Using HTML list tags

The algorithm in "Remarks" section should probably be ordered list instead of unordered list

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5527c307-6079-70ab-211e-fa3360edf0b5
Version Independent ID: cee9ff7e-3532-5aee-537f-fe4b85a6b529
Content: DataContext.CreateDatabase Method (System.Data.Linq)
Content Source: xml/System.Data.Linq/DataContext.xml
Service: .net
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

@progalgo thanks for spotting and reporting the issue; the PR with the fix is about to be merged.

source: gharchive/issue

authors: pkulikov progalgo

repo: dotnet/docs

license_type: permissive

license_source: github-api


text:
Add installation of different templates and how this affects the CLI experience to dotnet new

dotnet new web --framework netcoreapp2.0 doesn't work out of the box.
However, if you install old templates into your new SDK by running
dotnet new --install Microsoft.DotNet.Web.ProjectTemplates.2.0 --nuget-source https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json
Then dotnet new web --framework netcoreapp2.0 works.
Need to understand how this works and document it.
/cc @KathleenDollard @dsplaisted @natemcmaster

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0b952f8a-18e1-4843-0741-6ca877fb303a
Version Independent ID: d80dfb96-bc86-a960-abec-255dd907d04d
Content: dotnet new command - .NET Core CLI
Content Source: docs/core/tools/dotnet-new.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

I feel hesitant about documenting this with instructions to use MyGet. Packages on MyGet are only meant for aspnetcore contributors, but are not official supported. We frequently change myget feeds, delete packages, and make breaking changes on MyGet.
If the PMs are okay publishing these template packages to NuGet.org and making this the official way you get old templates, then let's get those bits published and document it use nuget.org instead.
cc @DamianEdwards @KathleenDollard @danroth27

The packages for the older templates are already on nuget.org. Ex https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.2.0. @seancpeters can provide details on how this works.

@danroth27 The version of those packages is pretty stale, and it looks like they’re still owned by Sayed. Should we update them with latest (e.g. 2.0.8) templates and transfer ownership to Microsoft?

Ah, not surprisingly, @natemcmaster is right :smiley:. Looks like we don't publish our template packages.

Yes, those older template packages are available on nuget.org - specifically all of these:

Microsoft.DotNet.Common.ProjectTemplates.2.0
Microsoft.DotNet.Common.ProjectTemplates.1.x
Microsoft.DotNet.Test.ProjectTemplates.2.0
Microsoft.DotNet.Test.ProjectTemplates.1.x
Microsoft.DotNet.Web.ProjectTemplates.2.0
Microsoft.DotNet.Web.ProjectTemplates.1.x

The dotnet cli currently only ships with the newest versions of each of these packages, i.e.:

Microsoft.DotNet.Common.ProjectTemplates.2.1
Microsoft.DotNet.Test.ProjectTemplates.2.1
Microsoft.DotNet.Web.ProjectTemplates.2.1

Each of the versions of the packages supports a different framework, the number at the end (1.x, 2.0, 2.1) generally corresponds to the framework available. When showing help on a template, e.g. dotnet new web -h, if only 1 framework is available, it's not listed in the help options because it cannot be varied. But if multiple frameworks are available for a template, the help display with show them all. For example, after installing both:

Microsoft.DotNet.Web.ProjectTemplates.2.1
Microsoft.DotNet.Web.ProjectTemplates.2.0
...then running dotnet new web -h, the help display includes:

 -f|--framework             The target framework for the project.
                                 netcoreapp2.1    - Target netcoreapp2.1
                                 netcoreapp2.0    - Target netcoreapp2.0
                             Default: netcoreapp2.1

This is because the 2.1 template pack supports netcoreapp2.1, and the 2.0 template pack supports netcoreapp2.0
Also note that the 1.x packages only have beta releases on nuget, and therefore the version must be included in the install string. This is because nuget restore is used during the template install process, and prerelease packages aren't restored with some package information. So to install the 1.x template packs, the version gets appended to the package, with a double colon separator:
dotnet new -i Microsoft.DotNet.Web.ProjectTemplates.1.x::1.0.0-beta2-20170629-269
The exact version available can be seen on nuget.org https://www.nuget.org/packages/Microsoft.DotNet.Web.ProjectTemplates.1.x/1.0.0-beta2-20170629-269
But you can also install that pack with a wildcard, as long as it's sufficient to for nuget to match the prerelease version (the specifics are how nuget implements restore)
dotnet new -i Microsoft.DotNet.Web.ProjectTemplates.1.x::1.0.0-*
(appending ::1.0.0-* to any of the 1x packs listed at the beginning is sufficient to install them)
So, after installing the web project templates 2.0 and 1.x (as above), and having the 2.1 templates in-box, running help displays:
 -f|--framework             The target framework for the project.
                                 netcoreapp2.1    - Target netcoreapp2.1
                                 netcoreapp2.0    - Target netcoreapp2.0
                                 netcoreapp1.0    - Target netcoreapp1.0
                                 netcoreapp1.1    - Target netcoreapp1.1
                             Default: netcoreapp2.1

Note that the classlib template from Microsoft.DotNet.Common.ProjectTemplates.1.x also includes a number of netstandardX.X framework versions, so the number at the end of the package name doesn't always strictly / exclusively correspond to the netcoreapp version:
dotnet new classlib -h
(partial output)
  -f|--framework  The target framework for the project.
                      netcoreapp2.1     - Target netcoreapp2.1
                      netstandard2.0    - Target netstandard2.0
                      netcoreapp2.0     - Target netcoreapp2.0
                      netcoreapp1.0     - Target netcoreapp1.0
                      netcoreapp1.1     - Target netcoreapp1.1
                      netstandard1.0    - Target netstandard1.0
                      netstandard1.1    - Target netstandard1.1
                      netstandard1.2    - Target netstandard1.2
                      netstandard1.3    - Target netstandard1.3
                      netstandard1.4    - Target netstandard1.4
                      netstandard1.5    - Target netstandard1.5
                      netstandard1.6    - Target netstandard1.6
                  Default: netstandard2.0

I can go into more detail on any of this as needed.

Thanks @seancpeters! We don't have that flexibility of dynamically changing the options shown on docs.  So I'll have to add the option and explain how it works. 😄
So, this framework option would show up for all templates listed here (except for the bottom 4)?

Most of them, but not all. In addition to the bottom 4, these do not have a framework:

page
viewimports
viewstart
angular
react
reactredux
razorclasslib

This was addressed by #18080

authors: danroth27 mairaw natemcmaster seancpeters tdykstra


text:
Publish speclet for low-level struct improvements

Add the spec for C# 11's low level struct improvements.

Merging this should fix our current build warnings. /cc @dotnet/docs

source: gharchive/pull-request


text:
Updated ML glossary

Made changes:

clarified definitions, mostly of evaluation metrics
minor style updates
added cross-references among various terms

/cc: @aditidugar

@aditidugar thank you for the review! I've addressed your feedback on the Hyperparameter definition, please check the updated version.


text:
explain why unmanaged types aren't marked readonly

Address this customer question: https://github.com/dotnet/docs/issues/3907#issuecomment-432653335

@jaredpar @VSadov
I backed out the previous change and added new text that reinforces the recommendation for using in arguments with larger ValueTypes that are readonly. The new text emphasizes that the recommendation is only valid for larger value types.
It side-steps the original question, but I think that's the right choice: how the compiler treats immutable simple types, and any change to add the readonly modifier to simple types is an implementation detail.
Thoughts?


text:
[WIP] Add Alpine SDK image

This PR isn't quite ready. Work items:

[x] Update URL format (to match other images)
[x] Add hash/checksum matching (to match other images)
[ ] Consider globalization invariant mode support for the SDK.
[x] Update tests appropriately to verify Alpine SDK image
[x] Update manifest.json
[x] Update readme

Sample I used for testing: https://github.com/dotnet/dotnet-docker-samples/tree/alpine/dotnetapp-prod
I got the image to work as expected but needed to remove invariant-mode support for the SDK. it seems like the SDK fails to run with invariant mode.
This is the error that I saw before removing globalization invariant mode / adding ICU:
Step 7/11 : RUN dotnet publish -c Release -o out
 ---> Running in 0f3ff19e0e0f
Microsoft (R) Build Engine version 15.6.22.57775 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 46.27 ms for /app/dotnetapp.csproj.
/usr/share/dotnet/sdk/2.2.0-preview1-007846/Microsoft.Common.CurrentVersion.targets(2051,5): error MSB3095: Invalid argument. SafeHandle cannot be null. [/app/dotnetapp.csproj]
/usr/share/dotnet/sdk/2.2.0-preview1-007846/Microsoft.Common.CurrentVersion.targets(2051,5): error MSB3095: Parameter name: pHandle [/app/dotnetapp.csproj]
The command '/bin/sh -c dotnet publish -c Release -o out' returned a non-zero code: 1

This PR was moved to the nightly branch of the dotnet/dotnet-docker repo - https://github.com/dotnet/dotnet-docker/pull/376

authors: MichaelSimons richlander

repo: dotnet/dotnet-docker-nightly

license: MIT


text:
Run OpenApi tests for all TFMs

Summary
Currently, the OpenApi tests are not running during PR because PR only executes tests with for the net8.0 TFM. These tests currently don't specify any TFM that they run on. Add the attribute to specify for which TFM the tests run. Additionally, update the TFM list of the project to all testable TFMs so it works for future TFM changes. This will cause the tests to be run for each TFM, but they are fairly fast and should not add noticeable test time.

Release Notes Entry

/backport to release/6.x

/backport to release/7.x

/backport to release/7.0

repo: dotnet/dotnet-monitor


text:
Not able to select column in  Column to predict(Label) dropdown

which model builder version are you using

repo: dotnet/machinelearning-modelbuilder


text:
Fix drag/drop

### Summary of the changes

Drag & drop a .razor file with a code-behind file (.razor.cs) creates anchor tags for both files instead of a component tag. This provides a fix for this issue.

Steps to repro

Add a file like below with a code-behind file:

using BlazorApp6.Data;
using Microsoft.AspNetCore.Components;
using System;
using System.Threading.Tasks;

namespace BlazorApp6.Data
{
    public class FetchDataBase : ComponentBase
    {
        [Inject] WeatherForecastService ForecastService { get; set; }

        protected WeatherForecast[]? forecasts;
        protected override async Task OnInitializedAsync()
        {
            forecasts = await ForecastService.GetForecastAsync(DateTime.Now);
        }
    }
}

By commenting out the C# code block in its corresponding razor file below;
@inherits FetchDataBase
@page "/fetchdata"

<PageTitle>Weather forecast</PageTitle>

@using BlazorApp6.Data
@inject WeatherForecastService ForecastService

Weather forecast

This component demonstrates fetching data from a service.

@if (forecasts == null)
{

Loading...

}
else
{

                Date
                Temp. (C)
                Temp. (F)
                Summary

            @foreach (var f in forecasts)
            {

                    @f.TemperatureC
                    @f.TemperatureF
                    @f.Summary
                    @f.Music

            }

}

@code {
@*    private WeatherForecast[]? forecasts;

    protected override async Task OnInitializedAsync()
    {
        forecasts = await ForecastService.GetForecastAsync(DateTime.Now);
    }*@
}

Then follow the steps in the issue page #8254 to test the fix.
Fixes: https://github.com/dotnet/razor/issues/8254

FYI to reviewers, CI test failures are pointing to integration test failures not specific to this change

repo: dotnet/razor


text:
Output type for ASP.NET Core web application shows up as 'Windows application' in the property page

Dev15 RC.3 build d15prerel.26105.02

New ASP.NET Core Web Application (.NET Core) > Empty
View Property Pages

ACTUAL
Output type shows "Windows Application"

EXPECTED
Output type shows "Console Application"

@RaulPerez1 You marked this as fixed over here: https://github.com/dotnet/roslyn-project-system/issues/813, but if I'm debugging I still run into the same thing.

Are you using the updated rules? I think he added a rule in his fix

This still looks broken in 26102.0 D15PreRel.

The change just got inserted today

Installed 26107.1 and confirmed this has been resolved.

authors: balachir davkean srivatsn

repo: dotnet/roslyn-project-system


text:
Respond to sourcelink being bundled in the SDK

SourceLink is now be bundled in with the SDK - https://github.com/dotnet/sdk/pull/31632.  This has an impact on source-build that needs to be reacted to.  SourceLink will no longer be required to be build as one of the source-build toolset repos.  The SourceLink used by the build will now come from the SDK used to build the product.  The sourcelink repo can now be treated as a normal product repo which the SDK has a dependency on.

[Triage] This work will be blocked on the cleanup work to remove the sourcelink version.details dependencies from the product repos.

Closing as completed.  https://github.com/dotnet/source-build/issues/3551 tracks cleaning up the sourcelink dependencies.

repo: dotnet/source-build


text:
Ensure integration tests are run in the docker container

We currently run them in the CI environment but really we should be validating the real service, so running in the docker container will help.

A higher-fidelity integration test approach than the current one would be to run the service using Docker and run the Windows-based Playwright tests against that container-hosted service.

authors: AbhitejJohn jonsequitur

repo: dotnet/try


text:
Add command to show feature flags and if they are enabled

This allows you to see what features are available. For example:
upgrade-assistant features --list

outputs:
[14:32:33 WRN] Features are subject to change and may be disabled in a subsequent release.
[14:32:33 INF] Features are registered in the environment variable `UA_FEATURES`. Below are available features:
[14:32:33 INF] 'ANALYZE_OUTPUT_FORMAT': False
[14:32:33 INF] 'SOLUTION_WIDE_SDK_CONVERSION': False

/azp run

repo: dotnet/upgrade-assistant


text:
Fixes MAUI tests and updates pipeline to use VS2022 Preview

[x] Fixes Broken .NET MAUI Extension tests
[x] Adds documentation for .NET MAUI extension implementation
[x] Fixes .NET MAUI extension upgrade steps to work with rc-2 .NET MAUI release
[x] Updates AzDo Pipeline to use VS2022 preview internal pool VMs
[ ] confirm tests pass.

@Sweekriti91 Thanks for taking care of this. Overall the change LGTM, I don't have anything more to add other than the comments already on your PR.

@brandonh-msft  @sunandabalu  if there are no other open comments for this PR, could one of you approve it please? 😄  Thank you in advance!


text:
v1.0.0 error win32 x64

:warning:Please attach %TEMP%\vscode-dotnet-installer\log.txt for more details.
version: 1.0.0
env:
PATH:
C:\Program Files (x86)\Microsoft\Edge\Application
C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
C:\Program Files (x86)\Common Files\Acronis\SnapAPI\
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\Microsoft SQL Server\150\Tools\Binn\
C:\Program Files (x86)\GreatMigrations\gmStudio\
C:\Program Files\dotnet\
E:\Windows Kits\10\Windows Performance Toolkit\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
F:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin
F:\Program Files (x86)\Microsoft Visual Studio\Common\Tools
F:\Program Files (x86)\Microsoft Visual Studio\VC98\bin
C:\Program Files (x86)\Microsoft Visual Studio\Common\Tools\WinNT
C:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin
C:\Program Files (x86)\Microsoft Visual Studio\Common\Tools
C:\Program Files (x86)\Microsoft Visual Studio\VC98\bin
C:\Users\Mr.Rocket\AppData\Local\Microsoft\WindowsApps
C:\Users\Mr.Rocket\.dotnet\tools

log:
[12:54:34 AM] Downloading Visual Studio Code
[12:54:34 AM] arch:x64
[12:55:06 AM] Installing Visual Studio Code
[12:55:25 AM] Downloading .NET SDK
[12:57:05 AM] Installing .NET SDK
[12:57:05 AM] Add .NET SDK to the path
[12:57:06 AM] Error occurred
[12:57:06 AM] Error: Command failed: for /F "skip=2 tokens=1,2*" %A in ('%SystemRoot%\System32\reg.exe query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "Path" 2^>nul') do (%SystemRoot%\System32\reg.exe ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_SZ /f /d "C:\Users\Mr.Rocket\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.

log.txt

Not sure if it's my anti-virus software or admin rights yet..

Ok, might have been that:

repo: dotnet/vscode-dotnet-pack


text:
【翻译】DOC04-04-05 Testing Controller Logic

原文：https://docs.asp.net/en/latest/mvc/controllers/testing.html
翻译：https://github.com/dotnetcore/aspnetcore-doc-cn/blob/dev/aspnet/mvc/controllers/testing.rst

@jijiechen 审核

行号
原文
建议修改
备注

67
时，要确保只聚焦于操作本身的行为。控制器单元测试避

标点符号错误

97
HTPP POST Index
HTTP POST Index

121
这个例子中所采用的 Moq 库便于将可验证的，或者说 “严格的”，与不可验证的 mock （也称为 “宽松的” mock 或 stub）混合进行 mock 。
这个例子中所采用的 Moq 库能够简单地混合可验证的，“严格的”及带有不可验证mock（也称为 “宽松的” mock 或 stub）的mock。

183
不过，集成测试往往比集成测试慢得多。
不过，集成测试往往比单元测试慢得多。

repo: dotnetcore/aspnetcore-doc-cn


text:
🛑 Biseri-jadrana.si is down

In 8695df5, Biseri-jadrana.si (https://www.biseri-jadrana.si/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Biseri-jadrana.si is back up in d4034e0 after 5 minutes.

repo: dotsi/bitamiuptime


text:
Caching doesn't work on android

I run example application, play audio file (mp3), wait until it is buffered to 100%, switch to next track and back and it loads again.
Also, it doesn't work if I buffer track completely, close app, run app again without Wi-FI or mobile access.
How to make caching work?

+1

@ithustle no it not working . Im using react-native-track-player#dev

@songoten28 Did you find any workaround?

@ashokkumar88 no, we changed to using m3u8 to speed up user experience


text:
Sometimes items on an order are not stored as JSON array but as JSON objects

Bug Description
I'm using the Simple Commerce plugin in combination with Runway.
Sometimes the product items are store in the incorrect format in the database table which results in not being able to view them in the CP. It's not clear when and why this happens, but maybe you have an idea.
Below is a screenshot of the Orders CP view in Simple Commerce for the last two orders:

Following is data from the first order in the overview:
{"0": {"id": "fedcb2b6-941c-406f-8cb5-5cbfc3e97177", "tax": {"rate": 0, "amount": 0, "price_includes_tax": false}, "total": 100, "product": "24173ec0-5104-4d65-8ee5-7dbf9b4ce7f1", "variant": null, "metadata": [], "quantity": 1}, "4": {"id": "a84121ad-2ddb-4fc9-8725-d584fbc60fdc", "tax": {"rate": 0, "amount": 0, "price_includes_tax": false}, "total": 200, "product": "a9f67df3-4569-41f8-b477-dfa189b15a09", "variant": null, "metadata": [], "quantity": 1}, "5": {"id": "af34916c-e422-488f-a80c-bb0121f0bc86", "tax": {"rate": 0, "amount": 0, "price_includes_tax": false}, "total": 300, "product": "f3b3a75b-ea1e-4ad4-b66b-98c20a4f78bd", "variant": null, "metadata": [], "quantity": 1}, "6": {"id": "9995f893-f53f-4ba2-b79e-18aeea65aa81", "tax": {"rate": 0, "amount": 0, "price_includes_tax": false}, "total": 400, "product": "a3e2db11-f34f-445b-a322-8e54231987e4", "variant": null, "metadata": [], "quantity": 1}, "7": {"id": "4d3cb65d-1263-47ab-9f8b-74c5918156d0", "tax": {"rate": 0, "amount": 0, "price_includes_tax": false}, "total": 500, "product": "1e0f98ab-ba8d-402f-ba71-5e4b8d30deba", "variant": null, "metadata": [], "quantity": 1}}
Following is data from the second order in the overview:
 [{"id": "47ad85a2-bdd4-4371-97d0-8a1435a9edab", "tax": {"rate": 0, "amount": 0, "price_includes_tax": false}, "total": 100, "product": "6d301e16-fb13-4d9d-bd9a-f8ba60b99095", "variant": null, "metadata": [], "quantity": 1}, {"id": "a8d2907b-7a4e-480c-aa4f-8a28c2c73f73", "tax": {"rate": 0, "amount": 0, "price_includes_tax": false}, "total": 200, "product": "a5717e17-87a0-46e6-99d7-a20d57e5c0e8", "variant": null, "metadata": [], "quantity": 1}]
If I change the first one to match the correct JSON array style it works as expected.
Steps to reproduce
Not sure yet how this can be reproduced.
Environment
Statamic 3.3.13 Pro
Laravel 8.83.15
PHP 8.0.8
doublethreedigital/runway 2.3.8
doublethreedigital/simple-commerce 3.2.6
joetannenbaum/antlers-stack-tags 0.1.0
optimoapps/statamic-bard-text-align 1.0.2
roorda-ict/statamic-entries-export 1.0.0

This was a FE user action only.
It does seem that the user removed some products from the order. Since it
starts at 0 and skips to 4
Op ma 20 jun. 2022 19:08 schreef Duncan McClean @.***>:

Okay, the second JSON blob you copied is how they all should be.
Do you know how the orders were 'transformed' into the first blob you
copied in - just by saving the order?
—
Reply to this email directly, view it on GitHub
https://github.com/doublethreedigital/runway/issues/151#issuecomment-1160675749,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATOWGXWGABVLSTGGVGR7WG3VQCQQDANCNFSM5ZIEI6AQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah - managed to reproduce it. Looks like it's a Simple Commerce problem after removing an item from the cart.
Should be a case of adding ->values() to wherever is setting the line items (whenever I get to it - probably not tonight).

authors: duncanmcclean itsmesaskovic

repo: doublethreedigital/runway


text:
remove dead-code and dead-branch-checks in directive and advance()

fyi, i'm doing code-coverage analysis for jslint @ https://kaizhu256.github.io/node-jslint-lite/build..alpha..travis-ci.com/coverage.html/node-jslint-lite/lib.jslint.js.html#l12410
not really checking for correctness, mainly looking to remove deadcode.

No thank you. I don't want to inline 'artifact_line'.

ok, but can the following deadcode be removed?
 function artifact_line(the_token) {

 // Return the fudged line number of an artifact.

-    if (the_token === undefined) {
-        the_token = next_token;
-    }
     return the_token.line + fudge;
 }

repo: douglascrockford/JSLint

license: unlicense

license_source: bigquery


text:
ERROR TypeError: Cannot read property 'dismiss' of undefined

I have a modal dialog with a form and am trying to close/dismiss the modal dialog in its component ts file after submitting the form. But I got error of "Cannot read property 'dismiss' of undefined", and modal was not closed.
Here is my code:
request-form.component.ts:
import { Component, ElementRef, Input, OnInit, OnDestroy } from '@angular/core';
import { FormGroup, FormControl, Validators } from '@angular/forms';
import { Http, Response } from '@angular/http';
import { ModalComponent } from 'ng2-bs3-modal/ng2-bs3-modal';
import { ProductService } from '../../shared/services/index';

@Component({
  moduleId: module.id.toString(),
  selector: 'app-request-form',
  templateUrl: './request-form.component.html',
  styleUrls: ['./request-form.component.scss']
})
export class RequestFormComponent {
    modal: ModalComponent;

    onSubmit(){

        this.productService.SendRequest(this.requestForm.value)
            .subscribe(data => {
                //processing logic

                this.modal.dismiss();
        },
        error => {
            //processing logic
        });
    }
}

Although I read the previous postings on this issue, I still cannot get it work. My understanding here is not closing it from the parent, it is just from itself. Even I tried to move all form code to the parent html and tried to close the modal from the parent following your instructions from the github, it always gives me the same error.
Maybe the libraries are not loaded properly. I loaded jquery and bootstrap using cdn insidie the index.html near the closing tag of as follows:
index.htm:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

ng2-bs-3-modal was loaded and imported from app.module.ts

@bob1457 you're close, compare with https://github.com/dougludlow/ng2-bs3-modal#opening-and-closing-the-modal-from-a-parent-component
You're missing the following annotation on the modal property:
@Component({
    ...
})
export class RequestFormComponent {
    @ViewChild('myModal')
    modal: ModalComponent;
    ...
}

Where myModal is the template variable on the modal in the template.
Let me know if that makes sense.

Thanks.
The question is my modal dialog is in a component, the code to close it is in the component.ts file, is this still the parent/child relation?
Even I put @ViewChild, I still have the error.
I also tried moving the form in the modal component to the parent component, and close the dialog from parent component.ts file. Same error. I must have missing something else?

@bob1457 can you show a little more of your code. Kinda hard to shoot in the dark. 🔫 🌔

Here are the code attached:
The parent component is product-ezq.component.ts, and the modal is inside product-ezq.component.html.
bootstrap and jquery loaded using cdn in index.html.
Thanks. By the way, I am using VS Code, when debugging the code, it seems the problem was in bootstrap script, maybe the version of it matters?
Not sure I pasted the code properly, but I drop you a file with the code
[code.txt](https://github.com/dougludlow/ng2-bs3-modal/files/1028233/code.txt
`

No worries, I got it work. probably the loading sequence matters.
Thanks a lot for that.

license: isc


text:
Suggest todatetime assign and setitem

[ ] closes #37

Description

@galbraun this will close what you started with datetimes

repo: dovpanda-dev/dovpanda


text:
🛑 Training VCSOFT is down

In 9d6c9f0, Training VCSOFT (https://training.vc-soft.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Training VCSOFT is back up in 5e59cd1 after 21 minutes.

repo: dpkg-i-foo-deb/upptime


text:
🛑 File Service is down

In bc31c60, File Service (https://files.dplayzgames06.tk) was down:

HTTP code: 530
Response time: 886 ms

Resolved: File Service is back up in ee7fcc1 after 11 minutes.

repo: dplayz/status


text:
Running inference outside of pre-computed datasets

Dear authors,
Congratulations on Uni-Mol! This is truly exciting work 🥇
I'm writing to express interest in running inference outside of the pre-computed datasets. For example:
1.) Running docking from a pdb file + bounding box
2.) Embedding molecules from smiles
3.) Embedding proteins from pdb files
Looking at the code, it wasn't clear to me where to get started on this, but let me know if I can help.
Best wishes,
-Cyrus

Hi Cyrus,
Thanks for your advices, we will add more examples and demo in future updates, especailly for inferencing outiside of pre-computed datasets.
For fast implements, you can change the docking demo on Colab about reading residues for target pockets to select residues in bounding box with rewriting parser and Load_from_CASF functions. And for molecules/pocket embeddings just add a additional output of CLS embedding in unimol model, you can use rdkit to generate conformations as Uni-Mol inputs.  More details you can refer to appendix in our paper.
It will be great and much helpful if you can contribute to Uni-Mol together with us!
Best,

Thank you for your reply @Naplessss! I started with getting the example notebook to run locally, but ran into a couple issues:
1.) My python version wasn't 3.7 so the unicore wheel wouldn't install at first. For myself I added a snippet to check whether the python version was 3.7 and to link to  https://github.com/dptech-corp/Uni-Core/releases if not.
2.) The docking weights are downloaded to the current working directory, but then expected in "/content"
3.) When I fix these issues I get the error that it can't find the "docking_pose" task in unicore:

Do you have advice on what to do from here?
Thanks!
-Cyrus

Do you already set your use dir path with --use-dir?  also you can check if unimol,unicore is installed successfully.

Yes, --use-dir is set in unimol_binding_pose_demo.ipynb. I install unicore from 'https://github.com/dptech-corp/Uni-Core/releases/download/0.0.1/unicore-0.0.1+cu113torch1.12.1-cp37-cp37m-linux_x86_64.whl'.
Below is the output when I import unicore and print the __version__.

For UniMol, the notebook is downloading another copy of the repo into the working directory (Uni-Mol/notebooks). It does seem to be able to find this copy of unimol using --user-dir ./unimol.

authors: Naplessss cmahervir cyrusmaher

repo: dptech-corp/Uni-Mol


text:
ENH: Add in-browser query builder with selection from agencies, dataflows and codelists - based on Jupyter widgets

Many data providers offer web-based SDMX query builders to ease data access. The user may select data and metadata by browsing through dataflow lists and codelists. See for example
http://ec.europa.eu/eurostat/web/sdmx-web-services/query-builder
It would be great to have similar functionalities in the Jupyter notebook. The obvious choice is
http://jupyter.org/widgets.html

This might be superseeded by #76 as Intake has this Feature.

Most promising is a separate intake Driver. Not to be part of pandasdmx.

repo: dr-leo/pandaSDMX


text:
🛑 gorzdrav.org is down

In 55137e2, gorzdrav.org (https://gorzdrav.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: gorzdrav.org is back up in ed31d90.


text:
⚠ gorzdrav.org has degraded performance

In bdb6501, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 1549 ms

Resolved: gorzdrav.org performance has improved in bb9a278.


text:
🛑 gorzdrav.org is down

In 032fb37, gorzdrav.org (https://gorzdrav.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: gorzdrav.org is back up in 15195de.


text:
Why is MultiTypeAdapter final?

As of 4.0.0-alpha2 MultiTypeAdapter is final. It's such a breaking change for my project that I may never update. Can I ask to remove this constraint or at least explain why it was added?

It's open now:
https://github.com/drakeet/MultiType/blob/master/library/src/main/kotlin/com/drakeet/multitype/MultiTypeAdapter.kt#L31
Try the alpha3, please.

authors: drakeet ezamelczyk

repo: drakeet/MultiType


text:
Update to Swift 5

Update to Swift 5 api for index(of:), and SubSequence is removed. https://github.com/apple/swift-evolution/blob/master/proposals/0234-remove-sequence-subsequence.md

Why hasn't this been merged already?

authors: donn muizidn

repo: draveness/RbSwift


text:
Switch from deprecated tbb::mutex to std::mutex

ReleaseNote
Compatibility (major, minor, patch, build): build
Jira ticket: na
Release Notes Comment:
Special Notes: Changes away from tbb::mutex to the std::mutex as it has been deprecated and removed in tbb 2021+
Look or Scene Setup Change: No

Thank you for the changes! We have been slowly replacing tbb mutexes with std mutexes, but we have not concentrated on doing so.
Below is a note to the MoonRay developer who integrates this change. I'm not necessarily asking you to modify your patch.
std::scoped_lock should be replaced with std::lock_guard.

std::scoped_lock does not exist until C++17, and we are targeting C++14.
std::scoped_lock is for deterministically locking of multiple mutexes. While this code is valid (it works for zero or more mutexes), we would be better off spelling what we mean with a std::lock_guard.

Note this pull request was closed as an unintended side-effect of our removal of the release branch.   Please feel free to file a new pull request against the main branch, If these changes are still relevant.  Thank you!

authors: jlanz kjeffery mmdanggg2


text:
Support of submitting massive number of video shots to the system

Is your feature request related to a problem? Please describe.
I try to use the DRES system for AVS annotation.
I have a pool of video shots needed to submit to the DRES system for evaluation, e.g., 10k video shots for each query.
Currently, I use the API  to submit the video shots. However, I cannot submit too many at a time and it is time-consuming for submitting the pool.
Describe the solution you'd like
I wander if  the system can have the upload button at the front (UI) for submission. Thus, I can submit the pool by uploading a file. The file lists the video shots.
Describe alternatives you've considered
allow submissions of larger batch size. Currenctly, it is less than 300?
Additional context
Can I change the batch size of submission before building DRES? if so, where I can change.
Thanks a lot.

Thanks for your issue.

I try to use the DRES system for AVS annotation.

I assume you are trying to evaluate Ad-hoc Video Search (AVS) system(s) ? DRES is for evaluations, not to annotate a dataset (and export this information).
As for now, DRES is primarily build for interactive evaluation campaigns, where AVS submissions tend to be less than 2.5k submissions simultaneously -- we never tried to have 10k submissions so far.
Before considering this feature request, we'd need some more information:

How do you plan to judge these 10k submissions? The typical AVS setup (and the task type preset) are set for manual judgement, which seems to be off-limits with 10k submisisons.
How did you upload the submissions currently?

I wander if the system can have the upload button at the front (UI) for submission

The frontend (UI) of DRES is designed and build for these use cases:

Designing and building the evaluation (admin)
Orchestrating / directing the evaluation (admin)
Manual judgement of incoming submissions in certain cases (judge)
Getting information abou the (ongoing) evaluation, particularly the task (participant)

Intentionally, there is no UI for submissions, as this should be facilitated using the REST API for clients - did you try this? (There is an OpenApi UI for this: https://editor.swagger.io/?url=https://raw.githubusercontent.com/dres-dev/DRES/master/doc/oas-client.json )

authors: nikkiwoo-gh sauterl

repo: dres-dev/DRES


text:
implement new pagination method using last_seen_id (as opposed to offset)

This adds a new pagination method using a new parameter called "last_seen_id". The goal is to make sure records are ordered correctly across pages. Example usage:
def list_posts(%{"page" => page, "last_seen_id" => last_seen_id} = params)
  query =
    from p in Post,
    left_join: v in assoc(p, :votes),
    order_by: [desc: count(v.id)],
    group_by: p.id,
    select: p

  Repo.paginate(query, params)
end

Behind the scenes, this makes the entries function use where: p.id > ^last_seen_id, ensuring that no records are cut off from the query results (i.e. when using offset).
This should be a non-breaking change. If "last_seen_id" is not provided, the default lookup method using offset is used.
Requires drewolson/scrivener#51. Resolves #20, #25 and #31.

Whoops, sorry. After reading some of @drewolson 's comments on the issues, it sounds like he wants this to be handled in another library.

@egeersoz yes, thanks, for now I'd like to put this in a second library.
I'm excited to see what can be built.

Has anyone already built this into a separate library?

Yeah, this seems like it should be a thing. Offset is not a good way to paginate if you don't need to.
I think it should just be an option in config or somewhere, you can enable this if you use incrementing private keys

authors: ben-pr-p drewolson egeersoz ryanwinchester

license: mit


text:
bug: expose-aside-when side rt doesnt display correcly

Type: bug
Platform: all
When the expose-aside-when directive is used with the side right menu, the menu will display correctly on initial load, but after a menu item is clicked,  the right side will not display and a white box (menu size) will display on the left.
here is a codepen example
http://codepen.io/Slick6262/pen/YXZEOg
click on one for the right menu items

Greetings @KevinAble!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.

authors: Ionitron KevinAble

repo: driftyco/ionic


text:
Bug@Ionic 2 : nav.pop not work with ActionSheet and Alert

both ActionSheet and Alert handler not work with this.nav.pop()
constructor(nav: NavController) {
  this.nav = nav;
}

presentActionSheet() {
  let actionSheet = ActionSheet.create({
  title: 'Leave this page',
  buttons: [
    {
       text: 'Destructive',
       style: 'destructive',
       handler: () => {
           this.nav.pop() //pop not work here!
        }
   },
 {
     text: 'Cancel',
     style: 'cancel',
     handler: () => {
      console.log('Cancel clicked');
   }
  }
 ]
  });

  this.nav.present(actionSheet);
}

i have the same case that it can't use nav.push in actionsheet.
My solution is that use settimout to push in the button handler.

+1
The same issue here.

+1
Same issue, this.nav.pop() doesn't work inside of an ActionSheet.

One of the solution:
handler: () => {           this.nav.rootNav.pop().then(() => {                 this.nav.pop();             });               }               }

@kitkimwong Perfect that works great!
Plus, has anyone noticed that the ActionSheet with material design doesn't have colors? e.g. if you set the style to destructive it's still black not red like in iOS or in their docs!

this.nav.push() doesn't work as well within Alert handlers

Hello everyone! Thanks for opening an issue with us! The answer for this is to use promises. Our navigation system returns promises for all the nav methods (push(), pop(), present(), dismiss() etc etc) so the proper way to use nav.push() with an alert would be like this:
this.alert.dismiss().then(() => {
    this.nav.push(myAwesomePage);
})

You can also check out this link and this link to read more about using promises with navigation in Ionic 2.

Also, @callodacity material design does not color "destructive" actions red, so thats why the destructive attribute does not color the buttons in the actionsheet red. Hope that clears it up for you!

@jgw96 Thank you very much - I don't have an Android Device so I just assumed! :)

@callodacity No problem! Thanks for using Ionic!

@jgw96 I've tried with then promise but still no luck :(
loading.dismiss().then(() => {
    this.nav.pop();
});

but this is work
loading.dismiss().then(() => {
    setTimeout(() => this.nav.pop(), 500);
});

Hi Is there any progress on the issue? I am working on 2.0.0-beta.10 and it seems it still not rectified.
Am i right?

@tejit2004 this should be fixed in next beta! we refactored the whole overlay system (alert, action sheet, modals) so it is not longer coupled with the navigation stack.
Please reopen this issue once the beta11 is released and you consider this issue was not fixed :)

Thanks, that will be handy.
Is there any timeframe when beta11 will be released? as I am ready with my app to release on the stores, this bug prevents me. Is nightly code available which i can use?
Anyway, Thanks and it's relieving that these are out of the navigation stacks.

@tejit2004 There is a bleeding edge nightly of Ionic 2 available, which you can install with npm install ionic-angular@nightly but i would not recommend using it in a production app as it is a nightly and is not considered stable for the next release yet. You can be assured that we are working hard on getting the next release out, but we do not have a solid timeline on when it will be released. Thanks for using Ionic!

Am I correct that this issue is also to do with Alert buttons not working after opening Alert in an ActionSheet in Beta 10? I managed to fix this issue by asynchronously dismissing the ActionSheet before creating the Alert, which seems to be the solution in this issue.

@kz with the overlay component refactor that is coming in beta.11 you will not have to always dismiss the actionsheet before opening an alert. Hope that answers you question!

Still having issues on pop (tested with loadingController). Had to had a timeout value, that is not ideal.

Here is a snippet of my code. I am stuck at this for 2 days, my alert never gets dismissed :(
` let alert = this.alertCtrl.create({
title:'Oops',
message: error.message,
buttons: [
{
text: "Ok",
          handler:()=>{

            console.log('handler called');

            alert.dismiss().catch((err)=>{
              console.log(err);

            }).then(()=>{

            })

             return false;

          }
        }
      ]
    });

    alert.present().catch((err)=>{
     console.log(err);

    });

  });`

BTW guys, you should probably reopen this. When I import AlertController into my constructor for a component, the NavController.pop breaks. I had to resort to this:
this.nav.pop().then(()=>{this.nav.pop()}) to pop my page off.
I did not even place my this.nav.pop() inside the AlertController. I simply imported it, place it in constructor, and none of my other NavController actions work.

I resolved this issue by copying a class member reference to my NavController to the local function scope.  snippet is below. local variable needed for some of the promise/callback magic that happens with javascript.
openContactForm(recType) {
let newRecFields = this.modalCtrl.create(AddContact, {recType});
let localNav = this.navCtrl;
newRecFields.onDidDismiss(data => {
// Save the new record
if(Object.keys(data).length > 0) {
Meteor.call('axPutContact', this.id, data, function(error, result) {
if(typeof error !== 'undefined') {
alert(Posting error '${error}'.);
} else {
localNav.pop();
}
});
}
});
newRecFields.present();
}

authors: AdrianTeh MankinPT SoaringTiger callodacity ghprod jgw96 kamok kitkimwong kpishere kz manucorporat mauricionarcizo saurabhvyas tejit2004


text:
fix(content): hide scrollbar on desktop platform when content doesn't need to scroll

Short description of what this resolves:
By default content always display an horizontal scrollbar even if the content doesn't need to scroll.
This fix is mainly usefull on desktop browser
Changes proposed in this pull request:

overflow-y from scroll to auto

Ionic Version: 2.x
Fixes: #

There's a reason for it to be set to scroll, see this issue.

Alright, I had not seen this discussion.
I propose to had overflow-y: auto only on desktop.
.platform-core .content {
  overflow-y: auto
}

There is much better way to fix this, without changing overflow, going to take a look

@manucorporat Eager to see what you have in mind 😄

@manucorporat Actually this is connected to another problem (https://github.com/driftyco/ionic/issues/6416). And applying
.scroll-content {
  overflow-y: auto
}

could benefit a lot not only for desktop.
The problem is that when we have a scrollable content (ion-list) that does not require scroll the rule (overflow-y: scroll) force it to show scroll. Yet everything is fine unless you have menu with another scroll bar on the left. Toggling menu on/off reveals a small gray box just at the start of content that is not part of dom, but a artifact of scroll bar that is not needed for the content at the moment.

Hi there.. this is really useful.. when using a lot of components app looks very weird.. one thing that would be good to have is apply to tabs as well.. i guess this PR would fix for tabs as well.. right?
what i used in my app .show-tab ng-component { overflow-y: auto; }

Hello and thank you for contributing to Ionic! We have been working on porting all of the Ionic components to web components and have recently updated master to reflect this. This significant change has caused this pull request to break. While we really appreciate the time and effort you put into creating this, we are not able to merge it because of the newly introduced conflicts. We are extremely sorry about this. We will not be merging any more features in to v3. If this is a feature and you have the time, please resubmit this PR against the master branch. If this is a critical security issue in v3, we would greatly appreciate it if you would resubmit the PR against the new v3 branch. Thanks so much for your time!

authors: 5im0n Ionitron Manduro laser-me manucorporat mariohmol


text:
Front camera flipps the picture.

The picture taken by the front(only) camera get's flipped.
Have tried using the property: correctOrientation: true but that does not work.
Tested on android(latest) and ios(latest).

Greetings @leitom!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.

authors: Ionitron leitom

repo: driftyco/ng-cordova


text:
LocalPath implementations and documentation for test mocking

New abstract subclasses LocalPath and LocalClient that use the local filesystem as "cloud" storage.
New classes LocalAzureBlobClient, LocalAzureBlobPath, LocalS3Client, LocalS3Path that are intended to be monkeypatch substitutes for testing (UPDATE: +LocalGSClient, LocalGSPath)
New documentation article ~"Testing with cloudpathlib"~ "Testing code that uses cloudpathlib" with examples of how to patch things for tests
New test rigs that run the full test suite on the new local classes

Resolves #106

@pjbull I think this is ready for review!

@pjbull I rebased this PR and added support for the new GS classes.

@pjbull I rebased this PR and added support for the new GS classes.

repo: drivendataorg/cloudpathlib


text:
ImmutablePropertiesTest.java:39-39: Test all conditions to get 100% test...

The puzzle 23-dd21d91e (from #23) in src/test/java/com/driver733/vkmusicuploader/properties/ImmutablePropertiesTest.java (lines 39-39) has to be resolved: "Test all conditions to get 100% test coverage."
The puzzle was created by driver733 on 28-Sep-17.
Estimate: 0 minutes, role: IMP.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 23-dd21d91e has disappeared from the source code, that's why I closed this issue.


text:
Support for websockets

Hello,
Does sslsplit support websockets?
If a browser using HTTPS, initiates websocket connection to the server, would sslsplit allow it or drop it. It seems to be dropping it. Would it be possible to detect websocket connections and split it or bypass it completely.
Thanks,
Gaurav

[ ] Refactor the proxy core; split out protocol handling
[ ] Implement web sockets protocol
[ ] Implement upgrading HTTP/1.x to websockets
[ ] Extend logging to websockets

authors: droe hashsim

repo: droe/sslsplit


text:
Drogon server crashes, if client sends cookie with characters in range 128-254

Describe the bug
The bug is observed in Windows, MS Visual Studio 17.6.4, drogon compiled as 64 bit executable. Dragon server crashes on the stage of request header processing before passing execution to controllers. If server client (browser) sends cookie with characters 128-254, dragon crashes due to assertion check in C++ standard library (in Debug mode), in Release mode without assert the behaviour is undefined. Crash appears especially if last character in cookie is in range 128-254 - crash during the trimming of 'isspace' characters at the end of the cookie value.
The reason of the bug - the std:isspace function is called in wrong way. Character must be send as unsigned char:
The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF
To use these functions safely with plain chars (or signed chars), the argument should first be converted to unsigned char:
bool my_isspace(char ch)
{
return std::isspace(static_cast < unsigned char > (ch));
}
To Reproduce
Steps to reproduce the behavior:

Go to dragon examples, to helloworld 2.
Add cookie (to emulate the sending of the cookies by browser) to / controller in main.cc
@@ -11,6 +11,12 @@ int main()
[](const HttpRequestPtr &,
std::function<void(const HttpResponsePtr &)> &&callback) {
auto resp = HttpResponse::newHttpResponse();

       drogon::Cookie lang("language", "你好");

       lang.setPath("/");

       lang.setExpiresDate(

           trantor::Date::now().after(3600 * 24 * 365 * 10));

       resp->addCookie(lang);

       resp->setBody("Hello, World!");
       callback(resp);
   },

Build and run in debug mode
Access dragon from any browser - dragon crashes with assertion in std::isspace function. In release mode the behaviour undefined.

Expected behavior
all call of std::isspace() must be changed to std::isspace(static_cast < unsigned char > (ch))
Screenshots
Crash message:
Expression: c>=-1 && c<=255
Desktop (please complete the following information):

OS: Windows 10
Browsers Chrome, Edge, Safary

This (or a closely related issue) appear to have been assigned CVE-2023-26137
https://nvd.nist.gov/vuln/detail/CVE-2023-26137

This issue was fixed in trantor library some time ago.

authors: VladlenPopolitov risicle

repo: drogonframework/drogon


text:
配置 oracle 报错 Got minus one from a read call,code: 17002.

Question
配置 oracle 服务，配置界面一直转圈，docker 容器中报错如下：
org.dromara.hertzbeat.collector.collect.database.JdbcCommonCollect - Jdbc sql error: IO Error: Got minus one from a read call (CONNECTION_ID=37z/8u2BTQ6uzXBWGTOsCg==), code: 17002.
其他客户端连 oracle 没问题；
oracle 版本：19c，docker 部署的

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

Question
Configure the oracle service, the configuration interface keeps turning around, and the error is reported in the docker container as follows:
org.dromara.hertzbeat.collector.collect.database.JdbcCommonCollect - Jdbc sql error: IO Error: Got minus one from a read call (CONNECTION_ID=37z/8u2BTQ6uzXBWGTOsCg==), code: 17002.
Other clients have no problem connecting to oracle;
oracle version: 19c, deployed by docker

监听其他 docker 安装的 oracle 没问题，可能是有什么限制导致的

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

It is no problem to listen to oracle installed by other dockers, which may be caused by some restrictions

authors: BYNepenthe hertzbeat

repo: dromara/hertzbeat


text:
[Task]  manager/service/MailServiceTest.java

Description
Help us impl Unit Test For manager/service/MailServiceTest.java
You can learn and refer to the previous test cases impl.

controller example unit case:  https://github.com/dromara/hertzbeat/blob/master/manager/src/test/java/com/usthe/manager/controller/AccountControllerTest.java
service example unit case:  https://github.com/dromara/hertzbeat/blob/master/manager/src/test/java/com/usthe/manager/service/TagServiceTest.java
jpa sql dao example unit case: https://github.com/dromara/hertzbeat/blob/master/manager/src/test/java/com/usthe/manager/dao/MonitorDaoTest.java

Task List

[ ] Impl Unit Test For manager/service/MailServiceTest.java

Hi, pls assign to me.


text:
Integrate gitlab ce 8.9.9 got the authentication error

my gitlab version is gitlab ce 8.9.9
I used oauth to connect via drone 0.8, but I when I authorized the app got following error,
this error pop out from drone logs
level=error msg="can not authenticate user. invalid character '<' looking for beginning of value"

Please use our mailing list for end-user support. discourse.drone.io

repo: drone/drone


text:
Add revapi plugin

Hi, @psiroky,
here is a revapi plugin for  guvnor-rest/guvnor-rest-backend module. It just checks REST endpoint called ProjectResource. There is again this bug in revapi, so 2 of 3 ignores are actually false-negatives.
Thanks,
Marian

@psiroky Do you know much about revapi? Can this be merged?

Hi, @manstis, we have already spoken about that with @psiroky, but he is currently not in office. Once he is there, we will merge it.

authors: MarianMacik manstis

repo: droolsjbpm/guvnor


text:
Find a box

Summary
...
User stories
...
Wireframes
Second version:

You can manually only select status: available, reserved (for internal) and lost. Other statuses only through making and processing orders.
Filter button filters statuses and by default only show available boxes.
Edit screen is made - we should let this part of the wireframe keep aligned with #18

(from https://github.com/dropapp/dropapp/issues/47 )

@HaGuesto try to use the live demo, it gives you more of a feel than watching the graphic. 3 and 5 are quite fast steps and as i see required to give some feedback about what you did and where you go.
frame 4: you would be able to select all products (in which also the 'All' option could be available) and then you get all boxes. Which is actually in the old app the default view, but that is quite a long list that you not always use.
Frame 7-9: see frame 10, you can filter on status, by default you only see the available boxes but you might want to see others.
frame 11: you only change status into lost or not available, you don't change into ordered/picked/delivered. And this may or may not be a user rights question - but we don't have user rights atm.

New wireframe from @barto74 on Slack.

repo: dropapp/dropapp


text:
basic authentication does not work

from https://github.com/dropbox/pygerduty/blob/master/pygerduty/init.py#L663 :
"{0}:{1}".format(**self.basic_auth)
This doesn't work. It should be either:
 "{0}:{1}".format(*self.basic_auth) and use a tuple as argument on init
Or
  "{username}:{password}".format(**self.basic_auth) and use a dict as argument on init.

I imagine that was broken when Python 3 support was added. While it's an easy fix I actually wonder if support for basic auth should just be removed instead. Considering it wouldn't have worked for a while now with no reports but also that it appears to be deprecated per the top comment on https://developer.pagerduty.com/documentation/rest/authentication
Do you have a specific need for basic auth support or did you come across this some other way?

Just saw that message about it being deprecated as well. I'd say remove it, as it wouldn't work anyway.

authors: gmjosack hsmade

repo: dropbox/pygerduty


text:
Add test to make sure we get the webserver we configure, fixes #1094

The Problem/Issue/Bug:
#1094 promises tests for Apache webserver_type. We already run all tests against each webserver_type but this adds an explicit test to bring up under each webserver_type and make sure the results are what we expect.
If the code is OK and the test passes, we're good enough, no manual testing is probably required.

I meant to swing back to this one to resolve a question I had regarding the commented-out check on the actual header. It deserves a little more attention. The test here is OK. But I'm confused why https://github.com/drud/ddev/blob/66a6eaea16b74035b7ed30112d27816891258ca1/pkg/ddevapp/ddevapp_test.go#L1573 didn't work.

repo: drud/ddev


text:
Improve Readme

There is no information in the readme at all.
Is this the repo for the official MVVM plugin that ships with unreal or is this a completely different implementation?

Hello and thanks for the feedback! I'll put readme on top of my to-do list.
This is a different implementation. I started it long before Epic games announced their plugin.

Updated readme with basic information about plugin

authors: druhasu michaelWuensch

repo: druhasu/UnrealMvvm


text:
Wrong configuration example on querying/lookups.html

I tried to use the namespaced lookup functionality with 0.8.1 by following the example configuration in the doc (http://druid.io/docs/latest/querying/lookups.html)
but it didn't work. I ended up reading the source code and found that the configuration for namespaces should be
druid.query.extraction.namespace.lookups=[]
And the druid extension name to include is "io.druid.extensions:druid-namespace-lookup" not "io.druid.extensions:namespace-lookup"
The other thing I had to do is to include mysql connector jar in the classpath (which is not documented) for the case of mysql example in the doc.

@jaebinyo thanks, i have sent a PR #1854

Should be fixed as per @b-slim 's comment

authors: b-slim drcrallen jaebinyo

repo: druid-io/druid


text:
tieredReplicants can be null

Setting tieredReplicants to be an empty Map if it is null so that getNumReplicants method does not throws NPE.
Added serde test for when it is null

Thanks for the fix!
Can you clarify the following by way of unit tests:

If a tieredReplicants  is NULL in json, should the resulting property be null or empty-map?
If a tieredReplicants is NULL, should reflecting json result in the same original json?

In the prior behavior it did result in the same json. If I'm reading this correctly this PR changes such behavior.
There is precedence for such behavior in numerous other POJOs around Druid, but it would be nice to get the weigh-in of someone more familiar with the Replicant Tiering code to comment on if this change will be an issue.

@drcrallen Yes it changes the behavior. tieredReplicants can be set to null instead of an empty Map however in that case wouldn't getNumReplicants(String tier) method and getTieredReplicants() in run method of LoadRule throw NPE?

@pjain1 : Yes, You are correct. The case we encountered was for datasources which were not present, but still had legacy database entries. As such we did not encounter the NPE.
I looked through and could not find an obvious place where the rule would cause an issue if it did not have a value here and suddenly does, and it makes it more of a passive upgrade method in case old dormant systems kick back online. As such this should be reasonable. But can you please still add unit tests for checking results of what's in tieredReplicants to make sure it is a map if a null is passed in (instead of just checking for equality between two higher level objects)?

@drcrallen sure I can do that.

@drcrallen I've added the tests you mentioned. Please verify.

LGTM waiting for travis CI

Squashed the commits.

:+1:

LGTM

authors: drcrallen fjy pjain1 xvrl


text:
TaskLocation: Add toString method.

Necessary because these objects are used in log messages.

:+1:

:+1:

authors: fjy gianm guobingkun


text:
Fixed: Average Server Percent Used: NaN% Error when server startup is in progress #4214

Fixed Average Server Percent Used: NaN% Error when server startup is in progress #4214. It will show message as "Server is still starting...Please try after few minutes."

👍

authors: fjy satishbhor


text:
Remove redundant freeze of regexp

As rubocop said - "do not freeze immutable objects as freezing them has no effect", which makes sense. There is a little reason to freeze regexp literals, it just clutters the code and may confuse a reader.

Thank you

authors: raventid solnic


text:
Fix specs to work with latest version of dry-types

@flash-gordon @solnic I notice some specs were failing.
I updated the code so now we have a green build 💚

huh, I didn't think it worked this way actually. This wasn't documented so I think we can drop it, it's unlikely anyone uses it

Ok, I will remove the value_spec.rb part and will merge it

authors: GustavoCaso flash-gordon

repo: dry-rb/dry-struct


text:
Remove duplicated false type spec

duplicated code

thanks!

authors: flash-gordon moreta

repo: dry-rb/dry-types


text:
Fix Undefined method `key?' for nil:NilClass error.

Fixes #670

hello,
I  have a similar problem when I use a rule for each element of an array.
dry-validation  '~> 1.4'
ValidateParams < Dry::Validation::Contract
    schema do
        required(:data).hash do
          required(:attributes).hash do
            required(:items).array(:string)
         end
       end
    end

    rule(%i[data attributes items]).each do
       message = 'invalid numeric string'
       key(keys.flatten).failure(message) if value&.!~ /^(\d)+$/
    end
 end

RSpec.describe ValidateParams do
  let(:validation) { described_class.new }

  let(:params) do
    {
        data: {
            attributes: {
               items: ['123', '123', '123']
            }
        }
    }
  end

  it 'looks like failure' do
    expect(validation.call(params)).to be_failure
  end
end

result
>>  Failure/Error: expect(validation.call(params)).to be_failure
     NoMethodError:
       undefined method `key?' for nil:NilClass

at the moment I have it solved by:
  ```
  rule(%i[data attributes items]) do
     value.each_with_index do |v, i|
       message = 'invalid numeric string'
       key(keys.flatten << i).failure(message) if v&.!~ /^(\d)+$/
    end
  end

But it's definitely a trick.
I'd highly appreciate it if anybody explains how can I make it work without such tricks.
Many thanks in advance

repo: dry-rb/dry-validation


text:
Measure-Keyword - Only match the keyword and not other words

Update the regex on Measure-Keyword to not match words containing the keyword.
This Pull Request (PR) fixes the following issues

Fixes #11

This change is

@johlju


text:
xExchUpdate: New resource proposal - Upgrade from CU[X] to CU[Y]

Description
Create a new resource called xExchUpdate. This resource would be used to update an existing Exchange 2013/2016/2019 installation from one cumulative update version to another (i.e. Exchange 2016 CU12 to Exchange 2016 CU14). This resource would automatically check if all prerequisites are present (i.e. .Net Framework 4.7.2 or 4.8, C++ Redist. 2012 and 2013, etc.). Once all prerequisites are present the update would be performed using the unattended install. Any reboots would be handled by this resource as well. All update files would be located on a remote share and pulled in as needed.
Proposed properties
Special considerations or limitations
Currently the xExchInstall resource doesn't check prerequisites, I will also be submitting a proposal to enhance that resource with a prerequisite check/install feature. This would allow a uniform experience for both new installs and updates.

Hi Dana,
Support to upgrade to a new CU using xExchInstall was added within the past year (or two maybe). Function 'Test-ShouldUpgradeExchange' in xExchangeHelper.psm1 should handle that. If that's not working for you we may need to debug what's going wrong. Can you send -Verbose output of your DSC script while trying to upgrade via xExchInstall?

Seems that xExchInstall should be update to support more functionality. If there is a need for an exclusive xExchUpdate then please elaborate why xExchInstall is not sufficient.

See issue #425 in regards of the prerequisites.

This can be closed considering that xExchInstall should be able to handle the upgrade. See also #320 and #190.
Unfortunately, upgrading does not work for reasons that are not primarily a DSC or DSC resource issue: #496

Closing as per previous comment.

authors: danagarcia johlju mhendric raandree

repo: dsccommunity/ExchangeDsc


text:
add condition (function version) syntax that still parses as valid json

Issue type
I'm submitting a (check one):
[ ] Bug report
[x ] Feature request
[ ] Regression (something that used to work, but stopped working in a newer version)
[ ] Support request
[ ] Documentation issue or request
Prerequisites
Before posting, make sure you do the following (check all):
[ ] Confirm you are using the latest versions of all necessary packages (or if not, explain why not)
[ ] Search GitHub for a similar issue or PR
[ ] If submitting a Support request, also search [Stack Overflow][stack-overflow] for similar issues
Note: Please cross-post GitHub support requests to [Stack Overflow][stack-overflow], and include a link in your GitHub issue to your Stack Overflow question. We do currently respond to support requests on GitHub, but we eventually expect to stop, and will then refer all support questions exclusively to Stack Overflow.
Current behavior

Currently, when using functions for the condition, the resulting file is not valid JSON, which can create parsing/validation issues.  (I need to be able to pass valid JSON back to server.)
I'm proposing to add a markup for function-based conditions that utilizes new Function() to dynamically create the function from a string in JSON.
Basically, in addition to checking if the condition is a function, also check whether it has a property function body:
From RootComponent.isConditionallyShown
      } else if (typeof layoutNode.options.condition === 'function') {
        result = layoutNode.options.condition(this.jsf.data);
      } else if (typeof layoutNode.options.condition.functionBody === 'string') {
        const dynFn = new Function("model", "arrayIndices", layoutNode.options.condition.functionBody);
        result = dynFn(this.jsf.data, this.dataIndex);
      }

{
"type": "div",
"title": "Instructional Method Used",
"items": [
  {
    "type": "checkboxes",
    "notitle": true,
    "key": "objectives[].supporting_materials[].instructional_methods.instructional_method_type"
  },
  {
    "notitle": true,
    "key": "objectives[].supporting_materials[].instructional_methods.instructional_method_type_other",
    "placeholder": "Other (Please specify)",
    "condition": {
      "functionBody": "try { return model.objectives[arrayIndices[0]].supporting_materials[arrayIndices[1]].instructional_methods.instructional_method_type.includes('Other (Please specify)') } catch(e) { return false }"
    }
  }
]
},

I have this is already working and can submit a pull request, but wanted to see if I'm missing anything.  Maybe move the try/catch out of the JSON and into the if block itself?

I'm trying to remove all uses of eval() from the library itself for security reasons. (I may have to continue using eval() in the demonstration playground, but because that's for developers only, it don't pose the same security risk.)
So as long as your PR doesn't use eval(), I'll gladly include it.

Based on your comment, I've done some reading on the security implications of new function(), and while it doesn't look entirely safe, it is better than eval().
Long term I'd like a safer solution that doesn't allow executing arbitrary code. But I don't know what it will take to make that work. So using new function() might be a good interim solution until we can figure out something better.
Submit a PR for the solution you described, and I'll merge it.

authors: dschnelldavis stalsma


text:
AsyncClient.post() got an unexpected keyword argument 'proxies'

It seems that documentation for httpx does not represent fully its current code. The documentation says that proxies argument to AsyncClient.post() is available but in reality it's not:
AsyncClient.post() got an unexpected keyword argument 'proxies'

After removal of proxies argument from bardapi code everything works correctly.
httpx 0.25.0

It will be resolved in version 0.1.39. Until then, please use the GitHub development version.

authors: dsdanielpark ser

repo: dsdanielpark/Bard-API


text:
out of the box fail

followed your instructions, discovered some missing steps but still does not work.

I should probably ditch the readme docs, I've had trouble maintaining it up to date. If you want a working starting point then you're better off generating a project using the generator: https://www.npmjs.com/package/generator-modern-web-dev

authors: dsebastien jbeckton

repo: dsebastien/modernWebDevBuild


text:
cargo test: compiler error

On latest master, with latest nightly rustc.
error[E0599]: no method named `wrap_api` found for struct `App` in the current scope
  --> examples/paperclip.rs:73:14
   |
73 |             .wrap_api()
   |              ^^^^^^^^ method not found in `App<impl ServiceFactory<ServiceRequest, Response = ServiceResponse<middleware::logger::StreamLog<AnyBody>>, Error = actix_web::Error, Config = (), InitError = ()>, middleware::logger::StreamLog<AnyBody>>`

I guess this is because you need the paperclip_compat feature to compile this example; see: https://github.com/dsferruzza/actix-web-middleware-keycloak-auth/blob/master/examples/paperclip.rs#L6-L7
(Also, paperclip does not support actix web 4 yet. This is why I use a fork here: https://github.com/dsferruzza/actix-web-middleware-keycloak-auth/blob/master/Cargo.toml#L25 But as this dependency is pulled via Git (instead of crates.io) I had to make it under a feature because crates.io does not consider dependencies that are not pulled via crates.io.)

authors: Ploppz dsferruzza


text:
About dropout step in the paper

Thank you very much for sharing the whole implementation! I am curious about dropout step in this figure, may I ask some questions?

As shown in the code here, I guess that dropout on indicator is applied during the warmup steps (6255 steps), the keep probability (rather than drop probability) is 0.6; after 6255 steps, the keep probability is 100, and the model will choose 3x3, 5x5, exp=3, exp=6 by learned threshold. May I ask whether my interpretation correct?
May I ask why the runtime term is larger in the dropout steps? And why the runtime decrease rapidly and precisely to 79 ms? What whould the curve be like if hyperparameter lambda=0.02 is setted to other values?

Hi @luzai. I think your interpretation for the dropout is correct. But I couldn't figure out why they set the keep probability to 100, which means to scale the Indicator value 100 times smaller.

It seems that keep_prob must be in (0,1], as shown in here. But the code run successfully without ValueError.

It seems that keep_prob must be in (0,1], as shown in here. But the code run successfully without ValueError.

It seems that keep_prob must be in (0,1], as shown in here. But the code run successfully without ValueError.
Hello, there are some exceptions when I run the code, may you give me some advise about this dropout issue? Mant thanks! Question link:
https://github.com/dstamoulis/single-path-nas/issues/11#issuecomment-549108585

I meet the same question. Have you figured it out?

authors: QueeneTam annamz6526-1 luzai qianhuiliu

repo: dstamoulis/single-path-nas


text:
Plain text

How do we just grab the plain text of the content?
Thanks!

In version 0.2.0 you can subscribe to the onChange event which sends html and text like this:
handleEditorChange(html, text) {}
render() { return <TrixEditor onChange={this.handleEditorChange} />; }

authors: adcoolguy dstpierre

repo: dstpierre/react-trix


text:
Raspotify lirc IR control

Hi! Is it or will it be possible (in near future) to control raspotify using lirc? Ex such functions as skipping tracks, start, play would be much appreciated!
Thanks :)

Isn`t there really any way to make it work together?

repo: dtcooper/raspotify


text:
ASCII art figures are not rendered correctly

RST renders correctly in github:
https://github.com/ebpffoundation/ebpf-docs/blob/update/rst/instruction-set.rst#13instruction-encoding
But XML2RFC version is not rendered correctly:
https://htmlpreview.github.io/?https://raw.githubusercontent.com/ebpffoundation/ebpf-docs/pdf/draft-thaler-bpf-isa.html#name-instruction-encoding
Original rst text:
This is depicted in the following figure::

        basic_instruction
  .-----------------------------.
  |                             |
  code:8 regs:8 offset:16 imm:32 unused:32 imm:32
                                 |              |
                                 '--------------'
                                pseudo instruction

XML:
   <t>
    This is depicted in the following figure:
   </t>
   <blockquote>    basic_instruction
    .-----------------------------.
    |                             |
    code:8 regs:8 offset:16 imm:32 unused:32 imm:32
    |              |
    '--------------'
    pseudo instruction
   </blockquote>

Here it should be <artwork> instead of <blockquote>.
https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#block-quotes explains the RST format for a blockquote, which should be converted to <blockquote>.
https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#literal-blocks explains the RST format for a literal block, which should be converted to <artwork>.


text:
Hide numeric types

Copies the Number type from serde_json and converts this project to use it. Known issue compiling a hash function.
Closes: #60

I'm down to two failing doc tests on number.rs  around is_f64

Would love any comments on how the group would like to see https://travis-ci.org/dtolnay/serde-yaml/jobs/224911514#L203 addressed

error: you are implementing Hash explicitly but have derived PartialEq

The clippy docs describe this lint as a warning, that you have to be careful and manually make sure that k1 == k2 ⇒ hash(k1) == hash(k2) still holds for two Numbers k1 and k2. What does serde-json do? If you are certain this is fine, add
#[cfg(feature = "cargo-clippy", allow(derive_hash_xor_eq))] // This is fine because …

error: used unwrap() on an Option value.

I see you made this an expect now, but: Your from_f64 also fails when the input is not a finite number. I'd say we try to propagate this error somehow. Do you think we need change some error types to use a custom one and not just serde::de::Error?

Your from_f64 also fails when the input is not a finite number

This is taken straight from serder-json - so I'm not sure on the best path to take forward. That said, do we wish to support NaN or Positive / Negative Infinity? My guess is no, so if None doesn't make since (and it does to the JSON crew https://github.com/serde-rs/json/blob/master/src/number.rs#L219) then I think an error is good.
serde::de::Error sounds like a good fit as this is a deserialization error and as a consumer I'd prefer one error type to catch rather than N error types to catch. But my rust-fu isn't the strongest and I'm happy to do what the group deems best. I just serde 1.0 EVERYWHERE. :)

Ok, everything is green now. @killercup let me know what you think and now that the ⛰ has been moved we can sweep up the pebbles.

@drusellers very nice! I've added one more commit to make the new allow attrs depend on the clippy feature. I'll try to do another review later.

Awesome, let me know if there is anything else I can do to help.

Thank you both! Yes I'll get this in today.

Thanks, I merged this with some fixes in 486240aaa1c995ea49234d3e164826aa629e48ed and e5293cc882dc1085b1dce6d0cc7f5efe089dd88e.

@dtolnay  and @killercup thank you so much for the mentoring. and 🎉 Serde 1.0 yay

authors: drusellers dtolnay killercup

repo: dtolnay/serde-yaml


text:
Update AST to hold const generics

The Generics struct now needs to hold lifetimes, ty_params, and const_params.
https://github.com/rust-lang/rust/issues/44580
struct RectangularArray<T, const WIDTH: usize, const HEIGHT: usize> {
    array: [[T; WIDTH]; HEIGHT],
}

That's not how we're doing it in the compiler, see https://github.com/rust-lang/rust/pull/45930.

Implemented in #261.

authors: dtolnay eddyb

repo: dtolnay/syn


text:
timer中能否添加一分钟内出现错误的次数统计？

timer中能否添加一分钟内出现错误的次数统计？
这样的话 我就只需要用一个timer 就可以统计出我所需要的数据了 统计错误次数的原因是 方便监控以及预警

用Compass就可以统计了，需要你自己埋点

用Compass就可以统计了，需要你自己埋点

Compass统计的是累计次数 我的需求是想统计1分钟 5分钟内出现的错误次数

你看下代码，Compass内部也是用BucketCounter的，也是按照时间间隔统计的

你看下代码，Compass内部也是用BucketCounter的，也是按照时间间隔统计的

ScheduledReporter 我想起来了 这个类里没有实现打印compass这种类型的统计

你看下代码，Compass内部也是用BucketCounter的，也是按照时间间隔统计的

ScheduledReporter 我想起来了 这个类里没有实现打印compass这种类型的统计

MetricManagerReporter 我需要用这个类去实现compass的打印吗？

你看下代码，Compass内部也是用BucketCounter的，也是按照时间间隔统计的

我是继承 ScheduledReporter 然后复写report方法实现？我看了一下MetricManagerReporter这个类 他是收集到文件中？？

这些功能都已经实现了，不需要你写代码

这些功能都已经实现了，不需要你写代码

我具体用哪个类？看哪个测试用例

这些功能都已经实现了，不需要你写代码

我想实现ScheduledReporter这个类的功能 用Compress具体参考哪个类？哪个测试用例啊？

See similar issue #9

repo: dubbo/metrics


text:
Fix issue where onUrlChanged is called multiple times

Task/Issue URL:

https://app.asana.com/0/361428290920652/1111382543212308
https://app.asana.com/0/414730916066338/728296763895517

Description:

Fix issue where urlChanged was being called multiple times
Remove url live data as we have the current url stored in a number of places and it was causing confusion when debugging this issue

Steps to test this PR:

Visit cnn.com and note that urlChanged is only called once, it was previously called twice.
Perform a search on the SERP and note that urlChanged is only called once

Internal references:
Software Engineering Expectations
Technical Design Template

@CDRussell over to you for review.

repo: duckduckgo/Android


text:
Add logs directory to template .gitignore

The default configuration of :duct.module/logging writes to "logs/dev.log" when :duct.core/environment is :development.

Thanks! Can you change the description of the commit to:
Add logs directory to template .gitignore

Logging module writes logs to logs/dev.log in development environment.

It's a little easier to read without losing any information.

No problem, done! Happy to help polish any rough edges. 😄 Just worked through "Advancing Duct," really appreciate your organization. Looking forward trying Duct out with a board game.

Thanks! Glad you're finding Duct interesting enough to try!

authors: tclamb weavejester

repo: duct-framework/duct


text:
Can't browse subfolder of local file path.

When I try to browse to a subfolder of my local file path, It gives this error:

The video file must be contained in the Local Video Files setting.

Using Version 1.0.21

if you grabbed the release early in the day she already put in a fix for it, try downloading it again

as @mongomay69 suggests, please try v1.0.21 again. Ive made some last minute adjustments to that release, as can be seen in the changelog.

authors: Duckbuster dularion mongomay69

repo: dularion/streama


text:
Add compound item check in repo item tab

Add compound item check in repo item tab - We won't initially allow the use of repo compound object

Added check for compound objects and provide message for user.

repo: dulibrarytech/exhibits-backend


text:
关于四人赛的一点小建议

作者大大，目前脚本支持63分，四人赛默认刷两次，两次得分后无法再用了。四人赛可不可以多用几次，每赢一次都有一个⭐，这个有排名

我已经上传到脚本市场了啊
---原始邮件---
发件人: @.>
发送时间: 2022年1月4日 07:49:20
收件人: @.>;
抄送: @.***>;
主题: [dundunnp/hamibot-auto_xuexiqiangguo] 关于四人赛的一点小建议 (Issue #117)
作者大大，目前脚本支持63分，四人赛默认刷两次，两次得分后无法再用了。四人赛可不可以多用几次，每赢一次都有一个⭐，这个有排名
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

我已经上传到脚本市场了啊
---原始邮件---
发件人: @.>
发送时间: 2022年1月4日 07:49:20
收件人: @.>;
抄送: @.***>;
主题: [dundunnp/hamibot-auto_xuexiqiangguo] 关于四人赛的一点小建议 (Issue #117)
作者大大，目前脚本支持63分，四人赛默认刷两次，两次得分后无法再用了。四人赛可不可以多用几次，每赢一次都有一个⭐，这个有排名
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

四人赛和双人对决单独的那个吗？做题速度有点低，基本每次得错一道。做题速度能不能调，大佬

我已经上传到脚本市场了啊
---原始邮件---
发件人: @.>
发送时间: 2022年1月4日 07:49:20
收件人: _@**._>;
抄送: _@_.>;
主题: [dundunnp/hamibot-auto_xuexiqiangguo] 关于四人赛的一点小建议 (Issue #117)
作者大大，目前脚本支持63分，四人赛默认刷两次，两次得分后无法再用了。四人赛可不可以多用几次，每赢一次都有一个⭐，这个有排名
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: _@_.**>

四人赛和双人对决单独的那个吗？做题速度有点低，基本每次得错一道。做题速度能不能调，大佬

是的，速度如果是选择了提高正确率的话，就是最快的了，能优化我是一定会优化的

多谢您了
---原始邮件---
发件人: @.>
发送时间: 2022年1月4日(周二) 上午10:25
收件人: @.>;
抄送: @.@.>;
主题: Re: [dundunnp/hamibot-auto_xuexiqiangguo] 关于四人赛的一点小建议 (Issue #117)
我已经上传到脚本市场了啊
---原始邮件---
发件人: @.>
发送时间: 2022年1月4日 07:49:20
收件人: @**.>;
抄送: @.>;
主题: [dundunnp/hamibot-auto_xuexiqiangguo] 关于四人赛的一点小建议 (Issue #117)
作者大大，目前脚本支持63分，四人赛默认刷两次，两次得分后无法再用了。四人赛可不可以多用几次，每赢一次都有一个⭐，这个有排名
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: @.**>
四人赛和双人对决单独的那个吗？做题速度有点低，基本每次得错一道。做题速度能不能调，大佬
是的，速度如果是选择了提高正确率的话，就是最快的了，能优化我是一定会优化的
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


text:
Accept absolute directories

Closes #52.

Thank you @theofidry

Arf sorry i forgot to submit my review...

authors: Ener-Getick dunglas theofidry

repo: dunglas/DunglasActionBundle


text:
DUPLO-25619: DOC:TF: ASG: Add example block for secondary volume in example usage of duplocloud_asg_profile (Resource)

Overview
Add an example block for secondary volume in example usage of duplocloud_asg_profile (Resource)
Summary of changes
This PR does the following:

Added example block for secondary volume in example of duplocloud_asg_profile (Resource)

Testing performed

[ ] Manually, on my local system

Task linked: DUPLO-25619 DOC:TF: ASG: Add example block for secondary volume in example usage of duplocloud_asg_profile (Resource)

authors: shantanuduplo zafarabbas


text:
🛑 Mention Bot is down

In de8e11f, Mention Bot (https://backend.isbotdown.com/bots/mentionbot) was down:

HTTP code: 200
Response time: 118 ms

Resolved: Mention Bot is back up in e0cef0e.

repo: durof/status


text:
🛑 Mention Test Bot is down

In 3699595, Mention Test Bot (https://backend.isbotdown.com/bots/mentiontestbot) was down:

HTTP code: 200
Response time: 121 ms

Resolved: Mention Test Bot is back up in 41a07e3.


text:
🛑 Inline Search Bot is down

In b04eeaa, Inline Search Bot (https://backend.isbotdown.com/bots/isbot) was down:

HTTP code: 200
Response time: 677 ms

Resolved: Inline Search Bot is back up in b260bf3.


text:
🛑 Instant View Generation (@rreadbot) is down

In e3bed96, Instant View Generation (@rreadbot) (https://a.devs.today/example.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Instant View Generation (@rreadbot) is back up in 8fca32e.


text:
🛑 Instant View Generation (@rreadbot) is down

In 97349ff, Instant View Generation (@rreadbot) (https://a.devs.today/example.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Instant View Generation (@rreadbot) is back up in 26c1f3b.


text:
🛑 Mention Test Bot is down

In c66f8f5, Mention Test Bot (https://backend.isbotdown.com/bots/mentiontestbot) was down:

HTTP code: 200
Response time: 91 ms

Resolved: Mention Test Bot is back up in ccfa389 after 1 hour, 18 minutes.


text:
🛑 Mention Robot is down

In d35ed2d, Mention Robot (https://backend.isbotdown.com/bots/mentionrobot) was down:

HTTP code: 200
Response time: 84 ms

Resolved: Mention Robot is back up in 832b714 after 1 hour, 37 minutes.


text:
🛑 Mention Robot is down

In a11884c, Mention Robot (https://backend.isbotdown.com/bots/mentionrobot) was down:

HTTP code: 200
Response time: 88 ms

Resolved: Mention Robot is back up in 363e0bc after 2 hours, 45 minutes.


text:
Double output  when "bashdoc file.sh" while the rest works as intended

Hi, It's not much but I have a strange result on a command.
Tried with the bare minimum. One file one comment on the main() function, and when calling the -j or -t flags everything is nice and smooth. The -j command even displays the results in the console as I was expecting the main "no params" to do.
Yet, when I call simply bashdoc and the file, -c or not, it outputs:
Help: bin
main fn - noParams: The content for the Home Route
Help: bin
main fn - noParams: The content for the Home Route

...didn't yet looked at the Rust code, but I bet it's not the expected outcome.

Let me know if this fixed the issue for you. I'm glad code from 6 years ago was easy enough to resolve this :)

Impressed too. I sometime struggle to get my head around on code from last month, that's why I'm taking "docs generation" resolution in advance before the new year.
The fix worked, installed via Cargo. Thanks a lot.
I will eventually include bashdoc in a project I have around creating and managing bash scripts, as docs are important and I like the concise syntax.

authors: AndiKod dustinknopoff

repo: dustinknopoff/bashdoc


text:
python gym-DQN.py => RuntimeError: torch was compiled without numpy support

Hello,
After successfully build, with a fresh install of a Jetpack 3.0 on a TX2, when I try to run gym-DQN.py, I got this error:
$ python gym-DQN.py
[2017-07-21 14:08:36,674] Making new env: CartPole-v0
Traceback (most recent call last):
  File "gym-DQN.py", line 280, in <module>
    plt.imshow(get_screen().cpu().squeeze(0).permute(1, 2, 0).numpy(),
  File "gym-DQN.py", line 274, in get_screen
    screen = torch.from_numpy(screen)
RuntimeError: torch was compiled without numpy support
/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_gtk3.py:215: Warning: Source ID 8 was not found when attempting to remove it
  GLib.source_remove(self._idle_draw_id)

Also I had to install matplotlib for python:
$ sudo pip install --upgrade matplotlib
But it seems there is a problem with numpy.
Any idea on how to solve this issue ? Is there a list of pyhton modules that must be installed before the build ?
Thanks!

Hi, sorry for the problem, perhaps the pre-install command to install numpy is missing (only used in the standalone examples).  I guess my system already had it from before.
Can you try installing it like this?
sudo pip install numpy
Then rm build and make a new build.
Hope that helps,
Dustin
On Jul 21, 2017 8:20 AM, Cyril notifications@github.com wrote:
Hello,
After successfully build, with a fresh install of a Jetpack 3.0 on a TX2, when I try to run gym-DQN.py, I got this error:
$ python gym-DQN.py
[2017-07-21 14:08:36,674] Making new env: CartPole-v0
Traceback (most recent call last):
File "gym-DQN.py", line 280, in
plt.imshow(get_screen().cpu().squeeze(0).permute(1, 2, 0).numpy(),
File "gym-DQN.py", line 274, in get_screen
screen = torch.from_numpy(screen)
RuntimeError: torch was compiled without numpy support
/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_gtk3.py:215: Warning: Source ID 8 was not found when attempting to remove it
GLib.source_remove(self._idle_draw_id)
Also I had to install matplotlib for python:
$ sudo pip install --upgrade matplotlib
But it seems there is a problem with numpy.
Any idea on how to solve this issue ? Is there a list of pyhton modules that must be installed before the build ?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-reinforcement/issues/6, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOpDK_nNbrLIJejILsDx6v8qH7vi8hIdks5sQJeLgaJpZM4OfVTV.

This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

Thanks Dustin,
After doing that, I got the error message:
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
I could solve this installing this, in case some people has this issue link:
sudo apt-get install python-gi-cairo
And now the demo is working!

OK thank you Cyril, I will add these commands to the pre-build script.
On Jul 21, 2017 10:45 AM, Cyril notifications@github.com wrote:
Thanks Dustin,
After doing that, I got the error message:
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
I could solve this installing this, in case some people has this issue linkhttps://github.com/rbgirshick/py-faster-rcnn/issues/221:
sudo apt-get install python-gi-cairo
And now the demo is working!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-reinforcement/issues/6#issuecomment-317020310, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOpDK_KGB5mJydKohpmxfV1oQsmwMfyYks5sQLlfgaJpZM4OfVTV.

This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

authors: TheRobotStudio dusty-nv

repo: dusty-nv/jetson-reinforcement


text:
Does size of the ad affect revenue?

As far as I have seen Native ads height can be 90-400. Does having NativeAdmobType.full and NativeAdmobType.banner have difference in revenue?

Same question.

A difference would make sense. Usually banners have a lower eCPM than interstitial / bigger ads with image.
Banners < Big Sized Ads < Interstitial < Rewarded Videos

Yeah but the Native ad specified in this plugin has two types NativeAdmobType.full and NativeAdmobType.banner. This banner ad isn't the same as "Banner Ads" as it uses the adunitID of a Native ad.
So what exactly is "NativeAdmobType.banner" is it a "Native ad" or a "Banner ad" .
If ".full and .banner" are both native ads, then will there be any difference in revenue?

Yeah but the Native ad specified in this plugin has two types NativeAdmobType.full and NativeAdmobType.banner. This banner ad isn't the same as "Banner Ads" as it uses the adunitID of a Native ad.
So what exactly is "NativeAdmobType.banner" is it a "Native ad" or a "Banner ad" .
If ".full and .banner" are both native ads, then will there be any difference in revenue?

I would say banner will generate less revenue as you display less published details. The click rate is lower on banners, less visible so less paid than native ads where you can choose how to optimize visibility and click rate.

authors: belkinvin cmd-dev houdayec


text:
🛑 Ngan.vn is down

In 792ad5e, Ngan.vn (https://cake.ngan.vn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ngan.vn is back up in b18c21f.

repo: duyet/uptime


text:
dva和react 17版本不兼容问题

package.json
    "dva-core": "^2.0.4",
    "dva-immer": "^1.0.0",
    "lodash": "4.17.21",
    "mp-html": "^2.1.2",
    "react": "^17.0.0",
    "react-dom": "^17.0.0",
    "react-redux": "^7.2.0",
    "redux": "^4.0.0",

运行 npm i 出现错误
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: react@17.0.2
npm WARN node_modules/react
npm WARN   react@"^17.0.0" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"15.x || ^16.0.0-0" from dva@2.5.0-beta.2
npm WARN node_modules/dva
npm WARN   peer dva@"^2.5.0-0" from dva-immer@1.0.0
npm WARN   node_modules/dva-immer
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: react-dom@17.0.2
npm WARN node_modules/react-dom
npm WARN   react-dom@"^17.0.0" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react-dom@"15.x || ^16.0.0-0" from dva@2.5.0-beta.2
npm WARN node_modules/dva
npm WARN   peer dva@"^2.5.0-0" from dva-immer@1.0.0
npm WARN   node_modules/dva-immer
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: react@17.0.2
npm WARN node_modules/react
npm WARN   react@"^17.0.0" from the root project

no this should be fixed

现在只支持到16版本,hooks之前都可以.

authors: jacktang juvenile-bin samtholiya

repo: dvajs/dva


text:
the value of loss is too unstable when supervised-finetune the 7b-100k-ft model

when I use the LongAlpaca-12k dataset to supervised fintune the LongAlpaca-7B model, the value of loss is too unstable.
my command is :
Miniconda/envs/longlora/bin/python -u supervised-fine-tune.py
--model_name_or_path models/LongAlpaca-7B
--bf16 True
--output_dir LongLoRA/save/LongAlpaca-7B-origdata
--model_max_length 32768
--use_flash_attn True
--data_path data/LongAlpaca-12k.json
--low_rank_training True
--num_train_epochs 3
--per_device_train_batch_size 1
 --per_device_eval_batch_size 2
--gradient_accumulation_steps 1
--evaluation_strategy no
--save_strategy steps
--save_steps 1000
--save_total_limit 2
--learning_rate 2e-5
--weight_decay 0.0
--warmup_steps 20
--lr_scheduler_type constant_with_warmup
--logging_steps 1
--deepspeed ds_configs/stage2.json
--tf32 True

the value of loss looks like below:

I try to train Llama-2-7b-longlora-100k-ft with my own dataset which is sampled from your LongAlpaca-12k.json data. But the value of loss looks same.

python supervised-fine-tune.py  \
        --model_name_or_path /models/Llama-2-7b-longlora-100k-ft \
        --bf16 True \
        --output_dir LongLoRA/save/7b-100k-ft-origdata-mydata       \
        --model_max_length 100000 \
        --use_flash_attn True \
        --data_path LongLoRA/pdf2txt/output/manual_data.json \
        --low_rank_training True \
        --num_train_epochs 5  \
        --per_device_train_batch_size 1     \
        --per_device_eval_batch_size 2     \
        --gradient_accumulation_steps 8     \
        --evaluation_strategy "no"     \
        --save_strategy "steps"     \
        --save_steps 98     \
        --save_total_limit 2     \
        --learning_rate 2e-5     \
        --weight_decay 0.0     \
        --warmup_steps 20     \
        --lr_scheduler_type "constant_with_warmup"     \
        --logging_steps 1     \
        --deepspeed "ds_configs/stage2.json" \
        --tf32 True

repo: dvlab-research/LongLoRA


text:
Fails to load pretrained model

Hello, anyone have any idea how to solve this problem
is it  due to the version of spconv because i am using spconv 2.x ?
thanks in advance

Can you change another version of spconv 2.x?

thank you so much for your answer @X-Lai

Their sparsities are totally different. SemanticKITTI scenes scanned by 64-line LiDAR, while nuscenes scenes are by 32-line LiDAR.

thank you so much for your answer @X-Lai

I am facing the same issue, which version of spconv did you end up using?
Thanks in advance

authors: ParimiHarsha X-Lai brahami14

repo: dvlab-research/SphereFormer


text:
🛑 Puffer is down

In fb6732a, Puffer (https://api.pufferapp.com/healthz) was down:

HTTP code: 503
Response time: 747 ms

Resolved: Puffer is back up in 9192657.

Resolved: Puffer is back up in 9192657.

repo: dwarvesf/upptime


text:
the model tar is broken

hi, thanks for your work
but when i download the pre-trained model, the tar file is broken and is not able to be unzipped.
how to fix it?

Hello Wangrx,
Did you solve this issue? If yes how?

repo: dwofk/fast-depth


text:
remove dependency on Rc

Thre is no need for a Rc in this function (and this function is the only one that uses Rc), as the object is created in a function and the references are just passed to recursive function calls. The Rc gets you no safety and only eats performance.

@dwrensha  I think you got in the fix before me!

repo: dwrensha/capnproto-rust


text:
Try sendString instead of synchronized

See end of https://github.com/tipsy/javalin/issues/423

Yes, that's what we're using now, see https://github.com/dwrtc/dwrtc/pull/82. Thanks a lot!

It has to be decided if we merge the PR. But the issue is resolved.

authors: lroellin thde

repo: dwrtc/dwrtc


text:
All words lowercase - capitalization is lost

I noticed abbreviations and proper nouns are all lowercased unfortunately. Eg: iso.

I don't think that's entirely accurate. I found 78,947 strings in words.txt, many of which include meaningful capitalization. A few samples, as they appear in the file:

A&P
B-flat
C.I.
D'Amboise
ECT
Ferrigno
G-man
Houston
ISO
Jovian

When sorted, "ISO" is entry 34,630. I found "iso-" at index 240,130. I suspect that's the entry you're seeing, although I'll admit I don't know which file you're looking in.

repo: dwyl/english-words

license: Unlicense